Solid state hard disk data error correction method, system and solid state hard disk

By performing bit error and maximum error bit verification in the SSD, and adjusting the error correction check code and bit threshold step, the problem of low error correction efficiency of the SSD is solved, extending the service life and ensuring data stability.

CN118409893BActive Publication Date: 2024-09-27SHENZHEN QUANXING TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410868831.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-01
Publication Date
2024-09-27
Estimated Expiration
2044-07-01

AI Technical Summary

Technical Problem

The error correction efficiency of existing solid-state drives is low, resulting in reduced service life and inability to effectively protect data stability.

Method used

By reading the operating data of the solid-state drive, the bit error and the maximum number of error bits are checked, and the error correction code and the bit threshold step are adjusted to achieve targeted error correction and improve error checking capabilities.

Benefits of technology

It effectively improves the error checking capability of the solid-state drive, extends its service life, and ensures data stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118409893B
    Figure CN118409893B
Patent Text Reader

Abstract

The present invention discloses a solid-state hard disk data error correction method, system and solid-state hard disk, wherein the method comprises: reading the monitored solid-state hard disk operation data; performing error correction verification based on the solid-state hard disk operation data to obtain a verification result, wherein the error correction verification method includes bit error and maximum error bit number; performing data error correction in combination with the verification result, wherein the data error correction includes adjusting the error correction check code and the error correction bit number threshold step length. The present invention can improve the error correction capability, and can perform targeted error correction according to the status of each physical block in the solid-state hard disk, thereby improving the service life of the solid-state hard disk, and can effectively protect the stability of the data in the solid-state hard disk.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer operation technology, and more specifically, to a solid state hard disk data error correction method, system and solid state hard disk. Background Art

[0002] Solid State Disk or Solid State Drive, also known as SSD, is a hard disk made of solid-state electronic storage chip array. Due to its high-speed reading and writing performance and low failure rate, it is gradually replacing mechanical hard disks and becoming a mainstream storage device.

[0003] As the use time of SSD increases, the error rate of the corresponding stored data will gradually increase. In this regard, ECC (Error Correcting Code) memory suitable for SSD error checking and correction can be applied, which specifically applies memory bars that can implement error checking and correction technology (ECC). Generally, it is used in servers and graphic workstations, which will make the entire computer system safer and more stable when working. However, when ECC is applied, there are still problems such as low error correction efficiency and inability to correct errors, which leads to a reduction in the service life of SSDs, which needs to be solved urgently. Summary of the invention

[0004] The purpose of the present invention is to provide a solid-state hard disk data error correction method, system and solid-state hard disk, which can improve the error checking capability and can perform targeted error correction according to the status of each physical block in the solid-state hard disk, thereby increasing the service life of the solid-state hard disk and effectively protecting the stability of data in the solid-state hard disk.

[0005] A first aspect of the present invention provides a solid state hard disk data error correction method, comprising the following steps:

[0006] Read the monitored solid state hard disk operation data;

[0007] Performing an error correction check based on the solid state hard disk operation data to obtain a check result, wherein the error correction check method includes a bit error and a maximum number of error bits;

[0008] Data error correction is performed in combination with the verification result, wherein the data error correction includes adjusting the error correction check code and the error correction bit number threshold step.

[0009] In this solution, the read monitored SSD operation data specifically includes:

[0010] Recognize a read command based on a control command issued by a user;

[0011] identifying a read object and a read phase based on the read command;

[0012] The operation data of the solid state drive is obtained by monitoring the operation of the solid state drive based on the read object and the read phase.

[0013] In this solution, bit error checking is performed based on the solid state drive operation data, specifically including:

[0014] The valid bits in the solid state drive operation data are verified using a preset ECC memory, wherein:

[0015] The bits that are valid for the check operation are not identified by the number of bits;

[0016] Identify the invalid bits of the check run to get the currently invalid bit error bits.

[0017] In this solution, the maximum error bit error correction check is performed based on the solid state hard disk operation data, specifically including:

[0018] Using the ECC memory to extract all bits of invalid check operations in the solid state drive operation data to obtain an invalid quantity value on the current physical block;

