WO2015018197A1 - Network performance measurement method, network management device and network element device - Google Patents

Network performance measurement method, network management device and network element device Download PDF

Info

Publication number
WO2015018197A1
WO2015018197A1 PCT/CN2014/071989 CN2014071989W WO2015018197A1 WO 2015018197 A1 WO2015018197 A1 WO 2015018197A1 CN 2014071989 W CN2014071989 W CN 2014071989W WO 2015018197 A1 WO2015018197 A1 WO 2015018197A1
Authority
WO
WIPO (PCT)
Prior art keywords
sink
mep
network
source
management device
Prior art date
Application number
PCT/CN2014/071989
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 WO2015018197A1 publication Critical patent/WO2015018197A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • 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/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • 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

Definitions

  • the present invention relates to the field of communications, and more particularly to a method of network performance measurement, a network management device, and a network element device. Background technique
  • OAM administration, and maintenance
  • the Y.1731 protocol defines a series of methods for measuring packet loss, delay, and delay jitter, so that operators can obtain the real network in real time.
  • Performance data rapid diagnosis of network performance issues, is also an effective guarantee for providing users with Service Level Agreements (SLAs).
  • SLAs Service Level Agreements
  • the Y.1731 protocol solves the performance measurement problem of Ethernet point-to-point (Point to Point, ⁇ 2 ⁇ ). For networks monitored according to the Y.1731 protocol, thousands or even tens of thousands of monitoring points may be deployed. For point-to-multipoint (P2MP) scenarios, the Y.1731 protocol can only select one monitoring point among a large number of points. In order to solve the problem of multi-point simultaneous performance monitoring of Ethernet P2MP networking, all points can be monitored and the monitoring scale will be expanded by more than 200 times. Therefore, the configuration complexity, workload, and acquisition scale of network performance measurement are relatively large, which affects the efficiency of network performance measurement. Summary of the invention
  • the embodiments of the present invention provide a network performance measurement method, a network management device, and a system, which can improve the efficiency of network performance measurement.
  • the first aspect provides a method for measuring network performance, including: determining, by the network management device, at least one of the following measurement configuration parameters: a Maintenance Entity Group End Point (MEP) identifier (identity, ID), the remote maintenance entity group endpoint (Remote MEP, RMEP) ID of the source, and the RMEP media of the source
  • MEP Maintenance Entity Group End Point
  • RMEP remote maintenance entity group endpoint
  • the at least one measurement configuration parameter to be determined by the network management device
  • configuring at least one of the source end and the sink end to facilitate network performance measurement by at least one of the source end and the sink end.
  • the network management device determines the at least one measurement configuration parameter, and includes at least one of the following steps: the network management device configures the source port identifier and the virtual local area network according to the user configuration (Virtual Local Area Network , the VLAN ID, the MEP ID of the source is determined within the range of the MEP ID corresponding to the VLAN ID; and the network management device configures the port identifier of the sink and the VLAN ID according to the user, within the MEP ID range corresponding to the VLAN ID Determine the RMEP ID of the source.
  • the network management device configures the source port identifier and the virtual local area network according to the user configuration (Virtual Local Area Network , the VLAN ID, the MEP ID of the source is determined within the range of the MEP ID corresponding to the VLAN ID; and the network management device configures the port identifier of the sink and the VLAN ID according to the user, within the MEP ID range corresponding to the VLAN ID Determine the RMEP ID of the source.
  • the network management device determines the at least one measurement configuration parameter, including at least one of the following steps a and b:
  • the network management device sends a connectivity test start command to the source end, so that the source end obtains the MEP MAC address of the sink end through the connectivity test, and the network management device receives the MEP MAC address of the sink end sent by the source end, and determines The RMEP MAC address of the source is the MEP MAC address of the sink; b.
  • the network management device sends a connectivity test start command to the sink, so that the sink obtains the MEP MAC address of the source through the connectivity test, and the network management device Receiving the MEP MAC address of the source end sent by the sink end, determining that the RMEP MAC address of the sink end is the MEP MAC address of the source end.
  • the network management device determines the at least one measurement configuration parameter, including: if the source MEP monitors the user side The User Node Interface (UNI) determines that the MEP direction of the source is Up; if the MEP of the source monitors the Network Node Interface (NNI), it determines that the MEP direction of the source is Down.
  • UNI The User Node Interface
  • NNI Network Node Interface
  • the network management device determines the at least one measurement configuration parameter, including If the sink is an Optical Line Terminal (OLT), the MEP of the sink monitors the UNI. When the opposite end of the sink is an Optical Network Unit (0NU), the MEP direction of the sink is determined to be lower. When the peer end of the sink is a router, it is determined that the MEP direction of the sink is up; if the sink is an OLT, the MEP of the sink monitors the NNI, and when the opposite end of the sink is an ONU, the MEP direction of the sink is determined to be upper. At the opposite end of the sink is the router The MEP direction of the sink is determined to be lower; if the sink is a router, it is determined that the MEP direction of the sink is upper.
  • OLT Optical Line Terminal
  • the MEP direction of the sink is determined to be lower.
  • the peer end of the sink is a router, it is determined that the MEP direction of the sink is up; if the sink is an OLT, the MEP of
  • the network management device determines the at least one measurement configuration parameter, including : The network management device determines that the active/passive parameter of the source is passive.
  • the method further includes: in a point-to-multipoint scenario
  • the network management device sends an update-backward-mac command to the source device, so that the source device selects the user service MAC address according to the update-backward-mac command as the backward MAC address of the source end in the measurement configuration parameter.
  • a second aspect provides a method for measuring network performance, including: performing, by a network element device, network performance measurement, obtaining original data of network performance measurement; and the network element device storing the original data, so that the network management device is configured from the network element device Obtaining the original data in real time for real-time monitoring; and the network element device processes the original data according to a statistical period, and stores the data processed according to the statistical period, so that the network management device obtains the statistics according to the monitoring period from the network element device. Periodically processed data for periodic monitoring.
  • the network element device stores the original data, including: the network element device stores the original data in a Management Information Base (MIB) format.
  • MIB Management Information Base
  • the network element device stores data processed according to a statistical period, including: the network element device according to the statistics The processed data after the cycle is stored in text form.
  • the network element device performs network performance measurement, including: the network element device uses a two-way delay packet Get one-way delay data.
  • the TxTimeStampb indicates the transmission timestamp of the Delay Measurement Reply (DMR) in the two-way delay message, and RxTimeb indicates the reception time of the DMR.
  • the network element device is an upstream network element device, and the upstream The network element device indicates a network element device whose number of connected nodes is less than a predetermined value.
  • the third aspect provides a network performance measurement method, including: the network management device obtains, in real time, the original data of the network performance measurement stored by the network element device from the network element device, and performs real-time monitoring based on the original data, where the original data
  • the network element device performs the network performance measurement and is measured by the network element device.
  • the network management device obtains the data processed by the network element device according to the statistical period according to the monitoring period, and performs the data processed according to the statistical period. Periodic monitoring, where the data processed according to the statistical period is obtained by the network element device processing the original data according to a statistical period.
  • the original data is stored by the network element device in an MIB form.
  • the data processed according to the statistical period is stored by the network element device as a text form.
  • the fourth aspect provides a network management device, including: a determining module, configured to determine at least one of the following measurement configuration parameters: a maintenance entity group endpoint MEP identifier ID of the source end, and a remote maintenance entity group endpoint of the source end RMEP ID, RMEP media access control MAC address of the source end, RMEP MAC address of the sink end, MEP direction of the source end, MEP direction of the sink end, and active/passive parameters of the source end; a configuration module, configured to determine the determining module
  • the at least one measurement configuration parameter is configured to at least one of the source end and the sink end to facilitate network performance measurement by at least one of the source end and the sink end.
  • the determining module is specifically configured to: determine, according to the port identifier of the source end and the VLAN ID of the virtual local area network, the MEP ID of the source end in the MEP ID range corresponding to the VLAN ID; The RMEP ID of the source end is determined within the MEP ID range corresponding to the VLAN ID according to the port identifier of the sink configured by the user and the VLAN ID.
  • the network management device further includes: a first sending module, configured to send a connectivity test start command to the source end So that the source obtains the MEP MAC address of the sink through the connectivity test, And sending a connectivity test start command to the sink, so that the sink obtains the MEP MAC address of the source through the connectivity test;
  • the receiving module is configured to receive the MEP MAC address of the sink sent by the source, and receive the The MEP MAC address of the source end sent by the sink;
  • the determining module is specifically configured to determine that the RMEP MAC address of the source is the MEP MAC address of the sink, and determine that the RMEP MAC address of the sink is the MEP MAC address of the source.
  • the determining module is specifically configured to: if the MEP of the source end monitors the user side interface UNI, determine the The MEP direction of the source is up. If the MEP of the source monitors the NNI of the network side, the MEP direction of the source is determined to be lower.
  • the determining module is specifically configured to: if the sink is The optical line terminal OLT, the MEP of the sink monitors the UNI, and determines that the MEP direction of the sink is lower when the opposite end of the sink is the optical ONU, and determines that the MEP direction of the sink is upper when the opposite end of the sink is the router; If the sink is an OLT, the MEP of the sink monitors the NNI. When the peer end of the sink is an ONU, the MEP direction of the sink is determined to be upward. When the peer end of the sink is a router, the MEP direction of the sink is determined to be lower. If the sink is a router, it is determined that the MEP direction of the sink is up.
  • the determining module is specifically configured to determine the source
  • the network management device further includes: a second sending module, In a point-to-multipoint scenario, the network management device sends an update-backward-mac command to the source device, so that the source device selects the user service MAC address as the measurement configuration parameter according to the update-backward-mac command. The backward MAC address of the source.
  • the fifth aspect provides a network element device, including: a measurement module, configured to perform network performance measurement, and obtain original data of network performance measurement; and a first storage module, configured to store the original data, so that the network management device can
  • the network element device obtains the original data in real time for real-time monitoring;
  • the processing module is configured to process the original data according to a statistical period;
  • the second storage module is configured to store data processed according to the statistical period, so that the network management device follows the monitoring period.
  • the data processed according to the statistical period is obtained from the network element device for periodic monitoring.
  • the first storage module is specifically configured to store the original data in an MIB form.
  • the second storage module is specifically configured to store the data processed according to the statistical period as a text form.
  • the measuring module is specifically configured to obtain the one-way delay data by using the two-way delay message.
  • the delay measurement in the delay message measures the transmission timestamp of the response DMR, and RxTimeb represents the reception time of the DMR.
  • the network element device is an upstream network element device, and the upstream The network element device indicates a network element device whose number of connected nodes is less than a predetermined value.
  • the sixth aspect provides a network management device, including: a real-time monitoring module, configured to acquire real-time data of network performance measurement stored by the network element device from a network element device, and perform real-time monitoring based on the original data, where the original The data is measured by the network element device for performing the network performance measurement.
  • the period monitoring module is configured to obtain, according to the monitoring period, the data processed by the network element device according to the statistical period according to the monitoring period, and the data is processed according to the statistical period.
  • the data is periodically monitored, and the data processed according to the statistical period is obtained by the network element device processing the original data according to a statistical period.
  • the original data acquired by the real-time monitoring module is stored by the network element device as an MIB.
  • the data processed by the periodic monitoring module and processed according to the statistical period is stored by the network element device as a text form. .
  • the embodiment of the present invention determines the measurement configuration parameters configured to the source end and the sink end by using the network management device, which can reduce the configuration operation of the user, and can quickly measure the network performance. Deployed to improve the efficiency of network performance measurements.
  • FIG. 1 is a schematic flowchart of a method for network performance measurement according to an embodiment of the present invention.
  • 2 is a schematic diagram of measurement configuration parameters according to an embodiment of the present invention.
  • FIG. 3 is a schematic flowchart of a method for determining a source RMEP MAC and a sink RMEP MAC according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of a MEP direction according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of a method of determining a source backward MAC according to an embodiment of the present invention.
  • FIG. 6 is a schematic flowchart of a method for network performance measurement according to another embodiment of the present invention.
  • 7 is a schematic diagram of a method of network performance measurement in accordance with yet another embodiment of the present invention.
  • FIG. 8 is a schematic flowchart of a method for network performance measurement according to still another embodiment of the present invention.
  • FIG. 9 is a schematic block diagram of a network management device according to an embodiment of the present invention.
  • FIG. 10 is a schematic block diagram of a network element device according to an embodiment of the present invention.
  • FIG. 11 is a schematic block diagram of a network management device according to another embodiment of the present invention.
  • FIG. 12 is a schematic structural diagram of a network management device according to an embodiment of the present invention.
  • FIG. 13 is a schematic structural diagram of a network element device according to an embodiment of the present invention.
  • FIG. 14 is a schematic structural diagram of a network management device according to another embodiment of the present invention. detailed description
  • FIG. 1 shows a schematic flow diagram of a method 100 of network performance measurement in accordance with an embodiment of the present invention. As shown in FIG. 1, the method 100 includes:
  • the network management device determines at least one of the following measurement configuration parameters: The MEP ID of the end, the RMEP ID of the source, the RMEP MAC address of the source, the RMEP MAC address of the sink, the MEP direction of the source, the MEP direction of the sink, and the active/passive parameters of the source;
  • the network management device configures the determined at least one measurement configuration parameter to at least one of the source end and the sink end, so that at least one of the source end and the sink end performs network performance measurement.
  • the source end and the sink end are network elements for performing network performance measurement.
  • the network element may also be expressed as a network element device, and the source end may also be expressed as a source end device, and the sink end may also be expressed as The sink device.
  • the network performance measurement based on the Y.1731 protocol needs to be configured on the NEs at both ends of the source and sink to take effect.
  • the user needs to configure the measurement configuration parameters. Therefore, the user needs to understand the Y.1731 protocol details and configure the user. The operation is complicated, the steps are many, and the error is easy, so the measurement efficiency is low.
  • the network management device configures the measurement configuration parameter, that is, the network management device determines at least one of the following measurement configuration parameters: the MEP ID of the source end, the RMEP ID of the source end, The RMEP MAC of the source, the RMEP MAC of the sink, the MEP direction of the source, the MEP direction of the sink, and the active/passive parameters of the source, and configure the at least one measurement configuration parameter to the source and the sink for performing network performance measurement.
  • the network management device can configure the measurement configuration parameters to the source end and the sink end through a Simple Network Management Protocol (SNMP) or a Network Configuration Protocol (NETCONF).
  • SNMP Simple Network Management Protocol
  • NETCONF Network Configuration Protocol
  • the source and sink perform network performance measurements based on the at least one measurement configuration parameter.
  • the network management device can configure all measurement configuration parameters required for network performance measurement on the source and the sink. You can also configure only some measurement configuration parameters. When the network management device only configures some measurement configuration parameters, other measurement configuration parameters can be used according to the existing technology. Method configuration in . In this way, the configuration parameters are configured by the network management device, and the user does not need to input the measurement configuration parameter to implement performance monitoring.
  • the network performance measurement method of the embodiment of the present invention determines the measurement configuration parameters configured for the source end and the sink end by using the network management device, thereby reducing the configuration operation of the user, enabling rapid deployment of network performance measurement, thereby improving network performance measurement. s efficiency.
  • the network management device determines the MEP ID of the source end, the RMEP ID of the source end, and the source end.
  • RMEP MAC RMEP MAC
  • RMEP MAC of the sink MEP direction of the source
  • MEP direction of the sink MEP direction of the sink
  • At least one of the source active/passive parameters measures configuration parameters.
  • Figure 2 shows a schematic diagram of measurement configuration parameters that need to be configured for source (also referred to as source network element) and sink (also referred to as destination network element) in network performance measurements.
  • the MEP ID of the source end, the RMEP ID of the source end, the RMEP MAC of the source end, the RMEP MAC of the sink end, the MEP direction of the source end, the MEP direction of the sink end, and the active/passive parameters of the source end may be determined by the network management device, and the user only Enter the necessary information to monitor the traffic flow, such as port ID and VLAN ID.
  • the network management device can determine all the measurement configuration parameters described above; or the network management device can only determine some of the measurement configuration parameters, and the other measurement configuration parameters are input by the user.
  • the network management device may determine one or more measurement configuration parameters, and configure the one or more measurement configuration parameters to the source end and the sink end, so that the source end and the sink end perform network performance measurement.
  • the method of determining these measurement configuration parameters is specifically described below. It should be noted that the following methods may be applied to the network management device at the same time, or only one or more of the subsets may be used.
  • the S110 includes: the network management device determines the source end in the MEP ID range corresponding to the VLAN ID according to the port identifier and the VLAN ID of the source end configured by the user.
  • the S110 includes: the network management device determines the RMEP ID of the source end within the MEP ID range corresponding to the VLAN ID according to the port identifier of the sink and the VLAN ID configured by the user.
  • the network management device can determine the MEP ID or the RMEP ID.
  • the network management device performs unified management based on the source and sink pipes of the measurement instance.
  • the port identifier of the source and sink ports and the MEP ID range and the assigned status of the VLAN are considered.
  • the same measurement instance is allocated to ensure the MEP ID and RMEP of the source end of a measurement instance.
  • the ID is matched with the MEP ID and the RMEP ID of the sink. That is, the MEP ID of the source is equal to the RMEP ID of the sink, and the RMEP ID of the source is equal to the MEP ID of the sink.
  • the network management device selects the MEP ID of the source end according to the port identifier and the VLAN ID of the source end configured by the user, and selects the MEP ID of the source end according to the port identifier and the VLAN ID of the sink configured by the user. Select the sink MEP ID, that is, the source RMEP ID, within the corresponding MEP ID range.
  • the S110 includes: the network management device sends a connectivity test start command to the source end, so that the source end obtains the MEP MAC address of the sink end through the connectivity test, and the network management device receives the source end sending The MEP MAC address of the sink is determined, and the RMEP MAC address of the source is determined to be the MEP MAC address of the sink.
  • the S110 includes: the network management device sends a connectivity test start command to the sink end, so that the sink end obtains the MEP MAC address of the source end by using the connectivity test, and the network management device receives the sink end sending The MEP MAC address of the source end determines that the RMEP MAC address of the sink is the MEP MAC address of the source.
  • the network management device can determine the RMEP MAC address or the sink end of the source end.
  • the network management device first configures other parameters of the Y.1731 protocol.
  • the configuration method may employ the prior art or the method of other embodiments of the present invention.
  • the network management device sends a Continuity Check (CC) start command to the source and sink terminals, that is, a continuity check message (CCM) is used to initiate the connectivity test.
  • CC Continuity Check
  • the source learns the MEP MAC address of the sink through the CC, and the sink learns the MEP MAC address of the source through the CC.
  • the source device returns the MEP MAC address of the sink learned by the CC to the network management device, and the network management device uses the MEP MAC address of the sink as the RMEP MAC address of the source end, and the sink returns the MEP MAC address of the source of the CC learning to the network management device, and the network management device
  • the MEP MAC address of the source is used as the RMEP MAC address of the sink.
  • the CCM message is used to detect the connectivity between the MEP and the RMEP, that is, the relevant information is encapsulated and sent in the CCM.
  • the CCM packet is the payload of the ETH (Ethernet) packet.
  • the source MAC address of the ETH packet header is the bridge MAC address or port MAC of the MEP.
  • the CCM packet format is the same as that of other ETH OAM packets.
  • the op code value is 1.
  • FIG. 3 is a schematic flow chart of a method for determining a source RMEP MAC and a sink RMEP MAC. As shown in Figure 3, the specific process is:
  • the network management device sends a CC startup command to the source end, so that the source end starts the CC.
  • the source sends a CCM packet to the sink, and initiates a CC.
  • the source end may send the CCM message in a broadcast manner, so that after receiving the CCM message, the sink end corresponding to the source end may determine the CCM message according to the related information in the CCM message. It is sent to the sink, where the related information may be information such as identification information of the source.
  • the sink sends a CCM response message to the source end, where the CMM response message includes the sink MEP MAC information, so that the source end learns the sink MEP MAC.
  • the source sends the sink MEP MAC to the network management device.
  • the network management device uses the sink MEP MAC as the source RMEP MAC. 306.
  • the network management device sends a CC startup command to the sink to enable the sink to start the CC.
  • the sink sends a CCM packet to the source, and initiates a CC.
  • the sink may send the CCM packet in a broadcast manner, so that the source end corresponding to the sink end receives the CCM packet, and the source end may determine the CCM packet according to the related information in the CCM packet. It is sent to the source end, where the related information may be information such as the identification information of the sink.
  • the source sends a CCM response packet to the sink, where the CMM response packet includes the source MEP MAC information, so that the sink learns the source MEP MAC.
  • the sink sends the source MEP MAC to the network management device.
  • the network management device will source ⁇ ? ⁇ 1 (as the sink 1 ⁇ / ⁇ ⁇ ⁇ [ (.
  • S110 includes:
  • the MEP direction of the source end is determined to be upper
  • the MEP direction of the source is determined to be lower.
  • the network management device determines the MEP direction of the source end. Specifically, as shown in Figure 4: For the MEP direction at the source end,
  • S110 includes:
  • the MEP of the sink monitors the UNI.
  • the MEP direction of the sink is determined to be lower.
  • the MEP direction of the sink is determined to be upper;
  • the MEP of the sink monitors the NNI.
  • the MEP direction of the sink is determined to be upward.
  • the peer end of the sink is a router, the MEP direction of the sink is determined to be lower.
  • the sink is a router, determine that the MEP direction of the sink is up.
  • the network management device determines the MEP direction of the sink. Specifically, as shown in Figure 4: For the MEP direction of the sink,
  • the sink is the OLT
  • the MEP monitors the UNI
  • the peer is the ONU, the direction is down, and the peer is the router (CX_4)
  • the direction is up
  • the MEP monitors the NNI the peer is the ONU, the direction is UP, the peer is the router (CX_4), and the shell 1 J direction is down;
  • the fixed direction is UP.
  • S110 includes:
  • the network management device determines that the active/passive parameter of the source is passive.
  • the network management device determines the active/passive parameters of the source.
  • the passive end does not return the local count data to the active end after receiving the performance measurement message. That is, the passive end directly calculates the performance data after receiving the measurement message.
  • the default network source device is passive and the sink terminal is active.
  • the method 100 further includes:
  • the network management device sends an update-backward-mac command to the source device, so that the source device selects the user service MAC address as the source of the measurement configuration parameter according to the update-backward-mac command.
  • Backward MAC address the user service MAC address
  • the Backward MAC address is the MAC address of the user service packet of the MEP.
  • the backward MAC address of the MxU is the service packet MAC of the MxU.
  • the performance measurement under the point-to-point scenario (ie 1: 1 scene) does not need to be distinguished, so the backward MAC is not input.
  • the backward MAC of the source MxU is selected by the MxU by default.
  • This function is the update-backward-mac function supported by the device. That is, the network management device sends the update-backward-mac command to the source, and the source device selects the user service MAC as the source backward MAC according to the update-backward-mac command.
  • the MxU automatically selects a learned service MAC address on the designated user port, such as the MAC address of a Personal Computer (PC), as the source backward MAC.
  • PC Personal Computer
  • the network management device automatically configures measurement configuration parameters, so the user does not need to input corresponding measurement configuration parameters, which facilitates rapid deployment of measurement instances.
  • the method for measuring the network performance of the embodiment of the present invention can determine the configuration configuration parameters of the network management device, thereby reducing the configuration operation of the user, enabling rapid deployment of network performance measurement, thereby improving the efficiency of network performance measurement.
  • FIG. 6 shows a schematic flow diagram of a method 600 of network performance measurement in accordance with another embodiment of the present invention.
  • the method 600 includes: S610, the network element device performs network performance measurement, and obtains original data of network performance measurement;
  • the network element device stores the original data, so that the network management device obtains the original data from the network element device in real time for real-time monitoring;
  • the network element device processes the original data according to a statistical period, and stores the data processed according to the statistical period, so that the network management device obtains the data processed according to the statistical period from the network element device according to the monitoring period for periodic monitoring.
  • the data collection of network performance measurement is relatively large, and the overhead of data transmission and processing is relatively high, which affects the efficiency of network performance monitoring.
  • the network element device performs network performance measurement to obtain the original data of the network performance measurement
  • the original data is stored, and on the other hand, the original data is processed according to a statistical period and stored according to a statistical period.
  • the network management device can obtain the data processed according to the statistical period from the network element device for periodic monitoring according to the monitoring period, or the network management device can obtain the original data from the network element device in real time for real-time monitoring. monitor.
  • the network element device when the network element device performs network performance measurement, it stores two pieces of data, one is the original data, and the other is the data processed by the network element device according to the statistical period.
  • the network management device performs periodic monitoring, it obtains data processed according to the statistical period from the network element device according to the monitoring period.
  • real-time monitoring is performed, the original data is obtained from the network element device in real time.
  • the network element device Since the network element device first processes the original data according to the statistical period, when the network management device performs cycle monitoring, the amount of data acquired is reduced, so the pressure of data transmission and processing is reduced. In this way, continuous monitoring of service quality can be performed through periodic monitoring, active monitoring of the network, analysis of historical trends in network service quality, and review of network quality failure causes.
  • real-time monitoring can be initiated for the service pipeline to obtain the latest service measurement data at a high frequency.
  • the network management device can obtain the original data from the network element device in real time to provide real-time service quality data to the customer for accurate fault point capture and auxiliary fault location.
  • the network element device can store the data processed according to the statistical period to perform periodic monitoring and acquisition by using the network element device to store the original data of the network performance measurement and the data processed according to the statistical period.
  • the raw data is monitored in real time, so that the amount of data transmitted can be reduced, and the centralized processing pressure of the network management equipment can be reduced, thereby improving the efficiency of network performance measurement.
  • the network element device stores the original data, including: the network element device stores the original data in an MIB format.
  • the network element device stores data processed according to a statistical period, including:
  • the network element device stores the data processed according to the statistical period as a text form.
  • the original data is stored as
  • the MIB form that is, the SNMP MIB form, is not processed.
  • the network element device processes the original data according to the statistical period, and stores the processed data in a text form, wherein the processing of the original data may specifically be processing the original data, and/or performing the original data. Calculate, and/or perform statistics on the raw data, and so on. In this way, the network element device shares a part of the data processing workload, which can reduce the workload of centralized processing of the network management device.
  • the network element device 710 performs network performance measurement acquisition measurement data 720, for example, delay, packet loss, and jitter data generated according to a 10-second measurement period.
  • the measurement data 720 is stored as MIB form data 721 and provided to the network management device 730 through the MIB interface.
  • the MIB form data 721 is not processed.
  • the number of records of the measurement data 720 retained by the MIB format data 721 may be set, such as up to M records (M may be an integer greater than 2).
  • the network element device 710 processes the measurement data 720 according to a statistical period, and stores the processed data as text form data 722, so as to be provided through a text interface, such as an FTP (File Transfer Protocol) interface.
  • FTP File Transfer Protocol
  • the network management device 730 is provided.
  • the measurement data 720 is processed according to a statistical period (e.g., 15 minutes), such as the maximum, minimum, and average values in the statistical period, such that the network element device 710 can share a portion of the data processing workload.
  • a statistical period e.g., 15 minutes
  • the network management device 730 obtains the text form data 722 according to the monitoring period (for example, 1 hour) during the period monitoring, which can reduce the number of times the network management device 730 obtains the measurement data from the network element device 710, and also reduces the processing load of the network management device 730.
  • the monitoring period for example, 1 hour
  • the network management device 730 acquires (for example, acquired in the same 10-cycle period as the measurement period) MIB-form data 721 in real time. In this way, through cycle monitoring and real-time monitoring, we can achieve continuous long-term results and real-time short-term results.
  • On-demand monitoring can be initiated with real-time monitoring. That is to say, in the cycle monitoring, real-time monitoring of the same object can be initiated according to the demand, and measured as needed. This kind of initiation is one-click, no additional configuration is required, and no tasks need to be created.
  • the network element device is an upstream network element device, and the upstream network element device indicates a network element device whose number of connected nodes is less than a predetermined value. That is, performance data needs to be collected on devices (upstream devices) with fewer nodes in the network.
  • data is collected from a router close to the base station controller; in an optical access network, data is collected from an OLT or a router.
  • the S610 includes: the network element device uses the two-way delay message to obtain one-way delay data.
  • the TxTimeStampf indicates the transmission timestamp of the 1DM delay message 1DM
  • the RxTimef indicates the reception time of the 1DM.
  • other data such as packet loss and jitter need to be obtained on the CX (measurement initiator).
  • the network management device needs to acquire performance data on both the MxU and the CX, and the collection workload is large.
  • the embodiment of the present invention uses the two-way delay packet to calculate the data of the one-way delay, and solves the problem that the one-way delay is not obtained at the measurement initiator.
  • the network management device automatically switches to the two-way delay configuration on the NE device. According to the packet capability of two-way delay, the one-way delay information is
  • the network element device obtains one-way delay data by using the two-way delay packet, and the method includes: acquiring, by the network element device, one-way delay data according to at least one of the following equations,
  • the TxTimeStampf indicates the transmission timestamp of the DMM of the delay measurement message in the two-way delay message
  • RxTimeStampf indicates the reception timestamp of the DMM
  • TxTimeStampb indicates the transmission time of the delay measurement response DMR in the two-way delay message. Poke, RxTimeb indicates The receiving moment of the DMR.
  • the destination network element performs calculation.
  • Bidirectional delay (RxTimeb - TxTimeStampf) - (TxTimeStampb - RxTimeStampf).
  • Reverse one-way delay RxTimeb - TxTimeStampb.
  • the network performance measurement method of the embodiment of the present invention can reduce the data collection workload, reduce the network overhead, and optimize the collection capability of the network management device, thereby improving network performance, by collecting network performance measurement data on the upstream network element device. The efficiency of the measurement.
  • FIG. 8 shows a schematic flow diagram of a method 800 of network performance measurement in accordance with yet another embodiment of the present invention. As shown in Figure 8, the method 800 includes:
  • the network management device obtains, in real time, the original data of the network performance measurement stored by the network element device from the network element device, and performs real-time monitoring based on the original data, where the original data is measured by the network element device for network performance measurement;
  • the network management device obtains, according to the monitoring period, the data processed by the network element device according to the statistical period, and performs periodic monitoring based on the data processed according to the statistical period, where the network processing is performed according to the statistical period.
  • the data is obtained by the network element device processing the original data according to a statistical period.
  • the network element device when the network element device performs network performance measurement to obtain the original data of the network performance measurement, on the one hand, the original data is stored, and on the other hand, the original data is processed according to a statistical period and stored according to a statistical period.
  • the data processed according to the statistical period is obtained from the network element device according to the monitoring period for periodic monitoring. That is to say, when the network element device performs network performance measurement, it stores two pieces of data, one is the original data, and the other is the data processed by the network element device according to the statistical period.
  • the network management device performs periodic monitoring, it obtains data processed by the network element device according to the statistical period according to the monitoring period.
  • real-time monitoring is performed, the original data is obtained from the network element device in real time.
  • the network element device first processes the original data according to the statistical period.
  • the network management device performs periodic monitoring, the amount of data acquired is reduced, so the pressure of data transmission and processing is reduced. In this way, continuous monitoring of service quality can be carried out through periodic monitoring, and the network can be actively monitored. Analyze the historical trend of network service quality, and review the causes of network quality failures.
  • the method for measuring the network performance of the embodiment of the present invention obtains the original data through the network management device for real-time monitoring, and obtains the data processed according to the statistical period for periodic monitoring, thereby reducing the amount of data transmitted and reducing the centralized processing pressure of the network management device. Thereby the efficiency of network performance measurement can be improved.
  • the original data is optionally stored by the network element device in an MIB form.
  • the data processed according to the statistical period is stored by the network element device as a text form. It should be understood that, in the embodiment of the present invention, the interaction between the network element device and the network management device described on the network element device side and the related features and functions are corresponding to the description of the network management device side, and are not described here.
  • the size of the sequence numbers of the above processes does not mean the order of execution, and the order of execution of each process should be determined by its function and internal logic, and should not be taken to the embodiments of the present invention.
  • the implementation process constitutes any limitation.
  • the network performance measurement method according to the embodiment of the present invention is described in detail above with reference to FIG. 1 to FIG. 8.
  • the network management device and the network element device according to the embodiment of the present invention will be described below with reference to FIG. 9 to FIG.
  • FIG. 9 shows a schematic block diagram of a network management device 900 in accordance with an embodiment of the present invention.
  • the network management device 900 includes:
  • the determining module 910 is configured to determine at least one of the following measurement configuration parameters: a maintenance entity group endpoint MEP identifier ID of the source end, a remote maintenance entity group endpoint RMEP ID of the source end, and a RMEP media access control MAC of the source end Address, the RMEP MAC address of the sink, the MEP direction of the source, the MEP direction of the sink, and the active/passive parameters of the source;
  • the configuration module 920 is configured to configure the determined at least one measurement configuration parameter determined by the determining module 910 to at least one of the source end and the sink end, so that at least one of the source end and the sink end performs network Performance measurement.
  • the configuration parameter is configured by the network management device.
  • the determining module 910 determines at least one of the following measurement configuration parameters: a source MEP ID, a source RMEP ID, a source RMEP MAC, a sink RMEP MAC, a source MEP direction, a sink MEP direction, and a source active/ Passive parameters.
  • the configuration module 920 configures the at least one measurement configuration parameter to the source end and the sink end. Source and sink according to the at least one measurement Configure parameters for network performance measurements. In this way, the configuration parameters are configured by the network management device, and the user does not need to input the above measurement configuration parameters to implement performance monitoring.
  • the network management device of the embodiment of the present invention can reduce the configuration operation of the user by determining the measurement configuration parameters configured for the source end and the sink end, and can quickly deploy the network performance measurement, thereby improving the efficiency of the network performance measurement.
  • the determining module 910 is specifically configured to determine the MEP ID of the source end within the MEP ID range corresponding to the VLAN ID according to the port identifier of the source end and the VLAN ID of the virtual local area network configured by the user.
  • the port identifier of the sink configured by the user and the VLAN ID, and the RMEP ID of the source end is determined within the MEP ID range corresponding to the VLAN ID.
  • the network management device 900 further includes:
  • a first sending module configured to send a connectivity test start command to the source end, so that the source end obtains the MEP MAC address of the sink end through the connectivity test, and sends a connectivity test start command to the sink end, so that the The sink obtains the MEP MAC address of the source through the connectivity test.
  • a receiving module configured to receive a MEP MAC address of the sink sent by the source end, and receive a MEP MAC address of the source end sent by the sink end;
  • the determining module 910 is specifically configured to determine that the RMEP MAC address of the source is the MEP MAC address of the sink, and determine that the RMEP MAC address of the sink is the MEP MAC address of the source.
  • the determining module 910 is specifically configured to:
  • the MEP direction of the source is determined to be up. If the MEP of the source end monitors the NNI of the network side, the MEP direction of the source is determined to be lower.
  • the determining module 910 is specifically configured to:
  • the MEP of the sink monitors the UNI.
  • the MEP direction of the sink is determined to be lower, and when the opposite end of the sink is a router, the sink is determined.
  • the MEP direction is up;
  • the MEP of the sink monitors the NNI.
  • the MEP direction of the sink is determined to be upward.
  • the peer end of the sink is a router, the MEP direction of the sink is determined to be lower.
  • the sink is a router, determine that the MEP direction of the sink is up.
  • the determining module 910 is specifically configured to determine the source of the source end.
  • the network management device 900 further includes:
  • the second sending module is configured to send an update-backward-mac command to the source end in the point-to-multipoint scenario, so that the source terminal selects the user service MAC address according to the update-backward-mac command.
  • the backward MAC address of the source in the measurement configuration parameter As the backward MAC address of the source in the measurement configuration parameter.
  • the network management device of the embodiment of the present invention can reduce the configuration operation of the user by determining the measurement configuration parameters, and can quickly deploy the network performance measurement, thereby improving the efficiency of the network performance measurement.
  • the network management device 900 may correspond to the network management device in the method for network performance measurement according to the embodiment of the present invention, and the foregoing and other operations and/or functions of the respective modules in the network management device 900 respectively implement FIG. 1
  • the corresponding processes to the respective methods in FIG. 5 are not described here.
  • FIG. 10 shows a schematic block diagram of a network element device 1000 in accordance with an embodiment of the present invention.
  • the network element device 1000 includes:
  • the measurement module 1010 is configured to perform network performance measurement to obtain original data of network performance measurement.
  • the first storage module 1020 is configured to store the original data, so that the network management device obtains the original data from the network element device in real time for real-time monitoring. ;
  • the processing module 1030 is configured to process the original data according to a statistical period
  • the second storage module 1040 is configured to store the data processed according to the statistical period, so that the network management device obtains the data processed according to the statistical period from the network element device according to the monitoring period to perform cycle monitoring.
  • the network element device of the embodiment of the present invention can obtain the original data of the network management device and the data processed according to the statistical period, so that the network management device can obtain the original data for real-time monitoring, and obtain the data processed according to the statistical cycle for periodic monitoring. Therefore, the amount of transmitted data can be reduced, and the centralized processing pressure of the network management device can be reduced, thereby improving the efficiency of network performance measurement.
  • the first storage module 1020 is specifically configured to store the original data in an MIB format.
  • the second storage module 1040 is specifically configured to store the data processed according to the statistical period as a text form.
  • the measurement module 1010 is specifically configured to acquire one-way delay data by using a two-way delay message.
  • the measurement module 1010 is specifically configured to acquire one-way time according to at least one of the following equations: Delay data,
  • the TxTimeStampf indicates the transmission timestamp of the DMM of the delay measurement message in the two-way delay message
  • RxTimeStampf indicates the reception timestamp of the DMM
  • TxTimeStampb indicates the transmission time of the delay measurement response DMR in the two-way delay message. Poke, RxTimeb indicates the receiving moment of the DMR.
  • the network element device 1000 is an upstream network element device, and the upstream network element device indicates a network element device whose number of connected nodes is less than a predetermined value.
  • the embodiment of the present invention can reduce the data collection workload, reduce the network overhead, and optimize the collection capability of the network management device, thereby improving the efficiency of the network performance measurement.
  • the network element device 1000 may correspond to a network element device in a method for network performance measurement according to an embodiment of the present invention, and the foregoing and other operations and/or functions of respective modules in the network element device 1000 are respectively The corresponding processes of the various methods in FIG. 6 to FIG. 8 are implemented, and are not described here.
  • FIG. 11 shows a schematic block diagram of a network management device 1100 in accordance with an embodiment of the present invention.
  • the network management device 1100 includes:
  • the real-time monitoring module 1110 is configured to obtain, in real time, the original data of the network performance measurement stored by the network element device from the network element device, and perform real-time monitoring based on the original data, where the original data is measured by the network element device for network performance measurement. ;
  • the period monitoring module 1120 is configured to obtain, according to the monitoring period, the data processed by the network element device according to the statistical period, and perform period monitoring based on the data processed according to the statistical period, where the processing is performed according to the statistical period.
  • the subsequent data is obtained by the network element device processing the original data according to a statistical period.
  • the original data acquired by the real-time monitoring module 1110 is stored by the network element device as an MIB.
  • the data processed by the periodic monitoring module 1120 according to the statistical period is stored by the network element device as text.
  • the network management device 1100 may correspond to the network management device in the method for network performance measurement according to the embodiment of the present invention, and the above-mentioned sum of each module in the network management device 1100 Other operations and/or functions are respectively omitted in order to implement the corresponding processes of the respective methods in FIG. 6 to FIG.
  • the network management device of the embodiment of the present invention obtains raw data for real-time monitoring, and obtains data processed according to the statistical period for periodic monitoring, which can reduce the amount of data transmitted and reduce the centralized processing pressure of the network management device, thereby improving network performance measurement. effectiveness.
  • FIG. 12 shows a structure of a network management device according to still another embodiment of the present invention, including at least one processor 1202 (for example, a CPU), at least one network interface 1205 or other communication interface, a memory 1206, and at least one communication bus 1203. Used to implement connection communication between these devices.
  • the processor 1202 is configured to execute executable modules, such as computer programs, stored in the memory 1206.
  • Memory 1206 may include high speed random access memory (RAM: Random Access Memory) and may also include non-volatile memory, such as at least one disk memory.
  • the communication connection with at least one other network element can be implemented through at least one network interface 1205 (which may be wired or wireless), and an Internet, a wide area network, a local area network, a metropolitan area network, etc. may be used.
  • the memory 1206 stores a program 12061 that can be executed by the processor 1202.
  • the program includes:
  • the network management device determines at least one of the following measurement configuration parameters: a maintenance entity group endpoint MEP identifier ID of the source end, a remote maintenance entity group endpoint RMEP ID of the source end, a RMEP media access control MAC address of the source end, and a sink end a RMEP MAC address, a MEP direction of the source end, an MEP direction of the sink end, and an active/passive parameter of the source end; the network management device configures the determined at least one measurement configuration parameter to at least one of the source end and the sink end, So that at least one of the source end and the sink end performs network performance measurement.
  • the network management device determines the at least one measurement configuration parameter, and includes at least one of the following steps: the network management device selects the MEP ID corresponding to the VLAN ID according to the port identifier of the source end and the virtual local area network VLAN ID configured by the user. Determining the MEP ID of the source end; and the port identifier of the sink end configured by the network management device according to the user and the VLAN ID, in the VLAN
  • the RMEP ID of the source is determined within the MEP ID range corresponding to the ID.
  • the network management device determines the at least one measurement configuration parameter, and includes at least one of the following steps a and b: a. the network management device sends a connectivity test start command to the source end, so that the source end is connected. The MEP MAC address of the sink is obtained by the network test, and the network management device receives the MEP MAC address of the sink sent by the source, and determines that the RMEP MAC address of the source is the The MEP MAC address of the sink end; b.
  • the network management device sends a connectivity test start command to the sink end, so that the sink end obtains the MEP MAC address of the source end through the connectivity test, and the network management device receives the source sent by the sink end
  • the MEP MAC address of the terminal determines that the RMEP MAC address of the sink is the MEP MAC address of the source.
  • the network management device determines the at least one measurement configuration parameter, including: if the source end
  • the MEP direction of the source is Up; if the MEP of the source monitors the NNI of the network, the MEP direction of the source is Down.
  • the network management device determines the at least one measurement configuration parameter, including: if the sink is an optical line terminal OLT, the MEP of the sink monitors the UNI, and determines the MEP of the sink when the opposite end of the sink is the optical node ONU If the direction of the sink is the router, the MEP direction of the sink is determined to be up. If the sink is the OLT, the MEP of the sink monitors the NNI. When the peer of the sink is the ONU, the MEP of the sink is determined. The direction is up. When the peer end of the sink is a router, the MEP direction of the sink is determined to be lower. If the sink is a router, the MEP direction of the sink is determined to be upper.
  • the network management device determines the at least one measurement configuration parameter, including: the network management device determines that the active/passive parameter of the source terminal is passive.
  • the method further includes: in a point-to-multipoint scenario, the network management device sends an update-backward-mac command to the source, so that the source device selects a user service MAC address according to the update-backward-mac command. As the backward MAC address of the source in the measurement configuration parameter.
  • the network management device determines the measurement configuration parameters configured for the source end and the sink end, which can reduce the configuration operation of the user and enable rapid deployment of network performance measurement. Can improve the efficiency of network performance measurement.
  • FIG. 13 shows a structure of a network element device according to still another embodiment of the present invention, including at least one processor 1302 (eg, a CPU), at least one network interface 1305 or other communication interface, a memory 1306, and at least one communication bus 1303. Used to implement connection communication between these devices.
  • the processor 1302 is configured to execute executable modules, such as computer programs, stored in the memory 1306.
  • the memory 1306 may include a high speed random access memory (RAM: Random Access Memory), and may also include a non-volatile memory such as at least one disk memory.
  • the communication connection with at least one other network element is implemented by at least one network interface 1305 (which may be wired or wireless), and may use an Internet, a wide area network, a local area network, a metropolitan area network, or the like.
  • the memory 1306 stores a program 13061 that can be executed by the processor 1302.
  • the program includes:
  • the network element device performs network performance measurement to obtain original data of network performance measurement; the network element device stores the original data, so that the network management device obtains the original data from the network element device in real time for real-time monitoring; and, the network element device
  • the original data is processed according to the statistical period, and the data processed according to the statistical period is stored, so that the network management device obtains the data processed according to the statistical period from the network element device according to the monitoring period for periodic monitoring.
  • the network element device stores the original data, including: the network element device stores the original data in an MIB form.
  • the network element device stores the data processed according to the statistical period
  • the method includes: the network element device stores the data processed according to the statistical period as a text form.
  • the network element device performs network performance measurement, including: the network element device uses the two-way delay message to obtain one-way delay data.
  • the reverse one-way delay RxTimeb - TxTimeStampb, where TxTimeStampf represents the transmission timestamp of the delay measurement message DMM in the two-way delay message, RxTimeStampf represents the reception timestamp of the DMM, and TxTimeStampb represents the two-way delay
  • TxTimeStampf represents the transmission timestamp of the delay measurement message DMM in the two-way delay message
  • RxTimeStampf represents the reception timestamp of the DMM
  • TxTimeStampb represents the two-way delay
  • the delay in the message measures the transmission timestamp of the response DMR
  • RxTimeb indicates the reception time of the DMR.
  • the network element device is an upstream network element device, and the upstream network element device indicates a network element device whose number of connected nodes is less than a predetermined value.
  • the network element device stores the original data of the network performance measurement and the data processed according to the statistical period, and the network management device can obtain the data processed according to the statistical period.
  • Cycle monitoring is performed to obtain raw data for real-time monitoring, thereby reducing the amount of data transmitted and reducing the centralized processing pressure of the network management equipment, thereby improving the efficiency of network performance measurement.
  • FIG. 14 shows a structure of a network management device according to still another embodiment of the present invention, including at least one processor 1402 (for example, a CPU), at least one network interface 1405 or other communication interface, a memory 1406, and at least one communication bus 1403. Used to implement connection communication between these devices.
  • the processor 1402 is configured to execute an executable module stored in the memory 1406, such as a computer program Preface.
  • the memory 1406 may include a high speed random access memory (RAM: Random Access Memory), and may also include a non-volatile memory such as at least one disk memory.
  • the communication connection with at least one other network element is implemented by at least one network interface 1405 (which may be wired or wireless), and may use an Internet, a wide area network, a local area network, a metropolitan area network, or the like.
  • the memory 1406 stores a program 14061 that can be executed by the processor 1402.
  • the program includes:
  • the network management device obtains, in real time, the original data of the network performance measurement stored by the network element device from the network element device, and performs real-time monitoring based on the original data, where the original data is measured by the network element device for network performance measurement; and, the network management device The device obtains the data processed by the network element device according to the statistical period according to the monitoring period, and performs periodic monitoring based on the data processed according to the statistical period, wherein the data processed according to the statistical period is used by the network.
  • the meta device obtains the raw data according to a statistical period.
  • the original data is stored by the network element device as a MIB.
  • the data processed according to the statistical period is stored by the network element device as a text form. It can be seen from the foregoing technical solutions provided by the embodiments of the present invention that the network management device obtains the original data for real-time monitoring, and obtains the data processed according to the statistical period for periodic monitoring, thereby reducing the amount of data transmitted and reducing the network management.
  • the equipment handles the pressure centrally, which can improve the efficiency of network performance measurement.
  • the disclosed systems, devices, and methods may be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, or an electrical, mechanical or other form of connection.
  • the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the embodiments of the present invention.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the technical solution of the present invention contributes in essence or to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a removable hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and the like, which can store program codes. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

Disclosed are a network performance measurement method, a network management device and a network element device. The method comprises: a network management device determining at least one measurement configuration parameter of the following measurement configuration parameters: an MEP ID of a source end, an RMEP ID of the source end, an RMEP MAC address of the source end, an RMEP MAC address of a destination end, an MEP direction of the source end, an MEP direction of the destination end and an active/passive parameter of the source end; and the network management device configuring the determined at least one measurement configuration parameter to at least one of the source end and the destination end, so that at least one of the source end and the destination end conducts network performance measurement. The network performance measurement method, the network management device and the network element device in the embodiments of the present invention can improve the efficiency of network performance measurement.

Description

网络性能测量的方法、 网管设备和网元设备 本申请要求于 2013 年 8 月 6 日提交中国专利局、 申请号为 201310339220.2、 发明名称为"网络性能测量的方法、 网管设备和网元设备" 的中国专利申请的优先权, 其全部内容通过引用结合在本申请中。 技术领域  Network performance measurement method, network management device and network element device The application is submitted to the Chinese Patent Office on August 6, 2013, the application number is 201310339220.2, and the invention name is "network performance measurement method, network management device and network element device". Priority of Chinese Patent Application, the entire contents of which is incorporated herein by reference. Technical field
本发明涉及通信领域, 并且更具体地, 涉及网络性能测量的方法、 网管 设备和网元设备。 背景技术  The present invention relates to the field of communications, and more particularly to a method of network performance measurement, a network management device, and a network element device. Background technique
Y.1731协议作为以太网的操作、 管理与维护( Operations, Administration and Maintenance , OAM )协议, 定义了一系列测量丟包、 时延、 时延抖动的 方法, 使得运营商可以实时获取网络的真实性能数据, 快速诊断网络性能问 题, 也是提供给用户业务等级协议(Service Level Agreement, SLA )的有效 保证。  As an operation, administration, and maintenance (OAM) protocol of the Ethernet, the Y.1731 protocol defines a series of methods for measuring packet loss, delay, and delay jitter, so that operators can obtain the real network in real time. Performance data, rapid diagnosis of network performance issues, is also an effective guarantee for providing users with Service Level Agreements (SLAs).
Y.1731协议解决了以太组网点到点 (Point to Point , Ρ2Ρ)的性能测量问题。 对于按照 Y.1731 协议监控的网络, 可能会部署上千甚至上万的监控点。 对 于点到多点 (Point to Multipoint, P2MP)场景, Y.1731协议仅能够在众多点中 选取一个监控点。 为了解决以太网 P2MP组网的多点同时性能监控的问题, 所有的点都可以发起监控, 监控规模将会扩大 200倍以上。 因此, 目前网络 性能测量的配置复杂度、 工作量以及采集规模都比较大, 影响网络性能测量 的效率。 发明内容  The Y.1731 protocol solves the performance measurement problem of Ethernet point-to-point (Point to Point, Ρ2Ρ). For networks monitored according to the Y.1731 protocol, thousands or even tens of thousands of monitoring points may be deployed. For point-to-multipoint (P2MP) scenarios, the Y.1731 protocol can only select one monitoring point among a large number of points. In order to solve the problem of multi-point simultaneous performance monitoring of Ethernet P2MP networking, all points can be monitored and the monitoring scale will be expanded by more than 200 times. Therefore, the configuration complexity, workload, and acquisition scale of network performance measurement are relatively large, which affects the efficiency of network performance measurement. Summary of the invention
本发明实施例提供了一种网络性能测量的方法、 网管设备和系统, 能够 提高网络性能测量的效率。  The embodiments of the present invention provide a network performance measurement method, a network management device, and a system, which can improve the efficiency of network performance measurement.
第一方面, 提供了一种网络性能测量的方法, 包括: 网管设备确定以下 测量配置参数中的至少一个测量配置参数: 源端的维护实体组端点 ( Maintenance Entity Group End Point, MEP )标识( Identity, ID )、 该源端 的远端维护实体组端点( Remote MEP , RMEP ) ID、 该源端的 RMEP媒体 接入控制 (Media Access Control, MAC )地址、 宿端的 RMEP MAC地址、 该源端的 MEP方向、 该宿端的 MEP方向和该源端的主动 /被动参数; 该网 管设备将确定的该至少一个测量配置参数配置给该源端和该宿端中的至少 一个, 以便于该源端和该宿端中的至少一个进行网络性能测量。 The first aspect provides a method for measuring network performance, including: determining, by the network management device, at least one of the following measurement configuration parameters: a Maintenance Entity Group End Point (MEP) identifier (identity, ID), the remote maintenance entity group endpoint (Remote MEP, RMEP) ID of the source, and the RMEP media of the source The access control (MAC) address, the RMEP MAC address of the sink, the MEP direction of the source, the MEP direction of the sink, and the active/passive parameters of the source; the at least one measurement configuration parameter to be determined by the network management device And configuring at least one of the source end and the sink end to facilitate network performance measurement by at least one of the source end and the sink end.
在第一种可能的实现方式中, 该网管设备确定该至少一个测量配置参 数, 包括以下步骤中的至少一个步骤: 该网管设备根据用户配置的该源端的 端口标识和虚拟局域网( Virtual Local Area Network, VLAN ) ID,在该 VLAN ID对应的 MEP ID范围内确定该源端的 MEP ID; 和该网管设备根据用户配 置的该宿端的端口标识和该 VLAN ID, 在该 VLAN ID对应的 MEP ID范围 内确定该源端的 RMEP ID。  In a first possible implementation manner, the network management device determines the at least one measurement configuration parameter, and includes at least one of the following steps: the network management device configures the source port identifier and the virtual local area network according to the user configuration (Virtual Local Area Network , the VLAN ID, the MEP ID of the source is determined within the range of the MEP ID corresponding to the VLAN ID; and the network management device configures the port identifier of the sink and the VLAN ID according to the user, within the MEP ID range corresponding to the VLAN ID Determine the RMEP ID of the source.
结合第一方面或第一方面的第一种可能的实现方式,在第二种可能的实 现方式中, 该网管设备确定该至少一个测量配置参数, 包括以下 a和 b步骤 中的至少一个步骤: a.该网管设备向该源端发送连通性测试启动命令, 以使 该源端通过连通性测试获取该宿端的 MEP MAC地址,该网管设备接收该源 端发送的该宿端的 MEP MAC地址, 确定该源端的 RMEP MAC地址为该宿 端的 MEP MAC地址; b.该网管设备向该宿端发送连通性测试启动命令, 以 使该宿端通过连通性测试获取该源端的 MEP MAC地址,该网管设备接收该 宿端发送的该源端的 MEP MAC地址, 确定该宿端的 RMEP MAC地址为该 源端的 MEP MAC地址。  With reference to the first aspect or the first possible implementation manner of the first aspect, in a second possible implementation manner, the network management device determines the at least one measurement configuration parameter, including at least one of the following steps a and b: The network management device sends a connectivity test start command to the source end, so that the source end obtains the MEP MAC address of the sink end through the connectivity test, and the network management device receives the MEP MAC address of the sink end sent by the source end, and determines The RMEP MAC address of the source is the MEP MAC address of the sink; b. The network management device sends a connectivity test start command to the sink, so that the sink obtains the MEP MAC address of the source through the connectivity test, and the network management device Receiving the MEP MAC address of the source end sent by the sink end, determining that the RMEP MAC address of the sink end is the MEP MAC address of the source end.
结合第一方面或第一方面的第一或二种可能的实现方式,在第三种可能 的实现方式中, 该网管设备确定该至少一个测量配置参数, 包括: 若该源端 的 MEP监控用户侧接口 (User Node Interface, UNI ), 则确定该源端的 MEP 方向为上;若该源端的 MEP监控网络侧接口( Network Node Interface, NNI ), 则确定该源端的 MEP方向为下。  With reference to the first aspect or the first or the second possible implementation manner of the first aspect, in a third possible implementation, the network management device determines the at least one measurement configuration parameter, including: if the source MEP monitors the user side The User Node Interface (UNI) determines that the MEP direction of the source is Up; if the MEP of the source monitors the Network Node Interface (NNI), it determines that the MEP direction of the source is Down.
结合第一方面或第一方面的第一至三种可能的实现方式中的任一种可 能的实现方式, 在第四种可能的实现方式中, 该网管设备确定该至少一个测 量配置参数, 包括: 若该宿端为光线路终端 (Optical Line Terminal, OLT ), 该宿端的 MEP监控 UNI,在该宿端的对端为光节点( Optical Network Unit , 0NU ) 时确定该宿端的 MEP方向为下, 在该宿端的对端为路由器时确定该 宿端的 MEP方向为上; 若该宿端为 OLT, 该宿端的 MEP监控 NNI, 在该宿 端的对端为 ONU时确定该宿端的 MEP方向为上,在该宿端的对端为路由器 时确定该宿端的 MEP方向为下; 若该宿端为路由器, 则确定该宿端的 MEP 方向为上。 With reference to the first aspect, or any one of the first to the third possible implementation manners of the first aspect, in a fourth possible implementation, the network management device determines the at least one measurement configuration parameter, including If the sink is an Optical Line Terminal (OLT), the MEP of the sink monitors the UNI. When the opposite end of the sink is an Optical Network Unit (0NU), the MEP direction of the sink is determined to be lower. When the peer end of the sink is a router, it is determined that the MEP direction of the sink is up; if the sink is an OLT, the MEP of the sink monitors the NNI, and when the opposite end of the sink is an ONU, the MEP direction of the sink is determined to be upper. At the opposite end of the sink is the router The MEP direction of the sink is determined to be lower; if the sink is a router, it is determined that the MEP direction of the sink is upper.
结合第一方面或第一方面的第一至四种可能的实现方式中的任一种可 能的实现方式, 在第五种可能的实现方式中, 该网管设备确定该至少一个测 量配置参数, 包括: 该网管设备确定该源端的主动 /被动参数为被动。  With reference to the first aspect, or any one of the first to fourth possible implementation manners of the first aspect, in a fifth possible implementation, the network management device determines the at least one measurement configuration parameter, including : The network management device determines that the active/passive parameter of the source is passive.
结合第一方面或第一方面的第一至五种可能的实现方式中的任一种可 能的实现方式, 在第六种可能的实现方式中, 该方法还包括: 在点到多点场 景下, 该网管设备向该源端发送 update-backward-mac命令, 以使该源端根 据该 update-backward-mac命令选择用户业务 MAC地址作为测量配置参数中 的该源端的 backward MAC地址。  With reference to the first aspect or any one of the first to the fifth possible implementation manners of the first aspect, in a sixth possible implementation, the method further includes: in a point-to-multipoint scenario The network management device sends an update-backward-mac command to the source device, so that the source device selects the user service MAC address according to the update-backward-mac command as the backward MAC address of the source end in the measurement configuration parameter.
第二方面, 提供了一种网络性能测量的方法, 包括: 网元设备进行网络 性能测量, 得到网络性能测量的原始数据; 该网元设备存储该原始数据, 以 便于网管设备从该网元设备实时获取该原始数据以进行实时监控; 并且, 该 网元设备按照统计周期处理该原始数据, 存储按照统计周期处理后的数据, 以便于该网管设备按照监控周期从该网元设备获取该按照统计周期处理后 的数据以进行周期监控。  A second aspect provides a method for measuring network performance, including: performing, by a network element device, network performance measurement, obtaining original data of network performance measurement; and the network element device storing the original data, so that the network management device is configured from the network element device Obtaining the original data in real time for real-time monitoring; and the network element device processes the original data according to a statistical period, and stores the data processed according to the statistical period, so that the network management device obtains the statistics according to the monitoring period from the network element device. Periodically processed data for periodic monitoring.
在第一种可能的实现方式中, 该网元设备存储该原始数据, 包括: 该网 元设备将该原始数据存储为管理信息库 (Management Information Base , MIB )形式。  In a first possible implementation, the network element device stores the original data, including: the network element device stores the original data in a Management Information Base (MIB) format.
结合第二方面或第二方面的第一种可能的实现方式,在第二种可能的实 现方式中, 该网元设备存储按照统计周期处理后的数据, 包括: 该网元设备 将该按照统计周期处理后的数据存储为文本形式。  With reference to the second aspect or the first possible implementation manner of the second aspect, in a second possible implementation manner, the network element device stores data processed according to a statistical period, including: the network element device according to the statistics The processed data after the cycle is stored in text form.
结合第二方面或第二方面的第一或二种可能的实现方式,在第三种可能 的实现方式中, 该网元设备进行网络性能测量, 包括: 该网元设备利用双向 时延报文获取单向时延数据。  With reference to the second aspect or the first or the second possible implementation manner of the second aspect, in a third possible implementation manner, the network element device performs network performance measurement, including: the network element device uses a two-way delay packet Get one-way delay data.
结合第二方面的第三种可能的实现方式, 在第四种可能的实现方式中, 该网元设备利用双向时延报文获取单向时延数据, 包括: 该网元设备根据以 下至少一个等式获取单向时延数据, 正向单向时延 = RxTimeStampf - TxTimeStampf , 反向单向时延 = RxTimeb - TxTimeStampb , 其中, TxTimeStampf 表示该双向时延才艮文中的时延测量报文( Delay Measurement Message, DMM ) 的发送时间戳, RxTimeStampf 表示该 DMM的接收时间 戳, TxTimeStampb 表示该双向时延报文中的时延测量应答 ( Delay Measurement Reply, DMR )的发送时间戳, RxTimeb表示该 DMR的接收时 刻。 With the third possible implementation of the second aspect, in a fourth possible implementation manner, the network element device uses the two-way delay packet to obtain one-way delay data, including: the network element device according to at least one of the following The equation obtains one-way delay data, forward one-way delay = RxTimeStampf - TxTimeStampf, reverse one-way delay = RxTimeb - TxTimeStampb , where TxTimeStampf represents the delay measurement message in the two-way delay (Delay) Measurement Message, DMM) The timestamp of the transmission, RxTimeStampf indicates the reception time of the DMM. The TxTimeStampb indicates the transmission timestamp of the Delay Measurement Reply (DMR) in the two-way delay message, and RxTimeb indicates the reception time of the DMR.
结合第二方面或第二方面的第一至四种可能的实现方式中的任一种可 能的实现方式, 在第五种可能的实现方式中, 该网元设备为上游网元设备, 该上游网元设备表示连接节点数量少于预定值的网元设备。  With reference to the second aspect or any one of the first to fourth possible implementation manners of the second aspect, in a fifth possible implementation manner, the network element device is an upstream network element device, and the upstream The network element device indicates a network element device whose number of connected nodes is less than a predetermined value.
第三方面, 提供了一种网络性能测量的方法, 包括: 网管设备从网元设 备实时获取该网元设备存储的网络性能测量的原始数据,基于该原始数据进 行实时监控,其中,该原始数据由该网元设备进行网络性能测量测得; 并且, 该网管设备按照监控周期从该网元设备获取该网元设备存储的按照统计周 期处理后的数据, 基于该按照统计周期处理后的数据进行周期监控, 其中, 该按照统计周期处理后的数据由该网元设备按照统计周期处理该原始数据 得到。  The third aspect provides a network performance measurement method, including: the network management device obtains, in real time, the original data of the network performance measurement stored by the network element device from the network element device, and performs real-time monitoring based on the original data, where the original data The network element device performs the network performance measurement and is measured by the network element device. The network management device obtains the data processed by the network element device according to the statistical period according to the monitoring period, and performs the data processed according to the statistical period. Periodic monitoring, where the data processed according to the statistical period is obtained by the network element device processing the original data according to a statistical period.
在第一种可能的实现方式中, 该原始数据由该网元设备存储为 MIB形 式。  In a first possible implementation, the original data is stored by the network element device in an MIB form.
结合第三方面或第三方面的第一种可能的实现方式,在第二种可能的实 现方式中, 该按照统计周期处理后的数据由该网元设备存储为文本形式。  With reference to the third aspect or the first possible implementation manner of the third aspect, in the second possible implementation manner, the data processed according to the statistical period is stored by the network element device as a text form.
第四方面, 提供了一种网管设备, 包括: 确定模块, 用于确定以下测量 配置参数中的至少一个测量配置参数:源端的维护实体组端点 MEP标识 ID、 该源端的远端维护实体组端点 RMEP ID、 该源端的 RMEP媒体接入控制 MAC地址、 宿端的 RMEP MAC地址、 该源端的 MEP方向、 该宿端的 MEP 方向和该源端的主动 /被动参数; 配置模块,用于将该确定模块确定的该至少 一个测量配置参数配置给该源端和该宿端中的至少一个, 以便于该源端和该 宿端中的至少一个进行网络性能测量。  The fourth aspect provides a network management device, including: a determining module, configured to determine at least one of the following measurement configuration parameters: a maintenance entity group endpoint MEP identifier ID of the source end, and a remote maintenance entity group endpoint of the source end RMEP ID, RMEP media access control MAC address of the source end, RMEP MAC address of the sink end, MEP direction of the source end, MEP direction of the sink end, and active/passive parameters of the source end; a configuration module, configured to determine the determining module The at least one measurement configuration parameter is configured to at least one of the source end and the sink end to facilitate network performance measurement by at least one of the source end and the sink end.
在第一种可能的实现方式中, 该确定模块具体用于, 根据用户配置的该 源端的端口标识和虚拟局域网 VLAN ID, 在该 VLAN ID对应的 MEP ID范 围内确定该源端的 MEP ID; ^据用户配置的该宿端的端口标识和该 VLAN ID, 在该 VLAN ID对应的 MEP ID范围内确定该源端的 RMEP ID。  In a first possible implementation manner, the determining module is specifically configured to: determine, according to the port identifier of the source end and the VLAN ID of the virtual local area network, the MEP ID of the source end in the MEP ID range corresponding to the VLAN ID; The RMEP ID of the source end is determined within the MEP ID range corresponding to the VLAN ID according to the port identifier of the sink configured by the user and the VLAN ID.
结合第四方面或第四方面的第一种可能的实现方式,在第二种可能的实 现方式中, 该网管设备还包括: 第一发送模块, 用于向该源端发送连通性测 试启动命令, 以使该源端通过连通性测试获取该宿端的 MEP MAC地址, 以 及向该宿端发送连通性测试启动命令, 以使该宿端通过连通性测试获取该源 端的 MEP MAC地址;接收模块,用于接收该源端发送的该宿端的 MEP MAC 地址, 以及接收该宿端发送的该源端的 MEP MAC地址; 该确定模块具体用 于确定该源端的 RMEP MAC地址为该宿端的 MEP MAC地址, 以及确定该 宿端的 RMEP MAC地址为该源端的 MEP MAC地址。 With reference to the fourth aspect, or the first possible implementation manner of the fourth aspect, in a second possible implementation, the network management device further includes: a first sending module, configured to send a connectivity test start command to the source end So that the source obtains the MEP MAC address of the sink through the connectivity test, And sending a connectivity test start command to the sink, so that the sink obtains the MEP MAC address of the source through the connectivity test; the receiving module is configured to receive the MEP MAC address of the sink sent by the source, and receive the The MEP MAC address of the source end sent by the sink; the determining module is specifically configured to determine that the RMEP MAC address of the source is the MEP MAC address of the sink, and determine that the RMEP MAC address of the sink is the MEP MAC address of the source.
结合第四方面或第四方面的第一或二种可能的实现方式,在第三种可能 的实现方式中,该确定模块具体用于,若该源端的 MEP监控用户侧接口 UNI , 则确定该源端的 MEP方向为上; 若该源端的 MEP监控网络侧接口 NNI, 则 确定该源端的 MEP方向为下。  With reference to the fourth aspect or the first or the second possible implementation manner of the fourth aspect, in a third possible implementation, the determining module is specifically configured to: if the MEP of the source end monitors the user side interface UNI, determine the The MEP direction of the source is up. If the MEP of the source monitors the NNI of the network side, the MEP direction of the source is determined to be lower.
结合第四方面或第四方面的第一至三种可能的实现方式中的任一种可 能的实现方式, 在第四种可能的实现方式中, 该确定模块具体用于, 若该宿 端为光线路终端 OLT, 该宿端的 MEP监控 UNI, 在该宿端的对端为光节点 ONU时确定该宿端的 MEP方向为下, 在该宿端的对端为路由器时确定该宿 端的 MEP方向为上; 若该宿端为 OLT, 该宿端的 MEP监控 NNI, 在该宿端 的对端为 ONU时确定该宿端的 MEP方向为上,在该宿端的对端为路由器时 确定该宿端的 MEP方向为下; 若该宿端为路由器, 则确定该宿端的 MEP方 向为上。  With reference to the fourth aspect or any one of the first to the third possible implementation manners of the fourth aspect, in a fourth possible implementation, the determining module is specifically configured to: if the sink is The optical line terminal OLT, the MEP of the sink monitors the UNI, and determines that the MEP direction of the sink is lower when the opposite end of the sink is the optical ONU, and determines that the MEP direction of the sink is upper when the opposite end of the sink is the router; If the sink is an OLT, the MEP of the sink monitors the NNI. When the peer end of the sink is an ONU, the MEP direction of the sink is determined to be upward. When the peer end of the sink is a router, the MEP direction of the sink is determined to be lower. If the sink is a router, it is determined that the MEP direction of the sink is up.
结合第四方面或第四方面的第一至四种可能的实现方式中的任一种可 能的实现方式中, 该确定模块具体用于确定该源
Figure imgf000007_0001
In combination with the fourth aspect or any one of the first to fourth possible implementation manners of the fourth aspect, the determining module is specifically configured to determine the source
Figure imgf000007_0001
结合第四方面或第四方面的第一至五种可能的实现方式中的任一种可 能的实现方式, 在第六种可能的实现方式中, 该网管设备还包括: 第二发送 模块, 用 于在点到多 点场景下, 该网管设备向该源端发送 update-backward-mac命令, 以使该源端才艮据该 update-backward-mac命令选 择用户业务 MAC地址作为测量配置参数中的该源端的 backward MAC地址。  With reference to the fourth aspect, or any one of the first to the fifth possible implementation manners of the fourth aspect, in a sixth possible implementation, the network management device further includes: a second sending module, In a point-to-multipoint scenario, the network management device sends an update-backward-mac command to the source device, so that the source device selects the user service MAC address as the measurement configuration parameter according to the update-backward-mac command. The backward MAC address of the source.
第五方面, 提供了一种网元设备, 包括: 测量模块, 用于进行网络性能 测量,得到网络性能测量的原始数据; 第一存储模块,用于存储该原始数据, 以便于网管设备从该网元设备实时获取该原始数据以进行实时监控; 处理模 块, 用于按照统计周期处理该原始数据; 第二存储模块, 用于存储按照统计 周期处理后的数据, 以便于该网管设备按照监控周期从该网元设备获取该按 照统计周期处理后的数据以进行周期监控。 在第一种可能的实现方式中,该第一存储模块具体用于将该原始数据存 储为 MIB形式。 The fifth aspect provides a network element device, including: a measurement module, configured to perform network performance measurement, and obtain original data of network performance measurement; and a first storage module, configured to store the original data, so that the network management device can The network element device obtains the original data in real time for real-time monitoring; the processing module is configured to process the original data according to a statistical period; and the second storage module is configured to store data processed according to the statistical period, so that the network management device follows the monitoring period. The data processed according to the statistical period is obtained from the network element device for periodic monitoring. In a first possible implementation manner, the first storage module is specifically configured to store the original data in an MIB form.
结合第五方面或第五方面的第一种可能的实现方式,在第二种可能的实 现方式中, 该第二存储模块具体用于将该按照统计周期处理后的数据存储为 文本形式。  With reference to the fifth aspect or the first possible implementation manner of the fifth aspect, in a second possible implementation manner, the second storage module is specifically configured to store the data processed according to the statistical period as a text form.
结合第五方面或第五方面的第一或二种可能的实现方式,在第三种可能 的实现方式中, 该测量模块具体用于利用双向时延报文获取单向时延数据。  With reference to the fifth aspect or the first or the second possible implementation manner of the fifth aspect, in a third possible implementation manner, the measuring module is specifically configured to obtain the one-way delay data by using the two-way delay message.
结合第五方面的第三种可能的实现方式, 在第四种可能的实现方式中, 该测量模块具体用于根据以下至少一个等式获取单向时延数据,正向单向时 延 = RxTimeStampf - TxTimeStampf , 反向单向时延 = RxTimeb - TxTimeStampb, 其中, TxTimeStampf 表示该双向时延报文中的时延测量报 文 DMM 的发送时间戳, RxTimeStampf 表示该 DMM 的接收时间戳, TxTimeStampb表示该双向时延报文中的时延测量应答 DMR的发送时间戳, RxTimeb表示该 DMR的接收时刻。  With reference to the third possible implementation manner of the fifth aspect, in a fourth possible implementation, the measuring module is specifically configured to acquire one-way delay data according to at least one of the following equations, and forward one-way delay=RxTimeStampf - TxTimeStampf, reverse one-way delay = RxTimeb - TxTimeStampb, where TxTimeStampf represents the transmission timestamp of the delay measurement message DMM in the two-way delay message, RxTimeStampf represents the reception timestamp of the DMM, and TxTimeStampb represents the two-way The delay measurement in the delay message measures the transmission timestamp of the response DMR, and RxTimeb represents the reception time of the DMR.
结合第五方面或第五方面的第一至四种可能的实现方式中的任一种可 能的实现方式, 在第五种可能的实现方式中, 该网元设备为上游网元设备, 该上游网元设备表示连接节点数量少于预定值的网元设备。  With reference to the fifth aspect or any one of the first to fourth possible implementation manners of the fifth aspect, in a fifth possible implementation manner, the network element device is an upstream network element device, and the upstream The network element device indicates a network element device whose number of connected nodes is less than a predetermined value.
第六方面, 提供了一种网管设备, 包括: 实时监控模块, 用于从网元设 备实时获取该网元设备存储的网络性能测量的原始数据,基于该原始数据进 行实时监控, 其中, 该原始数据由该网元设备进行网络性能测量测得; 周期 监控模块, 用于按照监控周期从该网元设备获取该网元设备存储的按照统计 周期处理后的数据,基于该按照统计周期处理后的数据进行周期监控,其中, 该按照统计周期处理后的数据由该网元设备按照统计周期处理该原始数据 得到。  The sixth aspect provides a network management device, including: a real-time monitoring module, configured to acquire real-time data of network performance measurement stored by the network element device from a network element device, and perform real-time monitoring based on the original data, where the original The data is measured by the network element device for performing the network performance measurement. The period monitoring module is configured to obtain, according to the monitoring period, the data processed by the network element device according to the statistical period according to the monitoring period, and the data is processed according to the statistical period. The data is periodically monitored, and the data processed according to the statistical period is obtained by the network element device processing the original data according to a statistical period.
在第一种可能的实现方式中,该实时监控模块获取的该原始数据由该网 元设备存储为 MIB形式。  In the first possible implementation manner, the original data acquired by the real-time monitoring module is stored by the network element device as an MIB.
结合第六方面或第六方面的第一种可能的实现方式,在第二种可能的实 现方式中, 该周期监控模块获取的该按照统计周期处理后的数据由该网元设 备存储为文本形式。  With reference to the sixth aspect, or the first possible implementation manner of the sixth aspect, in the second possible implementation manner, the data processed by the periodic monitoring module and processed according to the statistical period is stored by the network element device as a text form. .
基于上述技术方案,本发明实施例通过网管设备确定配置给源端和宿端 的测量配置参数, 可以减少用户的配置操作, 能够实现网络性能测量的快速 部署, 从而能够提高网络性能测量的效率。 附图说明 Based on the foregoing technical solution, the embodiment of the present invention determines the measurement configuration parameters configured to the source end and the sink end by using the network management device, which can reduce the configuration operation of the user, and can quickly measure the network performance. Deployed to improve the efficiency of network performance measurements. DRAWINGS
为了更清楚地说明本发明实施例的技术方案, 下面将对本发明实施例中 所需要使用的附图作筒单地介绍, 显而易见地, 下面描述中的附图仅仅是本 发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动的 前提下, 还可以根据这些附图获得其他的附图。  In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings to be used in the embodiments of the present invention will be briefly described. It is obvious that the drawings in the following description are only some embodiments of the present invention. Other drawings may also be obtained from those of ordinary skill in the art in view of the drawings.
图 1是根据本发明实施例的网络性能测量的方法的示意性流程图。 图 2是根据本发明实施例的测量配置参数的示意图.  FIG. 1 is a schematic flowchart of a method for network performance measurement according to an embodiment of the present invention. 2 is a schematic diagram of measurement configuration parameters according to an embodiment of the present invention.
图 3是根据本发明实施例的确定源端 RMEP MAC和宿端 RMEP MAC 的方法的示意性流程图。  FIG. 3 is a schematic flowchart of a method for determining a source RMEP MAC and a sink RMEP MAC according to an embodiment of the present invention.
图 4是根据本发明实施例的 MEP方向的示意图。  4 is a schematic diagram of a MEP direction according to an embodiment of the present invention.
图 5是根据本发明实施例的确定源端 backward MAC的方法的示意图。 图 6是根据本发明另一实施例的网络性能测量的方法的示意性流程图。 图 7是根据本发明又一实施例的网络性能测量的方法的示意图。  FIG. 5 is a schematic diagram of a method of determining a source backward MAC according to an embodiment of the present invention. FIG. 6 is a schematic flowchart of a method for network performance measurement according to another embodiment of the present invention. 7 is a schematic diagram of a method of network performance measurement in accordance with yet another embodiment of the present invention.
图 8是根据本发明又一实施例的网络性能测量的方法的示意性流程图。 图 9是根据本发明实施例的网管设备的示意性框图。  FIG. 8 is a schematic flowchart of a method for network performance measurement according to still another embodiment of the present invention. FIG. 9 is a schematic block diagram of a network management device according to an embodiment of the present invention.
图 10是根据本发明实施例的网元设备的示意性框图。  FIG. 10 is a schematic block diagram of a network element device according to an embodiment of the present invention.
图 11是根据本发明另一实施例的网管设备的示意性框图。  FIG. 11 is a schematic block diagram of a network management device according to another embodiment of the present invention.
图 12是根据本发明实施例的网管设备的结构示意图。  FIG. 12 is a schematic structural diagram of a network management device according to an embodiment of the present invention.
图 13是根据本发明实施例的网元设备的结构示意图。  FIG. 13 is a schematic structural diagram of a network element device according to an embodiment of the present invention.
图 14是根据本发明另一实施例的网管设备的结构示意图。 具体实施方式  FIG. 14 is a schematic structural diagram of a network management device according to another embodiment of the present invention. detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行 清楚、 完整地描述, 显然, 所描述的实施例是本发明的一部分实施例, 而不 是全部实施例。 基于本发明中的实施例, 本领域普通技术人员在没有作出创 造性劳动的前提下所获得的所有其他实施例, 都应属于本发明保护的范围。  The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are a part of the embodiments of the present invention, and not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without making creative labor are within the scope of the present invention.
图 1示出了根据本发明实施例的网络性能测量的方法 100的示意性流程 图。 如图 1所示, 该方法 100包括:  1 shows a schematic flow diagram of a method 100 of network performance measurement in accordance with an embodiment of the present invention. As shown in FIG. 1, the method 100 includes:
S110, 网管设备确定以下测量配置参数中的至少一个测量配置参数: 源 端的 MEP ID、该源端的 RMEP ID、该源端的 RMEP MAC地址、宿端的 RMEP MAC地址、 该源端的 MEP方向、 该宿端的 MEP方向和该源端的主动 /被动 参数; S110. The network management device determines at least one of the following measurement configuration parameters: The MEP ID of the end, the RMEP ID of the source, the RMEP MAC address of the source, the RMEP MAC address of the sink, the MEP direction of the source, the MEP direction of the sink, and the active/passive parameters of the source;
S120,该网管设备将确定的该至少一个测量配置参数配置给该源端和该 宿端中的至少一个, 以便于该源端和该宿端中的至少一个进行网络性能测 量。  S120. The network management device configures the determined at least one measurement configuration parameter to at least one of the source end and the sink end, so that at least one of the source end and the sink end performs network performance measurement.
在本发明实施例中, 源端和宿端为进行网络性能测量的网元, 应理解, 网元也可以表述为网元设备, 源端也可以表述为源端设备, 宿端也可以表述 为宿端设备。  In the embodiment of the present invention, the source end and the sink end are network elements for performing network performance measurement. It should be understood that the network element may also be expressed as a network element device, and the source end may also be expressed as a source end device, and the sink end may also be expressed as The sink device.
基于 Y.1731 协议的网络性能测量需要在源宿两端的网元上作出匹配的 配置才能生效, 现有技术中需要用户配置测量配置参数, 因此需要用户深入 理解 Y.1731 协议细节, 并且用户配置操作复杂, 步骤多, 易出错, 因而测 量效率低。  The network performance measurement based on the Y.1731 protocol needs to be configured on the NEs at both ends of the source and sink to take effect. In the prior art, the user needs to configure the measurement configuration parameters. Therefore, the user needs to understand the Y.1731 protocol details and configure the user. The operation is complicated, the steps are many, and the error is easy, so the measurement efficiency is low.
在本发明实施例中, 为了提高网络性能测量的效率, 由网管设备配置测 量配置参数, 即, 网管设备确定以下测量配置参数中的至少一个测量配置参 数: 源端的 MEP ID、 源端的 RMEP ID、 源端的 RMEP MAC、 宿端的 RMEP MAC、 源端的 MEP方向、 宿端的 MEP方向和源端的主动 /被动参数, 并将 该至少一个测量配置参数配置给进行网络性能测量的源端和宿端。 例如, 网 管设备可以通过筒单网络管理协议( Simple Network Management Protocol, SNMP )或网络配置协议 ( Network Configuration Protocol, NETCONF )将测 量配置参数配置给源端和宿端。 源端和宿端根据该至少一个测量配置参数进 行网络性能测量。 网管设备可以配置源端和宿端进行网络性能测量所需的全 部测量配置参数, 也可以只配置部分测量配置参数, 在网管设备只配置部分 测量配置参数时,其他测量配置参数可以按照现有技术中的方法配置。这样, 由网管设备配置测量配置参数, 用户不需要再输入该测量配置参数即可实现 性能监控。  In the embodiment of the present invention, in order to improve the efficiency of the network performance measurement, the network management device configures the measurement configuration parameter, that is, the network management device determines at least one of the following measurement configuration parameters: the MEP ID of the source end, the RMEP ID of the source end, The RMEP MAC of the source, the RMEP MAC of the sink, the MEP direction of the source, the MEP direction of the sink, and the active/passive parameters of the source, and configure the at least one measurement configuration parameter to the source and the sink for performing network performance measurement. For example, the network management device can configure the measurement configuration parameters to the source end and the sink end through a Simple Network Management Protocol (SNMP) or a Network Configuration Protocol (NETCONF). The source and sink perform network performance measurements based on the at least one measurement configuration parameter. The network management device can configure all measurement configuration parameters required for network performance measurement on the source and the sink. You can also configure only some measurement configuration parameters. When the network management device only configures some measurement configuration parameters, other measurement configuration parameters can be used according to the existing technology. Method configuration in . In this way, the configuration parameters are configured by the network management device, and the user does not need to input the measurement configuration parameter to implement performance monitoring.
因此, 本发明实施例的网络性能测量的方法, 通过网管设备确定配置给 源端和宿端的测量配置参数, 可以减少用户的配置操作, 能够实现网络性能 测量的快速部署, 从而能够提高网络性能测量的效率。  Therefore, the network performance measurement method of the embodiment of the present invention determines the measurement configuration parameters configured for the source end and the sink end by using the network management device, thereby reducing the configuration operation of the user, enabling rapid deployment of network performance measurement, thereby improving network performance measurement. s efficiency.
在 S110中, 网管设备确定源端的 MEP ID、 源端的 RMEP ID、 源端的 In S110, the network management device determines the MEP ID of the source end, the RMEP ID of the source end, and the source end.
RMEP MAC, 宿端的 RMEP MAC、 源端的 MEP方向、 宿端的 MEP方向和 源端的主动 /被动参数中的至少一个测量配置参数。 RMEP MAC, RMEP MAC of the sink, MEP direction of the source, MEP direction of the sink, and At least one of the source active/passive parameters measures configuration parameters.
图 2示出了在网络性能测量中需要为源端(也称为源网元)和宿端(也 称为目的网元)配置的测量配置参数的示意图。 在本发明实施例中, 源端的 MEP ID、 源端的 RMEP ID、 源端的 RMEP MAC, 宿端的 RMEP MAC, 源 端的 MEP方向、 宿端的 MEP方向和源端的主动 /被动参数可由网管设备确 定, 用户只需输入必要的监控业务流的信息, 例如, 端口标识和 VLAN ID。 可选地, 网管设备可以确定上述全部测量配置参数; 或者, 网管设备也可以 只确定其中部分测量配置参数, 另外的测量配置参数由用户输入。  Figure 2 shows a schematic diagram of measurement configuration parameters that need to be configured for source (also referred to as source network element) and sink (also referred to as destination network element) in network performance measurements. In the embodiment of the present invention, the MEP ID of the source end, the RMEP ID of the source end, the RMEP MAC of the source end, the RMEP MAC of the sink end, the MEP direction of the source end, the MEP direction of the sink end, and the active/passive parameters of the source end may be determined by the network management device, and the user only Enter the necessary information to monitor the traffic flow, such as port ID and VLAN ID. Optionally, the network management device can determine all the measurement configuration parameters described above; or the network management device can only determine some of the measurement configuration parameters, and the other measurement configuration parameters are input by the user.
本发明实施例中, 网管设备可以确定一个或多个测量配置参数, 并将该 一个或多个测量配置参数配置给源端和宿端, 以便于源端和宿端进行网络性 能测量。 下面具体描述这些测量配置参数的确定方法。 需要说明的是, 以下 方法网管设备可以同时应用, 也可以仅使用其中的一个或多个子集。  In the embodiment of the present invention, the network management device may determine one or more measurement configuration parameters, and configure the one or more measurement configuration parameters to the source end and the sink end, so that the source end and the sink end perform network performance measurement. The method of determining these measurement configuration parameters is specifically described below. It should be noted that the following methods may be applied to the network management device at the same time, or only one or more of the subsets may be used.
在第一种实现方式下, S110包括: 该网管设备根据用户配置的该源端的 端口标识和 VLAN ID, 在该 VLAN ID对应的 MEP ID范围内确定该源端的 ΜΕΡ Π  In the first implementation manner, the S110 includes: the network management device determines the source end in the MEP ID range corresponding to the VLAN ID according to the port identifier and the VLAN ID of the source end configured by the user.
在第二种实现方式下, S110包括: 该网管设备根据用户配置的该宿端的 端口标识和该 VLAN ID, 在该 VLAN ID对应的 MEP ID范围内确定该源端 的 RMEP ID。  In the second implementation manner, the S110 includes: the network management device determines the RMEP ID of the source end within the MEP ID range corresponding to the VLAN ID according to the port identifier of the sink and the VLAN ID configured by the user.
在本实施例中, 网管设备可以确定 MEP ID或 RMEP ID。 网管设备根据 测量实例的源宿端管道进行统一管理, 考虑源宿端的端口标识和 VLAN 的 MEP ID范围及已分配情况, 对同一个测量实例进行分配, 保证一个测量实 例的源端的 MEP ID和 RMEP ID与宿端的 MEP ID和 RMEP ID相匹配, 即 保证源端的 MEP ID等于宿端的 RMEP ID,源端的 RMEP ID等于宿端的 MEP ID。 具体地, 网管设备根据用户配置的源端的端口标识和 VLAN ID, 在该 VLAN ID对应的 MEP ID范围内选择该源端的 MEP ID , 根据用户配置的宿 端的端口标识和 VLAN ID, 在该 VLAN ID对应的 MEP ID范围内选择宿端 MEP ID, 即源端 RMEP ID。  In this embodiment, the network management device can determine the MEP ID or the RMEP ID. The network management device performs unified management based on the source and sink pipes of the measurement instance. The port identifier of the source and sink ports and the MEP ID range and the assigned status of the VLAN are considered. The same measurement instance is allocated to ensure the MEP ID and RMEP of the source end of a measurement instance. The ID is matched with the MEP ID and the RMEP ID of the sink. That is, the MEP ID of the source is equal to the RMEP ID of the sink, and the RMEP ID of the source is equal to the MEP ID of the sink. Specifically, the network management device selects the MEP ID of the source end according to the port identifier and the VLAN ID of the source end configured by the user, and selects the MEP ID of the source end according to the port identifier and the VLAN ID of the sink configured by the user. Select the sink MEP ID, that is, the source RMEP ID, within the corresponding MEP ID range.
在第三种实现方式下, S110包括: 该网管设备向该源端发送连通性测试 启动命令, 以使该源端通过连通性测试获取该宿端的 MEP MAC地址, 该网 管设备接收该源端发送的该宿端的 MEP MAC地址, 确定该源端的 RMEP MAC地址为该宿端的 MEP MAC地址。 在第四种实现方式下, S110包括: 该网管设备向该宿端发送连通性测试 启动命令, 以使该宿端通过连通性测试获取该源端的 MEP MAC地址, 该网 管设备接收该宿端发送的该源端的 MEP MAC地址, 确定该宿端的 RMEP MAC地址为该源端的 MEP MAC地址。 In a third implementation manner, the S110 includes: the network management device sends a connectivity test start command to the source end, so that the source end obtains the MEP MAC address of the sink end through the connectivity test, and the network management device receives the source end sending The MEP MAC address of the sink is determined, and the RMEP MAC address of the source is determined to be the MEP MAC address of the sink. In a fourth implementation manner, the S110 includes: the network management device sends a connectivity test start command to the sink end, so that the sink end obtains the MEP MAC address of the source end by using the connectivity test, and the network management device receives the sink end sending The MEP MAC address of the source end determines that the RMEP MAC address of the sink is the MEP MAC address of the source.
在本实施例中, 网管设备可以确定源端的 RMEP MAC地址或宿端的 In this embodiment, the network management device can determine the RMEP MAC address or the sink end of the source end.
RMEP MAC地址。 网管设备先配置 Y.1731协议的其他参数。 配置方法可以 采用现有技术或本发明其他实施例的方法。 然后, 网管设备向源宿端发送连 通性测试 (Continuity Check , CC ) 启动命令, 即采用连续性检测报文 ( Continuity Check Message, CCM )发起连通性测试。 源端通过 CC学习宿 端的 MEP MAC地址, 宿端通过 CC学习源端的 MEP MAC地址。 源端向网 管设备返回 CC学习的宿端的 MEP MAC地址, 网管设备将该宿端的 MEP MAC地址作为源端的 RMEP MAC地址,宿端向网管设备返回 CC学习的源 端的 MEP MAC地址, 网管设备将该源端的 MEP MAC地址作为宿端的 RMEP MAC地址。 RMEP MAC address. The network management device first configures other parameters of the Y.1731 protocol. The configuration method may employ the prior art or the method of other embodiments of the present invention. Then, the network management device sends a Continuity Check (CC) start command to the source and sink terminals, that is, a continuity check message (CCM) is used to initiate the connectivity test. The source learns the MEP MAC address of the sink through the CC, and the sink learns the MEP MAC address of the source through the CC. The source device returns the MEP MAC address of the sink learned by the CC to the network management device, and the network management device uses the MEP MAC address of the sink as the RMEP MAC address of the source end, and the sink returns the MEP MAC address of the source of the CC learning to the network management device, and the network management device The MEP MAC address of the source is used as the RMEP MAC address of the sink.
CCM报文用于检测 MEP和 RMEP的连通性, 即在 CCM中封装相关信 息进行发送。 CCM报文是 ETH (以太网)报文的负荷, ETH报文头部的源 MAC是 MEP的桥 MAC或端口 MAC,目的 MAC是通用的 01-80-C2-00-00-3y. 其中 y = MD leveL CCM报文格式与其他 ETH OAM报文格式一致, 其中 op code取值为 1。  The CCM message is used to detect the connectivity between the MEP and the RMEP, that is, the relevant information is encapsulated and sent in the CCM. The CCM packet is the payload of the ETH (Ethernet) packet. The source MAC address of the ETH packet header is the bridge MAC address or port MAC of the MEP. The destination MAC address is the general 01-80-C2-00-00-3y. = MD leveL The CCM packet format is the same as that of other ETH OAM packets. The op code value is 1.
图 3是确定源端 RMEP MAC和宿端 RMEP MAC的方法的一个示意性 流程图。 如图 3所示, 具体流程为:  3 is a schematic flow chart of a method for determining a source RMEP MAC and a sink RMEP MAC. As shown in Figure 3, the specific process is:
301 , 网管设备向源端发送 CC启动命令, 以使源端启动 CC。  301. The network management device sends a CC startup command to the source end, so that the source end starts the CC.
302, 源端向宿端发送 CCM报文, 发起 CC。  302. The source sends a CCM packet to the sink, and initiates a CC.
具体地, 源端可以采用广播的方式发送 CCM报文, 使得与该源端对应 的宿端接收到该 CCM报文后, 该宿端可以根据该 CCM报文中的相关信息 确定该 CCM报文是发送给该宿端的, 其中, 相关信息可以是源端的标识信 息等信息。  Specifically, the source end may send the CCM message in a broadcast manner, so that after receiving the CCM message, the sink end corresponding to the source end may determine the CCM message according to the related information in the CCM message. It is sent to the sink, where the related information may be information such as identification information of the source.
303, 宿端向源端发送 CCM响应 文, 所述 CMM响应 文中包含宿端 MEP MAC信息, 以使源端学习宿端 MEP MAC。  303. The sink sends a CCM response message to the source end, where the CMM response message includes the sink MEP MAC information, so that the source end learns the sink MEP MAC.
304, 源端向网管设备发送宿端 MEP MAC。  304. The source sends the sink MEP MAC to the network management device.
305, 网管设备将宿端 MEP MAC作为源端 RMEP MAC。 306, 网管设备向宿端发送 CC启动命令, 以使宿端启动 CC。 305. The network management device uses the sink MEP MAC as the source RMEP MAC. 306. The network management device sends a CC startup command to the sink to enable the sink to start the CC.
307, 宿端向源端发送 CCM报文, 发起 CC。  307. The sink sends a CCM packet to the source, and initiates a CC.
具体地, 宿端可以采用广播的方式发送 CCM报文, 使得与该宿端对应 的源端接收到该 CCM报文后, 该源端可以根据该 CCM报文中的相关信息 确定该 CCM报文是发送给该源端的, 其中, 相关信息可以是宿端的标识信 息等信息。  Specifically, the sink may send the CCM packet in a broadcast manner, so that the source end corresponding to the sink end receives the CCM packet, and the source end may determine the CCM packet according to the related information in the CCM packet. It is sent to the source end, where the related information may be information such as the identification information of the sink.
308, 源端向宿端发送 CCM响应报文, 所述 CMM响应报文中包含源端 MEP MAC信息, 以使宿端学习源端 MEP MAC。  308. The source sends a CCM response packet to the sink, where the CMM response packet includes the source MEP MAC information, so that the sink learns the source MEP MAC.
309, 宿端向网管设备发送源端 MEP MAC。  309. The sink sends the source MEP MAC to the network management device.
310, 网管设备将源端^^? ^1 ( 作为宿端1 ^/^? ^[ (。  310, the network management device will source ^^? ^1 (as the sink 1 ^ / ^ ^ ^ [ (.
应理解,图 3所示流程只是一个示例,本发明实施例对确定源端的 RMEP MAC和宿端的 RMEP MAC的先后顺序并不限定, 二者也可以同时执行。  It should be understood that the process shown in FIG. 3 is only an example. The sequence of determining the RMEP MAC of the source end and the RMEP MAC of the sink end is not limited in the embodiment of the present invention, and the two may be simultaneously executed.
在本发明实施例中, 可选地, S110包括:  In the embodiment of the present invention, optionally, S110 includes:
若该源端的 MEP监控 UNI , 则确定该源端的 MEP方向为上;  If the MEP of the source end monitors the UNI, the MEP direction of the source end is determined to be upper;
若该源端的 MEP监控 NNI , 则确定该源端的 MEP方向为下。  If the MEP of the source monitors the NNI, the MEP direction of the source is determined to be lower.
在本实施例中, 网管设备确定源端的 MEP方向。 具体地, 如图 4所示: 对于源端的 MEP方向,  In this embodiment, the network management device determines the MEP direction of the source end. Specifically, as shown in Figure 4: For the MEP direction at the source end,
如果 MEP监控 UNI , 则方向为上( up );  If the MEP monitors UNI, the direction is up (up);
如果 MEP监控 NNI, 则方向为下 (down )。  If the MEP monitors the NNI, the direction is down.
在本发明实施例中, 可选地, S110包括:  In the embodiment of the present invention, optionally, S110 includes:
若该宿端为 OLT, 该宿端的 MEP监控 UNI, 在该宿端的对端为 ONU 时确定该宿端的 MEP方向为下, 在该宿端的对端为路由器时确定该宿端的 MEP方向为上;  If the sink is an OLT, the MEP of the sink monitors the UNI. When the peer end of the sink is an ONU, the MEP direction of the sink is determined to be lower. When the peer end of the sink is a router, the MEP direction of the sink is determined to be upper;
若该宿端为 OLT, 该宿端的 MEP监控 NNI, 在该宿端的对端为 ONU 时确定该宿端的 MEP方向为上, 在该宿端的对端为路由器时确定该宿端的 MEP方向为下;  If the sink is an OLT, the MEP of the sink monitors the NNI. When the peer end of the sink is an ONU, the MEP direction of the sink is determined to be upward. When the peer end of the sink is a router, the MEP direction of the sink is determined to be lower.
若该宿端为路由器, 则确定该宿端的 MEP方向为上。  If the sink is a router, determine that the MEP direction of the sink is up.
在本实施例中, 网管设备确定宿端的 MEP方向。 具体地, 如图 4所示: 对于宿端的 MEP方向,  In this embodiment, the network management device determines the MEP direction of the sink. Specifically, as shown in Figure 4: For the MEP direction of the sink,
宿端为 OLT时, 如果 MEP监控 UNI, 对端是 ONU , 则方向为 down , 对端是路由器(CX_4 ), 则方向为 up; 如果 MEP监控 NNI, 对端是 ONU, 则方向 UP, 对端是路由器 (CX_4), 贝1 J方向 down; When the sink is the OLT, if the MEP monitors the UNI, the peer is the ONU, the direction is down, and the peer is the router (CX_4), the direction is up; If the MEP monitors the NNI, the peer is the ONU, the direction is UP, the peer is the router (CX_4), and the shell 1 J direction is down;
宿端为路由器(CX_4 ) 时, 固定方向为 UP。  When the sink is a router (CX_4), the fixed direction is UP.
在本发明实施例中, 可选地, S110包括:  In the embodiment of the present invention, optionally, S110 includes:
该网管设备确定该源端的主动 /被动参数为被动。  The network management device determines that the active/passive parameter of the source is passive.
在本实施例中,网管设备确定源端的主动 /被动参数。在单端性能测量中, 被动端收到性能测量报文后不把本地计数数据返回给主动端。 即被动端收到 测量报文后直接计算性能数据。在本发明实施例中,网管设备默认源端被动, 宿端主动。  In this embodiment, the network management device determines the active/passive parameters of the source. In single-ended performance measurement, the passive end does not return the local count data to the active end after receiving the performance measurement message. That is, the passive end directly calculates the performance data after receiving the measurement message. In the embodiment of the present invention, the default network source device is passive and the sink terminal is active.
在本发明实施例中, 可选地, 该方法 100还包括:  In the embodiment of the present invention, optionally, the method 100 further includes:
在点到多点场景下, 该网管设备向该源端发送 update-backward-mac命 令,以使该源端根据该 update-backward-mac命令选择用户业务 MAC地址作 为测量配置参数中的该源端的 backward MAC地址。  In a point-to-multipoint scenario, the network management device sends an update-backward-mac command to the source device, so that the source device selects the user service MAC address as the source of the measurement configuration parameter according to the update-backward-mac command. Backward MAC address.
Backward MAC是指定 MEP的背向侧用户业务报文的 MAC, 比如 OLT 与 MxU组成的测量实例中, MxU的 backward MAC为 MxU下挂用户的业 务报文 MAC。  The Backward MAC address is the MAC address of the user service packet of the MEP. For example, in the measurement instance of the OLT and the MxU, the backward MAC address of the MxU is the service packet MAC of the MxU.
由于测量对象是管道中的报文, 点到点场景 (即 1: 1场景) 下性能测量 不需要区分, 因此不输入 backward MAC。 点到多点场景(即 N:l场景)下, 源端 MxU的 backward MAC由 MxU默认选择一个用户业务 MAC即可, 这 个功能就是设备上支持的 update-backward-mac功能。 也就是说, 该网管设 备向源端发送 update-backward-mac命令, 源端才艮据该 update-backward-mac 命令选择用户业务 MAC作为源端 backward MAC。例如,如图 5所示, MxU 在指定用户端口上自动选择一个学习到的业务 MAC地址, 比如个人计算机 ( Personal Computer, PC ) 的 MAC地址, 作为源端 backward MAC。  Since the measurement object is a message in the pipe, the performance measurement under the point-to-point scenario (ie 1: 1 scene) does not need to be distinguished, so the backward MAC is not input. In the point-to-multipoint scenario (that is, the N:l scenario), the backward MAC of the source MxU is selected by the MxU by default. This function is the update-backward-mac function supported by the device. That is, the network management device sends the update-backward-mac command to the source, and the source device selects the user service MAC as the source backward MAC according to the update-backward-mac command. For example, as shown in Figure 5, the MxU automatically selects a learned service MAC address on the designated user port, such as the MAC address of a Personal Computer (PC), as the source backward MAC.
在本发明实施例中, 网管设备自动配置测量配置参数, 因此不需要用户 再输入相应的测量配置参数, 便于快速部署测量实例。  In the embodiment of the present invention, the network management device automatically configures measurement configuration parameters, so the user does not need to input corresponding measurement configuration parameters, which facilitates rapid deployment of measurement instances.
因此, 本发明实施例的网络性能测量的方法, 通过网管设备确定测量配 置参数, 可以减少用户的配置操作, 能够实现网络性能测量的快速部署, 从 而能够提高网络性能测量的效率。  Therefore, the method for measuring the network performance of the embodiment of the present invention can determine the configuration configuration parameters of the network management device, thereby reducing the configuration operation of the user, enabling rapid deployment of network performance measurement, thereby improving the efficiency of network performance measurement.
图 6示出了根据本发明另一实施例的网络性能测量的方法 600的示意性 流程图。 如图 6所示, 该方法 600包括: S610, 网元设备进行网络性能测量, 得到网络性能测量的原始数据;FIG. 6 shows a schematic flow diagram of a method 600 of network performance measurement in accordance with another embodiment of the present invention. As shown in FIG. 6, the method 600 includes: S610, the network element device performs network performance measurement, and obtains original data of network performance measurement;
S620, 该网元设备存储该原始数据, 以便于网管设备从该网元设备实时 获取该原始数据以进行实时监控; 并且, S620, the network element device stores the original data, so that the network management device obtains the original data from the network element device in real time for real-time monitoring;
S630, 该网元设备按照统计周期处理该原始数据, 存储按照统计周期处 理后的数据, 以便于该网管设备按照监控周期从该网元设备获取该按照统计 周期处理后的数据以进行周期监控。  S630, the network element device processes the original data according to a statistical period, and stores the data processed according to the statistical period, so that the network management device obtains the data processed according to the statistical period from the network element device according to the monitoring period for periodic monitoring.
目前网络性能测量的数据采集量比较大, 数据传输和处理的开销比较 高, 影响网络性能监控的效率。 在本发明实施例中, 网元设备在进行网络性 能测量, 获取网络性能测量的原始数据时, 一方面, 存储该原始数据, 另一 方面, 按照统计周期处理该原始数据并存储按照统计周期处理后的数据; 这 样, 网管设备可以按照监控周期从该网元设备获取该按照统计周期处理后的 数据以进行周期监控, 或者, 该网管设备可以从该网元设备实时获取该原始 数据以进行实时监控。 也就是说, 网元设备在进行网络性能测量时, 存储两 份数据, 一份是原始数据, 另一份是网元设备按照统计周期处理后的数据。 网管设备在进行周期监控时,按照监控周期从网元设备获取按照统计周期处 理后的数据, 在进行实时监控时, 从网元设备实时获取原始数据。  At present, the data collection of network performance measurement is relatively large, and the overhead of data transmission and processing is relatively high, which affects the efficiency of network performance monitoring. In the embodiment of the present invention, when the network element device performs network performance measurement to obtain the original data of the network performance measurement, on the one hand, the original data is stored, and on the other hand, the original data is processed according to a statistical period and stored according to a statistical period. After the data is collected, the network management device can obtain the data processed according to the statistical period from the network element device for periodic monitoring according to the monitoring period, or the network management device can obtain the original data from the network element device in real time for real-time monitoring. monitor. That is to say, when the network element device performs network performance measurement, it stores two pieces of data, one is the original data, and the other is the data processed by the network element device according to the statistical period. When the network management device performs periodic monitoring, it obtains data processed according to the statistical period from the network element device according to the monitoring period. When real-time monitoring is performed, the original data is obtained from the network element device in real time.
由于网元设备先按照统计周期对原始数据进行了处理, 网管设备在进行 周期监控时, 获取的数据量降低, 因此数据传输和处理的压力降低。 这样, 可以通过周期监控进行持续不断的业务质量监控, 对网络进行主动监控, 分 析网络业务质量历史趋势, 回顾网络质量故障原因等。  Since the network element device first processes the original data according to the statistical period, when the network management device performs cycle monitoring, the amount of data acquired is reduced, so the pressure of data transmission and processing is reduced. In this way, continuous monitoring of service quality can be performed through periodic monitoring, active monitoring of the network, analysis of historical trends in network service quality, and review of network quality failure causes.
另一方面, 对于已经识别或者怀疑业务管道质量问题, 对于该业务管道 可以发起实时监控, 以便高频度的获取最新的业务测量数据。 这种情况下, 网管设备可以从网元设备实时获取原始数据, 以给客户提供实时的业务质量 数据, 以便进行精确故障点捕捉, 辅助故障定位。  On the other hand, for the problem of the quality of the service pipeline that has been identified or suspected, real-time monitoring can be initiated for the service pipeline to obtain the latest service measurement data at a high frequency. In this case, the network management device can obtain the original data from the network element device in real time to provide real-time service quality data to the customer for accurate fault point capture and auxiliary fault location.
因此, 本发明实施例的网络性能测量的方法, 通过网元设备存储网络性 能测量的原始数据和按照统计周期处理后的数据, 网管设备可以获取按照统 计周期处理后的数据以进行周期监控, 获取原始数据以进行实时监控, 因而 可以降低传输数据量, 降低网管设备集中处理压力, 从而能够提高网络性能 测量的效率。  Therefore, in the network performance measurement method of the embodiment of the present invention, the network element device can store the data processed according to the statistical period to perform periodic monitoring and acquisition by using the network element device to store the original data of the network performance measurement and the data processed according to the statistical period. The raw data is monitored in real time, so that the amount of data transmitted can be reduced, and the centralized processing pressure of the network management equipment can be reduced, thereby improving the efficiency of network performance measurement.
在本发明实施例中, 可选地, 该网元设备存储该原始数据, 包括: 该网元设备将该原始数据存储为 MIB形式。 可选地, 该网元设备存储按照统计周期处理后的数据, 包括: In the embodiment of the present invention, optionally, the network element device stores the original data, including: the network element device stores the original data in an MIB format. Optionally, the network element device stores data processed according to a statistical period, including:
该网元设备将该按照统计周期处理后的数据存储为文本形式。  The network element device stores the data processed according to the statistical period as a text form.
具体而言, 网元设备测得原始数据后, 一方面, 将该原始数据存储为 Specifically, after the network element device measures the original data, on the one hand, the original data is stored as
MIB形式, 即 SNMP MIB形式, 不进行处理。 另一方面, 网元设备按照统 计周期对原始数据进行处理, 将处理后的数据存储为文本形式, 其中, 对原 始数据进行的处理具体可以是对原始数据进行加工,和 /或对原始数据进行计 算,和 /或对原始数据进行统计等。这样网元设备分担了一部分的数据处理工 作量, 可以降低网管设备集中处理的工作量。 The MIB form, that is, the SNMP MIB form, is not processed. On the other hand, the network element device processes the original data according to the statistical period, and stores the processed data in a text form, wherein the processing of the original data may specifically be processing the original data, and/or performing the original data. Calculate, and/or perform statistics on the raw data, and so on. In this way, the network element device shares a part of the data processing workload, which can reduce the workload of centralized processing of the network management device.
下面结合图 7所示的例子详细描述本发明实施例。 应注意, 这只是为了 帮助本领域技术人员更好地理解本发明实施例, 而非限制本发明实施例的范 围。  Embodiments of the present invention will be described in detail below with reference to the example shown in FIG. It should be noted that this is only to assist those skilled in the art to better understand the embodiments of the present invention and not to limit the scope of the embodiments of the present invention.
如图 7所示, 网元设备 710进行网络性能测量获取测量数据 720,例如, 按照 10秒测量周期产生的时延、 丟包、 抖动数据。 一方面, 将测量数据 720 存储为 MIB形式数据 721 , 通过 MIB接口提供给网管设备 730。 MIB形式 数据 721没有进行处理。 可选地, 可以设定 MIB形式数据 721保留的测量 数据 720的记录数目,如最多保留 M个记录 (M可以为大于 2的整数)。 另一 方面, 网元设备 710对测量数据 720按照统计周期进行处理, 将处理后的数 据存储为文本形式数据 722 , 以便于通过文本接口, 例如 FTP ( File Transfer Protocol, 文本传输协议)接口, 提供给网管设备 730。 例如, 按照统计周期 (如 15分钟)对测量数据 720进行处理, 如统计周期内的最大、 最小、 平 均值等, 这样网元设备 710可以分担一部分的数据处理工作量。  As shown in FIG. 7, the network element device 710 performs network performance measurement acquisition measurement data 720, for example, delay, packet loss, and jitter data generated according to a 10-second measurement period. On the one hand, the measurement data 720 is stored as MIB form data 721 and provided to the network management device 730 through the MIB interface. The MIB form data 721 is not processed. Alternatively, the number of records of the measurement data 720 retained by the MIB format data 721 may be set, such as up to M records (M may be an integer greater than 2). On the other hand, the network element device 710 processes the measurement data 720 according to a statistical period, and stores the processed data as text form data 722, so as to be provided through a text interface, such as an FTP (File Transfer Protocol) interface. The network management device 730 is provided. For example, the measurement data 720 is processed according to a statistical period (e.g., 15 minutes), such as the maximum, minimum, and average values in the statistical period, such that the network element device 710 can share a portion of the data processing workload.
网管设备 730在进行周期监控时, 按照监控周期(如 1小时)获取文本 形式数据 722,可以减少网管设备 730从网元设备 710获取测量数据的次数, 同时也减轻了网管设备 730的处理负荷。  The network management device 730 obtains the text form data 722 according to the monitoring period (for example, 1 hour) during the period monitoring, which can reduce the number of times the network management device 730 obtains the measurement data from the network element device 710, and also reduces the processing load of the network management device 730.
在需要进行实时监控时, 网管设备 730实时获取(例如, 以与测量周期 相同的 10秒的周期获取) MIB形式数据 721。 这样, 通过周期监控和实时 监控相互配合, 既可以获取持续的长期的结果, 又可以获取实时的短期的结 果。  When real-time monitoring is required, the network management device 730 acquires (for example, acquired in the same 10-cycle period as the measurement period) MIB-form data 721 in real time. In this way, through cycle monitoring and real-time monitoring, we can achieve continuous long-term results and real-time short-term results.
利用实时监控可以发起按需监控。 也就是说, 在周期监控时, 可以按照 需求, 发起同对象的实时监控, 按需测量。 这种发起是一键式的, 无需额外 配置, 无需创建任务。 在本发明实施例中, 可选地, 该网元设备为上游网元设备, 该上游网元 设备表示连接节点数量少于预定值的网元设备。 也就是说, 性能数据需要在 网络中节点较少的设备(上游设备)上采集。 On-demand monitoring can be initiated with real-time monitoring. That is to say, in the cycle monitoring, real-time monitoring of the same object can be initiated according to the demand, and measured as needed. This kind of initiation is one-click, no additional configuration is required, and no tasks need to be created. In the embodiment of the present invention, optionally, the network element device is an upstream network element device, and the upstream network element device indicates a network element device whose number of connected nodes is less than a predetermined value. That is, performance data needs to be collected on devices (upstream devices) with fewer nodes in the network.
例如, IP回传网络中, 从靠近基站控制器的路由器上采集数据; 光接入 网络中, 从 OLT或路由器上采集数据。  For example, in an IP backhaul network, data is collected from a router close to the base station controller; in an optical access network, data is collected from an OLT or a router.
因为网络末端设备众多, 在网络上游设备(如路由器 )上采集数据, 设 备交互次数少, 网络开销小, 网管设备解析文件次数少, 能够最优化发挥网 管设备的采集能力。  Because there are many devices at the end of the network, data is collected on the upstream devices of the network (such as routers). The number of device interactions is small, the network overhead is small, and the network management device resolves files less frequently, which optimizes the collection capability of the network management device.
在本发明实施例中, 可选地, S610 包括: 该网元设备利用双向时延报 文获取单向时延数据。  In the embodiment of the present invention, optionally, the S610 includes: the network element device uses the two-way delay message to obtain one-way delay data.
在现有技术中, 如监控 MxU (测量接收端, 即宿端) <->CX (测量发起 端, 即源端) 的管道性能质量的时延、 丟包、 抖动。 因 Y.1731 协议限制, 如果用户需要监控单向时延, 那么该信息需要在 MxU (测量接收端)上获 取。 也就是说, CX (测量发起端)发送单向时延报文 1DM, MxU (测量接 收端) 接收该单向时延报文 1DM , 根据等式, 单向时延 = RxTimef - TxTimeStampf, 计算单向时延。 其中, TxTimeStampf 表示该单向时延报文 1DM的发送时间戳, RxTimef表示该 1DM的接收时刻。 但是其他丟包、 抖 动等数据, 都需要在 CX (测量发起端)上获取。 这样导致网管设备需要在 MxU和 CX上同时获取性能数据, 采集工作量大。  In the prior art, for example, monitoring the performance quality delay, packet loss, and jitter of the pipeline performance quality of the MxU (measuring the receiving end, that is, the sinking terminal) <->CX (measurement originating end, that is, the source end). Due to the Y.1731 protocol limitation, if the user needs to monitor the one-way delay, then the information needs to be obtained on the MxU (measurement receiver). That is, the CX (measurement initiator) sends a one-way delay message 1DM, and the MxU (measurement receiver) receives the one-way delay message 1DM according to the equation, one-way delay = RxTimef - TxTimeStampf, calculation list To delay. The TxTimeStampf indicates the transmission timestamp of the 1DM delay message 1DM, and the RxTimef indicates the reception time of the 1DM. However, other data such as packet loss and jitter need to be obtained on the CX (measurement initiator). As a result, the network management device needs to acquire performance data on both the MxU and the CX, and the collection workload is large.
本发明实施例利用双向时延报文, 计算出单向时延的数据, 解决在测量 发起端获取不到单向时延的问题。  The embodiment of the present invention uses the two-way delay packet to calculate the data of the one-way delay, and solves the problem that the one-way delay is not obtained at the measurement initiator.
如果用户需要采集单向时延, 从 CX发起, 那么网管设备自动切换成双 向时延配置在网元设备上。 依据双向时延的报文能力, 将单向时延信息在 If the user needs to collect the one-way delay and initiate the attack from the CX, the network management device automatically switches to the two-way delay configuration on the NE device. According to the packet capability of two-way delay, the one-way delay information is
CX上计算出来。 Calculated on CX.
可选地, 该网元设备利用双向时延报文获取单向时延数据, 包括: 该网元设备根据以下至少一个等式获取单向时延数据,  Optionally, the network element device obtains one-way delay data by using the two-way delay packet, and the method includes: acquiring, by the network element device, one-way delay data according to at least one of the following equations,
正向单向时延 = RxTimeStampf - TxTimeStampf,  Forward one-way delay = RxTimeStampf - TxTimeStampf,
反向单向时延 = RxTimeb - TxTimeStampb,  Reverse one-way delay = RxTimeb - TxTimeStampb,
其中, TxTimeStampf 表示该双向时延报文中的时延测量报文 DMM的 发送时间戳, RxTimeStampf表示该 DMM的接收时间戳, TxTimeStampb表 示该双向时延报文中的时延测量应答 DMR的发送时间戳, RxTimeb表示该 DMR的接收时刻。 The TxTimeStampf indicates the transmission timestamp of the DMM of the delay measurement message in the two-way delay message, RxTimeStampf indicates the reception timestamp of the DMM, and TxTimeStampb indicates the transmission time of the delay measurement response DMR in the two-way delay message. Poke, RxTimeb indicates The receiving moment of the DMR.
具体而言, 在采用单向时延报文测量时, 目的网元进行计算。 单向时延 Specifically, when a one-way delay packet measurement is used, the destination network element performs calculation. One-way delay
= RxTimef - TxTimeStampf 。 = RxTimef - TxTimeStampf .
而采用双向时延 文测量时, 由于是双向的, 源网元进行计算。 双向时 延 = (RxTimeb - TxTimeStampf) - (TxTimeStampb - RxTimeStampf)。  When using two-way delay text measurement, since it is bidirectional, the source network element performs calculation. Bidirectional delay = (RxTimeb - TxTimeStampf) - (TxTimeStampb - RxTimeStampf).
正向单向时延 = RxTimeStampf - TxTimeStampf,  Forward one-way delay = RxTimeStampf - TxTimeStampf,
反向单向时延 = RxTimeb - TxTimeStampb。  Reverse one-way delay = RxTimeb - TxTimeStampb.
本发明实施例的网络性能测量的方法,通过在上游网元设备上采集网络 性能测量数据, 可以降低数据采集工作量, 减少网络开销, 能够最优化发挥 网管设备的采集能力, 从而能够提高网络性能测量的效率。  The network performance measurement method of the embodiment of the present invention can reduce the data collection workload, reduce the network overhead, and optimize the collection capability of the network management device, thereby improving network performance, by collecting network performance measurement data on the upstream network element device. The efficiency of the measurement.
图 8示出了根据本发明又一实施例的网络性能测量的方法 800的示意性 流程图。 如图 8所示, 该方法 800包括:  FIG. 8 shows a schematic flow diagram of a method 800 of network performance measurement in accordance with yet another embodiment of the present invention. As shown in Figure 8, the method 800 includes:
S810, 网管设备从网元设备实时获取该网元设备存储的网络性能测量的 原始数据, 基于该原始数据进行实时监控, 其中, 该原始数据由该网元设备 进行网络性能测量测得; 并且,  S810, the network management device obtains, in real time, the original data of the network performance measurement stored by the network element device from the network element device, and performs real-time monitoring based on the original data, where the original data is measured by the network element device for network performance measurement;
S820,该网管设备按照监控周期从该网元设备获取该网元设备存储的按 照统计周期处理后的数据, 基于该按照统计周期处理后的数据进行周期监 控, 其中, 该按照统计周期处理后的数据由该网元设备按照统计周期处理该 原始数据得到。  S820, the network management device obtains, according to the monitoring period, the data processed by the network element device according to the statistical period, and performs periodic monitoring based on the data processed according to the statistical period, where the network processing is performed according to the statistical period. The data is obtained by the network element device processing the original data according to a statistical period.
在本发明实施例中, 网元设备在进行网络性能测量, 获取网络性能测量 的原始数据时, 一方面, 存储该原始数据, 另一方面, 按照统计周期处理该 原始数据并存储按照统计周期处理后的数据; 网管设备可以从该网元设备实 时获取该原始数据以进行实时监控,按照监控周期从该网元设备获取该按照 统计周期处理后的数据以进行周期监控。 也就是说, 网元设备在进行网络性 能测量时, 存储两份数据, 一份是原始数据, 另一份是网元设备按照统计周 期处理后的数据。 网管设备在进行周期监控时, 按照监控周期从网元设备获 取按照统计周期处理后的数据, 在进行实时监控时, 从网元设备实时获取原 始数据。  In the embodiment of the present invention, when the network element device performs network performance measurement to obtain the original data of the network performance measurement, on the one hand, the original data is stored, and on the other hand, the original data is processed according to a statistical period and stored according to a statistical period. After the network management device obtains the original data from the network element device in real time for real-time monitoring, the data processed according to the statistical period is obtained from the network element device according to the monitoring period for periodic monitoring. That is to say, when the network element device performs network performance measurement, it stores two pieces of data, one is the original data, and the other is the data processed by the network element device according to the statistical period. When the network management device performs periodic monitoring, it obtains data processed by the network element device according to the statistical period according to the monitoring period. When real-time monitoring is performed, the original data is obtained from the network element device in real time.
由于网元设备先按照统计周期对原始数据进行了处理, 网管设备在进行 周期监控时, 获取的数据量降低, 因此数据传输和处理的压力降低。 这样, 可以通过周期监控进行持续不断的业务质量监控, 对网络进行主动监控, 分 析网络业务质量历史趋势, 回顾网络质量故障原因等。 The network element device first processes the original data according to the statistical period. When the network management device performs periodic monitoring, the amount of data acquired is reduced, so the pressure of data transmission and processing is reduced. In this way, continuous monitoring of service quality can be carried out through periodic monitoring, and the network can be actively monitored. Analyze the historical trend of network service quality, and review the causes of network quality failures.
因此, 本发明实施例的网络性能测量的方法, 通过网管设备获取原始数 据以进行实时监控, 获取按照统计周期处理后的数据以进行周期监控, 可以 降低传输数据量, 降低网管设备集中处理压力, 从而能够提高网络性能测量 的效率。  Therefore, the method for measuring the network performance of the embodiment of the present invention obtains the original data through the network management device for real-time monitoring, and obtains the data processed according to the statistical period for periodic monitoring, thereby reducing the amount of data transmitted and reducing the centralized processing pressure of the network management device. Thereby the efficiency of network performance measurement can be improved.
在本发明实施例中, 可选地, 该原始数据由该网元设备存储为 MIB形 式。  In the embodiment of the present invention, the original data is optionally stored by the network element device in an MIB form.
可选地, 该按照统计周期处理后的数据由该网元设备存储为文本形式。 应理解, 在本发明实施例中, 网元设备侧描述的网元设备和网管设备之 间的交互及相关特性、 功能等与网管设备侧的描述相应, 为了筒洁, 在此不 再赘述。  Optionally, the data processed according to the statistical period is stored by the network element device as a text form. It should be understood that, in the embodiment of the present invention, the interaction between the network element device and the network management device described on the network element device side and the related features and functions are corresponding to the description of the network management device side, and are not described here.
应理解, 在本发明的各种实施例中, 上述各过程的序号的大小并不意味 着执行顺序的先后, 各过程的执行顺序应以其功能和内在逻辑确定, 而不应 对本发明实施例的实施过程构成任何限定。  It should be understood that, in various embodiments of the present invention, the size of the sequence numbers of the above processes does not mean the order of execution, and the order of execution of each process should be determined by its function and internal logic, and should not be taken to the embodiments of the present invention. The implementation process constitutes any limitation.
上文中结合图 1至图 8, 详细描述了根据本发明实施例的网络性能测量 的方法, 下面将结合图 9至图 14,描述根据本发明实施例的网管设备和网元 设备。  The network performance measurement method according to the embodiment of the present invention is described in detail above with reference to FIG. 1 to FIG. 8. The network management device and the network element device according to the embodiment of the present invention will be described below with reference to FIG. 9 to FIG.
图 9示出了根据本发明实施例的网管设备 900的示意性框图。如图 8所 示, 该网管设备 900包括:  FIG. 9 shows a schematic block diagram of a network management device 900 in accordance with an embodiment of the present invention. As shown in FIG. 8, the network management device 900 includes:
确定模块 910,用于确定以下测量配置参数中的至少一个测量配置参数: 源端的维护实体组端点 MEP标识 ID、 该源端的远端维护实体组端点 RMEP ID、 该源端的 RMEP媒体接入控制 MAC地址、 宿端的 RMEP MAC地址、 该源端的 MEP方向、 该宿端的 MEP方向和该源端的主动 /被动参数;  The determining module 910 is configured to determine at least one of the following measurement configuration parameters: a maintenance entity group endpoint MEP identifier ID of the source end, a remote maintenance entity group endpoint RMEP ID of the source end, and a RMEP media access control MAC of the source end Address, the RMEP MAC address of the sink, the MEP direction of the source, the MEP direction of the sink, and the active/passive parameters of the source;
配置模块 920, 用于将该确定模块 910确定的确定的该至少一个测量配 置参数配置给该源端和该宿端中的至少一个, 以便于该源端和该宿端中的至 少一个进行网络性能测量。  The configuration module 920 is configured to configure the determined at least one measurement configuration parameter determined by the determining module 910 to at least one of the source end and the sink end, so that at least one of the source end and the sink end performs network Performance measurement.
在本发明实施例中, 为了提高网络性能测量的效率, 由网管设备配置测 量配置参数。确定模块 910确定以下测量配置参数中的至少一个测量配置参 数: 源端 MEP ID、 源端 RMEP ID、 源端 RMEP MAC、 宿端 RMEP MAC、 源端 MEP方向、 宿端 MEP方向和源端主动 /被动参数。 配置模块 920将该 至少一个测量配置参数配置给源端和宿端。 源端和宿端根据该至少一个测量 配置参数进行网络性能测量。 这样, 由网管设备配置测量配置参数, 用户不 需要再输入上述测量配置参数, 即可实现性能监控。 In the embodiment of the present invention, in order to improve the efficiency of network performance measurement, the configuration parameter is configured by the network management device. The determining module 910 determines at least one of the following measurement configuration parameters: a source MEP ID, a source RMEP ID, a source RMEP MAC, a sink RMEP MAC, a source MEP direction, a sink MEP direction, and a source active/ Passive parameters. The configuration module 920 configures the at least one measurement configuration parameter to the source end and the sink end. Source and sink according to the at least one measurement Configure parameters for network performance measurements. In this way, the configuration parameters are configured by the network management device, and the user does not need to input the above measurement configuration parameters to implement performance monitoring.
因此, 本发明实施例的网管设备, 通过确定配置给源端和宿端的测量配 置参数, 可以减少用户的配置操作, 能够实现网络性能测量的快速部署, 从 而能够提高网络性能测量的效率。  Therefore, the network management device of the embodiment of the present invention can reduce the configuration operation of the user by determining the measurement configuration parameters configured for the source end and the sink end, and can quickly deploy the network performance measurement, thereby improving the efficiency of the network performance measurement.
在本发明实施例中, 可选地, 该确定模块 910具体用于, 根据用户配置 的该源端的端口标识和虚拟局域网 VLAN ID ,在该 VLAN ID对应的 MEP ID 范围内确定该源端的 MEP ID; 居用户配置的该宿端的端口标识和该 VLAN ID, 在该 VLAN ID对应的 MEP ID范围内确定该源端的 RMEP ID。  In the embodiment of the present invention, the determining module 910 is specifically configured to determine the MEP ID of the source end within the MEP ID range corresponding to the VLAN ID according to the port identifier of the source end and the VLAN ID of the virtual local area network configured by the user. The port identifier of the sink configured by the user and the VLAN ID, and the RMEP ID of the source end is determined within the MEP ID range corresponding to the VLAN ID.
在本发明实施例中, 可选地, 该网管设备 900还包括:  In the embodiment of the present invention, optionally, the network management device 900 further includes:
第一发送模块, 用于向该源端发送连通性测试启动命令, 以使该源端通 过连通性测试获取该宿端的 MEP MAC地址, 以及向该宿端发送连通性测试 启动命令, 以使该宿端通过连通性测试获取该源端的 MEP MAC地址;  a first sending module, configured to send a connectivity test start command to the source end, so that the source end obtains the MEP MAC address of the sink end through the connectivity test, and sends a connectivity test start command to the sink end, so that the The sink obtains the MEP MAC address of the source through the connectivity test.
接收模块, 用于接收该源端发送的该宿端的 MEP MAC地址, 以及接收 该宿端发送的该源端的 MEP MAC地址;  a receiving module, configured to receive a MEP MAC address of the sink sent by the source end, and receive a MEP MAC address of the source end sent by the sink end;
该确定模块 910具体用于确定该源端的 RMEP MAC地址为该宿端的 MEP MAC地址,以及确定该宿端的 RMEP MAC地址为该源端的 MEP MAC 地址。  The determining module 910 is specifically configured to determine that the RMEP MAC address of the source is the MEP MAC address of the sink, and determine that the RMEP MAC address of the sink is the MEP MAC address of the source.
在本发明实施例中, 可选地, 该确定模块 910具体用于,  In the embodiment of the present invention, the determining module 910 is specifically configured to:
若该源端的 MEP监控用户侧接口 UNI ,则确定该源端的 MEP方向为上; 若该源端的 MEP监控网络侧接口 NNI ,则确定该源端的 MEP方向为下。 在本发明实施例中, 可选地, 该确定模块 910具体用于,  If the MEP of the source side monitors the UNI of the user side, the MEP direction of the source is determined to be up. If the MEP of the source end monitors the NNI of the network side, the MEP direction of the source is determined to be lower. In the embodiment of the present invention, the determining module 910 is specifically configured to:
若该宿端为光线路终端 OLT, 该宿端的 MEP监控 UNI, 在该宿端的对 端为光节点 ONU时确定该宿端的 MEP方向为下,在该宿端的对端为路由器 时确定该宿端的 MEP方向为上;  If the sink is an optical line terminal OLT, the MEP of the sink monitors the UNI. When the peer end of the sink is the optical node ONU, the MEP direction of the sink is determined to be lower, and when the opposite end of the sink is a router, the sink is determined. The MEP direction is up;
若该宿端为 OLT, 该宿端的 MEP监控 NNI, 在该宿端的对端为 ONU 时确定该宿端的 MEP方向为上, 在该宿端的对端为路由器时确定该宿端的 MEP方向为下;  If the sink is an OLT, the MEP of the sink monitors the NNI. When the peer end of the sink is an ONU, the MEP direction of the sink is determined to be upward. When the peer end of the sink is a router, the MEP direction of the sink is determined to be lower.
若该宿端为路由器, 则确定该宿端的 MEP方向为上。  If the sink is a router, determine that the MEP direction of the sink is up.
在本发明实施例中, 可选地, 该确定模块 910具体用于确定该源端的主 在本发明实施例中, 可选地, 该网管设备 900还包括: In the embodiment of the present invention, the determining module 910 is specifically configured to determine the source of the source end. In the embodiment of the present invention, optionally, the network management device 900 further includes:
第二发送模块, 用于在点到多点场景下, 该网管设备向该源端发送 update-backward-mac命令, 以使该源端才艮据该 update-backward-mac命令选 择用户业务 MAC地址作为测量配置参数中的该源端的 backward MAC地址。  The second sending module is configured to send an update-backward-mac command to the source end in the point-to-multipoint scenario, so that the source terminal selects the user service MAC address according to the update-backward-mac command. As the backward MAC address of the source in the measurement configuration parameter.
本发明实施例的网管设备, 通过确定测量配置参数, 可以减少用户的配 置操作, 能够实现网络性能测量的快速部署, 从而能够提高网络性能测量的 效率。  The network management device of the embodiment of the present invention can reduce the configuration operation of the user by determining the measurement configuration parameters, and can quickly deploy the network performance measurement, thereby improving the efficiency of the network performance measurement.
根据本发明实施例的网管设备 900可对应于根据本发明实施例的网络性 能测量的方法中的网管设备, 并且网管设备 900中的各个模块的上述和其它 操作和 /或功能分别为了实现图 1至图 5中的各个方法的相应流程,为了筒洁, 在此不再赘述。  The network management device 900 according to the embodiment of the present invention may correspond to the network management device in the method for network performance measurement according to the embodiment of the present invention, and the foregoing and other operations and/or functions of the respective modules in the network management device 900 respectively implement FIG. 1 The corresponding processes to the respective methods in FIG. 5 are not described here.
图 10示出了根据本发明实施例的网元设备 1000的示意性框图。如图 10 所示, 该网元设备 1000包括:  FIG. 10 shows a schematic block diagram of a network element device 1000 in accordance with an embodiment of the present invention. As shown in FIG. 10, the network element device 1000 includes:
测量模块 1010,用于进行网络性能测量,得到网络性能测量的原始数据; 第一存储模块 1020,用于存储该原始数据, 以便于网管设备从该网元设 备实时获取该原始数据以进行实时监控;  The measurement module 1010 is configured to perform network performance measurement to obtain original data of network performance measurement. The first storage module 1020 is configured to store the original data, so that the network management device obtains the original data from the network element device in real time for real-time monitoring. ;
处理模块 1030, 用于按照统计周期处理该原始数据;  The processing module 1030 is configured to process the original data according to a statistical period;
第二存储模块 1040,用于存储按照统计周期处理后的数据, 以便于该网 管设备按照监控周期从该网元设备获取该按照统计周期处理后的数据以进 行周期监控。  The second storage module 1040 is configured to store the data processed according to the statistical period, so that the network management device obtains the data processed according to the statistical period from the network element device according to the monitoring period to perform cycle monitoring.
本发明实施例的网元设备,通过存储网络性能测量的原始数据和按照统 计周期处理后的数据, 可以使网管设备获取原始数据以进行实时监控, 获取 按照统计周期处理后的数据以进行周期监控, 因而可以降低传输数据量, 降 低网管设备集中处理压力, 从而能够提高网络性能测量的效率。  The network element device of the embodiment of the present invention can obtain the original data of the network management device and the data processed according to the statistical period, so that the network management device can obtain the original data for real-time monitoring, and obtain the data processed according to the statistical cycle for periodic monitoring. Therefore, the amount of transmitted data can be reduced, and the centralized processing pressure of the network management device can be reduced, thereby improving the efficiency of network performance measurement.
在本发明实施例中, 可选地, 该第一存储模块 1020具体用于将该原始 数据存储为 MIB形式。  In the embodiment of the present invention, the first storage module 1020 is specifically configured to store the original data in an MIB format.
可选地, 该第二存储模块 1040具体用于将该按照统计周期处理后的数 据存储为文本形式。  Optionally, the second storage module 1040 is specifically configured to store the data processed according to the statistical period as a text form.
在本发明实施例中, 可选地, 该测量模块 1010具体用于利用双向时延 报文获取单向时延数据。  In the embodiment of the present invention, the measurement module 1010 is specifically configured to acquire one-way delay data by using a two-way delay message.
可选地, 该测量模块 1010具体用于根据以下至少一个等式获取单向时 延数据, Optionally, the measurement module 1010 is specifically configured to acquire one-way time according to at least one of the following equations: Delay data,
正向单向时延 = RxTimeStampf - TxTimeStampf,  Forward one-way delay = RxTimeStampf - TxTimeStampf,
反向单向时延 = RxTimeb - TxTimeStampb,  Reverse one-way delay = RxTimeb - TxTimeStampb,
其中, TxTimeStampf 表示该双向时延报文中的时延测量报文 DMM的 发送时间戳, RxTimeStampf表示该 DMM的接收时间戳, TxTimeStampb表 示该双向时延报文中的时延测量应答 DMR的发送时间戳, RxTimeb表示该 DMR的接收时刻。  The TxTimeStampf indicates the transmission timestamp of the DMM of the delay measurement message in the two-way delay message, RxTimeStampf indicates the reception timestamp of the DMM, and TxTimeStampb indicates the transmission time of the delay measurement response DMR in the two-way delay message. Poke, RxTimeb indicates the receiving moment of the DMR.
在本发明实施例中, 可选地, 该网元设备 1000为上游网元设备, 该上 游网元设备表示连接节点数量少于预定值的网元设备。  In the embodiment of the present invention, optionally, the network element device 1000 is an upstream network element device, and the upstream network element device indicates a network element device whose number of connected nodes is less than a predetermined value.
本发明实施例通过在上游网元设备上采集网络性能测量数据,可以降低 数据采集工作量, 减少网络开销, 能够最优化发挥网管设备的采集能力, 从 而能够提高网络性能测量的效率。  By collecting the network performance measurement data on the upstream network element device, the embodiment of the present invention can reduce the data collection workload, reduce the network overhead, and optimize the collection capability of the network management device, thereby improving the efficiency of the network performance measurement.
根据本发明实施例的网元设备 1000可对应于根据本发明实施例的网络 性能测量的方法中的网元设备, 并且网元设备 1000 中的各个模块的上述和 其它操作和 /或功能分别为了实现图 6至图 8中的各个方法的相应流程,为了 筒洁, 在此不再赘述。  The network element device 1000 according to an embodiment of the present invention may correspond to a network element device in a method for network performance measurement according to an embodiment of the present invention, and the foregoing and other operations and/or functions of respective modules in the network element device 1000 are respectively The corresponding processes of the various methods in FIG. 6 to FIG. 8 are implemented, and are not described here.
图 11示出了根据本发明实施例的网管设备 1100的示意性框图。如图 11 所示, 该网管设备 1100包括:  FIG. 11 shows a schematic block diagram of a network management device 1100 in accordance with an embodiment of the present invention. As shown in FIG. 11, the network management device 1100 includes:
实时监控模块 1110,用于从网元设备实时获取该网元设备存储的网络性 能测量的原始数据, 基于该原始数据进行实时监控, 其中, 该原始数据由该 网元设备进行网络性能测量测得;  The real-time monitoring module 1110 is configured to obtain, in real time, the original data of the network performance measurement stored by the network element device from the network element device, and perform real-time monitoring based on the original data, where the original data is measured by the network element device for network performance measurement. ;
周期监控模块 1120,用于按照监控周期从该网元设备获取该网元设备存 储的按照统计周期处理后的数据,基于该按照统计周期处理后的数据进行周 期监控, 其中, 该按照统计周期处理后的数据由该网元设备按照统计周期处 理该原始数据得到。  The period monitoring module 1120 is configured to obtain, according to the monitoring period, the data processed by the network element device according to the statistical period, and perform period monitoring based on the data processed according to the statistical period, where the processing is performed according to the statistical period. The subsequent data is obtained by the network element device processing the original data according to a statistical period.
可选地, 该实时监控模块 1110获取的该原始数据由该网元设备存储为 MIB形式。  Optionally, the original data acquired by the real-time monitoring module 1110 is stored by the network element device as an MIB.
可选地, 该周期监控模块 1120获取的该按照统计周期处理后的数据由 该网元设备存储为文本形式。  Optionally, the data processed by the periodic monitoring module 1120 according to the statistical period is stored by the network element device as text.
根据本发明实施例的网管设备 1100可对应于根据本发明实施例的网络 性能测量的方法中的网管设备, 并且网管设备 1100 中的各个模块的上述和 其它操作和 /或功能分别为了实现图 6至图 8中的各个方法的相应流程,为了 筒洁, 在此不再赘述。 The network management device 1100 according to the embodiment of the present invention may correspond to the network management device in the method for network performance measurement according to the embodiment of the present invention, and the above-mentioned sum of each module in the network management device 1100 Other operations and/or functions are respectively omitted in order to implement the corresponding processes of the respective methods in FIG. 6 to FIG.
本发明实施例的网管设备, 通过获取原始数据以进行实时监控, 获取按 照统计周期处理后的数据以进行周期监控, 可以降低传输数据量, 降低网管 设备集中处理压力, 从而能够提高网络性能测量的效率。  The network management device of the embodiment of the present invention obtains raw data for real-time monitoring, and obtains data processed according to the statistical period for periodic monitoring, which can reduce the amount of data transmitted and reduce the centralized processing pressure of the network management device, thereby improving network performance measurement. effectiveness.
图 12示出了本发明的又一实施例提供的网管设备的结构, 包括至少一 个处理器 1202 (例如 CPU ), 至少一个网络接口 1205或者其他通信接口, 存储器 1206, 和至少一个通信总线 1203, 用于实现这些装置之间的连接通 信。 处理器 1202用于执行存储器 1206中存储的可执行模块, 例如计算机程 序。 存储器 1206 可能包含高速随机存取存储器 (RAM: Random Access Memory ), 也可能还包括非不稳定的存储器( non- volatile memory ), 例如至 少一个磁盘存储器。 通过至少一个网络接口 1205 (可以是有线或者无线)实 现与至少一个其他网元之间的通信连接,可以使用互联网,广域网,本地网, 城域网等。  FIG. 12 shows a structure of a network management device according to still another embodiment of the present invention, including at least one processor 1202 (for example, a CPU), at least one network interface 1205 or other communication interface, a memory 1206, and at least one communication bus 1203. Used to implement connection communication between these devices. The processor 1202 is configured to execute executable modules, such as computer programs, stored in the memory 1206. Memory 1206 may include high speed random access memory (RAM: Random Access Memory) and may also include non-volatile memory, such as at least one disk memory. The communication connection with at least one other network element can be implemented through at least one network interface 1205 (which may be wired or wireless), and an Internet, a wide area network, a local area network, a metropolitan area network, etc. may be used.
在一些实施方式中,存储器 1206存储了程序 12061 ,程序 12061可以被 处理器 1202执行, 这个程序包括:  In some embodiments, the memory 1206 stores a program 12061 that can be executed by the processor 1202. The program includes:
网管设备确定以下测量配置参数中的至少一个测量配置参数: 源端的维 护实体组端点 MEP标识 ID、 该源端的远端维护实体组端点 RMEP ID、 该源 端的 RMEP媒体接入控制 MAC地址、 宿端的 RMEP MAC地址、 该源端的 MEP方向、该宿端的 MEP方向和该源端的主动 /被动参数; 该网管设备将确 定的该至少一个测量配置参数配置给该源端和该宿端中的至少一个, 以便于 该源端和该宿端中的至少一个进行网络性能测量。  The network management device determines at least one of the following measurement configuration parameters: a maintenance entity group endpoint MEP identifier ID of the source end, a remote maintenance entity group endpoint RMEP ID of the source end, a RMEP media access control MAC address of the source end, and a sink end a RMEP MAC address, a MEP direction of the source end, an MEP direction of the sink end, and an active/passive parameter of the source end; the network management device configures the determined at least one measurement configuration parameter to at least one of the source end and the sink end, So that at least one of the source end and the sink end performs network performance measurement.
可选地, 该网管设备确定该至少一个测量配置参数, 包括以下步骤中的 至少一个步骤: 该网管设备根据用户配置的该源端的端口标识和虚拟局域网 VLAN ID , 在该 VLAN ID对应的 MEP ID范围内确定该源端的 MEP ID; 和 该网管设备根据用户配置的该宿端的端口标识和该 VLAN ID, 在该 VLAN Optionally, the network management device determines the at least one measurement configuration parameter, and includes at least one of the following steps: the network management device selects the MEP ID corresponding to the VLAN ID according to the port identifier of the source end and the virtual local area network VLAN ID configured by the user. Determining the MEP ID of the source end; and the port identifier of the sink end configured by the network management device according to the user and the VLAN ID, in the VLAN
ID对应的 MEP ID范围内确定该源端的 RMEP ID。 The RMEP ID of the source is determined within the MEP ID range corresponding to the ID.
可选地, 该网管设备确定该至少一个测量配置参数, 包括以下 a和 b步 骤中的至少一个步骤: a.该网管设备向该源端发送连通性测试启动命令, 以 使该源端通过连通性测试获取该宿端的 MEP MAC地址,该网管设备接收该 源端发送的该宿端的 MEP MAC地址, 确定该源端的 RMEP MAC地址为该 宿端的 MEP MAC地址; b.该网管设备向该宿端发送连通性测试启动命令, 以使该宿端通过连通性测试获取该源端的 MEP MAC地址,该网管设备接收 该宿端发送的该源端的 MEP MAC地址, 确定该宿端的 RMEP MAC地址为 该源端的 MEP MAC地址。 Optionally, the network management device determines the at least one measurement configuration parameter, and includes at least one of the following steps a and b: a. the network management device sends a connectivity test start command to the source end, so that the source end is connected. The MEP MAC address of the sink is obtained by the network test, and the network management device receives the MEP MAC address of the sink sent by the source, and determines that the RMEP MAC address of the source is the The MEP MAC address of the sink end; b. The network management device sends a connectivity test start command to the sink end, so that the sink end obtains the MEP MAC address of the source end through the connectivity test, and the network management device receives the source sent by the sink end The MEP MAC address of the terminal determines that the RMEP MAC address of the sink is the MEP MAC address of the source.
可选地, 该网管设备确定该至少一个测量配置参数, 包括: 若该源端的 Optionally, the network management device determines the at least one measurement configuration parameter, including: if the source end
MEP监控用户侧接口 UNI, 则确定该源端的 MEP方向为上; 若该源端的 MEP监控网络侧接口 NNI , 则确定该源端的 MEP方向为下。 If the MEP monitors the user-side interface UNI, the MEP direction of the source is Up; if the MEP of the source monitors the NNI of the network, the MEP direction of the source is Down.
可选地, 该网管设备确定该至少一个测量配置参数, 包括: 若该宿端为 光线路终端 OLT, 该宿端的 MEP监控 UNI, 在该宿端的对端为光节点 ONU 时确定该宿端的 MEP方向为下, 在该宿端的对端为路由器时确定该宿端的 MEP方向为上; 若该宿端为 OLT, 该宿端的 MEP监控 NNI, 在该宿端的对 端为 ONU时确定该宿端的 MEP方向为上,在该宿端的对端为路由器时确定 该宿端的 MEP方向为下; 若该宿端为路由器, 则确定该宿端的 MEP方向为 上。  Optionally, the network management device determines the at least one measurement configuration parameter, including: if the sink is an optical line terminal OLT, the MEP of the sink monitors the UNI, and determines the MEP of the sink when the opposite end of the sink is the optical node ONU If the direction of the sink is the router, the MEP direction of the sink is determined to be up. If the sink is the OLT, the MEP of the sink monitors the NNI. When the peer of the sink is the ONU, the MEP of the sink is determined. The direction is up. When the peer end of the sink is a router, the MEP direction of the sink is determined to be lower. If the sink is a router, the MEP direction of the sink is determined to be upper.
可选地, 该网管设备确定该至少一个测量配置参数, 包括: 该网管设备 确定该源端的主动 /被动参数为被动。  Optionally, the network management device determines the at least one measurement configuration parameter, including: the network management device determines that the active/passive parameter of the source terminal is passive.
可选地, 还包括: 在点到多点场景下, 该网管设备向该源端发送 update-backward-mac命令, 以使该源端才艮据该 update-backward-mac命令选 择用户业务 MAC地址作为测量配置参数中的该源端的 backward MAC地址。  Optionally, the method further includes: in a point-to-multipoint scenario, the network management device sends an update-backward-mac command to the source, so that the source device selects a user service MAC address according to the update-backward-mac command. As the backward MAC address of the source in the measurement configuration parameter.
从本发明实施例提供的以上技术方案可以看出,本发明实施例通过网管 设备确定配置给源端和宿端的测量配置参数, 可以减少用户的配置操作, 能 够实现网络性能测量的快速部署, 从而能够提高网络性能测量的效率。  It can be seen from the foregoing technical solutions provided by the embodiments of the present invention that the network management device determines the measurement configuration parameters configured for the source end and the sink end, which can reduce the configuration operation of the user and enable rapid deployment of network performance measurement. Can improve the efficiency of network performance measurement.
图 13示出了本发明的又一实施例提供的网元设备的结构, 包括至少一 个处理器 1302 (例如 CPU ), 至少一个网络接口 1305或者其他通信接口, 存储器 1306, 和至少一个通信总线 1303, 用于实现这些装置之间的连接通 信。 处理器 1302用于执行存储器 1306中存储的可执行模块, 例如计算机程 序。 存储器 1306 可能包含高速随机存取存储器 (RAM: Random Access Memory ), 也可能还包括非不稳定的存储器( non- volatile memory ), 例如至 少一个磁盘存储器。 通过至少一个网络接口 1305 (可以是有线或者无线)实 现与至少一个其他网元之间的通信连接,可以使用互联网,广域网,本地网, 城域网等。 在一些实施方式中,存储器 1306存储了程序 13061 ,程序 13061可以被 处理器 1302执行, 这个程序包括: FIG. 13 shows a structure of a network element device according to still another embodiment of the present invention, including at least one processor 1302 (eg, a CPU), at least one network interface 1305 or other communication interface, a memory 1306, and at least one communication bus 1303. Used to implement connection communication between these devices. The processor 1302 is configured to execute executable modules, such as computer programs, stored in the memory 1306. The memory 1306 may include a high speed random access memory (RAM: Random Access Memory), and may also include a non-volatile memory such as at least one disk memory. The communication connection with at least one other network element is implemented by at least one network interface 1305 (which may be wired or wireless), and may use an Internet, a wide area network, a local area network, a metropolitan area network, or the like. In some embodiments, the memory 1306 stores a program 13061 that can be executed by the processor 1302. The program includes:
网元设备进行网络性能测量, 得到网络性能测量的原始数据; 该网元设 备存储该原始数据, 以便于网管设备从该网元设备实时获取该原始数据以进 行实时监控; 并且, 该网元设备按照统计周期处理该原始数据, 存储按照统 计周期处理后的数据, 以便于该网管设备按照监控周期从该网元设备获取该 按照统计周期处理后的数据以进行周期监控。  The network element device performs network performance measurement to obtain original data of network performance measurement; the network element device stores the original data, so that the network management device obtains the original data from the network element device in real time for real-time monitoring; and, the network element device The original data is processed according to the statistical period, and the data processed according to the statistical period is stored, so that the network management device obtains the data processed according to the statistical period from the network element device according to the monitoring period for periodic monitoring.
可选地, 该网元设备存储该原始数据, 包括: 该网元设备将该原始数据 存储为 MIB形式。  Optionally, the network element device stores the original data, including: the network element device stores the original data in an MIB form.
可选地, 该网元设备存储按照统计周期处理后的数据, 包括: 该网元设 备将该按照统计周期处理后的数据存储为文本形式。  Optionally, the network element device stores the data processed according to the statistical period, and the method includes: the network element device stores the data processed according to the statistical period as a text form.
可选地, 该网元设备进行网络性能测量, 包括: 该网元设备利用双向时 延报文获取单向时延数据。  Optionally, the network element device performs network performance measurement, including: the network element device uses the two-way delay message to obtain one-way delay data.
可选地, 该网元设备利用双向时延报文获取单向时延数据, 包括: 该网 元设备根据以下至少一个等式获取单向时延数据, 正向单向时延 = RxTimeStampf - TxTimeStampf , 反向 单向 时延 = RxTimeb - TxTimeStampb, 其中, TxTimeStampf 表示该双向时延报文中的时延测量报 文 DMM 的发送时间戳, RxTimeStampf 表示该 DMM 的接收时间戳, TxTimeStampb表示该双向时延报文中的时延测量应答 DMR的发送时间戳, RxTimeb表示该 DMR的接收时刻。  Optionally, the network element device uses the two-way delay packet to obtain one-way delay data, including: the network element device acquires one-way delay data according to at least one of the following equations, and forward one-way delay = RxTimeStampf - TxTimeStampf The reverse one-way delay = RxTimeb - TxTimeStampb, where TxTimeStampf represents the transmission timestamp of the delay measurement message DMM in the two-way delay message, RxTimeStampf represents the reception timestamp of the DMM, and TxTimeStampb represents the two-way delay The delay in the message measures the transmission timestamp of the response DMR, and RxTimeb indicates the reception time of the DMR.
可选地, 该网元设备为上游网元设备, 该上游网元设备表示连接节点数 量少于预定值的网元设备。  Optionally, the network element device is an upstream network element device, and the upstream network element device indicates a network element device whose number of connected nodes is less than a predetermined value.
从本发明实施例提供的以上技术方案可以看出,本发明实施例通过网元 设备存储网络性能测量的原始数据和按照统计周期处理后的数据, 网管设备 可以获取按照统计周期处理后的数据以进行周期监控, 获取原始数据以进行 实时监控, 因而可以降低传输数据量, 降低网管设备集中处理压力, 从而能 够提高网络性能测量的效率。  It can be seen from the foregoing technical solutions provided by the embodiments of the present invention that, in the embodiment of the present invention, the network element device stores the original data of the network performance measurement and the data processed according to the statistical period, and the network management device can obtain the data processed according to the statistical period. Cycle monitoring is performed to obtain raw data for real-time monitoring, thereby reducing the amount of data transmitted and reducing the centralized processing pressure of the network management equipment, thereby improving the efficiency of network performance measurement.
图 14示出了本发明的又一实施例提供的网管设备的结构, 包括至少一 个处理器 1402 (例如 CPU ), 至少一个网络接口 1405或者其他通信接口, 存储器 1406, 和至少一个通信总线 1403, 用于实现这些装置之间的连接通 信。 处理器 1402用于执行存储器 1406中存储的可执行模块, 例如计算机程 序。 存储器 1406 可能包含高速随机存取存储器 (RAM: Random Access Memory ), 也可能还包括非不稳定的存储器( non- volatile memory ), 例如至 少一个磁盘存储器。 通过至少一个网络接口 1405 (可以是有线或者无线)实 现与至少一个其他网元之间的通信连接,可以使用互联网,广域网,本地网, 城域网等。 FIG. 14 shows a structure of a network management device according to still another embodiment of the present invention, including at least one processor 1402 (for example, a CPU), at least one network interface 1405 or other communication interface, a memory 1406, and at least one communication bus 1403. Used to implement connection communication between these devices. The processor 1402 is configured to execute an executable module stored in the memory 1406, such as a computer program Preface. The memory 1406 may include a high speed random access memory (RAM: Random Access Memory), and may also include a non-volatile memory such as at least one disk memory. The communication connection with at least one other network element is implemented by at least one network interface 1405 (which may be wired or wireless), and may use an Internet, a wide area network, a local area network, a metropolitan area network, or the like.
在一些实施方式中,存储器 1406存储了程序 14061 ,程序 14061可以被 处理器 1402执行, 这个程序包括:  In some embodiments, the memory 1406 stores a program 14061 that can be executed by the processor 1402. The program includes:
网管设备从网元设备实时获取该网元设备存储的网络性能测量的原始 数据, 基于该原始数据进行实时监控, 其中, 该原始数据由该网元设备进行 网络性能测量测得; 并且, 该网管设备按照监控周期从该网元设备获取该网 元设备存储的按照统计周期处理后的数据,基于该按照统计周期处理后的数 据进行周期监控, 其中, 该按照统计周期处理后的数据由该网元设备按照统 计周期处理该原始数据得到。  The network management device obtains, in real time, the original data of the network performance measurement stored by the network element device from the network element device, and performs real-time monitoring based on the original data, where the original data is measured by the network element device for network performance measurement; and, the network management device The device obtains the data processed by the network element device according to the statistical period according to the monitoring period, and performs periodic monitoring based on the data processed according to the statistical period, wherein the data processed according to the statistical period is used by the network. The meta device obtains the raw data according to a statistical period.
可选地, 该原始数据由该网元设备存储为 MIB形式。  Optionally, the original data is stored by the network element device as a MIB.
可选地, 该按照统计周期处理后的数据由该网元设备存储为文本形式。 从本发明实施例提供的以上技术方案可以看出,本发明实施例通过网管 设备获取原始数据以进行实时监控,获取按照统计周期处理后的数据以进行 周期监控, 可以降低传输数据量, 降低网管设备集中处理压力, 从而能够提 高网络性能测量的效率。  Optionally, the data processed according to the statistical period is stored by the network element device as a text form. It can be seen from the foregoing technical solutions provided by the embodiments of the present invention that the network management device obtains the original data for real-time monitoring, and obtains the data processed according to the statistical period for periodic monitoring, thereby reducing the amount of data transmitted and reducing the network management. The equipment handles the pressure centrally, which can improve the efficiency of network performance measurement.
应理解, 在本发明实施例中, 术语 "和 /或"仅仅是一种描述关联对象的 关联关系, 表示可以存在三种关系。 例如, A和 /或 B, 可以表示: 单独存在 A, 同时存在 A和 B , 单独存在 B这三种情况。 另外, 本文中字符 "/" , 一 般表示前后关联对象是一种 "或" 的关系。  It should be understood that in the embodiment of the present invention, the term "and/or" is merely an association describing the associated object, indicating that there may be three relationships. For example, A and / or B, can mean: There are three cases of A, B and A and B alone. In addition, the character "/" in this article generally indicates that the contextual object is an "or" relationship.
本领域普通技术人员可以意识到, 结合本文中所公开的实施例描述的各 示例的单元及算法步骤, 能够以电子硬件、 计算机软件或者二者的结合来实 现, 为了清楚地说明硬件和软件的可互换性, 在上述说明中已经按照功能一 般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执 行, 取决于技术方案的特定应用和设计约束条件。 专业技术人员可以对每个 特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超 出本发明的范围。  Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the various examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware, computer software or a combination of both, in order to clearly illustrate hardware and software. Interchangeability, the composition and steps of the various examples have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods for implementing the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present invention.
所属领域的技术人员可以清楚地了解到, 为了描述的方便和筒洁, 上述 描述的系统、 装置和单元的具体工作过程, 可以参考前述方法实施例中的对 应过程, 在此不再赘述。 It will be apparent to those skilled in the art that, for the convenience and clarity of the description, the above For a specific working process of the system, the device, and the unit, refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
在本申请所提供的几个实施例中, 应该理解到, 所揭露的系统、 装置和 方法, 可以通过其它的方式实现。 例如, 以上所描述的装置实施例仅仅是示 意性的, 例如, 所述单元的划分, 仅仅为一种逻辑功能划分, 实际实现时可 以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个 系统, 或一些特征可以忽略, 或不执行。 另外, 所显示或讨论的相互之间的 耦合或直接耦合或通信连接可以是通过一些接口、装置或单元的间接耦合或 通信连接, 也可以是电的, 机械的或其它的形式连接。  In the several embodiments provided herein, it should be understood that the disclosed systems, devices, and methods may be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, or an electrical, mechanical or other form of connection.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作 为单元显示的部件可以是或者也可以不是物理单元, 即可以位于一个地方, 或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或 者全部单元来实现本发明实施例方案的目的。  The units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the embodiments of the present invention.
另外, 在本发明各个实施例中的各功能单元可以集成在一个处理单元 中, 也可以是各个单元单独物理存在, 也可以是两个或两个以上单元集成在 一个单元中。 上述集成的单元既可以采用硬件的形式实现, 也可以采用软件 功能单元的形式实现。  In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销 售或使用时, 可以存储在一个计算机可读取存储介质中。 基于这样的理解, 本发明的技术方案本质上或者说对现有技术做出贡献的部分, 或者该技术方 案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在 一个存储介质中, 包括若干指令用以使得一台计算机设备(可以是个人计算 机, 服务器, 或者网络设备等)执行本发明各个实施例所述方法的全部或部 分步骤。 而前述的存储介质包括: U盘、 移动硬盘、 只读存储器(ROM, Read-Only Memory )、 随机存取存储器(RAM, Random Access Memory ), 磁碟或者光盘等各种可以存储程序代码的介质。  The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention contributes in essence or to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium. A number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a U disk, a removable hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and the like, which can store program codes. .
以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围并不局限 于此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易 想到各种等效的修改或替换, 这些修改或替换都应涵盖在本发明的保护范围 之内。 因此, 本发明的保护范围应以权利要求的保护范围为准。  The above is only the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any equivalent person can be easily conceived within the technical scope of the present invention. Modifications or substitutions are intended to be included within the scope of the invention. Therefore, the scope of the invention should be determined by the scope of the claims.

Claims

权利要求 Rights request
1. 一种网络性能测量的方法, 其特征在于, 包括:  A method for measuring network performance, comprising:
网管设备确定以下测量配置参数中的至少一个测量配置参数: 源端的维 护实体组端点 MEP标识 ID、 所述源端的远端维护实体组端点 RMEP ID、 所 述源端的 RMEP媒体接入控制 MAC地址、 宿端的 RMEP MAC地址、 所述 源端的 MEP方向、 所述宿端的 MEP方向和所述源端的主动 /被动参数; 所述网管设备将确定的所述至少一个测量配置参数配置给所述源端和 所述宿端中的至少一个, 以便于所述源端和所述宿端中的至少一个进行网络 性能测量。  The network management device determines at least one of the following measurement configuration parameters: a maintenance entity group endpoint MEP identifier ID of the source end, a remote maintenance entity group endpoint RMEP ID of the source end, a RMEP media access control MAC address of the source end, a RMEP MAC address of the sink, an MEP direction of the source, an MEP direction of the sink, and an active/passive parameter of the source; the network management device configures the determined at least one measurement configuration parameter to the source and At least one of the sinks to facilitate network performance measurement by at least one of the source end and the sink end.
2. 根据权利要求 1所述的方法, 其特征在于, 所述网管设备确定所述 至少一个测量配置参数, 包括以下步骤中的至少一个步骤:  The method according to claim 1, wherein the network management device determines the at least one measurement configuration parameter, and comprises at least one of the following steps:
所述网管设备根据用户配置的所述源端的端口标识和虚拟局域网 VLAN ID ,在所述 VLAN ID对应的 MEP ID范围内确定所述源端的 MEP ID; 和  Determining, by the network management device, the MEP ID of the source end within a MEP ID range corresponding to the VLAN ID according to the port identifier of the source end and the VLAN ID of the virtual local area network configured by the user;
所述网管设备根据用户配置的所述宿端的端口标识和所述 VLAN ID, 在所述 VLAN ID对应的 MEP ID范围内确定所述源端的 RMEP ID。  The network management device determines the RMEP ID of the source end within the MEP ID range corresponding to the VLAN ID according to the port identifier of the sink and the VLAN ID configured by the user.
3. 根据权利要求 1或 2所述的方法, 其特征在于, 所述网管设备确定 所述至少一个测量配置参数, 包括以下 a和 b步骤中的至少一个步骤:  The method according to claim 1 or 2, wherein the network management device determines the at least one measurement configuration parameter, and comprises at least one of the following steps a and b:
a.所述网管设备向所述源端发送连通性测试启动命令, 以使所述源端通 过连通性测试获取所述宿端的 MEP MAC地址,所述网管设备接收所述源端 发送的所述宿端的 MEP MAC地址, 确定所述源端的 RMEP MAC地址为所 述宿端的 MEP MAC地址;  The network management device sends a connectivity test start command to the source end, so that the source end obtains the MEP MAC address of the sink end through the connectivity test, and the network management device receives the a MEP MAC address of the sink, determining that the RMEP MAC address of the source is the MEP MAC address of the sink;
b.所述网管设备向所述宿端发送连通性测试启动命令, 以使所述宿端通 过连通性测试获取所述源端的 MEP MAC地址,所述网管设备接收所述宿端 发送的所述源端的 MEP MAC地址, 确定所述宿端的 RMEP MAC地址为所 述源端的 MEP MAC地址。  The network management device sends a connectivity test start command to the sink, so that the sink obtains the MEP MAC address of the source through the connectivity test, and the network management device receives the The MEP MAC address of the source end determines that the RMEP MAC address of the sink is the MEP MAC address of the source.
4. 根据权利要求 1至 3中任一项所述的方法, 其特征在于, 所述网管 设备确定所述至少一个测量配置参数, 包括:  The method according to any one of claims 1 to 3, wherein the determining, by the network management device, the at least one measurement configuration parameter comprises:
若所述源端的 MEP监控用户侧接口 UNI,则确定所述源端的 MEP方向 为上;  If the MEP of the source end monitors the user-side interface UNI, determine that the MEP direction of the source end is upper;
若所述源端的 MEP监控网络侧接口 NNI,则确定所述源端的 MEP方向 为下。 If the MEP of the source end monitors the network side interface NNI, determining the MEP direction of the source end For the next.
5. 根据权利要求 1至 4中任一项所述的方法, 其特征在于, 所述网管 设备确定所述至少一个测量配置参数, 包括:  The method according to any one of claims 1 to 4, wherein the determining, by the network management device, the at least one measurement configuration parameter comprises:
若所述宿端为光线路终端 OLT, 所述宿端的 MEP监控 UNI, 在所述宿 端的对端为光节点 ONU时确定所述宿端的 MEP方向为下,在所述宿端的对 端为路由器时确定所述宿端的 MEP方向为上;  If the sink is an optical line terminal OLT, the MEP of the sink monitors the UNI, and when the opposite end of the sink is an optical node ONU, the MEP direction of the sink is determined to be lower, and the opposite end of the sink is a router. Determining that the MEP direction of the sink is up;
若所述宿端为 OLT, 所述宿端的 MEP监控 NNI, 在所述宿端的对端为 ONU时确定所述宿端的 MEP方向为上, 在所述宿端的对端为路由器时确定 所述宿端的 MEP方向为下;  If the sink is an OLT, the MEP of the sink monitors the NNI, and when the opposite end of the sink is an ONU, the MEP direction of the sink is determined to be upper, and when the opposite end of the sink is a router, the sink is determined. The MEP direction of the end is below;
若所述宿端为路由器, 则确定所述宿端的 MEP方向为上。  If the sink is a router, determine that the MEP direction of the sink is up.
6. 根据权利要求 1至 5中任一项所述的方法, 其特征在于, 所述网管 设备确定所述至少一个测量配置参数, 包括:  The method according to any one of claims 1 to 5, wherein the determining, by the network management device, the at least one measurement configuration parameter comprises:
所述网管设备确定所述源端的主动 /被动参数为被动。  The network management device determines that the active/passive parameter of the source is passive.
7. 根据权利要求 1至 6中任一项所述的方法, 其特征在于, 所述方法 还包括:  The method according to any one of claims 1 to 6, wherein the method further comprises:
在点到多点场景下,所述网管设备向所述源端发送 update-backward-mac 命令, 以使所述源端根据所述 update-backward-mac命令选择用户业务 MAC 地址作为测量配置参数中的所述源端的 backward MAC地址。  In a point-to-multipoint scenario, the network management device sends an update-backward-mac command to the source device, so that the source device selects the user service MAC address as the measurement configuration parameter according to the update-backward-mac command. The backward MAC address of the source.
8. 一种网络性能测量的方法, 其特征在于, 包括:  A method for measuring network performance, comprising:
网元设备进行网络性能测量, 得到网络性能测量的原始数据;  The network element device performs network performance measurement, and obtains original data of network performance measurement;
所述网元设备存储所述原始数据, 以便于网管设备从所述网元设备实时 获取所述原始数据以进行实时监控; 并且,  The network element device stores the original data, so that the network management device obtains the original data from the network element device in real time for real-time monitoring;
所述网元设备按照统计周期处理所述原始数据,存储按照统计周期处理 后的数据, 以便于所述网管设备按照监控周期从所述网元设备获取所述按照 统计周期处理后的数据以进行周期监控。  The network element device processes the original data according to a statistical period, and stores the data processed according to the statistical period, so that the network management device obtains the data processed according to the statistical period from the network element device according to the monitoring period. Cycle monitoring.
9. 根据权利要求 8所述的方法, 其特征在于, 所述网元设备进行网络 性能测量, 包括:  The method according to claim 8, wherein the network element device performs network performance measurement, including:
所述网元设备利用双向时延报文获取单向时延数据。  The network element device uses the two-way delay packet to obtain one-way delay data.
10. 根据权利要求 9所述的方法, 其特征在于, 所述网元设备利用双向 时延报文获取单向时延数据, 包括:  The method according to claim 9, wherein the network element device obtains the one-way delay data by using the two-way delay packet, and the method includes:
所述网元设备根据以下至少一个等式获取单向时延数据, 正向单向时延 = RxTimeStampf - TxTimeStampf, The network element device acquires one-way delay data according to at least one of the following equations, Forward one-way delay = RxTimeStampf - TxTimeStampf,
反向单向时延 = RxTimeb - TxTimeStampb ,  Reverse one-way delay = RxTimeb - TxTimeStampb ,
其中, TxTimeStampf表示所述双向时延 4艮文中的时延测量 4艮文 DMM的 发送时间戳, RxTimeStampf表示所述 DMM的接收时间戳, TxTimeStampb 表示所述双向时延报文中的时延测量应答 DMR的发送时间戳, RxTimeb表 示所述 DMR的接收时刻。  The TxTimeStampf represents the transmission timestamp of the delay measurement in the two-way delay, and the RxTimeStampf represents the reception timestamp of the DMM, and the TxTimeStampb represents the delay measurement response in the two-way delay message. The transmission timestamp of the DMR, and RxTimeb indicates the reception time of the DMR.
11. 根据权利要求 8至 10中任一项所述的方法, 其特征在于, 所述网 元设备为上游网元设备, 所述上游网元设备表示连接节点数量少于预定值的 网元设备。  The method according to any one of claims 8 to 10, wherein the network element device is an upstream network element device, and the upstream network element device indicates a network element device whose number of connected nodes is less than a predetermined value. .
12. 一种网络性能测量的方法, 其特征在于, 包括:  12. A method of network performance measurement, comprising:
网管设备从网元设备实时获取所述网元设备存储的网络性能测量的原 始数据, 基于所述原始数据进行实时监控, 其中, 所述原始数据由所述网元 设备进行网络性能测量测得; 并且,  The network management device obtains, in real time, the original data of the network performance measurement stored by the network element device from the network element device, and performs real-time monitoring based on the original data, where the original data is measured by the network element device for network performance measurement; And,
所述网管设备按照监控周期从所述网元设备获取所述网元设备存储的 按照统计周期处理后的数据,基于所述按照统计周期处理后的数据进行周期 监控, 其中, 所述按照统计周期处理后的数据由所述网元设备按照统计周期 处理所述原始数据得到。  The network management device obtains, according to the monitoring period, the data processed by the network element device according to the statistical period, and performs periodic monitoring based on the data processed according to the statistical period, where the statistical period is The processed data is obtained by the network element device processing the original data according to a statistical period.
13. 一种网管设备, 其特征在于, 包括:  13. A network management device, comprising:
确定模块, 用于确定以下测量配置参数中的至少一个测量配置参数: 源 端的维护实体组端点 MEP标识 ID、 所述源端的远端维护实体组端点 RMEP ID、所述源端的 RMEP媒体接入控制 MAC地址、宿端的 RMEP MAC地址、 所述源端的 MEP方向、 所述宿端的 MEP方向和所述源端的主动 /被动参数; 配置模块,用于将所述确定模块确定的所述至少一个测量配置参数配置 给所述源端和所述宿端中的至少一个, 以便于所述源端和所述宿端中的至少 一个进行网络性能测量。  a determining module, configured to determine at least one of the following measurement configuration parameters: a maintenance entity group endpoint MEP identifier ID of the source end, a remote maintenance entity group endpoint RMEP ID of the source end, and a RMEP media access control of the source end a MAC address, a RMEP MAC address of the sink, an MEP direction of the source, an MEP direction of the sink, and an active/passive parameter of the source; a configuration module, configured to determine the at least one measurement configuration determined by the determining module The parameter is configured to at least one of the source end and the sink end to facilitate network performance measurement by at least one of the source end and the sink end.
14. 根据权利要求 13所述的网管设备, 其特征在于, 所述确定模块具 体用于, 根据用户配置的所述源端的端口标识和虚拟局域网 VLAN ID , 在 所述 VLAN ID对应的 MEP ID范围内确定所述源端的 MEP ID; 根据用户配 置的所述宿端的端口标识和所述 VLAN ID,在所述 VLAN ID对应的 MEP ID 范围内确定所述源端的 RMEP ID。  The network management device according to claim 13, wherein the determining module is specifically configured to: in the MEP ID range corresponding to the VLAN ID, according to the port identifier of the source end and the virtual local area network VLAN ID configured by the user Determining the MEP ID of the source end; determining the RMEP ID of the source end within the MEP ID range corresponding to the VLAN ID according to the port identifier of the sink and the VLAN ID configured by the user.
15. 根据权利要求 13或 14所述的网管设备, 其特征在于, 所述网管设 备还包括: The network management device according to claim 13 or 14, wherein the network management device Also included are:
第一发送模块, 用于向所述源端发送连通性测试启动命令, 以使所述源 端通过连通性测试获取所述宿端的 MEP MAC地址, 以及向所述宿端发送连 通性测试启动命令, 以使所述宿端通过连通性测试获取所述源端的 MEP MAC地址;  a first sending module, configured to send a connectivity test start command to the source end, so that the source end obtains a MEP MAC address of the sink end through a connectivity test, and sends a connectivity test start command to the sink end So that the sink obtains the MEP MAC address of the source through the connectivity test;
接收模块, 用于接收所述源端发送的所述宿端的 MEP MAC地址, 以及 接收所述宿端发送的所述源端的 MEP MAC地址;  a receiving module, configured to receive a MEP MAC address of the sink sent by the source end, and receive a MEP MAC address of the source end sent by the sink end;
所述确定模块具体用于确定所述源端的 RMEP MAC地址为所述宿端的 MEP MAC地址, 以及确定所述宿端的 RMEP MAC地址为所述源端的 MEP MAC地址。  The determining module is specifically configured to determine that the RMEP MAC address of the source is the MEP MAC address of the sink, and determine that the RMEP MAC address of the sink is the MEP MAC address of the source.
16. 根据权利要求 13至 15中任一项所述的网管设备, 其特征在于, 所 述确定模块具体用于,  The network management device according to any one of claims 13 to 15, wherein the determining module is specifically configured to:
若所述源端的 MEP监控用户侧接口 UNI,则确定所述源端的 MEP方向 为上;  If the MEP of the source end monitors the user-side interface UNI, determine that the MEP direction of the source end is upper;
若所述源端的 MEP监控网络侧接口 NNI,则确定所述源端的 MEP方向 为下。  If the MEP of the source end monitors the network side interface NNI, it is determined that the MEP direction of the source end is lower.
17. 根据权利要求 13至 16中任一项所述的网管设备, 其特征在于, 所 述确定模块具体用于,  The network management device according to any one of claims 13 to 16, wherein the determining module is specifically configured to:
若所述宿端为光线路终端 OLT, 所述宿端的 MEP监控 UNI, 在所述宿 端的对端为光节点 ONU时确定所述宿端的 MEP方向为下,在所述宿端的对 端为路由器时确定所述宿端的 MEP方向为上;  If the sink is an optical line terminal OLT, the MEP of the sink monitors the UNI, and when the opposite end of the sink is an optical node ONU, the MEP direction of the sink is determined to be lower, and the opposite end of the sink is a router. Determining that the MEP direction of the sink is up;
若所述宿端为 OLT, 所述宿端的 MEP监控 NNI, 在所述宿端的对端为 ONU时确定所述宿端的 MEP方向为上, 在所述宿端的对端为路由器时确定 所述宿端的 MEP方向为下;  If the sink is an OLT, the MEP of the sink monitors the NNI, and when the opposite end of the sink is an ONU, the MEP direction of the sink is determined to be upper, and when the opposite end of the sink is a router, the sink is determined. The MEP direction of the end is below;
若所述宿端为路由器, 则确定所述宿端的 MEP方向为上。  If the sink is a router, determine that the MEP direction of the sink is up.
18. 根据权利要求 13至 17中任一项所述的网管设备, 其特征在于, 所 述确定模块具体用于确定所述源端的主动 /被动参数为被动。  The network management device according to any one of claims 13 to 17, wherein the determining module is specifically configured to determine that the active/passive parameter of the source end is passive.
19. 根据权利要求 13至 18中任一项所述的网管设备, 其特征在于, 所 述网管设备还包括:  The network management device according to any one of claims 13 to 18, wherein the network management device further comprises:
第二发送模块, 用于在点到多点场景下, 所述网管设备向所述源端发送 update-backward-mac命令, 以使所述源端才艮据所述 update-backward-mac命 令选择用户业务 MAC 地址作为测量配置参数中的所述源端的 backward MAC地址。 a second sending module, configured to send an update-backward-mac command to the source end in a point-to-multipoint scenario, so that the source end is based on the update-backward-mac command Let the user service MAC address be selected as the backward MAC address of the source in the measurement configuration parameter.
20. 一种网元设备, 其特征在于, 包括:  20. A network element device, comprising:
测量模块, 用于进行网络性能测量, 得到网络性能测量的原始数据; 第一存储模块, 用于存储所述原始数据, 以便于网管设备从所述网元设 备实时获取所述原始数据以进行实时监控;  a measurement module, configured to perform network performance measurement, to obtain raw data of network performance measurement; a first storage module, configured to store the original data, so that the network management device obtains the original data from the network element device in real time for real-time Monitoring
处理模块, 用于按照统计周期处理所述原始数据;  a processing module, configured to process the original data according to a statistical period;
第二存储模块, 用于存储按照统计周期处理后的数据, 以便于所述网管 设备按照监控周期从所述网元设备获取所述按照统计周期处理后的数据以 进行周期监控。  The second storage module is configured to store the data processed according to the statistical period, so that the network management device obtains the data processed according to the statistical period from the network element device according to the monitoring period to perform periodic monitoring.
21. 根据权利要求 20所述的网元设备, 其特征在于, 所述测量模块具 体用于利用双向时延报文获取单向时延数据。  The network element device according to claim 20, wherein the measurement module is configured to acquire one-way delay data by using a two-way delay message.
22. 根据权利要求 21所述的网元设备, 其特征在于, 所述测量模块具 体用于根据以下至少一个等式获取单向时延数据,  The network element device according to claim 21, wherein the measurement module is configured to acquire one-way delay data according to at least one of the following equations,
正向单向时延 = RxTimeStampf - TxTimeStampf,  Forward one-way delay = RxTimeStampf - TxTimeStampf,
反向单向时延 = RxTimeb - TxTimeStampb ,  Reverse one-way delay = RxTimeb - TxTimeStampb ,
其中, TxTimeStampf表示所述双向时延 4艮文中的时延测量 4艮文 DMM的 发送时间戳, RxTimeStampf表示所述 DMM的接收时间戳, TxTimeStampb 表示所述双向时延报文中的时延测量应答 DMR的发送时间戳, RxTimeb表 示所述 DMR的接收时刻。  The TxTimeStampf represents the transmission timestamp of the delay measurement in the two-way delay, and the RxTimeStampf represents the reception timestamp of the DMM, and the TxTimeStampb represents the delay measurement response in the two-way delay message. The transmission timestamp of the DMR, and RxTimeb indicates the reception time of the DMR.
23. 根据权利要求 20至 22中任一项所述的网元设备, 其特征在于, 所 述网元设备为上游网元设备, 所述上游网元设备表示连接节点数量少于预定 值的网元设备。  The network element device according to any one of claims 20 to 22, wherein the network element device is an upstream network element device, and the upstream network element device indicates that the number of connected nodes is less than a predetermined value. Meta device.
24. 一种网管设备, 其特征在于, 包括:  24. A network management device, comprising:
实时监控模块,用于从网元设备实时获取所述网元设备存储的网络性能 测量的原始数据, 基于所述原始数据进行实时监控, 其中, 所述原始数据由 所述网元设备进行网络性能测量测得;  a real-time monitoring module, configured to acquire, in real time, the original data of the network performance measurement stored by the network element device from the network element device, and perform real-time monitoring based on the original data, where the original data is performed by the network element device Measured
周期监控模块, 用于按照监控周期从所述网元设备获取所述网元设备存 储的按照统计周期处理后的数据,基于所述按照统计周期处理后的数据进行 周期监控, 其中, 所述按照统计周期处理后的数据由所述网元设备按照统计 周期处理所述原始数据得到。  a period monitoring module, configured to acquire, according to the monitoring period, the data processed by the network element device according to the statistical period, and perform period monitoring according to the data processed according to the statistical period, where the The data processed by the statistical period is obtained by the network element device processing the original data according to a statistical period.
PCT/CN2014/071989 2013-08-06 2014-02-12 Network performance measurement method, network management device and network element device WO2015018197A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310339220.2 2013-08-06
CN201310339220.2A CN103401716B (en) 2013-08-06 2013-08-06 The method of network performance measurement, Network Management Equipment and network element device

Publications (1)

Publication Number Publication Date
WO2015018197A1 true WO2015018197A1 (en) 2015-02-12

Family

ID=49565247

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/071989 WO2015018197A1 (en) 2013-08-06 2014-02-12 Network performance measurement method, network management device and network element device

Country Status (2)

Country Link
CN (1) CN103401716B (en)
WO (1) WO2015018197A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103401716B (en) * 2013-08-06 2016-11-23 华为技术有限公司 The method of network performance measurement, Network Management Equipment and network element device
CN104052623A (en) * 2014-06-25 2014-09-17 成都广达电子股份有限公司 Message processing method and message processing system in Ethernet passive optical network
CN106656643B (en) * 2015-10-29 2019-06-04 国家计算机网络与信息安全管理中心 A kind of segmentation calculates the measurement method of network delay
CN106921533B (en) * 2015-12-25 2020-02-14 清华大学 Method, device and system for measuring network performance
CN107612764B (en) * 2016-07-12 2022-11-01 中兴通讯股份有限公司 Transmission network management data acquisition device and method
CN109889404B (en) * 2019-01-31 2021-06-01 北京英力恒达科技发展有限公司 High-speed data network monitoring method and system based on timestamp

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006097839A1 (en) * 2005-03-18 2006-09-21 Nokia Siemens Networks Oy Network optimisation
CN101212358A (en) * 2006-12-28 2008-07-02 中国移动通信集团公司 Network performance measuring method
CN102301651A (en) * 2009-05-15 2011-12-28 华为技术有限公司 method, device and system for measuring network performance
CN102651702A (en) * 2012-05-09 2012-08-29 华为技术有限公司 Ethernet performance measurement method and equipment
CN103401716A (en) * 2013-08-06 2013-11-20 华为技术有限公司 Network performance measurement method, network management equipment and network element equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006097839A1 (en) * 2005-03-18 2006-09-21 Nokia Siemens Networks Oy Network optimisation
CN101212358A (en) * 2006-12-28 2008-07-02 中国移动通信集团公司 Network performance measuring method
CN102301651A (en) * 2009-05-15 2011-12-28 华为技术有限公司 method, device and system for measuring network performance
CN102651702A (en) * 2012-05-09 2012-08-29 华为技术有限公司 Ethernet performance measurement method and equipment
CN103401716A (en) * 2013-08-06 2013-11-20 华为技术有限公司 Network performance measurement method, network management equipment and network element equipment

Also Published As

Publication number Publication date
CN103401716B (en) 2016-11-23
CN103401716A (en) 2013-11-20

Similar Documents

Publication Publication Date Title
DK2730059T3 (en) Oam open flow driven by controller
US7848337B1 (en) Auto probing endpoints for performance and fault management
WO2015018197A1 (en) Network performance measurement method, network management device and network element device
US7957295B2 (en) Ethernet performance monitoring
JP5840788B2 (en) Method, apparatus and communication network for root cause analysis
Atary et al. Efficient round-trip time monitoring in OpenFlow networks
US7933214B2 (en) Fault detection in a transport network
EP3295612B1 (en) Uplink performance management
WO2015153225A1 (en) Peer-based handoff performance measurement
CN107078928B (en) Sampling packets to measure network performance
CN103416022B (en) Throughput testing approach and system in service in distribution router/exchange board structure
EP3203685B1 (en) Method and apparatus for implementing operations, administration and maintenance function
CN116346634A (en) State sensing information processing method and device of network management and control system and electronic equipment
JP2011239218A (en) Network relay device, statistic information acquisition system, and statistic information acquisition method
EP3602967A1 (en) Network availability measurement aggregation and correlation
Gangwal et al. Panorama: Real-time bird's eye view of an OpenFlow network
Kuri et al. Performance Measurement of IoT Traffic Through SRv6 Network Programming
US20200382399A1 (en) Trace routing in virtual networks
Ren et al. A reactive traffic flow estimation in software defined networks
WO2023280004A1 (en) Network configuration method, device and system
CN110380912B (en) Large-scale network link performance measuring method and system based on SNMP
Sinha et al. Implementation of ICMP based Network Management System for heterogeneous networks
Hedstrom et al. An efficient mechanism for service OAM performance monitoring metric collection for MEF carrier ethernet
CN115987802A (en) Service topology generation method and device based on stream detection
Bhumrawi et al. Impact of Multi-services over Service Provider’s Local Network Measured by Passive and Active Measurements Techniques

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: 14834701

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: 14834701

Country of ref document: EP

Kind code of ref document: A1