CN101409656B - Method for checking virtual circuit connectivity, network node and communication system - Google Patents

Method for checking virtual circuit connectivity, network node and communication system Download PDF

Info

Publication number
CN101409656B
CN101409656B CN2008102244645A CN200810224464A CN101409656B CN 101409656 B CN101409656 B CN 101409656B CN 2008102244645 A CN2008102244645 A CN 2008102244645A CN 200810224464 A CN200810224464 A CN 200810224464A CN 101409656 B CN101409656 B CN 101409656B
Authority
CN
China
Prior art keywords
node
message
back message
virtual circuit
circuit connectivity
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.)
Active
Application number
CN2008102244645A
Other languages
Chinese (zh)
Other versions
CN101409656A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN2008102244645A priority Critical patent/CN101409656B/en
Publication of CN101409656A publication Critical patent/CN101409656A/en
Priority to PCT/CN2009/074250 priority patent/WO2010043149A1/en
Application granted granted Critical
Publication of CN101409656B publication Critical patent/CN101409656B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity

Landscapes

  • Engineering & Computer Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a method for inspecting connectivity of a virtual circuit, a network node and a communication system thereof. In the communication system, an inspection initial node transmits a virtual circuit connectivity inspection requesting message to an inspection finish node, the virtual circuit connectivity inspection requesting message carries a jumping figure of virtual pseudo wire between the inspection initial node and the inspection finish node, and the inspection initial node receives an answer message and inspects virtual circuit connectivity according to a survival time in the answer message; the inspection finish node receives the virtual circuit connectivity inspection requesting message, and determines that whether the received virtual circuit connectivity inspection requesting message is finished in the node; if the received virtual circuit connectivity inspection requesting message is finished in the node, the inspection finish node generates and transmits the answer message to the inspection initial node, wherein, the survival time in the answer message is set as the jumping figure of the virtual pseudo wire between the inspection finish nodes. The problem of connectivity in MS-PW is solved by adopting the technical proposal of the invention.

Description

