CN100413261C - Method and system of data recovering - Google Patents

Method and system of data recovering Download PDF

Info

Publication number
CN100413261C
CN100413261C CNB2006100326270A CN200610032627A CN100413261C CN 100413261 C CN100413261 C CN 100413261C CN B2006100326270 A CNB2006100326270 A CN B2006100326270A CN 200610032627 A CN200610032627 A CN 200610032627A CN 100413261 C CN100413261 C CN 100413261C
Authority
CN
China
Prior art keywords
application module
module
message
detect
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CNB2006100326270A
Other languages
Chinese (zh)
Other versions
CN1870533A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB2006100326270A priority Critical patent/CN100413261C/en
Publication of CN1870533A publication Critical patent/CN1870533A/en
Application granted granted Critical
Publication of CN100413261C publication Critical patent/CN100413261C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The present invention provides a data recovery method which is applied to a system which comprises a hot backup module and at least one application module. The method comprises the steps that the hot backup module sends out a first detection message to each application module; each application module receives the first detection message, information inside each application module is accordant according to the first detection message, and then a first response message is sent to the hot backup module; after the hot backup module receives the first response message, the hot backup module sends out a second detection message; each application module receives the second detection message and makes the information among the application modules accordant according to the second detection message. The present invention also provides a data recovery system. By using the method and the system of the present invention, the data in each application module and the data among the application modules can be guaranteed to be accordant, the reliability of a communication system can be enhanced, and the normal running of communication service can be guaranteed.

Description

