[go: up one dir, main page]

CN101860492A - Method, device and system for fast switching - Google Patents

Method, device and system for fast switching Download PDF

Info

Publication number
CN101860492A
CN101860492A CN201010212426A CN201010212426A CN101860492A CN 101860492 A CN101860492 A CN 101860492A CN 201010212426 A CN201010212426 A CN 201010212426A CN 201010212426 A CN201010212426 A CN 201010212426A CN 101860492 A CN101860492 A CN 101860492A
Authority
CN
China
Prior art keywords
link
detection
sub
equipment
main
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.)
Pending
Application number
CN201010212426A
Other languages
Chinese (zh)
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.)
ZTE Corp
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 CN201010212426A priority Critical patent/CN101860492A/en
Priority to PCT/CN2010/076907 priority patent/WO2012000234A1/en
Publication of CN101860492A publication Critical patent/CN101860492A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/10Packet switching elements characterised by the switching fabric construction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/04Network management architectures or arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0663Performing the actions predefined by failover planning, e.g. switching to standby network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/34Signalling channels for network management communication
    • H04L41/344Out-of-band transfers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/40Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass for recovering from a failure of a protocol instance or entity, e.g. service redundancy protocols, protocol state redundancy or protocol service redirection

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a quick switching method, a device and a system thereof. The invention relates to the data communication field and solves the problem of quick switching after link fault. The method includes: a primary device transmits a detection message by virtue of the detection sublink, when link state is changed, the detection result is fed back to the service sublink, and link switching is executed. The technical scheme provided by the invention is applicable to IP network.

Description

Fast switching method, device and system
Technical field
The present invention relates to data communication field, relate in particular to a kind of fast switching method, device and system.
Background technology
Along with the fast development of internet, IP network becomes requisite means of communication in people's routine work and the life gradually.Network application grows with each passing day to the reliability requirement of IP network, particularly for the terminal use, can be in real time with network in other parts to keep reliably being connected be very important.Therefore, some link detecting, link protection mechanism are arisen at the historic moment.
VRRP (Virtual Router Redundancy Protocol, Virtual Router Redundacy Protocol) is exactly a kind of link protection technology comparatively commonly used, its essence is that the redundancy setting that utilizes default gateway carries out backup protection.The VRRP agreement is fabricated into a virtual router with set of router, and campaigns for out main with status devices (hereinafter to be referred as host apparatus, distinguishing mutually with main equipment hereinafter) in this group router by specific rule.Host apparatus is carried out the action of gateway, is responsible for response and the IP message of virtual address ARP (Address ResolutionProtocol, address resolution protocol) and transmits; Another router then is ready as stand-by state equipment (hereinafter to be referred as stand-by equipment, distinguishing mutually with the equipment that is equipped with hereinafter).Host apparatus regularly sends the VRRP notification packet, negotiation informations such as issue self working state and priority; The notification packet of stand-by equipment periodic monitor host apparatus.When stand-by equipment can not receive the VRRP notification packet in continuous three announcements at interval, receive that perhaps priority is that standby router can automatically switch to the main state of using behind 0 the notification packet.Whole handoff procedure need not to revise configuration, so transparent fully for the terminal use.
Fig. 1 has provided the topological diagram that uses the service access net of VRRP technology, and constituting redundancy group with two equipment is example, and one is main equipment, and another is equipment fully.Main equipment and be equipped with equipment and can simultaneously the network segment routing iinformation of user side be issued to backbone network, can form ECMP (the Equal-Cost MultiPath that arrives the terminal use in up link, load sharing), be equipped with equipment like this and when the main equipment operate as normal, also can bear a part of flow, to make full use of resource.In addition, main equipment and be equipped with and set up the VRRP group between the equipment forms the backup of down link, so that flow can be switched to standby link when descending primary link is unusual, and recovers just often flow to be returned to cut when primary link.
Though can detect main equipment, the upstate that is equipped with equipment by the VRRP notification packet; VRRP realizing the node protection, but occurs when unusual when down link, owing to can't perception be which sidelinks occurs unusually; therefore can't implement to switch, can cause flow interrupt.Main equipment and be equipped with the unusual switch speed of equipment perception when taking place in order to improve link failure, the redundancy protecting scheme that link detecting technology and VRRP combine is suggested.
Adopt link failure detection technology for detection VRRP main equipment and the state that is equipped with the equipment room side-by-side link, VRRP can finish quick switching like this according to link detecting State Control main equipment and the switching of equipment room user mode fully in less than 1 second the time interval.
Adopt technique scheme, have following shortcoming:
1, do not support two layers of measuring ability when ustomer premises access equipment, need to dispose measuring ability, detect, just have contradiction between the two in detection messages transmission and route switching as Ping based on three-tier message:
The deployment of link detecting is general all based on the address of both link ends, i.e. each destination address that the address of the link other end is detected as accessibility on terminal device; With Fig. 1 is example, when primary link is unusual, Ping detects and finds that link is unavailable and it is invalid to notify routing module that the network segment route of this link is put on the main equipment, but because the detection messages that Ping detects depends on the network segment route of this link, can't continue to send in the invalid back of route detection messages, even link-recovery like this, the Ping detection also can't perception, thereby link-recovery information notification routing module can not to be refreshed this link network segment route be upstate, and flow can't return all the time and cut.
2, after the unusual switching of down link, up link such as asynchronous switching, the descending flow of going to user side still can be lost on main equipment.
Summary of the invention
The invention provides a kind of fast switching method, device and system, solved the problem of switching fast behind the link failure.
A kind of fast switching method comprises:
The invention provides a kind of fast switching method, device and system, primary link comprises one and detects a sublink and a professional sublink, main equipment sends detection messages by described detection sublink, when Link State changes, testing result is fed back to described professional sublink, carry out link switchover, realized that the 3rd layer in communication network detects link, the optimum route that obtains is more accurate, has solved the problem of switching fast behind the link failure.
Description of drawings
Fig. 1 is the topological diagram of the service access net of use VRRP technology;
The structural representation of a kind of quick device for switching that Fig. 2 provides for embodiments of the invention;
The flow chart of a kind of fast switching method that Fig. 3 provides for embodiments of the invention one;
Fig. 4 is the particular flow sheet of step 302 among Fig. 3;
Fig. 5 is the particular flow sheet of step 303 among Fig. 3;
Fig. 6 is the particular flow sheet of step 309 among Fig. 3;
The flow chart of a kind of fast switching method that Fig. 7 provides for embodiments of the invention two;
Fig. 8 flow path schematic diagram when unusual occurs for descending each section link of transmission network.
Embodiment
To be subject to the constraint of measuring ability that subscriber equipment is supported based on the link detecting of subscriber equipment, two layers link detecting Function detection message does not rely on route, therefore there is not the contradiction between the switching of detection and route, but this function is to have relatively high expectations (being common in middle and high end transmission equipment) of equipment, and domestic consumer's equipment is not supported usually.Therefore, when optional its packet sending and receiving of link detecting technology need rely on three layers of route, just there is contradiction between the two in detection messages transmitting-receiving and route switching.Taking place with primary link is example unusually, if according to testing result route is switched to standby link from primary link, detection messages is switched by route to be influenced, and can not continue primary link is detected, even primary link recovers to realize time cutting of flow like this.
In addition, in the process of active and standby switching, ignored network side to inserting the perception that side is switched, in case the main equipment downlink communication is unusual when practical application, though user uplink flow (user side is sent to the flow of network side) switches to equipment fully by VRRP, but network side downlink traffic (network side is sent to the flow of user side) is still walked main equipment, thereby causes traffic loss.
In order to address the above problem, embodiments of the invention provide a kind of fast switching method, on each equipment of redundancy group, add a quick device for switching, (constitute redundancy group at definite host apparatus as having only two equipment, then be main equipment) after, activate the quick device for switching on this main equipment.The structure of above-mentioned quick device for switching comprises as shown in Figure 2:
Detection module 201, routing module 202, VRRP module 203 and Routing Protocol module 204.
Further, this device also comprises two layers of forwarding module 205 and three layers of forwarding module 206.
Detection module 201 comprises detection application management unit 2011 and detects control unit 2012.
Wherein, detect application management unit 2011, be mainly used in the detection information of management upper layer application registration, and after detected state is determined, notify registered upper layer application, belong to the external interface module of detection on the level.
Detect control unit 2012, be used to receive the notice that detects application management unit 2011, control is safeguarded detected state to the detection of given link, and detection application management module is returned in the testing result transmission; The core that belongs to detection on the level realizes module.
Routing module 202 comprises routing management unit 2021 and route control unit 2022.
Routing management unit 2021, be used to safeguard the detected object information of route application configuration, the detected object that route is used is delivered to detection application management unit 2012, and handles the testing result that detects 2012 passbacks of application management unit, notifies route control unit 2022 after the parsing.
Route control unit 2022 is used to receive available/unavailable routing information that routing management unit 2021 provides, and is responsible for choosing of optimum route, and provides three layers of routing forwarding information to transmit to instruct message to three layers of forwarding control module 206.
VRRP module 203 comprises VRRP control unit 2031 and VRRP administrative unit 2032.
VRRP administrative unit 2032, be used to safeguard VRRP virtual router configuration information, be responsible for the detected object that VRRP uses is delivered to detection application management unit 2011, and handle the testing result that detects 2011 passbacks of application management unit, notify VRRP control unit 2031 after the parsing;
VRRP control unit 2031, be used to safeguard the precedence information of VRRP virtual router, the main testing result of being responsible for response VRRP administrative unit 2032 notices, upgrade the priority that priority also recomputates main equipment and is equipped with equipment room, safeguard main equipment, be equipped with the equipment user mode and the issue VRRP notification packet.
Routing Protocol module 204, main being responsible for sends route to neighbours, and the routing iinformation that receives neighbours' issue.
Two layers of forwarding module 205 are responsible on the basis of three layers of IP forwarding information, continue two layers of forwarding information of tissue, finish the encapsulation of Ethernet message, and the driving that belongs to products-hardware on the level realizes.
Three layers of forwarding module 206, the responsible routing iinformation that provides according to route control unit 2022, the IP message is carried out the parsing and the encapsulation of three layers of forwarding information, and three layers of information are delivered to the 205 continuation processing of two layers of forwarding module, the driving that belongs to products-hardware on the level realizes.
Below in conjunction with accompanying drawing, embodiments of the invention are elaborated.
At first, embodiments of the invention one are described.
Embodiments of the invention one provide a kind of fast switching method, link are detected at three layers by this method, have solved the long-time problem of interrupting of service traffics behind the link failure.
The fast switching method of using the embodiment of the invention to provide in conjunction with quick device for switching shown in Figure 2, manages the master/slave device state in the redundancy group, and more new routing information process as shown in Figure 3, comprising:
Step 301, parallel two access devices are set, dispose direct connected link address between two equipment rooms and upper strata backbone network, subscriber equipment;
Step 302, carry out the configuration of VRRP group;
This step comprises specifically as shown in Figure 4:
Step 3021, at the down link of two equipment, dispose identical VRRP group respectively, different priority is set;
Step 3022, on two equipment, the VRRP virtual address is set respectively;
Step 3023, on two equipment, specify the corresponding outbound port of heartbeat line respectively.
After step 302 was finished, VRRP can carry out state at two equipment rooms to be consulted, and determines main equipment and be equipped with equipment that main equipment uses the virtual address outwards to issue gratuitous ARP packet simultaneously.
Configuration detection on step 303, the main equipment;
This step comprises specifically as shown in Figure 5:
Step 3031, purpose is detected the address that downlink user equipment is pointed in the address;
Giving out a contract for a project at interval and timeout parameter of step 3032, configuration detection;
Step 3033, on the down link direct interface of described main equipment parallel sub-interface of configuration, and will detect the interface IP address of address direct detection sublink;
In the embodiment of the invention, the down link of main equipment is primary link.When configuration during based on the measuring ability of three layers of routing forwarding, need parallel sub-interface of configuration on the direct-connected interface of main equipment down link earlier, a link is divided into detection sublink and professional sublink two parts, should detect sublink and use link, will detect the interface IP address of detection sublink corresponding on the directed towards user equipment of address as detecting.
Step 304, at the dynamic routing protocol between configuration and backbone network respectively on two equipment, and the configuration-direct connection route heavily distributes, the Routing Protocol module network segment route that down link and user is direct-connected is issued to backbone network;
By step 304, get through the route of backbone network to subscriber equipment, when the detection sublink detected state of main equipment just often, main equipment and be equipped with equipment and just can form arrival user's ECMP at backbone network is shared downlink traffic.
Step 305, on the down link of main equipment configuration detection;
In this step, with the detection sublink and the binding of professional sublink of same link, promptly the break-make of professional sublink detects by detecting sublink, and the testing result that detects sublink is reacted directly on the professional sublink.
After configuration is finished, main equipment just can detect professional sublink by detecting sublink, and main equipment sends detection messages by described detection sublink, when Link State changes, testing result is fed back to described professional sublink, carry out link switchover.In the embodiment of the invention, it is unusual that testing result is specially primary link.Main equipment carries out route reselection, determines new optimum route, issues described new optimum route and service traffics are switched to standby link from primary link to neighbours.Specifically as step 306 to shown in 310.
Main equipment in step 306, the redundancy group sends detection messages by detecting sublink, and described detection sublink corresponding service sublink is detected;
After step 305 configuration is finished, detect control unit and begin detecting the sublink detection messages of regularly giving out a contract for a project, when detecting when detecting the sublink state and changing, it is unusual to think that professional sublink occurs, execution in step 307.
Need to prove,, still continue to send detection messages that like this, behind link-recovery, also can know the break-make situation of professional sublink immediately, routing iinformation can upgrade in time by detecting sublink even testing result is that professional sublink is unusual.
Step 307, detection module are with descending link exception information informing VRRP module;
In this step, detect sublink when unusual when detecting, think primary link failure, cisco unity malfunction generates link exception information, and link exception information is notified to VRRP administrative unit and routing management unit, carries out link switchover with the indicating services sublink.
Step 308, VRRP module are carried out main equipment again according to the link exception information of receiving and are equipped with the state negotiation of equipment;
In this step, the VRRP control unit carries out main equipment and the negotiation of equipment fully in the redundancy group again according to the link exception information that step 307 detection module sends.
When master status changes (former main equipment becomes equipment fully after negotiation, the former equipment that is equipped with becomes main equipment after negotiation), new host apparatus issue VRRP control information comprises main gratuitous ARP packet with state information and virtual address.
Step 309, according to testing result, determine new optimum route;
In this step, routing module recomputates the optimum route of transmitting according to the link exception information of receiving, soon rejects in the chain route forwarding entry of fault, and concrete steps comprise as shown in Figure 6:
Step 3091, when the optimum route of down link changes, route control unit is given three layers of forwarding module with the information synchronization of optimum route, notifies three layers of forwarding module to delete the forwarding entry of this faulty link correspondence when no optimum route;
Step 3092, when the optimum route of down link changes, route control unit is notified the Routing Protocol module with best route information, notice Routing Protocol module optimum route is invalid when no optimum route, deletes the forwarding entry of this faulty link correspondence.
In addition, when the link that detects fault had recovered, route control unit also can generate new best route information.After primary link recovered, detection module was notified to VRRP administrative unit and routing management unit by the quick perception link change of step 305 energy with link-recovery information, cuts to return.
Step 310, when the Routing Protocol module is received the local route change information of routing module notice, issue described new optimum route to neighbours;
In this step, receive the local route change information of routing module notice when the Routing Protocol module after, the Routing Protocol module specifically comprises following two kinds of situations to neighbours' new routing information more:
When 1, the local route change information of receiving when the Routing Protocol module indicates optimum routing variable invalid,, notify neighbours to delete the forwarding entry of this faulty link correspondence to the message of cancelling that neighbours issue this route;
2, when the Routing Protocol module receives that local route comes into force again, issue this route, notify neighbours to add this forwarding entry to neighbours.
In addition, main equipment can also continue by the detection sublink of this link professional sublink to be detected when link failure, and main equipment sends detection messages by described detection sublink, when Link State changes, testing result is fed back to described professional sublink, carry out link switchover.Described testing result is fault recovery, and described main equipment carries out route reselection, determines new optimum route, issues described new optimum route and service traffics are switched to primary link from standby link to neighbours.Concrete implementing procedure and step 306 are to 310 indifferences, no longer repeat specification.
The embodiment of the invention provides a kind of fast switching method, main equipment in the redundancy group sends detection messages by detecting sublink, the related testing result of described detection sublink corresponding service sublink, and according to testing result, determine the optimum route of forwarding of new business datum, the IP layer of having realized in communication network detects link, by switching based on the link linkage that detects, instant issue best route information, shortened the break period of flow behind the link failure greatly, reduced the influence of link failure business.Taken into full account based on the link detecting technology of route and the contradiction between the route switching, proposed to utilize the detection sublink to carry out link detecting, instructed the renewal of routing iinformation; Simultaneously, also provide down link and the up link control method that interlock is switched,, solved the traffic loss problem that descending independent switching causes by the issue of routing iinformation.The fast switching method that the embodiment of the invention provides realizes based on the existing hardware of equipment fully, and is easy to implement.
Below in conjunction with accompanying drawing and embodiments of the invention two are elaborated.
The embodiment of the invention provides a kind of fast switching method, between two access devices, set up a VRRP virtual router group, cross over transmission network and between main equipment and subscriber equipment, set up link detecting end to end, utilize existing detection technique perception Link State, to assist the selection of VRRP decision-making host apparatus and stand-by equipment; The multiplexing same physical link of detection messages and service message, but management goes up and will detect sublink and professional sublink is separated on two parallel sublinks, and the detected state of dependence route can't return the problem of cutting during with solution link abnormal restoring; Main equipment is with equipment is simultaneously to backbone network issue and the direct-connected same network segment routing iinformation of subscriber equipment fully, and two equipment of normal condition are shared downlink traffic together; When detecting primary link when unusual, dynamic routing protocol is cancelled the issue of this directly connected subnet on the host apparatus, and the flow of up-downgoing is switched to backup link simultaneously, solves that down link switches but up link is not switched the downlink traffic that causes and lost problem.
The fast switching method of using the embodiment of the invention to provide in conjunction with quick device for switching shown in Figure 2, manages the master/slave device state in the redundancy group, and more new routing information process as shown in Figure 7, comprising:
Step 701, parallel two access devices are set, carry out the basic link configuration;
In this step, at first determine main equipment, be equipped with equipment according to factors such as equipment performance and reliabilities, carry out main equipment then respectively, be equipped with equipment to backbone network and subscriber equipment, and main equipment and be equipped with the address configuration of equipment room link, wherein main equipment, the link configuration that is equipped with between equipment and subscriber equipment are the same network segment; Additional configuration one sub-interface on the link between main equipment and subscriber equipment.
Step 702, at the dynamic routing protocol between configuration and backbone network respectively on two equipment, and the configuration-direct connection route is heavily distributed in dynamic protocol, the Routing Protocol module is issued the network segment route of down link to backbone network, form to share meeting of up link.
Step 703, carry out the setting of VRRP backup group;
In this step, main equipment be equipped with equipment on the identical VRRP group number and identical virtual address of configuration, specify heartbeat line corresponding output port, on main equipment, be provided with simultaneously and be higher than the VRRP priority of equipment fully.
Step 704, VRRP consult to decide main equipment and be equipped with equipment;
At first, two equipment all are in the VRRP initial condition, send the broadcasting notification packet respectively, the priority of carrying this equipment in this message; The equipment of receiving notification packet extracts priority and compares with self priority, if this priority facility is lower than the priority that message carries, then the state in the VRRP backup group of this equipment can switch to stand-by state, otherwise, then switch to the main state of using.
After step 705, host apparatus are determined, the gratuitous ARP packet of issue virtual address correspondence, the notification transmission net upgrades the ARP list item;
Transmission network refers to the network of active and standby equipment to subscriber equipment.
Carry out the configuration of measuring ability on step 706, the main equipment;
The embodiment of the invention is an example to adopt Ping to carry out link detecting.
In this step, configuration Ping inspection group then on main equipment is provided with the transmission frequency of detection messages, specifies the destination address that detects, and destination address need be configured on the subscriber equipment interface IP address with the parallel detection sublink of professional sublink.
The binding of VRRP, route and measuring ability is set on step 707, the main equipment;
In this step, in the related test set of downlink business link configuration, open detection function, the binding of setting up VRRP, route and measuring ability.The downlink business sublink has two kinds of detected states: normal and unusual.When the sublink of industry affair instantly detected state was unusual, promptly thinking needed downlink business sublink fault to trigger active and standby switching and reaches more new routing information.In the embodiment of the invention, the descending sublink of main equipment is primary link.
Step 708, detection module regularly send detection messages (being the Ping message) by detecting sublink to testing goal address (being subscriber equipment), monitor the response scenarios of destination address simultaneously.
Step 709, the variation of state before and after relatively detection module regularly detects, no change before and after the detected state continues regularly execution in step 708, otherwise execution in step 710.
Step 710, when detected state is normal, but in the measuring ability of setting is waited at interval, do not receive the back message using of destination address thereafter, then execution in step 711; Unusual when detected state, but receive back message using thereafter from destination address, then execution in step 714.
In the embodiment of the invention, testing result is specially the unusual or fault recovery of primary link.
Step 711, detected state are updated to unusually, and detection module is notified registered application, and VRRP and routing module respond the transition between states incident of this test set, continue execution in step 712 to realize the application protection to unusual link.
Step 712, VRRP main equipment reduce priority, be equipped with the equipment message that notifies through the heartbeat alignment, after equipment is received notification packet fully, switch to the main state of using according to priority ratio from stand-by state, outwards issue the gratuitous ARP packet of virtual address, the ARP table of notification transmission net renewal of the equipment gateway address correspondence; Main equipment switches to stand-by state from main with state simultaneously.
Step 713, routing module find the port related with this test set (being the main business outbound port), outgoing interface is pointed to the route of this port and do invalidation, notify three layers of forwarding module deletion forwarding-table item, the network segment route of notifying the Routing Protocol module to cancel the main business link simultaneously.
Step 714, detected state are updated to normally, and detection module is notified registered application, and VRRP and routing module are handled the transition between states incident of this test set, continue execution in step 715 and realize the application of unusual link is protected;
Step 715, VRRP main equipment are recovered priority, are equipped with the equipment message that notifies through the heartbeat alignment, after being equipped with equipment and receiving notification packet, switch to stand-by state from main with state according to priority ratio; The while main equipment switches back the master from stand-by state uses state, outwards issues the gratuitous ARP packet of virtual address, the ARP table of notification transmission net renewal of the equipment gateway address correspondence.
Step 716, routing module find the port related with this test set (being the main business outbound port), outgoing interface is pointed to the route of this port and do effective processing, notify three layers of forwarding module to add forwarding-table item, notify the network segment route of Routing Protocol module issue main business link simultaneously.
Fig. 8 has provided descending each section link of transmission network and the path of uplink traffic and downlink traffic process occurred when unusual.By Fig. 8 (b) as can be seen, when link 7 or link 11 occurs when unusual, VRRP virtual router group and up link do not switch, and can carry out link protection by looped network; And in Fig. 8 (a), when link 4 appearance were unusual, the VRRP virtual router group can be switched after receiving the link detecting notice, and main equipment switches to stand-by state by main with state, and it is opposite to be equipped with equipment, and uplink traffic just switches to standby link by primary link like this.This moment, backbone network was cancelled the arrival user's of main equipment issue network segment route synchronously, so downlink traffic also switches to standby link from primary link.The destination path that whole handoff procedure detection messages detects does not change, so when link 4 recovered, link detecting can quick perception, notifies upper layer application to carry out link and returns and cut processing, thereby recover the upstate of descending primary link and the ECMP of up link.
The fast switching method that embodiments of the invention provide, main equipment in the redundancy group sends detection messages by detecting sublink, described detection sublink corresponding service sublink is detected, and according to testing result, determine new optimum route, realized that the 3rd layer in communication network is detected link, the optimum route that obtains is more accurate, the IP layer of having realized in communication network detects link, by switching based on the link linkage that detects, issue best route information immediately, shortened the break period of flow behind the link failure greatly, reduce the influence of link failure, solved the low problem of router efficiency business.Can provide the control method of reliable backup and system for the service access net that uses different topology, different transmission mode, improve the reliability of Access Network business support.
Embodiments of the invention also provide a kind of system of quick switching, comprise first equipment and second equipment, described first equipment and described second equipment is redundancy group each other, described first equipment is current main equipment, described first equipment is connected with a link, and this link comprises one and detects a sublink and a professional sublink;
Described first equipment is used for sending detection messages by described detection sublink, when Link State changes, testing result is fed back to described professional sublink, carries out link switchover.
Further, described first equipment also is used for parallel sub-interface of configuration on the direct-connected interface of its down link, and will detects the interface IP address that described detection sublink opposite end is pointed in the address.
Further, described testing result is the unusual or fault recovery of primary link.
The system of the quick switching that embodiments of the invention provide, can combine with a kind of fast switching method that embodiments of the invention provide, main equipment in the redundancy group sends detection messages by detecting sublink, described detection sublink corresponding service sublink is detected, and according to testing result, determine new optimum route, realized that the 3rd layer in communication network is detected link, the optimum route that obtains is more accurate, has solved the long-time problem of interrupting of service traffics behind the link failure.
The all or part of step that the one of ordinary skill in the art will appreciate that the foregoing description program circuit that can use a computer is realized, described computer program can be stored in the computer-readable recording medium, described computer program (as system, unit, device etc.) on the relevant hardware platform is carried out, when carrying out, comprise one of step or its combination of method embodiment.
Alternatively, all or part of step of the foregoing description also can use integrated circuit to realize, these steps can be made into integrated circuit modules one by one respectively, perhaps a plurality of modules in them or step is made into the single integrated circuit module and realizes.Like this, the present invention is not restricted to any specific hardware and software combination.
Each device/functional module/functional unit in the foregoing description can adopt the general calculation device to realize, they can concentrate on the single calculation element, also can be distributed on the network that a plurality of calculation element forms.
Each device/functional module/functional unit in the foregoing description is realized with the form of software function module and during as independently production marketing or use, can be stored in the computer read/write memory medium.The above-mentioned computer read/write memory medium of mentioning can be a read-only memory, disk or CD etc.