A kind of method of checking virtual circuit connectivity, network node and communication system
Technical field
The present invention relates to communication technical field, relate in particular to a kind of method, network node and communication system of checking virtual circuit connectivity.
Background technology
Virtual pseudo wires (Pseudo Wire, PW) be divided into the single-hop virtual pseudo wires (Single SegmentPseudo Wire, SS-PW) with the multi-hop virtual pseudo wires (Multi Segment Pseudo Wire, MS-PW).SS-PW and MS-PW, (VirtualCircuit Connectivity Ve rification, VCCV) mode is checked defective can to pass through checking virtual circuit connectivity.
In MS-PW; With reference to shown in Figure 1; Virtual pseudo wires destination node provider edge devices (PW Terminating Provider Edge in the existing mode; T-PE) through VCCV inspection virtual pseudo wires exchange point provider edge devices (PW Switching Provider Edge, S-PE) connective as follows: T-PE1 sends checking virtual circuit connectivity Ping and asks (VCCV PingRequest) message according to the VCCV type of selecting for use; T-PE1 can be according to the VCCV type that is provided with, and the mode of stipulating according to agreement sends to this VCCV Ping Request message on the S-PE; S-PE receives this message, for keep inspection with life span (Time To Live, TTL) value is set to a very big value, as 255; T-PE1 is the destination node of PW, and message can successfully be delivered on the T-PE1 and handle.T-PE1 is during through VCCV inspection T-PE2 connective, and T-PE1 sends VCCV Ping Request message; T-PE1 sends to this VCCV Ping Request message on the T-PE2 through the mode of agreement regulation; T-PE2 receives this message, and the value of TTL is set to a very big value; T-PE2 sends to S-PE according to transmission path with message, and S-PE is uncertain according to the value of TTL oneself not to be destination node, and the message that receives is transmitted, and T-PE1 finally may receive the message that returns.
In realizing process of the present invention; The inventor finds to have following problem in the prior art at least: in the prior art; If virtual pseudo wires exchange point provider edge devices (PW Switching ProviderEdge; When S-PE) thinking initiatively to check other equipment puppet line states through the VCCV mode, owing to can accurately not set ttl value, so when S-PE receives VCCV Ping Reply message; As long as ttl value is non-vanishing; Will its message be transmitted, it is the state of pseudo-line between S-PE and other equipment that the final like this check result that obtains just is not sure of, so S-PE initiatively checks that through the VCCV mode there is limitation in the pseudo-line states of other equipment in multi-hop virtual pseudo wires checking virtual circuit connectivity process.
Summary of the invention
Embodiments of the invention provide a kind of method, network node and system of checking virtual circuit connectivity, have solved reachability problem among the MS-PW.
Embodiments of the invention provide a kind of method of checking virtual circuit connectivity, comprising:
Receive the checking virtual circuit connectivity request message, carry in the said checking virtual circuit connectivity request message and detect the jumping figure of initiating node and detecting virtual pseudo wires between the termination node;
Confirm whether the checking virtual circuit connectivity request message that receives terminates at this node; If the checking virtual circuit connectivity request message that receives is to terminate at this node; Generate and send back message using; Wherein, the life span value in the said back message using is set to the jumping figure of said virtual pseudo wires, so that when said detection initiation node receives said back message using; Resolve the life span value in the said back message using; At definite said back message using is when this node terminates, and stops the repeating process of said back message using, carries out checking virtual circuit connectivity according to the life span value in the said back message using.
The embodiment of the invention also provides a kind of method of checking virtual circuit connectivity, and said method comprises:
Generate the checking virtual circuit connectivity request message; Carry in the said checking virtual circuit connectivity request message and detect the jumping figure of initiating virtual pseudo wires between node and the detection termination node, the virtual pseudo wires jumping figure is provided with the life span value in the back message using between node and the detection termination node so that detection termination node is initiated based on said detection;
Receiving back message using, resolve the life span value in the said back message using, is when this node terminates at definite said back message using, stops the repeating process of said back message using, carries out checking virtual circuit connectivity according to the life span value in the said back message using.
The embodiment of the invention provides a kind of network node, comprising:
Sending module (302); Be used to send the checking virtual circuit connectivity request message; Said checking virtual circuit connectivity request message carries detection initiation node and detects the jumping figure of virtual pseudo wires between the termination node, so that said detection termination node is provided with the life span value of back message using according to the jumping figure of virtual pseudo wires between said detection initiation node and the detection termination node;
Receiver module (303) is used to receive back message using;
Connectivity checks module (304); Be used for resolving the life span value of said back message using; At definite said back message using is when this node terminates, and stops the repeating process of said back message using, carries out checking virtual circuit connectivity according to the life span value in the said back message using.
The embodiment of the invention also provides a kind of network node, comprising:
Receiver module (401) is used to receive the checking virtual circuit connectivity request message, carries in this request and detects the jumping figure of initiating node and detecting virtual pseudo wires between the termination node;
Back message using generation module (402) is used for confirming that the checking virtual circuit connectivity request message is after self terminates, and generates and sends back message using, and wherein, the life span value in the back message using that is generated is the jumping figure of said virtual pseudo wires;
Sending module (403) is used to send said back message using.
Also a kind of network node of the embodiment of the invention, said network node comprises:
Request message transceiver module (501); Be used for receiving and transmitting the checking virtual circuit connectivity request message; At definite this virtual circuit connectivity request message is not when this node terminates, to transmit said checking virtual circuit connectivity request message; Wherein, Carry the jumping figure that detects virtual pseudo wires between initiation node and the detection termination node in this virtual circuit connectivity request message, so that detect the termination node is provided with back message using based on the jumping figure of virtual pseudo wires between said detection initiation node and the detection termination node life span value;
Back message using transceiver module (502) is used to receive back message using, and the back message using of confirming to receive is revised the life span value in the back message using and transmitted amended back message using not when this node terminates.
The embodiment of the invention provides a kind of communication system, comprising: detect and initiate node and detect the termination node,
Said detection is initiated node and is sent the checking virtual circuit connectivity request message to detecting the termination node; Carry in the said checking virtual circuit connectivity request message and detect the jumping figure of initiating node and detecting virtual pseudo wires between the termination node; And detect and initiate node reception back message using; Said detection initiation node is resolved said back message using and is obtained the life span value; Confirm that said back message using is when this node terminates, stop the repeating process of said back message using, carry out checking virtual circuit connectivity according to the life span value in the said back message using;
Detect the termination node and receive said checking virtual circuit connectivity request message, confirm whether the checking virtual circuit connectivity request message that receives terminates at this node; If the checking virtual circuit connectivity request message that receives is in this node termination, generate and initiate node to detection and send back message using wherein, the life span value in the said back message using is set to the jumping figure of said virtual pseudo wires.
Technical scheme by the embodiment of the invention described above provides can be found out; The embodiment of the invention is through in the checking virtual circuit connectivity request message; Carry the value of the life span that need fill in the back message using that detects the termination node, make and detect the termination node and can life span be set accurately, solved that S-PE in the prior art can not pass through initiatively that VCCV detects and other equipment between the problem of connectedness; And adopt technical scheme provided by the invention; When making in the prior art other device connectivitys of T-PE active detecting, ttl value is set accurately, makes checking process more convenient and efficient.
Description of drawings
In order to be illustrated more clearly in the technical scheme of the embodiment of the invention; The accompanying drawing of required use is done to introduce simply in will describing embodiment below; Obviously, the accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work property, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the application scenarios figure of checking virtual circuit connectivity;
Fig. 2 A is the method flow diagram of checking virtual circuit connectivity in the first embodiment of the invention;
Fig. 2 B is the method flow diagram of checking virtual circuit connectivity in the second embodiment of the invention;
Fig. 3 is the network node simplified structure diagram of one embodiment of the invention;
Fig. 4 is the network node simplified structure diagram of another embodiment of the present invention;
Fig. 5 for the present invention in addition embodiment the network node simplified structure diagram;
Fig. 6 is a kind of communication system simplified structure diagram of the embodiment of the invention.
Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
In embodiments of the present invention; Detect when initiating node transmission checking virtual circuit connectivity request message (VCCV Ping Request) message; In VCCV Ping Request message, carry and detect the termination node needs setting in back message using ttl value; Carry in can be when detecting the termination node and receive VCCV PingRequest message to detect and initiate node and the jumping figure that detects the virtual pseudo wires between the node of terminating VCCV Ping Request message; Can life span (TTL) value in the back message using be set based on the jumping figure of virtual pseudo wires between said detection initiation node and the detection termination node so that detect the termination node; Owing to ttl value in the back message using that detects the transmission of termination node is represented to initiate node jumping figure accurately with detection; This back message using can be sent on the equipment of expection accurately, fast, accomplishes connective detection.The embodiment of the invention solved that S-PE in the prior art can not initiatively check through the VCCV mode and other equipment between the problem of virtual pseudo wires virtual circuit connectivity; Adopt the said technical scheme of the embodiment of the invention, also make method that T-PE in the prior art initiatively pass through VCCV inspection and other device connectivitys more fast and convenient.
Shown in Fig. 2 A, the method for checking virtual circuit connectivity in a kind of communication system, comprising two nodes with communication system is example; Initiate node and detect the termination node like the detection among Fig. 2 A; Do not comprise the detection intermediate node in the middle of detect initiating node and detecting the termination node, the node that node representes to initiate the request that detects is initiated in the detection here, detects the termination node and representes to terminate and detect the node of request; Detect intermediate node and represent that transfer detects the node of request, this method comprises:
Step S202: detect and initiate node generation checking virtual circuit connectivity request message, carry in this checking virtual circuit connectivity request message and detect the jumping figure of initiating node and detecting virtual pseudo wires between the termination node; Also carry purpose IP address (promptly detecting the termination IP addresses of nodes) and virtual pseudo wires sign in this checking virtual circuit connectivity request message;
Wherein, detect the jumping figure of initiating virtual pseudo wires between node and the detection termination node and can confirm, also can dispose definite through the user through network configuration or other parameter.
Step S204: detect and initiate the checking virtual circuit connectivity request message that node sends generation;
Step S206: detect the termination node and receive the checking virtual circuit connectivity request message; Confirm that the checking virtual circuit connectivity request message is to terminate at this node; Generate back message using, the ttl value in this back message using is for detecting the jumping figure of initiating node and detecting virtual pseudo wires between the termination node;
Confirm that the method whether the checking virtual circuit connectivity request message terminates at this node can comprise: resolve the checking virtual circuit connectivity request message and obtain purpose IP address; With purpose IP address and this IP addresses of nodes coupling; If coupling then confirm that this checking virtual circuit connectivity request message is in this node termination is not if match then confirm that this checking virtual circuit connectivity request message is not to terminate at this node; Perhaps; Resolve the checking virtual circuit connectivity request message and obtain purpose IP address and virtual pseudo wires sign; Purpose IP address and virtual pseudo wires sign is marking matched with this IP addresses of nodes and virtual pseudo wires respectively; If coupling then confirm that this checking virtual circuit connectivity request message is in this node termination is not if match then confirm that this checking virtual circuit connectivity request message is not to terminate at this node.
Step S208: detect the termination node and send the back message using that generates;
Step S210: after detection initiation node receives back message using, stop the repeating process of back message using, and carry out handled and accomplish testing process.
After detection initiation node receives back message using, just can confirm that virtual circuit connectivity is normal between detection initiation node and the detection terminal note.
Concrete, initiate to resolve the ttl value that obtains carrying in the back message using after node receives back message using when detecting, when ttl value is 1 or ttl value subtracted 1 when being 0, learn that this back message using is in self termination, stops the repeating process of this back message using.Further; Detect destination node and can combine the ttl value in the back message using whether to confirm this back message using in this node termination with purpose IP address, for example can being utilized in ttl value, to subtract 1 be 0 o'clock, triggering CPU (Central Processing Unit; CPU) handle this back message using; Like CPU the purpose IP address in the back message using and this IP addresses of nodes are mated, if coupling confirms that this back message using is to terminate at this node.Whether CPU can also send checking virtual circuit connectivity request message etc. according to this node of the marking matched verification of virtual pseudo wires that the sign of the virtual pseudo wires in the back message using and this node are preserved, to guarantee connectivity checks more accurately and reliably.
Wherein, the jumping figure of virtual pseudo wires is that (Type-Length-Value, coded format TLV) is encapsulated in the information field of checking virtual circuit connectivity request message according to type-length-value between above-mentioned detection initiation node and the detection termination node.The coded format of TLV is as shown in table 1.Detect to initiate node and the jumping figure that detects the virtual pseudo wires between the node of terminating just in the value of filling in (Value).
Figure G2008102244645D00071
The implication of each field is as shown in table 2 below in the TLV information field:
? Length Content
Type 16bit The type is represented jumping figure
Length 16bit Length
Value 8bit The value of TTL among the VCCV Ping Reply
For example shown in Fig. 2 A, the jumping figure that when detection initiation node initiates to detect the PW between initiation node and the detection termination node is 1, and just the Value in information field inserts 1.
Wherein, detect to initiate node and confirm according to networking structure with the jumping figure that detects virtual pseudo wires between the termination node, for example according to network topology parameter, virtual pseudo wires tabulate, the virtual pseudo wires algorithm one or more confirm; Detecting the jumping figure of initiating virtual pseudo wires between node and the detection termination node also can be disposed definite by the user.Above-mentioned definite detection is initiated node and the step that detects the jumping figure of virtual pseudo wires between the termination node and can initiated node and confirm in this locality by detecting, and also can confirmed and offer to detect the initiation node by center control nodes or service node.
Fig. 2 B is depicted as another embodiment of method of checking virtual circuit connectivity in the communication system, and this embodiment is an example with three nodes, initiates node and detects the termination node like the detection among Fig. 2 B; Comprise 1 detection intermediate node in the middle of detecting the initiation node and detecting the termination node; Its jumping figure is 2, and the node that node representes to initiate the request that detects is initiated in the detection here, detects the termination node and representes to terminate and detect the node of request; Detect intermediate node and represent that transfer detects the node of request, this method comprises:
Step S202 ': detect and initiate node generation checking virtual circuit connectivity request message, carry in this checking virtual circuit connectivity request message and detect the jumping figure of initiating node and detecting virtual pseudo wires between the termination node; Jumping figure is 2 in the present embodiment; Identical among the mode of carrying jumping figure in the checking virtual circuit connectivity request message and Fig. 2 A, repeat no more.Can also comprise the purpose IP address and the virtual pseudo wires sign that detect the termination node in the checking virtual circuit connectivity request message.
Step S204 ': detect and initiate the checking virtual circuit connectivity request message that node sends generation;
Step S205 ': after the detection intermediate node receives the checking virtual circuit connectivity request message, confirm whether this checking virtual circuit connectivity request message terminates at this node;
Wherein, confirm that the checking virtual circuit connectivity request message whether can be identical with step S206 among Fig. 2 A in the method for this node termination, repeats no more.
Step S204 " if the detection intermediate node confirms that this checking virtual circuit connectivity request message is not to terminate at this node in step S205 '; detect intermediate node and continue to send this checking virtual circuit connectivity request message; here, detect the jumping figure that intermediate node can not revised the detection initiation node in the checking virtual circuit connectivity request message and detect virtual pseudo wires between the termination node;
Step S206 ': after detecting termination node reception checking virtual circuit connectivity request message; Confirm that the checking virtual circuit connectivity request message is to terminate at this node; Generate back message using; Wherein, detect the destination node node and the ttl value of responding Bao Wenzhong is set, be about to ttl value and be arranged to detect the jumping figure of initiating virtual pseudo wires between node and the detection termination node based on detecting the jumping figure of initiating virtual pseudo wires between node and the detection termination node; Can also comprise purpose IP address (promptly detect and initiate IP addresses of nodes) and virtual pseudo wires sign in the back message using.
Wherein, confirm the checking virtual circuit connectivity request message whether the method for this node termination can refer step S206 corresponding description, repeat no more.
Step S208 ': detect the termination node and send the back message using that generates;
Step S209 ': after the detection intermediate node receives back message using, confirm whether back message using terminates at this node;
Step S208 ": confirm that back message using is not in this node termination if detect intermediate node among the step S209, continue to send back message using, wherein, the ttl value in the back message using of transmission subtracts 1 according to the agreement regulation.
Step S210 ': after detecting the back message using of initiating the transmission of node reception detection intermediate node; Carry out checking virtual circuit connectivity according to the ttl value in the back message using; Concrete; Confirm that according to the ttl value in the back message using back message using is in this node termination, stops the repeating process of back message using, and carries out handled and accomplish testing process.This step is identical with step S210 among Fig. 2 A, repeats no more at this.
As shown in Figure 3, a kind of network node 300, comprising:
Request message generation module 301; Be used to generate the checking virtual circuit connectivity request message; Carry this detection in this checking virtual circuit connectivity request message and initiate node and the jumping figure that detects virtual pseudo wires between the termination node, initiate node and terminate with detection that the jumping figure of virtual pseudo wires is provided with the ttl value in the back message using between the node based on detecting so that detect the termination node;
Sending module 302 is used for the checking virtual circuit connectivity request message that request message generation module 301 generates is sent to communication system;
Receiver module 303 is used to receive back message using;
Connectivity checks control module 304 is used for carrying out checking virtual circuit connectivity according to this back message using ttl value.
The said method of the checking virtual circuit connectivity request message embodiment of the invention; Detect the termination node and can set the value of life span accurately; No longer, be arranged to very big (255), just can accomplish the inspection of virtual circuit connectivity between each equipment very fast as prior art.
As shown in Figure 4, a kind of network node 400 comprises:
Receiver module 401 is used to receive the checking virtual circuit connectivity request message, carries in this request and detects the jumping figure of initiating node and detecting virtual pseudo wires between the termination node;
Back message using generation module 402 is used for confirming that the checking virtual circuit connectivity request message is after self terminates, and generates back message using, and wherein, the life span value in the back message using that is generated is the jumping figure of said virtual pseudo wires.Wherein, can also comprise purpose IP address (detect and initiate IP addresses of nodes) and virtual pseudo wires sign in the back message using that is generated.
Sending module 403 is used for the back message using that back message using generation module 402 generates is sent.
As shown in Figure 5, a kind of network node 500 comprises:
Request message transceiver module 501; Be used for receiving and transmitting the checking virtual circuit connectivity request message; At definite this virtual circuit connectivity request message is not when this node terminates, to transmit said checking virtual circuit connectivity request message; Wherein, Carry the jumping figure that detects virtual pseudo wires between initiation node and the detection termination node in this virtual circuit connectivity request message, so that detect the termination node is provided with back message using based on the jumping figure of virtual pseudo wires between said detection initiation node and the detection termination node life span value; Here, the jumping figure of the virtual pseudo wires in the checking virtual circuit connectivity request message of forwarding can not be modified;
Back message using transceiver module 502 is used to receive back message using, and the back message using of confirming to receive is revised the life span value in the back message using and transmitted amended back message using not when this node terminates;
Network node 500 can also comprise detection of connectivity control module 503; It is used for confirming that the checking virtual circuit connectivity request message that request message transceiver module 501 receives is not to transmit said checking virtual circuit connectivity request message in this node termination back control request packet sending and receiving module 501, and is used for confirming that back message using that back message using transceiver module 502 receives is not that control back message using transceiver module 502 is revised the amended back message using of forwarding behind the ttl value of back message usings when this node terminate.Wherein, The controlled function of 503 pairs of request message transceiver modules 501 of detection of connectivity control module can be integrated in the request message transceiver module 501, and the controlled function of 503 pairs of back message using transceiver modules 501 of detection of connectivity control module can be integrated in the back message using transceiver module 502.
As shown in Figure 6; The embodiment of the invention also provides a kind of communication system 600, and communication system 600 comprises at least two nodes, like node 610a, 610b, 610c, 610d and 620a, the 620b among Fig. 6; Wherein node 610a, 610b, 610c, 610d are the termination edge device that is arranged in this network system; General designation termination node 610, node 620a, 620b are the switching equipment that is arranged in this network system, general designation switching node 620.A node in the communication system 600 in any two nodes can be used as to detect initiates node; Another node in two nodes is as detecting the termination node; Detect and initiate to carry out the virtual pseudo wires checking virtual circuit connectivity according to Fig. 2 A or the said mode of Fig. 2 B between node and the detection termination node; Concrete virtual pseudo wires checking virtual circuit connectivity process repeats no more referring to mentioned above.Concrete; In the communication system of supporting MPLS; Termination node 610 is virtual pseudo wires destination node provider edge devices (PW Terminating Provider Edge; T-PE), switching node 620 be virtual pseudo wires exchange point provider edge devices (PW Switching Provider Edge, S-PE).
Adopt the said technical scheme of the embodiment of the invention, solved not only that irrealizable S-PE initiatively carries out the problem that VCCV detects in the prior art, and detect the method for other equipment for prior art T-PE, also more convenient.For the ease of understanding the technical scheme of the embodiment of the invention, further specify below in conjunction with concrete application example.
The control channel of VCCV in the application example of the present invention (Control Channel, CC) type has following three kinds of modes:
Class1: preceding 4bit is in the PW E3 control word mode of 0001b beginning;
Type 2: multiprotocol label switching (Multi-Protocol Label Switching, MPLS) route alarm label;
Life span of carrying in the type 3:MPLS PW label or life-span (Time To Live, TTL)==1.
Application example one:
Shown in Fig. 1, T-PE1 checks the method that S-PE is connective through VCCV:
Step S701:T-PE1 confirms the jumping figure of PW between T-PE1 and the S-PE, and the jumping figure of PW between T-PE1 and the S-PE is encapsulated in the checking virtual circuit connectivity request message;
For example; T-PE1 confirms that the jumping figure of PW between T-PE1 and the S-PE is 1, when generating the checking virtual circuit connectivity request message, is encapsulated in the checking virtual circuit connectivity request message according to the coded format of the TLV jumping figure 1 with PW; Wherein, the value of the Value field of TLV is set at the jumping figure 1 of PW;
Step S702:T-PE1 is according to the VCCV type that is provided with, and the mode of stipulating according to agreement sends to S-PE with this checking virtual circuit connectivity request message;
For example, when Class1 among the employing VCCV or type 3, said checking virtual circuit connectivity request message is sent to S-PE according to VCCV agreement regulation.
Step S703:S-PE receives this checking virtual circuit connectivity request message; Confirm that this checking virtual circuit connectivity request message is in self termination, is encapsulated into the jumping figure of PW between T-PE1 that carries in the checking virtual circuit connectivity request message and the S-PE in the back message using as ttl value;
Step S704:S-PE sends to T-PE1 according to the VCCV agreement with back message using;
Step S705:T-PE1 receives back message using, confirms that according to the ttl value in the back message using back message using is in this equipment termination, stops the back message using repeating process, and carries out handled to accomplish inspection.Specifically can repeat no more referring to the preceding text associated description.
Application example two:
T-PE1 comprises through the connective method of VCCV inspection T-PE2:
Step S801:T-PE1 confirms the jumping figure of the PW between T-PE1 and the T-PE2, and the jumping figure of the PW between T-PE1 and the T-PE2 is encapsulated into the checking virtual circuit connectivity request message;
For example, T-PE1 confirms that the jumping figure of PW between T-PE1 and the T-PE2 is 2, in the request message, according to the coded format of TLV the value of the Value field of TLV is set at 2, and is encapsulated in the checking virtual circuit connectivity request message;
Step S802:T-PE1 is according to the VCCV type that is provided with, and the mode of stipulating according to agreement sends to T-PE2 through S-PE with this checking virtual circuit connectivity request message; Wherein the VCCV type is Class1 or type 3, according to the different choice different protocol regulation of type.Here, S-PE can not make amendment to the jumping figure of T-PE1 in this checking virtual circuit connectivity request message and the PW between the T-PE2.
Step S803:T-PE2 receives this checking virtual circuit connectivity request message, and the jumping figure of PW between T-PE1 that carries in the checking virtual circuit connectivity request message and the T-PE2 is encapsulated in the back message using as ttl value; Should be set to the jumping figure 2 of PW with the ttl value of back message using in the instance;
Step S804:T-PE2 sends back message using according to transmission path; This back message using can be sent out to S-PE,
Step S805:S-PE receives this back message using; Parsing obtains ttl value, confirms that according to ttl value this back message using is not in self termination, transmits back message using; Wherein, Ttl value in the back message using of S-PE transmission is through revising, and is concrete, and the ttl value that S-PE obtains parsing subtracts to be encapsulated in the new back message using after 1 or to subtract the value of replacing the TTL in the back message using after 1 with the ttl value that parsing obtains to be transmitted;
Concrete, be 2 like the jumping figure of PW between T-PE1 and the T-PE2, it is 1 that S-PE resolves the value that the ttl value that obtains subtracts after 1, according to the VCCV agreement, this back message using is sent to T-PE1;
Step S806:T-PE1 receives back message using, confirms that according to the ttl value in the back message using back message using is in self termination, stops the back message using repeating process, and carries out handled to accomplish inspection.
Wherein, Confirm that according to ttl value whether back message using in this equipment termination specifically can be: judge whether resolve the TTL that obtains be 1 or judge whether after resolving the TTL that obtains subtracts 1 be 0; If not confirming that then back message using is not in this equipment termination, be in self termination if then confirm back message using; Or combine the purpose IP address in ttl value and the back message using to judge.
Wherein, only equaling 2 with the PW jumping figure between T-PE1 and the T-PE2 in the above-described embodiments is that example describes, and this scheme also can expand to PW jumping figure between T-PE1 and the T-PE2 greater than 2 situation.The PW jumping figure between T-PE1 and the T-PE2 greater than 2 situation under, comprise also and transmit the process of processing according to transmission path between S-PE and the S-PE that principle and above-mentioned S-PE are identical to T-PE1/T-PE2's, repeat no more.
Application example three:
With reference to figure 1, initiate node, the connectivity checks method of carrying out as detection by S-PE
Below, be that example describes with S-PE through the connective method of VCCV inspection T-PE1, this method comprises:
Step S901:S-PE confirms the jumping figure of the PW between S-PE and the T-PE1, and the jumping figure of the PW between S-PE and the T-PE1 is encapsulated in the checking virtual circuit connectivity request message;
For example, S-PE confirms that the jumping figure of the PW between S-PE and the T-PE1 is 1, when generating the checking virtual circuit connectivity request message, is encapsulated in the checking virtual circuit connectivity request message according to the form of the TLV jumping figure 1 with PW;
Step S902:S-PE is according to the VCCV type that is provided with, and the mode of stipulating according to agreement sends to T-PE1 with this checking virtual circuit connectivity request message;
Step S903:T-PE1 receives this checking virtual circuit connectivity request message, and the jumping figure of the PW in the checking virtual circuit connectivity request message is encapsulated in the back message using as ttl value;
Step S904:T-PE1 sends to S-PE according to transmission path with back message using;
Step S905:S-PE receives back message using, confirms that according to the ttl value in the back message using message is in self termination, stops the back message using repeating process, and back message using is carried out handled to accomplish inspection.
S-PE is through the connective method of VCCV inspection T-PE2, and is identical through the connective method of VCCV inspection T-PE1 with S-PE, repeats no more at this.
It should be noted that: only equaling 1 with the jumping figure of the PW between S-PE1 and the T-PE1/T-PE2 in the above-described embodiments is that example describes, and the jumping figure that this scheme also can expand to the PW between S-PE1 and the T-PE1/T-PE2 is greater than 1 situation.The PW jumping figure between T-PE1 and the T-PE2 greater than 1 situation under, comprise also and transmit the process of processing according to transmission path between S-PE and the S-PE that principle and above-mentioned S-PE are identical to T-PE1/T-PE2's, repeat no more.
One of ordinary skill in the art will appreciate that all or part of flow process that realizes in the foregoing description method; Be to instruct relevant hardware to accomplish through computer program; Described program can be stored in the computer read/write memory medium; This program can comprise the flow process like the embodiment of above-mentioned each side method when carrying out.Wherein, described storage medium can be magnetic disc, CD, read-only storage memory body (Read-Only Memory, ROM) or at random store memory body (Random Access Memory, RAM) etc.
The above; Be merely the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, any technical staff who is familiar with the present technique field is in the technical scope that the present invention discloses; The variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.

Claims (12)

1. the method for a checking virtual circuit connectivity is characterized in that, comprising:
Receive the checking virtual circuit connectivity request message, carry in the said checking virtual circuit connectivity request message and detect the jumping figure of initiating node and detecting virtual pseudo wires between the termination node;
Confirm whether the checking virtual circuit connectivity request message that receives terminates at this node; If the checking virtual circuit connectivity request message that receives is to terminate at this node; Generate and send back message using; Wherein, the life span value in the said back message using is set to the jumping figure of said virtual pseudo wires, so that when said detection initiation node receives said back message using; Resolve the life span value in the said back message using; At definite said back message using is when this node terminates, and stops the repeating process of said back message using, carries out checking virtual circuit connectivity according to the life span value in the said back message using.
2. the method for claim 1 is characterized in that, the jumping figure of virtual pseudo wires is packaged in the checking virtual circuit connectivity request message with the coded format of type-length-value between said detection initiation node and the detection termination node.
3. the method for a checking virtual circuit connectivity is characterized in that, said method comprises:
Generate and send the checking virtual circuit connectivity request message; Carry in the said checking virtual circuit connectivity request message and detect the jumping figure of initiating virtual pseudo wires between node and the detection termination node, so that the jumping figure that detection termination node is initiated virtual pseudo wires between node and the detection termination node based on said detection is provided with the life span value in the back message using;
Receiving back message using, resolve the life span value in the said back message using, is when this node terminates at definite said back message using, stops the repeating process of said back message using, carries out checking virtual circuit connectivity according to the life span value in the said back message using.
4. method as claimed in claim 3; It is characterized in that; The process of carrying out checking virtual circuit connectivity according to the life span value in the back message using comprises: resolve back message using and obtain the life span value; When life span is 1 or life span subtracted 1 when being 0, confirm that this back message using is in this node termination, stops the repeating process of back message using.
5. method as claimed in claim 3; It is characterized in that; The process of carrying out checking virtual circuit connectivity according to the life span value in the back message using comprises: resolve back message using and obtain life span value and purpose IP address; When the life span value is 1 or the life span value is subtracted 1 is 0 and during purpose IP address and this node IP address coupling, confirm that this back message using is in this node termination, stops the repeating process of back message using.
6. a network node is characterized in that, comprising:
Request message generation module (301); Be used to generate the checking virtual circuit connectivity request message; Said checking virtual circuit connectivity request message carries detection initiation node and detects the jumping figure of virtual pseudo wires between the termination node, so that said detection termination node is provided with the life span value of back message using according to the jumping figure of virtual pseudo wires between said detection initiation node and the detection termination node;
Sending module (302) is used to send the checking virtual circuit connectivity request message of generation;
Receiver module (303) is used to receive back message using;
Connectivity checks module (304); Be used for resolving the life span value of said back message using; At definite said back message using is when this node terminates, and stops the repeating process of said back message using, carries out checking virtual circuit connectivity according to the life span value in the said back message using.
7. a network node is characterized in that, comprising:
Receiver module (401) is used to receive the checking virtual circuit connectivity request message, carries in this request and detects the jumping figure of initiating node and detecting virtual pseudo wires between the termination node;
Back message using generation module (402) is used for confirming that the checking virtual circuit connectivity request message is after self terminates, and generates back message using, and wherein, the life span value in the back message using that is generated is the jumping figure of said virtual pseudo wires;
Sending module (403) is used to send said back message using.
8. a network node is characterized in that, said network node comprises:
Request message transceiver module (501); Be used for receiving and transmitting the checking virtual circuit connectivity request message; At definite said checking virtual circuit connectivity request message is not when this node terminates, to transmit said checking virtual circuit connectivity request message; Wherein, Carry the jumping figure that detects virtual pseudo wires between initiation node and the detection termination node in this checking virtual circuit connectivity request message, so that detect the termination node is provided with back message using based on the jumping figure of virtual pseudo wires between said detection initiation node and the detection termination node life span value;
Back message using transceiver module (502) is used to receive back message using, and the back message using of confirming to receive is revised the life span value in the back message using and transmitted amended back message using not when this node terminates.
9. network node according to claim 8 is characterized in that, said network node also comprises:
Detection of connectivity control module (503); Be used for confirming that the checking virtual circuit connectivity request message that request message transceiver module (501) receives is not after this node termination; Control request packet sending and receiving module (501) is transmitted said checking virtual circuit connectivity request message; And being used for confirming that the back message using that back message using transceiver module (502) receives is not when this node terminates, control back message using transceiver module (502) is transmitted amended back message using after revising the life span value in the back message using.
10. a communication system is characterized in that, comprising: detect and initiate node and detect the termination node,
Said detection is initiated node and is comprised:
The request message generation module; Be used to generate the checking virtual circuit connectivity request message; Said checking virtual circuit connectivity request message carries detection initiation node and detects the jumping figure of virtual pseudo wires between the termination node, so that said detection termination node is provided with the life span value of back message using according to the jumping figure of virtual pseudo wires between said detection initiation node and the detection termination node;
Sending module is used to send the checking virtual circuit connectivity request message of generation;
Receiver module is used to receive back message using;
The connectivity checks module; Be used for resolving the life span value of said back message using; At definite said back message using is when this node terminates, and stops the repeating process of said back message using, carries out checking virtual circuit connectivity according to the life span value in the said back message using.
Detecting the termination node comprises:
Receiver module is used to receive the checking virtual circuit connectivity request message, carries in this request and detects the jumping figure of initiating node and detecting virtual pseudo wires between the termination node;
The back message using generation module is used for confirming that the checking virtual circuit connectivity request message is after self terminates, and generates back message using, and wherein, the life span value in the back message using that is generated is the jumping figure of said virtual pseudo wires;
Sending module is used to send said back message using.
11. communication system according to claim 10 is characterized in that, said communication system also comprises the detection intermediate node, and said detection intermediate node comprises:
The request message transceiver module; Be used for receiving and transmitting the checking virtual circuit connectivity request message; At definite said checking virtual circuit connectivity request message is not when this node terminates, to transmit said checking virtual circuit connectivity request message; Wherein, Carry the jumping figure that detects virtual pseudo wires between initiation node and the detection termination node in this checking virtual circuit connectivity request message, so that detect the termination node is provided with back message using based on the jumping figure of virtual pseudo wires between said detection initiation node and the detection termination node life span value;
The back message using transceiver module is used to receive back message using, and the back message using of confirming to receive is revised the life span value in the back message using and transmitted amended back message using not when this node terminates.
12., it is characterized in that it is virtual pseudo wires exchange point provider edge devices that node is initiated in said detection like claim 10 or 11 described communication systems, detecting the termination node is virtual pseudo wires destination node provider edge devices; Perhaps, said detection is initiated node and is virtual pseudo wires destination node provider edge devices with detection termination node.
CN2008102244645A 2008-10-15 2008-10-15 Method for checking virtual circuit connectivity, network node and communication system Active CN101409656B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2008102244645A CN101409656B (en) 2008-10-15 2008-10-15 Method for checking virtual circuit connectivity, network node and communication system
PCT/CN2009/074250 WO2010043149A1 (en) 2008-10-15 2009-09-27 Method, network node and communication system for virtual circuit connectivity verification

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008102244645A CN101409656B (en) 2008-10-15 2008-10-15 Method for checking virtual circuit connectivity, network node and communication system

