Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The present application provides a test system, as shown in fig. 1, the test system includes astartup script library 101, atest function library 102, atest case library 103, and atest log library 104. Thestarting script library 101 is used for starting a test program, cleaning an operating environment and calling an email; atest function library 102 for providing test functions, test operations and test tools; thetest case library 103 is used for storing test cases; and thetest log library 104 is used for storing the test logs.
The startup script library is compiled by CMD language and provides a uniform parameter template.
In one embodiment, thetest function library 102 includes a general function library, a business function library, and a tool library; the universal function library is used for providing at least one test function of mouse, keyboard, screenshot, control searching and input and output; the business function library is used for providing at least one test operation of version installation, data import, license loading, test type selection, information search, workflow circulation, log recording and interrupt processing; and the tool library is used for providing at least one testing tool of screenshot, analysis, performance test, test case configuration, data reading and writing and mail.
The test system provides a unified startup script library, a test function library, a test case library and a test log library, namely codes used for testing are modularized, so that the problems of using different development languages and development logics do not exist when a programmer develops a test program, and the maintenance difficulty and the maintenance cost of the test program can be reduced.
The application provides a testing method, as shown in fig. 2, the method can be applied to a server, a terminal, and a system in which the server interacts with the terminal. The server may be implemented by an independent server or a server cluster composed of a plurality of servers, and the terminal may be, but is not limited to, various personal computers, notebook computers, smart phones, and tablet computers. The embodiment of the present disclosure is described as being applied to a server, and may include the following steps:
step 201, a test program is started.
In conducting the test, the server may initiate the test program using the startup script library.
Step 202, importing target test data.
The server is pre-configured with test data information. The test data information is used for indicating target test data to be used. The test data information may include a test data identification and a test data type.
After the server starts the test program, the target test data can be determined according to the test data identification and the test data type indicated by the test data information, and the target test data is imported.
For example, if the test data identifier is the image data 1 of the object a, and the image data is a CT image, the server imports the image data 1 of the object a according to the test data identifier and the test data type.
Step 203, loading the target license from the test function library according to the preset license information.
Wherein the license information is used to indicate a target license to be used. The licensing information may include a license identification. The test function library comprises a business function library, and the business function library provides test operation of license loading.
The server is configured with permission information in advance. And when testing, the server calls a function in the service function library according to the license identifier indicated by the license information and loads the target license. Thereafter, the server may remove the license restriction in the test according to the target license.
And 204, selecting a target test case according to the target test type.
The server is pre-configured with test type information. Wherein the test type information is used for indicating a target test type to be used. And when testing, the server calls the function loading target test type in the service function library according to the test type information. And then, the server selects the target test case from the test case library according to the target test type. The test case library stores at least one test case.
For example, the server calls a function loading smoking test in the service function library according to the test type information, and selects a target test case corresponding to the smoking test from the test case library according to the smoking test. Or the server calls a function loading interface test in the service function library according to the test type information, and selects a target test case corresponding to the interface test from the test case library according to the interface test.
And step 205, executing the target test case to obtain a target test result.
And after the server imports the target test data, selects the target test case and releases the test limit, executing the target test case, so that the target test case can use the target test data to carry out the test corresponding to the target test type.
For example, the server executes a target test case, and the target test case performs an interface test using the image data 1 of the medical object a.
In one embodiment, in the process of executing the target test case, a test process screenshot, a process log and a system log are recorded.
In one embodiment, after the target test result is obtained, a test report may be generated according to the target test result, and the test report may be stored in the test log library. Wherein the test report includes a test log.
In the test system method, a test program is started; importing target test data; loading a target license from a test function library according to preset license information; selecting a target test type of a target test case according to the target test type; and executing the target test case to obtain a target test result. In the embodiment of the disclosure, the test system is used for realizing automatic test, and the test system provides a unified startup script library, a test function library, a test case library and a test log library, namely, codes used for testing are modularized, so that a programmer does not have the problems of using different development languages and development logics when developing a test program, and the maintenance difficulty and the maintenance cost of the test program can be reduced. Moreover, the automatic test can improve the test efficiency.
In one embodiment, before starting the test program, an embodiment of the present disclosure may further include: a parameter setting mode is determined. Wherein the parameter setting mode comprises manual setting and configuration file setting.
In practical application, the server may first display the mode setting interface. As shown in FIG. 3, the mode setting interface is shown with a plurality of mode setting options; wherein the mode setting options include a manual setting option or a profile setting option.
And then, the server receives the selection operation aiming at the mode setting option based on the mode setting interface, and determines the parameter setting mode according to the selection operation aiming at the mode setting option.
For example, the user may select a manual setting in the mode setting interface, and the server receives a selection operation based on the mode setting interface and determines the parameter setting mode as the manual setting according to the selection operation.
The manual setting can provide a test data setting interface, a test type setting interface and an installation information setting interface for a user, and the user can set parameters such as test data information, test type information and installation information only by simple selection operation and input operation.
In the above embodiment, the server determines the parameter setting mode. Through the embodiment of the disclosure, a mode setting interface is provided for a user, and in a manual setting mode, the user only needs to perform simple selection operation and input operation to realize parameter setting. Therefore, not only the program development threshold but also the development cost of the test program can be reduced.
When the configuration file setting option is selected, the related information required to be set on the test data setting interface, the test type setting interface and the installation information setting interface is provided in a configuration file mode for the test system to automatically read and complete the related configuration, and the setting of parameters such as the test data information, the test type information and the installation information is automatically realized without manual setting.
In one embodiment, if the parameter setting mode is manual setting, the target test data, the target test type, the target test case, and the installation information of the installation package are set according to user operation. The target test type comprises at least one of smoking test, performance test, interface test, stability test, reliability test and host test.
In one embodiment, as shown in FIG. 4, a process involving setting target test data may include:
step 206, displaying a test data setting interface.
The server may present a test data setup interface. As shown in FIG. 5, the test data setup interface is presented with a data path input box.
And step 207, receiving an input operation aiming at the data path input box based on the test data setting interface, and determining target test data according to the input operation aiming at the data path input box to obtain test data information.
The user can input the storage path of the target test data in the data path input box of the test data setting interface, the server receives input operation based on the test data setting interface, determines the target test data according to the storage path input in the data path input box, and generates test data information according to the test data identification of the target test data.
In the above embodiment, the test data setting interface is displayed, the input operation for the data path input box is received based on the test data setting interface, and the target test data is determined according to the input operation for the data path input box, so as to obtain the test data information. Through the embodiment of the disclosure, a test data setting interface is provided for a user, and the user can set test data and develop a test program more conveniently, so that not only can a program development threshold be reduced, but also the development cost of the test program can be reduced.
In one embodiment, as shown in FIG. 6, a process involving setting a target test type may include:
and step 208, displaying a test type setting interface.
The server may present a test type setting interface. As shown in fig. 7, at least one test type option is shown in the test type setting interface; the testing type options comprise at least one of smoking testing options, performance testing options, interface testing options, stability testing options, reliability testing options and host testing options.
Step 209, receiving a selection operation for the test type option based on the test type setting interface, and determining a target test type according to the selection operation for the test type option to obtain test type information.
And if the user can input the selection operation in the test type setting interface, the server receives the selection operation based on the test type setting interface, determines the target test type according to the selection operation, and then generates test type information according to the target test type.
As shown in fig. 7, when the user clicks a dot before the smoking test option in the test type setting interface, the server may determine that the target test type is the smoking test according to the click operation, and generate test type information according to the smoking test. The selection operation may also adopt other manners, and the selection operation is not limited in the embodiment of the present disclosure.
In the above embodiment, the test type setting interface is displayed; and receiving a selection operation aiming at the test type option based on the test type setting interface, and determining a target test type according to the selection operation aiming at the test type option to obtain test type information. Through the embodiment of the disclosure, a test type setting interface is provided for a user, and the user can set the test type and develop the test program more conveniently, so that not only can the program development threshold be reduced, but also the development cost of the test program can be reduced.
In one embodiment, as shown in fig. 8, a process related to setting a target test case may include:
and step 210, displaying a test case setting interface.
The server may present a test case setup interface. As shown in FIG. 9, the test case setup interface exposes a case path input box.
And step 211, receiving an input operation aiming at the case path input box based on the test case setting interface, and determining a target test case according to the input operation aiming at the case path input box.
The user can input the storage path of the target test case in the case path input box of the test case setting interface, and the server receives input operation based on the test case setting interface and determines the target test case according to the storage path input in the case path input box.
In the above embodiment, the test case sets up the interface; and receiving an input operation aiming at the case path input box based on the test case setting interface, and determining a target test case according to the input operation aiming at the case path input box. Through the embodiment of the disclosure, a test case setting interface is provided for a user, and the user can set a test case and develop a test program more conveniently, so that not only can a program development threshold be reduced, but also the development cost of the test program can be reduced.
In one embodiment, as shown in fig. 10, a process related to setting installation package information may include:
and step 212, displaying an installation information setting interface.
Before installing the target installation package, the server needs to configure installation information. Thus, the server can expose an installation information setting interface. As shown in fig. 11, a plurality of installation package type options and installation package path input boxes are displayed in the installation information setting interface.
And step 213, receiving a selection operation aiming at the installation package type option and an input operation aiming at the installation package path input box based on the installation information setting interface, and determining a target installation package type and a target installation package path according to the selection operation aiming at the installation package type and the input operation aiming at the installation package path input box.
The user can select the type of the installation package in the installation information setting interface and input the storage path of the target installation package in the installation package path input box. And the server receives selection operation of the type of the installation package and input operation of the storage path of the installation package based on the installation information setting interface. And then, the server determines the type of the target installation package according to the selection operation and determines the path of the target installation package according to the input operation.
And step 214, displaying a package taking parameter setting interface.
And after determining the type and the path of the target installation package, the server displays a package-taking parameter setting interface. As shown in fig. 12, a plurality of package parameter input boxes are shown in the package parameter setting interface.
Step 215, receiving an input operation aiming at the package taking parameter input box based on the package taking parameter setting interface, and determining a target package taking parameter according to the input operation aiming at the package taking parameter input box.
The user can input the target package taking parameters in a package taking parameter input box of the package taking parameter setting interface, the server receives input operation based on the package taking parameter setting interface, and the target package taking parameters are determined according to the input operation.
Wherein the target packet fetching parameter comprises at least one of packet fetching time, a packet fetching repeating pattern, a cycle number of trying to fetch packets and a time interval. For example, the packet fetching time is 8 hours, 0 minutes, 0 seconds; the packet taking repetition mode is repeated every day; the cycle number of trying to fetch the package is 3 times, the time interval is 30 minutes, namely the maximum number of trying is 3 times when the installation package is obtained, the package fetching interval is 30 minutes each time, and if the installation package is not obtained after trying for 3 times, the package fetching operation is not performed.
And step 216, obtaining installation information according to the type of the target installation package, the path of the target installation package and the target package taking parameter.
And after determining the target package taking parameters, the server generates installation information according to the type of the target installation package, the path of the target installation package and the target package taking parameters. In this way, the server can acquire and install the target installation package according to the installation information when determining that the installation package is required.
In the above embodiment, the installation information setting interface is displayed; receiving selection operation aiming at the installation package type option and input operation aiming at the installation package path input box based on an installation information setting interface, and determining a target installation package type and a target installation package path according to the selection operation aiming at the installation package type and the input operation aiming at the installation package path input box; displaying a package taking parameter setting interface; and receiving input operation aiming at the package taking parameter input box based on the package taking parameter setting interface, and determining target package taking parameters according to the input operation aiming at the package taking parameter input box. Through the embodiment of the disclosure, an installation information setting interface and a package taking parameter setting interface are provided for a user, and the user can conveniently set installation information, package taking parameters and develop a test program, so that not only can a program development threshold be reduced, but also the development cost of the test program can be reduced.
In an embodiment, as shown in fig. 13, before the step of displaying the installation information setting interface, an embodiment of the present disclosure may further include:
and step 217, detecting the space size of the packaged disk.
Before configuring the installation information, the server performs space size detection on the packaged disk, and detects whether the packaged disk has enough packaging space as shown in fig. 14.
And step 218, displaying the installation information interface under the condition that the space for packaging the disk is larger than a preset space threshold value.
And under the condition that the space of the packaging disk is larger than a preset space threshold value, the packaging disk is large enough to install the target installation package, and at the moment, the server displays an installation information interface and configures installation information.
In the above embodiment, the space size of the packaged disk is detected, and the installation information interface is displayed when the space of the packaged disk is greater than the preset space threshold. Through this disclosed embodiment, guarantee to install the information setting under the sufficient condition in dress package space, avoid the not enough problem that leads to the dress package failure in dress package space.
In one embodiment, as shown in fig. 15, an embodiment of the present disclosure may further include:
step 219, the parameter backup interface is displayed.
In the process of configuring the installation information, the server can also display a parameter backup interface. As shown in fig. 16, the parameter backup interface is shown with at least one backup-able parameter option; the backupable parameter options include UIH at least one of a file option, a source data option, and an image option.
Step 220, receiving a selection operation for the backup-available parameter option based on the parameter backup interface, and determining the target backup-available parameter according to the selection operation for the backup-available parameter option.
The user can select the parameters to be backed up from the parameter backup interface, the server receives selection operation based on the parameter backup interface, and the target backupable parameters are determined according to the selection operation.
Correspondingly, thestep 216 may include: and obtaining the installation information according to the type of the target installation package, the path of the target installation package, the target package taking parameter and the target backup parameter.
And after obtaining the target backup parameters, the server generates installation information according to the type of the target installation package, the path of the target installation package, the target package taking parameters and the target backup parameters. Thereafter, the server may perform installation of the target installation package according to the installation information.
In the above embodiment, the parameter backup interface is displayed; and receiving a selection operation aiming at the backup parameter option based on the parameter backup interface, and determining a target backup parameter according to the selection operation aiming at the backup parameter option. By the aid of the method and the device, the backup parameters are determined, so that the parameters can be backed up in the test process, and subsequent checking is facilitated.
In one embodiment, as shown in fig. 17, an embodiment of the present disclosure may further include:
step 221, displaying the overlay file setting interface.
In the process of configuring the installation information, the server can also display an overlay file setting interface. As shown in fig. 18, a plurality of file path input boxes are displayed in the overlay file setting interface.
Step 222, receiving an input operation for the file path input box based on the overlay file setting interface, and obtaining at least one storage path of the target configuration file to be overlaid after packaging according to the input operation for the file path input box.
The configuration file to be covered after packaging comprises at least one of an archive source file, an archive destination file, a print source file, a print destination file, a license source file and a license destination file.
The user can perform an input operation in a file path input box covering the file setting interface. For example, the user inputs a storage path of the archive source file, a storage path of the archive destination file, a storage path of the print source file, a storage path of the print destination file, a storage path of the license source file, and a storage path of the license destination file.
And the server receives the input operation of a user based on the overlay file setting interface, and determines the storage path of the target configuration file to be overlaid after the package is packaged according to the input operation. After packaging, at least one target configuration file of the archive source file, the archive destination file, the print source file, the print destination file, the license source file and the license destination file can be subjected to overlay processing according to the storage paths.
Correspondingly, step 216 may include: and obtaining the installation information according to the type of the target installation package, the path of the target installation package, the target package taking parameter and the storage path of the target configuration file to be covered after the package is installed.
After the storage path of the target configuration file which needs to be covered after the package is obtained, the server generates installation information according to the type of the target installation package, the path of the target installation package, the target package fetching parameter and the storage path of the target configuration file which needs to be covered after the package is obtained.
In the above embodiment, the overlay file setting interface is displayed; and receiving an input operation aiming at the file path input box based on the overlay file setting interface, and acquiring at least one storage path of the target configuration file to be overlaid after packaging according to the input operation aiming at the file path input box. Through the embodiment of the disclosure, a coverage file setting interface is provided for a user, and the user can set a target configuration file to be covered after packaging and develop a test program more conveniently, so that not only can a program development threshold be reduced, but also the development cost of the test program can be reduced.
In one embodiment, as shown in fig. 19, an embodiment of the present disclosure may further include:
step 223, displaying the modality setting interface.
Before determining the storage path of the target configuration file to be covered after the packaging, the target configuration file to be covered after the packaging needs to be generated, so that the server can display the modal setting interface. As shown in FIG. 20, the modality setting interface is exposed with a modality path input box.
The modalities include CT (Computed Tomography), MR (Magnetic Resonance), PET (Positron Emission Computed Tomography), and the like. The mode is not limited in the embodiment of the disclosure.
And 224, receiving an input operation aiming at the modal path input box based on the modal setting interface, and determining a target modal according to the input operation aiming at the modal path input box.
The user can input a target modality in a modality path input box of the modality setting interface, the server receives input operation based on the modality setting interface, and the target modality is determined according to the input operation.
Step 225, displaying the workflow setting interface.
Since the workflow of different medical imaging devices is different, the workflow needs to be set. The server displays the workflow setting interface, and as shown in fig. 21, the workflow setting interface displays the workflow path input box.
Step 226, receiving an input operation for the workflow path input box based on the workflow setting interface, and determining a target workflow according to the input operation for the workflow path input box.
The user can input the storage path of the target workflow in the workflow path input box of the workflow setting interface, and the server receives input operation based on the workflow setting interface and determines the target workflow according to the input operation.
And 227, obtaining a target configuration file according to the target mode and the target workflow.
After the server obtains the target modality and the target workflow, a target configuration file can be generated according to the target modality and the target workflow.
In the above embodiment, a modality setting interface is displayed; receiving an input operation aiming at the modal path input box based on the modal setting interface, and determining a target modal according to the input operation aiming at the modal path input box; displaying a workflow setting interface; receiving an input operation aiming at the workflow path input box based on the workflow setting interface, and determining a target workflow according to the input operation aiming at the workflow path input box; and obtaining a target configuration file according to the target mode and the target workflow. Through the embodiment of the disclosure, a mode setting interface and a workflow setting interface are provided for a user, and the user can conveniently set the mode and the workflow and develop the test program, so that not only can the program development threshold be reduced, but also the development cost of the test program can be reduced.
In one embodiment, the disclosed embodiments may further include: and installing the target installation package according to the preset installation information.
The installation information comprises a target installation package type, a target installation package path and modal configuration information corresponding to the target installation package type.
Before starting the test program, the user may select whether the package needs to be installed, as shown in fig. 22, if the package needs to be installed, the server obtains the pre-configured installation information, obtains the target installation package according to the installation package type and the installation package storage path in the installation information, and then installs the target installation package.
In one embodiment, as shown in FIG. 23, after configuring the installation information, the configuration information is saved and the task of installing the target installation package at regular times is triggered.
In the above embodiment, the target installation package is installed according to the pre-configured installation information. Through the embodiment of the disclosure, the installation package of the test program is provided for the user, and the test program can be automatically installed, so that the test is automatically performed, and the test efficiency is improved.
It should be understood that, although the respective steps in the flowcharts of fig. 2 to 23 are sequentially shown as indicated by arrows, the steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2 to 23 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the steps or stages is not necessarily sequential, but may be performed alternately or alternately with other steps or at least some of the other steps or stages.
In one embodiment, as shown in fig. 24, there is provided a test apparatus comprising:
aprogram starting module 301, configured to start a test program;
a testdata import module 302, configured to import target test data;
alicense loading module 303, configured to load a target license from the test function library according to preconfigured license information;
a testcase selection module 304, configured to select a target test case according to a target test type;
the testcase execution module 305 is configured to execute the target test case to obtain a target test result.
In one embodiment, the apparatus further comprises:
and the mode determining module is used for determining a parameter setting mode, and the parameter setting mode comprises manual setting and configuration file setting.
In one embodiment, the apparatus further comprises:
the parameter setting module is used for setting target test data, a target test type, a target test case and installation information of the installation package according to user operation if the parameter setting mode is manual setting;
the target test type comprises at least one of smoking test, performance test, interface test, stability test, reliability test and host test.
In one embodiment, the apparatus further comprises:
the installation module is used for installing the target installation package according to the configured installation information; the installation information comprises a target installation package type, a target installation package path and modal configuration information corresponding to the target installation package type.
In one embodiment, the apparatus further comprises:
and the test recording module is used for recording a test process screenshot, a process log and a system log in the process of executing the target test case.
In one embodiment, the apparatus further comprises:
and the report generating module is used for generating a test report according to the target test result and storing the test report into the test log library.
For the specific definition of the testing device, reference may be made to the above definition of the testing method, which is not described herein again. The modules in the testing device can be wholly or partially implemented by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as shown in fig. 25. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing test data. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a testing method.
Those skilled in the art will appreciate that the architecture shown in fig. 25 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
starting a test program;
importing target test data;
loading a target license from a test function library according to preset license information;
selecting a target test case according to the target test type;
and executing the target test case to obtain a target test result.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
in one embodiment, the processor, when executing the computer program, further performs the steps of:
and determining a parameter setting mode, wherein the parameter setting mode comprises manual setting and configuration file setting.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
if the parameter setting mode is manual setting, setting target test data, a target test type, a target test case and installation information of the installation package according to user operation;
the target test type comprises at least one of smoking test, performance test, interface test, stability test, reliability test and host test.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
installing a target installation package according to the configured installation information; the installation information comprises a target installation package type, a target installation package path and modal configuration information corresponding to the target installation package type.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
and recording a test process screenshot, a process log and a system log in the process of executing the target test case.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
generating a test report according to the target test result, and storing the test report into a test log library; wherein the test report includes a test log.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
starting a test program;
importing target test data;
loading a target license from a test function library according to preset license information;
selecting a target test case according to the target test type;
and executing the target test case to obtain a target test result.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and determining a parameter setting mode, wherein the parameter setting mode comprises manual setting and configuration file setting.
In one embodiment, the computer program when executed by the processor further performs the steps of:
if the parameter setting mode is manual setting, setting target test data, a target test type, a target test case and installation information of the installation package according to user operation;
the target test type comprises at least one of smoking test, performance test, interface test, stability test, reliability test and host test.
In one embodiment, the computer program when executed by the processor further performs the steps of:
installing a target installation package according to the configured installation information; the installation information comprises a target installation package type, a target installation package path and modal configuration information corresponding to the target installation package type.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and recording a test process screenshot, a process log and a system log in the process of executing the target test case.
In one embodiment, the computer program when executed by the processor further performs the steps of:
generating a test report according to the target test result, and storing the test report into a test log library; wherein the test report includes a test log.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.