CN106936661B - Network monitoring method, device and system - Google Patents

Network monitoring method, device and system Download PDF

Info

Publication number
CN106936661B
CN106936661B CN201511030261.9A CN201511030261A CN106936661B CN 106936661 B CN106936661 B CN 106936661B CN 201511030261 A CN201511030261 A CN 201511030261A CN 106936661 B CN106936661 B CN 106936661B
Authority
CN
China
Prior art keywords
twamp
packet
message
address
timestamp
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
CN201511030261.9A
Other languages
Chinese (zh)
Other versions
CN106936661A (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 CN201511030261.9A priority Critical patent/CN106936661B/en
Publication of CN106936661A publication Critical patent/CN106936661A/en
Application granted granted Critical
Publication of CN106936661B publication Critical patent/CN106936661B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0823Errors, e.g. transmission errors
    • H04L43/0829Packet loss
    • H04L43/0841Round trip packet loss
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0852Delays
    • H04L43/0864Round trip delays

Abstract

The invention discloses a network monitoring method, a device and a system, which are used for solving the problem that the error of an obtained network end-to-end performance measurement result is larger due to the online monitoring of the performance of a segmented service through an OAM tool in the prior art, and the method comprises the following steps: the method includes the steps that an L3PTN device in the PTN determines the packet loss rate and the time delay of a network between a first device and a second device according to the fact that a plurality of first TWAMP messages are sent to the second device through an L2/L3 bridging device, and the received second device returns a second TWAMP message aiming at each received first TWAMP message. The method can accurately determine the packet loss rate and the time delay of the network between the L3PTN equipment and the L2PTN equipment, so that the L3PTN equipment improves the end-to-end performance monitoring accuracy of the network.

Description

Network monitoring method, device and system
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a network monitoring method, device, and system.
Background
In the second Generation Network (2nd Generation, 2G) and the third Generation Network (3rd Generation, 3G), a Packet Transport Network (PTN) employs an Operation Administration and Maintenance (OAM) mechanism for active fault location and performance monitoring.
At present, in a Long Term Evolution (LTE) Network, a PTN employs a hybrid networking technology of a two-Layer Virtual Private Network (Layer 2Virtual Private Network, L2VPN) and a three-Layer Virtual Private Network (Layer 3Virtual Private Network, L3VPN), so that networks that implement end-to-end communication services (such as a service implemented based on an S1 interface, a service implemented based on an X2 interface, and the like) are divided into an L2PTN that employs the L2VPN and an L3PTN that employs the L3VPN, and are configured and operated and maintained respectively, and the L2PTN and the L3PTN operate different OAM mechanisms to implement Network fault location and performance detection.
The equipment with the OAM function in the L2PTN measures the packet loss rate and the time delay in the L2PTN through an OAM tool, and realizes the online monitoring of the service performance; the device with the OAM function in the L3PTN first needs to query a TraceRoute (TraceRoute) tool through a trace of an Internet Protocol (IP) to obtain a forwarding path of a service in the L3PTN, and then measures packet loss rate and time delay in the L3PTN through a performance measurement OAM tool on the path, thereby realizing online monitoring of service performance. Therefore, the end-to-end traffic performance of the LTE network is approximately evaluated by calculating the sum of the traffic performance measurement of L2PTN and the traffic performance measurement of L3 PTN.
However, when the end-to-end service performance of the LTE network is approximately evaluated by using the above way of segmented measurement accumulation, the performance of the L2/L3 PTN bridge device that implements the interface between the L2PTN and the L3PTN is not considered, for example, after the delay measurement results of the segmented measurement are accumulated because the delay decapsulation/encapsulation processing delay and the transit delay of the L2/L3 PTN bridge device are not considered, a large error exists in the delay of L2PTN + L3PTN from end to end with the actual network, and in addition, because the internal packet loss of the L2/L3 PTN bridge device is not considered, and the L2PTN and the L3PTN use different encapsulation/decapsulation efficiencies, the packet loss rates measured by the L2PTN and the L3PTN are simply accumulated, and a large error exists in the packet loss rate of the L2PTN + L3PTN from end to end with the actual end is not considered.
Disclosure of Invention
The embodiment of the invention provides a network monitoring method, a network monitoring device and a network monitoring system, which are used for solving the problem that the error of an obtained network end-to-end performance measurement result is large due to the fact that online monitoring of segmented service performance is carried out through an OAM tool in the prior art.
In a first aspect, an embodiment of the present application provides a network monitoring method, including:
any one L3PTN device in the PTN sends a plurality of first TWAMP messages to one L2PTN device through an L2/L3 bridging device, wherein the destination address in the first TWAMP messages is the IP address of a base station or the reserved IP address of the same network segment with the base station; since the destination address in each first TWAMP message is the IP address of the base station or the reserved IP address of the network segment in which the base station is located, when the L2/L3 bridging device receives each first TWAMP message, the first TWAMP message may be forwarded as a data message to be transmitted to the base station, and then transmitted to the L2PTN device;
after receiving a message, the L3PTN device determines whether the message is a second TWAMP message returned by the L2PTN device for a first TWAMP message, and if so, extracts and stores the second TWAMP message for the L3PTN device to perform network performance monitoring;
the L3PTN equipment determines the number of second TWAMP messages received and the number of first TWAMP messages sent in a preset time period, and determines the packet loss rate between the L3PTN equipment and the L2PTN equipment according to the two numbers;
since each first TWAMP packet includes an original timestamp indicating the time when the L3PTN device sends the first TWAMP packet, and a second TWAMP packet returned for one first TWAMP packet includes a sending timestamp indicating the time when the L2PTN device sends the second TWAMP packet, a receiving timestamp indicating the time when the L2PTN device receives the first TWAMP packet, and the original timestamp of the first TWAMP packet, the L3PTN device determines the second TWAMP packet received within the preset time period, and extracts the original timestamp, the receiving timestamp, and the sending timestamp in each second TWAMP packet, so that the delay between the L3PTN device and the L2PTN device can be determined.
By adopting the method, the L2/L3 bridging device in the PTN can forward the first TWAMP message sent by the L3PTN device as a data message to be transmitted to the base station, so that the first TWAMP message can be smoothly transmitted to the L2PTN device, forwarding of the TWAMP message across the L2 PTN/L3 PTN is realized, and further the L2PTN device can return the second TWAMP message after receiving the first TWAMP message, so that the L3PTN device in the PTN can accurately determine the packet loss rate and the time delay of the network between the L3PTN device and the L2PTN device through the first TWAMP message and the second TWAMP message, and thus the L3PTN device improves the accuracy of network end-to-end performance monitoring.
In one possible design, the source address of each first TWAMP message may be any one of: the IP address of the L3PTN device, the IP address of an S-GW interfaced with the L3PTN device, and the IP address of a same network segment with the S-GW. When the source address of each first TWAMP packet is configured as the IP address of the L3PTN device, in order to ensure that the route of the IP address is reachable, an additional route may need to be configured between the destination address and the source address; when the source address of each first TWAMP packet is configured to be the IP address of the S-GW docked with the L3PTN device or the IP address of the same network segment as the S-GW, since the route between the destination address and the source address of the first TWAMP packet is reachable, it is ensured that no additional route needs to be configured when each first TWAMP packet is transmitted.
In one possible design, each first TWAMP packet and each second TWAMP packet includes a TWAMP identity. The TWAMP identifier is used to indicate that the packet including the TWAMP identifier is a TWAMP packet.
In one possible design, the TWAMP identifier included in each first TWAMP packet and each second TWAMP packet may be a protocol identifier of TWAMP.
In one possible design, when determining whether the packet is a second TWAMP packet returned by the L2PTN device for a first TWAMP packet, the L3PTN device first determines whether the packet includes a TWAMP identifier, and when determining that the packet includes the TWAMP identifier, determines that the packet is a TWAMP packet, otherwise, determines that the packet is a data packet. When the L3PTN equipment determines that the message is a data message, the data message is forwarded normally; when the L3PTN device determines that the packet is an L3PTN packet, further determining whether the TWAMP packet is a second TWAMP packet according to the source address and the destination address of the TWAMP packet.
In one possible design, when the L3PTN device determines whether the TWAMP message is a second TWAMP message, first, a destination address and a source address in the TWAMP message are used as a binary group to be identified; matching the to-be-identified binary group with a plurality of identification information groups stored in the L3PTN device, and determining the TWAMP message as the second TWAMP message when the identification information groups matched with the to-be-identified binary group exist;
the plurality of identification information groups are set for the L2PTN device, and the identification information group matched with the binary group to be identified is a binary group comprising a source address and a destination address of the first TWAMP message;
when the identification information group matched with the binary group to be identified does not exist in the plurality of identification information groups, it indicates that the TWAMP message is not returned to the first TWAMP message sent by the L3PTN device, and therefore, the L3PTN device does not process the TWAMP message, but normally forwards the TWAMP message.
In a possible design, each first TWAMP message further includes a transmission port number of the L3PTN device and a reflection port number of the L2PTN, so as to distinguish TWAMP packets of different transmission port numbers and different reflection port numbers of the L3PTN device, and correspondingly, a second TWAMP message for one first TWAMP message also includes a transmission port number of the L3PTN device and a reflection port number of the L2 PTN.
In a possible design, if the first TWAMP message and the second TWAMP message further include the transmission port number of the L3PTN device and the reflection port number of the L2PTN in the above design, when the L3PTN device determines whether the TWAMP message is the second TWAMP message, the L3PTN device takes the destination address and the source address in the TWAMP message, the transmission port number of the L3PTN device, and the reflection port number of the L2PTN device as a quadruple to be identified; matching the quadruple to be identified with a plurality of identification information groups stored in the L3PTN device, and determining the TWAMP message as the second TWAMP message when the identification information groups matched with the quadruple to be identified exist;
wherein the plurality of identification information groups are set for the L2PTN device, and the identification information group matched with the to-be-identified quadruple is a quadruple including a source address and a destination address of a first TWAMP message corresponding to the second TWAMP message, and a transmission port number of the L3PTN device and a reflection port number of the L2PTN device;
when the identification information group matched with the to-be-identified quadruple does not exist in the plurality of identification information groups, the TWAMP message is not returned to the first TWAMP message sent by the L3PTN device, and therefore, the L3PTN device does not process the TWAMP message, but normally forwards the TWAMP message.
In one possible design, when determining the packet loss ratio between the L3PTN device and the L2PTN device, the L3PTN device first determines the number of second TWAMP messages received within the preset time period and the number of first TWAMP messages sent within the preset time period; determining the difference between the number of the second TWAMP messages received in the preset time period and the number of the first TWAMP messages sent in the preset time period as the packet loss number; taking the quotient of the packet loss number and the number of the sent first TWAMP packets as a packet loss rate of the network between the L3PTN device and the L2PTN device. In this way, the L3PTN device may accurately determine a packet loss rate of the network between the L3PTN device and the L2PTN device.
In one possible design, when the L3PTN device determines the delay between the L3PTN device and the L2PTN device, first, a difference between a received timestamp and an original timestamp in each second TWAMP message is used as a delay for transmitting a first TWAMP message by the network between the L3PTN device and the L2PTN device, that is, a one-way transmission delay; averaging the obtained one-way transmission time delay to be used as an average value of the one-way transmission time delay; taking the difference value between the sending time stamp and the receiving time stamp in each second TWAMP message as the processing time delay of the L2PTN equipment for processing the first TWAMP message; and averaging the obtained processing time delay to obtain an average value of the processing time delay. The L3PTN device may take the sum of the 2 times one-way propagation delay average and the processing delay average as the two-way propagation delay average. When the L3PTN device determines a one-way latency, the latency between the L3PTN device and the L2PTN device is a one-way propagation latency average; when the L3PTN device determines a bi-directional latency, the latency between the L3PTN device and the L2PTN device is a bi-directional transmission latency average. In this way, the L3PTN device may accurately determine the latency of the network between the L3PTN device and the L2PTN device.
In a second aspect, an embodiment of the present application provides a network monitoring method, including:
when an L2/L3 bridging device in the PTN receives a first TWAMP message sent by an L3PTN device, because a destination address in the TWAMP message is an IP address of a base station or a reserved IP address in the same network segment as the base station, the L2/L3 bridging device may forward the first TWAMP message to the L2PTN device as a data message to be transmitted to the base station;
since the destination address of the second TWAMP packet returned by the L2PTN device for the first TWAMP packet is the same as the source address in the first TWAMP packet, and the source address of the second TWAMP packet is the same as the destination address of the first TWAMP packet, the transmission path of the second TWAMP packet is the same as the transmission path of the first TWAMP packet, and thus, the L2/L3 bridge device forwards the second TWAMP packet to the L3PTN device after receiving the second TWAMP packet.
In one possible design, when a destination address in the first TWAMP message is a reserved IP address of the same network segment of the base station, the L2/L3 bridge device determines a MAC address corresponding to the destination address in the first TWAMP message according to a mapping relationship between a stored IP address and a stored MAC address; and forwarding the first TWAMP packet to the L2PTN device through a two-layer subinterface corresponding to the determined MAC address.
In a third aspect, an embodiment of the present application provides a network monitoring method, including:
after receiving a message, an L2PTN device in the PTN judges whether the message is a first TWAMP message sent by an L3PTN device, if so, a second TWAMP message is generated for the first TWAMP message and forwarded; otherwise, the message is forwarded normally or discarded.
Since each first TWAMP message includes an original timestamp indicating the time when the L3PTN device sends the first TWAMP message, and the L2PTN device includes, for a second TWAMP message returned by the first TWAMP message, a sending timestamp indicating the time when the L2PTN device sends the second TWAMP message, a receiving timestamp indicating the time when the L2PTN device receives the first TWAMP message, and the original timestamp of the first TWAMP message, in this way, the L3PTN device in the PTN can accurately determine the packet loss rate and the time delay of the network between the L3PTN device and the L2PTN device through the first TWAMP message and the second TWAMP message, so that the L3PTN device improves the accuracy of the network end-to-end performance monitoring.
In one possible design, the source address in the first TWAMP message is any one of: the IP address of the L3PTN device, the IP address of the S-GW interfacing with the L3PTN, and the IP address of the same network segment as the S-GW. When the source address of the first TWAMP packet is configured as the IP address of the L3PTN device, in order to ensure that the route of the IP address is reachable, an additional route may need to be configured between the destination address and the source address; when the source address of the first TWAMP packet is configured to be the IP address of the S-GW docked with the L3PTN device or the IP address in the same network segment as the S-GW, since the route between the destination address and the source address of the first TWAMP packet is reachable, it is ensured that no additional route needs to be configured when transmitting each first TWAMP packet.
In one possible design, each first TWAMP packet and each second TWAMP packet includes a TWAMP identity. The TWAMP identifier is used to indicate that the packet including the TWAMP identifier is a TWAMP packet.
In one possible design, the TWAMP identifier included in each first TWAMP packet and each second TWAMP packet may be a protocol identifier of TWAMP.
In one possible design, when determining whether the packet is the first TWAMP packet sent by the L3PTN device, the L2PTN device first determines whether the packet includes a TWAMP identifier, and when determining that the packet includes the TWAMP identifier, determines that the packet is the TWAMP packet; otherwise, determining the message as a data message. When the L2PTN equipment determines that the message is a data message, the data message is forwarded normally; when the L2PTN device determines that the message is a TWAMP message, further determining whether the TWAMP message is the first TWAMP message according to a source address and a destination address in the TWAMP message.
In one possible design, when the L2PTN device determines whether the TWAMP message is the first TWAMP message, first, a source address and a destination address in the TWAMP message are used as a binary group to be identified; matching the to-be-identified binary group with a plurality of identification information groups stored in the L2PTN device, and determining the TWAMP message as the first TWAMP message when the identification information groups matched with the to-be-identified binary group exist;
the identification information groups are pre-configured to the L2PTN device, and the identification information group matched with the to-be-identified binary group is a binary group comprising a source address and a destination address of the first TWAMP message;
when the identification information group matched with the to-be-identified binary group does not exist in the plurality of identification information groups, the TWAMP message is not the first TWAMP message sent by the L3PTN device to the L2PTN device, and therefore, the L2PTN device should discard the TWAMP message.
In one possible design, each first TWAMP message further includes a transmission port number of the L3PTN device and a reflection port number of the L2PTN, so as to distinguish TWAMP messages of different transmission port numbers and different reflection port numbers of the L3PTN device.
In a possible design, if a first TWAMP message further includes a transmission port number of the L3PTN device and a reflection port number of the L2PTN in the above design, when the L2PTN device determines whether the TWAMP message is the first TWAMP message, the L2PTN device takes a source address and a destination address in the TWAMP message, the transmission port number of the L3PTN device, and the reflection port number of the L2PTN as a quadruple to be identified; matching the quadruple to be identified with a plurality of identification information groups stored in the L2PTN equipment, and determining the TWAMP message as the first TWAMP message when the identification information groups matched with the quadruple to be identified exist;
the identification information groups are pre-configured to the L2PTN device, and the identification information group matched with the to-be-identified quadruple is a quadruple including a source address and a destination address of the first TWAMP message, a transmitting port number of the L3PTN device and a reflecting port number of the L2PTN device;
when the identification information group matched with the to-be-identified quadruple does not exist in the plurality of identification information groups, the TWAMP message is not the first TWAMP message sent by the reflection port of the L3PTN device to the reflection port of the L2PTN device, and therefore, the L2PTN device should discard the TWAMP message.
In a fourth aspect, the embodiment of the present application provides a first device, which has a function of implementing the behavior of the L3PTN device in the method practice. The functions can be realized by hardware, and the functions can also be realized by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the above-described functions.
In one possible design, the first device includes:
a sending unit, configured to send a plurality of first bidirectional active measurement protocol TWAMP messages to a second device through a third device, where the first device is a triple-layer packet transport network L3PTN device, the second device is a double-layer packet transport network L2PTN device, and the third device is a double-layer/triple-layer L2/L3 bridging device; any one of the sent first TWAMP messages comprises an original timestamp, the original timestamp is the time when the sending unit sends the first TWAMP message, and a destination address in the first TWAMP message is an internet protocol IP address of a base station or a reserved IP address in the same network segment with the base station;
a receiving unit, configured to receive a packet;
a determining unit, configured to determine, after the receiving unit receives a packet, that the packet is a second TWAMP packet sent by the second device through the third device, where the second TWAMP packet corresponds to a first TWAMP packet sent by the first device, and the second TWAMP packet includes a sending timestamp, a receiving timestamp, and an original timestamp in the first TWAMP packet, where the receiving timestamp is a time when the second device receives the first TWAMP packet, the sending timestamp is a time when the second device sends the second TWAMP packet, a destination address of the second TWAMP packet is the same as a source address in the first TWAMP packet, and a source address of the second TWAMP packet is the same as a destination address of the first TWAMP packet;
the processing unit is configured to determine a packet loss rate of a network between the first device and the second device according to the number of received second TWAMP messages and the number of sent first TWAMP messages in a preset time period; and are
And determining the network delay between the first device and the second device according to the original timestamp, the receiving timestamp and the sending timestamp included in the second TWAMP message received in the preset time period.
In a possible design, the first device includes a transceiver and a processor in a structure, the processor is configured to support the L3PTN device to perform corresponding functions in the foregoing method, and the transceiver is configured to transmit a first TWAMP packet to a second device through a third device and receive packets transmitted by other devices. The first device may also include a memory, coupled to the processor, that retains program instructions and data necessary for the first device.
In a fifth aspect, the embodiment of the present application provides a third device, which has a function of implementing the behavior of the L2/L3 bridge device in the method practice. The functions can be realized by hardware, and the functions can also be realized by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the above-described functions.
In one possible design, the third device includes:
a receiving unit, configured to receive a first bidirectional active measurement protocol TWAMP message sent by a first device, where the first device is a three-layer packet transport network L3PTN device, the second device is a two-layer packet transport network L2PTN device, and the third device is a two-layer/three-layer L2/L3 bridging device; the first TWAMP message comprises an original timestamp, the original timestamp is the time when the first equipment sends the first TWAMP message, and a destination address in the first TWAMP message is an Internet Protocol (IP) address of a base station or a reserved IP address of the same network segment as the base station;
a sending unit, configured to forward the first TWAMP packet to a second device;
the receiving unit is further configured to receive a second TWAMP packet sent by the second device, where the second TWAMP packet corresponds to a first TWAMP packet sent by the first device, and the second TWAMP packet includes a sending timestamp, a receiving timestamp, and an original timestamp in the first TWAMP packet, where the receiving timestamp is a time when the second device receives the first TWAMP packet, the sending timestamp is a time when the second device sends the second TWAMP packet, a destination address of the second TWAMP packet is the same as a source address in the first TWAMP packet, and a source address of the second TWAMP packet is the same as a destination address of the first TWAMP packet;
the sending unit is further configured to forward the second TWAMP packet to the first device.
In a possible design, the third device includes a transceiver and a processor in a structure, the processor is configured to support the L2/L3 bridge device to perform corresponding functions in the foregoing method, and the transceiver is configured to receive a first TWAMP packet sent by a first device and forward the TWAMP packet to a second device; and receiving a second TWAMP message of the second equipment, and forwarding the second TWAMP message to the first equipment. The third device may also include a memory, coupled to the processor, that retains program instructions and data necessary for the third device.
In a sixth aspect, the present embodiment provides a second device having a function of implementing the behavior of the L2PTN device in the above method practice. The functions can be realized by hardware, and the functions can also be realized by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the above-described functions.
In one possible design, the second device includes:
a receiving unit, configured to receive a packet;
a determining unit, configured to determine, after the receiving unit receives a packet, that the packet is a first bidirectional active measurement protocol TWAMP packet sent by a first device through a third device, where the first device is a L3PTN device of a three-layer packet transport network, the second device is an L2PTN device of a two-layer packet transport network, and the third device is a L2/L3 bridging device of a second layer/third layer; the first TWAMP message comprises an original timestamp, the original timestamp is the time when the first equipment sends the first TWAMP message, and a destination address in the first TWAMP message is an Internet Protocol (IP) address of a base station or a reserved IP address of the same network segment as the base station;
a sending unit, configured to return a second TWAMP packet to the first device through the third device, where the second TWAMP packet corresponds to the first TWAMP packet sent by the first device, and the second TWAMP packet includes a sending timestamp, a receiving timestamp, and an original timestamp in the first TWAMP packet, where the receiving timestamp is a time when the receiving unit receives the first TWAMP packet, the sending timestamp is a time when the sending unit sends the second TWAMP packet, a destination address of the second TWAMP packet is the same as a source address in the first TWAMP packet, and a source address of the second TWAMP packet is the same as a destination address of the first TWAMP packet.
In a possible design, the second device includes a transceiver and a processor in a structure, the processor is configured to support the L2PTN device to perform corresponding functions in the foregoing method, and the transceiver is configured to receive a first TWAMP packet forwarded by a third device and return a second TWAMP packet to the first device through the third device. The second device may also include a memory, coupled to the processor, that retains program instructions and data necessary for the second device.
In a seventh aspect, an embodiment of the present application provides a network monitoring system, where the system includes the L3PTN device, the L2PTN device, and the L2/L3 bridge device described in the foregoing aspects.
Optionally, the above embodiments may be used in an LTE network, and the first device, the second device, and the third device may be devices in the LTE network.
By adopting the network monitoring method provided by the invention, the L2/L3 bridging device in the PTN can forward the first TWAMP message sent by the L3PTN device as a data message to be transmitted to the base station, so that the first TWAMP message can be smoothly transmitted to the L2PTN device, the cross-L2 PTN/L3 PTN forwarding of the TWAMP message is realized, and the L2PTN device can return the second TWAMP message after receiving the first TWAMP message, so that the L3PTN device in the PTN can accurately determine the packet loss rate and the time delay of the network between the L3PTN device and the L2PTN device through the first TWAMP message and the second TWAMP message, and the L3PTN device improves the accuracy of the end-to-end performance monitoring of the network.
Drawings
Fig. 1 is a schematic diagram of a PTN network architecture according to an embodiment of the present invention;
fig. 2 is a flowchart of a network monitoring method at a first device side according to an embodiment of the present invention;
fig. 3 is a flowchart of a network monitoring method at a third device side according to an embodiment of the present invention;
fig. 4 is a flowchart of a network monitoring method at a second device side according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a first device according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a third apparatus according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a second apparatus according to an embodiment of the present invention;
fig. 8 is a schematic diagram of a network monitoring system according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a first apparatus according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of a third apparatus provided in an embodiment of the present invention;
fig. 11 is a schematic structural diagram of a second device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Embodiments of the present invention provide a network monitoring method, apparatus, and system, which can solve the problem in the prior art that an error of an obtained end-to-end performance measurement result is large when an OAM tool is used to perform online monitoring on segment service performance in an LTE network, and can also be used in other scenarios where OAM measurement is performed across a two-layer network and a three-layer network. The method and the device are based on the same inventive concept, and because the principles of solving the problems of the method and the device are similar, the implementation of the device and the method can be mutually referred, and repeated parts are not repeated.
According to the technical scheme of the embodiment of the invention, a first device in a PTN sends a plurality of first Two-Way Active Measurement Protocol (TWAMP) messages to a second device through a third device, wherein each first TWAMP message comprises an original time stamp indicating the time when the first device sends the first TWAMP message; after receiving each first TWAMP message, the second device returns a second TWAMP message to the first device through the third device, where the second TWAMP message corresponds to the first TWAMP message. The second TWAMP message includes an original timestamp, a receiving timestamp, and a sending timestamp in the first TWAMP message. The first device is an L3PTN device, the second device is an L2PTN device, and the third device is an L2/L3 bridging device, so that the third device may directly transmit the first TWAMP message to the second device as a data message to be transmitted to the base station because a destination address in the first TWAMP message is an IP address of the base station or a reserved IP address in the same network segment as the base station, and further the second device may reply a second TWAMP message to the received first TWAMP message, and finally, the first device determines a difference between the number of the second TWAMP messages received within a preset time period and the number of the first TWAMP messages sent as a packet loss number, and determines a quotient between the packet loss number and the number of the first TWAMP messages sent as a packet loss rate of a network between the first device and the second device; and determining the network delay between the first device and the second device according to the difference between the receiving timestamp and the original timestamp included in the second TWAMP message received within the preset time period and the difference between the sending timestamp and the receiving timestamp. Thus, the L3PTN device in the PTN may accurately determine the packet loss rate and the time delay of the network between the L3PTN device and the L2PTN device through the first TWAMP message and the second TWAMP message, so that the L3PTN device improves the accuracy of network end-to-end performance monitoring.
The network monitoring method provided by the embodiment of the invention can be suitable for any PTN network architecture, such as a network architecture for realizing end-to-end S1 service, a network architecture for realizing end-to-end X2 service, and other complex provincial domain metropolitan area networks, urban metropolitan area networks and the like. The invention is not limited in this regard. The following embodiments of the present invention are merely illustrated in terms of a network architecture for implementing an end-to-end S1 service.
The network monitoring method provided by the embodiment of the invention can be applied to the PTN network architecture shown in fig. 1, and the network architecture can realize end-to-end S1 service. The network architecture includes: a base station, an L2PTN device, an L2/L3 bridging device, an L3PTN device, and core network devices, such as a Service-Gateway (S-GW), a Mobility Management Entity (MME), a core network control device, and the like. Wherein the L2PTN device is a network device having the same function as a switch, and the L3PTN device is a network device having the same function as a router. The base station communicates with the core network devices via L2PTN devices, L2/L3 bridge devices, L3PTN devices in turn. In the PTN network architecture, the PTN network shown in fig. 1 is divided into L2PTN and L3PTN, and a device deploying an L2VPN in the L2PTN is an L2PTN device, and a device deploying an L3VPN in the L3PTN device is an L3PTN device.
In the network architecture, when implementing network monitoring, any one L3PTN device may send a plurality of first TWAMP messages to any one L2PTN device at the PTN end that interfaces with a base station in the network architecture, and as a destination address in the first TWAMP message is an IP address of the base station or a reserved IP address in a network segment that is the same as the base station, an L2/L3 bridging device in the PTN may forward the first TWAMP message as a data message that needs to be transmitted to the base station, and transmit the data message to the L2PTN device, so that after a receiving party receives the first TWAMP message forwarded by the L2/L3 bridging device, a second TWAMP message corresponding to the first TWAMP message is returned to the L2/L3 bridging device through the L2/L3 bridging device. Because the first TWAMP message includes the original timestamp of the first TWAMP message sent by the first device, the second TWAMP message returned for the first TWAMP message also includes the original timestamp, the receiving timestamp, and the sending timestamp in the first TWAMP message. In this way, the L3PTN device determines, according to the number of the second TWAMP messages received within a preset time period and the number of the first TWAMP messages sent, a packet loss rate of the network between the L3PTN device and the L2PTN device; and the L3PTN equipment determines the network delay between the L3PTN equipment and the L2PTN equipment according to the difference value between the sending timestamp and the original timestamp included in the received second TWAMP message and the difference value between the sending timestamp and the receiving timestamp.
In the PTN network architecture shown in fig. 1, any one L3PTN device may accurately determine, through the first TWAMP packet and the second TWAMP packet, a packet loss rate and a time delay of the network between the L3PTN device and any one L2PTN device, so that the L3PTN device improves accuracy of network end-to-end performance monitoring.
Referring to fig. 2, a network monitoring method according to an embodiment of the present invention is applied to any L3PTN device in a PTN network, such as a router, other network devices having the same function as the router, and the like. For example, the method may be applied to the network architecture shown in fig. 1. The method comprises the following steps:
s201: a first device in the PTN sends a plurality of first TWAMP messages to a second device through a third device, wherein the first device is an L3PTN device, the second device is an L2PTN device, and the third device is an L2/L3 bridging device; any one of the sent first TWAMP messages includes an original timestamp, where the original timestamp is time when the first device sends the first TWAMP message, and a destination address of the first TWAMP message is an IP address of a base station or a reserved IP address in the same network segment as the base station.
Optionally, the second device is an L2PTN device interfacing with the base station.
Optionally, when the first device sends a plurality of first TWAMP messages, a time interval between sending two first TWAMP messages is in milliseconds (ms) and may reach 0.1ms, so that the first device may send a greater number of first TWAMP messages in one monitoring period, because a number base of the first TWAMP messages sent by the first device is increased, a number base of second TWAMP messages returned by the second device subsequently received by the first device is increased, and thus, according to the number of received second TWAMP messages and the number of sent first TWAMP messages, an obtained accuracy of a network packet loss rate between the first device and the second device is higher, and an obtained accuracy of the obtained packet loss rate is ensured.
Optionally, after a first time interval from the last network monitoring, the first device starts to send a plurality of first TWAMP messages to the second device, and stops sending the first TWAMP message to the second device when at least one of the following conditions is met:
(1) after continuously sending a set number of first TWAMP messages;
(2) after the second time length is set in the continuous sending mode;
(3) and after receiving a first TWAMP message sending stopping instruction sent by the management equipment. The management device may be a network management system or other control device.
Optionally, the first device may further send a plurality of first TWAMP packets to the second device within a certain specified time period in a set period. The setting period may also be configured for the management device, and the setting period may be one day, one week, and the like, which is not limited in this application.
Conventionally, only the internal network element of the L3PTN can identify the TWAMP packet, and the L2/L3 bridging device in the PTN network cannot forward the TWAMP packet across the L2 PTN/L3 PTN, so that when the L3PTN device in the PTN network monitors the network performance through the TWAMP session, only the network performance between any two network elements in the IP network (i.e., the L3 PTN) can be monitored, and the network performance between one network element in the L2PTN and one network element in the L3PTN cannot be directly monitored.
In S201, although the first device sends the first TWAMP packet to the second device, a destination address of the first TWAMP packet is an IP address of a base station or a reserved IP address in the same network segment as the base station, so that, during transmission of the first TWAMP packet, an L2/L3 bridge device between the first device and the second device may forward the first TWAMP packet as a data packet to be transmitted to the base station, so that the first TWAMP packet may be smoothly transmitted to the second device, and forwarding of the TWAMP packet across L2 PTN/L3 PTN is achieved.
Optionally, the source address in any one of the sent multiple first TWAMP messages may be any one of the following:
the IP address of the first device, the IP address of the S-GW which is in butt joint with the first device and the IP address of the network segment which is in the same network segment with the S-GW.
In S201, the source address of each first TWAMP packet may be configured as the IP address of the first device, or may be configured as the IP address of a non-first device, but it is required to ensure that the route of the IP address is reachable. Optionally, the source address of each first TWAMP packet is configured as the IP address of the first device, which may require configuring an additional route between the destination address and the source address. Optionally, the source address of each first TWAMP packet may be configured to be an IP address of an S-GW docked with the first device or an IP address of the S-GW in the same network segment, and since the route between the destination address and the source address of the first TWAMP packet is reachable, it may be ensured that no additional route needs to be configured when each first TWAMP packet is transmitted.
Optionally, any one of the sent multiple TWAMP messages further includes a transmission port number of the first device and a reflection port number of the second device, where the transmission port number is used to indicate that the first TWAMP message is sent through a port corresponding to the transmission port number of the first device, and is returned through a port corresponding to the reflection port number of the second device.
S202: after the first device receives a message, determining that the message is a second TWAMP message sent by the second device through the third device, where the second TWAMP message corresponds to a first TWAMP message sent by the first device, and the first TWAMP message includes a sending timestamp, a receiving timestamp, and an original timestamp in the first TWAMP message, where the receiving timestamp is a time when the second device receives the first TWAMP message, the sending timestamp is a time when the second device sends the second TWAMP message, a destination address of the second TWAMP message is the same as a source address in the first TWAMP message, and a source address of the second TWAMP message is the same as a destination address of the first TWAMP message.
The second device supports, in response to a first TWAMP packet, returning a second TWAMP packet for the received first TWAMP packet, where the first TWAMP packet returned by the second device may determine to which first TWAMP packet to reply.
The source address in a second TWAMP message returned by aiming at a first TWAMP message is the destination address in the first TWAMP message; and the destination address in the second TWAMP message returned by aiming at the first TWAMP message is the source address in the first TWAMP message. In this way, it may be ensured that a second TWAMP packet returned for one first TWAMP packet may be returned to the first device according to the transmission path of the first TWAMP packet.
Optionally, in S202, determining, by the first device, that the packet is a second TWAMP packet sent by the second device, includes:
when the first device determines that the message comprises a TWAMP identifier, determining that the message is a TWAMP message;
and the first equipment determines the TWAMP message as the second TWAMP message according to the source address and the destination address in the TWAMP message.
Optionally, the TWAMP identifier may be a protocol identifier of TWAMP. The first TWAMP packet includes a TWAMP identity. The second TWAMP packet includes a TWAMP identity. The TWAMP identity is used to indicate that the packet including the TWAMP identity is a TWAMP packet. Therefore, when the first device does not detect the TWAMP identifier in the message, the message is forwarded normally.
Optionally, the determining, by the first device, that the TWAMP packet is the second TWAMP packet according to the source address and the destination address in the TWAMP packet includes:
the first equipment takes a destination address and a source address in the TWAMP message as a binary group to be identified;
when an identification information group matched with the binary group to be identified exists in the stored identification information groups, determining the TWAMP message as a second TWAMP message;
the identification information groups are set for the second device, and the identification information group matched with the binary group to be identified is a binary group comprising a source address and a destination address of the first TWAMP message;
and when the stored identification information groups do not have the identification information group matched with the binary group to be identified, the first equipment normally forwards the TWAMP message.
Optionally, when any one of the sent multiple first TWAMP messages further includes a transmission port number of the first device and a reflection port number of the second device, correspondingly, the second TWAMP message also includes the transmission port number of the first device and the reflection port number of the second device;
the determining, by the first device, that the TWAMP packet is the second TWAMP packet according to the source address and the destination address in the TWAMP packet includes:
the first device takes a destination address, a source address, a transmitting port number of the first device and a reflecting port number of the second device in the TWAMP message as a quadruple to be identified;
when an identification information group matched with the quadruple to be identified exists in the stored identification information groups, determining the TWAMP message as the second TWAMP message;
the identification information groups are set for the second device, and the identification information group matched with the to-be-identified quadruple is a quadruple comprising a source address and a destination address of a first TWAMP message corresponding to the second TWAMP message, a transmitting port number of the first device and a reflecting port number of the second device;
and when the stored identification information groups do not have the identification information group matched with the quadruple to be identified, the TWAMP message is forwarded normally by the first equipment.
Optionally, the plurality of identification information groups are issued by the management device to the first device.
When a first TWAMP packet includes the transmitting port number of the first device and the reflecting port number of the second device, correspondingly, a second TWAMP packet corresponding to the first TWAMP packet also includes the transmitting port number of the first device and the reflecting port number of the second device. Thus, when the first device receives a TWAMP message, matching may be performed according to a source address and a destination address of the first TWAMP message and a quadruple of a transmission port number of the first device and a reflection port number of the second device, and the TWAMP messages including the same source address and destination address but different transmission port numbers and reflection port numbers may be distinguished, so as to avoid a problem that the TWAMP messages returned by the TWAMP messages transmitted by other transmission ports of the first device or other L3PTN devices are erroneously determined as the second TWAMP messages by the first device, which further causes a large packet loss rate and a large delay error of a network between the first device and the second device determined by the first device.
S203: the first device determines the packet loss rate of a network between the first device and the second device according to the number of received second TWAMP messages and the number of sent first TWAMP messages within a preset time period; and determining the network delay between the first device and the second device according to the original timestamp, the receiving timestamp and the sending timestamp included in the second TWAMP message received in the preset time period.
Optionally, the determining, by the first device, a packet loss ratio of a network between the first device and the second device includes:
the first device determines a packet loss rate of a network between the first device and the second device according to a set first monitoring period.
Optionally, the preset time period may be the first monitoring period, or a specified time period set according to a specific application scenario. The first device determines the number of second TWAMP messages received within the preset time period and the number of first TWAMP messages sent within the preset time period, determines the difference between the number of second TWAMP messages received within the preset time period and the number of first TWAMP messages sent within the preset time period as a packet loss number, and determines the quotient of the packet loss number and the number of first TWAMP messages sent as a packet loss ratio of a network between the first device and the second device.
Optionally, the determining, by the first device, a time delay of a network between the first device and the second device includes:
and the first equipment determines the time delay of the network between the first equipment and the second equipment according to a set second monitoring period.
Optionally, the preset time period may also be the second monitoring period. And the first equipment determines all the second TWAMP messages received in the preset time period. Optionally, a difference between a received timestamp and an original timestamp in each second TWAMP message is used as a time delay of transmitting the first TWAMP message between the first device and the second device through the network, that is, a one-way transmission time delay; averaging the obtained one-way transmission time delay to be used as an average value of the one-way transmission time delay; taking the difference value between the sending time stamp and the receiving time stamp in each second TWAMP message as the processing time delay of the second equipment for processing the first TWAMP message; and averaging the obtained processing time delay to obtain an average value of the processing time delay. Optionally, the first device may further use a sum of the average value of 2 times of the one-way transmission delay and the average value of the processing delay as the average value of the two-way transmission delay.
The delay of the network between the first device and the second device may be an average value of the one-way transmission delay or an average value of the two-way transmission delay determined by the first device.
Obviously, the first monitoring period and the second monitoring period are both greater than a time interval between two first TWAMP messages, and the larger the quotient of the first monitoring period and the time interval is, the higher the accuracy of the packet loss rate determined by the first device is, and in the same way, the larger the quotient of the second monitoring period and the time interval is, the higher the accuracy of the time delay determined by the first device is. Wherein the first monitoring period and the second monitoring period may take the same value. The first monitoring period and the second monitoring period may be configurable for the management device.
Optionally, after S203, the method further includes:
and the first device reports the determined packet loss rate of the network between the first device and the second device and the determined time delay of the network between the first device and the second device to the management device.
The management device may perform statistics according to the packet loss rate and the time delay reported by the first device, generate a connectivity detection report and an online monitoring report of the performance of the packet loss rate, the time delay, the jitter, and the like, perform an alarm when the packet loss rate or the time delay is abnormal, and indicate an alarm problem, and a corresponding second device.
In the above embodiment, a third device, an L2/L3 bridge device, is included between the first device and the second device. That is, the first TWAMP packet and the second TWAMP packet transmitted between the first device and the second device need to be forwarded by the third device, that is, the first device needs to forward the first TWAMP packet to the second device by the third device when sending the first TWAMP packet to the second device, and the first device forwards the second TWAMP packet returned by the second device by the third device when receiving the second TWAMP packet.
The third device is configured to receive the first TWAMP packet sent by the first device, and forward the received first TWAMP packet to the second device; and the TWAMP server is further configured to receive a second TWAMP packet sent by the second device, and forward the second TWAMP packet to the first device.
The third device forwards the received first TWAMP packet to the second device, and when a destination address in the first TWAMP packet is an IP address of a base station, the third device may directly forward the first TWAMP packet;
when the destination address in the first TWAMP message is a reserved IP address of the same network segment of the base station, the third device forwards the first TWAMP message to the second device, including:
the third device determines a Media Access Control (MAC) address corresponding to a destination address in the first TWAMP message according to a mapping relationship between a stored IP address and the MAC address; and forwarding the first TWAMP packet to the second device through a two-layer subinterface corresponding to the determined MAC address.
The mapping relationship between the IP address and the MAC address stored in the third device may be preconfigured by the management device for the third device.
When the third device forwards the received second TWAMP packet to the first device, the third device may directly forward the second TWAMP packet, regardless of whether a source address in the second TWAMP packet is an IP address of a base station or a reserved IP address of the base station in the same network segment.
In summary, with the network monitoring method in the foregoing embodiment of the present invention, the L3PTN device in the PTN may accurately obtain the time delay and packet loss rate of the network between the L3PTN device and the L2PTN device by sending the first TWAMP packet including the original timestamp and receiving the second TWAMP packet including the original timestamp, the receiving timestamp, and the sending timestamp, so as to finally implement high-precision online monitoring of the end-to-end time delay and packet loss rate in the PTN, and improve the accuracy of end-to-end performance detection of the network.
Referring to fig. 3, a network monitoring method according to an embodiment of the present invention is applied to any L2/L3 bridge device in the PTN network architecture. For example, the method may be applied to an L2/L3 bridge device in the network architecture shown in fig. 1. The processing flow of the method comprises the following steps:
s301: a third device in the PTN receives a first TWAMP message sent by a first device, and forwards the first TWAMP message to a second device, wherein the first device is an L3PTN device, the second device is an L2PTN device, and the third device is an L2/L3 bridging device; the first TWAMP message includes an original timestamp, where the original timestamp is a time when the first device sends the first TWAMP message, and a destination address in the first TWAMP message is an IP address of a base station or a reserved IP address in the same network segment as the base station.
Wherein the second device is an L2PTN device interfacing with a base station.
Optionally, when the destination address in the first TWAMP message is a reserved IP address of the same network segment of the base station, the third device forwards the first TWAMP message to the second device, where the forwarding includes:
the third device determines an MAC address corresponding to a destination address included in the first TWAMP message according to a mapping relation between a stored IP address and the MAC address; and are
And forwarding the first TWAMP message to the second device through a two-layer subinterface corresponding to the determined MAC address.
The mapping relationship between the IP address and the MAC address stored in the third device may be preconfigured by the management device for the third device.
S302: the third device receives a second TWAMP packet sent by the second device, and forwards the second TWAMP packet to the first device, where the second TWAMP packet corresponds to a first TWAMP packet sent by the first device, and the second TWAMP packet includes a sending timestamp, a receiving timestamp, and an original timestamp in the first TWAMP packet, where the receiving timestamp is a time when the second device receives the first TWAMP packet, the sending timestamp is a time when the second device sends the second TWAMP packet, a destination address of the second TWAMP packet is the same as a source address in the first TWAMP packet, and a source address of the second TWAMP packet is the same as a destination address of the first TWAMP packet.
Since the destination address in the first TWAMP message is an IP address of a base station or a reserved IP address in the same network segment as the base station, in S301, the third device may forward the first TWAMP message as a data message that needs to be transmitted to the base station, and since the destination address and the source address of the TWAMP message and the first TWAMP message are interchanged, the third device also forwards the second TWAMP message as an uplink data message that needs to be transmitted by the base station when forwarding the second TWAMP message.
In the conventional PTN online monitoring method, the delay and the packet loss rate inside the L2PTN and the L3PTN are respectively measured by an OAM tool, so the service performance of the entire end-to-end PTN is approximately evaluated by calculating the sum of the LSP performance measurement result of the L2PTN and the LSP performance measurement result of the L3 PTN. In this way, the measured service performance does not consider the delay and packet loss caused by the L2/L3 bridge device, and there is a large error between the measured service performance and the actual service performance, but in the implementation of the present application, the L2/L3 bridge device is configured to forward the first TWAMP packet and the second TWAMP packet of the network between the first device and the second device, so that the first device can accurately acquire the delay and packet loss rate of the network between the first device and the second device according to the first TWAMP packet and the second TWAMP packet, thereby improving the accuracy of the end-to-end performance detection of the network.
Referring to fig. 4, a network monitoring method according to an embodiment of the present invention is applied to an L2PTN device interfacing with a base station in any PTN network. For example, the method may be applied to an L2PTN device interfacing with a base station in the network architecture shown in fig. 1. The method comprises the following steps:
s401: after receiving a message, a second device in the PTN determines that the message is a first TWAMP message sent by a first device through a third device, where the first device is an L3PTN device, the second device is an L2PTN device, and the third device is an L2/L3 bridging device, where the first TWAMP message includes an original timestamp, the original timestamp is the time when the first device sends the first TWAMP message, and a destination address in the first TWAMP message is an internet protocol IP address of a base station or a reserved IP address of the same network segment as the base station.
Optionally, the source address in the first TWAMP message is any one of the following:
the IP address of the first device, the IP address of a service gateway S-GW butted with the first device and the IP address of the same network segment with the S-GW.
Optionally, the determining, by the second device, that the packet is the first TWAMP packet sent by the first device includes:
when the second device determines that the message comprises a TWAMP identifier, determining that the message is a TWAMP message;
and the second equipment determines the TWAMP message as the first TWAMP message according to the source address and the destination address in the TWAMP message.
Optionally, the TWAMP identifier may be a protocol identifier of the TWAMP, and is configured to notify the message received by the second device to be a TWAMP message. Therefore, when the TWAMP identifier is not detected in the message, the second device forwards the message normally.
Optionally, the determining, by the second device, that the TWAMP packet is the first TWAMP packet according to the source address and the destination address in the TWAMP packet includes:
the second equipment takes a source address and a destination address in the TWAMP message as a binary group to be identified;
when an identification information group matched with the binary group to be identified exists in the stored identification information groups, determining the TWAMP message as the first TWAMP message;
the identification information groups are pre-configured to the second device, and the identification information group matched with the binary group to be identified is a binary group including a source address and a destination address of the first TWAMP message;
and when the identification information group matched with the binary group to be identified does not exist in the plurality of stored identification information groups, the second equipment discards the TWAMP message.
Optionally, when the first TWAMP message further includes a transmission port number of the first device and a reflection port number of the second device, the second device determines that the TWAMP message is the first TWAMP message according to a source address and a destination address in the TWAMP message, including:
the second device takes a source address and a destination address in the TWAMP message, a transmitting port number of the first device and a reflecting port number of the second device as a quadruple to be identified;
when an identification information group matched with the quadruple to be identified exists in the stored multiple identification information groups, determining the TWAMP message as the first TWAMP message;
the identification information groups are pre-configured to the second device, and the identification information group matched with the to-be-identified quadruple is a quadruple including a source address and a destination address of the first TWAMP message, a transmission port number of the first device and a reflection port number of the second device;
and when the identification information group matched with the to-be-identified quadruple does not exist in the plurality of stored identification information groups, the second equipment discards the TWAMP message.
Optionally, the multiple identification information groups are issued by the management device to a User Network Interface (UNI) port configured to the second device.
S402: the second device returns a second TWAMP message to the first device through the third device, where the second TWAMP message corresponds to the first TWAMP message sent by the first device, and the second TWAMP message includes a sending timestamp, a receiving timestamp, and an original timestamp in the first TWAMP message, where the receiving timestamp is a time when the second device receives the first TWAMP message, the sending timestamp is a time when the second device sends the second TWAMP message, a destination address of the second TWAMP message is the same as a source address in the first TWAMP message, and a source address of the second TWAMP message is the same as a destination address of the first TWAMP message.
By the above manner, each time the second device receives a first TWAMP message sent by the first device, a corresponding second TWAMP message is returned to the first device for the first TWAMP message, so that the first device can accurately determine the packet loss rate and the time delay of the network between the first device and the second device through the first TWAMP message and the second TWAMP message, and further improve the accuracy of the network end-to-end performance detection.
Based on the above embodiment, the present invention further provides a first device, where the first device may be the first device shown in fig. 2, and may also execute the method executed by the first device in the embodiment corresponding to fig. 2, and the first device is applied in the PTN. For example, the first device may be the L3PTN device shown in fig. 1. Referring to fig. 5, the first apparatus 500 includes: a sending unit 501, a receiving unit 502, a determining unit 503 and a processing unit 504, wherein,
a sending unit 501, configured to send a plurality of first TWAMP messages to a second device through a third device, where the first device 500 is an L3PTN device, and the second device is an L2PTN device, such as an L2PTN device in fig. 1; the third device is an L2/L3 bridge device, such as the L2/L3 bridge device shown in FIG. 1; any one of the plurality of first TWAMP messages includes an original timestamp, where the original timestamp is a time when the sending unit 501 sends the first TWAMP message, and a destination address in the first TWAMP message is an IP address of a base station or a reserved IP address in the same network segment as the base station;
a receiving unit 502, configured to receive a message;
a determining unit 503, configured to determine, after the receiving unit 502 receives a packet, that the packet is a second TWAMP packet sent by the second device through the third device, where the second TWAMP packet corresponds to a first TWAMP packet sent by the first device 500, and the second TWAMP packet includes a sending timestamp, a receiving timestamp, and an original timestamp in the first TWAMP packet, where the receiving timestamp is a time when the second device receives the first TWAMP packet, the sending timestamp is a time when the second device sends the second TWAMP packet, a destination address of the second TWAMP packet is the same as a source address in the first TWAMP packet, and a source address of the second TWAMP packet is the same as a destination address of the first TWAMP packet;
a processing unit 504, configured to determine a packet loss ratio of a network between the first device 500 and the second device according to the number of received second TWAMP messages and the number of sent first TWAMP messages in a preset time period; and are
Determining a network delay between the first device 500 and the second device according to an original timestamp, a receiving timestamp, and a sending timestamp included in the second TWAMP message received within the preset time period.
Optionally, a source address in any one of the sent multiple first TWAMP messages is any one of the following:
the IP address of the first device 500, the IP address of the S-GW interfacing with the first device 500, and the IP address of the same network segment as the S-GW.
Optionally, the determining unit 503 is specifically configured to:
when the message is determined to comprise the TWAMP mark, determining that the message is the TWAMP message;
and determining the TWAMP message as the second TWAMP message according to the source address and the destination address in the TWAMP message.
Optionally, when determining, according to the source address and the destination address in the TWAMP message, that the TWAMP message is the second TWAMP message, the determining unit 503 is specifically configured to:
taking a destination address and a source address in the TWAMP message as a binary group to be identified;
when an identification information group matched with the binary group to be identified exists in the stored identification information groups, determining the TWAMP message as a second TWAMP message;
the identification information groups are set for the second device, and the identification information group matched with the to-be-identified binary group is a binary group including a source address and a destination address of the first TWAMP message.
Optionally, any one of the sent multiple first TWAMP messages further includes a transmission port number of the first device 500 and a reflection port number of the second device;
the second TWAMP message further includes a transmission port number of the first device 500 and a reflection port number of the second device;
the determining unit 503, when determining that the TWAMP packet is the second TWAMP packet according to the source address and the destination address in the TWAMP packet, is specifically configured to:
taking a destination address, a source address, a transmission port number of the first device 500 and a reflection port number of the second device in the TWAMP message as a quadruple to be identified;
when an identification information group matched with the quadruple to be identified exists in the stored identification information groups, determining the TWAMP message as the second TWAMP message;
the identification information groups are set for the second device, and the identification information group matched with the to-be-identified quadruple is a quadruple including a source address and a destination address of the first TWAMP message corresponding to the second TWAMP message, and a transmission port number of the first device 500 and a reflection port number of the second device.
Based on the above embodiment, the present invention further provides a third device, which may adopt the method provided by the embodiment corresponding to fig. 3, and the third device is applied in the PTN. The third device may be an L2/L3 bridge device as shown in FIG. 1. Referring to fig. 6, the third apparatus 600 includes: a receiving unit 601, a transmitting unit 602, wherein,
a receiving unit 601, configured to receive a first TWAMP packet sent by a first device, where the first device is an L3PTN device, such as an L3PTN device in fig. 1, the second device is an L2PTN device, such as an L2PTN device in fig. 1, and the third device 600 is an L2/L3 bridging device; the first TWAMP message comprises an original timestamp, the original timestamp is the time when the first equipment sends the first TWAMP message, and a destination address in the first TWAMP message is an IP address of a base station or a reserved IP address of the same network segment as the base station;
a sending unit 602, configured to forward the first TWAMP packet to a second device;
the receiving unit 601 is further configured to receive a second TWAMP packet sent by the second device, where the second TWAMP packet corresponds to a first TWAMP packet sent by the first device, and the second TWAMP packet includes a sending timestamp, a receiving timestamp, and an original timestamp in the first TWAMP packet, where the receiving timestamp is a time when the second device receives the first TWAMP packet, the sending timestamp is a time when the second device sends the second TWAMP packet, a destination address of the second TWAMP packet is the same as a source address in the first TWAMP packet, and a source address of the second TWAMP packet is the same as a destination address of the first TWAMP packet;
the sending unit 602 is further configured to forward the second TWAMP packet to the first device.
Optionally, when the destination address in the first TWAMP message is a reserved IP address of the same network segment of the base station, the third device 600 further includes:
a determining unit 603, configured to determine, according to a mapping relationship between a stored IP address and a media access control MAC address, a MAC address corresponding to a destination address in the first TWAMP message;
the sending unit 602 is specifically configured to forward the first TWAMP packet to the second device through a two-layer subinterface corresponding to the determined MAC address.
Based on the above embodiment, the present invention further provides a second device, where the second device may adopt the method provided by the embodiment corresponding to fig. 4, and as shown in fig. 7, the second device 700 includes: a receiving unit 701, a determining unit 702, and a transmitting unit 703, wherein,
a receiving unit 701, configured to receive a packet;
a determining unit 702, configured to determine, after the receiving unit 701 receives a packet, that the packet is a first TWAMP packet sent by a first device through a third device, where the first device is an L3PTN device, the second device 700 is an L2PTN device, and the third device is an L2/L3 bridging device; the first TWAMP message comprises an original timestamp, the original timestamp is the time when the first equipment sends the first TWAMP message, and a destination address in the first TWAMP message is an IP address of a base station or a reserved IP address of the same network segment as the base station;
the sending unit 703 is configured to return a second TWAMP packet to the first device through the third device, where the second TWAMP packet corresponds to the first TWAMP packet sent by the first device, and the second TWAMP packet includes a sending timestamp, a receiving timestamp, and an original timestamp in the first TWAMP packet, where the receiving timestamp is a time when the receiving unit 701 receives the first TWAMP packet, the sending timestamp is a time when the sending unit 703 sends the second TWAMP packet, a destination address of the second TWAMP packet is the same as a source address in the first TWAMP packet, and a source address of the second TWAMP packet is the same as a destination address of the first TWAMP packet.
Optionally, the source address in the first TWAMP message is any one of the following:
the IP address of the first device, the IP address of a service gateway S-GW butted with the first device and the IP address of the same network segment with the S-GW.
Optionally, the determining unit 702 is specifically configured to:
when the message is determined to comprise the TWAMP mark, determining that the message is the TWAMP message;
and determining the TWAMP message as the first TWAMP message according to the source address and the destination address in the TWAMP message.
Optionally, when determining, according to the source address and the destination address in the TWAMP message, that the TWAMP message is the first TWAMP message, the determining unit 702 is specifically configured to:
taking a source address and a destination address in the TWAMP message as a binary group to be identified;
when an identification information group matched with the binary group to be identified exists in the stored identification information groups, determining the TWAMP message as the first TWAMP message;
the plurality of identification information sets are pre-configured to the second device 700, and the identification information set matched with the to-be-identified binary group is a binary group including a source address and a destination address of the first TWAMP packet.
Optionally, the first TWAMP message further includes a transmission port number of the first device and a reflection port number of the second device 700;
the determining unit 702, when the second device 700 determines that the TWAMP packet is the first TWAMP packet according to the source address and the destination address in the TWAMP packet, is specifically configured to:
taking a source address and a destination address in the TWAMP message, a transmission port number of the first device, and a reflection port number of the second device 700 as a quadruple to be identified;
when an identification information group matched with the quadruple to be identified exists in the stored multiple identification information groups, determining the TWAMP message as the first TWAMP message;
the multiple identification information sets are pre-configured to the second device 700, and the identification information set matched with the to-be-identified quadruple is a quadruple including a source address and a destination address of the first TWAMP packet, a transmission port number of the first device, and a reflection port number of the second device 700.
It should be noted that the division of the units in the above embodiments of the present invention is schematic, and is only a logical function division, and there may be other division manners in actual implementation, for example, the first determining unit and the second determining unit may be the same determining unit or different determining units, or some features may be omitted, or not executed. In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Based on the above embodiments, the present application further provides a network monitoring system, which is applied in the PTN, and as shown in fig. 8, the system includes: a first device 801, a second device 802, and a third device 803, wherein,
a first device 801, configured to send multiple first bidirectional active measurement protocol TWAMP packets to a second device 802 through a third device 803, where the first device 801 is an L3PTN device, the second device 802 is an L2PTN device, and the third device 803 is an L2/L3 bridging device; any one of the sent multiple TWAMP messages includes an original timestamp, where the original timestamp is time when the first device 801 sends the first TWAMP message, and a destination address in the first TWAMP message is an IP address of a base station or a reserved IP address in the same network segment as the base station;
the second device 802 is configured to, after receiving a message, determine that the message is a first TWAMP message sent by the first device 801 through the third device 803, generate a second TWAMP message for the received first TWAMP message, and return the generated second TWAMP message to the first device 801 through the third device 803, where the second TWAMP message includes a sending timestamp, a receiving timestamp, and an original timestamp in the first TWAMP message, the receiving timestamp is a time when the second device 802 receives the first TWAMP message, the sending timestamp is a time when the second device 802 sends the second TWAMP message, a destination address of the second TWAMP message is the same as a source address in the first TWAMP message, and a source address of the second TWAMP message is the same as a destination address of the first TWAMP message;
the third device 803 is configured to receive the first TWAMP packet sent by the first device 801, and forward the first TWAMP packet to the second device 802;
the third device 803 is further configured to receive a second TWAMP packet sent by the second device 802, and forward the second TWAMP packet to the first device 801;
the first device 801 is further configured to determine, after receiving a packet, that the packet is a second TWAMP packet sent by the second device 802 through the third device 803; determining a packet loss rate of a network between the first device 801 and the second device 802 according to the number of received second TWAMP messages and the number of sent first TWAMP messages in a preset time period; and determining the network delay between the first device 801 and the second device 802 according to the original timestamp, the receiving timestamp, and the sending timestamp included in the second TWAMP message received within the preset time period.
Alternatively, the first device 801 may be the L3PTN device of fig. 1, the second device 802 may be the L2PTN device of fig. 1, and the third device 803 may be the L2/L3 bridging device of fig. 1 in the system.
Optionally, the first device 801 may be the first device described in fig. 5 and its corresponding embodiment.
Alternatively, the second device 802 may be the second device described in fig. 7 and its corresponding embodiment.
Optionally, the third device 803 may be the third device described in fig. 6 and its corresponding embodiment.
Based on the above embodiments, the present application further provides a first device, where the first device may adopt the method provided by the embodiment corresponding to fig. 2, and may be the same device as the first device shown in fig. 5. The first device may be an L3PTN device. The first device may be the L3PTN device of fig. 1, or the first device may be the first device 801 illustrated in fig. 8 or the first device 500 illustrated in fig. 5. Referring to fig. 9, the first apparatus 900 includes: a transceiver 901, a processor 902, a bus 903, and a memory 904, wherein:
the transceiver 901, the processor 902 and the memory 904 are connected to each other by a bus 903; the bus 903 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 9, but this does not indicate only one bus or one type of bus.
The transceiver 901 is configured to send a first TWAMP packet to a second device through a third device, and receive a packet and the like sent by other devices, for example, a second TWAMP packet forwarded by the third device.
The processor 902 is configured to implement the network monitoring method shown in fig. 2 according to the embodiment of the present invention, including:
sending a plurality of first TWAMP messages to a second device through a third device, wherein the first device 900 is an L3PTN device, the second device is an L2PTN device, and the third device is an L2/L3 bridging device; any one of the sent first TWAMP messages includes an original timestamp, where the original timestamp is time for the processor 902 to send the first TWAMP message, and a destination address in the first TWAMP message is an IP address of a base station or a reserved IP address in the same network segment as the base station;
after receiving a packet, determining that the packet is a second TWAMP packet sent by the second device through the third device, where the second TWAMP packet corresponds to a first TWAMP packet sent by the processor 902, and the second TWAMP packet includes a sending timestamp, a receiving timestamp, and an original timestamp in the first TWAMP packet, where the receiving timestamp is a time when the second device receives the first TWAMP packet, the sending timestamp is a time when the second device sends the second TWAMP packet, a destination address of the second TWAMP packet is the same as a source address in the first TWAMP packet, and a source address of the second TWAMP packet is the same as a destination address of the first TWAMP packet;
determining a packet loss rate of a network between the first device 900 and the second device according to the number of the received second TWAMP messages and the number of the sent first TWAMP messages in a preset time period; and are
And determining the network delay between the first device 900 and the second device according to the original timestamp, the receiving timestamp, and the sending timestamp included in the second TWAMP message received within the preset time period.
Optionally, a source address in any one of the sent multiple first TWAMP messages is any one of the following:
the IP address of the first device 900, the IP address of a serving gateway S-GW interfacing with the first device 900, and the IP address of the same network segment as the S-GW.
Optionally, determining that the packet is the second TWAMP packet sent by the second device includes:
when the message is determined to comprise the TWAMP mark, determining that the message is the TWAMP message;
and determining the TWAMP message as the second TWAMP message according to the source address and the destination address in the TWAMP message.
Optionally, determining, according to the source address and the destination address in the TWAMP message, that the TWAMP message is the second TWAMP message includes:
taking a destination address and a source address in the TWAMP message as a binary group to be identified;
when an identification information group matched with the binary group to be identified exists in the stored identification information groups, determining the TWAMP message as a second TWAMP message;
the identification information groups are set for the second device, and the identification information group matched with the to-be-identified binary group is a binary group including a source address and a destination address of the first TWAMP message.
Optionally, any one of the sent multiple first TWAMP messages further includes a transmission port number of the first device 900 and a reflection port number of the second device;
the second TWAMP message further includes a transmission port number of the first device 900 and a reflection port number of the second device;
determining, according to the source address and the destination address in the TWAMP message, that the TWAMP message is the second TWAMP message, including:
taking a destination address, a source address, a transmission port number of the first device 900 and a reflection port number of the second device in the TWAMP message as a quadruple to be identified;
when an identification information group matched with the quadruple to be identified exists in the stored identification information groups, determining the TWAMP message as the second TWAMP message;
the identification information groups are set for the second device, and the identification information group matched with the to-be-identified quadruple is a quadruple including a source address and a destination address of the first TWAMP message corresponding to the second TWAMP message, and a transmission port number of the first device 900 and a reflection port number of the second device.
The first device 900 further includes a memory 904 for storing a program, a plurality of identification information sets set for the second device, and the like. In particular, the program may include program code comprising computer operating instructions. Memory 904 may include Random Access Memory (RAM) and may also include non-volatile memory (non-volatile memory), such as at least one disk memory. The processor 902 executes the application program stored in the memory 904 to implement, for example, a network monitoring method.
Based on the above embodiments, the present application further provides a third device, where the third device may adopt the method provided by the embodiment corresponding to fig. 3, and may be the same device as the third device shown in fig. 6. The third device may be an L2/L3 bridge device. The third device may be an L2/L3 bridge device in the network system shown in fig. 1, or the third device may be the third device 803 in the network system shown in fig. 8 or the third device 600 shown in fig. 6. Referring to fig. 10, the third apparatus 1000 includes: a transceiver 1001, a processor 1002, a bus 1003, and a memory 1004, wherein:
the transceiver 1001, the processor 1002, and the memory 1004 are connected to each other by a bus 1003; the bus 1003 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 10, but this is not intended to represent only one bus or type of bus.
The transceiver 1001 is configured to communicate with a first device and a second device connected to the third device 1000, for example, receive a first TWAMP packet sent by the first device, and forward the TWAMP packet to the second device; and receiving a second TWAMP message of the second equipment, forwarding the second TWAMP message to the first equipment, and the like.
The processor 1002 is configured to implement the method for monitoring a network shown in fig. 3 according to the embodiment of the present invention, including:
receiving a first TWAMP message sent by first equipment, and forwarding the first TWAMP message to second equipment, wherein the first equipment is L3P TN equipment, the second equipment is L2PTN equipment, and the third equipment is L2/L3 bridging equipment; the first TWAMP message comprises an original timestamp, the original timestamp is the time when the second device sends the first TWAMP message, and a destination address in the first TWAMP message is an IP address of a base station or a reserved IP address of the base station in the same network segment as the base station;
the third device receives a second TWAMP packet sent by the second device, and forwards the second TWAMP packet to the first device, where the second TWAMP packet corresponds to a first TWAMP packet sent by the first device, and the second TWAMP packet includes a sending timestamp, a receiving timestamp, and an original timestamp in the first TWAMP packet, where the receiving timestamp is a time when the second device receives the first TWAMP packet, the sending timestamp is a time when the second device sends the second TWAMP packet, a destination address of the second TWAMP packet is the same as a source address in the first TWAMP packet, and a source address of the second TWAMP packet is the same as a destination address of the first TWAMP packet.
Optionally, when the destination address in the first TWAMP message is a reserved IP address of the same network segment of the base station, forwarding the first TWAMP message to the second device, where the forwarding includes:
determining a MAC address corresponding to a destination address in the first TWAMP message according to a mapping relation between the stored IP address and the MAC address; and are
And forwarding the first TWAMP message to the second device through a two-layer subinterface corresponding to the determined MAC address.
The third device 1000 further includes a memory 1004 for storing programs, mapping relationships between IP addresses and MAC addresses, and the like. In particular, the program may include program code comprising computer operating instructions. The memory 1004 may include a Random Access Memory (RAM) and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory. The processor 1002 executes the application program stored in the memory 1004 to implement, for example, a network monitoring method.
Based on the above embodiments, the present application further provides a second device, which may be an L2PTN device. The second device may be the L2PTN device of fig. 1, the second device may also be the second device 802 described in fig. 8, and the second device may also be the second device 700 shown in fig. 7. Referring to fig. 11, the second device 1100 includes: a transceiver 1101, a processor 1102, a bus 1103, and a memory 1104, wherein:
the transceiver 1101, processor 1102, and memory 1104 are interconnected by a bus 1103; the bus 1103 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 11, but this is not intended to represent only one bus or type of bus.
The transceiver 1101 is configured to communicate with a device connected to the second device 1100, for example, receive a first TWAMP packet forwarded by a third device, and return a second TWAMP packet to the first device through the third device.
The processor 1102 is configured to implement the network monitoring method shown in fig. 4 according to the embodiment of the present invention, and includes:
after receiving a message, determining that the message is a first bidirectional active measurement protocol TWAMP message sent by a first device through a third device, where the first device is an L3PTN device, the second device 1100 is an L2PTN device, and the third device is an L2/L3 bridging device; the first TWAMP message comprises an original timestamp, the original timestamp is the time when the first equipment sends the first TWAMP message, and a destination address in the first TWAMP message is an IP address of a base station or a reserved IP address of the same network segment as the base station;
returning a second TWAMP message to the first device through the third device, where the second TWAMP message corresponds to the first TWAMP message sent by the first device, and the second TWAMP message includes a sending timestamp, a receiving timestamp, and an original timestamp in the first TWAMP message, where the receiving timestamp is a time when the processor 1102 receives the first TWAMP message, the sending timestamp is a time when the processor 1102 sends the second TWAMP message, a destination address of the second TWAMP message is the same as a source address in the first TWAMP message, and a source address of the second TWAMP message is the same as a destination address of the first TWAMP message.
Optionally, the source address in the first TWAMP message is any one of the following:
the IP address of the first device, the IP address of the S-GW which is in butt joint with the first device and the IP address of the network segment which is in the same network segment with the S-GW.
Optionally, determining that the packet is the first TWAMP packet sent by the first device includes:
when the message is determined to comprise the TWAMP mark, determining that the message is the TWAMP message;
and determining the TWAMP message as the first TWAMP message according to the source address and the destination address in the TWAMP message.
Optionally, determining, according to the source address and the destination address in the TWAMP message, that the TWAMP message is the first TWAMP message includes:
taking a source address and a destination address in the TWAMP message as a binary group to be identified;
when an identification information group matched with the binary group to be identified exists in the stored identification information groups, determining the TWAMP message as the first TWAMP message;
the plurality of identification information sets are pre-configured to the second device 1100, and the identification information set matched with the to-be-identified binary group is a binary group including a source address and a destination address of the first TWAMP packet.
Optionally, the first TWAMP message further includes a transmission port number of the first device and a reflection port number of the second device 1100;
determining, according to a source address and a destination address in the TWAMP message, that the TWAMP message is the first TWAMP message, including:
taking a source address and a destination address in the TWAMP message, a transmission port number of the first device, and a reflection port number of the second device 1100 as a quadruple to be identified;
when an identification information group matched with the quadruple to be identified exists in the stored multiple identification information groups, determining the TWAMP message as the first TWAMP message;
the identification information groups are pre-configured to the second device 1100, and the identification information group matched with the to-be-identified quadruple is a quadruple including a source address and a destination address of the first TWAMP packet, a transmission port number of the first device, and a reflection port number of the second device 1100.
The second device 1100 also includes a memory 1104 for storing a program, a plurality of identification information sets, and the like, which are previously configured to the second device. In particular, the program may include program code comprising computer operating instructions. The memory 1104 may include Random Access Memory (RAM) and may also include non-volatile memory (non-volatile memory), such as at least one disk memory. The processor 1102 executes the application program stored in the memory 1104 to implement, for example, a network monitoring method.
According to the network monitoring method, the device and the system provided by the embodiment of the invention, an L3PTN device in the PTN sends a plurality of first TWAMP messages to an L2PTN device through an L2/L3 bridging device, wherein each first TWAMP message comprises an original timestamp indicating the time when the first device sends the first TWAMP message; after receiving each first TWAMP message, the L2PTN device returns a second TWAMP message to the L3PTN device through the L2/L3 device, where the second TWAMP message corresponds to the first TWAMP message. The second TWAMP message includes an original timestamp, a receiving timestamp, and a sending timestamp in the first TWAMP message. Since the destination address in the first TWAMP message is an IP address of a base station or a reserved IP address in the same network segment as the base station, in this way, the L3PTN device may directly transmit the first TWAMP message to the L2PTN device as a data message that needs to be transmitted to the base station, and further, the L2PTN device may reply a second TWAMP message to the received first TWAMP message, and finally, the L3PTN device determines a packet loss rate of the network between the L3PTN device and the L2PTN device according to the number of the second TWAMP messages received within a preset time period and the number of the first TWAMP messages sent; and determining the network delay between the first device and the second device according to the difference between the receiving timestamp and the original timestamp included in the second TWAMP message received within the preset time period and the difference between the sending timestamp and the receiving timestamp. Thus, the L3PTN device in the PTN may accurately determine the packet loss rate and the time delay of the network between the L3PTN device and the L2PTN device through the first TWAMP message and the second TWAMP message, so that the L3PTN device improves the accuracy of the network end-to-end performance monitoring.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various modifications and variations can be made in the embodiments of the present invention without departing from the spirit or scope of the embodiments of the invention. Thus, if such modifications and variations of the embodiments of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (25)

1. A method of network monitoring, comprising:
a first device in a Packet Transport Network (PTN) sends a plurality of first bidirectional active measurement protocol (TWAMP) messages to a second device through a third device, wherein the first device is a three-layer packet transport network (L3 PTN) device, the second device is a two-layer packet transport network (L2 PTN) device, and the third device is a two-layer/three-layer L2/L3 bridging device; any one of the sent first TWAMP messages includes an original timestamp, the original timestamp is the time when the first device sends the first TWAMP message, and a destination address in the first TWAMP message is an internet protocol IP address of a base station or a reserved IP address in the same network segment as the base station;
after the first device receives a packet, determining that the received packet is a second TWAMP packet sent by the second device through the third device, where the second TWAMP packet corresponds to a first TWAMP packet sent by the first device, and the second TWAMP packet includes a sending timestamp, a receiving timestamp, and an original timestamp in the first TWAMP packet, where the receiving timestamp is a time when the second device receives the first TWAMP packet, the sending timestamp is a time when the second device sends the second TWAMP packet, a destination address of the second TWAMP packet is the same as a source address in the first TWAMP packet, and a source address of the second TWAMP packet is the same as a destination address of the first TWAMP packet;
the first device determines the packet loss rate of a network between the first device and the second device according to the number of received second TWAMP messages and the number of sent first TWAMP messages within a preset time period; and are
And determining the network delay between the first device and the second device according to the original timestamp, the receiving timestamp and the sending timestamp included in the second TWAMP message received in the preset time period.
2. The method of claim 1, wherein a source address in any one of the sent plurality of first TWAMP messages is any one of:
the IP address of the first device, the IP address of a service gateway S-GW butted with the first device and the IP address of the same network segment with the S-GW.
3. The method according to claim 1 or 2, wherein the determining, by the first device, that the received packet is a second TWAMP packet sent by the second device, includes:
the first device determines that the received message comprises a TWAMP (two way radio Access protocol) identifier, and determines that the received message is a TWAMP message;
and the first equipment determines the TWAMP message as the second TWAMP message according to the source address and the destination address in the TWAMP message.
4. The method of claim 3, wherein the determining, by the first device, the TWAMP packet as the second TWAMP packet according to a source address and a destination address in the TWAMP packet comprises:
the first equipment takes the destination address and the source address in the TWAMP message as a binary group to be identified;
when an identification information group matched with the binary group to be identified exists in the stored identification information groups, determining the TWAMP message as the second TWAMP message;
the identification information groups are set for the second device, and the identification information group matched with the to-be-identified binary group is a binary group including a source address and a destination address of the first TWAMP message.
5. The method of claim 3, wherein any one of the sent plurality of first TWAMP messages further includes a transmission port number of the first device and a reflection port number of the second device;
the second TWAMP message further includes a transmission port number of the first device and a reflection port number of the second device;
the determining, by the first device, that the TWAMP packet is the second TWAMP packet according to the source address and the destination address in the TWAMP packet includes:
the first device takes a destination address, a source address, a transmitting port number of the first device and a reflecting port number of the second device in the TWAMP message as a quadruple to be identified;
when an identification information group matched with the quadruple to be identified exists in the stored identification information groups, determining the TWAMP message as the second TWAMP message;
the identification information groups are set for the second device, and the identification information group matched with the to-be-identified quadruple is a quadruple including a source address and a destination address of a first TWAMP message corresponding to the second TWAMP message, a transmission port number of the first device and a reflection port number of the second device.
6. A method of network monitoring, comprising:
a third device in a Packet Transport Network (PTN) receives a first bidirectional active measurement protocol (TWAMP) message sent by a first device and forwards the first TWAMP message to a second device, wherein the first device is a three-layer packet transport network (L3) PTN device, the second device is a two-layer packet transport network (L2) PTN device, and the third device is a two-layer/three-layer L2/L3 bridging device; the first TWAMP message comprises an original timestamp, the original timestamp is the time when the first equipment sends the first TWAMP message, and a destination address in the first TWAMP message is an Internet Protocol (IP) address of a base station or a reserved IP address of the same network segment as the base station;
the third device receives a second TWAMP packet sent by the second device, and forwards the second TWAMP packet to the first device, where the second TWAMP packet corresponds to a first TWAMP packet sent by the first device, and the second TWAMP packet includes a sending timestamp, a receiving timestamp, and an original timestamp in the first TWAMP packet, where the receiving timestamp is a time when the second device receives the first TWAMP packet, the sending timestamp is a time when the second device sends the second TWAMP packet, a destination address of the second TWAMP packet is the same as a source address in the first TWAMP packet, and a source address of the second TWAMP packet is the same as a destination address of the first TWAMP packet.
7. The method of claim 6, wherein when a destination address in the first TWAMP message is a reserved IP address of a same network segment of the base station, the third device forwards the first TWAMP message to the second device, comprising:
the third device determines an MAC address corresponding to a destination address in the first TWAMP message according to a mapping relation between a stored IP address and a Media Access Control (MAC) address; and are
And forwarding the first TWAMP message to the second device through a two-layer subinterface corresponding to the determined MAC address.
8. A method of network monitoring, comprising:
after receiving a message, a second device in the packet transport network PTN determines that the received message is a first bidirectional active measurement protocol TWAMP message sent by the first device through a third device, where the first device is a three-layer packet transport network L3PTN device, the second device is a two-layer packet transport network L2PTN device, and the third device is a two-layer/three-layer L2/L3 bridging device; the first TWAMP message comprises an original timestamp, the original timestamp is the time when the first equipment sends the first TWAMP message, and a destination address in the first TWAMP message is an Internet Protocol (IP) address of a base station or a reserved IP address of the same network segment as the base station;
the second device returns a second TWAMP message to the first device through the third device, where the second TWAMP message corresponds to the first TWAMP message sent by the first device, and the second TWAMP message includes a sending timestamp, a receiving timestamp, and an original timestamp in the first TWAMP message, where the receiving timestamp is a time when the second device receives the first TWAMP message, the sending timestamp is a time when the second device sends the second TWAMP message, a destination address of the second TWAMP message is the same as a source address in the first TWAMP message, and a source address of the second TWAMP message is the same as a destination address of the first TWAMP message.
9. The method of claim 8, wherein a source address in the first TWAMP message is any one of:
the IP address of the first device, the IP address of a service gateway S-GW butted with the first device and the IP address of the same network segment with the S-GW.
10. The method according to claim 8 or 9, wherein the determining, by the second device, that the received packet is the first TWAMP packet sent by the first device, includes:
when the second device determines that the received message includes the TWAMP identifier, determining that the received message is the TWAMP message;
and the second equipment determines the TWAMP message as the first TWAMP message according to the source address and the destination address in the TWAMP message.
11. The method of claim 10, wherein the determining, by the second device, the TWAMP packet as the first TWAMP packet according to a source address and a destination address in the TWAMP packet, comprises:
the second equipment takes a source address and a destination address in the TWAMP message as a binary group to be identified;
when an identification information group matched with the binary group to be identified exists in the stored identification information groups, determining the TWAMP message as the first TWAMP message;
the identification information groups are pre-configured to the second device, and the identification information group matched with the to-be-identified binary group is a binary group including a source address and a destination address of the first TWAMP packet.
12. The method of claim 10, wherein the first TWAMP message further includes a transmit port number of the first device, a reflected port number of the second device;
the second device determines, according to the source address and the destination address in the TWAMP message, that the TWAMP message is the first TWAMP message, including:
the second device takes a source address and a destination address in the TWAMP message, a transmitting port number of the first device and a reflecting port number of the second device as a quadruple to be identified;
when an identification information group matched with the quadruple to be identified exists in the stored identification information groups, determining the TWAMP message as the first TWAMP message;
the plurality of identification information groups are pre-configured to the second device, and the identification information group matched with the to-be-identified quadruple is a quadruple including a source address and a destination address of the first TWAMP packet, a transmission port number of the first device, and a reflection port number of the second device.
13. A first device, for use in a packet transport network, PTN, the first device comprising:
a sending unit, configured to send a plurality of first bidirectional active measurement protocol TWAMP messages to a second device through a third device, where the first device is a triple-layer packet transport network L3PTN device, the second device is a double-layer packet transport network L2PTN device, and the third device is a double-layer/triple-layer L2/L3 bridging device; any one of the sent first TWAMP messages comprises an original timestamp, the original timestamp is the time when the sending unit sends the first TWAMP message, and a destination address in the first TWAMP message is an internet protocol IP address of a base station or a reserved IP address in the same network segment with the base station;
a receiving unit, configured to receive a packet;
a determining unit, configured to determine, after the receiving unit receives a packet, that the received packet is a second TWAMP packet sent by the second device through the third device, where the second TWAMP packet corresponds to a first TWAMP packet sent by the first device, and the second TWAMP packet includes a sending timestamp, a receiving timestamp, and an original timestamp in the first TWAMP packet, where the receiving timestamp is a time when the second device receives the first TWAMP packet, the sending timestamp is a time when the second device sends the second TWAMP packet, a destination address of the second TWAMP packet is the same as a source address in the first TWAMP packet, and a source address of the second TWAMP packet is the same as a destination address of the first TWAMP packet;
the processing unit is configured to determine a packet loss rate of a network between the first device and the second device according to the number of received second TWAMP messages and the number of sent first TWAMP messages in a preset time period; and are
And determining the network delay between the first device and the second device according to the original timestamp, the receiving timestamp and the sending timestamp included in the second TWAMP message received in the preset time period.
14. The first device of claim 13, wherein a source address in any one of the sent plurality of first TWAMP messages is any one of:
the IP address of the first device, the IP address of a service gateway S-GW butted with the first device and the IP address of the same network segment with the S-GW.
15. The first device according to claim 13 or 14, wherein the determining unit is specifically configured to:
when the received message is determined to include the TWAMP mark, determining that the received message is the TWAMP message;
and determining the TWAMP message as the second TWAMP message according to the source address and the destination address in the TWAMP message.
16. The first device of claim 15, wherein, when determining that the TWAMP packet is the second TWAMP packet according to a source address and a destination address in the TWAMP packet, the determining unit is specifically configured to:
taking the destination address and the source address in the TWAMP message as a binary group to be identified;
when an identification information group matched with the binary group to be identified exists in the stored identification information groups, determining the TWAMP message as the second TWAMP message;
the identification information groups are set for the second device, and the identification information group matched with the to-be-identified binary group is a binary group including a source address and a destination address of the first TWAMP message.
17. The first device of claim 15, wherein any one of the transmitted plurality of first TWAMP messages further comprises a transmit port number of the first device, a reflected port number of the second device;
the second TWAMP message further includes a transmission port number of the first device and a reflection port number of the second device;
the determining unit, when determining that the TWAMP packet is the second TWAMP packet according to the source address and the destination address in the TWAMP packet, is specifically configured to:
taking a destination address, a source address, a transmitting port number of the first device and a reflecting port number of the second device in the TWAMP message as a quadruple to be identified;
when an identification information group matched with the quadruple to be identified exists in the stored identification information groups, determining the TWAMP message as the second TWAMP message;
the identification information groups are set for the second device, and the identification information group matched with the to-be-identified quadruple is a quadruple including a source address and a destination address of a first TWAMP message corresponding to the second TWAMP message, a transmission port number of the first device and a reflection port number of the second device.
18. A third device, for use in a packet transport network, PTN, the third device comprising:
a receiving unit, configured to receive a first bidirectional active measurement protocol TWAMP packet sent by a first device, where the first device is a three-layer packet transport network L3PTN device, and the third device is a two-layer/three-layer L2/L3 bridging device; the first TWAMP message comprises an original timestamp, the original timestamp is the time when the first equipment sends the first TWAMP message, and a destination address in the first TWAMP message is an Internet Protocol (IP) address of a base station or a reserved IP address of the same network segment as the base station;
a sending unit, configured to forward the first TWAMP packet to a second device, where the second device is a layer two packet transport network L2PTN device;
the receiving unit is further configured to receive a second TWAMP packet sent by the second device, where the second TWAMP packet corresponds to a first TWAMP packet sent by the first device, and the second TWAMP packet includes a sending timestamp, a receiving timestamp, and an original timestamp in the first TWAMP packet, where the receiving timestamp is a time when the second device receives the first TWAMP packet, the sending timestamp is a time when the second device sends the second TWAMP packet, a destination address of the second TWAMP packet is the same as a source address in the first TWAMP packet, and a source address of the second TWAMP packet is the same as a destination address of the first TWAMP packet;
the sending unit is further configured to forward the second TWAMP packet to the first device.
19. The third device of claim 18, wherein when the destination address in the first TWAMP message is a reserved IP address of the same segment of the base station, the third device further comprises:
a determining unit, configured to determine, according to a mapping relationship between a stored IP address and a media access control MAC address, a MAC address corresponding to a destination address in the first TWAMP message;
the sending unit is specifically configured to forward the first TWAMP packet to the second device through a two-layer subinterface corresponding to the determined MAC address.
20. Second device, for use in a packet transport network, PTN, the second device comprising:
a receiving unit, configured to receive a packet;
a determining unit, configured to determine, after the receiving unit receives a packet, that the received packet is a first bidirectional active measurement protocol TWAMP packet sent by a first device through a third device, where the first device is a three-layer packet transport network L3PTN device, the second device is a two-layer packet transport network L2PTN device, and the third device is a two-layer/three-layer L2/L3 bridging device; the first TWAMP message comprises an original timestamp, the original timestamp is the time when the first equipment sends the first TWAMP message, and a destination address in the first TWAMP message is an Internet Protocol (IP) address of a base station or a reserved IP address of the same network segment as the base station;
a sending unit, configured to return a second TWAMP packet to the first device through the third device, where the second TWAMP packet corresponds to the first TWAMP packet sent by the first device, and the second TWAMP packet includes a sending timestamp, a receiving timestamp, and an original timestamp in the first TWAMP packet, where the receiving timestamp is a time when the receiving unit receives the first TWAMP packet, the sending timestamp is a time when the sending unit sends the second TWAMP packet, a destination address of the second TWAMP packet is the same as a source address in the first TWAMP packet, and a source address of the second TWAMP packet is the same as a destination address of the first TWAMP packet.
21. The second device of claim 20, wherein a source address in the first TWAMP message is any one of:
the IP address of the first device, the IP address of a service gateway S-GW butted with the first device and the IP address of the same network segment with the S-GW.
22. The second device according to claim 20 or 21, wherein the determining unit is specifically configured to:
when the received message is determined to include the TWAMP mark, determining that the received message is the TWAMP message;
and determining the TWAMP message as the first TWAMP message according to the source address and the destination address in the TWAMP message.
23. The second device of claim 22, wherein, when determining that the TWAMP packet is the first TWAMP packet according to a source address and a destination address in the TWAMP packet, the determining unit is specifically configured to:
taking a source address and a destination address in the TWAMP message as a binary group to be identified;
when an identification information group matched with the binary group to be identified exists in the stored identification information groups, determining the TWAMP message as the first TWAMP message;
the identification information groups are pre-configured to the second device, and the identification information group matched with the to-be-identified binary group is a binary group including a source address and a destination address of the first TWAMP packet.
24. The second device of claim 22, wherein the first TWAMP message further includes a transmit port number of the first device, a reflected port number of the second device;
the determining unit, when the second device determines that the TWAMP packet is the first TWAMP packet according to the source address and the destination address in the TWAMP packet, is specifically configured to:
taking a source address and a destination address in the TWAMP message, a transmitting port number of the first device and a reflecting port number of the second device as a quadruple to be identified;
when an identification information group matched with the quadruple to be identified exists in the stored identification information groups, determining the TWAMP message as the first TWAMP message;
the plurality of identification information groups are pre-configured to the second device, and the identification information group matched with the to-be-identified quadruple is a quadruple including a source address and a destination address of the first TWAMP packet, a transmission port number of the first device, and a reflection port number of the second device.
25. A network monitoring system, applied in a packet transport network, PTN, the system comprising:
a first device, configured to send a plurality of first bidirectional active measurement protocol TWAMP messages to a second device through a third device, where the first device is a three-layer packet transport network L3PTN device, the second device is a two-layer packet transport network L2PTN device, and the third device is a two-layer/three-layer L2/L3 bridging device; any one of the sent first TWAMP messages includes an original timestamp, where the original timestamp is time when the first device sends the first TWAMP message, and a destination address in the first TWAMP message is an internet protocol IP address of a base station or a reserved IP address in the same network segment as the base station;
the second device is configured to, after receiving a packet, determine that the packet is a first TWAMP packet sent by the first device through the third device, generate a second TWAMP packet for the received first TWAMP packet, and return the generated second TWAMP packet to the first device through the third device, where the second TWAMP packet includes a sending timestamp, a receiving timestamp, and an original timestamp in the first TWAMP packet, where the receiving timestamp is a time when the second device receives the first TWAMP packet, the sending timestamp is a time when the second device sends the second TWAMP packet, a destination address of the second TWAMP packet is the same as a source address in the first TWAMP packet, and a source address of the second TWAMP packet is the same as a destination address of the first TWAMP packet;
the third device is configured to receive the first TWAMP packet sent by the first device, and forward the first TWAMP packet to the second device;
the third device is further configured to receive a second TWAMP packet sent by the second device, and forward the second TWAMP packet to the first device;
the first device is further configured to determine, after receiving a packet, that the packet is a second TWAMP packet sent by the second device through the third device; determining the packet loss rate of a network between the first device and the second device according to the number of received second TWAMP messages and the number of sent first TWAMP messages within a preset time period; and determining the network delay between the first device and the second device according to the original timestamp, the receiving timestamp and the sending timestamp included in the second TWAMP message received in the preset time period.
CN201511030261.9A 2015-12-31 2015-12-31 Network monitoring method, device and system Active CN106936661B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511030261.9A CN106936661B (en) 2015-12-31 2015-12-31 Network monitoring method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511030261.9A CN106936661B (en) 2015-12-31 2015-12-31 Network monitoring method, device and system

Publications (2)

Publication Number Publication Date
CN106936661A CN106936661A (en) 2017-07-07
CN106936661B true CN106936661B (en) 2020-01-03

Family

ID=59444776

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511030261.9A Active CN106936661B (en) 2015-12-31 2015-12-31 Network monitoring method, device and system

Country Status (1)

Country Link
CN (1) CN106936661B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109412881B (en) * 2017-08-18 2020-09-08 中国移动通信有限公司研究院 Segmented time delay monitoring method, intermediate node and synthesis analysis equipment
CN108199925B (en) 2018-01-30 2021-06-04 网宿科技股份有限公司 Data sending method, receiving method and device
CN110166311B (en) * 2018-02-14 2022-09-23 华为技术有限公司 Method, equipment and network system for measuring network performance
CN110191475B (en) * 2018-02-23 2021-04-27 大唐移动通信设备有限公司 Data processing method and device for base station
CN109067625B (en) * 2018-10-19 2020-07-28 瑞斯康达科技发展股份有限公司 Method, device and system for detecting performance of service channel
CN111385822B (en) 2018-12-29 2021-11-09 华为技术有限公司 Configuration method and controller
CN111435918B (en) * 2019-01-15 2021-11-09 华为技术有限公司 Network performance detection method and network performance detection device
CN111988193A (en) * 2019-05-24 2020-11-24 中兴通讯股份有限公司 TWAMP-based detection method and related equipment
CN112217686B (en) 2019-07-12 2022-12-27 华为技术有限公司 System, method and device for evaluating round trip delay
CN112398557B (en) * 2019-08-16 2022-06-28 华为技术有限公司 Time delay statistical method, device, storage medium and system
CN113542008A (en) * 2019-09-24 2021-10-22 华为技术有限公司 Network OAM method and device
CN114301811A (en) * 2020-09-23 2022-04-08 中国移动通信有限公司研究院 Information processing method and device and tunnel endpoint network element
CN116938767A (en) * 2022-03-29 2023-10-24 中兴通讯股份有限公司 Method and device for monitoring multipath end-to-end time delay, electronic equipment and medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103109501A (en) * 2012-09-29 2013-05-15 华为技术有限公司 Network time delay measuring method, device and system
WO2013151471A1 (en) * 2012-04-04 2013-10-10 Telefonaktiebolaget L M Ericsson (Publ) Method for scalable measuring of connectivity between two way active measurement protocol (twamp) entities.
CN103516508A (en) * 2013-09-17 2014-01-15 中国科学院计算技术研究所 Method and system for correcting clock drift in one-way and two-way delay variation measurement
CN103595553A (en) * 2012-07-24 2014-02-19 埃克斯帝网络有限公司 Automatic setup of reflector instances
CN103875213A (en) * 2013-11-26 2014-06-18 华为技术有限公司 Network device performance testing method, terminals, management device and system
CN104683187A (en) * 2015-03-12 2015-06-03 烽火通信科技股份有限公司 Method for realizing router layer-2 VPN service physical interface end-to-end measurement

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9628358B2 (en) * 2012-10-05 2017-04-18 Telefonaktiebolaget Lm Ericsson (Publ) Method and system for piggybacking radio data in IP measurements

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013151471A1 (en) * 2012-04-04 2013-10-10 Telefonaktiebolaget L M Ericsson (Publ) Method for scalable measuring of connectivity between two way active measurement protocol (twamp) entities.
CN103595553A (en) * 2012-07-24 2014-02-19 埃克斯帝网络有限公司 Automatic setup of reflector instances
CN103109501A (en) * 2012-09-29 2013-05-15 华为技术有限公司 Network time delay measuring method, device and system
CN103516508A (en) * 2013-09-17 2014-01-15 中国科学院计算技术研究所 Method and system for correcting clock drift in one-way and two-way delay variation measurement
CN103875213A (en) * 2013-11-26 2014-06-18 华为技术有限公司 Network device performance testing method, terminals, management device and system
CN104683187A (en) * 2015-03-12 2015-06-03 烽火通信科技股份有限公司 Method for realizing router layer-2 VPN service physical interface end-to-end measurement

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于TWAMP的协议分析与网络测量研究.;张超.;《中国优秀硕士学位论文全文数据库信息科技辑2012年》;20120815(第8期);全文 *

Also Published As

Publication number Publication date
CN106936661A (en) 2017-07-07

Similar Documents

Publication Publication Date Title
CN106936661B (en) Network monitoring method, device and system
JP5462954B2 (en) Packet loss detection method and apparatus, and router
US9577913B2 (en) Layer-3 performance monitoring sectionalization
JP5801175B2 (en) Packet communication apparatus and method
EP4002769A1 (en) System and method for evaluating transmission performance related to network node and related device
US11621907B2 (en) Enhanced two-way active measurement protocol
WO2013071801A1 (en) Method, device and system for detecting multi-protocol label switching ring network
US8483069B1 (en) Tracing Ethernet frame delay between network devices
CN102281165A (en) Fault detection method based on QoS, system and apparatus thereof
CN106789437B (en) Message processing method, forwarding method, related device and packet loss rate measuring method
CN110166311B (en) Method, equipment and network system for measuring network performance
US20230318970A1 (en) Packet Processing Method and Apparatus
EP2523401B1 (en) Virtual networks within a physical network
CN106161124B (en) Message test processing method and device
WO2014008809A1 (en) Frame loss detection method and system
EP2854339B1 (en) Transmission monitoring method and device
US20120250536A1 (en) Ethernet-dual-ended loss measurement calculation
US20160315839A1 (en) Transmission method, transmission system, and transmission device
KR20220007689A (en) Bit error notification method and related device
CN114124753B (en) Message sending method and device
CN113132220B (en) Method and device for processing routing information
CN111901182B (en) Flow forwarding method and network equipment
WO2020238799A1 (en) Twamp-based detection method and related device
Filsfils et al. Network programming for performance and liveness monitoring in segment routing networks
KR101407002B1 (en) Network device for routing and network system 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