CN102025619A - Method and system as well as equipment for transmitting response message - Google Patents
Method and system as well as equipment for transmitting response message Download PDFInfo
- Publication number
- CN102025619A CN102025619A CN2010105719499A CN201010571949A CN102025619A CN 102025619 A CN102025619 A CN 102025619A CN 2010105719499 A CN2010105719499 A CN 2010105719499A CN 201010571949 A CN201010571949 A CN 201010571949A CN 102025619 A CN102025619 A CN 102025619A
- Authority
- CN
- China
- Prior art keywords
- message
- ltm
- network equipment
- message information
- ethernet link
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
- H04L43/0811—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/10—Active monitoring, e.g. heartbeat, ping or trace-route
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/10—Scheduling measurement reports ; Arrangements for measurement reports
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Health & Medical Sciences (AREA)
- Cardiology (AREA)
- General Health & Medical Sciences (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The embodiment of the invention relates to the technical field of electronic information, in particular to a method and system as well as equipment for transmitting a response message, solving the problem that when the link state at Ethernet is detected, the Ethernet link state in a packet switch net (PSN) tunnel can not be detected, so that the inconvenience is brought for the detection and maintenance of the whole network. The method in the embodiment of the invention comprises the following steps: first network equipment generates a monitoring massage containing long term memory (LTM) message information; the monitoring massage is sent to second network equipment through a pseudo wire (PW); and the second network equipment generates a first response message containing long term repeat (LTR) message according to the LTM message information, and returns the first response message back to the first network equipment through the PW. By using the method provided by the embodiment of the invention, the Ethernet link state in the PSN tunnel can be detected, thereby providing convenience for the detection and maintenance of the whole network.
Description
Technical field
The present invention relates to the electronic information technology technical field, particularly a kind of method, system and equipment that sends response message.
Background technology
PSN (Packet Switch Net, packet network) tunnel is meant IP (Internet Protocol, Internet protocol)/MPLS (Multi-protocol Label Switching, the multi-label protocol exchange) MPLS LSP (the Label Switching Path on the network, label switched path) or L2TP (Layer 2 TunnelingProtocol, two-layer protocol tunnel).Wherein, many PW (Pseudo Wire, pseudo-line) can be multiplexing in a PSN tunnel, realizes the transmission between two PE (Provider Edge, supplier's boundary node) equipment.
On present IP/MPLS backbone network, generally all use a kind of selection that PWE3 (Pseudo Wire EmulationEdge-to-Edge, Pseudo Wire Emulation Edge-to-Edge) transmits as data service.
And along with the IP/MPLS networks development, for the detection of present IP/MPLS backbone network and protected mode also progressively development get up.
We can detect respectively PWE3 and ether (ETH) network by detection mode, but initiate based on ETH OAM (Operation Administration andMaintenance from the Ethernet side now, operation, administer and maintain) ETH-LTM (Ethernet trace message) can only detect the Link State of Ethernet side (AC between the CE-PE equipment just), and be the PE device node that is transparent to an other end as a data payload by PWE3 in the PSN network, so just can't the Ethernet Link State in the PSN tunnel be detected, thereby the detection and the maintenance of whole network are made troubles.
In sum, can only detect the Link State of Ethernet side at present, can't the Ethernet Link State in the PSN tunnel be detected, thereby the detection and the maintenance of whole network are made troubles.
Summary of the invention
The embodiment of the invention provides a kind of method, system and equipment that sends response message, in order to solve the Link State of the detection Ethernet side that exists in the prior art, can't the Ethernet Link State in the PSN tunnel be detected, thus the problem that the detection and the maintenance of whole network are made troubles.
A kind of method that sends response message that the embodiment of the invention provides comprises:
First network equipment generates the supervisory messages comprise trace message LTM message information, by pseudo-line PW to second network equipment transmitting supervisory messages;
Described second network equipment generates first response message that comprises the LTR message information according to described LTM message information, and returns to described first network equipment by PW.
A kind of PE equipment that the embodiment of the invention provides comprises:
The first supervisory messages generation module is used to generate the supervisory messages that comprises the LTM message information;
The first supervisory messages sending module is used for by PW to the next node transmitting supervisory messages.
A kind of intermediary device that the embodiment of the invention provides comprises:
First information generation module after being used for receiving supervisory messages by PW, according to the LTM message information in the supervisory messages, generates first response message that comprises the LTR message information;
Return module, be used for returning described first response message by PW.
A kind of system that sends response message that the embodiment of the invention provides comprises:
First network equipment is used to generate the supervisory messages that comprises the LTM message information, by PW to second network equipment transmitting supervisory messages;
Second network equipment is used for according to described LTM message information, generates first response message that comprises the LTR message information, and returns to described first network equipment by PW.
Because second network equipment can be according to the LTM message information in the detect-message of receiving, generation comprises first response message of LTR message information, and return first response message by PW, thereby can the Ethernet Link State in the PSN tunnel be detected, the detection and the maintenance of whole network are provided convenience.
Description of drawings
Fig. 1 sends the method flow schematic diagram of response message for the embodiment of the invention;
Fig. 2 is an embodiment of the invention application scenarios schematic diagram;
Fig. 3 receives handling process schematic diagram after the message for embodiment of the invention PE by ethernet link;
Fig. 4 receives handling process schematic diagram after the message for embodiment of the invention PE by PW;
Fig. 5 is an embodiment of the invention intermediary device schematic flow sheet;
Fig. 6 A is an embodiment of the invention LTM message format schematic diagram;
Fig. 6 B is an embodiment of the invention LTR message format schematic diagram;
Fig. 7 A handles schematic diagram for embodiment of the invention PE1 receives the LTM message that CE1 sends;
Fig. 7 B handles schematic diagram for embodiment of the invention P1 receives the pw-eth-oam message that PE1 sends over;
Fig. 7 C handles schematic diagram for embodiment of the invention P2 receives the pw-eth-oam message that P1 sends over;
Fig. 7 D handles schematic diagram for embodiment of the invention P3 receives the pw-eth-oam message that P2 sends over;
Fig. 7 E handles schematic diagram for embodiment of the invention PE2 receives the pw-eth-oam message that P3 sends over;
Fig. 8 sends the system configuration schematic diagram of response message for the embodiment of the invention;
Fig. 9 is the structural representation of embodiment of the invention PE;
Figure 10 is the structural representation of embodiment of the invention intermediary device.
Embodiment
The embodiment of the invention first network equipment generates the supervisory messages that comprises trace message LTM message information, and by the PW transmitting supervisory messages, second network equipment generates first response message that comprises the LTR message information according to the LTM message information, and returns by PW.Because second network equipment can be according to the LTM message information in the detect-message of receiving, generation comprises first response message of LTR message information, and return first response message by PW, thereby can the Ethernet Link State in the PSN tunnel be detected, the detection and the maintenance of whole network are provided convenience.
Below in conjunction with Figure of description the embodiment of the invention is described in further detail.
As shown in Figure 1, the method for embodiment of the invention transmission response message comprises the following steps:
Wherein, first network equipment can be PE equipment or intermediary device; Second network equipment can be PE equipment or intermediary device.Below the branch situation describe.
One, first network equipment is a PE equipment, and second network equipment is an intermediary device.
Concrete, in the step 101, first network equipment is resolved ETH-LTM (Ethernet-trace message) message of receiving by ethernet link, obtain the LTM message information, revise the TTL (Time To Live, life span) in the LTM message information, and according to PW-OAM (pseudo-line-Operations, Administration and Maintenance) message format, amended LTM message information is encapsulated, generate supervisory messages.
In the step 101, first network equipment is determined the PW of the ethernet link correspondence of carrying LTM message according to the PW that sets in advance and the mapping relations of ethernet link, and the PW transmitting supervisory messages by determining.
In the step 102, second network equipment is according to the LTM message information in the supervisory messages of receiving, generate the LTR message information, and according to PW-OAM (pseudo-line-Operations, Administration and Maintenance) message format, LTR (link tracing response) message information is encapsulated, generate first response message, and return first response message to first network equipment.
Wherein, after second network equipment is received supervisory messages, from supervisory messages, extract the LTM message information, revise the TTL in the LTM message information, and, amended LTM message information is encapsulated according to the PW-OAM message format, generate new supervisory messages, send to next node by PW.
Further, after second network equipment is received first response message by PW, by PW upwards a node transmit first response message of receiving.
Wherein, if first network equipment is not revised the source node sign in the step 101, then second network equipment knows that first response message of passback sends to CE, can further include after step 102:
First network equipment is according to the mapping relations of PW and ethernet link, determine the ethernet link of the PW correspondence of carrying first response message, according to the LTR message information in first response message, generate ETH-LTR (Ethernet-link tracing response) message, and send by the ethernet link of determining.
Wherein, if revise the source node sign in the step 101 in first network equipment, then second network equipment knows that first response message of passback sends to first network equipment, then first network equipment is received after the ETH-LTM message, before the transmitting supervisory messages, source node in LTM message information sign is revised as the sign of self, and will obtains in the mapping relations that the LTM message information joins PW and ethernet link; Accordingly, after step 102, can further include:
First network equipment is according to the mapping relations of LTM message information, PW and ethernet link, determine the LTM message information and the ethernet link of the PW correspondence of carrying first response message, generate the ETH-LTR message according to the LTM message information of determining, and send by the ethernet link of determining.
Two, first network equipment is an intermediary device, and second network equipment is an intermediary device.
Concrete, in the step 101, first network equipment extracts the LTM message information from the supervisory messages of receiving by PW from a last node, revise the TTL in the LTM message information, and according to the PW-OAM message format, amended LTM message information is encapsulated, generate new supervisory messages; Concrete, in the step 102, first network equipment sends new supervisory messages by PW to next node.
Further because first network equipment is intermediary device, after then first network equipment is received first response message of next node by PW, by PW upwards a node transmit first response message of receiving.
In the step 101, first network equipment receive from behind the supervisory messages of a node, according to the LTM message information in the supervisory messages, generate the LTR message information,, the LTR message information is encapsulated according to the PW-OAM message format, generate first response message, and by upwards node transmission of PW.
In the step 102, second network equipment is according to the LTM message information in the supervisory messages of first network equipment transmission of receiving, generate the LTR message information, according to the PW-OAM message format, the LTR message information is encapsulated, generate first response message, and return first response message to first network equipment by PW.
Further, in the step 102, second network equipment is received after the supervisory messages, from supervisory messages, extract the LTM message information, revise the TTL in the LTM message information, and, amended LTM message information is encapsulated according to the PW-OAM message format, generate new supervisory messages, send to next node by PW.
Wherein, after second network equipment is received first response message of next node by PW, by PW upwards a node transmit first response message of receiving.
Three, first network equipment is an intermediary device, and second network equipment is a PE equipment.
Concrete, in the step 101, first network equipment extracts the LTM message information from the supervisory messages of receiving by PW from a last node, revise the TTL in the LTM message information, and according to the PW-OAM message format, amended LTM message information is encapsulated, generate new supervisory messages; Concrete, in the step 102, first network equipment sends new supervisory messages by PW to next node.
Further because first network equipment is intermediary device, after then first network equipment is received first response message of next node by PW, by PW upwards a node transmit first response message of receiving.
In the step 101, first network equipment receive from behind the supervisory messages of a node, according to the LTM message information in the supervisory messages, generate the LTR message information,, the LTR message information is encapsulated according to the PW-OAM message format, generate first response message, and by upwards node transmission of PW.
In the step 102, second network equipment is according to the LTM message information in the supervisory messages of first network equipment transmission of receiving, generate the LTR message information, according to the PW-OAM message format, the LTR message information is encapsulated, generate first response message, and return first response message to first network equipment by PW.
In the step 102, second network equipment is received after the supervisory messages mapping relations according to PW and ethernet link, determine the ethernet link of the PW correspondence of carrying supervisory messages, according to the LTM message information in the supervisory messages, generate the ETH-LTM message, and ethernet link transmission ETH-LTM message by determining, after receiving second response message that sends by ethernet link, mapping relations according to PW and ethernet link, determine the PW of the ethernet link correspondence of carrying second response message, according to the LTM message information in second response message, generate the LTR message information,, the LTR message information is encapsulated according to the PW-OAM message format, generate first response message, and send first response message by the PW that determines.
If do not receive first response message that respective nodes is returned, it is unusual to confirm that then this node occurs.
With concrete scene the present invention is described in detail below.
As shown in Figure 2, in the embodiment of the invention application scenarios schematic diagram, PE1 and PE2 are access device or router, CE1 and CE2 are subscriber equipment, connect by the MPLS network in the middle of two PE equipment, three LSR (Label switch router, label switching router) have formed the MPLS network as P node (being intermediary device).
Dispose MEP (Maitance edge port, maintenance field fringe node) at CE1 and CE2; On PE1 and PE2 node, dispose MEP respectively; CE1 sends ETH-LTM message to CE2, to detect CE1 to the ETH-LT between the CE2 (ethernet link tracking) state.
Concrete, CE1 sends the ETH-LTM message to PE1;
PE1 generates the LTR message and returns to CE1 according to the ETH-LTM message earlier, resolve the ETH-LTM message of receiving by ethernet link simultaneously, obtain the LTM message information, revise the TTL in the LTM message information, and according to the PW-OAM message format, amended LTM message information is encapsulated, generate supervisory messages, mapping relations according to PW that sets in advance and ethernet link, determine the PW of the ethernet link correspondence of carrying LTM message, and the PW transmitting supervisory messages by determining, said process can be referring to Fig. 7 A.
Wherein, the mapping relations of PW and ethernet link can store in the PW-ETH-OAM table in advance.
The supervisory messages that PE1 sends comprises the PW-OAM message, and the back hangs a LTM message.
As shown in Figure 6A, encapsulated the relevant information of ETH-OAM (Ethernet-Operations, Administration and Maintenance) in the ETH-LTM message that the PE node is received, when PE node control face is handled the PW-OAM flow process of front, can whether dispose PW-ETH-OAM (pseudo-line-Ethernet-Operations, Administration and Maintenance) function according to this node and judge whether to resolve the data division that articulates later.Everybody sign in the LTM data division is as follows:
TLV-TYPE: what this flag bit=11 signs articulated later is the LTM data division;
TLV-LENTH: be the length of back LTR data division;
MEL: the MEG grade of Ethernet;
VERSION: version number;
OpCode: the type of this data division;
LTR-LENTH: length;
The field of TTL:1 byte, the carrying ttl value;
OriginMAC: the initial MAC of this detection;
TargetMAC: the Destination MAC of this detection.
Further, PE1 can also be after receiving the ETH-LTM message, except revising TTL, the sign of the source node in the LTM message information can also be revised as the sign of self, and will obtain in the mapping relations that the LTM message information joins PW and ethernet link.
PE1 is by after the PW transmitting supervisory messages, after P1 receives supervisory messages, resolve the LTM message information that articulates in the supervisory messages, according to the LTM message information in the supervisory messages, generate the LTR message information, according to the PW-OAM message format, the LTR message information is encapsulated, generate first response message, and send first response message to PE1 by PW, and the TTL in the modification LTM message information, and according to the PW-OAM message format, amended LTM message information is encapsulated, generate new supervisory messages, send to P2 by PW.
Monitoring first response message that P1 sends comprises the PW-OAM message, and face is hung a LTR message.
Shown in Fig. 6 B, the data division after MEL is the LTR message that articulates, and this message is explained as follows:
TLV-TYPE: what this flag bit=12 signs articulated later is the LTR data division;
TLV-LENTH: be the length of back LTR data division;
MEL: the MEG grade of Ethernet;
VERSION: version number
OpCode: the type of this data division;
LTR-LENTH: length;
The field of TTL:1 byte, its value is duplicated from LTM, successively decreases 1 before duplicating;
Reply MAC: the node M AC that should time detect mutually;
DstMAC: duplicate the OriginMAC among the LTM.
PE1 is after receiving first response message that P1 sends, if PE1 does not revise the source contact sign, then PE1 is according to the mapping relations of PW and ethernet link, determine the ethernet link of the PW correspondence of carrying first response message, according to the LTR message information in first response message, generate the ETH-LTR message, and send the ETH-LTR message to CE1 by the ethernet link of determining; If PE1 revises the source contact sign, mapping relations according to LTM message information, PW and ethernet link, determine the LTM message information and the ethernet link of the PW correspondence of carrying first response message, generate the ETH-LTR message according to the LTM message information of determining, and passing through definite ethernet link to CE1 transmission ETH-LTR message, said process can be referring to Fig. 7 B.
P2 receive processing mode and the P1 of the supervisory messages of P1 receive the processing mode of PE1 identical you, specifically can not repeat them here referring to Fig. 7 C.
P3 receive processing mode and the P1 of the supervisory messages of P2 receive the processing mode of PE1 identical you, specifically can not repeat them here referring to Fig. 7 D.
Wherein, P1 transmits to PE1 after receiving first response message that P2, P3 and PE2 send; P2 transmits to P1 after receiving first response message that P3 and PE2 send; P3 transmits to P2 after receiving first response message that PE2 sends.
After PE2 receives supervisory messages from P3 by PW, because PE2 has been the terminal point of PW-OAM, resolve the LTM message information that articulates in the supervisory messages, according to the LTM message information in the supervisory messages, generate the LTR message information,, the LTR message information is encapsulated according to the PW-OAM message format, generate first response message, and send first response message to PE1 by PW; PE2 determines the ethernet link of the PW correspondence of carrying supervisory messages according to the mapping relations of PW and ethernet link then, according to the LTM message information in the supervisory messages, generates the ETH-LTM message, and sends the ETH-LTM message by the ethernet link of determining.
CE2 returns second response message to PE2 after receiving the ETH-LTM message, i.e. the ETH-LTR message.
PE2 is after receiving second response message that sends by ethernet link, mapping relations according to PW and ethernet link, determine the PW of the ethernet link correspondence of carrying second response message, according to the LTM message information in second response message, generate the LTR message information, according to the PW-OAM message format, the LTR message information is encapsulated, generate first response message, and send first response message to PE1 by the PW that determines, specifically can be referring to Fig. 7 E.
Preferable, can also on PE1 node, PE2, P1 and P3, enable the PW-ETH-OAM function, be switch of the new function setting of the present invention, if open then handle,, then handle according to common flow process if close according to the solution of the present invention.
PE1, PE2, P1, P2 and P3 can be referring to 7.3 chapters and sections in y.1731 at the processing of LTM leopard line and LTR message.
In force, CE1 can judge whether concrete link goes wrong and where go wrong according to the response message of receiving, receive the response message of P1, P2 such as CE1, but do not receive the response message of P3, can determine that then link and/or P3 between P2 and the P3 go wrong, thereby reach the purpose that the Ethernet Link State in the PSN tunnel is detected.
As shown in Figure 3, embodiment of the invention PE receives that by ethernet link the handling process after the message comprises the following steps:
As shown in Figure 4, embodiment of the invention PE receives that by PW the handling process after the message comprises the following steps:
If the PW-ETH-OAM message has articulated the LTM message information, then the PW-ETH-OAM message is a supervisory messages; If the PW-ETH-OAM message has articulated the LTR message, then the PW-ETH-OAM message is first response message.
As shown in Figure 5, embodiment of the invention intermediary device flow process comprises the following steps:
If articulated the LTM message information in the PW-ETH-OAM message, then the PW-ETH-OAM message is a supervisory messages; If articulated the LTR message in the PW-ETH-OAM message, then the PW-ETH-OAM message is first response message.
Based on same inventive concept, a kind of system, PE and intermediary device of ethernet link also are provided in the embodiment of the invention, because the principle that these equipment are dealt with problems is similar to the method that sends response message, therefore the enforcement of these equipment can repeat part and repeat no more referring to the enforcement of method.
As shown in Figure 8, the system of embodiment of the invention transmission response message comprises: first network equipment 10 and second network equipment 20.
If first network equipment is a PE equipment; First network equipment 10 is resolved the ETH-LTM message of receiving by ethernet link, obtain the LTM message information, revise the life span TTL in the LTM message information, and according to the PW-OAM message format, amended LTM message information is encapsulated, generate supervisory messages, according to the mapping relations of PW and ethernet link, determine the PW of the ethernet link correspondence of carrying LTM message, and the PW transmitting supervisory messages by determining.
If second network equipment is an intermediary device; Second network equipment 20 generates the LTR message information according to the LTM message information, according to the PW-OAM message format, the LTR message information is encapsulated, and generates first response message.
If first network equipment is an intermediary device; First network equipment 10 extracts the LTM message information from the supervisory messages of receiving by PW from a last node, revise the TTL in the LTM message information, and according to the PW-OAM message format, amended LTM message information is encapsulated, generate new supervisory messages, send to next node by PW.
If second network equipment is a PE equipment; Second network equipment 20 is after receiving supervisory messages, mapping relations according to PW and ethernet link, determine the ethernet link of the PW correspondence of carrying supervisory messages, according to the LTM message information in the supervisory messages, generate the ETH-LTM message, and ethernet link transmission by determining, after receiving second response message that sends by ethernet link, mapping relations according to PW and ethernet link, determine the PW of the ethernet link correspondence of carrying second response message, according to the LTM message information in second response message, generate the LTR message information,, the LTR message information is encapsulated according to the PW-OAM message format, generate first response message, and send first response message by the PW that determines.
If second network equipment is an intermediary device, second network equipment 20 is after receiving supervisory messages, from supervisory messages, extract the LTM message information, revise the TTL in the LTM message information, and according to the PW-OAM message format, amended LTM message information is encapsulated, generate new supervisory messages, send to next node by PW.
As shown in Figure 9, the PE equipment of the embodiment of the invention comprises: the first supervisory messages generation module 100 and the first supervisory messages sending module 110.
The first supervisory messages generation module 100 is used to generate the supervisory messages that comprises the LTM message information.
The first supervisory messages sending module 110 is used for by PW to the next node transmitting supervisory messages.
Wherein, the first supervisory messages generation module 100 is resolved the ETH-LTM message of receiving by ethernet link, obtains the LTM message information, revise the TTL in the LTM message information, and according to the PW-OAM message format, amended LTM message information is encapsulated, generate supervisory messages;
Accordingly, the first supervisory messages sending module 110 is determined the PW of the ethernet link correspondence of carrying LTM message according to the mapping relations of PW and ethernet link, and the PW transmitting supervisory messages by determining.
Wherein, PE equipment can further include: first processing module 120.
First processing module 120, the source node sign that is used for the LTM message information that will obtain is revised as the sign of self, and will obtain in the mapping relations that the LTM message information joins PW and ethernet link, after receiving first response message by PW, mapping relations according to LTM message information, PW and ethernet link, determine the LTM message information and the ethernet link of the PW correspondence of carrying first response message, generate the ETH-LTR message according to the LTM message information of determining, and send by the ethernet link of determining.
Wherein, PE equipment can further include: second processing module 130.
Second processing module 130, be used for after receiving first response message by PW, mapping relations according to PW and ethernet link, determine the ethernet link of the PW correspondence of carrying first response message, according to the LTR message information in first response message, generate the ETH-LTR message, and send by the ethernet link of determining.
Wherein, PE equipment can further include: the first response message generation module 140.
The first response message generation module 140 is after being used for receiving supervisory messages by PW, according to the LTM message information in the supervisory messages, generate the LTR message information,, the LTR message information is encapsulated according to the PW-OAM message format, generate first response message, and return first response message by PW.
Wherein, PE equipment can further include: the 3rd processing module 150.
The 3rd processing module 150, be used for mapping relations according to PW and ethernet link, determine the ethernet link of the PW correspondence of carrying supervisory messages, according to the LTM message information in the supervisory messages, generate the ETH-LTM message, and ethernet link transmission by determining, after receiving second response message that sends by ethernet link, mapping relations according to PW and ethernet link, determine the PW of the ethernet link correspondence of carrying second response message, according to the LTM message information in second response message, generate the LTR message information,, the LTR message information is encapsulated according to the PW-OAM message format, generate first response message, and send first response message by the PW that determines.
As shown in figure 10, the intermediary device of the embodiment of the invention comprises: first information generation module 200 and return module 210.
First information generation module 200 after being used for receiving supervisory messages by PW, according to the LTM message information in the supervisory messages, generates first response message that comprises the LTR message information.
Return module 210, be used for returning first response message that first information generation module 200 generates by PW.
First information generation module 200 generates the LTR message information according to the LTM message information in the detecting information, according to the PW-OAM message format, the LTR message information is encapsulated, and generates first response message.
Wherein, the intermediary device of the embodiment of the invention can further include: the second supervisory messages generation module 220 and the second supervisory messages sending module 230.
The second supervisory messages generation module 220 is used to receive extract the LTM message information after the supervisory messages from supervisory messages, revise the TTL in the LTM message information, and according to the PW-OAM message format, amended LTM message information is encapsulated, generate new supervisory messages;
The second supervisory messages sending module 230 is used for sending new supervisory messages by PW to next node.
Wherein, the intermediary device of the embodiment of the invention can further include: forwarding module 240.
Forwarding module 240, be used for by PW upwards a node transmit first response message of receiving.
Those skilled in the art should understand that embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt complete hardware embodiment, complete software implementation example or in conjunction with the form of the embodiment of software and hardware aspect.And the present invention can adopt the form that goes up the computer program of implementing in one or more computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) that wherein include computer usable program code.
The present invention is that reference is described according to the flow chart and/or the block diagram of method, equipment (system) and the computer program of the embodiment of the invention.Should understand can be by the flow process in each flow process in computer program instructions realization flow figure and/or the block diagram and/or square frame and flow chart and/or the block diagram and/or the combination of square frame.Can provide these computer program instructions to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, make the instruction of carrying out by the processor of computer or other programmable data processing device produce to be used for the device of the function that is implemented in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame appointments.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, make the instruction that is stored in this computer-readable memory produce the manufacture that comprises command device, this command device is implemented in the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
These computer program instructions also can be loaded on computer or other programmable data processing device, make on computer or other programmable devices and to carry out the sequence of operations step producing computer implemented processing, thereby the instruction of carrying out on computer or other programmable devices is provided for being implemented in the step of the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
Although described the preferred embodiments of the present invention, in a single day those skilled in the art get the basic creative notion of cicada, then can make other change and modification to these embodiment.So claims are intended to all changes and the modification that are interpreted as comprising preferred embodiment and fall into the scope of the invention.
Because second network equipment can be according to the LTM message information in the detect-message of receiving, generation comprises first response message of LTR message information, and return first response message by PW, thereby can the Ethernet Link State in the PSN tunnel be detected, the detection and the maintenance of whole network are provided convenience.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.
Claims (14)
1. a method that sends response message is characterized in that, this method comprises:
First network equipment generates the supervisory messages comprise trace message LTM message information, by pseudo-line PW to second network equipment transmitting supervisory messages;
Described second network equipment generates first response message that comprises the LTR message information according to described LTM message information, and returns to described first network equipment by PW.
2. the method for claim 1 is characterized in that, described first network equipment person of the providing border PE equipment;
Described first network equipment generates supervisory messages and comprises:
Described first network equipment is resolved Ethernet-trace message ETH-LTM message of receiving by ethernet link, obtains the LTM message information;
Described first network equipment is revised the life span TTL in the LTM message information, and according to pseudo-line-Operations, Administration and Maintenance PW-OAM message format, amended LTM message information is encapsulated, and generates supervisory messages;
Described first network equipment transmitting supervisory messages comprises:
Described first network equipment is determined the PW of the ethernet link correspondence of carrying LTM message according to the mapping relations of PW and ethernet link, and the PW transmitting supervisory messages by determining.
3. method as claimed in claim 2 is characterized in that, described second network equipment is an intermediary device;
Described second network equipment generates first response message and comprises:
Described second network equipment generates link tracing response LTR message information according to described LTM message information;
According to the PW-OAM message format, described LTR message information is encapsulated, generate first response message.
4. method as claimed in claim 3 is characterized in that, described first network equipment is received after the ETH-LTM message, also comprises before the transmitting supervisory messages:
Described first network equipment is revised as the sign of self with the source node in LTM message information sign, and will obtain in the mapping relations that the LTM message information joins PW and ethernet link;
Described first network equipment also comprises after receiving described first response message:
Described first network equipment is determined the LTM message information and the ethernet link of the PW correspondence of carrying first response message according to the mapping relations of LTM message information, PW and ethernet link;
Described first network equipment generates Ethernet-link tracing response ETH-LTR message according to the LTM message information of determining, and sends by the ethernet link of determining.
5. the method for claim 1 is characterized in that, described first network equipment is an intermediary device;
Described first network equipment generates supervisory messages and comprises:
Described first network equipment extracts the LTM message information from the supervisory messages of receiving by PW from a last node;
Described first network equipment is revised the TTL in the LTM message information, and according to the PW-OAM message format, amended LTM message information is encapsulated, and generates new supervisory messages, sends to next node by PW.
6. method as claimed in claim 5 is characterized in that, described second network equipment is a PE equipment;
Described second network equipment also comprises after receiving supervisory messages:
Described second network equipment is determined the ethernet link of the PW correspondence of carrying supervisory messages according to the mapping relations of PW and ethernet link;
Described second network equipment generates the ETH-LTM message according to the LTM message information in the supervisory messages, and sends by the ethernet link of determining;
Described second network equipment according to the mapping relations of PW and ethernet link, is determined the PW of the ethernet link correspondence of carrying second response message after receiving second response message that sends by ethernet link;
Described second network equipment generates the LTR message information according to the LTM message information in described second response message;
Described second network equipment encapsulates described LTR message information according to the PW-OAM message format, generates first response message, and sends first response message by the PW that determines.
7. a PE equipment is characterized in that, this PE equipment comprises:
The first supervisory messages generation module is used to generate the supervisory messages that comprises the LTM message information;
The first supervisory messages sending module is used for by PW to the next node transmitting supervisory messages.
8. PE equipment as claimed in claim 7 is characterized in that, the described first supervisory messages generation module specifically is used for:
The ETH-LTM message that parsing is received by ethernet link obtains the LTM message information, revises the life span TTL in the LTM message information, and according to the PW-OAM message format, amended LTM message information is encapsulated, and generates supervisory messages;
The described first supervisory messages sending module specifically is used for:
According to the mapping relations of PW and ethernet link, determine the PW of the ethernet link correspondence of carrying LTM message, and the PW transmitting supervisory messages by determining.
9. PE equipment as claimed in claim 8 is characterized in that, described PE equipment also comprises:
First processing module, the source node sign that is used for the LTM message information that will obtain is revised as the sign of self, and will obtain in the mapping relations that the LTM message information joins PW and ethernet link, after receiving first response message by PW, mapping relations according to LTM message information, PW and ethernet link, determine the LTM message information and the ethernet link of the PW correspondence of carrying first response message, generate the ETH-LTR message according to the LTM message information of determining, and send by the ethernet link of determining.
10. PE equipment as claimed in claim 7 is characterized in that, described PE equipment also comprises:
The first response message generation module, after being used for receiving supervisory messages by PW, according to the LTM message information in the described supervisory messages, generate the LTR message information, according to the PW-OAM message format, described LTR message information is encapsulated, generate first response message, and return first response message by PW.
11. PE equipment as claimed in claim 10 is characterized in that, described PE equipment also comprises:
The 3rd processing module, be used for mapping relations according to PW and ethernet link, determine the ethernet link of the PW correspondence of carrying supervisory messages, according to the LTM message information in the supervisory messages, generate the ETH-LTM message, and ethernet link transmission by determining, after receiving second response message that sends by ethernet link, mapping relations according to PW and ethernet link, determine the PW of the ethernet link correspondence of carrying second response message, according to the LTM message information in described second response message, generate the LTR message information,, described LTR message information is encapsulated according to the PW-OAM message format, generate first response message, and send first response message by the PW that determines.
12. an intermediary device is characterized in that, this intermediary device comprises:
First information generation module after being used for receiving supervisory messages by PW, according to the LTM message information in the supervisory messages, generates first response message that comprises the LTR message information;
Return module, be used for returning described first response message by PW.
13. intermediary device as claimed in claim 12 is characterized in that, described first information generation module specifically is used for:
According to the LTM message information in the described detecting information, generate the LTR message information, according to the PW-OAM message format, described LTR message information is encapsulated, generate first response message.
14. a system that sends response message is characterized in that, this system comprises:
First network equipment is used to generate the supervisory messages that comprises the LTM message information, by PW to second network equipment transmitting supervisory messages;
Second network equipment is used for according to described LTM message information, generates first response message that comprises the LTR message information, and returns to described first network equipment by PW.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010571949.9A CN102025619B (en) | 2010-12-03 | 2010-12-03 | Method and system as well as equipment for transmitting response message |
PCT/CN2011/076569 WO2012071890A1 (en) | 2010-12-03 | 2011-06-29 | Method, system and device for transmitting a response message |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010571949.9A CN102025619B (en) | 2010-12-03 | 2010-12-03 | Method and system as well as equipment for transmitting response message |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102025619A true CN102025619A (en) | 2011-04-20 |
CN102025619B CN102025619B (en) | 2014-12-10 |
Family
ID=43866492
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010571949.9A Active CN102025619B (en) | 2010-12-03 | 2010-12-03 | Method and system as well as equipment for transmitting response message |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN102025619B (en) |
WO (1) | WO2012071890A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012071890A1 (en) * | 2010-12-03 | 2012-06-07 | 中兴通讯股份有限公司 | Method, system and device for transmitting a response message |
WO2017215503A1 (en) * | 2016-06-16 | 2017-12-21 | 中兴通讯股份有限公司 | Service quality measurement method and apparatus |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101174975A (en) * | 2006-11-03 | 2008-05-07 | 华为技术有限公司 | Periodic line fault location method and system in Ethernet |
CN101335708A (en) * | 2008-08-06 | 2008-12-31 | 杭州华三通信技术有限公司 | Packet forwarding method and operator edge converging equipment |
US20090113070A1 (en) * | 2007-10-30 | 2009-04-30 | Rishi Mehta | Enhance fault tracing in multi-tiered ethernet/mpls network |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101631069B (en) * | 2008-07-18 | 2013-01-09 | 华为技术有限公司 | Method, system and equipment for pseudo wire parameter negotiation |
CN102025619B (en) * | 2010-12-03 | 2014-12-10 | 中兴通讯股份有限公司 | Method and system as well as equipment for transmitting response message |
-
2010
- 2010-12-03 CN CN201010571949.9A patent/CN102025619B/en active Active
-
2011
- 2011-06-29 WO PCT/CN2011/076569 patent/WO2012071890A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101174975A (en) * | 2006-11-03 | 2008-05-07 | 华为技术有限公司 | Periodic line fault location method and system in Ethernet |
US20090113070A1 (en) * | 2007-10-30 | 2009-04-30 | Rishi Mehta | Enhance fault tracing in multi-tiered ethernet/mpls network |
CN101335708A (en) * | 2008-08-06 | 2008-12-31 | 杭州华三通信技术有限公司 | Packet forwarding method and operator edge converging equipment |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012071890A1 (en) * | 2010-12-03 | 2012-06-07 | 中兴通讯股份有限公司 | Method, system and device for transmitting a response message |
WO2017215503A1 (en) * | 2016-06-16 | 2017-12-21 | 中兴通讯股份有限公司 | Service quality measurement method and apparatus |
Also Published As
Publication number | Publication date |
---|---|
CN102025619B (en) | 2014-12-10 |
WO2012071890A1 (en) | 2012-06-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110784411B (en) | Method, device and system for establishing BIER forwarding table item | |
CN101394361B (en) | Packet transmission method, device and system | |
CN109873760A (en) | Handle the method and apparatus of routing and the method and apparatus of data transmission | |
CN101345715B (en) | MAC address learning method and system based on VPLS dual-homing network | |
CN101631069B (en) | Method, system and equipment for pseudo wire parameter negotiation | |
CN102185711B (en) | Method and equipment for detecting link failure in hybrid network | |
WO2018210213A1 (en) | Method and device for implementing ioam packaging and storage medium | |
WO2015165311A1 (en) | Method for transmitting data packet and provider edge device | |
RU2528149C1 (en) | Tunnel switching method and system for multi-protocol label switching services | |
CN103326940A (en) | Method for forwarding message in network and edge device of operator | |
CN107612809A (en) | A kind of multicast list synchronous method and equipment | |
CN102868569A (en) | Method, node and system for detecting performance of three-layer virtual private network | |
CN112422398B (en) | Message transmission method and communication device | |
CN104869028A (en) | Network device and loop detection method | |
CN103580894A (en) | Method, device and system for operation, administration and maintenance (OAM) configuration | |
CN106941437A (en) | A kind of information transferring method and device | |
CN103067278B (en) | A kind of method for transmission processing of Frame, equipment and system | |
CN103795630A (en) | Message transmitting method and device of label switching network | |
CN112511430A (en) | Information interaction method, information interaction device, tunnel establishment method, tunnel establishment device, communication node and storage medium | |
CN102857421B (en) | A kind of VLL fault detection method and equipment | |
CN101425941A (en) | Loop network link convergence time and recovery time test system | |
CN106911547B (en) | Message forwarding method and device | |
CN102224709A (en) | Method and apparatus of monitoring on ip bearing net performance | |
CN109218176B (en) | Message processing method and device | |
CN105763411B (en) | Method and device for establishing multicast tunnel |
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 |