CN109558263B - Method and related device for processing data reading errors of solid state disk - Google Patents

Method and related device for processing data reading errors of solid state disk Download PDF

Info

Publication number
CN109558263B
CN109558263B CN201811463376.0A CN201811463376A CN109558263B CN 109558263 B CN109558263 B CN 109558263B CN 201811463376 A CN201811463376 A CN 201811463376A CN 109558263 B CN109558263 B CN 109558263B
Authority
CN
China
Prior art keywords
error
data block
data
current
reading error
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
CN201811463376.0A
Other languages
Chinese (zh)
Other versions
CN109558263A (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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201811463376.0A priority Critical patent/CN109558263B/en
Publication of CN109558263A publication Critical patent/CN109558263A/en
Application granted granted Critical
Publication of CN109558263B publication Critical patent/CN109558263B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0706Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
    • G06F11/0727Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment in a storage system, e.g. in a DASD or network based storage system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0793Remedial or corrective actions

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The application discloses a method for processing data reading errors of a solid state disk, which comprises the following steps: when a data block in the solid state disk has a read error, judging whether the current read error occurs for the first time; if not, judging whether the difference value between the PE times of the last reading error of the data block and the PE times of the current reading error of the data block is greater than the preset PE times or not; if so, executing reference voltage simulation operation on the data block so as to process data reading errors; if not, the data transfer operation is carried out on the data block so as to process the data reading error. The PE times are used as the basis for judging the error density so as to improve the judgment accuracy, thereby avoiding the performance problem caused by only executing data moving operation on the basis, reducing the error processing time consumption and improving the repair efficiency. The application also discloses a storage device, a device and a computer readable storage medium, which have the beneficial effects.

Description

Method and related device for processing data reading errors of solid state disk
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method, a storage device, an apparatus, and a computer-readable storage medium for processing a data read error of a solid state disk.
Background
With the continuous development of information technology, various storage technologies have emerged. NAND is one of the storage technologies, which is low in cost and is commonly used for large-scale data storage. However, the NAND memory particles have different degrees of memory data errors due to electrical characteristics. Specifically, the probability of occurrence of a read error is high as the number of PE times is larger, the probability of occurrence of an error is higher as the number of read times is higher, and the probability of occurrence of a data read error is higher as the time during which data exists in a fixed position is longer.
In the prior art, when a read error of a solid state disk occurs, the number of times of the error occurrence is generally obtained, whether a countermeasure is taken is determined according to the number of times of the error occurrence, and the countermeasure is generally a data transfer operation, that is, data stored in a NAND is taken out and stored again in a new location, that is, a storage location of old data is updated, so that the error rate of the data can be reduced. However, the hardware performance required for the data moving operation is relatively high, and when only the data block needs to be repaired in the storage device, the data moving operation can be performed only, which consumes a large amount of performance and is not beneficial to the machine.
Therefore, how to more efficiently handle data reading errors of the solid state disk is a key issue of attention of those skilled in the art.
Disclosure of Invention
The application aims to provide a processing method, a storage device, a device and a computer readable storage medium for data reading errors of a solid state disk, wherein when a data reading error occurs, the difference value between the PE times of the last reading error and the PE times of the current reading error is judged, and whether reference voltage simulation or data moving operation is executed is determined according to the judgment result, namely, the PE times are used as the basis for judging the error density, so that the judgment accuracy is improved, the performance problem caused by the fact that only data moving operation can be executed is avoided on the basis, the error processing time is reduced, and the repair efficiency is improved.
In order to solve the above technical problem, the present application provides a method for processing a data reading error of a solid state disk, including:
when a data block in the solid state disk has a read error, judging whether the current read error occurs for the first time;
when the current reading error does not occur for the first time, judging whether the difference value between the PE times of the last reading error of the data block and the PE times of the current reading error is greater than the preset PE times;
when the difference value is greater than the preset PE times, executing reference voltage simulation operation on the data block so as to process the data reading error;
and when the difference is not more than the preset PE times, executing data moving operation on the data block so as to process the data reading error.
Optionally, the method further includes:
and when the current reading error occurs for the first time, recording the information of the current reading error in data block information.
Optionally, when a data block in the solid state disk has a read error, determining whether the current read error occurs for the first time includes:
when a data block in a solid state disk has a read error, acquiring data block information of the data block;
and judging whether the current reading error occurs for the first time according to the data block information.
Optionally, when the current read error does not occur for the first time, determining whether a difference between a PE frequency of a last read error of the data block and the PE frequency of the current read error is greater than a preset PE frequency, including:
when the reading error does not occur for the first time, acquiring the PE times of the last reading error and the PE times of the current reading error from the data block information of the data block;
subtracting the PE times of the last reading error from the PE times of the current reading error to obtain a PE time difference value;
and judging whether the PE frequency difference value is greater than the preset PE frequency.
The present application further provides a storage device, comprising:
the error judgment module is used for judging whether the current reading error occurs for the first time when the data block in the solid state disk has the reading error;
a PE frequency determination module, configured to determine whether a difference between a last PE frequency of the data block in which the error was read and the current PE frequency of the data block in which the error was read is greater than a preset PE frequency when the current read error does not occur for the first time;
a reference voltage simulation module, configured to, when the difference is greater than the preset PE number, perform a reference voltage simulation operation on the data block so as to process the data reading error;
and the data moving module is used for executing data moving operation on the data block when the difference value is not more than the preset PE times so as to process the data reading error.
Optionally, the method further includes:
and the error information recording module is used for recording the information of the current reading error in the data block information when the current reading error occurs for the first time.
Optionally, the error determination module includes:
the data block information acquisition unit is used for acquiring data block information of a data block when the data block in the solid state disk has a read error;
and the first occurrence judging unit is used for judging whether the current reading error occurs for the first time according to the data block information.
Optionally, the PE frequency determining module includes:
a PE frequency obtaining unit, configured to obtain, from data block information of the data block, the number of times of a PE with the last read error and the number of times of a PE with the current read error when the read error does not occur for the first time;
a difference calculating unit, configured to subtract the PE frequency with the current reading error from the PE frequency with the last reading error to obtain a PE frequency difference;
and the difference value judging unit is used for judging whether the PE frequency difference value is greater than the preset PE frequency.
The present application further provides an apparatus comprising:
a memory for storing a computer program;
a processor for implementing the steps of the processing method as described above when executing the computer program.
The present application also provides a computer-readable storage medium having stored thereon a computer program which, when being executed by a processor, carries out the steps of the processing method as described above.
The application provides a method for processing data reading errors of a solid state disk, which comprises the following steps: when a data block in the solid state disk has a read error, judging whether the current read error occurs for the first time; when the current reading error does not occur for the first time, judging whether the difference value between the PE times of the last reading error of the data block and the PE times of the current reading error is greater than the preset PE times; when the difference value is greater than the preset PE times, executing reference voltage simulation operation on the data block so as to process the data reading error; and when the difference is not more than the preset PE times, executing data moving operation on the data block so as to process the data reading error.
When the data block has errors again, whether the difference value between the last error PE frequency and the current error PE frequency of the data block is greater than the preset PE frequency or not is judged, namely the error occurrence density is judged according to the PE frequency, the error occurrence density is larger when the difference value is smaller, and the error occurrence density is smaller when the difference value is larger, so that reference voltage simulation is carried out when the difference value is greater than the preset PE frequency, the error data in the data block is simply repaired, data moving operation is carried out when the difference value is smaller than the preset PE frequency, only one error data repairing operation is avoided, when the PE frequency does not reach the data moving standard, the simple data repairing operation can be carried out, the performance requirement of the data error processing process is reduced, time consumption is reduced, and the efficiency of processing the error data is improved.
The application also provides a storage device, an apparatus and a computer-readable storage medium, which have the above beneficial effects and are not described herein again.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a method for processing a solid state disk data read error according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a storage device according to an embodiment of the present application.
Detailed Description
The core of the application is to provide a processing method, a storage device, a device and a computer readable storage medium for data reading errors of a solid state disk, when a data reading error occurs, a difference value between the PE times of the last reading error and the PE times of the current reading error is judged, whether reference voltage simulation or data moving operation is executed is determined according to a judgment result, namely, the PE times are used as a basis for judging error density, so that the judgment accuracy is improved, on the basis, the performance problem caused by the fact that only data moving operation can be executed is avoided, the error processing time is reduced, and the repair efficiency is improved.
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all 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 application.
In the prior art, when a read error of a solid state disk occurs, the number of times of the error occurrence is generally obtained, whether a countermeasure is taken is determined according to the number of times of the error occurrence, and the countermeasure is generally a data transfer operation, that is, data stored in a NAND is taken out and stored again in a new location, that is, a storage location of old data is updated, so that the error rate of the data can be reduced. However, the hardware performance required for the data moving operation is relatively high, and when only the data block needs to be repaired in the storage device, the data moving operation can be performed only, which consumes a large amount of performance and is not beneficial to the machine.
Therefore, the present application provides a method for processing data read errors of a solid state disk, which determines the density of errors according to whether the difference between the last erroneous PE frequency and the current erroneous PE frequency of a data block is greater than a preset PE frequency, that is, according to the PE frequency when the data block has an error again, and indicates that the density of errors is greater when the difference is smaller and indicates that the density of errors is smaller when the difference is greater, so that reference voltage simulation is performed when the difference is greater than the preset PE frequency, error data in the data block is simply repaired, and data migration operation is performed when the difference is less than the preset PE frequency, thereby avoiding only one erroneous data recovery operation, and when the PE frequency does not reach the data migration standard, simple data recovery operation can be performed, thereby reducing performance requirements of a data error processing process and reducing time consumption, the efficiency of processing the error data is improved.
Referring to fig. 1, fig. 1 is a flowchart illustrating a method for processing a data read error of a solid state disk according to an embodiment of the present disclosure.
In this embodiment, the method may include:
s101, when a data block in the solid state disk has a read error, judging whether the current read error occurs for the first time;
the method comprises the steps of judging whether the current reading error occurs for the first time or not when the data block in the solid state disk has the reading error. Since the main purpose of this embodiment is to determine the density of the occurrence of the read error by the number of times of the PE, the density of the occurrence of the read error can be obtained only from the last information and the current information.
Specifically, in this embodiment, it may be determined whether the current read error occurs for the first time according to the obtained data block information, that is, the metadata information of the data block.
Optionally, this step may further include:
and when the current reading error occurs for the first time, recording the information of the current reading error in the data block information.
The alternative scheme mainly comprises that when the reading error occurs for the first time, the information of the current reading error is recorded in the data block information, so that the data block information can be read for judgment when the reading error occurs subsequently. The information of the current read error includes information such as time, PE times, and error type when the read error occurs.
Optionally, this step may include:
step 1, when a data block in a solid state disk has a read error, acquiring data block information of the data block;
and 2, judging whether the current reading error occurs for the first time according to the data block information.
The optional method mainly describes a method for judging the optional data block, namely judging through data block information of the data block, acquiring the data block information of the data block when a reading error occurs, and determining whether the current reading error occurs for the first time according to whether the reading error information is recorded in the data block information. Whether the current read error occurs for the first time is judged according to the number of times or time of PE related to the read error recorded in the data block information.
S102, when the current reading error does not occur for the first time, judging whether the difference value between the PE times of the last reading error of the data block and the PE times of the current reading error is larger than the preset PE times;
on the basis of S101, in this step, when the current data error does not occur for the first time, it is determined whether a difference between the PE times of the last read error and the current read error is greater than a preset PE time.
And the PE times are the erasing times of the data block. Therefore, the PE times between two read errors are calculated in the step, and compared with the prior art that the time between two read errors is generally calculated, the PE times are used as data for density judgment, and the use rule of the solid state disk can be better met. That is, in general, the usage damage rate of the solid state disk is positively correlated to the PE times of the solid state disk, and the correlation degree between the usage damage rate and the time of the solid state disk is low, so that it can be determined whether the density of the data block with the read error meets the standard through this step.
When the difference between the times of PE twice is greater than the preset times of PE, it indicates that the density of the read errors is low, and it may not be necessary to perform data repair on the data read errors by using a data moving operation. When the difference between the times of PE two times is not greater than the preset PE times, the data block may need to be subjected to data transfer operation.
Optionally, this step may include:
step one, when the current reading error does not occur for the first time, obtaining the PE times of the last reading error and the PE times of the reading error from the data block information of the data block;
step two, subtracting the PE times of the last reading error from the PE times of the current reading error to obtain a PE time difference value;
and step three, judging whether the PE frequency difference value is larger than the preset PE frequency.
This alternative solution mainly explains how to make the decision by the difference of the PE times. Specifically, the PE count data of the last read error and the current read error is obtained from the data block information, and then the PE count of the last read error is subtracted from the PE count of the current read error.
S103, when the difference value is larger than the preset PE times, executing reference voltage simulation operation on the data block so as to process data reading errors;
on the basis of S102, this step aims to perform a reference voltage simulation operation on the data block when the difference of the PE times is greater than the preset PE times, so as to process the data reading error occurring this time.
The reference voltage simulation operation is a fast and low-consumption reading error repair operation, and particularly adjusts and changes the voltage for reading data from the NAND storage medium, so that the data reading capability is improved, and the error rate of data reading can be reduced.
And S104, when the difference value is not more than the preset PE times, executing data moving operation on the data block so as to process data reading errors.
On the basis of step S102, this step aims to indicate that when the difference between the PE times is not greater than the preset PE times, that is, the difference is not greater than the preset PE times, the density of data read errors is large, the error rate is high, and a more effective error recovery means, that is, a data transfer operation, should be performed. Therefore, through the S102 and S104, the data transfer operation is more suitable for the error occurrence condition of the data block, instead of performing the time-consuming and performance-consuming data transfer operation as long as the error rate reaches the standard, a simpler repair operation is used for processing when the error rate is in the middle range, the total read error repair duration is reduced, and the read error repair efficiency is improved.
It should be noted that, in this embodiment, since the error rate is determined by the PE times, so that the accuracy of the error determination is improved, the preset PE times in this embodiment may be set according to an actual situation, may also be set according to the attribute of the solid state disk, and may also be set according to the experience of a technician, which is not specifically limited herein.
In summary, in the embodiment, when a data read error occurs, the difference between the number of the last PE with the read error and the number of the currently-occurring PE with the read error is determined, and it is determined whether to perform the reference voltage simulation or the data shift operation according to the determination result, that is, the number of the PE is used as the basis for determining the error density, so as to improve the accuracy of the determination, thereby avoiding the performance problem caused by only performing the data shift operation, reducing the time consumed by error processing, and improving the repair efficiency.
Based on the foregoing embodiment, the present embodiment provides a more specific method for processing data read errors of a solid state disk.
In the embodiment, whether the data stored in the system is good or bad is judged by timing inspection, and whether the read reference voltage simulation operation or the forced data transfer operation is executed or not is determined by judging the good or bad state of the data. The simulation of the read reference voltage can effectively reduce the error probability of reading data; the forced data moving operation reads out the data stored in the NAND and stores the data in a new position, which is equivalent to replacing the target data from an old data block to a new data block, so that the error rate of the data can be reduced, but the operating system overhead is larger.
The method reads the fixed data pages in all the data blocks within a fixed time such as x hours, and if a data reading error occurs, the data reading error is indicated. And reading information of the data block in the storage and system after an error occurs, wherein the information comprises the PE times, whether the error of the type occurs or not, and the specific information of the PE times is acquired when the error occurs, and the system can select whether to execute a reference voltage simulation operation or a data transfer operation according to the information.
In this embodiment, the method may be as follows:
supposing that the system has n data blocks and the system needs to patrol once within m seconds, the polling interval time between each data block is m/n seconds; the time used by each polling operation is negligible relative to the polling interval, so that the polling time is still m seconds. Therefore, n times of routing inspection can be evenly distributed in a period of m seconds, and performance reduction caused by multiple times of routing inspection and bundling is reduced as much as possible.
Therefore, the inspection process is as follows:
step 1, reading a corresponding data page of the data block; if no error exists, directly executing the step 5; if an error occurs, entering the step 2;
step 2, reading the data block information to judge whether the error occurs in the previous inspection process, and entering step 3 if the error does not occur; if the difference value between the PE times which occur last time and the current PE times is larger than a threshold value k, entering a step 3; if the difference value between the PE times which have occurred and the PE times which have occurred last time and the current PE times is smaller than a threshold value k, entering a step 4;
step 3, triggering NAND reading reference voltage simulation, and executing step 5;
step 4, triggering NAND to force data to move, and executing step 5;
step 5, starting a trigger timer of the next data block, and if block _ num is less than max, then block _ num + +; if block _ num is max, block _ num is 0.
In the embodiment, the data inspection process is dispersed in a longer period, so that the error rate of system data can be reduced, the performance reduction caused by inspection can be effectively reduced, and the robustness of the system can be improved through two operations of reading reference voltage simulation and forcing data to move, so that the robustness of the system can be improved on the basis of improving the performance of the system, and the competitiveness of products is improved.
In the following, a storage device provided by the embodiment of the present application is introduced, and the storage device described below and the method for processing the data reading error of the solid state disk described above may be referred to correspondingly.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a memory device according to an embodiment of the present disclosure.
In this embodiment, the storage device may include:
an error determination module 100, configured to determine whether a read error occurs for the first time when a read error occurs in a data block in a solid state disk;
a PE frequency determining module 200, configured to determine whether a difference between a last read-error PE frequency of the data block and a read-error PE frequency of the data block is greater than a preset PE frequency when the read error does not occur for the first time;
a reference voltage simulation module 300, configured to perform a reference voltage simulation operation on the data block when the difference is greater than the preset PE number, so as to process a data reading error;
the data moving module 400 is configured to perform a data moving operation on the data block when the difference is not greater than the preset PE number, so as to process a data reading error.
Optionally, the storage device may further include:
and the error information recording module is used for recording the information of the read error in the data block information when the read error occurs for the first time.
Optionally, the error determination module 100 includes:
the data block information acquisition unit is used for acquiring data block information of a data block when the data block in the solid state disk has a read error;
and the first occurrence judging unit is used for judging whether the reading error occurs for the first time according to the data block information.
Optionally, the PE frequency determining module 200 may include:
a PE frequency obtaining unit, configured to obtain, from data block information of the data block, a PE frequency of a last read error and a PE frequency of a read error when the read error does not occur for the first time;
the difference calculating unit is used for subtracting the PE times of the last reading error from the PE times of the reading error to obtain a PE time difference;
and the difference value judging unit is used for judging whether the PE frequency difference value is greater than the preset PE frequency.
An embodiment of the present application further provides a device, including:
a memory for storing a computer program;
a processor for implementing the steps of the processing method as described in the above embodiments when executing the computer program.
Embodiments of the present application further provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the processing method according to the above embodiments.
The computer-readable 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 are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The method, the storage device, the apparatus and the computer-readable storage medium for processing the data reading error of the solid state disk provided by the present application are described in detail above. The principles and embodiments of the present application are explained herein using specific examples, which are provided only to help understand the method and the core idea of the present application. It should be noted that, for those skilled in the art, it is possible to make several improvements and modifications to the present application without departing from the principle of the present application, and such improvements and modifications also fall within the scope of the claims of the present application.

Claims (10)

1. A method for processing data reading errors of a solid state disk is characterized by comprising the following steps:
when a data block in the solid state disk has a read error, judging whether the current read error occurs for the first time;
when the current reading error does not occur for the first time, judging whether the difference value between the PE times of the last reading error of the data block and the PE times of the current reading error is greater than the preset PE times;
when the difference value is greater than the preset PE times, executing reference voltage simulation operation on the data block so as to process the data reading error;
and when the difference is not more than the preset PE times, executing data moving operation on the data block so as to process the data reading error.
2. The processing method of claim 1, further comprising:
and when the current reading error occurs for the first time, recording the information of the current reading error in data block information.
3. The processing method of claim 2, wherein when a read error occurs in a data block in the solid state disk, determining whether the current read error occurs for the first time comprises:
when a data block in a solid state disk has a read error, acquiring data block information of the data block;
and judging whether the current reading error occurs for the first time according to the data block information.
4. The processing method according to any one of claims 1 to 3, wherein when the current read error does not occur for the first time, determining whether a difference between the number of PE's with the last read error of the data block and the number of PE's with the current read error is greater than a preset number of PE's includes:
when the current reading error does not occur for the first time, acquiring the PE times of the last reading error and the PE times of the current reading error from the data block information of the data block;
subtracting the PE times of the last reading error from the PE times of the current reading error to obtain a PE time difference value;
and judging whether the PE frequency difference value is greater than the preset PE frequency.
5. A storage device, comprising:
the error judgment module is used for judging whether the current reading error occurs for the first time when the data block in the solid state disk has the reading error;
a PE frequency determination module, configured to determine whether a difference between a last PE frequency of the data block in which the error was read and the current PE frequency of the data block in which the error was read is greater than a preset PE frequency when the current read error does not occur for the first time;
a reference voltage simulation module, configured to, when the difference is greater than the preset PE number, perform a reference voltage simulation operation on the data block so as to process the data reading error;
and the data moving module is used for executing data moving operation on the data block when the difference value is not more than the preset PE times so as to process the data reading error.
6. The storage device of claim 5, further comprising:
and the error information recording module is used for recording the information of the current reading error in the data block information when the current reading error occurs for the first time.
7. The storage device of claim 6, wherein the error determination module comprises:
the data block information acquisition unit is used for acquiring data block information of a data block when the data block in the solid state disk has a read error;
and the first occurrence judging unit is used for judging whether the current reading error occurs for the first time according to the data block information.
8. The storage device according to any one of claims 5 to 7, wherein the PE frequency judging module includes:
a PE frequency obtaining unit, configured to obtain, from data block information of the data block, the number of times of a PE with the last read error and the number of times of a PE with the current read error when the current read error does not occur for the first time;
a difference calculating unit, configured to subtract the PE frequency with the current reading error from the PE frequency with the last reading error to obtain a PE frequency difference;
and the difference value judging unit is used for judging whether the PE frequency difference value is greater than the preset PE frequency.
9. A solid state disk data reading error processing device is characterized by comprising:
a memory for storing a computer program;
a processor for implementing the steps of the processing method of any one of claims 1 to 4 when executing the computer program.
10. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the processing method of one of claims 1 to 4.
CN201811463376.0A 2018-12-03 2018-12-03 Method and related device for processing data reading errors of solid state disk Active CN109558263B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811463376.0A CN109558263B (en) 2018-12-03 2018-12-03 Method and related device for processing data reading errors of solid state disk

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811463376.0A CN109558263B (en) 2018-12-03 2018-12-03 Method and related device for processing data reading errors of solid state disk

Publications (2)

Publication Number Publication Date
CN109558263A CN109558263A (en) 2019-04-02
CN109558263B true CN109558263B (en) 2021-10-29

Family

ID=65868595

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811463376.0A Active CN109558263B (en) 2018-12-03 2018-12-03 Method and related device for processing data reading errors of solid state disk

Country Status (1)

Country Link
CN (1) CN109558263B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109992446A (en) * 2019-04-12 2019-07-09 苏州浪潮智能科技有限公司 A kind of solid state hard disk error correction method and relevant apparatus
CN110209517B (en) * 2019-04-25 2024-01-23 深圳市金泰克半导体有限公司 Solid state disk working method, system, electronic equipment and storage medium
CN111078498A (en) * 2019-12-03 2020-04-28 山东华芯半导体有限公司 Data polling method in SSD
CN111240592B (en) * 2020-01-05 2022-11-15 苏州浪潮智能科技有限公司 Data maintenance method and device for solid state disk

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103092531A (en) * 2013-01-21 2013-05-08 中国科学院苏州纳米技术与纳米仿生研究所 Method for removing solid state storage system read errors
EP2765578A1 (en) * 2013-02-10 2014-08-13 LSI Corporation Retention-drift-history-based non-volatile memory read threshold optimization
CN106547491A (en) * 2016-11-22 2017-03-29 郑州云海信息技术有限公司 The method and system of data-moving in a kind of solid state hard disc
CN106776109A (en) * 2016-12-26 2017-05-31 湖南国科微电子股份有限公司 Solid state hard disc read error detection means and reading can not entangle the detection method of error reason
CN106981314A (en) * 2017-03-10 2017-07-25 记忆科技(深圳)有限公司 A kind of method of the quick error correction of solid state hard disc

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9329948B2 (en) * 2012-09-15 2016-05-03 Seagate Technology Llc Measuring cell damage for wear leveling in a non-volatile memory

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103092531A (en) * 2013-01-21 2013-05-08 中国科学院苏州纳米技术与纳米仿生研究所 Method for removing solid state storage system read errors
EP2765578A1 (en) * 2013-02-10 2014-08-13 LSI Corporation Retention-drift-history-based non-volatile memory read threshold optimization
CN106547491A (en) * 2016-11-22 2017-03-29 郑州云海信息技术有限公司 The method and system of data-moving in a kind of solid state hard disc
CN106776109A (en) * 2016-12-26 2017-05-31 湖南国科微电子股份有限公司 Solid state hard disc read error detection means and reading can not entangle the detection method of error reason
CN106981314A (en) * 2017-03-10 2017-07-25 记忆科技(深圳)有限公司 A kind of method of the quick error correction of solid state hard disc

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"A workload-aware flash translation layer enhancing performance and lifespan of TLC/SLC dual-mode flash memory in embedded systems";Duo Liu等;《Microprocessors and Microsystems》;20170730;第52卷;第343-354页 *
"基于BCH码的NAND Flash纠错算法设计与实现";陈昭林等;《电子测量技术》;20170331;第40卷(第3期);第127-132页 *

Also Published As

Publication number Publication date
CN109558263A (en) 2019-04-02

Similar Documents

Publication Publication Date Title
CN109558263B (en) Method and related device for processing data reading errors of solid state disk
CN110659217B (en) Garbage recycling method, device and equipment for solid state disk and storage medium
CN109508148B (en) Metadata reconstruction method and device and computer readable storage medium
CN107562578B (en) Snapshot creating method, device, equipment and storage medium for stored data
CN109213448B (en) Method, device, equipment and storage medium for erasing and writing data of smart card
CN107992268B (en) Bad block marking method and related device
CN110618974A (en) Data storage method, device, equipment and storage medium
CN109582488A (en) A kind of wrong prevention method and relevant apparatus of solid state hard disk
KR20060054538A (en) Data processing device and method for flash memory
CN108573172B (en) Data checking and storing method and device
CN115686961A (en) Processor testing method and device and electronic equipment
CN104216802A (en) Memory database recovery method and device
CN110688069A (en) Service life prediction method, device and equipment of solid state disk and readable storage medium
CN112732181B (en) Data migration method and related device of SSD
CN105446848A (en) Electronic device data processing performance test method and device
CN105304140A (en) Method and apparatus for testing memory performance of electronic equipment
CN106648969B (en) Method and system for inspecting damaged data in disk
CN116795718A (en) eBPF-based Linux system memory leak detection method and system
CN115828244A (en) Memory leak detection method and device and related equipment
CN110647498A (en) File storage method, device, equipment and computer readable storage medium
CN110737509A (en) Thermal migration processing method and device, storage medium and electronic equipment
CN110597688A (en) Monitoring information acquisition method and system
CN113986618B (en) Cluster brain fracture automatic repair method, system, device and storage medium
CN114356218A (en) Data error correction method, device and medium for Flash memory
CN113625947A (en) Data error correction method, device and equipment and computer readable storage medium

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