Claims (10)

1.一种快速切换的方法,其特征在于,主链路包含一检测子链路和一业务子链路,该方法包括:1. A method for fast switching, characterized in that the main link comprises a detection sub-link and a service sub-link, the method comprising: 主设备通过所述检测子链路发送检测报文,当链路状态发生变化时,将检测结果反馈给所述业务子链路,执行链路切换。The master device sends a detection message through the detection sub-link, and when the link state changes, feeds back the detection result to the service sub-link to perform link switching. 2.根据权利要求1所述的方法,其特征在于,所述主设备通过所述检测子链路发送检测报文的步骤之前,还包括:2. The method according to claim 1, wherein, before the step of sending the detection message through the detection sub-link, the master device further comprises: 在所述主设备的下行链路直连接口上配置一个并行子接口,并将检测地址指向所述检测子链路对端的接口地址。A parallel sub-interface is configured on the downlink direct connection interface of the master device, and the detection address is pointed to the interface address of the opposite end of the detection sub-link. 3.根据权利要求1所述的方法,其特征在于,所述检测结果为主链路异常或故障恢复。3. The method according to claim 1, wherein the detection result is that the main link is abnormal or recovers from a fault. 4.根据权利要求3所述的方法,其特征在于,所述将检测结果反馈给所述业务子链路,执行链路切换具体为:4. The method according to claim 3, wherein the feeding back the detection result to the service sub-link, and performing link switching are specifically: 所述检测结果为主链路异常,所述主设备进行路由重选,确定新的最优路由,向邻居发布所述新的最优路由并将业务流量从主链路切换到备链路;The detection result is that the primary link is abnormal, the primary device performs route reselection, determines a new optimal route, publishes the new optimal route to neighbors, and switches service traffic from the primary link to the standby link; 所述检测结果为故障恢复,所述主设备进行路由重选,确定新的最优路由,向邻居发布所述新的最优路由并将业务流量从备链路切换到主链路。The detection result is failure recovery, the master device performs route reselection, determines a new optimal route, publishes the new optimal route to neighbors and switches service traffic from the backup link to the master link. 5.一种快速切换的装置,其特征在于,主链路包含一检测子链路和一业务子链路,该装置包括:5. A device for fast switching, characterized in that the main link includes a detection sub-link and a service sub-link, and the device includes: 检测模块,用于通过所述检测子链路发送检测报文;A detection module, configured to send a detection message through the detection sub-link; 切换执行模块,用于当链路状态发生变化时,将检测结果反馈给所述业务子链路,执行链路切换。The handover execution module is configured to feed back the detection result to the service sub-link when the link state changes, and execute link handover. 6.根据权利要求5所述的装置,其特征在于,6. The device according to claim 5, characterized in that, 所述检测模块,还用于在所述主设备的下行链路直连接口上配置一个并行子接口,并将检测地址指向所述检测子链路对端的接口地址。The detection module is further configured to configure a parallel sub-interface on the direct downlink interface of the main device, and point the detection address to the interface address of the opposite end of the detection sub-link. 7.根据权利要求5所述的装置,其特征在于,所述检测结果为主链路异常或故障恢复。7. The device according to claim 5, wherein the detection result is that the primary link is abnormal or recovers from a fault. 8.一种快速切换的系统,其特征在于,包括第一设备和第二设备,所述第一设备和所述第二设备互为冗余组,所述第一设备为当前的主设备,所述第一设备连接有一主链路,该主链路包含一检测子链路和一业务子链路;8. A fast switching system, characterized in that it includes a first device and a second device, the first device and the second device are mutually redundant groups, the first device is the current master device, The first device is connected to a main link, and the main link includes a detection sub-link and a service sub-link; 所述第一设备,用于通过所述检测子链路发送检测报文,当链路状态发生变化时,将检测结果反馈给所述业务子链路,执行链路切换。The first device is configured to send a detection message through the detection sub-link, and when the link state changes, feed back the detection result to the service sub-link to perform link switching. 9.根据权利要求8所述的系统,其特征在于,9. The system of claim 8, wherein: 所述第一设备,还用于在其下行链路直连接口上配置一个并行子接口,并将检测地址指向所述检测子链路对端的接口地址。The first device is further configured to configure a parallel sub-interface on its downlink direct connection interface, and point the detection address to the interface address of the opposite end of the detection sub-link. 10.根据权利要求8所述的系统,其特征在于,所述检测结果为主链路异常或故障恢复。10. The system according to claim 8, wherein the detection result is that the main link is abnormal or recovers from a fault.
CN201010212426A 2010-06-28 2010-06-28 Method, device and system for fast switching Pending CN101860492A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201010212426A CN101860492A (en) 2010-06-28 2010-06-28 Method, device and system for fast switching
PCT/CN2010/076907 WO2012000234A1 (en) 2010-06-28 2010-09-14 Method, apparatus and system for fast switching between links

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010212426A CN101860492A (en) 2010-06-28 2010-06-28 Method, device and system for fast switching

Publications (1)

Publication Number Publication Date
CN101860492A true CN101860492A (en) 2010-10-13

Family

ID=42946158

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010212426A Pending CN101860492A (en) 2010-06-28 2010-06-28 Method, device and system for fast switching

Country Status (2)

Country Link
CN (1) CN101860492A (en)
WO (1) WO2012000234A1 (en)

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102055673A (en) * 2010-12-30 2011-05-11 上海顶竹通讯技术有限公司 Multi-route network and route switching method
CN102201987A (en) * 2011-05-10 2011-09-28 中兴通讯股份有限公司 Layer 3 interface connected route backup method and system
CN102325042A (en) * 2011-07-19 2012-01-18 中兴通讯股份有限公司 PE (provider edge router) and protection method of homologous homoclinic PWs (pseudo wires)
CN102347905A (en) * 2011-10-31 2012-02-08 杭州华三通信技术有限公司 Network equipment and forwarded information updating method
CN102571598A (en) * 2012-02-06 2012-07-11 杭州华三通信技术有限公司 VRRP group flow synchronous switching method and route equipment
CN102752209A (en) * 2012-07-09 2012-10-24 杭州华三通信技术有限公司 Rapid address switchover method used for realizing backup service and route forwarding unit
CN102970172A (en) * 2012-12-06 2013-03-13 华为技术有限公司 Communication link switching method, device and communication system
WO2013113228A1 (en) * 2012-02-05 2013-08-08 华为技术有限公司 Method, routing device and system for redundant backup of network device
CN103490914A (en) * 2012-06-08 2014-01-01 华耀(中国)科技有限公司 Switching system and method for multi-machine hot backup of network application equipment
CN103607293A (en) * 2013-10-30 2014-02-26 杭州华三通信技术有限公司 Flow protection method and equipment thereof
CN105025544A (en) * 2014-04-18 2015-11-04 电信科学技术研究院 Method and device for determining IP flow routing rules
CN105103502A (en) * 2013-03-28 2015-11-25 三菱电机株式会社 Method, computer program, information storage device and system for configuring node devices of a mesh communication network
CN106454916A (en) * 2016-12-05 2017-02-22 北京小米移动软件有限公司 Wireless local area network connection method and apparatus
WO2018108149A1 (en) * 2016-12-15 2018-06-21 中兴通讯股份有限公司 Data-link switching method and apparatus and data-link switching device
CN108351824A (en) * 2015-10-30 2018-07-31 Netapp股份有限公司 Method, equipment and medium for executing handover operation between calculate node
WO2018161795A1 (en) * 2017-03-09 2018-09-13 华为技术有限公司 Routing priority configuration method, device, and controller
CN108574626A (en) * 2017-03-13 2018-09-25 中兴通讯股份有限公司 A kind of distribution NAT two-node cluster hot backup flow switching systems and method
CN109219105A (en) * 2017-06-30 2019-01-15 中国电信股份有限公司 Route switching method and route handoff system
CN109819058A (en) * 2017-11-20 2019-05-28 北京华为数字技术有限公司 A method, device and system for forwarding service data
CN110808873A (en) * 2019-10-21 2020-02-18 锐捷网络股份有限公司 Method and device for detecting link failure
CN112349083A (en) * 2020-09-29 2021-02-09 北京空间飞行器总体设计部 Multi-mode data management and communication system suitable for field unattended station
CN114143253A (en) * 2021-11-24 2022-03-04 锐捷网络股份有限公司 VRRP back-switching method and device
CN114978987A (en) * 2022-05-17 2022-08-30 北京交通大学 Server redundancy backup method
WO2024001359A1 (en) * 2022-06-30 2024-01-04 中兴通讯股份有限公司 Communication state switching method, port configuration method, and communication system and medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US12170642B2 (en) * 2021-09-14 2024-12-17 Dell Products L.P. Managing failover between information handling systems
CN113923150B (en) * 2021-09-30 2023-08-25 新华三信息安全技术有限公司 Route updating method, device, electronic equipment and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030161262A1 (en) * 2002-02-26 2003-08-28 Nec Corporation High speed switching router using APS and method for switching the same
CN101150478A (en) * 2007-10-22 2008-03-26 华为技术有限公司 A method, system and router for establishing active and standby links
CN101170459A (en) * 2007-11-28 2008-04-30 中兴通讯股份有限公司 Failure detection and link recovery method based on bidirectional forward link
CN101483558A (en) * 2008-01-10 2009-07-15 华为技术有限公司 Method, system and apparatus for packet switching network access by network appliance
CN101651630A (en) * 2009-09-29 2010-02-17 杭州华三通信技术有限公司 Switching method and switching device based on link fault

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100479434C (en) * 2005-09-15 2009-04-15 华为技术有限公司 Method and system for realizing virtual router redundant protocol master and standby equipment switching
CN101707570B (en) * 2009-12-17 2012-02-08 杭州华三通信技术有限公司 Load balancing method and equipment in VRRP scene

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030161262A1 (en) * 2002-02-26 2003-08-28 Nec Corporation High speed switching router using APS and method for switching the same
CN101150478A (en) * 2007-10-22 2008-03-26 华为技术有限公司 A method, system and router for establishing active and standby links
CN101170459A (en) * 2007-11-28 2008-04-30 中兴通讯股份有限公司 Failure detection and link recovery method based on bidirectional forward link
CN101483558A (en) * 2008-01-10 2009-07-15 华为技术有限公司 Method, system and apparatus for packet switching network access by network appliance
CN101651630A (en) * 2009-09-29 2010-02-17 杭州华三通信技术有限公司 Switching method and switching device based on link fault