Publications (2)

Publication Number Publication Date
CN101409656A CN101409656A (en) 2009-04-15
CN101409656B true CN101409656B (en) 2012-04-18

Family

ID=40572459

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008102244645A Active CN101409656B (en) 2008-10-15 2008-10-15 Method for checking virtual circuit connectivity, network node and communication system

Country Status (2)

Country Link
CN (1) CN101409656B (en)
WO (1) WO2010043149A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101409656B (en) * 2008-10-15 2012-04-18 华为技术有限公司 Method for checking virtual circuit connectivity, network node and communication system
CN102055619A (en) * 2009-11-02 2011-05-11 中兴通讯股份有限公司 Method and system for realize fault detection in bidirectional path segment
CN102315989B (en) * 2011-09-16 2015-03-25 华为技术有限公司 Method for detecting multi-section pseudowire (MS-PW) and equipment and system
CN107645401A (en) * 2016-07-22 2018-01-30 中兴通讯股份有限公司 The detection of multiprotocol label switching, processing method, apparatus and system
CN109067608A (en) * 2018-07-06 2018-12-21 杭州涂鸦信息技术有限公司 A method of measuring and calculating IP packet is from equipment to hop count public network gateway
CN110912824B (en) * 2019-11-27 2021-08-31 美的集团股份有限公司 Method and device for determining survival time value of multi-hop network node

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1910856A (en) * 2004-01-20 2007-02-07 北电网络有限公司 Ethernet differentiated services

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8331243B2 (en) * 2006-02-24 2012-12-11 Rockstar Consortium USLP Multi-protocol support over Ethernet packet-switched networks
US7860022B2 (en) * 2006-12-21 2010-12-28 Verizon Patent And Licensing Inc. Multifunctional control channel for pseudowire emulation
CA2670766A1 (en) * 2007-01-17 2008-07-24 Nortel Networks Limited Method and apparatus for interworking ethernet and mpls networks
CN101409656B (en) * 2008-10-15 2012-04-18 华为技术有限公司 Method for checking virtual circuit connectivity, network node and communication system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1910856A (en) * 2004-01-20 2007-02-07 北电网络有限公司 Ethernet differentiated services

