Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Method for storing power-fail data of cache memory, equipment and system thereof

A storage device and cache technology, applied in the field of storage, can solve problems such as loss of data, limited battery capacity, inability to maintain continuous dynamic refresh, etc., to protect data and ensure that it will not be lost.

Active Publication Date: 2009-06-03
HUAWEI TECH CO LTD
View PDF0 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In the case of long-term power failure, due to the limited capacity of the battery, the continuous dynamic refresh of the Cache of the storage system cannot be maintained, thus losing the data stored in the Cache

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
  • Method for storing power-fail data of cache memory, equipment and system thereof
  • Method for storing power-fail data of cache memory, equipment and system thereof
  • Method for storing power-fail data of cache memory, equipment and system thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] 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.

[0030] Embodiments of the present invention provide a method for saving Cache power-off data, such as figure 2 shown, including the following steps:

[0031] Step s201, when the storage system is powered off, receiving the configuration information sent by the central processing unit CPU;

[0032] Step s202, establishing a mapping relationship between the address of the data in the Cache and the address in the storage device according to the above configuration 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

The embodiment of the invention discloses a method for storing power-fail data of a cache memory, equipment and a system thereof. The method comprises the steps: when power-fail occurs in a memory system, configuration information sent by a central processing unit (CPU) is received; the mapping relationship between the address of the data in the cache memory and the address in storage equipment is established according to the configuration information; signaling carrying the mapping relationship is sent to the cache memory, and the cache memory is caused to transfer the stored data to the corresponding storage equipment according to the signaling. When power-fail occurs in the memory system, the embodiment of the invention transfers and backups the data in the cache memory to other storage equipment according to the mapping relationship set up by the configuration information, so as to write the data in the cache memory into the storage equipment in a way of backup to achieve the aim of data backup, thus protecting the data stored in the cache memory and ensuring the data not to be lost.

Description

technical field [0001] The embodiments of the present invention relate to the field of storage, and in particular, to a method, device and system for storing data in a power failure of a cache memory. Background technique [0002] The storage system uses Cache (high-speed cache memory) to speed up the response speed of host requests. When receiving a write request from the host, the storage system writes the host data into the Cache and then returns the request to the host to complete, and then the storage system selects an appropriate time to write the data in the Cache to the disk. Cache speeds up the response to host requests, but it also brings the problem of data loss in Cache when the storage system is powered off. Therefore, in the storage system with Cache, there is a power-off data protection function. [0003] In the prior art, when the storage system is powered off, the backup battery is used to supply power to the Cache, so as to continuously refresh the Cache, ...

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/16G06F11/14
CPCG06F11/2015G06F11/1666H05K999/99G06F11/1441
Inventor 陈立耀
Owner HUAWEI TECH 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
Eureka Blog
Learn More
PatSnap group products