Cited By (37)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102055673A (en) * 2010-12-30 2011-05-11 上海顶竹通讯技术有限公司 Multi-route network and route switching method
CN102201987A (en) * 2011-05-10 2011-09-28 中兴通讯股份有限公司 Layer 3 interface connected route backup method and system
CN102325042A (en) * 2011-07-19 2012-01-18 中兴通讯股份有限公司 PE (provider edge router) and protection method of homologous homoclinic PWs (pseudo wires)
CN102347905A (en) * 2011-10-31 2012-02-08 杭州华三通信技术有限公司 Network equipment and forwarded information updating method
WO2013113228A1 (en) * 2012-02-05 2013-08-08 华为技术有限公司 Method, routing device and system for redundant backup of network device
CN102571598A (en) * 2012-02-06 2012-07-11 杭州华三通信技术有限公司 VRRP group flow synchronous switching method and route equipment
CN102571598B (en) * 2012-02-06 2015-02-11 杭州华三通信技术有限公司 VRRP group flow synchronous switching method and route equipment
CN103490914A (en) * 2012-06-08 2014-01-01 华耀(中国)科技有限公司 Switching system and method for multi-machine hot backup of network application equipment
CN102752209A (en) * 2012-07-09 2012-10-24 杭州华三通信技术有限公司 Rapid address switchover method used for realizing backup service and route forwarding unit
CN102970172A (en) * 2012-12-06 2013-03-13 华为技术有限公司 Communication link switching method, device and communication system
CN102970172B (en) * 2012-12-06 2016-03-30 华为技术有限公司 A kind of method that communication link switches, equipment and communication system
CN105103502A (en) * 2013-03-28 2015-11-25 三菱电机株式会社 Method, computer program, information storage device and system for configuring node devices of a mesh communication network
CN105103502B (en) * 2013-03-28 2018-05-25 三菱电机株式会社 For the method for the node device of configuration mesh communication network, computer program, information-storing device and system
CN103607293A (en) * 2013-10-30 2014-02-26 杭州华三通信技术有限公司 Flow protection method and equipment thereof
CN103607293B (en) * 2013-10-30 2017-08-22 新华三技术有限公司 A kind of flow rate protecting method and equipment
CN105025544A (en) * 2014-04-18 2015-11-04 电信科学技术研究院 Method and device for determining IP flow routing rules
CN105025544B (en) * 2014-04-18 2019-03-05 电信科学技术研究院 A kind of determination method and apparatus of IP stream routing rule
US10110478B2 (en) 2014-04-18 2018-10-23 China Academy Of Telecommunications Technology Method and device for determining IP flow routing rule
CN108351824A (en) * 2015-10-30 2018-07-31 Netapp股份有限公司 Method, equipment and medium for executing handover operation between calculate node
US12335088B2 (en) 2015-10-30 2025-06-17 Netapp, Inc. Implementing switchover operations between computing nodes
CN108351824B (en) * 2015-10-30 2021-07-30 Netapp股份有限公司 Method, apparatus, and medium for performing handover operations between compute nodes
CN106454916A (en) * 2016-12-05 2017-02-22 北京小米移动软件有限公司 Wireless local area network connection method and apparatus
CN106454916B (en) * 2016-12-05 2020-06-02 北京小米移动软件有限公司 Wireless local area network connection method and device
WO2018108149A1 (en) * 2016-12-15 2018-06-21 中兴通讯股份有限公司 Data-link switching method and apparatus and data-link switching device
WO2018161795A1 (en) * 2017-03-09 2018-09-13 华为技术有限公司 Routing priority configuration method, device, and controller
US11018990B2 (en) 2017-03-09 2021-05-25 Huawei Technologies Co., Ltd. Route priority configuration method, device, and controller
CN108574626A (en) * 2017-03-13 2018-09-25 中兴通讯股份有限公司 A kind of distribution NAT two-node cluster hot backup flow switching systems and method
CN109219105B (en) * 2017-06-30 2020-11-27 中国电信股份有限公司 Route switching method and route switching system
CN109219105A (en) * 2017-06-30 2019-01-15 中国电信股份有限公司 Route switching method and route handoff system
CN109819058A (en) * 2017-11-20 2019-05-28 北京华为数字技术有限公司 A method, device and system for forwarding service data
CN109819058B (en) * 2017-11-20 2021-08-27 北京华为数字技术有限公司 Method, device and system for forwarding service data
CN110808873A (en) * 2019-10-21 2020-02-18 锐捷网络股份有限公司 Method and device for detecting link failure
CN112349083A (en) * 2020-09-29 2021-02-09 北京空间飞行器总体设计部 Multi-mode data management and communication system suitable for field unattended station
CN114143253A (en) * 2021-11-24 2022-03-04 锐捷网络股份有限公司 VRRP back-switching method and device
CN114978987A (en) * 2022-05-17 2022-08-30 北京交通大学 Server redundancy backup method
CN114978987B (en) * 2022-05-17 2023-08-29 北京交通大学 Server Redundancy Backup Method
WO2024001359A1 (en) * 2022-06-30 2024-01-04 中兴通讯股份有限公司 Communication state switching method, port configuration method, and communication system and medium