[0019] The invalid number value of each physical block is recorded, and the maximum number of error bits is obtained by performing statistics in combination with the physical blocks.

[0020] In this solution, the error correction check code is adjusted in combination with the check result, specifically including:

[0021] Get the number of erase times corresponding to the physical block;

[0022] Calculate and update the error correction strength based on the maximum number of error bits combined with the number of erasures;

[0023] An error correction check code matching the physical block is generated based on the updated error correction strength.

[0024] In this solution, in combination with the verification result, the error correction bit threshold step size specifically includes:

[0025] extracting bit error bits where the check run on each of the physical blocks is invalid;

[0026] Combining the original information area of ​​the physical block with the corresponding bit error bit to obtain a valid information area;

[0027] Bit shifting is performed based on the effective information area to complete bit threshold step length error correction.

[0028] The second aspect of the present invention further provides a solid state drive data error correction system, comprising a memory and a processor, wherein the memory comprises a solid state drive data error correction method program, and when the solid state drive data error correction method program is executed by the processor, the following steps are implemented:

[0029] Read the monitored solid state hard disk operation data;

[0030] Performing an error correction check based on the solid state hard disk operation data to obtain a check result, wherein the error correction check method includes a bit error and a maximum number of error bits;

[0031] Data error correction is performed in combination with the verification result, wherein the data error correction includes adjusting the error correction check code and the error correction bit number threshold step.

[0032] In this solution, the read monitored SSD operation data specifically includes:

[0033] Recognize a read command based on a control command issued by a user;

[0034] identifying a read object and a read phase based on the read command;

[0035] The operation data of the solid state drive is obtained by monitoring the operation of the solid state drive based on the read object and the read phase.

[0036] In this solution, bit error checking is performed based on the solid state drive operation data, specifically including:

[0037] The valid bits in the solid state drive operation data are verified using a preset ECC memory, wherein:

[0038] The bits that are valid for the check operation are not identified by the number of bits;

[0039] Identify the invalid bits of the check run to get the currently invalid bit error bits.

[0040] In this solution, the maximum error bit error correction check is performed based on the solid state hard disk operation data, specifically including:

[0041] Using the ECC memory to extract all bits of invalid check operations in the solid state drive operation data to obtain an invalid quantity value on the current physical block;

[0042] The invalid number value of each physical block is recorded, and the maximum number of error bits is obtained by performing statistics in combination with the physical blocks.

[0043] In this solution, the error correction check code is adjusted in combination with the check result, specifically including:

[0044] Get the number of erase times corresponding to the physical block;

[0045] Calculate and update the error correction strength based on the maximum number of error bits combined with the number of erasures;

[0046] An error correction check code matching the physical block is generated based on the updated error correction strength.

[0047] In this solution, in combination with the verification result, the error correction bit threshold step size specifically includes:

[0048] extracting bit error bits where the check run on each of the physical blocks is invalid;

[0049] Combining the original information area of ​​the physical block with the corresponding bit error bit to obtain a valid information area;

[0050] Bit shifting is performed based on the effective information area to complete bit threshold step length error correction.

[0051] A third aspect of the present invention provides a computer-readable storage medium, which includes a solid-state hard disk data error correction method program of a machine. When the solid-state hard disk data error correction method program is executed by a processor, the steps of a solid-state hard disk data error correction method as described in any one of the above items are implemented.

[0052] The present invention discloses a solid-state hard disk data error correction method, system and solid-state hard disk, which can improve the error checking capability and can perform targeted error correction according to the status of each physical block in the solid-state hard disk, thereby increasing the service life of the solid-state hard disk and effectively protecting the stability of data in the solid-state hard disk. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] Figure 1 A flow chart of a solid state hard disk data error correction method of the present invention is shown;

[0054] Figure 2 A block diagram of a solid state hard disk data error correction system of the present invention is shown. DETAILED DESCRIPTION

[0055] In order to more clearly understand the above-mentioned purpose, features and advantages of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.

[0056] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention may also be implemented in other ways different from those described herein. Therefore, the protection scope of the present invention is not limited to the specific embodiments disclosed below.

[0057] Figure 1 A flow chart of a solid state hard disk data error correction method of the present application is shown.