The method and system that data are recovered
Technical field
The present invention relates to the recovery technology in the data communication field, specifically, relate to the method and system that a kind of data are recovered.
Background technology
Main board is the control centre of router, and CPU and memory are just in main board.Main board is responsible for the management and the control of whole router, and IP routing protocol moves on main board.Main board directly receives the instruction from network management center, and is issued to each interface board execution command, and each interface board is sent to main board to running status and statistics simultaneously, carries out necessary processing by main board, issues network management center when needing.The static routing of network manager's configuration and the dynamic routing main board that generates by the operation Routing Protocol manage, and are issued to each interface board, make each interface board can carry out the forwarding work of packet independently.
The effect of main board is very important, in case it breaks down, whole router is with cisco unity malfunction.Core network device for telecommunications network; can when needing, the client in time provide service when no matter any one part of system breaks down; it requires availability factor to reach 99.999%, promptly can not surpass 5min the downtime in 1 year, and the availability that increases system just shows particularly important.
Redundancy is a key technology that increases system availability.Router provides high availability by being equipped with two route processors plates, one of them be main road by processor, be called main board, be in active state; Another standby processor is standby plate, is in passive state.
Standby plate be inserted into or main board on during Data Update, the module of moving in main board (software program, Routing Protocol etc.) backups to data on the standby plate, guarantees that data on the main board and the data on the controlled plate are consistent.In the normal course of work, active and standby plate is exchange handshake signals periodically, if main board breaks down owing to hardware or software error, standby plate can not receive the handshake of main board, then can start and switch flow process, standby plate is taken over main board work, becomes main board, and original main board becomes standby plate, guarantees the normal operation of router.
Active and standby plate is formed as shown in Figure 1:
Application module 1 in the main board, application module 2, application module 3: the data that need backup to the standby plate application module are provided;
Application module 1 in the standby plate, application module 2, application module 3: receive the Backup Data in the main board and be stored in the respective application of standby plate in the module;
Hot Spare module: coordinate the module of main board, and when the main board fault, standby plate is switched to active state to the standby plate data backup.
Active and standby plate breaks down in backup procedure, and the Backup Data in the new main board is imperfect, and then causes the data in the standby plate inconsistent, that is: the data that need use when the data of the operation of the inner backup of application module are with normal operation are inconsistent;
If new main board moves under current state, thereby causes the internal data in some application module inconsistent;
The application module that has dependence simultaneously because the data of depended module are inconsistent, causes data related between application module inconsistent.
For example interface management module and routing module (application module) when normally moving on standby plate, the interface management module is obtained the relevant information of routing module, when main board goes wrong, when active and standby plate switches, when the routing module of standby plate obtains backed up data and goes wrong, the data that data on the routing module and normal operation need are inconsistent, thereby the data of obtaining on the interface management module are incorrect, and are promptly inconsistent with normal required data.
Thereby cause whole system can not recover normal operation.
Summary of the invention
The method and system that the object of the present invention is to provide a kind of data to recover, avoid when main board breaks down, when standby plate switched to new main board, data was consistent between each the application module inside that guarantees standby plate and application module, improved the reliability of communication system.
The method that a kind of data are recovered, this method is applied to include in the system of Hot Spare module and at least one application module, comprises step:
The Hot Spare module sends first detect-message to described each application module;
Each application module receives described first detect-message, and makes the information unanimity of this application module inside according to described first detect-message, sends first response message then to described Hot Spare module;
Described Hot Spare module sends second detect-message after receiving described first response message;
Described each application module receives described second detect-message, and makes information unanimity between each application module according to described second detect-message.
Described Hot Spare module sends first detect-message and is specially:
Described Hot Spare module is obtained the priority of described application module, and issues first detect-message according to application module priority order from high to low to described each application module.
Consistent being specially of information that makes this application module inside according to described first detect-message: carry out the internal information consistency detection and carry out consistency detection, and revise inconsistent information for the data that application modules inside has dependence.
The inconsistent information of described modification is specially: the inconsistent data with dependence is reverted to the safety value of acquiescence or be initialized as zero.
Described transmission second detect-message is specially:
Described Hot Spare module issues second detect-message to described each application module successively according to the priority of described application module.
Describedly make consistent being specially of information between each application module according to described second detect-message: the data with dependence between the application modules detect, and revise inconsistent information between described application module.
Inconsistent information is specially between the described application module of described modification:
After the quilt dependence application module of this application module is finished the internal consistency modification, carry out the application module of dependence and the data sync between the quilt application module that relies on and operate.
Describedly also comprise after making information unanimity between each application module according to described second detect-message:
Described application module sends second response message to described Hot Spare module.
The system that a kind of data are recovered comprises: a Hot Spare module, at least one application module that links to each other with described Hot Spare module,
Described Hot Spare module further includes the information receiving and transmitting unit: be used to send first, second detect-message to described each application module, and receive the response message of described each application module;
Described each application module: receive described first, second detect-message; Carry out the internal information consistency detection, and make each application module internal information unanimity, send first response message to described Hot Spare module; Carry out consistency detection between application module, and make the information unanimity between described each application module.
Described each application module comprises:
The inside modules detecting unit: receive described first detect-message, application modules inside has the data of dependence and carries out consistency detection, the data with dependence is reverted to the safety value of acquiescence or be initialized as zero;
The intermodule detecting unit: receive described second detect-message, the data that have dependence between application modules are carried out consistency detection, make the data consistent between application module.
Described each application module also comprises:
Registering unit: the priority of described each application module of thermotropism backup module registration.
Described information receiving and transmitting unit comprises:
Message sequence transmitting element: obtain the priority of described each application module, send first or second detect-message to described each application module according to priority order from high to low.
Described application module also comprises:
Response unit: send first, second response message to Hot Spare intermodule detection module.
Among the present invention, guarantee in the module of each application module and the data consistent of intermodule, improve the reliability of communication system, guarantee the normal operation of communication service.
Description of drawings
Fig. 1 is the composition of active and standby plate in the prior art.
Fig. 2 is the method flow diagram of the embodiment of the invention.
Fig. 3 is the structure chart of the system of the embodiment of the invention.
Fig. 4 is an application module structure chart in the embodiment of the invention.
Fig. 5 is Hot Spare modular structure figure in the embodiment of the invention.
Fig. 6 is concrete in an embodiment of the invention implementation process.
Embodiment
The invention provides the method and system that a kind of data are recovered, main board and standby plate are set on hardware, all comprise on the active and standby plate: a plurality of application modules and a Hot Spare module, core concept of the present invention is: when active and standby plate switches, standby plate is upgraded to main board, new main board Hot Spare module sends detect-message, and the data consistency of notifying each application module to carry out between application module inside and application module detects, and revises the inner and inconsistent information of intermodule of each application module.
Describe the present invention in detail below in conjunction with accompanying drawing, the concrete steps of the method among the present invention comprise step as shown in Figure 2:
Step 201: the Hot Spare module sends first detect-message.
Each application module is registered its priority to described Hot Spare module, and issues first detect-message according to each application module priority order from high to low to described application module.
The priority of each application module is predefined according to the data dependency of application module, and for example in data transfer operation, the data of application module 1 obtain from application module 2, and the priority of application module 1 is lower than the priority of application module 2.
Step 202: each application module detection module internal information consistency, revise the inner inconsistent information of each application module.
The internal data inconsistency is when data backup, and application module inter-process unit has dependence because fault causes internal data inconsistent; For example first data processing unit need use second data processing unit to handle the data of output in the inside of application module, relies on and second data processing unit thereby form first data processing unit; When second data processing unit breaks down, cause the operation of first data processing unit undesired, thereby cause the application module internal data inconsistent.
Each application module receives first detect-message, receive the order of first detect-message according to application module, the data of application modules inside with dependence are carried out consistency detection successively, and the inconsistent data that inside modules has a dependence is reverted to the safety value of acquiescence or is initialized as zero.
The acquiescence safety value is the security value (s) that the backup of previous realization complete thermal stored that breaks down.
Step 203, each application module send response message to the Hot Spare module.
Each application module sends response message notice Hot Spare module and finishes the inconsistent data modification of inside modules.
Step 204, Hot Spare module send the second detection information.
The Hot Spare module issues second detect-message to described each application module successively according to the priority of application module registration.
Information between step 205, each application module detection module is revised inconsistent information between application module.
Application module with data dependence relation, after first application module must wait for that second application module that is relied on is finished the internal consistency modification, carry out the data sync operation between first application module and second application module, reach the consistency of first application module and the second application module data.
Also comprise after the step more than having carried out:
Described application module sends response message to the Hot Spare module, and notice Hot Spare module is finished data consistent between the module is recovered.
The system that a kind of data are recovered as shown in Figure 3, comprising: a Hot Spare module, at least one application module that links to each other with described Hot Spare module:
Described Hot Spare module further includes the information receiving and transmitting unit: be used to send first, second detect-message to described each application module, and receive the response message of described each application module;
Described each application module: receive described first, second detect-message; Carry out the internal information consistency detection, and make each application module internal information unanimity, send first response message to described Hot Spare module; Carry out consistency detection between application module, and make the information unanimity between described each application module.
Described application module comprises as shown in Figure 4:
The inside modules detecting unit: receive first detect-message, application modules inside has the data of dependence and carries out consistency detection, the data with dependence is reverted to the safety value of acquiescence or be initialized as zero;
The intermodule detecting unit: receive second detect-message, the data that have dependence between application modules are carried out consistency detection, make the data consistent between the application module;
Registering unit: the thermotropism backup module is registered the priority of each application module.Response unit: send first, second response message to the Hot Spare module.
Described Hot Spare module comprises as shown in Figure 5:
Message sequence transmitting element: obtain the priority of each application module, send first or second detect-message to described each application module according to priority order from high to low.
Response message receiving element: receive first, second response message that application module sends over.
The method that a kind of data are recovered, the module that comprises in the specific implementation process be as shown in Figure 6: three application modules: application module 1, application module 2, application module 3; A Hot Spare module.
Application module 3 transmits data to uses mould 2, and application module 2 transmits data to application module 1, and application module 1 depends on application module 2, application module 2 depends on application module 3, therefore the priority of application module 3 is the highest, and the priority of application module 2 is taken second place, and the priority of application module 3 is minimum.
Concrete steps are as follows:
Step 701, Hot Spare module detect-message in three application module sending modules.
The Hot Spare module is obtained the priority of three application modules, detect-message in application module 3 sending modules at first, and then to application module 2 sending module detect-message, detect-message in application module 1 sending module at last.
702, application module 1, and application module 2 and application module 3 detection module internal informations are revised inconsistent information.
Application module 1, application module 2, application module 3 be according to receiving in the module detection information order, and consistency in the detection module successively if the application module internal information is inconsistent, just is initialized as zero or revert to the safety value of setting to the internal data of application module.
Step 703, application module 1, application module 2 and application module 3 send response message respectively to application module.
Step 704, Hot Spare module are receiving application module 1, after application module 2 and application module 3 response messages, according to priority to application module 3 successively, application module 2, detect-message between application module 2 sending modules.
Step 705, application module are carried out the consistency detection between application module, inconsistency information between modified module according to its dependence.
Application module 3 receives the intermodule detect-message, and detecting application module 3 does not have dependence, and the intermodule of finishing module 3 detects.
Application module 2 receives the intermodule detect-message, and the data that detect application module 2 rely on the data of application module 3, and application module 2 is carried out data sync according to the data of application module 3, realizes the data consistency of application module 2.
Application module 1 receives the intermodule detect-message, and the data that detect application module 1 rely on the data of application module 2, and application module 1 is carried out data sync according to the data of application module 2, realizes the data consistency of application module 1.
The consistent process of the data in the intermodule of having finished three application modules by above step and the module.
Effect of the present invention is: when situations such as main board takes place to crash or resets, standby plate is upgraded to new main board, guarantee this moment in the module of each application module of standby plate and the data consistent of intermodule, guaranteed the data consistent in the communication system, and guarantee that communication service normally moves, improve the reliability of communication system.
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation 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 range of claim.

