CN100426246C - Protection method for caching data of memory system - Google Patents

Protection method for caching data of memory system Download PDF

Info

Publication number
CN100426246C
CN100426246C CNB2005100488054A CN200510048805A CN100426246C CN 100426246 C CN100426246 C CN 100426246C CN B2005100488054 A CNB2005100488054 A CN B2005100488054A CN 200510048805 A CN200510048805 A CN 200510048805A CN 100426246 C CN100426246 C CN 100426246C
Authority
CN
China
Prior art keywords
storage system
storage
data
disk cache
memory device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CNB2005100488054A
Other languages
Chinese (zh)
Other versions
CN1991776A (en
Inventor
曹苍眸
王兴家
郭建锋
陈怡�
陈玄同
刘文涵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ningbo cas message technology applied research institute
Original Assignee
Inventec Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inventec Corp filed Critical Inventec Corp
Priority to CNB2005100488054A priority Critical patent/CN100426246C/en
Publication of CN1991776A publication Critical patent/CN1991776A/en
Application granted granted Critical
Publication of CN100426246C publication Critical patent/CN100426246C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)

Abstract

A data protecting method of high-speed memory of storing system is used to protect data of high-speed memory of the first storing system and the second storing system which are connected with each other and possess function of supplying power. When the first storing system and the second storing system are running normally, they are copying data of high-speed memory of each other. When any of the storing system is power off, the other storing system which is running normally will take over the storing device which is in disorder, and protect self data by function of supplying power by battery, when the abnormal storing system restarting, they are copying data of high-speed memory of each other cautiously, so it can fully protect data of high-speed memory and provide reliability of storing system.

Description

