CN107579869B - Network performance detection method and network equipment - Google Patents

Network performance detection method and network equipment Download PDF

Info

Publication number
CN107579869B
CN107579869B CN201610537532.8A CN201610537532A CN107579869B CN 107579869 B CN107579869 B CN 107579869B CN 201610537532 A CN201610537532 A CN 201610537532A CN 107579869 B CN107579869 B CN 107579869B
Authority
CN
China
Prior art keywords
network
network device
packet
performance measurement
response message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610537532.8A
Other languages
Chinese (zh)
Other versions
CN107579869A (en
Inventor
张涛
曾海飞
史玉林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201610537532.8A priority Critical patent/CN107579869B/en
Publication of CN107579869A publication Critical patent/CN107579869A/en
Application granted granted Critical
Publication of CN107579869B publication Critical patent/CN107579869B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the invention provides a network performance detection method and network equipment, which comprise the following steps: the method comprises the steps that a first network device receives a first network performance measurement request message sent by a second network device; the first network equipment sends a second network performance measurement request message to third network equipment, and a test session adopted by the first network performance measurement request message and a test session adopted by the second network performance measurement request message are bound in the first network equipment; the first network equipment receives a first response message sent by the third network equipment; and the first network equipment fills the measurement result in the first response message into a second response message and sends the second response message to the second network equipment. Enabling the second network device to measure network performance between a third network device in a different network type network from the second network device.

Description

Network performance detection method and network equipment
Technical Field
The present application relates to the field of communications technologies, and in particular, to a network performance detection method and a network device.
Background
With the development of telecommunication technology, telecommunication networks are becoming larger and larger, and there are cases where multiple types of networks are mixed. In order to ensure the stable operation of the telecommunication network, the network needs to be inspected and maintained. The delay detection and the packet loss detection are important detection means for testing the network performance.
For different types of networks, the test protocols adopted by the time delay detection and the packet loss detection are different. The Operation Administration and Maintenance (OAM) protocol of the ethernet layer may be an International Telecommunications Union (ITU) Telecommunication Standardization Sector (ITU-T) y.1731. The measurement of the y.1731 Protocol is statistics of the real network traffic, belongs to direct measurement, and can truly reflect the actual network situation, and y.1731 is applied to the ethernet, for example, in a scenario of two-layer ethernet forwarding and two-layer virtual private network (L2 VPN), and is not applicable to a scenario of three-layer forwarding such as Internet Protocol (IP) forwarding and three-layer virtual private network (L3 VPN).
Two-Way Active Measurement Protocol (TWAMP) is a performance Measurement Protocol for three-tier forwarding scenarios. TWAMP employs a client/server communication mode, and the client initiates the establishment, start and other actions of a measurement session. The server responds, for example, with a response to a probe message (english). The performance measurement data is collected and maintained by the client. The TWAMP uses a User Datagram Protocol (UDP) message as a measurement probe frame to count the bidirectional delay and jitter of the network. TWAMP is only applicable to three-tier forwarding scenarios.
Request for Comments (RFC) 2544 defines another measurement method applicable to the three-tier forwarding scenario. In RFC2544, an initiating end sends a test message according to a certain flow, and a reflecting end loops back the test message according to a message filtering condition. RFC2544 is also only applicable to three-tier forwarding scenarios.
None of the above protocols for testing network performance are suitable for scenarios where multiple types of networks are mixed.
Disclosure of Invention
The application provides a network performance detection method and network equipment, which are used for accurately measuring the network performance between the network equipment in different network protocols in a hybrid network architecture.
A first aspect provides a network performance detection method, including:
a first network device receives a first network performance measurement request message sent by a second network device, wherein the first network performance measurement request message adopts a first network test protocol which is a measurement protocol based on network real flow;
the first network equipment sends a second network performance measurement request message to third network equipment, the second network performance measurement request message adopts a second network test protocol, the second network test protocol is a measurement protocol based on non-network real flow, a test session adopted by the first network performance measurement request message and a test session adopted by the second network performance measurement request message are bound in the first network equipment, and the second network performance measurement request message is the same as a network performance item requested to be measured in the first network performance measurement request message;
the first network device receives a first response message sent by the third network device, wherein the first response message is a response message of the second network performance measurement;
the first network equipment fills the measurement result in the first response message into a second response message, wherein the second response message is a response message of the first network performance measurement;
and the first network equipment sends the second response message to the second network equipment.
In a network architecture applying different network protocol hybrid networking, when a second network device requests to acquire network performance between third network devices in networks of different network protocols with the second network device, a first network device located at a network intermediate forwarding node of the hybrid network fills a measurement result in a second network performance measurement response message into a first network performance measurement response message sent to the second network device, so that the second network device can obtain measurement parameters of networks of different types from the network where the second network device is located, and the network performance of the hybrid network can be measured.
Further, in a possible implementation manner of the first aspect, before the sending, by the first network device, the second network performance measurement request packet to the third network device, the method further includes:
and the first network equipment suspends responding the first network performance measurement request message.
Since the first network performance measurement request packet is used to measure the network performance between the second network device and the third network device, but not between the first network device and the second network device, the first network device needs to suspend responding to the first network performance measurement request packet.
Further, in a possible implementation manner of the first aspect, the receiving, by the first network device, a first network performance measurement request packet sent by a second network device includes:
the first network equipment receives a first time delay detection request message sent by the second network equipment;
the first network device sends a second network performance measurement request message to a third network device, including:
the first network equipment sends a second time delay detection request message to the third network equipment;
the receiving, by the first network device, the first response packet sent by the third network device includes:
the first network device receives a first delay detection response message sent by the third network device, where the first delay detection response message includes time when the third network device receives the second delay detection request message and time when the third network device sends the first delay detection response message;
the first network device fills the measurement result in the first response message into a second response message, including:
the first network device fills the time when the third network device receives the second delay detection request message and the time when the third network device sends the first delay detection response message into a second delay detection response message;
the sending, by the first network device, the second response packet to the second network device includes:
and the first network device sends the second delay detection response message to the second network device, wherein the second delay detection response message is used for enabling the second network device to acquire the bidirectional delay between the second network device and a third network device.
When the time delay between network devices in different network protocols in a network architecture of a hybrid networking is measured, the time delay performance between the network devices in the hybrid network can be obtained by adopting the network performance detection method provided by the application, and the measurement result is basically consistent with the measurement result based on the real network flow.
Further, in a possible implementation manner of the first aspect, the receiving, by the first network device, a first network performance measurement request packet sent by a second network device includes:
the first network equipment receives at least two packet loss detection request messages which are sequentially sent by the second network equipment;
the first network device sends a second network performance measurement request message to a third network device, including:
each time the first network device receives one packet loss detection request message, sending an extended packet loss detection request message to the third network device, wherein each extended packet loss detection request message comprises an extended packet loss detection identifier;
the receiving, by the first network device, the first response packet sent by the third network device includes:
the first network device sequentially receives at least two extended packet loss detection response messages sent by the third network device, each extended packet loss detection response message is a response to one extended packet loss detection request message, and each extended packet loss detection response message comprises flow counting data of real network flow received by the third network device when receiving one extended packet loss detection request message and flow counting data of real network flow sent by the third network device when sending the extended packet loss detection response message;
the first network device fills the measurement result in the first response message into a second response message, including:
when the first network device receives an extended packet loss detection response message, filling carried traffic count data of real network traffic received by the third network device when receiving an extended packet loss detection request message and traffic count data of real network traffic sent by the third network device when sending the extended packet loss detection response message into a packet loss detection response message, wherein each packet loss detection response message is a response message of the packet loss detection request message;
the sending, by the first network device, the second response packet to the second network device includes:
the first network device sequentially sends each filled packet loss detection response message to the second network device, and the filled packet loss detection response message is used for enabling the second network device to obtain packet loss data from the second network device to the third network device.
When packet loss data between network devices in different network protocols in a network architecture of a hybrid networking is measured, the network performance detection method provided by the application can be used for acquiring real packet loss performance data between the network devices, and accurate measurement can be realized.
Further, in a possible implementation manner of the first aspect, before the first network device receives the first network performance measurement request packet sent by the second network device, the method further includes:
and the first network equipment binds the test session adopted by the second network performance measurement request message with the test session adopted by the first network performance measurement request message.
A second aspect provides a network device, which is a first network device, configured to implement the network performance detection method provided in the first aspect, where the network device includes a receiving module, a sending module, and a processing module, and each module is respectively configured to execute receiving, sending, and processing functions in the first network device.
A third aspect provides a network device, which is a first network device, including:
the first network interface is used for receiving a first network performance measurement request message sent by second network equipment, wherein the first network performance measurement request message adopts a first network test protocol, and the first network test protocol is a measurement protocol based on network real flow;
a second network interface, configured to send a second network performance measurement request packet to a third network device, where the second network performance measurement request packet uses a second network test protocol, the second network test protocol is a measurement protocol based on non-network real traffic, a test session used by the first network performance measurement request packet and a test session used by the second network performance measurement request packet are bound in the first network device, and a network performance item requested to be measured in the second network performance measurement request packet and the first network performance measurement request packet are the same; receiving a first response message sent by the third network device, wherein the first response message is a response message of the second network performance measurement;
a processor, configured to fill a second response message with a measurement result in the first response message, where the second response message is a response message of the first network performance measurement;
the first network interface is further configured to send the second response packet to the second network device.
Further, in a possible implementation manner of the third aspect, the first network protocol interface is further configured to suspend responding to the first network performance measurement request packet before sending the second network performance measurement request packet to the third network device.
Further, in a possible implementation manner of the third aspect, the first network protocol interface is specifically configured to receive a first delay detection request packet sent by the second network device;
the second network protocol interface is specifically configured to send a second delay detection request packet to a third network device; receiving a first delay detection response message sent by the third network device, where the first delay detection response message includes time when the third network device receives the second delay detection request message and time when the third network device sends the first delay detection response message;
the processor is specifically configured to fill a second delay detection response message with time when the third network device receives the second delay detection request message and time when the third network device sends the first delay detection response message;
the first network protocol interface is further specifically configured to send the second delay detection response packet to the second network device, where the second delay detection response packet is used to enable the second network device to obtain a bidirectional delay between the second network device and a third network device.
Further, in a possible implementation manner of the third aspect, the first network protocol interface is specifically configured to receive at least two packet loss detection request messages that are sequentially sent by the second network device;
the second network protocol interface is specifically configured to send an extended packet loss detection request packet to the third network device every time the second network protocol interface receives one packet loss detection request packet, where each extended packet loss detection request packet includes an extended packet loss detection identifier; receiving at least two extended packet loss detection response messages sent by the third network device in sequence, where each extended packet loss detection response message is a response to one extended packet loss detection request message, and each extended packet loss detection response message includes flow count data of real network traffic received by the third network device when receiving one extended packet loss detection request message and flow count data of real network traffic sent by the third network device when sending the extended packet loss detection response message;
the processor is specifically configured to, each time an extended packet loss detection request message is received, fill a packet loss detection response message with traffic count data of real network traffic received by the third network device when the extended packet loss detection request message is received and traffic count data of real network traffic sent by the third network device when the extended packet loss detection response message is sent, where each packet loss detection response message is a response message of the packet loss detection request message;
the first network protocol interface is further specifically configured to sequentially send each filled packet loss detection response packet to the second network device, where the filled packet loss detection response packet is used to enable the second network device to obtain packet loss data from the second network device to the third network device.
Further, in a possible implementation manner of the third aspect, the processor is further configured to bind the test session used by the second network performance measurement request packet and the test session used by the first network performance measurement request packet.
Further, in various possible implementations described above, the first network protocol is ITU-T y.1731 and the second network protocol is TWAMP.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive labor.
Fig. 1 is a schematic view of an application scenario of a network performance detection method according to an embodiment of the present invention;
fig. 2 is an interaction flowchart of a first embodiment of a network performance detection method according to the present invention;
fig. 3 is an interaction flowchart of a second embodiment of a network performance detection method according to the present invention;
fig. 4 is an interaction flowchart of a third embodiment of a network performance detection method according to the present invention;
fig. 5 is a schematic structural diagram of a first network device according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a second network device according to an embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a network performance detection method, which can realize network performance measurement under the scene of mixed networking of various networks by connecting different measurement protocols in intermediate transition network nodes of two-layer network networking and three-layer network networking.
Fig. 1 is a schematic view of an application scenario of the network performance detection method provided in the embodiment of the present invention, and as shown in fig. 1, the method provided in this embodiment is applied to a mixed networking scenario of an L2VPN and an L3VPN, and the network architecture includes a first network device 11, a second network device 12, and a third network device 13. The second network device 12 is connected to the first network device 11 through an L2VPN network, and the third network device 13 is connected to the first network device 11 through an L3VPN network. The first network device 11 is actually an intermediate transition node of a two-layer and three-layer hybrid network. The following embodiments of the present invention take the network scenario shown in fig. 1 as an example, and describe the network performance detection method provided by the embodiments of the present invention.
Fig. 2 is an interaction flowchart of a first embodiment of a network performance detection method provided in an embodiment of the present invention, and as shown in fig. 2, the method of the present embodiment includes:
step S201, the second network device sends a first network performance measurement request packet to the first network device, where the first network performance measurement request packet adopts a first network test protocol, and the first network test protocol is a measurement protocol based on real network traffic.
Specifically, based on the network architecture shown in fig. 1, since the second network device 12 and the third network device 13 are in different layers, the network test protocols adopted between the second network device 12 and the first network device 11, and between the third network device 13 and the first network device 11 are different. It is not possible to directly test the network performance between the second network device 12 and the third network device 13 using one and the same network test protocol. Although there is a scheme for testing network performance in a hybrid network based on an IP forwarding manner, for example, testing by using TWAMP or RFC2544 standard, the method is only applicable to a three-layer forwarding scenario.
In order to implement the measurement of the end-to-end node network performance in the hybrid network, first, the second network device 12 triggering the network performance measurement needs to send a first network performance measurement request message based on a first network test protocol, where the first network protocol is a measurement protocol based on the real network traffic. In the first network device 11 serving as the network intermediate node, corresponding configuration is performed, so that the test session used by the second network device 12 and the test session used by the third network device 13 are bound in the first network device 11, and after receiving the first network performance measurement request packet, the second network device 12 can learn that the first network performance measurement request packet is a measurement packet for measuring the network performance between the second network device 12 and the third network device 13. Therefore, the end-to-end network performance in the hybrid network can be tested.
In detail, when the second network device 12 in the network needs to acquire the network performance between the second network device 12 and the third network device 13, the second network device 12 first sends a first network performance measurement request packet to the first network device 11. The first network test protocol adopted by the first network performance measurement request message is applicable to a network protocol between the first network device 11 and the second network device 12, and the first network protocol is a measurement protocol based on network real traffic, such as a y.1731 protocol.
Step S202, the first network device sends a second network performance measurement request message to a third network device, the second network performance measurement request message adopts a second network test protocol, the second network test protocol is a measurement protocol based on non-network real flow, a test session adopted by the first network performance measurement request message and a test session adopted by the second network performance measurement request message are bound in the first network device, and the network performance items requested to be measured in the second network performance measurement request message and the first network performance measurement request message are the same.
Specifically, in the first network device 11, the test session used by the second network device 12 and the test session used by the third network device 13 are bound in the first network device 11, that is, the test session used by the first network performance measurement request packet and the test session used by the second network performance measurement request packet are bound in the first network device. Then, after the first network device 11 receives the first network performance measurement request packet, it can be known that the first network performance measurement request packet is used for measuring the network performance between the second network device 12 and the third network device 13. Then, after the first network device 11 receives the first network performance measurement request packet, the first network device 11 needs to send a second network performance measurement request packet to the third network device 13, where the second network performance measurement request packet is applicable to a second network protocol between the first network device 11 and the third network device 13.
Since the second network performance measurement request message is actively triggered by the first network device 11, that is, not based on the network real traffic, the second network protocol should be a measurement protocol based on the non-network real traffic, such as TWAMP protocol. The network performance items requested to be measured in the second network performance measurement request message are the same as the network performance items requested to be measured in the first network performance measurement request message, that is, if the network performance requested to be measured in the first network performance measurement request message is time delay, the network performance requested to be measured in the second network performance measurement request message is time delay.
The networking manner among the first network device 11, the second network device 12, and the third network device 13 is not limited in fig. 1, as long as a first network test protocol used between the first network device 11 and the second network device 12 is different from a second network protocol used between the first network device 11 and the third network device 13, the first network test protocol is a measurement protocol based on network real traffic, and the second network test protocol is a measurement protocol based on non-network real traffic.
After receiving the first network performance measurement request message, the first network device 11 should have as short a time interval as possible between the time when the first network device 11 sends the second network performance measurement request message to the third network device 13, and the first network device 11 will trigger sending the second network performance measurement request message immediately after receiving the first network performance measurement request message. In order to ensure that the processing delay inside the first network device 11 is as short as possible, in the first network device 11, the above operations are usually performed by a Network Processor (NP) or a hardware chip, where the hardware chip may be any one or more chips with processing functions disposed in the first network device.
Step S203, the first network device receives a first response packet sent by the third network device, where the first response packet is a response packet of the second network performance measurement.
Specifically, after the first network device 11 sends the second network performance measurement request packet to the third network device 13, the third network device 13 sends a first response packet to the first network device 11 in response to the second network performance measurement request packet. The first network device 11 and the third network device 13 may be configured to perform network performance measurements using a second test protocol suitable for the network protocol used therebetween. For example, in the network architecture shown in fig. 1, the first network device 11 and the third network device 13 are connected through an L3VPN network, and then the second network performance measurement request packet and the first response packet may be performed by using a method defined by TWAMP, which is not described herein again.
Step S204, the first network device fills the measurement result in the first response message into a second response message, where the second response message is a response message of the first network performance measurement.
Specifically, since the test protocols used in the first network performance measurement request packet and the second network performance measurement request packet are different, the first network device 11 cannot directly send the first response packet to the second network device 12 after receiving the first response packet. Therefore, after the first network device 11 receives the first response packet, in order to send the measurement result carried in the first response packet to the second network device 12, the first response packet needs to be analyzed to obtain the measurement result carried in the first response packet.
The first network performance measurement request packet sent by the second network device 12 to the first network device 11 is used for measuring the network performance between the second network device 12 and the third network device 13, and then the first network device 11 needs to send a second response packet for responding to the first network performance measurement request packet to the second network device 12, so that the second network device 12 obtains the network performance between the second network device 12 and the third network device 13 according to the information carried in the second response packet. Then, after acquiring the measurement result in the first response message, the first network device 11 needs to fill the analyzed measurement result in the acquired first response message into the second response message. The second response message is for responding to the first network performance measurement request message.
Step S205, the first network device sends a second response packet to the second network device.
Specifically, when the first network device 11 fills the measurement result in the first response message into the second response message and constructs the second response message, the second network device 12 may send the second response message.
After receiving the first response packet, the first network device 11 should trigger sending the second response packet immediately after receiving the first response packet, if the time interval between the first network device 11 and the second network device 12 sending the second response packet is as short as possible. In order to ensure that the processing delay inside the first network device 11 is as short as possible, the above operation is usually performed by a hardware processor or a hardware chip in the first network device.
In step S206, the second network device calculates the network performance between the second network device and the third network device according to the second response packet.
Specifically, after the second network device 12 receives the second response packet, the performance data of the third network device 13 when receiving the second network performance measurement request packet and sending the first response packet may be analyzed, and then the network performance between the second network device 12 and the third network device 13 may be calculated by combining the performance data of the second network device 12 when sending the first network performance measurement request packet and receiving the second response packet.
In a network architecture applying different network protocol hybrid networking, when a second network device requests to acquire network performance between third network devices in networks of different network protocols with the second network device, a first network device located at a network intermediate forwarding node of the hybrid network fills a measurement result in a second network performance measurement response message into a first network performance measurement response message sent to the second network device, so that the second network device can obtain measurement parameters of networks of different types from the network where the second network device is located, and thus can measure the network performance of the hybrid network.
In addition, after the first network device 11 receives the first network performance measurement request packet, since the first network performance measurement request packet is used for measuring the network performance between the second network device 12 and the third network device 13, but not the network performance between the first network device 11 and the second network device 12, the first network device 11 needs to suspend responding to the first network performance measurement request packet. When the first network device 11 receives the first response packet sent by the third network device, it responds to the first network performance measurement request packet.
In order to implement the network performance detection method provided by the embodiment of the present invention, a protocol connector function needs to be configured in an intermediate transition node of a mixed networking of a two-layer network and a three-layer network, different measurement protocols adopted in the two-layer network and the three-layer network are session-bound, and measurement results are exchanged between the different measurement protocols, so that packet loss and delay measurement across the two-layer network and the three-layer network is implemented. I.e. session binding in the first network device 11 of the measurement protocols employed by the second network device 12 and the third network device 13.
When detecting the network performance between the network devices, the parameters mainly used for reflecting the network performance between the network devices are the time delay performance between the network devices and the packet loss performance between the network devices. The network performance detection method provided by the embodiment of the present invention is further described in detail below by taking the network performance as the time delay and the packet loss as examples.
Fig. 3 is an interaction flowchart of a second embodiment of the network performance detection method provided in the embodiment of the present invention, and as shown in fig. 3, the method of the present embodiment includes:
step S301, the second network device sends a first delay detection request packet to the first network device, where the first delay detection request packet adopts a first network test protocol, and the first network test protocol is a measurement protocol based on the real network traffic.
Specifically, still taking the network architecture shown in fig. 1 as an example, when the second network device 12 needs to measure the bidirectional delay between the second network device 12 and the third network device 13, since the network test protocols adopted between the second network device 12 and the first network device 11 and between the third network device 13 and the first network device 11 are different, the second network device 12 cannot test the bidirectional delay between the second network device 12 and the third network device 13 by using one same network test protocol. The second network device 12 first sends a first delay detection request message to the first network device 11, where the first delay detection request message adopts a first network test protocol, and the first network test protocol is a measurement protocol based on network real traffic.
Step S302, the first network device sends a second delay detection request packet to a third network device, where the second delay detection request packet adopts a second network test protocol, and the second network test protocol is a measurement protocol based on non-network real traffic.
Specifically, since the first network device 11 performs session binding on the network test protocols adopted by the second network device 12 and the third network device 13, after receiving the first delay detection request message, the first network device 11 sends a second delay detection request message to the third network device 13. The second delay detection request packet is based on a second network test protocol between the first network device 11 and the third network device 13, and the second network test protocol is a measurement protocol based on non-network real traffic. This is because the second delay detection request packet is actively triggered by the first network device 11 and is not reflected by the actual network traffic.
Step S303, the first network device receives a first delay detection response packet sent by the third network device, where the first delay detection response packet includes a time when the third network device receives the second delay detection request packet and a time when the third network device sends the first delay detection response packet.
Specifically, after receiving the second delay detection request message, the third network device 13 sends a first delay detection response message for responding to the second delay detection request message to the first network device 11. This process is the same as the conventional delay detection process, that is, when receiving the second delay detection request message, the third network device 13 records a receiving time, and then sends the first delay detection response message to the first network device 11 and records the sending time. The third network device 13 carries, in the first delay detection response packet sent to the first network device 11, the time when the third network device receives the second delay detection request packet and the time when the third network device sends the first delay detection response packet.
Step S304, the first network device fills the time when the third network device receives the second delay detection request message and the time when the third network device sends the first delay detection response message into the second delay detection response message.
Specifically, after receiving the first delay detection response packet, the first network device 11 analyzes the first delay detection response packet to obtain the time when the third network device 13 carried therein receives the second delay detection request packet and the time when the third network device 13 sends the first delay detection response packet. The purpose of analyzing the first delay detection response packet by the first network device 11 is that the first delay detection response packet cannot be directly sent to the second network device 12 by the first network device 11 because the first delay detection response packet is different from the test protocol used by the first network device 11 to receive the first delay detection request packet sent by the second network device 12. Therefore, it is necessary to analyze the measurement result in the first delay detection response packet, that is, the time when the third network device 13 receives the second delay detection request packet and the time when the third network device 13 sends the first delay detection response packet.
Then, the first network device 11 fills the time when the third network device 13 receives the second delay detection request message and the time when the third network device 13 sends the first delay detection response message into the second delay detection response message. The second delay test response message is used for responding to the first delay test request message sent by the second network device 12.
Step S305, the first network device sends a second delay detection response packet to the second network device.
Specifically, after completing the filling of the second delay detection response packet, the first network device 11 may send the second delay detection response packet to the second network device 12.
Step S306, the second network device calculates the bidirectional delay between the second network device and the third network device according to the time when the third network device receives the second delay detection request message, the time when the third network device sends the first delay detection response message, the time information when the second network device sends the first delay detection request message, and the time information when the second network device receives the second delay detection response message in the second delay detection response message.
Specifically, after the second network device 12 receives the second delay detection response packet, the bidirectional delay between the second network device and the third network device can be calculated according to the information carried in the second delay detection response packet. Specifically, the second network device 12 can record the time when the first latency detection request message is sent to the first network device 11, which is denoted as T1, and the second network device 12 can record the time when the second latency detection response message is received, which is denoted as T4. Then, the second network device 12 further obtains, from the second delay detection response message, the time when the third network device 13 receives the second delay detection request message sent by the first network device 11 and the time when the third network device 13 sends the first delay detection response message, and records the time as T2 and T3, respectively. Then the two-way delay T between the second network device 12 and the third network device 13 can be calculated according to the following formula: t ═ T4-T1) - (T3-T2.
In the embodiment shown in fig. 3, when the network performance detection method provided by the embodiment of the present invention is used to perform the delay test, although the first network test protocol used between the first network device 11 and the second network device 12 is based on the real network traffic, the second network test protocol used between the first network device 11 and the third network device 13 is based on the non-real network traffic. However, due to the characteristics of delay detection, the end-to-end bidirectional delay can be calculated only by acquiring the end-to-end data sending and receiving time, and whether the test message is a real flow-based message or not basically has no influence on the measurement result. Therefore, the network performance measurement method provided by the embodiment can measure the end-to-end bidirectional delay in the hybrid network, and the measurement result is basically consistent with the measurement result based on the network real traffic.
Fig. 4 is an interaction flowchart of a third embodiment of a network performance detection method provided in the embodiment of the present invention, and as shown in fig. 4, the method of the present embodiment includes:
step S401, the second network device sends at least two packet loss detection request messages to the first network device in sequence, the packet loss detection request messages adopt a first network test protocol, and the first network test protocol is a measurement protocol based on the real network flow.
Specifically, still taking the network architecture shown in fig. 1 as an example, when the second network device 12 needs to measure the packet loss data of the second network device 12 to the third network device 13, because the network test protocols adopted between the second network device 12 and the first network device 11 and between the third network device 13 and the first network device 11 are different, the second network device 12 cannot adopt one same network test protocol to test the packet loss data of the second network device 12 to the third network device 13. The test for the packet loss data can be calculated only through the relationship between the two test messages and the corresponding response messages, but the packet loss data calculated by using the two messages is only instantaneous packet loss data, if the packet loss data of a period of time needs to be calculated, the relationship between every two adjacent test messages and the corresponding response messages needs to be calculated through a plurality of test messages and the corresponding response messages, and then a curve representing the packet loss performance of a user can be obtained. In this embodiment, the second network device 12 first sequentially sends at least two packet loss detection request messages to the first network device 11, where the at least two packet loss detection request messages adopt a first network test protocol, and the first network test protocol is a measurement protocol based on the real network traffic.
Step S402, when the first network device receives a packet loss detection request message, an extended packet loss detection request message is sent to the third network device, wherein each extended packet loss detection request message comprises an extended packet loss detection identifier, the extended packet loss detection request message adopts a second network test protocol, and the second network test protocol is a measurement protocol based on non-network real traffic.
The extended packet loss detection request message is based on a second network test protocol (e.g., TWAMP or RFC2544) between the first network device 11 and the third network device 13, and the second network test protocol is a measurement protocol based on non-network real traffic. The packet loss detection request message of the second network test protocol is actively sent, and is not a reaction of the real network flow. Because the messages of the second network test protocol are all based on the messages of the non-network real traffic, the packet loss measurement result which can reflect the network real traffic cannot be obtained based on the response messages of the second network test protocol.
However, the first network device 11 sends the third network device 13 an extended packet loss detection request message instead of a standard test message of the second network test protocol. The extended packet loss detection request message at least includes an extended packet loss detection identifier, where the extended packet loss detection identifier is used for enabling the third network device 13 to know that the extended packet loss detection request message is not used for measuring packet loss data between the first network device 11 and the third network device 13. The third network device 13 will need to respond to the extended packet loss detection request message with the extended packet loss response message.
Since the network test protocols adopted by the second network device 12 and the third network device 13 are session-bound in the first network device 11, the extended packet loss detection request message is sent to the third network device 13 every time the first network device 11 receives a packet loss detection request message.
Step S403, the first network device sequentially receives at least two extended packet loss detection response messages sent by the third network device, where each extended packet loss detection response message is a response to one extended packet loss detection request message, and each extended packet loss detection response message includes flow count data of real network traffic received by the third network device when receiving one extended packet loss detection request message and flow count data of real network traffic sent by the third network device when sending the extended packet loss detection response message.
Specifically, each time the third network device 13 receives an extended packet loss detection request message, it will send an extended packet loss detection response message for response to the first network device 11. In order to enable the packet loss measurement result to reflect the real network traffic condition, in the extended packet loss detection response message, the flow count data of the real network traffic received by the third network device 13 when receiving an extended packet loss detection request message and the flow count data of the real network traffic sent by the third network device 13 when sending the extended packet loss detection response message need to be included. That is, the extended packet loss detection response packet carries actual network traffic count data received and sent by the third network device 13.
Step S404, when the first network device receives an extended packet loss detection response packet, filling a packet loss detection response packet with traffic count data of real network traffic received by the third network device when receiving an extended packet loss detection request packet and traffic count data of real network traffic sent by the third network device when sending the extended packet loss detection response packet, where each packet loss detection response packet is a response packet of the packet loss detection request packet.
Specifically, each time the first network device 11 sends an extended packet loss request message to the third network device 13, an extended packet loss detection response message sent by the third network device 13 will be received. In order to enable the second network device 12 to obtain the real network packet loss data between the second network device 12 and the third network device 13, after receiving an extended packet loss request packet, the first network device 11 parses the packet, and fills the traffic count data of the real network traffic received by the third network device 13 when receiving an extended packet loss detection request packet and the traffic count data of the real network traffic sent by the third network device 13 when sending an extended packet loss detection response packet into a packet loss detection response packet for responding to the packet loss detection request packet sent by the second network device 12. That is, the measurement result carried in the extended packet loss detection response message is used to replace the measurement result of the corresponding packet loss detection response message, so that the second network device 12 can directly obtain the real traffic technical data when the third network device 13 receives and sends the message after receiving the packet loss detection response message.
Step S405, the first network device sequentially sends each filled packet loss detection response packet to the second network device, where the filled packet loss detection response packet is used to enable the second network device to obtain packet loss data from the second network device to the third network device.
Specifically, after completing the filling of the packet loss detection response packet, the first network device 11 may sequentially send each filled packet loss detection response packet to the second network device 12.
Step S406, the second network device calculates packet loss data from the second network device to the third network device according to the traffic count data of the real network traffic received by the third network device when receiving an extended packet loss detection request message, the traffic count data of the real network traffic sent by the third network device when sending the extended packet loss detection response message, the traffic count data when the second network device sends the packet loss detection request message, and the traffic count data when the second network device receives the packet loss detection response message, in every two adjacent packet loss detection response messages.
Specifically, after the second network device 12 receives at least two packet loss detection response messages, the packet loss data from the second network device 12 to the third network device 13 can be calculated according to the information carried in the packet loss detection response messages. In detail, first, the second network device 12 can record traffic count data when every two adjacent packet loss detection request packets are sent to the first network device 11, and record the traffic count data as TxFCf [ tc ] and TxFCf [ tp ], and second, the second network device 12 can also record traffic count data when two corresponding adjacent packet loss detection response packets are received, and record the traffic count data as RxFCl [ tc ] and RxFCl [ tp ]. Then, the second network device 12 further obtains, from the two adjacent packet loss detection response messages, traffic count data of real network traffic received by the third network device 13 when receiving the two adjacent extended packet loss detection request messages and traffic count data of real network traffic sent by the third network device 13 when sending the two adjacent extended packet loss detection response messages, and records them as RxFCf [ tc ], RxFCf [ tp ], TxFCb [ tc ] and TxFCb [ tp ], respectively. Wherein [ tc ] represents the flow counting data in the second-time transmitted message in the two adjacent transmission processes, and [ tp ] represents the flow counting data in the first-time transmitted message. Then the packet loss data from the second network device to the third network device can be calculated according to the following formula: frame loss (far-end) | TxFCf [ tc ] -TxFCf [ tp ] | - | RxFCf [ tc ] -RxFCf [ tp ] |, and frame loss (near-end) | TxFCb [ tc ] -TxFCb [ tp ] | - | RxFCl [ tc ] -RxFCl [ tp ] |. Far-end frame loss refers to frame loss data at the third network device 13, and near-end frame loss refers to frame loss data at the second network device 12.
Since the first network test protocol used between the second network device 12 and the first network device 11 is based on the network real traffic measurement protocol, TxFCf [ tc ], TxFCf [ tp ], RxFCl [ tc ] and RxFCl [ tp ] are measurement parameters based on the network real traffic. Between the first network device 11 and the third network device 13, because the extended packet loss detection request packet and the extended packet loss detection response packet are used, RxFCf [ tc ], RxFCf [ tp ], TxFCb [ tc ] and TxFCb [ tp ] carried therein are also measurement parameters based on the real network traffic. Then the packet loss data between the second network device 12 and the third network device 13 calculated by the second network device 12 according to the above measurement parameters is also based on the real network traffic.
Fig. 5 is a schematic structural diagram of a network device according to a first embodiment of the present invention, and as shown in fig. 5, the network device according to this embodiment is a first network device, and includes:
the receiving module 51 is configured to receive a first network performance measurement request packet sent by a second network device, where the first network performance measurement request packet adopts a first network test protocol, and the first network test protocol is a measurement protocol based on network real traffic.
A sending module 52, configured to send a second network performance measurement request packet to a third network device, where the second network performance measurement request packet uses a second network test protocol, the second network test protocol is a measurement protocol based on non-network real traffic, a test session used by the first network performance measurement request packet and a test session used by the second network performance measurement request packet are bound in the first network device, and a network performance item requested to be measured in the second network performance measurement request packet and the first network performance measurement request packet are the same.
The receiving module 51 is further configured to receive a first response packet sent by the third network device, where the first response packet is a response packet of the second network performance measurement.
The processing module 53 is configured to fill a second response message with the measurement result in the first response message, where the second response message is a response message of the first network performance measurement.
The sending module 52 is further configured to send the second response packet to the second network device.
The network device provided in this embodiment is used to implement the technical scheme of the first network device in the network performance detection method shown in fig. 2, and the implementation principle and the technical effect are similar, which are not described herein again.
Further, in the embodiment shown in fig. 5, the sending module 52 is further configured to suspend responding to the first network performance measurement request message before sending the second network performance measurement request message to the third network device.
Further, in the embodiment shown in fig. 5, the receiving module 51 is specifically configured to receive the first delay detection request packet sent by the second network device; a sending module 52, specifically configured to send a second delay detection request packet to a third network device; a receiving module 51, specifically configured to receive a first delay detection response packet sent by the third network device, where the first delay detection response packet includes a time when the third network device receives the second delay detection request packet and a time when the third network device sends the first delay detection response packet; a processing module 53, configured to fill a second delay detection response message with the time when the third network device receives the second delay detection request message and the time when the third network device sends the first delay detection response message; the sending module 52 is specifically configured to send the second delay detection response packet to the second network device, where the second delay detection response packet is used to enable the second network device to obtain a bidirectional delay between the second network device and a third network device.
Further, in the embodiment shown in fig. 5, the receiving module 51 is specifically configured to receive at least two packet loss detection request messages sequentially sent by the second network device; a sending module 52, configured to send an extended packet loss detection request packet to the third network device every time the packet loss detection request packet is received, where each extended packet loss detection request packet includes an extended packet loss detection identifier; a receiving module 51, specifically configured to receive at least two extended packet loss detection response messages sent by the third network device in sequence, where each extended packet loss detection response message is a response to an extended packet loss detection request message, and each extended packet loss detection response message includes flow count data of real network traffic received by the third network device when receiving an extended packet loss detection request message and flow count data of real network traffic sent by the third network device when sending an extended packet loss detection response message; the processing module 53 is specifically configured to, every time an extended packet loss detection response packet is received, fill a packet loss detection response packet with traffic count data of real network traffic received by the third network device when an extended packet loss detection request packet is received and traffic count data of real network traffic sent by the third network device when the extended packet loss detection response packet is sent, where each packet loss detection response packet is a response packet of a packet loss detection request packet; the sending module 52 is specifically configured to send each filled packet loss detection response packet to the second network device in sequence, where the filled packet loss detection response packet is used to enable the second network device to obtain packet loss data from the second network device to the third network device.
Further, in the embodiment shown in fig. 5, the processing module 53 is further configured to, before the receiving module 51 receives the first network performance measurement request packet sent by the second network device, bind the test session used by the second network performance measurement request packet and the test session used by the first network performance measurement request packet.
Fig. 6 is a schematic structural diagram of a second network device according to an embodiment of the present invention, and as shown in fig. 6, the network device according to this embodiment is a first network device, and includes:
the first network protocol interface 61 is configured to receive a first network performance measurement request packet sent by a second network device, where the first network performance measurement request packet adopts a first network test protocol, and the first network test protocol is a measurement protocol based on network real traffic.
A second network protocol interface 62, configured to send a second network performance measurement request packet to a third network device, where the second network performance measurement request packet uses a second network test protocol, the second network test protocol is a measurement protocol based on non-network real traffic, a test session used by the first network performance measurement request packet and a test session used by the second network performance measurement request packet are bound in the first network device, and network performance items requested to be measured in the second network performance measurement request packet and the first network performance measurement request packet are the same; and receiving a first response message sent by the third network device, wherein the first response message is a response message of the second network performance measurement.
A processor 63, configured to fill a second response message with the measurement result in the first response message, where the second response message is a response message of the first network performance measurement.
The first network protocol interface 61 is further configured to send the second response packet to the second network device.
The first network protocol interface 61 and the second network protocol interface 62 in the embodiment of the present invention may be interfaces of any network protocol. However, the first network test protocol supported by the first network protocol interface 61 should be a measurement protocol based on network real traffic, and the second network test protocol supported by the second network protocol interface 62 should be a measurement protocol based on network non-real traffic. The processor 63 may correspond to a processor of the first network device, where the processor may be a network processor or a hardware chip, or one or more integrated circuits that implement embodiments of the present invention. The first network device may further include a memory for storing instruction codes, and the processor 63 calls the instruction codes of the memory to control the processor 63, the first network protocol interface 61 and the second network protocol interface 62 in the embodiment of the present invention to perform the above operations.
Further, in the embodiment shown in fig. 6, the first network protocol interface 61 is further configured to suspend responding to the first network performance measurement request packet before sending the second network performance measurement request packet to the third network device.
Further, in the embodiment shown in fig. 6, the first network protocol interface 61 is specifically configured to receive a first delay detection request packet sent by the second network device; the second network protocol interface 62 is specifically configured to send a second delay detection request packet to the third network device; receiving a first delay detection response message sent by the third network device, where the first delay detection response message includes time when the third network device receives the second delay detection request message and time when the third network device sends the first delay detection response message; a processor 63, configured to fill a second delay detection response message with the time when the third network device receives the second delay detection request message and the time when the third network device sends the first delay detection response message; the first network protocol interface 61 is further specifically configured to send the second delay detection response packet to the second network device, where the second delay detection response packet is used to enable the second network device to obtain a bidirectional delay between the second network device and a third network device.
Further, in the embodiment shown in fig. 6, the first network protocol interface 61 is specifically configured to receive at least two packet loss detection request messages sequentially sent by the second network device; the second network protocol interface 62 is specifically configured to send an extended packet loss detection request packet to the third network device every time the packet loss detection request packet is received, where each extended packet loss detection request packet includes an extended packet loss detection identifier; receiving at least two extended packet loss detection response messages sent by the third network device in sequence, where each extended packet loss detection response message is a response to one extended packet loss detection request message, and each extended packet loss detection response message includes flow count data of real network traffic received by the third network device when receiving one extended packet loss detection request message and flow count data of real network traffic sent by the third network device when sending the extended packet loss detection response message; the processor 63 is specifically configured to, each time an extended packet loss detection request message is received, fill a packet loss detection response message with traffic count data of real network traffic received by the third network device when the extended packet loss detection request message is received and traffic count data of real network traffic sent by the third network device when the extended packet loss detection response message is sent, where each packet loss detection response message is a response message of the packet loss detection request message; the first network protocol interface 61 is further specifically configured to sequentially send each filled packet loss detection response packet to the second network device, where the filled packet loss detection response packet is used to enable the second network device to obtain packet loss data from the second network device to the third network device.
Further, in the embodiment shown in fig. 6, the processor 63 is further configured to, before the first network protocol interface 61 receives the first network performance measurement request packet sent by the second network device, bind the test session used by the second network performance measurement request packet and the test session used by the first network performance measurement request packet.

Claims (12)

1. A method for detecting network performance is characterized by comprising the following steps:
a first network device receives a first network performance measurement request message sent by a second network device, wherein the first network performance measurement request message adopts a first network test protocol, the first network test protocol is a measurement protocol based on network real flow, and the first network performance measurement request message comprises at least two packet loss detection request messages;
the first network device sends a second network performance measurement request message to a third network device, the second network performance measurement request message adopts a second network test protocol, the second network test protocol is a measurement protocol based on non-network real flow, a test session adopted by the first network performance measurement request message and a test session adopted by the second network performance measurement request message are bound in the first network device, the second network performance measurement request message is the same as a network performance item requested to be measured in the first network performance measurement request message, and the second network performance measurement request message comprises an extended packet loss detection request message corresponding to each packet loss detection request message;
the first network device receives a first response message sent by the third network device, where the first response message is a response message of the second network performance measurement, the first response message includes at least two extended packet loss detection response messages, and each extended packet loss detection response message includes actual network traffic count data received and sent by the third network device;
the first network device fills a measurement result in the first response message into a second response message, wherein the second response message is a response message of the first network performance measurement, the second response message comprises at least two packet loss detection response messages, and the packet loss detection response messages are filled with actual network traffic counting data received and sent by the third network device;
and the first network device sends the second response message to the second network device, wherein the second response message comprises at least two filled packet loss detection response messages, and the filled packet loss detection response messages are used for enabling the second network device to obtain packet loss data from the second network device to the third network device.
2. The method of claim 1, wherein before the first network device sends the second network performance measurement request packet to the third network device, the method further comprises:
and the first network equipment suspends responding the first network performance measurement request message.
3. The method according to claim 1 or 2, wherein the receiving, by the first network device, the first network performance measurement request packet sent by the second network device, comprises:
the first network equipment receives a first time delay detection request message sent by the second network equipment;
the first network device sends a second network performance measurement request message to a third network device, including:
the first network equipment sends a second time delay detection request message to the third network equipment;
the receiving, by the first network device, the first response packet sent by the third network device includes:
the first network device receives a first delay detection response message sent by the third network device, where the first delay detection response message includes time when the third network device receives the second delay detection request message and time when the third network device sends the first delay detection response message;
the first network device fills the measurement result in the first response message into a second response message, including:
the first network device fills the time when the third network device receives the second delay detection request message and the time when the third network device sends the first delay detection response message into a second delay detection response message;
the sending, by the first network device, the second response packet to the second network device includes:
and the first network device sends the second delay detection response message to the second network device, wherein the second delay detection response message is used for enabling the second network device to acquire the bidirectional delay between the second network device and a third network device.
4. The method according to claim 1 or 2, wherein the receiving, by the first network device, the first network performance measurement request packet sent by the second network device, comprises:
and the first network equipment receives at least two packet loss detection request messages which are sequentially sent by the second network equipment.
5. A network device, wherein the network device is a first network device, and wherein the first network device comprises:
a receiving module, configured to receive a first network performance measurement request packet sent by a second network device, where the first network performance measurement request packet adopts a first network test protocol, the first network test protocol is a measurement protocol based on real network traffic, and the first network performance measurement request packet includes at least two packet loss detection request packets;
a sending module, configured to send a second network performance measurement request packet to a third network device, where the second network performance measurement request packet uses a second network test protocol, the second network test protocol is a measurement protocol based on non-network real traffic, a test session used by the first network performance measurement request packet and a test session used by the second network performance measurement request packet are bound in the first network device, the second network performance measurement request packet is the same as a network performance item requested to be measured in the first network performance measurement request packet, and the second network performance measurement request packet includes an extended packet loss detection request packet corresponding to each packet loss detection request packet;
the receiving module is further configured to receive a first response packet sent by the third network device, where the first response packet is a response packet of the second network performance measurement, the first response packet includes at least two extended packet loss detection response packets, and each extended packet loss detection response packet includes actual network traffic count data received and sent by the third network device;
a processing module, configured to fill a second response message with a measurement result in the first response message, where the second response message is a response message for the first network performance measurement, the second response message includes at least one extended packet loss detection response message, and the packet loss detection response message is filled with actual network traffic count data received and sent;
the sending module is further configured to send the second response packet to the second network device, where the second response packet includes at least two filled packet loss detection response packets, and the filled packet loss detection response packets are used to enable the second network device to obtain packet loss data from the second network device to the third network device.
6. The network device of claim 5, wherein the sending module is further configured to suspend responding to the first network performance measurement request packet before sending the second network performance measurement request packet to a third network device.
7. The network device according to claim 5 or 6, wherein the receiving module is specifically configured to receive a first delay detection request packet sent by the second network device;
the sending module is specifically configured to send a second delay detection request packet to a third network device;
the receiving module is specifically configured to receive a first delay detection response packet sent by the third network device, where the first delay detection response packet includes a time when the third network device receives the second delay detection request packet and a time when the third network device sends the first delay detection response packet;
the processing module is specifically configured to fill a second delay detection response message with time when the third network device receives the second delay detection request message and time when the third network device sends the first delay detection response message;
the sending module is specifically configured to send the second delay detection response packet to the second network device, where the second delay detection response packet is used to enable the second network device to obtain a bidirectional delay between the second network device and a third network device.
8. The network device according to claim 5 or 6, wherein the receiving module is specifically configured to receive at least two packet loss detection request packets that are sequentially sent by the second network device.
9. A network device, wherein the network device is a first network device, and wherein the first network device comprises:
the first network interface is used for receiving a first network performance measurement request message sent by second network equipment, wherein the first network performance measurement request message adopts a first network test protocol, the first network test protocol is a measurement protocol based on network real flow, and the first network performance measurement request message comprises at least two packet loss detection request messages;
a second network interface, configured to send a second network performance measurement request packet to a third network device, where the second network performance measurement request packet uses a second network test protocol, the second network test protocol is a measurement protocol based on non-network real traffic, a test session used by the first network performance measurement request packet and a test session used by the second network performance measurement request packet are bound in the first network device, and a network performance item requested to be measured in the second network performance measurement request packet and the first network performance measurement request packet are the same; receiving a first response packet sent by the third network device, where the first response packet is a response packet for the second network performance measurement, the second network performance measurement request packet includes extended packet loss detection request packets corresponding to the packet loss detection request packets, the first response packet includes at least two extended packet loss detection response packets, and each extended packet loss detection response packet includes actual network traffic count data received and sent by the third network device;
a processor, configured to fill a second response message with a measurement result in the first response message, where the second response message is a response message for the first network performance measurement, the second response message includes at least one extended packet loss detection response message, and the packet loss detection response message is filled with actual network traffic count data received and sent;
the first network interface is further configured to send the second response packet to the second network device, where the second response packet includes at least two filled packet loss detection response packets, and the filled packet loss detection response packets are used to enable the second network device to obtain packet loss data from the second network device to the third network device.
10. The network device of claim 9, wherein the first network protocol interface is further configured to suspend responding to the first network performance measurement request packet before sending a second network performance measurement request packet to a third network device.
11. The network device according to claim 9 or 10, wherein the first network protocol interface is specifically configured to receive a first latency detection request packet sent by the second network device;
the second network protocol interface is specifically configured to send a second delay detection request packet to a third network device; receiving a first delay detection response message sent by the third network device, where the first delay detection response message includes time when the third network device receives the second delay detection request message and time when the third network device sends the first delay detection response message;
the processor is specifically configured to fill a second delay detection response message with time when the third network device receives the second delay detection request message and time when the third network device sends the first delay detection response message;
the first network protocol interface is further specifically configured to send the second delay detection response packet to the second network device, where the second delay detection response packet is used to enable the second network device to obtain a bidirectional delay between the second network device and a third network device.
12. The network device according to claim 9 or 10, wherein the first network protocol interface is specifically configured to receive at least two packet loss detection request packets that are sequentially sent by the second network device.
CN201610537532.8A 2016-07-04 2016-07-04 Network performance detection method and network equipment Active CN107579869B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610537532.8A CN107579869B (en) 2016-07-04 2016-07-04 Network performance detection method and network equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610537532.8A CN107579869B (en) 2016-07-04 2016-07-04 Network performance detection method and network equipment

Publications (2)

Publication Number Publication Date
CN107579869A CN107579869A (en) 2018-01-12
CN107579869B true CN107579869B (en) 2020-09-08

Family

ID=61048975

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610537532.8A Active CN107579869B (en) 2016-07-04 2016-07-04 Network performance detection method and network equipment

Country Status (1)

Country Link
CN (1) CN107579869B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10708161B2 (en) 2018-09-21 2020-07-07 Juniper Networks, Inc. Network performance monitoring using an active measurement protocol and relay mechanism
CN109474487B (en) * 2018-10-17 2020-08-18 Ut斯达康通讯有限公司 Network performance monitoring method, network equipment and network performance monitoring system
CN111262749B (en) 2018-11-30 2023-05-23 华为技术有限公司 Method and equipment for detecting network reliability
CN111988193A (en) * 2019-05-24 2020-11-24 中兴通讯股份有限公司 TWAMP-based detection method and related equipment
CN113556259B (en) * 2020-04-24 2024-04-12 华为技术有限公司 Message processing method and device based on stream following detection
CN112260896B (en) * 2020-10-16 2022-05-10 山东云海国创云计算装备产业创新中心有限公司 Network transmission testing method, device, equipment and readable storage medium
CN113992551B (en) * 2021-09-09 2023-07-14 新华三信息安全技术有限公司 Information reporting method and device
CN115834719A (en) * 2022-11-24 2023-03-21 中盈优创资讯科技有限公司 FMP (failure mode detection protocol) for measuring xFlow index and application

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101056218A (en) * 2006-04-14 2007-10-17 华为技术有限公司 A network performance measurement method and system
CN101895916A (en) * 2010-05-28 2010-11-24 中兴通讯股份有限公司 Channel detection method, device and system thereof
CN103634139A (en) * 2012-07-24 2014-03-12 埃克斯帝网络有限公司 Multi-hop reflector sessions
CN104348678A (en) * 2013-08-05 2015-02-11 华为技术有限公司 Method, device and system for measuring performance of Ethernet
CN105429841A (en) * 2014-09-15 2016-03-23 中兴通讯股份有限公司 NNI PING realization method and device
CN106161124A (en) * 2015-03-30 2016-11-23 中兴通讯股份有限公司 The test processing method of message and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10320646B2 (en) * 2014-12-31 2019-06-11 Telefonaktiebolaget Lm Ericsson (Publ) Apparatus and method to use PTP timestamps for two-way delay and delay variation measurement in IP networks

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101056218A (en) * 2006-04-14 2007-10-17 华为技术有限公司 A network performance measurement method and system
CN101895916A (en) * 2010-05-28 2010-11-24 中兴通讯股份有限公司 Channel detection method, device and system thereof
CN103634139A (en) * 2012-07-24 2014-03-12 埃克斯帝网络有限公司 Multi-hop reflector sessions
CN104348678A (en) * 2013-08-05 2015-02-11 华为技术有限公司 Method, device and system for measuring performance of Ethernet
CN105429841A (en) * 2014-09-15 2016-03-23 中兴通讯股份有限公司 NNI PING realization method and device
CN106161124A (en) * 2015-03-30 2016-11-23 中兴通讯股份有限公司 The test processing method of message and device

Also Published As

Publication number Publication date
CN107579869A (en) 2018-01-12

Similar Documents

Publication Publication Date Title
CN107579869B (en) Network performance detection method and network equipment
DK2730059T3 (en) Oam open flow driven by controller
CN105052082B (en) Method for performance measurement, physical machine and computer readable medium thereof
US9577913B2 (en) Layer-3 performance monitoring sectionalization
US20060274791A1 (en) Method measuring a delay time metric and measurement system
EP2586158B1 (en) Apparatus and method for monitoring of connectivity services
CN101164287A (en) File transfer protocol service performance testing method
CN106603333B (en) A kind of network for formance measuring method, apparatus and system
CN106789430B (en) A kind of point-to-point link fault detection method
JP2013516807A (en) Packet loss detection method and apparatus, and router
CN104852828B (en) A kind of network delay detection method, apparatus and system
US20140280904A1 (en) Session initiation protocol testing control
CN103763156A (en) Network speed measurement method and system
CN108199913A (en) A kind of method and apparatus for realizing delay testing
US20230318970A1 (en) Packet Processing Method and Apparatus
CN108667913A (en) Method, apparatus, computer equipment and the storage medium of shared terminal access-in management
CN106161124B (en) Message test processing method and device
CN111478821B (en) Network performance test method and system
Zhang et al. High fidelity off-path round-trip time measurement via TCP/IP side channels with duplicate SYNs
CN106571970B (en) The monitoring method and device of bearer network
Rischke et al. Comparison of UPF acceleration technologies and their tail-latency for URLLC
Kannan Improving Network Diagnostics Using Programmable Networks
CN116346653A (en) VPP-based inter-cloud interconnection observability system and method thereof
TW201114220A (en) Time recovery method and network emulation system using thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant