CN1549537A - Method for realizing application characteristic dual processor backup - Google Patents

Method for realizing application characteristic dual processor backup Download PDF

Info

Publication number
CN1549537A
CN1549537A CNA03136621XA CN03136621A CN1549537A CN 1549537 A CN1549537 A CN 1549537A CN A03136621X A CNA03136621X A CN A03136621XA CN 03136621 A CN03136621 A CN 03136621A CN 1549537 A CN1549537 A CN 1549537A
Authority
CN
China
Prior art keywords
backup
equipment
host
dual
application characteristic
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
CNA03136621XA
Other languages
Chinese (zh)
Other versions
CN1310481C (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.)
Xu Haibo
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 CNB03136621XA priority Critical patent/CN1310481C/en
Publication of CN1549537A publication Critical patent/CN1549537A/en
Application granted granted Critical
Publication of CN1310481C publication Critical patent/CN1310481C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The method is as the follows: each equipment requiring application characteristic (AC) of double machine backup function is first to be registered on double machine backup protocol of principal equipment (PE) running to confirm PE to be main-use equipment (MUE) or spare equipment (SE); on MUE, registered key data is backed up and sent to SE, on SE, backup key data is received; once SE double machine backup, protocol discovers that MUE is fault, PE is switched to be MUE and to inform received backup data to execute normal function, necessary key data is backed up and sent to new SE.

Description