[0058] like Figure 1 As shown, the present application discloses a solid state hard disk data error correction method, comprising the following steps:

[0059] S102, reading the monitored solid state hard disk operation data;

[0060] S104, performing error correction verification based on the solid state hard disk operation data to obtain a verification result, wherein the error correction verification method includes bit error and maximum number of error bits;

[0061] S106, performing data error correction based on the verification result, wherein the data error correction includes adjusting the error correction check code and the error correction bit number threshold step.

[0062] It should be noted that in this embodiment, when the solid-state hard disk is running, there are problems such as bit failure. Therefore, it is necessary to use ECC to correct errors based on the monitored operating data. Specifically, it is necessary to first read the monitored solid-state hard disk operating data, and then perform error correction based on the solid-state hard disk operating data, such as bit error checking and maximum bit error checking to obtain corresponding verification results, and then perform targeted error correction based on the verification results. Among them, for the result of the bit error check, the corresponding data error correction method includes the error correction bit threshold step, and for the result of the maximum bit error check, the corresponding data error correction method includes an error correction check code. The specific content is described later.

[0063] According to an embodiment of the present invention, the reading of the monitored solid state hard disk operation data specifically includes:

[0064] Recognize a read command based on a control command issued by a user;

[0065] identifying a read object and a read phase based on the read command;

[0066] The operation data of the solid state drive is obtained by monitoring the operation of the solid state drive based on the read object and the read phase.

[0067] It should be noted that, in this embodiment, the read-monitored solid-state hard disk operation data needs to determine the read object and the read stage, wherein the read object and the read stage will be defined by the user. Therefore, it is necessary to identify the read command based on the control command issued by the user, and then identify the read command, and then identify the read object and the read stage based on the read command, wherein, for example, the read object corresponds to an unknown physical block, and the read stage corresponds to the working stage of the current physical block, such as stored and not stored.

[0068] According to an embodiment of the present invention, performing bit error checking based on the solid state drive operation data specifically includes:

[0069] The valid bits in the solid state drive operation data are verified using a preset ECC memory, wherein:

[0070] The bits that are valid for the check operation are not identified by the number of bits;

[0071] Identify the invalid bits of the check run to get the currently invalid bit error bits.

[0072] It should be noted that, in this embodiment, a valid bit check is performed based on ECC combined with the solid-state hard disk operation data, so that the bits in the physical block can be checked for valid values, wherein no bit number recognition is performed on the bits for which the check operation is valid. Since the number of valid bits is too large, no recognition is performed, but instead the bits for which the check operation is invalid are identified to obtain the currently invalid bit error bits. The error amount of the invalid bits is small, and therefore the error bits of the invalid bits can be extracted.

[0073] According to an embodiment of the present invention, performing a maximum error bit error correction check based on the solid state drive operation data specifically includes:

[0074] Using the ECC memory to extract all bits of invalid check operations in the solid state drive operation data to obtain an invalid quantity value on the current physical block;

[0075] The invalid number value of each physical block is recorded, and the maximum number of error bits is obtained by performing statistics in combination with the physical blocks.

[0076] It should be noted that, in this embodiment, the maximum number of error bits defined is specifically the invalid number value in the physical block. Therefore, it is necessary to use the ECC memory to extract all bits in the solid-state hard disk operation data that are invalid to obtain the invalid number value on the current physical block, thereby recording the invalid number value of each physical block in the current solid-state hard disk, and combining the physical blocks for statistics to obtain the maximum number of error bits.

[0077] According to an embodiment of the present invention, adjusting the error correction check code in combination with the check result specifically includes:

[0078] Get the number of erase times corresponding to the physical block;

[0079] Calculate and update the error correction strength based on the maximum number of error bits combined with the number of erasures;

[0080] An error correction check code matching the physical block is generated based on the updated error correction strength.

