Background technology
In the increasing market environment of competition, the network of operator and the professional evolution that has all begun to packetizing.Based on existing SDH is transmitted net (Synchronous Digital Hierarchy, SDH (Synchronous Digital Hierarchy)) trust and operation experience, operator is more most important to the demand of Packet Transport Network to be exactly: be easy to maintenance and management, reducing the demand of artificial execute-in-place, and reduce requirement to the maintenance and management personnel.So in existing Packet Transport Network, defined powerful OAM (Operations Administration and Maintenance, oam) mechanism.
In existing Packet Transport Network, defined fault detect end to end.By regularly sending the connectedness that the OAM message is confirmed network to the opposite end.The detection of connectivity mode of Packet Transport Network is compared with the alarm detection of SDH, and can find: the detection of connectivity of Packet Transport Network has been emphasized notion end to end, and the alarm detection of SDH focuses on that then the section of striding between point and point detects.Two kinds of detection methods respectively have pluses and minuses, and the detection of connectivity shortcoming of Packet Transport Network is: when the path connectivity fault, can not navigate to the fault point in the entire path fast.
In the Packet Transport Network,, following several mode is arranged at present for fault location point fast:
(1) physical pathway fault such as optical fiber is by location such as port optical interface los (dropout) alarm or performances.
(2) the Ethernet attribute by Packet Transport Network, definition ping function (Ethernet is by after giving out a contract for a project, and the other side's returned packet can reach and transfer delay information) can segmentation detects the break-make of Ethernet bearing layer.
(3) in the Packet Transport Network, two kinds of loopback detection have been defined.A kind of is meeting looping back data method of message; Another kind is by loopback same data content behind the reception message, is judged the method for break-make then by transmitting terminal.Method one is the loopback detection of having inherited in the SDH network, but in Packet Transport Network, owing to defined label switched path, must label registration can carry out data forwarding, so this kind method is when carrying out fault location, will be unable to do what one wishes because the label of general forward and reverse path all is inconsistent, from the data of middle path loopback since label meet reverse forwarding condition and will not be dropped.In method two, the heading of decision message forwarding path needs to change, for example, T-MPLS/MPLS-TP (Transportation-Multiple Protocol Label Switch, the multiprotocol label switching transmission) LB (loopback, the loopback) technology in needs following steps:
Step 1 is at A end points definition MEP (Maintenance Entity Point, maintenance entity point), MEG (Maintenance Entity Group, Maintenance Entity) ID, MEP ID and the peer MEP ID of definition MEP;
Step 2 is at B end points definition MEP, MEG ID, MEP ID and the peer MEP ID of definition MEP; Wherein the MEG ID of A, B end points need be identical, and MEP ID is the other side's peer MEP ID each other;
Step 3 is initiated the LB inspection at A end points or B end points, returns LB result, judges the connectedness between A end points and the B end points.
In above-mentioned steps, because checking, the LB of Packet Transport Network all is based on ME (maintenance entity, a pair of maintenance entity point) notion is carried out, so any two needs carry out the end points of LB inspection unique MEG ID need be set, that is to say after the LB inspection that finishes between A and the B node, when checking connective between node A and the C, need after carrying out identical configuration, the C end points could carry out as above step once more again to the configuration of B end points deletion.
Though above-mentioned step has only three steps, the node of checking at needs more for a long time, this operation ease for use defect of bad will be apparent in view.
(4) increase section layer OAM by definition and detect the path break-make.By analyzing TMS (TMPL Section, TMPL section layer) layer and TMP/TMC layer (TMPL Path/TMPL Channel, TMPL tunnel and pseudo-line layer) the detection path discovery, between the detection zone of TMP/TMC greater than the summation between all TMS detection zones, promptly exist TMP to detect, but TMS detect less than the zone.There is following defective in this detection mode:
Need to continue to send the OAM message, therefore, take more bandwidth resources; For the forwarding fault detect of the node in the path itself less than or since the fault detect that the node that configuration error causes can not be transmitted less than.
In sum, at present the oam mechanism of Packet Transport Network for the investigation of link failure exist ease for use bad, take more bandwidth resources or exist detect less than various defectives such as white space.
Summary of the invention
Main purpose of the present invention is to provide a kind of periodic line fault location method and system of Packet Transport Network, with solve at least exist in the above-mentioned prior art detection less than the problem of white space.
According to an aspect of the present invention, a kind of periodic line fault location method of Packet Transport Network is provided, comprise: when first business end detects link between itself and second business end and failure of connectivity occurs, send the loopback message along chain road direction second business end that breaks down; When being positioned at intermediate node on the link that breaks down and receiving the loopback message, transmit the loopback message to next node, and send the loopback response message to first business end along the reverse path that receives the loopback message; First business end is according to the abort situation of received loopback response message fault location link.
Further, when first business end detects link between itself and second business end and failure of connectivity occurs before, also comprise; The oam OAM that detects at the connectivity of link that is used for respectively on first business end and second business end between first business end and second business end disposes.
Further, after first business end detected link between itself and second business end and failure of connectivity occurs, predetermined amount of time sent the loopback message to second business end at interval.
Further, the form of loopback message is at preceding increase by the one loopback heading of T-MPLS LBM (Transportation-Multiple Protocol Label Switch Loopback Message transmits multiprotocol label switching loopback message); The form of loopback response message is at preceding increase by the one loopback response message head of T-MPLS LBR (Transportation-Multiple Protocol Label Switch Loopback Reply transmits the response of multiprotocol label loopback); Wherein, loopback heading and loopback response message head comprise following field respectively at least: type of message Function the type field, MEG id field and MEP id field.
Further, when being positioned at intermediate node on the link that breaks down and receiving the loopback message, transmit the loopback message to next node, and comprise to first business end transmission loopback response message: determine that according to the Function the type field in the loopback message received message is the loopback message along the reverse path that receives the loopback message; Send the loopback response message along the reverse path that receives the loopback message to first business end, wherein, the MEG id field in the loopback response message and MEP id field are identical with the MEP id field with MEG id field in the received loopback message; Judge that whether the OAM configuration in the loopback message mates with the OAM configuration of this node, if not, adds 1 back with the MEP field value in the loopback message and continues to transmit the loopback message to next node.
Further, first business end comprises according to the abort situation of received loopback response message fault location link: first business end is determined the abort situation of faulty link according to the value of the MEP field of the loopback response message that is returned.
Further, if the OAM configuration of the configuration of the OAM in the loopback message and this node is complementary, then abandon the loopback message.
According to a further aspect in the invention, a kind of link failure navigation system of Packet Transport Network is provided, this system comprises: first business end, second business end and the intermediate node on the link between first business end and second business end, wherein, first business end comprises: the link detecting module is used to detect the failure of connectivity of link between first business end and second business end; First sending module is used for sending the loopback message along faulty link to second business end; First receiver module is used to receive the loopback response message of intermediate node loopback; The fault location module is used for the abort situation according to loopback response message fault location link; Intermediate node is one or more, and each intermediate node comprises: second receiver module is used to receive the loopback message from first business end; Second sending module is used for sending the loopback response message along the reverse path that receives the loopback message to first business end, and transmits the loopback message to next node.
Further, first business end also comprises first configuration module, and second business end comprises second configuration module, wherein, first configuration module is used for the OAM configuration on first business end, to detect the connectedness of the link between first business end and second business end; Second configuration module is used for the OAM configuration of second business end; To detect the connectedness of the link between first business end and second business end.
Further, the form of loopback message is to increase by a loopback heading before T-MPLS LBM message; The form of loopback response message is to increase by a loopback response message head before T-MPLS LBR message; Wherein, loopback heading and loopback response message head comprise following field respectively at least: type of message field Function Type, MEG id field and MEP id field.
By the present invention, when service node detects the connectivity of link fault, automatically transmission loopback message carries out link break-make inspection piecemeal, investigate the highway section of being out of order by the loopback response message that each node returns, avoided to carry out each node in the prior art step of OAM configuration, the quick location of realizing fault; And the transmit path of loopback message is identical with the customer data forward-path, do not exist detection less than the clear area between, fault location is accurate.
Embodiment
Hereinafter will describe the present invention with reference to the accompanying drawings and in conjunction with the embodiments in detail.Need to prove that under the situation of not conflicting, embodiment and the feature among the embodiment among the application can make up mutually.
Fig. 4 shows the periodic line fault location method flow chart of the embodiment of the invention, as shown in Figure 4, may further comprise the steps:
When step S402, first business end detect link between itself and second business end and failure of connectivity occurs, send the loopback message along chain road direction second business end that breaks down.
Step S404 when being positioned at intermediate node on the link that breaks down and receiving the loopback message, transmits the loopback message to next node, and sends the loopback response message along the reverse path that receives the loopback message to first business end.
Step S406, first business end is according to the abort situation of received loopback response message fault location link.
In said method, when service node detects the connectivity of link fault, automatically transmission loopback message carries out link break-make inspection piecemeal, investigate the highway section of being out of order by the loopback response message that each node returns, avoided must carrying out each node in the prior art step of OAM configuration, thus the quick location of realizing fault; And the transmit path of loopback message is identical with the customer data forward-path, do not exist detection less than the clear area between, fault location is accurate.
Wherein, when first business end detects link between itself and second business end and failure of connectivity occurs before, on first business end and second business end, dispose the detection of connectivity between the teleservice respectively.After first business end detects link between itself and second business end and failure of connectivity occurs, send the loopback message to second business end after can waiting for the several seconds, avoiding when fault warning is flashed, the frequent starting fault location detects.
In the above-mentioned localization method, the loopback message format is to increase by a loopback heading before T-MPLS LBM message; The form of loopback response message is to increase by a loopback response message head before T-MPLS LBR message; Wherein, loopback heading and loopback response message head comprise following field respectively at least: type of message Function the type field, MEG id field and MEP id field.Intermediate node determines that according to the Function the type field in the loopback message received message is the loopback message, then send the loopback response message to first business end along reverse path, wherein, the MEG id field in the loopback response message and MEP id field are identical with the MEP id field with MEG id field in the received loopback message; And the MEP field value in the loopback message is added 1 back continue to transmit the loopback message to next node.If link-recovery is normal, make the loopback message be forwarded to second business end, the OAM configuration that second business end is judged loopback message internal layer OAM configuration and this node is complementary, and then behind the loopback loopback response message, abandons the loopback message.
Fig. 5 shows the link failure navigation system structured flowchart of the embodiment of the invention, as shown in Figure 5, this system comprises: first business end 10, second business end 30 and the intermediate node 20 on the link between first business end 10 and second business end 30.
Wherein, first business end 10 comprises: link detecting module 12 is used to detect the failure of connectivity of link between first business end and second business end; First sending module 14 is used for sending the loopback message along faulty link to second business end; First receiver module 16 is used to receive the loopback response message of intermediate node loopback; Fault location module 18 is used for the abort situation according to loopback response message fault location link; Wherein, link detecting module 12, first sending module 14, first receiver module 16 are connected successively with fault location module 18.
Intermediate node 20 is one or more, and each intermediate node comprises: second receiver module 22 is used to receive the loopback message from first business end; Second sending module 24 is used for sending the loopback response message along the reverse path that receives the loopback message to first business end; And to next node forwarding loopback message, wherein, second receiver module 22 is connected with second sending module 24.
In said system, when first business end detects the connectivity of link fault, automatically transmission loopback message carries out link break-make inspection piecemeal, investigate the highway section of being out of order by the loopback response message that each node returns, avoided to carry out each node in the prior art step of OAM configuration, the quick location of realizing fault; And the transmit path of loopback message is identical with the customer data forward-path, do not exist detection less than the clear area between, fault location is accurate.
Embodiment one
Present embodiment is described the link failure position fixing process in the practical application in detail, Fig. 6 shows the faulty link location structure schematic diagram of this embodiment, as shown in Figure 6, this link comprise node A, B, C ... N, N+1, Y, wherein node A and node Y are end points, all the other nodes are the intermediate node on the link, and failure of connectivity has taken place the link between node N and node N+1.Failure of connectivity positioning flow on this link may further comprise the steps as shown in Figure 7:
Step S702, detection of connectivity between the configuration teleservice, i.e. configuration node OAM on node A and node Y, this layoutprocedure is identical with the OAM configuration among the described T-MPLS/MPLS-TP of background technology part, be that node A is identical with the MEGID of node Y, the MEP ID of node A and node Y is the other side's peer MEP ID each other; The concrete configuration process is not described in detail at this.
Step S704 after business end A detects failure of connectivity, waits for N second (N can be 0, waits for that N second is for fear of frequent starting detection and localization when alarm is flashed), starts automatic detection and localization flow process, sends the loopback message to Node B.
In the present embodiment, defined the form of loopback message and loopback response message, the existing OAM LB of the format compatible of loopback message and loopback response message message format, before the OAM heading, embed an OAM heading again, promptly before T-MPLS LBM message and T-MPLS LBR message, increase an OAM heading respectively as loopback message and loopback response message.
Fig. 1 and 2 shows the heading form of T-MPLS LBM message of the prior art and T-MPLS LBR message respectively, and wherein, the number designation of row is represented byte and bit; Label (Label_14) field is set to 14, expression OAM message; MEL (maintenance entity level) field is represented the maintenance entity level; S (stack) field is represented to identify at the bottom of the stack; Function the type field presentation function type; Transaction ID/Sequence Number field is a transfer sequence number.
Fig. 3 shows the structure of the TLV field of the heading among Fig. 1 and Fig. 2, wherein, and the type field presentation function type; The Length field is represented message length; MEP/MIP ID (MEG end point/MEG intermediate point ID) field is represented ID number of maintenance entity node; MEG ID (maintenance entity group) field is represented Maintenance Entity.
Fig. 8 and Fig. 9 show the loopback message of present embodiment and the message format of loopback response message respectively, identical among the meaning that each field is represented and Fig. 1 and Fig. 2, wherein, the Function the type field of the heading that loopback message and loopback response message increase adopts the particular value of definition, for example can be 0x00 or 0xFF; The MEG id field is 20 for initiating the fault MEG that this detects automatically in the present embodiment; The MEP field then can be provided with an initial value, and initial value is 0 in the present embodiment.
Step S706, after Node B is received the loopback message, being checked through Function Type is particular value, and then unconditional loopback loopback response message is given node A, and the MEG id field in the loopback response message and the value of MEP id field are identical with the value of received loopback message.
Step S708, Node B judges whether the OAM configuration of received loopback message internal layer and the OAM configuration of this node configuration mate, if do not dispose, then the MEP field value of loopback message is added 1 after, continue to transmit the loopback message to node C.
Step S710, node C, D ..., N repeats above-mentioned steps owing to break down a little between N node and the N+1 node, the loopback message can't continue to transmit, and transmits and finishes.
Step S712, A node continue W and reclaim the loopback response message second after initiate automatically to detect, and the MEP field in the loopback response message of receiving by inspection, can obtain the accessibility of A node to other node.
Step S714 returns the fault highway section with the form of tabulation or figure.
In the present embodiment, fault is recovered between N and N+1, and the loopback message will be forwarded to the Y node along each node of link always.The Y node checks whether the internal layer OAM configuration (MEG ID and MEP ID) of message and the OAM configuration of this node configuration have matched record; Matched record is arranged, carry out abandoning source messages after loopback is handled.
In the above-described embodiment, when the diconnected fault appearred in link, node A and node Y will start the fault detect flow process simultaneously, fault coverage can be decided to be the section of sealing about like this.
By the various embodiments described above of the present invention, when service node detected the connectivity of link fault, its enable port transmission loopback message carried out link break-make inspection piecemeal automatically, and investigation is out of order highway section, explicit presenting at last.Thereby have following beneficial effect: automatic start detection, avoid artificial troublesome operation, ease for use is better, and can realize the quick location of fault; Detection messages does not need to continue to send, and network bandwidth resources is taken less; The transmit path of loopback message is identical with the customer data forward-path, do not exist detection less than the clear area between, fault location is accurate; Positioning result can select image to present or end-to-end path shows that the positioning result of malfunctioning node is directly perceived.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with the general calculation device, they can concentrate on the single calculation element, perhaps be distributed on the network that a plurality of calculation element forms, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in the storage device and carry 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 each integrated circuit modules respectively, 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.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.