CN103138957A - Method, device and system for business path failback - Google Patents

Method, device and system for business path failback Download PDF

Info

Publication number
CN103138957A
CN103138957A CN2011103752092A CN201110375209A CN103138957A CN 103138957 A CN103138957 A CN 103138957A CN 2011103752092 A CN2011103752092 A CN 2011103752092A CN 201110375209 A CN201110375209 A CN 201110375209A CN 103138957 A CN103138957 A CN 103138957A
Authority
CN
China
Prior art keywords
node
primary
switchback
bfd message
path
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
CN2011103752092A
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.)
China Mobile Group Shanghai Co Ltd
Original Assignee
China Mobile Group Shanghai Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Group Shanghai Co Ltd filed Critical China Mobile Group Shanghai Co Ltd
Priority to CN2011103752092A priority Critical patent/CN103138957A/en
Publication of CN103138957A publication Critical patent/CN103138957A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method, a device and a system for business path failback. The method comprises steps of after a main node fault restores and is powered on, establishing a Bidirectional Forwarding Detection (BFD) conversation between a main node and a backup node, transmitting a BFD message of a first mark which determines whether the main code completes the route information update, failbacking a backup path which is used by the current transmitting business data pack to a main path after the backup node determines that the main node completes the route information update in accordance with the first mark of the received BFD message, and completing the business path failback. During the business path failback, the main node completes the route information update, and the problems that the destination cannot be reached, the data pack is lost and the business is damaged which are caused by the fact that the route information is lost are solved effectively.

Description

