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

Data down-refreshing method and related device

A data and dirty data technology, applied in the direction of input/output to record carrier, etc., can solve the problems of reducing the service life of the disk and low brushing efficiency

Pending Publication Date: 2019-05-21
PING AN TECH (SHENZHEN) CO LTD
View PDF5 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] When dirty data is flushed, it is usually written to the mechanical hard disk one by one according to the order in a cache group. Since many cache blocks in the cache group are random, that is, the disk LBA (logical block number) mapped by many cache blocks is random Yes, and the mechanical hard disk is very slow in handling random IO. Therefore, this method of flushing dirty data requires the disk to repeatedly step the head and seek back and forth, which reduces the service life of the disk and the efficiency of flushing is low.

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
  • Data down-refreshing method and related device
  • Data down-refreshing method and related device
  • Data down-refreshing method and related device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0027] The terms "first" and "second" in the description and claims of the present invention and the above drawings are used to distinguish different objects, rather than to describe a specific order. Furthermore, the terms "include" and "have", as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units...

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 invention relates to data storage, and discloses a data down-refreshing method and a related device, and the method comprises: a storage device comprises an SSD and a disk, the SSD is used as a cache of the disk, the method comprises the steps that when a data down-refreshing instruction is received, the storage device obtains M dirty data cache groups from a dirty data cache linked list in the SSD, and M is a positive integer; The storage device obtains N dirty data cache blocks from one or more of the M dirty data cache groups, and N is a positive integer; The storage device determines Nlogic block addresses corresponding to the N dirty data cache blocks; And the storage device writes the N dirty data cache blocks into the disk according to the sequence of the N logical block addresses from small to large. By implementing the embodiment of the invention, repeated stepping and back-and-forth track finding of the disk are reduced, the service life of the disk is prolonged, and thedown-refreshing efficiency is improved.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a data downloading method and a related device. Background technique [0002] In recent years, the development of hard disk has been rapidly improved in the continuous technological progress, from capacity and speed to interface. As people's demand for data increases, the bottleneck of the storage system becomes more and more obvious. In harsh environments such as embedded mobile devices and industrial automation control, the mechanical structure of traditional hard drives can no longer meet the requirements, and all this has changed with the arrival of solid-state drives (SSD). Nowadays, more and more storage systems begin to use SSDs as high-speed cache memory (cache) media. [0003] In a general SSD storage device, after the data is written to the SSD, if a transaction is accessing the data and modifying the data, but this modification has not been submitted to the...

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 Applications(China)
IPC IPC(8): G06F3/06
Inventor 丁磊
Owner PING AN TECH (SHENZHEN) 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