[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN106411625A - Link message packet loss measurement method and system, target node and initiator node - Google Patents

Link message packet loss measurement method and system, target node and initiator node Download PDF

Info

Publication number
CN106411625A
CN106411625A CN201510446685.7A CN201510446685A CN106411625A CN 106411625 A CN106411625 A CN 106411625A CN 201510446685 A CN201510446685 A CN 201510446685A CN 106411625 A CN106411625 A CN 106411625A
Authority
CN
China
Prior art keywords
node
message
measured
end node
packet loss
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.)
Pending
Application number
CN201510446685.7A
Other languages
Chinese (zh)
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.)
Shenzhen ZTE Technical Service Co.,Ltd.
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201510446685.7A priority Critical patent/CN106411625A/en
Priority to PCT/CN2016/076504 priority patent/WO2016177120A1/en
Publication of CN106411625A publication Critical patent/CN106411625A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks

Landscapes

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

Abstract

The present invention provides a link message packet loss rate measurement method and system, a target node and an initiator node, and belongs to the communication field. The link message packet loss measurement method comprises the steps of using the target node to receive a packet loss calculation information LMM message sent by the initiator node, wherein the LMM message comprises the number of the messages sent by the initiator node and the positioning information of a to-be-tested node; using the target node to determine whether the target node itself is the to-be-tested node according to the positioning information; if the target node is the to-be-tested node, gathering the number of the received messages sent by the initiator node; using the target node to obtain a link message pocket loss rate according to the number of the received messages sent by the initiator node and the number of the messages sent by the initiator node. Compared with the prior art, by the positioning information of the to-be-tested node, the position of an intermediate node between ends can be positioned, after positioning, the link message pocket loss rate can be detected by utilizing the LMM messages defined in current various operation-administration-maintenance (OAM) standards, and the link message pocket loss rate detection problem of the end-to-end intermediate node is realized.

Description

Link packet packet loss measuring method, system and destination node, initiation end node
Technical field
The present invention relates to the communications field, particularly to a kind of link packet packet loss measuring method, system and destination node, initiate end node.
Background technology
Packet loss of link measurement is a kind of conventional network operation function, and accurately and quickly packet loss measurement has particularly important meaning for network operation.OAM definition is being actually needed according to carrier network operation, generally the management work of network is divided into 3 big class:Operate (Operation), management (Administration), safeguard (Maintenance), abbreviation OAM.Operation mainly completes prediction, planning and the configuration work that commodity network and business are carried out;Safeguard the regular job activity that the test mainly to network and its business and fault management etc. are carried out.OAM(Operation Administration Maintenance) can be divided into:Fault management:As fault measuring, failure modes, fault location, fault notification etc.;Performance management:As performance monitoring, performance evaluation, performance management control etc.;Protection recovers:As protection mechanism, Restoration Mechanism etc..The LM function (i.e. LOF measurement function) of OAM be for count point-to-point T-MPLS connect entrance and exit send and receive traffic frame quantity poor, to calculate packet loss of link number and packet loss etc..OAM relevant criterion (1) the MPLS-TP OAM (BHH) commonly using at present:TMS, TMP and TMC can be divided into, be respectively used to monitoring section layer, tunnel layer, the connectedness of pseudo-wire layer and performance.Can be applicable in various MPLS-TP network.The main standard of foundation is:Y.1731 and MPLS-TP standard, the packet loss measurement of PE-PE can only for the LM of TMP and TMC layer, be measured.(2)CFM:It is a kind of Ethernet OAM, the main standard of foundation has:802.1ag and Y1731, wherein LOF measurement function is defined in Y.1731 standard.
The LM function of two kinds of OAM all there is provided the packet loss measurement of a kind of end-to-end (PE to PE node), packet loss of link cannot be provided to measure for PE to any one P node, have certain defect in real network maintenance work.
Content of the invention
The main technical problem to be solved in the present invention is, a kind of link packet packet loss measuring method, system and destination node are provided, initiate end node, solve the problems, such as existing in can only be for the measurement of link packet packet loss end to end it is impossible to carry out the link packet packet loss measurement of intermediate node end to end.
For solving the above problems, the present invention provides a kind of link packet packet loss measuring method, including:
The packet loss calculating information LMM message that end node sends is initiated in destination node reception, and described LMM message includes the described message number initiating end node transmission and the location information of node to be measured;
According to described location information, described destination node judges whether itself is described node to be measured;
If described node to be measured, then count the message number that the described initiation end node receiving sends;
Described destination node obtains link packet packet loss according to the message number of the described initiation end node transmission receiving and the described message number initiating end node transmission.
In an embodiment of the present invention, the location information of described node to be measured includes:The positional information of described node to be measured or the relatively described relative position information initiating end node of described node to be measured;According to described location information, described destination node judges whether itself is that described node to be measured includes:
Described destination node judges whether the positional information of itself is identical with the positional information of described node to be measured, such as identical, then be described node to be measured;If it is different, then not being described node to be measured;
Or
Described destination node judges whether the relative position information of itself relatively described initiation end node is identical with the relative position information of described node to be measured, such as identical, then be described node to be measured;If it is not the same, not being then described node to be measured.
In an embodiment of the present invention, when described link is MPLS-TP network link, the relatively described relative position information initiating end node of described node to be measured includes:Described node to be measured with described initiate end node the tunnel label differing in life cycle value or pseudo line tag in value life cycle;
When described link is CFM network link, the positional information of described node to be measured can be the MAC Address of described node to be measured.
In an embodiment of the present invention, also include described destination node judges it itself is not described node to be measured according to described location information, then directly described LMM message is transmitted to next-hop node.
In an embodiment of the present invention, the message number that the described initiation end node that described basis receives sends and the described mode initiating the message number calculating link packet packet loss that end node sends include:
Described destination node calculates link packet packet loss self by the message number of the described initiation end node transmission receiving and the described message number initiating end node transmission;
Or
The message number that the message number of the described initiation end node transmission receiving and described initiation end node send is sent to described initiation end node by packet loss return information LMR message by described destination node, so that described initiation end node calculates link packet packet loss according to above-mentioned each parameter.
In an embodiment of the present invention, after the message number that described destination node sends according to the described initiation end node receiving and the described message number initiating end node transmission obtain link packet packet loss, also include:Described destination node sends packet loss return information LMR message to described initiation end node, described LMR message include described destination node be sent to described initiate end node message number so that described initiate end node according to described destination node be sent to described initiate end node message number and described initiate end node receive described destination node be sent to described initiate end node message number obtain link packet packet loss.
For solving the above problems, the present invention also provides a kind of link packet packet loss measuring method, including:
Initiate end node and send packet loss calculating information LMM message to destination node, described LMM message includes described initiating message number that end node sends and the location information of node to be measured, so that described destination node initiates message number that end node sends and described destination node receives and described initiates end node and be sent to the message number of described destination node to obtain link packet packet loss according to described.
For solving the above problems, the present invention also provides a kind of link packet packet loss measuring method, including:
Initiate end node and send packet loss calculating information LMM message to destination node, described LMM message includes the described message number initiating end node transmission and the location information of node to be measured;
Described destination node receives the packet loss calculating information LMM message initiating that end node sends, and judges whether itself is described node to be measured according to described location information;If described node to be measured, then count the message number that the described initiation end node receiving sends;
Described destination node obtains link packet packet loss according to the message number of the described initiation end node transmission receiving and the described message number initiating end node transmission.
For solving the above problems, the present invention also provides a kind of destination node, including receiver module, judge module, statistical module and computing module:
Described receiver module is used for reception and initiates the packet loss calculating information LMM message that end node sends, and described LMM message includes the described message number initiating end node transmission and the location information of node to be measured;
Described judge module is used for judging whether itself is described node to be measured according to described location information;
Described statistical module is used for if described node to be measured, then count the message number that the described initiation end node receiving sends;
Described computing module obtains link packet packet loss for the message number sending according to the described initiation end node receiving and the described message number initiating end node transmission.
In an embodiment of the present invention, the location information of described node to be measured includes:The positional information of described node to be measured or the relatively described relative position information initiating end node of described node to be measured;Described judge module includes position judgment submodule and relative position judging submodule:
Described position judgment submodule is used for judging whether the positional information of itself is identical with the positional information of described node to be measured, such as identical, then be described node to be measured;If it is different, then not being described node to be measured;
Or
Described relative position judging submodule is used for judging whether the relative position information of itself relatively described initiation end node is identical with the relative position information of described node to be measured, such as identical, then be described node to be measured;If it is not the same, not being then described node to be measured.
In an embodiment of the present invention, when described link is MPLS-TP network link, the relatively described relative position information initiating end node of described node to be measured includes:Described node to be measured with described initiate end node the tunnel label differing in life cycle value or pseudo line tag in value life cycle;
When described link is CFM network link, the positional information of described node to be measured can be the MAC Address of described node to be measured.
In an embodiment of the present invention, also include forwarding module, described forwarding module is used for judging it itself is not described node to be measured according to described location information, then directly described LMM message is transmitted to next-hop node.
In an embodiment of the present invention, described computing module is additionally operable to:
The message number being sent by the described initiation end node receiving and the described message number initiating end node transmission calculate link packet packet loss;
Or
The message number that send the described initiation end node receiving and the message number of described initiation end node transmission are sent to described initiation end node by packet loss return information LMR message, so that described initiation end node calculates link packet packet loss according to above-mentioned each parameter.
In an embodiment of the present invention, also include replying module, described module of replying is used for the message number according to the described initiation end node transmission receiving in described computing module, and described initiate end node send message number obtain link packet packet loss after, send packet loss return information LMR message to described initiation end node, described LMR message includes described destination node and is sent to the described message number initiating end node, so that described end node of initiating is sent to the described message number initiating end node according to described destination node, and described initiate end node receive described destination node be sent to described initiate end node message number obtain link packet packet loss.
For solving the above problems, the present invention also provides a kind of initiation end node, including sending module:
Described sending module is used for sending packet loss calculating information LMM message to destination node, described LMM message includes described initiating message number that end node sends and the location information of node to be measured, so that described destination node initiates message number that end node sends and described destination node receives and described initiates end node and be sent to the message number of described destination node to obtain link packet packet loss according to described.
For solving the above problems, the present invention also provides a kind of link packet packet loss measuring system, including initiation end node and destination node:
Described end node of initiating is used for sending packet loss calculating information LMM message to described destination node, and described LMM message includes the described message number initiating end node transmission and the location information of node to be measured;
Described destination node is used for receiving the packet loss calculating information LMM message initiating that end node sends, and judges whether itself is described node to be measured according to described location information;If described node to be measured, then count the message number that the described initiation end node receiving sends;
Described destination node is additionally operable to the message number sending according to the described initiation end node receiving and described initiate the message number that end node sends and obtain link packet packet loss.
The invention has the beneficial effects as follows:
Link packet packet loss measuring method, system and destination node, initiation end node that the present invention provides, the packet loss calculating information LMM message that end node sends is initiated in destination node reception, and LMM message includes initiating the message number of end node transmission and the location information of node to be measured;According to location information, destination node judges whether itself is node to be measured;If node to be measured, then what statistics received initiates the message number that end node sends;Destination node obtains link packet packet loss according to the message number initiated the end node message number sending and initiate end node transmission receiving.Compared with the prior art, there is the location information of node to be measured, can positioning end and end between intermediate node position, link packet packet loss measurement can be carried out using the LMM message defined in various OAM standards at present after positioning, achieve the problem of the link packet packet loss measurement of intermediate node end to end, it is a kind of supplement to current standard, also provide a kind of means of good packet loss of link measurement for practical application and engineering maintenance etc. simultaneously.
Brief description
The link packet packet loss measuring method schematic flow sheet that Fig. 1 provides for the embodiment of the present invention one;
In the link packet packet loss measuring method that Fig. 2-1 provides for the embodiment of the present invention two, message flows to schematic diagram one;
The link packet packet loss measuring method schematic flow sheet that Fig. 2-2 provides for the embodiment of the present invention two;
In the link packet packet loss measuring method that Fig. 2-3 provides for the embodiment of the present invention two, message flows to schematic diagram two;
In the link packet packet loss measuring method that Fig. 3-1 provides for the embodiment of the present invention three, message flows to schematic diagram;
The link packet packet loss measuring method schematic flow sheet that Fig. 3-2 provides for the embodiment of the present invention three;
The destination node structural representation one that Fig. 4 provides for the embodiment of the present invention four;
The destination node structural representation two that Fig. 5 provides for the embodiment of the present invention four;
The destination node structural representation three that Fig. 6 provides for the embodiment of the present invention four;
The destination node structural representation four that Fig. 7 provides for the embodiment of the present invention four;
The originating end node structure schematic diagram that Fig. 8 provides for the embodiment of the present invention four;
The link packet packet loss measuring system structural representation that Fig. 9 provides for the embodiment of the present invention four.
Specific embodiment
Purpose, technical scheme and advantage for making the embodiment of the present invention are clearer, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is a part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art are obtained under the premise of not making creative work, broadly fall into the scope of protection of the invention.
Embodiment one
The link packet packet loss measuring method of the present embodiment, as shown in figure 1, comprise the following steps:
Step S101:The packet loss calculating information LMM message that end node sends is initiated in destination node reception, and LMM message includes initiating the message number of end node transmission and the location information of node to be measured;
In this step, goal node is construed as an arbitrary node of end-to-end centre, and certainly, these nodes have and are configured with MIP and enable LM function, certainly, are not that this node is measured, can be without configuration MIP.Here originating end refers to two for carrying out the head end on one link of transmission information of information exchange.And, this destination node can also be endpoint node.Here the message number initiating end node transmission refers to that this initiation end node is sent to how many messages of next-hop node, and specific message can be data message and client layer message.It is construed as originating end and constantly can send various messages by down hop node, and packet loss calculating information LMM message is exactly to tell that next-hop node specifically have sent how many messages;Due to the number of the message of the different corresponding transmissions of business and speed is different or needs to know the corresponding specific packet drop of certain class business according to user's request it is preferred that for the ease of carrying out statistical computation, select with the corresponding message number sending of one-level.For example, this message number is X1.
Step S102:According to location information, destination node judges whether itself is node to be measured;
In this step, it is construed as in one end to end link, there is its corresponding node location information for each node, these positional informationes can be its corresponding address information or which node in this link, such as one end to end link have four nodes, originating end is headend node, and its corresponding address is respectively 132.132.45.16,132.132.45.26,132.132.45.36 and 132.132.45.46;Can also reference numeral be to initiate end node PE1, intermediate node P1, intermediate node P2 and receiving terminal node PE2.This location information is specifically that node to be carried out with link packet packet loss measurement, and such as this location information can be 132.132.45.26 or P1.
Step S103:If node to be measured, then what statistics received initiates the message number that end node sends;
In this step, because number and the speed difference of the message of the different corresponding transmissions of business is it is preferred that select statistics with the corresponding message number sending of one-level.For example, this message number is X2.
Step S104:Destination node obtains link packet packet loss according to the message number initiated the end node message number sending and initiate end node transmission receiving.
In this step, specifically, this destination node can be oneself to be calculated link packet packet loss, that is, the message number initiated the end node message number sending and initiate end node transmission passing through to receive calculates link packet packet loss, in conjunction with above example, link packet packet loss is;X1-X2.Further, for the ease of management, calculated by same initiation end node, to be managed for node packet loss used, the message number initiated the end node message number sending and initiate end node transmission receiving can also be sent to initiation end node by packet loss return information LMR message by this destination node, so that initiating end node to calculate link packet packet loss according to above-mentioned each parameter.
It should be noted that further, the reception time can also be recorded, such as destination node record have received X1 message, and to receive the time of these messages be T1, so can be carried out the calculating of link packet drop rate, that is, link packet drop rate is:(X1-X2)/T1.
Specifically, the location information of the node to be measured in above-mentioned steps S102 can be the positional information of node to be measured or the relative position information of node to be measured initiation end node relatively;In above-mentioned steps S103, according to location information, destination node judges whether itself is that node to be measured includes:Destination node judges whether the positional information of itself is identical with the positional information of node to be measured, such as identical, then be node to be measured;If it is different, then not being node to be measured;Or destination node judges that whether to be measured the relative position information itself relatively initiating the relative position information node of end node be identical, such as identical, then it is node to be measured;If it is not the same, not being then node to be measured.Illustrate in conjunction with above example, node to be measured is P2, then the positional information that location information can be with positional information 132.132.45.26 or P2 of P2 with respect to PE1, be in which node after PE1, that is, location information is second node after PE1.So destination node is judged as the address of itself is 132.132.45.26, if just illustrating itself is exactly node to be measured, or judges whether itself is located at second node after initiating end node PE1, if secondary nodal point is just node to be measured.It is construed as, other can be positioned all should be included to the mode which node measures.
Preferably, can be improved based on existing agreement, when link is for MPLS-TP network link, the relative position information that node to be measured initiates end node relatively includes:Node to be measured with initiate end node the tunnel label differing in life cycle value TTL or pseudo line tag in value TTL life cycle, i.e. TTL is the abbreviation of Time To Live (value life cycle), and this field specifies the maximum hop count that IP bag can forward in a computer network.When link is for CFM network link, the positional information of node to be measured can be the MAC Address of node to be measured.
Further, also include destination node judges it itself is not node to be measured according to location information, then directly LMM message is transmitted to next-hop node.
Further, after destination node obtains link packet packet loss according to the message number initiated the end node message number sending and initiate end node transmission receiving, also include:Destination node sends packet loss return information LMR message to initiating end node, LMR message include destination node be sent to initiate end node message number so that initiate end node according to destination node be sent to initiate end node message number and initiate end node receive destination node be sent to initiate end node message number obtain link packet packet loss.The packet loss of link initiating end node to node to be measured not only can be measured, node to be measured can also be measured to the packet loss of link initiating end node.
It should be noted that, in above-mentioned steps S101, it is construed as, initiate end node and can send packet loss calculating information LMM message to destination node, LMM message includes initiating message number that end node sends and the location information of node to be measured, so that destination node is according to initiating message number that end node sends and destination node receives and initiates end node and be sent to the message number of destination node to obtain link packet packet loss.
Embodiment two
The link packet packet loss measuring method of the present embodiment, it is mainly used in introducing the LM function of tunnel layer in TP-OAM agreement, as shown in Fig. 2-1, this figure is the message flow graph in the method, for convenience of description, herein the node of each node is respectively designated as PE1, P1, P2 and PE2.As shown in Fig. 2-2, link packet packet loss measuring method comprises the following steps:
Step S201:Configure MEP node in PE1 node, and enable LM function, and the LM of configuration is assigned to the TTL of purpose MIP node;
In this step, configure MEP node by the needs of user in PE1, enable the LM function of tunnel layer and configure the essential informations such as LM priority.After the OAM protocol process module of PE1 node receives configuration order, according to OAM consensus standard, assemble the PDU of LMM message, and encapsulation tunnel label and two layers of head of Ethernet.As shown in Fig. 2-1, value ttl value life cycle of LMM message tunnel label is 2, represents that the LM start of message (SOM) sending, in PE1 node, terminates at P2 node.While enabling LM function, the OAM capabilities processing module of PE1 starts according to priority to count respectively the service message and client layer OAM message number through this node, and that is, local terminal sends/receive message number.After OAM capabilities processing module receives LMM, then the corresponding field in message is stamped the local terminal consistent with LM message priority and is sent packet counting, and down hop node sends.
Step S202:For intermediate point P1 node, exchange chip needs to subtract 1 to TTL after message tunnel label;
In this step, the intermediate node of non-point of destination may choose whether to configure MIP node according to the configuration of user.If P1 node is configured with MIP and enables LM function, the OAM capabilities processing module of P1 node, identify the LMM message receiving and judge in its tunnel label, whether ttl value is 1.As shown in Fig. 2-1, the TTL that P1 node receives LMM message is 2, and this LMM message OAM capabilities processing module is directly passed through exchange chip.If P1 node does not configure MIP, save the process that OAM capabilities processing module verifies ttl value, now no matter why TTL is worth, and is all directly forwarded to exchange chip.Exchange chip receives the LMM message that TTL is equal to 2, and TTL is subtracted 1, and presses the original direction down hop node forwarding in tunnel.
Step S203:The OAM capabilities processing module of P2 node identifies TTL=1 and is configured with MIP, then will be processed by giving OAM protocol process module on exchange chip with this LMM message;
In this step, after P2 is configured with MIP node and enables LM function, the OAM capabilities processing module of P2 starts according to priority to count respectively the service message and client layer OAM message number through this node, and that is, far-end sends/receive message number.The LMM message that the OAM capabilities processing module identification of P2 node receives, and read the ttl value in its tunnel label.As shown in Fig. 2-1, now the ttl value of LMM message is equal to 1.OAM capabilities processing module, according to the precedence information of LMM message, finds the consistent reception counter of priority and counts, and beat in the reserved field of LMM message, be finally transmitted to exchange chip.The exchange chip of P2 node reads the ttl value of LMM message, finally the LMM message that TTL is 1 is handed to OAM protocol process module.
Step S204:The OAM protocol process module of P2 node receives LMM message, and replys LMR message according to relevant criterion;
In this step, after the OAM protocol process module of P2 node receives LMM message, encapsulate and reply a corresponding LMR message (ttl value is 255), be transmitted by exchange chip.The OAM capabilities processing module of P2 node receives the LMR message coming from exchange chip forwarding, similar with LMM, needs to stamp the counting (i.e. far-end send message number) consistent with LMR message priority in LMR message.
Step S205:PE1 node receives LMR message, and OAM capabilities processing module is processed by giving OAM protocol process module on exchange chip;
In this step, PE1 node OAM capabilities processing module receives LMR message, need to stamp the consistent counter counting (i.e. local terminal receives message number) of priority in reserved field, and be for further processing by the OAM protocol process module that exchange chip extracts PE1 node.The OAM protocol process module of PE1 node receives LMR message, send message number by reading the local terminal preserving in LMR respective field, far-end receives message number, far-end sends message number, local terminal receives four counter of message number and counts, and calculates closely/far-end number of dropped packets, near/far-end packet loss according to related standard meter.
Step S206:Read required performance statistics in PE1 node.
It should be noted that for the scene of multi-segment pseudo-wires, as Figure 2-3, this figure is message flow graph therein, and simply the ttl value of LM message is carried on pseudo line tag, it is extremely similar with the present embodiment that other realize process, is not repeating herein.And the intermediate node of the point of destination in the present embodiment is node to be measured, initiation end node is PE1 node.
Embodiment three
The link packet packet loss measuring method of the present embodiment, is mainly used in introducing the LM function in Ethernet CFM, as shown in figure 3-1, this figure is the message flow graph in the method, for convenience of description, herein frame MAC of first three node is respectively designated as MAC0, MAC1 and MAC2.As shown in figure 3-2, link packet packet loss measuring method comprises the following steps:
Step S301:Configure MEP node in PE1 node, and enable LM function, and purpose MAC of configuration LM is assigned to purpose MIP node;
In this step, configure MEP node by the needs of user in PE1, enable LM to MIP node, be assigned to the MAC (i.e. MAC2) of MIP node, the essential information such as configuration LM priority simultaneously.After the OAM protocol process module of PE1 node receives configuration order, according to OAM consensus standard, assemble PDU and two layers of head of Ethernet of LMM message.As shown in figure 3-1, purpose MAC of LMM message is MAC2, represents that the LM start of message (SOM) sending, in PE1 node, terminates at P2 node.While enabling LM function, the OAM capabilities processing module of PE1 starts according to priority to count respectively the service message and client layer OAM message number through this node, and that is, local terminal sends/receive message number.After OAM capabilities processing module receives LMM, the respective field in LMM message stamps the count value consistent with LMM message priority, and down hop node sends.
Step S302:For intermediate point, whether exchange chip needs the DMAC judging LMM message consistent with the MAC of this equipment, such as unanimously then extracts, otherwise then forwards;
In this step, the intermediate node of non-point of destination may choose whether to configure MIP node according to the configuration of user.If P1 node is configured with MIP and enables LM function, the OAM capabilities processing module of P1 node, identify the LMM message that receives and judge that whether its purpose MAC is frame MAC of the machine.As shown in figure 3-1, the DMAC that P1 node receives LMM message is MAC2, frame MAC of non-local terminal, and this LMM message OAM capabilities processing module is directly passed through exchange chip.If P1 does not configure MIP node, save the process of OAM capabilities processing module verifying purpose MAC, now no matter why purpose MAC of LMM is worth, and is all directly forwarded to exchange chip.Exchange chip receives the LMM message that DMAC is not equal to the machine frame MAC, will be forwarded to next-hop node in the way of broadcasting in vlan domain.
Step S303:The OAM capabilities processing module of P2 node identifies that DMAC can be consistent with the MAC of this equipment and be configured with MIP, then will pass through to give OAM protocol process module on exchange chip being processed with this LMM message;
In this step, after P2 is configured with MIP node and enables LM function, the OAM capabilities processing module of P2 starts according to priority to count respectively the service message and client layer OAM message number through this node, and that is, far-end sends/receive message number.The LMM message that the OAM capabilities processing module identification of P2 node receives, and read purpose MAC of message.As shown in figure 3-1, now purpose MAC of LMM message is equal to frame MAC of P2 node.OAM capabilities processing module stamps the counting (i.e. far-end receive message number) (count value also can be placed on message cookie in transmitted by this process) consistent with message priority in the reserved field of LMM message, is finally transmitted to exchange chip.The exchange chip of P2 node reads purpose MAC of LMM message, and the LMM message finally purpose MAC being equal to MAC2 hands to OAM protocol process module.
Step S304:The OAM protocol process module of P2 node receives LMM message, and replys LMR message according to relevant criterion;
In this step, after the OAM protocol process module of P2 node receives LMM message, assemble and reply a corresponding LMR message, be sent to exchange chip.The LMR message replied, its purpose MAC is equal to the SMAC of LMM message, and as shown in figure 3-1, the DMAC of LMR message is equal to MAC0.The OAM capabilities processing module of P2 node receives the LMR message coming from exchange chip forwarding, similar with LMM, and equally the respective field in LMR stamps the counting (i.e. far-end send message number) consistent with LMR message priority.
Step S305:PE1 node receives LMR message, and OAM capabilities processing module is processed by giving OAM protocol process module on exchange chip;
In this step, PE1 node OAM capabilities processing module receives LMR message, needs to stamp local terminal reception packet counting in the reserved field of message and by exchange chip, message is extracted OAM protocol process module to be for further processing.The OAM protocol process module of PE1 node receives LMR message, send message number by reading the local terminal preserving in LMR respective field, far-end receives message number, far-end sends message number, local terminal receives four counter of message number and counts, and calculates closely/far-end number of dropped packets, near/far-end packet loss according to related standard meter.
Step S306:Read required performance statistics in PE1 node.
Example IV
The present embodiment provides a kind of destination node 400, as shown in figure 4, including receiver module 401, judge module 402, statistical module 403 and computing module 404:Receiver module 401 is used for reception and initiates the packet loss calculating information LMM message that end node sends, and LMM message includes initiating the message number of end node transmission and the location information of node to be measured;Judge module 402 is used for judging whether itself is node to be measured according to location information;Statistical module 403 is used for if node to be measured, then what statistics received initiates the message number that end node sends;Computing module 404 is for obtaining link packet packet loss according to the message number initiated the end node message number sending and initiate end node transmission receiving.
The present embodiment also provides a kind of destination node 400, as shown in figure 5, judge module 402 includes position judgment submodule 4021 and relative position judging submodule 4022:The location information of node to be measured includes:The positional information of node to be measured or the relative position information of node to be measured initiation end node relatively;Position judgment submodule 4021 is used for judging whether the positional information of itself is identical with the positional information of node to be measured, such as identical, then be node to be measured;If it is different, then not being node to be measured;Or relative position judging submodule 4022 is used for judging whether the relative position information that node to be measured initiates end node relatively is adjacent, adjacent in this way, then it is node to be measured;If non-conterminous, it is not node to be measured.
Specifically, when link is for MPLS-TP network link, the relative position information that node to be measured initiates end node relatively includes:Node to be measured with initiate end node the tunnel label differing in life cycle value or pseudo line tag in value life cycle;When link is for CFM network link, the positional information of node to be measured can be the MAC Address of node to be measured.
The present embodiment also provides a kind of destination node 400, as shown in fig. 6, also including forwarding module 405, forwarding module 405 is used for judging it itself is not node to be measured according to location information, then directly LMM message is transmitted to next-hop node.
Further, computing module 404 is additionally operable to:Link packet packet loss is calculated by the message number initiated the end node message number sending and initiate end node transmission receiving;Or the message number initiated the end node message number sending and initiate end node transmission receiving is sent to initiation end node by packet loss return information LMR message, so that initiating end node link packet packet loss is calculated according to above-mentioned each parameter.
The present embodiment also provides a kind of destination node 400, as shown in Figure 7, also include replying module 406, reply module 406 to be used for initiating, according to receive, the message number that end node sends in computing module 404, and after the message number of initiation end node transmission obtains link packet packet loss, send packet loss return information LMR message to initiating end node, LMR message includes destination node 400 and is sent to the message number initiating end node, so that initiating end node to be sent to the message number initiating end node according to destination node 400, and initiate end node receive destination node 400 be sent to initiate end node message number obtain link packet packet loss.
The present embodiment also provides a kind of initiation end node 500, as shown in figure 8, including sending module 501:Sending module 501 is used for sending packet loss calculating information LMM message to destination node 400, LMM message includes initiating message number that end node sends and the location information of node to be measured, so that destination node 400 is according to initiating message number that end node sends and destination node 400 receives and initiates end node and be sent to the message number of destination node 400 to obtain link packet packet loss.
The present embodiment also provides a kind of link packet packet loss measuring system, as shown in figure 9, including initiating end node 500 and destination node 400:
Initiation end node 500 is used for sending packet loss calculating information LMM message to destination node 400, and LMM message includes initiating the message number of end node 500 transmission and the location information of node to be measured;Destination node 400 is used for receiving the packet loss calculating information LMM message initiating that end node 500 sends, and judges whether itself is node to be measured according to location information;If node to be measured, then what statistics received initiates the message number that end node 500 sends;The message number initiated end node 500 message number sending and initiate end node 500 transmission that destination node 400 is additionally operable to according to receiving obtains link packet packet loss.
One of ordinary skill in the art will appreciate that all or part of step in said method can instruct related hardware by program and complete, said procedure can be stored in computer-readable recording medium, such as read only memory, disk or CD etc..Alternatively, all or part of step of above-described embodiment can also be realized using one or more integrated circuits.Correspondingly, each module/unit in above-described embodiment can be to be realized in the form of hardware, it would however also be possible to employ the form of software function module is realized.The present invention is not restricted to the combination of the hardware and software of any particular form.
Above example only in order to technical scheme to be described and unrestricted, has been described in detail to the present invention reference only to preferred embodiment.It will be understood by those within the art that, technical scheme can be modified or equivalent, without deviating from the spirit and scope of technical solution of the present invention, all should cover in the middle of scope of the presently claimed invention.

Claims (16)

1. a kind of link packet packet loss measuring method is it is characterised in that include:
Destination node receives the packet loss calculating information LMM message initiating that end node sends, described LMM message bag Include the described message number initiating end node transmission and the location information of node to be measured;
According to described location information, described destination node judges whether itself is described node to be measured;
If described node to be measured, then count the message number that the described initiation end node receiving sends;
Message number that described destination node sends according to the described initiation end node receiving and described The message number playing end node transmission obtains link packet packet loss.
2. link packet packet loss measuring method as claimed in claim 1 is it is characterised in that described treat The location information surveying node includes:The positional information of described node to be measured or relatively described of described node to be measured Play the relative position information of end node;According to described location information, described destination node judges whether itself is institute State node to be measured to include:
Described destination node judges whether the positional information of itself is identical with the positional information of described node to be measured, As identical, then it is described node to be measured;If it is different, then not being described node to be measured;
Or
Described destination node judges whether itself relatively described relative position information initiating end node is treated with described The relative position information surveying node is identical, such as identical, then be described node to be measured;If it is not the same, then not It is described node to be measured.
3. link packet packet loss measuring method as claimed in claim 2 it is characterised in that
When described link is MPLS-TP network link, the relatively described initiation end node of described node to be measured Relative position information includes:Described node to be measured is survived with the tunnel label differing of described initiation end node Value life cycle in periodic quantity or pseudo line tag;
When described link is CFM network link, the positional information of described node to be measured can be described to be measured The MAC Address of node.
4. link packet packet loss measuring method as claimed in claim 1 is it is characterised in that also include Described destination node judges it itself is not described node to be measured according to described location information, then directly by described LMM Message is transmitted to next-hop node.
5. the link packet packet loss measuring method as described in claim 1-4 is it is characterised in that described Message number and the described report initiating end node transmission that described initiation end node according to receiving sends The mode that civilian number calculates link packet packet loss includes:
Message number that described destination node sends self by the described initiation end node receiving, Yi Jisuo The message number stating initiation end node transmission calculates link packet packet loss;
Or
Message number and described initiation end segment that the described initiation end node receiving is sent by described destination node The message number that point sends is sent to described initiation end node by packet loss return information LMR message, so that institute State initiation end node and link packet packet loss is calculated according to above-mentioned each parameter.
6. the link packet packet loss measuring method as described in claim 1-4 is it is characterised in that in institute State message number and the described initiation end segment that destination node sends according to the described initiation end node receiving After the message number that point sends obtains link packet packet loss, also include:Described destination node is to described initiation End node sends packet loss return information LMR message, and described LMR message includes described destination node and is sent to institute State the message number initiating end node, so that described initiation end node is according to described destination node is sent to Initiate the message number of end node and described initiation end node receive described destination node be sent to described The message number initiating end node obtains link packet packet loss.
7. a kind of link packet packet loss measuring method is it is characterised in that include:
Initiate end node and send packet loss calculating information LMM message to destination node, described LMM message includes institute State initiate end node send message number and node to be measured location information so that described destination node according to The described message number initiating end node transmission and described destination node receive described initiation end node and send out The message number giving described destination node obtains link packet packet loss.
8. a kind of link packet packet loss measuring method is it is characterised in that include:
Initiate end node and send packet loss calculating information LMM message to destination node, described LMM message includes institute State the message number initiating end node transmission and the location information of node to be measured;
Described destination node receives the packet loss calculating information LMM message initiating that end node sends, according to described fixed Position information judges whether itself is described node to be measured;If described node to be measured, then statistics receives The described message number initiating end node transmission;
Message number that described destination node sends according to the described initiation end node receiving and described The message number playing end node transmission obtains link packet packet loss.
9. a kind of destination node is it is characterised in that include receiver module, judge module, statistical module And computing module:
Described receiver module is used for receiving the packet loss calculating information LMM message initiating that end node sends, described LMM Message includes the described message number initiating end node transmission and the location information of node to be measured;
Described judge module is used for judging whether itself is described node to be measured according to described location information;
Described statistical module is used for if described node to be measured, then count the described initiation end node receiving The message number sending;
Described computing module is used for the message number of described initiation end node transmission, the Yi Jisuo that basis receives The message number stating initiation end node transmission obtains link packet packet loss.
10. destination node as claimed in claim 9 is it is characterised in that the positioning of described node to be measured Information includes:The positional information of described node to be measured or the relatively described phase initiating end node of described node to be measured To positional information;Described judge module includes position judgment submodule and relative position judging submodule:
Described position judgment submodule is used for judging the position whether with described node to be measured for the positional information of itself Information is identical, such as identical, then be described node to be measured;If it is different, then not being described node to be measured;
Or
Described relative position judging submodule is used for judging itself relatively described relative position letter initiating end node Whether breath is identical with the relative position information of described node to be measured, such as identical, then be described node to be measured;As Fruit differs, then be not described node to be measured.
11. destination nodes as claimed in claim 10 it is characterised in that
When described link is MPLS-TP network link, the relatively described initiation end node of described node to be measured Relative position information includes:Described node to be measured is survived with the tunnel label differing of described initiation end node Value life cycle in periodic quantity or pseudo line tag;
When described link is CFM network link, the positional information of described node to be measured can be described to be measured The MAC Address of node.
12. destination nodes as claimed in claim 9 it is characterised in that also including forwarding module, institute State forwarding module for judging it itself is not described node to be measured according to described location information, then directly will be described LMM message is transmitted to next-hop node.
13. destination nodes as described in claim 9-12 are it is characterised in that described computing module is also used In:
The message number being sent by the described initiation end node receiving and described initiation end node are sent Message number calculate link packet packet loss;
Or
The message number that send the described initiation end node receiving and the message of described initiation end node transmission Number is sent to described initiation end node by packet loss return information LMR message, so that described initiation end node Link packet packet loss is calculated according to above-mentioned each parameter.
14. destination nodes as described in claim 9-12 it is characterised in that also including replying module, Described module of replying is used for the message according to the described initiation end node transmission receiving in described computing module After the message number of number and described initiation end node transmission obtains link packet packet loss, to described initiation End node sends packet loss return information LMR message, and described LMR message includes described destination node and is sent to institute State the message number initiating end node, so that described initiation end node is according to described destination node is sent to Initiate the message number of end node and described initiation end node receive described destination node be sent to described The message number initiating end node obtains link packet packet loss.
A kind of 15. initiation end nodes are it is characterised in that include sending module:
Described sending module is used for sending packet loss calculating information LMM message, described LMM message to destination node Including the location information of the described message number initiating end node transmission and node to be measured, so that described target section Point receives described originating end according to the described message number initiating end node transmission and described destination node The message number that node is sent to described destination node obtains link packet packet loss.
A kind of 16. link packet packet loss measuring systems are it is characterised in that include initiating end node and target Node:
Described initiation end node is used for sending packet loss calculating information LMM message, described LMM to described destination node Message includes the described message number initiating end node transmission and the location information of node to be measured;
Described destination node is used for receiving the packet loss calculating information LMM message initiating that end node sends, according to institute State location information and judge whether itself is described node to be measured;If described node to be measured, then statistics receives The message number that the described initiation end node arriving sends;
Described destination node be additionally operable to the message number being sent according to the described initiation end node receiving and The described message number initiating end node transmission obtains link packet packet loss.
CN201510446685.7A 2015-07-27 2015-07-27 Link message packet loss measurement method and system, target node and initiator node Pending CN106411625A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510446685.7A CN106411625A (en) 2015-07-27 2015-07-27 Link message packet loss measurement method and system, target node and initiator node
PCT/CN2016/076504 WO2016177120A1 (en) 2015-07-27 2016-03-16 Measurement method and system for packet loss of link packet, target node and initiating-end node

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510446685.7A CN106411625A (en) 2015-07-27 2015-07-27 Link message packet loss measurement method and system, target node and initiator node

Publications (1)

Publication Number Publication Date
CN106411625A true CN106411625A (en) 2017-02-15

Family

ID=57218167

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510446685.7A Pending CN106411625A (en) 2015-07-27 2015-07-27 Link message packet loss measurement method and system, target node and initiator node

Country Status (2)

Country Link
CN (1) CN106411625A (en)
WO (1) WO2016177120A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107086943A (en) * 2017-05-24 2017-08-22 深圳市乃斯网络科技有限公司 The computational methods and system of packet loss in network linking
CN109981414A (en) * 2019-03-29 2019-07-05 烽火通信科技股份有限公司 The acquisition methods of number of dropped packets between mpls network node
CN110290017A (en) * 2019-07-26 2019-09-27 新华三大数据技术有限公司 Malfunctioning node localization method and PE equipment
CN113347087A (en) * 2021-06-11 2021-09-03 北京连山科技股份有限公司 Method for improving multilink data transmission correctness
CN113691421A (en) * 2021-08-27 2021-11-23 烽火通信科技股份有限公司 Message generation method and device
CN113872827A (en) * 2021-09-10 2021-12-31 苏州浪潮智能科技有限公司 Method and device for analyzing snakelike test failure of switch and storage medium
CN114567574A (en) * 2022-03-01 2022-05-31 烽火通信科技股份有限公司 Method and device for realizing LM flow-free test based on time sequence control

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106789437B (en) * 2016-12-29 2020-07-28 瑞斯康达科技发展股份有限公司 Message processing method, forwarding method, related device and packet loss rate measuring method
CN115550224A (en) * 2021-06-29 2022-12-30 中国电信股份有限公司 Packet loss analysis system, method, and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100020698A1 (en) * 2008-07-23 2010-01-28 Fujitsu Limited Communication apparatus and OAM frame transmission method
CN102217236A (en) * 2011-05-10 2011-10-12 华为技术有限公司 Method and device for detecting link loss ratio
CN102223263A (en) * 2011-06-09 2011-10-19 中兴通讯股份有限公司 Method and device for monitoring packet loss rate based on an FPGA (Field Programmable Gate Array)
CN103546303A (en) * 2012-07-09 2014-01-29 中兴通讯股份有限公司 Lost frame measuring method and system
CN104348678A (en) * 2013-08-05 2015-02-11 华为技术有限公司 Method, device and system for measuring performance of Ethernet

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102724086B (en) * 2012-06-21 2018-05-04 中兴通讯股份有限公司 Detect the method and device of link quality

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100020698A1 (en) * 2008-07-23 2010-01-28 Fujitsu Limited Communication apparatus and OAM frame transmission method
CN102217236A (en) * 2011-05-10 2011-10-12 华为技术有限公司 Method and device for detecting link loss ratio
CN102223263A (en) * 2011-06-09 2011-10-19 中兴通讯股份有限公司 Method and device for monitoring packet loss rate based on an FPGA (Field Programmable Gate Array)
CN103546303A (en) * 2012-07-09 2014-01-29 中兴通讯股份有限公司 Lost frame measuring method and system
CN104348678A (en) * 2013-08-05 2015-02-11 华为技术有限公司 Method, device and system for measuring performance of Ethernet

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107086943A (en) * 2017-05-24 2017-08-22 深圳市乃斯网络科技有限公司 The computational methods and system of packet loss in network linking
CN109981414A (en) * 2019-03-29 2019-07-05 烽火通信科技股份有限公司 The acquisition methods of number of dropped packets between mpls network node
CN110290017A (en) * 2019-07-26 2019-09-27 新华三大数据技术有限公司 Malfunctioning node localization method and PE equipment
CN113347087A (en) * 2021-06-11 2021-09-03 北京连山科技股份有限公司 Method for improving multilink data transmission correctness
CN113347087B (en) * 2021-06-11 2022-01-18 北京连山科技股份有限公司 Method for improving multilink data transmission correctness
CN113691421A (en) * 2021-08-27 2021-11-23 烽火通信科技股份有限公司 Message generation method and device
CN113691421B (en) * 2021-08-27 2022-08-02 烽火通信科技股份有限公司 Message generation method and device
CN113872827A (en) * 2021-09-10 2021-12-31 苏州浪潮智能科技有限公司 Method and device for analyzing snakelike test failure of switch and storage medium
CN114567574A (en) * 2022-03-01 2022-05-31 烽火通信科技股份有限公司 Method and device for realizing LM flow-free test based on time sequence control
CN114567574B (en) * 2022-03-01 2023-11-10 烽火通信科技股份有限公司 Method and device for realizing LM flow-free test based on time sequence control

