Verification method and device, electronic equipment and storage medium

By verifying the access and output data of the script to be updated, ensuring consistency and accuracy before deployment, the system resolved the fault issues after program updates in the smart home system, and improved the system's security and stability.

CN116149984BActive Publication Date: 2026-06-05GREE ELECTRIC APPLIANCE INC OF ZHUHAI +1

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
GREE ELECTRIC APPLIANCE INC OF ZHUHAI
Filing Date
2022-11-25
Publication Date
2026-06-05

AI Technical Summary

Technical Problem

In smart home systems, online failures or inability to use the system often occur after program updates, and existing technologies are unable to effectively reduce post-deployment failures.

Method used

By acquiring the access and output data of the script to be updated, and using test scripts to process and verify the results, deployment is only carried out after ensuring that consistency and accuracy reach the threshold.

Benefits of technology

This effectively reduces deployment failures after program updates and improves system security and stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116149984B_ABST
    Figure CN116149984B_ABST
Patent Text Reader

Abstract

The application provides a verification method and device, electronic equipment and a storage medium. The method comprises the following steps: obtaining access data of a to-be-updated script and output data corresponding to each access data; processing the access data by using a test script to obtain a processing result corresponding to each access data; and verifying the test script based on the processing result and the output data. The test script can be deployed only after verification, thereby effectively reducing post-deployment failures.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of program update technology, and in particular to a verification method, apparatus, electronic device and storage medium. Background Technology

[0002] With the continuous development of IoT technology, smart homes are becoming increasingly common. User-facing apps are also constantly being updated and optimized. When one or more interfaces are iteratively optimized and the program is redeployed, online failures or inability to use the program after an update often occur. Summary of the Invention

[0003] To address the problems in the aforementioned related technologies, this application provides a verification method, apparatus, electronic device, and storage medium that uses access data to test test scripts. After successful verification, the test scripts can be deployed, thereby effectively reducing post-deployment failures.

[0004] This application provides a verification method, including:

[0005] Obtain the access data of the script to be updated and the output data corresponding to each access data;

[0006] The access data is processed using a test script to obtain the processing results corresponding to each access data.

[0007] The test script is verified based on the processing results and output data corresponding to each access data.

[0008] In some embodiments, the access data includes: the latest access data, and the verification of the test script based on the processing results and output data corresponding to each access data includes:

[0009] If the processing result corresponding to each access data is inconsistent with the output data corresponding to each access data, it is determined that the test script verification fails.

[0010] If the processing result corresponding to each accessed data is consistent with the output result data corresponding to each accessed data, the test script is deemed to have passed verification.

[0011] In some embodiments, the access data includes: maximum access volume data, and the step of processing the access data using the test script to obtain processing results corresponding to each access data includes:

[0012] Determine the access time interval for the maximum access volume data;

[0013] The test script is accessed based on the access time interval to obtain the processing result corresponding to the maximum access volume data.

[0014] In some embodiments, verifying the test script based on the processing results and output data corresponding to each access data includes:

[0015] Compare the processing results corresponding to each accessed data with the output data corresponding to each accessed data to obtain the comparison results;

[0016] The accuracy rate is determined based on the comparison results;

[0017] The test script is validated based on the accuracy rate.

[0018] In some embodiments, validating the test script based on the accuracy includes:

[0019] If the accuracy rate is greater than the accuracy rate threshold, the test script is deemed to have passed verification.

[0020] If the accuracy rate is less than the accuracy rate threshold, the test script verification is deemed unsuccessful.

[0021] In some embodiments, obtaining the access data of the script to be updated and the output data corresponding to each access data includes:

[0022] Obtain the ID information of the access data of the update script;

[0023] Based on the ID information, the access data and the corresponding output data for each access data are obtained using regular expressions.

[0024] In some embodiments, the method further includes:

[0025] During the execution of the script to be updated, the access data of the script to be updated and the output data corresponding to each access data are obtained;

[0026] The access data and the corresponding output data are stored in the database.

[0027] And record the ID information corresponding to the accessed data.

[0028] This application provides a verification device, comprising:

[0029] The acquisition module is used to acquire the access data of the script to be updated and the output data corresponding to each access data.

[0030] The processing module is used to process the access data through test scripts to obtain the processing results corresponding to each access data.

[0031] The verification module is used to verify the test script based on the processing results and output data corresponding to each access data.

[0032] This application provides an electronic device, including a memory and a processor. The memory stores a computer program, which, when executed by the processor, performs any of the verification methods described above.

[0033] This application provides a storage medium storing a computer program that can be executed by one or more processors and can be used to implement any of the verification methods described above.

