[go: up one dir, main page]

CN110010163B - Disk data retention capability test method and related device - Google Patents

Disk data retention capability test method and related device Download PDF

Info

Publication number
CN110010163B
CN110010163B CN201910304980.7A CN201910304980A CN110010163B CN 110010163 B CN110010163 B CN 110010163B CN 201910304980 A CN201910304980 A CN 201910304980A CN 110010163 B CN110010163 B CN 110010163B
Authority
CN
China
Prior art keywords
disk
preset
temperature range
test sample
preset temperature
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910304980.7A
Other languages
Chinese (zh)
Other versions
CN110010163A (en
Inventor
王朋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN201910304980.7A priority Critical patent/CN110010163B/en
Publication of CN110010163A publication Critical patent/CN110010163A/en
Application granted granted Critical
Publication of CN110010163B publication Critical patent/CN110010163B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/18Error detection or correction; Testing, e.g. of drop-outs
    • G11B20/1816Testing

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Recording Or Reproducing By Magnetic Means (AREA)

Abstract

本发明公开了一种磁盘数据保持能力测试方法、系统、装置及计算机可读存储介质,对第一预设温度范围内的第一测试样本进行不间断测试,是其P/E达到100%,再对该第一测试样本在第二预设温度范围内进行全盘校验写操作得到第一待校验磁盘,通过对常温下放至第一预设时间的第一待校验磁盘进行写校验来确定发生数据丢失的第一失效磁盘数,并以此判断第一测试样本对应的所有待测磁盘的数据保存能力是否合格。可见,在本方案中,对测试样本进行测试之前需要在不同温度进行不同的测试操作,从而使测试样本更接近真实的数据保存期范围内最大消耗状态的磁盘,从而可以对磁盘进行数据保持能力的测试,且测试结果也更加准确。

Figure 201910304980

The invention discloses a method, a system, a device and a computer-readable storage medium for testing the data retention capability of a magnetic disk. The uninterrupted test is performed on a first test sample within a first preset temperature range, and the P/E reaches 100%. Then perform a full-disk verification write operation on the first test sample within a second preset temperature range to obtain a first disk to be verified, and perform write verification on the first disk to be verified that has been lowered to a normal temperature for a first preset time. to determine the number of the first failed disks with data loss, and use this to determine whether the data storage capabilities of all the disks to be tested corresponding to the first test sample are qualified. It can be seen that in this solution, different test operations at different temperatures are required before the test sample is tested, so that the test sample is closer to the disk in the maximum consumption state within the real data storage period, so that the data retention capability of the disk can be improved. test, and the test results are more accurate.

Figure 201910304980

Description

Disk data retention capability test method and related device
Technical Field
The present invention relates to the field of disk technologies, and in particular, to a method, a system, an apparatus, and a computer-readable storage medium for testing disk data retention capability.
Background
NAND flash is a better storage device than hard drives and will perform well in low-capacity applications not exceeding 4 GB. NAND has proven to be very attractive as people continue to pursue products with lower power consumption, lighter weight, and better performance. NAND flash memory is a non-volatile storage technology that retains data after power is removed. The development aim of the method is to reduce the storage cost per bit and improve the storage capacity.
Due to the nature of the medium of NAND flash memory itself, charge can leak over time, eventually leading to data errors or failure to be read properly.
The floating gate transistor is a NAND basic unit, the uppermost part of the structure of the floating gate transistor is a control layer, the middle part of the structure is a floating gate layer, and a polycrystalline silicon oxide layer is arranged on the floating gate. When the control voltage is very high, quantum tunneling effect can be generated, electrons start from the substrate, penetrate through the tunnel oxide layer, enter the floating gate and are stored, and then the writing operation is completed. Conversely, when a strong negative voltage is applied to the control layer, electrons are quantum tunneled from the floating gate back to the substrate, an operation called erase. However, when no voltage is applied to the control layer, an electric field, called intrinsic field, is still generated in the oxide layer, which is generated by electrons in the floating gate. Under the action of the electric field, electrons can slowly leak from the floating gate, and when the leakage amount is large, data errors can occur. From a write operation to an electronic leak until data corruption occurs, this term is called a data retention period, which embodies the data retention capability of the disk, i.e. the ability to not lose data, and the detection of the data retention capability is important for the reliability of the disk usage.
Therefore, how to accurately test the disk data retention capability is a problem to be solved by those skilled in the art.
Disclosure of Invention
The invention aims to provide a method, a system and a device for testing the data retention capacity of a disk and a computer readable storage medium, so as to solve the problem of how to accurately test the data retention capacity of the disk.
In order to achieve the above purpose, the embodiment of the present invention provides the following technical solutions:
a disk data retention capability test method comprises the following steps:
determining a first test sample in a disk to be tested, and carrying out uninterrupted load test on the first test sample within a first preset temperature range to enable the P/E value of the first test sample to reach 100%;
performing full-disk verification write operation on the first test sample with the P/E value reaching 100% in a second preset temperature range to obtain a first disk to be verified; the minimum value of the second preset temperature range is greater than the maximum value of the first preset temperature range, and the difference value is a first preset value;
performing write verification operation on the first disk to be verified which is placed at normal temperature for a first preset time, and determining the number of first failed disks with data loss;
and determining whether the data storage capacity of the disk to be tested is qualified or not by using the first failure disk number and a preset disk failure rate.
Wherein the first preset range is less than or equal to 25 ℃; the second preset temperature range is 40 degrees celsius.
Wherein the first preset time is greater than or equal to 50 h.
Before determining whether the data storage capacity of the disk to be tested is qualified by using the first failure disk number and a preset disk failure rate, the method further includes:
determining a second test sample in the magnetic disk to be tested, and carrying out uninterrupted load test on the second test sample within a third preset temperature range to enable the P/E value of the second test sample to reach 100%; the minimum value of the third preset temperature range is greater than the maximum value of the first preset temperature range, the difference value is a second preset value, and the second preset value is greater than the first preset value;
performing full-disk verification write operation on the second test sample with the P/E value reaching 100% in the second preset temperature range to obtain a second magnetic disk to be verified;
performing write verification operation on the second disk to be verified which is placed in a fourth preset temperature range for a second preset time, and determining the number of second failed disks with data loss; wherein the minimum value of the fourth preset temperature range is greater than the minimum value of the third preset temperature range;
determining whether the disk to be tested is qualified or not by using the first failure disk number and a preset disk failure rate, including:
and determining whether the data storage capacity of the disk to be tested is qualified or not by using the first failure disk number, the second failure disk number and the preset disk failure rate.
The third preset temperature range is between 60 ℃ and 74 ℃, and comprises 60 ℃ and 74 ℃; the fourth predetermined temperature range is greater than or equal to 66 degrees celsius.
Wherein the second preset time is a time greater than or equal to 4 days.
Wherein the uninterrupted load test comprises:
JESD219workload is run with load generation software.
In order to achieve the above object, the present application further provides a disk data retention capability test system, including:
the low-temperature load testing module is used for determining a first test sample in a disk to be tested, and carrying out uninterrupted load testing on the first test sample within a first preset temperature range to enable the P/E value of the first test sample to reach 100%;
the low-temperature verification writing module is used for performing full-disk verification writing operation on the first test sample with the P/E value reaching 100% in a second preset temperature range to obtain a first magnetic disk to be verified; the minimum value of the second preset temperature range is greater than the maximum value of the first preset temperature range, and the difference value is a first preset value;
the low-temperature write-check module is used for performing write-check operation on the first disk to be checked which is placed at normal temperature for a first preset time, and determining the number of first failed disks with data loss;
and the failure rate testing module is used for determining whether the data storage capacity of the disk to be tested is qualified or not by using the first failure disk number and the preset disk failure rate.
In order to achieve the above object, the present application also provides a disk data retention capability test apparatus, including:
a memory for storing a computer program;
and the processor is used for realizing the steps of the disk data retention capacity testing method when executing the computer program.
To achieve the above object, the present application also provides a computer-readable storage medium having a computer program stored thereon, where the computer program, when executed by a processor, implements the steps of the disk data retention capability test method as described above.
According to the scheme, the method for testing the data retention capacity of the disk, provided by the invention, comprises the following steps: determining a first test sample in a disk to be tested, and carrying out uninterrupted load test on the first test sample within a first preset temperature range to enable the P/E value of the first test sample to reach 100%; performing full-disk verification write operation on the first test sample with the P/E value reaching 100% in a second preset temperature range to obtain a first disk to be verified; the minimum value of the second preset temperature range is greater than the maximum value of the first preset temperature range, and the difference value is a first preset value; performing write verification operation on the first disk to be verified which is placed at normal temperature for a first preset time, and determining the number of first failed disks with data loss; and determining whether the data storage capacity of the disk to be tested is qualified or not by using the first failure disk number and a preset disk failure rate.
Therefore, according to the disk data retention capacity testing method provided by the application, a first test sample in a first preset temperature range is subjected to uninterrupted testing, if the P/E reaches 100%, then the first test sample is subjected to full disk verification writing operation in a second preset temperature range to obtain a first disk to be verified, the number of first failed disks with data loss is determined by performing write verification on the first disk to be verified which is placed at normal temperature for a first preset time, and whether the data retention capacity of all disks to be tested corresponding to the first test sample is qualified is judged according to the number of the first failed disks with data loss. Therefore, in the scheme, different test operations need to be performed at different temperatures before the test sample is tested, so that the test sample is closer to the disk in the maximum consumption state in the real data retention period range, the data retention capability of the disk can be tested, and the test result is more accurate. The application also provides a system and a device for testing the disk data retention capacity and a computer readable storage medium, and the technical effects can be realized.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow chart of a method for testing data retention capability of a disk according to an embodiment of the present invention;
FIG. 2 is a flowchart of a specific method for testing data retention capability of a disk according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a disk data retention capability test system according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention discloses a method, a system and a device for testing the data retention capacity of a disk and a computer readable storage medium, which aim to solve the problem of how to accurately test the data retention capacity of the disk.
Referring to fig. 1, a method for testing data retention capability of a disk according to an embodiment of the present invention specifically includes:
s101, determining a first test sample in a magnetic disk to be tested, and carrying out uninterrupted load test on the first test sample within a first preset temperature range to enable the P/E value of the first test sample to reach 100%.
Whether the data retention capability of the disks in the same batch is qualified or not needs to be tested, and whether a data loss problem occurs in a NAND (NAND flash memory) of the disks in a corresponding data retention period range or not needs to be detected. In order to shorten the test period, in the scheme, the test is not performed after the disk is naturally used to the time corresponding to the data retention period, but the disk is subjected to testability consumption under a specific environment, so that the disk is subjected to maximum consumption degree in the truest data retention period range in advance, and then the test of the data loss rate is performed.
Firstly, a first test sample is determined in a magnetic disk to be tested, and then the first test sample is placed in a first preset temperature range. It should be noted that the first test sample may be plural. And carrying out uninterrupted load test on the first test sample to enable the P/E value to reach 100%, wherein the P/E is the index of the solid state disk. Meaning how much data is written. It should be noted that the problem of data storage capacity generally occurs after the disk is used for multiple times, and the problem of data storage capacity does not occur in the new disk basically.
S102, performing full-disk verification write operation on the first test sample with the P/E value reaching 100% in a second preset temperature range to obtain a first disk to be verified; the minimum value of the second preset temperature range is larger than the maximum value of the first preset temperature range, and the difference value is a first preset value.
And after the P/E values of all the first test samples reach 100%, performing verification writing operation on all the first test samples. That is, data for verifying whether data is lost is written to the first test sample full disk.
It should be noted that, the verifying write operation is to write data into the disk first, then read the written data in the subsequent write operation verifying process, and determine whether the read data is consistent with the written data, if so, it indicates that no data is lost, otherwise, it indicates that data is lost. It should be noted that the verify write operation is referred to as a "write" operation, and the write verify operation is referred to as a "verify" operation.
Generally, when verifying writing, it is necessary to write data to the disk on one hand, and to record what the data written to the disk is on the other hand, so as to verify the data. In a specific operation example of checking write, MD5 values of data written to a disk may be recorded, and then, when a write-checking operation is performed at a later stage, MD5 values of the read data are calculated, and whether the two MD5 values are the same or not is determined, and if the two MD5 values are the same, it is determined that the data is not lost, otherwise, it is determined that the data is lost, thereby determining whether the data is lost or not. It is understood that, in addition to the MD5 value, other calculation results of the encryption algorithm may be selected as the basis for verification, and this scheme is not particularly limited.
S103, performing write verification operation on the first disk to be verified which is placed at normal temperature for a first preset time, and determining the number of first failed disks with data loss.
Specifically, after the first disk to be tested is placed at normal temperature for a first preset time, a write check operation is performed on the first disk to be tested, that is, whether data loss occurs or not is determined, and the number of disks with data loss in the first test sample is determined as the number of first failed disks.
And S104, determining whether the data storage capacity of the disk to be tested is qualified or not by using the first failure disk number and a preset disk failure rate.
In the scheme, the failure rate of the disk is preset, if the proportion of the failed disk to the total number of samples in the test samples is within the range of the failure rate of the preset disk, the data storage capacity of the disk to be tested is considered to be qualified, and if not, the data storage capacity of the disk to be tested is not qualified.
The first preset temperature range, the second preset temperature range and the first preset time can be determined according to the data retention period of the disk and the optimal temperature of the NAND data storage capacity, so that the disk can reach the maximum consumption degree in the data retention period as soon as possible according to different temperatures.
The data retention period of the current magnetic disk is generally 3 months, the optimal temperature of the data storage capacity of the NAND is T < 25 ℃, and T is the temperature. In a particular embodiment, the first predetermined range is less than or equal to 25 degrees celsius; the second preset temperature range is 40 degrees celsius.
In another specific embodiment said first predetermined time is a time greater than or equal to 50 h.
Therefore, according to the method for testing the data retention capacity of the magnetic disk, a first test sample in a first preset temperature range is subjected to uninterrupted test, if the P/E reaches 100%, the first test sample is subjected to full disk verification writing operation in a second preset temperature range to obtain a first disk to be verified, the number of first failed disks with data loss is determined by performing write verification on the first disk to be verified which is placed at normal temperature for a first preset time, and whether the data retention capacity of all disks to be tested corresponding to the first test sample is qualified is judged. Therefore, in the scheme, different test operations need to be performed at different temperatures before the test sample is tested, so that the test sample is closer to the disk in the maximum consumption state in the real data retention period range, the data retention capability of the disk can be tested, and the test result is more accurate.
A specific method for testing the data retention capability of the magnetic disk provided in the embodiments of the present application is described below, and a method for testing the data retention capability of the magnetic disk described below and the embodiments described above may be referred to each other.
Referring to fig. 2, a specific method for testing data retention capability of a magnetic disk provided in the embodiment of the present application specifically includes:
s201, determining a first test sample in a magnetic disk to be tested, and carrying out uninterrupted load test on the first test sample within a first preset temperature range to enable the P/E value of the first test sample to reach 100%.
S202, performing full-disk verification write operation on the first test sample with the P/E value reaching 100% in a second preset temperature range to obtain a first disk to be verified; the minimum value of the second preset temperature range is greater than the maximum value of the first preset temperature range, and the difference value is a first preset value;
s203, performing write verification operation on the first disk to be verified which is placed at normal temperature for a first preset time, and determining the number of first failed disks with data loss.
S204, determining a second test sample in the magnetic disk to be tested, and carrying out uninterrupted load test on the second test sample within a third preset temperature range to enable the P/E value of the second test sample to reach 100%; the minimum value of the third preset temperature range is greater than the maximum value of the first preset temperature range, the difference value is a second preset value, and the second preset value is greater than the first preset value.
In the scheme, in order to enable the test result to be more comprehensive and real, on the basis of the first test sample, a part of samples are selected as second test samples to be tested at a higher temperature.
Specifically, a second test sample is determined in the disk to be tested, and the second test sample is subjected to the uninterrupted load test within a third preset temperature range, and the specific content of the uninterrupted load test is the same as that in the above embodiment, and is not repeated in this scheme.
In a specific embodiment, the uninterrupted load test comprises: JESD219workload is run with load generation software. The JESD organization is a global standard-making organization related to solid-state technology, has high authority in the industry, and therefore preferably selects JESD219workload to carry out load test.
It should be noted that the minimum value of the third preset temperature range is greater than the maximum value of the first preset temperature range, that is, the load testing environment temperature of the second test sample is higher than that of the first test sample. The difference is a second predetermined value, which is greater than the first predetermined value, that is, the minimum value of the third predetermined temperature range is greater than the minimum value of the second predetermined temperature range for the verify write operation in the above embodiment.
S205, performing full disk verification write operation on the second test sample with the P/E value reaching 100% in the second preset temperature range to obtain a second magnetic disk to be verified.
In the scheme, firstly, the second test sample with the P/E value reaching 100% is subjected to full-disk verification writing operation within a second preset temperature range, and a second magnetic disk to be verified is obtained.
S206, performing write verification operation on the second disk to be verified placed in a fourth preset temperature range for a second preset time, and determining the number of second failed disks with data loss; wherein the minimum value of the fourth preset temperature range is greater than the minimum value of the third preset temperature range.
Firstly, the second disk to be verified is placed in a fourth preset temperature range for a second preset time, and write verification operation is carried out on the second disk to be verified, so that the number of second failed disks sent by a second test sample is determined.
And S207, determining whether the data storage capacity of the disk to be tested is qualified or not by using the first failure disk number, the second failure disk number and the preset disk failure rate.
In the scheme, whether the data storage capacity of the disk to be tested is qualified or not can be tested more comprehensively by utilizing the first number of failed disks and the second number of failed disks.
The data retention period of the current magnetic disk is generally 3 months, the optimal temperature of the data storage capacity of the NAND is T < 25 ℃, and T is the temperature. For such a magnetic disk, in a specific embodiment, the third predetermined temperature range is between 60 degrees celsius and 74 degrees celsius, including 60 degrees celsius and 74 degrees celsius; the fourth predetermined temperature range is greater than or equal to 66 degrees celsius.
In another specific embodiment said second predetermined period of time is a period greater than or equal to 4 days.
A specific method for testing data retention capability of a magnetic disk provided in an embodiment of the present application is described below, where the specific method for testing data retention capability of a magnetic disk described below specifically includes:
firstly, the test sample of the magnetic disk to be tested is 100 disks, 50% of the magnetic disks in the test sample are determined to be used as a first test sample, and 50% of the magnetic disks in the test sample are determined to be used as a second test sample.
And secondly, running JESD219workload through load generation software to continuously test the first test sample until the P/E value of the first test sample is written to 100%.
And thirdly, performing full-disk verification writing on the first test sample subjected to the second step at 40 ℃ by using a tool.
And fourthly, placing the first test sample subjected to the third step for more than or equal to 50h at the temperature of 10 ℃ and T & ltSUB & gt 30 ℃ for testing.
And fifthly, continuously testing the second test sample by running JESD219workload through load generation software under the condition that the temperature is 60 ℃ and T is 74 ℃ until the P/E value of the second test sample is written to 100%.
And sixthly, performing full-disk verification writing on the second test sample subjected to the fifth step by using a tool at 40 ℃.
And a seventh step of leaving the second test specimen subjected to the sixth step at a temperature T > -66 ℃ for 4 days or more.
Eighthly, determining the number of the disks with data loss in the first test sample after the fourth step; and determining the number of the magnetic disks with data loss in the second test sample after the seventh step.
And ninthly, determining whether the total number of the disks with data loss is greater than or preset to be 1, if so, determining that the data storage capacity of the disk to be tested corresponding to the test sample is unqualified, otherwise, determining that the data storage capacity of the disk to be tested is qualified.
In the following, a description is given of a disk data retention capability test system provided in an embodiment of the present application, and a disk data retention capability test system described below may be referred to any of the above embodiments.
Referring to fig. 3, a disk data retention capability test system provided in the embodiment of the present application specifically includes:
the low-temperature load testing module 301 is configured to determine a first test sample in a disk to be tested, and perform an uninterrupted load test on the first test sample within a first preset temperature range, so that the P/E values of the first test sample all reach 100%.
The low-temperature verification writing module 302 is configured to perform full-disk verification writing on the first test sample with the P/E value reaching 100% in a second preset temperature range to obtain a first to-be-verified magnetic disk; the minimum value of the second preset temperature range is larger than the maximum value of the first preset temperature range, and the difference value is a first preset value.
And the low-temperature write-check module 303 is configured to perform write-check operation on the first disk to be checked, which is placed at normal temperature for a first preset time, and determine the number of first failed disks with data loss.
And a failure rate testing module 304, configured to determine whether the data storage capacity of the disk to be tested is qualified by using the first number of failed disks and a preset disk failure rate.
In a particular embodiment, the first predetermined range is less than or equal to 25 degrees celsius; the second preset temperature range is 40 degrees celsius.
In a specific embodiment, the first preset time is a time greater than or equal to 50 hours.
In a specific embodiment, the system further includes:
the high-temperature load testing module is used for determining a second test sample in the disk to be tested, and carrying out uninterrupted load testing on the second test sample within a third preset temperature range to enable the P/E value of the second test sample to reach 100%; the minimum value of the third preset temperature range is greater than the maximum value of the first preset temperature range, the difference value is a second preset value, and the second preset value is greater than the first preset value;
the high-temperature verification writing module is used for performing full disk verification writing operation on the second test sample with the P/E value reaching 100% in the second preset temperature range to obtain a second magnetic disk to be verified;
the high-temperature write-check module is used for performing write-check operation on the second disk to be checked which is placed in a fourth preset temperature range for a second preset time, and determining the number of second failed disks with data loss; wherein the minimum value of the fourth preset temperature range is greater than the minimum value of the third preset temperature range;
the failure rate testing module 304 is specifically configured to:
and determining whether the data storage capacity of the disk to be tested is qualified or not by using the first failure disk number, the second failure disk number and the preset disk failure rate.
The disk data retention capability test system of this embodiment is used to implement the disk data retention capability test method, and therefore a specific implementation manner in the disk data retention capability test system may be found in the foregoing embodiment portions of the disk data retention capability test method, for example, the low-temperature load test module 301, the low-temperature verification write module 302, the low-temperature write verification module 303, and the failure rate test module 304 are respectively used to implement steps S101, S102, S103, and S104 in the disk data retention capability test method, so that the specific implementation manner thereof may refer to descriptions of corresponding partial embodiments, and details are not described here.
In the following, a description is given of a magnetic disk data retention capability testing apparatus provided in the embodiments of the present application, and a magnetic disk data retention capability testing apparatus described below and any of the embodiments described above may be referred to with each other.
The device for testing the data retention capability of the disk provided by the embodiment of the application specifically comprises:
a memory for storing a computer program;
a processor for implementing the steps of the method for testing data retention capability of a magnetic disk according to any one of the above embodiments when executing the computer program.
Specifically, the memory includes a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and computer-readable instructions, and the internal memory provides an environment for the operating system and the computer-readable instructions in the non-volatile storage medium to run. The processor provides calculation and control capabilities for the disk data retention capability testing device, and can realize the steps provided by any one of the disk data retention capability testing method embodiments.
The present application also provides another computer-readable storage medium having stored thereon a computer program which, when executed by a processor, may implement the steps provided by the above-described embodiments. The storage medium may include: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (9)

1.一种磁盘数据保持能力测试方法,其特征在于,包括:1. a disk data retention capability testing method, is characterized in that, comprises: 在待测磁盘中确定第一测试样本,对第一预设温度范围内的所述第一测试样本进行不间断负载测试,使所述第一测试样本的P/E值均达到100%,使所述第一测试样本提前达到数据保存期范围内最大消耗程度;A first test sample is determined in the disk to be tested, and an uninterrupted load test is performed on the first test sample within the first preset temperature range, so that the P/E value of the first test sample reaches 100%, so that the The first test sample reaches the maximum consumption level within the data storage period in advance; 在第二预设温度范围内对P/E值达到100%的所述第一测试样本进行全盘校验写操作,得到第一待校验磁盘;其中,所述第二预设温度范围的最小值大于所述第一预设温度范围最大值,且差值为第一预设数值;Perform a full disk verification write operation on the first test sample whose P/E value reaches 100% within a second preset temperature range to obtain a first disk to be verified; wherein, the minimum value of the second preset temperature range The value is greater than the maximum value of the first preset temperature range, and the difference is the first preset value; 对在常温下放置第一预设时间的所述第一待校验磁盘进行写校验操作,确定发生数据丢失的第一失效磁盘数;Perform a write verification operation on the first disk to be verified that has been placed at room temperature for a first preset time, to determine the number of first failed disks with data loss; 利用所述第一失效磁盘数与预设磁盘失效率确定所述待测磁盘的数据保存能力是否合格;Using the first number of failed disks and the preset disk failure rate to determine whether the data storage capability of the disk to be tested is qualified; 在NAND的数据存储能力的最佳温度为T<=25℃时,所述第一预设范围为小于或等于25摄氏度;所述第二预设温度范围为40摄氏度。When the optimal temperature of the data storage capability of the NAND is T<=25°C, the first preset temperature range is less than or equal to 25 degrees Celsius; the second preset temperature range is 40 degrees Celsius. 2.根据权利要求1所述的方法,其特征在于,所述第一预设时间为大于或等于50h的时间。2 . The method according to claim 1 , wherein the first preset time is a time greater than or equal to 50 hours. 3 . 3.根据权利要求1所述的方法,其特征在于,所述利用所述第一失效磁盘数与预设磁盘失效率确定所述待测磁盘的数据保存能力是否合格之前,还包括:3. The method according to claim 1, characterized in that, before determining whether the data storage capability of the disk to be tested is qualified by utilizing the number of the first failed disks and a preset disk failure rate, the method further comprises: 在所述待测磁盘中确定第二测试样本,对第三预设温度范围内的所述第二测试样本进行不间断负载测试,使所述第二测试样本的P/E值均达到100%;其中,所述第三预设温度范围的最小值大于所述第一预设温度范围的最大值,且差值为第二预设数值,所述第二预设数值大于所述第一预设数值;A second test sample is determined in the disk to be tested, and an uninterrupted load test is performed on the second test sample within the third preset temperature range, so that the P/E values of the second test sample both reach 100% ; wherein, the minimum value of the third preset temperature range is greater than the maximum value of the first preset temperature range, and the difference is a second preset value, and the second preset value is greater than the first preset value. set value; 在所述第二预设温度范围内对P/E值达到100%的所述第二测试样本进行全盘校验写操作,得到第二待校验磁盘;Perform a full disk verification write operation on the second test sample whose P/E value reaches 100% within the second preset temperature range to obtain a second disk to be verified; 对在第四预设温度范围内放置第二预设时间的所述第二待校验磁盘进行写校验操作,确定发生数据丢失的第二失效磁盘数;其中,所述第四预设温度范围的最小值大于所述第三预设温度范围的最小值;Perform a write verification operation on the second disk to be verified that has been placed within a fourth preset temperature range for a second preset time to determine the number of second failed disks with data loss; wherein the fourth preset temperature The minimum value of the range is greater than the minimum value of the third preset temperature range; 则所述利用所述第一失效磁盘数与预设磁盘失效率确定所述待测磁盘是否合格,包括:Then, determining whether the disk to be tested is qualified by using the number of the first failed disks and the preset disk failure rate includes: 利用所述第一失效磁盘数、所述第二失效磁盘数与所述预设磁盘失效率确定所述待测磁盘的数据保存能力是否合格。Whether the data storage capability of the disk to be tested is qualified is determined by using the first number of failed disks, the second number of failed disks, and the preset disk failure rate. 4.根据权利要求3所述的方法,其特征在于,所述第三预设温度范围为60摄氏度与74摄氏度之间,包括60摄氏度与74摄氏度;所述第四预设温度范围为大于或等于66摄氏度。4. The method according to claim 3, wherein the third preset temperature range is between 60 degrees Celsius and 74 degrees Celsius, including 60 degrees Celsius and 74 degrees Celsius; the fourth preset temperature range is greater than or Equal to 66 degrees Celsius. 5.根据权利要求3所述的方法,其特征在于,所述第二预设时间为大于或等于4天的时间。5. The method according to claim 3, wherein the second preset time is greater than or equal to 4 days. 6.根据权利要求1至5任意一项所述的方法,其特征在于,所述不间断负载测试,包括:6. The method according to any one of claims 1 to 5, wherein the uninterrupted load test comprises: 利用负载生成软件运行JESD219workload。Run the JESD219 workload with the load generation software. 7.一种磁盘数据保持能力测试系统,其特征在于,包括:7. A disk data retention capability testing system, characterized in that, comprising: 低温负载测试模块,用于在待测磁盘中确定第一测试样本,对第一预设温度范围内的所述第一测试样本进行不间断负载测试,使所述第一测试样本的P/E值均达到100%,使所述第一测试样本提前达到数据保存期范围内最大消耗程度;A low-temperature load test module, used to determine a first test sample in the disk to be tested, and perform uninterrupted load test on the first test sample within a first preset temperature range, so that the P/E of the first test sample The values all reach 100%, so that the first test sample can reach the maximum consumption level within the data storage period in advance; 低温校验写模块,用于在第二预设温度范围内对P/E值达到100%的所述第一测试样本进行全盘校验写操作,得到第一待校验磁盘;其中,所述第二预设温度范围的最小值大于所述第一预设温度范围最大值,且差值为第一预设数值;A low temperature verification write module, used for performing a full disk verification write operation on the first test sample whose P/E value reaches 100% within a second preset temperature range to obtain a first disk to be verified; wherein, the The minimum value of the second preset temperature range is greater than the maximum value of the first preset temperature range, and the difference is the first preset value; 低温写校验模块,用于对在常温下放置第一预设时间的所述第一待校验磁盘进行写校验操作,确定发生数据丢失的第一失效磁盘数;a low-temperature write verification module, configured to perform a write verification operation on the first disk to be verified that has been placed at room temperature for a first preset time, and determine the number of first failed disks with data loss; 失效率测试模块,用于利用所述第一失效磁盘数与预设磁盘失效率确定所述待测磁盘的数据保存能力是否合格;a failure rate test module, configured to determine whether the data storage capability of the disk to be tested is qualified by using the first number of failed disks and the preset disk failure rate; 在NAND的数据存储能力的最佳温度为T<=25℃时,所述第一预设范围为小于或等于25摄氏度;所述第二预设温度范围为40摄氏度。When the optimal temperature of the data storage capability of the NAND is T<=25°C, the first preset temperature range is less than or equal to 25 degrees Celsius; the second preset temperature range is 40 degrees Celsius. 8.一种磁盘数据保持能力测试装置,其特征在于,包括:8. A disk data retention capability testing device, characterized in that, comprising: 存储器,用于存储计算机程序;memory for storing computer programs; 处理器,用于执行所述计算机程序时实现如权利要求1至6任一项所述磁盘数据保持能力测试方法的步骤。The processor is configured to implement the steps of the method for testing the data retention capability of a magnetic disk according to any one of claims 1 to 6 when executing the computer program. 9.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至6任一项所述磁盘数据保持能力测试方法的步骤。9. A computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the disk data according to any one of claims 1 to 6 is realized Steps to maintain the aptitude test method.
CN201910304980.7A 2019-04-16 2019-04-16 Disk data retention capability test method and related device Active CN110010163B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910304980.7A CN110010163B (en) 2019-04-16 2019-04-16 Disk data retention capability test method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910304980.7A CN110010163B (en) 2019-04-16 2019-04-16 Disk data retention capability test method and related device

Publications (2)

Publication Number Publication Date
CN110010163A CN110010163A (en) 2019-07-12
CN110010163B true CN110010163B (en) 2021-03-16

Family

ID=67172286

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910304980.7A Active CN110010163B (en) 2019-04-16 2019-04-16 Disk data retention capability test method and related device

Country Status (1)

Country Link
CN (1) CN110010163B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112309490B (en) * 2019-07-26 2024-07-19 第一检测有限公司 Memory testing method
CN113436670B (en) * 2020-03-23 2024-03-26 美商矽成积体电路股份有限公司 Memory detection method and memory detection system
CN113963743A (en) * 2021-10-29 2022-01-21 山东华芯半导体有限公司 SSD data storage capacity detection method
CN114839502B (en) * 2022-07-06 2022-09-23 江苏华存电子科技有限公司 Integrated high-temperature test method and system for semiconductor storage product

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104898982A (en) * 2014-03-03 2015-09-09 群联电子股份有限公司 Data transmission method, memory control circuit unit and memory storage device
CN107886992A (en) * 2017-11-06 2018-04-06 郑州云海信息技术有限公司 A kind of RAID method for detecting health status, system and relevant apparatus

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006139866A (en) * 2004-11-12 2006-06-01 Matsushita Electric Ind Co Ltd Reliability test method for ferroelectric memory device
CN101872649B (en) * 2009-04-27 2013-10-16 复旦大学 Test method of one-time programmable resistance memory
US8892980B2 (en) * 2010-06-15 2014-11-18 Fusion-Io, Inc. Apparatus, system, and method for providing error correction
CN102420017A (en) * 2011-09-28 2012-04-18 上海宏力半导体制造有限公司 Method for detecting memory capacity of memory
CN103093834B (en) * 2013-01-28 2016-11-16 上海华虹宏力半导体制造有限公司 The method for testing reliability of flash memory
US10528276B2 (en) * 2015-10-22 2020-01-07 International Business Machines Corporation Shifting wearout of storage disks
CN108154904A (en) * 2016-12-06 2018-06-12 北京京存技术有限公司 A kind of test method and device of storage chip performance
TWI615849B (en) * 2017-03-16 2018-02-21 宇瞻科技股份有限公司 Control method for improving data retention on non-volatile storage device
CN109375869A (en) * 2018-09-17 2019-02-22 至誉科技(武汉)有限公司 Realize the method and system, storage medium of data reliable read write
CN109346122B (en) * 2018-10-15 2021-01-12 苏州浪潮智能科技有限公司 Method and device for testing performance of solid state disk
CN109545264B (en) * 2018-10-31 2020-10-16 大唐微电子技术有限公司 Wafer level testing method and device for FLASH chip with FLASH memory

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104898982A (en) * 2014-03-03 2015-09-09 群联电子股份有限公司 Data transmission method, memory control circuit unit and memory storage device
CN107886992A (en) * 2017-11-06 2018-04-06 郑州云海信息技术有限公司 A kind of RAID method for detecting health status, system and relevant apparatus

Also Published As

Publication number Publication date
CN110010163A (en) 2019-07-12

Similar Documents

Publication Publication Date Title
CN110010163B (en) Disk data retention capability test method and related device
TWI419308B (en) Semiconductor storage device, nonvolatile semiconductor memory test method, and medium
US7512847B2 (en) Method for estimating and reporting the life expectancy of flash-disk memory
KR101970450B1 (en) System and method for lower page data recovery in a solid state drive
Papandreou et al. Using adaptive read voltage thresholds to enhance the reliability of MLC NAND flash memory systems
JP2008165960A (en) Method for erasing data of nand flash memory device
CN110111835B (en) A kind of NVMe solid-state hard disk IOPS testing method, system and device
US20120210076A1 (en) User device performing data retention operation, storage device and data retention method
Luo Architectural techniques for improving NAND flash memory reliability
CN106227625A (en) The restoration methods of a kind of flash data damaged because of power down and system
CN107817954B (en) NAND Flash storage reliability evaluation method
CN103871480A (en) Memory repair method, memory controller and memory storage device
CN105097050A (en) Memory service life test algorithm
US11984181B2 (en) Systems and methods for evaluating integrity of adjacent sub blocks of data storage apparatuses
US20240338139A1 (en) Wordline leakage test management
CN104934060B (en) Semiconductor storage and Memory Controller
CN117234879A (en) Cold and hot data identification test method and device based on solid state disk
CN105302679A (en) Detection method and system for intelligent terminal storage stability
CN107680632B (en) Method and device for testing service life of solid state disk
CN112732181A (en) Data migration method of SSD and related device
WO2024098936A1 (en) Storage method and apparatus, device, and storage medium
CN109407972A (en) The storage device of correcting data error is carried out using temperature difference equalization methods
JP5483378B1 (en) Flash memory deterioration inspection device, deterioration inspection method, and deterioration inspection program
CN102511040B (en) Method for detecting Nand Flash page and device thereof
US12242734B2 (en) Memory pattern management for improved data retention in memory devices

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant