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

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.

Active Publication Date: 2020-09-08
GIGADEVICE SEMICON (BEIJING) INC
View PDF13 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, in the process of studying the above-mentioned technical solutions, it is found that the above-mentioned technical solutions have the following defects: when performing a reading function test on the test equipment, in order to ensure the accuracy of the test, it is often necessary to read and write a large amount of data for a long time, However, the above technical solution stores the data to be written in other storage areas, which will cause a large occupation of the storage area and consume a lot of resources.

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
  • A kind of test method and device
  • A kind of test method and device
  • A kind of test method and device

Examples

Experimental program
Comparison scheme
Effect test

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

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 embodiments of the invention provide a test method and a test device. The method comprises the following steps: when test data is written in a first memory device, setting backup data corresponding to the test data in a second memory device, wherein the backup data is acquired by mapping and converting the test data, and the memory space occupied by the backup data is less than the memory space occupied by the test data; reading the backup data from the second memory device, and mapping and converting the read backup data to acquire target comparison data; reading the test data from the first memory device, and performing a comparison test on the read test data and the read target comparison data; and according to the result of the comparison test, determining the test result of the first memory device. In the embodiments provided by the invention, as the backup data occupying less memory space is set in the second memory device, compared with the prior art, the integrated test data is stored in the second memory device, the space occupied by the second memory device can be effectively reduced.

Description

technical field [0001] The invention relates to the technical field of testing, in particular to a testing method and device. Background technique [0002] When testing a storage device, it is often necessary to perform a reading comparison test on the data written into the storage device. By comparing whether the written data is the same as the read data, it is judged whether the read-write function of the storage device is normal. [0003] In the prior art, when performing a read comparison test, usually while writing data to the test device, the data to be written is stored in other storage areas as backup data, so that after reading the data from the storage device, it can be Compare the stored backup data with the read data to test the read and write functions of the storage device. [0004] However, in the process of studying the above-mentioned technical solutions, it is found that the above-mentioned technical solutions have the following defects: when performing a ...

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 Patents(China)
IPC IPC(8): G11C29/56
CPCG11C29/56
Inventor 檀华丽
Owner GIGADEVICE SEMICON (BEIJING) INC