[0034] This application provides a verification method, apparatus, electronic device, and storage medium that acquires access data of the script to be updated and output data corresponding to each access data; processes the access data using a test script to obtain processing results corresponding to each access data; and verifies the test script based on the processing results and output data. The test script can be deployed only after verification, thereby effectively reducing post-deployment failures. Attached Figure Description

[0035] The present application will be described in more detail below based on embodiments and with reference to the accompanying drawings.

[0036] Figure 1 A schematic diagram illustrating the implementation flow of a verification method provided in an embodiment of this application;

[0037] Figure 2 A schematic diagram illustrating the implementation flow of a verification method provided in an embodiment of this application;

[0038] Figure 3 This is a schematic diagram of the structure of a verification device provided in an embodiment of this application;

[0039] Figure 4 This is a schematic diagram of the composition structure of the electronic device provided in the embodiments of this application.

[0040] In the accompanying drawings, the same parts are referred to by the same reference numerals, and the drawings are not drawn to scale. Detailed Implementation

[0041] To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings. The described embodiments should not be regarded as limitations on this application. All other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0042] In the following description, references are made to “some embodiments,” which describe a subset of all possible embodiments. However, it is understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0043] If the application documents contain similar descriptions such as "first, second, third", the following explanation shall be added: In the following description, the terms "first, second, third" are used only to distinguish similar objects and do not represent a specific order of objects. It is understood that "first, second, third" may be interchanged in a specific order or sequence where permitted, so that the embodiments of this application described herein can be implemented in an order other than that illustrated or described herein.

[0044] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application only and is not intended to limit this application.

[0045] Example 1:

[0046] To address the problems existing in related technologies, this application provides a verification method applied to an electronic device, such as a mobile terminal or computer. The functionality of the verification method provided in this application can be implemented by the processor of the electronic device calling program code, which can be stored in a computer storage medium.

[0047] This application provides a verification method. Figure 1 This is a schematic diagram illustrating the implementation flow of a verification method provided in an embodiment of this application, as shown below. Figure 1 As shown, it includes:

[0048] Step S1: Obtain the access data of the script to be updated and the output data corresponding to each access data.

[0049] In this embodiment of the application, the script to be updated is the script that has been actually deployed online. When it is necessary to update the script to be updated, the test script needs to be verified first. The test script is used to update the script to be updated.

[0050] The access data may include: latest access data and maximum access volume data. In this embodiment, when the script to be updated is running online, the electronic device can collect the access data of the script to be updated and the output data corresponding to each access data during the execution of the script to be updated. In this embodiment, after the access data is sent to the script to be updated, the script to be updated will process the access data to obtain the output data corresponding to each access data. In this embodiment, the electronic device can store the access data of the script to be updated and the output data corresponding to each access data in a database.

[0051] When testing the software, the access data of the script to be updated and the corresponding output data of each access data are retrieved from the database.

[0052] Step S2: The access data is processed using a test script to obtain the processing results corresponding to each access data.

[0053] In this embodiment, the test script is the script to be deployed. Access data can be used to access the test script, allowing the test script to process the access data and obtain the processing results corresponding to each access data.

[0054] Step S3: Verify the test script based on the processing results and output data corresponding to each access data.

[0055] In this embodiment of the application, the security and robustness of the test script can be verified by comparing whether the processing results corresponding to each access data and the output data corresponding to each access data are the same.

[0056] This application provides a verification method that obtains the access data of the script to be updated and the output data corresponding to each access data; processes the access data using a test script to obtain the processing results corresponding to each access data; and verifies the test script based on the processing results and output data. This method can verify the security and robustness of the test script. The test script is only deployed after the verification is passed, thereby effectively reducing post-deployment failures.

[0057] In some embodiments, when the access data is the latest access data, verifying the test script based on the processing results and output data corresponding to each access data may include:

[0058] If the processing result corresponding to each access data is inconsistent with the output data corresponding to each access data, it is determined that the test script verification fails.

[0059] If the processing result corresponding to each accessed data is consistent with the output result data corresponding to each accessed data, the test script is deemed to have passed verification.

[0060] The verification method provided in this application verifies the security of the test script by using the latest access data.

[0061] In some embodiments, the access data includes: maximum access volume data, and step S2 can be implemented through the following steps:

[0062] Step S21: Determine the access time interval for the maximum access volume data.

[0063] In this embodiment of the application, the electronic device records the access time interval while collecting the maximum access volume data.

[0064] Step S22: Access the test script based on the access time interval to obtain the processing result corresponding to the maximum access volume data.

