Method for processing data errors, and device and system for checking and correcting data errors

A technology for data errors and processing methods, applied in the storage field, can solve the problems of inability to correct errors, data unrecoverable, data error correction, etc., and achieve the effect of avoiding irreversible errors

Inactive Publication Date: 2010-06-16
HUAWEI DIGITAL TECH (CHENGDU) CO LTD
View PDF3 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] When an ECC check error occurs, the number of erroneous bits has exceeded the maximum number of bits that can be corrected by the ECC module. Usually, the data of this data block is irrecoverable, resulting in the loss of user data.
Moreover, when the number of erroneous bits exceeds the maximum number of bits that can be corrected by the ECC module, false negatives may occur. When false negatives occur, not only cannot correct errors, but the correct data may also be corrected

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for processing data errors, and device and system for checking and correcting data errors
  • Method for processing data errors, and device and system for checking and correcting data errors
  • Method for processing data errors, and device and system for checking and correcting data errors

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0030] This embodiment describes a data error processing method, which is a method of processing according to the number of erroneous bits in a data block when ECC is used for error correction, and will be described in detail below with reference to the accompanying drawings.

[0031] see figure 1 , the method of this embodiment may include the following steps:

[0032] Step 101: Acquiring the number of bits with errors in the data block;

[0033] Before step 101, a step may also be included: judging whether the above-mentioned data block is sent incorrectly, if an error occurs, then obtain the number of bits in the data block that has errors, if no error occurs, then perform the data processing on the data block according to the normal data processing method Subsequent processing.

[0034] Step 102: judging whether the number of erroneous bits is greater than or equal to a preset threshold, and the preset threshold is smaller than the maximum number of bits that can be corr...

Embodiment 2

[0045] This embodiment describes a method for processing data errors. Through this method, occurrence of uncorrectable errors can be effectively avoided, thereby avoiding loss of user data and erroneous modification of user data.

[0046] Describe in detail below in conjunction with accompanying drawing, see figure 2 , the method of this embodiment may include the following steps:

[0047] Step 201: judge whether the data block is in error, when judging that the data block is in error, execute step 202, and when judging that the data block is not in error, execute step 203;

[0048] During the implementation of the ECC algorithm, judging whether there is an error in the data block can be achieved by the following methods:

[0049] The first is to add a check bit to the original data bit. The length of the check bit is proportional to the maximum number of bits that can be corrected by ECC; then the data bit is transmitted or stored together with the check bit. When the user re...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention discloses a method for processing data errors, and a device and a system for checking and correcting the data errors. The method for processing the data errors comprises the following steps of: acquiring a bit number with errors in a data block; judging whether the bit number with errors is greater than or equal to the preset threshold value which is smaller than a maximum bit position number corrected by the device for checking and correcting the data errors; and identifying a physical block which stores the data block as a bad block if the bit number with errors is grater than or equal to the preset threshold value. Because the physical block which stores the data block is identified as the bad block if the bit number with errors is judged to be greater than or equal to the preset threshold value which is smaller than the maximum bit position number corrected by the device for checking and correcting the data errors, the method for processing the data errors, and the device and the system for checking and correcting the data errors of the embodiment of the invention can effectively avoid the appearance of the errors which cannot be corrected so as to avoid the loss of the user data and prevent modifying the user data by mistake.

Description

technical field [0001] The invention relates to the field of storage technology, in particular to a data error processing method, a data error checking and correcting device and system. Background technique [0002] Error Checking and Correcting (ECC) is an algorithm that can judge and correct data errors, and the number of data error bits that it can correct is fixed. When the number of erroneous bits in the data block exceeds the number of bits that can be corrected by the ECC module, the ECC cannot correct the data error, which will cause the loss of user data block data, which cannot be recovered. [0003] In the prior art, when the ECC module checks out data bit errors, if the number of erroneous bits is less than the maximum number of bits that can be corrected by the ECC module, the ECC module automatically repairs the corresponding erroneous bits; if the number of erroneous bits is greater than the ECC If the module can correct the maximum number of bits, the physic...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/10
Inventor 徐长远杨继涛
Owner HUAWEI DIGITAL TECH (CHENGDU) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products