A dynamic recovery processing method and storage device for stored data

A technology for storing data and recycling processing, which is applied in the field of storage, and can solve problems such as high data recycling times and product performance degradation, and achieve the effects of reducing recycling times and improving product performance and stability

Active Publication Date: 2020-10-09
SHENZHEN DEMINGLI ELECTRONICS
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The purpose of the present invention is to solve the problem of product performance degradation caused by too many data recovery times in the above-mentioned prior art, and propose a dynamic recovery processing method and storage device for stored data, which can effectively improve product performance

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 dynamic recovery processing method and storage device for stored data
  • A dynamic recovery processing method and storage device for stored data
  • A dynamic recovery processing method and storage device for stored data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0039] refer to figure 1 , this embodiment provides a method for dynamically reclaiming and processing stored data, including:

[0040] Step S101, receiving a data write command, and obtaining a logical address in the data write command;

[0041] Step S102, judging whether the logical address has a corresponding storage unit according to the pre-established mapping table;

[0042] Step S103, if the logical address does not have a corresponding storage unit, add 1 to the effective logical capacity, and update the mapping table;

[0043] Step S104, calculating an effective logical capacity according to the mapping table;

[0044] Step S105, according to the size of the effective logical capacity, dynamically use the SLC block and the TLC block to store data;

[0045] Step S106, according to the size of the effective logical capacity and the number of SLC empty blocks, dynamically use the reclaimed data inside the SLC block and / or the reclaimed data in the TLC block.

[0046]...

Embodiment 2

[0071] refer to image 3 , this embodiment provides a storage device, including a main control unit 201 and a storage module 202, the storage module 202 is used to store a plurality of instructions, and the main control unit 201 is used to read the instructions and execute:

[0072] receiving a data write command, and obtaining a logical address in the data write command;

[0073] According to the pre-established mapping table, it is judged whether there is a corresponding storage unit at the logical address;

[0074] If the logical address does not have a corresponding storage unit, then add 1 to the effective logical capacity, and update the mapping table;

[0075] calculating an effective logical capacity according to the mapping table;

[0076] According to the size of effective logical capacity, dynamically use SLC block and TLC block to store data;

[0077] According to the size of the effective logical capacity and the number of SLC empty blocks, the reclaimed data i...

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

A data storage dynamic recovery processing method and storage device, the method comprising: receiving a data write command, and obtaining a logical address in the data write command (step S101); in accordance with a pre-established mapping table, judging whether a storage unit exists which corresponds to the logical address (step S102); if no storage unit corresponding to the logical address exists, adding 1 to an effective logical capacity and updating the mapping table (step S103); in accordance with the mapping table, computing an effective logical capacity (step S104); in accordance with the size of the effective logical capacity, dynamically using a single-level cell SLC block and a triple-level cell TLC block for storing data (step S105); in accordance with the size of the effective logical capacity and the number of free SLC blocks, dynamically using SLC blocks for internally recovering data and / or TLC blocks for recovering data (step S106); in accordance with the size of an effective logical capacity, the use of various recovery modes for dynamically recovering data allows for effectively reducing a recovery count while enhancing product performance and stability.

Description

technical field [0001] The invention relates to the technical field of memory, in particular to a method for dynamically reclaiming and processing stored data and a storage device. Background technique [0002] Existing TLC FLASH storage products generally use some TLC blocks to cache data in SLC mode. When the data is written to a certain extent, the valid data cached in the SLC block will be transferred to the TLC block. At this time, the number of SLC blocks It will be greatly reduced, and only a small number of SLC blocks are reserved for caching data, generally 128 blocks. Due to the small number of SLC blocks, the number of data recycling increases and product performance decreases. Contents of the invention [0003] The object of the present invention is to propose a dynamic recovery processing method and storage device for stored data, which can effectively improve product performance, in order to solve the problem of product performance degradation caused by too m...

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): G06F12/0893G06F12/0877
CPCG06F12/0877G06F12/0893
Inventor 李虎罗胜
Owner SHENZHEN DEMINGLI ELECTRONICS
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