CN102571500A - Method and device for performing multi-protocol label switching-transport profile (MPLS-TP) detection on dynamic path - Google Patents

Method and device for performing multi-protocol label switching-transport profile (MPLS-TP) detection on dynamic path Download PDF

Info

Publication number
CN102571500A
CN102571500A CN2012100348788A CN201210034878A CN102571500A CN 102571500 A CN102571500 A CN 102571500A CN 2012100348788 A CN2012100348788 A CN 2012100348788A CN 201210034878 A CN201210034878 A CN 201210034878A CN 102571500 A CN102571500 A CN 102571500A
Authority
CN
China
Prior art keywords
detection
opposite end
message
packet
overtime timer
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
CN2012100348788A
Other languages
Chinese (zh)
Other versions
CN102571500B (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 CN201210034878.8A priority Critical patent/CN102571500B/en
Publication of CN102571500A publication Critical patent/CN102571500A/en
Application granted granted Critical
Publication of CN102571500B publication Critical patent/CN102571500B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method and a device for performing multi-protocol label switching-transport profile (MPLS-TP) detection on a dynamic path. The method comprises the following steps that: when detecting that dynamic two-way path migration happens, a head end or a tail end stops transmitting detection packets and actively transmits more than one detection stop message to an opposite end, wherein the messages are used for notifying the opposite end to stop packet receiving detection; and when receiving the detection stop messages, the opposite end stops a detection timeout timer at the opposite end. The device comprises a stop notification unit and a stop unit, wherein the stop notification unit is used for stopping transmitting the detection packets and actively transmitting more than one detection stop message which are used for notifying the opposite end to stop the packet receiving detection when the dynamic two-way path migration is detected; and the stop unit is used for stopping the detection timeout timer of the opposite end after receiving the detection stop messages. By the method and the device, the synchronization of detection startup or detection stop deployed at the head end and the tail end of the dynamic path in a network can be ensured, the influences on data forwarding can be minimized, so that the stability of key services on a protected network cannot be influenced.

Description

A kind of method and apparatus that on dynamic route, carries out the MPLS-TP detection
Technical field
The present invention relates to the data communication field, relate in particular to a kind of method and apparatus that MPLS-TP (Multi-Protocol Label Switching Transport Profile, multiprotocol label switching transmission system) detects that on dynamic route, carries out.
Background technology
MPLS-TP OAM (Operation Administration and Maintenance; Operational administrative and maintenance) be router device and PTN (Packet Transport Network; Packet Transport Network) basic function of equipment dependability guarantee one of requires; It provides network operation, has safeguarded functions such as needed fault discovery, location, performance monitoring and management; And after fault takes place, can in time notify protection mechanism in 50ms, to accomplish protection and switch, thereby the influence of fault generating is reduced to minimum.Can therefore, the stability of OAM and property relationship be switched and are protected the completion efficient of switching to the timely discovery of network failure and correct trigger protection, also become guarantee that network normally provides one of key factor of carrier grade service.
That move among the MPLS-TP is the OAM that does not hold consultation; Its detection principle is to detect bag through sending in the transmitting terminal cycle, carries out packet receiving by receiving terminal and confirms, does not detect bag if receiving terminal receives in the official hour interval; Just think and break down on the packet receiving path; Produce alarm immediately, alarm will further trigger the path switches, and flow is switched to backup link get on.Detection messages is sent the optional of cycle and is configured to: 3.33ms, 10ms, 100ms, 1s, 10s, 1mim or 10mim; Do not receive the detection bag yet when surpassing 3.5 times of messages transmission cycle receiving terminals; Then think and exceed the time limit; Because the minimum duration that exceeds the time limit is 10ms, therefore can be in 10ms fast detecting outgoing link fault.Detect for this OAM that do not hold consultation, be by the startup of configuration control detection fully and close.
Dispose for the detection on the static path, the user can be according to starting transmitting terminal earlier, and after the start of heading transmission to be confirmed, the mode of restarting receiving terminal detects; Can close the test side earlier when detection is closed, stop transmitting terminal again.Above-mentioned configuration sequence can be avoided owing to the mistake that two ends configuration sequencing problem causes is alarmed problem.
For the detection that starts on the dynamic route; Because dynamic route itself is constantly to change; When dynamic route is found more excellent forward-path; Flow can be moved to more and transmitted on the shortest path, and detection messages and converting flow also need together be moved on the new route and detect with the path transmission.In the transition process of detection messages, relate to detection on original path stop with new route on the process that starts of detection; Because head and the tail end points in path is positioned on the different equipment, the sequential that can't strict guarantee starts and stop is so produce the mistake alarm probably.Because the renewal in renewal of transmitting and detection path is two independently processes; Be updated to new route in case transmit; Flow just migration has been accomplished; Actual flow is transmitted fully normal no packet loss, but might be owing to issue the problem of sequential and produce and alarm during the migration of the detection on the same path, thereby causes alarming the appearance of problem by mistake.
In sum,, cause disposing the situation that probably occurs detecting the mistake alarm when detecting, make testing result and actual forwarding situation not be inconsistent because of the change in path at dynamic route because MPLS-TP OAM detection itself lacks link setup and the interaction mechanism of tearing chain open; Flow can wrong switch on the backup path of reserving in advance, and then influences stability of network.
Summary of the invention
The object of the present invention is to provide a kind of method and apparatus that MPLS-TP detects that on dynamic route, carries out; To solve the end detection starting in the dynamic route of MPLS-TP OAM operation detects; And the other end is not because sequence problem also starts the message transmission; Or the end in MPLS-TP OAM configuration stopped detection messages and sent, and the other end does not also stop to detect, and the detection messages of not receiving at the appointed time that causes produces the problem of mistake alarm.
For addressing the above problem, the invention provides a kind of method that MPLS-TP detects of on dynamic route, carrying out, comprising:
Head end or tail end stop to send and detect bag detecting when the migration of dynamic bidirectional path takes place, and initiatively sending more than one detection to the opposite end stops message, and this message is used to announce the opposite end to be stopped packet receiving and detect;
The opposite end receives after said detection stops message, stops the detection overtime timer of local terminal.
Further,
Said detection stops message in detecting bag, carrying TLV, is used to identify this message and stops message as detection.
Further, said method also comprises:
Head end or tail end start the first packet overtime timer of local terminal respectively after stopping the detection overtime timer of local terminal;
Before said first packet overtime timer is overtime, only send and detect bag to the opposite end, after receiving first detection bag that send the opposite end, start the detection overtime timer of local terminal, get into the packet receiving detected state.
Further,
When said first packet overtime timer was overtime, the detection bag that said head end or tail end are sent as receiving the opposite end not yet then started the detection overtime timer of local terminal, gets into the packet receiving detected state.
Correspondingly, the present invention also provides a kind of device that MPLS-TP detects that on dynamic route, carries out, and is applied to comprise in the MPLS-TP OAM detection:
The expiry notification unit is used for stopping to send and detecting bag detecting when the migration of dynamic bidirectional path takes place, and initiatively sending more than one detection to the opposite end stops message, and this message is used to announce the opposite end to be stopped packet receiving and detect;
Stop element is used for receiving after said detection stops message, stops the detection overtime timer of local terminal.
Further,
The detection that said expiry notification unit sends stops message in detecting bag, carrying type-length-value (TLV), is used to identify this message and stops message as detection.
Further, said device also comprises:
Start unit is used for after knowing that said stop element stops the detection overtime timer of local terminal, starts the first packet overtime timer;
The packet receiving detecting unit is used for before said first packet overtime timer is overtime, only sends to the opposite end and detects bag, after receiving first detection bag that send the opposite end, starts the detection overtime timer of local terminal, gets into the packet receiving detected state.
Further,
Said packet receiving detecting unit also is used for when said first packet overtime timer is overtime, as receiving the detection bag of sending the opposite end not yet, then starts the said detection overtime timer of local terminal, gets into the packet receiving detected state.
After adopting the present invention; Solved the migration that MPLS-TP OAM detects on the dynamic route; Be an important high reliability technology (High Availability abbreviates HA as) optimization, can guarantee in the network that detection based on dynamic route head and the tail device deploy starts or stops and reach synchronous; Data are transmitted influence reduce to minimum, thereby the key business on the assurance institute protecting network is stable unaffected.
Description of drawings
Fig. 1 is the detection messages form that MPLS-TP OAM uses among the present invention;
Fig. 2 is that the detection that MPLS-TP OAM uses among the present invention stops message format;
Fig. 3 is the detection operational flow diagram of MPLS-TP OAM among the present invention;
Fig. 4 detects the flow chart that control detection stops synchronously between end points among the present invention;
Fig. 5 detects the flow chart that control detection starts synchronously between end points among the present invention.
Embodiment
For making the object of the invention, technical scheme and advantage clearer, hereinafter will combine accompanying drawing that embodiments of the invention are elaborated.Need to prove that under the situation of not conflicting, embodiment among the application and the characteristic among the embodiment be combination in any each other.
In the present embodiment, a kind of method of on dynamic route, carrying out the MPLS-TP detection is applied to comprise between detection of dynamic point:
, stop to send to the opposite end and detect bag owing to detect when the migration of dynamic bidirectional path takes place when an end, this end initiatively sends more than one detection and stops message, and this message is used to announce the opposite end to be stopped packet receiving and detect; Wherein, detection stops message can being expanded on former protocol detection message, specifically is that TLV (Type-Length-Value, type-length-value) is carried in expansion in the former protocol detection message, is used to identify this message and stops message as detection;
The opposite end receives after above-mentioned detection stops message, stops to detect overtime timer, receives the situation that detects bag, no longer report and alarm for surpassing the regulation duration;
The head and the tail two ends (promptly stop the detection overtime timer of local terminal) respectively when stopping original path detection, create new route and detect;
For avoiding an end to begin to detect, and an end also detects the situation of giving out a contract for a project, and needs to support the first packet trigger mechanism, and promptly operate respectively as follows at the head and the tail two ends:
Start the first packet overtime timer at local terminal;
Before the first packet overtime timer was overtime, local terminal was only given out a contract for a project to the opposite end, but detection starting overtime timer (promptly not starting packet receiving detects) not, detected bag up to first that receive that the opposite end sends, got into the packet receiving detected state immediately, the detection starting overtime timer;
When the first packet overtime timer is overtime,, get into the packet receiving detected state immediately as receiving the detection messages of opposite end not yet;
After getting into the packet receiving detected state, if the detection overtime timer does not receive detection messages yet when overtime, report and alarm trigger protection mechanism is switched.
The mechanism of first packet detection trigger has guaranteed that the startup that on dynamic route, detects is synchronous, and the detection messages of being sent by the opposite end triggers local detection startup.
After adopting said method, can guarantee in the network that detection based on dynamic route head and the tail device deploy starts or stops to reach synchronously, data transmitted influence reduce to minimum, thereby guarantee key business stable unaffected on institute's protecting network.
Fig. 1 is the detection messages form that MPLS-TP OAM uses among the present invention; As shown in the figure: the OAM message can be directed against SECTION (section layer) path, LSP (Label Switching Path in the MPLS-TP network; Label switched path) path and PW (Pseudo-Wire, pseudo-line) detect; During towards three kinds of path entity detection; Its detection messages part is in full accord all to be with CCM (Continuity Check Message; The continuity detection messages) message is as its PDU (Protocol Data Unit; But the message encapsulation format has difference, SECTION OAM, LSP OAM and three kinds of message encapsulation format of PW OAM described as shown in Figure 1 according to the difference that it detects the path protocol Data Unit).Wherein, the encapsulation of Section OAM message is followed successively by: link layer header, GAL (general channels label, label value are 13) label (13 label), G-ACH (general channels head), OAM PDU; The encapsulation of LSP OAM message is followed successively by: link layer header, lsp label, GAL label (13 label), GACH, OAM PDU; The encapsulation of PW OAM message is followed successively by: link layer header, lsp label, pw label, GACH, OAM PDU.
As shown in Figure 2, expand the TLV field carrying of CCM, be used to fill in the detection stop flag; Carry in the message when stopping the TLV field when receiving terminal detects, think that then the opposite end cancelled detection, this locality stops the overtime detection of message, no longer produces alarm.
As shown in Figure 3, the detection operation method of MPLS-TP OAM may further comprise the steps:
Step 301 detects startup, periodically gives out a contract for a project to the opposite end;
Step 302 is provided with the detection overtime timer, carries out packet receiving and detects;
Step 303 before the message timer expiry, has judged whether to receive the detection messages of expectation; If receive the expectation message, get into step 302, reset and detect overtime timer, proceed packet receiving and detect; Otherwise it is overtime to continue waiting timer, gets into step 304;
Step 304 detects overtime timer and arrives, and reports and detects alarm;
Step 305 when receiving the detection messages of expectation again, detects alarm clearance; Get into step 302, reset and detect overtime timer, proceed packet receiving and detect.
As shown in Figure 4, detect the flow process that control detection stops synchronously between end points, comprising:
Step 401, chain of command issue to detect and stop;
Step 402, fast 3 frame detected and stop message before detection stopped, and promptly sent 3 frames detection stopping message fast;
Step 403, the local instance that detects of deletion;
Step 404, opposite equip. receive detect stop message after, stop to detect overtime timer;
Step 405 is recovered to detect and is alarmed initial condition.
Two ends are detected when all stopping, and flow process finishes.
As shown in Figure 5, detect the flow process that control detection starts synchronously between end points, following operation is carried out at two ends respectively:
Step 501 is periodically sent to the opposite end and is detected bag;
Step 502 starts the first packet overtime timer;
Step 503 is judged before the first packet overtime timer is overtime, whether has received the detection messages of expectation; If receive detection messages, get into formal testing process S505 immediately; Otherwise continue to wait for that the first packet overtime timer is overtime;
Step 504, the first packet overtime timer is overtime;
Step 505 gets into formal testing process, and concrete steps are referring to above-mentioned steps 301~305;
Two ends are detected when opening, and flow process finishes.
In the present embodiment, a kind of device that on dynamic route, carries out the MPLS-TP detection is applied to comprise in the MPLS-TP OAM detection:
The expiry notification unit is used for stopping to send and detecting bag detecting when the migration of dynamic bidirectional path takes place, and initiatively sending more than one detection to the opposite end stops message, and this message is used to announce the opposite end to be stopped packet receiving and detect;
Stop element is used for receiving after said detection stops message, stops the detection overtime timer of local terminal.
Preferably,
The detection that said expiry notification unit sends stops message in detecting bag, carrying type-length-value (TLV), is used to identify this message and stops message as detection.
Preferably, said device also comprises:
Start unit is used for after knowing that said stop element stops the detection overtime timer of local terminal, starts the first packet overtime timer;
The packet receiving detecting unit is used for before said first packet overtime timer is overtime, only sends to the opposite end and detects bag, after receiving first detection bag that send the opposite end, starts the detection overtime timer of local terminal, gets into the packet receiving detected state.
Preferably,
Said packet receiving detecting unit also is used for when said first packet overtime timer is overtime, as receiving the detection bag of sending the opposite end not yet, then starts the said detection overtime timer of local terminal, gets into the packet receiving detected state.
One of ordinary skill in the art will appreciate that all or part of step in the said method can instruct related hardware to accomplish through program, said program can be stored in the computer-readable recording medium, like read-only memory, disk or CD etc.Alternatively, all or part of step of the foregoing description also can use one or more integrated circuits to realize.Correspondingly, each the module/unit in the foregoing description can adopt the form of hardware to realize, also can adopt the form of software function module to realize.The present invention is not restricted to the combination of the hardware and software of any particular form.
The above is merely the preferred embodiments of the present invention, is not to be used to limit protection scope of the present invention.According to summary of the invention of the present invention; Also other various embodiments can be arranged; Under the situation that does not deviate from spirit of the present invention and essence thereof, those of ordinary skill in the art are when making various corresponding changes and distortion according to the present invention, and are all within spirit of the present invention and principle; Any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (8)

1. one kind is carried out the method that multiprotocol label switching transmission system (MPLS-TP) detects on dynamic route, comprising:
Head end or tail end stop to send and detect bag detecting when the migration of dynamic bidirectional path takes place, and initiatively sending more than one detection to the opposite end stops message, and this message is used to announce the opposite end to be stopped packet receiving and detect;
The opposite end receives after said detection stops message, stops the detection overtime timer of local terminal.
2. the method for claim 1 is characterized in that:
Said detection stops message in detecting bag, carrying type-length-value (TLV), is used to identify this message and stops message as detection.
3. according to claim 1 or claim 2 method is characterized in that, also comprises:
Head end or tail end start the first packet overtime timer of local terminal respectively after stopping the detection overtime timer of local terminal;
Before said first packet overtime timer is overtime, only send and detect bag to the opposite end, after receiving first detection bag that send the opposite end, start the detection overtime timer of local terminal, get into the packet receiving detected state.
4. method as claimed in claim 3 is characterized in that:
When said first packet overtime timer was overtime, the detection bag that said head end or tail end are sent as receiving the opposite end not yet then started the detection overtime timer of local terminal, gets into the packet receiving detected state.
5. one kind is carried out the device that multiprotocol label switching transmission system (MPLS-TP) detects on dynamic route, comprising:
The expiry notification unit is used for stopping to send and detecting bag detecting when the migration of dynamic bidirectional path takes place, and initiatively sending more than one detection to the opposite end stops message, and this message is used to announce the opposite end to be stopped packet receiving and detect;
Stop element is used for receiving after said detection stops message, stops the detection overtime timer of local terminal.
6. device as claimed in claim 5 is characterized in that:
The detection that said expiry notification unit sends stops message in detecting bag, carrying type-length-value (TLV), is used to identify this message and stops message as detection.
7. like claim 5 or 6 described devices, it is characterized in that, also comprise:
Start unit is used for after knowing that said stop element stops the detection overtime timer of local terminal, starts the first packet overtime timer;
The packet receiving detecting unit is used for before said first packet overtime timer is overtime, only sends to the opposite end and detects bag, after receiving first detection bag that send the opposite end, starts the detection overtime timer of local terminal, gets into the packet receiving detected state.
8. device as claimed in claim 7 is characterized in that:
Said packet receiving detecting unit also is used for when said first packet overtime timer is overtime, as receiving the detection bag of sending the opposite end not yet, then starts the said detection overtime timer of local terminal, gets into the packet receiving detected state.
CN201210034878.8A 2012-02-16 2012-02-16 A kind of method and apparatus that MPLS TP detections are carried out on dynamic route Active CN102571500B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210034878.8A CN102571500B (en) 2012-02-16 2012-02-16 A kind of method and apparatus that MPLS TP detections are carried out on dynamic route

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210034878.8A CN102571500B (en) 2012-02-16 2012-02-16 A kind of method and apparatus that MPLS TP detections are carried out on dynamic route

Publications (2)

Publication Number Publication Date
CN102571500A true CN102571500A (en) 2012-07-11
CN102571500B CN102571500B (en) 2018-03-23

Family

ID=46416020

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210034878.8A Active CN102571500B (en) 2012-02-16 2012-02-16 A kind of method and apparatus that MPLS TP detections are carried out on dynamic route

Country Status (1)

Country Link
CN (1) CN102571500B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103595507A (en) * 2013-11-15 2014-02-19 烽火通信科技股份有限公司 Internal information transmission device and internal information transmission method in packet network system
CN104113449A (en) * 2014-07-15 2014-10-22 华为技术有限公司 Link detection method and apparatus
CN104660451A (en) * 2015-02-28 2015-05-27 山东华辰泰尔信息科技股份有限公司 Cross-disk protection method based on PTN (packet transport network) tunnel

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1905483A (en) * 2006-08-08 2007-01-31 华为技术有限公司 Method and apparatus for testing ethernet connection damage
CN1953400A (en) * 2005-10-17 2007-04-25 华为技术有限公司 A method to control the continuity detection of Ethernet link
US20100149992A1 (en) * 2005-08-10 2010-06-17 Xuefei Tan Method for the Trigger Failure Detection of Bidirectional Forwarding Detection
CN101808022A (en) * 2010-04-22 2010-08-18 中兴通讯股份有限公司 Method and device for realizing bidirectional forwarding detection

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100149992A1 (en) * 2005-08-10 2010-06-17 Xuefei Tan Method for the Trigger Failure Detection of Bidirectional Forwarding Detection
CN1953400A (en) * 2005-10-17 2007-04-25 华为技术有限公司 A method to control the continuity detection of Ethernet link
CN1905483A (en) * 2006-08-08 2007-01-31 华为技术有限公司 Method and apparatus for testing ethernet connection damage
CN101808022A (en) * 2010-04-22 2010-08-18 中兴通讯股份有限公司 Method and device for realizing bidirectional forwarding detection

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103595507A (en) * 2013-11-15 2014-02-19 烽火通信科技股份有限公司 Internal information transmission device and internal information transmission method in packet network system
CN104113449A (en) * 2014-07-15 2014-10-22 华为技术有限公司 Link detection method and apparatus
CN104660451A (en) * 2015-02-28 2015-05-27 山东华辰泰尔信息科技股份有限公司 Cross-disk protection method based on PTN (packet transport network) tunnel
CN104660451B (en) * 2015-02-28 2018-02-06 山东华辰泰尔信息科技股份有限公司 A kind of across disk guard method based on PTN tunnels

Also Published As

Publication number Publication date
CN102571500B (en) 2018-03-23

Similar Documents

Publication Publication Date Title
CN101483570B (en) Method, system and device for preventing looped network temporary loop circuit of relaying link
CN101558609B (en) Method, device and system for ring protection
EP3386156B1 (en) Failure recovery method, device and storage medium
CN101170459B (en) Failure detection and link recovery method based on bidirectional forward link
RU2466505C2 (en) Method, device and system of communication for protection of alarm transfer
US8040793B2 (en) Method, system and device for processing failure
CN100527716C (en) Method and gateway equipment for resuming service after switching status of main/standby gateway device
CN101877646B (en) Protection switching method and node equipment
US20120127855A1 (en) Method and device for conveying traffic
CN100568854C (en) A kind of method and interface board that keeps neighborhood
US20120087232A1 (en) Link state relay for physical layer emulation
CN101686158B (en) Control method for Ethernet loop guard fault recovery and Ethernet loop node
WO2011057540A1 (en) Method, device and system for updating ring network topology information
CN102025562A (en) Path detection method and device
CN101123563B (en) A method, device and network for stable restart of multi-hop counterfeit wire
WO2011095101A1 (en) Linear 1: n protection method, device and system for packet transport network
WO2012171380A1 (en) Far-end failure processing method and device for ethernet
CN101777997A (en) Method and system for switching flow of network link
CN102238067B (en) Switching method and device on Rapid Ring Protection Protocol (RRPP) ring
CN102571500A (en) Method and device for performing multi-protocol label switching-transport profile (MPLS-TP) detection on dynamic path
CN101883038A (en) Method for protecting and switching EAPS (Ethernet Automatic Protection Switching) looped network and main node in EAPS looped network
CN102487348B (en) Method and system for realizing looped network uplink protection
JP2006033124A (en) Tunnel fault notification device and method
JP2006352544A (en) Redundant system of layer 2 network
CN108337118B (en) Message forwarding 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