WO2016177120A1 - Procédé et système de mesure de perte de paquet de paquet de liaison, nœud cible et nœud d'extrémité émettrice - Google Patents
Procédé et système de mesure de perte de paquet de paquet de liaison, nœud cible et nœud d'extrémité émettrice Download PDFInfo
- Publication number
- WO2016177120A1 WO2016177120A1 PCT/CN2016/076504 CN2016076504W WO2016177120A1 WO 2016177120 A1 WO2016177120 A1 WO 2016177120A1 CN 2016076504 W CN2016076504 W CN 2016076504W WO 2016177120 A1 WO2016177120 A1 WO 2016177120A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- node
- tested
- target
- packets sent
- packet
- 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.)
- Ceased
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
Definitions
- the present application relates to, but is not limited to, the field of communications, and in particular, to a link packet loss measurement method, system, target node, and initiator node.
- OAM Operation, Administration, and Maintenance
- the operation mainly completes the analysis, prediction, planning and configuration of daily network and business; the maintenance is mainly the daily operation activities of testing and fault management of the network and its services.
- OAM functions can be divided into: fault management: such as fault measurement, fault classification, fault location, fault notification, etc.; performance management: such as performance monitoring, performance analysis, performance management control, etc.; protection recovery: such as protection mechanism, recovery mechanism.
- the LM function of the OAM (that is, the frame loss measurement function) is used to count the difference between the number of transmission and reception service frames of the ingress and egress of the transport-to-point T-MPLS (Transport Multi-Protocol Label Switching) to calculate the number of link loss and Lost bags and so on.
- TMS Transmission Multi-Protocol Label Switching
- TMC Transport Multi-Protocol Label Switching
- MPLS-TP OAM BHH
- TMS Transmission Multi-Protocol Label Switching
- CFM Connectivity Fault Management
- the LM functions of the two OAMs provide an end-to-end (PE to PE node) packet loss measurement.
- the PE cannot provide link loss measurement for any P node. There is a certain amount of network maintenance work. defect.
- the embodiment of the invention provides a link packet loss measurement method and system, a target node, and an initiator node, which can solve the problem that only the end-to-end link packet loss measurement can be performed, and the end-to-end intermediate node cannot be performed. Link packet loss measurement problem.
- the embodiment of the invention provides a link packet loss measurement method, including:
- the target node receives the packet loss calculation information (LMM) message sent by the initiating end node, where the LMM message includes the number of the packets sent by the initiating end node and the positioning information of the node to be tested;
- LMM packet loss calculation information
- the target node is the node to be tested, the number of received packets sent by the originating node is counted;
- the target node obtains the link packet loss according to the received number of the packets sent by the originating node and the number of the packets sent by the originating node.
- the location information of the node to be tested includes: location information of the node to be tested or relative location information of the node to be tested relative to the initiator node;
- Determining, by the target node, whether the node is the node to be tested according to the location information includes:
- the relative location information of the node to be tested relative to the initiator node includes: the node to be tested and the initiator The lifetime value in the tunnel label of the phase difference of the end node or the lifetime period value in the pseudowire label;
- the location information of the node to be tested may be the MAC address of the node to be tested.
- the method further includes: the target node determining, according to the location information, that the node is not the node to be tested, and directly forwarding the LMM packet to the next hop node.
- the method for obtaining a link packet loss according to the received number of the packets sent by the initiating end node and the number of the packets sent by the initiating end node includes: :
- the target node itself calculates the packet loss of the link packet by using the number of the packets sent by the originating end node and the number of the packets sent by the originating end node;
- the initiator node is configured to calculate a link packet loss according to the foregoing parameters.
- the target node obtains link packet loss according to the number of received packets sent by the originating node and the number of packets sent by the originating node.
- the method further includes: the target node sending a packet loss reply information (LMR) message to the originating node, where the LMR message includes a packet sent by the target node to the originating node a number, such that the number of packets sent by the originating node to the originating node according to the target node, and the number of packets sent by the originating node to the originating node by the originating node The number gets the packet packet loss.
- LMR packet loss reply information
- the embodiment of the invention further provides a link packet loss measurement method, including:
- the initiating end node sends a packet loss calculation information (LMM) message to the target node, where the LMM message includes the number of the packets sent by the initiating end node and the positioning information of the node to be tested, so that the target node according to the The number of the packets sent by the initiating end node and the number of packets sent by the target node to the target node by the originating node are lost in the link packet.
- LMM packet loss calculation information
- the embodiment of the invention further provides a link packet loss measurement method, including:
- the initiating end node sends a packet loss calculation information (LMM) message to the target node, where the LMM message includes the number of the packets sent by the initiating end node and the positioning information of the node to be tested;
- LMM packet loss calculation information
- the target node receives the LMM message sent by the initiating end node, and determines whether it is the node to be tested according to the positioning information; if the target node is the node to be tested, the receiving end is counted Number of packets sent by the node;
- the target node obtains the link packet loss according to the received number of the packets sent by the originating node and the number of the packets sent by the originating node.
- An embodiment of the present invention further provides a target node, including a receiving module, a determining module, a statistics module, and a computing module;
- the receiving module is configured to: receive a packet loss calculation information (LMM) packet sent by the initiating end node, where the LMM packet includes the number of packets sent by the initiating end node and the positioning information of the node to be tested. ;
- LMM packet loss calculation information
- the determining module is configured to: determine, according to the positioning information, whether the node is the node to be tested;
- the statistic module is configured to: if the determining module determines that the target node is the node to be tested, the number of received packets sent by the originating end node is counted;
- the calculating module is configured to: obtain a link packet loss according to the received number of the packets sent by the initiating end node and the number of the packets sent by the initiating end node.
- the location information of the node to be tested includes: location information of the node to be tested or relative location information of the node to be tested relative to the initiator node;
- the determining module includes a position determining sub-module and a relative position determining sub-module;
- the position determining sub-module is configured to: determine whether the location information of the same is the same as the location information of the node to be tested, and if yes, determine that the target node is the node to be tested; if not, determine the The target node is not the node to be tested;
- the relative position determining sub-module is configured to: determine whether the relative position information of the initiating end node is the same as the relative position information of the node to be tested, and if the same, determine that the target node is the to-be-tested a node; if not, determining that the target node is not the node to be tested.
- the waiting The relative position information of the measured node relative to the originating end node includes: a lifetime period value in the tunnel label of the difference between the node to be tested and the originating end node or a lifetime period value in the pseudowire label;
- the location information of the node to be tested may be the MAC address of the node to be tested.
- the target node further includes a forwarding module, and the forwarding module is configured to: directly determine, when the determining module determines that the node is not the node to be tested according to the positioning information, The LMM packet is forwarded to the next hop node.
- the computing module is configured to:
- the target node further includes a reply module, and the reply module is configured to: in the computing module, according to the received number of the sent packets of the originating end node, and After the number of the packets sent by the initiating end node is lost, the packet is sent to the initiating end node, and the LMR packet is sent to the initiating end node, where the LMR packet is sent by the target node.
- the number of the packets of the initiating end node so that the initiating end node sends the number of packets sent by the target node to the initiating end node, and the initiating end node receives the target node and sends the packet to the The number of packets of the initiating end node is lost in the link packet.
- An embodiment of the present invention further provides an originating end node, including a sending module,
- the sending module is configured to: send a packet loss calculation information (LMM) message to the target node, where the LMM message includes the number of packets sent by the initiator node and the location information of the node to be tested, And causing the target node to obtain a link packet loss according to the number of the packets sent by the originating node and the number of packets sent by the target node to the target node by the originating node.
- LMM packet loss calculation information
- the embodiment of the invention further provides a link packet loss measurement system, including an initiator node and a destination Standard node
- the initiating end node is configured to: send a packet loss calculation information (LMM) message to the target node, where the LMM message includes the number of packets sent by the initiating end node and the location of the node to be tested. information;
- LMM packet loss calculation information
- the target node is configured to: receive an LMM packet sent by the initiating end node, determine, according to the positioning information, whether the node is the node to be tested, and if the node to be tested, collect the received end Number of packets sent by the node;
- the target node is further configured to: obtain a link packet loss according to the received number of the packets sent by the initiating end node and the number of the packets sent by the initiating end node.
- an embodiment of the present invention further provides a computer readable storage medium storing computer executable instructions, where the computer executable instructions are executed to implement the link packet loss measurement method applied to a target node.
- an embodiment of the present invention further provides a computer readable storage medium storing computer executable instructions, where the computer executable instructions are implemented to implement the link packet loss measurement method applied to an originating end node.
- the link packet loss measurement method and system, the target node, and the initiator node are provided by the embodiment of the present invention.
- the target node receives the LMM packet sent by the initiator node, and the LMM packet includes the number of packets sent by the initiator node.
- the location information of the node to be tested; the target node determines whether it is the node to be tested according to the location information; if it is the node to be tested, it counts the number of packets sent by the initiator node; the target node is based on the received initiator node.
- the number of sent packets and the number of packets sent by the initiating end node are lost.
- the positioning information of the node to be tested can be used to locate the position of the intermediate node between the end and the end.
- the LMM packet defined in the current OAM standards can be used to perform link packet loss measurement.
- the link packet measurement of the end-to-end intermediate node is implemented, which is a supplement to the relevant standards, and also provides a good means for link loss measurement measurement for practical applications and engineering maintenance.
- FIG. 1 is a schematic flowchart of a link packet loss measurement method according to Embodiment 1 of the present invention.
- 2-1 is a schematic diagram 1 of packet flow direction in a link packet loss measurement method according to Embodiment 2 of the present invention
- FIG. 2-3 is a schematic diagram 2 of packet flow direction in a link packet loss measurement method according to Embodiment 2 of the present invention.
- 3-1 is a schematic diagram of packet flow in a link packet loss measurement method according to Embodiment 3 of the present invention.
- FIG. 4 is a schematic structural diagram 1 of a target node according to Embodiment 4 of the present invention.
- FIG. 5 is a schematic structural diagram 2 of a target node according to Embodiment 4 of the present invention.
- FIG. 6 is a schematic structural diagram 3 of a target node according to Embodiment 4 of the present invention.
- FIG. 7 is a schematic structural diagram 4 of a target node according to Embodiment 4 of the present invention.
- FIG. 8 is a schematic structural diagram of an originating end node according to Embodiment 4 of the present invention.
- FIG. 9 is a schematic structural diagram of a link packet loss measurement system according to Embodiment 4 of the present invention.
- the link packet loss measurement method in this embodiment includes the following steps:
- Step S101 The target node receives the LMS (Loss Measurement Message) message sent by the initiating end node, where the LMM message includes the number of the packets sent by the initiating end node and the positioning information of the node to be tested.
- LMS Loss Measurement Message
- the target node here should be understood as any node in the middle of the end, Of course, these nodes have a Maintenance Intermediate Point (MIP) and enable Lost Measurement (LM) function. Of course, instead of measuring the node, you do not need to configure the MIP.
- MIP Maintenance Intermediate Point
- LM Lost Measurement
- the originator here refers to the first end of a link on which two pieces of information are used for information exchange.
- the target node can also be an end node.
- the number of packets sent by the initiating end node is the number of packets sent by the initiating end node to the next hop node.
- the specific packet may be a data packet and a client layer packet.
- the initiator will continuously send various packets to the next hop node, and the LMM packet is to tell the next hop node how many packets are sent.
- the number of packets sent by different services is corresponding.
- the rate and the priority are different.
- Step S102 The target node determines, according to the positioning information, whether it is a node to be tested.
- each node has its corresponding node location information, and the location information may be its corresponding address information or the first few in the link.
- a node for example, an end-to-end link has four nodes, and the originating end is a head end node, and their corresponding addresses are 132.132.45.16, 132.132.45.26, 132.132.45.36, and 132.132.45.46, respectively, or may be correspondingly numbered as the initiating end node PE1. , the intermediate node P1, the intermediate node P2, and the receiving end node PE2.
- the location information is specific to which node to perform link packet loss measurement.
- the location information may be 132.132.45.26 or P1.
- Step S103 If it is a node to be tested, the number of received packets sent by the originating end node is counted;
- the number of packets, the rate, and the priority of the packets sent by the different services are different.
- the number of messages is X2.
- Step S104 The target node obtains the link packet loss according to the number of the received packets sent by the originating end node and the number of the packets sent by the originating end node.
- the target node can calculate the link packet loss by itself, that is, the link packet is calculated by the number of the packets sent by the originating end node and the number of the packets sent by the originating end node. Packet loss, combined with the above example, the link packet loss is: X1-X2.
- the calculation is performed by the unified initiating end node, so as to manage the lost packet of the used node, the target node may also receive the number of packets sent by the initiating end node and the initiating end node. The number of sent packets is sent to the initiating end node by using the LSR (Loss Measurement Reply) message, so that the initiating end node calculates the link packet loss according to the above parameters.
- LSR Loss Measurement Reply
- the receiving time can also be recorded.
- the target node records that X1 messages are received, and the time for receiving the packets is T1, so that the link loss rate calculation, that is, the chain, can be performed.
- the road packet loss rate is: (X1-X2)/T1.
- the location information of the node to be tested in the foregoing step S102 may be the location information of the node to be tested or the relative location information of the node to be tested relative to the initiator node.
- the target node determines whether it is based on the location information.
- the node to be tested includes: the target node determines whether the location information of the node is the same as the location information of the node to be tested, and if it is the same, it is the node to be tested; if it is different, it is not the node to be tested; or, the target node determines the relative originating node of the node.
- the relative position information is the same as the relative position information of the node to be tested, if it is the same, it is the node to be tested; if not, it is not the node to be tested.
- the node to be tested is P2
- the location information may be the location information of P2 132.132.45.26, or the location information of P2 relative to PE1, that is, the first node after PE1, that is, the location The information is the second node after PE1. Then the target node determines whether its own address is 132.132.45.26.
- node If it is, it indicates that it is the node to be tested, or whether it is the second node after the originating node PE1, and if it is the second node, it is to be tested. node. It should be understood that other methods that can be used to locate which node to measure should be included.
- the information may be improved based on a related protocol.
- the link is a Multi-Protocol Label Switching Transport Profile (MPLS-TP) network link
- the relative location information of the node to be tested relative to the initiator node is Including: a lifetime value (TTL) in a tunnel label of a difference between the node to be tested and the originating node or a lifetime period value (TTL) in the pseudowire label, that is, the TTL is an abbreviation of Time To Live (this period).
- TTL lifetime value
- TTL lifetime period value
- the location information of the node to be tested may be a Media Access Control (MAC) address of the node to be tested.
- MAC Media Access Control
- the method further includes: when the target node determines that it is not the node to be tested according to the location information, directly forwards the LMM packet to the next hop node.
- the method further includes: the target node sends a packet loss reply message (LMR) message to the originating node, where the LMR packet includes the target node and sends the packet to the initiator.
- LMR packet loss reply message
- the number of packets of the node so that the originating node obtains the link packet loss according to the number of packets sent by the target node to the originating node and the number of packets sent by the originating node to the originating node. package. That is, not only the link loss of the link from the originating node to the node to be tested but also the link loss of the link from the node to the initiator can be measured.
- the originating end node sends a packet loss calculation information (LMM) packet to the target node, where the LMM packet includes the number of packets sent by the originating end node and the node to be tested.
- the positioning information is such that the target node obtains the link packet loss according to the number of the packets sent by the originating node and the number of packets sent by the target node to the destination node.
- the link packet loss measurement method in this embodiment is mainly used to introduce the LM function of the tunnel layer in the TP-OAM protocol, as shown in Figure 2-1, and Figure 2-1 shows the packet flow direction diagram in the method.
- each node is named PE1, P1, P2, and PE2.
- the link packet loss measurement method includes the following steps:
- Step S201 Configure a Maintenance End Point (MEP) node on the PE1 node, and enable the LM function, and configure the TTL of the configured LM to the destination MIP node;
- MIP Maintenance End Point
- the MEP node is configured on the PE1 as required by the user, the LM function of the tunnel layer is enabled, and basic information such as the LM priority is configured.
- the OAM protocol processing module of the PE1 node assembles the Protocol Data Unit (PDU) of the LMM packet according to the OAM protocol standard, and encapsulates the tunnel label and the Ethernet Layer 2 header.
- PDU Protocol Data Unit
- the lifetime of the LMM packet tunnel is TTL, indicating that the LM packet sent starts at the PE1 node and ends at the P2 node.
- the OAM performance processing module of PE1 starts to count the number of service packets and OAM packets passing through the node, that is, the number of packets sent/received by the local end. After receiving the LMM, the OAM performance processing module sends the local device to send the packet count to the corresponding LM packet with the priority of the LM packet.
- Step S202 For the intermediate point P1 node, the switching chip needs to decrement the TTL of the packet tunnel label by 1;
- the intermediate node of the non-destination point can select whether to configure the MIP node according to the configuration of the user. If the P1 node is configured with the MIP and the LM function is enabled, the OAM performance processing module of the P1 node identifies the received LMM packet and determines whether the TTL value in the tunnel label is 1. As shown in Figure 2-1, the TTL of the LMM packet received by the P1 node is 2, and the OAM performance processing module of the LMM packet is directly transmitted to the switch chip. If the M1 is not configured on the P1 node, the process of verifying the TTL value by the OAM performance processing module is omitted. In this case, the value of the TTL is directly forwarded to the switch chip. The switch chip receives the LMM packet with the TTL equal to 2, decrements the TTL by 1, and forwards it to the next hop node according to the original direction of the tunnel.
- the OAM performance processing module of P2 starts to count the number of service packets and OAM packets passing through the node, that is, the remote end. / Number of received messages.
- the OAM performance processing module of the P2 node identifies the received LMM packet and reads the TTL value in its tunnel label. As shown in Figure 2-1, the TTL value of the LMM packet is equal to 1.
- the OAM performance processing module finds the counter with the same priority according to the priority information of the LMM packet, and records it in the reserved field of the LMM packet, and finally forwards it to the switch chip.
- the switch chip of the P2 node reads the TTL value of the LMM packet, and finally forwards the LMM packet with the TTL of 1 to the OAM protocol processing module.
- Step S204 The OAM protocol processing module of the P2 node receives the LMM packet, and replies to the LMR packet according to the relevant standard.
- the OAM protocol processing module of the P2 node encapsulates and replies with a corresponding LMR packet (TTL value is 255), and sends the packet through the switch chip.
- the OAM performance processing module of the P2 node receives the LMR packet from the switch chip. Similar to the LMM, the LMR packet needs to be matched with the LMR packet priority (that is, the number of packets sent by the remote end).
- Step S205 The PE1 node receives the LMR packet, and the OAM performance processing module sends the OAM protocol processing module to the OAM protocol processing module for processing;
- the PE1 node OAM performance processing module receives the LMR packet, and needs to put a counter count with the same priority in the reserved field (that is, the number of packets received by the local end), and the core is exchanged.
- the slice is extracted to the OAM protocol processing module of the PE1 node for further processing.
- the OAM protocol processing module of the PE1 node receives the LMR packet, and reads the number of packets sent by the local end, the number of remotely received packets, the number of packets sent by the remote end, and the local receiving packet. The number of four counts is counted, and the number of near/far end packets and the near/far end packet loss rate are calculated according to relevant standards.
- Step S206 Read the required performance statistics at the PE1 node.
- the figure is the flow diagram of the packet, but the TTL value of the LM packet is carried in the pseudo-line label, and other implementation processes and the embodiment Very similar, this article is not repeated.
- the intermediate node of the destination point in this embodiment is a node to be tested, and the originating end node is a PE1 node.
- the link packet loss measurement method in this embodiment is mainly used to introduce the LM function in the Ethernet CFM, as shown in Figure 3-1.
- the figure is the flow direction diagram of the packet in the method.
- this document Name the rack MACs of the first three nodes as MAC0, MAC1, and MAC2.
- the link packet loss measurement method includes the following steps:
- Step S301 Configure an MEP node on the PE1 node, enable the LM function, and configure the destination MAC of the LM to be assigned to the destination MIP node.
- the MEP node is configured on the PE1 according to the needs of the user, the LM to the MIP node is enabled, and the MAC address of the MIP node (ie, MAC2) is assigned, and basic information such as the LM priority is configured.
- the OAM protocol processing module of the PE1 node assembles the PDU of the LMM packet and the Ethernet Layer 2 header according to the OAM protocol standard. As shown in Figure 3-1, the destination MAC address of the LMM packet is MAC2, indicating that the sent LM packet starts at the PE1 node and ends at the P2 node.
- the OAM performance processing module of PE1 starts to count the number of service packets and OAM packets passing through the node, that is, the number of packets sent/received by the local end. After receiving the LMM, the OAM performance processing module puts the count value corresponding to the priority of the LMM packet in the corresponding field in the LMM packet, and sends it to the next hop node.
- Step S302 For the intermediate point, the switch chip needs to determine whether the DMAC of the LMM message is consistent with the MAC address of the device, and if yes, extract, and vice versa;
- the intermediate node of the non-destination point can select whether to configure the MIP according to the configuration of the user. node. If the M1 is configured on the P1 node and the LM function is enabled, the OAM performance processing module of the P1 node identifies the received LMM packet and determines whether its destination MAC address is the rack MAC address of the local device. As shown in Figure 3-1, the DMAC receives the LMM packet as the MAC2 and the non-local frame MAC address. The LMM packet OAM performance processing module directly transmits the packet to the switch chip. If the MIP node is not configured on the P1, the process of verifying the destination MAC address is omitted.
- the value of the destination MAC address of the LMM is directly forwarded to the switch chip.
- the switch chip receives the LMM packet whose DMAC is not equal to the MAC address of the local chassis, and forwards the packet to the next hop node in the VLAN domain.
- Step S303 The OAM performance processing module of the P2 node identifies that the DMAC is consistent with the MAC address of the local device, and the MIP is configured, and the LMM packet is sent to the OAM protocol processing module through the switch chip for processing;
- the OAM performance processing module of P2 starts to count the number of service packets and OAM packets passing through the node, that is, the remote end. / Number of received messages.
- the OAM performance processing module of the P2 node identifies the received LMM packet and reads the destination MAC address of the packet. As shown in Figure 3-1, the destination MAC address of the LMM packet is equal to the chassis MAC address of the P2 node.
- the OAM performance processing module puts a count corresponding to the priority of the packet in the reserved field of the LMM packet (that is, the number of packets received by the remote end) (this process can also pass the count value in the packet cookie), and finally forwards it to the reserved packet.
- Switch chip The switch chip of the P2 node reads the destination MAC address of the LMM packet, and finally forwards the LMM packet whose destination MAC address is equal to the MAC2 to the OAM protocol processing module.
- Step S304 The OAM protocol processing module of the P2 node receives the LMM packet, and replies to the LMR packet according to the relevant standard.
- the OAM protocol processing module of the P2 node assembles and replies with a corresponding LMR message and sends it to the switch chip.
- the destination MAC address of the LMR packet is equal to the SMAC of the LMM packet.
- the DMAC of the LMR packet is equal to MAC0.
- the OAM performance processing module of the P2 node receives the LMR packet from the switch chip, similar to the LMM, and also puts the count corresponding to the priority of the LMR packet in the corresponding field of the LMR (that is, the number of packets sent by the remote end).
- Step S305 The PE1 node receives the LMR packet, and the OAM performance processing module sends the OAM protocol processing module to the OAM protocol processing module for processing;
- the PE1 node OAM performance processing module receives the LMR packet, and needs to put the local receiving packet count in the reserved field of the packet and extract the packet to the OAM protocol processing module through the switch chip for further processing.
- the OAM protocol processing module of the PE1 node receives the LMR packet, and reads the number of packets sent by the local end, the number of remotely received packets, the number of packets sent by the remote end, and the local receiving packet. The number of four counts is counted, and the number of near/far end packets and the near/far end packet loss rate are calculated according to relevant standards.
- Step S306 Read the required performance statistics at the PE1 node.
- the present embodiment provides a target node 400, as shown in FIG. 4, including a receiving module 401, a determining module 402, a statistic module 403, and a computing module 404.
- the receiving module 401 is configured to: receive packet loss calculation information sent by the originating node ( The LMM packet includes: the number of the packets sent by the initiating end node and the positioning information of the node to be tested; the determining module 402 is configured to: determine whether the node is a node to be tested according to the positioning information; and the statistics module 403 is configured to If the determining module 402 determines that the target node 400 is a node to be tested, the number of received packets sent by the initiating end node is counted; the calculating module 404 is configured to: according to the number of received packets sent by the initiating end node, and The number of packets sent by the initiating end node is lost in the link packet.
- the embodiment further provides a target node 400.
- the determining module 402 includes a position determining sub-module 4021 and a relative position determining sub-module 4022.
- the positioning information of the node to be tested includes: location information of the node to be tested.
- the position determining sub-module 4021 is configured to: determine whether the location information of the node is the same as the location information of the node to be tested, and if the same, determine that the target node 400 is the node to be tested; If the target node 400 is not the node to be tested, the relative position determining sub-module 4022 is configured to: determine whether the relative position information of the node to be tested is the same as the relative node of the initiating node, and if yes, determine that the target node 400 is to be tested. Node; if not, it is determined that the target node 400 is not a node to be tested.
- the relative location information of the node to be tested relative to the initiator node includes: a lifetime value or a pseudowire label in the tunnel label of the difference between the node to be tested and the initiator node.
- the lifetime value of the node to be tested may be the MAC address of the node to be tested when the link is a CFM network link.
- the embodiment further provides a target node 400.
- the target node 400 further The forwarding module 405 is configured to: when the determining module 402 determines that it is not a node to be tested according to the positioning information, directly forwards the LMM message to the next hop node.
- the calculating module 404 is configured to: calculate, according to the received number of the packets sent by the initiating end node, and the number of the packets sent by the initiating end node, the link packet loss; or, the received packet
- the number of the packets sent by the initiating end node and the number of the packets sent by the initiating end node are sent to the initiating end node through the packet loss reply message (LMR) message, so that the initiating end node calculates the link packet loss according to the above parameters. package.
- LMR packet loss reply message
- the embodiment further provides a target node 400.
- the target node 400 further includes a reply module 406.
- the reply module 406 is configured to: according to the received message sent by the sending end node by the calculating module 404. After the number of packets sent by the initiating end node is lost, the packet is sent to the initiating end node, and the LMR packet is sent to the initiating end node. The number of packets, so that the originating node obtains the link packet according to the number of packets sent by the target node 400 to the originating node, and the number of packets sent by the originating node to the originating node by the originating node 400. Lose the package.
- the embodiment further provides an initiating end node 500.
- the initiating end node 500 includes a sending module 501, and the sending module 501 is configured to: send a packet loss calculation information (LMM) message to the target node 400.
- LMM packet includes the number of the packets sent by the initiating end node and the positioning information of the node to be tested, so that the target node 400 sends the number of the packets sent by the initiating end node, and the target node 400 receives the sending end node.
- the number of packets of the target node 400 is lost in the link packet.
- This embodiment further provides a link packet loss measurement system, as shown in FIG. 9, the system includes an initiator node 500 and a target node 400;
- the initiating end node 500 is configured to: send a packet loss calculation information (LMM) message to the target node 400, where the LMM message includes the number of packets sent by the initiating end node 500 and the positioning information of the node to be tested;
- the method is: receiving the LMM packet sent by the initiating end node 500, determining whether it is the node to be tested according to the positioning information; if it is the node to be tested, counting the number of the packets sent by the initiating end node 500; The packet is lost according to the number of received packets sent by the initiating end node 500 and the number of packets sent by the initiating end node 500.
- LMM packet loss calculation information
- an embodiment of the present invention further provides an initiator node, including a processor and a memory, where the processor stores instructions executable by the processor, and when the instruction is executed by the processor, performs the function of the module shown in FIG.
- an embodiment of the present invention further provides a target node, including a processor and a memory, where the processor stores instructions executable by the processor, and when the instruction is executed by the processor, executes FIG. 4, FIG. 5, FIG. 6, or FIG. The function of the module shown.
- an embodiment of the present invention further provides a computer readable storage medium storing computer executable instructions, which implement a link packet loss measurement method applied to a target node when the computer executable instructions are executed.
- an embodiment of the present invention further provides a computer readable storage medium storing computer executable instructions, which implement a link packet loss measurement method applied to an originating end node when the computer executable instructions are executed.
- each module/unit in the above embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, executing a program stored in the memory by a processor. / instruction to achieve its corresponding function.
- This application is not limited to any specific combination of hardware and software.
- the embodiment of the invention provides a link packet loss measurement method and system, a target node, and an initiator node, which can locate the position of the intermediate node between the end and the end, and can be used after the positioning, and can utilize various current OAM standards.
- the LMM packet is used to measure the packet loss of the link packet, and the link packet loss measurement of the end-to-end intermediate node is implemented.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
L'invention porte sur un procédé de mesure de la perte de paquet d'un paquet de liaison, comprenant les étapes suivantes : un nœud cible reçoit un paquet de message de mesure de perte (LMM) envoyé par un nœud d'extrémité émettrice, le paquet LMM comprenant le nombre de paquets envoyés par le nœud d'extrémité émettrice et des informations de localisation concernant un nœud à mesurer ; le nœud cible détermine si le nœud cible est un nœud à mesurer en fonction des informations de localisation ; si le nœud cible est un nœud à mesurer, comptage du nombre de paquets envoyés par le nœud d'extrémité émettrice ; et le nœud cible obtient le taux de perte de paquet d'un paquet de liaison en fonction du nombre de paquets reçus ayant été envoyés par le nœud d'extrémité émettrice et du nombre de paquets envoyés par le nœud d'extrémité émettrice. Au moyen d'informations de localisation concernant un nœud à mesurer, le procédé peut localiser un nœud intermédiaire entre les extrémités, et le taux de perte de paquet d'un paquet de liaison peut être mesuré à l'aide d'un paquet LMM actuellement défini dans divers normes OAM, ce qui permet de réaliser la détection du taux de perte de paquet du paquet de liaison du nœud intermédiaire entre les extrémités.
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510446685.7A CN106411625A (zh) | 2015-07-27 | 2015-07-27 | 链路报文丢包测量方法、系统及目标节点、发起端节点 |
| CN201510446685.7 | 2015-07-27 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2016177120A1 true WO2016177120A1 (fr) | 2016-11-10 |
Family
ID=57218167
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2016/076504 Ceased WO2016177120A1 (fr) | 2015-07-27 | 2016-03-16 | Procédé et système de mesure de perte de paquet de paquet de liaison, nœud cible et nœud d'extrémité émettrice |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN106411625A (fr) |
| WO (1) | WO2016177120A1 (fr) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106789437A (zh) * | 2016-12-29 | 2017-05-31 | 瑞斯康达科技发展股份有限公司 | 报文的处理方法、转发方法、相关装置及丢包率测量方法 |
| CN114465897A (zh) * | 2020-11-06 | 2022-05-10 | 中国电信股份有限公司 | 业务流中数据包的监控方法、装置和系统 |
| CN114567574A (zh) * | 2022-03-01 | 2022-05-31 | 烽火通信科技股份有限公司 | 一种基于时序控制实现lm免流量测试的方法与装置 |
| CN115550224A (zh) * | 2021-06-29 | 2022-12-30 | 中国电信股份有限公司 | 丢包分析系统、方法以及存储介质 |
Families Citing this family (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107086943A (zh) * | 2017-05-24 | 2017-08-22 | 深圳市乃斯网络科技有限公司 | 网络链接中丢包的计算方法及系统 |
| CN109981414B (zh) * | 2019-03-29 | 2021-08-24 | 烽火通信科技股份有限公司 | mpls网络节点间丢包数的获取方法 |
| CN112203212A (zh) * | 2019-06-19 | 2021-01-08 | 厦门雅迅网络股份有限公司 | 基于丢包率的蓝牙定位方法及计算机可读存储介质 |
| CN110290017B (zh) * | 2019-07-26 | 2022-06-10 | 新华三大数据技术有限公司 | 故障节点定位方法及pe设备 |
| CN113347087B (zh) * | 2021-06-11 | 2022-01-18 | 北京连山科技股份有限公司 | 一种提高多链路数据传输正确性的方法 |
| CN113691421B (zh) * | 2021-08-27 | 2022-08-02 | 烽火通信科技股份有限公司 | 一种报文生成方法和装置 |
| CN113872827B (zh) * | 2021-09-10 | 2023-03-24 | 苏州浪潮智能科技有限公司 | 一种交换机蛇形测试失败的分析方法、装置及存储介质 |
| CN115632968A (zh) * | 2022-10-11 | 2023-01-20 | 中国工商银行股份有限公司 | 网络链路的监测方法及装置、电子设备、存储介质 |
| CN116723130B (zh) * | 2023-06-15 | 2026-01-02 | 武汉迈威通信股份有限公司 | 串口服务器Modbus性能测试方法、系统及设备 |
Citations (5)
| 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 |
| CN102223263A (zh) * | 2011-06-09 | 2011-10-19 | 中兴通讯股份有限公司 | 基于fpga的丢包率监测方法及装置 |
| CN102724086A (zh) * | 2012-06-21 | 2012-10-10 | 中兴通讯股份有限公司 | 检测传输链路质量的方法及装置 |
| CN103546303A (zh) * | 2012-07-09 | 2014-01-29 | 中兴通讯股份有限公司 | 一种丢失帧测定方法及系统 |
| CN104348678A (zh) * | 2013-08-05 | 2015-02-11 | 华为技术有限公司 | 以太网性能测量方法、装置及系统 |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2011124165A2 (fr) * | 2011-05-10 | 2011-10-13 | 华为技术有限公司 | Procédé et dispositif de détection d'un rapport de perte de liaison |
-
2015
- 2015-07-27 CN CN201510446685.7A patent/CN106411625A/zh active Pending
-
2016
- 2016-03-16 WO PCT/CN2016/076504 patent/WO2016177120A1/fr not_active Ceased
Patent Citations (5)
| 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 |
| CN102223263A (zh) * | 2011-06-09 | 2011-10-19 | 中兴通讯股份有限公司 | 基于fpga的丢包率监测方法及装置 |
| CN102724086A (zh) * | 2012-06-21 | 2012-10-10 | 中兴通讯股份有限公司 | 检测传输链路质量的方法及装置 |
| CN103546303A (zh) * | 2012-07-09 | 2014-01-29 | 中兴通讯股份有限公司 | 一种丢失帧测定方法及系统 |
| CN104348678A (zh) * | 2013-08-05 | 2015-02-11 | 华为技术有限公司 | 以太网性能测量方法、装置及系统 |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106789437A (zh) * | 2016-12-29 | 2017-05-31 | 瑞斯康达科技发展股份有限公司 | 报文的处理方法、转发方法、相关装置及丢包率测量方法 |
| CN106789437B (zh) * | 2016-12-29 | 2020-07-28 | 瑞斯康达科技发展股份有限公司 | 报文的处理方法、转发方法、相关装置及丢包率测量方法 |
| CN114465897A (zh) * | 2020-11-06 | 2022-05-10 | 中国电信股份有限公司 | 业务流中数据包的监控方法、装置和系统 |
| CN115550224A (zh) * | 2021-06-29 | 2022-12-30 | 中国电信股份有限公司 | 丢包分析系统、方法以及存储介质 |
| CN114567574A (zh) * | 2022-03-01 | 2022-05-31 | 烽火通信科技股份有限公司 | 一种基于时序控制实现lm免流量测试的方法与装置 |
| CN114567574B (zh) * | 2022-03-01 | 2023-11-10 | 烽火通信科技股份有限公司 | 一种基于时序控制实现lm免流量测试的方法与装置 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106411625A (zh) | 2017-02-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2016177120A1 (fr) | Procédé et système de mesure de perte de paquet de paquet de liaison, nœud cible et nœud d'extrémité émettrice | |
| US11979322B2 (en) | Method and apparatus for providing service for traffic flow | |
| EP3278503B1 (fr) | Procédé de marquage des paquets pour une analyse de flux | |
| EP3808040B1 (fr) | Appareil et procédé de pistage de paquets dans un pipeline de traitement de paquets d'un commutateur de mise en réseau définie par logiciel | |
| US9306819B2 (en) | Controller driven OAM for split architecture network | |
| CN102437931B (zh) | 一种业务路径的探测方法及设备 | |
| JP5462954B2 (ja) | パケットロス検出方法及び装置、並びにルータ | |
| WO2019128950A1 (fr) | Procédé de traitement de paquet, nœud de réseau et système | |
| CN106936661B (zh) | 一种网络监测方法、装置及系统 | |
| CN109873760A (zh) | 处理路由的方法和装置、以及数据传输的方法和装置 | |
| US9124529B1 (en) | Methods and apparatus for assessing the quality of a data path including both layer-2 and layer-3 devices | |
| WO2016184245A1 (fr) | Procédé et appareil de détection de perte de paquets dans un tunnel, et dispositif de communication en réseau | |
| CN102195832A (zh) | 一种环回测试方法、装置及系统 | |
| JP6616230B2 (ja) | ネットワーク装置 | |
| WO2020135087A1 (fr) | Procédé, appareil et système de communication | |
| CN110166311B (zh) | 测量网络性能的方法、设备和网络系统 | |
| KR20140117993A (ko) | 링크 장애 추적을 위한 mpls-tp 네트워크 및 방법 | |
| WO2017000802A1 (fr) | Procédé et dispositif de localisation d'anomalie de service | |
| US10996971B2 (en) | Service OAM for virtual systems and services | |
| WO2014008809A1 (fr) | Procédé et système pour la détection de perte de trames | |
| CN114124753B (zh) | 一种报文发送方法及设备 | |
| CN117014335A (zh) | 报文处理方法、装置、设备及存储介质 | |
| CN102752169B (zh) | 传输监控方法及装置 | |
| CN104506369A (zh) | 一种丢包位置的检测方法和设备 | |
| US20250039066A1 (en) | Message processing |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16789114 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 16789114 Country of ref document: EP Kind code of ref document: A1 |