CN103023683A - Path switching method and device - Google Patents

Path switching method and device Download PDF

Info

Publication number
CN103023683A
CN103023683A CN2011102884785A CN201110288478A CN103023683A CN 103023683 A CN103023683 A CN 103023683A CN 2011102884785 A CN2011102884785 A CN 2011102884785A CN 201110288478 A CN201110288478 A CN 201110288478A CN 103023683 A CN103023683 A CN 103023683A
Authority
CN
China
Prior art keywords
path
message
state
expansion
end node
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2011102884785A
Other languages
Chinese (zh)
Other versions
CN103023683B (en
Inventor
刘国满
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201110288478.5A priority Critical patent/CN103023683B/en
Publication of CN103023683A publication Critical patent/CN103023683A/en
Application granted granted Critical
Publication of CN103023683B publication Critical patent/CN103023683B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a path switching method and device. The path switching method comprises the following steps of: when a first path is required to be switched to a second path, generating an expanded first state coordination message by a terminal node of the first path, transmitting the expanded first state coordination message to a remote terminal node of the first path hop by hop along the transmission direction of the second path, wherein the expanded first state coordination message carries state information of the first path and/or the second path; and switching the first path to the second path after the remote terminal node of the second path receives the expanded first state coordination message. According to the technical scheme, on one hand, resource can be saved and protected, and utilization rate of protected resource is improved, and on the other hand, intercommunity and compatibility between equipment are guaranteed.

Description

Path switching method and device
Technical field
The present invention relates to the communications field, in particular to a kind of path switching method and device.
Background technology
At present, utilize shared node or link circuit resource to protect on a plurality of operating paths professional, mainly contain following two kinds of methods.
Wherein a kind of is 1: the n guard method, and utilize exactly 1 protection entity to protect n work entity, but its defective is, it is identical with source node and the destination node of operating path that this kind guard method requires its Protection path.
Another kind is exactly current grid (Mesh) guard method on relevant draft, but also there are the following problems for it: do not consider unidirectional fault or after last minute shared resource of a certain Protection path seized by other path, but can not discharge the blocked shared resource of other parts, cause the waste of resource; In addition; because employed agreement; it is the new operating mechanism turning protocol of a cover; be different from existing automatic protection switching (Automobile Protection Switching; referred to as APS) or guard mode coordinate the running of (Protection State coordination is referred to as PSC) agreement, therefore; this must have influence on the interoperability between the equipment, increases the complexity of equipment.
Summary of the invention
For adopting new operating mechanism turning protocol in the correlation technique, can affect interoperability and compatible problem between the equipment, the invention provides a kind of path switching method and device, to address the above problem at least.
According to an aspect of the present invention, provide a kind of path switching method.
Path switching method according to the present invention comprises: when needs directly switch to the second path with the first via, the end node in the first path generates the first state of expansion and coordinates message, coordinate the distant-end node that the message hop-by-hop is sent to the first path along the first state that the transmission direction in the second path will be expanded, wherein, the first state of expansion is coordinated the state information that message carries the first path and/or the second path; After the distant-end node in the second path receives the first state coordination message of expansion, the first via is directly switched to the second path.
After the distant-end node in the second path received the first state coordination message of expansion, also comprise: the first state that distant-end node will be expanded along the rightabout of transmission direction was coordinated the end node that the message hop-by-hop is sent to the first path.
Transmit at the transmission direction hop-by-hop along the second path before the first state coordination message of expansion, also comprise: upload in the first path and send the fault detect of whether breaking down for detection of the first path message, judge whether and the first via directly need to be switched to the second path; The end node in above-mentioned the first path judges whether the second path is in upstate; When the second path is in upstate, determine to transmit the first state coordination message of expansion, trigger the path and switch, and/or the current state information in announcement distant-end node first and/or the second path; When the second path is in down state, determine to transmit the first state coordination message of expansion, discharge the shared shared resource in the second path, the shared resource setting that makes release is upstate, and/or announcement distant-end node the second path is or/and the current state information in the first path.
The first state coordination message of expanding along the transmission direction hop-by-hop transmission in the second path comprises: when current the second path is upstate, when the shared terminal node SEN in the second path receives the first state coordination message of expansion, judge whether to exist the one or more Third Roads footpath that is less than or equal to the priority in the second or first path via SEN and priority; If exist, then the end node to one or more Third Roads footpath sends the fault management message of expansion or the second state coordination message of expansion, wherein, the second state of the fault management message of expansion or expansion is coordinated message and is carried the upper current indication information that is in down state or upstate of shared resource of indication SEN.
The second state that above-mentioned indication information is carried at the fault management message of expansion or expansion coordinate to transmit in the message comprise one of following: SEN is sent to the fault management message of expansion via one or more Third Roads footpath the end node in one or more Third Roads footpath; The second state that SEN will expand via one or more Protection paths is coordinated the message forwarded hop-by-hop to the end node in one or more Third Roads footpath.
The fault management message of expansion or the second state of expansion are coordinated message repeating to the end node in one or more Third Roads footpath at SEN, also comprise: the end node in Third Road footpath receives the fault management message of the expansion that comes from SEN or the second state of expansion is coordinated message; The end node in Third Road footpath directly is set as down state or upstate with Third Road.
After the end node in Third Road footpath directly is set as down state with Third Road, also comprise one of following: in the given time, the end node in Third Road footpath does not receive the fault management message of the expansion of SEN transmission, and the end node in Third Road footpath directly is set as upstate with Third Road; The second state coordination message that the end node in Third Road footpath receives expansion carries the indication information that shared resource is upstate, then the end node in Third Road footpath will feed back the indication information of coming according to each SEN of Third Road footpath, judge whether the Third Road footpath is in upstate.
After the first via directly switches to the second path, comprise: when needs switch to the first path with the second path, the end node in the first path generates the third state and coordinates message, along the transmission direction in the second path the third state of expansion is coordinated the message hop-by-hop and be sent to distant-end node, wherein, the third state of expansion is coordinated the state information that message carries the first and/or second path; After the distant-end node in the second path receives the third state coordination message of expansion, the second path is switched to the first path.
After the distant-end node in the second path received the first state coordination message of expansion, also comprise: distant-end node was coordinated the end node that the message hop-by-hop is sent to the first path along the rightabout of transmission direction with the third state of expansion.
Before the transmission direction along the second path is sent to distant-end node with the third state coordination message hop-by-hop of expanding, also comprise: disappear by the fault of fault detect packet check to the first path.
Along the transmission direction in the second path the third state of expansion being coordinated the message hop-by-hop is sent to distant-end node and comprises: when the third state that receives expansion as the SEN in the second path is coordinated message, judge whether to exist the one or more Third Roads footpath that is less than or equal to the priority in the second or first path via SEN and priority; If exist, then stop sending the fault management message of expansion or sending the second state coordination message of expanding to Third Road end node directly, wherein, the second state of the fault management message of expansion or expansion is coordinated message and is carried the upper current indication information that whether is in down state of shared resource of indication SEN.
According to a further aspect in the invention, provide a kind of path switching device.
Path switching device according to the present invention comprises: generation module, be used for when needs directly switch to the second path with the first via, the first state that generates expansion is coordinated message, and wherein, the first state of expansion is coordinated message and carried the fault status information in the first and/or second path; Delivery module is used for coordinating the distant-end node that the message hop-by-hop is sent to the first path along the first state that the transmission direction in the second path will be expanded; Handover module is used for after the distant-end node in the second path receives the first state coordination message of expansion the first via directly being switched to the second path.
Above-mentioned delivery module comprises: judging unit, when being used for being upstate in current the second path, when the shared terminal node SEN in the second path receives the first state coordination message of expansion, judge whether to exist the one or more Third Roads footpath that is less than or equal to the priority in the second or first path via SEN and priority; Transmitting element, be used for being output as when being at judging unit, end node to one or more Third Roads footpath sends the fault management message of expansion or the second state coordination message of expansion, wherein, the second state of the fault management message of expansion or expansion is coordinated message and is carried the upper current indication information that is in down state or upstate of shared resource of indication SEN.
Above-mentioned generation module also is used for when needs switch to the first path with the second path, and the third state that generates expansion is coordinated message, and wherein, the third state of expansion is coordinated the state information that message carries the first and/or second path; Delivery module also is used for along the transmission direction in the second path the third state of expansion being coordinated the message hop-by-hop and is sent to distant-end node; Handover module is used for after the distant-end node in the second path receives the third state coordination message of expansion the second path being switched to the first path.
Said apparatus also comprises: detection module, send the fault detect message for uploading in the first path, and whether exist fault or fault whether to disappear by fault detect packet check the first path.
By the present invention, (for example coordinate message by the expansion standing state, automatic protection switching (Automobile Protection Switching, referred to as APS) message or guard mode coordination (Protection State coordination, referred to as PSC) message) transmit the state information in the first path and/or the second path, on the one hand can the saving and protection resource, improve the utilance of resource conservation; Interoperability and compatibility between the equipment have been guaranteed on the other hand.
Description of drawings
Accompanying drawing described herein is used to provide a further understanding of the present invention, consists of the application's a part, and illustrative examples of the present invention and explanation thereof are used for explaining the present invention, do not consist of improper restriction of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart according to the path switching method of the embodiment of the invention;
Fig. 2 is network architecture schematic diagram according to the preferred embodiment of the invention;
Fig. 3 is the flow chart of path switching method according to the preferred embodiment of the invention;
Fig. 4 is the non-protection schematic diagram of seizing of the path switching method of the example according to the present invention;
Fig. 5 be the example according to the present invention path switching method seize the protection schematic diagram;
Fig. 6 be according to the preferred embodiment of the invention path switching method seize unsuccessful schematic diagram;
Fig. 7 is that the part of the path switching method of example according to the present invention is seized and successfully protected schematic diagram;
Fig. 8 is the structured flowchart according to the path switching device of the embodiment of the invention;
Fig. 9 is the structured flowchart of path switching device according to the preferred embodiment of the invention.
Embodiment
Hereinafter also describe in conjunction with the embodiments the present invention in detail with reference to accompanying drawing.Need to prove, in the situation that do not conflict, embodiment and the feature among the embodiment among the application can make up mutually.
Fig. 1 is the method flow diagram that switches according to the path of the embodiment of the invention.As shown in Figure 1, the method for this realizing route switching mainly comprises following processing:
Step S102: when needs with the first path (for example, operating path) (for example switches to the second path, Protection path) time, the end node in the first path generates the first state of expansion and coordinates message, coordinate the distant-end node that the message hop-by-hop is sent to the first path along the first state that the transmission direction in the second path will be expanded, wherein, the first state of expansion is coordinated the state information that message carries the first path and/or the second path;
Step S104: after the distant-end node in the second path receives the first state coordination message of expansion, the first via is directly switched to the second path.
Adopt path switching method shown in Figure 1, (for example coordinate message by the expansion standing state, automatic protection switching message or guard mode are coordinated message) transmit the state information in the first path and/or the second path, on the one hand can the saving and protection resource, improve the utilance of resource conservation; Interoperability and compatibility between the equipment have been guaranteed on the other hand.
Wherein, the state information in above-mentioned the first path and/or the second path comprises path SF, SD and manual command, the state informations such as locking.
Preferably, after the distant-end node in the second path received the first state coordination message of expansion, can also comprise: the first state that distant-end node will be expanded along the rightabout of transmission direction was coordinated the end node that the message hop-by-hop is sent to the first path.
Need to prove, the state of the expansion among the present invention coordinate message can but to be not limited to be the APS message of expansion or the PSC message of expansion.Below in conjunction with example the APS message of expansion or the PSC message of expansion are described.
Table 1 is the example of the message structure of the APS of expansion, and is as shown in table 1:
Table 1
Figure BDA0000094449300000041
Here indicate when front end node by Bridge Request and want request type, as: Lockout of Protection, FS, SF, SD, MS, WTR, DNR, NR or down state (being race to control state); Route nodal information or this Protection path identifier on the Protection path have been increased in addition, so that intermediate node according to this routing iinformation, selects follow-up relevant downstream node to transmit.
Table 2 is the example of the message structure of the PSC of expansion, and is as shown in table 2:
Table 2
Figure BDA0000094449300000051
Wherein, Request: be used to refer to the action type that present node will be asked, as: Lockout of Protection, FS, SF, SD, MS, WTR, DNR, NR or down state (being race to control state); PT: indication protection type; Fpath: current guilty culprit position; Path: the path that transmit at indication current business place; TLV message or this Protection path identifier of route nodal information on source node and destination node and this Protection path have also been increased simultaneously, so that intermediate node according to this routing iinformation, selects follow-up relevant downstream node to transmit.
It should be noted that in specific implementation process, not only can expand the link layer state by the mode of time span size (TLV) and coordinate message, can also coordinate message by the mode extended mode that increases field.
Preferably, the transmission direction hop-by-hop along the second path in carrying out above-mentioned steps S102 transmits before the first state coordination message of expansion, can also comprise following processing:
(1) uploads in the first path and send the fault detect of whether breaking down for detection of the first path message, judge whether and operating path need to be switched to Protection path;
Two end nodes in (2) first paths judge whether the second path is in upstate;
(3) when Protection path is in upstate, determine to transmit at Protection path the first state coordination message of expansion, trigger the switching in path, and/or the current state information in announcement distant-end node first and/or the second path; When Protection path is in down state; then also coordinate message by the first state; discharge the shared shared resource in the second path, the shared resource setting that makes release is upstate, and/or the current state information in announcement distant-end node first and/or the second path.
Preferably, the transmission direction hop-by-hop along the second path in execution in step S102 transmits the first state coordination message literary composition of expanding and may further include following processing:
When (1) current the second path is upstate, when the shared terminal node (SEN) in the second path receives the first state coordination message of expansion, judge whether to exist one or more the 3rd Protection paths that are less than or equal to the priority in the second or first path via SEN and priority;
(2) if exist; then the end node to the 3rd Protection path sends the FM message of expansion or the second state coordination message of expansion; wherein, the second state of the FM message of expansion or expansion is coordinated message and is carried the upper current information that is in down state or upstate of shared resource of indication SEN.The message structure of the FM of expansion is described below in conjunction with example, specifically can be referring to table 3.
Table 3
Figure BDA0000094449300000052
Wherein, need to add resource conservation and be preempted state message, and make resource conservation be in down state information.
In preferred implementation process, the link layer state that above-mentioned indication information is carried at the FM message of expansion or the second expansion is coordinated to transmit in the message and can be included but not limited to one of following mode:
Mode one: SEN is sent to the FM message of expansion via one or more Third Road footpaths (for example, other Protection paths except above-mentioned Protection path) end node in one or more Third Roads footpath;
The second state that mode two: SEN will expand via one or more Protection paths is coordinated the message forwarded hop-by-hop to the end node in one or more Third Roads footpath.
In preferred implementation process, the second state of the FM message of expansion or expansion is coordinated message repeating to the end node in one or more Third Roads footpath at SEN, can also comprise following processing:
(1) end node in Third Road footpath receives the FM message of the expansion that comes from SEN or the second state coordination message of expansion;
(2) end node in Third Road footpath directly is set as down state or upstate with Third Road;
(3) the first state that will expand via Protection path of end node is coordinated the other end node that message is sent to one or more Protection paths, so that the state consistency of two end nodes.
Preferably, after the end node in Third Road footpath directly is set as down state with Third Road, can also comprise following processing:
(1) in the given time, the end node in Third Road footpath this end node of FM message of not receiving the expansion that SEN sends directly is set as upstate with Third Road
(2) second state of the end node in Third Road footpath through receiving expansion coordinated message to carry the indication shared resource is the indication information of upstate, then the end node in Third Road footpath will feed back the indication information of coming according to each SEN of Third Road footpath, judge whether the Third Road footpath is in upstate.
When only having an end node to detect work or Protection path existence variation, then notify to distant-end node.
In preferred implementation process, when end node on identical or the low priority Protection path receive share the APS or PSC message that node SEN (Shared end node) sends over the FM of expansion or the disabled expansion of indication shared resource after, then be set as its resource conservation for seizing or down state, and notify its peer node by APS or PSC etc. on its Protection path, its resource conservation is for seizing or down state; If within a period of time; the end node of Protection path is also confiscated FM faulty indication message or the reception of sharing the expansion that node (SEN) sends over and is received APS or the PSC message that shared resource can be used; think that then resource conservation has become the non-upstate of seizing, then sending the indication Protection path by Protection path to other end node is the indication information of upstate.
Preferably, the first via in execution in step S204 directly switches to after the second path, can also comprise following processing:
(1) when needs switches to the first path with the second path, the end node in the first path generates the third state and coordinates message, along the transmission direction in the second path the third state of expansion is coordinated the message hop-by-hop and be sent to distant-end node, wherein, the third state of expansion is coordinated the state information that message carries the first and/or second path;
(2) after the distant-end node in the second path receives the third state coordination message of expansion, the second path is switched to the first path.
Preferably, after the distant-end node in the second path received the first state coordination message of expansion, can also comprise following processing: distant-end node was coordinated the end node that the message hop-by-hop is sent to the first path along the rightabout of transmission direction with the third state of expansion.
Preferably, before each node hop-by-hop of Protection path transmits the first state coordination message of expansion, can also comprise following processing: disappear by the fault of fault detect packet check to operating path.
Preferably, along the transmission direction in the second path the third state of expansion being coordinated the message hop-by-hop is sent to distant-end node and can comprises:
(1) when the SEN in the second path receives the third state coordination message of expansion, judges whether to exist the one or more Third Roads footpath that is less than or equal to the priority in the second or first path via SEN and priority;
(2) if exist, then stop sending the fault management message of expansion or sending the second state coordination message of expanding to Third Road end node directly, wherein, the second state of the fault management message of expansion or expansion is coordinated message and is carried the upper current indication information that whether is in down state of shared resource of indication SEN.
Below in conjunction with Fig. 2 and Fig. 3 above preferred embodiment is further described.
Fig. 3 is Mesh share protect method schematic diagram according to the preferred embodiment of the invention.As shown in Figure 3, adopt Mesh share protect method can comprise following processing:
Step S302: the relation of configuration effort path and Protection path, as shown in Figure 2, its operating path LSP1:A-B-C, corresponding Protection path LSP1:A-P-Q-C; Operating path LSP2:D-E-F, its Protection path LSP2:D-R-S-F; Operating path LSP3:G-H-J, its Protection path LSP3:G-P-Q-R-S-J; And share node P at a plurality of Protection paths, Q, R carries out priority configuration and the mapping of each Protection path on the S;
Step S304: start fault detect, send the fault detect message at each operating path, as: (Continuity Check and Connectivity Verification is referred to as CC﹠amp for detection of connectivity; CV);
Step S306: whether existence changes on the testing path, if do not change, then forwards step step S304 to;
Step S308: become malfunction if detect operating path from normal condition, then two end nodes of operating path judge whether its corresponding Protection path resource is in the state of being preempted or down state.If be in upstate (being non-race to control state), then continue execution in step S310; If resource conservation is in down state (being race to control state), then forward step S312 to;
Step S310: two end nodes will be switched/the recovery request message to its downstream node transmission on its corresponding Protection path on this operating path, can utilize the first state to coordinate message, as: expansion APS or PSC (as: Request type is set as SF or SD state or other administration orders etc. on the operating path) forwarded hop-by-hop mode, send to follow-up downstream node along the Protection path direction one by one and switch/the recovery request message, continue execution in step S314;
Step S312: send expansion APS or PSC message on the corresponding Protection path direction, the fault message such as represent that seizing appears in the Protection path resource or unavailable; If when detecting the fault disappearance in work entity or path, then operating path one end node will send the APS of fault vanishing state or the operating path normal condition message of PSC on the Protection path direction;
Step S314: after the downstream node receives this state coordination message, carry out message analysis, and judge whether this node is shared terminal node (Shared end node is referred to as SEN); When this node is non-shared SEN node, forward step S320 to;
Step S316: when this node is to share the SEN node, then judge whether to exist Protection path (business) identical or that be lower than the priority of this Protection path (business) to exist at this node.If exist, forward step S310 to, insert up and down spread F M or send the APS of shared resource race to control state or the transmission of PSC message/messages such as this spread F of terminations M or the messages such as expansion APS that the transmission shared resource can be used or PSC to this Protection path, resource conservation is in has seized down state or the non-upstate of seizing; And for the message such as APS or PSC after the expansion of the switching of this transmission/recovery request, then according on the inside packaging protection ID of trace route path or this Protection path the information such as node of process, continuation is transmitted to relevant downstream neighbor, until to the opposite end destination node; If do not exist, then continue execution in step S318;
Step S318: seize or discharge its resource conservation to the announcement of other Protection paths, forward step S310 to;
Step S320: judge whether this node is distant-end node; If not distant-end node then directly according to the information such as the node that passes through on the inside packaging protection ID of trace route path or this Protection path, continues to transmit this to relevant downstream node and switches/the recovery request message, until to the opposite end destination node; If peer node then forwards step S322 to;
Step S322: carry out the switching of service path/recovery.
For different fault scenes, further describe above-mentioned preferred implementation in conjunction with the example of Fig. 4 to Fig. 7.
As shown in Figure 2, for the operating path of each share protect resource configures corresponding Protection path, at first, be these three operating path: LSP1 (A-B-C), LSP2 (D-E-F), end-to-end protection path corresponding to LSP3 (G-H-J) configuration: LSP1 (A-P-Q-C), LSP2 (D-R-S-F), LSP3 (G-P-Q-R-S-J), and link carries out sharing of resource conservation between P-Q and R-S, wherein, the priority of LSP1 is greater than LSP3, and the priority of LSP3 is greater than LSP2; Then, start fault detection capability, LSP1 on each operating path, LSP2, LSP3 starts fault detect, detects on its path, place whether have fault;
As shown in Figure 4, in the process of detection failure, if only there is an operating path to break down, can directly takies the share protect resource so, and not need to seize resource conservation with other Protection paths; For example; when detecting fault on the operating path LSP3 (G-H-J); two end node G or J will send the handover request message along its corresponding Protection path (G-P-Q-R-S-J) on this path; as: SF (1; 0), sends this handover request message by Section layer mode downstream neighbor.After the downstream node P of node G direct neighbor receives this request message, whether decision node P is to share the SEN node, if, then need to judge the priority of another LSP1 Protection path of sharing this section resource, if greater than, then according to nodal information on the sign of this Protection path among switching request APS or the PSC or the Protection path, select the subsequent downstream node to continue to transmit this request message; If equate or less than, then insert up and down spread F M fault management message or send resource to another Protection path and seize APS or PSC message, and continue to transmit this to follow-up downstream node and switch/the recovery request message, until this request message is forwarded to the opposite end destination node; And for the non-SEN node in centre, receive this switching request message after, carry out directly according to Protection path sign or the routing node information of this message the inside, transmitting to follow-up relevant downstream node after simple analysis processes;
As shown in Figure 5, on Fig. 4 broke down the basis, when another operating path also detects fault, and its corresponding Protection path priority can be carried out seizing of resource conservation during greater than the Protection path shown in Fig. 4 (G-P-Q-R-S-J); For example: when in operating path LSP3 breaks down; another operating path LSP1 also breaks down; because LSP1 priority is greater than LSP3, then LSP1 two end node A or C at first send switching request APS or PSC message to downstream node along its Protection path (A-P-Q-C).After downstream node Q or P receive this request message; judge and to seize its current Protection path LSP3 shared resource; then inserting up and down a spread F M alarm to the corresponding Protection path of LSP3 indicates message or resource to seize APS or PSC message; and continue to transmit to downstream node this switching request message, until arrive peer node C.After if the two end node G of LSP3 or J receive and share node SEN Q or P and send over FM message or resource and seize message, then being set as the corresponding Protection path of LSP3 is race to control state or down state, and resource conservation is in race to control state or down state is announced to peer node along the Protection path direction, transmit in order to return on the operating path; And when middle SEN node receives resource race to control state or down state notification packet, then judge and whether also have other identical or shared this section resources of low priority traffice on its node, if have, then stop original spread F M or resource and seize the transmission of APS or PSC message, share this segment protect resource in order to discharge;
As shown in Figure 6, on Fig. 4 breaks down the basis, also detection failure on another operating path, but because the priority of its corresponding Protection path is lower than Protection path (G-P-Q-R-S-J), its resource conservation is seized unsuccessful.For example, when breaking down simultaneously at operating path LSP3, another operating path LSP2 (D-E-F) also detects fault, but because LSP2 priority is less than LSP3, its two end nodes D or F receive that FM alarm indication message or resource that its shared SEN node S or R send over seize APS or PSC message, then its resource conservation is in and seizes or down state, so the switching in path can not occur; When LSP1 operating path fault disappears, but still there are fault in LSP2 and LSP3, then LSP1 two end node A or C then send expansion APS or the PSC message that fault disappears along its Protection path (A-P-Q-C), after shared node SENP or Q receive fault disappearance message (NR), then stop under LSP3, to insert spread F M alarm indication message or sending APS or the PSC message that shared resource can be used; So after LSP3 two end node G or J do not receive within a certain period of time the FM message or receive the APS or PSC (NR) message that shared resource can use, then send to along its Protection path direction (G-P-Q-R-S-J) and change request APS or PSC message, as: operating path fault SF (1,0), and LSP2 Protection path resource seized, so that professional its Protection path that switches of LSP3 transmits, and LSP2 Protection path resource is in race to control state or down state, and operating path LSP2 is upper to be transmitted thereby again return to;
As shown in Figure 7, after LSP1 and LSP2 break down, LSP3 also detects fault, because Protection path (G-P-Q-R-S-J) priority is between Protection path (A-P-Q-C) and the Protection path (D-R-S-F), therefore after LSP1 breaks down, send FM alarm indication information to LSP3 two end node G or J, so that the Protection path of LSP3 has been in race to control state, therefore switch unsuccessful; In addition, when LSP3 broke down first, then the shared SEN node R of LSP2 or S will be to its two end node D, and F sends resource conservation and is preempted notification packet, when LSP1 also breaks down, then itself and LSP3 share SEN node P, and Q will be to LSP3 two end node G, the J node sends resource conservation and is preempted advertised information, the two end node G of LSP3 then, J will generate resource conservation and be preempted notification packet, return to operating path and send; Simultaneously, share the SEN node R of LSP2, after S receives this state advertisement message, then stop the two end node D to LSP2, F sends spread F M message, in order to discharge the resource conservation of this end, Protection path (D-R-S-F) is upper to be transmitted so that LSP2 also can switch to.
Fig. 8 is the structured flowchart according to the path switching device of the embodiment of the invention.As shown in Figure 8, this path switching device comprises: generation module 10, at needs with the first path (for example be used for, operating path) (for example switches to the second path, Protection path) time, the first state that generates expansion is coordinated message, and wherein, the first state of expansion is coordinated message and carried the fault status information in the first and/or second path; Delivery module 20 is used for coordinating the distant-end node that the message hop-by-hop is sent to the first path along the first state that the transmission direction in the second path will be expanded; Handover module 30 is used for after the distant-end node in the second path receives the first state coordination message of expansion the first via directly being switched to the second path.
Preferably, delivery module 20 also is used for coordinating the above-mentioned end node that the message hop-by-hop is sent to the first path along the first state that the rightabout of transmission direction will be expanded.
In preferred implementation process, at delivery module 20 before the first link layer state that each node hop-by-hop in the second path transmits expansion is coordinated message, can also comprise following processing: upload in the first path and send the fault detect of whether breaking down for detection of the first path message, judge whether and the first via directly need to be switched to the second path; Two end nodes in the first path judge whether the second path or the first path status change, and determine to transmit the first state coordination message of expansion, carry out the announcement of state information.
Preferably, as shown in Figure 9, above-mentioned delivery module 20, comprise: judging unit 200, when being used for being upstate in current the second path, when the first state that receives expansion as the shared terminal node SEN in the second path is coordinated message, judge whether to exist via SEN and priority one or more the second paths less than or equal to the priority in the second path; Transmitting element 202, be used for being output as when being at judging unit, end node to one or more the second paths sends the fault management FM message of expansion or the second link layer state coordination message of expansion, wherein, the second link layer state of the FM message of expansion or expansion is coordinated message and is carried the current indication information that is in down state in one or more the second paths of indication.
Wherein, can transmit the FM message of the expansion that carries above-mentioned indication information or the second chain state of expansion is coordinated message by one of following mode:
Mode one: SEN is sent to the FM message of expansion via one or more Third Road footpaths (for example, other Protection paths except above-mentioned Protection path) end node in one or more Third Roads footpath;
The second state that mode two: SEN will expand via the link layer in one or more Third Roads footpath is coordinated the message forwarded hop-by-hop to the end node in one or more Third Roads footpath.
In preferred implementation process, the second state of the FM message of expansion or expansion is coordinated message repeating to the end node in one or more Third Roads footpath at SEN, can also comprise following processing:
(1) end node in Third Road footpath receives the FM message of the expansion that comes from SEN or the second state coordination message of the unavailable expansion of indication shared resource;
(2) end node in Third Road footpath directly is set as down state or upstate with Third Road;
(3) end node in Third Road footpath will indicate the first state of the unavailable or available expansion in the second path to coordinate the other end node that message is sent to one or more the second paths via the second path.
Preferably, after the end node in Third Road footpath directly is set as down state with Third Road, can also comprise following processing:
(1) in the given time, the second state that the end node in Third Road footpath does not receive the FM message of the expansion that SEN sends or receives the expansion that the indication shared resource can use is coordinated message, and the end node in Third Road footpath directly is set as upstate with Third Road;
(2) end node in Third Road footpath the second state of receiving expansion is coordinated message and is carried the indication information that shared resource is upstate, then the end node in Third Road footpath will feed back the indication information of coming according to each SEN of Third Road footpath, judge whether the Third Road footpath is in upstate.
Preferably, above-mentioned generation module 10 also is used for when needs switch to the first path with the second path, and the third state that generates expansion is coordinated message, and wherein, the third state of expansion is coordinated message and carried the fault status information in the first and/or second path; Above-mentioned delivery module 20 also is used for along the transmission direction in the second path the third state of expansion being coordinated the message hop-by-hop and is sent to distant-end node; Handover module 30 is connected with delivery module 20, is used for after the distant-end node in the second path receives the 3rd link layer state coordination message of expansion the second path being switched to the first path.
Preferably, as shown in Figure 9, above-mentioned path switching device also comprises: detection module 40 is connected with generation module 10, send the fault detect message for uploading in the first path, whether exist fault or fault whether to disappear by fault detect packet check the first path.
Need to prove, the preferred working method that each module mutually combines in the said apparatus specifically can referring to the description of Fig. 2 to Fig. 8, repeat no more herein.
From above description, can find out, the present invention has realized following technique effect: avoided in correlation technique, use the SMP agreement to transmit and switch event message, meeting occurs not support the SMP agreement will switch event message because of existing equipment and abandons, thereby affects the interoperability between the equipment, increases the problem of equipment complexity, improve interoperability and compatibility with existing equipment, reduced the complexity of equipment.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with general calculation element, they can concentrate on the single calculation element, perhaps be distributed on the network that a plurality of calculation elements form, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in the storage device and be carried out by calculation element, and in some cases, can carry out step shown or that describe with the order that is different from herein, perhaps they are made into respectively each integrated circuit modules, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize.Like this, the present invention is not restricted to any specific hardware and software combination.
Be the preferred embodiments of the present invention only below, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (15)

1. a path switching method is characterized in that, comprising:
When needs directly switch to the second path with the first via, the end node in described the first path generates the first state of expansion and coordinates message, transmission direction along described the second path is coordinated the distant-end node that the message hop-by-hop is sent to described the first path with the first state of described expansion, wherein, the first state of described expansion is coordinated the state information that message carries the first path and/or the second path;
After the distant-end node in described the second path receives the first state coordination message of described expansion, the described first via is directly switched to described the second path.
2. method according to claim 1 is characterized in that, after the distant-end node in described the second path receives the first state coordination message of described expansion, also comprises:
Described distant-end node is coordinated the end node that the message hop-by-hop is sent to described the first path along the rightabout of described transmission direction with the first state of described expansion.
3. method according to claim 1 and 2 is characterized in that, transmits at the transmission direction hop-by-hop along described the second path before the first state coordination message of described expansion, also comprises:
Upload in described the first path and to send the fault detect message that whether breaks down for detection of described the first path, judge whether the described first via directly to be switched to described the second path;
The end node in described the first path judges whether described the second path is in upstate;
When described the second path is in upstate, determine to transmit the first state coordination message of described expansion, trigger the path and switch, and/or announce the current state information in described distant-end node described first and/or the second path;
When described the second path is in down state, determine to transmit the first state coordination message of described expansion, discharge the shared shared resource in described the second path, making the shared resource setting of described release is upstate, and/or announces described the second path of described distant-end node or/and the current state information in the first path.
4. method according to claim 1 and 2 is characterized in that, the first state that transmits described expansion along the transmission direction hop-by-hop in described the second path is coordinated message and comprised:
When current described the second path is upstate, when the first state that receives described expansion as the shared terminal node SEN in described the second path is coordinated message, judge whether to exist via described SEN and priority to be less than or equal to described second or one or more Third Roads footpath of the priority in the first path;
If exist, then the end node to described one or more Third Roads footpath sends the fault management message of expansion or the second state coordination message of expansion, wherein, the second state of the fault management message of described expansion or described expansion is coordinated message and is carried the upper current indication information that is in down state or upstate of shared resource of the described SEN of indication.
5. method according to claim 4 is characterized in that, the second state that described indication information is carried at the fault management message of described expansion or described expansion coordinate to transmit in the message comprise one of following:
Described SEN is sent to the fault management message of described expansion via described one or more Third Roads footpath the end node in described one or more Third Roads footpath;
Described SEN coordinates the message forwarded hop-by-hop to the end node in described one or more Third Roads footpath via described one or more Protection paths with the second state of described expansion.
6. method according to claim 5 is characterized in that, the second state of the fault management message of described expansion or described expansion is coordinated message repeating to the end node in described one or more Third Roads footpath at described SEN, also comprises:
The end node in described Third Road footpath receives the fault management message of the described expansion that comes from described SEN or the second state of expansion is coordinated message;
The end node in described Third Road footpath directly is set as down state or upstate with described Third Road.
7. method according to claim 6 is characterized in that, after the end node in described Third Road footpath directly is set as down state with described Third Road, also comprises one of following:
In the given time, the end node in described Third Road footpath does not receive the fault management message of the described expansion of described SEN transmission, and the end node in described Third Road footpath directly is set as upstate with described Third Road;
The second state coordination message that the end node in described Third Road footpath receives described expansion carries the indication information that shared resource is upstate, then described Third Road end node directly will feed back the indication information of coming according to described Third Road each SEN of footpath, judge whether described Third Road footpath is in upstate.
8. method according to claim 1 is characterized in that, after the described first via directly switches to described the second path, comprising:
When needs switch to described the first path with described the second path, the end node in described the first path generates the third state and coordinates message, along the transmission direction in described the second path the third state of described expansion is coordinated the message hop-by-hop and be sent to described distant-end node, wherein, the third state of described expansion is coordinated the state information that message carries the first and/or second path;
After the described distant-end node in described the second path receives the third state coordination message of described expansion, described the second path is switched to described the first path.
9. method according to claim 8 is characterized in that, after the distant-end node in described the second path receives the first state coordination message of described expansion, also comprises:
Described distant-end node is coordinated the end node that the message hop-by-hop is sent to described the first path along the rightabout of described transmission direction with the third state of described expansion.
10. according to claim 8 or 9 described methods, it is characterized in that, also comprise: disappear by the fault of fault detect packet check to described the first path before the message hop-by-hop is sent to described distant-end node along the transmission direction in described the second path the third state of described expansion being coordinated.
11. according to claim 8 or 9 described methods, it is characterized in that, described transmission direction along described the second path is coordinated the message hop-by-hop with the third state of described expansion and is sent to described distant-end node and comprises:
When the third state that receives described expansion as the SEN in described the second path is coordinated message, judge whether to exist via described SEN and priority to be less than or equal to described second or the one or more described Third Road footpath of the priority in the first path;
If exist, then stop coordinating message to the second state that the end node in described Third Road footpath sends the fault management message of described expansion or sends described expansion, wherein, the second state of the fault management message of described expansion or described expansion is coordinated message and is carried the upper current indication information that whether is in down state of shared resource of the described SEN of indication.
12. a path switching device is characterized in that, comprising:
Generation module is used for when needs directly switch to the second path with the first via, and the first state that generates expansion is coordinated message, and wherein, the first state of described expansion is coordinated the state information that message carries the first and/or second path;
Delivery module is used for along the transmission direction in described the second path the first state of described expansion being coordinated the distant-end node that the message hop-by-hop is sent to described the first path;
Handover module is used for after the distant-end node in described the second path receives the first state coordination message of described expansion the described first via directly being switched to described the second path.
13. device according to claim 12 is characterized in that, described delivery module comprises:
Judging unit, when being used for being upstate in current described the second path, when the first state that receives described expansion as the shared terminal node SEN in described the second path is coordinated message, judge whether to exist via described SEN and priority to be less than or equal to described second or one or more Third Roads footpath of the priority in the first path;
Transmitting element, be used for being output as when being at described judging unit, end node to described one or more Third Roads footpath sends the fault management message of expansion or the second state coordination message of described expansion, wherein, the second state of the fault management message of described expansion or described expansion is coordinated message and is carried the upper current indication information that is in down state or upstate of shared resource of the described SEN of indication.
14. according to claim 12 or 13 described devices, it is characterized in that,
Described generation module also is used for when needs switch to the first path with the second path, and the third state that generates expansion is coordinated message, and wherein, the third state of described expansion is coordinated the state information that message carries the first and/or second path;
Described delivery module also is used for along the transmission direction in described the second path the third state of described expansion being coordinated the message hop-by-hop and is sent to described distant-end node;
Described handover module is used for after the described distant-end node in described the second path receives the third state coordination message of described expansion described the second path being switched to described the first path.
15. according to claim 12 or 13 described devices, it is characterized in that, also comprise:
Whether whether detection module send the fault detect message for uploading in described the first path, exist fault or fault to disappear by described the first path of described fault detect packet check.
CN201110288478.5A 2011-09-26 2011-09-26 path switching method and device Expired - Fee Related CN103023683B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110288478.5A CN103023683B (en) 2011-09-26 2011-09-26 path switching method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110288478.5A CN103023683B (en) 2011-09-26 2011-09-26 path switching method and device

Publications (2)

Publication Number Publication Date
CN103023683A true CN103023683A (en) 2013-04-03
CN103023683B CN103023683B (en) 2017-08-08

Family

ID=47971840

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110288478.5A Expired - Fee Related CN103023683B (en) 2011-09-26 2011-09-26 path switching method and device

Country Status (1)

Country Link
CN (1) CN103023683B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108616924A (en) * 2018-03-16 2018-10-02 西安电子科技大学 Chunk data distribution method based on priority switching at runtime in a kind of wireless network
CN113810281A (en) * 2020-06-16 2021-12-17 华为技术有限公司 Double-homing protection method, system and equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6741553B1 (en) * 1999-12-08 2004-05-25 Nortel Networks Limited Method and system for protecting virtual traffic in a communications network
CN1791048A (en) * 2004-12-13 2006-06-21 华为技术有限公司 Method for realizing M:N looped network protection switching operation
CN101682660A (en) * 2007-05-10 2010-03-24 北电网络有限公司 Facilitating automatic protection switching for provider backbone network
CN101686142A (en) * 2008-09-27 2010-03-31 华为技术有限公司 Network protection method, system and apparatus

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100563354C (en) * 2006-07-03 2009-11-25 华为技术有限公司 Realize the method for service protection in a kind of ASON

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6741553B1 (en) * 1999-12-08 2004-05-25 Nortel Networks Limited Method and system for protecting virtual traffic in a communications network
CN1791048A (en) * 2004-12-13 2006-06-21 华为技术有限公司 Method for realizing M:N looped network protection switching operation
CN101682660A (en) * 2007-05-10 2010-03-24 北电网络有限公司 Facilitating automatic protection switching for provider backbone network
CN101686142A (en) * 2008-09-27 2010-03-31 华为技术有限公司 Network protection method, system and apparatus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108616924A (en) * 2018-03-16 2018-10-02 西安电子科技大学 Chunk data distribution method based on priority switching at runtime in a kind of wireless network
CN108616924B (en) * 2018-03-16 2022-02-01 西安电子科技大学 Large data distribution method based on priority dynamic switching in wireless network
CN113810281A (en) * 2020-06-16 2021-12-17 华为技术有限公司 Double-homing protection method, system and equipment

Also Published As

Publication number Publication date
CN103023683B (en) 2017-08-08

Similar Documents

Publication Publication Date Title
CN101471849B (en) Protection method for packet transmission network
CN100512128C (en) Method and system for protecting multicast repeat path and service router
CN101483592B (en) Method and apparatus for inhibiting bidirectional forwarding detection link oscillation
CN103460647A (en) Technique for operating network node
CN102148694B (en) A kind of linear 1:N guard method of grouping conveying network, device and system
EP2866394B1 (en) Method and device for sending inter-domain fault information
CN103873336A (en) Distributed resilient network interconnection-based service bearing method and device
CN103023770B (en) The guard method of looped network and device
CN103354521A (en) LDP-based optimization method and device for LSP update
CN105024798A (en) Method and device for time synchronization
CN105790965A (en) Method and device for link switching and line card
CN110417564B (en) Full-mesh link protection method, device, equipment and storage medium
CN102843291A (en) Notice method and notice device and notice system
CN103634134A (en) Cross-domain protection intercommunication method and system
CN103368844A (en) Message processing method and label switching router in MPLS network
CN101197591B (en) Protection recovery method and apparatus for ASON
CN102740175B (en) Method for protecting and recovering cross-domain end-to-end label switched path
CN103297259B (en) The guard method of point-to-multipoint multicast service and device
CN103023683A (en) Path switching method and device
CN102104534B (en) Method and system for protecting multicast service
CN100464528C (en) Method and system for preventing circuit loop after failure recovery
CN102404228B (en) GR processing method and equipment based on OSPF protocol
JP4190170B2 (en) Detour route setting system
CN111885630B (en) Data transmission method and communication device
CN103647709A (en) ARP form item establishing method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170808

Termination date: 20200926

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