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

A data processing method and device

A data processing and data technology, applied in the direction of electrical digital data processing, data processing input/output process, instruments, etc., can solve the problems of increasing garbage collection load, blank page generation, resource waste, etc., to avoid load and delay use Life expectancy and the effect of reducing waste of resources

Active Publication Date: 2019-11-12
SHENZHEN YILIAN INFORMATION SYST CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

And because the data block contains invalid data pages, there will be blank pages during the cold data block moving process
In this way, after multiple moves, there will be blank pages in many blocks, and since these blocks will not be used in the future, we can only wait for the garbage collection of GC, which will not only increase the load of garbage collection, but also cause waste of resources

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 data processing method and device
  • A data processing method and device
  • A data processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0063] An embodiment of the present invention provides a data processing method, the method is applied to a storage device, such as figure 1 As shown, the method includes:

[0064] Step 101. Obtain data characteristics of data in each storage block in a storage device.

[0065] Wherein, the data feature refers to the number of write operations and / or the number of erase operations of data.

[0066] In one embodiment, the data includes at least the first type of data (cold data) and the second type of data (hot data).

[0067] Specifically, the first type of data means that the number of write operations and / or the number of erase operations of the data is less than or equal to the first threshold.

[0068] Specifically, the second type of data means that the number of write operations and / or the number of erase operations of data is greater than or equal to a second threshold; wherein, the second threshold is greater than the first threshold.

[0069] In one embodiment, the...

Embodiment 2

[0140] Based on the technical solutions described in the above embodiments, the embodiments of the present invention provide a data processing device, such as figure 2 As shown, the data processing device includes:

[0141] Flash memory medium 21, used for storing data;

[0142] The processor 22 is configured to obtain data characteristics of data in each storage block in the storage device; select at least one active storage area from each storage block; migrate the first data in the storage block that needs data processing to the at least one active storage area; An active storage area, wherein the data characteristic of the first data satisfies a predetermined condition.

[0143] Optionally, the processor 22 is also configured to:

[0144] After the at least one active storage area is full, the storage block requiring data processing is used as a new active storage area.

[0145] Optionally, the processor 22 is also configured to:

[0146] When the at least one active ...

Embodiment 3

[0168] Based on the technical solutions described in the above embodiments, the embodiments of the present invention provide a data processing device, such as image 3 As shown, the data processing device includes:

[0169] An acquisition unit 31, configured to acquire data characteristics of data in each storage block in the storage device;

[0170] A selection unit 32, configured to select at least one active storage area from the storage blocks;

[0171] The processing unit 33 is configured to migrate the first data in the storage block requiring data processing to the at least one active storage area, wherein the data characteristic of the first data satisfies a predetermined condition.

[0172] Optionally, the selection unit 32 is further configured to:

[0173] After the at least one active storage area is full, the storage block requiring data processing is used as a new active storage area.

[0174] Optionally, the selecting unit 32 uses the storage block requiring da...

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 provides a data processing method and device. The data processing method includes the steps that the data characteristics of data in all storage blocks in a storage device are obtained; at least one movable storage area is selected from all the storage blocks; first data in the storage blocks needing to be subjected to data processing is migrated to the at least one movable storage area, wherein the data characteristics of the first data meet the preset condition.

Description

technical field [0001] The invention relates to the technical field of data storage, in particular to a data processing method and device. Background technique [0002] The Static (Static) wear leveling (WL, Wear Leveling) algorithm will perform wear leveling on all storage blocks, including those storage blocks that do not require data update. This has the advantage of increasing the number of storage blocks that can be used for wear leveling. Reduce the uneven loss between storage blocks storing static data (such as mp3) and storage blocks storing dynamic data (such as log files), and increase the durability of the entire solid state drive (SSD, Solid State Drives). [0003] If a block stores static data with a low update frequency (called cold data), or even a read-only data area of ​​the upper-layer application, the data on this block will be selected and updated at a very low frequency, so There are very few invalid data pages (that is, dirty pages) on it, and they are...

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/06
CPCG06F3/0616G06F3/064G06F3/0644G06F3/0647G06F3/0652G06F3/0676G06F3/0679
Inventor 张红蕾李志刚
Owner SHENZHEN YILIAN INFORMATION SYST CO LTD