[0065] In this embodiment of the application, in order to make the test more accurate, the test script is accessed based on the access time interval to obtain the processing result corresponding to the maximum access volume data.

[0066] Step S3, verifying the test script based on the processing results and output data corresponding to each access data, can be achieved through the following steps:

[0067] Step S31: Compare the processing results corresponding to each access data with the output data corresponding to each access data to obtain the comparison results.

[0068] In this embodiment of the application, the comparison results include: consistent and inconsistent.

[0069] Step S32: Determine the accuracy rate based on the comparison results.

[0070] In this embodiment of the application, the accuracy can be obtained by taking the number of consistent results as the number of all results.

[0071] Step S33: Verify the test script based on the accuracy rate.

[0072] In this embodiment of the application, if the accuracy rate is greater than the accuracy rate threshold, the test script is determined to have passed verification; if the accuracy rate is less than the accuracy rate threshold, the test script is determined to have failed verification.

[0073] The verification method provided in this application uses maximum access volume data to verify the test script, thereby verifying the stability and robustness of the test script.

[0074] Example 2:

[0075] Based on the foregoing embodiments, this application further provides a verification method. Figure 2 This is a schematic diagram illustrating the implementation flow of another verification method provided in an embodiment of this application, as shown below. Figure 2 As shown, the method includes:

[0076] Step S11: During the execution of the script to be updated, the access data of the script to be updated and the output data corresponding to each access data are obtained.

[0077] In this embodiment, the access data includes: the latest access data and the data with the highest access volume, where the data with the highest access volume is the data with the highest access volume within a unit time period. The access data may include: the request path, request headers, and request body, etc. The data with the highest access volume is recorded by using an array to record the request volume for each time period. Each time a request comes in within a certain time period, the corresponding count is incremented by one. The program uses a scheduled task to iterate through the array to find the time period with the highest access volume.

[0078] Step S12: Store the access data and the corresponding output data in the database.

[0079] Step S13, and record the ID information corresponding to the accessed data.

[0080] In this embodiment of the application, in order not to affect the performance of the system during system processing, only the ID information corresponding to the accessed data is recorded.

[0081] Step S14: Obtain the ID information of the access data of the update script.

[0082] In this embodiment of the application, when it is necessary to test the test script, the ID information of the access data is obtained.

[0083] Step S15: Based on the ID information, obtain the access data and the output data corresponding to each access data using regular expressions.

[0084] In this embodiment of the application, data such as the path, request header, and request body of each request are obtained through regular expressions.

[0085] Step S16: Process the access data using a test script to obtain the processing results corresponding to each access data.

[0086] In this embodiment, the test script is the script to be deployed. Access data can be used to access the test script, allowing the test script to process the access data and obtain the processing results corresponding to each access data.

[0087] Step S17: Verify the test script based on the processing results and output data corresponding to each access data.

[0088] In this embodiment of the application, the security and robustness of the test script can be verified by comparing whether the processing results corresponding to each access data and the output data corresponding to each access data are the same.

[0089] This application provides a verification method that obtains the access data of the script to be updated and the output data corresponding to each access data; processes the access data using a test script to obtain the processing results corresponding to each access data; and verifies the test script based on the processing results and output data. This method can verify the security and robustness of the test script. The test script is only deployed after the verification is passed, thereby effectively reducing post-deployment failures.

[0090] Example 3:

[0091] Based on the foregoing embodiments, this application provides another specific example of a verification method.

[0092] First, it's necessary to collect and organize real-world data from the online environment. This includes the latest access data for each interface (similar to the script to be updated in the above embodiment) and the data for the period with the highest access volume (similar to the maximum access volume data in the above embodiment). The latest access data for each interface can be stored in a database, including the request path, request headers, and request body. However, to avoid impacting system performance, only the latest request ID is recorded when collecting the latest access data for each interface. Later, when testing is needed, the corresponding request data is retrieved from the logs, organized, and stored in a database table. The period with the highest access volume is recorded using an array to track the request volume for each time period. Each time a request comes in within a certain time period, the corresponding count is incremented. The program uses a scheduled task to iterate through the array to find the period with the highest access volume and store it in the database.

[0093] After iterative updates to the project code, data testing is required. Test scripts are executed, which retrieve the latest request IDs and the time periods with the highest access volume from the online database. Using this data, the scripts find the corresponding request records in the log files and extract the path, request headers, and request body for each request using regular expressions. Because the request interface requires signature verification, and signatures are time-sensitive, they need to be regenerated. When testing the latest access data, the results are compared with the stored output data; if they don't match, the verification fails. During load testing, the latest interface is accessed according to the request time intervals from the highest access volume data. The results of each request are compared with the original results, and the accuracy must reach a certain value to pass the test. The system's memory and CPU usage during load testing is also recorded. Only if the test script passes the tests can the system be deployed online.

