WO2019157802A1 - Method, device, and network system for measuring network performance - Google Patents

Method, device, and network system for measuring network performance Download PDF

Info

Publication number
WO2019157802A1
WO2019157802A1 PCT/CN2018/100620 CN2018100620W WO2019157802A1 WO 2019157802 A1 WO2019157802 A1 WO 2019157802A1 CN 2018100620 W CN2018100620 W CN 2018100620W WO 2019157802 A1 WO2019157802 A1 WO 2019157802A1
Authority
WO
WIPO (PCT)
Prior art keywords
performance measurement
measurement parameter
count value
ltm
ltr
Prior art date
Application number
PCT/CN2018/100620
Other languages
French (fr)
Chinese (zh)
Inventor
姚鹏
陈志国
叶青
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2019157802A1 publication Critical patent/WO2019157802A1/en

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/0852Delays
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • H04L43/106Active monitoring, e.g. heartbeat, ping or trace-route using time related information in packets, e.g. by adding timestamps
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/10Scheduling measurement reports ; Arrangements for measurement reports

Definitions

  • the present application relates to the field of communications technologies, and relates to a method, device, and network system for measuring network performance.
  • Multi-protocol label switching (MPLS) operations, maintenance, and maintenance (OAM) are used to detect packet loss, delay, and jitter in an MPLS network.
  • Ethernet OAM (ETHOAM) is used to implement end-to-end packet loss, delay, and jitter detection.
  • MPLS OAM can only detect packet loss and delay on the user network interface (UNI) in the end-to-end segment of the MPLS OAM.
  • ETHOAM supports cross-domain end-to-end packet loss and time-out. Delay detection, but need to be deployed in stages, the deployment is cumbersome and complicated.
  • the present application provides a method, network device, network system, and computer readable storage medium for measuring network performance. These solutions make end-to-end network performance detection easier.
  • a method for measuring network performance comprising: a first device transmitting a link tracking message LTM to a second device, the LTM including a first performance measurement parameter; the first device receiving the a link tracking response LTR sent by the second device, the LTR is responsive to the LTM, the LTR includes a second performance measurement parameter and a third performance measurement parameter; the first device acquires a fourth performance measurement parameter, according to the The first performance measurement parameter, the second performance measurement parameter, the third performance measurement parameter, and the fourth performance measurement parameter acquire network performance parameters between the first device and the second device.
  • a method for measuring network performance comprising: receiving, by a second device, a link tracking message LTM sent by a first device, where the LTM includes a first performance measurement parameter; The LTM obtains a second performance measurement parameter and a third performance measurement parameter; the second device returns a link tracking response LTR to the first device, the LTR is responsive to the LTM, and the LTR includes the second a performance measurement parameter and the third performance measurement parameter; the LTR is configured to acquire a fourth performance measurement parameter when the first device receives the LTR, according to the first performance measurement parameter, the second The performance measurement parameter, the third performance measurement parameter, and the fourth performance measurement parameter acquire network performance parameters between the first device and the second device.
  • the first performance measurement parameter includes a first count value when the first device sends the LTM
  • the second performance measurement parameter includes the second device a second count value when the LTM is received
  • the third performance measurement parameter includes a third count value when the second device issues the LTR
  • the fourth performance measurement parameter includes the first device received a fourth count value at the time of the LTR; the first device acquiring the first device and the first count value, the second count value, the third count value, and the fourth count value according to the first count value The number of lost packets between the second devices.
  • the first performance measurement parameter includes a first timestamp that the first device sends the LTM
  • the second performance measurement parameter includes that the second device receives a second timestamp of the LTM
  • the third performance measurement parameter includes a third timestamp when the second device sends the LTR
  • the fourth performance measurement parameter includes the first device receiving a fourth timestamp when the LTR is described
  • the first device acquires a network delay between the first device and the second device according to the following formula:
  • the first performance measurement parameter includes a first count value when the first device sends the LTM and a first time stamp when the first device sends the LTM
  • the second performance measurement parameter includes a second count value when the second device receives the LTM and a second time stamp when the second device receives the LTM, and the third performance measurement parameter And including a third count value when the second device sends the LTR and a third time stamp when the second device sends the LTR, where the fourth performance measurement parameter includes that the first device receives the a fourth count value at the time of the LTR and a fourth time stamp when the first device receives the LTR; the first device according to the first count value, the second count value, the third count And the fourth count value is used to obtain the number of lost packets between the first device and the second device; when the first device acquires the network between the first device and the second device according to the following formula Delay:
  • a second device includes a transceiver module and a processing module, wherein the transceiver module is configured to receive a link tracking message LTM sent by a first device, where the LTM includes a first performance measurement parameter.
  • the processing module is configured to obtain, according to the LTM, a second performance measurement parameter and a third performance measurement parameter, where the transceiver module is configured to send a link tracking response corresponding to the LTM to the first device.
  • the LTR includes the second performance measurement parameter and the third performance measurement parameter, so that the first device acquires a fourth performance measurement parameter, according to the first performance measurement parameter, the second performance measurement parameter,
  • the third performance measurement parameter and the fourth performance measurement parameter acquire network performance measurement parameters between the first device and the second device.
  • the first performance measurement parameter includes a first count value when the first device sends the LTM
  • the second performance measurement parameter includes when the transceiver module receives the LTM a second count value
  • the third performance measurement parameter includes a third count value when the transceiver module sends the LTR
  • the fourth performance measurement parameter includes a first time when the first device receives the LTR Four count values.
  • the first performance measurement parameter includes a first timestamp that the first device sends the LTM
  • the second performance measurement parameter includes when the transceiver module receives the LTM a second time measurement parameter
  • the third performance measurement parameter includes a third timestamp when the transceiver module sends the LTR
  • the fourth performance measurement parameter includes a fourth time when the first device receives the LTR Time stamp.
  • the first performance measurement parameter includes a first count value when the first device sends the LTM and a first time stamp when the first device sends the LTM, where the first The second performance measurement parameter includes a second count value when the transceiver module receives the LTM and a second time stamp when the transceiver module receives the LTM, and the third performance measurement parameter includes the transceiver module sends out a third count value at the time of the LTR and a third time stamp when the transceiver module issues the LTR, and the fourth performance measurement parameter includes a fourth count value when the first device receives the LTR and The fourth time stamp when the first device receives the LTR.
  • a first device includes a transceiver module and a processing module, wherein the transceiver module is configured to send a link tracking message LTM to a second device, where the LTM includes a first performance measurement parameter.
  • the LTR is responsive to the LTM, the LTR includes a second performance measurement parameter and a third performance measurement parameter, and the processing module is configured to acquire a fourth a performance measurement parameter, between the first device and the second device, according to the first performance measurement parameter, the second performance measurement parameter, the third performance measurement parameter, and the fourth performance measurement parameter Network performance parameters.
  • the first performance measurement parameter includes a first count value when the transceiver module sends the LTM
  • the second performance measurement parameter includes when the second device receives the LTM a second count value
  • the third performance measurement parameter includes a third count value when the second device sends the LTR
  • the fourth performance measurement parameter includes a first time when the transceiver module receives the LTR a fourth count value
  • the processing module acquires the first device and the first according to the first performance measurement parameter, the second performance measurement parameter, the third performance measurement parameter, and the fourth performance measurement parameter
  • the network performance parameter between the two devices includes: the processing module acquiring, according to the first count value, the second count value, the third count value, and the fourth count value, the first device and the first The number of lost packets between two devices.
  • the first performance measurement parameter includes a first timestamp that the transceiver module sends the LTM
  • the second performance measurement parameter includes when the second device receives the LTM a second time measurement parameter
  • the third performance measurement parameter includes a third timestamp when the second device sends the LTR
  • the fourth performance measurement parameter includes a fourth time when the transceiver module receives the LTR a time stamp
  • the processing module acquires the first device and the second according to the first performance measurement parameter, the second performance measurement parameter, the third performance measurement parameter, and the fourth performance measurement parameter
  • the first performance measurement parameter includes a first count value when the transceiver module sends the LTM, and a first time stamp when the transceiver module sends the LTM
  • the second performance The measurement parameter includes a second count value when the second device receives the LTM and a second time stamp when the second device receives the LTM
  • the third performance measurement parameter includes the second device a third count value when the LTR is issued and a third time stamp when the second device issues the LTR
  • the fourth performance measurement parameter includes a fourth count value when the transceiver module receives the LTR a fourth timestamp when the transceiver module receives the LTR
  • the processing module according to the first performance measurement parameter, the second performance measurement parameter, the third performance measurement parameter, and the fourth The performance measurement parameter acquires network performance parameters between the first device and the second device: the processing module is configured according to the first count value, the second count value, the third count value, and fourth Counting the value to obtain the first device and the second device The number of lost packets
  • a network system includes a first device and a second device, the first device is the first device described in the foregoing fourth aspect, and the second device is in the foregoing third aspect The second device described.
  • a computer readable storage medium comprising program instructions, when the program instructions are executed, performing the methods of the first aspect and the second aspect.
  • the first device is located in a first network
  • the second device is located in a second network
  • the first device may serve as the source MEP of the network performance detection
  • the second device may serve as the network performance detection sink MEP
  • the source MEP sends the LTM to the sink MEP, where the LTM includes the first a performance measurement parameter
  • the sink MEP receives the LTM sent by the source MEP, and sends an LTR corresponding to the LTM to the source MEP, where the LTR includes a second performance measurement parameter and a third performance measurement parameter, where the source end
  • the MEP obtains a fourth performance measurement parameter, and obtains the source MEP and the sink MEP according to the first performance measurement parameter, the second performance measurement parameter, the third performance measurement parameter, and the fourth performance measurement parameter.
  • Performance measurement parameters such as delay, number of lost packets, etc.
  • the link tracking message LTM/LTR
  • the MEP and the ETHOAM need to be configured on the first device where the source MEP is located and the second device where the sink MEP is located, without the MEP to the sink at the source end. ETHOAM is deployed in one or more networks through which the MEP is deployed, which greatly reduces configuration complexity.
  • FIG. 1 is a schematic diagram of a network system according to an embodiment of the present application.
  • FIGS. 2A-2C are schematic structural diagrams of an LTM according to an embodiment of the present application.
  • 3A-3C are schematic structural diagrams of an LTR according to an embodiment of the present application.
  • FIG. 4 is a schematic flowchart of a network performance measurement method according to an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of a first device according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic structural diagram of a second device according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic structural diagram of a first device according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram of a second device according to an embodiment of the present disclosure.
  • GSM Global System for Mobile communications
  • Code Division Multiple Access Code Division Multiple Access
  • CDMA Code Division Multiple Access
  • TDMA Time Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access Wireless
  • FDMA Frequency Division Multiple Addressing
  • OFDMA orthogonal frequency Orthogonal Frequency-Division Multiple Access
  • SC-FDMA single carrier FDMA
  • GPRS General Packet Radio Service
  • LTE Long Term Evolution
  • PPN packet transport network
  • MSTP multi-service transmission platform
  • the OAM referred to herein may be a multi-protocol label switching transport profile (MPLS-TP) OAM, MPLS OAM, ETHOAM, and other such OAM.
  • MPLS-TP multi-protocol label switching transport profile
  • system and “network” are used interchangeably herein.
  • the term “and/or” in this context is merely an association describing the associated object, indicating that there may be three relationships, for example, A and / or B, which may indicate that A exists separately, and both A and B exist, respectively. B these three situations.
  • the character "/" in this article generally indicates that the contextual object is an "or" relationship.
  • ME Maintenance entity
  • MEG ME group
  • MEG MEG intermediate point
  • LTM link tracking message
  • LTR link trace reply
  • LMM loss measurement message
  • LMR loss measurement reply
  • DMM delay measurement reply
  • DMR delay measurement reply
  • Operations, Administration, and Maintenance A set of network management functions that provide network fault indication, performance information and data, and diagnostics. Examples include ATM OAM [ITU-T I-610] and IEEE standard 802.3ah OAM.
  • Connectivity fault management Includes the ability to detect, verify, and isolate connections in a virtual bridged LAN. These functions can be used in networks operated by multiple independent organizations, each with limited management access capabilities to each other's devices.
  • DSAP Domain service access point
  • EISS enhanced internal sublayer service
  • ISS internal sublayer service
  • MEP Maintenance Group Endpoint
  • a MEP is an active managed CFM entity associated with a particular DSAP of a service instance that can generate and receive CFM frames and track any response. It is the endpoint of a single MA and is the endpoint of an independent maintenance entity for every other MEP in the same MA.
  • MA Maintenance Group
  • MAID Maintenance Group Identifier
  • MD level configuration for each of them.
  • a MA can be thought of as a complete mesh of maintenance entities in a set of MEPs so configured.
  • MEP Maintenance Group Endpoint Identifier
  • MAID Maintenance association identifier
  • MD Maintenance domain
  • MIP Maintenance domain intermediate point
  • a MIP is a CFM entity that can contain one or more MIP Half Functions (MHF).
  • MHF MIP Half Functions
  • Maintenance domain name An identifier for a particular maintenance domain that is unique within the domain of a randomly concatenated service instance that CFM will protect.
  • ME Maintenance entity
  • MP Maintenance point
  • MD level An integer in the field in the CFM frame, which is used to identify the MA to which the CFM message belongs, together with the virtual local area network identifier (VID) in the virtual local area network (VLAN) tag, and Thereby determining the MP that is interested in the contents of the CFM frame and allowing the CFM frame to pass.
  • VIP virtual local area network identifier
  • LTM Link Tracking Message
  • LTR Link Tracking Answer
  • a network system includes a metropolitan area network 1, a metropolitan area network 2, and a backbone network, and a metropolitan area network 1, a metropolitan area network 2, and a backbone network communicate through a user network interface (UNI). connection.
  • the metropolitan area network 1 includes network devices A1 and A2
  • the backbone network includes network devices B1 and B2
  • the metropolitan area network 2 includes network devices C1 and C2.
  • CE1 in turn communicates with CE2 via network devices A1, A2, B1, B2, C1 and C2.
  • Network devices A1, A2, B1, B2, C1, and C2 are used to carry and forward traffic, and network devices A1, A2, B1, B2, C1, and C2 may be packet transport network (PTN) devices.
  • CE1 and CE2 are third-party devices. Configure LT for service connectivity, packet loss, and delay detection.
  • the CE can be a router or a switch or a host.
  • the network device A1 is configured with a maintenance association endpoint (MEP): MEP1, and MEP2 is configured on the network device C2.
  • MEP1 and MEP2 are located in the same maintenance domain (MD).
  • MD maintenance domain
  • MEP1 is the source MEP
  • MEP2 is the sink MEP.
  • a maintenance association intermediate endpoint (MIP) can also be configured on other devices between MEP1 and MEP2.
  • the MEP and the MIP can be configured on the UNI port of the network device A1.
  • the MEP1 can be configured on the UNI port of the network device A1, and the MEP2 can be configured on the UNI port of the network device C2.
  • a link trace When a link trace (LT) is initiated on the source MEP (such as the MEP1 in FIG. 1), the MEP1 sends a link trace message (LTM) to the sink MEP2, and the sink MEP2 receives the LTM to the source MEP1.
  • LTM link trace message
  • MEP1 receives the LTR returned by MEP2 in response to the LTM, and determines that the service link connectivity of MEP1 to MEP2 is normal. If MIP is configured on other network devices (such as network devices B1 and B2 in FIG. 1) between the source MEP1 and the sink MEP2, the MIP of the LTM sent by the source MEP1 is returned to the source MEP1.
  • the OAM functions specified in ITU-T Y.1731 include performance management in addition to fault management.
  • Performance management parameters include frame loss, frame delay, and jitter.
  • Frame loss refers to the difference between the service frame sent by the ingress device and the service frame received by the egress device.
  • Frame delay refers to the loop delay.
  • the loopback mode is used in the destination node and is defined as the time difference between sending a frame and receiving a loopback frame.
  • the frame delay jitter refers to the delay variation, that is, the ring report is sent twice in a time interval, and the frame delay is calculated separately and the absolute difference of the delay of the two frames is taken.
  • ETHOAM includes fault management and performance management.
  • Fault management mainly includes connectivity detection, loopback, LT, alarm indication, remote fault alarm and test functions.
  • Performance management includes frame loss, frame delay and delay jitter.
  • Management, ETHOAM mechanism is defined by IEEE 802.3ah, IEEE 802.1ag and ITU-T Y.1731.
  • an embodiment of the present application provides a method for measuring network performance, which may be used to measure network performance, where network performance parameters include one or more of packet loss rate, delay, and jitter.
  • This method can be applied to the network of FIG. The method includes:
  • the first device sends the LTM to the second device, where the LTM includes the first performance measurement parameter.
  • the second device receives the LTM, and returns an LTR corresponding to the LTM to the first device, where the LTR includes a second performance measurement parameter and a third performance measurement parameter.
  • the first device receives the LTR, acquires a fourth performance measurement parameter, and obtains the first parameter according to the first performance measurement parameter, the second performance measurement parameter, the third performance measurement parameter, and the fourth measurement parameter.
  • the first device may be the network device A1 that communicates with the CE1 in the metropolitan area network 1 of FIG. 1, and the network device A1 may be the PE device in the metropolitan area network 1, and the CE1 accesses the metropolitan area network 1 through A1.
  • the second device may be the network device C2 in the metropolitan area network 2 of FIG. 1 that communicates with the CE2.
  • the network device C2 may be a PE device, and the CE2 accesses the metropolitan area network 2 through C2.
  • CE1 communicates with CE2 via metropolitan area network 1 and metropolitan area network 2.
  • the MEP is deployed on the first device and the second device, for example, the source MEP is deployed on the network device A1.
  • the sink MEP is deployed on the network device C2.
  • the MAC address of the first device may be the MAC address of the MEP deployed on the first device.
  • the MAC address of the second device may be the MAC address of the MEP deployed on the second device.
  • the source MEP multicasts the LTM in the MD where the source MEP is located, and the MIP in the MD receives the LTM, and determines that the MIP is located on the channel from the source MEP to the sink MEP, and the MIP is sent to the source.
  • the end MEP sends an LTR corresponding to the LTM, and the LTR sent by the MIP to the source MEP includes the MAC address of the source MEP.
  • the MIP forwards the LTM in the direction from the source MEP to the sink MEP.
  • the LTM may also include a media access control (MAC) address of the first device and a MAC address of the second device.
  • the LTR may also include a MAC address of the first device and a MAC address of the second device.
  • the first performance measurement parameter includes a time stamp TxTimeStampf when the source MEP sends the LTM (hereinafter referred to as “first time stamp”) and when the source MEP sends the LTM One or more of the source count value TxFCf (hereinafter referred to as "first count value").
  • the first performance measurement parameter may be carried in a new type-length-value (TLV) of the LTM.
  • TLV type-length-value
  • the LTM includes a first TLV
  • the first count value is carried in the first TLV.
  • the first performance measurement parameter includes the first timestamp
  • the LTM includes a second TLV
  • the first timestamp is carried in the first TLV.
  • the first performance measurement parameter includes the first count value and the first time stamp
  • the LTM includes the first TLV and the second TLV
  • the first The count value is carried in the first TLV
  • the first time stamp is carried in the second TLV.
  • the first TLV in FIG. 2A and FIG. 2C may further include:
  • Reserved for RxFCf in LTR occupies 4 bytes, indicating the value of the RxFCf of the sink counter at the time of receiving the LTM frame (hereinafter referred to as the "second count value"), and the Reserved for RxFCf in LTR is reserved for the LTR;
  • TxFCb in LTR Bytes occupying, indicating the TxFCb value of the counter of the sink MEP at the time of LTR transmission (hereinafter referred to as "third count value"), and the Reserved for TxFCb in LTR is reserved for the LTR.
  • the second TLV in FIG. 2B and FIG. 2C may further include:
  • the first performance measurement parameter includes the first count value
  • the second performance measurement parameter includes a second count value
  • the third performance measurement parameter includes a third count value
  • the fourth performance measurement The parameters include a source MEP counter value RxFCb (hereinafter referred to as a "fourth count value") when the source MEP receives the LTR.
  • the LTR may further include the first count value.
  • the LTR includes a third TLV, and the second count value and the third count value may be carried in the third TLV.
  • the first performance measurement parameter includes the first timestamp
  • the second performance measurement parameter includes the second timestamp
  • the third performance measurement parameter includes the third timestamp
  • the fourth performance measurement parameter The time stamp RxTimeStampb (hereinafter referred to as "fourth time stamp") when the source MEP receives the LTR is included.
  • the LTR may further include the first time stamp.
  • the LTR includes a fourth TLV, and the second timestamp and the third timestamp may be carried in the fourth TLV.
  • the LTR includes a third TLV and a fourth TLV, and the first count value and the first time stamp are carried in a third TLV, and the third count value and the third time stamp are carried in the third In the four TLV, the fourth performance measurement parameter includes the fourth count value and the fourth time stamp.
  • the LTR may further include the first count value and the first time stamp.
  • the first device acquires the first device and the second device according to the first count value, the second count value, the third count value, and the fourth count value. The number of lost packets between.
  • the first device acquires a network delay between the first device and the second device according to the following formula:
  • the principle of packet loss statistics is as follows: whenever a valid LTM frame is received by the sink MEP on the second device or the second device, the sink MEP on the second device or the second device generates an LTR and transmits it to the first On the device or the source MEP on the first device, the LTR frame carries the following information:
  • the Egress node After receiving the LMR frame, the Egress node calculates the packet loss value by using the following formula:
  • TxFCf, RxFCf, and TxFCb values in the LTR and the RxFCl value of the local counter at the time of reception of this LTR frame are expressed as TxFCf[tc], RxFCf[tc], TxFCb[tc], and RxFCl[ Tc], where tc is the time at which the current response frame is received.
  • TxFCf, RxFCf, and TxFCb in the LTR at the previous moment and the RxFCl value of the local counter at the previous LTR reception time are expressed as TxFCf[tp], RxFCf[tp], TxFCb[tp], and RxFCl [ Tp], where tp is the time of the previous response frame received.
  • the packet loss statistics are as follows:
  • Packet loss (remote)
  • the source MEP is configured on the first device in the first network
  • the source MEP is configured on the second device in the second network
  • the source MEP sends the LTM to the second network device.
  • a sinking MEP where the LTM includes a MAC address of the source MEP, a MAC address of the sink MEP, and a first performance measurement parameter, where the sink MEP receives the LTM sent by the source MEP, and sends the LTM to the source MEP.
  • the LTR includes a second performance measurement parameter and a third performance measurement parameter, the source MEP acquiring a fourth performance measurement parameter, according to the first performance measurement parameter, the second performance measurement parameter
  • the third performance measurement parameter and the fourth performance measurement parameter obtain performance measurement parameters, such as delay, packet loss, and the like between the source MEP and the sink MEP.
  • the link tracking message LTM/LTR
  • the link tracking message can traverse different networks as long as the source MEP and the sink MEP are in the same MD and have the same MD level.
  • the MEP and the ETHOAM need to be configured on the first network device where the source MEP is located and the second network device where the sink MEP is located, and the MEP to the sink MEP is not required.
  • ETHOAM is deployed in multiple networks or on multiple networks, which greatly reduces configuration complexity.
  • the standard LT packet can only detect the connectivity of the service.
  • the standard LM and DM packets can only detect the packet loss and delay of the service separately.
  • the LTM/LTR packet is used.
  • the bearer sends and receives packet information and timestamps, so that LT can perform connectivity detection of services, and can perform packet loss and delay statistics, that is, monitor various aspects of service implementation. Improve the operation and maintenance efficiency of the delay/loss performance of each segment of the service at the end of the network.
  • a first network device 500 is configured with an active end MEP, and the first network device 500 may be the network device A1 shown in FIG. 1 or the first device in the foregoing method embodiment.
  • the first device includes: a 502 transceiver module and a processing module 504, where
  • the transceiver module 502 is configured to send a link tracking message LTM to the second device, where the LTM includes a first performance measurement parameter, and receive a link tracking response LTR sent by the second device, where the LTR is responsive to the LTM, the LTR includes a second performance measurement parameter and a third performance measurement parameter;
  • the processing module 502 is configured to obtain a fourth performance measurement parameter, and obtain the foregoing according to the first performance measurement parameter, the second performance measurement parameter, the third performance measurement parameter, and the fourth performance measurement parameter. Network performance parameters between the first device and the second device.
  • the first performance measurement parameter includes a first count value when the transceiver module 502 sends the LTM
  • the second performance measurement parameter includes when the second device receives the LTM a second count value
  • the third performance measurement parameter includes a third count value when the second device sends the LTR
  • the fourth performance measurement parameter includes when the transceiver module 502 receives the LTR a fourth count value
  • the processing module 504 acquires, between the first device and the second device, according to the first count value, the second count value, the third count value, and the fourth count value The number of lost packets.
  • the first performance measurement parameter includes a first timestamp of the transceiver module 502 sending the LTM
  • the second performance measurement parameter includes when the second device receives the LTM a second time measurement parameter
  • the third performance measurement parameter includes a third timestamp when the second device sends the LTR
  • the fourth performance measurement parameter includes a first time when the transceiver module 502 receives the LTR a fourth time stamp
  • the processing module 504 acquires a network delay between the first device and the second device according to the following formula:
  • the first performance measurement parameter includes a first count value when the transceiver module 502 sends the LTM, and a first time stamp when the transceiver module 502 sends the LTM
  • the second The performance measurement parameter includes a second count value when the second device receives the LTM and a second time stamp when the second device receives the LTM
  • the third performance measurement parameter includes the second a third count value when the device issues the LTR and a third time stamp when the second device issues the LTR
  • the fourth performance measurement parameter includes a fourth count when the transceiver module receives the LTR a value and a fourth timestamp when the transceiver module 502 receives the LTR
  • the processing module 504 is configured to: according to the first count value, the second count value, the third count value, and the fourth count value Acquiring the number of packet loss between the first device and the second device; the processing module 504 acquires a network delay between the first device and the second device according to the following formula:
  • a network device 600 is configured as a second device, and is configured with a sinking MEP.
  • the network device 600 may be the network device C2 shown in FIG. 1 or the second device in the foregoing method embodiment.
  • the network device shown in FIG. 5 can be used together to implement the function of the second device in the above method.
  • the network device 600 includes a transceiver module 602 and a processing module 604.
  • the transceiver module 602 is configured to receive an LTM sent by the first network device, where the LTM includes a first performance measurement parameter.
  • the processing module 604 is configured to obtain, according to the LTM, a second performance measurement parameter and a third performance measurement parameter, where the transceiver module 604 is configured to send, to the first device, an LTR corresponding to the LTM.
  • the LTR includes the second performance measurement parameter and the third performance measurement parameter, so that the first device acquires a fourth performance measurement parameter, according to the first performance measurement parameter, the second performance measurement parameter, and the third performance
  • the measurement parameter and the fourth performance measurement parameter acquire network performance measurement parameters between the first device and the network device 600.
  • FIG. 7 is a schematic structural diagram of a network device 700 according to an embodiment of the present application.
  • the network device 700 may be the same device as the network device 500 of the embodiment of FIG. 5, or may be the device A1 in FIG. 1 or the first device in the foregoing method embodiment, and may implement the functions of the first device in the foregoing method.
  • the network device 700 can perform the steps performed by the first device in the embodiment corresponding to FIG. 4.
  • the network device 700 provided by this embodiment includes a processor 701, a memory 702, and a communication interface 703.
  • the processor 701, the memory 702, and the communication interface 703 are connected by a communication bus 704.
  • the memory 702 is used to store programs or instructions.
  • the processor 701 executes the method steps performed by the first device in the embodiment corresponding to FIG. 4 according to the program or the instruction read from the memory 702.
  • FIG. 8 is a schematic structural diagram of a network device 800 according to an embodiment of the present application.
  • the network device 800 may be the same device as the network device 600 of the embodiment of FIG. 5, or may be the device C2 in FIG. 1, and may implement the functions of the second device in the foregoing method.
  • the network device 800 can perform the steps performed by the second device in the embodiment corresponding to FIG.
  • the network device 800 provided by this embodiment includes a processor 801, a memory 802, and a communication interface 803.
  • the processor 801, the memory 802, and the communication interface 803 are connected by a communication bus 804.
  • the memory 802 is used to store programs or instructions.
  • the processor 801 executes the method steps performed by the second device in the embodiment corresponding to FIG. 4 according to the program or the instruction read from the memory 802.
  • the embodiment of the present application provides a computer readable storage medium.
  • the computer readable storage medium holds a computer program.
  • the processor or the computer can be caused to perform the method illustrated in FIG.
  • the embodiment of the present application further provides a network system, where the network device includes the first device and the second device, where the first device may be the network device described in the corresponding embodiment of FIG. 5 or FIG. FIG. 6 or FIG. 8 corresponds to the network device described in the embodiment.
  • the network system may also be the network shown in FIG. 1, wherein the first device may be the network device A1 of FIG. 1, and the second device may be the network device C2 of FIG.
  • first and second as used in the embodiments of the present application do not denote a sequence.
  • First and second in the embodiments of the present application denote different devices and information.
  • the processor in the above embodiments may be a microprocessor or the processor may be any conventional processor.
  • the steps of the method disclosed in the embodiment of the present invention may be directly implemented as a hardware processor, or may be performed by a combination of hardware and software modules in the processor.
  • the code implementing the above functions may be stored in a computer readable medium.
  • Computer readable media includes computer storage media.
  • a storage medium may be any available media that can be accessed by a computer.
  • the computer readable medium may be a random access memory (RAM), a read-only memory (ROM), an electrically erasable programmable read only memory (electrically erasable programmable memory) Read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, disk storage media or other magnetic storage device, or capable of carrying or storing in the form of instructions or data structures Program code and any other medium that can be accessed by a computer.
  • the computer readable medium can be a compact disc (CD), a laser disc, a compact disc, a digital video disc (DVD), a floppy disk, or a Blu-ray disc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present application provides a method, a network device, and a network system for measuring network performance, and a computer readable storage medium. The method comprises: a first device sending a link tracking message (LTM) to a second device, wherein the LTM comprises a first performance measurement parameter; the first device receiving a link tracking response (LTR) sent by the second device, wherein the LTR is responsive to the LTM, and the LTR comprises a second performance measurement parameter and a third performance measurement parameter; the first device acquiring a fourth performance measurement parameter, and acquiring, according to the first performance measurement parameter, the second performance measurement parameter, the third performance measurement parameter, and the fourth performance measurement parameter, a network performance parameter for between the first device and the second device. The technical solution of the present application completes collection of delay/loss performance statistics of a service path at one time in an end-to-end manner, thereby improving operational and maintenance efficiency.

Description

测量网络性能的方法、设备和网络系统Method, device and network system for measuring network performance
本申请要求于2018年02月14日提交中国专利局、申请号为201810152261.3、申请名称为“测量网络性能的方法、设备和网络系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 201101152261.3, filed on February 14, 2018, the entire disclosure of which is incorporated herein by reference. In this application.
技术领域Technical field
本申请涉及通信技术领域,涉及一种测量网络性能的方法、设备和网络系统。The present application relates to the field of communications technologies, and relates to a method, device, and network system for measuring network performance.
背景技术Background technique
多协议标签交换技术(multi-protocol label switching,MPLS)操作、维护和管理(operation,administration,maintenance,OAM)用于检测MPLS网络内的丢包、时延及抖动。以太网OAM(ethernet OAM,ETHOAM)用于实现跨域的端到端的丢包、时延及抖动检测。由于MPLS OAM只能域内端到端分段进行丢包、时延检测,无法检测用户网络接口(user network interface,UNI)侧丢包和时延,而ETHOAM支持跨域端到端丢包和时延检测,但需要分段部署,部署繁琐复杂。Multi-protocol label switching (MPLS) operations, maintenance, and maintenance (OAM) are used to detect packet loss, delay, and jitter in an MPLS network. Ethernet OAM (ETHOAM) is used to implement end-to-end packet loss, delay, and jitter detection. MPLS OAM can only detect packet loss and delay on the user network interface (UNI) in the end-to-end segment of the MPLS OAM. ETHOAM supports cross-domain end-to-end packet loss and time-out. Delay detection, but need to be deployed in stages, the deployment is cumbersome and complicated.
发明内容Summary of the invention
本申请提供了一种测量网络性能的方法、网络设备、网络系统和计算机可读存储介质。这些方案可以使得端到端的网络性能检测更容易实现。The present application provides a method, network device, network system, and computer readable storage medium for measuring network performance. These solutions make end-to-end network performance detection easier.
根据本申请的第一方面,一种测量网络性能的方法,包括:第一设备向第二设备发送链路跟踪消息LTM,所述LTM包括第一性能测量参数;所述第一设备接收所述第二设备发送的链路跟踪应答LTR,所述LTR响应于所述LTM,所述LTR包括第二性能测量参数和第三性能测量参数;所述第一设备获取第四性能测量参数,根据所述第一性能测量参数、所述第二性能测量参数、所述第三性能测量参数和所述第四性能测量参数获取所述第一设备和所述第二设备之间的网络性能参数。According to a first aspect of the present application, a method for measuring network performance, comprising: a first device transmitting a link tracking message LTM to a second device, the LTM including a first performance measurement parameter; the first device receiving the a link tracking response LTR sent by the second device, the LTR is responsive to the LTM, the LTR includes a second performance measurement parameter and a third performance measurement parameter; the first device acquires a fourth performance measurement parameter, according to the The first performance measurement parameter, the second performance measurement parameter, the third performance measurement parameter, and the fourth performance measurement parameter acquire network performance parameters between the first device and the second device.
根据本申请的第二方面,一种测量网络性能的方法,包括:第二设备接收第一设备发送的链路跟踪消息LTM,所述LTM包括第一性能测量参数;所述第二设备根据所述LTM获得第二性能测量参数和第三性能测量参数;所述第二设备向所述第一设备返回链路跟踪应答LTR,所述LTR响应于所述LTM,所述LTR包括所述第二性能测量参数和所述第三性能测量参数;所述LTR用于使得当所述第一设备收到所述LTR时获取第四性能测量参数,根据所述第一性能测量参数、所述第二性能测量参数、所述第三性能测量参数和所述第四性能测量参数获取所述第一设备和所述第二设备之间的网络性能参数。According to a second aspect of the present application, a method for measuring network performance, comprising: receiving, by a second device, a link tracking message LTM sent by a first device, where the LTM includes a first performance measurement parameter; The LTM obtains a second performance measurement parameter and a third performance measurement parameter; the second device returns a link tracking response LTR to the first device, the LTR is responsive to the LTM, and the LTR includes the second a performance measurement parameter and the third performance measurement parameter; the LTR is configured to acquire a fourth performance measurement parameter when the first device receives the LTR, according to the first performance measurement parameter, the second The performance measurement parameter, the third performance measurement parameter, and the fourth performance measurement parameter acquire network performance parameters between the first device and the second device.
在第一方面或第二方面的基础上,所述第一性能测量参数包括所述第一设备发出所述LTM时的第一计数值,所述第二性能测量参数包括所述第二设备收到所述LTM时的第二计数值,所述第三性能测量参数包括所述第二设备发出所述LTR时的第三计数值,所述第四性能测量参数包括所述第一设备收到所述LTR时的第四计数值;所述第一设 备根据所述第一计数值、所述第二计数值、所述第三计数值、第四计数值获取所述第一设备与所述第二设备之间的丢包数。In a first aspect or the second aspect, the first performance measurement parameter includes a first count value when the first device sends the LTM, and the second performance measurement parameter includes the second device a second count value when the LTM is received, the third performance measurement parameter includes a third count value when the second device issues the LTR, and the fourth performance measurement parameter includes the first device received a fourth count value at the time of the LTR; the first device acquiring the first device and the first count value, the second count value, the third count value, and the fourth count value according to the first count value The number of lost packets between the second devices.
在第一方面或第二方面的基础上,所述第一性能测量参数包括所述第一设备发送所述LTM的第一时戳,所述第二性能测量参数包括所述第二设备收到所述LTM时的第二时戳,所述第三性能测量参数包括所述第二设备发出所述LTR时的第三时戳,所述第四性能测量参数包括所述第一设备收到所述LTR时的第四时戳;所述第一设备根据以下公式获取所述第一设备与所述第二设备之间的网络时延:|第四时戳-第一时戳|-|第三时戳-第二时戳|。In a first aspect or the second aspect, the first performance measurement parameter includes a first timestamp that the first device sends the LTM, and the second performance measurement parameter includes that the second device receives a second timestamp of the LTM, the third performance measurement parameter includes a third timestamp when the second device sends the LTR, and the fourth performance measurement parameter includes the first device receiving a fourth timestamp when the LTR is described; the first device acquires a network delay between the first device and the second device according to the following formula: | fourth time stamp - first time stamp | - | Three time stamp - second time stamp |.
在第一方面或第二方面的基础上,所述第一性能测量参数包括所述第一设备发出所述LTM时的第一计数值和所述第一设备发送所述LTM的第一时戳,所述第二性能测量参数包括所述第二设备收到所述LTM时的第二计数值和所述第二设备收到所述LTM时的第二时戳,所述第三性能测量参数包括所述第二设备发出所述LTR时的第三计数值和所述第二设备发出所述LTR时的第三时戳,所述第四性能测量参数包括所述第一设备收到所述LTR时的第四计数值和所述第一设备收到所述LTR时的第四时戳;所述第一设备根据所述第一计数值、所述第二计数值、所述第三计数值、第四计数值获取所述第一设备与所述第二设备之间的丢包数;所述第一设备根据以下公式获取所述第一设备与所述第二设备之间的网络时延:|第四时戳-第一时戳|-|第三时戳-第二时戳|。In a first aspect or the second aspect, the first performance measurement parameter includes a first count value when the first device sends the LTM and a first time stamp when the first device sends the LTM The second performance measurement parameter includes a second count value when the second device receives the LTM and a second time stamp when the second device receives the LTM, and the third performance measurement parameter And including a third count value when the second device sends the LTR and a third time stamp when the second device sends the LTR, where the fourth performance measurement parameter includes that the first device receives the a fourth count value at the time of the LTR and a fourth time stamp when the first device receives the LTR; the first device according to the first count value, the second count value, the third count And the fourth count value is used to obtain the number of lost packets between the first device and the second device; when the first device acquires the network between the first device and the second device according to the following formula Delay: | fourth time stamp - first time stamp | - | third time stamp - second time stamp |.
根据本申请的第三方面,一种第二设备包括收发模块和处理模块,其中,所述收发模块,用于接收第一设备发送的链路跟踪消息LTM,所述LTM包括第一性能测量参数;所述处理模块,用于获取根据所述LTM,获取第二性能测量参数和第三性能测量参数,所述收发模块,用于向所述第一设备发送对应所述LTM的链路跟踪应答LTR,所述LTR包括所述第二性能测量参数和所述第三性能测量参数,使得所述第一设备获取第四性能测量参数,根据所述第一性能测量参数、第二性能测量参数、第三性能测量参数和第四性能测量参数获取所述第一设备与所述第二设备之间的网络性能测量参数。According to a third aspect of the present application, a second device includes a transceiver module and a processing module, wherein the transceiver module is configured to receive a link tracking message LTM sent by a first device, where the LTM includes a first performance measurement parameter. The processing module is configured to obtain, according to the LTM, a second performance measurement parameter and a third performance measurement parameter, where the transceiver module is configured to send a link tracking response corresponding to the LTM to the first device. The LTR, the LTR includes the second performance measurement parameter and the third performance measurement parameter, so that the first device acquires a fourth performance measurement parameter, according to the first performance measurement parameter, the second performance measurement parameter, The third performance measurement parameter and the fourth performance measurement parameter acquire network performance measurement parameters between the first device and the second device.
在第三方面的基础上,所述第一性能测量参数包括所述第一设备发出所述LTM时的第一计数值,所述第二性能测量参数包括所述收发模块收到所述LTM时的第二计数值,所述第三性能测量参数包括所述收发模块发出所述LTR时的第三计数值,所述第四性能测量参数包括所述第一设备收到所述LTR时的第四计数值。On the basis of the third aspect, the first performance measurement parameter includes a first count value when the first device sends the LTM, and the second performance measurement parameter includes when the transceiver module receives the LTM a second count value, the third performance measurement parameter includes a third count value when the transceiver module sends the LTR, and the fourth performance measurement parameter includes a first time when the first device receives the LTR Four count values.
在第三方面的基础上,所述第一性能测量参数包括所述第一设备发送所述LTM的第一时戳,所述第二性能测量参数包括所述收发模块收到所述LTM时的第二时戳,所述第三性能测量参数包括所述收发模块发出所述LTR时的第三时戳,所述第四性能测量参数包括所述第一设备收到所述LTR时的第四时戳。On the basis of the third aspect, the first performance measurement parameter includes a first timestamp that the first device sends the LTM, and the second performance measurement parameter includes when the transceiver module receives the LTM a second time measurement parameter, the third performance measurement parameter includes a third timestamp when the transceiver module sends the LTR, and the fourth performance measurement parameter includes a fourth time when the first device receives the LTR Time stamp.
在第三方面的基础上,所述第一性能测量参数包括所述第一设备发出所述LTM时的第一计数值和所述第一设备发送所述LTM的第一时戳,所述第二性能测量参数包括所述收发模块收到所述LTM时的第二计数值和所述收发模块收到所述LTM时的第二时戳,所述第三性能测量参数包括所述收发模块发出所述LTR时的第三计数值和所述收发模块发出所述LTR时的第三时戳,所述第四性能测量参数包括所述第一设备收到所述LTR 时的第四计数值和所述第一设备收到所述LTR时的第四时戳。In a third aspect, the first performance measurement parameter includes a first count value when the first device sends the LTM and a first time stamp when the first device sends the LTM, where the first The second performance measurement parameter includes a second count value when the transceiver module receives the LTM and a second time stamp when the transceiver module receives the LTM, and the third performance measurement parameter includes the transceiver module sends out a third count value at the time of the LTR and a third time stamp when the transceiver module issues the LTR, and the fourth performance measurement parameter includes a fourth count value when the first device receives the LTR and The fourth time stamp when the first device receives the LTR.
根据本申请的第四方面,一种第一设备,包括收发模块和处理模块,其中,所述收发模块,用于向第二设备发送链路跟踪消息LTM,所述LTM包括第一性能测量参数;接收所述第二设备发送的链路跟踪应答LTR,所述LTR响应于所述LTM,所述LTR包括第二性能测量参数和第三性能测量参数;所述处理模块,用于获取第四性能测量参数,根据所述第一性能测量参数、所述第二性能测量参数、所述第三性能测量参数和所述第四性能测量参数获取所述第一设备和所述第二设备之间的网络性能参数。According to a fourth aspect of the present application, a first device includes a transceiver module and a processing module, wherein the transceiver module is configured to send a link tracking message LTM to a second device, where the LTM includes a first performance measurement parameter. Receiving a link tracking response LTR sent by the second device, the LTR is responsive to the LTM, the LTR includes a second performance measurement parameter and a third performance measurement parameter, and the processing module is configured to acquire a fourth a performance measurement parameter, between the first device and the second device, according to the first performance measurement parameter, the second performance measurement parameter, the third performance measurement parameter, and the fourth performance measurement parameter Network performance parameters.
在第四方面的基础上,所述第一性能测量参数包括所述收发模块发出所述LTM时的第一计数值,所述第二性能测量参数包括所述第二设备收到所述LTM时的第二计数值,所述第三性能测量参数包括所述第二设备发出所述LTR时的第三计数值,所述第四性能测量参数包括所述收发模块收到所述LTR时的第四计数值;所述处理模块根据所述第一性能测量参数、所述第二性能测量参数、所述第三性能测量参数和所述第四性能测量参数获取所述第一设备和所述第二设备之间的网络性能参数包括:所述处理模块根据所述第一计数值、所述第二计数值、所述第三计数值、第四计数值获取所述第一设备与所述第二设备之间的丢包数。On the basis of the fourth aspect, the first performance measurement parameter includes a first count value when the transceiver module sends the LTM, and the second performance measurement parameter includes when the second device receives the LTM a second count value, the third performance measurement parameter includes a third count value when the second device sends the LTR, and the fourth performance measurement parameter includes a first time when the transceiver module receives the LTR a fourth count value; the processing module acquires the first device and the first according to the first performance measurement parameter, the second performance measurement parameter, the third performance measurement parameter, and the fourth performance measurement parameter The network performance parameter between the two devices includes: the processing module acquiring, according to the first count value, the second count value, the third count value, and the fourth count value, the first device and the first The number of lost packets between two devices.
在第四方面的基础上,所述第一性能测量参数包括所述收发模块发送所述LTM的第一时戳,所述第二性能测量参数包括所述第二设备收到所述LTM时的第二时戳,所述第三性能测量参数包括所述第二设备发出所述LTR时的第三时戳,所述第四性能测量参数包括所述收发模块收到所述LTR时的第四时戳;所述处理模块根据所述第一性能测量参数、所述第二性能测量参数、所述第三性能测量参数和所述第四性能测量参数获取所述第一设备和所述第二设备之间的网络性能参数:所述处理模块根据以下公式获取所述第一设备与所述第二设备之间的网络时延:|第四时戳-第一时戳|-|第三时戳-第二时戳|。On the basis of the fourth aspect, the first performance measurement parameter includes a first timestamp that the transceiver module sends the LTM, and the second performance measurement parameter includes when the second device receives the LTM a second time measurement parameter, the third performance measurement parameter includes a third timestamp when the second device sends the LTR, and the fourth performance measurement parameter includes a fourth time when the transceiver module receives the LTR a time stamp; the processing module acquires the first device and the second according to the first performance measurement parameter, the second performance measurement parameter, the third performance measurement parameter, and the fourth performance measurement parameter The network performance parameter between the devices: the processing module acquires a network delay between the first device and the second device according to the following formula: | fourth time stamp - first time stamp | - | third time Poke - second time stamp |
在第四方面的基础上,所述第一性能测量参数包括所述收发模块发出所述LTM时的第一计数值和所述收发模块发送所述LTM的第一时戳,所述第二性能测量参数包括所述第二设备收到所述LTM时的第二计数值和所述第二设备收到所述LTM时的第二时戳,所述第三性能测量参数包括所述第二设备发出所述LTR时的第三计数值和所述第二设备发出所述LTR时的第三时戳,所述第四性能测量参数包括所述收发模块收到所述LTR时的第四计数值和所述收发模块收到所述LTR时的第四时戳;所述处理模块根据所述第一性能测量参数、所述第二性能测量参数、所述第三性能测量参数和所述第四性能测量参数获取所述第一设备和所述第二设备之间的网络性能参数:所述处理模块根据所述第一计数值、所述第二计数值、所述第三计数值、第四计数值获取所述第一设备与所述第二设备之间的丢包数;所述处理模块根据以下公式获取所述第一设备与所述第二设备之间的网络时延:|第四时戳-第一时戳|-|第三时戳-第二时戳|。On the basis of the fourth aspect, the first performance measurement parameter includes a first count value when the transceiver module sends the LTM, and a first time stamp when the transceiver module sends the LTM, the second performance The measurement parameter includes a second count value when the second device receives the LTM and a second time stamp when the second device receives the LTM, and the third performance measurement parameter includes the second device a third count value when the LTR is issued and a third time stamp when the second device issues the LTR, where the fourth performance measurement parameter includes a fourth count value when the transceiver module receives the LTR a fourth timestamp when the transceiver module receives the LTR; the processing module according to the first performance measurement parameter, the second performance measurement parameter, the third performance measurement parameter, and the fourth The performance measurement parameter acquires network performance parameters between the first device and the second device: the processing module is configured according to the first count value, the second count value, the third count value, and fourth Counting the value to obtain the first device and the second device The number of lost packets; the processing module obtains a network delay between the first device and the second device according to the following formula: | fourth time stamp - first time stamp | - | third time stamp - Second time stamp |.
根据本申请的第五方面,一种网络系统,包括第一设备和第二设备,所述第一设备为上述第四方面所述的第一设备,所述第二设备为上述第三方面所述的第二设备。According to a fifth aspect of the present application, a network system includes a first device and a second device, the first device is the first device described in the foregoing fourth aspect, and the second device is in the foregoing third aspect The second device described.
根据本申请的第六方面,一种计算机可读存储介质,其特征在于,包括程序指令,当 该程序指令被执行时,执行上述第一方面和第二方面所述的方法。According to a sixth aspect of the present application, a computer readable storage medium, comprising program instructions, when the program instructions are executed, performing the methods of the first aspect and the second aspect.
在以上实施方式中,所述第一设备位于第一网络中,所述第二设备位于第二网络中。In the above embodiment, the first device is located in a first network, and the second device is located in a second network.
根据本申请实施例的方法,第一设备可以作为网路性能检测的源端MEP,第二设备可以作为网络性能检测宿端MEP,源端MEP发送LTM给宿端MEP,所述LTM包括第一性能测量参数,宿端MEP接收所述源端MEP发送的LTM,向所述源端MEP发送对应该LTM的LTR,所述LTR包括第二性能测量参数和第三性能测量参数,所述源端MEP获取第四性能测量参数,根据所述第一性能测量参数、所述第二性能测量参数、第三性能测量参数和第四性能测量参数,获得所述源端MEP与所述宿端MEP之间的性能测量参数,比如时延、丢包数等。根据本申请实施例,由于从源端MEP到宿端MEP的性能测量参数被携带在LTM中发送到宿端MEP,而根据IEEE 802.1ag及ITU-T Y.1731的规定,链路跟踪报文(LTM/LTR)可以穿越不同的网络,只要源端MEP与宿端MEP位于同一MD内且具有相同的MD级别即可。因此,本申请实施例的技术方案,实现网络性能检测时,只需要在源端MEP所在的第一设备以及宿端MEP所在的第二设备上配置MEP及ETHOAM,无需在源端MEP至宿端MEP经由的一个或多个网络中分别部署ETHOAM,大大降低了配置复杂度。According to the method of the embodiment of the present application, the first device may serve as the source MEP of the network performance detection, the second device may serve as the network performance detection sink MEP, and the source MEP sends the LTM to the sink MEP, where the LTM includes the first a performance measurement parameter, the sink MEP receives the LTM sent by the source MEP, and sends an LTR corresponding to the LTM to the source MEP, where the LTR includes a second performance measurement parameter and a third performance measurement parameter, where the source end The MEP obtains a fourth performance measurement parameter, and obtains the source MEP and the sink MEP according to the first performance measurement parameter, the second performance measurement parameter, the third performance measurement parameter, and the fourth performance measurement parameter. Performance measurement parameters, such as delay, number of lost packets, etc. According to the embodiment of the present application, since the performance measurement parameters from the source MEP to the sink MEP are carried in the LTM and sent to the sink MEP, according to the provisions of IEEE 802.1ag and ITU-T Y.1731, the link tracking message (LTM/LTR) can traverse different networks as long as the source MEP and the sink MEP are in the same MD and have the same MD level. Therefore, in the technical solution of the embodiment of the present application, the MEP and the ETHOAM need to be configured on the first device where the source MEP is located and the second device where the sink MEP is located, without the MEP to the sink at the source end. ETHOAM is deployed in one or more networks through which the MEP is deployed, which greatly reduces configuration complexity.
附图说明DRAWINGS
为了更清楚地说明本发明实施例的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the embodiments or the prior art description will be briefly described below.
图1为本申请实施例提供的一种网络系统示意图;FIG. 1 is a schematic diagram of a network system according to an embodiment of the present application;
图2A-2C为本申请实施例提供的一种LTM的结构示意图;2A-2C are schematic structural diagrams of an LTM according to an embodiment of the present application;
图3A-3C为本申请实施例提供的一种LTR的结构示意图;3A-3C are schematic structural diagrams of an LTR according to an embodiment of the present application;
图4为本申请实施例提供的一种网络性能测量方法流程示意图;4 is a schematic flowchart of a network performance measurement method according to an embodiment of the present application;
图5为本申请实施例提供的一种的第一设备的结构示意图;FIG. 5 is a schematic structural diagram of a first device according to an embodiment of the present disclosure;
图6为本申请实施例提供的一种的第二设备的结构示意图;FIG. 6 is a schematic structural diagram of a second device according to an embodiment of the present disclosure;
图7为本申请实施例提供的一种的第一设备的结构示意图;FIG. 7 is a schematic structural diagram of a first device according to an embodiment of the present disclosure;
图8为本申请实施例提供的一种的第二设备的结构示意图。FIG. 8 is a schematic structural diagram of a second device according to an embodiment of the present disclosure.
具体实施方式Detailed ways
下面结合附图,对本发明的实施例进行描述。Embodiments of the present invention will be described below with reference to the accompanying drawings.
本文中描述的技术可用于各种通信系统,例如当前2G,3G通信系统和下一代通信系统,例如全球移动通信系统(Global System for Mobile communications,GSM),码分多址(Code Division Multiple Access,CDMA)系统,时分多址(Time Division Multiple Access,TDMA)系统,宽带码分多址(Wideband Code Division Multiple Access Wireless,WCDMA),频分多址(Frequency Division Multiple Addressing,FDMA)系统,正交频分多址(Orthogonal Frequency-Division Multiple Access,OFDMA)系统,单载波FDMA(SC-FDMA)系统,通用分组无线业务(General Packet Radio Service,GPRS)系统,长期演进(Long Term Evolution,LTE)系统,报文传输网络(packet transport network,PTN)网络系统,路由器网络系统,多业务传输平台(multi-service transmission platform,MSTP)网络系统,以及其他此类通信系统。The techniques described herein can be used in a variety of communication systems, such as current 2G, 3G communication systems and next generation communication systems, such as Global System for Mobile communications (GSM), Code Division Multiple Access (Code Division Multiple Access,). CDMA) system, Time Division Multiple Access (TDMA) system, Wideband Code Division Multiple Access Wireless (WCDMA), Frequency Division Multiple Addressing (FDMA) system, orthogonal frequency Orthogonal Frequency-Division Multiple Access (OFDMA) system, single carrier FDMA (SC-FDMA) system, General Packet Radio Service (GPRS) system, Long Term Evolution (LTE) system, A packet transport network (PTN) network system, a router network system, a multi-service transmission platform (MSTP) network system, and other such communication systems.
本文中涉及到的OAM,可以是多协议标签交换传送子集(multi-protocol label switching transport profile,MPLS-TP)OAM,MPLS OAM,ETHOAM,以及其他此类OAM。The OAM referred to herein may be a multi-protocol label switching transport profile (MPLS-TP) OAM, MPLS OAM, ETHOAM, and other such OAM.
另外,本文中术语“系统”和“网络”在本文中常被可互换使用。本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。Additionally, the terms "system" and "network" are used interchangeably herein. The term "and/or" in this context is merely an association describing the associated object, indicating that there may be three relationships, for example, A and / or B, which may indicate that A exists separately, and both A and B exist, respectively. B these three situations. In addition, the character "/" in this article generally indicates that the contextual object is an "or" relationship.
本申请提到的维护实体(maintenance entity,ME)、维护实体组(ME group,MEG)维护端点(MEG end point,MEP)、维护中间节点(MEG intermediate point,MIP)、链路跟踪消息(link trace message,LTM)、链路跟踪应答(link trace reply,LTR)、丢包测量报文(loss measurement message,LMM)、丢包测量应答(loss measurement reply,LMR)、时延测量消息(delay measurement message,DMM)、时延测量应答(delay measurement reply,DMR),在没有特别定义时,均可参考ITU-T Y.1731(05/2006)及IEEE 802.1ag和802.1ah。Maintenance entity (ME), ME group (MEG) maintenance end point (MEG), MEG intermediate point (MIP), link tracking message (link) Trace message (LTM), link trace reply (LTR), loss measurement message (LMM), loss measurement reply (LMR), delay measurement message (delay measurement) Message, DMM), delay measurement reply (DMR), when not specifically defined, can refer to ITU-T Y.1731 (05/2006) and IEEE 802.1ag and 802.1ah.
本申请涉及的术语:Terms referred to in this application:
操作、管理和维护(OAM):一组网络管理功能,提供了网络故障指示、性能信息和数据以及诊断功能。范例包括ATM OAM[ITU-T I-610]以及IEEE标准802.3ah OAM。Operations, Administration, and Maintenance (OAM): A set of network management functions that provide network fault indication, performance information and data, and diagnostics. Examples include ATM OAM [ITU-T I-610] and IEEE standard 802.3ah OAM.
连接故障管理(connectivity fault management,CFM):包括了检测、校验和隔离虚拟桥接局域网中连接失效的功能。这些功能可以用于由多个独立组织操作的网络中,每一个组织具有对彼此设备的受限管理接入能力。Connectivity fault management (CFM): Includes the ability to detect, verify, and isolate connections in a virtual bridged LAN. These functions can be used in networks operated by multiple independent organizations, each with limited management access capabilities to each other's devices.
域服务接入点(domain service access point,DSAP):维护域中能够提供连接给维护域外部系统的一组SAP的成员。在网桥中,每一个DSAP是一个增强内部子层服务(enhanced internal sublayer service,EISS)或内部子层服务(internal sublayer service,ISS)的实例。Domain service access point (DSAP): A member of a group of SAPs that maintain a connection to a system outside the maintenance domain. In the bridge, each DSAP is an instance of an enhanced internal sublayer service (EISS) or an internal sublayer service (ISS).
维护组端点(MEP):MEP是一个活跃的被管CFM实体,关联于服务实例的一个特定DSAP,可以产生和接收CFM帧并跟踪任何响应。它是一个单一MA的端点,并且对于相同MA中的每一个其它MEP,是一个独立维护实体的端点。Maintenance Group Endpoint (MEP): A MEP is an active managed CFM entity associated with a particular DSAP of a service instance that can generate and receive CFM frames and track any response. It is the endpoint of a single MA and is the endpoint of an independent maintenance entity for every other MEP in the same MA.
维护组(MA):一组MEP,使用相同的维护组标识(MAID)和MD级别配置其中的每一个。MA可以被认为是在一组这样配置的MEP中的维护实体的完整网格。Maintenance Group (MA): A group of MEPs that use the same Maintenance Group Identifier (MAID) and MD level configuration for each of them. A MA can be thought of as a complete mesh of maintenance entities in a set of MEPs so configured.
维护组端点标识符(MEPID):一个整数,在给定MA范围内唯一标识一个特定的MEP。Maintenance Group Endpoint Identifier (MEPID): An integer that uniquely identifies a particular MEP within a given MA range.
维护组标识符(maintenance association identifier,MAID):维护组的标识符,MAID在CFP将保护的随机串联的服务实例的域内是唯一的。MAID具有两个组成部分:维护域名字和短MA名字。Maintenance association identifier (MAID): An identifier of a maintenance group that is unique within the domain of a randomly concatenated service instance that the CFP will protect. The MAID has two components: the maintenance domain name and the short MA name.
维护域(maintenance domain,MD):其连接故障将被管理的网络或部分网络。通过一组DSAP来定义维护域的边界,每一个DSAP成为到服务实例的连接点。Maintenance domain (MD): A network or part of a network whose connection failure will be managed. The boundaries of the maintenance domain are defined by a set of DSAPs, each of which becomes the connection point to the service instance.
维护域中间点(maintenance domain intermediate point,MIP):MIP是一个CFM实体,可以包含一个或多个MIP半功能(MIP Half Function,MHF)。Maintenance domain intermediate point (MIP): A MIP is a CFM entity that can contain one or more MIP Half Functions (MHF).
维护域名字(maintenance domain name,MDN):一个特定维护域的标识符,在 CFM将保护的随机串联的服务实例的域内唯一。Maintenance domain name (MDN): An identifier for a particular maintenance domain that is unique within the domain of a randomly concatenated service instance that CFM will protect.
维护实体(maintenance entity,ME):在单个MA内两个MEP之间的一种点到点关系。Maintenance entity (ME): A point-to-point relationship between two MEPs within a single MA.
维护点(maintenance point,MP):一个MEP或MIP。Maintenance point (MP): A MEP or MIP.
MD级别(MD level):CFM帧中域内的一个整数,被用于与虚拟局域网(virtual local area network,VLAN)标记中的虚拟局域网标识(VLAN identifier,VID)一起标识CFM消息所属的MA,并且从而确定关注CFM帧内容的以及允许CFM帧通过的MP。MD level: An integer in the field in the CFM frame, which is used to identify the MA to which the CFM message belongs, together with the virtual local area network identifier (VID) in the virtual local area network (VLAN) tag, and Thereby determining the MP that is interested in the contents of the CFM frame and allowing the CFM frame to pass.
链路跟踪消息(LTM):由MEP发起的CFM帧,并且从MIP到MIP转发,每一个MIP生成一个LTR,直到LTM到达其目的地或不能再被转发的那个点。Link Tracking Message (LTM): A CFM frame initiated by a MEP and forwarded from MIP to MIP, each MIP generating an LTR until the point at which the LTM reaches its destination or can no longer be forwarded.
链路跟踪应答(LTR):由MIP或MEP发送的单播CFM帧,以响应接收到一个LTM。Link Tracking Answer (LTR): A unicast CFM frame sent by a MIP or MEP in response to receiving an LTM.
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚地描述。The technical solutions in the embodiments of the present invention will be clearly described below with reference to the accompanying drawings in the embodiments of the present invention.
如图1所示,一种网络系统包括城域网络1、城域网络2及骨干网,城域网络1、城域网络2及骨干网之间通过用户网络接口(user network interface,UNI)通信连接。城域网络1包括网络设备A1和A2,骨干网包括网络设备B1和B2,城域网络2包括网络设备C1和C2。CE1依次经由网络设备A1、A2、B1、B2、C1和C2与CE2通信。网络设备A1、A2、B1、B2、C1和C2用于承载和转发业务,网络设备A1、A2、B1、B2、C1和C2可以是分组传送网(packet transport network,PTN)设备。CE1和CE2为第三方设备,通过配置LT进行业务的连通性、丢包和时延检测。可选地,CE可以是路由器或交换机或主机。As shown in FIG. 1 , a network system includes a metropolitan area network 1, a metropolitan area network 2, and a backbone network, and a metropolitan area network 1, a metropolitan area network 2, and a backbone network communicate through a user network interface (UNI). connection. The metropolitan area network 1 includes network devices A1 and A2, the backbone network includes network devices B1 and B2, and the metropolitan area network 2 includes network devices C1 and C2. CE1 in turn communicates with CE2 via network devices A1, A2, B1, B2, C1 and C2. Network devices A1, A2, B1, B2, C1, and C2 are used to carry and forward traffic, and network devices A1, A2, B1, B2, C1, and C2 may be packet transport network (PTN) devices. CE1 and CE2 are third-party devices. Configure LT for service connectivity, packet loss, and delay detection. Alternatively, the CE can be a router or a switch or a host.
在该网络系统中,网络设备A1配置有维护联盟边缘端点(maintenance association endpoint,MEP):MEP1,网络设备C2上配置MEP2。MEP1和MEP2位于同一个维护域(maintenance domain,MD)。对于从CE1经由A1、A2、B1、B2、C1、C2传输到CE2的报文来说,MEP1为源MEP,而MEP2为宿端MEP。MEP1和MEP2之间的其他设备上也可以配置维护联盟内部节点(maintenance association intermediate endpoint,MIP)。可选地,MEP和MIP可以配置在相应设备的UNI所在的端口上,比如MEP1可以配置在网络设备A1的UNI端口,MEP2可以配置在网络设备C2的UNI端口上。当在源MEP(比如图1的MEP1)上发起链路跟踪(link trace,LT)时,MEP1向宿端MEP2发出链路跟踪消息(LTM),宿端MEP2接收到该LTM,向源端MEP1返回链路跟踪应答(LTR),MEP1收到MEP2返回的响应于该LTM的LTR,确定MEP1到MEP2的业务链路连通性正常。如果在源端MEP1到宿端MEP2之间的其他网络设备(比如图1的网络设备B1、B2)上配置有MIP,则每个收到源端MEP1发送的LTM的MIP,向源端MEP1返回响应于该LTM的LTR,以确认从MEP1到该MIP的业务链路连通性正常,并且该MIP往从MEP1到MEP2的链路上的下游设备继续转发MEP1发送的LTM,直到宿端MEP2。当然,这些MIP与MEP1、MEP2位于同一MD并且具有相同的MD级别。In the network system, the network device A1 is configured with a maintenance association endpoint (MEP): MEP1, and MEP2 is configured on the network device C2. MEP1 and MEP2 are located in the same maintenance domain (MD). For packets transmitted from CE1 to CE2 via A1, A2, B1, B2, C1, and C2, MEP1 is the source MEP and MEP2 is the sink MEP. A maintenance association intermediate endpoint (MIP) can also be configured on other devices between MEP1 and MEP2. Optionally, the MEP and the MIP can be configured on the UNI port of the network device A1. For example, the MEP1 can be configured on the UNI port of the network device A1, and the MEP2 can be configured on the UNI port of the network device C2. When a link trace (LT) is initiated on the source MEP (such as the MEP1 in FIG. 1), the MEP1 sends a link trace message (LTM) to the sink MEP2, and the sink MEP2 receives the LTM to the source MEP1. Returning the link tracking response (LTR), MEP1 receives the LTR returned by MEP2 in response to the LTM, and determines that the service link connectivity of MEP1 to MEP2 is normal. If MIP is configured on other network devices (such as network devices B1 and B2 in FIG. 1) between the source MEP1 and the sink MEP2, the MIP of the LTM sent by the source MEP1 is returned to the source MEP1. In response to the LTR of the LTM, it is confirmed that the service link connectivity from MEP1 to the MIP is normal, and the downstream device of the MIP to the link from MEP1 to MEP2 continues to forward the LTM sent by MEP1 until the sink MEP2. Of course, these MIPs are in the same MD as MEP1 and MEP2 and have the same MD level.
ITU-T Y.1731所规范的OAM功能除了故障管理外还包括性能管理,性能管理参数包括帧丢失、帧时延和抖动。帧丢失是指入口设备发送的业务帧与出口设备接收到的业务帧之差。帧时延是指环路时延,在目的节点使用环回模式,定义为发送一帧到接收到环回帧之间的时间差。帧时延抖动是指时延变化,即一段时间间隔内发送两次环 回报文,分别计算帧时延并取两个帧时延的绝对差。The OAM functions specified in ITU-T Y.1731 include performance management in addition to fault management. Performance management parameters include frame loss, frame delay, and jitter. Frame loss refers to the difference between the service frame sent by the ingress device and the service frame received by the egress device. Frame delay refers to the loop delay. The loopback mode is used in the destination node and is defined as the time difference between sending a frame and receiving a loopback frame. The frame delay jitter refers to the delay variation, that is, the ring report is sent twice in a time interval, and the frame delay is calculated separately and the absolute difference of the delay of the two frames is taken.
ETHOAM包括故障管理和性能管理,故障管理主要包括连通性检测功能、环回功能、LT功能、告警指示、远端故障告警和测试功能等;性能管理包括帧丢失、帧时延和时延抖动的管理,ETHOAM机制由IEEE 802.3ah、IEEE 802.1ag和ITU-T Y.1731共同定义。ETHOAM includes fault management and performance management. Fault management mainly includes connectivity detection, loopback, LT, alarm indication, remote fault alarm and test functions. Performance management includes frame loss, frame delay and delay jitter. Management, ETHOAM mechanism is defined by IEEE 802.3ah, IEEE 802.1ag and ITU-T Y.1731.
参考图4,本申请实施例提供了一种测量网络性能的方法,可以用于测量网络的性能,网络性能参数包括丢包率、时延及抖动中的一个或多个。该方法可以应用于图1的网络。该方法包括:Referring to FIG. 4, an embodiment of the present application provides a method for measuring network performance, which may be used to measure network performance, where network performance parameters include one or more of packet loss rate, delay, and jitter. This method can be applied to the network of FIG. The method includes:
S10、第一设备发送LTM给第二设备,该LTM包括第一性能测量参数。S10. The first device sends the LTM to the second device, where the LTM includes the first performance measurement parameter.
S12、第二设备接收所述LTM,并向所述第一设备返回对应该LTM的LTR,所述LTR包括第二性能测量参数和第三性能测量参数。S12. The second device receives the LTM, and returns an LTR corresponding to the LTM to the first device, where the LTR includes a second performance measurement parameter and a third performance measurement parameter.
S14、所述第一设备接收所述LTR,获取第四性能测量参数,根据所述第一性能测量参数、所述第二性能测量参数、第三性能测量参数和第四测量参数获取所述第一设备与所述第二设备之间的性能测量参数。S14. The first device receives the LTR, acquires a fourth performance measurement parameter, and obtains the first parameter according to the first performance measurement parameter, the second performance measurement parameter, the third performance measurement parameter, and the fourth measurement parameter. A performance measurement parameter between a device and the second device.
具体地,所述第一设备可以是图1的城域网络1中与CE1通信的网络设备A1,网络设备A1可以是城域网络1中的PE设备,CE1通过A1接入城域网络1。所述第二设备可以是图1的城域网络2中与CE2通信的网络设备C2,所述网络设备C2可以是PE设备,CE2通过C2接入城域网络2。CE1经由城域网络1和城域网络2与CE2通信。所述第一设备和所述第二设备上部署有MEP,比如在网络设备A1上部署源端MEP。在网络设备C2上部署宿端MEP。当第一设备上部署MEP时,所述第一设备的MAC地址可以是该部署在第一设备上的MEP的MAC地址。当第二设备上部署MEP时,所述第二设备的MAC地址可以是该部署在第二设备上的MEP的MAC地址。Specifically, the first device may be the network device A1 that communicates with the CE1 in the metropolitan area network 1 of FIG. 1, and the network device A1 may be the PE device in the metropolitan area network 1, and the CE1 accesses the metropolitan area network 1 through A1. The second device may be the network device C2 in the metropolitan area network 2 of FIG. 1 that communicates with the CE2. The network device C2 may be a PE device, and the CE2 accesses the metropolitan area network 2 through C2. CE1 communicates with CE2 via metropolitan area network 1 and metropolitan area network 2. The MEP is deployed on the first device and the second device, for example, the source MEP is deployed on the network device A1. The sink MEP is deployed on the network device C2. When the MEP is deployed on the first device, the MAC address of the first device may be the MAC address of the MEP deployed on the first device. When the MEP is deployed on the second device, the MAC address of the second device may be the MAC address of the MEP deployed on the second device.
所述源端MEP在该源端MEP所在的MD内组播该LTM,该MD内的MIP收到该LTM,确定该MIP位于从源端MEP到宿端MEP的通道上,则该MIP向源端MEP发送对应该LTM的LTR,该MIP向源端MEP发送的LTR包括该源端MEP的MAC地址。该MIP在从源端MEP到宿端MEP的方向上转发该LTM。The source MEP multicasts the LTM in the MD where the source MEP is located, and the MIP in the MD receives the LTM, and determines that the MIP is located on the channel from the source MEP to the sink MEP, and the MIP is sent to the source. The end MEP sends an LTR corresponding to the LTM, and the LTR sent by the MIP to the source MEP includes the MAC address of the source MEP. The MIP forwards the LTM in the direction from the source MEP to the sink MEP.
在一种实施例中,所述LTM也可以包括所述第一设备的媒体接入控制(media access control,MAC)地址和所述第二设备的MAC地址。所述LTR也可以包括所述第一设备的MAC地址和第二设备的MAC地址。In an embodiment, the LTM may also include a media access control (MAC) address of the first device and a MAC address of the second device. The LTR may also include a MAC address of the first device and a MAC address of the second device.
在一种实施例中,所述第一性能测量参数包括所述源端MEP发送LTM时的时戳TxTimeStampf(以下称为“第一时戳”)和所述源端MEP发出所述LTM时的源端计数值TxFCf(以下称为“第一计数值”)中的一个或多个。In an embodiment, the first performance measurement parameter includes a time stamp TxTimeStampf when the source MEP sends the LTM (hereinafter referred to as “first time stamp”) and when the source MEP sends the LTM One or more of the source count value TxFCf (hereinafter referred to as "first count value").
在一种实施例中,所述第一性能测量参数可以携带在所述LTM的新增类型-长度-值(type-length-value,TLV)中。当所述第一性能测量参数包括所述第一计数值时,如图2A所示,所述LTM包括第一TLV,所述第一计数值携带在所述第一TLV中。当所述第一性能测量参数包括所述第一时戳时,如图2B所示,所述LTM包括第二TLV,所述第一时戳携带在所述第一TLV中。当所述第一性能测量参数包括所述第一计数值和所述第一时戳时,如图2C所示,所述LTM包括所述第一TLV和所述第二TLV,所述第一计数值携带在所述第一TLV中,所述第一时戳携带在所述第二TLV中。In an embodiment, the first performance measurement parameter may be carried in a new type-length-value (TLV) of the LTM. When the first performance measurement parameter includes the first count value, as shown in FIG. 2A, the LTM includes a first TLV, and the first count value is carried in the first TLV. When the first performance measurement parameter includes the first timestamp, as shown in FIG. 2B, the LTM includes a second TLV, and the first timestamp is carried in the first TLV. When the first performance measurement parameter includes the first count value and the first time stamp, as shown in FIG. 2C, the LTM includes the first TLV and the second TLV, the first The count value is carried in the first TLV, and the first time stamp is carried in the second TLV.
在一种实施例中,图2A和图2C中的所述第一TLV还可以包括:In an embodiment, the first TLV in FIG. 2A and FIG. 2C may further include:
Reserved for RxFCf in LTR:占用4个字节,表示宿端计数器在LTM帧接收时刻的RxFCf的值(以下称为“第二计数值”),该Reserved for RxFCf in LTR预留给LTR;Reserved for RxFCf in LTR: occupies 4 bytes, indicating the value of the RxFCf of the sink counter at the time of receiving the LTM frame (hereinafter referred to as the "second count value"), and the Reserved for RxFCf in LTR is reserved for the LTR;
Reserved for TxFCb in LTR:占用个字节,表示宿端MEP的计数器在LTR发送时刻的TxFCb值(以下称为“第三计数值”),该Reserved for TxFCb in LTR预留给LTR。Reserved for TxFCb in LTR: Bytes occupying, indicating the TxFCb value of the counter of the sink MEP at the time of LTR transmission (hereinafter referred to as "third count value"), and the Reserved for TxFCb in LTR is reserved for the LTR.
在一种实施例中,图2B和图2C中的所述第二TLV还可以包括:In an embodiment, the second TLV in FIG. 2B and FIG. 2C may further include:
Reserved for RxTimeStampf in LTR:宿端MEP接收LTM的时戳(预留给LTR)(以下称为“第二时戳”);Reserved for RxTimeStampf in LTR: the time stamp of the sink MEP receiving the LTM (reserved to the LTR) (hereinafter referred to as "second time stamp");
Reserved for TxTimeStampb in LTR:宿端MEP发送LMR的时戳(预留给LTR)(以下称为“第三时戳”)。Reserved for TxTimeStampb in LTR: The time stamp (reserved to the LTR) of the LMR sent by the sink MEP (hereinafter referred to as "third time stamp").
在一种实施例中,如果所述第一性能测量参数包括所述第一计数值,则第二性能测量参数包括第二计数值、第三性能测量参数包括第三计数值,第四性能测量参数包括源端MEP接收所述LTR时的源端MEP计数器值RxFCb(以下称为“第四计数值”)。可选地,所述LTR还可以包括所述第一计数值。如图3A所示,所述LTR包括第三TLV,第二计数值和第三计数值可以携带在第三TLV中。In an embodiment, if the first performance measurement parameter includes the first count value, the second performance measurement parameter includes a second count value, the third performance measurement parameter includes a third count value, and the fourth performance measurement The parameters include a source MEP counter value RxFCb (hereinafter referred to as a "fourth count value") when the source MEP receives the LTR. Optionally, the LTR may further include the first count value. As shown in FIG. 3A, the LTR includes a third TLV, and the second count value and the third count value may be carried in the third TLV.
如果所述第一性能测量参数包括所述第一时戳,则第二性能测量参数包括所述第二时戳,所述第三性能测量参数包括所述第三时戳,第四性能测量参数包括所述源端MEP收到所述LTR时的时戳RxTimeStampb(以下称为“第四时戳”)。可选地,所述LTR还可以包括所述第一时戳。如图3B所示,所述LTR包括第四TLV,第二时戳和第三时戳可以携带在第四TLV中。If the first performance measurement parameter includes the first timestamp, the second performance measurement parameter includes the second timestamp, the third performance measurement parameter includes the third timestamp, and the fourth performance measurement parameter The time stamp RxTimeStampb (hereinafter referred to as "fourth time stamp") when the source MEP receives the LTR is included. Optionally, the LTR may further include the first time stamp. As shown in FIG. 3B, the LTR includes a fourth TLV, and the second timestamp and the third timestamp may be carried in the fourth TLV.
如果所述第一性能测量参数包括所述第一计数值和所述第一时戳,则第二性能测量参数包括所述第二计数值和第二时戳,所述第三性能测量参数包括第三计数值和第三时戳。如图3C所示,所述LTR包括第三TLV和第四TLV,所述第一计数值和所述第一时戳携带在第三TLV中,第三计数值和第三时戳携带在第四TLV中,所述第四性能测量参数包括所述第四计数值和所述第四时戳。可选地,所述LTR还可以包括所述第一计数值和所述第一时戳。If the first performance measurement parameter includes the first count value and the first time stamp, the second performance measurement parameter includes the second count value and a second time stamp, and the third performance measurement parameter includes The third count value and the third time stamp. As shown in FIG. 3C, the LTR includes a third TLV and a fourth TLV, and the first count value and the first time stamp are carried in a third TLV, and the third count value and the third time stamp are carried in the third In the four TLV, the fourth performance measurement parameter includes the fourth count value and the fourth time stamp. Optionally, the LTR may further include the first count value and the first time stamp.
在一种实施例中,所述第一设备根据所述第一计数值、所述第二计数值、所述第三计数值、第四计数值获取所述第一设备与所述第二设备之间的丢包数。In an embodiment, the first device acquires the first device and the second device according to the first count value, the second count value, the third count value, and the fourth count value. The number of lost packets between.
在一种实施例中,所述第一设备根据以下公式获取所述第一设备与所述第二设备之间的网络时延:|第四时戳-第一时戳|-|第三时戳-第二时戳|。In an embodiment, the first device acquires a network delay between the first device and the second device according to the following formula: | fourth time stamp - first time stamp | - | third time Poke - second time stamp |
丢包统计原理如下:无论何时一个有效的LTM帧被第二设备或第二设备上的宿端MEP接收,第二设备或第二设备上的宿端MEP会生成一个LTR并且传送给第一设备或第一设备上的源端MEP,LTR帧携带如下信息:The principle of packet loss statistics is as follows: whenever a valid LTM frame is received by the sink MEP on the second device or the second device, the sink MEP on the second device or the second device generates an LTR and transmits it to the first On the device or the source MEP on the first device, the LTR frame carries the following information:
·TxFCf----源端计数器值TxFCl在LMM帧发送时刻的值(即“第一计数值”)· TxFCf----the value of the source counter value TxFCl at the time of LMM frame transmission (ie "first count value")
·RxFCf----宿端计数器在LMM帧被接收时刻的RxFCl的值(即“第二计数值”)RxFCf----the value of the RxFCl of the sink counter at the time the LMM frame is received (ie, the "second count value")
·TxFCb----宿端计数器在LMR帧发送时刻的TxFCb值(即“第三计数值”)· TxFCb----TxFCb value of the sink counter at the time of LMR frame transmission (ie "third count value")
接收到LMR帧后,Egress节点用如下的公式计算丢包值:After receiving the LMR frame, the Egress node calculates the packet loss value by using the following formula:
·接收到LTR中的TxFCf、RxFCf和TxFCb值和本端计数器的RxFCl值在这个LTR帧接收时刻的值,这些值被表示成TxFCf[tc],RxFCf[tc],TxFCb[tc]和RxFCl[tc],这里的tc是接收到当前响应帧的时刻。Receive the values of the TxFCf, RxFCf, and TxFCb values in the LTR and the RxFCl value of the local counter at the time of reception of this LTR frame. These values are expressed as TxFCf[tc], RxFCf[tc], TxFCb[tc], and RxFCl[ Tc], where tc is the time at which the current response frame is received.
·前一时刻的LTR中的TxFCf、RxFCf和TxFCb值以及本端计数器的RxFCl值在前一LTR接收时刻,这些值被表示成TxFCf[tp],RxFCf[tp],TxFCb[tp]和RxFCl[tp],这里的tp是接收到的前一个响应帧的时刻。• The values of TxFCf, RxFCf, and TxFCb in the LTR at the previous moment and the RxFCl value of the local counter at the previous LTR reception time are expressed as TxFCf[tp], RxFCf[tp], TxFCb[tp], and RxFCl [ Tp], where tp is the time of the previous response frame received.
丢包统计如下:The packet loss statistics are as follows:
丢包(远端)=|TxFCf[tc]-TxFCf[tp]|-|RxFCf[tc]-RxFCf[tp]|Packet loss (remote) =|TxFCf[tc]-TxFCf[tp]|-|RxFCf[tc]-RxFCf[tp]|
丢包(本端))=|TxFCb[tc]-TxFCb[tp]|-|RxFCl[tc]-RxFCl[tp]|Packet loss (local))=|TxFCb[tc]-TxFCb[tp]|-|RxFCl[tc]-RxFCl[tp]|
根据本申请实施例的方法,第一网络中的第一设备上配置源端MEP,第二网络中的第二设备上配置源端MEP,源端MEP发送LTM给配置在第二网络设备上的宿端MEP,所述LTM包括源端MEP的MAC地址、宿端MEP的MAC地址以及第一性能测量参数,所述宿端MEP接收所述源端MEP发送的LTM,向所述源端MEP发送对应该LTM的LTR,所述LTR包括第二性能测量参数和第三性能测量参数,所述源端MEP获取第四性能测量参数,根据所述第一性能测量参数、所述第二性能测量参数、第三性能测量参数和第四性能测量参数,获得所述源端MEP与所述宿端MEP之间的性能测量参数,比如时延、丢包数等。根据本申请实施例,由于从源端MEP到宿端MEP的性能测量参数被携带在LTM中发送到宿端MEP,而根据IEEE 802.1ag及ITU-T Y.1731的规定,链路跟踪报文(LTM/LTR)可以穿越不同的网络,只要源端MEP与宿端MEP位于同一MD内且具有相同的MD级别即可。因此,本申请实施例的技术方案,只需要在源端MEP所在的第一网络设备以及宿端MEP所在的第二网络设备上配置MEP及ETHOAM,无需在源端MEP至宿端MEP经由的一个或多个网络中分别部署ETHOAM,大大降低了配置复杂度。According to the method of the embodiment of the present application, the source MEP is configured on the first device in the first network, the source MEP is configured on the second device in the second network, and the source MEP sends the LTM to the second network device. a sinking MEP, where the LTM includes a MAC address of the source MEP, a MAC address of the sink MEP, and a first performance measurement parameter, where the sink MEP receives the LTM sent by the source MEP, and sends the LTM to the source MEP. Corresponding to the LTR of the LTM, the LTR includes a second performance measurement parameter and a third performance measurement parameter, the source MEP acquiring a fourth performance measurement parameter, according to the first performance measurement parameter, the second performance measurement parameter The third performance measurement parameter and the fourth performance measurement parameter obtain performance measurement parameters, such as delay, packet loss, and the like between the source MEP and the sink MEP. According to the embodiment of the present application, since the performance measurement parameters from the source MEP to the sink MEP are carried in the LTM and sent to the sink MEP, according to the provisions of IEEE 802.1ag and ITU-T Y.1731, the link tracking message (LTM/LTR) can traverse different networks as long as the source MEP and the sink MEP are in the same MD and have the same MD level. Therefore, in the technical solution of the embodiment of the present application, the MEP and the ETHOAM need to be configured on the first network device where the source MEP is located and the second network device where the sink MEP is located, and the MEP to the sink MEP is not required. ETHOAM is deployed in multiple networks or on multiple networks, which greatly reduces configuration complexity.
标准的LT报文只能检测业务的连通性,标准的LM、DM报文只能分别检测业务的丢包和时延,通过扩展LT报文LTM/LTR中的TLV,由LTM/LTR报文承载收发包信息和时间戳,使得LT既能进行业务的连通性检测,又能进行丢包和时延统计,即对业务实施多方面的监控。通过端到端一次完成业务各段路径的时延/丢包性能统计,提高运维效率。The standard LT packet can only detect the connectivity of the service. The standard LM and DM packets can only detect the packet loss and delay of the service separately. By extending the TLV in the LTM/LTR of the LT packet, the LTM/LTR packet is used. The bearer sends and receives packet information and timestamps, so that LT can perform connectivity detection of services, and can perform packet loss and delay statistics, that is, monitor various aspects of service implementation. Improve the operation and maintenance efficiency of the delay/loss performance of each segment of the service at the end of the network.
如图5所示,一种第一网络设备500,部署有源端MEP,该第一网络设备500可以是图1所示的网络设备A1或上述方法实施例的第一设备,可以实现上述方法中第一设备的功能。该第一设备包括:502收发模块和处理模块504,其中,As shown in FIG. 5, a first network device 500 is configured with an active end MEP, and the first network device 500 may be the network device A1 shown in FIG. 1 or the first device in the foregoing method embodiment. The function of the first device. The first device includes: a 502 transceiver module and a processing module 504, where
所述收发模块502,用于向第二设备发送链路跟踪消息LTM,所述LTM包括第一性能测量参数;接收所述第二设备发送的链路跟踪应答LTR,所述LTR响应于所述LTM,所述LTR包括第二性能测量参数和第三性能测量参数;The transceiver module 502 is configured to send a link tracking message LTM to the second device, where the LTM includes a first performance measurement parameter, and receive a link tracking response LTR sent by the second device, where the LTR is responsive to the LTM, the LTR includes a second performance measurement parameter and a third performance measurement parameter;
所述处理模块502,用于获取第四性能测量参数,根据所述第一性能测量参数、所述第二性能测量参数、所述第三性能测量参数和所述第四性能测量参数获取所述第一设备和所述第二设备之间的网络性能参数。The processing module 502 is configured to obtain a fourth performance measurement parameter, and obtain the foregoing according to the first performance measurement parameter, the second performance measurement parameter, the third performance measurement parameter, and the fourth performance measurement parameter. Network performance parameters between the first device and the second device.
在一种实施例中,所述第一性能测量参数包括所述收发模块502发出所述LTM时的第一计数值,所述第二性能测量参数包括所述第二设备收到所述LTM时的第二计数 值,所述第三性能测量参数包括所述第二设备发出所述LTR时的第三计数值,所述第四性能测量参数包括所述收发模块502收到所述LTR时的第四计数值;所述处理模块504根据所述第一计数值、所述第二计数值、所述第三计数值、第四计数值获取所述第一设备与所述第二设备之间的丢包数。In an embodiment, the first performance measurement parameter includes a first count value when the transceiver module 502 sends the LTM, and the second performance measurement parameter includes when the second device receives the LTM a second count value, the third performance measurement parameter includes a third count value when the second device sends the LTR, and the fourth performance measurement parameter includes when the transceiver module 502 receives the LTR a fourth count value; the processing module 504 acquires, between the first device and the second device, according to the first count value, the second count value, the third count value, and the fourth count value The number of lost packets.
在一种实施例中,所述第一性能测量参数包括所述收发模块502发送所述LTM的第一时戳,所述第二性能测量参数包括所述第二设备收到所述LTM时的第二时戳,所述第三性能测量参数包括所述第二设备发出所述LTR时的第三时戳,所述第四性能测量参数包括所述收发模块502收到所述LTR时的第四时戳;所述处理模块504根据以下公式获取所述第一设备与所述第二设备之间的网络时延:|第四时戳-第一时戳|-|第三时戳-第二时戳|。In an embodiment, the first performance measurement parameter includes a first timestamp of the transceiver module 502 sending the LTM, and the second performance measurement parameter includes when the second device receives the LTM a second time measurement parameter, the third performance measurement parameter includes a third timestamp when the second device sends the LTR, and the fourth performance measurement parameter includes a first time when the transceiver module 502 receives the LTR a fourth time stamp; the processing module 504 acquires a network delay between the first device and the second device according to the following formula: | fourth time stamp - first time stamp | - | third time stamp - Two time stamps |.
在一种实施例中,所述第一性能测量参数包括所述收发模块502发出所述LTM时的第一计数值和所述收发模块502发送所述LTM的第一时戳,所述第二性能测量参数包括所述第二设备收到所述LTM时的第二计数值和所述第二设备收到所述LTM时的第二时戳,所述第三性能测量参数包括所述第二设备发出所述LTR时的第三计数值和所述第二设备发出所述LTR时的第三时戳,所述第四性能测量参数包括所述收发模块收到所述LTR时的第四计数值和所述收发模块502收到所述LTR时的第四时戳;所述处理模块504根据所述第一计数值、所述第二计数值、所述第三计数值、第四计数值获取所述第一设备与所述第二设备之间的丢包数;所述处理模块504根据以下公式获取所述第一设备与所述第二设备之间的网络时延:|第四时戳-第一时戳|-|第三时戳-第二时戳|。In an embodiment, the first performance measurement parameter includes a first count value when the transceiver module 502 sends the LTM, and a first time stamp when the transceiver module 502 sends the LTM, the second The performance measurement parameter includes a second count value when the second device receives the LTM and a second time stamp when the second device receives the LTM, and the third performance measurement parameter includes the second a third count value when the device issues the LTR and a third time stamp when the second device issues the LTR, and the fourth performance measurement parameter includes a fourth count when the transceiver module receives the LTR a value and a fourth timestamp when the transceiver module 502 receives the LTR; the processing module 504 is configured to: according to the first count value, the second count value, the third count value, and the fourth count value Acquiring the number of packet loss between the first device and the second device; the processing module 504 acquires a network delay between the first device and the second device according to the following formula: | fourth time Poke - first timestamp | - | third timestamp - second timestamp |.
如图6所示,一种网络设备600,作为第二设备,部署有宿端MEP,该网络设备600可以是图1所示的网络设备C2或上述方法实施例的第二设备,可以与图5所示的网络设备配合使用,可以实现上述方法中第二设备的功能。该网络设备600包括收发模块602和处理模块604,其中,所述收发模块602,用于接收第一网络设备发送的LTM,所述LTM包括第一性能测量参数。所述处理模块604,用于获取根据所述LTM,获取第二性能测量参数和第三性能测量参数,所述收发模块604,用于向所述第一设备发送对应所述LTM的LTR,所述LTR包括所述第二性能测量参数和所述第三性能测量参数,使得所述第一设备获取第四性能测量参数,根据所述第一性能测量参数、第二性能测量参数、第三性能测量参数和第四性能测量参数获取所述第一设备与所述网络设备600之间的网络性能测量参数。As shown in FIG. 6, a network device 600 is configured as a second device, and is configured with a sinking MEP. The network device 600 may be the network device C2 shown in FIG. 1 or the second device in the foregoing method embodiment. The network device shown in FIG. 5 can be used together to implement the function of the second device in the above method. The network device 600 includes a transceiver module 602 and a processing module 604. The transceiver module 602 is configured to receive an LTM sent by the first network device, where the LTM includes a first performance measurement parameter. The processing module 604 is configured to obtain, according to the LTM, a second performance measurement parameter and a third performance measurement parameter, where the transceiver module 604 is configured to send, to the first device, an LTR corresponding to the LTM. The LTR includes the second performance measurement parameter and the third performance measurement parameter, so that the first device acquires a fourth performance measurement parameter, according to the first performance measurement parameter, the second performance measurement parameter, and the third performance The measurement parameter and the fourth performance measurement parameter acquire network performance measurement parameters between the first device and the network device 600.
图7为本申请实施例提供的网络设备700的结构示意图。网络设备700可以与图5对应实施例的网络设备500为同一装置,也可以是图1中的设备A1,或上述方法实施例的第一设备,可以实现上述方法中第一设备的功能。该网络设备700可以执行图4对应的实施例中第一设备所执行的步骤。该实施例提供的网络设备700包括:处理器701、存储器702和通信接口703。所述处理器701、所述存储器702和所述通信接口703通过通信总线704连接。所述存储器702用于存储程序或指令。所述处理器701根据从所述存储器702中读取的程序或指令,执行上述图4对应的实施例中第一设备所执行的方法步骤。FIG. 7 is a schematic structural diagram of a network device 700 according to an embodiment of the present application. The network device 700 may be the same device as the network device 500 of the embodiment of FIG. 5, or may be the device A1 in FIG. 1 or the first device in the foregoing method embodiment, and may implement the functions of the first device in the foregoing method. The network device 700 can perform the steps performed by the first device in the embodiment corresponding to FIG. 4. The network device 700 provided by this embodiment includes a processor 701, a memory 702, and a communication interface 703. The processor 701, the memory 702, and the communication interface 703 are connected by a communication bus 704. The memory 702 is used to store programs or instructions. The processor 701 executes the method steps performed by the first device in the embodiment corresponding to FIG. 4 according to the program or the instruction read from the memory 702.
图8为本申请实施例提供的网络设备800的结构示意图。网络设备800可以与图 5对应实施例的网络设备600为同一装置,也可以是图1中的设备C2,可以实现上述方法中第二设备的功能。该网络设备800可以执行图4对应的实施例中第二设备所执行的步骤。该实施例提供的网络设备800包括:处理器801、存储器802和通信接口803。所述处理器801、所述存储器802和所述通信接口803通过通信总线804连接。所述存储器802用于存储程序或指令。所述处理器801根据从所述存储器802中读取的程序或指令,执行上述图4对应的实施例中第二设备所执行的方法步骤。FIG. 8 is a schematic structural diagram of a network device 800 according to an embodiment of the present application. The network device 800 may be the same device as the network device 600 of the embodiment of FIG. 5, or may be the device C2 in FIG. 1, and may implement the functions of the second device in the foregoing method. The network device 800 can perform the steps performed by the second device in the embodiment corresponding to FIG. The network device 800 provided by this embodiment includes a processor 801, a memory 802, and a communication interface 803. The processor 801, the memory 802, and the communication interface 803 are connected by a communication bus 804. The memory 802 is used to store programs or instructions. The processor 801 executes the method steps performed by the second device in the embodiment corresponding to FIG. 4 according to the program or the instruction read from the memory 802.
本申请实施例提供了一种计算机可读存储介质。所述计算机可读存储介质保存计算机程序。当所述计算机程序被处理器或计算机执行时,可以使得所述处理器或者所述计算机执行图4所示的方法。The embodiment of the present application provides a computer readable storage medium. The computer readable storage medium holds a computer program. When the computer program is executed by a processor or a computer, the processor or the computer can be caused to perform the method illustrated in FIG.
本申请实施例还提供了一种网络系统,该网络系统包括作为第一设备和第二设备,其中第一设备可以是图5或图7对应实施例所述的网络设备,第二设备可以是图6或图8对应实施例所述的网络设备。该网络系统也可以是图1所示的网络,其中第一设备可以是图1的网络设备A1,第二设备可以是图1的网络设备C2。The embodiment of the present application further provides a network system, where the network device includes the first device and the second device, where the first device may be the network device described in the corresponding embodiment of FIG. 5 or FIG. FIG. 6 or FIG. 8 corresponds to the network device described in the embodiment. The network system may also be the network shown in FIG. 1, wherein the first device may be the network device A1 of FIG. 1, and the second device may be the network device C2 of FIG.
本申请实施例中提及的“第一”和“第二”不表示先后顺序。本申请实施例中的“第一”和“第二”表示不同的设备和信息。The terms "first" and "second" as used in the embodiments of the present application do not denote a sequence. "First" and "second" in the embodiments of the present application denote different devices and information.
本领域的技术人员可以对本申请提供的实施例进行各种改动和变型。上述实施例中的处理器可以是微处理器或者该处理器也可以是任何常规的处理器。结合本发明实施例所公开的方法的步骤,可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。当使用软件实现时,可以将实现上述功能的代码存储在计算机可读介质中。计算机可读介质包括计算机存储介质。存储介质可以是计算机能够存取的任何可用介质。以此为例但不限于:计算机可读介质可以是随机存取存储器(random access memory,RAM)、只读存储器(read-only memory,ROM)、电可擦可编程只读存储器(electrically erasable programmable read-only memory,EEPROM)、只读光盘(compact disc read-only memory,CD-ROM)或其他光盘存储、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的程序代码并能够由计算机存取的任何其他介质。计算机可读介质可以是压缩光碟(compact disc,CD)、激光碟、光碟、数字视频光碟(digital video disc,DVD)、软盘或者蓝光光碟。Various modifications and variations of the embodiments of the present application can be made by those skilled in the art. The processor in the above embodiments may be a microprocessor or the processor may be any conventional processor. The steps of the method disclosed in the embodiment of the present invention may be directly implemented as a hardware processor, or may be performed by a combination of hardware and software modules in the processor. When implemented in software, the code implementing the above functions may be stored in a computer readable medium. Computer readable media includes computer storage media. A storage medium may be any available media that can be accessed by a computer. For example, but not limited to: the computer readable medium may be a random access memory (RAM), a read-only memory (ROM), an electrically erasable programmable read only memory (electrically erasable programmable memory) Read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, disk storage media or other magnetic storage device, or capable of carrying or storing in the form of instructions or data structures Program code and any other medium that can be accessed by a computer. The computer readable medium can be a compact disc (CD), a laser disc, a compact disc, a digital video disc (DVD), a floppy disk, or a Blu-ray disc.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the appended claims.

Claims (22)

  1. 一种测量网络性能的方法,其特征在于,包括:A method for measuring network performance, comprising:
    第一设备向第二设备发送链路跟踪消息LTM,所述LTM包括第一性能测量参数;The first device sends a link tracking message LTM to the second device, where the LTM includes a first performance measurement parameter;
    所述第一设备接收所述第二设备发送的链路跟踪应答LTR,所述LTR响应于所述LTM,所述LTR包括第二性能测量参数和第三性能测量参数;Receiving, by the first device, a link tracking response LTR sent by the second device, where the LTR is responsive to the LTM, where the LTR includes a second performance measurement parameter and a third performance measurement parameter;
    所述第一设备获取第四性能测量参数,根据所述第一性能测量参数、所述第二性能测量参数、所述第三性能测量参数和所述第四性能测量参数获取所述第一设备和所述第二设备之间的网络性能参数。Obtaining, by the first device, a fourth performance measurement parameter, acquiring the first device according to the first performance measurement parameter, the second performance measurement parameter, the third performance measurement parameter, and the fourth performance measurement parameter Network performance parameters between the second device and the second device.
  2. 如权利要求1所述的方法,其特征在于,所述第一性能测量参数包括所述第一设备发出所述LTM时的第一计数值,所述第二性能测量参数包括所述第二设备收到所述LTM时的第二计数值,所述第三性能测量参数包括所述第二设备发出所述LTR时的第三计数值,所述第四性能测量参数包括所述第一设备收到所述LTR时的第四计数值;The method of claim 1, wherein the first performance measurement parameter comprises a first count value when the first device issues the LTM, and the second performance measurement parameter comprises the second device a second count value when the LTM is received, the third performance measurement parameter includes a third count value when the second device sends the LTR, and the fourth performance measurement parameter includes the first device a fourth count value when the LTR is reached;
    所述第一设备根据所述第一计数值、所述第二计数值、所述第三计数值、第四计数值获取所述第一设备与所述第二设备之间的丢包数。The first device acquires the number of lost packets between the first device and the second device according to the first count value, the second count value, the third count value, and the fourth count value.
  3. 如权利要求1所述的方法,其特征在于,所述第一性能测量参数包括所述第一设备发送所述LTM的第一时戳,所述第二性能测量参数包括所述第二设备收到所述LTM时的第二时戳,所述第三性能测量参数包括所述第二设备发出所述LTR时的第三时戳,所述第四性能测量参数包括所述第一设备收到所述LTR时的第四时戳;所述第一设备根据以下公式获取所述第一设备与所述第二设备之间的网络时延:The method of claim 1, wherein the first performance measurement parameter comprises a first timestamp that the first device sends the LTM, and the second performance measurement parameter comprises the second device a second timestamp when the LTM is reached, the third performance measurement parameter includes a third timestamp when the second device sends the LTR, and the fourth performance measurement parameter includes the first device receiving a fourth timestamp when the LTR is used; the first device acquires a network delay between the first device and the second device according to the following formula:
    |第四时戳-第一时戳|-|第三时戳-第二时戳|。| Fourth Time Stamp - First Time Stamp | - | Third Time Stamp - Second Time Stamp |.
  4. 如权利要求1所述的方法,其特征在于,所述第一性能测量参数包括所述第一设备发出所述LTM时的第一计数值和所述第一设备发送所述LTM的第一时戳,所述第二性能测量参数包括所述第二设备收到所述LTM时的第二计数值和所述第二设备收到所述LTM时的第二时戳,所述第三性能测量参数包括所述第二设备发出所述LTR时的第三计数值和所述第二设备发出所述LTR时的第三时戳,所述第四性能测量参数包括所述第一设备收到所述LTR时的第四计数值和所述第一设备收到所述LTR时的第四时戳;The method according to claim 1, wherein said first performance measurement parameter comprises a first count value when said first device issues said LTM and a first time when said first device transmits said LTM The second performance measurement parameter includes a second count value when the second device receives the LTM and a second time stamp when the second device receives the LTM, the third performance measurement The parameter includes a third count value when the second device issues the LTR and a third time stamp when the second device issues the LTR, and the fourth performance measurement parameter includes the first device receiving a fourth count value when the LTR is described and a fourth time stamp when the first device receives the LTR;
    所述第一设备根据所述第一计数值、所述第二计数值、所述第三计数值、第四计数值获取所述第一设备与所述第二设备之间的丢包数;Obtaining, by the first device, the number of lost packets between the first device and the second device according to the first count value, the second count value, the third count value, and the fourth count value;
    所述第一设备根据以下公式获取所述第一设备与所述第二设备之间的网络时延:The first device acquires a network delay between the first device and the second device according to the following formula:
    |第四时戳-第一时戳|-|第三时戳-第二时戳|。| Fourth Time Stamp - First Time Stamp | - | Third Time Stamp - Second Time Stamp |.
  5. 如权利要求1-4中任一所述的方法,其特征在于,所述第一设备位于第一网络中,所述第二设备位于第二网络中。The method of any of claims 1-4, wherein the first device is located in a first network and the second device is located in a second network.
  6. 一种测量网络性能的方法,其特征在于,包括:A method for measuring network performance, comprising:
    第二设备接收第一设备发送的链路跟踪消息LTM,所述LTM包括第一性能测量参数;The second device receives a link tracking message LTM sent by the first device, where the LTM includes a first performance measurement parameter;
    所述第二设备根据所述LTM获得第二性能测量参数和第三性能测量参数;The second device obtains a second performance measurement parameter and a third performance measurement parameter according to the LTM;
    所述第二设备向所述第一设备返回链路跟踪应答LTR,所述LTR响应于所述LTM,所述LTR包括所述第二性能测量参数和所述第三性能测量参数;所述LTR用于使得当所述第一设备收到所述LTR时获取第四性能测量参数,根据所述第一性能测量参数、所述第二性能测量参数、所述第三性能测量参数和所述第四性能测量参数获取所述第一设备和所述第二设备之间的网络性能参数。Returning, by the second device, a link tracking response LTR to the first device, the LTR is responsive to the LTM, the LTR includes the second performance measurement parameter and the third performance measurement parameter; And configured to obtain a fourth performance measurement parameter when the first device receives the LTR, according to the first performance measurement parameter, the second performance measurement parameter, the third performance measurement parameter, and the The four performance measurement parameters acquire network performance parameters between the first device and the second device.
  7. 如权利要求6所述的方法,其特征在于,所述第一性能测量参数包括所述第一设备发出所述LTM时的第一计数值,所述第二性能测量参数包括所述第二设备收到所述LTM时的第二计数值,所述第三性能测量参数包括所述第二设备发出所述LTR时的第三计数值,所述第四性能测量参数包括所述第一设备收到所述LTR时的第四计数值;The method of claim 6, wherein the first performance measurement parameter comprises a first count value when the first device issues the LTM, and the second performance measurement parameter comprises the second device a second count value when the LTM is received, the third performance measurement parameter includes a third count value when the second device sends the LTR, and the fourth performance measurement parameter includes the first device a fourth count value when the LTR is reached;
    所述第一设备根据所述第一计数值、所述第二计数值、所述第三计数值、第四计数值获取所述第一设备与所述第二设备之间的丢包数。The first device acquires the number of lost packets between the first device and the second device according to the first count value, the second count value, the third count value, and the fourth count value.
  8. 如权利要求6所述的方法,其特征在于,所述第一性能测量参数包括所述第一设备发送所述LTM的第一时戳,所述第二性能测量参数包括所述第二设备收到所述LTM时的第二时戳,所述第三性能测量参数包括所述第二设备发出所述LTR时的第三时戳,所述第四性能测量参数包括所述第一设备收到所述LTR时的第四时戳;所述第一设备根据以下公式获取所述第一设备与所述第二设备之间的网络时延:The method of claim 6, wherein the first performance measurement parameter comprises a first timestamp that the first device sends the LTM, and the second performance measurement parameter comprises the second device a second timestamp when the LTM is reached, the third performance measurement parameter includes a third timestamp when the second device sends the LTR, and the fourth performance measurement parameter includes the first device receiving a fourth timestamp when the LTR is used; the first device acquires a network delay between the first device and the second device according to the following formula:
    |第四时戳-第一时戳|-|第三时戳-第二时戳|。| Fourth Time Stamp - First Time Stamp | - | Third Time Stamp - Second Time Stamp |.
  9. 如权利要求6所述的方法,其特征在于,所述第一性能测量参数包括所述第一设备发出所述LTM时的第一计数值和所述第一设备发送所述LTM的第一时戳,所述第二性能测量参数包括所述第二设备收到所述LTM时的第二计数值和所述第二设备收到所述LTM时的第二时戳,所述第三性能测量参数包括所述第二设备发出所述LTR时的第三计数值和所述第二设备发出所述LTR时的第三时戳,所述第四性能测量参数包括所述第一设备收到所述LTR时的第四计数值和所述第一设备收到所述LTR时的第四时戳;The method of claim 6, wherein the first performance measurement parameter comprises a first count value when the first device issues the LTM and a first time when the first device sends the LTM The second performance measurement parameter includes a second count value when the second device receives the LTM and a second time stamp when the second device receives the LTM, the third performance measurement The parameter includes a third count value when the second device issues the LTR and a third time stamp when the second device issues the LTR, and the fourth performance measurement parameter includes the first device receiving a fourth count value when the LTR is described and a fourth time stamp when the first device receives the LTR;
    所述第一设备根据所述第一计数值、所述第二计数值、所述第三计数值、第四计数值获取所述第一设备与所述第二设备之间的丢包数;Obtaining, by the first device, the number of lost packets between the first device and the second device according to the first count value, the second count value, the third count value, and the fourth count value;
    所述第一设备根据以下公式获取所述第一设备与所述第二设备之间的网络时延:The first device acquires a network delay between the first device and the second device according to the following formula:
    |第四时戳-第一时戳|-|第三时戳-第二时戳|。| Fourth Time Stamp - First Time Stamp | - | Third Time Stamp - Second Time Stamp |.
  10. 如权利要求6-9中任一所述的方法,其特征在于,所述第一设备位于第一网络中,所述第二设备位于第二网络中。The method of any of claims 6-9, wherein the first device is located in a first network and the second device is located in a second network.
  11. 一种第二设备,其特征在于,包括收发模块和处理模块,其中,A second device, comprising: a transceiver module and a processing module, wherein
    所述收发模块,用于接收第一设备发送的链路跟踪消息LTM,所述LTM包括第一性能测量参数;The transceiver module is configured to receive a link tracking message LTM sent by the first device, where the LTM includes a first performance measurement parameter;
    所述处理模块,用于获取根据所述LTM,获取第二性能测量参数和第三性能测量参数,所述收发模块,用于向所述第一设备发送对应所述LTM的链路跟踪应答LTR,所述LTR包括所述第二性能测量参数和所述第三性能测量参数,使得所述第一设备获取第四性能测量参数,根据所述第一性能测量参数、第二性能测量参数、第三性能测量参数和第四性能测量参数获取所述第一设备与所述第二设备之间的网络性能测量参数。The processing module is configured to obtain, according to the LTM, a second performance measurement parameter and a third performance measurement parameter, where the transceiver module is configured to send, to the first device, a link tracking response LTR corresponding to the LTM. The LTR includes the second performance measurement parameter and the third performance measurement parameter, so that the first device acquires a fourth performance measurement parameter, according to the first performance measurement parameter, the second performance measurement parameter, The third performance measurement parameter and the fourth performance measurement parameter acquire network performance measurement parameters between the first device and the second device.
  12. 如权利要求11所述的第二设备,其特征在于,所述第一性能测量参数包括所述第一设备发出所述LTM时的第一计数值,所述第二性能测量参数包括所述收发模块收到所述LTM时的第二计数值,所述第三性能测量参数包括所述收发模块发出所述LTR时的第三计数值,所述第四性能测量参数包括所述第一设备收到所述LTR时的第四计数值。The second device according to claim 11, wherein the first performance measurement parameter comprises a first count value when the first device issues the LTM, and the second performance measurement parameter comprises the transceiver a second count value when the module receives the LTM, the third performance measurement parameter includes a third count value when the transceiver module sends the LTR, and the fourth performance measurement parameter includes the first device The fourth count value when the LTR is reached.
  13. 如权利要求11所述的第二设备,其特征在于,所述第一性能测量参数包括所述第一设备发送所述LTM的第一时戳,所述第二性能测量参数包括所述收发模块收到所述LTM时的第二时戳,所述第三性能测量参数包括所述收发模块发出所述LTR时的第三时戳,所述第四性能测量参数包括所述第一设备收到所述LTR时的第四时戳。The second device according to claim 11, wherein the first performance measurement parameter comprises a first timestamp of the first device transmitting the LTM, and the second performance measurement parameter comprises the transceiver module a second timestamp when the LTM is received, the third performance measurement parameter includes a third timestamp when the transceiver module sends the LTR, and the fourth performance measurement parameter includes the first device receiving The fourth time stamp at the time of the LTR.
  14. 如权利要求11所述的第二设备,其特征在于,所述第一性能测量参数包括所 述第一设备发出所述LTM时的第一计数值和所述第一设备发送所述LTM的第一时戳,所述第二性能测量参数包括所述收发模块收到所述LTM时的第二计数值和所述收发模块收到所述LTM时的第二时戳,所述第三性能测量参数包括所述收发模块发出所述LTR时的第三计数值和所述收发模块发出所述LTR时的第三时戳,所述第四性能测量参数包括所述第一设备收到所述LTR时的第四计数值和所述第一设备收到所述LTR时的第四时戳。The second device according to claim 11, wherein said first performance measurement parameter comprises a first count value when said first device issues said LTM and said first device transmits said LTM a second time measurement, the second performance measurement parameter includes a second count value when the transceiver module receives the LTM, and a second time stamp when the transceiver module receives the LTM, the third performance measurement The parameter includes a third count value when the transceiver module issues the LTR and a third time stamp when the transceiver module issues the LTR, and the fourth performance measurement parameter includes the first device receiving the LTR And a fourth time value of the time and a fourth time stamp when the first device receives the LTR.
  15. 如权利要求11-14中任一所述的第二设备,其特征在于,所述第二设备位于第一网络中,所述第一设备位于第二网络中。The second device according to any one of claims 11-14, wherein the second device is located in a first network, and the first device is located in a second network.
  16. 一种第一设备,其特征在于,包括收发模块和处理模块,其中,A first device, comprising: a transceiver module and a processing module, wherein
    所述收发模块,用于向第二设备发送链路跟踪消息LTM,所述LTM包括第一性能测量参数;接收所述第二设备发送的链路跟踪应答LTR,所述LTR响应于所述LTM,所述LTR包括第二性能测量参数和第三性能测量参数;The transceiver module is configured to send a link tracking message LTM to the second device, where the LTM includes a first performance measurement parameter, and receive a link tracking response LTR sent by the second device, where the LTR is responsive to the LTM The LTR includes a second performance measurement parameter and a third performance measurement parameter;
    所述处理模块,用于获取第四性能测量参数,根据所述第一性能测量参数、所述第二性能测量参数、所述第三性能测量参数和所述第四性能测量参数获取所述第一设备和所述第二设备之间的网络性能参数。The processing module is configured to acquire a fourth performance measurement parameter, and obtain the first parameter according to the first performance measurement parameter, the second performance measurement parameter, the third performance measurement parameter, and the fourth performance measurement parameter Network performance parameters between a device and the second device.
  17. 如权利要求16所述的第一设备,其特征在于,所述第一性能测量参数包括所述收发模块发出所述LTM时的第一计数值,所述第二性能测量参数包括所述第二设备收到所述LTM时的第二计数值,所述第三性能测量参数包括所述第二设备发出所述LTR时的第三计数值,所述第四性能测量参数包括所述收发模块收到所述LTR时的第四计数值;The first device according to claim 16, wherein the first performance measurement parameter comprises a first count value when the transceiver module issues the LTM, and the second performance measurement parameter comprises the second a second count value when the device receives the LTM, the third performance measurement parameter includes a third count value when the second device sends the LTR, and the fourth performance measurement parameter includes the transceiver module a fourth count value when the LTR is reached;
    所述处理模块根据所述第一性能测量参数、所述第二性能测量参数、所述第三性能测量参数和所述第四性能测量参数获取所述第一设备和所述第二设备之间的网络性能参数包括:所述处理模块根据所述第一计数值、所述第二计数值、所述第三计数值、第四计数值获取所述第一设备与所述第二设备之间的丢包数。Obtaining, by the processing module, the first device and the second device according to the first performance measurement parameter, the second performance measurement parameter, the third performance measurement parameter, and the fourth performance measurement parameter The network performance parameter includes: the processing module acquiring, between the first device and the second device, according to the first count value, the second count value, the third count value, and the fourth count value The number of lost packets.
  18. 如权利要求16所述的第一设备,其特征在于,所述第一性能测量参数包括所述收发模块发送所述LTM的第一时戳,所述第二性能测量参数包括所述第二设备收到所述LTM时的第二时戳,所述第三性能测量参数包括所述第二设备发出所述LTR时的第三时戳,所述第四性能测量参数包括所述收发模块收到所述LTR时的第四时戳;The first device according to claim 16, wherein the first performance measurement parameter comprises a first timestamp of the transceiver module transmitting the LTM, and the second performance measurement parameter comprises the second device a second timestamp when the LTM is received, the third performance measurement parameter includes a third timestamp when the second device sends the LTR, and the fourth performance measurement parameter includes the transceiver module receiving a fourth time stamp when the LTR is;
    所述处理模块根据所述第一性能测量参数、所述第二性能测量参数、所述第三性能测量参数和所述第四性能测量参数获取所述第一设备和所述第二设备之间的网络性能参数:Obtaining, by the processing module, the first device and the second device according to the first performance measurement parameter, the second performance measurement parameter, the third performance measurement parameter, and the fourth performance measurement parameter Network performance parameters:
    所述处理模块根据以下公式获取所述第一设备与所述第二设备之间的网络时延:The processing module acquires a network delay between the first device and the second device according to the following formula:
    |第四时戳-第一时戳|-|第三时戳-第二时戳|。| Fourth Time Stamp - First Time Stamp | - | Third Time Stamp - Second Time Stamp |.
  19. 如权利要求16所述的第一设备,其特征在于,所述第一性能测量参数包括所述收发模块发出所述LTM时的第一计数值和所述收发模块发送所述LTM的第一时戳,所述第二性能测量参数包括所述第二设备收到所述LTM时的第二计数值和所述第二设备收到所述LTM时的第二时戳,所述第三性能测量参数包括所述第二设备发出所述LTR时的第三计数值和所述第二设备发出所述LTR时的第三时戳,所述第四性能测量参数包括所述收发模块收到所述LTR时的第四计数值和所述收发模块收到所述LTR时的第四时戳;The first device according to claim 16, wherein the first performance measurement parameter comprises a first count value when the transceiver module issues the LTM and a first time when the transceiver module sends the LTM The second performance measurement parameter includes a second count value when the second device receives the LTM and a second time stamp when the second device receives the LTM, the third performance measurement The parameter includes a third count value when the second device issues the LTR and a third time stamp when the second device issues the LTR, and the fourth performance measurement parameter includes the transceiver module receiving the a fourth count value at the time of the LTR and a fourth time stamp when the transceiver module receives the LTR;
    所述处理模块根据所述第一性能测量参数、所述第二性能测量参数、所述第三性能测量参数和所述第四性能测量参数获取所述第一设备和所述第二设备之间的网络性能参数:Obtaining, by the processing module, the first device and the second device according to the first performance measurement parameter, the second performance measurement parameter, the third performance measurement parameter, and the fourth performance measurement parameter Network performance parameters:
    所述处理模块根据所述第一计数值、所述第二计数值、所述第三计数值、第四计 数值获取所述第一设备与所述第二设备之间的丢包数;The processing module acquires the number of lost packets between the first device and the second device according to the first count value, the second count value, the third count value, and the fourth count value;
    所述处理模块根据以下公式获取所述第一设备与所述第二设备之间的网络时延:The processing module acquires a network delay between the first device and the second device according to the following formula:
    |第四时戳-第一时戳|-|第三时戳-第二时戳|。| Fourth Time Stamp - First Time Stamp | - | Third Time Stamp - Second Time Stamp |.
  20. 如权利要求16-19中任一所述的第一设备,其特征在于,所述第一设备位于第一网络中,所述第二设备位于第二网络中。The first device according to any one of claims 16 to 19, wherein the first device is located in a first network and the second device is located in a second network.
  21. 一种网络系统,其特征在于,包括第一设备和第二设备,所述第一设备为权利要求16-20中任一所述的第一设备,所述第二设备为权利要求11-15中任一所述的第二设备。A network system, comprising: a first device and a second device, wherein the first device is the first device according to any one of claims 16-20, and the second device is according to claim 11-15 The second device of any of the above.
  22. 一种计算机可读存储介质,其特征在于,包括程序指令,当该程序指令被执行时,执行权利要求1-10中任一所述的方法。A computer readable storage medium comprising program instructions that, when executed, perform the method of any of claims 1-10.