[0081] It should be noted that, in this embodiment, indicators such as the number of erase times and error bits of the physical block in the solid-state hard disk will affect the service life of the solid-state hard disk and the user experience. Among them, the error correction check code in this embodiment corresponds to adjusting the ECC error correction strength in the solid-state hard disk. When the error correction strength changes, the required length of the ECC error correction check code also changes, that is, the higher the error correction strength requirement, the larger the corresponding error correction check code length. Specifically, the number of erase times corresponding to the physical block is obtained; the error correction strength is updated based on the maximum number of error bits combined with the number of erase times; and an error correction check code matching the physical block is generated based on the updated error correction strength.

[0082] According to an embodiment of the present invention, in combination with the error correction bit threshold step size of the verification result, specifically including:

[0083] extracting bit error bits where the check run on each of the physical blocks is invalid;

[0084] Combining the original information area of ​​the physical block with the corresponding bit error bit to obtain a valid information area;

[0085] Bit shifting is performed based on the effective information area to complete bit threshold step length error correction.

[0086] It should be noted that, in this embodiment, when an invalid bit error occurs, it indicates that the current storage position is invalid, so the position needs to be supplemented, wherein a spare position is reserved in the information area of ​​the solid-state hard disk, therefore, the bit error bits that are invalid for verification operation on each of the physical blocks can be extracted, thereby combining the corresponding bit error bits on the original information area of ​​the physical block to obtain a valid information area, which is different from the spare position, and bit shifting is performed based on the valid information area to complete the bit number threshold step length error correction, wherein the specific shift direction of the bit shift is to shift to the spare position area to supplement the invalid error bit bits.

[0087] Figure 2 A block diagram of a solid state hard disk data error correction system of the present invention is shown.

[0088] like Figure 2 As shown, the present invention discloses a solid state hard disk data error correction system, including a memory and a processor, wherein the memory includes a solid state hard disk data error correction method program, and when the solid state hard disk data error correction method program is executed by the processor, the following steps are implemented:

[0089] Read the monitored solid state hard disk operation data;

[0090] Performing an error correction check based on the solid state hard disk operation data to obtain a check result, wherein the error correction check method includes a bit error and a maximum number of error bits;

[0091] Data error correction is performed in combination with the verification result, wherein the data error correction includes adjusting the error correction check code and the error correction bit number threshold step.

[0092] It should be noted that in this embodiment, when the solid-state hard disk is running, there are problems such as bit failure. Therefore, it is necessary to use ECC to correct errors based on the monitored operating data. Specifically, it is necessary to first read the monitored solid-state hard disk operating data, and then perform error correction based on the solid-state hard disk operating data, such as bit error checking and maximum bit error checking to obtain corresponding verification results, and then perform targeted error correction based on the verification results. Among them, for the result of the bit error check, the corresponding data error correction method includes the error correction bit threshold step, and for the result of the maximum bit error check, the corresponding data error correction method includes an error correction check code. The specific content is described later.

[0093] According to an embodiment of the present invention, the reading of the monitored solid state hard disk operation data specifically includes:

[0094] Recognize a read command based on a control command issued by a user;

[0095] identifying a read object and a read phase based on the read command;

[0096] The operation data of the solid state drive is obtained by monitoring the operation of the solid state drive based on the read object and the read phase.

[0097] It should be noted that, in this embodiment, the read-monitored solid-state hard disk operation data needs to determine the read object and the read stage, wherein the read object and the read stage will be defined by the user. Therefore, it is necessary to identify the read command based on the control command issued by the user, and then identify the read command, and then identify the read object and the read stage based on the read command, wherein, for example, the read object corresponds to an unknown physical block, and the read stage corresponds to the working stage of the current physical block, such as stored and not stored.

[0098] According to an embodiment of the present invention, performing bit error checking based on the solid state drive operation data specifically includes:

[0099] The valid bits in the solid state drive operation data are verified using a preset ECC memory, wherein:

[0100] The bits that are valid for the check operation are not identified by the number of bits;

[0101] Identify the invalid bits of the check run to get the currently invalid bit error bits.

[0102] It should be noted that, in this embodiment, a valid bit check is performed based on ECC combined with the solid-state hard disk operation data, so that the bits in the physical block can be checked for valid values, wherein no bit number recognition is performed on the bits for which the check operation is valid. Since the number of valid bits is too large, no recognition is performed, but instead the bits for which the check operation is invalid are identified to obtain the currently invalid bit error bits. The error amount of the invalid bits is small, and therefore the error bits of the invalid bits can be extracted.

