Unlock instant, AI-driven research and patent intelligence for your innovation.

A method and device for reclaiming storage blocks of nand

A recycling method and storage block technology, applied in the direction of memory system, memory address/allocation/relocation, data processing input/output process, etc., can solve the problem of inaccurate selection of storage blocks to be recycled, inability to adapt to the complex performance of storage blocks, etc. problem, to achieve the effect of improving effective use ability and accuracy

Active Publication Date: 2021-08-03
GIGADEVICE SEMICON (BEIJING) INC
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this type of operation cannot adapt to the multi-faceted complex performance of each storage block, so the selection of storage blocks to be reclaimed is not accurate

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
  • A method and device for reclaiming storage blocks of nand
  • A method and device for reclaiming storage blocks of nand
  • A method and device for reclaiming storage blocks of nand

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0020] figure 1 It is a schematic flow chart of a NAND storage block recovery method provided in Embodiment 1 of the present invention. This embodiment is applicable to the situation of determining a storage block to be recovered in a NAND flash memory, and the method can be executed by a NAND storage block recovery device , the device can be realized by software and / or hardware, and generally can be integrated in a NAND management system of NAND flash memory.

[0021] Such as figure 1 As shown, a method for reclaiming a NAND storage block provided by Embodiment 1 of the present invention specifically includes the following steps:

[0022] S101. Collect statistics on at least two performance parameters of each storage block according to operations on each storage block.

[0023] The storage block in this embodiment may specifically refer to a storage unit block forming a storage unit array in a NAND flash memory. Generally, operations such as erasing, reading, and programmi...

Embodiment 2

[0034] figure 2 It is a schematic flow chart of a NAND storage block recovery method provided by Embodiment 2 of the present invention. Embodiment 2 of the present invention is optimized on the basis of the foregoing embodiments. In this embodiment, before performing statistics on at least two performance parameters of each storage block according to the operation of each storage block, further optimization adds: Use the recently executed storage blocks of a set number as the storage blocks to be counted; use the least recently used algorithm to replace the current storage blocks to be counted.

[0035] Further, "determining the storage block to be reclaimed according to the scoring result" is embodied as: when the available space of the storage block reaches the lower limit value, a trigger condition for the storage block recycling is generated; according to the scoring result of each storage block, the highest score is selected A storage block; identifying the performance ...

Embodiment 3

[0076] image 3 It is a structural block diagram of a NAND storage block reclamation device provided by Embodiment 3 of the present invention. The device is applicable to the situation of determining storage blocks to be reclaimed in NAND flash memory, and can be realized by software and / or hardware, and generally can be integrated in a NAND management system of NAND flash memory. Such as image 3 As shown, the device includes: a performance parameter statistics module 31 , a scoring module 32 and a recycling determination module 33 .

[0077] Wherein, the performance parameter statistics module 31 is used for counting at least two performance parameters of each storage block according to the operation of each storage block;

[0078] A scoring module 32, configured to score each storage block according to the statistical value of the performance parameter;

[0079] The recovery determination module 33 is configured to determine the storage block to be recovered according to...

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 method and a device for reclaiming a storage block of NAND. The method includes: performing statistics on at least two performance parameters of each storage block according to the operation on each storage block; scoring each storage block according to the statistical value of the performance parameters; determining the storage block to be recovered according to the scoring result . This method solves the problem that existing methods cannot effectively select reclaimable memory blocks, improves the accuracy of reclaimable memory block selection, achieves the effect of adapting to the multi-party complexity of each memory block, and improves the effective use of NAND.

Description

technical field [0001] Embodiments of the present invention relate to storage data processing technologies, and in particular to a method and device for reclaiming storage blocks of NAND. Background technique [0002] NAND flash memory is a better storage device than hard disk drives. NAND flash memory usually includes multiple storage blocks, which are managed by the NAND management system for reading and writing operations. [0003] The feature of the memory block is that it can write and read part of the space of the memory block, but it cannot be partially erased, and only the entire memory block can be erased. If some storage blocks have only a small amount of space occupied, but because they cannot be partially erased, the utilization of the storage blocks is low, so the existing technology will transfer and write the valid data in the storage blocks to other storage blocks, and then Erase the storage block in its entirety so as to perform other data operations. This ...

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 Patents(China)
IPC IPC(8): G06F3/06G06F12/02
CPCG06F3/0608G06F3/064G06F12/0253
Inventor 李斌
Owner GIGADEVICE SEMICON (BEIJING) INC