PCT/CN2018/100620 2018-02-14 2018-08-15 Method, device, and network system for measuring network performance WO2019157802A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810152261.3 2018-02-14
CN201810152261.3A CN110166311B (en) 2018-02-14 2018-02-14 Method, equipment and network system for measuring network performance

Publications (1)

Publication Number Publication Date
WO2019157802A1 true WO2019157802A1 (en) 2019-08-22

Family

ID=67620173

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/100620 WO2019157802A1 (en) 2018-02-14 2018-08-15 Method, device, and network system for measuring network performance

Country Status (2)

Country Link
CN (1) CN110166311B (en)
WO (1) WO2019157802A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112187569A (en) * 2020-09-14 2021-01-05 南瑞集团有限公司 Multicast VPN (virtual private network) testing system and method in NG (NG) mode of electric power
CN114567574A (en) * 2022-03-01 2022-05-31 烽火通信科技股份有限公司 Method and device for realizing LM flow-free test based on time sequence control

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110971445B (en) * 2019-09-24 2021-06-01 华为技术有限公司 Network OAM method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101729303A (en) * 2008-10-25 2010-06-09 华为技术有限公司 Method and device for measuring network performance parameter
US20120213508A1 (en) * 2011-02-23 2012-08-23 Jeffrey Scott Moynihan Network element clock synchronization systems and methods using optical transport network delay measurement
CN102739448A (en) * 2012-06-28 2012-10-17 华为技术有限公司 Method, device and system for transmitting messages
CN104348678A (en) * 2013-08-05 2015-02-11 华为技术有限公司 Method, device and system for measuring performance of Ethernet
CN106936661A (en) * 2015-12-31 2017-07-07 华为技术有限公司 A kind of network monitoring method, apparatus and system
CN107508719A (en) * 2017-02-15 2017-12-22 北京中航通用科技有限公司 Measure the method, apparatus and network node of network delay

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101667941A (en) * 2009-09-27 2010-03-10 中兴通讯股份有限公司 Method for detecting link performance and device therefor
CN104468228B (en) * 2014-12-19 2017-12-26 成都朗锐芯科技发展有限公司 A kind of OAM message sends system
CN106487572A (en) * 2015-09-02 2017-03-08 中兴通讯股份有限公司 The processing method and processing device of message

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101729303A (en) * 2008-10-25 2010-06-09 华为技术有限公司 Method and device for measuring network performance parameter
US20120213508A1 (en) * 2011-02-23 2012-08-23 Jeffrey Scott Moynihan Network element clock synchronization systems and methods using optical transport network delay measurement
CN102739448A (en) * 2012-06-28 2012-10-17 华为技术有限公司 Method, device and system for transmitting messages
CN104348678A (en) * 2013-08-05 2015-02-11 华为技术有限公司 Method, device and system for measuring performance of Ethernet
CN106936661A (en) * 2015-12-31 2017-07-07 华为技术有限公司 A kind of network monitoring method, apparatus and system
CN107508719A (en) * 2017-02-15 2017-12-22 北京中航通用科技有限公司 Measure the method, apparatus and network node of network delay

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112187569A (en) * 2020-09-14 2021-01-05 南瑞集团有限公司 Multicast VPN (virtual private network) testing system and method in NG (NG) mode of electric power
CN112187569B (en) * 2020-09-14 2022-05-10 南瑞集团有限公司 Multicast VPN (virtual private network) testing system and method in NG (NG) mode of electric power
CN114567574A (en) * 2022-03-01 2022-05-31 烽火通信科技股份有限公司 Method and device for realizing LM flow-free test based on time sequence control
CN114567574B (en) * 2022-03-01 2023-11-10 烽火通信科技股份有限公司 Method and device for realizing LM flow-free test based on time sequence control

