A kind of test method and device
A test method and technology of a test device, applied in the field of testing, can solve the problems of storage area occupation and resource consumption, and achieve the effect of reducing storage space and space occupation.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0025] refer to figure 1 , showing a flow chart of a testing method, which may specifically include the following steps:
[0026] Step 101: When writing test data to the first storage device, set backup data corresponding to the test data in the second storage device, wherein the backup data is obtained by performing mapping conversion on the test data , the storage space occupied by the backup data is smaller than the storage space occupied by the test data.
[0027] In the embodiment of the present invention, the storage device is a device used to store information. Usually, the information is digitized and then stored using electrical, magnetic or optical media. Before the storage device is officially put into use, it is necessary to Read and write functions are tested.
[0028] In a specific application, the first storage device is a storage device to be tested, and it cannot be determined whether the read and write functions are normal before the test. Specifically, th...
Embodiment 2
[0046] refer to figure 2 , showing a specific flow chart of a test method, which may specifically include the following steps:
[0047] Step 201: When writing a plurality of test data to the first storage device, according to the order in which the plurality of test data are written, the backup data obtained by mapping each of the test data is sequentially set in the second storage device, Wherein, the backup data is obtained by performing mapping conversion on the test data, and the storage space occupied by the backup data is smaller than the storage space occupied by the test data.
[0048] It can be understood that when writing test data to the first storage device, only one test data may be written, and the read and write performance of the first storage device is determined according to the read and write conditions of one test data. However, the method of determining the read-write performance of the first storage device only through the read-write situation of a test...
Embodiment 3
[0069] refer to image 3 , shows a block diagram of a test device, the device may specifically include:
[0070] The backup data setting module 310 is configured to set the backup data corresponding to the test data in the second storage device when writing the test data to the first storage device, wherein the backup data is obtained by modifying the test data After performing the mapping conversion, it is obtained that the storage space occupied by the backup data is smaller than the storage space occupied by the test data.
[0071] The target comparison data obtaining module 320 is configured to read the backup data from the second storage device, and perform mapping transformation on the read backup data to obtain target comparison data.
[0072] The test module 330 is configured to perform a comparison test on the read test data and target comparison data after reading the test data from the first storage device.
[0073] The test result determining module 340 is config...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