Realize the method for application characteristic dual-host backup
Technical field
The invention belongs to technical field of the computer network, particularly by with the binding of dual-host backup agreement, help other application characteristics to realize the high reliability of dual-host backups.
Background technology
In IP network, often occur, and cause whole network to connect the problem of breaking owing to the single network device fails.Usually, the counter-measure of taking is to be backed up mutually by many network equipments, and when equipment wherein breaks down, remaining equipment is replaced faulty equipment automatically and worked on, thereby improves network equipment whole reliability, and this method is called dual-host backup.
VRRP (Virtual Router Redundency Protocol) is exactly a kind of dual-host backup agreement, and RFC 2338 describes this protocol specification.Two and even many network equipments are formed a backup group by operation VRRP, it seems that from the external world this backup group has constituted a virtual unit, have the IP address (virtual ip address) of oneself, and this virtual unit is not in esse.An equipment fault in the backup group can not influence the work of virtual unit, because the work that other equipment can be replaced faulty equipment in the backup group, and external device is not need perception.
Do not adopting under the VRRP situation, it is router-A that main frame in the network is provided with default gateway, like this, what main frame sent will at first be sent to default gateway-router-A to other output packet, by router-A packet is transmitted to other networks, thereby has realized communicating by letter of main frame and external network.If router-A breaks down, main frame will break and outside communicating to connect.
Adopt VRRP to address the above problem.Its method as shown in Figure 1, its characteristics are: router-A and router B move VRRP simultaneously, form a backup group, be equivalent to a virtual router, this virtual router is not a necessary being, but it has the virtual ip address of oneself.Main frame is only seen virtual router, and default gateway is appointed as virtual unit.This method may further comprise the steps:
1. each equipment in the backup group can be provided with VRRP priority, the equipment that priority is the highest becomes host apparatus, and (host apparatus is carried out the real work of virtual unit, have only host apparatus can receive the packet that main frame is issued virtual unit, be assumed to be router-A), other equipment are stand-by equipment (stand-by equipment just just can be replaced when the host apparatus fault become host apparatus, is assumed to be router B).Now, main frame in fact all is to finish forwarding through router-A (host apparatus) by the packet of virtual router and other network services;
2. understand regular exchange VRRP packet between host apparatus and the stand-by equipment, to obtain the other side's current state;
3. after host apparatus broke down, the VRRP that moves on the stand-by equipment can not receive the other side's VRRP packet, will find the host apparatus fault, and this equipment is replaced with host apparatus.Like this, after the router-A fault, router B becomes host apparatus, main frame sends to the packet of virtual router still can finish forwarding by router B, thereby has guaranteed communicating by letter of main frame and other networks.
Because VRRP makes stand-by equipment replace faulty equipment automatically to become host apparatus, thereby guaranteed that main frame issues the network layer data bag of virtual unit and still obtain reliable treatments, so claim VRRP to realize the dual-host backup function of network layer.But also there is defective in present this VRRP, can not be used for promptly realizing that (the application characteristic here is meant layer Network Based for the dual-host backup function of application characteristic, for the network equipment is realized the agreement or the module of some specific function, such as network address translation-NAT agreement).This be because, main frame is issued the packet of virtual unit except transmitting, also may need the application characteristic on the virtual unit to carry out some specific functions, but, application characteristic need use crucial data message because carrying out function, and these critical datas go up generation and preservation at host apparatus (router-A), VRRP does not help application characteristic that these critical datas are backuped on the stand-by equipment (router B), like this, after stand-by equipment (router B) replaces with host apparatus, though can receive the packet that main frame is issued virtual unit, but owing to do not have the required critical data of application characteristic on the router B, so the application characteristic on the router B can't normally be carried out function.Be that application characteristic can't be realized the dual-host backup function.
Summary of the invention
The objective of the invention is for overcoming the weak point of existing dual-host backup function, solve the problem that existing backup protocol can only realize the dual-host backup of network layer, the method that a kind of expansion based on the dual-host backup agreement realizes the application characteristic dual-host backup is proposed, this method has succinctly, unified, characteristics of high efficiency makes the application characteristic of layer Network Based realize high reliability, thereby improves the high reliability of whole network.
A kind of method that realizes the application characteristic dual-host backup that the present invention proposes may further comprise the steps:
1) needs the application characteristic of dual-host backup function at first to register on each equipment, determine that this equipment is host apparatus or stand-by equipment to the dual-host backup agreement of this equipment operation;
2) on host apparatus, the critical data that registered application characteristic will need to back up backs up and sends to stand-by equipment;
3) on stand-by equipment, corresponding application characteristic is preserved the backup critical data that receives;
4) find that in a single day host apparatus breaks down when the dual-host backup agreement of stand-by equipment, then this equipment is switched to host apparatus, notice uses the backup critical data of having preserved to carry out normal function simultaneously, and the critical data that will need again to back up backs up and send to new stand-by equipment.
The method that described definite this equipment is host apparatus or stand-by equipment can be: each equipment is provided with dual-host backup treaty override level, and the equipment that priority is the highest is host apparatus.
The method that the critical data that the registered application characteristic of described host apparatus will need to back up backed up and sent to stand-by equipment can comprise;
(1) registered application characteristic begins to back up critical data on this equipment of dual-host backup notice of settlement of host apparatus;
(2) application characteristic of the host apparatus critical data that will need the to back up dual-host backup agreement of delivering this equipment;
(3) the dual-host backup agreement of host apparatus package application characteristic name and critical data of being backed up in dual-host backup protocol data bag, and this packet done special identifier, include the application characteristic critical data in this packet to indicate;
(4) the dual-host backup agreement of host apparatus sends this packet to stand-by equipment.
Described on stand-by equipment, the method that corresponding application characteristic is preserved the backup critical data that receives can comprise:
(1) registered application characteristic prepares to receive the backup critical data on this equipment of dual-host backup notice of settlement on the stand-by equipment;
(2) whether the dual-host backup agreement of judging this equipment receives the dual-host backup protocol data bag that has special identifier;
(3) if the dual-host backup agreement of this equipment is taken out the backup critical data that encapsulates in this packet, and according to the application characteristic name, notifies application characteristic corresponding on this equipment to preserve the critical data of backup.
The method that the described internal dual-host backup protocol data bag that has encapsulated the backup critical data is done special identifier can realize (promptly to the new types value of the definition of the type field in original heading form) by dual-host backup protocol massages head form is expanded, increase " length " territory of the length of representing the backup critical data and " name " territory of the application characteristic name under the expression backup critical data after being included in dual-host backup protocol data packet voice head.
Said dual-host backup agreement can be VRRP dual-host backup agreement.
Characteristics of the present invention and beneficial effect
The present invention realizes the dual-host backup of application characteristic, and key is to make the application characteristic on host apparatus and the stand-by equipment carry out the backup of critical data in conjunction with the dual-host backup agreement.The critical data that is about to application characteristic on the host apparatus backups on the stand-by equipment, and like this, stand-by equipment is after switching to host apparatus, and application characteristic just can use the critical data that has backed up to carry out function.
The present invention is by the expansion to existing dual-host backup agreement, and realizing the dual-host backup function for application characteristic provides succinctly, unified, efficiently pattern and method.By the present invention, a lot of scripts can't support the application characteristic of dual-host backup function can realize the dual-host backup function easily, thereby make the network equipment that more fully dual-host backup ability is provided, and then improve the high reliability of whole network.
The present invention not only is confined to the expansion based on VRRP dual-host backup agreement, is equally applicable to the expansion of other dual-host backup agreements.
Description of drawings
Fig. 1 is that existing VRRP realizes the dual-host backup schematic diagram.
Fig. 2 is the method embodiment flow chart of realization application characteristic dual-host backup function of the present invention.
Embodiment
The method embodiment of the realization application characteristic dual-host backup that the present invention proposes is based on expanding VRRP dual-host backup agreement, to support the dual-host backup of application characteristic.As shown in Figure 2, specifically may further comprise the steps:
1) need the application characteristic of dual-host backup function to register on each equipment to the VRRP of this equipment operation, which application characteristic needs dual-host backup function (for unregistered application characteristic, VRRP will not support its backup functionality) on this equipment so that VRRP knows;
2) VRRP on each equipment according to its priority difference, determines that this equipment is host apparatus or stand-by equipment (equipment that priority is the highest is host apparatus);
3) if host apparatus, then the VRRP of this equipment notifies that registered application characteristic begins to back up critical data on this equipment, (after application characteristic obtains to begin to back up the notice of critical data, can at any time the critical data that needs to back up be delivered VRRP and carry out the information that the back-up application characteristic needn't be concerned about concrete stand-by equipment, only critical data need be given VRRP carries out backup);
4) application characteristic of this equipment critical data that will need to back up is delivered the VRRP of this equipment;
5) VRRP of this equipment package application characteristic name and critical data of being backed up in the VRRP packet, and packet done special identifier (including the application characteristic critical data in this packet to indicate);
6) VRRP of this equipment sends this VRRP packet to stand-by equipment;
7) if stand-by equipment, the VRRP of this equipment notifies on this equipment registered application characteristic to prepare to receive the backup critical data;
8) judge whether the VRRP of this equipment receives the VRRP packet of band special identifier;
9) if, the VRRP of this equipment notifies the application characteristic of this equipment to preserve the backup critical data, and (VRRP of this equipment takes out the backup critical data that encapsulates in the VRRP packet, and, notify application characteristic corresponding on this equipment to preserve the critical data of backup) according to the application characteristic name;
10) judge whether this equipment switches to host apparatus (find in a single day that when the dual-host backup agreement of stand-by equipment host apparatus breaks down, then this equipment is switched to host apparatus);
11) if switch to host apparatus, the VRRP of this equipment notifies on this equipment all registered application characteristics to bring into use the backup critical data of having preserved, to carry out normal function;
12) VRRP and the application characteristic on the new host apparatus after switching repeats above-mentioned steps 3), 4) and 5), critical data is backuped on other stand-by equipments.
Above-mentioned 5) in the step, use special identifier to indicate to have encapsulated the VRRP packet of backup critical data, by being expanded, realizes VRRP heading form.
In original VRRP heading form, the containing type territory is in order to indicate the type of this VRRP packet.In order to do special identifier,, indicate that this VRRP data envelope is equipped with the backup critical data for the new types value of this territory definition.
In the present embodiment VRRP packet, the backup critical data of encapsulation is closelyed follow behind the VRRP heading, formal definition such as table 1:
Table 1
2 6
Length Name Backup critical data content
In the table, " length " territory accounts for 2 bytes, the length of expression backup critical data;
Application characteristic name under " name " domain representation backup critical data.
On stand-by equipment, after VRRP receives the VRRP packet of redetermination type,, take out the backup key content according to " length " territory, and according to the application characteristic under the definite backup in " name " territory critical data.

