Software testing method, device, equipment and storage medium
1. A software testing method, characterized in that the software testing method comprises:
acquiring a logical relation of test elements and selecting a target test case from preset test cases;
generating a test case set according to the logical relation of the test elements and the target test case;
selecting a target test case set from a preset test case set;
and testing the target software according to the test cases in the test case set and the target test case set.
2. The method of claim 1, wherein the step of generating a set of test cases from the test element logical relationships and target test cases comprises:
determining each test element and the element logic sequence of each test element according to the test element logic relationship;
determining the test action corresponding to each test element;
determining a test logic sequence of the test actions according to the element logic sequence;
generating a test case according to the test action and the test logic sequence;
and generating a test case set according to the test cases and the target test cases.
3. The method of claim 1, wherein the step of testing the target software according to the test cases in the test case set and the target test case set comprises:
calling the test case set and a target test case set;
determining a corresponding test mode according to the target software;
and testing the target software according to the test cases in the test case set and the target test case set and the test mode.
4. The method of claim 1, wherein the step of obtaining the test element logical relationship and selecting the target test case from the preset test cases is preceded by the step of:
acquiring the test requirement of target software;
creating a test element logical relationship according to the test requirement;
acquiring a preset test element and test requirements of each software industry;
determining a preset element logic sequence according to the test requirements of each software industry and the preset test elements;
generating an industry preset test case according to the preset element logic sequence and the preset test elements;
acquiring a software industry type corresponding to the target software;
and selecting a preset test case from the industry preset test cases according to the software industry type.
5. The method of claim 4, wherein said step of obtaining predetermined test elements is preceded by the step of:
acquiring a preset element attribute, a preset element action and a preset element class;
and generating a preset test element according to the test requirements of each software industry, the preset element attribute, the preset element action and the preset element class.
6. The method of claim 4, wherein before the step of selecting the target set of test cases from the preset set of test cases, the method further comprises:
selecting the industry preset test case according to the test requirements of each software industry, and generating an industry preset test case set;
and selecting a preset test case set from the industry preset test case sets according to the software industry type.
7. The method according to any one of claims 1 to 6, wherein after the step of testing the target software according to the test cases in the set of test cases and the set of target test cases, the method further comprises:
obtaining a test result;
acquiring a test report template of the software industry type corresponding to the target software;
and generating a test report according to the test result and the test report template.
8. A software testing apparatus, characterized in that the software testing apparatus comprises:
the device comprises an element acquisition module, a test module and a test module, wherein the element acquisition module is used for acquiring the logical relation of test elements and selecting a target test case from preset test cases;
the set generation module is used for generating a test case set according to the test element logical relationship and the target test case;
the set selection module is used for selecting a target test case set from a preset test case set;
and the software testing module is used for testing the target software according to the test cases in the test case set and the target test case set.
9. A software testing device, characterized in that the device comprises: a memory, a processor, and a software test program stored on the memory and executable on the processor, the software test program configured to implement the software testing method of any one of claims 1 to 7.
10. A storage medium having stored thereon a software test program which, when executed by a processor, implements a software testing method according to any one of claims 1 to 7.
Background
Currently commonly used test tools are classified into 10 categories: a test management tool, an interface test tool, a performance test tool, a C/S automation tool, a white box test tool, a code scanning tool, a persistent integration tool, a network test tool, an app automation tool, a web security test tool.
However, each industry is dug independently, and a portal is independent, and each industry and each enterprise have to invest a large number of software developers to realize the test of specific functions. Software lacks of a platform, different types of products need to develop different software, so that the software is various in types and versions, and the difficulty of software management and the uncertainty of use are increased. Software lacks expansibility, each software is realized for the requirement of a specific user, the function of the software is relatively single, the addition of a new function requires technical upgrading of the software again, and the development period is long. Software is basically a closed-source system, software ecology is lacked, along with the development of software networking, servitization and intellectualization, the complexity of a software system is continuously increased, healthy ecologically-developed software is lacked, and the life cycle of the software is greatly shortened. Software development still belongs to the proprietary function of research personnel, and the tester can not apply the testing professional skill to the system design deeply, can only put forward the demand to the software developer according to the test task at first, and is applied according to expectation on the basis of the software that the software developer provides, and the operation limitation is great.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a software testing method, a software testing device, software testing equipment and a storage medium, and aims to solve the technical problems that a unified software testing platform is unavailable and a testing tool lacks expansibility in the prior art.
In order to achieve the above object, the present invention provides a software testing method, comprising the steps of:
acquiring a logical relation of test elements and selecting a target test case from preset test cases;
generating a test case set according to the logical relation of the test elements and the target test case;
selecting a target test case set from a preset test case set;
and testing the target software according to the test cases in the test case set and the target test case set.
Optionally, the step of generating a test case set according to the logical relationship of the test elements and the target test case includes:
determining each test element and the element logic sequence of each test element according to the test element logic relationship;
determining the test action corresponding to each test element;
determining a test logic sequence of the test actions according to the element logic sequence;
generating a test case according to the test action and the test logic sequence;
and generating a test case set according to the test cases and the target test cases.
Optionally, the step of testing the target software according to the test cases in the test case set and the target test case set includes:
calling the test case set and a target test case set;
determining a corresponding test mode according to the target software;
and testing the target software according to the test cases in the test case set and the target test case set and the test mode.
Optionally, before the step of obtaining the logical relationship of the test elements and selecting the target test case from the preset test cases, the method further includes:
acquiring the test requirement of target software;
creating a test element logical relationship according to the test requirement;
acquiring a preset test element and test requirements of each software industry;
determining a preset element logic sequence according to the test requirements of each software industry and the preset test elements;
generating an industry preset test case according to the preset element logic sequence and the preset test elements;
acquiring a software industry type corresponding to the target software;
and selecting a preset test case from the industry preset test cases according to the software industry type.
Optionally, before the step of obtaining the preset test element, the method further includes:
acquiring a preset element attribute, a preset element action and a preset element class;
and generating a preset test element according to the test requirements of each software industry, the preset element attribute, the preset element action and the preset element class.
Optionally, before the step of selecting the target test case set from the preset test case set, the method further includes:
selecting the industry preset test case according to the test requirements of each software industry, and generating an industry preset test case set;
and selecting a preset test case set from the industry preset test case sets according to the software industry type.
Optionally, after the step of testing the target software according to the test cases in the test case set and the target test case set, the method further includes:
obtaining a test result;
acquiring a test report template of the software industry type corresponding to the target software;
and generating a test report according to the test result and the test report template.
In addition, in order to achieve the above object, the present invention further provides a software testing apparatus, including:
the device comprises an element acquisition module, a test module and a test module, wherein the element acquisition module is used for acquiring the logical relation of test elements and selecting a target test case from preset test cases;
the set generation module is used for generating a test case set according to the test element logical relationship and the target test case;
the set selection module is used for selecting a target test case set from a preset test case set;
and the software testing module is used for testing the target software according to the test cases in the test case set and the target test case set.
In addition, to achieve the above object, the present invention further provides a software testing apparatus, including: a memory, a processor and a software test program stored on the memory and executable on the processor, the software test program configured to implement the software testing method as described above.
In addition, to achieve the above object, the present invention further provides a storage medium having a software testing program stored thereon, wherein the software testing program, when executed by a processor, implements the software testing method as described above.
The method comprises the steps of obtaining a logical relation of test elements and selecting a target test case from preset test cases; generating a test case set according to the logical relation of the test elements and the target test case; selecting a target test case set from a preset test case set; and testing the target software according to the test cases in the test case set and the target test case set. By the method, a user can design a logical relation of the test elements according to the visual element design, the software test platform generates a test case designed by the user according to the logical relation of the test elements, the user can also select a preset test case, a test case set is generated according to the user design and the selected test case, and the test case set is used for testing target software; the user does not need high and deep programming skills and methods, and only needs to utilize the professional testing capability of the user to convert the testing logic into the testing element displayed in the shape; the user does not need to be limited by self ability, and can simply and quickly master more test methods through the resources such as the test element library, the test case library, the test scheme library and the like provided by other professionals. Therefore, the invention greatly reduces the workload and the working difficulty of the individual testers, and enables the testers to have more energy to concentrate on the design of the test cases and the test schemes.
Drawings
FIG. 1 is a schematic structural diagram of a software testing device of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a software testing method according to a first embodiment of the present invention;
FIG. 3 is a logic diagram of a test element according to an embodiment of the software testing method of the present invention;
FIG. 4 is a flowchart illustrating a second embodiment of a software testing method according to the present invention;
FIG. 5 is a flowchart illustrating a third exemplary embodiment of a software testing method according to the present invention;
FIG. 6 is a block diagram of a software platform of a test system according to an embodiment of the present invention;
FIG. 7 is an expanded view of an industrial test system according to an embodiment of the software testing method of the present invention;
FIG. 8 is a block diagram of a software testing apparatus according to a first embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a software testing device in a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 1, the software testing apparatus may include: a processor 1001, such as a Central Processing Unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a Wireless interface (e.g., a Wireless-Fidelity (Wi-Fi) interface). The Memory 1005 may be a Random Access Memory (RAM) Memory, or may be a Non-Volatile Memory (NVM), such as a disk Memory. The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the configuration shown in FIG. 1 does not constitute a limitation of the software testing apparatus, and may include more or fewer components than those shown, or some components in combination, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a storage medium, may include therein an operating system, a network communication module, a user interface module, and a software test program.
In the software test apparatus shown in fig. 1, the network interface 1004 is mainly used for data communication with a network server; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 in the software testing device of the present invention may be disposed in the software testing device, and the software testing device calls the software testing program stored in the memory 1005 through the processor 1001 and executes the software testing method provided by the embodiment of the present invention.
An embodiment of the present invention provides a software testing method, and referring to fig. 2, fig. 2 is a schematic flow chart of a first embodiment of a software testing method according to the present invention.
In this embodiment, the software testing method includes the following steps:
step S10: and acquiring the logical relation of the test elements and selecting a target test case from preset test cases.
It should be noted that the execution body of the embodiment may be a terminal device, such as a computer. The user of the software testing platform is a tester in various industries, and the user does not need to master high and deep computer application skills and can realize the design and manufacture of a test case, a test scheme, a test task and the like only through visual element shape drag and drop; the user does not need high and deep programming skills and methods, and only needs to utilize the professional testing capability of the user to convert the testing logic into the testing element displayed in the shape; the user does not need to be limited by self ability, and can simply and quickly master more test methods through the resources such as the test element library, the test case library, the test scheme library and the like provided by other professionals.
It can be understood that a user may create a test element by himself or create a test element logic according to a test element provided by the software test platform, where the test element logic is a logic sequence between the test elements, as shown in fig. 3, the test elements are visual element shapes, and there is a logic relationship between the test elements.
It should be understood that, when a user needs to perform software testing, the software testing platform pushes a preset testing element, a preset testing case and the like corresponding to the software industry type according to the software industry type of the software to be tested, which is input by the user, and the user can select a target testing case from the preset testing cases.
It should be noted that the software industry type refers to the industry of the software to be tested, such as financial industry, design industry, etc.
Step S20: and generating a test case set according to the logic relation of the test elements and the target test case.
It should be noted that the software test platform generates a test case according to the element logical relationship created by the user, the test case and the test case selected by the user generate a test case set together, and the test case set forms a test scheme together.
Further, in order to generate the test case required by the user, step S20 includes: determining each test element and the element logic sequence of each test element according to the test element logic relationship; determining the test action corresponding to each test element; determining a test logic sequence of the test actions according to the element logic sequence; generating a test case according to the test action and the test logic sequence; and generating a test case set according to the test cases and the target test cases.
It can be understood that the test actions may be test inputs, execution conditions, etc., each test element corresponding to one test action, a logical order of elements created for a user between test elements, and an execution logic and execution order between each test action determined according to the logical order of elements.
The test cases are generated based on the execution logic and the execution order between the test actions. And generating a test case set according to a target test case selected by a user from preset test cases, wherein the test case set is a complete test scheme, and the test scheme comprises test cases of functions and modules to be tested in target software.
Step S30: and selecting a target test case set from the preset test case sets.
It should be understood that the software testing platform pushes the preset test case set corresponding to the software industry type according to the software industry type input by the user, and the user can select the target test case set from the preset test case set according to the requirement. The preset test case set can be a test case set created by other professional users, and the test case set, the test cases, the test elements and the like created by all the users can be stored and classified and then pushed to the needed users.
Step S40: and testing the target software according to the test cases in the test case set and the target test case set.
It should be noted that, after the user finally determines the test case set and the target test set, the software test platform calls the test cases in the test case set and the target test set, so as to test the target software, and the target software can be uploaded to the software test platform, or the software test platform searches the target software according to the storage path of the target software on the user equipment, and tests the target software.
Further, step S40 includes: calling the test case set and a target test case set; determining a corresponding test mode according to the target software; and testing the target software according to the test cases in the test case set and the target test case set and the test mode.
It can be understood that the test mode can be a real test or a virtual test, the test mode can be selected according to the providing condition of the target software, when a certain function of the target software is in the plan, the target software does not realize the function temporarily, and the virtual test can be used when the function is tested; when the function or module to be tested is implemented in software, a physical test can be selected when the function or module is tested.
In the specific implementation, the test case set and the test cases in the target test case set are called, and the target software is tested by using the corresponding test mode, so that the test result is obtained.
Further, in order to enhance the user experience and better show the test result, after the step S40, the method further includes: obtaining a test result; acquiring a test report template of the software industry type corresponding to the target software; and generating a test report according to the test result and the test report template.
It should be noted that different software industry types have different test key contents, so that different test results of different software industry types have different preset test report templates, key test results are selected from the test results according to the preset test report templates and displayed in the test reports, the sub-items and the total test conclusion of each test are output, and the user can derive test reports in formats of pdf, html and the like.
The method comprises the steps of obtaining a logical relation of test elements and selecting a target test case from preset test cases; generating a test case set according to the logical relation of the test elements and the target test case; selecting a target test case set from a preset test case set; and testing the target software according to the test cases in the test case set and the target test case set. By the method, a user can design a logical relation of the test elements according to the visual element design, the software test platform generates a test case designed by the user according to the logical relation of the test elements, the user can also select a preset test case, a test case set is generated according to the user design and the selected test case, and the test case set is used for testing target software; the user does not need high and deep programming skills and methods, and only needs to utilize the professional testing capability of the user to convert the testing logic into the testing element displayed in the shape; the user does not need to be limited by self ability, and can simply and quickly master more test methods through the resources such as the test element library, the test case library, the test scheme library and the like provided by other professionals. Therefore, the invention greatly reduces the workload and the working difficulty of the individual testers, and enables the testers to have more energy to concentrate on the design of the test cases and the test schemes.
Referring to fig. 4, fig. 4 is a flowchart illustrating a software testing method according to a second embodiment of the present invention.
Based on the first embodiment, before the step S10, the software testing method of this embodiment further includes:
step S01: and acquiring the test requirement of the target software.
It should be noted that the software testing platform may detect the function and the module of the target software according to the target software uploaded by the user, so as to obtain the testing requirement of the target software. The user can also select the testing requirement of the target software on the software testing platform.
Step S02: and creating a logic relation of the test elements according to the test requirement.
In the specific implementation, the test requirements are modules and functions to be tested in the target software, the software test platform selects test elements according to the modules and the functions to be tested, and establishes logical relations of the test elements, so that the logical relations of the test elements necessary for testing the software are established for users, and test cases are established according to the logical relations of the elements.
Step S03: and acquiring a preset test element and test requirements of each software industry.
It can be understood that the preset test elements can be created by the user or generated by the software test platform. The software testing platform selects preset testing elements according to testing requirements of software to be tested in each software industry (namely testing requirements of the software industry).
Further, before the step S03, the method further includes: acquiring a preset element attribute, a preset element action and a preset element class; and generating a preset test element according to the test requirements of each software industry, the preset element attribute, the preset element action and the preset element class.
It should be noted that the preset element attribute, the preset element action, and the preset element class are necessary elements that form a preset test element, and the element design adopts an object-oriented design, and uses a name as an object unique identification identifier, including the preset element attribute, the preset element action, and the preset element class.
Step S04: and determining a preset element logic sequence according to the test requirements of each software industry and the preset test elements.
It should be noted that, because the modules and functions of the software to be tested may be different for each industry, the testing requirements may be different for each software industry. The preset test logic for testing different functions and the preset element logic sequence are required to be formulated according to the test requirements of each software industry. For example: when the type of the software industry is video playing, the testing requirement of the software industry comprises that the software needs to test the subtitle function of the video when playing the video, the testing logic comprises presetting, starting playing, built-in subtitle testing, external subtitle testing and the like, the presetting comprises basic functions and function testing sequences of video importing, subtitle importing, screen brightness adjusting, video adjusting and the like, and each function testing corresponds to a preset testing element.
Step S05: and generating an industry preset test case according to the preset element logic sequence and the preset test elements.
It can be understood that when a test case is generated according to test requirements of each software industry, the test case may have a label of the software industry type, for example, when a test case for video playing is currently generated, the test case may have a label of the video playing industry.
In the specific implementation, the preset test actions are determined according to the preset test elements, and the execution sequence of the preset test actions is determined according to the logic sequence of the preset elements, so that the industry preset test cases of each software industry are generated.
Step S06: and acquiring the software industry type corresponding to the target software.
It can be understood that, before testing the target software, the software industry type of the software needs to be known, such as the video playing industry, the picture design industry, and the like.
Step S07: and selecting a preset test case from the industry preset test cases according to the software industry type.
In the specific implementation, according to the software industry type of the target software, a test case with a label of the software industry type is selected from an industry preset test case library and pushed to a user interface, and a user can select the target test case from preset test cases according to requirements.
The embodiment obtains the test requirement of the target software; creating a test element logical relationship according to the test requirement; acquiring a preset test element and test requirements of each software industry; determining a preset element logic sequence according to the test requirements of each software industry and the preset test elements; generating an industry preset test case according to the preset element logic sequence and the preset test elements; acquiring a software industry type corresponding to the target software; and selecting a preset test case from the industry preset test cases according to the software industry type. Through the method, the software testing platform generates the test case library, the test case set library and the like according to the testing requirements of each software industry for selection of users, so that the testing efficiency of the users is improved, and the user experience of the users is improved.
Referring to fig. 5, fig. 5 is a flowchart illustrating a software testing method according to a third embodiment of the present invention.
Based on the first embodiment, before the step S30, the software testing method of this embodiment further includes:
step S21: and selecting the industry preset test cases according to the test requirements of each software industry to generate an industry preset test case set.
It should be noted that the industry preset test case set includes each test case of the software in the software industry type, the test case set is a test scheme for testing a certain functional module of the software, and various test schemes are generated according to the test requirements of each software industry for the user to select.
Step S22: and selecting a preset test case set from the industry preset test case sets according to the software industry type.
In the specific implementation, according to the software industry type of target software to be tested by a user, a preset test case set belonging to the software industry type is selected from industry preset test case sets, and the preset test case set is displayed on a user interface for the user to select.
In a specific implementation, as shown in fig. 6, a test element is selected from a test element library to generate a test case, the test case generates a test scheme, and the test scheme generates a test system, as shown in fig. 7, the test element, the test case, and the like can be created by a user according to industry requirements to form a test library for selection by other users.
In addition, an embodiment of the present invention further provides a storage medium, where a software testing program is stored on the storage medium, and the software testing program, when executed by a processor, implements the steps of the software testing method described above.
Referring to fig. 8, fig. 8 is a block diagram of a software testing apparatus according to a first embodiment of the present invention.
As shown in fig. 8, the software testing apparatus according to the embodiment of the present invention includes:
the device obtaining module 10 is configured to obtain a logical relationship between test devices and select a target test case from preset test cases.
And the set generating module 20 is configured to generate a test case set according to the logical relationship of the test elements and the target test case.
And the set selecting module 30 is configured to select a target test case set from the preset test case sets.
And the software testing module 40 is used for testing the target software according to the test cases in the test case set and the target test case set.
In an embodiment, the set generating module 20 is further configured to determine each test element and an element logic sequence of each test element according to the test element logic relationship; determining the test action corresponding to each test element; determining a test logic sequence of the test actions according to the element logic sequence; generating a test case according to the test action and the test logic sequence; and generating a test case set according to the test cases and the target test cases.
In an embodiment, the software testing module 40 is further configured to invoke the test case set and a target test case set; determining a corresponding test mode according to the target software; and testing the target software according to the test cases in the test case set and the target test case set and the test mode.
In an embodiment, the component obtaining module 10 is further configured to obtain a test requirement of the target software; creating a test element logical relationship according to the test requirement; acquiring a preset test element and test requirements of each software industry; determining a preset element logic sequence according to the test requirements of each software industry and the preset test elements; generating an industry preset test case according to the preset element logic sequence and the preset test elements; acquiring a software industry type corresponding to the target software; and selecting a preset test case from the industry preset test cases according to the software industry type.
In an embodiment, the component obtaining module 10 is further configured to obtain a preset component attribute, a preset component action, and a preset component class; and generating a preset test element according to the test requirements of each software industry, the preset element attribute, the preset element action and the preset element class.
In an embodiment, the set selecting module 30 is further configured to select the industry preset test case according to the test requirements of each software industry, and generate an industry preset test case set; and selecting a preset test case set from the industry preset test case sets according to the software industry type.
In an embodiment, the software testing module 40 is further configured to obtain a testing result; acquiring a test report template of the software industry type corresponding to the target software; and generating a test report according to the test result and the test report template.
It should be understood that the above is only an example, and the technical solution of the present invention is not limited in any way, and in a specific application, a person skilled in the art may set the technical solution as needed, and the present invention is not limited thereto.
The embodiment selects a target test case from preset test cases by obtaining the logical relationship of the test elements; generating a test case set according to the logical relation of the test elements and the target test case; selecting a target test case set from a preset test case set; and testing the target software according to the test cases in the test case set and the target test case set. By the method, a user can design a logical relation of the test elements according to the visual element design, the software test platform generates a test case designed by the user according to the logical relation of the test elements, the user can also select a preset test case, a test case set is generated according to the user design and the selected test case, and the test case set is used for testing target software; the user does not need high and deep programming skills and methods, and only needs to utilize the professional testing capability of the user to convert the testing logic into the testing element displayed in the shape; the user does not need to be limited by self ability, and can simply and quickly master more test methods through the resources such as the test element library, the test case library, the test scheme library and the like provided by other professionals. Therefore, the invention greatly reduces the workload and the working difficulty of the individual testers, and enables the testers to have more energy to concentrate on the design of the test cases and the test schemes.
It should be noted that the above-described work flows are only exemplary, and do not limit the scope of the present invention, and in practical applications, a person skilled in the art may select some or all of them to achieve the purpose of the solution of the embodiment according to actual needs, and the present invention is not limited herein.
In addition, the technical details that are not described in detail in this embodiment may refer to the software testing method provided in any embodiment of the present invention, and are not described herein again.
Further, it is to 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 an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention or portions thereof that contribute to the prior art may be embodied in the form of a software product, where the computer software product is stored in a storage medium (e.g. Read Only Memory (ROM)/RAM, magnetic disk, optical disk), and includes several instructions for enabling a terminal device (e.g. a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.