A kind of method of service path switchback, equipment and system
Technical field
The present invention relates to the communications field, relate in particular to a kind of method, equipment and system of service path switchback.
Background technology
Long Term Evolution (Long Term Evolution, LTE) technology is by third generation partner program tissue (The 3rd Generation Partnership Project, the mobile communication system newest standards of 3GPP) formulating is promoting wireless access technology to two-forty, low time delay and is optimizing the evolution of packet data application direction.In the passback net of LTE, in order to satisfy the requirement of the aspects such as high bandwidth, bulky grain carrying, high reliability and low time delay that the transmission bearer network must have, conventional synchronous digital system (Synchronous Digital Hierarchy has been merged in utilization, SDH) Packet Transport Network of fail safe and IP network high bandwidth double dominant (Packet Transport Network, PTN) transport service becomes the net loaded preferred version of LTE passback.
In above-mentioned LTE passback net based on PTN; in order to guarantee the quality of service of voice, the contour interactivity business of video, continued to use now widely used SDH/MSTP (Multi-Service Transfer Platform) transmission equipment protection switching time less than the standard of 50ms.Be directed to this; LTE network for all-IP; industry adopts two-way converting to detect (Bidirectional Forwarding Detection usually at present; BFD) this quick fault testing mechanism; realize fast detecting and the protection of transmission network core layer link failure; make in the LTE passback net based on PTN+CE (Customer Edge); if after the primary transmission equipment of core layer powered on and recovers, standby transmission equipment can satisfy 50ms and switch requirement with interior carrier class when primary transmission equipment is switched.
The operation principle of described BFD quick fault testing mechanism is: pass through Routing Protocol between primary transmission equipment and standby transmission equipment, mutually begin to set up the BFD session after the information of study opposite end, and after the BFD session establishment, periodically send the BFD message to the opposite end, BFD session Link State between detecting both with this, if primary transmission equipment or standby transmission equipment are not received the BFD message of sending the opposite end within detection time, think that fault has occured in this BFD session, and then definite local terminal to opposite end link or opposite equip. breaks down.
If described transmission equipment is user network boundary device (CE), the structural representation of netting based on the LTE passback of PTN can be as shown in Figure 1, described LTE passback net comprises: access network, aggregation networks, CE1, CE2, CE3, CE4 and IAD (Access Gateway, AGW) etc., wherein, CE4 is the stand-by equipment of CE3.
In LTE passback net shown in Figure 1, after two layers of transmission of business data packet through access, aggregation networks, the primary path that enters AGW in core net is: business data packet transfers to host apparatus CE3 by CE1, then by CE3, this business data packet is transferred to AGW.
When CE3 outage (as situations such as CE3 faults), CE4 detect and CE3 between the BFD session break down, and then there are defective in the link between definite CE4 and CE3 or CE3, CE4 oneself becomes host apparatus to the neighbor device announcement, according to configuration in advance, primary path changes to the backup path by CE4: business data packet transfers to CE2 by CE1, by CE2, this business data packet is transferred to CE4 as the CE3 stand-by equipment again, by CE4, this business data packet is transferred to AGW at last.
That is to say, when the CE3 as host apparatus normally moved, business data packet can enter AGW through primary path, and when CE3 cut off the power supply, business data packet can enter AGW through backup path.
When as the CE3 power interruption recovering of host apparatus, when re-powering, BFD session between CE3 and CE4 need rebulid, and CE3 will declare that oneself becomes host apparatus again to neighbor device, and the transmission path of business data packet also will be from the backup path switchback to primary path.
due to switchback after primary path, during by this primary path service data transmission bag, need to know corresponding routing iinformation, and based on software protocol more the process of new routing information generally can lag behind the recovery process of CE hardware port, that is to say, when CE3 re-powers and the transmission path of business data packet when again switching to primary path, if CE3 does not also have to upgrade the study of completing the whole network routing iinformation, CE3 may None-identified within a period of time the destination address of business data packet of required transmission, thereby business data packet occurring during this period of time can't correctly transmit, cause the impaired problem of business.
For fear of occur the problems referred to above during to primary path in the backup path switchback, the main switchback mode that adopts following two kinds of service paths at present:
First kind of way: manual configuration static routing information.
under first kind of way, when CE3 re-powers and the transmission of business data packet when again switching to primary path, manually in CE3 configuration in primary path the down hop routing address and the routing management distance between CE3 and other CE, described routing management distance need to be greater than the administrative distance of the dynamic routing of adopting, as suppose to use between CE ospf (Open Shortest Path First, OSPF) agreement is carried out the transmission of routing iinformation, the administrative distance of the static routing that arranges need to be greater than 110, so that CE3 upgrade complete the required routing iinformation of primary path before, can be according to the down hop routing address of configuration, carry out the transmission of business data packet, in case CE3 completes the renewal of routing iinformation, dynamic routing will substitute the transmission that business data packet is carried out in static routing, guaranteed the continuity of business.
But the method for this manual configuration static routing information is unfavorable for the renewal of network topology, when the neighbor node of CE3 changes, need to reconfigure down hop routing address and routing management distance; Moreover this manual configuration mode is manually to input routing iinformation by the configuration interface of CE, has not only increased artificial workload, mistake also easily occurs.
The second way: the port BFD holdup time is set.
Under the second way, can the related port on CE3 be configured, after CE3 is re-powered, after a period of time that port can postpone to set (BFD holdup time), then begin to set up the BFD session with CE4.Within this BFD holdup time, CE3 can carry out study and the renewal of the whole network routing iinformation; If within this BFD holdup time, CE3 has completed the renewal of routing iinformation, after the BFD session between CE3 and CE4 rebulid, the routing table of CE3 had also been upgraded complete, and any destination in network can reach, thereby has realized the switchback that business is seamless.
But, BFD holdup time length is to guarantee the correct key of carrying out of the second way, if the BFDholdup set of time is too short, in case CE3 re-power and delay time reach the BFD holdup time after, no matter whether CE3 has completed the renewal of routing iinformation, all will begin to set up the BFD session between CE3 and CE4, in case BFD session establishment success, backup path is that switchback is to primary path, if this moment, CE3 did not complete the renewal of routing iinformation, the phenomenon that the purpose route is unreachable, cause the data packet loss may appear; If BFD holdup set of time is long, although CE3 has enough time can complete the renewal of routing iinformation, can cause the long problem of time-delay from the backup path switchback to primary path.In addition; protect each port of switching to configure respectively the BFD holdup time owing to need to CE3 being related to; namely need repeatedly to key in similar or identical instruction to each port; if the situation of joining port occurs to leak; will cause business impaired after switchback; also need to re-start problem investigation, location, Comparision is loaded down with trivial details, easily make mistakes.
In sum, when the mode of present service path switchback also exists by the backup path switchback to primary path, thereby the unreachable data-bag lost that causes of purpose route makes the impaired problem of business.
Summary of the invention
The embodiment of the present invention provides a kind of method, equipment and system of service path switchback, in order to solve exist in prior art by the backup path switchback during to primary path, the purpose route is unreachable, cause data-bag lost to make the impaired problem of business.
A kind of method of service path switchback, described method comprises:
When the backup path that utilizes the process secondary node carries out the transmission of business data packet, if the two-way converting that secondary node receives from primary node detects the BFD message, according to first sign of carrying in described BFD message, judge whether described primary node has completed the renewal of routing iinformation;
If, with the primary path of backup path switchback to the primary node of process, otherwise, continue to utilize described backup path to carry out the transmission of business data packet.
A kind of node device comprises:
Transport module is used for utilizing the backup path through self to carry out the transmission of business data packet;
Receiver module, the two-way converting that is used for receiving from primary node detects the BFD message, carries the first sign whether primary node has completed the renewal of routing iinformation in described BFD message;
Judge module, the first sign for carrying according to described BFD message judges whether described primary node has completed the renewal of routing iinformation;
The switchback module is used for when the described primary node of judge module judgement has been completed the renewal of routing iinformation, with the primary path of backup path switchback to the primary node of process, otherwise, continue to trigger described transport module and carry out the transmission of business data packet.
A kind of node device comprises:
The updating route information module is used in the renewal of laggard walking along the street by information that power on;
The sign generation module is used for generating the first sign whether expression self has completed the renewal of routing iinformation;
Sending module is used for sending to secondary node the two-way converting that carries described the first sign and detects the BFD message;
The switchback module, be used for sending to secondary node at sending module carry the BFD message of the first sign that expression completed updating route information after, the backup path switchback of using during with the current business data packet transmission is to the primary path through self.
A kind of system of service path switchback, described system comprises:
Secondary node, be used for when utilizing backup path to carry out the transmission of business data packet, if the two-way converting that receives from primary node detects the BFD message, according to first sign of carrying in described BFD message, judge whether described primary node has completed the renewal of routing iinformation, when judgment result is that when being, with the backup path switchback to the primary path through primary node, when the determination result is NO, continue to utilize described backup path to carry out the transmission of business data packet;
Primary node is used for sending the BFD message to secondary node, carries the first sign whether primary node has completed the renewal of routing iinformation in described BFD message.
Beneficial effect of the present invention is:
the embodiment of the present invention provides a kind of method of service path switchback, equipment and system, when primary node fix a breakdown re-power after, if secondary node is according to first sign of carrying in the BFD message from primary node that receives, when determining that described primary node has been completed the renewal of routing iinformation, just with the primary path of backup path switchback to the primary node of process, make the service path switchback after primary path, primary node has been completed the renewal of routing iinformation, any destination in network can reach, thereby realized the seamless switchback of service path, when having solved by the backup path switchback to primary path, the purpose route is unreachable, cause data-bag lost to make the impaired problem of business.
Description of drawings
Figure 1 shows that the structural representation based on the LTE passback net of PTN;
Figure 2 shows that the method flow schematic diagram of service path switchback in the embodiment of the present invention one;
Figure 3 shows that the method flow schematic diagram of service path switchback in the embodiment of the present invention two;
Figure 4 shows that the structural representation of node device in the embodiment of the present invention three;
Figure 5 shows that the structural representation of node device in the embodiment of the present invention four;
Figure 6 shows that the system configuration schematic diagram of service path switchback in the embodiment of the present invention five.
Embodiment
The embodiment of the present invention provides a kind of method, equipment and system of service path switchback, primary node fix a breakdown re-power after, primary node can and secondary node between set up the BFD session, and the transmission carried represent primary node whether completed updating route information first the sign the BFD message, after secondary node determines that according to the sign of first in the BFD message that receives primary node has been completed the renewal of routing iinformation, the backup path switchback that current service data transmission bag is used is to primary path, the switchback in finishing service path.By the scheme of the embodiment of the present invention, due to when the service path switchback, primary node has been completed the renewal of routing iinformation, thereby has effectively avoided the route destination unreachable, the problem that causes packet to be dropped.
Embodiments of the present invention is further illustrated below in conjunction with Figure of description, but the present invention is not limited to the following examples.
Embodiment one:
As shown in Figure 2, the method flow schematic diagram for service path switchback in the embodiment of the present invention one said method comprising the steps of:
Step 101: when primary node broke down, secondary node substituted primary node and carries out the transmission of business data packet, and the primary path of the primary node of process that the service data transmission bag is used switches to the backup path through secondary node.
In this step 101, described primary node and secondary node can be user network boundary device, as router or switch etc.; The reason that primary node breaks down can for: equipment fault etc. appears in the outage of primary node generation node, primary node.
When the primary node of secondary node replacement carries out the transmission of business data packet, need to send from the information as MASTER to neighbor node, the current service path of notice neighbor node changes, and uses backup path to carry out the transmission of business data packet.
Step 102: after primary node re-powers, primary node will carry out the renewal of routing iinformation, and carry out the transmission of BFD message with secondary node.
The primary node and the secondary node that relate in various embodiments of the present invention are the node with BFD function; In order to realize the quick fault testing based on the IP link, the BFD session will be set up and keep to the primary node in various embodiments of the present invention and secondary node in real time when there is no fault.
After primary node is fixed a breakdown, is re-powered, will and secondary node between rebulid the BFD session, after BFD session establishment success, mutual BFD message periodically between primary node and secondary node.
Step 103: secondary node judges whether described primary node has completed the renewal of routing iinformation, if carry out step 104 according to first sign of carrying in the BFD message from primary node; Otherwise, carry out step 105.
Set up between primary node and secondary node and keep in the process of BFD session, may carry out repeatedly hand shaking, and the BFD message of mutual various states.For example: interaction mode is the BFD message of DOWN, the BFD message that state is INIT, the BFD message that state is UP.
In primary node and secondary node are set up the process of BFD session, if primary node has been completed the renewal of routing iinformation, primary node can be to carry the first sign that updating route information has been completed in expression in the BFD message of DOWN or BFD message that state is INIT at state; If primary node and secondary node keep just completing updating route information in the process of BFD session, can carry expression and complete first of updating route information and identify in state is the BFD message of UP.
The first the sign whether primary node of described expression has completed updating route information can be the value of the reserved field RS in the BFD message, for example, when primary node was not also completed the renewal of routing iinformation, the value of the RS field in the BFD message that will send to secondary node was set to 0; When primary node had been completed the renewal of routing iinformation, the value of the RS field in the BFD message that will send to secondary node was set to 1.
Secondary node can by the value of RS field in identification BFD message, judge whether primary node has completed the renewal of routing iinformation.
In primary node and secondary node carried out the process of BFD message transmissions, secondary node also will send the BFD message to primary node, and whether the carrying about standby node allows the second sign of service path switchback in the BFD message.If secondary node is not also completed the renewal of routing iinformation according to the first definite primary node of sign that receives, carry the second sign that does not allow the service path switchback in returning to the BFD message of primary node; If secondary node has been completed the renewal of routing iinformation according to the first definite primary node of sign that receives, carry the second sign that allows the service path switchback in returning to the BFD message of primary node.
Suppose that the first sign is that value by the RS field represents, described the second sign also can represent by the value of RS field, particularly, if it is the second sign that does not allow the service path switchback that secondary node returns to what carry in the BFD message of primary node, the value of the RS field of this BFD message can be set to 1; If it is the second sign that allows the service path switchback that secondary node returns to what carry in the BFD message of primary node, the value of the RS field of this BFD message can be set to 0.
Preferably, consider that the service path switchback process need to satisfy 50ms and switch requirement with interior telecommunications rank, therefore, primary node need to be completed the renewal of routing iinformation in setting duration, so that guarantee the delay requirement of service path switchback.To this, the embodiment of the present invention can arrange timer in secondary node, begin timing after setting up the BFD session between host apparatus and stand-by equipment, can judgement receive at the setting duration the first sign that the primary node of expression has been completed updating route information, if receive, carry out step 104, otherwise, carry out step 105, and alarm.
In the scheme of the present embodiment, also be not limited in primary node, timer is set, if the setting duration of primary node after setting up the BFD session do not completed the renewal of routing iinformation, alarm.Certainly, the scheme of the present embodiment also is not limited to set timer simultaneously in primary node and secondary node.
Step 104: with the primary path of backup path switchback to the primary node of process.
After secondary node determines that described primary node has been completed the renewal of routing iinformation, need to correctly process the packet of present this secondary node of process, it is forwarded to down hop.Afterwards, secondary node stops sending from the information as MASTER to neighbor node, and the current service path of notice neighbor node changes, and uses primary path to carry out the transmission of business data packet.Simultaneously, secondary node also notifies primary node can carry out the switchback of service path, and concrete advice method is: secondary node sends the BFD message to primary node, wherein carries the second sign that allows the service path switchback.
Primary node is after the BFD message of second sign of carrying permission service path switchback that receives the secondary node transmission, send from the information as MASTER to neighbor node, the current service path of notice neighbor node changes, use primary path to carry out the transmission of business data packet, complete backup path to the switchback of primary path.
Step 105: continue to utilize described backup path to carry out the transmission of business data packet, until first sign of carrying in the BFD message of secondary node basis from primary node, after judging that described primary node has been completed the renewal of routing iinformation, execution in step 104.
Embodiment two:
The embodiment of the present invention two is elaborated with the scheme of concrete example to the embodiment of the present invention one.
In the embodiment of the present invention two, for convenience of description, describe as an example of LTE passback web frame schematic diagram based on PTN shown in Figure 1 example.Suppose all to adopt ospf protocol to carry out the study of routing iinformation, announcement between each equipment, and in order to realize the quick fault testing based on the IP link, all opened initiatively BFD function between each equipment in LTE passback net shown in Figure 1.
In LTE passback net shown in Figure 1, after primary node CE3 outage, secondary node CE4 by and CE3 between the BFD session of setting up, this BFD session link being detected breaks down, and then definite CE3 breaks down, oneself become MASTER to the neighbor node declaration immediately, service path switches to backup path from primary path thereupon.
After the CE3 power interruption recovering, need to carry out the backup path switchback to the process of primary path, as shown in Figure 3, the method flow schematic diagram for service path switchback in the embodiment of the present invention two said method comprising the steps of:
After step 201:CE3 re-powers, set up neighborhood with CE4.
Particularly, in this step 201, after CE3 re-powered, the direct-connected port of itself and CE4 was updated to the UP state, and CE3 sends the hello packet request by this port to CE4 and sets up neighborhood, carries the IP address information of CE3 in described hello packet;
CE4 responds by sending hello packet to CE3 the request message that CE3 asks to set up with CE4 neighborhood, completes the foundation of CE3 and CE4 neighborhood, carries the IP address information of CE4 in described hello packet.
After step 202:CE3 and CE4 set up neighborhood, carry out shaking hands for the first time of BFD session establishment process.
Particularly, CE3 is updated to DOWN (flag bit Sta=1) with the state of BFD message to be sent, and sends to CE4 by the direct-connected port with CE4; Simultaneously, CE4 also is updated to DOWN (flag bit Sta=1) with the state of BFD message to be sent, sends to CE3 by the direct-connected port with CE3.
Step 203:CE3 and CE4 carry out the second handshake of BFD session establishment process.
Particularly, after CE4 receives state that CE3 sends and is the BFD message of DOWN by direct-connected interface, the state of BFD message to be sent is updated to INIT (flag bit Sta=2), sends to CE3 by direct-connected port; Simultaneously, CE3 is after receiving state that CE4 sends and being the BFD message of DOWN by direct-connected interface, and also the state with BFD message to be sent is updated to INIT (flag bit Sta=2), and sends to CE4 by direct-connected port.
Step 204:CE3 and CE4 carry out shaking hands for the third time of BFD session establishment process.
Particularly, after CE3 receives state that CE4 sends and is the BFD message of INIT by direct-connected port, the state of BFD message to be sent is updated to UP (flag bit Sta=3) by INIT, and sends to CE4 by direct-connected port; Simultaneously, it is the BFD message of INIT that CE4 also receives by direct-connected port the state that CE3 sends, and the state of BFD message to be sent is updated to UP (flag bit Sta=3) by INIT, and sends to CE3 by direct-connected port.
In this step 204, CE3 is after the state with the BFD message is updated to UP, can also detect self and whether complete the renewal of routing iinformation, and will carry the BFD message of the first sign of the renewal of whether completing routing iinformation, send to CE4 by direct-connected interface.
Particularly, if CE3 does not complete the renewal of routing iinformation, keep the value of RS in the BFD message constant (being defaulted as 0), otherwise the value of RS is set to 1.
BFD session between step 205:CE3 maintenance and CE4, and detect the renewal of self whether having completed routing iinformation, and the first sign is set in BFD message to be sent.
Particularly, after CE3 detects state that CE4 sends and is the BFD message of UP, the BFD session establishment success between expression both.Afterwards, both periodically the transmission state be the BFD message of UP to keeping the BFD session to bringing in, be specifically as follows: CE3 according to before the cycle T that consults in three-way handshake, take T as the cycle constantly the transmission state as the BFD message of UP to CE4; Simultaneously, CE4 after receiving state that CE3 sends and being the BFD message of UP, also take T as the cycle, is that the BFD message of UP is to CE3 to CE3 transmission state.
Particularly, after the success of BFD session establishment, when CE3 receives that state from CE4 is the BFD message of UP, CE3 replacement local cycle timer, and the state of maintenance BFD message is UP, simultaneously self ospf neighbor state machine is detected, and represent by the first sign is set whether CE3 has completed the renewal of routing iinformation in the BFD message.
Particularly, do not enter into full state if the ospf neighbor state machine detected, the value of the RS in next BFD message of CE4 of giving to be sent is remained default value 0, expression CE3 does not complete the renewal of routing iinformation; Enter into full state if the ospf neighbor state machine detected, the value of the RS in next BFD message of CE4 of giving to be sent is set to 1, and expression CE3 has completed the renewal of routing iinformation.
Step 206:CE4 judges according to first sign of carrying in the BFD message that receives whether CE3 has completed the renewal of routing iinformation, if judgment result is that and be, carry out step 207, otherwise, carry out step 205.
Particularly, CE4 is after the BFD message of receiving from CE3, at first need to detect the state of BFD message, if the state of BFD message remains UP, the physical link between expression both is normal, CE4 replacement local cycle timer, and continue detection from the value of the RS in the BFD message of CE3, if the value of RS being detected is 0, represent that CE3 does not also complete the renewal of routing iinformation, it is the BFD message of UP to CE3 transmission state that CE4 continues, and need not carry out backup path to the switchback of primary path, and return back to step 205; If the value of RS being detected is 1, enter step 207.
Step 207: carry out backup path to the switchback of primary path.
Particularly, be 1 if CE4 detects the value of RS in the BFD message that CE3 sends, represent that CE3 has completed the renewal of routing iinformation.At this moment, CE4 can correctly process the business data packet of present process self, after it is forwarded to down hop, with value zero clearing of giving the RS in the BFD message of CE3 to be sent, represent to allow to carry out the switchback of service path, and by direct-connected port, described BFD message is sent to CE3, and no longer neighbor node is sent from the information as MASTER.
Simultaneously, CE3 sends the information that self becomes MASTER to neighbor node after to receive RS value from CE4 be 0 BFD message, the current service path of notice neighbor node changes, use primary path to carry out the transmission of business data packet, complete backup path to the switchback of primary path.
The embodiment of the present invention one and embodiment two provide a kind of method of service path switchback, after primary node (as CE3) fault recovery, re-powering, (as CE4) rebulids the BFD session with secondary node, and periodically send to secondary node the BFD message that carries the first sign of self whether having completed updating route information, the value of the RS field in the BFD message that described the first sign can be primary node transmission; Secondary node is according to the sign of first in the BFD message that receives, after judging that primary node has been completed the renewal of routing iinformation, with the backup path switchback to primary path.Because the switchback of service path singly is not based on the recovery situation of primary node hardware port, but in the situation that primary node is completed the renewal of routing iinformation, known route destination carries out, thereby effectively avoided the backup path switchback after primary path, the primary node route destination of not completing also that the renewal of routing iinformation causes is unreachable, thereby packet discard makes the impaired problem of business; Further, by to the monitoring of the duration of primary node updates routing iinformation, make when occuring backup path to the switchback of primary path in the LTE passback net based on PTN, also can satisfy 50ms and switch requirement with interior carrier class.
Embodiment three:
As shown in Figure 4, be the structural representation of node device in the embodiment of the present invention three, described node device comprises transport module 11, receiver module 12, judge module 13 and switchback module 14.
Described transport module 11 is used for utilizing the backup path through self to carry out the transmission of business data packet.
Described receiver module 12 is used for receiving the BFD message from primary node, carries the first sign whether primary node has completed the renewal of routing iinformation in described BFD message; Particularly, described receiver module 12 is used for after setting up the BFD session between self and primary node, and periodically receiving from the message status of primary node is the BFD message of UP, carries first in described BFD message and identifies.
Described judge module 13 judges for first sign of carrying according to described BFD message whether described primary node has completed the renewal of routing iinformation; Particularly, described judge module 13 is for the value of the reserved field RS of the BFD message of determining to receive, and judge according to this value whether primary node has completed the renewal of routing iinformation, when being default value 0 as the value as RS, represent that primary node also do not complete the renewal of routing iinformation, and when the value of RS is 1, represent that primary node completed the renewal of routing iinformation.
Described switchback module 14 is used for when the judge module 13 described primary nodes of judgement have been completed the renewal of routing iinformation, with the primary path of backup path switchback to the primary node of process, otherwise, continue to trigger described transport module 11 and carry out the transmission of business data packet; Particularly, described switchback module 14 is used for when the judge module 13 described primary nodes of judgement have been completed the renewal of routing iinformation, stop sending from the information as MASTER to neighbor node, and send the BFD message to primary node, wherein carry the second sign that allows the service path switchback.
Particularly, be the second sign that does not allow the service path switchback if switchback module 14 returns to what carry in the BFD message of primary node, the value of the RS field of this BFD message can be set to 1; If it is the second sign that allows the service path switchback that switchback module 14 returns to what carry in the BFD message of primary node, the value of the RS field of this BFD message can be set to 0.
Preferably, described node device can also comprise timing module 15 and alarm module 16.
Described timing module 15 is used for the time of described BFD session establishment is carried out timing; Described alarm module 16 is used for not completed the renewal of routing iinformation, alarm if judge module 12 also judges described primary node when the duration of timing module 15 timing reaches the setting duration.
Node device in the present embodiment three can be applied in the method for the service path switchback that embodiment one, embodiment two provide.
Embodiment four:
As shown in Figure 5, be the structural representation of node device in the embodiment of the present invention four, described node device comprises updating route information module 21, sign generation module 22, sending module 23 and switchback module 24.
Described updating route information module 21 is used in the renewal of laggard walking along the street by information that power on.
Described sign generation module 22 is used for generating the first sign whether expression self has completed the renewal of routing iinformation, particularly, described the first sign can be the value of the reserved field RS in the BFD message, for example, sign generation module 22 is not when self also completing the renewal of routing iinformation, and the value of the RS field in the BFD message that will send to secondary node is set to 0; When self had completed the renewal of routing iinformation, the value of the RS field in the BFD message that will send to secondary node was set to 1.
Described sending module 23 is used for sending to secondary node the BFD message that carries described the first sign, particularly, described sending module 23 is used for after setting up the BFD session between self and secondary node, periodically sending message status to secondary node is the BFD message of UP, carries the first sign in described BFD message.
Described switchback module 24 be used for sending to secondary node at sending module 23 carry the BFD message of the first sign that expression completed updating route information after, the backup path switchback of using during with the current business data packet transmission is to the primary path through self.
Further, described node device also comprises receiver module 25, and described receiver module 25 is used for receiving the BFD message that secondary node sends, and carries the second sign that whether allows the service path switchback in described BFD message.Particularly, described the second sign can be also the value of RS field in the BFD message, if the value of the RS field of the BFD message that receiver module 25 receives is 1, shows that secondary node does not allow the service path switchback; If the value of the RS field of the BFD message that receiver module 25 receives is 0, show that secondary node allows the service path switchback.
Particularly, described switchback module 24 is used for sending to secondary node at sending module 23 carries the BFD message that the first sign of updating route information has been completed in expression, and when described receiver module 25 receives the BFD message that carries the second sign that allows the service path switchback, send from the information as MASTER to neighbor node, the finishing service data packet transmission is by the switchback of backup path to primary path.
Node device in the present embodiment four can be applied in the method for the service path switchback that embodiment one, embodiment two provide.In addition, in the present embodiment three and embodiment four, the function of node device can be integrated in same node device.
Embodiment five:
As shown in Figure 6, be the system configuration schematic diagram of service path switchback in the embodiment of the present invention five, described system comprises secondary node 31 and primary node 32.
Described secondary node 31 is used for when utilizing backup path to carry out the transmission of business data packet, if the two-way converting that receives from primary node 32 detects the BFD message, according to first sign of carrying in described BFD message, judge whether described primary node 32 has completed the renewal of routing iinformation, when judgment result is that when being, to the primary path through primary node 32, when the determination result is NO, continue to utilize described backup path to carry out the transmission of business data packet the backup path switchback; Described primary node 32 is used for sending the BFD message to secondary node 31, carries the first sign whether primary node 31 has completed the renewal of routing iinformation in described BFD message.
Particularly, after primary node 32 is fixed a breakdown, is re-powered, will and secondary node 31 between rebulid the BFD session, after BFD session establishment success, can be periodically between 31, primary node 32 and standby joint BFD message alternately.
Particularly, in primary node 32 carried out the process of BFD message transmissions with secondary node 31, secondary node 31 carried the second sign whether secondary node 31 allows the service path switchback in the BFD message of primary node 32 transmissions.If secondary node 31 is not also completed the renewal of routing iinformation according to the first definite primary node 32 of sign that receives, carry the second sign that does not allow the service path switchback in returning to the BFD message of primary node 32; If secondary node 31 has been completed the renewal of routing iinformation according to the first definite primary node 32 of sign that receives, carry the second sign that allows the service path switchback in returning to the BFD message of primary node 32.
Primary node 32 is after the BFD message of second sign of carrying permission service path switchback that receives secondary node 31 transmissions, send from the information as MASTER to neighbor node, the current service path of notice neighbor node changes, use primary path to carry out the transmission of business data packet, complete backup path to the switchback of primary path.
As shown in dotted line frame part in Fig. 6, the system of described service path switchback can also comprise other neighbor node equipment (as CE1, CE2 etc.), AGW and access, aggregation networks etc.
The above is only the preferred embodiments of the invention, and obviously, those skilled in the art can carry out various changes and modification and not break away from the spirit and scope of the present invention the present invention.Like this, if within of the present invention these are revised and modification belongs to the scope of claim of the present invention and equivalent technologies thereof, the present invention also is intended to comprise these changes and modification interior.

