Method and device for erasure balance of Nand Flash

A technology of equalizing and erasing times, which is applied in the field of memory, can solve the problem that erasing times affects the life of NandFlash, and achieve the effect of improving life and writing speed

Active Publication Date: 2010-06-16
ZTE CORP
View PDF0 Cites 23 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The technical problem to be solved in the present invention is to provide a method and device for erasing equalization of Nand Flash, in order to solve the problem in the prior art that the life of Nand Flash is affected by too many erasing times of some physical blocks

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 and device for erasure balance of Nand Flash
  • Method and device for erasure balance of Nand Flash
  • Method and device for erasure balance of Nand Flash

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] In order to solve the problem in the prior art that the lifespan of Nand Flash is affected by too many erasing times of some physical blocks, the present invention provides a method and device for erasing equalization of Nand Flash. Below in conjunction with the accompanying drawings and embodiments, the present invention is further detailed illustrate. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0052] The erasing and writing of Nand Flash requires that the erasing times of each physical block be balanced. Therefore, the erasing times of physical blocks is a very important reference for improving the life of Nand Flash. At the same time, due to the nature of the file system, the frequency of use of logical blocks is different. If only the number of erasures of physical blocks is considered, and the frequency of use of logical blocks is not considered, a good b...

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 invention discloses a method and a device for realizing erasure balance. The method comprises the following steps of: at least setting a first erasure time threshold value and a second erasure time threshold value less than or equal to the first erasure time threshold value; at least setting a first utilization frequency threshold value and a second utilization frequency threshold value more than or equal to the first utilization frequency threshold value; dividing physical blocks of a Nand Flash into different physical block intervals according to the first erasure time threshold value, the second erasure time threshold value, the first utilization frequency threshold value and the second utilization frequency threshold value; and respectively mapping logical blocks to the physical blocks inside the corresponding physical block intervals according to the utilization frequency and the original mapping relation of the logical blocks. The invention limits the increased erasure times of the physical blocks with more erasure times by mapping the physical blocks with the more erasure times to the logical blocks with less utilization frequency, prevents the storage space from being reduced because the erasure times of partial physical blocks is excessive by balancing the erasure times of the physical blocks of the Nand Flash, thereby prolonging the service life of the Nand Flash.

Description

technical field [0001] The invention relates to the technical field of memory, in particular to a method and device for erasing and equalizing a Nand Flash. Background technique [0002] Nand Flash has the characteristics of low cost, large capacity and good stability, and is widely used in the embedded field. [0003] The physical structure of Nand Flash is composed of page structure and block structure. The size of a page is 512Bytes, and each page has an additional area of ​​16Bytes Spare Area. This area is not a data area and can be used to store some information related to the page, such as Check code, etc.; a block consists of 32 adjacent pages (or 64 pages), which is 16KB (or 32KB). A page is the basic unit of a read operation, and a block is the basic unit of an erase operation. Before writing a certain area, if the area has been written before, you need to erase the entire block containing the area first (erase first and then write). Nand Flash needs to erase the...

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
IPC IPC(8): G11C7/20
CPCG06F12/0246G06F2212/7211G11C16/16
Inventor 熊泉
Owner ZTE CORP
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