IP Library Granted Patent US 8,156,376
Granted Patent B2
US 8,156,376 · App. 12/607,640 · Granted Apr 10, 2012

Method, device and system for storing data in cache in case of power failure

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,156,376
App. No.
12/607,640
Granted
Apr 10, 2012
Kind
B2
Abstract

A method, device and system for storing data in a cache in case of power failure are disclosed. The method includes: in case of power failure of a storage system, receiving configuration information from a central processing unit (CPU); establishing a mapping relationship between an address of data in the cache and an address in a storage device according to the configuration information; sending a signaling message that carries the mapping relationship to the cache, so that the cache migrates the data to the storage device according to the signaling message.

Claims (42)

1. A method for storing data in a cache in case of power failure, comprising:

receiving configuration information from a central processing unit (CPU) when a power failure occurs in a storage system by an auxiliary logic device, wherein upon completion of the configuration, the CPU is powered off;

establishing a mapping relationship between an address of data in a cache and an address in a storage device by the auxiliary logic device; and

sending a signaling message carrying the mapping relationship to the cache by the auxiliary logic device, so that the cache migrates the stored data to the storage device according to the signaling message.

2. The method of claim 1 , wherein the receiving configuration information from the CPU by the auxiliary logic device comprises: receiving at least one of the following from the CPU by the auxiliary logic device: a source address and destination address of a data transmission, a size of transmitted data, and a data transmission direction.

3. The method of claim 2 , wherein the establishing the mapping relationship between the address of data in the cache and the address in the storage device by the auxiliary logic device comprises:

determining the source address and destination address of the data transmission according to the configuration information by the auxiliary logic device; and

establishing the mapping relationship between the address of data in the cache and the address in the storage device by the auxiliary logic device according to the determination result.

4. An auxiliary logic device, comprising:

a receiving unit, adapted to receive configuration information from a central processing unit (CPU) when a power failure occurs in a storage system;

a mapping unit, adapted to establish a mapping relationship between an address of data in a cache and an address in a storage device; and

a transmitting unit, adapted to send a signaling message carrying the mapping relationship established by the mapping unit, so that the cache migrates the data to the storage device according to the signaling message.

5. The auxiliary logic device of claim 4 , wherein the mapping unit comprises:

a determining subunit, adapted to determine a source address and destination address of a data transmission according to the configuration information; and

an establishing subunit, adapted to establish the mapping relationship between the address of data in the cache and the address in the storage device according to the result of determining the source address and destination address of the data transmission.

6. A storage system, comprising an auxiliary logic device, a central processing unit (CPU), a cache and a storage device, wherein:

the CPU is adapted to send configuration information to the auxiliary logic device, wherein upon completion of the configuration, the CPU is powered off;

the auxiliary logic device is adapted to: receive the configuration information from the CPU, and send a signaling message carrying a mapping relationship between an address of data in the cache and an address in the storage device according to the configuration information;

the cache is adapted to: store data, receive the signaling message from the auxiliary logic device when a power failure occurs in the storage system, and migrate the data to the storage device according to the signaling message; and

the storage device is adapted to store the data migrated from the cache when the power failure occurs.

7. The storage system of claim 6 , further comprising:

a spare battery, adapted to supply power to at least one of the auxiliary logic device, the CPU, the cache and the storage device when the power failure occurs.

8. The storage system of claim 6 , wherein the auxiliary logic device comprises:

a receiving unit, adapted to receive the configuration information from the CPU in case of power failure of the storage system;

a mapping unit, adapted to establish the mapping relationship between the address of data in the cache and the address in the storage device; and

a transmitting unit, adapted to send a signaling message carrying the mapping relationship to the cache, so that the cache migrates the stored data to the storage device according to the signaling message.

9. Computer readable storage medium, comprising computer program codes when executed by a computer processor causing the compute processor to execute steps of:

receiving configuration information from a central processing unit (CPU) when a power failure occurs in a storage system by a auxiliary logic device, wherein upon completion of the configuration, the CPU is powered off;

establishing a mapping relationship between an address of data in a cache and an address in a storage device by the auxiliary logic device; and

sending a signaling message carrying the mapping relationship to the cache by the auxiliary logic device, to notify the cache to migrate the stored data to the storage device according to the signaling message.

10. The computer readable storage medium according to claim 9 , wherein the step of receiving configuration information from the CPU by the auxiliary logic device comprises:

receiving at least one of the following from the CPU by the auxiliary logic device: a source address and destination address of a data transmission, a size of transmitted data, and a data transmission direction.

11. The computer readable storage medium according to claim 9 , wherein the step of establishing the mapping relationship between the address of data in the cache and the address in the storage device by the auxiliary logic device comprises:

determining the source address and destination address of the data transmission according to the configuration information by the auxiliary logic device; and

establishing the mapping relationship between the address of data in the cache and the address in the storage device by the auxiliary logic device according to the result of determining the source address and destination address of the data transmission.

12. A direct memory access (DMA) controller comprising:

a receiving unit, adapted to receive configuration information from a central processing unit (CPU) when a power failure occurs in a storage system;

a mapping unit, adapted to establish a mapping relationship between an address of data in a cache and an address in a storage device; and

a transmitting unit, adapted to send a signaling message carrying the mapping relationship established by the mapping unit, so that the cache migrates the data to the storage device according to the signaling message.

13. The DMA controller of claim 12 , wherein the mapping unit comprises:

a determining subunit, adapted to determine a source address and destination address of a data transmission according to the configuration information; and

an establishing subunit, adapted to establish the mapping relationship between the address of data in the cache and the address in the storage device according to the result of determining the source address and destination address of the data transmission.

Assignments (5)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 19, 2022
From: CHENGDU HUAWEI TECHNOLOGIES CO., LTD.
To: HUAWEI TECHNOLOGIES CO., LTD.
Reel/Frame 061142/0928 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 26, 2022
From: HUAWEI TECHNOLOGIES CO., LTD.
To: CHENGDU HUAWEI TECHNOLOGIES CO., LTD.
Reel/Frame 060917/0931 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 17, 2015
From: HUAWEI DIGITAL TECHNOLOGIES (CHENG DU) CO., LIMITED.
To: HUAWEI TECHNOLOGIES CO., LTD.
Reel/Frame 035851/0742 →
CHANGE OF NAME Recorded Dec 8, 2014
From: CHENGDU HUAWEI SYMANTEC TECHNOLOGIES CO., LIMITED
To: HUAWEI DIGITAL TECHNOLOGIES (CHENG DU) CO. LIMITED.
Reel/Frame 034537/0210 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 28, 2009
From: CHEN, LIYAO
To: CHENGDU HUAWEI SYMANTEC TECHNOLOGIES CO., LTD.
Reel/Frame 023437/0595 →