Claims (14)

1. the method for a service path switchback, is characterized in that, described method comprises:
When the backup path that utilizes the process secondary node carries out the transmission of business data packet, if the two-way converting that secondary node receives from primary node detects the BFD message, according to first sign of carrying in described BFD message, judge whether described primary node has completed the renewal of routing iinformation;
If, with the primary path of backup path switchback to the primary node of process, otherwise, continue to utilize described backup path to carry out the transmission of business data packet.
2. the method for service path switchback as claimed in claim 1, is characterized in that, secondary node receives the BFD message from primary node, specifically comprises:
After setting up the BFD session between primary node and secondary node, it is the BFD message of UP that secondary node periodically receives from the message status of primary node.
3. the method for service path switchback as claimed in claim 1, is characterized in that, the first sign according to carrying in the BFD message judges that whether primary node has completed the renewal of routing iinformation, specifically comprises:
The value of reserved field RS in the BFD message that secondary node is determined to receive, and judge according to this value whether primary node has completed the renewal of routing iinformation.
4. the method for described service path switchback as arbitrary in claim 1~3, is characterized in that, the backup path switchback to primary path, is specifically comprised:
Secondary node stops sending from the information as main equipment MASTER to neighbor node, and sends the BFD message to primary node, and wherein the carrying about standby node allows the second sign of service path switchback;
Primary node sends from the information as MASTER to neighbor node after the described BFD message that receives the secondary node transmission, completes backup path to the switchback of primary path.
5. the method for service path switchback as claimed in claim 2, is characterized in that, described method also comprises:
In the setting duration of secondary node judgement after described BFD session establishment, whether receive and carry the BFD message that the primary node of expression has been completed the first sign of updating route information, if, carry out the operation of backup path switchback to primary path, otherwise, execution continues to utilize described backup path to carry out the operation of the transmission of business data packet, and alarm.
6. a node device, is characterized in that, comprising:
Transport module is used for utilizing the backup path through self to carry out the transmission of business data packet;
Receiver module, the two-way converting that is used for receiving from primary node detects the BFD message, carries the first sign whether primary node has completed the renewal of routing iinformation in described BFD message;
Judge module, the first sign for carrying according to described BFD message judges whether described primary node has completed the renewal of routing iinformation;
The switchback module is used for when the described primary node of judge module judgement has been completed the renewal of routing iinformation, with the primary path of backup path switchback to the primary node of process, otherwise, continue to trigger described transport module and carry out the transmission of business data packet.
7. node device as claimed in claim 6, is characterized in that,
Described receiver module, concrete being used for after setting up the BFD session between self and primary node, periodically receiving from the message status of primary node is the BFD message of UP.
8. node device as claimed in claim 6, is characterized in that,
Described judge module, the value of the reserved field RS of concrete BFD message for determining to receive, and judge according to this value whether primary node has completed the renewal of routing iinformation.
9. described node device as arbitrary in claim 6~8, is characterized in that,
Described switchback module, concrete being used for when the described primary node of judge module judgement has been completed the renewal of routing iinformation, stop sending from the information as MASTER to neighbor node, and send the BFD message to primary node, wherein carry the second sign that allows the service path switchback.
10. node device as claimed in claim 7, is characterized in that, also comprises:
Timing module is used for the time of described BFD session establishment is carried out timing;
Alarm module is used for not completed the renewal of routing iinformation, alarm if judge module also judges described primary node when the duration of timing module timing reaches the setting duration.
11. a node device is characterized in that, comprising:
The updating route information module is used in the renewal of laggard walking along the street by information that power on;
The sign generation module is used for generating the first sign whether expression self has completed the renewal of routing iinformation;
Sending module is used for sending to secondary node the two-way converting that carries described the first sign and detects the BFD message;
The switchback module, be used for sending to secondary node at sending module carry the BFD message of the first sign that expression completed updating route information after, the backup path switchback of using during with the current business data packet transmission is to the primary path through self.
12. node device as claimed in claim 11 is characterized in that,
Described sending module, concrete being used for after setting up the BFD session between self and secondary node is periodically the BFD message of UP to secondary node transmission message status.
13. node device as claimed in claim 11 is characterized in that, also comprises:
Receiver module is used for receiving the BFD message that secondary node sends;
Described switchback module, concrete being used for carries to the secondary node transmission BFD message that the first sign of updating route information has been completed in expression at sending module, and when described receiver module receives the BFD message that carries the second sign that allows the service path switchback, send from the information as MASTER to neighbor node, the finishing service data packet transmission is by the switchback of backup path to primary path.
14. the system of a service path switchback is characterized in that, described system comprises:
Secondary node, be used for when utilizing backup path to carry out the transmission of business data packet, if the two-way converting that receives from primary node detects the BFD message, according to first sign of carrying in described BFD message, judge whether described primary node has completed the renewal of routing iinformation, when judgment result is that when being, with the backup path switchback to the primary path through primary node, when the determination result is NO, continue to utilize described backup path to carry out the transmission of business data packet;
Primary node is used for sending the BFD message to secondary node, carries the first sign whether primary node has completed the renewal of routing iinformation in described BFD message.
CN2011103752092A 2011-11-22 2011-11-22 Method, device and system for business path failback Pending CN103138957A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011103752092A CN103138957A (en) 2011-11-22 2011-11-22 Method, device and system for business path failback

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011103752092A CN103138957A (en) 2011-11-22 2011-11-22 Method, device and system for business path failback

