Garbage collection method based on block grading and nonvolatile storage equipment

A technology for storage devices and recycling methods, which is applied in the field of garbage collection methods and non-volatile storage devices, and can solve problems such as unsatisfactory prediction accuracy and large hardware overhead

Active Publication Date: 2019-12-03
SHENZHEN DAPU MICROELECTRONICS CO LTD
View PDF10 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At present, the data life cycle of different logical block addresses (Logical Block Address, LBA) can be predicted through the statistical method, and then the physical blocks stored in the data are grouped according to the length of the life cycle. However, the statistics of the data life cycle and Prediction will bring relatively large hardware overhead, and the accuracy of prediction cannot meet product expectations at present.

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
  • Garbage collection method based on block grading and nonvolatile storage equipment
  • Garbage collection method based on block grading and nonvolatile storage equipment
  • Garbage collection method based on block grading and nonvolatile storage equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0080] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0081] In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not constitute a conflict with each other.

[0082] In the embodiment of the present invention, the storage device includes a non-volatile storage device with a garbage coll...

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 relates to the field of storage equipment application, and discloses a garbage collection method based on block grading and nonvolatile storage equipment. The garbage collection method based on block grading comprises: determining physical blocks to be recycled in the storage device; if the effective data page exists in the to-be-recycled physical block, obtaining the grade of the to-be-recycled physical block according to the number of times that the effective data page in the to-be-recycled physical block is moved; according to the grade of the to-be-recycledphysical block, moving the data of the effective data page of the to-be-recycled physical block to the physical block of the previous grade; and initializing the physical block to be recycled. By means of the block grading mode, in the garbage collection process, moving of effective data pages can be reduced, the service life of the solid state disk is prolonged, and meanwhile read-write errors inthe data moving process are avoided.

Description

technical field [0001] The invention relates to the application field of storage devices, in particular to a garbage collection method based on block classification and non-volatile storage devices. Background technique [0002] Solid State Drives (SSD) are hard disks made of solid state electronic memory chip arrays. Solid state drives include control units and storage units (FLASH memory chips and DRAM memory chips). In solid state drives, written The physical block of data cannot be rewritten directly, and new data can only be written through garbage collection first. [0003] In order to reduce the write amplification of SSD data, the main research direction is to separate hot and cold data through data grouping, and store them in different physical blocks (Blocks) when data is written. At present, the data life cycle of different logical block addresses (Logical Block Address, LBA) can be predicted through the statistical method, and then the physical blocks stored in ...

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): G06F3/06
CPCG06F3/0616G06F3/061G06F3/064G06F3/0679Y02D10/00
Inventor 王岩李卫军
Owner SHENZHEN DAPU MICROELECTRONICS CO LTD
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