[0094] Example 4:

[0095] Based on the foregoing embodiments, this application provides a verification device. The modules and units included in the device can be implemented by a processor in a computer device; of course, they can also be implemented by specific logic circuits. In the implementation process, the processor can be a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP), or a field programmable gate array (FPGA), etc.

[0096] This application provides a verification device. Figure 3 This is a schematic diagram of the structure of a verification device provided in an embodiment of this application, as shown below. Figure 3 As shown, the verification device 300 includes:

[0097] The acquisition module 301 is used to acquire the access data of the script to be updated and the output data corresponding to each access data.

[0098] Processing module 302 is used to process the access data through a test script to obtain the processing result corresponding to each access data.

[0099] The verification module 303 is used to verify the test script based on the processing results and output data corresponding to each access data.

[0100] In some embodiments, the access data includes: the latest access data, and the verification of the test script based on the processing results and output data corresponding to each access data includes:

[0101] If the processing result corresponding to each access data is inconsistent with the output data corresponding to each access data, it is determined that the test script verification fails.

[0102] If the processing result corresponding to each accessed data is consistent with the output result data corresponding to each accessed data, the test script is deemed to have passed verification.

[0103] In some embodiments, the access data includes: maximum access volume data, and the step of processing the access data using the test script to obtain processing results corresponding to each access data includes:

[0104] Determine the access time interval for the maximum access volume data;

[0105] The test script is accessed based on the access time interval to obtain the processing result corresponding to the maximum access volume data.

[0106] In some embodiments, verifying the test script based on the processing results and output data corresponding to each access data includes:

[0107] Compare the processing results corresponding to each accessed data with the output data corresponding to each accessed data to obtain the comparison results;

[0108] The accuracy rate is determined based on the comparison results;

[0109] The test script is validated based on the accuracy rate.

[0110] In some embodiments, validating the test script based on the accuracy includes:

[0111] If the accuracy rate is greater than the accuracy rate threshold, the test script is deemed to have passed verification.

[0112] If the accuracy rate is less than the accuracy rate threshold, the test script verification is deemed unsuccessful.

[0113] In some embodiments, obtaining the access data of the script to be updated and the output data corresponding to each access data includes:

[0114] Obtain the ID information of the access data of the update script;

[0115] Based on the ID information, the access data and the corresponding output data for each access data are obtained using regular expressions.

[0116] In some embodiments, the verification device 300 is further configured to:

[0117] During the execution of the script to be updated, the access data of the script to be updated and the output data corresponding to each access data are obtained;

[0118] The access data and the corresponding output data are stored in the database.

[0119] And record the ID information corresponding to the accessed data.

[0120] It should be noted that, in the embodiments of this application, if the above verification method is implemented as a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiments of this application, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), magnetic disks, or optical disks. Thus, the embodiments of this application are not limited to any specific hardware and software combination.

[0121] Accordingly, this application provides a storage medium storing a computer program thereon, characterized in that the computer program, when executed by a processor, implements the steps in the verification method provided in the above embodiments.

[0122] Example 5:

[0123] This application provides an electronic device; Figure 4 This is a schematic diagram of the composition structure of the electronic device provided in the embodiments of this application, such as... Figure 4 As shown, the electronic device 400 includes: a processor 401, at least one communication bus 402, a user interface 403, at least one external communication interface 404, and a memory 405. The communication bus 402 is configured to enable communication between these components. The user interface 403 may include a display screen, and the external communication interface 404 may include standard wired and wireless interfaces. The processor 401 is configured to execute a program of a verification method stored in the memory to implement the steps of the verification method provided in the above embodiment.

[0124] It should be noted that the descriptions of the above storage medium and electronic device embodiments are similar to the descriptions of the above method embodiments, and have similar beneficial effects. For technical details not disclosed in the storage medium and device embodiments of this application, please refer to the descriptions of the method embodiments of this application for understanding.

[0125] It should be understood that the phrase "one embodiment" or "an embodiment" throughout the specification means that a specific feature, structure, or characteristic related to the embodiment is included in at least one embodiment of this application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. Furthermore, these specific features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. It should be understood that in the various embodiments of this application, the sequence numbers of the above-described processes do not imply a sequential order of execution; the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application. The sequence numbers of the above-described embodiments are merely descriptive and do not represent the superiority or inferiority of the embodiments.

