Method and device for testing data integrity protection
A technology for integrity protection and test data, applied in the field of data storage, can solve problems such as high work intensity of testers, random test time points, poor test results, etc., to achieve automated testing, reduce work intensity, and ensure quality.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0021] figure 1 The flow of the method for testing data integrity protection provided by the first embodiment of the present invention is shown, and only the parts related to the embodiment of the present invention are shown for convenience of description.
[0022] The method for testing data integrity protection provided in this embodiment includes:
[0023] Step S101 , according to the application to be tested, set interruption parameters and generate a test script.
[0024] This embodiment can test a variety of different applications. It is enough to set corresponding interruption parameters for different applications, such as interruption start time, step size, and the starting point and end point of re-executing the application after the interruption operation, etc. The step size can be set very small, usually on the order of microseconds (such as 10 microseconds), so it can be considered that the interrupt operation can occur at any time during the execution of the appl...
Embodiment 2
[0030] figure 2 The flow of the method for testing data integrity protection provided by the second embodiment of the present invention is shown, and only the parts related to the embodiment of the present invention are shown for convenience of description.
[0031] The method for testing data integrity protection provided in this embodiment includes:
[0032] Step S201 , according to the application to be tested, set interruption parameters and generate a test script.
[0033] Assuming that the application to be tested is a loading operation in a financial transaction, the interruption parameters include the interruption start time, the step size, and the start point and end point of re-executing the loading operation after the interruption operation. Here, as a specific parameter setting method, the interrupt start time is 100 microseconds, and the step size is 10 microseconds, that is, the first interrupt operation is performed after 100 microseconds from the start of the...
Embodiment 3
[0046] image 3 The structure of the device for testing data integrity protection provided by the third embodiment of the present invention is shown, and only the parts related to the embodiment of the present invention are shown for convenience of description.
[0047] The device for testing data integrity protection provided in this embodiment includes:
[0048] A script generation unit 301, configured to set interrupt parameters and generate a test script according to the application to be tested;
[0049] The script execution unit 302 is used to execute the test script and perform an interruption operation when the interruption time is reached. When the application execution fails and the data records before and after the interruption operation are consistent, the interruption time is gradually fine-tuned to perform the interruption operation until the application execution is successful and the interruption operation is completed. The data records before and after the op...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 