CN104536846A - Data backing up method and device - Google Patents

Data backing up method and device Download PDF

Info

Publication number
CN104536846A
CN104536846A CN201410787558.9A CN201410787558A CN104536846A CN 104536846 A CN104536846 A CN 104536846A CN 201410787558 A CN201410787558 A CN 201410787558A CN 104536846 A CN104536846 A CN 104536846A
Authority
CN
China
Prior art keywords
standby host
main frame
difference
host
synchronous
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.)
Pending
Application number
CN201410787558.9A
Other languages
Chinese (zh)
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.)
Hangzhou Huawei Digital Technologies Co Ltd
Original Assignee
Hangzhou Huawei Digital Technologies Co Ltd
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 Hangzhou Huawei Digital Technologies Co Ltd filed Critical Hangzhou Huawei Digital Technologies Co Ltd
Priority to CN201410787558.9A priority Critical patent/CN104536846A/en
Publication of CN104536846A publication Critical patent/CN104536846A/en
Pending legal-status Critical Current

Links

Abstract

The embodiment of the invention discloses a data backing up method and device, and relates to the technical field of electronic information technologies. By means of the data backing up method and device, a difference backing up machine can store difference logs just with a smaller storage space, and thus system resources are saved. The data backing up method includes the steps that a mainframe detects whether the mainframe and the backing up machine can be synchronized or not; if not, the mainframe sends the difference logs to the difference backing up machine, so that the difference backing up machine can store the difference logs conveniently; the difference logs are used for describing difference data generated by the mainframe after the mainframe and the backing up machine cannot be synchronized; the difference data comprise mainframe change data generated after the mainframe and the backing up machine cannot be synchronized. The data backing up method and device are suitable for a storage system.

Description

A kind of method of Backup Data and device
Technical field
The present invention relates to electronic information technical field, particularly relate to a kind of method and device of Backup Data.
Background technology
At present, in the deployment of database, in order to the security of data, need to back up for the data in main frame, and by backup data store in standby host, and keep the former data syn-chronization in the Backup Data in standby host and main frame.So that when main frame cisco unity malfunction, former standby host is upgraded to new main frame, replace the original host of cisco unity malfunction.
But, also there will be main frame and all disabled situation of standby host, if the data in main frame are data relevant with the business that main frame provides, then business will be interrupted, therefore in order to ensure the continuity that business performs, multiple standby host can be disposed, by the data backup in main frame many parts in a lot of database.Such as: as shown in Figure 1, when main frame and standby host 1 normally work, main frame by real time data synchronization to standby host 1, when main frame cisco unity malfunction, because standby host 1 has the partial data of original host, therefore former standby host 1 upgrades to new main frame, takes over original host and continues to provide business, and original host is downgraded to new standby host simultaneously; Also standby host 2 can be disposed, when standby host 1 fault, when main frame and standby host 2 normally work, main frame can by real time data synchronization to standby host 2, and main frame still can continue to provide business, when main frame can not provide business, because standby host 2 has the partial data of original host, therefore former standby host 2 upgrades to new main frame, takes over original host and continues to provide business, and original host is downgraded to new standby host simultaneously.
As can be seen here, dispose multiple standby host to ensure the security of data in main frame, need the data backup in main frame many parts and be stored on multiple standby host respectively, such as: dispose 1 main frame and N number of standby host.When main frame only needs to take 1 part of storage space, N number of standby host just needs to take N part storage space, and therefore, when disposing multiple standby host, standby host needs to take many parts of storage spaces, thus at substantial system resource.
Summary of the invention
The embodiment of the present invention provides a kind of method and device of Backup Data, difference standby host can be made only to need to take less storage space store discrepancy daily record, thus save system resource.
For achieving the above object, the embodiment of the present invention adopts following technical scheme:
First aspect, the embodiment of the present invention provides a kind of method of Backup Data, described method is used for a kind of storage system, described storage system at least comprises: main frame, standby host and difference standby host, described main frame is connected with described difference standby host with described standby host, and described standby host is for storing the Backup Data of described main frame; Described method comprises:
Whether described Host Detection can carry out synchronous with described standby host;
If not, then difference log sends to described difference standby host by described main frame, so that described difference standby host stores described difference log, described difference log for describe described main frame and described standby host cannot synchronous after, the variance data that described main frame produces, described variance data comprises: described main frame and described standby host cannot synchronous after, the data that described main frame changes.
In conjunction with first aspect, in the first possible implementation of first aspect, also comprise:
When described main frame recovers synchronous with described standby host, described difference log sends to described standby host by described main frame, so that described standby host carries out synchronous according to described difference log with described main frame.
In conjunction with first aspect, in the implementation that the second of first aspect is possible, also comprise:
When described main frame recovers synchronous with described standby host, described main frame sends the first notice to described difference standby host, the described difference log stored sends to described standby host, so that described standby host carries out synchronous according to described difference log with described main frame for triggering described difference standby host by described first notice.
In conjunction with the first possible implementation of first aspect, or the implementation that the second of first aspect is possible, in the third possible implementation of first aspect, also comprise:
When described main frame and described standby host recover synchronous after, described Host Detection whether receive described standby host send feedback information, described feedback information is for representing that described standby host completes synchronous according to described difference log with described main frame;
If described main frame receives described feedback information, then described main frame sends the second notice to described difference standby host, and described second notice deletes for triggering described difference standby host the described difference log stored.
Second aspect, the embodiment of the present invention provides the method for another kind of Backup Data, described method is used for a kind of storage system, described storage system at least comprises: main frame, standby host and difference standby host, described main frame is connected with described difference standby host with described standby host, and described standby host is for storing the Backup Data of described main frame; Described method comprises:
Described difference standby host receives the difference log that described main frame sends, described difference log for describe described main frame and described standby host cannot synchronous after, the variance data that described main frame produces, described variance data comprises: described main frame and described standby host cannot synchronous after, the data that described main frame changes;
Described difference standby host stores described difference log.
In conjunction with second aspect, in the first possible implementation of second aspect, also comprise:
Described difference standby host detects whether receive the first notice, and described first notice is sent to described difference standby host by described main frame when described main frame recovers synchronous with described standby host by described main frame;
If so, then the described difference log stored sends to described standby host, so that described standby host carries out synchronous according to described difference log with described main frame by described difference standby host.
In conjunction with second aspect, in the implementation that the second of second aspect is possible, also comprise:
Described difference standby host detects the second notice whether receiving described main frame and send, described second notice is sent after receiving described standby host transmission feedback information by described main frame, described feedback information be used for represent when described main frame and described standby host recover synchronous after, described standby host completes synchronous according to described difference log with described main frame;
If so, then described difference standby host deletes the described difference log stored.
In conjunction with second aspect, in the third possible implementation of second aspect, described standby host is also for upgrading to new main frame;
Described method also comprises:
Described difference standby host detects whether receive update request, and described update request is sent to described difference standby host when upgrading to described new main frame by described standby host;
If so, then connect with described standby host and send described difference log to described standby host, so that described standby host upgrades the data of described standby host according to described difference log, and after completing renewal, upgrading to described new main frame.
In conjunction with the third possible implementation of second aspect, in the 4th kind of possible implementation of second aspect, also comprise:
Described difference standby host detects the third notice whether receiving described standby host and send, and described third notice is sent to described difference standby host after upgrading to described new main frame by described standby host;
If so, then described difference standby host deletes the described difference log stored.
The third aspect, the embodiment of the present invention provides a kind of device of Backup Data, described device is used for a kind of storage system, described storage system at least comprises: main frame, standby host and difference standby host, described main frame is connected with described difference standby host with described standby host, and described standby host is for storing the Backup Data of described main frame; Described device comprises:
Whether first detection module, can carry out synchronous with described standby host for detecting;
First sending module, if for described Host Detection to carrying out synchronous with described standby host, then difference log is sent to described difference standby host, so that described difference standby host stores described difference log, described difference log for describe described main frame and described standby host cannot synchronous after, the variance data that described main frame produces, described variance data comprises: described main frame and described standby host cannot synchronous after, the data that described main frame changes.
In conjunction with the third aspect, in the first possible implementation of the third aspect, also comprise:
Second sending module, for when described main frame recovers synchronous with described standby host, sends described difference log to described standby host, so that described standby host carries out synchronous according to described difference log with described main frame.
In conjunction with the third aspect, in the implementation that the second of the third aspect is possible, also comprise:
3rd sending module, for when described main frame recovers synchronous with described standby host, the first notice is sent to described difference standby host, the described difference log stored sends to described standby host, so that described standby host carries out synchronous according to described difference log with described main frame for triggering described difference standby host by described first notice.
In conjunction with the first possible implementation of the third aspect, or the implementation that the second of the third aspect is possible, in the third possible implementation of the third aspect, also comprise:
Second detection module, for recover when described main frame and described standby host synchronous after, detect whether receive described standby host send feedback information, described feedback information is for representing that described standby host completes synchronous according to described difference log with described main frame;
4th sending module, if receive described feedback information for described main frame, then sends the second notice to described difference standby host, and described second notice deletes for triggering described difference standby host the described difference log stored.
Fourth aspect, the embodiment of the present invention provides a kind of device of Backup Data, described device is used for a kind of storage system, described storage system at least comprises: main frame, standby host and difference standby host, described main frame is connected with described difference standby host with described standby host, and described standby host is for storing the Backup Data of described main frame; Described device comprises:
Receiver module, for receiving the difference log that described main frame sends, described difference log for describe described main frame and described standby host cannot synchronous after, the variance data that described main frame produces, described variance data comprises: described main frame and described standby host cannot synchronous after, the data that described main frame changes;
Memory module, for storing described difference log.
In conjunction with fourth aspect, in the first possible implementation of fourth aspect, also comprise:
3rd detection module, for detecting whether receive the first notice, described first notice is sent to described difference standby host by described main frame when described main frame recovers synchronous with described standby host by described main frame;
5th sending module, if for detecting that described difference standby host receives described first notice, then send the described difference log stored to described standby host, so that described standby host carries out synchronous according to described difference log with described main frame.
In conjunction with fourth aspect, in the implementation that the second of fourth aspect is possible, also comprise:
4th detection module, for detecting the second notice whether receiving described main frame and send, described second notice is sent after receiving described standby host transmission feedback information by described main frame, described feedback information be used for represent when described main frame and described standby host recover synchronous after, described standby host completes synchronous according to described difference log with described main frame;
First removing module, if for detecting that described difference standby host receives the second notice of described main frame transmission, then delete the described difference log of storage.
In conjunction with fourth aspect, in the third possible implementation of fourth aspect, described standby host is also for upgrading to new main frame;
Described device also comprises:
5th detection module, for detecting whether receive update request, described update request is sent to described difference standby host when upgrading to described new main frame by described standby host;
6th sending module, if for detecting that described difference standby host receives described update request, then connect with described standby host and send described difference log to described standby host, so that described standby host upgrades the data of described standby host according to described difference log, and after completing renewal, upgrade to described new main frame.
In conjunction with the third possible implementation of fourth aspect, in the 4th kind of possible implementation of fourth aspect, also comprise:
6th detection module, for detecting the third notice whether receiving described standby host and send, described third notice is sent to described difference standby host after upgrading to described new main frame by described standby host;
Second removing module, if for detecting that described difference standby host receives the third notice of described standby host transmission, then delete the described difference log of storage.
The embodiment of the present invention provides a kind of method and device of Backup Data, whether can carry out synchronous with standby host by Host Detection, when main frame and standby host cannot synchronous time, difference log sends to difference standby host by main frame, so that the daily record of difference standby host store discrepancy, or by the difference log that difference standby host Receiving Host sends, and store this difference log by difference standby host.Be compared to prior art, the embodiment of the present invention can main frame and standby host cannot synchronous time, the variance data produced sends to difference standby host by main frame, or the difference log that difference standby host Receiving Host sends also stores, make difference standby host only need to take less storage space store discrepancy daily record, thus save system resource.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, be briefly described to the accompanying drawing used required in embodiment below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
A kind of embody rule scene schematic diagram that Fig. 1 provides for prior art;
A kind of embody rule scene schematic diagram that Fig. 2 provides for the embodiment of the present invention;
The method flow diagram of a kind of Backup Data that Fig. 3 provides for the embodiment of the present invention;
The method flow diagram of the another kind of Backup Data that Fig. 4 provides for the embodiment of the present invention;
The method flow diagram of the another kind of Backup Data that Fig. 5 provides for the embodiment of the present invention;
The method flow diagram of the another kind of Backup Data that Fig. 6 provides for the embodiment of the present invention;
The method flow diagram of the another kind of Backup Data that Fig. 7 provides for the embodiment of the present invention;
The method flow diagram of the another kind of Backup Data that Fig. 8 provides for the embodiment of the present invention;
The method flow diagram of the another kind of Backup Data that Fig. 9 provides for the embodiment of the present invention;
The method flow diagram of the another kind of Backup Data that Figure 10 provides for the embodiment of the present invention;
The method flow diagram of the another kind of Backup Data that Figure 11 provides for the embodiment of the present invention;
The method flow diagram of the another kind of Backup Data that Figure 12 provides for the embodiment of the present invention;
The structure drawing of device of a kind of Backup Data that Figure 13 provides for the embodiment of the present invention;
The structure drawing of device of the another kind of Backup Data that Figure 14 provides for the embodiment of the present invention;
The structure drawing of device of the another kind of Backup Data that Figure 15 provides for the embodiment of the present invention;
The structure drawing of device of the another kind of Backup Data that Figure 16 provides for the embodiment of the present invention;
The structure drawing of device of the another kind of Backup Data that Figure 17 provides for the embodiment of the present invention;
The structure drawing of device of the another kind of Backup Data that Figure 18 provides for the embodiment of the present invention;
The structure drawing of device of the another kind of Backup Data that Figure 19 provides for the embodiment of the present invention;
The structure drawing of device of the another kind of Backup Data that Figure 20 provides for the embodiment of the present invention;
The structure drawing of device of the another kind of Backup Data that Figure 21 provides for the embodiment of the present invention;
The structure drawing of device of the another kind of Backup Data that Figure 22 provides for the embodiment of the present invention;
The structural representation of a kind of main process equipment that Figure 23 provides for the embodiment of the present invention;
The structural representation of the species diversity standby host equipment that Figure 24 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making other embodiments all obtained under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the present invention provides a kind of method of Backup Data, the method may be used for a kind of storage system, and this storage system at least comprises: main frame, standby host and difference standby host, wherein, main frame is connected with difference standby host with standby host, and standby host is used for the Backup Data of storage host.Such as: storage system as shown in Figure 2 comprises a main frame, a standby host and a difference standby host, main frame is connected with standby host, main frame may be used for storing data and provides read-write business service for accessing other equipment of storage system, and the data relevant with performing business service are sent to standby host, standby host receives the synchrodata of backup and stores, when main frame normally cannot perform business, former standby host can be upgraded to new main frame and continue execution business; Main frame is connected with difference standby host, when main frame can not carry out synchronous with standby host, the data relevant to provided business of generation send to difference standby host, and difference standby host receives the variance data of backup and stores, so that main frame and standby host recover synchronous after, standby host carries out synchronous with main frame.
It should be noted that, also multiple standby host can be comprised in storage system, such as: storage system comprises a main frame, standby host 1, standby host 2 and a difference standby host, main frame and standby host 1, standby host 2 is connected with difference standby host, the data relevant with performing business service are backuped to standby host 1 and standby host 2 by main frame respectively, standby host 1 and standby host 2 receive the synchrodata of backup and store, when main frame normally cannot perform business, former standby host 1 or former standby host 2 can be upgraded to new main frame and continue execution business, when standby host 1 cannot with host synchronization time, main frame continues to back up data to standby host 2, now, if former standby host needs to upgrade to new main frame, then former standby host 2 directly upgrades to new main frame, when standby host 2 cannot with host synchronization time, main frame continues to back up data to standby host 1, and now, if former standby host needs to upgrade to new main frame, then former standby host 1 directly upgrades to new main frame, when standby host 1 and standby host 2 all cannot with host synchronization time, variance data is backuped to difference standby host by main frame, and now, if former standby host needs to upgrade to new main frame, then variance data sends to standby host 1 and/or standby host 2 by difference standby host.
Also multiple difference standby host can be comprised in storage system, such as: storage system comprises a main frame, a standby host, difference standby host 1 and difference standby host 2, main frame and standby host, difference standby host 1 is connected with difference standby host 2, the data relevant with performing business service are backuped to standby host by main frame, standby host receives the synchrodata of backup and stores, when main frame normally cannot perform business, former standby host can be upgraded to new main frame and continue execution business, when standby host cannot with host synchronization time, variance data is backuped to difference standby host 1 by main frame, now, if former standby host needs to upgrade to new main frame, then variance data sends to former standby host by difference standby host 1, when standby host cannot with host synchronization, and main frame is when cannot backup to difference standby host 1 by variance data, variance data is backuped to difference standby host 2 by main frame, now, if former standby host needs to upgrade to new main frame, then respective variance data sends to former standby host by difference standby host 1 and difference standby host 2.
The method of the Backup Data that the embodiment of the present invention provides, as shown in Figure 3, can comprise:
101, whether described Host Detection can carry out synchronous with described standby host.
Perform in the process of business at main frame, main frame needs the data relevant to provided business produced to send to standby host, thus realizes the synchronous of main frame and standby host.
In embodiments of the present invention, whether main frame can receive the synchronized result that standby host returns and judge whether main frame can carry out synchronous with standby host by detecting, such as: main frame sends request order to standby host, thus triggering standby host when receiving data that main frame sends and complete main frame and standby host synchronous, standby host returns synchronized result to main frame.Wherein, the data that needing in main frame backups to standby host have more than and are defined in the data relevant with performing business service, can set according to concrete application scenarios.In embodiments of the present invention, cause main frame can not carry out synchronous reason with standby host and do not limit, such as: standby host breaks down, standby host rolls off the production line safeguards; Also can be that connection between main frame and standby host is broken down, and cause between main frame and standby host cannot normal interaction data.
If 102 described Host Detections are to carrying out synchronous with described standby host, then difference log sends to described difference standby host by described main frame, so that described difference standby host stores described difference log.
Wherein, described difference log for describe described main frame and described standby host cannot synchronous after, the variance data that described main frame produces, described variance data comprises: described main frame and described standby host cannot synchronous after, the data that described main frame changes.The data of main frame change in time and constantly update, main frame and standby host cannot synchronous after, the data of main frame still change in time and constantly update, and the data now constantly updated are the data that main frame changes, i.e. described variance data.It should be noted that, the content of daily record is used for reflecting the situation of change of data and storage relation etc., and the content of difference log is used for reflecting the variation relation of variance data and storage relation etc.
The data relevant to provided business produced send to standby host by main frame in real time, when Host Detection can not be synchronized to standby host to data, such as: when standby host occurs delaying machine fault, or when the connection between main frame and standby host is broken down, the data relevant to provided business produced cannot be sent to standby host by main frame, or standby host cannot receive the data that main frame sends, main frame cannot ensure the continuity that business performs, and standby host cannot with host synchronization, standby host can not return synchronized result to main frame.Now, the data relevant to provided business that main frame is constantly updated changing in time, the variance data namely produced generates difference log, and difference log is sent to difference standby host, difference log, after receiving difference log, is stored in difference standby host by difference standby host.
If described Host Detection is to carrying out synchronous with described standby host, then described main frame does not send any data to described difference standby host.
It should be noted that, as shown in Figure 1, in prior art, the data of main frame need backup two parts, are stored on standby host 1 and standby host 2 respectively; As shown in Figure 2, in the embodiment of the present invention, the data of main frame only need backup a, and wherein, variance data is stored on difference standby host, and the data that standby host stores and variance data merge the data that can obtain main frame.
Whether the embodiment of the present invention provides a kind of method of Backup Data, can carry out synchronous with standby host by Host Detection, when main frame and standby host cannot synchronous time, difference log sends, so that the daily record of difference standby host store discrepancy to difference standby host by main frame.Be compared to prior art, the embodiment of the present invention can main frame and standby host cannot synchronous time, the variance data produced sends to difference standby host by main frame, makes difference standby host only need to take less storage space store discrepancy daily record, thus saves system resource.
In the embodiment of the present invention, when main frame recovers synchronous with standby host, on the basis of implementation as shown in Figure 3, can be implemented as implementation as shown in Figure 4:
103, when described main frame recovers synchronous with described standby host, described difference log sends to described standby host by described main frame, so that described standby host carries out synchronous according to described difference log with described main frame.
Main frame and standby host from cannot be synchronous recovering state become normally to carry out synchronous state time, difference log can send to standby host by main frame, standby host is after the difference log receiving main frame transmission, according to main frame and standby host cannot synchronous time standby host on the variance data that reverts to of the data that store and difference log, thus obtain the partial data relevant to provided business of main frame generation, make standby host can carry out synchronous with main frame.
Wherein, the particular content of described difference log is constantly updated in time, and namely described variance data comprises: the part that now data of main frame are not identical with the data that standby host stores.Such as: in the first moment, variance data A sends to difference standby host by main frame, and now, variance data is variance data A; In the second moment after the first moment, variance data B sends to difference standby host by main frame, and now, variance data is the variance data C after variance data A and variance data B merges.
The embodiment of the present invention provides a kind of method of Backup Data, whether can carry out synchronous with standby host by Host Detection, when main frame and standby host cannot synchronous time, difference log sends to difference standby host by main frame, so that the daily record of difference standby host store discrepancy, and when main frame recovers synchronous with standby host, difference log sends to standby host by main frame.Be compared to prior art, the embodiment of the present invention can main frame and standby host cannot synchronous time, the variance data produced sends to difference standby host by main frame, when main frame recovers synchronous with standby host, difference log sends to standby host by main frame, so that standby host carries out synchronous according to difference log with main frame, difference standby host is made only to need to take less storage space store discrepancy daily record, the data syn-chronization of utilization variance journal recovery standby host and main frame, thus in the process of data backup and date restoring, decrease the number of required Backup Data, thus save system resource.
In the embodiment of the present invention, when main frame recovers synchronous with standby host, on the basis of implementation as shown in Figure 3, implementation as shown in Figure 5 can also be embodied as:
104, when described main frame recovers synchronous with described standby host, described main frame sends the first notice to described difference standby host.
Wherein, the described difference log stored sends to described standby host, so that described standby host carries out synchronous according to described difference log with described main frame for triggering described difference standby host by described first notice.
Main frame and standby host from cannot be synchronous recovering state become normally to carry out synchronous state time, main frame can also notify difference standby host after receiving the synchronized result that standby host returns, thus connect between triggering difference standby host and standby host, and difference log sends to standby host by difference standby host, so that standby host carries out synchronous according to difference log with main frame.
It should be noted that, in storage system as shown in Figure 2, connection between standby host and difference standby host also can be set up in advance, such as: just automatically set up the connection between standby host and difference standby host when each device power in storage system and when carrying out initialization, also can need connect again when sending difference log to standby host at difference standby host.
The embodiment of the present invention provides a kind of method of Backup Data, whether can carry out synchronous with standby host by Host Detection, when main frame and standby host cannot synchronous time, difference log sends to difference standby host by main frame, so that the daily record of difference standby host store discrepancy, and when main frame recovers synchronous with standby host, host notification difference standby host sends difference log, and difference log sends to standby host by difference standby host.Be compared to prior art, the embodiment of the present invention can main frame and standby host cannot synchronous time, the variance data that difference standby host stores is sent to standby host, makes difference standby host only need to take less storage space store discrepancy daily record, thus save system resource.
In the embodiment of the present invention, when described main frame and described standby host recover synchronous after, on the basis of such as implementation shown in Fig. 4 or Fig. 5, implementation as is seen in fig. 6 or fig. 7 can also be embodied as:
105, when described main frame and described standby host recover synchronous after, described Host Detection whether receive described standby host send feedback information.
Wherein, described feedback information is for representing that described standby host completes synchronous according to described difference log with described main frame.
After difference log sends to standby host by main frame, or difference standby host receives the first notice that main frame sends, after the difference log stored is sent to standby host, main frame sends request order to standby host, thus triggering standby host, to recover with main frame according to difference log synchronous, and recover the standby host synchronously and send feedback information to main frame.
In embodiments of the present invention, when standby host is by reverting to variance data by the difference log received, and the partial data of main frame is obtained according to the data that standby host stores, thus make main frame and standby host from cannot be synchronous recovering state become and normally can carry out synchronous state, and when main frame and standby host recover synchronous after, standby host to main frame send represent standby host complete synchronous feedback information according to difference log and main frame.
Wherein, described in complete and synchronously refer to: main frame and standby host recover synchronous after, standby host upgrades the partial data obtaining main frame on the basis of the data stored, and needs in renewal process to use difference log.Such as: main frame and standby host recover synchronous after, the difference log received is reverted to variance data by standby host, the partial data obtaining main frame is merged with the data that standby host stores, and upgrade the data that standby host stores, make the data after the renewal that standby host stores and the data consistent on main frame, thus complete the synchronous of main frame and standby host.
If 106 described main frames receive described feedback information, then described main frame sends the second notice to described difference standby host.
Wherein, described second notice deletes for triggering described difference standby host the described difference log stored.
When main frame receives the feedback information of standby host transmission, main frame and standby host complete synchronous, main frame sends the second notice to the difference standby host of store discrepancy daily record, after difference standby host receives the second notice of main frame transmission, trigger difference standby host and delete the difference log stored, now difference standby host does not store the data relevant to provided business that any main frame produces, namely difference standby host does not take any storage space.
If described main frame does not receive described feedback information, then described main frame does not send any data to described difference standby host.
Whether the embodiment of the present invention provides a kind of method of Backup Data, can carry out synchronous with standby host by Host Detection, when main frame and standby host cannot synchronous time, difference log sends, so that the daily record of difference standby host store discrepancy to difference standby host by main frame; When standby host receives the difference log that main frame or difference standby host send, and main frame and standby host recovers synchronous after, the difference log of host notification difference standby host deletion storage.
In prior art, also there is the situation needing to delete Backup Data, especially when Backup Data has many parts, need the operations such as the Backup Data to many parts is read and write, deletion.Be compared to prior art, the embodiment of the present invention can main frame and standby host cannot synchronous time, the variance data produced sends to difference standby host by main frame, and main frame and standby host recover synchronous after, difference standby host deletes the difference log stored, difference standby host is made only to need to take less storage space store discrepancy daily record, and delete procedure for be also difference log, and the data volume of difference log is much smaller than Backup Data itself, decrease the data volume from required read-write in delete procedure, therefore the time needed for deleting after can reducing recovery synchronously, thus save system resource.
The method of the Backup Data that the embodiment of the present invention provides, as shown in Figure 8, can comprise:
201, described difference standby host receives the difference log that described main frame sends.
Wherein, described difference log for describe described main frame and described standby host cannot synchronous after, the variance data that described main frame produces, described variance data comprises: described main frame and described standby host cannot synchronous after, the data that described main frame changes.The data of main frame change in time and constantly update, main frame and standby host cannot synchronous after, the data of main frame still change in time and constantly update, and the data now constantly updated are the data that main frame changes, i.e. described variance data.It should be noted that, the content of daily record is used for reflecting the situation of change of data and storage relation etc., and the content of difference log is used for reflecting the variation relation of variance data and storage relation etc.
When main frame and standby host cannot synchronous time, the variance data relevant to provided business that main frame produces according to main frame generates difference log, and difference log is sent to difference standby host, the difference log that difference standby host Receiving Host sends.Wherein, the data that needing in main frame backups to standby host have more than and are defined in the data relevant with performing business service, can set according to concrete application scenarios.In embodiments of the present invention, cause main frame can not carry out synchronous reason with standby host and do not limit, such as: standby host breaks down, standby host rolls off the production line safeguards; Also can be that connection between main frame and standby host is broken down, and cause between main frame and standby host cannot normal interaction data.
202, described difference standby host stores described difference log.
Difference log after the difference log receiving main frame transmission, can be stored on difference standby host by difference standby host.It should be noted that, difference log after receiving difference log, can also be reverted to variance data and is stored on difference standby host by difference standby host.
The embodiment of the present invention provides a kind of method of Backup Data, the difference log sent by difference standby host Receiving Host, and stores this difference log by difference standby host.Be compared to prior art, the embodiment of the present invention can main frame and standby host cannot synchronous time, the difference log that difference standby host Receiving Host sends also stores, and makes difference standby host only need to take less storage space store discrepancy daily record, thus saves system resource.
In the embodiment of the present invention, after difference standby host receives difference log that main frame sends and stores, on the basis of implementation as shown in Figure 8, can be implemented as implementation as shown in Figure 9:
203, described difference standby host detects whether receive the first notice.
Wherein, described first notice is sent to described difference standby host by described main frame when described main frame recovers synchronous with described standby host by described main frame.
In embodiments of the present invention, when main frame and standby host from cannot be synchronous recovering state become normally to carry out synchronous state time, main frame and standby host are recovered synchronous message by main frame, and namely the first notice sends to difference standby host.
If 204 described difference standby hosts detect that difference standby host receives described first notice, then the described difference log stored sends to described standby host, so that described standby host carries out synchronous according to described difference log with described main frame by described difference standby host.
When difference standby host detects that difference standby host receives the first notice of main frame transmission, then the difference log of storage sends to standby host by difference standby host, or variance data is generated difference log and sends, so that standby host carries out synchronous according to difference log with main frame to standby host by difference standby host.
If described difference standby host does not detect that difference standby host receives described first notice, then described difference standby host does not send any data to described standby host.
The embodiment of the present invention provides a kind of method of Backup Data, by the difference log that difference standby host Receiving Host sends, and store this difference log by difference standby host, when difference standby host receives the first notice of main frame transmission, difference log sends to standby host by difference standby host, so that standby host carries out synchronous according to difference log with main frame.
In prior art, main frame needs daily record to send to multiple standby host.Be compared to prior art, the embodiment of the present invention can main frame and standby host cannot synchronous time, the difference log that difference standby host Receiving Host sends also stores, difference standby host is made only to need to take less storage space store discrepancy daily record, and when difference standby host receive main frame and standby host recover synchronous first notify time, difference standby host sends the difference log stored to standby host, decrease the data volume that main frame sends to standby host, the data volume of the difference log simultaneously sent to standby host by difference standby host also much smaller than Backup Data itself, thus saves system resource.
In the embodiment of the present invention, after difference standby host receives difference log that main frame sends and stores, on the basis of implementation as shown in Figure 8, implementation as shown in Figure 10 can also be embodied as:
205, described difference standby host detects the second notice whether receiving described main frame and send.
Wherein, described second notice is sent after feedback information by described main frame and sends receiving described standby host, described feedback information be used for representing when described main frame and described standby host recover synchronous after, described standby host completes synchronous according to described difference log with described main frame.
When main frame receives the feedback information of standby host transmission, main frame and standby host complete synchronous, and main frame sends the second notice to the difference standby host of store discrepancy daily record, and whether the detection of difference standby host receives second of main frame transmission notifies.
Wherein, described in complete and synchronously refer to: main frame and standby host recover synchronous after, standby host upgrades the partial data obtaining main frame on the basis of the data stored, and needs in renewal process to use difference log.Such as: main frame and standby host recover synchronous after, the difference log received is reverted to variance data by standby host, the partial data obtaining main frame is merged with the data that standby host stores, and upgrade the data that standby host stores, make the data after the renewal that standby host stores and the data consistent on main frame, thus complete the synchronous of main frame and standby host.
If 206 described difference standby hosts detect that difference standby host receives the second notice of described main frame transmission, then described difference standby host deletes the described difference log stored.
After difference standby host detects that difference standby host receives the second notice of main frame transmission, trigger difference standby host and delete the difference log stored, now difference standby host does not store the data relevant to provided business that any main frame produces, namely difference standby host does not take any storage space.
If described difference standby host does not detect that difference standby host receives the second notice of described main frame transmission, then described difference standby host does not delete the described difference log of storage.
The embodiment of the present invention provides a kind of method of Backup Data, by the difference log that difference standby host Receiving Host sends, and store this difference log by difference standby host, when difference standby host detects that difference standby host receives difference standby host when second of main frame transmission notifies and deletes the difference log stored.
In prior art, also there is the situation needing to delete Backup Data, especially when Backup Data has many parts, need the operations such as the Backup Data to many parts is read and write, deletion.Be compared to prior art, the embodiment of the present invention can main frame and standby host cannot synchronous time, the difference log that difference standby host Receiving Host sends also stores, difference standby host is made only to need to take less storage space store discrepancy daily record, and delete procedure for be also difference log, and the data volume of difference log is much smaller than Backup Data itself, decrease the data volume from required read-write in delete procedure, therefore the time needed for deleting after can reducing recovery synchronously, thus save system resource.
In the embodiment of the present invention, described standby host, also for upgrading to new main frame, therefore, on the basis of implementation as shown in Figure 8, can also be embodied as implementation as shown in figure 11:
207, described difference standby host detects whether receive update request.
Wherein, described update request is sent to described difference standby host when upgrading to described new main frame by described standby host.
In embodiments of the present invention, when main frame can not continue to provide service, in order to ensure the continuity of business, needing former standby host to upgrade to new main frame, and original host is downgraded to new standby host, new main frame sends update request to difference standby host.
If 208 described difference standby hosts detect that difference standby host receives update request, then connect with described standby host and send described difference log to described standby host, so that described standby host upgrades the data of described standby host according to described difference log, and after completing renewal, upgrade to described new main frame.
After difference standby host detects that difference standby host receives the update request of standby host transmission, difference standby host and standby host connect, and the difference log of storage is sent to standby host, the daily record that standby host is stored according to difference log and standby host obtains complete daily record and obtains the partial data of main frame, thus complete renewal, and upgrade to new main frame.
If described difference standby host does not detect that difference standby host receives update request, then described difference standby host does not send described difference log to described standby host.
The embodiment of the present invention provides a kind of method of Backup Data, by the difference log that difference standby host Receiving Host sends, and store this difference log by difference standby host, when difference standby host detects that difference standby host receives update request, difference standby host and standby host connect and send difference log.
In prior art, main frame needs daily record to send to multiple standby host.Be compared to prior art, the embodiment of the present invention can main frame and standby host cannot synchronous time, the difference log that difference standby host Receiving Host sends also stores, difference standby host is made only to need to take less storage space store discrepancy daily record, and when difference standby host detects that difference standby host receives update request, difference standby host and standby host connect and send difference log, so that standby host upgrades the data of standby host according to difference log, and after completing renewal, upgrade to new main frame, because the data volume of difference log is much smaller than Backup Data itself, because this reducing the data volume that main frame sends to standby host, thus save system resource.
In the embodiment of the present invention, after difference standby host receives difference log that main frame sends and stores, on the basis of implementation as shown in figure 11, implementation as shown in figure 12 can also be embodied as:
209, described difference standby host detects the third notice whether receiving described standby host and send.
Wherein, described third notice is sent to described difference standby host after upgrading to described new main frame by described standby host.
In embodiments of the present invention, if standby host and difference standby host do not connect, then former standby host upgraded to new main frame and connect with difference standby host; And original host is downgraded to the message of new standby host, i.e. third notice, and delete the message of the difference log stored for triggering difference standby host, send to difference standby host.
If 210 described difference standby hosts detect that difference standby host receives the third notice of described standby host transmission, then described difference standby host deletes the described difference log stored.
If described difference standby host does not detect that difference standby host receives the third notice of described standby host transmission, then described difference standby host does not delete the described difference log of storage.
The embodiment of the present invention provides a kind of method of Backup Data, by the difference log that difference standby host Receiving Host sends, and store this difference log by difference standby host, when difference standby host detects that difference standby host receives the third notice of standby host transmission, difference standby host deletes the difference log stored.
In prior art, also there is the situation needing to delete Backup Data, especially when Backup Data has many parts, need the operations such as the Backup Data to many parts is read and write, deletion.Be compared to prior art, the embodiment of the present invention can main frame and standby host cannot synchronous time, the difference log that difference standby host Receiving Host sends also stores, difference standby host is made only to need to take less storage space store discrepancy daily record, and delete procedure for be also difference log, and the data volume of difference log is much smaller than Backup Data itself, decrease the data volume from required read-write in delete procedure, therefore the time needed for deleting after can reducing standby host upgrading main frame, thus save system resource.
The embodiment of the present invention provides a kind of device 30 of Backup Data, described device 30 is for a kind of storage system, described storage system at least comprises: main frame, standby host and difference standby host, described main frame is connected with described difference standby host with described standby host, and described standby host is for storing the Backup Data of described main frame; As shown in figure 13, described device 30 comprises:
Whether first detection module 301, can carry out synchronous with described standby host for detecting.
First sending module 302, if for described Host Detection to carrying out synchronous with described standby host, then difference log is sent to described difference standby host, so that described difference standby host stores described difference log, described difference log for describe described main frame and described standby host cannot synchronous after, the variance data that described main frame produces, described variance data comprises: described main frame and described standby host cannot synchronous after, the data that described main frame changes.
Whether the embodiment of the present invention provides a kind of device of Backup Data, can carry out synchronous with standby host by Host Detection, when main frame and standby host cannot synchronous time, difference log sends, so that the daily record of difference standby host store discrepancy to difference standby host by main frame.Be compared to prior art, the embodiment of the present invention can main frame and standby host cannot synchronous time, the variance data produced sends to difference standby host by main frame, makes difference standby host only need to take less storage space store discrepancy daily record, thus saves system resource.
In the embodiment of the present invention, on basis as shown in fig. 13 that, described device 30 can also comprise as shown in figure 14:
Second sending module 303, for when described main frame recovers synchronous with described standby host, sends described difference log to described standby host, so that described standby host carries out synchronous according to described difference log with described main frame.
The embodiment of the present invention provides a kind of device of Backup Data, whether can carry out synchronous with standby host by Host Detection, when main frame and standby host cannot synchronous time, difference log sends to difference standby host by main frame, so that the daily record of difference standby host store discrepancy, and when main frame recovers synchronous with standby host, difference log sends to standby host by main frame.Be compared to prior art, the embodiment of the present invention can main frame and standby host cannot synchronous time, the variance data produced sends to difference standby host by main frame, when main frame recovers synchronous with standby host, difference log sends to standby host by main frame, so that standby host carries out synchronous according to difference log with main frame, difference standby host is made only to need to take less storage space store discrepancy daily record, the data syn-chronization of utilization variance journal recovery standby host and main frame, thus in the process of data backup and date restoring, decrease the number of required Backup Data, thus save system resource.
In the embodiment of the present invention, on basis as shown in fig. 13 that, described device 30 can also comprise as shown in figure 15:
3rd sending module 304, for when described main frame recovers synchronous with described standby host, the first notice is sent to described difference standby host, the described difference log stored sends to described standby host, so that described standby host carries out synchronous according to described difference log with described main frame for triggering described difference standby host by described first notice.
The embodiment of the present invention provides a kind of device of Backup Data, whether can carry out synchronous with standby host by Host Detection, when main frame and standby host cannot synchronous time, difference log sends to difference standby host by main frame, so that the daily record of difference standby host store discrepancy, and when main frame recovers synchronous with standby host, host notification difference standby host sends difference log, and difference log sends to standby host by difference standby host.Be compared to prior art, the embodiment of the present invention can main frame and standby host cannot synchronous time, the variance data that difference standby host stores is sent to standby host, makes difference standby host only need to take less storage space store discrepancy daily record, thus save system resource.
In the embodiment of the present invention, on the basis such as shown in Figure 14 or Figure 15, as described in as shown in Figure 16 or Figure 17, device 30 can also comprise:
Second detection module 305, for recover when described main frame and described standby host synchronous after, detect whether receive described standby host send feedback information, described feedback information is for representing that described standby host completes synchronous according to described difference log with described main frame.
4th sending module 306, if receive described feedback information for described main frame, then sends the second notice to described difference standby host, and described second notice deletes for triggering described difference standby host the described difference log stored.
Whether the embodiment of the present invention provides a kind of device of Backup Data, can carry out synchronous with standby host by Host Detection, when main frame and standby host cannot synchronous time, difference log sends, so that the daily record of difference standby host store discrepancy to difference standby host by main frame; When standby host receives the difference log that main frame or difference standby host send, and main frame and standby host recovers synchronous after, the difference log of host notification difference standby host deletion storage.
In prior art, also there is the situation needing to delete Backup Data, especially when Backup Data has many parts, need the operations such as the Backup Data to many parts is read and write, deletion.Be compared to prior art, the embodiment of the present invention can main frame and standby host cannot synchronous time, the variance data produced sends to difference standby host by main frame, and main frame and standby host recover synchronous after, difference standby host deletes the difference log stored, difference standby host is made only to need to take less storage space store discrepancy daily record, and delete procedure for be also difference log, and the data volume of difference log is much smaller than Backup Data itself, decrease the data volume from required read-write in delete procedure, therefore the time needed for deleting after can reducing recovery synchronously, thus save system resource.
The embodiment of the present invention also provides a kind of device 40 of Backup Data, described device 40 is for a kind of storage system, described storage system at least comprises: main frame, standby host and difference standby host, described main frame is connected with described difference standby host with described standby host, and described standby host is for storing the Backup Data of described main frame; As shown in figure 18, described device 40 comprises:
Receiver module 401, for receiving the difference log that described main frame sends, described difference log for describe described main frame and described standby host cannot synchronous after, the variance data that described main frame produces, described variance data comprises: described main frame and described standby host cannot synchronous after, the data that described main frame changes.
Memory module 402, for storing described difference log.
The embodiment of the present invention provides a kind of device of Backup Data, the difference log sent by difference standby host Receiving Host, and stores this difference log by difference standby host.Be compared to prior art, the embodiment of the present invention can main frame and standby host cannot synchronous time, the difference log that difference standby host Receiving Host sends also stores, and makes difference standby host only need to take less storage space store discrepancy daily record, thus saves system resource.
In the embodiment of the present invention, on basis as shown in figure 18, described device 40 can also comprise as shown in figure 19:
3rd detection module 403, for detecting whether receive the first notice, described first notice is sent to described difference standby host by described main frame when described main frame recovers synchronous with described standby host by described main frame.
5th sending module 404, if for detecting that described difference standby host receives described first notice, then send the described difference log stored to described standby host, so that described standby host carries out synchronous according to described difference log with described main frame.
The embodiment of the present invention provides a kind of device of Backup Data, by the difference log that difference standby host Receiving Host sends, and store this difference log by difference standby host, when difference standby host receives the first notice of main frame transmission, difference log sends to standby host by difference standby host, so that standby host carries out synchronous according to difference log with main frame.
In prior art, main frame needs daily record to send to multiple standby host.Be compared to prior art, the embodiment of the present invention can main frame and standby host cannot synchronous time, the difference log that difference standby host Receiving Host sends also stores, difference standby host is made only to need to take less storage space store discrepancy daily record, and when difference standby host receive main frame and standby host recover synchronous first notify time, difference standby host sends the difference log stored to standby host, decrease the data volume that main frame sends to standby host, the data volume of the difference log simultaneously sent to standby host by difference standby host also much smaller than Backup Data itself, thus saves system resource.
In the embodiment of the present invention, on basis as shown in figure 18, described device 40 can also comprise as shown in figure 20:
4th detection module 405, for detecting the second notice whether receiving described main frame and send, described second notice is sent after receiving described standby host transmission feedback information by described main frame, described feedback information be used for represent when described main frame and described standby host recover synchronous after, described standby host completes synchronous according to described difference log with described main frame.
First removing module 406, if for detecting that described difference standby host receives the second notice of described main frame transmission, then delete the described difference log of storage.
The embodiment of the present invention provides a kind of device of Backup Data, by the difference log that difference standby host Receiving Host sends, and store this difference log by difference standby host, when difference standby host detects that difference standby host receives difference standby host when second of main frame transmission notifies and deletes the difference log stored.
In prior art, also there is the situation needing to delete Backup Data, especially when Backup Data has many parts, need the operations such as the Backup Data to many parts is read and write, deletion.Be compared to prior art, the embodiment of the present invention can main frame and standby host cannot synchronous time, the difference log that difference standby host Receiving Host sends also stores, difference standby host is made only to need to take less storage space store discrepancy daily record, and delete procedure for be also difference log, and the data volume of difference log is much smaller than Backup Data itself, decrease the data volume from required read-write in delete procedure, therefore the time needed for deleting after can reducing recovery synchronously, thus save system resource.
In the embodiment of the present invention, described standby host is also for upgrading to new main frame.Therefore, on basis as shown in figure 18, described device 40 can also comprise as shown in figure 21:
5th detection module 407, for detecting whether receive update request, described update request is sent to described difference standby host when upgrading to described new main frame by described standby host.
6th sending module 408, if for detecting that described difference standby host receives described update request, then connect with described standby host and send described difference log to described standby host, so that described standby host upgrades the data of described standby host according to described difference log, and after completing renewal, upgrade to described new main frame.
The embodiment of the present invention provides a kind of device of Backup Data, by the difference log that difference standby host Receiving Host sends, and store this difference log by difference standby host, when difference standby host detects that difference standby host receives update request, difference standby host and standby host connect and send difference log.
In prior art, main frame needs daily record to send to multiple standby host.Be compared to prior art, the embodiment of the present invention can main frame and standby host cannot synchronous time, the difference log that difference standby host Receiving Host sends also stores, difference standby host is made only to need to take less storage space store discrepancy daily record, and when difference standby host detects that difference standby host receives update request, difference standby host and standby host connect and send difference log, so that standby host upgrades the data of standby host according to difference log, and after completing renewal, upgrade to new main frame, because the data volume of difference log is much smaller than Backup Data itself, because this reducing the data volume that main frame sends to standby host, thus save system resource.
In the embodiment of the present invention, on basis as shown in figure 21, described device 40 can also comprise as shown in figure 22:
6th detection module 409, for detecting the third notice whether receiving described standby host and send, described third notice is sent to described difference standby host after upgrading to described new main frame by described standby host.
Second removing module 410, if for detecting that described difference standby host receives the third notice of described standby host transmission, then delete the described difference log of storage.
The embodiment of the present invention provides a kind of device of Backup Data, by the difference log that difference standby host Receiving Host sends, and store this difference log by difference standby host, when difference standby host detects that difference standby host receives the third notice of standby host transmission, difference standby host deletes the difference log stored.
In prior art, also there is the situation needing to delete Backup Data, especially when Backup Data has many parts, need the operations such as the Backup Data to many parts is read and write, deletion.Be compared to prior art, the embodiment of the present invention can main frame and standby host cannot synchronous time, the difference log that difference standby host Receiving Host sends also stores, difference standby host is made only to need to take less storage space store discrepancy daily record, and delete procedure for be also difference log, and the data volume of difference log is much smaller than Backup Data itself, decrease the data volume from required read-write in delete procedure, therefore the time needed for deleting after can reducing standby host upgrading main frame, thus save system resource.
The embodiment of the present invention also provides a kind of main process equipment 50, described main process equipment 50 may be used for a kind of storage system, described storage system further comprises: difference standby host and at least one standby host, described main process equipment is connected with described difference standby host with described standby host, and described standby host is for storing the Backup Data of described main frame; Be a kind of possible embodiment of described main process equipment 50 as shown in figure 23, comprise the assemblies such as input block 51, processor unit 52, output unit 53, communication unit 54, storage unit 55.These assemblies are communicated by one or more bus.It will be appreciated by those skilled in the art that, the structure of the main process equipment 50 shown in figure does not form limitation of the invention, it both can be busbar network, also can be hub-and-spoke configuration, the parts more more or less than diagram can also be comprised, or combine some parts, or different parts are arranged.In embodiments of the present invention, described main process equipment 50 can be any equipment possessing data storage, process, transfer function, include but not limited to blade server, tower server, Cabinet-type server, mobile workstation, PC, and the combination etc. of above-mentioned more than two or two.
Wherein, input block 51 is input in main process equipment 50 for the mutual and/or information realizing operating personnel and main process equipment 50.Such as, input block 51 can receive numeral or the character information of operating personnel's input, controls the input of relevant signal to produce with operating personnel or function.In the specific embodiment of the invention, input block 51 can be contact panel, also can be other people machine interactive interface, such as entity enter key.In other embodiments of the present invention, the entity enter key that input block 51 adopts can include but not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, control lever etc. one or more.
Processor unit 52 is the control center of main process equipment 50, utilize the various piece of various interface and the whole main process equipment 50 of connection, software program in storage unit 55 and/or module is stored in by running or performing, and call the data be stored in storage unit 55, to perform various function and/or the process data of main process equipment 50.Described processor unit 52 can be made up of integrated circuit (Integrated Circuit, IC), such as, can be made up of the IC of single encapsulation, also can be made up of the encapsulation IC connecting many identical functions or difference in functionality.For example, processor unit 52 only can comprise central processing unit (Central ProcessingUnit, CPU), also can be the combination of the control chip (such as baseband chip) in GPU, digital signal processor (Digital Signal Processor, DSP) and communication unit.In embodiments of the present invention, CPU can be single arithmetic core, also can comprise multioperation core.
Communication unit 54, for setting up communication channel, makes main process equipment 50 by described communication channel to be connected to the equipment such as standby host, difference standby host.Wherein, the equipment such as standby host and difference standby host can be specifically remote server.Described communication unit 54 can comprise the communication modules such as wired LAN module, WLAN (wireless local area network) (Wireless Local AreaNetwork, wireless LAN) module, bluetooth module, base band (Base Band) module.Described communication module is used for the communication of each assembly in main control system equipment 50, and can support direct memory access (Direct Memory Access).
In different embodiment of the present invention, various communication modules in described communication unit 54 generally occur with the form of integrated circuit (IC) chip (Integrated Circuit Chip), and can selectivity combination be carried out, and physics cable, the antenna sets of all communication modules and correspondence need not be comprised.In Alternate embodiments more of the present invention, the communication module in described communication unit 54, such as baseband module can be integrated in processor unit 52, the typical APQ+MDM series platform provided as high pass (Qualcomm) company.
Output unit 53 includes but not limited to image output unit and voice output unit.Image output unit is used for output character, picture and/or video.Described image output unit can comprise display panel, such as adopt LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode), the display panel that configures of the form such as Field Emission Display (field emission display, FED).Or described image output unit can comprise reflected displaying device, such as electrophoresis-type (electrophoretic) display, or the display utilizing interference of light modulation tech (Interferometric Modulation ofLight).Described image output unit can comprise multiple displays of individual monitor or different size.In the specific embodiment of the present invention, the contact panel that above-mentioned input block 51 adopts also can simultaneously as the display panel of output unit 53.Such as, after contact panel detects touch thereon or close gesture operation, send processor unit 52 to determine the type of touch event, provide corresponding vision to export with post-processor unit 52 on a display panel according to the type of touch event.Although in fig 23, input block 51 and output unit 53 be as two independently parts to realize the input and output function of main process equipment 50, but in certain embodiments, can by contact panel and display panel integrated and realize the input and output function of main process equipment 50.Such as, described image output unit can show various Graphic User Interfaces (Graphical User Interface, GUI) using as virtual controlling assembly, include but not limited to window, scroll bar, icon and scrapbook, operated by touch control manner for user.In the specific embodiment of the invention, image output unit comprises wave filter and amplifier, is used for the video filtering that exported by processor unit 52 and amplification.Audio output unit comprises digital analog converter, is used for the sound signal that processor unit 52 exports to be converted to analog format from digital format.
Storage unit 55 can be used for storing software program and module, and processor unit 52 is stored in software program and the module of storage unit 55 by running, thus performs the various function application of main process equipment 50 and realize data processing.Storage unit 55 mainly comprises program storage area and data storage area, and wherein, program storage area can store operating system, application program needed at least one function, such as sound playing program, image player program etc.; Data storage area can store the data (such as voice data, phone directory etc.) etc. created according to the use of main process equipment 50.In the specific embodiment of the invention, storage unit 55 can comprise volatile memory, such as non-volatile DRAM (Dynamic Random Access Memory) (Nonvolatile Random AccessMemory, NVRAM), phase change random access memory (Phase Change RAM, PRAM), magnetic-resistance random access memory (Magetoresistive RAM, MRAM) etc., nonvolatile memory can also be comprised, such as at least one disk memory, Electrical Erasable programmable read only memory (ElectricallyErasable Programmable Read-Only Memory, EEPROM), flush memory device, such as anti-or flash memory (NOR flash memory) or anti-and flash memory (NAND flash memory).Nonvolatile memory stores operating system performed by processor unit 52 and application program.Described processor unit 52 is from described nonvolatile memory load operating program and data to internal memory and digital content be stored in mass storage.Described operating system comprises for control and management general system tasks, such as memory management, memory device control, power management etc., and contributes to the various assembly that communicates between various software and hardware and/or driver.In embodiments of the present invention, described operating system can be linux system, the iOS system of Apple company exploitation or the Windows operating system etc. of Microsoft company exploitation, or the embedded OS that Vxworks is this kind of.Described application program comprises any application be arranged on main process equipment 50, include but not limited to that browser, Email, instant message service, word processing, keyboard are virtual, widget (Widget), encryption, digital copyright management, speech recognition, speech reproduction, location (function such as provided by GPS), music etc.
Power supply 56 powers to maintain its operation for carrying out to the different parts of main process equipment 50.Understand as generality, described power supply 56 can be the external power supply of powering directly to main process equipment 50, and such as AC adapter etc., also comprise built-in battery, such as common lithium ion battery, Ni-MH battery etc.In certain embodiments of the present invention, described power supply 56 can also be done to define more widely, such as can also comprise power-supply management system, charging system, power failure detection circuit, power supply changeover device or inverter, power supply status indicator (as light emitting diode), and other any assemblies be associated that generate with the electric energy of main process equipment 50, manage and distribute.
In embodiments of the present invention, whether described processor unit 52, can carry out synchronous with described standby host specifically for detecting; And if when carrying out synchronous, the difference log of generation is sent to described communication unit 54.
Described communication unit 54, difference log specifically for being generated by described processor unit 52 sends to described difference standby host, so that described difference standby host stores described difference log, described difference log for describe described main frame and described standby host cannot synchronous after, the variance data that described main frame produces, described variance data comprises: described main frame and described standby host cannot synchronous after, the data that described main frame changes.
Whether the embodiment of the present invention provides a kind of main process equipment, can carry out synchronous with standby host by Host Detection, when main frame and standby host cannot synchronous time, difference log sends, so that the daily record of difference standby host store discrepancy to difference standby host by main frame.Be compared to prior art, the embodiment of the present invention can main frame and standby host cannot synchronous time, the variance data produced sends to difference standby host by main frame, makes difference standby host only need to take less storage space store discrepancy daily record, thus saves system resource.
Described processor unit 52, specifically also for when described main frame recovers synchronous with described standby host, triggers described communication unit 54 and described difference log is sent to described standby host, so that described standby host carries out synchronous according to described difference log with described main frame.
The embodiment of the present invention provides a kind of main process equipment, whether can carry out synchronous with standby host by Host Detection, when main frame and standby host cannot synchronous time, difference log sends to difference standby host by main frame, so that the daily record of difference standby host store discrepancy, and when main frame recovers synchronous with standby host, difference log sends to standby host by main frame.Be compared to prior art, the embodiment of the present invention can main frame and standby host cannot synchronous time, the variance data produced sends to difference standby host by main frame, when main frame recovers synchronous with standby host, difference log sends to standby host by main frame, so that standby host carries out synchronous according to difference log with main frame, difference standby host is made only to need to take less storage space store discrepancy daily record, the data syn-chronization of utilization variance journal recovery standby host and main frame, thus in the process of data backup and date restoring, decrease the number of required Backup Data, thus save system resource.
Described processor unit 52, concrete also for when described main frame recovers synchronous with described standby host, generate the first notice, and trigger described communication unit 54 to described first notice of described difference standby host transmission, the described difference log stored sends to described standby host, so that described standby host carries out synchronous according to described difference log with described main frame for triggering described difference standby host by described first notice.
The embodiment of the present invention provides a kind of main process equipment, whether can carry out synchronous with standby host by Host Detection, when main frame and standby host cannot synchronous time, difference log sends to difference standby host by main frame, so that the daily record of difference standby host store discrepancy, and when main frame recovers synchronous with standby host, host notification difference standby host sends difference log, and difference log sends to standby host by difference standby host.Be compared to prior art, the embodiment of the present invention can main frame and standby host cannot synchronous time, the variance data that difference standby host stores is sent to standby host, makes difference standby host only need to take less storage space store discrepancy daily record, thus save system resource.
Described processor unit 52, concrete also for recover when described main frame and described standby host synchronous after, detect described communication unit 54 and whether receive described standby host transmission feedback information, described feedback information is for representing that described standby host completes synchronous according to described difference log with described main frame; If receive described feedback information, then generate the second notice, and trigger described communication unit 54 to described second notice of described difference standby host transmission, described second notice deletes for triggering described difference standby host the described difference log stored.
The embodiment of the present invention provides a kind of main process equipment, whether can carry out synchronous with standby host by Host Detection, when main frame and standby host cannot synchronous time, difference log sends to difference standby host by main frame, so that the daily record of difference standby host store discrepancy, and when main frame recovers synchronous with standby host, difference log sends to standby host by main frame.
Be compared to prior art, the embodiment of the present invention can main frame and standby host cannot synchronous time, the variance data produced sends to difference standby host by main frame, when main frame recovers synchronous with standby host, difference log sends to standby host by main frame, so that standby host carries out synchronous according to difference log with main frame, difference standby host is made only to need to take less storage space store discrepancy daily record, the data syn-chronization of utilization variance journal recovery standby host and main frame, thus in the process of data backup and date restoring, decrease the number of required Backup Data, thus save system resource.
The embodiment of the present invention also provides a species diversity standby host equipment 60, described difference standby host equipment 60 may be used for a kind of storage system, described storage system further comprises: main frame and at least one standby host, described main frame is connected with described difference standby host equipment with described standby host, and described standby host is for storing the Backup Data of described main frame; Be a kind of possible embodiment of described difference standby host equipment 60 as shown in figure 24, comprise the assemblies such as input block 61, processor unit 62, output unit 63, communication unit 64, storage unit 65.These assemblies are communicated by one or more bus.It will be appreciated by those skilled in the art that, the structure of the difference standby host equipment 60 shown in figure does not form limitation of the invention, it both can be busbar network, also can be hub-and-spoke configuration, the parts more more or less than diagram can also be comprised, or combine some parts, or different parts are arranged.In embodiments of the present invention, described difference standby host equipment 60 can be any equipment possessing data storage, process, transfer function, include but not limited to blade server, tower server, Cabinet-type server, mobile workstation, PC, and the combination etc. of above-mentioned more than two or two.
Wherein, input block 61 is input in difference standby host equipment 60 for the mutual and/or information realizing operating personnel and difference standby host equipment 60.Such as, input block 61 can receive numeral or the character information of operating personnel's input, controls the input of relevant signal to produce with operating personnel or function.In the specific embodiment of the invention, input block 61 can be contact panel, also can be other people machine interactive interface, such as entity enter key.In other embodiments of the present invention, the entity enter key that input block 61 adopts can include but not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, control lever etc. one or more.
Processor unit 62 is the control center of difference standby host equipment 60, utilize the various piece of various interface and connection whole difference standby host equipment 60, software program in storage unit 65 and/or module is stored in by running or performing, and call the data be stored in storage unit 65, to perform various function and/or the process data of difference standby host equipment 60.Described processor unit 62 can be made up of integrated circuit (Integrated Circuit, IC), such as, can be made up of the IC of single encapsulation, also can be made up of the encapsulation IC connecting many identical functions or difference in functionality.For example, processor unit 62 only can comprise central processing unit (Central Processing Unit, CPU), also can be the combination of the control chip (such as baseband chip) in GPU, digital signal processor (Digital SignalProcessor, DSP) and communication unit.In embodiments of the present invention, CPU can be single arithmetic core, also can comprise multioperation core.
Communication unit 64, for setting up communication channel, makes difference standby host equipment 60 by described communication channel to be connected to the equipment such as standby host, difference standby host.Wherein, the equipment such as standby host and difference standby host can be specifically remote server.Described communication unit 64 can comprise the communication modules such as wired LAN module, WLAN (wireless local area network) (Wireless LocalArea Network, wireless LAN) module, bluetooth module, base band (Base Band) module.Described communication module for controlling the communication of each assembly in difference standby host equipment, and can support direct memory access (Direct Memory Access).
In different embodiment of the present invention, various communication modules in described communication unit 64 generally occur with the form of integrated circuit (IC) chip (Integrated Circuit Chip), and can selectivity combination be carried out, and physics cable, the antenna sets of all communication modules and correspondence need not be comprised.In Alternate embodiments more of the present invention, the communication module in described communication unit 64, such as baseband module can be integrated in processor unit 62, the typical APQ+MDM series platform provided as high pass (Qualcomm) company.
Output unit 63 includes but not limited to image output unit and voice output unit.Image output unit is used for output character, picture and/or video.Described image output unit can comprise display panel, such as adopt LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode), the display panel that configures of the form such as Field Emission Display (field emission display, FED).Or described image output unit can comprise reflected displaying device, such as electrophoresis-type (electrophoretic) display, or the display utilizing interference of light modulation tech (Interferometric Modulation ofLight).Described image output unit can comprise multiple displays of individual monitor or different size.In the specific embodiment of the present invention, the contact panel that above-mentioned input block 61 adopts also can simultaneously as the display panel of output unit 63.Such as, after contact panel detects touch thereon or close gesture operation, send processor unit 62 to determine the type of touch event, provide corresponding vision to export with post-processor unit 62 on a display panel according to the type of touch event.Although in fig. 24, input block 61 and output unit 63 be as two independently parts to realize the input and output function of difference standby host equipment 60, but in certain embodiments, can by contact panel and display panel integrated and realize the input and output function of difference standby host equipment 60.Such as, described image output unit can show various Graphic User Interfaces (Graphical User Interface, GUI) using as virtual controlling assembly, include but not limited to window, scroll bar, icon and scrapbook, operated by touch control manner for user.In the specific embodiment of the invention, image output unit comprises wave filter and amplifier, be used for by processor unit 62 export video filtering and amplifications.Audio output unit comprises digital analog converter, is used for the sound signal that processor unit 62 exports to be converted to analog format from digital format.
Storage unit 65 can be used for storing software program and module, and processor unit 62 is stored in software program and the module of storage unit 65 by running, thus performs the various function application of difference standby host equipment 60 and realize data processing.Storage unit 65 mainly comprises program storage area and data storage area, and wherein, program storage area can store operating system, application program needed at least one function, such as sound playing program, image player program etc.; Data storage area can store the data (such as voice data, phone directory etc.) etc. created according to the use of difference standby host equipment 60.In the specific embodiment of the invention, storage unit 65 can comprise volatile memory, such as non-volatile DRAM (Dynamic Random Access Memory) (Nonvolatile RandomAccess Memory, NVRAM), phase change random access memory (Phase Change RAM, PRAM), magnetic-resistance random access memory (Magetoresistive RAM, MRAM) etc., nonvolatile memory can also be comprised, such as at least one disk memory, Electrical Erasable programmable read only memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), flush memory device, such as anti-or flash memory (NOR flash memory) or anti-and flash memory (NAND flash memory).Nonvolatile memory stores operating system performed by processor unit 62 and application program.Described processor unit 62 is from described nonvolatile memory load operating program and data to internal memory and digital content be stored in mass storage.Described operating system comprises for control and management general system tasks, such as memory management, memory device control, power management etc., and contributes to the various assembly that communicates between various software and hardware and/or driver.In embodiments of the present invention, described operating system can be linux system, the iOS system of Apple company exploitation or the Windows operating system etc. of Microsoft company exploitation, or the embedded OS that Vxworks is this kind of.Described application program comprises any application be arranged on difference standby host equipment 60, include but not limited to that browser, Email, instant message service, word processing, keyboard are virtual, widget (Widget), encryption, digital copyright management, speech recognition, speech reproduction, location (function such as provided by GPS), music etc.
Power supply 66 powers to maintain its operation for carrying out to the different parts of difference standby host equipment 60.Understand as generality, described power supply 66 can be the external power supply directly to the power supply of difference standby host equipment 60, and such as AC adapter etc., also comprise built-in battery, such as common lithium ion battery, Ni-MH battery etc.In certain embodiments of the present invention, described power supply 66 can also be done to define more widely, such as can also comprise power-supply management system, charging system, power failure detection circuit, power supply changeover device or inverter, power supply status indicator (as light emitting diode), and other any assemblies be associated that generate with the electric energy of difference standby host equipment 60, manage and distribute.
In embodiments of the present invention, described communication unit 64, the difference log of described main frame transmission is received specifically for described difference standby host, described difference log for describe described main frame and described standby host cannot synchronous after, the variance data that described main frame produces, described variance data comprises: described main frame and described standby host cannot synchronous after, the data that described main frame changes.
Described storage unit 65, specifically for storing described difference log.
The embodiment of the present invention provides a species diversity standby host equipment, the difference log sent by difference standby host Receiving Host, and stores this difference log by difference standby host.Be compared to prior art, the embodiment of the present invention can main frame and standby host cannot synchronous time, the difference log that difference standby host Receiving Host sends also stores, and makes difference standby host only need to take less storage space store discrepancy daily record, thus saves system resource.
Whether described processor unit 62, specifically also receive the first notice for detecting described communication unit 64, and described first notice is sent to described difference standby host by described main frame when described main frame recovers synchronous with described standby host by described main frame; If so, then trigger described communication unit 64 and send the described difference log stored in described storage unit 65 to described standby host, so that described standby host carries out synchronous according to described difference log with described main frame.
The embodiment of the present invention provides a species diversity standby host equipment, by the difference log that difference standby host Receiving Host sends, and store this difference log by difference standby host, when difference standby host receives the first notice of main frame transmission, difference log sends to standby host by difference standby host, so that standby host carries out synchronous according to difference log with main frame.
In prior art, main frame needs daily record to send to multiple standby host.Be compared to prior art, the embodiment of the present invention can main frame and standby host cannot synchronous time, the difference log that difference standby host Receiving Host sends also stores, difference standby host is made only to need to take less storage space store discrepancy daily record, and when difference standby host receive main frame and standby host recover synchronous first notify time, difference standby host sends the difference log stored to standby host, decrease the data volume that main frame sends to standby host, the data volume of the difference log simultaneously sent to standby host by difference standby host also much smaller than Backup Data itself, thus saves system resource.
Described processor unit 62, concrete the second notice also whether receiving the transmission of described main frame for detecting described communication unit 64, described second notice is sent after receiving described standby host transmission feedback information by described main frame, described feedback information be used for represent when described main frame and described standby host recover synchronous after, described standby host completes synchronous according to described difference log with described main frame; If so, then trigger described storage unit and delete the described difference log stored.
The embodiment of the present invention provides a species diversity standby host equipment, by the difference log that difference standby host Receiving Host sends, and store this difference log by difference standby host, when difference standby host detects that difference standby host receives difference standby host when second of main frame transmission notifies and deletes the difference log stored.
In prior art, also there is the situation needing to delete Backup Data, especially when Backup Data has many parts, need the operations such as the Backup Data to many parts is read and write, deletion.Be compared to prior art, the embodiment of the present invention can main frame and standby host cannot synchronous time, the difference log that difference standby host Receiving Host sends also stores, difference standby host is made only to need to take less storage space store discrepancy daily record, and delete procedure for be also difference log, and the data volume of difference log is much smaller than Backup Data itself, decrease the data volume from required read-write in delete procedure, therefore the time needed for deleting after can reducing recovery synchronously, thus save system resource.
Whether described processor unit 62, specifically also receive update request for detecting described communication unit 64, and described update request is sent to described difference standby host when upgrading to described new main frame by described standby host; If, then trigger described communication unit 64 to connect with described standby host and trigger described communication unit 64 and send described difference log to described standby host, so that described standby host upgrades the data of described standby host according to described difference log, and after completing renewal, upgrade to described new main frame.
Whether described processor unit 62, specifically also receive the third notice of described standby host transmission for detecting described communication unit 64, described third notice is sent to described difference standby host after upgrading to described new main frame by described standby host; If so, then trigger described storage unit 65 and delete the described difference log stored.
The embodiment of the present invention provides a species diversity standby host equipment, by the difference log that difference standby host Receiving Host sends, and store this difference log by difference standby host, when difference standby host detects that difference standby host receives update request, difference standby host and standby host connect and send difference log.
In prior art, main frame needs daily record to send to multiple standby host.Be compared to prior art, the embodiment of the present invention can main frame and standby host cannot synchronous time, the difference log that difference standby host Receiving Host sends also stores, difference standby host is made only to need to take less storage space store discrepancy daily record, and when difference standby host detects that difference standby host receives update request, difference standby host and standby host connect and send difference log, so that standby host upgrades the data of standby host according to difference log, and after completing renewal, upgrade to new main frame, because the data volume of difference log is much smaller than Backup Data itself, because this reducing the data volume that main frame sends to standby host, thus save system resource.
Each embodiment in this instructions all adopts the mode of going forward one by one to describe, between each embodiment identical similar part mutually see, what each embodiment stressed is the difference with other embodiments.Especially, for apparatus embodiments, because it is substantially similar to embodiment of the method, so describe fairly simple, relevant part illustrates see the part of embodiment of the method.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; the change that can expect easily or replacement, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of claim.

