Wear leveling method and device

A wear leveling and wear condition technology, applied in the storage field, can solve the problem of slow search of physical blocks

Active Publication Date: 2012-06-20
TSINGHUA UNIV
View PDF4 Cites 31 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, with the continuous improvement of storage capacity, the number of physical blocks is

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
  • Wear leveling method and device
  • Wear leveling method and device
  • Wear leveling method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0116] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and examples.

[0117] The present invention mainly determines the pool mask of each physical block according to the number of erasing times of each physical block; wherein, for different times of erasing, the mask of the physical block can be divided into cold pool mask CPM and common pool mask NPM or hot pool mask HPM (for the convenience of description, physical blocks with cold pool masks will be called cold pool blocks, physical blocks with normal pool masks will be called normal pool blocks, and physical blocks with hot pool masks will be The physical block is called a hot pool block); in static balancing, when the pool mask of a physical block with a pool mask of NPM changes to HPM, the data in a physical block with a pool mask of CPM is copied to all The pool m...

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 wear leveling method, which comprises the following steps of: determining a pool mask of each physical block according to an erasing count of each physical block, wherein the pool mask of the physical block is determined as a cold pool mask (CPM), a normal pool mask (NPM) or a hot pool mask (HPM) according to different erasing counts; and when a pool mask of a certain physical block is changed from the NPM to the HPM, copying the data of any physical block with the pool mask of CPM into the physical block with the pool mask of HPM, and performing spam collection by taking the physical block with the pool mask of CPM as a spam block, wherein a cold pool, a hot pool and a normal pool are divided according to a value of a reference erasing count counter (RECC) and a threshold (TH) value, the value of the RECC is equal to an erasing count of a physical block with the smallest erasing count in the physical blocks, and the preset TH value is changed along with the wear condition of the physical block. The invention also discloses a wear leveling device. By the method and the device, additional wear caused by wear leveling can be reduced.

Description

technical field [0001] The invention relates to the field of storage technology, in particular to a wear leveling method and device. Background technique [0002] At present, non-volatile memory is widely used in computers, communications and consumer electronics products; for example, U disk, MP3, digital camera, mobile communication terminal, solid-state hard disk and other products all use non-volatile memory as storage medium. As the storage capacity requirements of these products continue to increase, the process size of non-volatile memory continues to shrink, causing the reliability of non-volatile memory to face more and more severe challenges, especially the erase operation of non-volatile memory The number of erasures of the smallest unit physical block is limited, which will have a serious impact on the service life of the non-volatile memory. For the problem that the number of erasures of physical blocks is limited, the existing technology is to perform wear le...

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): G06F12/02G06F12/06
Inventor 潘立阳唐晨
Owner TSINGHUA UNIV
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