CN103209091A - Hot backup method and system for clustering system - Google Patents

Hot backup method and system for clustering system Download PDF

Info

Publication number
CN103209091A
CN103209091A CN2013100194252A CN201310019425A CN103209091A CN 103209091 A CN103209091 A CN 103209091A CN 2013100194252 A CN2013100194252 A CN 2013100194252A CN 201310019425 A CN201310019425 A CN 201310019425A CN 103209091 A CN103209091 A CN 103209091A
Authority
CN
China
Prior art keywords
alternate device
status
backups
backup data
main equipment
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.)
Granted
Application number
CN2013100194252A
Other languages
Chinese (zh)
Other versions
CN103209091B (en
Inventor
阳碧云
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201310019425.2A priority Critical patent/CN103209091B/en
Publication of CN103209091A publication Critical patent/CN103209091A/en
Application granted granted Critical
Publication of CN103209091B publication Critical patent/CN103209091B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a hot backup method and system for a clustering system. The method comprises that updating data packets are sent to backup devices corresponding to a main device when data of the main device change; all backup devices corresponding to the main device receive updating data packets and update backup data according to received updating data packets; all backup devices updating backup data send updating data packets to backup devices corresponding to backup devices updating backup data; and all backup devices corresponding to backup devices updating backup data receive updating data packets and update backup data according to received updating data packets till all backup devices in the clustering system finish data updating. Compared with the prior art, the method and the system have the advantages that the working performance of the main device is improved and the utilization ratio of a central processing unit (CPU) of the main device is reduced at the same time when hot backup of the clustering system is achieved completely.

Description

The heat backup method of group system and system
Technical field
The present invention relates to field of computer network communication, specially refer to a kind of heat backup method and system of group system.
Background technology
In the present group system, in order fully to improve reliability of service, member device adopts the Hot Spare mode of 1:n usually, namely chooses an equipment as main equipment from all member devices of group system, and other equipment are all as alternate device; All devices in the main equipment unified management group system, main equipment carries out Hot Spare to alternate device.
In existing group system, realize that the Hot Spare mode of 1:n has two kinds usually: first kind of mode, by the unified back-up job of being responsible for all alternate devices of main equipment; The second way, the order that backs up of designated equipment and the flow direction of Backup Data backup to the data on the main equipment earlier on a part of alternate device then in advance, are born the back-up job of other equipment again by this part alternate device.
Wherein, the shortcoming of first kind of mode is that the lot of data synchronous working is concentrated and to be finished by main equipment, has reduced the host apparatus service behaviour; The second way has alleviated the work load of main equipment, but when the equipment in the group system or link changed, the back-up job that is specified in the equipment that backs up thereafter will be obstructed.
Therefore, need a kind of heat backup method of group system, can reach the purpose of reduction main equipment CPU usage at the Hot Spare of complete realization group system simultaneously again.
Summary of the invention
Main purpose of the present invention is to be the heat backup method that a kind of group system is provided and system, can improve service behaviour and the reduction main equipment CPU usage of main equipment simultaneously again at the Hot Spare of complete realization group system.
The present invention proposes a kind of heat backup method of group system, and the method comprising the steps of: when the data of A, main equipment change, send more new data packets to the alternate device corresponding with main equipment; B, each alternate device corresponding with main equipment receive described more new data packets, upgrade Backup Data according to the more new data packets that receives; C, each alternate device that upgrades behind the Backup Data send more new data packets to the alternate device corresponding with it; D, each with upgrade Backup Data after the corresponding alternate device of alternate device, receives described more new data packets, according to the more new data packets renewal Backup Data that receives; E, repeating step C and D all alternate devices in group system are finished Data Update.
Preferably, the heat backup method of this group system, each equipment is all safeguarded the Status of Backups table of an alternate device corresponding with it in the group system, is used for knowing the up-to-date Status of Backups with its corresponding alternate device.
Preferably, in the heat backup method of this group system, steps A comprises: main equipment sends to the alternate device corresponding with it and upgrades the Backup Data notice; And after the request that receives described alternate device renewal Backup Data, send more new data packets to sending the alternate device that upgrades the Backup Data request.
Preferably, in the heat backup method of this group system, step B comprises: the alternate device behind the renewal Backup Data upgrades Status of Backups, and Status of Backups is sent to the alternate device corresponding with it, and sends renewal Backup Data notice to the alternate device corresponding with it; And receiving after the described alternate device corresponding with it upgrade the request of Backup Data, with new data packets more send to send the request of renewal Backup Data alternate device to carry out the renewal of Backup Data.
Preferably, in the heat backup method of this group system, steps A also comprises: this main equipment also is preset with a time threshold values; When reaching default time during threshold values, main equipment scanning Status of Backups table, whether the Backup Data of judging the alternate device that all are corresponding with it upgrades is finished; When in the main equipment Status of Backups table all were consistent with the Status of Backups of the Status of Backups of its corresponding alternate device and main equipment, the Backup Data of judging the alternate device that all are corresponding with main equipment upgrades to be finished; Or when the Status of Backups of the Status of Backups of alternate device corresponding with it in the main equipment Status of Backups table and main equipment is inconsistent, sends to the inconsistent alternate device of Status of Backups and main equipment and to upgrade the renewal that Backup Data notifies to finish Backup Data.
Preferably, in the heat backup method of this group system, step C also comprises: should be preset with a time threshold values by the alternate device corresponding with main equipment; When reaching default time during threshold values, the alternate device corresponding with main equipment scans its Status of Backups table, judges whether its Status of Backups is up-to-date; When its Status of Backups when not being up-to-date, send upgrade the Backup Data request to the up-to-date alternate device of its Status of Backups to finish the renewal of Backup Data; Or when its Status of Backups when being up-to-date, whether the Backup Data of judging the alternate device that all are corresponding with it upgrades is finished; When in its Status of Backups table all were consistent with the Status of Backups of its corresponding alternate device and its Status of Backups, the Backup Data of judging the alternate device corresponding with it upgrades to be finished; Or when the Status of Backups of the alternate device corresponding with it in its Status of Backups table and its Status of Backups are inconsistent, send to the inconsistent alternate device of the Status of Backups alternate device corresponding with main equipment and to upgrade the renewal that Backup Data notifies to finish Backup Data.
The present invention proposes a kind of hot backup system of group system, and this system comprises main equipment and several and alternate device, and wherein: main equipment is used for sending more new data packets to the alternate device corresponding with main equipment when its data change; The alternate device corresponding with main equipment is used for receiving this more new data packets, behind the more new data packets renewal Backup Data that receives, sends more new data packets to the alternate device corresponding with it; Should be used for receiving the more new data packets that this alternate device corresponding with it sends by the alternate device corresponding with the alternate device behind the renewal Backup Data, according to the more new data packets renewal Backup Data that receives.
Preferably, each equipment is all safeguarded the Status of Backups table of an alternate device corresponding with it in the hot backup system of this group system, is used for knowing the up-to-date Status of Backups with its corresponding alternate device.
Preferably, the main equipment in the hot backup system of this group system also is used for sending renewal Backup Data notice to the alternate device corresponding with it; And after the request that receives described alternate device renewal Backup Data, send more new data packets to sending the alternate device that upgrades the Backup Data request.
Preferably, the alternate device behind the renewal Backup Data in the hot backup system of this group system also is used for upgrading Status of Backups, and Status of Backups is sent to the alternate device corresponding with it, and sends renewal Backup Data notice to the alternate device corresponding with it; And receiving after the described alternate device corresponding with it upgrade the request of Backup Data, with new data packets more send to send the request of renewal Backup Data alternate device to carry out the renewal of Backup Data.
Preferably, the main equipment in the hot backup system of this group system also is further used for being preset with a time threshold values; When reaching default time during threshold values, described main equipment scanning Status of Backups table, whether the Backup Data of judging the alternate device that all are corresponding with it upgrades is finished; When in the main equipment Status of Backups table all were consistent with the Status of Backups of the Status of Backups of its corresponding alternate device and main equipment, the Backup Data of judging the alternate device that all are corresponding with main equipment upgrades to be finished; Or when the Status of Backups of the Status of Backups of the alternate device corresponding with it in the main equipment Status of Backups table and main equipment is inconsistent, sends to the inconsistent alternate device of Status of Backups and main equipment and to upgrade the renewal that Backup Data notifies to finish Backup Data.
Preferably, the alternate device corresponding with main equipment in the hot backup system of this group system also is used for a default time threshold values; When reaching default time during threshold values, the described alternate device corresponding with main equipment scans its Status of Backups table, judge whether its Status of Backups is up-to-date, when its Status of Backups when not being up-to-date, send upgrade the Backup Data request to the up-to-date alternate device of its Status of Backups to finish the renewal of Backup Data; Or when its Status of Backups when being up-to-date, whether the Backup Data of judging the alternate device that all are corresponding with it upgrades is finished, when in its Status of Backups table all were consistent with the Status of Backups of its corresponding alternate device and its Status of Backups, the Backup Data of judging the alternate device corresponding with it upgrades to be finished; When the Status of Backups of the alternate device corresponding with it in its Status of Backups table and its Status of Backups are inconsistent, send to the inconsistent alternate device of the Status of Backups alternate device corresponding with main equipment and to upgrade the renewal that Backup Data notifies to finish Backup Data.
Compare prior art, the present invention is by being the Status of Backups table of each plant maintenance in the group system, equipment is when the Status of Backups of learning the alternate device corresponding with it is inconsistent, obtain new data packets more carry out the renewal of Backup Data and more new data packets send to the renewal that the alternate device corresponding with the stand-by equipment that upgrades Backup Data carries out Backup Data, all alternate devices are finished Data Update in group system, improved the service behaviour of main equipment again and reduce the main equipment CPU usage in the Hot Spare of complete realization group system.
Description of drawings
Fig. 1 is the concrete implementing procedure figure of the heat backup method preferred embodiment of group system of the present invention;
Fig. 2 is the concrete implementing procedure figure that main equipment upgrades Backup Data among Fig. 1 to the alternate device corresponding with it;
Fig. 3 is the concrete implementing procedure figure that alternate device corresponding with main equipment among Fig. 1 upgrades Backup Data;
Fig. 4 is alternate device corresponding with main equipment among Fig. 1 upgrades concrete implementing procedure figure from Backup Data to its corresponding alternate device;
Fig. 5 realizes the system architecture diagram of the hot backup system of group system for the present invention.
The realization of the object of the invention, functional characteristics and advantage will be in conjunction with the embodiments, are described further with reference to accompanying drawing.
Embodiment
Should be appreciated that specific embodiment described herein only in order to explaining the present invention, and be not used in restriction the present invention.
As shown in Figure 1, be the concrete implementing procedure figure of the heat backup method preferred embodiment of group system of the present invention.
It is emphasized that: flow chart shown in Figure 1 only is a preferred embodiment, and those skilled in the art is when knowing, any embodiment that makes up around inventive concept should not break away from the scope that contains in following technical scheme:
When the data of main equipment change, send more new data packets to the alternate device corresponding with main equipment; Each alternate device corresponding with main equipment receives described more new data packets, upgrades backed up data according to the more new data packets that receives; Each alternate device that upgrades behind the Backup Data sends more new data packets to the alternate device corresponding with it; Each with upgrade Backup Data after the corresponding alternate device of alternate device, receives described more new data packets, according to the more new data packets renewal backed up data that receives; All alternate devices are finished Data Update in group system.
Below be the concrete steps that present embodiment is progressively realized the Hot Spare of group system:
Step S11 when the data of main equipment change, sends more new data packets to the alternate device corresponding with main equipment.In the present embodiment, optional equipment is main equipment in the group system, and other equipment are as alternate device.Every equipment has also been safeguarded a Status of Backups table, is used for the up-to-date Status of Backups of all alternate devices corresponding with it that the described equipment of record knows at present.Main equipment sends the notice of upgrading Backup Data to the alternate device corresponding with it, after the request of the renewal Backup Data that receives the Backup Data corresponding with it, sends more new data packets to sending the alternate device that upgrades the Backup Data request.
Step S12, each alternate device corresponding with main equipment receives described more new data packets, upgrades Backup Data according to the more new data packets that receives.In the present embodiment, this alternate device corresponding with main equipment also upgrades its Status of Backups and sends to main equipment and reaches the alternate device corresponding with it.
Step S13, each alternate device that upgrades behind the Backup Data sends more new data packets to the alternate device corresponding with it.In the present embodiment, alternate device behind the renewal Backup Data sends the notice of upgrading Backup Data to the alternate device corresponding with it, after the request of the renewal Backup Data that receives the Backup Data corresponding with it, send more new data packets to sending the alternate device that upgrades the Backup Data request.
Step S14, each with upgrade Backup Data after the corresponding alternate device of alternate device, receives described more new data packets, according to the more new data packets renewal backed up data that receives.In the present embodiment, should with upgrade Backup Data after the corresponding alternate device of alternate device also its Status of Backups is upgraded and sends to the alternate device corresponding with it.
Step S15 returns and repeats above-mentioned steps S13 and S14, and all alternate devices are finished Data Update in group system.In the present embodiment, by repeating step S13 and step S14, realize the renewal of the Backup Data of each alternate device of group system, when the Status of Backups in the Status of Backups table in all alternate devices is consistent with the Status of Backups of main equipment, judge that the Hot Spare of group system is finished.
The present invention is by being the Status of Backups table of each plant maintenance in the group system, equipment is when the Status of Backups of learning the alternate device corresponding with it is inconsistent, obtain new data packets more carry out the renewal of Backup Data and more new data packets send to the renewal that the alternate device corresponding with the stand-by equipment that upgrades Backup Data carries out Backup Data, all alternate devices are finished Data Update in group system, improved the service behaviour of main equipment again and reduce the main equipment CPU usage in the Hot Spare of complete realization group system.
As shown in Figure 2, upgrade the concrete implementing procedure figure of Backup Data to the alternate device corresponding with it for main equipment among Fig. 1.
Below be that present embodiment realizes that progressively main equipment upgrades the concrete steps of Backup Data to the alternate device corresponding with it:
Step S21 when the main equipment data change, sends renewal Backup Data notice to the alternate device corresponding with it.In the present embodiment, when the main equipment data change, sending renewal Backup Data notice to the alternate device corresponding with it when, upgrade its Status of Backups.
Step S22, the alternate device corresponding with main equipment receive the renewal Backup Data notice of main equipment transmission and send the request of upgrading Backup Data.
After step S23, main equipment receive the request of renewal Backup Data of the alternate device transmission corresponding with it, new data packets is more sent to the alternate device of request of the new Backup Data of transmission.
Step S24, the alternate device corresponding with main equipment carries out the renewal of Backup Data after receiving the more new data packets of main equipment transmission.
After step S25, the alternate device corresponding with main equipment have upgraded Backup Data, its Status of Backups upgraded and send to main equipment.In the present embodiment, carry out the renewal of Backup Data when the alternate device corresponding with main equipment after, also send to the alternate device corresponding with it when upgrading its Status of Backups and its Status of Backups sent to main equipment.
Step S26, main equipment receives the Status of Backups of the alternate device corresponding with main equipment and upgrades the Status of Backups table.In the present embodiment, main equipment is preset a time threshold values, and when reaching the Preset Time threshold values, main equipment scans the Status of Backups table of its maintenance.
Step S27 judges that main equipment upgrades Backup Data to the alternate device corresponding with it and whether finishes.
When consistent with the Status of Backups of its corresponding alternate device and main equipment Status of Backups in the Status of Backups table of main equipment, Backup Data upgrades finishes process ends; When the Status of Backups of the alternate device corresponding with it and main equipment Status of Backups are inconsistent in the Status of Backups table of main equipment, carry out following step S28.In the present embodiment, when consistent with the Status of Backups of its corresponding alternate device and main equipment Status of Backups in the Status of Backups table of main equipment, judge that main equipment upgrades Backup Data to the alternate device corresponding with it and finishes.
Step S28, main equipment return and re-execute above-mentioned steps S22 after sending the notice of upgrading Backup Data to the alternate device corresponding with it that does not upgrade.In the present embodiment, main equipment is by a default threshold values, the Status of Backups of the alternate device that timing scan is corresponding with it, when the Status of Backups of the alternate device corresponding with it and its Status of Backups are inconsistent, with the inconsistent alternate device of its Status of Backups send upgrade Backup Data notice so that it finishes the renewal of Backup Data.
As shown in Figure 3, upgrade the concrete implementing procedure figure of Backup Data for alternate device corresponding with main equipment among Fig. 1.
Below be that present embodiment realizes that progressively the alternate device corresponding with main equipment upgrades the concrete steps of Backup Data:
Step S31 judges whether the Backup Data of the alternate device corresponding with main equipment finishes renewal.
When the Backup Data renewal of the alternate device corresponding with main equipment is finished, process ends; Or the renewal of the Backup Data of alternate device that ought be corresponding with main equipment imperfect tense, carries out following step S34.
In the present embodiment, the alternate device corresponding with main equipment preset a time threshold values, when reaching the Preset Time threshold values, scan the Status of Backups table in the alternate device corresponding with main equipment, whether consistently with main equipment by in the Status of Backups table relatively and the Status of Backups corresponding alternate device of main equipment judge whether Backup Data with the corresponding alternate device of main equipment upgrades and finish.When consistent with the Status of Backups of the corresponding alternate device of main equipment and main equipment, the Backup Data of judging the alternate device corresponding with main equipment upgrades to be finished.
Step S32, the alternate device corresponding with main equipment send the request of renewal Backup Data to the up-to-date alternate device of Status of Backups.
Step S33, the up-to-date alternate device of Status of Backups receive the alternate device corresponding with main equipment and send the request of upgrading Backup Data and send the renewal packet to sending the alternate device corresponding with main equipment that upgrades the Backup Data request.
Step S34, the alternate device corresponding with main equipment receive more new data packets and Backup Data and Status of Backups thereof are upgraded.
Step S35, the alternate device corresponding with main equipment sends the Status of Backups that upgrades to its corresponding alternate device.In the present embodiment, the alternate device corresponding with main equipment sends the Status of Backups that upgrades to its corresponding alternate device, so that each alternate device can in time be known up-to-date Status of Backups, carries out the renewal of Backup Data.
As shown in Figure 4, upgrade the concrete implementing procedure figure of Backup Data to its corresponding alternate device for alternate device corresponding with main equipment among Fig. 1.
Below be that present embodiment realizes that progressively the alternate device corresponding with main equipment upgrades the concrete steps of Backup Data to its corresponding alternate device:
Step S41, the alternate device corresponding with main equipment is updated to Backup Data up-to-date.In the present embodiment, when consistent with the Status of Backups of the Status of Backups of the corresponding alternate device of main equipment and main equipment, it is up-to-date to judge that its Backup Data has been updated to.
Step S42, the Status of Backups table of the alternate device that the alternate device scanning corresponding with main equipment is corresponding with it.In the present embodiment, the alternate device corresponding with main equipment is preset with a time threshold values, when reaching the Preset Time threshold values, the Status of Backups table of the alternate device that the alternate device scanning corresponding with main equipment is corresponding with it, whether up-to-date with the Status of Backups of judging the alternate device corresponding with it.
Whether step S43 judges in the Status of Backups table consistent with the Status of Backups of the corresponding alternate device of main equipment with its corresponding Status of Backups.
When whether consistent with the Status of Backups of the corresponding alternate device of main equipment with its corresponding Status of Backups in the Status of Backups table, process ends; Or when whether Status of Backups corresponding with it in the Status of Backups table is inconsistent with the Status of Backups of the corresponding alternate device of main equipment, changes over to and carry out following step S44.
Step S44, the alternate device corresponding with main equipment send the renewal Backup Data and are notified to and the inconsistent alternate device of its Status of Backups.
Step S45, the inconsistent alternate device of the alternate device Status of Backups corresponding with main equipment receive the notice of the renewal Backup Data that sends with the corresponding alternate device of main equipment and send the request of renewal Backup Data.
Step S46, the alternate device corresponding with main equipment receive to send the request of upgrading Backup Data and send and upgrade packet to sending the alternate device that upgrades the Backup Data request.
Step S47, the alternate device that the alternate device corresponding with main equipment is corresponding receives more new data packets, and Backup Data is upgraded.In the present embodiment, the corresponding alternate device of the alternate device corresponding with main equipment also upgrades its Status of Backups after Backup Data is upgraded.
Step S48, the corresponding alternate device of the alternate device corresponding with main equipment sends to the more alternate device corresponding with main equipment of new data packets with the Status of Backups that upgrades.In the present embodiment, the corresponding alternate device of the alternate device corresponding with main equipment also sends to Status of Backups the alternate device corresponding with it.
As shown in Figure 5, be the system architecture diagram of the hot backup system preferred embodiment of group system of the present invention.This specifically comprises: be example with one among the main equipment 11(figure) and several alternate devices 12.In the present embodiment, optional equipment is as main equipment 11 in the group system, and other equipment are as alternate device 12, and every equipment is all safeguarded the Status of Backups table of an alternate device corresponding with it 12.
Main equipment 11 is used for when its data change, and sends more new data packets to the alternate device 12 corresponding with main equipment 11.
In the present embodiment, optional equipment is main equipment in the group system, and other equipment are as alternate device.Main equipment 11 and alternate device 12 are all safeguarded a Status of Backups table, is used for the up-to-date Status of Backups of the corresponding alternate device 13 of its all alternate devices 12 corresponding with main equipment 11 of knowing at present of record and alternate device 12.Main equipment 11 sends the notice of upgrading Backup Data to the alternate device corresponding with it 12, after the request of the renewal Backup Data that receives the alternate device corresponding with it 12, sends more new data packets to sending the alternate device 12 that upgrades the Backup Data request.
The alternate device 12 corresponding with main equipment 11 is used for receiving the more new data packets that main equipment 11 sends, upgrade Backup Data according to the more new data packets that receives after, send more new data packets to the alternate device corresponding with it 13.
In the present embodiment, should the alternate device 12 corresponding with main equipment 11 also its Status of Backups be upgraded and send to main equipment 11 and the alternate device 13 corresponding with it and send the notice of upgrading Backup Datas to the alternate device corresponding with it 13, after the request of the renewal Backup Data that receives the alternate device corresponding with it 13, send more new data packets to sending the alternate device 13 that upgrades the Backup Data request.
The alternate device 13 corresponding with alternate device 12 after upgrading Backup Data is used for receiving the more new data packets that the alternate device corresponding with main equipment 12 sends, according to the more new data packets renewal Backup Data that receives.
In the present embodiment, should with upgrade Backup Data after the corresponding alternate device 13 of alternate device 12 also its Status of Backups is upgraded and sends to the alternate device corresponding with it 12.
The present invention is by the Status of Backups table for the alternate device corresponding with it 12 of each plant maintenance in the group system, equipment is when the Status of Backups of learning the alternate device corresponding with it 12 is inconsistent, obtain new data packets more carry out the renewal of Backup Data and more new data packets send to the alternate device 13 corresponding with the stand-by equipment 12 that upgrades Backup Data and carry out the renewal of Backup Data, all alternate devices are finished Data Update in group system, relative prior art, the present invention has improved the service behaviour of main equipment again and has reduced the main equipment CPU usage in the Hot Spare of complete realization group system.
Based on above-described embodiment, each equipment is all safeguarded the Status of Backups table of an alternate device corresponding with it 12 in this system, is used for knowing the up-to-date Status of Backups of corresponding alternate device 12 with it.
Main equipment 11 also is used for sending renewal Backup Data notice to the alternate device corresponding with it 12; And after the request that receives alternate device 12 renewal Backup Datas, send more new data packets to sending the alternate device 12 that upgrades the Backup Data request.
Alternate device 12 behind the renewal Backup Data also is used for upgrading Status of Backups, and Status of Backups is sent to the alternate device corresponding with it 13, and upgrades Backup Data to the alternate device corresponding with it 13 transmissions and notify; And after the request that receives the renewal Backup Data that the alternate device corresponding with it 13 send, with new data packets more send to send upgrade the Backup Data request alternate device 13 to carry out the renewal of Backup Data.
Main equipment 11 also is further used for being preset with a time threshold values; When reaching default time during threshold values, main equipment 11 scanning Status of Backups tables, whether the Backup Data of judging all alternate devices corresponding with it 12 upgrades is finished; When in the main equipment 11 Status of Backups tables all were consistent with the Status of Backups of the Status of Backups of its corresponding alternate device 12 and main equipment 11, the Backup Data of judging all alternate devices corresponding with main equipment 12 upgrades to be finished; Or when the Status of Backups of the Status of Backups of the alternate device 12 corresponding with it in the main equipment 11 Status of Backups tables and main equipment 11 is inconsistent, sends to Status of Backups and main equipment 11 inconsistent alternate devices 12 and to upgrade the renewal that Backup Datas notify to finish Backup Data.
The alternate device 12 corresponding with main equipment 11 also is used for a default time threshold values; When reaching default time during threshold values, alternate device 12 scanning its Status of Backups tables corresponding with main equipment 11, judge whether its Status of Backups is up-to-date, when its Status of Backups when not being up-to-date, send upgrade the Backup Data request to the up-to-date alternate device 13 of its Status of Backups to finish the renewal of Backup Data; Or when its Status of Backups when being up-to-date, whether the Backup Data of judging all alternate devices corresponding with it 13 upgrades is finished, when in its Status of Backups table all were consistent with the Status of Backups of its corresponding alternate device 13 and its Status of Backups, the Backup Data of judging the alternate device 13 corresponding with it upgrades to be finished; Or when the Status of Backups of the alternate device 13 corresponding with it in its Status of Backups table and its Status of Backups are inconsistent, send to Status of Backups and main equipment 11 corresponding alternate device 12 inconsistent alternate devices 13 and to upgrade the renewal that Backup Datas notify to finish Backup Data.
The above only is the preferred embodiments of the present invention; be not so limit claim of the present invention; every equivalent structure or equivalent flow process conversion that utilizes specification of the present invention and accompanying drawing content to do; or directly or indirectly be used in other relevant technical fields, all in like manner be included in the scope of patent protection of the present invention.

Claims (12)

1. the heat backup method of a group system is characterized in that, the method comprising the steps of:
When the data of A, main equipment change, send more new data packets to the alternate device corresponding with main equipment;
B, each alternate device corresponding with main equipment receive described more new data packets, upgrade Backup Data according to the more new data packets that receives;
C, each alternate device that upgrades behind the Backup Data send more new data packets to the alternate device corresponding with it;
D, each with upgrade Backup Data after the corresponding alternate device of alternate device, receives described more new data packets, according to the more new data packets renewal Backup Data that receives;
E, repeating step C and D all alternate devices in group system are finished Data Update.
2. the heat backup method of group system according to claim 1 is characterized in that, each equipment is all safeguarded the Status of Backups table of an alternate device corresponding with it in the described group system, is used for knowing the up-to-date Status of Backups with its corresponding alternate device.
3. the heat backup method of group system according to claim 1 is characterized in that, described steps A comprises:
Main equipment sends to the alternate device corresponding with it and upgrades the Backup Data notice; And
After the request that receives described alternate device renewal Backup Data, send more new data packets to sending the alternate device that upgrades the Backup Data request.
4. the heat backup method of group system according to claim 1 is characterized in that, described step B comprises:
Alternate device behind the renewal Backup Data upgrades Status of Backups, and Status of Backups is sent to the alternate device corresponding with it, and sends renewal Backup Data notice to the alternate device corresponding with it;
And receiving after the described alternate device corresponding with it upgrade the request of Backup Data, with new data packets more send to send the request of renewal Backup Data alternate device to carry out the renewal of Backup Data.
5. the heat backup method of group system according to claim 1 is characterized in that, described steps A also comprises:
Described main equipment is preset with a time threshold values;
When reaching default time during threshold values, described main equipment scanning Status of Backups table, whether the Backup Data of judging the alternate device that all are corresponding with it upgrades is finished;
When in the main equipment Status of Backups table all were consistent with the Status of Backups of the Status of Backups of its corresponding alternate device and main equipment, the Backup Data of judging the alternate device that all are corresponding with main equipment upgrades to be finished; Or when the Status of Backups of the Status of Backups of the alternate device corresponding with it in the main equipment Status of Backups table and main equipment is inconsistent, sends to the inconsistent alternate device of Status of Backups and main equipment and to upgrade the renewal that Backup Data notifies to finish Backup Data.
6. the heat backup method of group system according to claim 1 is characterized in that, described step C also comprises:
The described alternate device corresponding with main equipment preset a time threshold values;
When reaching default time during threshold values, the described alternate device corresponding with main equipment scans its Status of Backups table, judges whether its Status of Backups is up-to-date;
When its Status of Backups when not being up-to-date, send upgrade the Backup Data request to the up-to-date alternate device of its Status of Backups to finish the renewal of Backup Data; Or when its Status of Backups was up-to-date, whether the Backup Data of judging the alternate device that all are corresponding with it upgrades was finished;
When in its Status of Backups table all were consistent with the Status of Backups of its corresponding alternate device and its Status of Backups, the Backup Data of judging the alternate device corresponding with it upgrades to be finished; When the Status of Backups of the alternate device corresponding with it in its Status of Backups table and its Status of Backups are inconsistent, send to the inconsistent alternate device of the Status of Backups alternate device corresponding with main equipment and to upgrade the renewal that Backup Data notifies to finish Backup Data.
7. the hot backup system of a group system is characterized in that, this system comprises main equipment and several alternate devices, wherein:
Described main equipment is used for sending more new data packets to the alternate device corresponding with main equipment when its data change;
The described alternate device corresponding with main equipment is used for receiving described more new data packets, behind the more new data packets renewal Backup Data that receives, sends more new data packets to the alternate device corresponding with it;
The corresponding alternate device of alternate device described and behind the renewal Backup Data is used for receiving described more new data packets, upgrades Backup Data according to the more new data packets that receives.
8. the hot backup system of group system according to claim 7 is characterized in that, each equipment is all safeguarded the Status of Backups table of an alternate device corresponding with it in this system, is used for knowing the up-to-date Status of Backups with its corresponding alternate device.
9. the hot backup system of group system according to claim 7 is characterized in that, described main equipment also is used for sending renewal Backup Data notice to the alternate device corresponding with it; And
After the request that receives described alternate device renewal Backup Data, send more new data packets to sending the alternate device that upgrades the Backup Data request.
10. the hot backup system of group system according to claim 7, it is characterized in that, alternate device behind the described renewal Backup Data also is used for upgrading Status of Backups, Status of Backups is sent to the alternate device corresponding with it, and send renewal Backup Data notice to the alternate device corresponding with it;
And receiving after the described alternate device corresponding with it upgrade the request of Backup Data, with new data packets more send to send the request of renewal Backup Data alternate device to carry out the renewal of Backup Data.
11. the hot backup system of group system according to claim 7 is characterized in that, described main equipment also is further used for being preset with a time threshold values;
When reaching default time during threshold values, described main equipment scanning Status of Backups table, whether the Backup Data of judging the alternate device that all are corresponding with it upgrades is finished;
When in the main equipment Status of Backups table all were consistent with the Status of Backups of the Status of Backups of its corresponding alternate device and main equipment, the Backup Data of judging the alternate device that all are corresponding with main equipment upgrades to be finished; Or when the Status of Backups of the Status of Backups of the alternate device corresponding with it in the main equipment Status of Backups table and main equipment is inconsistent, sends to the inconsistent alternate device of Status of Backups and main equipment and to upgrade the renewal that Backup Data notifies to finish Backup Data.
12. the hot backup system of group system according to claim 7 is characterized in that, the described alternate device corresponding with main equipment also is used for a default time threshold values;
When reaching default time during threshold values, the described alternate device corresponding with main equipment scans its Status of Backups table, judge whether its Status of Backups is up-to-date, when its Status of Backups when not being up-to-date, send upgrade the Backup Data request to the up-to-date alternate device of its Status of Backups to finish the renewal of Backup Data;
Or when its Status of Backups when being up-to-date, whether the Backup Data of judging the alternate device that all are corresponding with it upgrades is finished, when in its Status of Backups table all were consistent with the Status of Backups of its corresponding alternate device and its Status of Backups, the Backup Data of judging the alternate device corresponding with it upgrades to be finished; When the Status of Backups of the alternate device corresponding with it in its Status of Backups table and its Status of Backups are inconsistent, send to the inconsistent alternate device of the Status of Backups alternate device corresponding with main equipment and to upgrade the renewal that Backup Data notifies to finish Backup Data.
CN201310019425.2A 2013-01-18 2013-01-18 The heat backup method of group system and system Active CN103209091B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310019425.2A CN103209091B (en) 2013-01-18 2013-01-18 The heat backup method of group system and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310019425.2A CN103209091B (en) 2013-01-18 2013-01-18 The heat backup method of group system and system

Publications (2)

Publication Number Publication Date
CN103209091A true CN103209091A (en) 2013-07-17
CN103209091B CN103209091B (en) 2016-06-29

Family

ID=48756183

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310019425.2A Active CN103209091B (en) 2013-01-18 2013-01-18 The heat backup method of group system and system

Country Status (1)

Country Link
CN (1) CN103209091B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103577546A (en) * 2013-10-12 2014-02-12 北京奇虎科技有限公司 Method and equipment for data backup, and distributed cluster file system
CN104506429A (en) * 2014-12-31 2015-04-08 瑞斯康达科技发展股份有限公司 Router backup set managing method, router and system
CN105095486A (en) * 2015-08-17 2015-11-25 浪潮(北京)电子信息产业有限公司 Cluster database disaster recovery method and device
CN106776155A (en) * 2016-12-08 2017-05-31 西安交大捷普网络科技有限公司 One kind application state connection synchronous method
CN108897822A (en) * 2018-06-21 2018-11-27 郑州云海信息技术有限公司 A kind of data-updating method, device, equipment and readable storage medium storing program for executing

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040088403A1 (en) * 2002-11-01 2004-05-06 Vikas Aggarwal System configuration for use with a fault and performance monitoring system using distributed data gathering and storage
CN101222367A (en) * 2008-01-28 2008-07-16 中兴通讯股份有限公司 Method and network guard system used for cluster network element updating version file
CN101309167A (en) * 2008-06-27 2008-11-19 华中科技大学 Disaster allowable system and method based on cluster backup
CN102055607A (en) * 2009-11-06 2011-05-11 三星电子(中国)研发中心 Method and system for updating network devices

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040088403A1 (en) * 2002-11-01 2004-05-06 Vikas Aggarwal System configuration for use with a fault and performance monitoring system using distributed data gathering and storage
CN101222367A (en) * 2008-01-28 2008-07-16 中兴通讯股份有限公司 Method and network guard system used for cluster network element updating version file
CN101309167A (en) * 2008-06-27 2008-11-19 华中科技大学 Disaster allowable system and method based on cluster backup
CN102055607A (en) * 2009-11-06 2011-05-11 三星电子(中国)研发中心 Method and system for updating network devices

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103577546A (en) * 2013-10-12 2014-02-12 北京奇虎科技有限公司 Method and equipment for data backup, and distributed cluster file system
CN103577546B (en) * 2013-10-12 2017-06-09 北京奇虎科技有限公司 A kind of method of data backup, equipment and distributed cluster file system
CN104506429A (en) * 2014-12-31 2015-04-08 瑞斯康达科技发展股份有限公司 Router backup set managing method, router and system
CN105095486A (en) * 2015-08-17 2015-11-25 浪潮(北京)电子信息产业有限公司 Cluster database disaster recovery method and device
CN106776155A (en) * 2016-12-08 2017-05-31 西安交大捷普网络科技有限公司 One kind application state connection synchronous method
CN108897822A (en) * 2018-06-21 2018-11-27 郑州云海信息技术有限公司 A kind of data-updating method, device, equipment and readable storage medium storing program for executing

Also Published As

Publication number Publication date
CN103209091B (en) 2016-06-29

Similar Documents

Publication Publication Date Title
CN103209091A (en) Hot backup method and system for clustering system
CN102023876B (en) Embedded system capable of upgrading software on line and online upgrading method
CN103533634A (en) Profile activation system, eUICC and profile activation method of eUICC
CN105743948A (en) Network version upgrading method and apparatus
CN101184309A (en) Embedded system remote upgrade method for repeater equipment
CN102014530A (en) Processing method after failure of configuration updating and network element equipment
CN105744008B (en) Smart home platform, method for updating system and device applied to the platform
CN105677380B (en) Method and device for board-by-board upgrading of double master control isolations
CN103297275A (en) Dynamic discovery and loading system and method for Web network management client module
EP2953303A1 (en) Data compression method, and reduction method, device and system
CN104579746A (en) Method and device for controlling dual-link transmission
CN102307194A (en) Graceful restarting method and device for universal protocol process
CN103178974A (en) Fault processing system and method
CN110958139B (en) Network control method, orchestrator, controller, and computer-readable storage medium
CN102984055A (en) Soft restart upgrading method and equipment of ISSU
CN103096362A (en) ZigBee network recovery method
CN103200032A (en) Safe and reliable host and backup generator tripping system
CN100488129C (en) Method for processing the batch configuration and network management device and network system
CN101502149B (en) A network managing system for completing customized operation automatically and a method thereof
CN103106064A (en) Method and device for complex time sequence processing queue dynamic prediction
CN101963791A (en) Method for performing software upgrading on controllers of hydraulic bracket electrohydraulic control system
CN102075279B (en) Configuration method and equipment for auto protocol switch (APS) working mode
CN101155061B (en) Master/standby control method
CN1992639B (en) Method for remote updating software and data of network equipment
CN103618753A (en) Trans-secret-region data exchange method based on one-way transmission equipment

Legal Events

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