Claims (18)

1. the method for a Backup Data, it is characterized in that, described method is used for a kind of storage system, and described storage system at least comprises: main frame, standby host and difference standby host, described main frame is connected with described difference standby host with described standby host, and described standby host is for storing the Backup Data of described main frame; Described method comprises:
Whether described Host Detection can carry out synchronous with described standby host;
If not, then difference log sends to described difference standby host by described main frame, so that described difference standby host stores described difference log, described difference log for describe described main frame and described standby host cannot synchronous after, the variance data that described main frame produces, described variance data comprises: described main frame and described standby host cannot synchronous after, the data that described main frame changes.
2. method according to claim 1, is characterized in that, also comprises:
When described main frame recovers synchronous with described standby host, described difference log sends to described standby host by described main frame, so that described standby host carries out synchronous according to described difference log with described main frame.
3. method according to claim 1, is characterized in that, also comprises:
When described main frame recovers synchronous with described standby host, described main frame sends the first notice to described difference standby host, the described difference log stored sends to described standby host, so that described standby host carries out synchronous according to described difference log with described main frame for triggering described difference standby host by described first notice.
4. according to the method in claim 2 or 3, it is characterized in that, also comprise:
When described main frame and described standby host recover synchronous after, described Host Detection whether receive described standby host send feedback information, described feedback information is for representing that described standby host completes synchronous according to described difference log with described main frame;
If described main frame receives described feedback information, then described main frame sends the second notice to described difference standby host, and described second notice deletes for triggering described difference standby host the described difference log stored.
5. the method for a Backup Data, it is characterized in that, described method is used for a kind of storage system, and described storage system at least comprises: main frame, standby host and difference standby host, described main frame is connected with described difference standby host with described standby host, and described standby host is for storing the Backup Data of described main frame; Described method comprises:
Described difference standby host receives the difference log that described main frame sends, described difference log for describe described main frame and described standby host cannot synchronous after, the variance data that described main frame produces, described variance data comprises: described main frame and described standby host cannot synchronous after, the data that described main frame changes;
Described difference standby host stores described difference log.
6. method according to claim 5, is characterized in that, also comprises:
Described difference standby host detects whether receive the first notice, and described first notice is sent to described difference standby host by described main frame when described main frame recovers synchronous with described standby host by described main frame;
If so, then the described difference log stored sends to described standby host, so that described standby host carries out synchronous according to described difference log with described main frame by described difference standby host.
7. method according to claim 5, is characterized in that, also comprises:
Described difference standby host detects the second notice whether receiving described main frame and send, described second notice is sent after receiving described standby host transmission feedback information by described main frame, described feedback information be used for represent when described main frame and described standby host recover synchronous after, described standby host completes synchronous according to described difference log with described main frame;
If so, then described difference standby host deletes the described difference log stored.
8. method according to claim 5, is characterized in that, described standby host is also for upgrading to new main frame;
Described method also comprises:
Described difference standby host detects whether receive update request, and described update request is sent to described difference standby host when upgrading to described new main frame by described standby host;
If so, then connect with described standby host and send described difference log to described standby host, so that described standby host upgrades the data of described standby host according to described difference log, and after completing renewal, upgrading to described new main frame.
9. method according to claim 8, is characterized in that, also comprises:
Described difference standby host detects the third notice whether receiving described standby host and send, and described third notice is sent to described difference standby host after upgrading to described new main frame by described standby host;
If so, then described difference standby host deletes the described difference log stored.
10. the device of a Backup Data, it is characterized in that, described device is used for a kind of storage system, and described storage system at least comprises: main frame, standby host and difference standby host, described main frame is connected with described difference standby host with described standby host, and described standby host is for storing the Backup Data of described main frame; Described device comprises:
Whether first detection module, can carry out synchronous with described standby host for detecting;
First sending module, if for described Host Detection to carrying out synchronous with described standby host, then difference log is sent to described difference standby host, so that described difference standby host stores described difference log, described difference log for describe described main frame and described standby host cannot synchronous after, the variance data that described main frame produces, described variance data comprises: described main frame and described standby host cannot synchronous after, the data that described main frame changes.
11. devices according to claim 10, is characterized in that, also comprise:
Second sending module, for when described main frame recovers synchronous with described standby host, sends described difference log to described standby host, so that described standby host carries out synchronous according to described difference log with described main frame.
12. devices according to claim 10, is characterized in that, also comprise:
3rd sending module, for when described main frame recovers synchronous with described standby host, the first notice is sent to described difference standby host, the described difference log stored sends to described standby host, so that described standby host carries out synchronous according to described difference log with described main frame for triggering described difference standby host by described first notice.
13. devices according to claim 11 or 12, is characterized in that, also comprise:
Second detection module, for recover when described main frame and described standby host synchronous after, detect whether receive described standby host send feedback information, described feedback information is for representing that described standby host completes synchronous according to described difference log with described main frame;
4th sending module, if receive described feedback information for described main frame, then sends the second notice to described difference standby host, and described second notice deletes for triggering described difference standby host the described difference log stored.
The device of 14. 1 kinds of Backup Datas, it is characterized in that, described device is used for a kind of storage system, and described storage system at least comprises: main frame, standby host and difference standby host, described main frame is connected with described difference standby host with described standby host, and described standby host is for storing the Backup Data of described main frame; Described device comprises:
Receiver module, for receiving the difference log that described main frame sends, described difference log for describe described main frame and described standby host cannot synchronous after, the variance data that described main frame produces, described variance data comprises: described main frame and described standby host cannot synchronous after, the data that described main frame changes;
Memory module, for storing described difference log.
15. devices according to claim 14, is characterized in that, also comprise:
3rd detection module, for detecting whether receive the first notice, described first notice is sent to described difference standby host by described main frame when described main frame recovers synchronous with described standby host by described main frame;
5th sending module, if for detecting that described difference standby host receives described first notice, then send the described difference log stored to described standby host, so that described standby host carries out synchronous according to described difference log with described main frame.
16. devices according to claim 14, is characterized in that, also comprise:
4th detection module, for detecting the second notice whether receiving described main frame and send, described second notice is sent after receiving described standby host transmission feedback information by described main frame, described feedback information be used for represent when described main frame and described standby host recover synchronous after, described standby host completes synchronous according to described difference log with described main frame;
First removing module, if for detecting that described difference standby host receives the second notice of described main frame transmission, then delete the described difference log of storage.
17. devices according to claim 14, is characterized in that, described standby host is also for upgrading to new main frame;
Described device also comprises:
5th detection module, for detecting whether receive update request, described update request is sent to described difference standby host when upgrading to described new main frame by described standby host;
6th sending module, if for detecting that described difference standby host receives described update request, then connect with described standby host and send described difference log to described standby host, so that described standby host upgrades the data of described standby host according to described difference log, and after completing renewal, upgrade to described new main frame.
18. devices according to claim 17, is characterized in that, also comprise:
6th detection module, for detecting the third notice whether receiving described standby host and send, described third notice is sent to described difference standby host after upgrading to described new main frame by described standby host;
Second removing module, if for detecting that described difference standby host receives the third notice of described standby host transmission, then delete the described difference log of storage.
CN201410787558.9A 2014-12-17 2014-12-17 Data backing up method and device Pending CN104536846A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410787558.9A CN104536846A (en) 2014-12-17 2014-12-17 Data backing up method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410787558.9A CN104536846A (en) 2014-12-17 2014-12-17 Data backing up method and device