Publications (1)

Publication Number Publication Date
CN103138957A true CN103138957A (en) 2013-06-05

Family

ID=48498306

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011103752092A Pending CN103138957A (en) 2011-11-22 2011-11-22 Method, device and system for business path failback

Country Status (1)

Country Link
CN (1) CN103138957A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108886822A (en) * 2016-07-04 2018-11-23 华为技术有限公司 The method and apparatus for transmitting data
CN109768925A (en) * 2019-03-27 2019-05-17 新华三技术有限公司 A kind of active/standby pseudo wires switching method and device
CN113016156A (en) * 2018-11-13 2021-06-22 苹果公司 Synchronization signal block based beam fault detection
CN113055215A (en) * 2019-12-27 2021-06-29 华为技术有限公司 Information transmission method and related equipment
CN114531395A (en) * 2020-11-23 2022-05-24 华为技术有限公司 Method, equipment and system for notifying processing capability of network equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101150587A (en) * 2007-10-24 2008-03-26 华为技术有限公司 A method, device and system for traffic switching of multi-protocol label switching traffic engineering
CN101651553A (en) * 2009-09-03 2010-02-17 华为技术有限公司 User side multicast service primary and standby protecting system, method and route devices
CN101667963A (en) * 2009-09-09 2010-03-10 中兴通讯股份有限公司 Link switching method and device
CN101848114A (en) * 2010-04-15 2010-09-29 华为技术有限公司 Fault detection method and device
CN101980484A (en) * 2010-10-14 2011-02-23 中兴通讯股份有限公司 Method and system for realizing full protection of routers
CN102137017A (en) * 2011-03-17 2011-07-27 华为技术有限公司 Working method and device used for virtual network unit

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101150587A (en) * 2007-10-24 2008-03-26 华为技术有限公司 A method, device and system for traffic switching of multi-protocol label switching traffic engineering
CN101651553A (en) * 2009-09-03 2010-02-17 华为技术有限公司 User side multicast service primary and standby protecting system, method and route devices
CN101667963A (en) * 2009-09-09 2010-03-10 中兴通讯股份有限公司 Link switching method and device
CN101848114A (en) * 2010-04-15 2010-09-29 华为技术有限公司 Fault detection method and device
CN101980484A (en) * 2010-10-14 2011-02-23 中兴通讯股份有限公司 Method and system for realizing full protection of routers
CN102137017A (en) * 2011-03-17 2011-07-27 华为技术有限公司 Working method and device used for virtual network unit

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108886822A (en) * 2016-07-04 2018-11-23 华为技术有限公司 The method and apparatus for transmitting data
CN113016156A (en) * 2018-11-13 2021-06-22 苹果公司 Synchronization signal block based beam fault detection
CN113016156B (en) * 2018-11-13 2024-05-03 苹果公司 Beam fault detection system based on synchronous signal block, user equipment and storage medium
US12058542B2 (en) 2018-11-13 2024-08-06 Apple Inc. Synchronization signal block based beam failure detection
CN109768925A (en) * 2019-03-27 2019-05-17 新华三技术有限公司 A kind of active/standby pseudo wires switching method and device
CN109768925B (en) * 2019-03-27 2021-05-25 新华三技术有限公司 Method and device for switching active/standby pseudo wires
CN113055215A (en) * 2019-12-27 2021-06-29 华为技术有限公司 Information transmission method and related equipment
CN114531395A (en) * 2020-11-23 2022-05-24 华为技术有限公司 Method, equipment and system for notifying processing capability of network equipment
CN114531395B (en) * 2020-11-23 2023-06-16 华为技术有限公司 Method, device and system for advertising processing capability of network device