Also Published As

Publication number Publication date
CN110166311B (en) 2022-09-23
CN110166311A (en) 2019-08-23

Similar Documents

Publication Publication Date Title
US8953456B2 (en) Ethernet OAM performance management
US8520530B2 (en) Method and apparatus for providing availability metrics for measurement and managment of ethernet services
US20050099949A1 (en) Ethernet OAM domains and ethernet OAM frame format
JP5462954B2 (en) Packet loss detection method and apparatus, and router
JP4764420B2 (en) Alarm indication and suppression (AIS) mechanism in an Ethernet OAM network
US20050099951A1 (en) Ethernet OAM fault detection and verification
US20050099954A1 (en) Ethernet OAM network topography discovery
US20150195169A1 (en) Method, Device, and System for Measuring Network Packet Loss
US20040165595A1 (en) Discovery and integrity testing method in an ethernet domain
US20070064611A1 (en) Method for monitoring packet loss ratio
WO2017000750A1 (en) Method, device and system for measuring quality of service operating in terminal
US20050099955A1 (en) Ethernet OAM fault isolation
KR102055201B1 (en) Methods, Nodes, and Systems for Detecting Clock Synchronization Paths
WO2013097459A1 (en) Service path detection method and device
WO2019157802A1 (en) Method, device, and network system for measuring network performance
WO2016041379A1 (en) Method and apparatus for implementing nni ping
WO2016177120A1 (en) Measurement method and system for packet loss of link packet, target node and initiating-end node
US20150036510A1 (en) Method and device for measuring ethernet performance
WO2014019348A1 (en) Method, device and system for operation, management and maintenance of oam configuration
WO2017000802A1 (en) Service fault location method and device
KR20140117993A (en) Mpls-tp network and method for link failure trace
WO2012155817A1 (en) Loopback testing method, device and system
WO2016062165A1 (en) Method and apparatus for implementing operations, administration and maintenance function
CN105812198B (en) Method and device for monitoring end-to-end of bridge network
WO2013075476A1 (en) Ethernet link detection method and device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18906212

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18906212

Country of ref document: EP

Kind code of ref document: A1