The Data Protection method of the high-speed cache of storage system
Technical field
The present invention relates to a kind of data guard method, particularly a kind of Data Protection method of high-speed cache of storage system.
Background technology
In the epoch of this information explosion, a large amount of fresh information technology continue to bring out.And ever-increasing storage demand makes the development of memory device and memory technology advance by leaps and bounds, and occupies critical role in infotech.Therefore, (Storage Area Network SAN) obtains broad development for Network storage technology, especially storage area network.
Storage area network is the network that is different from regional network or wide area network.Some are connected to the storage resources of server in order to interconnect for it, and the high transfer rate between internal storage device (Gigabits/sec), enhanced scalability and high reliability are its notable features.Except that hardware, storage area network also has special software in order to system is managed, monitors and disposes.
In the storage system of storage area network, in order to improve system effectiveness, adopt the mode of a kind of disk cache (Disk Cache), write back formula (Write-back) high-speed cache, promptly, when equipment is carried out write operation, the data that needs are write are in the position of random access memory, size, the device name that data need write and think promptly that the location records of this equipment back user in disk cache write operation finishes, task by the special read-write equipment of system is in due course then, regularly or when the system random access memory source is not enough finish the write operation that is stored in the disk cache, but the data in the disk cache continue to keep; When equipment is carried out read operation, judge whether store the data that need read in the disk cache,, then directly read earlier if having.Otherwise, add disk cache from the access arrangement reading of data and with data.In order to improve the read-write efficiency to block equipment, the driving of block equipment (Driver) has all adopted some to improve the method for read-write efficiencies, as the elevator algorithm, in advance read algorithm, postpone to write algorithm etc.
Each description entry of disk cache description entry in the operating system of storage system (Disk Cache Item) is represented a physical memory page (Page) or block (Block).In storage system, disk cache is described item size and is fixed, and its sequence number can be calculated by formula (disk cache is in the position of random access memory)/(size of disk cache).
Use writes back the mode of formula high-speed cache, makes to exist in the storage system to write disk cache but the data of write storage device not also.If storage system is cut off the power supply at this moment, the data in the disk cache can be lost.
Therefore, in order to improve the reliability of storage area network, known technology provides the solution of some BatteryBacked RAM, but these methods are relatively independent, and is limited to the protection of storage system.
Summary of the invention
In order to solve problem and the defective in the above-mentioned known technology; the object of the present invention is to provide a kind of Data Protection method of high-speed cache of storage system, in order to the data of the high-speed cache of protecting interconnective first storage system with powered battery (Battery Backed) function and second storage system.
The Data Protection method of the high-speed cache of a kind of storage system provided by the present invention comprises following steps: detect the running status of first storage system, and keep a reserve area in the random access memory of second storage system; Judge whether first storage system cuts off the power supply; Move just often when first storage system, monitor operation the disk cache of first storage system, and according to operating in the data of storing or deleting the disk cache of corresponding first storage system in second storage system; When first storage system is cut off the power supply, the data of the disk cache of second storage system storage are write the memory device of second storage system, and take over the memory device of first storage system, the data of the disk cache of first storage system of second storage system storage are write the memory device of first storage system, the servo function of first storage system is provided by second storage system; Whether detect first storage system starts; When first storage system restarts, second storage system stops to provide the servo function of first storage system, and the data that the needs of the disk cache of second storage system storage are write the memory device of first storage system write the memory device of first storage system; Second storage system stops to take over the memory device of first storage system, and the data of the disk cache of second storage system storage are write the memory device of second storage system, removes the reserve area canned data; When first storage system does not restart, monitor operation to the disk cache of second storage system, and according to the information that operates in the corresponding disk cache description entry of reserve area storage or deletion; Whether detect second storage system cuts off the power supply; When second storage system is cut off the power supply, provide power supply for the random access memory of second storage system by the powered battery function; When second storage system restarts, read the information of the disk cache description entry of reserve area storage, keep the data of the random access memory storage of correspondence position according to information; And after second storage system starts, read the information of the high-speed cache description entry of reserve area storage, the data of the random access memory storage of correspondence position are write the memory device of correspondence according to information.
For the data of the high-speed cache of protecting second storage system effectively, the present invention also further comprises following steps: detect the running status of second storage system, and keep a reserve area in the random access memory of first storage system; Judge whether second storage system cuts off the power supply; Move just often when second storage system, monitor operation the disk cache of second storage system, and according to operating in the data of storing or deleting the disk cache of corresponding second storage system in first storage system; When second storage system is cut off the power supply, the data of the disk cache of first storage system storage are write the memory device of first storage system, and take over the memory device of second storage system, the data of the disk cache of second storage system of first storage system storage are write the memory device of second storage system, the servo function of second storage system is provided by first storage system; Whether detect second storage system starts; When second storage system restarts, first storage system stops to provide the servo function of second storage system, and the data that the needs of the disk cache of first storage system storage are write the memory device of second storage system write the memory device of second storage system; First storage system stops to take over the memory device of second storage system, and the data of the disk cache of first storage system storage are write the memory device of first storage system, removes the reserve area canned data; When second storage system does not restart, monitor operation to the disk cache of first storage system, and according to the information that operates in the corresponding disk cache description entry of reserve area storage or deletion; Whether detect first storage system cuts off the power supply; When first storage system is cut off the power supply, provide power supply for the random access memory of first storage system by the powered battery function; When first storage system restarts, read the information of the disk cache description entry of reserve area storage, keep the data of the random access memory storage of correspondence position according to information; And after first storage system starts, read the information of the high-speed cache description entry of reserve area storage, the data of the random access memory storage of correspondence position are write the memory device of correspondence according to information.
The Data Protection method of the high-speed cache of storage system of the present invention, wherein also comprise following steps: when the data of write storage device are not written to memory device in the disk cache that monitors this first storage system, the sequence number of storing the disk cache description entry of these data is added into the removing tabulation that is created in this first storage system; When monitoring the user when storing data, read this removing tabulation to disk cache; When this removing list records has the sequence number of the disk cache description entry that needs deletion, send the delete command of the sequence number that comprises the disk cache description entry that needs delete to this second storage system to removing each sequence number in the tabulation; Receive and resolve this delete command, delete the data of the correspondence of this second storage system storage according to this delete command; According to the interpolation that monitors or upgrade that operation sends the sequence number that comprises data content, disk cache description entry, memory device that the disk cache description entry need write number and in the interpolation of the positional information of memory device or update command to this second storage system; And receive and resolve this interpolation or update command, in this second storage system, add or upgrade the data of correspondence according to this interpolation or update command.
The Data Protection method of the high-speed cache of storage system of the present invention, wherein also comprise following steps: when monitoring the user when storing data, with the sequence number of the disk cache description entry of storage data inlet sequence number as this reserve area to disk cache; Storage comprises memory device that data need write number and the information of data in the position of memory device enters the mouth to this; And when the data of write storage device are not written to memory device in monitoring disk cache,, remove this inlet canned data with the sequence number of the disk cache description entry of these data of storage inlet sequence number as this reserve area.
In sum; the invention has the advantages that the data of protecting the other side's high-speed cache between two storage systems mutually; and when arbitrary storage system generation abnormal power-down; the storage system of another operate as normal is taken over the memory device that unusual storage system takes place; and himself the data of high-speed cache of the powered battery function and protecting of the storage system by another operate as normal, greatly improve the reliability of storage system.
Description of drawings
Fig. 1 is the method flow diagram of data of the high-speed cache of protection first storage system of the present invention;
Fig. 2 is the method flow diagram of data of the high-speed cache of protection second storage system of the present invention;
Fig. 3 is the not processing flow chart of the data write storage device of write storage device that monitors in the disk cache of the present invention;
Fig. 4 stores the processing flow chart of data to disk cache for the user of monitoring of the present invention; And
Fig. 5 is a method flow diagram of storing or delete the information of disk cache description entry at reserve area of the present invention.
Wherein, description of reference numerals is as follows:
S100 detects the running status of first storage system, and keeps a reserve area in the random access memory of second storage system
Is S101 first storage system cut off the power supply?
S102 monitors the operation to the disk cache of first storage system, and according to operating in the data of storing or deleting the disk cache of corresponding first storage system in second storage system
S103 is with the data write storage device of the disk cache storage of second storage system, and take over the memory device of first storage system, the data of the disk cache of first storage system of second storage system storage are write the memory device of first storage system, the servo function of first storage system is provided by second storage system
Does S104 first storage system start?
S105 stops to provide the servo function of first storage system, and the data that the needs of the disk cache of second storage system storage are write the memory device of first storage system write the memory device of first storage system
S106 second storage system stops to take over the memory device of first storage system, and the data of the disk cache of second storage system storage are write the memory device of second storage system, removes the reserve area canned data
S107 monitors the operation to the disk cache of second storage system, and according to the information that operates in the corresponding disk cache description entry of reserve area storage or deletion
Is S108 second storage system cut off the power supply?
S109 provides power supply by the powered battery function for the random access memory of second storage system
When S110 restarts when second storage system, read the information of the disk cache description entry of reserve area storage, keep the data of the random access memory storage of correspondence position according to information
S111 reads the information of the high-speed cache description entry of reserve area storage after second storage system starts, the data of the random access memory storage of correspondence position are write the memory device of correspondence according to information
S200 detects the running status of second storage system, and keeps a reserve area in the random access memory of first storage system
Is S201 second storage system cut off the power supply?
S202 monitors the operation to the disk cache of second storage system, and according to operating in the data of storing or deleting the disk cache of corresponding second storage system in first storage system
S203 is with the data write storage device of the disk cache storage of first storage system, and take over the memory device of second storage system, the data of the disk cache of second storage system of first storage system storage are write the memory device of second storage system, the servo function of second storage system is provided by first storage system
Does S204 second storage system start?
S205 stops to provide the servo function of second storage system, and the data that the needs of the disk cache of first storage system storage are write the memory device of second storage system write the memory device of second storage system
S206 first storage system stops to take over the memory device of second storage system, and the data of the disk cache of first storage system storage are write the memory device of first storage system, removes the reserve area canned data
S207 monitors the operation to the disk cache of first storage system, and according to the information that operates in the corresponding disk cache description entry of reserve area storage or deletion
Is S208 first storage system cut off the power supply?
S209 provides power supply by the powered battery function for the random access memory of first storage system
When S210 restarts when first storage system, read the information of the disk cache description entry of reserve area storage, keep the data of the random access memory storage of correspondence position according to information
S211 reads the information of the high-speed cache description entry of reserve area storage after first storage system starts, the data of the random access memory storage of correspondence position are write the memory device of correspondence according to information
S300 is added into a removing tabulation that is created in first storage system with the sequence number of the disk cache description entry of these data of storage in monitoring disk cache not during the data write storage device of write storage device
S400 reads and removes tabulation when monitoring the user when storing data to disk cache
Does S410 record the sequence number of the disk cache description entry that needs deletion?
S420 sends delete command to the second storage system that comprises the sequence number of the disk cache description entry that needs delete to removing each sequence number in the tabulation
S430 second storage system receives and resolves this delete command, deletes the data of the correspondence of second storage system storage according to this delete command
S440 sends a sequence number that comprises data content, disk cache description entry, memory device that the disk cache description entry need write number according to the interpolation of monitoring or update command and in the interpolation or update command to the second storage system of the positional information of this memory device
S450 second storage system receives and resolves this interpolation or update command, adds or upgrade the data of correspondence in second storage system according to this interpolation or update command
S500 is when monitoring the user when storing data to disk cache, with the sequence number of the disk cache description entry of a storage data inlet sequence number as reserve area
One of S510 storage comprises memory device that data need write number and the information of data in the position of memory device so far enters the mouth
S520 is not when the data of write storage device are written to memory device in monitoring disk cache, with the sequence number of the disk cache description entry of these data of a storage inlet sequence number as reserve area, removes this inlet canned data
Embodiment
Below, part elaborates to better embodiment of the present invention in conjunction with the accompanying drawings.
Please refer to Fig. 1, Fig. 3, Fig. 4 and Fig. 5 now; Fig. 1 is the method flow diagram of data of the high-speed cache of protection first storage system of the present invention; Fig. 3 is the not processing flow chart of the data write storage device of write storage device that monitors in the disk cache of the present invention; Fig. 4 stores the processing flow chart of data to disk cache for the user of monitoring of the present invention, and Fig. 5 is a method flow diagram of storing or delete the information of disk cache description entry at reserve area of the present invention.
As shown in the figure, better embodiment of the present invention comprises following steps:
First storage system is two storage systems that are connected by the inner high speed network in the storage area network with second storage system.When first storage system and the startup of second storage system, be provided with in the basic input/output (BIOS) of second storage system about the parameter setting of random access memory self check data, and in the random access memory of second storage system, keep a reserve area with the random access memory storage that keeps second storage system.After first storage system and the startup of second storage system, second storage system receives the running status (S100) of heartbeat signal to detect first storage system that first storage system sends by the inner high speed network, judge first storage system cut off the power supply (S101)?
When first storage system is moved just often, first storage system monitoring user is to the operation of disk cache, and according to operating in the data (S102) of storing or deleting the disk cache of corresponding first storage system in second storage system, it also comprises following steps: not during the data write storage device of write storage device, the sequence number that first storage system will be stored the disk cache description entry of these data is added into removing tabulation (S300) (as shown in Figure 3) that is created in first storage system in monitoring disk cache.When monitoring the user when storing data to disk cache, read and remove (S400) (as shown in Figure 4) of tabulating, do you judge and remove the sequence number (S410) that tabulation records the disk cache description entry that needs deletion? if there is not record, then direct execution in step S440, otherwise, send delete command to the second storage system (S420) that comprises the sequence number of the disk cache description entry that needs delete to removing each sequence number in the tabulation.Second storage system receives and resolves this delete command, deletes the data (S430) of the correspondence of second storage system storage according to this delete command.Then, send a sequence number that comprises data content, disk cache description entry, memory device that the disk cache description entry need write number and disk cache description entry interpolation or update command to the second storage system (S440) according to the interpolation of monitoring or update command in the positional information of this memory device, second storage system receives and resolves this interpolation or update command, adds or upgrade the data (S470) of correspondence in second storage system according to this interpolation or update command.Simultaneously, second storage system always execution in step S101 so that first storage system in time handle when outage takes place.
When first storage system is cut off the power supply, at first,, and take over the memory device of first storage system with the data write storage device of second storage system disk cache storage.Then, the data of the disk cache of first storage system of second storage system storage are write the memory device of first storage system, the servo function (S103) of first storage system is provided by second storage system according to record.Simultaneously, does second storage system detect first storage system constantly and restarts (S104)?
When second storage system detect first the storage restart after, second storage system stops to provide the servo function of first storage system, and the data that the needs of the disk cache of second storage system storage are write the memory device of first storage system write the memory device (S105) of first storage system.Then, second storage system stops to take over the memory device of first storage system, the data of the disk cache of second storage system storage are write the memory device of second storage system, the space (S106) of removing the reserve area canned data and discharging the random access memory of second storage system.At this moment, first storage system and second storage system all enter normal operating condition, and second storage system continues execution in step S101.
When first storage system does not restart, second storage system monitoring user is to the operation of disk cache, and according to the information (S107) that operates in the corresponding disk cache description entry of reserve area storage or deletion, it also comprises following steps (as shown in Figure 5): when monitoring the user when storing data to disk cache, the sequence number of the disk cache description entry of storage data as one of reserve area inlet sequence number (S500), is stored one and comprised memory device that data need write number and the information of data in the position of memory device so far enter the mouth (S510).When the data of write storage device are not written to memory device in monitoring disk cache, the sequence number of the disk cache description entry of these data of storage as one of reserve area inlet sequence number, is removed this inlet canned data (S520).Simultaneously, does second storage system detect oneself cut off the power supply (S108) constantly? when second storage system is not cut off the power supply, continue execution in step S104.
When second storage system is cut off the power supply, provide power supply by the powered battery function for the random access memory of second storage system, to keep the data of random access memory storage.And for the CPU of second storage system provides the power supply of short period, to allow CPU finish the cached data of CPU synchronously to the task (S109) of the random access memory of second storage system.Fix a breakdown when restarting when second storage system, read the information of the disk cache description entry of reserve area storage, keep the data (S110) of the random access memory storage of correspondence position according to the information that reads.After second storage system restarts, read the information of the high-speed cache description entry of reserve area storage, the data of the random access memory storage of correspondence position are write the memory device (S111) of correspondence according to the information that reads.At this moment, second storage system enters normal operating condition, continues execution in step S104.
By foregoing description, the data of the disk cache of first storage system are backed up constantly by second storage system when its normal operation, and keep data consistency.And when outage took place first storage system, second storage system was taken over the memory device of first storage system, and the data of the disk cache of first storage system of its backup was write the memory device of first storage system.Simultaneously, second storage system is also protected the data of disk cache storage when it cuts off the power supply by the powered battery function of self.Therefore, the data that are positioned at the disk cache of first storage system of same storage area network and second storage system have obtained protection all sidedly.
Please refer to Fig. 2 now, this figure is the method flow diagram of data of the high-speed cache of protection second storage system of the present invention.According to better embodiment of the present invention, it further comprises following steps: first storage system is two storage systems that are connected by the inner high speed network in the storage area network with second storage system.When first storage system and the startup of second storage system, be provided with in the basic input/output (BIOS) of first storage system about the parameter setting of random access memory self check data, and in the random access memory of first storage system, keep a reserve area with the random access memory storage that keeps first storage system.After first storage system and the startup of second storage system, first storage system receives the running status (S200) of heartbeat signal to detect second storage system that second storage system sends by the inner high speed network, judge second storage system cut off the power supply (S201)?
When second storage system is moved just often, second storage system monitoring user is to the operation of disk cache, and according to operating in the data (S202) of storing or deleting the disk cache of corresponding second storage system in first storage system, the detailed realization flow of this step please refer to Fig. 3 and Fig. 4, does not repeat them here.
When second storage system is cut off the power supply, at first,, and take over the memory device of second storage system with the data write storage device of first storage system disk cache storage.Then, the data of the disk cache of second storage system of first storage system storage are write the memory device of second storage system, the servo function (S203) of second storage system is provided by first storage system according to record.Simultaneously, does first storage system detect second storage system constantly and restarts (S204)?
When first storage system detect second the storage restart after, first storage system stops to provide the servo function of second storage system, and the data that the needs of the disk cache of first storage system storage are write the memory device of second storage system write the memory device (S205) of second storage system.Then, first storage system stops to take over the memory device of second storage system, the data of the disk cache of first storage system storage are write the memory device of first storage system, the space (S206) of removing the reserve area canned data and discharging the random access memory of first storage system.At this moment, first storage system and second storage system all enter normal operating condition, and first storage system continues execution in step S201.
When second storage system does not restart, first storage system monitoring user is to the operation of disk cache, and according to the information (S107) that operates in the corresponding disk cache description entry of reserve area storage or deletion, the detailed realization flow of this step please refer to Fig. 5, does not repeat them here.Simultaneously, does first storage system detect oneself cut off the power supply (S208) constantly? when first storage system is not cut off the power supply, continue execution in step S204.
When first storage system is cut off the power supply, provide power supply by the powered battery function for the random access memory of first storage system, to keep the data of random access memory storage.And for the CPU of first storage system provides the power supply of short period, to allow CPU finish the cached data of CPU synchronously to the task (S209) of the random access memory of first storage system.Fix a breakdown when restarting when first storage system, read the information of the disk cache description entry of reserve area storage, keep the data (S110) of the random access memory storage of correspondence position according to the information that reads.After first storage system restarts, read the information of the high-speed cache description entry of reserve area storage, the data of the random access memory storage of correspondence position are write the memory device (S111) of correspondence according to the information that reads.At this moment, first storage system enters normal operating condition, continues execution in step S204.
By foregoing description, the data of the disk cache of second storage system are backed up constantly by first storage system when its normal operation, and keep data consistency.And when outage took place second storage system, first storage system was taken over the memory device of second storage system, and the data of the disk cache of second storage system of its backup was write the memory device of second storage system.Simultaneously, first storage system is also protected the data of disk cache storage when it cuts off the power supply by the powered battery function of self.Therefore, the data that are positioned at the disk cache of first storage system of same storage area network and second storage system have obtained protection all sidedly.
Though the present invention with aforesaid better embodiment openly as above, so it is not in order to limit the present invention.Those skilled in the art should recognize that change of being done and modification all belong in the scope of claims of the present invention under the situation of the scope and spirit of the present invention that do not break away from appending claims of the present invention and disclosed.Please refer to appending claims about the protection domain that the present invention defined.

