Disclosure of Invention
The invention provides a cross-platform program development method, a device, equipment and a storage medium thereof, which are used for solving the technical defect that development cost required by different operating systems aiming at the same application program in the prior art is too high.
In a first aspect, the present invention provides a method for developing a cross-platform program, including:
determining a to-be-adapted compatible code compatible with the second bottom layer interface set according to the first bottom layer interface set;
replacing an original interface code in the second bottom layer interface set with a compatible code to be adapted to obtain a replaced third bottom layer interface set in the original operating system;
determining an interface unified interface according to the interface attribute of the operating system to be adapted and the interface attribute of the original operating system;
Determining source codes associated with an operating system to be adapted according to a third bottom layer interface set and the interface unified interface so as to determine a cross-platform program associated with the operating system to be adapted;
the interface unified interface is determined according to a drawing engine interface in a cross-platform interface design framework;
the first bottom layer interface set is determined according to an operating system to be adapted;
the second bottom layer interface set is determined according to an original operating system;
The compatible code to be adapted and the original interface code at least comprise one same interface function name.
According to the method for developing the cross-platform program provided by the invention, the method for determining the compatible code to be adapted, which is compatible with the second bottom layer interface set, according to the first bottom layer interface set comprises the following steps:
Determining a first feature related to the first bottom layer interface set according to the first bottom layer interface set;
determining a second feature related to the second bottom layer interface set according to the second bottom layer interface set;
And determining a compatible code to be adapted according to the first characteristic and the second characteristic.
According to the method for developing the cross-platform program provided by the invention, the interface unified interface is determined according to the interface attribute of the operating system to be adapted and the interface attribute of the original operating system, and the method comprises the following steps:
Determining interface attributes of the operating system to be adapted according to the interface drawing mode of the operating system to be adapted;
Determining interface attributes of the original operating system according to the interface drawing mode of the original operating system;
and determining an interface unified interface by adopting a drawing engine interface in a cross-platform interface design framework according to the interface attribute of the operating system to be adapted and the interface attribute of the original operating system.
According to the method for developing the cross-platform program provided by the invention, the source code associated with the operating system to be adapted is determined according to the third bottom layer interface set and the interface unified interface so as to determine the cross-platform program associated with the operating system to be adapted, and the method comprises the following steps:
Determining source codes associated with an operating system to be adapted according to a third bottom layer interface set and the interface unified interface;
and compiling a cross-platform program associated with the operating system to be adapted according to the source code.
According to the cross-platform program development method provided by the invention, before determining the compatible code to be adapted, which is compatible with the second bottom layer interface set, the method further comprises the following steps:
receiving a development instruction and acquiring all cross-platform programs to be developed;
and determining the to-be-adapted operating system corresponding to each to-be-developed cross-platform program according to all to-be-developed cross-platform programs.
According to the method for developing the cross-platform program provided by the invention, after determining the cross-platform program associated with the operating system to be adapted, the method further comprises the following steps:
traversing each operating system to be adapted until all cross-platform programs associated with the operating systems to be adapted are determined.
According to the cross-platform program development method provided by the invention, the operating system to be adapted comprises at least one of a Windows operating system, a Linux operating system and an MAC operating system.
In a second aspect, a cross-platform program development device is provided, including:
the processing module is used for determining a compatible code to be adapted, which is compatible with the second bottom layer interface set, according to the first bottom layer interface set;
The acquisition module is used for replacing the original interface codes in the second bottom layer interface set with compatible codes to be adapted and acquiring a replaced third bottom layer interface set in the original operating system;
The determining module is used for determining an interface unified interface according to the interface attribute of the operating system to be adapted and the interface attribute of the original operating system;
and the execution module is used for determining source codes associated with the operating system to be adapted according to the third bottom layer interface set and the interface unified interface so as to determine a cross-platform program associated with the operating system to be adapted.
In a third aspect, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the cross-platform program development method when executing the program.
In a fourth aspect, there is also provided a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the cross-platform program development method.
The invention provides a cross-platform program development method, a device, equipment and a storage medium thereof, which are characterized in that the original interface codes are replaced by compatible codes to be adapted compatible with an operating system to be adapted by keeping the interface function name of a bottom operating system unchanged, so that the consistency of interface call in different operating systems is ensured, the upper-layer service of program development is not influenced, the codes used by the upper layer are not required to be modified, and the executable program of the same application of different operating systems can be obtained by compiling and packaging the source codes according to the interfaces of different operating systems only once. Meanwhile, the invention also keeps the complete consistency of the interface style and the operation logic of the executable program, does not need to be tuned to a plurality of development groups to respectively develop programs of different operation systems, greatly simplifies the development cost, the time cost and the release cost of cross-platform development, and saves development resources.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be noted that in the description of embodiments of the present invention, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises an element.
The terms "first," "second," and the like in this specification are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type, and are not limited to the number of objects, such as the first object may be one or more.
FIG. 1 is a schematic flow chart of a cross-platform program development method according to the present invention, including:
determining a to-be-adapted compatible code compatible with the second bottom layer interface set according to the first bottom layer interface set;
replacing an original interface code in the second bottom layer interface set with a compatible code to be adapted to obtain a replaced third bottom layer interface set in the original operating system;
determining an interface unified interface according to the interface attribute of the operating system to be adapted and the interface attribute of the original operating system;
Determining source codes associated with an operating system to be adapted according to a third bottom layer interface set and the interface unified interface so as to determine a cross-platform program associated with the operating system to be adapted;
the interface unified interface is determined according to a drawing engine interface in a cross-platform interface design framework;
the first bottom layer interface set is determined according to an operating system to be adapted;
the second bottom layer interface set is determined according to an original operating system;
The compatible code to be adapted and the original interface code at least comprise one same interface function name.
In step 101, the first bottom layer interface set is determined according to the operating system to be adapted, where the operating system to be adapted may be a Windows operating system, a Linux operating system or a MAC operating system, and the second bottom layer interface set is determined according to an original operating system, which may also be a Windows operating system, a Linux operating system or a MAC operating system.
The invention is different from the prior art that the development program is created in the form of an interface by adopting a hardware layer, and adopts a bottom layer interface set in a software layer, namely a bottom layer library of an operating system for realizing the development of business personnel, wherein the bottom layer library comprises a set of all functional interfaces, for example, the compatible code to be adapted at least comprises an interface function name and a code element which is simultaneously adapted to an original operating system and the operating system to be adapted.
In step 102, the original interface code in the second bottom layer interface set is replaced by the to-be-adapted compatible code, and a third bottom layer interface set after replacement in the original operating system is obtained, where the original interface code in the second bottom layer interface set at least includes an interface function name and a code element adapted to the original operating system, and a person skilled in the art understands that the to-be-adapted compatible code and the original interface code at least include the same interface function name, and the to-be-adapted compatible code is a code capable of supporting a cross-platform function after improvement, and can act on a Windows operating system, a Linux operating system or a MAC operating system according to the difference of the to-be-adapted operating system, so long as a specific interface function in the invention remains unchanged, although the bottom layer interface set in the original operating system is replaced, the development of an upper layer code by a service developer is not affected.
The third bottom layer interface set is a replaced bottom layer library of compatible codes to be adapted, and it is understood by those skilled in the art that the Windows operating system is assumed to be an original operating system, wherein a specific interface function name is only available to the Windows operating system and is used for using interfaces provided by the Windows operating system to the bottom layer library, while for other operating systems, interface implementations similar to the specific interface function name exist, but the expression forms of the interface implementations are different, and the invention aims to improve the specific interface function, which can realize cross-platform program development based on the existing codes.
The software development structure has a layer-by-layer dependency relationship, specifically, the upper layer depends on the bottom layer, for example, a service developer depends on the bottom layer library to realize the service development of the upper layer, and the bottom layer library depends on the interface function provided by the operating system, wherein the interface function is used for providing the function required by the upper layer, so that in the invention, only the specific interface function needs to be improved, the minimum change is taken as a cost, the complete consistency of interface patterns and operation logics under different operating systems is realized, and the development resources are greatly saved.
By adopting the technical schemes in the steps 101 to 103, the maintenance of the implementation program software is facilitated, the workload of maintenance personnel is reduced, and the human resources are further saved. Meanwhile, under the condition that the software interface styles and the operation logics on various operation systems are consistent, the convenience of user operation is further ensured, and the use experience of the user is improved.
The invention provides a cross-platform program development method, a device, equipment and a storage medium thereof, which are characterized in that the original interface codes are replaced by compatible codes to be adapted compatible with an operating system to be adapted by keeping the interface function name of a bottom operating system unchanged, so that the consistency of interface call in different operating systems is ensured, the upper-layer service of program development is not influenced, the codes used by the upper layer are not required to be modified, and the executable program of the same application of different operating systems can be obtained by compiling and packaging the source codes according to the interfaces of different operating systems only once. Meanwhile, the invention also keeps the complete consistency of interface style and operation logic, does not need to be tuned to a plurality of development groups to respectively develop programs of different operation systems, greatly simplifies the development cost, time cost and release cost of cross-platform development, and saves development resources.
Fig. 2 is a schematic flow chart of determining a to-be-adapted compatible code compatible with a second bottom layer interface set according to the present invention, where determining, according to a first bottom layer interface set, the to-be-adapted compatible code compatible with the second bottom layer interface set includes:
Determining a first feature related to the first bottom layer interface set according to the first bottom layer interface set;
determining a second feature related to the second bottom layer interface set according to the second bottom layer interface set;
And determining a compatible code to be adapted according to the first characteristic and the second characteristic.
In step 1011, the first characteristic includes at least an interface function name and internal implementation logic in the operating system to be adapted, and a code element adapted to the operating system to be adapted.
In step 1012, the second feature includes at least an interface function name and internal implementation logic in the original operating system, and code elements adapted to the original operating system.
In step 1013, the names of the interface functions in the original operating system are kept unchanged, and the code elements adapted to the original operating system are replaced at the same time, so that the code elements adapted to the original operating system and the operating system to be adapted can be adapted at the same time, and the compatible code to be adapted is determined according to the code elements adapted to the original operating system and the operating system to be adapted and the names of the interface functions in the original operating system at the same time.
Fig. 3 is a schematic flow chart of determining an interface unified interface according to the interface attribute of the operating system to be adapted and the interface attribute of the original operating system, where the determining the interface unified interface includes:
Determining interface attributes of the operating system to be adapted according to the interface drawing mode of the operating system to be adapted;
Determining interface attributes of the original operating system according to the interface drawing mode of the original operating system;
and determining an interface unified interface by adopting a drawing engine interface in a cross-platform interface design framework according to the interface attribute of the operating system to be adapted and the interface attribute of the original operating system.
In step 1031, the interface rendering mode is implemented by means of the interface rendering capability of the cross-platform interface design framework, and correspondingly, in step 1032, the interface rendering mode of the original operating system determines the interface attribute of the original operating system in the same manner as that in step 1031, where the interface attribute is mainly display hiding, position and size change, window mouse-keyboard event adaptation, window closing and destruction, and the like, which all need to be adapted.
In step 1033, in the implementation of the cross-platform interface library in the prior art, the adopted interface development tool is a set of interface library based on the specific image device interface/image device interface of the Windows operating system and the open source interface library of the drawing engine, if the cross-platform development of the program needs to be implemented, all the interfaces corresponding to the interface development tool and related to the Windows operating system need to be abstracted into a layer of universal interface to adapt to different platforms, and because a large amount of codes already exist on the upper layer based on the interface development tool library interface at present, the interface development tool interface is redesigned at this time, which causes a large amount of modification on the upper layer codes.
The interface development tool is internally provided with an event circulation function of a Windows operating system, for example, a mouse clicking event can generate a system event, a software layer can receive notification of the system event, the interface development tool is provided with functions of each operating system, interface forms provided by each operating system are different, a cross-platform interface design framework can unify the differences and provide a unified event interface, and cross-platform program development is finally realized. The interface development tool realizes cross-platform program development by changing an interface of a cross-platform interface design framework, and is a bottom library for the basic control, and the interface function name of the interface development tool is not modified, so that the basic control is not influenced.
In order to solve the technical problems, the invention reserves the function name of the bottom layer interface of the Windows operating system by the current interface development tool, namely, the interface which has the bottom layer dependence on the Windows operating system is directly regarded as a cross-platform abstract interface, the realization of the processing method corresponding to the interface on other operating system platforms is replaced by the realization of the processing method special for the platform, and further, the cross-platform event processing and drawing engine interface provided by the cross-platform interface design framework is adopted, and the processing method special for the operating platform is realized by adopting a combined logic mode of the cross-platform interface design framework interface or the cross-platform interface design framework interface so as to ensure the executable of the current interface development tool on the bottom layer interface of the Windows operating system, thereby avoiding modifying the upper layer code.
FIG. 4 is a schematic flow chart of determining a cross-platform program associated with the operating system to be adapted according to the present invention, wherein the determining source code associated with the operating system to be adapted according to the third underlying interface set and the interface unified interface to determine the cross-platform program associated with the operating system to be adapted includes:
Determining source codes associated with an operating system to be adapted according to a third bottom layer interface set and the interface unified interface;
and compiling a cross-platform program associated with the operating system to be adapted according to the source code.
In step 1041, the invention leaves the framework library base controls in the interface development tool unchanged and determines the source code associated with the operating system to be adapted by means of a partial event loop mechanism of the cross-platform interface design framework.
In step 1042, the drawing engine of the interface development tool framework is matched and compatible with the drawing engine of the cross-platform interface design framework, and is packaged. The skilled person understands that in the existing design, for each operation system, certain similarity exists when the interfaces are drawn, but even if the operation systems are quite different, the adaptation can be performed through a design method, and the invention aims to achieve consistency of interface calling so as to ensure that the upper-layer service development codes are unchanged.
In an alternative embodiment, taking Windows operation platform and MAC operation platform as examples, the core adaptation layer is used for adapting partial implementation modes of the bottom layer library and the interface layer, determining cross-platform source codes, compiling the source codes automatically according to the running target platform environment, firstly generating an implementation class library of a Windows operation system interface for the Windows operation system, then compiling the source codes to construct an object-oriented high-level programming language program, completing the compiling of the source codes and packaging the object-oriented high-level programming language program into an executable file installation program capable of running on the Windows operation system, and for the MAC operation system, generating an implementation class library of the MAC operation system interface, compiling the source codes to construct an object-oriented high-level programming language program, completing the compiling of the source codes and packaging the source codes into a compressed image file installation program capable of running on an apple computer on the MAC operation system.
FIG. 5 is a second flowchart of a cross-platform program development method according to the present invention, before determining compatible code to be adapted that is compatible with the second underlying interface set, further comprising:
receiving a development instruction and acquiring all cross-platform programs to be developed;
and determining the to-be-adapted operating system corresponding to each to-be-developed cross-platform program according to all to-be-developed cross-platform programs.
In step 201, the development instruction is an instruction actually determined according to the customer requirement by a service developer, and includes all to-be-developed cross-platform programs to be developed.
In step 202, each cross-platform program to be developed corresponds to an operating system to be adapted, so that according to all cross-platform programs to be developed, it can be determined that each cross-platform program to be developed corresponds to an operating system to be adapted
Optionally, after determining the cross-platform program associated with the operating system to be adapted, the method further comprises:
traversing each operating system to be adapted until all cross-platform programs associated with the operating systems to be adapted are determined.
In such an embodiment, the present invention aims to provide an automatic cross-platform program development method, so that the present invention can determine all cross-platform programs associated with an operating system to be adapted as long as the cross-platform program to be developed is obtained, thereby reducing development of research personnel and reducing research and development costs.
Fig. 6 is a schematic structural diagram of a cross-platform program development device provided by the present invention, and the present invention further provides a cross-platform program development device, which includes a processing module 1, configured to determine, according to a first bottom layer interface set, a compatible code to be adapted that is compatible with a second bottom layer interface set, where the working principle of the processing module 1 may refer to the foregoing step 101 and is not described herein.
The cross-platform program development device further includes an obtaining module 2, configured to replace an original interface code in the second bottom layer interface set with a compatible code to be adapted, and obtain a replaced third bottom layer interface set in the original operating system, where the working principle of the obtaining module 2 may refer to the foregoing step 102 and is not repeated herein.
The cross-platform program development device further comprises a determining module 3, configured to determine an interface unified interface according to the interface attribute of the operating system to be adapted and the interface attribute of the original operating system, and the working principle of the determining module 3 may refer to the foregoing step 103 and will not be described herein.
The cross-platform program development device further includes an execution module 4, configured to determine, according to the third bottom layer interface set and the interface unified interface, source code associated with an operating system to be adapted to determine a cross-platform program associated with the operating system to be adapted, where the working principle of the execution module 4 may refer to the foregoing step 104 and is not described herein again.
Those skilled in the art understand that, as another alternative embodiment of the present invention, the cross-platform implementation method of the executable program of the present invention is developed through a system development library, and in this embodiment, the system development library suitable for the present invention includes a core code module, an adaptation layer module, a graphical user interface code module, an extension module, and a tool set module. The expansion module comprises a basic module, an event module, an extensible markup language module and a control module. The tool set module includes a packaging tool module. The core code of the executable program is edited by a core code editing module in the system development library, and the graphic interface code of the executable program is edited by a graphic user interface code editing module. The source code of the executable program of the invention is formed by adding tasks or functions required to be executed by the executable program by selecting corresponding expansion modules respectively. In this embodiment, the source code is packaged by a packaging tool module, taking a Windows operating system and an MAC operating system as an example, where the packaging tool module includes a Windows operating system packaging tool and an MAC operating system packaging tool, and packages the source code into corresponding formats respectively.
The invention provides a cross-platform program development method, a device, equipment and a storage medium thereof, which are characterized in that the original interface codes are replaced by compatible codes to be adapted compatible with an operating system to be adapted by keeping the interface function name of a bottom operating system unchanged, so that the consistency of interface call in different operating systems is ensured, the upper-layer service of program development is not influenced, the codes used by the upper layer are not required to be modified, and the executable program of the same application of different operating systems can be obtained by compiling and packaging the source codes according to the interfaces of different operating systems only once. Meanwhile, the invention also keeps the complete consistency of interface style and operation logic, does not need to be tuned to a plurality of development groups to respectively develop programs of different operation systems, greatly simplifies the development cost, time cost and release cost of cross-platform development, and saves development resources.
Fig. 7 is a schematic structural diagram of an electronic device provided by the present invention. As shown in FIG. 7, the electronic device may include a processor (processor) 710, a communication interface (Communications Interface) 720, a memory (memory) 730, and a communication bus 740, wherein the processor 710, the communication interface 720, and the memory 730 communicate with each other via the communication bus 740. The processor 710 may invoke logic instructions in the memory 730 to execute a cross-platform program development method, including determining a cross-platform program associated with a second bottom layer interface set according to a first bottom layer interface set, replacing an original interface code in the second bottom layer interface set with the cross-platform interface set, obtaining a replaced third bottom layer interface set in an original operating system, determining an interface unified interface according to interface attributes of the to-be-adapted operating system and interface attributes of the original operating system, determining a source code associated with the to-be-adapted operating system according to the third bottom layer interface set and the interface unified interface to determine the cross-platform program associated with the to-be-adapted operating system, wherein the interface unified interface is determined according to a drawing engine interface in a cross-platform interface design framework, the first bottom layer interface set is determined according to the to-be-adapted operating system, the second bottom layer interface set is determined according to the original operating system, and the to-be-adapted compatible code and the original interface code at least include one same interface function name.
Further, the logic instructions in the memory 730 described above may be implemented in the form of software functional units and may be stored in a computer readable storage medium when sold or used as a stand alone product. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. The storage medium includes a U disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, an optical disk, or other various media capable of storing program codes.
On the other hand, the invention also provides control software, which is used for running a program or an instruction on a control end, and executing the cross-platform program development method when the program or the instruction is executed by the control end, wherein the method comprises the steps of determining a compatible code to be adapted which is compatible with a second bottom layer interface set according to a first bottom layer interface set, replacing an original interface code in the second bottom layer interface set with the compatible code to be adapted, obtaining a replaced third bottom layer interface set in an original operating system, determining an interface unified interface according to interface attributes of the operating system to be adapted and the interface attributes of the original operating system, determining a source code which is associated with the operating system to be adapted according to the third bottom layer interface set and the interface unified interface, determining a cross-platform program which is associated with the operating system to be adapted according to a drawing engine interface in a cross-platform interface design framework, determining the first bottom layer interface set according to the operating system to be adapted, determining the second bottom layer interface according to the original operating system, determining the second bottom layer interface set according to the original operating system, and determining the interface unified interface code to be compatible with at least one same interface function.
In another aspect, the invention further provides a computer program product, the computer program product comprises a computer program, the computer program can be stored on a non-transitory computer readable storage medium, when the computer program is executed by a processor, the computer can execute a cross-platform program development method provided by the methods, the method comprises the steps of determining a compatible code to be matched with a second bottom layer interface set according to a first bottom layer interface set, replacing an original interface code in the second bottom layer interface set with the compatible code to be matched to obtain a third bottom layer interface set replaced in an original operating system, determining an interface unified interface according to interface attributes of the operating system to be matched and interface attributes of the original operating system, determining a source code associated with the operating system to be matched according to the third bottom layer interface set and the interface unified interface, determining a cross-platform program associated with the operating system to be matched according to a cross-platform interface design frame, determining that the first bottom layer interface set is a drawing engine interface according to the cross-platform interface, determining that the first bottom layer interface set is the same as the original interface of the first bottom layer interface, and determining that the second bottom layer interface set is the same as the original interface.
In yet another aspect, the present invention further provides a non-transitory computer readable storage medium, on which a computer program is stored, the computer program when executed by a processor is implemented to perform the cross-platform program development method provided by the above methods, where the method includes determining a compatible code to be adapted that is compatible with a second bottom layer interface set according to a first bottom layer interface set, replacing an original interface code in the second bottom layer interface set with the compatible code to be adapted, obtaining a replaced third bottom layer interface set in the original operating system, determining an interface unified interface according to an interface attribute of the operating system to be adapted and an interface attribute of the original operating system, determining a source code associated with the operating system to be adapted according to the third bottom layer interface set and the interface unified interface, determining a cross-platform program associated with the operating system to be adapted, the interface unified interface being determined according to a rendering engine interface in a cross-platform interface design framework, the first bottom layer interface set being determined according to the operating system to be adapted, the second bottom layer interface set being determined according to the original operating system, and the adapting function comprising at least one compatible function.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
It should be noted that the above-mentioned embodiments are merely for illustrating the technical solution of the present invention, and not for limiting the same, and although the present invention has been described in detail with reference to the above-mentioned embodiments, it should be understood by those skilled in the art that the technical solution described in the above-mentioned embodiments may be modified or some technical features may be equivalently replaced, and these modifications or substitutions do not make the essence of the corresponding technical solution deviate from the spirit and scope of the technical solution of the embodiments of the present invention.