Also Published As

Publication number Publication date
WO2016177120A1 (en) 2016-11-10

Similar Documents

Publication Publication Date Title
CN106411625A (en) Link message packet loss measurement method and system, target node and initiator node
CN111052668B (en) Residence time measurement for optimizing network services
CN105072629B (en) Method, equipment and the system of the quality of the business run in measuring terminals
JP5462954B2 (en) Packet loss detection method and apparatus, and router
US20140086064A1 (en) Ethernet oam performance management
CN106936661B (en) Network monitoring method, device and system
US20050099955A1 (en) Ethernet OAM fault isolation
US20070064611A1 (en) Method for monitoring packet loss ratio
CN102195832A (en) Loopback testing method, device and system
CN105308904B (en) A kind of OAM message processing method, the network equipment and network system
CN102984018B (en) Ethernet loss packet test method, equipment and system
KR101467137B1 (en) In-service throughput testing in distributed router/switch architectures
US8824302B2 (en) Proxy maintenance endpoint at provider edge switch
CN110166311B (en) Method, equipment and network system for measuring network performance
US20150036510A1 (en) Method and device for measuring ethernet performance
CN103580894A (en) Method, device and system for operation, administration and maintenance (OAM) configuration
TWI492575B (en) Fast lsp alert mechanism
CN102868569A (en) Method, node and system for detecting performance of three-layer virtual private network
CN108632099A (en) A kind of fault detection method and device of link aggregation
CN102136995B (en) Method and device for switching OAM (Operations, Administration and Maintenance) between MPLS (Multiple-Protocol Label Switching) and MPLS-TP (Multiple-Protocol Label Switching-Transport Profile)
US10996971B2 (en) Service OAM for virtual systems and services
CN106559283A (en) A kind of network monitoring method, apparatus and system
WO2011144139A1 (en) Method and device for detecting internet protocol address collision in autonomous system
CN102833122B (en) Loopback detection method and system
CN114124753B (en) Message sending method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200624

Address after: 518057 Zhongxing building, A3-01, A3-02, Nanshan District hi tech Industrial Park, Shenzhen, Guangdong

Applicant after: Shenzhen ZTE Technical Service Co.,Ltd.

Address before: 518057 Nanshan District science and Technology Industrial Park, Guangdong high tech Industrial Park, ZTE building

Applicant before: ZTE Corp.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170215