Claims (6)

1, a kind of method that realizes the application characteristic dual-host backup is characterized in that, may further comprise the steps:
1) needs the application characteristic of dual-host backup function at first to register on each equipment, determine that this equipment is host apparatus or stand-by equipment to the dual-host backup agreement of this equipment operation;
2) on host apparatus, the critical data that registered application characteristic will need to back up backs up and sends to stand-by equipment;
3) on stand-by equipment, the backup critical data that corresponding application characteristic receives preservation;
4) find that in a single day host apparatus breaks down when the dual-host backup agreement of stand-by equipment, then this equipment is switched to host apparatus, notice uses the backup critical data of having preserved to carry out normal function simultaneously, and the critical data that will need again to back up backs up and send to new stand-by equipment.
2, the method for realization application characteristic dual-host backup as claimed in claim 1 is characterized in that,
The method that described definite this equipment is host apparatus or stand-by equipment is: each equipment is provided with dual-host backup treaty override level, and the equipment that priority is the highest is host apparatus.
3, the method for realization application characteristic dual-host backup as claimed in claim 1 is characterized in that, the method that the critical data that the registered application characteristic of described host apparatus will need to back up backed up and issued stand-by equipment comprises;
(1) registered application characteristic begins to back up critical data on this equipment of dual-host backup notice of settlement of host apparatus;
(2) application characteristic of the host apparatus critical data that will need the to back up dual-host backup agreement of delivering this equipment;
(3) the dual-host backup agreement of host apparatus package application characteristic name and critical data of being backed up in dual-host backup protocol data bag, and this packet done special identifier, include the application characteristic critical data in this packet to indicate;
(4) the dual-host backup agreement of host apparatus sends this packet to stand-by equipment.
4, the method for realization application characteristic dual-host backup as claimed in claim 3 is characterized in that,
Described on stand-by equipment, the method that corresponding application characteristic is preserved the backup critical data that receives comprises:
(1) registered application characteristic prepares to receive the backup critical data on this equipment of dual-host backup notice of settlement on the stand-by equipment;
(2) whether the dual-host backup agreement of judging this equipment receives the dual-host backup protocol data bag that has special identifier;
(3) if the dual-host backup agreement of this equipment is taken out the backup critical data that encapsulates in this packet, and according to the application characteristic name, notifies application characteristic corresponding on this equipment to preserve the backup critical data.
5, the method for realization application characteristic dual-host backup as claimed in claim 3, it is characterized in that, the method that the described internal packet that has encapsulated the backup critical data is done special identifier realizes by dual-host backup protocol massages head form is expanded, increase " length " territory of the length of representing the backup critical data and " name " territory of the application characteristic name under the expression backup critical data after being included in this dual-host backup protocol data packet voice head.
As the method for claim 1,2,3,4 or 5 described realization application characteristic dual-host backups, it is characterized in that 6, said dual-host backup agreement is a VRRP dual-host backup agreement.
CNB03136621XA 2003-05-21 2003-05-21 Method for realizing application characteristic dual processor backup Expired - Fee Related CN1310481C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB03136621XA CN1310481C (en) 2003-05-21 2003-05-21 Method for realizing application characteristic dual processor backup

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB03136621XA CN1310481C (en) 2003-05-21 2003-05-21 Method for realizing application characteristic dual processor backup