Publications (1)

Publication Number Publication Date
CN104536846A true CN104536846A (en) 2015-04-22

Family

ID=52852376

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410787558.9A Pending CN104536846A (en) 2014-12-17 2014-12-17 Data backing up method and device

Country Status (1)

Country Link
CN (1) CN104536846A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106598768A (en) * 2016-11-28 2017-04-26 华为技术有限公司 Write request processing method, device and data center
CN106776147A (en) * 2016-12-29 2017-05-31 华为技术有限公司 A kind of variance data backup method and variance data back-up device
CN106855834A (en) * 2015-12-08 2017-06-16 华为技术有限公司 A kind of data back up method, device and system
CN110287166A (en) * 2019-05-31 2019-09-27 北京大米科技有限公司 Method, apparatus, electronic equipment and the medium of data transmission
CN112202853A (en) * 2020-09-17 2021-01-08 杭州安恒信息技术股份有限公司 Data synchronization method, system, computer device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030074600A1 (en) * 2000-04-12 2003-04-17 Masaharu Tamatsu Data backup/recovery system
US20080172536A1 (en) * 2007-01-17 2008-07-17 Lsi Logic Corporation Storage system management based on a backup and recovery solution embedded in the storage system
CN102708150A (en) * 2012-04-12 2012-10-03 华为技术有限公司 Method, device and system for asynchronously copying data
CN103139308A (en) * 2013-02-27 2013-06-05 华为技术有限公司 Database system and data synchronization method thereof
CN104166605A (en) * 2014-08-18 2014-11-26 四川航天系统工程研究所 Data backup method and system based on incremental data files

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030074600A1 (en) * 2000-04-12 2003-04-17 Masaharu Tamatsu Data backup/recovery system
US20080172536A1 (en) * 2007-01-17 2008-07-17 Lsi Logic Corporation Storage system management based on a backup and recovery solution embedded in the storage system
CN102708150A (en) * 2012-04-12 2012-10-03 华为技术有限公司 Method, device and system for asynchronously copying data
CN103139308A (en) * 2013-02-27 2013-06-05 华为技术有限公司 Database system and data synchronization method thereof
CN104166605A (en) * 2014-08-18 2014-11-26 四川航天系统工程研究所 Data backup method and system based on incremental data files

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106855834A (en) * 2015-12-08 2017-06-16 华为技术有限公司 A kind of data back up method, device and system
CN106598768A (en) * 2016-11-28 2017-04-26 华为技术有限公司 Write request processing method, device and data center
CN106598768B (en) * 2016-11-28 2020-02-14 华为技术有限公司 Method and device for processing write request and data center
CN106776147A (en) * 2016-12-29 2017-05-31 华为技术有限公司 A kind of variance data backup method and variance data back-up device
CN106776147B (en) * 2016-12-29 2020-10-09 华为技术有限公司 Differential data backup method and differential data backup device
CN110287166A (en) * 2019-05-31 2019-09-27 北京大米科技有限公司 Method, apparatus, electronic equipment and the medium of data transmission
CN112202853A (en) * 2020-09-17 2021-01-08 杭州安恒信息技术股份有限公司 Data synchronization method, system, computer device and storage medium
CN112202853B (en) * 2020-09-17 2022-07-22 杭州安恒信息技术股份有限公司 Data synchronization method, system, computer device and storage medium

