CN101267392B - A realizing method for notifying downstream device in case of switch of uplink link status - Google Patents

A realizing method for notifying downstream device in case of switch of uplink link status Download PDF

Info

Publication number
CN101267392B
CN101267392B CN200810067001.2A CN200810067001A CN101267392B CN 101267392 B CN101267392 B CN 101267392B CN 200810067001 A CN200810067001 A CN 200810067001A CN 101267392 B CN101267392 B CN 101267392B
Authority
CN
China
Prior art keywords
priority
equipment
link
host apparatus
uplink
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.)
Active
Application number
CN200810067001.2A
Other languages
Chinese (zh)
Other versions
CN101267392A (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.)
Yongtai County State owned asset management company
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN200810067001.2A priority Critical patent/CN101267392B/en
Publication of CN101267392A publication Critical patent/CN101267392A/en
Application granted granted Critical
Publication of CN101267392B publication Critical patent/CN101267392B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method for notifying downstream equipment when switching the uplink status, comprising: configuring a tracking command in the uplink equipment of a route redundant backup system according to existing technology; binding the primary equipment of the route redundant backup system and the core router link as an uplink via the tracking command; binding the primary equipment and a standby equipment link as a downlink via the tracking command. By using the method for notifying downstream equipment when switching the uplink status provided by the invention, when error occurs in the upstream equipment or malfunction occurs in the upstream equipment link, the route redundant backup system can detect the status of the upstream equipment, in order to correctly configure the equipment according to VRRP to realize the primary-standby switching; thus, the open circuit error of the access layer equipment caused by error occurred in the uplink equipment can be prevented, and the anti-error ability of the route redundant backup system in actual network can be enhanced.

Description

