Caching data block processing method and hard disk

A technology for caching data blocks and processing methods, which is applied in the field of communication, and can solve problems such as long write-back time, high requirements for backup power supply energy, and slow write-back speed, so as to improve storage speed and save backup power supply energy.

Inactive Publication Date: 2009-06-17
HUAWEI DIGITAL TECH (CHENGDU) CO LTD
View PDF0 Cites 31 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the case of a large cache capacity, the write-back speed of this method is relatively slow, the required write-back time is longer, and the energy requirements for the backup power supply are higher.

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
  • Caching data block processing method and hard disk
  • Caching data block processing method and hard disk
  • Caching data block processing method and hard disk

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] 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 part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0026] An embodiment of the present invention provides a cache data block processing method, such as figure 2 shown, including:

[0027] Step s201 , when abnormal power failure is detected, obtain the benchmark physical address in the reserved area of ​​the non-volatile storage medium of the hard disk.

[0028] In one implementation, the benchmark physical address here may be the first physical address or other physical address of the reserved ...

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 a processing method of cache data block and hard disk, the method comprises: obtaining a target rod physical address in a reserved area of non-volatile storage medium of the hard disk when the abnormal power down is detected; writing the data block in the cache of the hard disk onto a continuous physical address associated with the target rod physical address in the reserved area of the non-volatile storage medium of the hard disk in order. According to the embodiment of the invention, the saving speed of the cache data block can be improved, the process for looking for a mapping list in the existing CACHE back writing method can be avoided when abnormal power down, the standby power supply energy can be saved, and the reliability of the cache data block can be improved.

Description

technical field [0001] Embodiments of the present invention relate to the field of communication technologies, and in particular, to a processing method for buffering data blocks and a hard disk. Background technique [0002] In the traditional hard disk technology, although some traditional hard disks include CACHE (caching), it does not involve the abnormal power-down protection of CACHE. [0003] For SSD (Solid State Disk, solid state drive), the read and write speed of Flash (flash memory) as a storage medium is much slower than the interface speed. Therefore, if the data block sent from the host is directly written into the Flash disk, most of the time is spent on the Flash write operation, thereby greatly reducing the performance of the SSD. [0004] Therefore, in order to improve the performance of SSD, CACHE is generally designed in SSD. CACHE is generally composed of high-speed storage media such as SDRAM (Synchronous Dynamic Random Access Memory, Synchronous Dyna...

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): G06F12/16G06F12/08
CPCY02B60/1225Y02D10/00
Inventor 余夕亮徐君
Owner HUAWEI DIGITAL TECH (CHENGDU) CO LTD
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