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

Read error processing method and device based on nand flash

A processing method and read error technology, which is applied in the field of read error processing based on NANDflash, can solve the problem of waste of data block storage space and achieve the effect of solving the waste of storage space

Active Publication Date: 2021-04-16
GIGADEVICE SEMICON (BEIJING) INC
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Embodiments of the present invention provide a NAND flash-based read error processing method and device to solve the problem of wasting storage space caused by data blocks being marked as bad blocks due to read errors in the prior art

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
  • Read error processing method and device based on nand flash
  • Read error processing method and device based on nand flash
  • Read error processing method and device based on nand flash

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0015] figure 1 It is a flowchart of a NAND flash-based read error processing method provided in Embodiment 1 of the present invention. This embodiment is applicable to the situation of reading error processing based on NAND flash, and is applied to a NAND flash storage device. The method can be performed by a device having a read error processing function of NAND flash, and the device can use software and / or hardware way to achieve. The method specifically includes:

[0016] S110. When a read error occurs in the target data block, record the position of the data page where the read error occurs in the target data block.

[0017] Specifically, the NAND flash memory is a kind of flash memory and belongs to a non-volatile storage device. The main function of the storage device is to store programs and various data, and to complete the program or data access at high speed and automatically during the operation of the computer. The NAND flash storage device includes at least o...

Embodiment 2

[0025] figure 2 It is a flow chart of a NAND flash-based read error processing method provided by Embodiment 2 of the present invention. This embodiment is optimized on the basis of the above embodiments. The method also includes "when the write operation to the target data block occurs , write invalid data in the data page corresponding to the location". Specifically include the following steps:

[0026] S210. When a read error occurs in the target data block, record the position of the data page where the read error occurs in the target data block.

[0027] S220. Accumulate the number of read error pages of the target data block, and judge whether the number of read error pages exceeds a preset threshold.

[0028] S230. When it is determined that the number of read error pages exceeds the preset threshold, mark the target data block as a bad block.

[0029] S240. When a write operation to a data page of the target data block occurs, write invalid data into the data page ...

Embodiment 3

[0033] image 3 It is a schematic structural diagram of a NAND flash-based read error processing device provided in Embodiment 3 of the present invention, and the device specifically includes: a location recording module 310 , an accumulation judging module 320 and a bad block marking module 330 .

[0034] The position record module 310 is used for recording the position of the data page where the read error occurs when a read error occurs in the target data block;

[0035] The accumulative judging module 320 is used for accumulating the number of read error pages of the target data block, and judging whether the number of read error pages exceeds a preset threshold;

[0036] The bad block marking module 330 is configured to mark the target data block as a bad block when the accumulation judging module judges that the preset threshold is exceeded.

[0037]Further, the device further includes: an invalid data writing module, configured to write invalid data in the data page co...

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 present invention discloses a NAND flash-based read error processing method and device, which are applied to a NAND flash storage device. The NAND flash storage device includes at least one NAND flash unit, and each NAND flash unit includes at least one data block. Each data block includes at least one data page. The method includes: when a read error occurs in the target data block, recording the position of the data page where the read error occurred in the target data block; accumulating the number of read error pages in the target data block, and judging whether the number of read error pages exceeds a preset threshold ; When it is judged that the number of read error pages exceeds the preset threshold, mark the target data block as a bad block. The embodiment of the present invention solves the problem of wasting storage space caused by data blocks being marked as bad blocks due to read errors in the prior art.

Description

technical field [0001] Embodiments of the present invention relate to memory technologies, and in particular to a NAND flash-based read error processing method and device. Background technique [0002] NAND flash is a kind of Flash memory, which is a non-volatile storage device. [0003] During the use of NAND flash, some data blocks may have read errors. For this kind of problem, the common way is to mark the block as a bad block and no longer use it. However, a data block of NAND flash contains many pages of storage space. An error in a certain storage location in a data block does not mean that other locations of the data block cannot be used. Therefore, if the data block is marked as a bad block It will cause a waste of storage space. Contents of the invention [0004] Embodiments of the present invention provide a NAND flash-based read error processing method and device to solve the problem in the prior art of wasting storage space caused by data blocks being marke...

Claims

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

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F3/06
CPCG06F3/0608G06F3/0652G06F3/0679
Inventor 陈诚
Owner GIGADEVICE SEMICON (BEIJING) INC