Disclosure of Invention
The invention mainly aims to provide a function test method, a system, a device, terminal equipment and a storage medium, aiming at improving the function test effect of a slave station.
In order to achieve the above object, the present invention provides a function test method, including:
acquiring interface operation parameters corresponding to the functional test;
Calling test data according to the interface operation parameters, and packaging the test data into a test module;
the test module is sent to a secondary station, so that the secondary station generates motion state and parameter information according to the test module, and the motion state and parameter information is sent to the primary station;
and receiving the motion state and parameter information sent by the slave station, and sending the motion state and parameter information to an interface so that a user can obtain a function test result according to the motion state and parameter information.
Optionally, the step of calling test data according to the interface operation parameters and packaging the test data into a test module includes:
invoking test data in a motion instruction library in the master station according to the interface operation parameters, wherein the test data comprises motion parameters and motion commands;
and packaging the motion parameters and the motion commands into a test module.
Optionally, the step of receiving the motion state and parameter information sent by the secondary station and sending the motion state and parameter information to an interface, so that a user obtains a functional test result according to the motion state and parameter information includes:
receiving the motion state and parameter information sent by the slave station through interface mapping circulation;
and sending the motion state and the parameter information to an interface through a transmission control protocol and/or an Internet protocol so that the interface can display the motion state and the parameter information, and obtaining a function test result according to the motion state and the parameter information displayed by the interface by the user.
Optionally, the step of receiving the motion state and parameter information sent by the secondary station and sending the motion state and parameter information to an interface, so that the user obtains the functional test result according to the motion state and parameter information further includes:
And receiving the modification of the interface operation parameters by the user based on the function test result so as to optimize the function of the slave station.
Optionally, the functional test includes one or more of an enable status test, a resume status test, a jog status test, and a speed status test.
Optionally, the function test method is applied to a secondary station, and the function test method includes the following steps:
Receiving a test module sent by a main station;
generating motion state and parameter information according to the test module;
and sending the motion state and parameter information to the master station so that the master station can receive the motion state and parameter information, and sending the motion state and parameter information to an interface so that a user can obtain a function test result according to the motion state and parameter information.
In addition, to achieve the above object, the present invention also provides a function test system including:
The main station is used for acquiring interface operation parameters corresponding to the functional test; calling test data according to the interface operation parameters, and packaging the test data into a test module; the test module is sent to a secondary station, so that the secondary station generates motion state and parameter information according to the test module, and the motion state and parameter information is sent to the primary station; receiving the motion state and parameter information sent by the slave station, and sending the motion state and parameter information to an interface so that a user can obtain a function test result according to the motion state and parameter information;
The secondary station is used for receiving the test module sent by the primary station; generating motion state and parameter information according to the test module; the motion state and parameter information is sent to the master station so that the master station can receive the motion state and parameter information, and the motion state and parameter information is sent to an interface so that a user can obtain a function test result according to the motion state and parameter information;
the interface is used for providing interface operation parameters corresponding to the function test; displaying the motion state and the parameter information so that the user can obtain a function test result according to the motion state and the parameter information displayed on the interface
In addition, in order to achieve the above object, the present invention also provides a function test device including:
the acquisition module is used for acquiring interface operation parameters corresponding to the functional test;
The packaging module is used for calling the test data according to the interface operation parameters and packaging the test data into a test module;
The sending module is used for sending the testing module to the slave station so that the slave station can generate motion state and parameter information according to the testing module and send the motion state and the parameter information to the master station;
And the transmission module is used for receiving the motion state and the parameter information sent by the slave station and sending the motion state and the parameter information to an interface so that a user can obtain a function test result according to the motion state and the parameter information.
In addition, in order to achieve the above object, the present invention also provides a terminal device including a memory, a processor, and a function test program stored on the memory and executable on the processor, the function test program implementing the steps of the function test method as described above when executed by the processor.
In addition, in order to achieve the above object, the present invention also provides a computer-readable storage medium having stored thereon a functional test program which, when executed by a processor, implements the steps of the functional test method as described above.
The embodiment of the invention provides a function test method, a device, terminal equipment and a storage medium, wherein interface operation parameters corresponding to the function test are obtained; calling test data according to the interface operation parameters, and packaging the test data into a test module; the test module is sent to a secondary station, so that the secondary station generates motion state and parameter information according to the test module, and the motion state and parameter information is sent to the primary station; and receiving the motion state and parameter information sent by the slave station, and sending the motion state and parameter information to an interface so that a user can obtain a function test result according to the motion state and parameter information. By packaging the test data into the test module, the efficiency and the accuracy of the function test are improved, and the function test effect of the secondary station is further improved.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
The main solutions of the embodiments of the present invention are: acquiring interface operation parameters corresponding to the functional test; calling test data according to the interface operation parameters, and packaging the test data into a test module; the test module is sent to a secondary station, so that the secondary station generates motion state and parameter information according to the test module, and the motion state and parameter information is sent to the primary station; and receiving the motion state and parameter information sent by the slave station, and sending the motion state and parameter information to an interface so that a user can obtain a function test result according to the motion state and parameter information. By packaging the test data into the test module, the efficiency and the accuracy of the function test are improved, and the function test effect of the secondary station is further improved.
Technical terms related to the embodiment of the invention:
EtherCAT (Ethernet control Automation technology) is an open architecture, ethernet-based Fieldbus system, and its name CAT is an acronym for control Automation technology (Control Automation Technology). EtherCAT is a deterministic industrial Ethernet, which was developed to allow Ethernet to be used in automation applications;
PDO (PHP Data Objects) is a type of use interface for connecting databases in PHP;
TCP/IP (Transmission Control Protocol/Internet Protocol ) refers to a protocol cluster that enables information transfer between multiple different networks. The TCP/IP protocol refers not only to two protocols, i.e., TCP and IP, but also to a protocol cluster composed of FTP, SMTP, TCP, UDP, IP or the like, and is called a TCP/IP protocol because the TCP protocol and the IP protocol are the most representative among the TCP/IP protocols.
Because the EtherCAT bus type driver in the prior art does not design a set of special test program aiming at a main station product in the function test process, functional test is still remained in the complicated test process based on an open source main station in the research and development process, the test steps are complicated, and a mature and complete function test module is not packaged, for example, a control mode and a control word which are required to be given when the driver starts movement are not needed, in the operation process, research and development personnel need to set the control mode and the control word by referring to the CiA402 standard, error input occurs when the standard is checked in comparison with writing, the test is repeated for many times, and the test effect is not ideal. In the application process, the open source master station is only a universal platform for debugging by research personnel, and the compatibility problem between the EtherCAT bus type drive and the brand master station product can not be verified.
The invention provides a solution, which is based on the command combination of the application end of a tandem master station to complete the functional test flow of the EtherCAT bus type drive, the test flow is simplified, and the functional test steps are packaged into modules, for example, a frequently-changed control mode and a frequently-changed control word parameter combination are used for starting corresponding motion trail, firstly, the necessary motion parameters input by a user are stored into a group of motion data sets, then the control mode and the control word are set as required motion commands according to the button-triggered motion trail, the necessary motion parameters and the motion commands are packaged into a complete group of motion data sets to be issued to the EtherCAT bus type drive, so that the EtherCAT bus type drive executes the motion trail triggered by the user, in addition, the master station circularly reads the motion state and the parameters in the EtherCAT bus type drive in a PDO mapping mode, maps the data required by the test to the master station, and then the data are displayed in real time by the TCP/IP communication mode of the master station and an interface, and the user can conveniently and simply and efficiently understand BUGs existing when the EtherCAT bus type drive executes the function. The function test is packaged to achieve the effect of simply and efficiently performing the function test. Secondly, in order to ensure that the fault tolerance rate of the bus master station and the EtherCAT bus type drive is lower, the test system can also verify the compatibility problem of the EtherCAT bus type drive and the bus master station.
Specifically, referring to fig. 1, fig. 1 is a schematic diagram of functional modules of a terminal device to which the functional test device of the present invention belongs. The functional test device may be a device independent of the terminal device, capable of functional test, which may be carried on the terminal device in the form of hardware or software. The terminal equipment can be an intelligent mobile terminal with a data processing function such as a mobile phone and a tablet personal computer, and can also be a fixed terminal equipment or a server with a data processing function.
In this embodiment, the terminal device to which the functional test apparatus belongs at least includes an output module 110, a processor 120, a memory 130, and a communication module 140.
The memory 130 stores an operating system and a function test program, and the function test device may obtain interface operation parameters corresponding to the function test; according to the test data called by the interface operation parameters, the test data is packaged into a test module; the secondary station generates motion state and parameter information according to the test module; the received information such as the motion state and parameter information sent by the slave station, and the functional test result obtained by the user according to the motion state and parameter information are stored in the memory 130; the output module 110 may be a display screen or the like. The communication module 140 may include a WIFI module, a mobile communication module, a bluetooth module, and the like, and communicates with an external device or a server through the communication module 140.
Wherein the functional test program in the memory 130 when executed by the processor performs the steps of:
acquiring interface operation parameters corresponding to the functional test;
Calling test data according to the interface operation parameters, and packaging the test data into a test module;
the test module is sent to a secondary station, so that the secondary station generates motion state and parameter information according to the test module, and the motion state and parameter information is sent to the primary station;
and receiving the motion state and parameter information sent by the slave station, and sending the motion state and parameter information to an interface so that a user can obtain a function test result according to the motion state and parameter information.
Further, the functional test program in the memory 130 when executed by the processor also implements the steps of:
invoking test data in a motion instruction library in the master station according to the interface operation parameters, wherein the test data comprises motion parameters and motion commands;
and packaging the motion parameters and the motion commands into a test module.
Further, the functional test program in the memory 130 when executed by the processor also implements the steps of:
receiving the motion state and parameter information sent by the slave station through interface mapping circulation;
and sending the motion state and the parameter information to an interface through a transmission control protocol and/or an Internet protocol so that the interface can display the motion state and the parameter information, and obtaining a function test result according to the motion state and the parameter information displayed by the interface by the user.
Further, the functional test program in the memory 130 when executed by the processor also implements the steps of:
And receiving the modification of the interface operation parameters by the user based on the function test result so as to optimize the function of the slave station.
Further, the functional test program in the memory 130 when executed by the processor also implements the steps of:
Receiving a test module sent by a main station;
generating motion state and parameter information according to the test module;
and sending the motion state and parameter information to the master station so that the master station can receive the motion state and parameter information, and sending the motion state and parameter information to an interface so that a user can obtain a function test result according to the motion state and parameter information.
According to the scheme, the interface operation parameters corresponding to the functional test are obtained; calling test data according to the interface operation parameters, and packaging the test data into a test module; the test module is sent to a secondary station, so that the secondary station generates motion state and parameter information according to the test module, and the motion state and parameter information is sent to the primary station; and receiving the motion state and parameter information sent by the slave station, and sending the motion state and parameter information to an interface so that a user can obtain a function test result according to the motion state and parameter information. By packaging the test data into the test module, the efficiency and the accuracy of the function test are improved, and the function test effect of the secondary station is further improved.
The method embodiment of the invention is proposed based on the above-mentioned terminal equipment architecture but not limited to the above-mentioned architecture.
The execution subject of the method of the present embodiment may be a function test device or a terminal device, and the present embodiment uses the function test device as an example.
Referring to fig. 2, fig. 2 is a flowchart illustrating an exemplary embodiment of a functional testing method according to the present invention. The function test method is applied to a master station and comprises the following steps:
step S10, acquiring interface operation parameters corresponding to the functional test;
In the research and development process of the EtherCAT bus type driver, the function of the EtherCAT bus type driver needs to be tested so as to find out problems and loopholes existing in the process of executing the EtherCAT bus type driver, and then optimize the EtherCAT bus type driver. In the process, firstly, a user sets corresponding operation parameters on an interface according to functions to be tested, then, a master station obtains interface operation parameters set by the user from the interface, and further, test data are called according to the interface operation parameters and packaged into a test module.
Step S20, calling test data according to the interface operation parameters, and packaging the test data into a test module;
After the interface operation parameters corresponding to the function test are obtained, corresponding test data can be called from a motion instruction library in the master station, the test data comprise a control mode, a control word parameter and the like which are required to be given when the drive starts motion, then the test data are packaged into a test module, and then the test module is issued to the slave station to test the function of the slave station. For example, the corresponding motion trail is started by combining the control mode and the control word parameters, firstly, the necessary motion parameters input by the user are stored as a group of motion data sets, then the control mode and the control word parameters are set as the required motion commands according to the motion trail triggered by the button, and then the necessary motion parameters and the motion commands are packaged into a group of complete motion data sets which are then issued to the slave station, wherein the complete motion data sets are the test modules.
In the prior art, during the function test process, a researcher needs to set a control mode and control word parameters according to a standard, and error input is easily caused when the standard is checked in a comparison manner during writing, so that the test is repeated for a plurality of times, and the test effect is not ideal. In the embodiment of the invention, the test data comprising the motion parameters and the motion commands are packaged into the test module, so that the function test process is simpler and more efficient.
Step S30, the test module is sent to a secondary station, so that the secondary station generates motion state and parameter information according to the test module, and the motion state and the parameter information are sent to the primary station;
After the test data are packaged into the test module, the test module is sent to the secondary station, and the secondary station can execute a motion track triggered by a user according to the test module so as to generate corresponding motion state and parameter information, and simultaneously, the generated motion state and parameter information are transmitted to the primary station in real time so that the user can judge the function of the secondary station according to the motion state and the parameter information.
Step S40, the motion state and parameter information sent by the slave station is received, and the motion state and parameter information is sent to an interface so that a user can obtain a function test result according to the motion state and the parameter information.
After the secondary station executes a motion track triggered by a user according to the test module and generates corresponding motion state and parameter information, the primary station can circularly read the motion state and parameter information in the secondary station in a PDO mapping mode, then transmit the motion state and parameter information to an interface in a TCP/IP communication mode, the interface displays the motion state and the parameter information in real time, the user can simply and efficiently know problems and loopholes existing when the secondary station executes functions by observing changes of the motion state and the parameter information of the secondary station in the interface, and further relevant parameters are modified through judged problem points so as to realize the function optimization of the secondary station.
In this embodiment, the interface operation parameters corresponding to the functional test are obtained; calling test data according to the interface operation parameters, and packaging the test data into a test module; the test module is sent to a secondary station, so that the secondary station generates motion state and parameter information according to the test module, and the motion state and parameter information is sent to the primary station; and receiving the motion state and parameter information sent by the slave station, and sending the motion state and parameter information to an interface so that a user can obtain a function test result according to the motion state and parameter information. By packaging the test data into the test module, the efficiency and the accuracy of the function test are improved, and the function test effect of the secondary station is further improved.
Referring to fig. 3, fig. 3 is a schematic flow chart of a refinement process for receiving motion state and parameter information sent by the slave station and sending the motion state and parameter information to an interface for a user to obtain a functional test result according to the motion state and parameter information in the embodiment of the invention. In this embodiment, the step of receiving the motion state and the parameter information sent by the slave station and sending the motion state and the parameter information to an interface to obtain a function test result according to the motion state and the parameter information includes:
step S401, the motion state and parameter information sent by the slave station are received through interface mapping circulation;
after the secondary station executes the motion trail triggered by the user according to the test module and generates corresponding motion state and parameter information, the primary station can circularly read the motion state and parameter information in the secondary station in a PDO mapping mode. For example, when the user performs the inching function test on the secondary station, the inching speed parameter is modified through the interface, then the inching button is manually pressed, after the secondary station acquires the movement data set containing the inching speed parameter, the generated movement state and parameter information contain the current speed and the current position information when the movement instruction is executed, and when the user releases the inching button, the movement state and parameter information generated by the secondary station contain the information of the current deceleration and the stop movement state, and the user can judge the function of the secondary station according to the information.
Step S402, the motion state and the parameter information are sent to an interface through a transmission control protocol and/or an internet protocol, so that the interface displays the motion state and the parameter information, and the user obtains a function test result according to the motion state and the parameter information displayed by the interface.
The master station circularly reads the motion state and parameter information in the slave station through an interface mapping mode, then transmits the motion state and parameter information to the interface through a TCP/IP communication mode, the motion state and parameter information are displayed in real time through the interface, a user can simply and efficiently know problems and loopholes existing when the slave station executes functions by observing the changes of the motion state and the parameter information of the slave station in the interface, and further relevant parameters are modified through judged problem points, so that the function optimization of the slave station is realized. For example, when the user performs the inching function test on the secondary station, it may be determined whether the current speed in the motion state and the parameter information can reach the preset inching speed, and whether the current position can be accumulated or subtracted according to the inching direction, and after releasing the inching button, it may be stopped at the preset acceleration and deceleration speed, thereby determining the problem point of the secondary station, and further modifying the function thereof to optimize it.
According to the scheme, the motion state and parameter information sent by the slave station are received in a specific interface mapping cycle; and the motion state and the parameter information are sent to an interface through a transmission control protocol and/or an Internet protocol so that the interface can display the motion state and the parameter information, and the user can obtain a function test result according to the motion state and the parameter information displayed by the interface, so that the efficiency and the accuracy of the function test are improved, and the function test effect of the secondary station is further improved.
Referring to fig. 4, fig. 4 is a flow chart illustrating another exemplary embodiment of the functional test method of the present invention. The execution body of the present embodiment is a slave station. Based on the embodiment shown in fig. 2, the method for testing functions provided in the embodiment of the present invention includes:
A10, receiving a test module sent by a main station;
after the master station transmits the packaged test module to the slave station through the designed PLC internal logic control, the slave station receives the motion parameters and the motion commands in the test module, and further executes corresponding motions and feeds back corresponding data.
A20, generating motion state and parameter information according to the test module;
After the secondary station receives the test module issued by the main station, corresponding motion state and parameter information are generated according to the test module, the corresponding function modules of different function tests are different, and the generated motion state and parameter information are also different, such as an enabling state test, a recovery state test, a inching state test, a speed state test and the like.
A30, the motion state and the parameter information are sent to the master station so that the master station can receive the motion state and the parameter information, and the motion state and the parameter information are sent to an interface so that a user can obtain a function test result according to the motion state and the parameter information.
After the slave station sends the internally generated motion state and parameter information to the master station in an interface mapping mode, the master station transmits data to an interface in a TCP/IP communication mode, the interface displays the motion state and the parameter information in real time, a user can simply and efficiently know problems and loopholes existing when the slave station executes functions by observing the changes of the motion state and the parameter information of the slave station in the interface, and further, related parameters are modified through judged problem points, so that the function optimization of the slave station is realized.
In this embodiment, the test module sent by the master station is received; generating motion state and parameter information according to the test module; and sending the motion state and parameter information to the master station so that the master station can receive the motion state and parameter information, and sending the motion state and parameter information to an interface so that a user can obtain a function test result according to the motion state and parameter information. The efficiency and the accuracy of the function test are improved, and the function test effect is improved.
In addition, the embodiment of the invention also provides a function test system, which comprises:
The main station is used for acquiring interface operation parameters corresponding to the functional test; calling test data according to the interface operation parameters, and packaging the test data into a test module; the test module is sent to a secondary station, so that the secondary station generates motion state and parameter information according to the test module, and the motion state and parameter information is sent to the primary station; receiving the motion state and parameter information sent by the slave station, and sending the motion state and parameter information to an interface so that a user can obtain a function test result according to the motion state and parameter information;
The secondary station is used for receiving the test module sent by the primary station; generating motion state and parameter information according to the test module; the motion state and parameter information is sent to the master station so that the master station can receive the motion state and parameter information, and the motion state and parameter information is sent to an interface so that a user can obtain a function test result according to the motion state and parameter information;
The interface is used for providing interface operation parameters corresponding to the function test; and displaying the motion state and the parameter information so that the user can obtain a function test result according to the motion state and the parameter information displayed on the interface.
The functional test system simplifies the test flow and packages the functional test steps into modules, for example, a frequently-changed control mode and control word parameter combination are used for starting corresponding motion trail, firstly, the motion parameters required by user input are stored into a group of motion data groups, then the control mode and the control word are set into the required motion commands according to the motion trail triggered by the button, and the required motion parameters and the motion commands are packaged into a complete set of motion data groups and issued to an EtherCAT bus type driver (slave station), so that the EtherCAT bus type driver executes the motion trail triggered by the user, in addition, the master station circularly reads the motion state and the parameters in the EtherCAT bus type driver in a PDO mapping mode, maps the data required by the test to the master station, and then the data are displayed in real time by the TCP/IP communication mode of the master station and the interface, and the user can conveniently and efficiently understand the BUG existing when the EtherCAT bus type driver executes the functions by observing the change of the EtherCAT bus type driving state and the parameters.
Specifically, in the embodiment of the invention, the EtherCAT bus type driving function executes corresponding movements by calling the existing action instructions of the master station MC library, input information of the action instructions in the MC library is input by a human-computer interface, corresponding function tests are executed through buttons, the action instructions are issued to the EtherCAT bus type driving through the designed PLC internal logic control, and through key information of an interface real-time data interaction driver, a user can judge whether the EtherCAT bus type driving is executed according to the effect in theory in the executing process according to the key information of driving feedback in an observation interface. For example, after the user modifies the click speed parameter in the first graph, and manually presses the click button, the driver drives whether the current speed can reach the preset click speed when executing the command, and whether the current position can be accumulated or subtracted according to the click direction, and after releasing the click button, the driver drives whether to stop the movement at the set acceleration and deceleration speed.
In the embodiment, all the existing instructions about EtherCAT in the master station MC library are packaged into one functional test module, so that a user can preset relevant motion parameters according to test requirements during testing, and can trigger corresponding motions by simply pressing a button, thereby saving research and development test steps and saving time; all feedback parameters in the EtherCAT bus type drive are displayed in an interface, so that a user can observe the effect of function test during test conveniently, and the function of the test can be modified to be optimized; after the function is modularized, when new test requirements are added, the test functions are mixed, matched and combined, so that research and development personnel can conveniently and intensively test the corresponding combined functions according to the problems fed back by clients on site, and the problem points are judged through the driving states displayed in the interface, so that the modifier functions are optimized; by calling all the existing instructions about EtherCAT of the MC library of the tandem master station, the research and development personnel can conveniently test the fault tolerance rate of the matching of the tandem master station and the EtherCAT bus type drive, so that after hardware is changed, the compatibility problem of the master station and the slave station can be tested;
In addition, an embodiment of the present invention further provides a function test device, where the function test device includes:
the acquisition module is used for acquiring interface operation parameters corresponding to the functional test;
The packaging module is used for calling the test data according to the interface operation parameters and packaging the test data into a test module;
The sending module is used for sending the testing module to the slave station so that the slave station can generate motion state and parameter information according to the testing module and send the motion state and the parameter information to the master station;
And the transmission module is used for receiving the motion state and the parameter information sent by the slave station and sending the motion state and the parameter information to an interface so that a user can obtain a function test result according to the motion state and the parameter information.
The principle and implementation process of the functional test in this embodiment are referred to the above embodiments, and are not repeated herein.
In addition, the embodiment of the invention also provides a terminal device, which comprises a memory, a processor and a functional test program stored on the memory and capable of running on the processor, wherein the functional test program realizes the steps of the functional test method when being executed by the processor.
Because the functional test program is executed by the processor and adopts all the technical schemes of all the embodiments, the functional test program at least has all the beneficial effects brought by all the technical schemes of all the embodiments and is not described in detail herein.
In addition, the embodiment of the invention also provides a computer readable storage medium, wherein the computer readable storage medium stores a function test program, and the function test program realizes the steps of the function test method when being executed by a processor.
Because the functional test program is executed by the processor and adopts all the technical schemes of all the embodiments, the functional test program at least has all the beneficial effects brought by all the technical schemes of all the embodiments and is not described in detail herein.
Compared with the prior art, the function test method, the device, the terminal equipment and the storage medium provided by the embodiment of the invention are characterized in that interface operation parameters corresponding to the function test are obtained; calling test data according to the interface operation parameters, and packaging the test data into a test module; the test module is sent to a secondary station, so that the secondary station generates motion state and parameter information according to the test module, and the motion state and parameter information is sent to the primary station; and receiving the motion state and parameter information sent by the slave station, and sending the motion state and parameter information to an interface so that a user can obtain a function test result according to the motion state and parameter information. By packaging the test data into the test module, the efficiency and the accuracy of the function test are improved, and the function test effect of the secondary station is further improved.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system 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 system. 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 system that comprises the element.
The foregoing embodiment numbers of the present application are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) as above, comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, a controlled terminal, or a network device, etc.) to perform the method of each embodiment of the present application.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.