Claims (13)

1. the method recovered of data, this method is applied to include in the system of Hot Spare module and at least one application module, it is characterized in that, comprises step:
The Hot Spare module sends first detect-message to described each application module;
Each application module receives described first detect-message, and makes the information unanimity of this application module inside according to described first detect-message, sends first response message then to described Hot Spare module;
Described Hot Spare module sends second detect-message after receiving described first response message;
Described each application module receives described second detect-message, and makes information unanimity between each application module according to described second detect-message.
2. method according to claim 1 is characterized in that, described Hot Spare module sends first detect-message and is specially:
Described Hot Spare module is obtained the priority of described application module, and issues first detect-message according to application module priority order from high to low to described each application module.
3. method according to claim 1, it is characterized in that, consistent being specially of information that makes this application module inside according to described first detect-message: carry out the internal information consistency detection and carry out consistency detection, and revise inconsistent information for the data that application modules inside has dependence.
4. method according to claim 3 is characterized in that, the inconsistent information of described modification is specially: the inconsistent data with dependence is reverted to the safety value of acquiescence or be initialized as zero.
5. method according to claim 1 is characterized in that, described transmission second detect-message is specially:
Described Hot Spare module issues second detect-message to described each application module successively according to the priority of described application module.
6. method according to claim 1, it is characterized in that, describedly make consistent being specially of information between each application module according to described second detect-message: the data with dependence between the application modules detect, and revise inconsistent information between described application module.
7. method according to claim 6 is characterized in that, inconsistent information is specially between the described application module of described modification:
After the application module that this application module relied on is finished internal consistency and revised, carry out the data sync operation between the application module that this application module and its relies on.
8. method according to claim 1 is characterized in that, describedly also comprises after making information unanimity between each application module according to described second detect-message:
Described application module sends second response message to described Hot Spare module.
9. the system recovered of data comprises: a Hot Spare module, with at least one application module that described Hot Spare module links to each other, it is characterized in that,
Described Hot Spare module further includes the information receiving and transmitting unit: be used to send first, second detect-message to described each application module, and receive the response message of described each application module;
Described each application module: receive described first, second detect-message; Carry out the internal information consistency detection, and make each application module internal information unanimity, send first response message to described Hot Spare module; Carry out consistency detection between application module, and make the information unanimity between described each application module.
10. system according to claim 9 is characterized in that, described each application module comprises:
The inside modules detecting unit: receive described first detect-message, application modules inside has the data of dependence and carries out consistency detection, the data with dependence is reverted to the safety value of acquiescence or be initialized as zero;
The intermodule detecting unit: receive described second detect-message, the data that have dependence between application modules are carried out consistency detection, make the data consistent between application module.
11. system according to claim 9 is characterized in that, described application module also comprises:
Registering unit: the thermotropism backup module is registered the priority of described application module.
12. system according to claim 11 is characterized in that, described information receiving and transmitting unit comprises:
Message sequence transmitting element: obtain the priority of described each application module, send first or second detect-message to described each application module according to priority order from high to low.
13. system according to claim 9 is characterized in that, described application module also comprises:
Response unit: send first, second response message to the Hot Spare module.
CNB2006100326270A 2006-01-04 2006-01-04 Method and system of data recovering Expired - Fee Related CN100413261C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100326270A CN100413261C (en) 2006-01-04 2006-01-04 Method and system of data recovering

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100326270A CN100413261C (en) 2006-01-04 2006-01-04 Method and system of data recovering