[0103] According to an embodiment of the present invention, performing a maximum error bit error correction check based on the solid state drive operation data specifically includes:

[0104] Using the ECC memory to extract all bits of invalid check operations in the solid state drive operation data to obtain an invalid quantity value on the current physical block;

[0105] The invalid number value of each physical block is recorded, and the maximum number of error bits is obtained by performing statistics in combination with the physical blocks.

[0106] It should be noted that, in this embodiment, the maximum number of error bits defined is specifically the invalid number value in the physical block. Therefore, it is necessary to use the ECC memory to extract all bits in the solid-state hard disk operation data that are invalid to obtain the invalid number value on the current physical block, thereby recording the invalid number value of each physical block in the current solid-state hard disk, and combining the physical blocks for statistics to obtain the maximum number of error bits.

[0107] According to an embodiment of the present invention, adjusting the error correction check code in combination with the check result specifically includes:

[0108] Get the number of erase times corresponding to the physical block;

[0109] Calculate and update the error correction strength based on the maximum number of error bits combined with the number of erasures;

[0110] An error correction check code matching the physical block is generated based on the updated error correction strength.

[0111] It should be noted that, in this embodiment, indicators such as the number of erase times and error bits of the physical block in the solid-state hard disk will affect the service life of the solid-state hard disk and the user experience. Among them, the error correction check code in this embodiment corresponds to adjusting the ECC error correction strength in the solid-state hard disk. When the error correction strength changes, the required length of the ECC error correction check code also changes, that is, the higher the error correction strength requirement, the larger the corresponding error correction check code length. Specifically, the number of erase times corresponding to the physical block is obtained; the error correction strength is updated based on the maximum number of error bits combined with the number of erase times; and an error correction check code matching the physical block is generated based on the updated error correction strength.

[0112] According to an embodiment of the present invention, in combination with the error correction bit threshold step size of the verification result, specifically including:

[0113] extracting bit error bits where the check run on each of the physical blocks is invalid;

[0114] Combining the original information area of ​​the physical block with the corresponding bit error bit to obtain a valid information area;

[0115] Bit shifting is performed based on the effective information area to complete bit threshold step length error correction.

[0116] It should be noted that, in this embodiment, when an invalid bit error occurs, it indicates that the current storage position is invalid, so the position needs to be supplemented, wherein a spare position is reserved in the information area of ​​the solid-state hard disk, therefore, the bit error bits that are invalid for verification operation on each of the physical blocks can be extracted, thereby combining the corresponding bit error bits on the original information area of ​​the physical block to obtain a valid information area, which is different from the spare position, and bit shifting is performed based on the valid information area to complete the bit number threshold step length error correction, wherein the specific shift direction of the bit shift is to shift to the spare position area to supplement the invalid error bit bits.

[0117] A third aspect of the present invention provides a solid-state hard disk, which includes a computer-readable storage medium, and the computer-readable storage medium includes a solid-state hard disk data error correction method program. When the solid-state hard disk data error correction method program is executed by a processor, the steps of a solid-state hard disk data error correction method as described in any one of the above items are implemented.

[0118] The present invention discloses a solid-state hard disk data error correction method, system and solid-state hard disk, which can improve the error checking capability and can perform targeted error correction according to the status of each physical block in the solid-state hard disk, thereby increasing the service life of the solid-state hard disk and effectively protecting the stability of data in the solid-state hard disk.

[0119] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.

[0120] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0121] In addition, all functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0122] A person of ordinary skill in the art can understand that: all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the aforementioned storage medium includes: a mobile storage device, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.

[0123] Alternatively, if the above-mentioned integrated unit of the present invention is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention can be essentially or partly reflected in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, magnetic disks or optical disks.

Claims