Publications (2)

Publication Number Publication Date
CN1549537A true CN1549537A (en) 2004-11-24
CN1310481C CN1310481C (en) 2007-04-11

Family

ID=34323394

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB03136621XA Expired - Fee Related CN1310481C (en) 2003-05-21 2003-05-21 Method for realizing application characteristic dual processor backup

Country Status (1)

Country Link
CN (1) CN1310481C (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100370761C (en) * 2005-10-26 2008-02-20 华为技术有限公司 Intelligent net business control device disaster tolerance system
CN100456701C (en) * 2006-10-17 2009-01-28 华为技术有限公司 Apparatus and method for improving reliability of communication system and communication system thereof
CN101286884B (en) * 2008-05-15 2010-07-28 杭州华三通信技术有限公司 Method for implementing non-status multi-host backup and proxy gateway
CN1859423B (en) * 2006-02-27 2010-12-08 华为技术有限公司 Synchronous switching method for host and repeat device
CN102129400A (en) * 2010-12-29 2011-07-20 成都市华为赛门铁克科技有限公司 Storage system connection configuration method and equipment and storage system
CN101702657B (en) * 2009-12-04 2012-04-18 杭州华三通信技术有限公司 Hot backup method and equipment for NAT (network Address translation) service
CN103458449A (en) * 2013-08-23 2013-12-18 清华大学 Anomaly detection and processing method and device of base station

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100620289B1 (en) * 2000-07-25 2006-09-07 삼성전자주식회사 Method for managing personal ad-hoc network in disappearance of master
CN1198406C (en) * 2000-09-02 2005-04-20 中兴通讯股份有限公司 Stand-by method and device of communication system
CN1175353C (en) * 2001-01-19 2004-11-10 华为技术有限公司 Method for implementing dual-system standby
CN1177444C (en) * 2001-09-25 2004-11-24 华为技术有限公司 Realizing method for enhancing 3G nucleus network reliability using allopatric back-up
US7085225B2 (en) * 2001-09-27 2006-08-01 Alcatel Canada Inc. System and method for providing detection of faults and switching of fabrics in a redundant-architecture communication system

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100370761C (en) * 2005-10-26 2008-02-20 华为技术有限公司 Intelligent net business control device disaster tolerance system
CN1859423B (en) * 2006-02-27 2010-12-08 华为技术有限公司 Synchronous switching method for host and repeat device
CN100456701C (en) * 2006-10-17 2009-01-28 华为技术有限公司 Apparatus and method for improving reliability of communication system and communication system thereof
CN101286884B (en) * 2008-05-15 2010-07-28 杭州华三通信技术有限公司 Method for implementing non-status multi-host backup and proxy gateway
CN101702657B (en) * 2009-12-04 2012-04-18 杭州华三通信技术有限公司 Hot backup method and equipment for NAT (network Address translation) service
CN102129400A (en) * 2010-12-29 2011-07-20 成都市华为赛门铁克科技有限公司 Storage system connection configuration method and equipment and storage system
CN102129400B (en) * 2010-12-29 2013-12-04 华为数字技术(成都)有限公司 Storage system connection configuration method and equipment and storage system
US9170959B2 (en) 2010-12-29 2015-10-27 Huawei Technologies Co., Ltd. Method and device for configuring storage system connection
US10203963B2 (en) 2010-12-29 2019-02-12 Huawei Technologies Co., Ltd. Method for configuring storage system connection, device and storage system
CN103458449A (en) * 2013-08-23 2013-12-18 清华大学 Anomaly detection and processing method and device of base station

Also Published As

Publication number Publication date
CN1310481C (en) 2007-04-11

Similar Documents

Publication Publication Date Title
CN104104570B (en) Aggregation processing method in IRF systems and device
CN1885839A (en) Method for realizing active/standby gateway apparatus in network
CN1925496A (en) System and method for load sharing of network layer with multiple network interface cards terminal equipment
CN1893338A (en) Communication path redundancy protection systems and methods
CN1567737A (en) A method for warm back-up of broad band switch-in server
CN101060533B (en) A method, system and device for improving the reliability of VGMP protocol
CN101035019A (en) Fast convergence method and device of the end-to-end service
CN1863069A (en) Method for implementing fast switching of virtual special LAN service
CN1812409A (en) Method and system for realizing synchronization of major and auxiliary state
CN101035047A (en) Processing method for loop network protection
CN103401773A (en) Method and network equipment realizing interboard communication
CN1874267A (en) Method for ensuring accordant configuration information in cluster system
CN1933442A (en) Method and system for realizing virtual router redundant protocol master and standby equipment switching
CN1863198A (en) Apparatus and method of real-time recovering service
CN101060460A (en) A method and communication equipment for protecting the Ethernet link collective logic port message against loss
WO2012130151A1 (en) Packet forwarding method and system, and relay agent device
CN1874315A (en) Method for recovering fault of multicast, and router of multicast
CN1909494A (en) Method and system for realizing dual attachment or multiple attachment of user network boundary device
CN107332834B (en) PRP network connection method under Windows system
CN1310481C (en) Method for realizing application characteristic dual processor backup
CN1848841A (en) Route equipment backup method
CN1992707A (en) Fast restoration method of multicast service and network apparatus
CN1905482A (en) Method and apparatus for communicating network trouble dtecting result
CN1691615A (en) Method for detecting operating state of default gateway and apparatus therefor
CN102447703B (en) A kind of heat backup method and system, CGN 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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20170920

Address after: The 7 District 065000 Langfang city of Hebei province Guangyang District Pipeline Bureau 7 Building 5 unit 201 room

Patentee after: Xu Haibo

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: Huawei Technologies Co., Ltd.

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

Granted publication date: 20070411

Termination date: 20180521