[0126] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, object, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, object, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, object, or apparatus that includes that element.

[0127] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods, such as: multiple units or components can be combined, or integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the various components shown or discussed can be through some interfaces, and the indirect coupling or communication connection between devices or units can be electrical, mechanical, or other forms.

[0128] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units. They may be located in one place or distributed across multiple network units. Some or all of the units may be selected to achieve the purpose of this embodiment according to actual needs.

[0129] In addition, each functional unit in the various embodiments of this application can be integrated into one processing unit, or each unit can be a separate unit, or two or more units can be integrated into one unit; the integrated unit can be implemented in hardware or in the form of hardware plus software functional units.

[0130] Those skilled in the art will understand that all or part of the steps of the above method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps of the above method embodiments. The aforementioned storage medium includes various media that can store program code, such as mobile storage devices, read-only memory (ROM), magnetic disks, or optical disks.

[0131] Alternatively, if the integrated units described above are implemented as software functional modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, or the parts that contribute to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a controller to execute all or part of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as mobile storage devices, ROMs, magnetic disks, or optical disks.

[0132] The above description is merely an embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A verification method, characterized in that, The method includes: Obtain access data and corresponding output data collected during the historical execution of the script to be updated; wherein, the access data includes: the latest access data and the maximum access data, and the maximum access data is the data with the largest access volume within a unit time period; The access data is processed using a test script to obtain processing results for each access data point; wherein, the test script is a script to be deployed; when the access data is the maximum access volume data, the process of processing the access data using the test script to obtain processing results for each access data point includes: determining the access time interval of the maximum access volume data; accessing the test script based on the access time interval to obtain the processing result corresponding to the maximum access volume data; The test script is verified based on the processing results and output data corresponding to each access data, including: For the latest access data, if the processing result corresponding to each access data is inconsistent with the output data corresponding to each access data, the test script verification is determined to fail; if the processing result corresponding to each access data is consistent with the output result data corresponding to each access data, the test script verification is determined to pass. For the maximum access volume data, compare the processing results corresponding to each access data with the output data corresponding to each access data to obtain a comparison result, and determine the accuracy based on the comparison result; if the accuracy is greater than the accuracy threshold, determine that the test script verification is passed; if the accuracy is less than the accuracy threshold, determine that the test script verification is failed.

2. The method according to claim 1, characterized in that, The process of obtaining the access data of the script to be updated and the output data corresponding to each access data includes: Obtain the ID information of the access data of the update script; Based on the ID information, the access data and the corresponding output data for each access data are obtained using regular expressions.

3. The method according to claim 2, characterized in that, The method further includes: During the execution of the script to be updated, the access data of the script to be updated and the output data corresponding to each access data are obtained; The access data and the corresponding output data are stored in the database. And record the ID information corresponding to the accessed data.

4. A verification device, characterized in that, include: The acquisition module is used to acquire access data collected during the historical execution of the script to be updated and the output data corresponding to each access data; wherein, the access data includes: the latest access data and the maximum access data, and the maximum access data is the data with the largest access volume within a unit time period; The processing module is used to process the access data through a test script to obtain the processing result corresponding to each access data; wherein, the test script is a script to be deployed; when the access data is the maximum access volume data, the step of processing the access data through the test script to obtain the processing result corresponding to each access data includes: determining the access time interval of the maximum access volume data; accessing the test script based on the access time interval to obtain the processing result corresponding to the maximum access volume data; The verification module is used to verify the test script based on the processing results and output data corresponding to each access data; wherein, the verification module includes a first verification unit and a second verification unit: wherein: The first verification unit is configured to determine that the test script verification fails if the processing result corresponding to each access data is inconsistent with the output data corresponding to each access data, and to determine that the test script verification passes if the processing result corresponding to each access data is consistent with the output result data corresponding to each access data. The second verification unit is used to compare the processing results corresponding to each access data and the output data corresponding to each access data for the maximum access volume data to obtain a comparison result, and determine the accuracy rate based on the comparison result; if the accuracy rate is greater than the accuracy rate threshold, the test script verification is determined to be passed; if the accuracy rate is less than the accuracy rate threshold, the test script verification is determined to be failed.

5. An electronic device, characterized in that, include: A memory and a processor, wherein the memory stores a computer program that, when executed by the processor, performs the verification method as described in any one of claims 1 to 3.

6. A storage medium, characterized in that, The computer program stored in the storage medium can be executed by one or more processors and can be used to implement the verification method as described in any one of claims 1 to 3.