A kind of implementation method of notifying downstream device in case of switch of uplink link status
Technical field
The present invention relates to route redundancy backup technical field in peer device, particularly relate to a kind of implementation method of notifying downstream device in case of switch of uplink link status.
Background technology
Along with the fast development of network size and improving constantly of network quality, the requirement of network application to reliability is also more and more higher, has occurred the mechanism of various link protection thereupon.VRRP agreement is generally used at present in link protection; i.e. Virtual Router Redundacy Protocol; achieve the backup between peer network layer equipment; mainly complete the basic route redundancy backup functionality in network layer; the easy detection that VRRP agreement provides and election contest mechanism can be very fast realize equipment fault time backup switch; be 3-5 second concerning general configuration, substantially can meet the continuous demand of business, and special requirement is not had for the equipment of access host.
As shown in Figure 1 be the topological diagram of the route redundancy standby system being in normal operating condition, by node S1, S2, S3, S4, S5 form, S1 and S2 forms the master/slave device of VRRP agreement, wherein S1 is MASTER and host apparatus, and S2 is BACKUP equipment and stand-by equipment, and S1 and S2 can change mutually.S1 and S2 accesses core router respectively by S3 and S4.Be the state of being followed the tracks of upstream Interface by track order in prior art, as shown in Figure 1, downstream user is communicated with upstream equipment by S1, and S1 is MASTER equipment and host apparatus.When circuit 5 breaks down, switch detects fault, initiatively reduce the priority of host apparatus, thus produce backup switching, S2 is just converted into MASTER equipment, S1 is then converted into BACKUP equipment, thus ensures that the communication between upstream device and core router can not be interrupted, and this function class is similar to the interface tracking (RFC2281) in HSRP.
As shown in Figure 2, when the link occurs fault of upstream equipment, link such as between S3 equipment and core router all interrupts, now the VRRP state of S1 and S2 can not change, S1 is still MASTER equipment, and the flow of upstream device all leads to S1, but S1 is hopeless leads to core router, the network of such downstream user will all interrupt, and currently available technology does not have good solution to this problem.
Summary of the invention
The object of the present invention is to provide a kind of implementation method of notifying downstream device in case of switch of uplink link status, make upstream equipment and the equipment linkage being configured with VRRP agreement, greatly to improve the fault-resistant ability of actual networking Road by redundancy backup system.
For solving the problems of the technologies described above, the present invention program comprises:
Notify an implementation method for upstream device during uplink handover state, wherein, described implementation method comprises the following steps:
A trace command is configured in the upstream plant of route redundancy standby system; The link of the host apparatus and core router of binding described route redundancy standby system by described trace command is up link, and the link being bound described host apparatus and stand-by equipment by described trace command is down link; Wherein, the corresponding relation of each uplink downlink sets a corresponding priority;
When described up link disconnects, described up link disconnects message to described down link transmitting line, and described route redundancy standby system changes the priority of relevant device, makes the priority of described host apparatus lower than described stand-by equipment;
When described up link recovers communication, described up link is to described down link transmitting line message recovery, and described route redundancy standby system changes the priority of relevant device, makes the priority of described host apparatus higher than described stand-by equipment.
Described implementation method, wherein, described uplink priority and be greater than the difference of described host apparatus priority and stand-by equipment priority.
Described implementation method, wherein, all described uplink priorities and be less than the difference of described host apparatus priority and described stand-by equipment priority with the difference of the priority of any link.
Described implementation method, wherein, when described up link disconnects, described route redundancy standby system changes the priority of relevant device, makes the priority of described host apparatus lower than described stand-by equipment, specifically comprises the following steps:
Described host apparatus reduction self and the priority corresponding with self, and the normal message sent with the Virtual Router Redundacy Protocol of own priority;
Described stand-by equipment, according to the described message received, increases self and the priority corresponding with self, and switching state.
Described implementation method, wherein, when described up link recovers communication, described route redundancy standby system changes the priority of relevant device, makes the priority of described host apparatus higher than described stand-by equipment, specifically comprises the following steps:
Described host apparatus increase self and the priority corresponding with self, and the normal message sent with the Virtual Router Redundacy Protocol of own priority;
Described stand-by equipment, according to the described message received, reduces self and the priority corresponding with self, and switching state.
The present invention is to provide a kind of implementation method of notifying downstream device in case of switch of uplink link status, the present invention increases by a TRACK order in the prior art, when upstream equipment break down or the link generation problem of upstream equipment time, route redundancy standby system detects the state of upstream equipment, the correct equipment of configuration VRRP agreement that makes carries out active-standby switch, thus prevent the open circuit caused due to the fault of upstream plant, substantially increase the fault-resistant ability of actual networking Road by redundancy backup system.
Accompanying drawing explanation
Fig. 1 is the topological diagram of prior art route redundancy standby system;
Fig. 2 is the topological diagram of the link failure of prior art route redundancy standby system upstream plant;
Fig. 3 is the implementing procedure figure of the inventive method;
Fig. 4 is the schematic diagram of should acting after the link failure of route redundancy standby system host apparatus upstream plant of the present invention;
Fig. 5 is the application schematic diagram after the link failure recovery of route redundancy standby system host apparatus upstream plant of the present invention.
Embodiment
Below with reference to accompanying drawing, each preferred embodiment of the present invention is described in detail.
The implementation method of notifying downstream device in case of switch of uplink link status of the present invention, its main improvement is to configure a trace command and TRACK order in upstream plant in the prior art, each link port state is traced and monitored in described TRACK order, primary and the standby of whether switching device is determined according to Link State, to improve the fault-resistant ability of network in actual sets network process, prior art is made to achieve larger progress.
As shown in Figure 3, the implementation method of a kind of notifying downstream device in case of switch of uplink link status provided by the invention, specific implementation process is:
In step 301, the master/slave device on route redundancy standby system configures described VRRP agreement, and calculate main and standby relation
In step 302, two equipment normally set up the main and standby relation of described VRRP;
In step 303, configure a TRACK order in upstream plant, be up link by the link of host apparatus described in described TRACK command binding and described core router, each corresponding relation sets a corresponding priority, monitoring up going port state; Be down link by the link described in described TRACK command binding between host apparatus and described stand-by equipment;
In step 304, judge whether the up link that described TRACK binds breaks down, if broken down, then perform step 307; Otherwise, perform step 305;
In step 305, continue to scan the up link of described binding TRACK;
In step 306, judge whether that described up link recovers normal, or whether had other up links to break down, if had, then performed step 307; Otherwise, return step 305;
In step 307, the rapid perception of described TRACK order also sends the message of link-down or link-up to described route redundancy standby system by described down link, equipment on notice redundancy backup system, needs to reduce or increase the corresponding priority of equipment;
In step 308, host apparatus enters normal VRRP election process, and described host apparatus is carried out corresponding switching to described stand-by equipment.
After performing method of the present invention, substantially increase the fault-resistant of route redundancy standby system.
Breaking down and flow chart after fault recovery for the up link of host apparatus of the present invention as shown in figs. 4 and 5.When circuit 1 between S3 equipment and described core router, circuit 2 disconnect, when described TRACK order detects that described up link breaks down, described TRACK order sends a Link-down message by circuit 5 to down link, after S1 equipment receives described Link-down message, the priority reducing SI equipment and correspond, SI equipment sends normal described VRRP protocol massages; During the priority of S2 equipment receives described VRRP protocol massages priority by circuit 8 lower than S2 equipment, S2 equipment switching state, S2 equipment is converted to described host apparatus, S1 equipment is converted to described stand-by equipment, S2 equipment is linked together by circuit 6 and circuit 3, circuit 4 and described core router, to ensure the smoothness of circuit.
When circuit 1 between S3 and described core router, circuit 2 recover, when described TRACK order detects that described up link is recovered to connect, described TRACK order sends a Link-up message by circuit 5 to down link, after S1 equipment receives described Link-up message, the priority increasing S1 equipment and correspond, S1 equipment sends normal described VRRP protocol massages; When S2 equipment is greater than the priority of S2 equipment by the priority that circuit 8 receives described VRRP protocol massages, S2 equipment switching state, S2 equipment is converted back stand-by equipment, S1 equipment is converted back host apparatus, S1 equipment is linked together by circuit 5 and circuit 1, circuit 2 and described core router, makes circuit recover normal operation.
If the host apparatus priority of the described VRRP agreement configured in the present invention is 120, the priority of stand-by equipment is 100, so upstream equipment link priority and must 20 be greater than, all upstream equipment link priority and the priority that deducts arbitrary link must be less than 20.
In sum, adopt the implementation method of a kind of notifying downstream device in case of switch of uplink link status provided by the present invention, in existing route redundancy backup system, increase by a TRACK order, when upstream equipment break down or the link generation problem of upstream equipment time, route redundancy standby system just can detect the state of upstream equipment, thus the equipment of correct configuration VRRP agreement carries out active-standby switch, prevent and cause access layer equipment open circuit due to the fault of upstream plant, improve the fault-resistant ability of actual networking Road by redundancy backup system.The present invention can be used in the mechanism of multiple link protection and apply, and only illustrates for described VRRP agreement herein.
Should be understood that, the above-mentioned description for preferred embodiment is comparatively detailed, and therefore can not think the restriction of scope of patent protection of the present invention, request protection range of the present invention should be as the criterion with claims.

Claims (1)

1. notify an implementation method for upstream device during uplink handover state, it is characterized in that, described implementation method comprises the following steps:
A trace command is configured in the upstream plant of route redundancy standby system; The link of the host apparatus and core router of binding described route redundancy standby system by described trace command is up link, and the link being bound described host apparatus and stand-by equipment by described trace command is down link; Wherein, the corresponding relation of each uplink downlink sets a corresponding priority, the corresponding relation of uplink downlink comprises: host apparatus priority and corresponding uplink priority, stand-by equipment priority and corresponding downlink priorities, described uplink priority and be greater than the difference of described host apparatus priority and stand-by equipment priority, all described uplink priorities and be less than the difference of described host apparatus priority and described stand-by equipment priority with the difference of the priority of any link;
When described up link disconnects, described up link disconnects message to described down link transmitting line, described route redundancy standby system changes the priority of relevant device, make the priority of described host apparatus lower than described stand-by equipment, specifically comprise the following steps: described host apparatus reduction self and the priority corresponding with self, and the normal message sent with the Virtual Router Redundacy Protocol of own priority; Described stand-by equipment, according to the described message received, increases self and the priority corresponding with self, and switching state;
When described up link recovers communication, described up link is to described down link transmitting line message recovery, described route redundancy standby system changes the priority of relevant device, make the priority of described host apparatus higher than described stand-by equipment, specifically comprise the following steps: described host apparatus increase self and the priority corresponding with self, and the normal message sent with the Virtual Router Redundacy Protocol of own priority; Described stand-by equipment, according to the described message received, reduces self and the priority corresponding with self, and switching state.
CN200810067001.2A 2008-04-24 2008-04-24 A realizing method for notifying downstream device in case of switch of uplink link status Active CN101267392B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810067001.2A CN101267392B (en) 2008-04-24 2008-04-24 A realizing method for notifying downstream device in case of switch of uplink link status

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810067001.2A CN101267392B (en) 2008-04-24 2008-04-24 A realizing method for notifying downstream device in case of switch of uplink link status

Publications (2)

Publication Number Publication Date
CN101267392A CN101267392A (en) 2008-09-17
CN101267392B true CN101267392B (en) 2015-05-20

Family

ID=39989534

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810067001.2A Active CN101267392B (en) 2008-04-24 2008-04-24 A realizing method for notifying downstream device in case of switch of uplink link status

Country Status (1)

Country Link
CN (1) CN101267392B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101667864B (en) * 2009-09-28 2012-05-23 中兴通讯股份有限公司 Method of descending physical link fault diagnosis, system and device
CN101841408A (en) * 2010-05-07 2010-09-22 北京星网锐捷网络技术有限公司 Primary/standby route equipment switching method and route equipment
CN102255740A (en) * 2010-05-21 2011-11-23 中兴通讯股份有限公司 Method and device for active-standby switch of service nodes
CN103843286B (en) * 2011-05-19 2018-05-15 爱立信(中国)通信有限公司 For the method and apparatus based on the triggering router state change of exchanger connectivity
US8553532B2 (en) * 2011-08-23 2013-10-08 Telefonaktiebolaget L M Ericsson (Publ) Methods and apparatus for avoiding inter-chassis redundancy switchover to non-functional standby nodes
CN102448095A (en) * 2012-01-20 2012-05-09 杭州华三通信技术有限公司 Dual homing protection method and equipment
CN104901883B (en) * 2014-03-06 2018-12-04 中国移动通信集团广东有限公司 A kind of configuration method of router, device and standby usage business router
WO2021009967A1 (en) * 2019-07-12 2021-01-21 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカ Terminal and transmission method
CN113794541A (en) * 2021-08-27 2021-12-14 新华三信息安全技术有限公司 Main/standby switching management method, device, equipment and machine readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030233473A1 (en) * 2002-05-07 2003-12-18 International Business Machines Corporation Method for configuring logical connections to a router in a data communication system
CN1863198A (en) * 2005-09-01 2006-11-15 华为技术有限公司 Apparatus and method of real-time recovering service
CN1968260A (en) * 2005-11-17 2007-05-23 华为技术有限公司 Method for implementing virtual router redundancy protocol switching between primary/standby devices

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030233473A1 (en) * 2002-05-07 2003-12-18 International Business Machines Corporation Method for configuring logical connections to a router in a data communication system
CN1863198A (en) * 2005-09-01 2006-11-15 华为技术有限公司 Apparatus and method of real-time recovering service
CN1968260A (en) * 2005-11-17 2007-05-23 华为技术有限公司 Method for implementing virtual router redundancy protocol switching between primary/standby devices

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张树友.VRRP协议原理及在路由器上的应用.中国金融电脑 2006年10期.2006,(2006年10期),28-30. *

Also Published As

Publication number Publication date
CN101267392A (en) 2008-09-17

Similar Documents

Publication Publication Date Title
CN101267392B (en) A realizing method for notifying downstream device in case of switch of uplink link status
CN100417094C (en) Network failure recovery method with redundancy port
EP2081322B1 (en) A method and device implementing link pass through in a point-to-multipoint network
CN101217353B (en) A control method on multi-point dual redundancy system of call center
CN107135102B (en) Train UIC gateway redundancy switching device and control method thereof
CN105577444B (en) A kind of wireless controller management method and wireless controller
CN101340380B (en) Method and apparatus for uninterrupted forwarding of bi-directional forwarding detection in master-slave switch implementation
CN106648997A (en) Master-salve switching method based on non-real-time operating system
CN102710466B (en) Standby usage board switches protection system and two-way converting detects seamless switching method and apparatus
GB2444170A (en) Ethernet protection using a redundant link, with link up of a remote port being triggered using a "link status control mechanism".
CN102255740A (en) Method and device for active-standby switch of service nodes
CN101714939A (en) Fault treatment method for Ethernet ring network host node and corresponding Ethernet ring network
CN101710865A (en) Method and device for rapid active-standby switching in network equipment
CN107040403A (en) The method that Distributed system reliability is improved based on DDS technologies
CN104639867A (en) Method and system for resuming video conferences
CN101521406A (en) GOOSE dual-net redundant communication signal transmission method
CN102407868B (en) Hot-standby dual-connection method suitable for communication protocol of modern monitoring system of rail transit
CN113645312A (en) Method and device for protecting sub-ring network link based on ERPS protocol
CN112615728A (en) Simulation system master-slave switching method based on railway safety communication protocol
CN101599853A (en) A kind of Ethernet dual homed connects the implementation method of irrevocable pattern in the protection
CN101659271A (en) Method for connecting station ATS with interlocking subsystem
CN110875880B (en) Data transmission method, related equipment, system and computer storage medium
CN104579953A (en) A method for releasing routing, and a virtual router redundancy protocol backup group and network
CN102843265B (en) Not resetting without the hot standby dual link method of perturbation of a kind of communication protocol
CN101217405B (en) SGSN backup method and communication system, communication device

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

Effective date of registration: 20171116

Address after: 350700 building, two Financial Bureau, Yongtai County, Fujian, Fuzhou

Patentee after: Yongtai County State owned asset management company

Address before: 518057 Nanshan District Guangdong high tech Industrial Park, South Road, science and technology, ZTE building, Ministry of Justice

Patentee before: ZTE Corporation

TR01 Transfer of patent right