Also Published As

Publication number Publication date
WO2012000234A1 (en) 2012-01-05

Similar Documents

Publication Publication Date Title
CN101860492A (en) Method, device and system for fast switching
EP1982447B1 (en) System and method for detecting and recovering from virtual switch link failures
CN104980349B (en) Relay system and exchange apparatus
US9385944B2 (en) Communication system, path switching method and communication device
CN104168193B (en) A kind of method and routing device of Virtual Router Redundancy Protocol fault detect
US8509059B2 (en) Method for operating a virtual router redundancy protocol router and communication system therefor
US20080225699A1 (en) Router and method of supporting nonstop packet forwarding on system redundant network
CN101340380B (en) Method and apparatus for uninterrupted forwarding of bi-directional forwarding detection in master-slave switch implementation
WO2006136088A1 (en) A method for implementing active/standby gateway device in the network and a system thereof
JP5764820B2 (en) Transmission system and transmission system control method
CN103460647A (en) Technique for operating network node
WO2008046358A1 (en) A method and device to realize punch-through of point-to-multipoint network link status
CN102638389A (en) Redundancy backup method and system of TRILL (Transparent Interconnection over Lots of Links) network
CN101197733A (en) Automatic detection method and device for network connectivity
WO2013113228A1 (en) Method, routing device and system for redundant backup of network device
CN100493017C (en) A method for automatic switching of active and standby equipment
CN102780615B (en) Link backup method and routing forwarding device
EP1958364A2 (en) Vpls remote failure indication
CN101965691A (en) Cable redundancy with a networked system
CN103607293A (en) Flow protection method and equipment thereof
EP1940091B1 (en) Autonomous network, node device, network redundancy method and recording medium
CN103138957A (en) Method, device and system for business path failback
CN104125079A (en) Method and device for determining double-device hot-backup configuration information
US7869351B2 (en) Communication techniques and generic layer 3 automatic switching protection
CN102932249A (en) Method and device for transmitting virtual router redundancy protocol (VRRP) message

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20101013