1. A method for correcting data errors in a solid state drive, characterized in that: The following steps are involved: Read the monitored solid state hard disk operation data; Performing an error correction check based on the solid state hard disk operation data to obtain a check result, wherein the error correction check method includes a bit error and a maximum number of error bits; Performing data error correction in combination with the verification result, wherein the data error correction includes adjusting the error correction check code and the error correction bit threshold step size; The read monitored SSD operation data specifically includes: Recognize a read command based on a control command issued by a user; identifying a read object and a read phase based on the read command; Based on the read object and the read phase, the operation of the solid state drive is monitored to obtain the operation data of the solid state drive; The bit error checking is performed based on the solid state hard disk operation data, specifically including: The valid bits in the solid state drive operation data are verified using a preset ECC memory, wherein: The bits that are valid for the check operation are not identified by the number of bits; Identify the bit where the check operation is invalid to obtain the currently invalid bit error position; The maximum error bit error correction check is performed based on the solid state hard disk operation data, specifically including: Using the ECC memory to extract all bits of invalid check operations in the solid state drive operation data to obtain an invalid quantity value on the current physical block; Record the invalid number value of each physical block, and obtain the maximum number of error bits by combining the physical blocks for statistics; Adjusting the error correction check code in combination with the check result specifically includes: Get the number of erase times corresponding to the physical block; Calculate and update the error correction strength based on the maximum number of error bits combined with the number of erasures; generating an error correction check code matching the physical block based on the updated error correction strength; Combined with the verification result, the error correction bit threshold step size specifically includes: extracting bit error bits where the check run on each of the physical blocks is invalid; Combining the original information area of ​​the physical block with the corresponding bit error bit to obtain a valid information area; Bit shifting is performed based on the effective information area to complete bit threshold step length error correction.

2. A solid state hard disk data error correction system, characterized in that: The method comprises a memory and a processor, wherein the memory comprises a solid state hard disk data error correction method program, and when the solid state hard disk data error correction method program is executed by the processor, the following steps are implemented: Read the monitored solid state hard disk operation data; Performing an error correction check based on the solid state hard disk operation data to obtain a check result, wherein the error correction check method includes a bit error and a maximum number of error bits; Performing data error correction in combination with the verification result, wherein the data error correction includes adjusting the error correction check code and the error correction bit threshold step size; The read monitored SSD operation data specifically includes: Recognize a read command based on a control command issued by a user; identifying a read object and a read phase based on the read command; Based on the read object and the read phase, the operation of the solid state drive is monitored to obtain the operation data of the solid state drive; The bit error checking is performed based on the solid state hard disk operation data, specifically including: The valid bits in the solid state drive operation data are verified using a preset ECC memory, wherein: The bits that are valid for the check operation are not identified by the number of bits; Identify the bit where the check operation is invalid to obtain the currently invalid bit error position; The maximum error bit error correction check is performed based on the solid state hard disk operation data, specifically including: Using the ECC memory to extract all bits of invalid check operations in the solid state drive operation data to obtain an invalid quantity value on the current physical block; Record the invalid number value of each physical block, and obtain the maximum number of error bits by combining the physical blocks for statistics; Adjusting the error correction check code in combination with the check result specifically includes: Get the number of erase times corresponding to the physical block; Calculate and update the error correction strength based on the maximum number of error bits combined with the number of erasures; generating an error correction check code matching the physical block based on the updated error correction strength; Combined with the verification result, the error correction bit threshold step size specifically includes: extracting bit error bits where the check run on each of the physical blocks is invalid; Combining the original information area of ​​the physical block with the corresponding bit error bit to obtain a valid information area; Bit shifting is performed based on the effective information area to complete bit threshold step length error correction.

3. A solid state hard disk, characterized in that: The solid-state hard disk includes a computer-readable storage medium, wherein the computer-readable storage medium includes a solid-state hard disk data error correction method program, and when the solid-state hard disk data error correction method program is executed by the processor, the steps of a solid-state hard disk data error correction method as claimed in claim 1 are implemented.

Citation Information

Patent Citations

  • Data error correcting system, solid hard disk and data error correcting method

    CN103077096A

  • Error correction codec for NANA flash memory of space CCD image memory and error correction method

    CN103198869A

  • Solid state disk controller device and solid state disk data verification method

    CN110333965A

  • Method and device for improving data security of solid state disk and storage medium

    CN112256193A

  • Error correction method and error correction circuit

    US20090300466A1