Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Memory management method, hard disk and memory system

A storage management and hard disk technology, applied in the storage field, can solve the problem of large cumulative system overhead, achieve the effect of reducing overhead and overcoming excessive system overhead

Active Publication Date: 2010-07-14
CHENGDU HUAWEI TECH
View PDF0 Cites 30 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] In the existing technology, due to the small number of reclaimed blocks each time, long-term use of this method will accumulate too much system overhead

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
  • Memory management method, hard disk and memory system
  • Memory management method, hard disk and memory system
  • Memory management method, hard disk and memory system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0039] In the embodiment of the present invention, the processing process of the management method can be divided into an idle period and a data write operation period. Such as image 3 As shown, it is Embodiment 1 of the present invention, including steps:

[0040] 301. During the idle period, by checking the group information table and the erasing and writing counter table, it is judged whether the wear leveling strategy needs to be triggered, if the judgment result is yes, then execute step 302; if the judgment result is no, then execute step 304;

[0041] Wherein, before the inspection of the grouping information table and the erasing and writing counter table, it may also include:

[0042] Recycle blank blocks.

[0043] Wherein, while recovering the blank block, the bad block inspection record is performed on the recovered blank block.

[0044] 302. If the wear leveling strategy needs to be triggered, insert the recovered blank block into the out-of-order queue;

[00...

Embodiment 2

[0055] Such as Figure 4 As shown, it is Embodiment 2 of the present invention, which may include steps:

[0056] 401. When the system is idle or the number of blank blocks is less than the preset number, the blank blocks are recovered, and while the blank blocks are recovered, bad block inspection and related records can also be carried out;

[0057] 402. During the idle period, by checking the group information table and the erasing count table, the erasing times of each group of information and data blocks are obtained, and it is judged whether a wear leveling strategy needs to be triggered. If the judgment result is yes, then step 403 is executed; if it is judged If the result is no, execute step 401, and continue to prepare for the next judgment of triggering wear leveling strategy;

[0058] 403. Trigger the wear leveling strategy, and then insert the reclaimed blank blocks into the out-of-order queue to prepare for the upcoming data write operation.

[0059] 404. Durin...

Embodiment 3

[0082] Such as Figure 9 As shown, it is Embodiment 3 of the present invention. This embodiment provides a hard disk, including:

[0083] The checking unit 901 is used to check the group information table and the erasing and writing counter table during the idle period, and judge whether it is necessary to trigger the wear leveling strategy;

[0084] Insertion unit 902, configured to insert the reclaimed blank block into the out-of-order queue if a wear leveling strategy needs to be triggered;

[0085] The writing unit 903 is configured to obtain a blank block from the out-of-order queue, and write data into the obtained blank block during a data write operation period.

[0086] The hard disk in this embodiment of the present invention may be a solid state hard disk or the like. The solid-state hard disk may be a single flash memory chip, multiple flash memory chips, a flash memory array, or a read-only memory.

[0087] Each unit in the embodiment of the present invention c...

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 memory management method, comprising the following steps: during idle time, checking a grouping information sheet and an erasable count table, judging whether to trigger a consumption balance strategy and if the consumption balance strategy is needed to be triggered, inserting a recycled blank block in an unordered queue; and during data write operation time, obtaining the blank block from the unordered queue and writing data in the obtained blank block. The invention also discloses a hard disk and a memory system. The embodiment of the invention can be used for recycling the blank block with large time-consuming amount in idle time of the system, thereby being favor of saving data write cost.

Description

technical field [0001] The invention relates to the technical field of storage, in particular to a storage management method, a hard disk and a storage system. Background technique [0002] SSD (solid state disk, solid state disk) includes a control unit and a storage unit. The storage unit can be composed of a non-volatile Flash (flash memory) chip, or SDRAM (synchronous dynamic random access memory, synchronous dynamic random access memory) , SSD has the advantages of good read and write performance, strong shock resistance and power saving, and has a wide range of uses. [0003] Flash solid-state drives can be divided into two types: SLC (Single level cell, single-level storage) and MLC (Multilevel cell, multi-level storage). The erasable number of times of SLC is about 100,000 times, and that of MLC is about 10,000 times. The service life of the SSD can be extended by making the erasing and writing times of each erasable data block uniform. The wear leveling technolog...

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): G06F12/06
Inventor 柯乔张宗全
Owner CHENGDU HUAWEI TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products