CN102255716B - A kind of method and system of the backup between equipment to protocol status - Google Patents
A kind of method and system of the backup between equipment to protocol status Download PDFInfo
- Publication number
- CN102255716B CN102255716B CN201010177835.6A CN201010177835A CN102255716B CN 102255716 B CN102255716 B CN 102255716B CN 201010177835 A CN201010177835 A CN 201010177835A CN 102255716 B CN102255716 B CN 102255716B
- Authority
- CN
- China
- Prior art keywords
- equipment
- state table
- backup
- request
- host apparatus
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 19
- 230000004044 response Effects 0.000 claims abstract description 68
- 238000005516 engineering process Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 3
- 230000003993 interaction Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000008846 dynamic interplay Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/085—Retrieval of network configuration; Tracking network configuration history
- H04L41/0853—Retrieval of network configuration; Tracking network configuration history by actively collecting configuration information or by backing up configuration information
- H04L41/0856—Retrieval of network configuration; Tracking network configuration history by actively collecting configuration information or by backing up configuration information by backing up or archiving configuration information
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Telephonic Communication Services (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention provides a kind of method and system of the backup between equipment to protocol status, wherein, described method comprises the following steps: A: host apparatus sets up state table in advance, and wherein, the treatment state of requests/response messages preserved by described state table; B: set up backup relation between host apparatus and stand-by equipment, described state table is passed to stand-by equipment by host apparatus, and stand-by equipment backs up the content of described state table; C: during active-standby switch, the host apparatus after switching and former stand-by equipment are according to the content re-send request may/response message of described state table; Or request external equipment re-send request may/response message.The present invention can realize the state backup between the equipment of the agreement adopting request response.
Description
Technical field
The present invention relates to network communication technology field, particularly a kind of method and system of the backup between equipment to protocol status.
Background technology
Along with service node (ServiceNode, SN), as broadband remote access servers (BroadbandRemoteAccessServer, BRAS), business router (ServiceRouter, etc. SR) number of broadband customers of access gets more and more, the high reliability request of broadband user to broadband is more and more higher, and therefore, the access of Carrier Requirements to user ID is also more and more higher.Therefore, user profile redundancy technique has been widely used between existing SN.
The user ID technology of existing use is two-node cluster hot backup or multi-host hot swap, this technology makes access node (AccessNode, AN) multiple up SN is accessed, the access interface of primary SN and the backup port one_to_one corresponding of SN for subsequent use, active and standby SN adopts Virtual Router Redundacy Protocol (VirtualRouterRedundancyProtocol, VRRP) and two-way converting detect (BidirectionalForwardingDetection, BFD) technology carry out switching state.Main SN is synchronized to standby SN access user information, and when standby SN receives the user profile of main SN transmission, this user profile is issued to interface module in the mode of subscriber's meter by standby SN at once.Under the access interface of main SN during the link failure of access user, SN for subsequent use switches to primary SN, customer flow switches simultaneously, and after switching, the up-downgoing flow of user is all forwarded by SN for subsequent use, and SN for subsequent use carries out control and management based on the user's information Business Stream backed up.
But, the problem that aforesaid way exists is: the mode of existing realization be to static state be kept at the list item on equipment copy, then pass to SN equipment for subsequent use, so some are needed to the state of SN and the mutual dynamic protocol of external equipment, this mode cannot back up.
The first situation, if be SN equipment initiatively external device advertisement policies or other guide, now SN and external equipment need the dynamic interaction of request/response, active-standby switch is there is when request message sends, response message possibly correctly cannot deliver to SN, and existing back mechanism cannot address this is that.
Also have a kind of situation, if be that external equipment initiatively reports SN strategy or other guide by dynamic protocol, so when switching, advertised information is likely lost and cannot be arrived SN for subsequent use, and therefore existing backup mode also cannot process this situation.
Summary of the invention
The object of the invention is to, a kind of method of the backup between equipment to protocol status is provided, the backup between the equipment that can realize dynamic protocol.
Another object of the present invention is to, a kind of system of the backup between equipment to protocol status is provided, the backup between the equipment that can realize dynamic protocol.
The method of the backup between equipment to protocol status of the present invention, comprises the following steps:
A: host apparatus sets up state table in advance, wherein, the treatment state of requests/response messages preserved by described state table;
B: set up backup relation between host apparatus and stand-by equipment, described state table is passed to stand-by equipment by host apparatus, and stand-by equipment backs up the content of described state table;
C: during active-standby switch, the host apparatus after switching and former stand-by equipment are according to the content re-send request may/response message of described state table; Or request external equipment re-send request may/response message.
Wherein, described treatment state comprises one of following or combination in any: request of having sent out do not receive response, send out request receives response.
Wherein, described state table, comprises the content of requests/response messages, sending object, mark ID further.
Wherein, adopt the agreement of requests/response messages, comprise one of following: Access Node Control Protocol ANCP, Common Open Policy Service agreement COPS, remote customer dialing authentication system protocol RADIUS.
Wherein, described host apparatus sets up state table in advance, refers to that described host apparatus is that the described agreement of each type sets up a state table, or sets up a unified state table, and by increasing protocol type in state table to distinguish.
The system of the backup between equipment to protocol status of the present invention, comprises host apparatus and stand-by equipment, and wherein, described host apparatus, for setting up state table in advance, and passes to stand-by equipment by described state table; Wherein, the treatment state of requests/response messages preserved by described state table; Described stand-by equipment, for backing up the content of the state table that described host apparatus transmits; And for when there is active-standby switch, according to the content re-send request may/response message of described state table; Or request external equipment re-send request may/response message.
Wherein, described treatment state comprises one of following or combination in any: request of having sent out do not receive response, send out request receives response.
Wherein, described state table, comprises the content of requests/response messages, sending object, mark ID further.
Wherein, adopt the agreement of requests/response messages, comprise one of following: Access Node Control Protocol ANCP, Common Open Policy Service agreement COPS, remote customer dialing authentication system protocol RADIUS.
Wherein, described host apparatus sets up state table in advance, refers to that described host apparatus is that the described agreement of each type sets up a state table, or sets up a unified state table, and by increasing protocol type in state table to distinguish.
The invention has the beneficial effects as follows: according to the method and system of the backup between equipment of protocol status of the present invention, by host apparatus in advance for setting up state table, and regularly described state table is passed to stand-by equipment by backup protocol, when there is active-standby switch, former stand-by equipment is according to the content re-send request may/response message of described state table; Or request external equipment re-send request may/response message, thus the backup between the equipment that can realize dynamic protocol.
Accompanying drawing explanation
Fig. 1 is the network topology schematic diagram of the embodiment of the present invention;
Fig. 2 is the method flow diagram of network in SN backup between equipment dynamic protocol of the embodiment of the present invention.
Embodiment
Below, the method and system of the backup between equipment of dynamic protocol of the present invention are described in detail with reference to accompanying drawing 1 ~ 2.
Core concept of the present invention is: SN equipment is adopt the agreement of requests/response messages to set up the treatment state that a state table removes to record often pair of protocol interaction, primary SN is by these state synchronized to SN for subsequent use, and during generation masterslave switchover, SN for subsequent use is according to this state re-send request may/response message.
As shown in Figure 1, be network topology schematic diagram of the present invention, wherein, dynamic protocol can at SN and AN and mutual between SN and application server.
The system of the backup between equipment of the dynamic protocol of the embodiment of the present invention, comprises host apparatus and stand-by equipment, and wherein, host apparatus, for setting up state table in advance, and regularly passes to stand-by equipment by this state table by backup protocol; Wherein, the treatment state of often pair of dynamic protocol " request (Request)/response (Ack) " message preserved by state table; Stand-by equipment, for the content of the state table that schedule backup host apparatus transmits; And for when there is active-standby switch, according to the content re-send request may/response message of this state table; Or request external equipment re-send request may/response message.
Wherein, this treatment state comprises one of following or combination in any: request of having sent out do not receive response, send out request receives response.
Wherein, described agreement refers generally to dynamic strategy and issues agreement, namely the agreement of requests/response messages is adopted, comprise one of following: Access Node Control Protocol (AccessNodeControlProtocol, ANCP), Common Open Policy Service agreement (CommonOpenPolicyServiceProtocol, COPS), remote customer dialing authentication system protocol (RemoteAuthenticationDialInUserService, RADIUS) etc., the agreement of other request/response frameworks can also be comprised.In addition, it should be noted that, active and standby SN is for the configuration one_to_one corresponding of dynamic protocol.
In addition, this treatment state comprises one of following or combination in any: " request of having sent out does not receive response " and " request of having sent out receives response ", this status protocol and every a pair request/response corresponding alternately.The state table of this dynamic protocol further comprises content, sending object, this mark ID detailed to request of requests/response messages, and these contents are corresponding with every a pair request/response.
In addition, host apparatus sets up state table in advance, refers to that host apparatus is that the agreement of the employing requests/response messages of each type sets up a state table, or sets up a unified state table, and by increasing protocol type in state table to distinguish.
When described agreement is in the reciprocal process of certain " request/response ", when SN sends request, the state table recording status of this dynamic protocol is " request of having sent out does not receive response ", and after receiving response corresponding to this request, the state table recording status of this agreement is " request of having sent out receives response "
As shown in Figure 2, the method for the backup between equipment of the protocol status of the embodiment of the present invention, comprises the following steps:
Step 100:SN equipment sets up a state table in advance, and wherein, the treatment state of requests/response messages preserved by this state table;
In addition, described state table, comprise further the content of requests/response messages, sending object, this to request mark ID.The agreement of above-mentioned requests/response messages, comprises one of following: Access Node Control Protocol ANCP, Common Open Policy Service agreement COPS and remote customer dialing authentication system RADIUS etc.
In addition, SN can set up a state table for the agreement of each type, also can set up a unified state table, and by increasing protocol type in state table to distinguish.
Step 200: active and standby SN sets up backup relation, this state table is passed to SN for subsequent use and backs up by primary SN, and SN for subsequent use backs up this state table contents;
Step 300: during active-standby switch, the host apparatus after switching and former SN for subsequent use send out requests/response messages according to the content duplicate removal of this state table; Such as, or request external equipment re-send request may/response message, has been handed down to request message (Request) content of institute's protocols having of former primary SN.
Wherein, in step 300, former SN for subsequent use sends out requests/response messages according to the content duplicate removal of this state table, is for the Request active external device distributing policy of former primary SN by agreement or the situation of other guide; SN for subsequent use asks external equipment to retransmit the Request content being handed down to institute's protocols having of former primary SN, is initiatively by the main situation to SN distributing policy or other guide of agreement Request for external equipment.
Particularly, primary SN periodic scanning state table, in state table certain protocol interaction treatment state be sent out request but do not receive response time, notice this state table contents to SN for subsequent use, SN for subsequent use backs up these mutual contents; Or when primary SN finds that certain protocol interaction treatment state of current state table is " sent out request and received response ", primary SN notices this state table contents to SN for subsequent use, and active and standby SN deletes the state information that these have completed mutual agreement after notice in state table.
After active-standby switch, former SN for subsequent use retransmits those states for sending out request but the content that sends of the protocol message not receiving response according to this state table, and former SN for subsequent use also can resend the request message content using described agreement initiatively to send to SN by external device request external equipment.
In the above-described embodiment, be that present invention is described for SN equipment, the present invention also goes for AN or other exist the equipment of main and standby relation.
In sum, according to the method and system of the backup between equipment of protocol status of the present invention, state table is set up in advance by host apparatus, and regularly described state table is passed to stand-by equipment by backup protocol, when there is active-standby switch, former stand-by equipment is according to the content re-send request may/response message of described state table; Or request external equipment re-send request may/response message, thus the backup between the equipment that can realize dynamic protocol.
More than to make those of ordinary skill in the art understand the present invention; and to the detailed description that the present invention carries out; but can expect; not departing from the scope that claim of the present invention contains and can also make other changes and modifications, these changes and amendment are all in protection scope of the present invention.
Claims (8)
1. to a method for the backup between equipment of protocol status, it is characterized in that, comprise the following steps:
A: host apparatus sets up state table in advance, wherein, the treatment state of the requests/response messages of often pair of agreement preserved by described state table, and described treatment state comprises: request of having sent out does not receive response or request of having sent out receives response, and described agreement is the agreement of requests/response messages;
B: set up backup relation between host apparatus and stand-by equipment, described state table is regularly passed to stand-by equipment by host apparatus, the content of state table described in stand-by equipment schedule backup;
C: during active-standby switch, the host apparatus after switching and former stand-by equipment are according to the content re-send request may/response message of described state table; Or request external equipment re-send request may/response message.
2. the method to the backup between equipment of protocol status as claimed in claim 1, is characterized in that described state table comprises the content of requests/response messages, sending object, mark ID further.
3. the method to the backup between equipment of protocol status as claimed in claim 1 or 2, it is characterized in that, adopt the agreement of requests/response messages, comprise one of following: Access Node Control Protocol ANCP, Common Open Policy Service agreement COPS, remote customer dialing authentication system protocol RADIUS.
4. the method to the backup between equipment of protocol status as claimed in claim 3, it is characterized in that, described host apparatus sets up state table in advance, refer to that described host apparatus is that the described agreement of each type sets up a state table, or set up a unified state table, and by increasing protocol type in state table to distinguish.
5. to a system for the backup between equipment of protocol status, it is characterized in that, comprise host apparatus and stand-by equipment, wherein,
Described host apparatus, for setting up state table in advance, wherein, the treatment state of the requests/response messages of often pair of agreement preserved by described state table, described treatment state comprises: request of having sent out does not receive response or request of having sent out receives response, and described agreement is the agreement of requests/response messages;
Described stand-by equipment, for the content of the state table that host apparatus described in schedule backup regularly transmits; And for when there is active-standby switch, according to the content re-send request may/response message of described state table; Or request external equipment re-send request may/response message.
6. the system to the backup between equipment of protocol status as claimed in claim 5, is characterized in that described state table comprises the content of requests/response messages, sending object, mark ID further.
7. the system of the backup between equipment to protocol status as described in claim 5 or 6, it is characterized in that, adopt the agreement of requests/response messages, comprise one of following: Access Node Control Protocol ANCP, Common Open Policy Service agreement COPS, remote customer dialing authentication system protocol RADIUS.
8. the system of the backup between equipment to protocol status as described in claim 5 or 6, it is characterized in that, described host apparatus sets up state table in advance, refer to that described host apparatus is that the described agreement of each type sets up a state table, or set up a unified state table, and by increasing protocol type in state table to distinguish.
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201010177835.6A CN102255716B (en) | 2010-05-20 | 2010-05-20 | A kind of method and system of the backup between equipment to protocol status |
| PCT/CN2010/077497 WO2011143888A1 (en) | 2010-05-20 | 2010-09-29 | Method and system for backing up protocol state between devices |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201010177835.6A CN102255716B (en) | 2010-05-20 | 2010-05-20 | A kind of method and system of the backup between equipment to protocol status |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN102255716A CN102255716A (en) | 2011-11-23 |
| CN102255716B true CN102255716B (en) | 2015-12-16 |
Family
ID=44982723
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201010177835.6A Expired - Fee Related CN102255716B (en) | 2010-05-20 | 2010-05-20 | A kind of method and system of the backup between equipment to protocol status |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN102255716B (en) |
| WO (1) | WO2011143888A1 (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102882735B (en) * | 2012-10-26 | 2015-09-09 | 杭州迪普科技有限公司 | A kind of MSTP changing method and device |
| CN104954162B (en) * | 2014-03-31 | 2018-07-24 | 杭州迪普科技股份有限公司 | A kind of data backup, the method and device for assisting data backup |
| CN104301140B (en) * | 2014-10-08 | 2019-07-30 | 广州华多网络科技有限公司 | Service request response method, device and system |
| CN111654384A (en) * | 2019-09-27 | 2020-09-11 | 中兴通讯股份有限公司 | Main/standby switching method, BRAS (broadband remote Access Server) equipment and storage medium |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1906593A (en) * | 2003-11-24 | 2007-01-31 | Tsx公司 | System and method for failover |
| CN1921369A (en) * | 2006-08-08 | 2007-02-28 | 华为技术有限公司 | A takeover method of network connection |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100703488B1 (en) * | 2004-06-01 | 2007-04-03 | 삼성전자주식회사 | State Transition Method and Device of Backup Router in Router Redundancy System |
| CN1725733A (en) * | 2005-06-10 | 2006-01-25 | 杭州华为三康技术有限公司 | Method of route backup in combination equipment and combination equipment |
-
2010
- 2010-05-20 CN CN201010177835.6A patent/CN102255716B/en not_active Expired - Fee Related
- 2010-09-29 WO PCT/CN2010/077497 patent/WO2011143888A1/en active Application Filing
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1906593A (en) * | 2003-11-24 | 2007-01-31 | Tsx公司 | System and method for failover |
| CN1921369A (en) * | 2006-08-08 | 2007-02-28 | 华为技术有限公司 | A takeover method of network connection |
Also Published As
| Publication number | Publication date |
|---|---|
| WO2011143888A1 (en) | 2011-11-24 |
| CN102255716A (en) | 2011-11-23 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN104092718B (en) | The update method of configuration information in distributed system and distributed system | |
| CN102006189B (en) | Primary access server determination method and device for dual-machine redundancy backup | |
| US8761001B2 (en) | Method and network system for implementing user port orientation in multi-machine backup scenario of broadband remote access server | |
| CN100420207C (en) | A method and device for realizing communication takeover | |
| CN110677282B (en) | Hot backup method of distributed system and distributed system | |
| CN104639367B (en) | A kind of method and system for realizing active/standby server switching | |
| CN102480423B (en) | A kind of guard method of L2TP network and system | |
| WO2011103837A2 (en) | Method for processing packet when server fails and router thereof | |
| CN102255633B (en) | A kind of method and system of multi-stand user backup | |
| CN102546430A (en) | Method for redundant backup of network equipment, and routing equipment and system | |
| CN103944698A (en) | Hot standby method | |
| CN102255716B (en) | A kind of method and system of the backup between equipment to protocol status | |
| CN105072021A (en) | Cross-segment message forwarding method for dispatching automation systems | |
| CN102647304A (en) | Synchronizing method of address resolution protocols and device | |
| CN104486128A (en) | System and method for realizing redundant heartbeat between nodes of double-controller | |
| CN102055950B (en) | MCU backup method and equipment in video conference | |
| CN107645451A (en) | It is a kind of that the system and method uninterruptedly routeing is realized by application and protocol stack linkage | |
| JP5785608B2 (en) | Communication node device system, device, and method | |
| CN101667937A (en) | Method for realizing disaster recovery of data service equipment, data service equipment and data service systems | |
| CN102055605A (en) | Disaster tolerance system and method applied to AAA (authentication, authorization and accounting) server | |
| CN105763442A (en) | PON system and method avoiding interruption of LACP aggregation link in main-standby switching process | |
| CN100413252C (en) | Backup system and method for accessing server interface | |
| CN105049263A (en) | Data processing method and data processing system | |
| CN102255741B (en) | User service information backup method and device | |
| WO2018223991A1 (en) | Method and system for switching between active bng and standby bng, and bng |
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 | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20151216 Termination date: 20200520 |