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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


