Garbage collection method and garbage collection system for non-volatile memory

A non-volatile, recycling method technology, applied in the field of storage, can solve problems such as the impact of the service life of non-volatile memory storage, and achieve the effects of reducing read errors, improving service life, and reducing the number of read errors.

Pending Publication Date: 2021-11-02
合肥康芯威存储技术有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Since the host will report an error when it reads data from the non-volatile memory, and garbage collection is only running inside the non-volatile memory, if the garbage collection reads an error, it will also send an error status to the host, which will Has a great influence on the service life of non-volatile memory storage

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 and garbage collection system for non-volatile memory
  • Garbage collection method and garbage collection system for non-volatile memory
  • Garbage collection method and garbage collection system for non-volatile memory

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] Embodiments of the present invention are described below through specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific implementation modes, and various modifications or changes can be made to the details in this specification based on different viewpoints and applications without departing from the spirit of the present invention.

[0053] It should be noted that the diagrams provided in this embodiment are only schematically illustrating the basic idea of ​​the present invention, and only the components related to the present invention are shown in the diagrams rather than the number, shape and shape of the components in actual implementation. Dimensional drawing, the type, quantity and proportion of each component can be changed arbitrarily during actual impleme...

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 provides a garbage collection method and a garbage collection system for a non-volatile memory. The garbage collection method comprises the following steps: determining a source storage block and a target storage block; transferring effective data in the source storage block to the target storage block, and obtaining an error physical address in the transferring process; obtaining a corresponding error logic address in a first mapping table according to the error physical address; obtaining a corresponding entry in a second mapping table according to the error logic address, and updating a physical address in the entry into a virtual value, wherein when a host sends a read request to the non-volatile memory, whether the read request hits the virtual value or not is judged; if yes, sending an error reporting signal to the host; and if not, continuing to perform the read request. According to the garbage collection method and the garbage collection system of the non-volatile memory, the service life of the non-volatile memory can be prolonged.

Description

technical field [0001] The invention relates to the field of storage technology, in particular to a garbage collection method and a garbage collection system of a non-volatile memory storage. Background technique [0002] At present, most non-volatile memory memories use flash memory chips as storage media. The flash memory chip is a kind of non-volatile memory, and its basic storage unit is a floating gate transistor, due to physical characteristics such as charge leakage and aging of the oxide layer. Data needs to be encoded before being written into the flash array, and data needs to be decoded after being read from the flash array. Due to the physical properties of the flash memory itself, data bit flipping occurs when data is read from the flash memory array. When the number of bits flipped is relatively large, the read data will be wrong, and the master control will start the error correction module to correct the error. When the error correction module of the main ...

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
CPCG06F12/0246
Inventor 赵啟鹏
Owner 合肥康芯威存储技术有限公司
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