Similar Documents

Publication Publication Date Title
CN102831035B (en) The method of backup information and device
CN106254100B (en) A kind of data disaster tolerance methods, devices and systems
CN104536846A (en) Data backing up method and device
CN102981931B (en) Backup method and device for virtual machine
US10061665B2 (en) Preserving management services with self-contained metadata through the disaster recovery life cycle
CN104794014A (en) System operation method and intelligent terminal
CN103164295B (en) Enterprise information technology (IT) business virtualization disaster recovery method based on zettabyte file system (ZFS) and kernel-based virtual machine (KVM) kernel virtual underlying system
JP5691390B2 (en) Power supply and program
CN104298558B (en) Information processing method and device
CN102739451B (en) Method and device for updating master-slave switchover condition, server and system
CN102331959A (en) Server system
CN105022955A (en) Locking method and mobile terminal of application program
KR20140107042A (en) Management apparatus and method for managing server node
CN104679497A (en) Mobile terminal control method, device and mobile terminal
CN110442426A (en) A kind of password remapping method, device and storage medium
CN104951348A (en) Interruptible recovery upgrading method and device
CN104517067A (en) Method, device and system for data access
CN106462352A (en) Fingerprint event processing method, apparatus, and terminal
US10310575B2 (en) Virtual AC cycling within an information handling system
CN108427560A (en) API file management methods, server and storage medium
US11513918B2 (en) Action undo service based on cloud platform
CN101022633A (en) Allocation data recovering method, system and device
CN114661420B (en) Application protection method, device and system based on Kubernetes container platform
CN111708603A (en) Method and device for protecting Openstack cloud host data in real time
WO2022222968A1 (en) Conference call recovery method, apparatus and system, electronic device, and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20150422

RJ01 Rejection of invention patent application after publication