CN102325056A - Backup method and system supporting combination of event backup and state backup - Google Patents
Backup method and system supporting combination of event backup and state backup Download PDFInfo
- Publication number
- CN102325056A CN102325056A CN201110331553A CN201110331553A CN102325056A CN 102325056 A CN102325056 A CN 102325056A CN 201110331553 A CN201110331553 A CN 201110331553A CN 201110331553 A CN201110331553 A CN 201110331553A CN 102325056 A CN102325056 A CN 102325056A
- Authority
- CN
- China
- Prior art keywords
- backup
- incident
- state
- mode
- event
- 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
Links
Images
Abstract
The invention provides a backup method and a backup system supporting the combination of event backup and state backup. The method comprises the following steps of: dividing a backup mode adopted by an event to be backed up; and when a program receives the event to be backed up, searching for the backup mode according to the type of the event, and performing backup processing by adopting a corresponding backup mode. By the method and the system, the backup reliability of a distributed system is enhanced, the advantages of the event backup and the state backup are combined, backup data traffic is reduced, backup efficiency is improved, and the downtime of the distributed system is shortened.
Description
Technical field
The present invention relates to the network communications technology field, relate in particular to a kind of backup implementation method and system that supports that incident backup and state backup combine.
Background technology
The ethernet network of carrier class or military use is very high for the requirement of network reliability.Improve network reliability, common way has two kinds, and a kind of is redundancy through network topology, when the single node fault, through changing the trend of data in network, reaches redundancy backup, the purpose of high reliability; A kind of in addition is through strengthening the unfailing performance of single node.Such as in the ethernet device of distributed system,, reach the purpose of single node non-stop run through the redundancy backup of active and standby integrated circuit board.For reaching the non-stop run of active and standby integrated circuit board, the state on the active and standby integrated circuit board all is in real time synchronous.The synchronous method of active and standby integrated circuit board has a variety of, and incident backup and state backup are dual modes relatively more commonly used.So-called incident backup is meant that the mainboard card backups to its outside of receiving or internal event on the main/standby board cards, separately its result of computing.Such as receiving OSPF (open shortest path priority protocol) message, OSPF timer is overtime etc.After the incident backup, slave board oneself calculates the internal state change that this incident causes.So-called state backup is meant that the mainboard card backups to the final result of its computing on the main/standby board cards, and such as increasing an OSPF route in the database, certain ospf neighbor is deleted etc. in the database.State backs up to be indifferent to what takes place, and in fact is exactly a kind of backup of clear data database data.
State backup in the distributed system and incident backup can reach the requirement of high reliability backup; But pluses and minuses are respectively arranged, and the incident backup needs the backed up data amount little, and realizes simple; But; Incident if any event correlation occurs, and under some situation, the result of calculation of active and standby integrated circuit board is different.The state backup backups to all data in the mainboard card database on the main/standby board cards; It is in full accord to reach active and standby integrated circuit board result of calculation; But its backup difficulty and backup data quantity are very huge, if run into the situation of network concussion, the data volume geometry level goes up between active and standby integrated circuit board; Possibly cause the mainboard card to handle the regular traffic ability and weaken, extreme case possibly cause mainboard card cisco unity malfunction.
Therefore, be necessary to provide a kind of backup implementation method that incident backup and state back up and combine and system of supporting to overcome the problems referred to above.
Summary of the invention
The object of the present invention is to provide a kind of backup implementation method of supporting that incident backup and state backup combine.
Another object of the present invention is to provide a kind of system that supports that incident backup and state backup combine, this system applies backs up the backup implementation method that combines in said support incident backup and state.
Correspondingly, a kind of backup implementation method of supporting that incident backup and state backup combine of the present invention comprises the steps:
S10 divides the backup mode of treating that backup event adopts;
S20, program is received when treating backup event, according to the event type search backup mode, adopts corresponding backup mode to carry out back-up processing.
As a further improvement on the present invention, said S10 specifically may further comprise the steps:
S101 resolves the event data item;
S102, whether the judgment data item relates to association in time, then this incident is divided into the incident backup mode as not relating to association in time;
S103, as relate to association in time, whether data processing amount is big further to judge said data item, and is little like the data treating capacity, then this incident is divided into the state backup mode;
S104 need handle mass data like said data item, then with this incident incident of being divided into/state backup mode.
As further improvement of the present invention, said incident/state backup mode elder generation employing incident backup mode adopts the state backup mode again.
As a further improvement on the present invention, said incident is accomplished backup by a synchronous passage, and the incident backup is arranged in the synchronizing channel, and the state backup is arranged again, but incident backup and state backup can not be present in the synchronizing channel simultaneously.
As a further improvement on the present invention, the division of said backup mode is carried out at the incident inlet.
Correspondingly, a kind of standby system of supporting that incident backup and state backup combine of the present invention comprises:
Backup analysis and judgement module is treated the backup mode that backup event adopts in order to division;
The back-up processing module when treating backup event in order to receive in program, according to the event type search backup mode, adopts corresponding backup mode to carry out back-up processing.
As a further improvement on the present invention, said backup analysis and judgement module specifically is used for:
Resolve the event data item;
Whether the judgment data item relates to association in time, then this incident is divided into the incident backup mode as not relating to association in time;
As relate to association in time, whether data processing amount is big further to judge said data item, and is little like the data treating capacity, then this incident is divided into the state backup mode;
Need handle mass data like said data item, then with this incident incident of being divided into/state backup mode.
As further improvement of the present invention, said incident/state backup mode elder generation employing incident backup mode adopts the state backup mode again.
As a further improvement on the present invention, said incident is accomplished backup by a synchronous passage, and the incident backup is arranged in the synchronizing channel, and the state backup is arranged again, but incident backup and state backup can not be present in the synchronizing channel simultaneously.
As a further improvement on the present invention, the division of said backup mode is carried out at the incident inlet.
The invention has the beneficial effects as follows: the present invention has strengthened distributed system backup reliability, and binding events backup and state back up advantage separately, reduce the Backup Data flow, has improved the efficient of backup, reduces the distributed system downtime.
Description of drawings
Fig. 1 shows the synchronizing channel between one embodiment of the present invention mainboard card and the main/standby board cards;
Fig. 2 shows the flow chart that the backup of support incident in an embodiment of the present invention and state back up the backup implementation method that combines;
Fig. 3 is the concrete process chart of S10 among Fig. 2;
Fig. 4 is the module composition diagram that backup of an embodiment of the present invention support incident and state back up the standby system that combines.
Embodiment
Below will combine each execution mode shown in the drawings to describe the present invention.But these execution modes do not limit the present invention, and the conversion on the structure that those of ordinary skill in the art makes according to these execution modes, method or the function all is included in protection scope of the present invention.
As shown in Figure 1, in an embodiment of the present invention, both comprised the incident backup mode on the active and standby integrated circuit board data sync mode of distributed system, comprise the state backup mode again.So, the incident backup is arranged in the synchronizing channel, the state backup is arranged again.In a passage, do two kinds of backups and be to guarantee the succession that backs up, i.e. incident backup is backed up and can not be present in the synchronizing channel simultaneously with state.
State backup and incident backup, the principle of these two kinds of backup modes is different, so, if be used in combination, utilize its advantage separately, must clearly divide backup scope separately.Before the backup beginning, at first need divide backup mode,, adopt different backup modes to a certain specific incident.Backup mode can be divided into three kinds: incident backup, incident/state backup, state backup.The division of backup mode is carried out at incident inlet, and every kind of incident all defines backup mode in advance, when program is received a specific incident, according to the event type search backup mode, sends into corresponding backup module and handles.
Backup implementation method as shown in Figure 2, that backup of support incident and state backup combine in an embodiment of the present invention comprises:
S10 divides the backup mode of treating that backup event adopts;
S20, program is received when treating backup event, according to the event type search backup mode, adopts corresponding backup mode to carry out back-up processing.
Specifically describe the division of three kinds of backup modes below:
1. the division of incident backup.Because the advantage of the low backup data quantity of incident backup, most Backup Data items that do not relate to the time are all accomplished by the incident backup, reduce the complexity that realizes as far as possible.Disposing integrated circuit board such as the user increases a static routing, lands password etc. such as user's configuration modification.
2. the division of incident/state backup.The backup mode of incident/state is in the event handling more complicated, and the database that relates to is more, if fully with the method for state backup, data volume is excessive between the active and standby integrated circuit board of possibility.Receive the LSA updating message such as ospf protocol, OSPF need recomputate all routes, but also need write down the time of receiving LSA message.At this moment, through the incident backup mode, the LSA updating message is backuped to main/standby board cards earlier,, upgrade the DB of LSA time correlation then through the mode of state backup.Such as behind port UP/DOWN, after the incident backup, need the concrete time of state backup synchronous port UP/DOWN again.
3. the division of state backup.The incident that strong correlation is arranged with the time is the mode of user mode backup all, such as starting timer, regularly restarts integrated circuit board etc.
For single integrated circuit board, the change of data or state is exactly nothing but to receive the data change that causes after a series of incidents.For particular event, all to one of above-mentioned three kinds of backup modes should be arranged, so the incident on the mainboard card all can correspond to a series of backup mode.
As shown in Figure 3, S10 specifically may further comprise the steps:
S101 resolves the event data item;
S102, whether the judgment data item relates to association in time, then this incident is divided into the incident backup mode as not relating to association in time;
S103, as relate to association in time, whether data processing amount is big further to judge said data item, and is little like the data treating capacity, then this incident is divided into the state backup mode;
S104 need handle mass data like said data item, then with this incident incident of being divided into/state backup mode.
Such as:
The user disposes a static routing through CLI (user command row configuration interface).Corresponding backup messages is:
Sequence | Type | Length | Message |
1 | The incident backup | Message-length | The static routing configuration messages |
The user uses the shutdown order to close a certain interface.Corresponding backup messages is:
Sequence | Type | Length | Message |
2 | The incident backup | Message-length | Port shutdown configuration messages |
3 | The state backup | Message-length | The port shutdown time |
OSFP receives the reprocessing of hello message.Corresponding backup messages is:
Sequence | Type | Length | Message |
4 | The state backup | Message-length | Ospf neighbor DB upgrades, and hello timer starts DB etc. |
When above-mentioned incident took place one by one, the Backup Data that acquires on the main/standby board cards was following these message queues.Main/standby board cards is through incident back-up processing and state back-up processing, and restore data reaches the purpose with mainboard card data consistent.
Sequence | Type | Length | Message |
1 | The incident backup | Message-length | The static routing configuration messages |
2 | The incident backup | Message-length | Port shutdown configuration messages |
3 | The state backup | Message-length | The port shutdown time |
4 | The state backup | Message-length | Ospf neighbor DB upgrades, and hello timer startup waits the DB status data to upgrade |
Please join shown in Figure 4 is the system module figure that backs up the backup implementation method that combines in order to backup of embodiment of the present invention one execution mode support incident and state, and this system comprises:
Backup analysis and judgement module is treated the backup mode that backup event adopts in order to division;
The back-up processing module when treating backup event in order to receive in program, according to the event type search backup mode, adopts corresponding backup mode to carry out back-up processing.
Said backup analysis and judgement module specifically is used for:
Resolve the event data item;
Whether the judgment data item relates to association in time, then this incident is divided into the incident backup mode as not relating to association in time;
As relate to association in time, whether data processing amount is big further to judge said data item, and is little like the data treating capacity, then this incident is divided into the state backup mode;
Need handle mass data like said data item, then with this incident incident of being divided into/state backup mode.
Thus; One aspect of the present invention has utilized the backup data quantity of incident backup low, realizes simple advantage, utilizes the high conforming characteristics of state backup high reliability on the other hand; Finally under the prerequisite of using minimum backup data quantity, reached the requirement of high reliability backup in the distributed system.The present invention has strengthened distributed system backup reliability, and binding events backup and state back up advantage separately, reduce the Backup Data flow, has improved the efficient of backup, reduces the distributed system downtime.
For the convenience of describing, be divided into various unit with function when describing above system and describe respectively.Certainly, when implementing the application, can in same or a plurality of softwares and/or hardware, realize the function of each unit.
Description through above execution mode can know, those skilled in the art can be well understood to the application and can realize by the mode that software adds essential general hardware platform.Based on such understanding; The part that the application's technical scheme contributes to prior art in essence in other words can be come out with the embodied of software product; This computer software product can be stored in the storage medium, like ROM/RAM, magnetic disc, CD etc., comprises that some instructions are with so that a computer equipment (can be a personal computer; Server, the perhaps network equipment etc.) carry out the described method of some part of each execution mode of the application or execution mode.
System implementation mode described above only is schematic; Wherein said unit as the separating component explanation can or can not be physically to separate also; The parts that show as the unit can be or can not be physical locations also; Promptly can be positioned at a place, perhaps also can be distributed on a plurality of NEs.Can select wherein some or all of module to realize the purpose of present embodiment scheme according to the actual needs.Those of ordinary skills promptly can understand and implement under the situation of not paying creative work.
The application can be used for numerous general or special purpose computingasystem environment or configuration, or in the communication equipment.For example: personal computer, server computer, handheld device or portable set, plate equipment, multicomputer system, the system based on microprocessor, set top box, programmable consumer-elcetronics devices, network PC, minicom, mainframe computer, comprise DCE of above any system or equipment or the like.
The application can describe in the general context of the computer executable instructions of being carried out by computer, for example program module.Usually, program module comprises the routine carrying out particular task or realize particular abstract, program, object, assembly, data structure or the like.Also can in DCE, put into practice the application, in these DCEs, by through communication network connected teleprocessing equipment execute the task.In DCE, program module can be arranged in this locality and the remote computer storage medium that comprises memory device.
Be to be understood that; Though this specification is described according to execution mode; But be not that each execution mode only comprises an independently technical scheme, this narrating mode of specification only is for clarity sake, and those skilled in the art should make specification as a whole; Technical scheme in each execution mode also can form other execution modes that it will be appreciated by those skilled in the art that through appropriate combination.
The listed a series of detailed description of preceding text only is specifying to feasibility execution mode of the present invention; They are not in order to restriction protection scope of the present invention, allly do not break away from equivalent execution mode or the change that skill of the present invention spirit done and all should be included within protection scope of the present invention.
Claims (10)
1. a backup implementation method of supporting that incident backup and state backup combine is characterized in that, may further comprise the steps:
S10 divides the backup mode of treating that backup event adopts;
S20, program is received when treating backup event, according to the event type search backup mode, adopts corresponding backup mode to carry out back-up processing.
2. the backup implementation method that support incident backup according to claim 1 and state backup combine is characterized in that said S10 specifically may further comprise the steps:
S101 resolves the event data item;
S102, whether the judgment data item relates to association in time, then this incident is divided into the incident backup mode as not relating to association in time;
S103, as relate to association in time, whether data processing amount is big further to judge said data item, and is little like the data treating capacity, then this incident is divided into the state backup mode;
S104 need handle mass data like said data item, then with this incident incident of being divided into/state backup mode.
3. the backup implementation method that support incident backup according to claim 2 and state backup combine is characterized in that, said incident/state backup mode elder generation employing incident backup mode adopts the state backup mode again.
4. the backup implementation method that support incident backup according to claim 3 and state backup combine; It is characterized in that; Said incident is accomplished backup through a synchronous passage; The incident backup is arranged in the synchronizing channel, the state backup is arranged again, but incident backup and state backup can not be present in the synchronizing channel simultaneously.
5. the backup implementation method that combines according to each described support incident backup and state backup in the claim 1 to 4 is characterized in that the division of said backup mode is carried out at the incident inlet.
6. a standby system of supporting that incident backup and state backup combine is characterized in that, comprising:
Backup analysis and judgement module is treated the backup mode that backup event adopts in order to division;
The back-up processing module when treating backup event in order to receive in program, according to the event type search backup mode, adopts corresponding backup mode to carry out back-up processing.
7. the standby system that support incident backup according to claim 6 and state backup combine is characterized in that said backup analysis and judgement module specifically is used for:
Resolve the event data item;
Whether the judgment data item relates to association in time, then this incident is divided into the incident backup mode as not relating to association in time;
As relate to association in time, whether data processing amount is big further to judge said data item, and is little like the data treating capacity, then this incident is divided into the state backup mode;
Need handle mass data like said data item, then with this incident incident of being divided into/state backup mode.
8. the standby system that support incident backup according to claim 7 and state backup combine is characterized in that, said incident/state backup mode elder generation employing incident backup mode adopts the state backup mode again.
9. the standby system that support incident backup according to claim 8 and state backup combine; It is characterized in that; Said incident is accomplished backup through a synchronous passage; The incident backup is arranged in the synchronizing channel, the state backup is arranged again, but incident backup and state backup can not be present in the synchronizing channel simultaneously.
10. the standby system that combines according to each described support incident backup and state backup in the claim 6 to 9 is characterized in that the division of said backup mode is carried out at the incident inlet.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201110331553 CN102325056B (en) | 2011-10-27 | 2011-10-27 | Backup method and system supporting combination of event backup and state backup |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201110331553 CN102325056B (en) | 2011-10-27 | 2011-10-27 | Backup method and system supporting combination of event backup and state backup |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102325056A true CN102325056A (en) | 2012-01-18 |
CN102325056B CN102325056B (en) | 2013-09-04 |
Family
ID=45452730
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201110331553 Active CN102325056B (en) | 2011-10-27 | 2011-10-27 | Backup method and system supporting combination of event backup and state backup |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102325056B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015117389A1 (en) * | 2014-08-21 | 2015-08-13 | 中兴通讯股份有限公司 | Backup protection method and device for carrier grade nat (cgn) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1482773A (en) * | 2003-04-11 | 2004-03-17 | 清华紫光比威网络技术有限公司 | Method for implementing fault tolerant transmission control protocol |
US20050283648A1 (en) * | 2004-06-21 | 2005-12-22 | Dot Hill Systems Corporation | Apparatus and method in a cached raid controller utilizing a solid state backup device for improving data availability time |
CN101115033A (en) * | 2007-09-04 | 2008-01-30 | 武汉市中光通信公司 | Conversation inceptive protocol gateway master-slave conversion system and method |
CN101661416A (en) * | 2009-09-17 | 2010-03-03 | 宇龙计算机通信科技(深圳)有限公司 | A data copying method of mobile terminal, system and mobile terminal |
CN101714107A (en) * | 2009-10-23 | 2010-05-26 | 金蝶软件(中国)有限公司 | Database backup and recovery method and device in ERP system |
-
2011
- 2011-10-27 CN CN 201110331553 patent/CN102325056B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1482773A (en) * | 2003-04-11 | 2004-03-17 | 清华紫光比威网络技术有限公司 | Method for implementing fault tolerant transmission control protocol |
US20050283648A1 (en) * | 2004-06-21 | 2005-12-22 | Dot Hill Systems Corporation | Apparatus and method in a cached raid controller utilizing a solid state backup device for improving data availability time |
CN101115033A (en) * | 2007-09-04 | 2008-01-30 | 武汉市中光通信公司 | Conversation inceptive protocol gateway master-slave conversion system and method |
CN101661416A (en) * | 2009-09-17 | 2010-03-03 | 宇龙计算机通信科技(深圳)有限公司 | A data copying method of mobile terminal, system and mobile terminal |
CN101714107A (en) * | 2009-10-23 | 2010-05-26 | 金蝶软件(中国)有限公司 | Database backup and recovery method and device in ERP system |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015117389A1 (en) * | 2014-08-21 | 2015-08-13 | 中兴通讯股份有限公司 | Backup protection method and device for carrier grade nat (cgn) |
Also Published As
Publication number | Publication date |
---|---|
CN102325056B (en) | 2013-09-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102629224B (en) | Method and device of integrated data disaster recovery based on cloud platform | |
CN102609281B (en) | Distributed software patch update method and system | |
US20150213100A1 (en) | Data synchronization method and system | |
CN103618627B (en) | A kind of manage the method for virtual machine, Apparatus and system | |
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 | |
CN104137482A (en) | Disaster recovery data center configuration method and device under cloud computing framework | |
CN101808127B (en) | Data backup method, system and server | |
CN104115447A (en) | Allowing destroy scheme configuration method and device under cloud computing architecture | |
CN102308273A (en) | Storage system | |
Hedlund | Understanding Hadoop clusters and the network | |
KR20110044858A (en) | Maintain data indetermination in data servers across data centers | |
CN105204979A (en) | Recording method of Android logs and mobile terminal | |
WO2015158120A1 (en) | Method and apparatus for upgrading software version | |
CN103136070B (en) | A kind of method and apparatus of data disaster tolerance process | |
CN102521073B (en) | Increasing database availability during fault recovery | |
CN105630632A (en) | Virtual machine recovery method and virtual machine management device | |
CN103399781A (en) | Cloud server and virtual machine management method thereof | |
CN103136030A (en) | Virtual machine management system and method | |
CN105450759A (en) | System mirror image management method and device | |
Xia et al. | Performance and availability modeling of ITSystems with data backup and restore | |
CN104516796B (en) | A kind of network element backup and restoration methods and device based on command set | |
CN105162623A (en) | Cloud processing method and cloud server | |
CN109802995A (en) | Information push method, device, equipment and storage medium | |
CN102724292A (en) | Real-time database cluster architecture of control system of accelerator and establishment method thereof | |
CN103516734A (en) | Data processing method, device and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address |
Address after: 215000 unit 13 / 16, 4th floor, building B, No.5 Xinghan street, Suzhou Industrial Park, Jiangsu Province Patentee after: Suzhou Shengke Communication Co.,Ltd. Address before: 215021 unit 13 / 16, floor 4, building B, No. 5, Xinghan street, Suzhou Industrial Park, Suzhou, Jiangsu Patentee before: CENTEC NETWORKS (SU ZHOU) Co.,Ltd. |
|
CP03 | Change of name, title or address |