Claims (4)

1, a kind of Data Protection method of high-speed cache of storage system, in order to the data of the high-speed cache of protecting interconnective first storage system with powered battery function and second storage system, the method includes the steps of:
(a) detect the running status of this first storage system, in the random access memory of this second storage system, keep a reserve area;
(b) monitoring is to the operation of the disk cache of this first storage system, and according to the data of the disk cache that operates in storage in this second storage system or corresponding this first storage system of deletion;
(c) when this first storage system outage, the data of the disk cache of this second storage system storage are write the memory device of this second storage system, and take over the memory device of this first storage system, the data of the disk cache of this first storage system of this second storage system storage are write the memory device of this first storage system, the servo function of this first storage system is provided by this second storage system;
(d) monitoring is to the operation of the disk cache of this second storage system, and according to the information that operates in the corresponding disk cache description entry of this reserve area storage or deletion;
(e) when the outage of this second storage system, provide power supply for the random access memory of this second storage system by the powered battery function;
(f) when this second storage system restarts, read the information of the disk cache description entry of this reserve area storage, keep the data of the random access memory storage of correspondence position according to information;
(g) after this second storage system starts, read the information of the disk cache description entry of this reserve area storage, the data of the random access memory storage of correspondence position are write the memory device of correspondence according to information;
(h) after this first storage system restarts, this second storage system stops to provide the servo function of this first storage system, and the data that the needs of the disk cache of this second storage system storage are write the memory device of this first storage system write the memory device of this first storage system; And
(i) this second storage system stops to take over the memory device of this first storage system, the data of the disk cache of this second storage system storage are write the memory device of this second storage system, remove this reserve area canned data, and execution in step (a).
2, the Data Protection method of the high-speed cache of storage system as claimed in claim 1 wherein further comprises following steps:
(a ') detects the running status of this second storage system, keeps a reserve area in the random access memory of this first storage system;
(b ') monitors the operation to the disk cache of this second storage system, and according to operating in the data of storing or deleting the disk cache of corresponding this second storage system in this first storage system;
(c ') is when this second storage system outage, the data of the disk cache of this first storage system storage are write the memory device of this first storage system, and take over the memory device of this second storage system, the data of the disk cache of this second storage system of this first storage system storage are write the memory device of this second storage system, the servo function of this second storage system is provided by this first storage system;
(d ') monitors the operation to the disk cache of this first storage system, and according to the information that operates in the corresponding high-speed cache description entry of this reserve area storage or deletion;
(e ') provides power supply by the powered battery function for the random access memory of this first storage system when the outage of this first storage system;
When (f ') restarts when this first storage system, read the information of the disk cache description entry of this reserve area storage, keep the data of the random access memory storage of correspondence position according to information;
(g ') reads the information of the disk cache description entry of this reserve area storage after this first storage system starts, the data of the random access memory storage of correspondence position are write the memory device of correspondence according to information;
(h ') is after this second storage system restarts, this first storage system stops to provide the servo function of this second storage system, and the data that the needs of the disk cache of this first storage system storage are write the memory device of this second storage system write the memory device of this second storage system; And
(i ') this first storage system stops to take over the memory device of this second storage system, the data of the disk cache of this first storage system storage are write the memory device of this first storage system, remove this reserve area canned data, and execution in step (a ').
3, the Data Protection method of the high-speed cache of storage system as claimed in claim 1, wherein step (b) also comprises following steps:
When the data of write storage device are not written to memory device in the disk cache that monitors this first storage system, the sequence number of storing the disk cache description entry of these data is added into the removing tabulation that is created in this first storage system;
When monitoring the user when storing data, read this removing tabulation to disk cache;
When this removing list records has the sequence number of the disk cache description entry that needs deletion, send the delete command of the sequence number that comprises the disk cache description entry that needs delete to this second storage system to removing each sequence number in the tabulation;
Receive and resolve this delete command, delete the data of the correspondence of this second storage system storage according to this delete command;
According to the interpolation that monitors or upgrade that operation sends the sequence number that comprises data content, disk cache description entry, memory device that the disk cache description entry need write number and in the interpolation of the positional information of memory device or update command to this second storage system; And
Receive and resolve this interpolation or update command, in this second storage system, add or upgrade the data of correspondence according to this interpolation or update command.
4, the Data Protection method of the high-speed cache of storage system as claimed in claim 1, wherein step (d) also comprises following steps:
When monitoring the user when storing data, with the sequence number of the disk cache description entry of storage data inlet sequence number as this reserve area to disk cache;
Storage comprises memory device that data need write number and the information of data in the position of memory device enters the mouth to this; And
When the data of write storage device are not written to memory device in monitoring disk cache, the sequence number of the disk cache description entry of these data of storage as the inlet sequence number of this reserve area, is removed this inlet canned data.
CNB2005100488054A 2005-12-28 2005-12-28 Protection method for caching data of memory system Expired - Fee Related CN100426246C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005100488054A CN100426246C (en) 2005-12-28 2005-12-28 Protection method for caching data of memory system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005100488054A CN100426246C (en) 2005-12-28 2005-12-28 Protection method for caching data of memory system

Publications (2)

Publication Number Publication Date
CN1991776A CN1991776A (en) 2007-07-04
CN100426246C true CN100426246C (en) 2008-10-15

Family

ID=38214047

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100488054A Expired - Fee Related CN100426246C (en) 2005-12-28 2005-12-28 Protection method for caching data of memory system

Country Status (1)

Country Link
CN (1) CN100426246C (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9824091B2 (en) 2010-12-03 2017-11-21 Microsoft Technology Licensing, Llc File system backup using change journal
US8620894B2 (en) 2010-12-21 2013-12-31 Microsoft Corporation Searching files
US8627025B2 (en) * 2010-12-21 2014-01-07 Microsoft Corporation Protecting data during different connectivity states
CN102184145B (en) 2011-05-13 2013-04-17 杭州华三通信技术有限公司 Zero restart-data loss method and device
US9229818B2 (en) 2011-07-20 2016-01-05 Microsoft Technology Licensing, Llc Adaptive retention for backup data
CN103049407B (en) * 2012-12-27 2016-07-13 华为技术有限公司 Date storage method, Apparatus and system
CN103605753B (en) * 2013-11-22 2017-11-07 中国技术交易所有限公司 Concentrate Ask-Bid System data-storage system and storage method
CN104699579A (en) * 2015-03-20 2015-06-10 浪潮集团有限公司 Method for testing cache data protection function for system battery

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5623625A (en) * 1995-09-13 1997-04-22 Compaq Computer Corporation Computer network server backup with posted write cache disk controllers
US5784548A (en) * 1996-03-08 1998-07-21 Mylex Corporation Modular mirrored cache memory battery backup system
US6438647B1 (en) * 2000-06-23 2002-08-20 International Business Machines Corporation Method and apparatus for providing battery-backed immediate write back cache for an array of disk drives in a computer system
US20030212921A1 (en) * 2002-05-08 2003-11-13 Howe Steven M. Write cache recovery after loss of power
CN1521636A (en) * 2003-05-02 2004-08-18 威盛电子股份有限公司 A high-speed buffer and method for reading data from high-speed buffer and computation logic thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5623625A (en) * 1995-09-13 1997-04-22 Compaq Computer Corporation Computer network server backup with posted write cache disk controllers
US5784548A (en) * 1996-03-08 1998-07-21 Mylex Corporation Modular mirrored cache memory battery backup system
US6438647B1 (en) * 2000-06-23 2002-08-20 International Business Machines Corporation Method and apparatus for providing battery-backed immediate write back cache for an array of disk drives in a computer system
US20030212921A1 (en) * 2002-05-08 2003-11-13 Howe Steven M. Write cache recovery after loss of power
CN1521636A (en) * 2003-05-02 2004-08-18 威盛电子股份有限公司 A high-speed buffer and method for reading data from high-speed buffer and computation logic thereof

Also Published As

Publication number Publication date
CN1991776A (en) 2007-07-04

Similar Documents

Publication Publication Date Title
CN100426246C (en) Protection method for caching data of memory system
CN101183801B (en) Power-off protection method, system and device
US8261036B2 (en) Storage system comprising function for reducing power consumption
CN100456253C (en) Protection method for caching data of memory system
US8453000B2 (en) Method and system for reducing power consumption in an emergency shut-down situation
US8838918B2 (en) Information processing apparatus and data backup method
US8275930B2 (en) Storage system having volatile memory and non-volatile memory
US8166247B2 (en) Data vaulting in emergency shutdown
CN102779080B (en) Method for generating snapshot, method and device for data recovery by using snapshot
US20080005461A1 (en) Power-saving control apparatus, power-saving control method, and computer product
US8001343B2 (en) Storage device with power control function
CN101788936B (en) Snapshot backup and restoration method and device when in running of mobile terminal
CN100474271C (en) Multi-level buffering type memory system and method therefor
CN106294007B (en) Data recovery method and device
WO2016095372A1 (en) Method and apparatus for realizing image backup of transaction logs
CN103500130A (en) Method for backing up dual-computer hot standby data in real time
CN101739311A (en) Method and device for carrying out safety backup on memory data
JP2010282468A (en) Computer system and fault restoration method
US20080016274A1 (en) Method of protecting cache memory data in storage system
US20220334733A1 (en) Data restoration method and related device
JP2010160654A (en) Cache memory backup device, method and program
US7360016B2 (en) Method of protecting data in cache memory of storage system
CN109445561B (en) Power failure protection system and method applied to server and server
CN101937378A (en) Method for carrying out back-up protection on data of storage equipment and computer system
US7600151B2 (en) RAID capacity expansion interruption recovery handling method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20191031

Address after: East area, 8th floor, No.19, Lane 299, Guanghua Road, Ningbo national high tech Zone, Ningbo City, Zhejiang Province

Patentee after: Ningbo cas message technology applied research institute

Address before: Taipei City, Taiwan, China

Patentee before: Yingda Co., Ltd.

TR01 Transfer of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20081015

Termination date: 20191228

CF01 Termination of patent right due to non-payment of annual fee