Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

SSD (Solid State Drive) data migration method and device

A solid-state hard disk and data technology, applied in the storage field, can solve the problems of untimely replacement of hot data, long replacement time, and long access response time, so as to improve the response time and access rate, and improve the acceleration effect.

Active Publication Date: 2017-03-22
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF5 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When hotspots are switched based on these two algorithms, since the two algorithms cannot identify whether the hotspot data has been switched, the data can only be swapped in and out according to the requirements of the algorithm, which leads to the untimely replacement of hotspot data and the replacement too long
During the switching process, if the hot data cannot quickly enter the cache, the acceleration effect of the entire SSD Cache will be poor, the access response time of the system will be longer, and the access rate will be lower

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
  • SSD (Solid State Drive) data migration method and device
  • SSD (Solid State Drive) data migration method and device
  • SSD (Solid State Drive) data migration method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0067] see first figure 2 , figure 2 It is a schematic flowchart of a method for migrating solid-state hard disk data provided by an embodiment of the present invention. The embodiment of the present invention may include the following:

[0068] S201: Establish a cache queue and a pre-cache queue respectively in the cache data pool and the pre-cache data pool, the cache queue includes access heat information of cached data blocks, and the pre-cache queue includes access heat information of uncached data blocks; The level of the object corresponding to the data block in the queue increases as the access popularity increases.

[0069] The structure of the cache data pool (cache_pool) and the pre-cache data pool (pre_cache_pool) is as follows image 3 As shown, the data in the two pools can be stored in two consecutive memory segments. These two segments of memory can be divided into equal sizes and numbered according to the size of the object (entry). The number of entries i...

Embodiment 2

[0112] see Figure 7 , Figure 7 It is a schematic flowchart of another solid-state hard disk data migration method provided by the embodiment of the present invention, which may specifically include the following:

[0113] S701-S704: the details are consistent with the description of S201-S204 in Embodiment 1, and will not be repeated here.

[0114] S705: When the current level of the object in the cache queue reaches a second preset level, remove the object from the cache queue, and erase the corresponding data block from the cache.

[0115] Specifically, each of the objects in the updated cache queue is at a new level, which can be compared with the preset level. If it is lower than the preset level, it means that the data corresponding to the object in the current cache queue is not hot data. The object is removed from the cache queue, corresponding to the erasure of the data block from the cache. For example, suppose the entry level of the object in the cache queue is ...

Embodiment 3

[0119] see Figure 8 , Figure 8 A structural diagram of a solid-state hard disk data migration device provided by an embodiment of the present invention, the device may include:

[0120] The establishment module 801 is configured to respectively establish a cache queue and a pre-cache queue in the cache data pool and the pre-cache data pool, the cache queue includes access heat information of cached data blocks, and the pre-cache queue includes access heat information of uncached data blocks Information; the level of the object corresponding to the data block in the queue increases with the increase of access popularity.

[0121] Calculation module 802, configured to calculate the cache hit ratio of cached data in the current solid state disk.

[0122] The calculation module includes:

[0123] A judging unit 8021, configured to judge whether the currently accessed data block is the cache data;

[0124] The calculation unit 8022 is configured to calculate the cache hit rat...

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 an SSD (Solid State Drive) data migration method and device, wherein the method comprises the following steps of: establishing a caching queue and a pre-caching queue, and arranging objects corresponding to the access popularities of data blocks in corresponding queues; according to the cache hit ratio of cached data, adjusting the improvement spans of levels of the various objects, and then, updating the pre-caching queue; and, judging whether the current levels of the various objects in the updated pre-caching queue are up to the pre-set levels or not, and, writing the corresponding data blocks in a cache after the current levels of the objects are up to the pre-set levels. By means of the technical scheme provided by the invention, when hotspot data is changed, the good acceleration effect is provided; and the system response time and the access rate are increased. The embodiment of the invention further provides the corresponding implementation device; therefore, the method has relatively high practicability; and the device has corresponding advantages.

Description

technical field [0001] The invention relates to the field of storage technology, in particular to a method and device for migrating solid state hard disk data. Background technique [0002] With the rapid development of computer technology and the advent of the digital age, the frequent use of digital and network technologies in daily life, scientific research, and company business has resulted in explosive growth of data, and the generation of data often needs to be carried or recorded. This forces the rapid development of storage technology to accommodate the rapid growth of data. [0003] HDD (Hard Disk Drive, mechanical hard disk), that is, hard disk drive. The most basic computer memory, the computer hard drive C drive and D drive are disk partitions and all belong to the hard drive. However, due to the slow storage and read-write span, large delay, slow startup, large amount of disk fragments, high noise, mechanical failure, narrow working temperature range (5-55°C) ...

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): G06F3/06
CPCG06F3/0611G06F3/0647G06F3/0656G06F3/0688
Inventor 王永刚
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products