Also Published As

Publication number Publication date
CN101409656A (en) 2009-04-15
WO2010043149A1 (en) 2010-04-22

Similar Documents

Publication Publication Date Title
CN101409656B (en) Method for checking virtual circuit connectivity, network node and communication system
CN105812197B (en) Bit forwarding entry router, bit forwarding router and operation management maintenance detection method
CN103858391B (en) Make MPLS paths loopback for connectionless MPLS network in forwarding plane
CN101459594B (en) BFD packet transmitting method, link failure detection method and apparatus
CN102404145B (en) The detection method of multi-protocol label switching ring network, Apparatus and system
CN108768788A (en) Path failure detection method and device
CN105704029B (en) Pseudo wire establishing method, system and equipment
CN101459547B (en) Label forwarding path failure detection method and system
CN102177681A (en) Fault detection method and system
US9300569B2 (en) Compressing data packet routing information using bloom filters
CN104168157B (en) Network connectivity detection method and device
US9948434B2 (en) Method for bit error rate detection, and network device
CN104243320A (en) Method and device for optimizing network access paths
US8724451B2 (en) Method for protecting a pseudo-wire
CN103840980A (en) Method and device for detecting connectivity of bidirectional LSP
CN106559280A (en) Bidirectional forwarding detection (BFD) method and device
CN101252528B (en) Method and apparatus for detecting malfunction
CN101771604A (en) Routing detection method, system and intermediate routing device
CN105634776A (en) Method and device for determining message forwarding interface
JP2006174451A (en) Method for tracing route in wireless network including multiple nodes and wireless network of nodes configured to trace route
CN112491647B (en) Switch message testing method, system and related device
CN102204169A (en) Fault detection method, route node and system
CN104780083A (en) High-timeliness low-voltage power line communication networking algorithm based on time division multiplexing mechanism
CN101335714A (en) Load sharing method and apparatus or fast rerouting method and apparatus
CN107645401A (en) The detection of multiprotocol label switching, processing method, apparatus and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant