Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Method for realizing wear-leveling in storage equipment as well as the storage equipment

A storage device and loss leveling technology, which is applied in the field of communication, can solve the problems of limited service life of storage devices, and the number of erasures and writes of storage units is easily damaged by writing, so as to achieve the effect of realizing loss and improving service life

Inactive Publication Date: 2011-07-27
BEIJING WATCH DATA SYST
View PDF4 Cites 25 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The present invention provides a method for achieving wear leveling in a storage device and a storage device to solve the problem of some storage units in the prior art due to excessive erasing and writing times. It is easy to be damaged by writing, resulting in a very limited service life of the storage device

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 realizing wear-leveling in storage equipment as well as the storage equipment
  • Method for realizing wear-leveling in storage equipment as well as the storage equipment
  • Method for realizing wear-leveling in storage equipment as well as the storage equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] Embodiments of the present invention provide a method for realizing wear leveling in a storage device and the storage device, which can effectively prevent a storage unit with too many times of erasing and writing from being damaged, thereby significantly improving the service life of the storage device.

[0018] An embodiment of the present invention provides a method for implementing loss leveling in a storage device, such as figure 1 shown, including:

[0019] S101: After determining that there is a bad block in the storage unit and recording the logical address corresponding to the bad block in the storage unit with the bad block, or, after clearing the recorded first number of times of erasing and writing to zero each time, start recording the logical address. The first erasing and writing times of the storage unit identified by the corresponding physical address, wherein the storage device stores the current correspondence between the physical address and the logi...

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 for realizing wear-leveling in storage equipment as well as the storage equipment. The method comprises the following steps: determining that a storage unit has a bad block, recording the corresponding logic address when the bad block occurs in the storage unit which has the bad block, or after the number of recorded erasing times is cleared each time, starting torecord the number of erasing times of the storage unit identified by a physical address corresponding to the logic address currently, wherein the current corresponding relationship between the physical addresses of the storage unit and the logic addresses is stored in the storage equipment; selecting a storage unit from the storage units which do not have bad blocks when the number of recorded erasing times reaches a set threshold, updating the physical address corresponding to the logic address currently into the physical address of the storage unit selected from the storage units which do not have bad blocks; and clearing the number of recorded erasing times. The storage unit with excessive erasing times is effectively prevented from being broken by recording the number of erasing timesof the logic storage unit which has the bad block, so that the service life of the storage equipment is improved.

Description

technical field [0001] The present invention relates to the field of communication technology, in particular to a method for realizing wear balance in a storage device and the storage device. Background technique [0002] NOR Flash technology is a commonly used flash memory technology at present. With this technology, it can be read and written quickly by byte. However, after each byte is written, it cannot be written again directly, but the previously written data must be first written. erase. When using NOR Flash technology for erasing, the erasing operation can only be performed in units of pages, and the general page size is 256 bytes. From the perspective of the upper layer, the function of erasing is to reset every bit in the erased page to logic 1. [0003] The service life of NOR Flash is very limited, which is determined by the maximum number of erasable pages in NOR Flash. As the number of erasing increases, the page will eventually become read-only and become a ...

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/02
Inventor 薛晗
Owner BEIJING WATCH DATA SYST
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
Eureka Blog
Learn More
PatSnap group products