Unlock instant, AI-driven research and patent intelligence for your innovation.

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.

Active Publication Date: 2013-07-10
WUHAN TIANYU INFORMATION IND
View PDF5 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In view of the above problems, the purpose of the present invention is to provide a method and device for test data integrity protection, which aims to solve the problem that in the existing test data integrity protection scheme, testers are required to continuously perform abnormal operations on system applications, and test The time points are relatively random, which makes the testers work hard and the technical problems of poor test results

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for testing data integrity protection
  • Method and device for testing data integrity protection
  • Method and device for testing data integrity protection

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention is applicable to the field of data storage and provides a method and a device for testing data integrity protection. The method includes setting interruption parameters and generating test scripts according to the application to be tested, performing the test scripts, performing an interruption operation at interruption time, and performing fine adjustment gradually of the interruption time to perform interruption operations until the performing of the application succeeds and the data recorded before and after the interruption operation are identical when the performing of the application fails and the data recorded before and after the interruption operation are identical. According to the method and the device for testing data integrity protection, the interruption operations to the application are automatically performed at the interruption time, no abnormal operation to the application by a tester is needed, accordingly the working difficultness of the tester is reduced, and the quality of the test is ensured and the automated testing is achieved due to the availability of the automatic fine adjustment of the interruption time.

Description

technical field [0001] The invention belongs to the field of data storage, in particular to a method and device for testing data integrity protection. Background technique [0002] With the continuous promotion and improvement of system applications, especially in the field of data storage, the use of system applications is becoming more and more extensive, and the integrity of system application data processing is also increasingly concerned. [0003] Data integrity protection is a basic feature in data storage. It requires that when the application is interrupted at any time during the processing and execution of the application, the data in the application is complete, and the execution of the application is either completely completed or not executed at all. , It is not allowed to update part of the data, but the other part is not updated or the update is incorrect. In order to avoid the above situation, when developing an application, it is necessary to carry out the co...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36
Inventor 李晓俊杨勋
Owner WUHAN TIANYU INFORMATION IND