Publications (2)

Publication Number Publication Date
CN1870533A CN1870533A (en) 2006-11-29
CN100413261C true CN100413261C (en) 2008-08-20

Family

ID=37444090

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100326270A Expired - Fee Related CN100413261C (en) 2006-01-04 2006-01-04 Method and system of data recovering

Country Status (1)

Country Link
CN (1) CN100413261C (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101123506B (en) * 2007-09-24 2011-07-20 北京飞天诚信科技有限公司 Sensitive information monitoring and automatic recovery system and method
CN101404594B (en) * 2008-07-10 2010-12-15 北京星网锐捷网络技术有限公司 Hot backup performance test method and apparatus, communication equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1213651A2 (en) * 2000-11-12 2002-06-12 Lightscape Networks Ltd. Data mirroring restoration in a distributed system
US20030028554A1 (en) * 2001-06-15 2003-02-06 Oskari Koskimies Selecting data for synchronization
CN1571369A (en) * 2003-07-16 2005-01-26 华为技术有限公司 Method for ensuring consistency between controlled users of snooping network side and snooping triggering side
CN1642030A (en) * 2004-01-05 2005-07-20 华为技术有限公司 Method for realizing network management duoble computer disaster-tolerance back-up

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1213651A2 (en) * 2000-11-12 2002-06-12 Lightscape Networks Ltd. Data mirroring restoration in a distributed system
US20030028554A1 (en) * 2001-06-15 2003-02-06 Oskari Koskimies Selecting data for synchronization
CN1571369A (en) * 2003-07-16 2005-01-26 华为技术有限公司 Method for ensuring consistency between controlled users of snooping network side and snooping triggering side
CN1642030A (en) * 2004-01-05 2005-07-20 华为技术有限公司 Method for realizing network management duoble computer disaster-tolerance back-up

Also Published As

Publication number Publication date
CN1870533A (en) 2006-11-29

Similar Documents

Publication Publication Date Title
CN100527716C (en) Method and gateway equipment for resuming service after switching status of main/standby gateway device
CN201075870Y (en) Multi spider route device
CN102098201B (en) Method for realizing L2TP user access backup and network system
EP1110148A1 (en) Fault tolerant computer system
CN101483540A (en) Master-slave switching method in high class data communication equipment
EP2916487B1 (en) Method and system for upgrading patching software
CN102957623B (en) A kind of maintaining method of neighborhood of border gate protocol and equipment
CN100438362C (en) A method for implementing software hot-backup of main and reserve machines
CN101247568A (en) Data fault-tolerance system and method and intermediate equipment
WO2014067330A1 (en) Method and system for upgrading software of distributed communication device
WO2016095344A1 (en) Link switching method and device, and line card
CN105577444A (en) Wireless controller management method and wireless controller
CN100461646C (en) Method for negat main spare board in communication equipment
CN100413261C (en) Method and system of data recovering
JP2006333077A (en) Line redundancy method and relaying device to be used therein
CN102307113B (en) System upgrading method, system and device
CN111083074A (en) High availability method and system for main and standby dual OSPF state machines
CN112491633B (en) Fault recovery method, system and related components of multi-node cluster
CN105391565A (en) Method for achieving synchronization of backup business configuration
JP5767309B2 (en) Emergency switching method and system
WO2019216210A1 (en) Service continuation system and service continuation method
JP2009246475A (en) Communication system with redundancy composition, and system switching method of the system
CN101895980B (en) Method and device for task synchronization
JP7306983B2 (en) Controller and facility monitoring system
JPH09288589A (en) System backup method

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20080820

Termination date: 20180104

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