Similar Documents

Publication Publication Date Title
CN101465859B (en) Method and device for triggering main and standby interface board inverse switch
CN100512292C (en) Apparatus and method of real-time recovering service
CN102148677B (en) Method for updating address resolution protocol table entries and core switch
CN101483570B (en) Method, system and device for preventing looped network temporary loop circuit of relaying link
CN101340380B (en) Method and apparatus for uninterrupted forwarding of bi-directional forwarding detection in master-slave switch implementation
CN109672619A (en) A kind of method, equipment and system handling message
CN101860492A (en) Quick switching method, device and system
CN102638389A (en) Redundancy backup method and system of TRILL (Transparent Interconnection over Lots of Links) network
CN102255757B (en) Link switching method and device
EP3217608B1 (en) Switchback delay methods and devices
WO2008110083A1 (en) Transmission method, device and system for iub interface service transmitting based ip
CN103780407A (en) Gateway dynamic switching method and apparatus in distributed resilient network interconnection (DRNI)
CN103200109B (en) A kind of ospf neighbor relationship management method and equipment
CN101163060B (en) BFD session establishing method, BFD session establishing device and routing device
CN102142948A (en) Data forwarding method, device and system
JP2008166990A (en) Ring node device
CN102546430A (en) Method for redundant backup of network equipment, and routing equipment and system
WO2014090083A1 (en) Service bearing method and apparatus during distributed resilient network interconnect
CN101577719A (en) Double hot standby method, device and system
CN103138957A (en) Method, device and system for business path failback
CN103490951A (en) Bidirectional forwarding detection method in multi-hop link on basis of BFD
CN102857418A (en) VPN (virtual private network)-based fast re-route (FRR) switch method and VPN-based fast re-route switch equipment
CN102238067B (en) Switching method and device on Rapid Ring Protection Protocol (RRPP) ring
CN103490921A (en) Method and device for protecting network, copying node and system
CN101453744B (en) Service control method and apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20130605