WO2020238799A1 - 一种基于twamp的检测方法及相关设备 - Google Patents
一种基于twamp的检测方法及相关设备 Download PDFInfo
- Publication number
- WO2020238799A1 WO2020238799A1 PCT/CN2020/091837 CN2020091837W WO2020238799A1 WO 2020238799 A1 WO2020238799 A1 WO 2020238799A1 CN 2020091837 W CN2020091837 W CN 2020091837W WO 2020238799 A1 WO2020238799 A1 WO 2020238799A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- message
- twamp
- packet
- detection result
- sending
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/40—Network security protocols
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
- H04L43/0811—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4641—Virtual LANs, VLANs, e.g. virtual private networks [VPN]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0823—Errors, e.g. transmission errors
- H04L43/0829—Packet loss
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0852—Delays
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0852—Delays
- H04L43/087—Jitter
Definitions
- the embodiments of the present application relate to, but are not limited to, a packet transport network (Packet Transport Network, PTN), for example, relate to a detection method and related equipment based on the Two-Way Active Measurement Protocol (TWAMP).
- PTN Packet Transport Network
- TWAMP Two-Way Active Measurement Protocol
- IP Internet Protocol
- Packet transport network PTN has become a trend in the industry. PTN requires the provision of effective delivery of packet services and telecommunications -Level operation and maintenance management (Operation Administration and Maintenance, OAM) and protected packet transmission technology.
- OAM Operaation Administration and Maintenance
- the transport architecture OAM Transport Profile OAM, TP-OAM
- TP-OAM Transaction Profile OAM
- L2VPN Layer 2 Virtual Private Network
- L3VPN Layer 3 Virtual Private Network
- the use of this bearer solution requires the Provider Edge (PE) of L3VPN.
- PE Provider Edge
- the node performs L2-L3 bridging.
- the IP service realizes L2 transparent transmission in the access aggregation layer L2VPN network, and can only be monitored through Label Switching Path (LSP)/Pseudowire (PW) OAM.
- LSP Label Switching Path
- PW Packeudowire
- the LSP layer OAM monitoring mechanism can be used for L3VPN processing in the core network.
- the related technology is: after the base station is connected, initiate a ping to the base station from the L2 interface of the L2/L3 bridge point to detect the difference between the PTN equipment and the base station.
- the connectivity between the PTN device and the XGW is then initiated from the L3 interface of the L2/L3 bridging point to the Serving Gateway (X-Serving GateWay, XGW) to detect the connectivity between the PTN device and the XGW.
- the TWAMP function realizes end-to-end connectivity, delay, and packet loss detection.
- the TWAMP function can only perform end-to-end connectivity, delay, and packet loss detection based on the packets transmitted by the transmitting end being reflected back to the node by the reflecting end. Therefore, when the transmission path in the L2VPN or L3VPN network changes, When the TWAMP message is no longer reflected back to the node where the transmitter is located, the TWAMP detection function becomes invalid.
- the embodiment of the application provides a detection method based on the two-way active measurement protocol TWAMP, including:
- the second device on the TWAMP transmitting end receives the first packet through the fourth device, and the first packet is the first TWAMP packet sent by the first device on the TWAMP transmitting end to the third device on the TWAMP reflector through the fourth device. Reflection of text;
- the second device determines the detection result between the first device and the third device according to the first message; or, the second device sends the first message to the first device So that the first device determines the detection result between the first device and the third device according to the sending situation of the first TWAMP message and the receiving situation of the first message.
- the embodiment of the present application also provides a detection method based on the two-way active measurement protocol TWAMP, including:
- the first device on the TWAMP transmitter sends the first TWAMP packet to the third device on the TWAMP reflector through the fourth device, so that the third device reflects the first packet to the second device on the TWAMP transmitter through the fourth device ,
- the first message is a reflection message of the first TWAMP message
- the first device receives the detection result between the first device and the third device sent by the second device through the communication channel with the second device, and the first device and the The detection result between the third device is determined by the second device according to the received first message; or, the first device receives the second device through the communication channel with the second device
- the reception situation of the first message is determined according to the transmission situation of the first TWAMP message and the reception situation of the first message to determine the detection result between the first device and the third device.
- the embodiment of the present application also provides a detection method based on the two-way active measurement protocol TWAMP, including:
- the first device at the transmitting end of TWAMP sends the first TWAMP message to the third device at the reflecting end of TWAMP through the fourth device;
- the third device After receiving the first TWAMP message, the third device reflects the first message to the second device on the TWAMP transmitting end through the fourth device, where the first message is the first TWAMP message Reflection of text;
- the second device receives the first message, and determines the detection result between the first device and the third device according to the first message; or, the second device sends the message to the first message
- a device sends the reception status of the first packet, and the first device also determines the first device and the first device according to the transmission status of the first TWAMP packet and the reception status of the first packet The test result between the third device.
- the embodiment of the present application also provides a second device, which is applied to the TWAMP transmitter, and includes:
- the receiving unit is configured to receive a first message through a fourth device, the first message being the first TWAMP message sent by the first device on the TWAMP transmitting end to the third device on the TWAMP reflector through the fourth device Reflected message;
- the determining unit is configured to determine the detection result between the first device and the third device according to the first message; or, configured to send the reception status of the first message to the first device , So that the first device determines the detection result between the first device and the third device according to the sending situation of the first TWAMP message and the receiving situation of the first message.
- the embodiment of the present application also provides a first device, which is applied to the TWAMP transmitter, and includes:
- the sending unit is configured to send the first TWAMP packet to the third device at the reflecting end of the TWAMP through the fourth device, so that the third device reflects the first packet to the second device at the transmitting end of the TWAMP through the fourth device,
- the first message is a reflection message of the first TWAMP message
- the receiving unit is configured to receive the detection result between the first device and the third device sent by the second device through the communication channel with the second device, the first device and the third device
- the detection result between the third device is determined by the second device according to the received first message; or, it is set to receive the second device sent by the second device through the communication channel with the second device.
- the reception situation of the first message, the detection result between the first device and the third device is determined according to the transmission situation of the first TWAMP message and the reception situation of the first message.
- the embodiment of the present application also provides a computer-readable storage medium, and the computer-readable storage medium stores an information processing program.
- the information processing program is executed by a processor, the two-way-based Active measurement protocol TWAMP detection method.
- FIG. 1 is a schematic flowchart of a TWAMP-based detection method provided by an embodiment of the application
- FIG. 2 is a schematic flow chart of a TWAMP-based detection method provided by another embodiment of the application.
- FIG. 3 is a schematic flowchart of a TWAMP-based detection method provided by another embodiment of the application.
- FIG. 4 is a schematic flowchart of a TWAMP-based detection method provided by another embodiment of the application.
- FIG. 5 is a schematic flowchart of a TWAMP-based detection method provided by another embodiment of the application.
- FIG. 6 is a schematic flowchart of a TWAMP-based detection method provided by another embodiment of the application.
- FIG. 7 is a schematic diagram of the structure of a packet transport network PTN provided by an embodiment of the application.
- FIG. 8 is a schematic flowchart of a TWAMP-based detection method provided by another embodiment of the application.
- FIG. 9 is a schematic diagram of the structure of a packet transport network PTN provided by another embodiment of this application.
- FIG. 10 is a schematic structural diagram of a second device provided by an embodiment of this application.
- FIG. 11 is a schematic structural diagram of a first device provided by an embodiment of this application.
- FIG. 12 is a schematic structural diagram of a third device provided by an embodiment of this application.
- FIG. 13 is a schematic structural diagram of a detection system based on the two-way active measurement protocol TWAMP provided by an embodiment of the application.
- the TWAMP function can only perform end-to-end connectivity, delay, and packet loss detection based on the packets transmitted by the transmitting end being reflected back to the node by the reflecting end. Therefore, when the transmission path in the network changes, TWAMP packets can be detected. When the text is no longer reflected back to the node where the transmitter is located, the TWAMP detection function becomes invalid.
- Fig. 1 is a schematic flow chart of a TWAMP-based detection method provided by an embodiment of the application. As shown in Fig. 1, the method includes:
- Step 110 The second device on the TWAMP transmitting end receives the first packet through the fourth device, and the first packet is the first packet sent by the first device on the TWAMP transmitting end to the third device on the TWAMP reflector through the fourth device.
- a reflection message of a TWAMP message A reflection message of a TWAMP message.
- Step 120 The second device determines the detection result between the first device and the third device according to the first message; or, the second device sends the first device to the first device.
- the reception status of a message so that the first device determines the detection between the first device and the third device according to the transmission status of the first TWAMP message and the reception status of the first message result.
- the second device is configured with a reflection message recovery rule, and the characteristic word of the reflection message recovery rule includes at least one of the following: a destination Internet Protocol (IP) address, a source IP address, and a destination user datagram protocol (User Datagram Protocol, UDP) port number, source UDP port number, virtual private network identifier (Virtual Private Network identification number, VPNID), Internet Protocol Differentiated Services Code Point (IP DSCP).
- IP Internet Protocol
- UDP User Datagram Protocol
- VPNID Virtual Private Network identification number
- IP DSCP Internet Protocol Differentiated Services Code Point
- the clock synchronization is maintained between the first device and the second device; the second device determines the detection result between the first device and the third device according to the first message,
- the method includes: the second device identifies and checks the content of the first message according to the reflected message recovery rule, the first message includes the sending timestamp of the first message, the first message The sending timestamp of the TWAMP message and the receiving timestamp of the first TWAMP message; the second device is based on the time of receiving the first message, the sending timestamp of the first message, and the first message The sending timestamp of a TWAMP message and the receiving timestamp of the first TWAMP message determine the delay and/or delay jitter between the first device and the third device.
- the second device and the first device are connected through a communication channel; the method further includes: the second device transmits the delay and/or delay jitter through the communication channel Give the first device.
- the second device and the first device are connected through a communication channel; after the second device receives the first packet through the fourth device, the second device Before the first message determines the detection result between the first device and the third device, the method further includes: the second device obtains the first device from the first device through the communication channel. The sending status of TWAMP packets.
- the second device determining the detection result between the first device and the third device according to the first message includes: the second device according to the reflected message recycling rule Identify and verify the content of the first message; the second device determines the first device and the third device according to the sending situation of the first TWAMP message and the receiving situation of the first message Connectivity and/or packet loss rate between.
- the second device sends the connectivity and/or packet loss rate to the first device through the communication channel.
- the second device and the first device are connected through a communication channel; after the second device receives the first packet through the fourth device, the second device The communication channel sends the reception status of the first message to the first device.
- the first device and the second device are Layer 3 packet transport network L3PTN devices; the third device is a Layer 2 packet transport network L2PTN device, and the fourth device is Layer 2 L2/3 Layer L3 bridge device.
- the reflected message recovery rule is automatically generated according to the format of the first TWAMP message, or generated through configuration.
- Fig. 2 is a schematic flowchart of a TWAMP-based detection method provided by another embodiment of the application. As shown in Fig. 2, the method includes:
- Step 210 The first device on the TWAMP transmitting end sends the first TWAMP packet to the third device on the TWAMP reflecting end through the fourth device, so that the third device reflects the first packet to the second device on the TWAMP transmitting end through the fourth device.
- the first message is a reflection message of the first TWAMP message.
- Step 220 The first device receives the detection result between the first device and the third device sent by the second device through the communication channel with the second device, and the first device The detection result with the third device is determined by the second device according to the received first message; or, the first device receives the first message through a communication channel with the second device The receiving situation of the first message sent by the second device, and determining the connection between the first device and the third device according to the sending situation of the first TWAMP message and the receiving situation of the first message The test results.
- the first device after the first device sends the first TWAMP message to the third device at the TWAMP reflector through the fourth device, the first device receives the first device and the third device sent by the second device. Before the detection result between the third device, the method further includes: the first device receives a first request through a communication channel with the second device, and the first request is the second device Sent to the first device after receiving the first packet, the first request is used to obtain the sending status of the first TWAMP packet; the first device sends the first device to the second device The sending situation of a TWAMP message.
- the detection result between the first device and the third device includes: delay and/or delay jitter between the first device and the third device, and/or, The connectivity and/or packet loss rate between the first device and the third device.
- the method further includes: the first device sends a second TWAMP packet to the third device through the fifth device, so that the third device reflects the first device to the first device through the fifth device.
- the second packet the second packet is a reflection packet of the second TWAMP packet; the first device receives the second packet through the fifth device; the first device receives the second packet according to the second The message determines the detection result between the first device and the third device.
- the first device is configured with TWAMP message sending information
- the TWAMP message sending information includes at least one of the following: IP address, Media Access Control (MAC) address, UDP port number , Outsourcing mode, outsourcing enablement, client mode, outsourcing cycle.
- IP address IP address
- MAC Media Access Control
- the first device sending the first TWAMP packet to the third device at the TWAMP reflector through the fourth device includes: the first device generates the first TWAMP packet according to the TWAMP packet sending information, And send a first TWAMP message to the third device through the fourth device; the first device sends a second TWAMP message to the third device through the fifth device, including: the first device The TWAMP message sending information generates a second TWAMP message, and the second TWAMP message is sent to the third device through the fifth device.
- the first device is configured with a reflected packet recycling rule
- the characteristic word of the reflected packet recycling rule includes at least one of the following: destination IP address, source IP address, destination UDP port number, source UDP Port number, VPNID, IP DSCP.
- the first device determining the detection result between the first device and the third device according to the second message includes: the first device according to the reflected message recycling rule Identify and verify the content of the second message, the second message including the sending timestamp of the second message, the sending timestamp of the second TWAMP message, and the second TWAMP message The receiving timestamp of the first device; the first device according to the time of receiving the second message, the sending timestamp of the second message, the sending timestamp of the second TWAMP message, and the second TWAMP message The receiving timestamp of the text determines the delay and/or delay jitter between the first device and the third device.
- the first device determining the detection result between the first device and the third device according to the second message includes: the first device according to the reflected message recycling rule Identify and verify the content of the second message; the first device determines the first device and the third device according to the sending situation of the second TWAMP message and the receiving situation of the second message Connectivity and/or packet loss rate between.
- the first device and the second device are Layer 3 packet transport network L3PTN devices; the third device is a Layer 2 packet transport network L2PTN device, and the fourth device and the fifth device are It is a two-layer L2/three-layer L3 bridge device.
- FIG. 3 is a schematic flowchart of a TWAMP-based detection method provided by another embodiment of the application. As shown in FIG. 3, the method includes:
- Step 310 The third device on the TWAMP reflector receives the first TWAMP message sent by the first device on the TWAMP transmitter through the fourth device.
- Step 320 After receiving the first TWAMP message, the third device reflects the first message to the second device on the TWAMP transmitting end through the fourth device, so that the second device can reflect the first message according to the first device.
- a message determines a detection result between the first device and the third device, and the first message is a reflection message of the first TWAMP message.
- the third device is configured with TWAMP packet reflection information
- the TWAMP packet reflection information includes at least one of the following: IP address, MAC address, UDP port number, packet sending mode, client mode, reflection mode .
- the third device reflecting the first packet to the second device at the TWAMP transmitting end through the fourth device includes: the third device identifying the first packet according to the TWAMP packet reflection information The content of a TWAMP message, the first message is generated and the first message is reflected to the second device through the fourth device.
- the method further includes: the third device receives the second TWAMP packet sent by the first device through the fifth device; after receiving the second TWAMP packet, the third device passes The fifth device reflects the second packet to the first device, so that the first device determines the detection result between the first device and the third device according to the second packet, the The second message is a reflection message of the second TWAMP message.
- the third device reflecting the second packet to the first device through the fifth device includes: the third device identifying the second TWAMP packet according to the TWAMP packet reflection information The content of the message, the second message is generated and the second message is sent and reflected to the first device through the fifth device.
- the first device and the second device are Layer 3 packet transport network L3PTN devices; the third device is a Layer 2 packet transport network L2PTN device, and the fourth device and the fifth device are It is a two-layer L2/three-layer L3 bridge device.
- FIG. 4 is a schematic flowchart of a TWAMP-based detection method provided by another embodiment of the application. As shown in FIG. 4, the method includes:
- Step 410 The first device on the TWAMP transmitting end sends the first TWAMP message to the third device on the TWAMP reflecting end through the fourth device.
- Step 420 After receiving the first TWAMP message, the third device reflects the first message to the second device on the TWAMP transmitting end through the fourth device, where the first message is the TWAMP The reflected message of the message.
- Step 430 The second device receives the first message, and determines the detection result between the first device and the third device according to the first message; or, the second device sends The first device sends the receiving situation of the first packet, and the first device determines the first device and the receiving situation according to the sending situation of the first TWAMP packet and the receiving situation of the first packet. The test result between the third device.
- the method further includes: the first device sends a second TWAMP message to the third device through a fifth device; after receiving the second TWAMP message, the third device The fifth device reflects a second packet to the first device, and the second packet is a reflected packet of the second TWAMP packet; the first device receives the second packet, and according to The second message determines the detection result between the first device and the third device.
- clock synchronization is maintained between the first device and the second device.
- the first device and the second device are Layer 3 packet transport network L3PTN devices; the third device is a Layer 2 packet transport network L2PTN device, and the fourth device and the fifth device are It is a two-tier/three-tier L2/L3 bridge device.
- FIG. 5 is a schematic flowchart of a TWAMP-based detection method provided by another embodiment of the application. As shown in FIG. 5, the method includes:
- Step 510 Configure the TWAMP message sending information on the first device at the TWAMP transmitting end.
- the TWAMP message sending information includes at least one of the following: IP address, MAC address, UDP port number, packet sending mode, packet sending enable, client mode, and packet sending cycle.
- the TWAMP message sending information is used to generate and send TWAMP messages.
- the first device enables the TWAMP function (packet sending enable), it can be based on the configured packet sending cycle and packet sending mode (message format), and according to The client mode encapsulates the message header, stamps the sending timestamp, and generates and sends a TWAMP message.
- the TWAMP message carries the sending timestamp.
- the header of the TWAMP message carries the source IP address, destination IP address, source UDP port number, Destination UDP port number and other information.
- the client mode refers to the user network side interface (User Networks interface, UNI) mode of the transmitting end, for example, it can be a three-layer L3UNI, a two-layer UNI, or a bridged-layer two UNI.
- Step 520 Configure a reflected packet recovery rule on the first device and the second device at the TWAMP transmitting end.
- the characteristic word of the reflected message recovery rule includes at least one of the following: destination IP address, source IP address, destination UDP port number, source UDP port number, VPNID, IP DSCP.
- the reflected message recovery rule is used to identify and verify the content of the reflected message after receiving the reflected message of the TWAMP message. For example, when the first device receives a reflection message after sending a TWAMP message, it recognizes that the source IP address and destination IP address of the reflection message are respectively the same as the source IP address and destination IP in the reflection message recovery rule. If the addresses are consistent, it can be determined that the reflected message is the reflected message of the TWAMP message.
- Reflected message recycling rules can be automatically generated or configured, and can be composed of a combination of source IP address, destination IP address, source UDP port number, and destination UDP port number.
- the reflected message recycling rule can be automatically generated according to the content of the TWAMP message sending information configured in step 510.
- the IP address, MAC address, and UDP port number in the TWAMP message sending information can be automatically constructed
- the characteristic words in the reflected message recovery rule for example, the source IP address, source MAC address, and source UDP port number in the TWAMP message sending information can be directly constructed as the destination IP address in the reflected message recovery rule , Destination MAC address, destination UDP port number.
- the reflected packet recycling rule can also be constructed through configuration. For example, it can be directly generated according to user configuration information.
- the characteristic words in the reflected packet recycling rule can be directly configured: destination IP address, Destination MAC address, destination UDP port number, etc.
- the first device and the second device are different network element devices at the transmitting end, and the first device and the second device are connected through a communication channel, and information can be exchanged.
- the first device and the second device also need to maintain clock synchronization. Since the first device can be used as both the transmitting device of the TWAMP transmitter and the recycling device of the TWAMP transmitter at the same time, that is, it can send TWAMP packets and recover reflected packets. Therefore, the first device needs to be configured to send TWAMP packets. Information, you also need to configure the reflected packet recycling rules; and the second device, if it is only used as a reflected packet recycling device, you can configure only the reflected packet recycling rules.
- the second device can also be used as both the transmitting device and the recycling device of the transmitting end.
- the corresponding TWAMP message sending information and reflected message recycling rules need to be configured for the second device.
- the recycling of the second device If the device is another device, the corresponding reflected packet recovery rule can be configured on the other device, and the second device and the other device are also connected through a communication channel and keep clock synchronization.
- Step 530 Configure TWAMP packet reflection information on the third device at the TWAMP reflection end.
- the TWAMP message reflection information includes at least one of the following: IP address, MAC address, UDP port number, packet sending mode, client mode, and reflection mode.
- the TWAMP message reflection information is used to identify the content of the received TWAMP message, and to generate and reflect the reflection message of the TWAMP message. For example, after receiving a TWAMP message from the transmitter, the message content is identified, and the MAC address, IP address, and UDP port number in the message content are exchanged according to the reflection mode, and the receiving timestamp and sending timestamp are marked to generate a reflection report. And send the reflected message back to the transmitter.
- the TWAMP message carries a sending timestamp
- the reflection message carries the sending timestamp and the receiving timestamp carried in the TWAMP message, and the sending timestamp of the reflection message itself
- the source MAC address of the TWAMP message The source IP address and source UDP port number are converted into the destination MAC address, destination IP address, and destination UDP port number of the reflection message, and the destination MAC address, destination IP address, and destination UDP port number of the TWAMP message are converted into the reflection message
- a TWAMP packet reflector may be configured on the third device, and the TWAMP packet reflector reflects the packet according to the TWAMP packet reflection information.
- Step 540 The first device sends a second TWAMP packet to the third device through the fifth device.
- the first device and the third device are connected through the fifth device, and the first device is also connected to the third device through the second device and the fourth device in turn.
- the first device and the second device are Layer 3 packet transport network L3PTN devices; the third device is a Layer 2 packet transport network L2PTN device, and the fourth and fifth devices are Layer 2 L2/Layer 3 devices. L3 bridge device.
- the first device sending the second TWAMP message to the third device through the fifth device includes: generating a second TWAMP message according to the TWAMP message sending information, and passing the first TWAMP message The fifth device sends a second TWAMP message to the third device.
- Step 550 After the third device receives the second TWAMP packet through the fifth device, it reflects the reflection packet of the second TWAMP packet to the first device through the fifth device.
- the third device reflects the reflection packet of the second TWAMP packet (also referred to as the second packet) to the first device through the fifth device, including: the third device Identify the content of the second TWAMP message according to the TWAMP message reflection information, generate a reflection message of the second TWAMP message, and reflect the second device to the first device through the fifth device Reflected packets of TWAMP packets.
- Step 560 After receiving the reflection message of the second TWAMP message, the first device determines the communication between the first device and the third device according to the reflection message of the second TWAMP message. Test results.
- the first device determining the detection result between the first device and the third device according to the reflection message of the second TWAMP message includes: the first device according to the The reflected packet recovery rule identifies and checks the content of the reflected packet of the second TWAMP packet, and the reflected packet of the second TWAMP packet includes the transmission timestamp of the reflected packet of the second TWAMP packet , The sending timestamp of the second TWAMP message and the receiving timestamp of the second TWAMP message; the first device receives the reflected message of the second TWAMP message according to the time, the second The sending timestamp of the reflected message of the TWAMP message, the sending timestamp of the second TWAMP message, and the receiving timestamp of the second TWAMP message determine the communication between the first device and the third device Delay and/or delay jitter; or, the first device recognizes and checks the content of the reflected packet of the second TWAMP packet according to the reflected packet recovery rule; the first device according to the first 2.
- the sending status of the second TWAMP packet refers to the number of sent second TWAMP packets
- the receiving status of the reflection packet (ie, the second packet) of the second TWAMP packet refers to the The number of second messages received, etc.
- the first device may report the detection result in a format such as a report and present it to the user.
- the fifth device when the fifth device fails, that is, when the internal path of the network changes, so that TWAMP packets are no longer reflected back to the network element node (ie, the first device) where the transmitting end is located, the first device cannot be normal Perform TWAMP test.
- the first device when the fifth device fails, the first device can still perform TWAMP detection normally through the following steps, including:
- Step 570 The first device sends a first TWAMP packet to the third device through the fourth device.
- the first TWAMP message is sent to the third device through the second device and the fourth device, and the first TWAMP message is only transparently transmitted without any processing when it passes through the second device.
- the first device sending the first TWAMP message to the third device at the TWAMP reflector through the fourth device includes: the first device generates the first TWAMP message according to the TWAMP message sending information, and passes the The fourth device sends the first TWAMP message to the third device.
- Step 580 After receiving the first TWAMP packet, the third device reflects the reflection packet of the first TWAMP packet to the second device through the fourth device.
- the third device reflects the reflection message (also referred to as the first message) of the first TWAMP message to the second device through the fourth device, including:
- the three devices identify the content of the first TWAMP message according to the TWAMP message reflection information, generate a reflection message of the first TWAMP message, and reflect the content of the first TWAMP message to the second device through the fourth device The reflection message of the first TWAMP message.
- a TWAMP packet reflector may be configured on the third device, and the TWAMP packet reflector reflects the packet according to the TWAMP packet reflection information.
- Step 590 After the second device receives the reflected packet of the first TWAMP packet through the fourth device, it determines the relationship between the first device and the third device according to the first packet. The detection result of determines the detection result between the first device and the third device.
- the second device determining the detection result between the first device and the third device according to the reflection message of the first TWAMP message includes: the second device according to the The reflected packet recovery rule identifies and checks the content of the reflected packet of the first TWAMP packet.
- the first packet includes the transmission timestamp of the reflected packet of the first TWAMP packet, and the first packet.
- the sending timestamp of the TWAMP message and the receiving timestamp of the first TWAMP message; the second device is based on the time when the reflection message of the first TWAMP message is received, and the reflection of the first TWAMP message
- the sending timestamp of the message, the sending timestamp of the first TWAMP message, and the receiving timestamp of the first TWAMP message determine the delay and/or between the first device and the third device Delay jitter.
- the precondition for the second device to be able to calculate accurate delay information is that the clocks of the network element where the first device and the second device are located are synchronized.
- the second device determining the detection result between the first device and the third device according to the reflected message of the first TWAMP message includes: the second device according to the The reflected message recovery rule identifies and checks the content of the first message; the second device determines that the first device and the first message are sent according to the sending situation of the first TWAMP message and the receiving situation of the first message The connectivity and/or packet loss rate between the third devices.
- the first device and the second device are connected through a communication channel to exchange information, for example: after the second device receives the first packet through the fourth device, Before determining the detection result between the first device and the third device according to the first message, the method further includes: the second device notifies the first device of the reception through the communication channel To the reflection message of the first TWAMP message, and obtain the sending situation of the first TWAMP message.
- the sending status of the first TWAMP message refers to the number of sent first TWAMP messages
- the receiving status of the reflected message (ie, the first message) of the first TWAMP message refers to the The number of received first messages, etc.
- the second device may directly report the detection result in a report format and other formats and present it to the user; the second device may also send the detection result to the first device through a communication channel, and the first device The test results are reported and presented to users in a format such as reports.
- the communication channel between the first device and the second device may use Inter-Chassis Communication Protocol (ICCP) and other methods to communicate.
- ICCP Inter-Chassis Communication Protocol
- steps 540-560 and steps 570-590 there is no fixed sequence between steps 540-560 and steps 570-590. Steps 540-560 can be performed when the fifth device is normal, and steps 570-590 can be performed when the fifth device is abnormal. .
- the fifth device when the fifth device returns to normal, that is, the internal path of the network changes again, causing the TWAMP message to be reflected back to the network element node (ie, the first device) where the transmitting end is located, that is, the first device can When the TWAMP test is performed normally, you can go back to steps 540-560 for TWAMP test.
- the TWAMP detection can still be performed normally, and the TWAMP detection message can be prevented from being Leak to the external equipment of the transmission network to ensure the normal operation of the TWAMP function under various conditions.
- the difference from the previous embodiment is that in step 590, after the second device receives the reflected packet of the first TWAMP packet through the fourth device, , Not locally determining the detection result between the first device and the third device based on the first message; instead, the The second device sends the reception status of the first packet to the first device through the communication channel with the first device, and then the first device sends the received status of the first TWAMP packet to the first device according to the transmission status of the first TWAMP packet and the first device. The reception of the message determines the detection result between the first device and the third device.
- Fig. 6 is a schematic flow chart of a TWAMP-based detection method provided by another embodiment of the application.
- a network element (NE) 1 is a Layer 2 packet transport network L2PTN device, which is used as a TWAMP reflector device in this embodiment;
- NE2 and NE5 are Layer 2 L2/Layer 3 L3 bridging devices;
- NE3 and NE4 are Layer 3 packet transport network L3PTN devices.
- it is used as a TWAMP transmitter device, where NE3 is a transmitter device that transmits TWAMP packets and a recycling device that recovers reflected packets.
- NE3 and NE4 are connected to core network elements through UNI.
- NE3 and NE4 are connected to XGW .
- TWAMP needs to be turned on.
- the method includes:
- Step 610 Configure TWAMP message sending information and reflected message recovery rules on the L3VPN service equipment NE3.
- configure the message format of the TWAMP transmitter select the UNI-side board that sends the package, configure the TWAMP message to "L3 UNI-side send package", and configure the packet sending cycle to be 100ms, and configure the source IP address and destination IP address, UPD port number, DSCP information.
- Step 620 Configure TWAMP packet reflection information on the L2VPN service equipment NE1.
- the TWAMP reflector is configured on the L2VPN service equipment NE1, the UNI side board of the reflector is selected, and the source IP address, destination IP address, UPD port number, and DSCP information are configured. These IP addresses and other information need to be consistent with the NE3 value of the transmitter.
- Step 630 Turn on the transmission of the TWAMP message of the NE3 device.
- the TWAMP packet flow is sent from the UNI-side board of NE3, passes through the metro L3VPN core network, passes through the bridge network element NE2 of L2VPN and L3VPN, and then passes through the access and aggregation L2VPN
- the TWAMP packet stream is extracted by the TWAMP reflector on NE1 and reflected back to the NE3 device.
- step 640 the NE3 device determines the detection result between NE3 and NE1 according to the reflected message of the TWAMP message.
- the TWAMP packet stream is reflected by the reflector back to the NE3 device, and the NE3 device recycles the TWAMP packet, calculates the delay and delay jitter according to the timestamp carried in the packet, and judges the connectivity according to the transmission and reception of the packet And calculate the packet loss situation, and report the calculation results through reports and other formats and present them to users.
- FIG 8 is a schematic flow chart of a TWAMP-based detection method provided by another embodiment of the application.
- This embodiment is applied to the packet transport network PTN architecture shown in Figure 9.
- NE1 is a Layer 2 packet transport network L2PTN Equipment, in this embodiment as TWAMP reflector equipment;
- NE2 and NE5 are two-layer L2/three-layer L3 bridging equipment;
- NE3 and NE4 are three-layer packet transport network L3PTN equipment, in this embodiment as TWAMP transmitter equipment, Among them, NE3 is used as a transmitting device for transmitting TWAMP packets and a recycling device for recycling reflected packets, and NE4 is used as a recycling device for recycling reflected packets;
- NE3 and NE4 are connected to the core network network elements through UNI.
- NE3 and NE4 are connected with XGW connection. Assume that the PTN equipment line card single board and the switching board are operating normally. Before and after the base station service is activated, after completing the end-to-end configuration of L2VPN+L3VPN, in order to check whether the connectivity and performance of the service path are normal, TWAMP needs to be turned on, but the bridge device NE2 is faulty, and the service and TWAMP detect packet flow from the alternate path (NE3-NE4-NE5-NE1) is sent to the client device.
- the method includes:
- Step 810 Configure TWAMP message sending information and reflected message recovery rules on the L3VPN service equipment NE3.
- Step 820 Configure a reflected packet recovery rule on the L3VPN service equipment NE4.
- the TWAMP message is only transparently transmitted in the NE4 device without any processing.
- NE3 and NE4 are connected through a communication channel, as shown by the dotted line between NE3 and NE4 in Figure 9.
- Step 830 Configure TWAMP packet reflection information on the L2VPN service equipment NE1.
- the TWAMP reflector is configured on the L2VPN service equipment NE1, the UNI side board of the reflector is selected, and the source IP address, destination IP address, UPD port number, and DSCP information are configured. These IP addresses and other information need to be consistent with the value of NE3 at the transmitter.
- Step 840 enable the sending of TWAMP packets of the NE3 device
- the TWAMP packet flow is sent from the UNI-side board of NE3, passes through the metro L3VPN core network, passes through the L2VPN and L3VPN bridge network element NE5, and then passes through the access and aggregation L2VPN
- the TWAMP packet stream is extracted by the TWAMP reflector on NE1 and reflected back to the NE4 device.
- step 850 the NE4 device determines the detection result between NE3 and NE1 according to the reflected message of the TWAMP message.
- the TWAMP packet stream is reflected by the reflector to the NE4 device, and the NE4 device recycles the TWAMP packet, informs NE3 through the communication channel, and calculates the delay and delay jitter according to the timestamp carried in the packet, according to the information obtained from NE3
- the calculation results will be reported to the user in a format such as reports.
- the technical solution provided by the embodiments of this application separates the sending and recycling functions of the TWAMP transmitter, and adopts a distributed manner to realize the mechanism for the transmitter to receive the reflected message, and solves the problem that when the transmission path in the L2VPN or L3VPN network changes, the TWAMP message When it is no longer reflected back to the device where the transmitter is located, the TWAMP detection function becomes invalid and prevents the TWAMP detection message from being leaked to the external device of the transmission network.
- the difference from the previous embodiment is that in step 850, after the NE4 device receives the reflected packet of the TWAMP packet through the NE5 device, it does not determine locally The result of the detection between the NE3 device and the NE1 device; instead, the NE4 device sends the received status of the reflection message of the TWAMP message to the NE3 device through the communication channel with the NE3 device, Then, the NE3 device determines the detection result between the NE3 device and the NE1 device according to the reception situation of the reflected message of the TWAMP message and the transmission situation of the TWAMP message.
- FIG. 10 is a schematic structural diagram of a second device provided by an embodiment of this application.
- the second device is applied to the TWAMP transmitter and includes a receiving unit 1010 configured to receive the first device through a fourth device.
- the first message is a reflection message of the first TWAMP message sent by the first device of the TWAMP transmitter to the third device of the TWAMP reflector through the fourth device;
- the determining unit 1020 is set to be based on The first message determines the detection result between the first device and the third device; or, it is set to send the reception status of the first message to the first device so that the first
- the device determines the detection result between the first device and the third device according to the sending situation of the first TWAMP message and the receiving situation of the first message.
- the second device is configured with a reflection message recovery rule, and the characteristic word of the reflection message recovery rule includes at least one of the following: destination IP address, source IP address, destination UDP port number, source UDP port number, VPNID, IP DSCP.
- the clock synchronization is maintained between the first device and the second device; the determining unit 1020 is configured to determine the first device and the third device according to the first message in the following manner Result of the detection: identifying and checking the content of the first message according to the reflected message recovery rule, the first message including the sending timestamp of the first message, the first TWAMP The sending timestamp of the message and the receiving timestamp of the first TWAMP message; according to the time of receiving the first message, the sending timestamp of the first message, and the sending of the first TWAMP message The time stamp and the reception time stamp of the first TWAMP message determine the delay and/or delay jitter between the first device and the third device.
- the second device and the first device are connected through a communication channel; the second device further includes: a sending unit configured to transmit the delay and/or time through the communication channel The delayed jitter is sent to the first device.
- the second device and the first device are connected through a communication channel; the second device further includes: an acquiring unit configured to receive the first device through a fourth device in the second device After a message, before determining the detection result between the first device and the third device according to the first message, obtain the first TWAMP message from the first device through the communication channel The delivery of the text.
- the determining unit 1020 is configured to determine the detection result between the first device and the third device according to the first message in the following manner: identify according to the reflected message recovery rule And checking the content of the first message; determining the connectivity between the first device and the third device according to the sending situation of the first TWAMP message and the receiving situation of the first message / Or packet loss rate.
- the sending unit is further configured to send the connectivity and/or the packet loss rate to the first device through the communication channel.
- the second device and the first device are connected through a communication channel; the sending unit is further configured to pass the first message after the second device receives the first message via the fourth device The communication channel sends the reception status of the first message to the first device.
- the first device and the second device are Layer 3 packet transport network L3PTN devices; the third device is a Layer 2 packet transport network L2PTN device, and the fourth device is Layer 2 L2/Three Layer L3 bridge device.
- the reflected message recovery rule is automatically generated according to the format of the first TWAMP message, or generated through configuration.
- FIG. 11 is a schematic structural diagram of a first device provided by an embodiment of this application.
- the first device is applied to the TWAMP transmitting end and includes: a sending unit 1110 configured to reflect to TWAMP through a fourth device The third device at the end sends the first TWAMP packet, so that the third device reflects the first packet to the second device at the TWAMP transmitting end through the fourth device, and the first packet is the first TWAMP packet
- the receiving unit 1120 is configured to receive the detection result between the first device and the third device sent by the second device through the communication channel with the second device, the The detection result between the first device and the third device is determined by the second device according to the received first message; or, it is set to receive the first message through a communication channel with the second device The receiving situation of the first message sent by the second device, and determining the communication between the first device and the third device according to the sending situation of the first TWAMP message and the receiving situation of the first message Test results.
- the receiving unit 1120 is further configured to receive the first TWAMP packet sent by the second device after the first device sends the first TWAMP packet to the third device at the TWAMP reflector through the fourth device Before the detection result between the first device and the third device, a first request is received through the communication channel with the second device, and the first request is that the second device receives the first message Later sent to the first device, the first request is used to obtain the sending status of the first TWAMP message; the sending unit 1110 is further configured to send the first TWAMP to the second device The sending of the message.
- the detection result between the first device and the third device includes: delay and/or delay jitter between the first device and the third device, and/or, The connectivity and/or packet loss rate between the first device and the third device.
- the sending unit 1110 is further configured to send a second TWAMP packet to the third device through the fifth device, so that the third device reflects the second TWAMP packet to the first device through the fifth device.
- the second message is a reflection message of the second TWAMP message.
- the receiving unit 1120 is further configured to receive a second message through the fifth device; and determine the detection result between the first device and the third device according to the second message.
- the TWAMP message sending information is configured on the first device, and the TWAMP message sending information includes at least one of the following: IP address, MAC address, UDP port number, packet sending mode, packet sending enable, client Mode and contract period.
- the sending unit 1110 is configured to send the first TWAMP message to the third device at the TWAMP reflector through the fourth device in the following manner: according to the TWAMP message sending information, the first TWAMP message is generated and Send the first TWAMP message to the third device through the fourth device; the sending unit 1110 is configured to send the second TWAMP message to the third device through the fifth device in the following manner: TWAMP message sending information, generating a second TWAMP message, and sending the second TWAMP message to the third device through the fifth device.
- the first device is configured with a reflected packet recycling rule
- the characteristic word of the reflected packet recycling rule includes at least one of the following: destination IP address, source IP address, destination UDP port number, source UDP Port number, VPNID, IP DSCP.
- the receiving unit 1120 is configured to determine the detection result between the first device and the third device according to the second message in the following manner: identify according to the reflected message recovery rule And checking the content of the second message, the second message including the sending timestamp of the second message, the sending timestamp of the second TWAMP message, and the sending timestamp of the second TWAMP message Receiving timestamp; determined according to the time when the second message is received, the sending timestamp of the second message, the sending timestamp of the second TWAMP message, and the receiving timestamp of the second TWAMP message The delay and/or delay jitter between the first device and the third device.
- the receiving unit 1120 is configured to determine the detection result between the first device and the third device according to the second message in the following manner: identify according to the reflected message recovery rule And checking the content of the second message; determining the connectivity between the first device and the third device according to the sending situation of the second TWAMP message and the receiving situation of the second message / Or packet loss rate.
- the first device and the second device are Layer 3 packet transport network L3PTN devices; the third device is a Layer 2 packet transport network L2PTN device, and the fourth device and the fifth device are It is a two-layer L2/three-layer L3 bridge device.
- FIG. 12 is a schematic structural diagram of a third device provided by an embodiment of this application.
- the third device is applied to the TWAMP reflector and includes: a receiving unit 1210 configured to receive TWAMP transmission through the fourth device The first TWAMP message sent by the first device at the end; the reflecting unit 1220 is configured to reflect the first message to the second device at the TWAMP transmitting end through the fourth device after receiving the first TWAMP message, So that the second device determines the detection result between the first device and the third device according to the first packet, and the first packet is a reflected packet of the first TWAMP packet.
- the third device is configured with TWAMP message reflection information, and the TWAMP message reflection information includes at least one of the following: IP address, MAC address, UDP port number, packet sending mode, client mode, reflection mode .
- the reflecting unit 1220 is configured to reflect the first packet to the second device at the TWAMP transmitting end through the fourth device in the following manner: identify the first packet according to the reflection information of the TWAMP packet The content of the TWAMP message is generated and the first message is reflected to the second device through the fourth device.
- the receiving unit 1210 is further configured to receive the second TWAMP message sent by the first device through the fifth device; the reflecting unit 1220 is further configured to receive the second TWAMP message Then, the second message is reflected to the first device through the fifth device, so that the first device determines the detection result between the first device and the third device according to the second message ,
- the second message is a reflection message of the second TWAMP message.
- the reflection unit 1220 is configured to reflect the second packet to the first device through the fifth device in the following manner: identify the second TWAMP packet according to the TWAMP packet reflection information Generates the second message, and sends and reflects the second message to the first device through the fifth device.
- the first device and the second device are Layer 3 packet transport network L3PTN devices; the third device is a Layer 2 packet transport network L2PTN device, and the fourth device and the fifth device are It is a two-layer L2/three-layer L3 bridge device.
- FIG. 13 is a schematic structural diagram of a detection system based on the two-way active measurement protocol TWAMP provided by an embodiment of the application.
- the system includes: a TWAMP transmitter and a TWAMP reflector.
- the TWAMP transmitter includes The first device 1310 and the second device 1320
- the TWAMP reflector includes a third device 1330;
- the first device 1310 is configured to send a first TWAMP message to the third device 1330 through the fourth device 1340;
- the third device 1330 is configured to reflect the first packet to the second device 1320 through the fourth device 1340 after receiving the first TWAMP packet, and the first packet is the TWAMP packet
- the second device 1320 is configured to receive the first message, and determine the detection result between the first device 1310 and the third device 1330 according to the first message , Or, set to send the reception status of the first message to the first device 1310, and the first device 1310 is further configured to send the first TWAMP message according to the
- the first device 1310 is further configured to send a second TWAMP message to the third device 1330 through the fifth device 1350; the third device 1330 is further configured to receive the second After the TWAMP message, a second message is reflected to the first device 1310 through the fifth device 1350, and the second message is a reflection message of the second TWAMP message; the first device 1310 , It is further configured to receive the second message, and determine the detection result between the first device 1310 and the third device 1330 according to the second message.
- the first device 1310 and the second device 1320 maintain clock synchronization.
- the first device 1310 and the second device 1320 are Layer 3 packet transport network L3PTN devices; the third device 1330 is a Layer 2 packet transport network L2PTN device, and the fourth device 1340,
- the fifth device 1350 is a two-layer/three-layer L2/L3 bridge device.
- the embodiment of the present application also provides a second device, which is applied to the TWAMP transmitter, and includes a memory, a processor, and a computer program stored on the memory and running on the processor.
- the computer program is When the processor is executed, any one of the detection methods based on the two-way active measurement protocol TWAMP executed by the second device is implemented.
- the embodiment of the present application also provides a first device, which is applied to the TWAMP transmitter, and includes a memory, a processor, and a computer program stored on the memory and running on the processor.
- the computer program is When the processor is executed, any one of the detection methods based on the two-way active measurement protocol TWAMP executed by the first device is implemented.
- the embodiment of the present application also provides a third device, which is applied to the TWAMP reflector, and includes a memory, a processor, and a computer program stored on the memory and running on the processor.
- the computer program is When the processor is executed, any one of the detection methods based on the two-way active measurement protocol TWAMP executed by the third device is implemented.
- the embodiment of the present application also provides a computer-readable storage medium having an information processing program stored on the computer-readable storage medium, and when the information processing program is executed by a processor, the two-way active measurement-based Protocol TWAMP detection method.
- Such software may be distributed on a computer-readable medium, and the computer-readable medium may include a computer storage medium (or a non-transitory medium) and a communication medium (or a transitory medium).
- the term computer storage medium includes volatile and non-volatile memory implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Flexible, removable and non-removable media.
- Computer storage media include, but are not limited to, Random Access Memory (RAM), Read-Only Memory (ROM), Erasable Programmable Read-Only Memory (EEPROM), and flash memory Or other memory technologies, Compact Disc Read-Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical storage, magnetic cassettes, magnetic tapes, disk storage or other Magnetic storage device, or any other medium that can be used to store desired information and can be accessed by a computer.
- communication media usually contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as carrier waves or other transmission mechanisms, and may include any information delivery media .
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Computer Security & Cryptography (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
Claims (10)
- 一种基于双向主动测量协议TWAMP的检测方法,包括:TWAMP发射端的第二设备通过第四设备接收第一报文,所述第一报文为所述TWAMP发射端的第一设备通过所述第四设备向TWAMP反射端的第三设备发送的第一TWAMP报文的反射报文;所述第二设备根据所述第一报文确定所述第一设备和所述第三设备之间的检测结果;或者,所述第二设备向所述第一设备发送所述第一报文的接收情况,以便所述第一设备根据所述第一TWAMP报文的发送情况和所述第一报文的接收情况确定所述第一设备和所述第三设备之间的检测结果。
- 根据权利要求1所述的检测方法,其中,所述第二设备上配置有反射报文回收规则,所述反射报文回收规则的特征字包括以下至少之一:目的互联网协议IP地址、源IP地址、目的用户数据报协议UDP端口号、源UDP端口号、虚拟专用网络标识符VPNID、互联网协议差分服务代码点IP DSCP。
- 根据权利要求2所述的检测方法,其中,所述第一设备和所述第二设备之间保持时钟同步;所述第二设备根据所述第一报文确定所述第一设备和所述第三设备之间的检测结果,包括:所述第二设备根据所述反射报文回收规则识别和检验所述第一报文的内容,所述第一报文中包括所述第一报文的发送时间戳、所述第一TWAMP报文的发送时间戳和所述第一TWAMP报文的接收时间戳;所述第二设备根据接收所述第一报文的时间、所述第一报文的发送时间戳、所述第一TWAMP报文的发送时间戳和所述第一TWAMP报文的接收时间戳确定所述第一设备和所述第三设备之间的时延和时延抖动中的至少之一。
- 根据权利要求2所述的检测方法,其中,所述第二设备和所述第一设备之间通过通信通道连接;在所述第二设备通过第四设备接收所述第一报文之后,在所述第二设备根据所述第一报文确定所述第一设备和所述第三设备之间的检测结果之前,还包括:所述第二设备通过所述通信通道从所述第一设备获取所述第一TWAMP报文的发送情况。
- 根据权利要求4所述的检测方法,其中,所述第二设备根据所述第一报文确定所述第一设备和所述第三设备之间的检测结果,包括:所述第二设备根据所述反射报文回收规则识别和检验所述第一报文的内 容;所述第二设备根据所述第一TWAMP报文的发送情况和所述第一报文的接收情况确定所述第一设备和所述第三设备之间的连通性和丢包率中的至少之一。
- 一种基于双向主动测量协议TWAMP的检测方法,包括:TWAMP发射端的第一设备通过第四设备向TWAMP反射端的第三设备发送第一TWAMP报文,以便所述第三设备通过所述第四设备向所述TWAMP发射端的第二设备反射第一报文,所述第一报文为所述第一TWAMP报文的反射报文;所述第一设备通过与所述第二设备之间的通信通道接收所述第二设备发送的所述第一设备和所述第三设备之间的检测结果,所述第一设备和所述第三设备之间的检测结果为所述第二设备根据接收的第一报文确定的;或者,所述第一设备通过与所述第二设备之间的通信通道接收所述第二设备发送的所述第一报文的接收情况,并根据所述第一TWAMP报文的发送情况和所述第一报文的接收情况确定所述第一设备和所述第三设备之间的检测结果。
- 一种基于双向主动测量协议TWAMP的检测方法,包括:TWAMP发射端的第一设备通过第四设备向TWAMP反射端的第三设备发送第一TWAMP报文;所述第三设备收到所述第一TWAMP报文后,通过所述第四设备向所述TWAMP发射端的第二设备反射第一报文,所述第一报文为所述TWAMP报文的反射报文;所述第二设备接收所述第一报文,并根据所述第一报文确定所述第一设备和所述第三设备之间的检测结果;或者,所述第二设备向所述第一设备发送所述第一报文的接收情况,所述第一设备根据所述第一TWAMP报文的发送情况和所述第一报文的接收情况确定所述第一设备和所述第三设备之间的检测结果。
- 一种第二设备,应用于双向主动测量协议TWAMP发射端,包括:接收单元,设置为通过第四设备接收第一报文,所述第一报文为所述TWAMP发射端的第一设备通过所述第四设备向TWAMP反射端的第三设备发送的第一TWAMP报文的反射报文;确定单元,设置为根据所述第一报文确定所述第一设备和所述第三设备之间的检测结果;或者,设置为向所述第一设备发送所述第一报文的接收情况, 以便所述第一设备根据所述第一TWAMP报文的发送情况和所述第一报文的接收情况确定所述第一设备和所述第三设备之间的检测结果。
- 一种第一设备,应用于双向主动测量协议TWAMP发射端,包括:发送单元,设置为通过第四设备向TWAMP反射端的第三设备发送第一TWAMP报文,以便所述第三设备通过所述第四设备向所述TWAMP发射端的第二设备反射第一报文,所述第一报文为所述第一TWAMP报文的反射报文;接收单元,设置为通过与所述第二设备之间的通信通道接收所述第二设备发送的所述第一设备和所述第三设备之间的检测结果,所述第一设备和所述第三设备之间的检测结果为所述第二设备根据接收的第一报文确定的;或者,设置为通过与所述第二设备之间的通信通道接收所述第二设备发送的所述第一报文的接收情况,并根据所述第一TWAMP报文的发送情况和所述第一报文的接收情况确定所述第一设备和所述第三设备之间的检测结果。
- 一种计算机可读存储介质,存储有信息处理程序,所述信息处理程序被处理器执行时实现如权利要求1至7中任一项所述基于双向主动测量协议TWAMP的检测方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910440095.1 | 2019-05-24 | ||
CN201910440095.1A CN111988193A (zh) | 2019-05-24 | 2019-05-24 | 一种基于twamp的检测方法及相关设备 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2020238799A1 true WO2020238799A1 (zh) | 2020-12-03 |
Family
ID=73437065
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/091837 WO2020238799A1 (zh) | 2019-05-24 | 2020-05-22 | 一种基于twamp的检测方法及相关设备 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN111988193A (zh) |
WO (1) | WO2020238799A1 (zh) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106549819A (zh) * | 2015-09-22 | 2017-03-29 | 华为技术有限公司 | 一种连通性探测方法、控制器和设备 |
CN106936661A (zh) * | 2015-12-31 | 2017-07-07 | 华为技术有限公司 | 一种网络监测方法、装置及系统 |
CN107517137A (zh) * | 2016-06-16 | 2017-12-26 | 中兴通讯股份有限公司 | 一种业务质量测量方法及装置 |
CN107579869A (zh) * | 2016-07-04 | 2018-01-12 | 华为技术有限公司 | 网络性能检测方法和网络设备 |
CN107995015A (zh) * | 2016-10-27 | 2018-05-04 | 中兴通讯股份有限公司 | 获取twamp端到端检测路径的方法和装置 |
US20190059117A1 (en) * | 2017-08-16 | 2019-02-21 | Nicira, Inc. | Connectivity checks in virtualized computing environments |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9485165B2 (en) * | 2012-12-14 | 2016-11-01 | Telefonaktiebolaget L M Ericsson (Publ) | Method and apparatus for augmenting TWAMP |
-
2019
- 2019-05-24 CN CN201910440095.1A patent/CN111988193A/zh active Pending
-
2020
- 2020-05-22 WO PCT/CN2020/091837 patent/WO2020238799A1/zh active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106549819A (zh) * | 2015-09-22 | 2017-03-29 | 华为技术有限公司 | 一种连通性探测方法、控制器和设备 |
CN106936661A (zh) * | 2015-12-31 | 2017-07-07 | 华为技术有限公司 | 一种网络监测方法、装置及系统 |
CN107517137A (zh) * | 2016-06-16 | 2017-12-26 | 中兴通讯股份有限公司 | 一种业务质量测量方法及装置 |
CN107579869A (zh) * | 2016-07-04 | 2018-01-12 | 华为技术有限公司 | 网络性能检测方法和网络设备 |
CN107995015A (zh) * | 2016-10-27 | 2018-05-04 | 中兴通讯股份有限公司 | 获取twamp端到端检测路径的方法和装置 |
US20190059117A1 (en) * | 2017-08-16 | 2019-02-21 | Nicira, Inc. | Connectivity checks in virtualized computing environments |
Also Published As
Publication number | Publication date |
---|---|
CN111988193A (zh) | 2020-11-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9407526B1 (en) | Network liveliness detection using session-external communications | |
KR101459252B1 (ko) | Traceroute_delay 진단 커맨드 | |
JP5462954B2 (ja) | パケットロス検出方法及び装置、並びにルータ | |
CN106936661B (zh) | 一种网络监测方法、装置及系统 | |
WO2018210213A1 (zh) | 一种实现ioam封装的方法及装置、存储介质 | |
JP5209116B2 (ja) | パケット交換網における擬似ワイヤの確立 | |
US20140029413A1 (en) | System and method using rsvp hello suppression for graceful restart capable neighbors | |
KR102055201B1 (ko) | 클록 동기화 경로를 검출하는 방법, 노드, 및 시스템 | |
US7983274B2 (en) | Performance monitoring of pseudowire emulation | |
US8503321B2 (en) | Multifunctional control channel for pseudowire emulation | |
CN101427501A (zh) | Mpls转发和控制平面之间的一致性 | |
CN103580894B (zh) | 操作、管理和维护oam配置的方法、设备及系统 | |
US11057290B2 (en) | Ping/traceroute for static label switched paths (LSPs) and static segment routing traffic engineering (SRTE) tunnels | |
US20080273467A1 (en) | Methods for determining pw connection state and for notifying ac connection state and the associated equipments | |
WO2017113771A1 (zh) | 一种报文的处理方法和装置 | |
WO2012075934A1 (zh) | 消息循环的检测方法、路由代理设备及组网系统 | |
WO2022083563A1 (zh) | 链路检测方法、链路检测装置、终端设备和存储介质 | |
US20230318970A1 (en) | Packet Processing Method and Apparatus | |
WO2020238799A1 (zh) | 一种基于twamp的检测方法及相关设备 | |
WO2014008809A1 (zh) | 一种丢失帧测定方法及系统 | |
JP2012039461A (ja) | 通信装置、通信方法、および通信プログラム | |
US20130259057A1 (en) | Pseudowire groups in a packet switched network | |
CN107666671B (zh) | 基于twamp的错误连接检测的方法及装置 | |
WO2014000509A1 (zh) | 一种传输监控方法及装置 | |
CN102624746B (zh) | 检测隧道两端gre头配置的方法、源端、目的端和系统 |
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: 20814745 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: 20814745 Country of ref document: EP Kind code of ref document: A1 |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20814745 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 17/05/2022) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20814745 Country of ref document: EP Kind code of ref document: A1 |