WO2007073648A1 - A method and system for detecting the ethernet multicast performance - Google Patents

A method and system for detecting the ethernet multicast performance Download PDF

Info

Publication number
WO2007073648A1
WO2007073648A1 PCT/CN2006/002255 CN2006002255W WO2007073648A1 WO 2007073648 A1 WO2007073648 A1 WO 2007073648A1 CN 2006002255 W CN2006002255 W CN 2006002255W WO 2007073648 A1 WO2007073648 A1 WO 2007073648A1
Authority
WO
WIPO (PCT)
Prior art keywords
frame
multicast
value
measurement
response
Prior art date
Application number
PCT/CN2006/002255
Other languages
French (fr)
Chinese (zh)
Inventor
Hejun Li
Original Assignee
Huawei Technologies Co., Ltd.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co., Ltd. filed Critical Huawei Technologies Co., Ltd.
Publication of WO2007073648A1 publication Critical patent/WO2007073648A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements

Definitions

  • the present invention relates to the field of network communication technologies, and in particular, to a multicast performance detection technology in Ethernet 0AM (operation management and maintenance).
  • Ethernet Ethernet
  • 0AM operation management and maintenance
  • ETH-CC Ethernet Connectivity Check
  • ETH-LB Ethernet Loopback
  • ETH-LT Ethernet Link Tracking
  • ETH-AIS Ethernet Alarm Indication Signal
  • ETH-RDI Ethernet Reverse Defect Indication
  • ETH-LM Ethernet Frame Loss Measurement
  • ETH-DM Ethernet Frame Delay Measurement
  • the ETH-CC and ETH-LB functions can be implemented in multicast mode, but the multicast implementation of the ETH-LT function is difficult, so there is currently no Define the ETH-LT for multicast.
  • the definition and measurement of network performance parameters such as FLR (frame loss rate), FD (frame delay) and FDV (frame delay jitter) are based on unicast point-to-point (P2P). ), performance parameters and measurements for multicast are not yet achievable.
  • Ethernet-based multicast services With the development of Ethernet technology, the advantages of certain types of Ethernet (such as IEEE 802. 3) suitable for multicast, Ethernet-based multicast services will gradually be widely used in Ethernet, for this reason, Measurement of Ethernet multicast performance parameters is required to measure the multicast performance of Ethernet.
  • a performance parameter between multiple points is defined, specifically represented as a vector, and each element of the vector represents a performance parameter between a pair of nodes in a multi-point group.
  • ⁇ FLR (a, b), FLR (c , b ) , FLR (a, c) ⁇ represents the frame loss performance between multiple points of the network
  • the network performance parameters can be expressed as:
  • the performance parameters between corresponding multiple points are based on the definition of unicast performance parameters between multiple two points, and thus, based on the definition detection
  • the network performance parameters also correspond to the corresponding unicast network performance parameters.
  • the multicast path of the P2MP is not necessarily the same as the unicast path of the P2MP.
  • the function of performing unicast communication to complete the multicast communication must be one-way replication of the communication traffic, and the multicast communication. Then, because of the upstream traffic, traffic may only be sent one copy, and traffic is only replicated at the branching point, so that multicast communication will use less network resources. Therefore, the timeliness of multicast communication constructed by directly using multicast communication and unicast communication using multiple unicast paths is also different. This makes a specific ring for P2MP (point-to-multipoint) multicast communication It is not suitable to measure the network communication performance of P2MP multicast communication by using unicast network performance parameters of multiple unicast paths from point to multipoint.
  • An object of the present invention is to provide an implementation method and system for detecting Ethernet multicast performance, which can effectively detect and determine a multicast network performance parameter of a point-to-multipoint network in an Ethernet, and assist the Ethernet 0AM to provide comprehensive network performance. Evaluation.
  • the object of the present invention is achieved by the following technical solutions.
  • the present invention provides an implementation method for detecting network multicast performance, including: - constructing and transmitting a multicast performance measurement request message including identification information at a test initiation point;
  • Each node that receives the multicast performance measurement request message separately sends a performance measurement response message including the identifier information to the test initiation point;
  • the test initiation point receives the performance measurement response packet, and after determining that the identifier information in the performance measurement response packet is consistent with the identifier information included in the measurement request packet, the response measurement packet is measured according to the performance. Implement measurement of multicast performance parameters.
  • the processing of constructing and transmitting the multicast performance measurement request message including the identification information includes:
  • a multicast request frame that uses the multicast media access control MAC address is constructed and sent at the test initiation point, where the request frame carries the multicast performance measurement operation code information and the identifier. information.
  • the method for detecting the multicast performance of the network according to claim 2, wherein the processing of constructing and transmitting the multicast performance measurement request message including the identifier information comprises:
  • a multicast request frame adopting a multicast MAC address is constructed at the test initiation point, and the multicast frame loss measurement request operation code, the forward transmission frame counter value information, and the identifier are included in the request frame.
  • Information ; and / or,
  • the identification information includes:
  • the transmission identifier Transaction ID in the Ethernet 0AM packet The transmission identifier Transaction ID in the Ethernet 0AM packet.
  • the processing of sending the performance measurement response message including the identifier information to the test initiation point includes: When performing frame loss measurement, constructing a multicast response frame in the node receiving the multicast request, including the identification information, the multicast frame loss measurement response operation code, and the forward frame sending counter value information in the request frame in the response frame And receiving the frame counter value information of the receiving node, and transmitting the multicast response frame after delaying the predetermined random delay time; and/or,
  • the processing of measuring the multicast performance parameter includes:
  • the test initiation point receives the performance measurement response message within a predetermined time, and measures the multicast performance parameter according to the identification information in the received message.
  • the method before performing the measurement multicast performance parameter processing, the method further includes:
  • the frame loss value and/or the frame delay value are initialized before testing the multicast request frame.
  • the frame loss value includes: a minimum frame loss value, a maximum frame loss value, and/or a total frame loss value, and a value of a multicast group size;
  • the frame delay value includes: a minimum frame delay value, a maximum frame delay value, and/or a total frame delay value, and a value of a multicast group size.
  • the processing of measuring the multicast performance parameter specifically includes:
  • the test initiation point calculates the frame loss value according to the forward transmission frame counter value and the forward reception frame counter value in the two multicast response frames of the same identification information continuously received within a predetermined time. And updating a minimum frame loss value, a maximum frame loss value, and/or a total frame loss value and a value of the multicast group size according to the frame loss value;
  • the test initiation point is based on the time when the multicast response frame is received, and the forward transmission timestamp information, the forward reception timestamp information, and the reverse transmission in the multicast response frame within a predetermined time.
  • the timestamp information calculates a frame delay value and updates a minimum frame delay value, a maximum frame delay value, and/or a total frame delay value and a value of the multicast group size based on the frame delay value.
  • the processing of calculating a frame loss value and updating a minimum frame loss value, a maximum frame loss value, and/or a total frame loss value and a multicast group size according to the frame loss value includes:
  • the frame loss value is equal to the difference of the forward transmission frame counter values in the two multicast response frames of the same identification information continuously received minus the difference of the t-to-receive frame counter values in the two multicast response frames, and:
  • the total frame loss value is equal to the sum of the current total frame loss value and the frame loss value, and the value of the multicast group size needs to be increased by one.
  • the processing of calculating the frame delay value and updating the minimum frame delay value, the maximum frame delay value, and/or the total frame delay value and the value of the multicast group size according to the frame delay value includes - the frame delay value is equal to the receiving multicast
  • the frame delay value is taken as the minimum frame delay value.
  • the frame delay value is taken as the maximum frame delay value; and/or,
  • the total frame delay value is equal to the sum of the current total frame delay value and the frame delay value, and the value of the multicast group size is incremented by one.
  • the processing for determining that the identifier information in the performance measurement response packet is consistent with the identifier information included in the measurement request packet includes:
  • the identifier information in the performance measurement response packet is consistent with the saved valid identifier information, determining that the identifier information in the performance measurement response packet is consistent with the identifier information included in the measurement request packet.
  • the invention also provides a system for detecting network multicast performance, which mainly comprises:
  • An identifier packet sending processing unit is configured to be configured in a test initiation point, configured to construct and send a multicast performance measurement request packet that includes the identifier information;
  • the identifier message response processing unit is configured to send, in each node that receives the multicast performance measurement message, a performance measurement response message that includes the identifier information to the test initiation point, respectively;
  • a determining processing unit configured to be in a test initiation point, configured to determine, after receiving the multicast response message, Whether the identifier information in the received multicast response packet is consistent with the saved valid identifier information, and when they are consistent, triggering the multicast performance detecting unit;
  • the multicast performance detecting unit is configured to be used in the test initiation point, and is configured to implement measurement of the multicast performance parameter according to the received performance measurement response message.
  • the identifier packet sending processing unit may further include:
  • a frame loss measurement identification message transmission processing unit configured to construct a multicast request frame using a multicast MAC address at the test initiation point, and include a multicast frame loss measurement request operation code, forward direction in the request frame Sending frame counter value information and identification information;
  • the frame delay measurement identifier sending message processing unit is configured to construct a multicast request frame using a multicast MAC address at the test originating point, and include a multicast frame delay measurement request operation code and a forward sending in the request frame. Timestamp information and identification information.
  • the identifier message response processing unit includes: a frame loss measurement identifier message response processing unit, configured to construct a multicast response frame in the node that receives the multicast request, and include the identifier information, the multicast frame in the response frame Losing the measurement response operation code, the forward transmission frame counter value information in the request frame, and the forward receiving frame counter value information of the receiving node, and transmitting the multicast response frame after delaying the predetermined random delay time;
  • the frame delay measurement identifier packet response processing unit is configured to construct a multicast response frame in the node that receives the multicast request, and include the identifier information, the multicast frame delay measurement response operation code, and the front of the request frame in the response frame. Transmitting timestamp information and transmitting; or, for constructing a multicast response frame in a node receiving the multicast request, including the identification information, the multicast frame delay measurement response operation code, and the forward direction in the request frame in the response frame
  • the timestamp information is sent and the forward receiving timestamp information of the receiving node is sent, and after the predetermined random delay time is delayed, the backward sending timestamp of the receiving node is written into the multicast response frame and then sent.
  • the multicast performance detecting unit specifically includes:
  • a frame loss measurement processing unit configured in the test initiation point, for forward transmission frame counter value and forward reception frame counter value in two multicast response frames according to the same identification information continuously received within a predetermined time Calculating a frame loss value, and updating a minimum frame loss value, a maximum frame loss value, and/or a total frame loss value and a value of the multicast group size according to the frame loss value;
  • a frame delay measurement processing unit is disposed in the test initiation point, configured to, according to a time when the multicast response frame is received, and forward transmit timestamp information, forward receive timestamp in the multicast response frame, within a predetermined time
  • the information and the reverse transmission inter-post stamp information calculate a frame delay value, and update the minimum frame delay value, the maximum frame delay value, and/or the total frame delay value and the value of the multicast group size according to the frame delay value.
  • the present invention defines Ethernet based on a multicast path.
  • Multicast performance parameters in 0AM and corresponding multi-cast performance parameter detection methods are provided.
  • the present invention can be implemented based on the 0AM frame format defined by Y. 17ethoam, and the 0AM frame format defined by Y. 17ethoam is not changed much, and only four message operation codes need to be added.
  • For the frame delay measurement as long as the response frame is brought back The timestamp is sent to the receiving timestamp and the backwards, and the difference between the two includes the random delay made by the receiving point.
  • the processing flow at the transmitting point and the receiving point is relatively simple, and the calculation method adopted is a calculation method based on the original unicast performance measurement.
  • Figure lb is a schematic diagram of a multicast message transmission process
  • FIG. 2 is a schematic diagram of a general implementation process of the method according to the present invention.
  • Figure 3 is a specific implementation process of the method of the present invention.
  • FIG. 5 is a schematic diagram of a specific implementation structure of the system according to the present invention.
  • Mode for Carrying Out the Invention The core of the present invention is to define P2MP multicast performance parameters in Ethernet based on a multicast path, and provide P2MP multicast performance measurement support in Ethernet 0AM, so that it can be in the 0AM plane from the frame like the unicast performance parameter. Loss rate, frame delay, and frame delay variation evaluate Ethernet P2MP multicast performance.
  • specific implementations of the present invention are described below.
  • the P2MP multicast performance parameter is first defined in the specific implementation process, so that the corresponding performance parameter can be measured according to the defined content in the subsequent process; Defining P2MP multicast performance parameters is also implemented in terms of frame loss, frame delay, and frame delay variation.
  • the P2MP multicast performance parameter is based on the performance parameter of the multicast path, that is, the destination address of the corresponding 0AM must be a multicast address.
  • the size Z of the multicast group needs to be considered, and at the same time, the measurement needs to be considered. Waiting time T.
  • the corresponding performance parameters of each multicast path include: Max (maximum), Min (minimum), and Average (average) values of each performance parameter. In the actual measurement of each performance parameter, the corresponding Max and Min can be measured as needed. And any one or more of the effects.
  • the two-way (bidirectional) method can usually be used, that is, the calculation may include the reverse direction measurement, but this has no significant impact on the multicast performance evaluation.
  • the P2MP multicast performance parameter defined in the present invention may specifically be -
  • P2MP-FLR defined as (Max, Min, Average) z , ⁇ of each P2MP multicast path FLR;
  • P2MP-FD defined as (Max, Min, Average) z , ⁇ of each multicast path FD of P2MP
  • P2MP-FDV defined as (Max, Min, Average) z . ⁇ of P2MP multicast paths FDV;
  • the subscript ⁇ indicates the multicast group size, which specifically represents real-time measurement.
  • the multicast group size that is, the number of multicast paths, can be assumed in the specific implementation process of the present invention.
  • the multicast group size is unpredictable. Therefore, for the two-way mode measurement, the measurement origination point Set the waiting time experience value as the waiting time T of the measurement. If the reply message arrives within the time, the measurement is valid. If the measurement response message is still received after the waiting time is exceeded, an alarm is generated, specifically 0AM.
  • the Transaction ID (Transmission ID) in the text is implemented as identification information.
  • the present invention may also set other predetermined conditions as measurement waiting conditions (such as receiving a predetermined message, or a predetermined event occurs, etc.), before the measurement waiting condition is satisfied, The received reply message is considered valid. After the measurement wait condition is met, an alert can be sent for the received reply message.
  • measurement waiting conditions such as receiving a predetermined message, or a predetermined event occurs, etc.
  • the 0AM function is implemented in hardware, the calculation of Average may require division, which is very difficult for hardware. Therefore, it can be expressed by ⁇ Max, Min, Total (sum of measured values) ⁇ z . ⁇ , where Total represents each The sum of the measurement values of the multicast path performance parameters, which is basically the same as the meaning of the previously described representation. At this point, Total's storage space must be large enough, usually requiring 64bit. Based on the definition of each multicast performance parameter, the corresponding multicast performance parameter measurement process is as follows: First, in the latest Y. 17 ethoam Draft, Nov., 2005, the defined Ethernet 0AM common frame header format is shown in Table 1. : 1
  • a frame loss measurement and a frame delay measurement operation code are defined, as follows:
  • the embodiment of the present invention sets the operation code of the multicast performance measurement, as follows:
  • P2MP-LMM P2MP multicast frame loss measurement request operation code
  • P2MP-LMR P2MP multicast frame loss measurement response opcode
  • P2MP-DMM P2MP multicast frame delay measurement request operation code
  • P2MP-DMR P2MP multicast frame delay measurement response opcode.
  • the unicast L ⁇ frame must contain the TxFCf field, that is, the forward transmit frame counter value, and the P2MP-L frame request is the same;
  • the unicast LMR frame must contain the TxFCf, RxFCf, and TxFCb fields, that is, the forward transmit frame counter value, the forward receive frame counter value, and the backward frame transmit counter value, where the TxFCf field is copied from the U4M frame, P2MP-LMR
  • TxFCf the forward transmit frame counter value
  • RxFCfo the forward receive frame counter value
  • backward frame transmit counter value where the TxFCf field is copied from the U4M frame, P2MP-LMR
  • the frame requirements are the same, but in reality only TxFCf, RxFCfo are used.
  • the unicast DMM frame must contain the forward transmission timestamp TxTiraeStampf, and the P2MP-DMM frame requirement is the same; the unicast DMR frame must contain the forward transmission timestamp TxTimeStampf, which is copied from the DMM frame.
  • the DMR also needs a forward receive timestamp RxTimeStampf and a backward transmit timestamp TxTimeStampb, and the difference between TxTimeStampb and RxTimeStarapf must contain the random delay made by the receiving point.
  • RxTimeStampf a forward receive timestamp
  • TxTimeStampb a backward transmit timestamp
  • the difference between TxTimeStampb and RxTimeStarapf must contain the random delay made by the receiving point.
  • Multi-point reflow is too large.
  • the measurement initiation point is required to send measurement request messages at a very low rate.
  • Transaction ID since each transmission message is assigned a Transaction ID, after the message is sent, Transaction The ID is reserved for a period of time. It is used to associate the reply packet.
  • the retention time is the same as the packet sending rate. The retention time is configured according to experience. For example, the default is 5s.
  • Multi-point reflow is too concentrated, which can be overcome by delaying the receiving point by a random time (ie, random delay) before the response.
  • the random delay has a certain range, and the range is also configurable. For example, the default is Ls. Whether measuring frame loss or frame delay, in general, the same process is followed for multicast measurements. The corresponding process is shown in Figure 2:
  • the sending end sends a multicast measurement request frame, including a measurement operation code, a message identification information, and a parameter value of a sending time of the transmitting end, such as a forward sending frame count value required for measuring a frame loss, and a measurement frame delay required.
  • a timestamp to;
  • the receiving end After receiving the multicast measurement request frame, the receiving end performs a reply, including measuring the operation reply code, the message identification information, and the parameter value of the receiving end receiving time and the parameter value of the reply sending time, for example, before measuring the frame loss required.
  • Receives the forward received frame count value required for reception measures the forward receive timestamp and backward transmit timestamp required for the frame delay, and also copies the received parameter value into the reply message, such as the measurement frame. Loss of the required forward transmission frame count value, measuring the forward transmission timestamp required for the frame delay;
  • the sender first verifies the validity of the message, mainly to verify whether the message ID is valid, and then extracts the parameter value in the message, calculates the parameter value on the path, and finally uses the path.
  • the parameter value, the calculation update multicast performance parameter includes: a specific performance parameter value, a sum of performance parameter values of the multicast group, and a multicast group size, a maximum 'value and/or a minimum value, where the performance parameter value Includes frame loss values and frame delay values.
  • P2MP Multicast Frame Loss Measurement P2MP-LM
  • the sending interval for transmitting measurement packets at the transmitting end is the waiting time for measurement! 1 , that is, the local Transaction ID retention time, when the message exceeds the time T after sending the message, the saved Transaction ID is deleted, and then, if If the frame with the Transaction ID is received, it is considered invalid and an alarm can be issued.
  • the receiving point receives a random delay range after receiving the multicast measurement frame, that is, the random delay is R;
  • the measurement origination point sends the constructed request frame, and starts the Transaction ID retention timer.
  • the timeout is the measured waiting time T, and the 2, Total Min, and Max values are cleared.
  • the source MAC address is used as the destination address
  • the local MAC address is used as the source.
  • the response opcode is P2MP-LMR, copy the Transaction ID and TxFCf into the response frame, and fill in the local forward receive frame counter value into the RxFCf field of the response frame. 'Other fields don't care;
  • the measurement initiation point is based on two P2MP-LMR frames to calculate the frame loss on a certain path.
  • the overflow needs to be considered; suppose the counter value of the previous response frame is TxFCfl, RxFCfl
  • the current received response frame counter value is TxFCf2, RxFCf2, and the corresponding processing flow is as shown in FIG. 3, specifically - Step 31: determining the received response frame according to the Transaction ID value retained in the measurement initiation point.
  • Step 33 Whether the Transaction ID is consistent and whether the SPTransaction ID is valid. If yes, go to Step 33, No. lj, and go to Step 32 to generate an alarm.
  • Step 33 Calculate the frame loss value FL is (TxFCf2—TxFCfl ) — (RxFCf2-RxFCf 1 );
  • Step 34 Calculate the total frame loss value Total for the current Total value plus the FL value, and increase the Z value by one;
  • the response frame of the same Transaction ID that is returned is received for the duration of T on the measurement initiation point, and the above processing is performed, and the frame loss is obtained when the time T is reached.
  • the value of the multicast performance parameter is the value of the multicast performance parameter.
  • P2MP multicast frame delay measurement P2MP DM
  • the sending interval of the measurement packet sent by the transmitting end is the measurement waiting time, that is, the local Transact ion ID retention time.
  • the packet exceeds the time T after the packet is sent, the saved Transaction ID is deleted, and then, if the packet is received again, The frame of the Transaction ID is considered illegal and can be warned;
  • the random delay range is assumed to be R;
  • the timeout is the waiting time T of the measurement, and the values of ⁇ , Total s Min, and Max are cleared.
  • the source MAC address is used as the destination address
  • the local MAC address is used as the source.
  • the response opcode is P2MP-DMR, copy the Transaction ID and TxTimeStampf into the response frame, and fill the local forward receive timestamp into the RxTimeStampf of the response frame;
  • the measurement initiation point sets the reception time to RxTimeb, and the corresponding processing flow is as shown in FIG. 4, which specifically includes:
  • Step 41 Determine whether the Transaction ID in the received response frame is consistent according to the value of the Transaction ID that is reserved in the measurement initiation point, that is, whether the Transaction ID is valid, and if yes, execute Step 43, and if no, perform Step 42 to generate an alarm. ;
  • Step 43 Calculate the frame delay time FD is RxTimeb - TxTimeStampf - ( RxTimeStampf - TxTimeStampb );
  • Step 44 Calculate the total frame delay time Total is the current Total value plus the FD value, and increase the Z value by 1;
  • the response frame of the same Transaction ID that is returned is received for the duration of T at the measurement initiation point, and the above processing is performed, and the multicast performance of the frame delay is obtained after the time T is reached.
  • the present invention also provides a system for detecting network multicast performance.
  • the specific implementation structure can be as shown in FIG. 5, that is, the corresponding specific embodiment may include the following processing units:
  • an identifier packet sending processing unit configured in the test originating point, configured to construct and send a multicast performance measurement request message including the identifier information
  • the identifier packet sending processing unit includes: a frame loss measurement identifier packet sending processing unit, configured to construct a multicast request frame using the broadcast MAC address at the test originating point, and include in the request frame Multicast frame loss measurement request operation code, forward transmission frame counter value information, and identification information;
  • the frame delay measurement identifier sending message processing unit is configured to construct a multicast request frame using the multicast MAC address at the test origin, and include the multicast frame delay measurement request operation code, the forward direction in the request frame. Send timestamp information and identification information. '
  • an identifier message response processing unit configured to send, in each node that receives the multicast performance measurement message, a performance measurement response message including the identifier information to the test initiation point;
  • the identifier message response processing unit includes:
  • the frame loss measurement identification message response processing unit is configured to construct a multicast response frame in the node that receives the multicast request, and include the identifier information, the multicast frame loss measurement response operation code, and the front of the request frame in the response frame. Sending frame counter value information and forward receiving frame counter value information of the receiving node, and transmitting the multicast response frame after delaying a predetermined random delay time;
  • the frame delay measurement identifier packet response processing unit is configured to construct a multicast response frame in the node that receives the multicast request, and include the identifier information, the multicast frame delay measurement response operation code, and the front of the request frame in the response frame.
  • Send timestamp information and receive The node forwardly receives the timestamp information, and after delaying the predetermined random delay time, writes the backward transmission timestamp of the receiving node into the multicast response frame, and then transmits the response frame.
  • the unit may be disposed in the test initiating point, and configured to: after receiving the multicast response message, determine the identifier information in the received multicast response message according to the saved valid identification information Whether the response message corresponding to the multicast performance measurement request message sent by the local end determines whether the identification information in the multicast response message is consistent with the locally saved valid identification information, and if so, triggers the multicast performance.
  • the detection unit otherwise, does not trigger the multicast performance detection unit.
  • the multicast performance detecting unit is configured to be used in the test initiation point, and is configured to perform measurement of the multicast performance parameter by using the currently received performance measurement response message under the trigger of the determining processing unit;
  • the multicast performance detecting unit specifically includes:
  • a frame loss measurement processing unit configured in the test initiation point, for forward transmission frame counter value and forward reception frame counter value in two multicast response frames according to the same identification information continuously received within a predetermined time Calculating a frame loss value, and updating a minimum frame loss value, a maximum frame loss value, and/or a total frame loss value and a value of a multicast group size according to the frame loss value; 'and/or,
  • a frame delay measurement processing unit is disposed in the test initiation point, configured to, according to a time when the multicast response frame is received, and forward transmit timestamp information, forward receive timestamp in the multicast response frame, within a predetermined time
  • the information and the reverse transmission timestamp information calculate a frame delay value, and update a minimum frame delay value, a maximum frame delay value, and/or a total frame delay value and a value of the multicast group size according to the frame delay value.
  • the implementation method for defining the multicast performance parameter in the Ethernet 0AM based on the multicast path and then performing the Ethernet multicast performance parameter detection has little change to the 0AM frame format defined by Y. 17 ethoam. It is only required to add 4 message codes.
  • the frame delay measurement as long as the response frame brings back the forward reception time stamp and the backward transmission time stamp, the difference between the two includes the random delay made by the receiving point.
  • the processing flow of the sending point and the receiving point is also not complicated, and is based on the calculation method of the original unicast performance measurement. Therefore, the P2MP multicast performance parameter measurement can be well implemented in Ethernet 0AM by using the present invention.

Landscapes

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

Abstract

A method and system for detecting the network multicast performance. The invention mainly includes: first, constructing and sending the request message of the measure multicast performance containing the ID information at the test originating point; and then sending the response message of the measure multicast performance containing said ID information to the test originating point respectively on the respective node receiving said multicast performance measure message; finally, within the predetermined time, the test originating point receives said performance measure response message, and measures the multicast performance parameter according to the ID information in the receiving message. The present invention modifies lesser for OAM frame format defined by Y.17ethoam, and during implementing the invention, the process flow of the sending point and receiving point is relatively simple, and calculating the multicast performance measure based on the calculating method of the existing broadcast performance measure. Therefore, the present can well implement P2MP multicast performance parameter measure in ETH-OAM, and thus assisting the OAM to provide the network performance evaluation more overall.

Description

检测以太网多播性能的实现方法及系统 技术领域 本发明涉及网络通信技术领域, 尤其涉及一种以太网 0AM (操作管理和维护) 中的 多播性能检测技术。 发明背景 随着网络通信技术的发展, Ethernet (以太网) 技术凭借其高性价比的优势逐渐 由局域网向城域网发展, 其端口速率也从 10M发展到 10G。 在以太网向城域网发展的过程 中, 要求 Ethernet技术必须满足电信级网络要求。 其中, 0AM便是电信级网络对各种技 术的基本要求。 相应的 0AM主要包括网络故障管理机制和网络性能管理机制。  TECHNICAL FIELD The present invention relates to the field of network communication technologies, and in particular, to a multicast performance detection technology in Ethernet 0AM (operation management and maintenance). BACKGROUND OF THE INVENTION With the development of network communication technologies, Ethernet (Ethernet) technology has gradually developed from a local area network to a metropolitan area network by virtue of its high cost performance, and its port rate has also been developed from 10M to 10G. In the process of Ethernet development to the metropolitan area network, Ethernet technology is required to meet the requirements of carrier-class networks. Among them, 0AM is the basic requirement of various technologies for carrier-class networks. The corresponding 0AM mainly includes network fault management mechanism and network performance management mechanism.
目前, 针对 ETH网络的故障 /性能管理机制包括- 基于 ETH-CC (以太网连接性检查) 连续性检测功能, 用于检测 ΕΊΉ ΜΕΡ (以太网维 ^域端点) 之间连通性;  Currently, fault/performance management mechanisms for ETH networks include - based on ETH-CC (Ethernet Connectivity Check) continuity detection, which is used to detect connectivity between ΕΊΉ (Ethernet dimension domain endpoints);
基于 ETH- LB (以太网环回) 环回功能, 用于 MEP (维护域端点) 和 MIP (维护域中 间节点) /MEP之间连通性检测, 以及性能参数中的帧延迟和帧延迟抖动测量;  Based on ETH-LB (Ethernet Loopback) loopback function, used for connectivity detection between MEP (Maintenance Domain Endpoint) and MIP (Maintenance Domain Intermediate Node) / MEP, and frame delay and frame delay jitter measurement in performance parameters ;
ETH-LT (以太网链路跟踪) 功能, 用于故障定位;  ETH-LT (Ethernet Link Tracking) function for fault location;
基于 ETH-AIS (以太网告警指示信号)和 ETH- RDI (以太网反向缺陷指示) 的告警 指示功能, 用于故障告警前向 /反向抑制;  Alarm indication function based on ETH-AIS (Ethernet Alarm Indication Signal) and ETH-RDI (Ethernet Reverse Defect Indication) for fault alarm forward/reverse suppression;
ETH-LM (以太网帧丢失测量) 功能, 用于测量性能参数中的帧丢失率;  ETH-LM (Ethernet Frame Loss Measurement) function, used to measure the frame loss rate in performance parameters;
ETH-DM (以太网帧延迟测量) 功能, 用于测量性能参数中的延迟。  ETH-DM (Ethernet Frame Delay Measurement) function for measuring delays in performance parameters.
在 Y. 17ethoam (Y. 17以太网 0AM) 故障管理功能中, ETH- CC和 ETH- LB功能可以以多 播方式实现,但 ETH- LT功能的多播实现难度较大, 因而, 目前还没有定义多播的 ETH- LT。  In the Y. 17ethoam (Y. 17 Ethernet 0AM) fault management function, the ETH-CC and ETH-LB functions can be implemented in multicast mode, but the multicast implementation of the ETH-LT function is difficult, so there is currently no Define the ETH-LT for multicast.
而且, 在 Y. ethoam性能管理功能中, FLR (帧丢失率) 、 FD (帧延迟)和 FDV (帧 延迟抖动) 等网络性能参数的定义和测量都是基于单播点对点 (Point to Point, P2P) 的, 对于多播的性能参数和测量尚无法实现。  Moreover, in the Y. ethoam performance management function, the definition and measurement of network performance parameters such as FLR (frame loss rate), FD (frame delay) and FDV (frame delay jitter) are based on unicast point-to-point (P2P). ), performance parameters and measurements for multicast are not yet achievable.
随着以太网技术的发展, 某些类型的以太网 (如 IEEE 802. 3 ) 所固有的适合组播 的优点, 使得基于以太网的多播业务将逐渐广泛应用于以太网中, 为此, 需要进行以太 网组播性能参数的测量以衡量以太网的多播性能。  With the development of Ethernet technology, the advantages of certain types of Ethernet (such as IEEE 802. 3) suitable for multicast, Ethernet-based multicast services will gradually be widely used in Ethernet, for this reason, Measurement of Ethernet multicast performance parameters is required to measure the multicast performance of Ethernet.
在 MEF10- Ethernet Service Attribute (城域以太网论坛 10-以太网业务属性) 的 Draft 4 (草案 4) 中, 定义了多点之间的性能参数, 具体表示为一个向量, 向量的每一 个元素表示多点组中某一对节点之间的性能参数。 In the MEF10-Ethernet Service Attribute (Metro Ethernet Forum 10 - Ethernet Service Attribute) In Draft 4, a performance parameter between multiple points is defined, specifically represented as a vector, and each element of the vector represents a performance parameter between a pair of nodes in a multi-point group.
目前, 还有一种采用多条单播路径的性能参数的集合表示多点之间的性能参数的 实现方法。  At present, there is also a method for implementing performance parameters between multiple points by using a set of performance parameters of multiple unicast paths.
例如, 假设网络中有 3个节点, a、 b和 c, 则在多点网络中的多点之间的网络性能 参数以向量表示为:  For example, assuming that there are three nodes in the network, a, b, and c, the network performance parameters between multiple points in a multipoint network are represented by vectors:
( 1 ) {FLR (a, b ) , FLR (c , b ) , FLR (a, c) } 表示了该网络的多点之间 的帧丢失性能;  (1) {FLR (a, b), FLR (c , b ) , FLR (a, c) } represents the frame loss performance between multiple points of the network;
(2) {FD (a, b) , FD (c, b) , FD (a, c) }表示了该网络的多点之间的帧 延迟性能;  (2) {FD (a, b), FD (c, b), FD (a, c) } represent the frame delay performance between multiple points of the network;
(3) { FDV (a, b) , FDV ( c, b ) , FDV (a, c ) }表示了该网络的多点之间 的帧延迟变化性能。  (3) { FDV (a, b) , FDV ( c, b ) , FDV (a, c ) } represent the performance of frame delay variation between multiple points of the network.
当然, 当网络中节点很多时, 向量的元素也将大大增加, 此时, 不可能保存所有 的元素, 作为 0AM, 只需要其中的最大值、 最小值和平均值即可, 即, 因此, 对应的网 络性能参数可以表示为:  Of course, when there are many nodes in the network, the elements of the vector will also be greatly increased. At this time, it is impossible to save all the elements. As 0AM, only the maximum value, the minimum value, and the average value are needed, that is, correspondingly, The network performance parameters can be expressed as:
( 1 ) FLR {Max (最大值) , Min (最小值) , Average (平均值) } , 多点之间 帧丢失参数;  (1) FLR {Max (maximum), Min (minimum), Average (average) }, frame loss parameters between multiple points;
(2) FD (Max, Min, Average) , 多点之间帧延迟参数; ' (2) FD (Max, Min, Average), frame delay parameter between multiple points; '
(3) FDV (Max, Min, Average) , 多点之间帧变化参数。 (3) FDV (Max, Min, Average), frame change parameter between multiple points.
总之, 目前已经存在多点之间网络性能参数定义, 但是, 相应的多点之间的性能 参数是基于多条两点之间的单播性能参数所作出的定义, 因而, 基于该定义检测获得的 网络性能参数也就对应着相应的单播网络性能参数。  In summary, there are already definitions of network performance parameters between multiple points, but the performance parameters between corresponding multiple points are based on the definition of unicast performance parameters between multiple two points, and thus, based on the definition detection The network performance parameters also correspond to the corresponding unicast network performance parameters.
但是, 由于在 0AM平面上收集所有两点之间的网络性能参数值是非常困难的,因此, 在 0AM平面上其实根本无法检测获得上述基于单点之间定义的多点之间的网络性能参 数。  However, since it is very difficult to collect the network performance parameter values between all two points on the 0AM plane, it is impossible to detect the network performance parameters between the multiple points defined above based on the single point on the 0AM plane. .
另外, 如图 1所示, 由于 P2MP的组播路径与其各条单播路径并不一定相同; 而且, 单播通信要完成组播通信的功能必须一条一条的轮流复制通信流量, 而组播通信则由于 在组播上游, 流量可能只发送一份, 仅仅在分叉点上才复制流量, 使得组播通信相对来 说会利用更少的网络资源。 因此, 直接使用组播通信和利用多条单播路径的单播通信构 造出来的组播通信时效性也不一样。 这就使得对于 P2MP (点到多点)组播通信的特定环 境,根本不适合采用点到多点的多条单播路径的单播网络性能参数去衡量 P2MP组播通信 的网络通信性能。 In addition, as shown in FIG. 1 , the multicast path of the P2MP is not necessarily the same as the unicast path of the P2MP. Moreover, the function of performing unicast communication to complete the multicast communication must be one-way replication of the communication traffic, and the multicast communication. Then, because of the upstream traffic, traffic may only be sent one copy, and traffic is only replicated at the branching point, so that multicast communication will use less network resources. Therefore, the timeliness of multicast communication constructed by directly using multicast communication and unicast communication using multiple unicast paths is also different. This makes a specific ring for P2MP (point-to-multipoint) multicast communication It is not suitable to measure the network communication performance of P2MP multicast communication by using unicast network performance parameters of multiple unicast paths from point to multipoint.
因此, P2MP多播 (即组播)通信的性能参数的定义和测量必须基于多播路径实现。 但是, 目前还没有一种可行的基于多播的网络性能参数检测方法。 发明内容 本发明的目的是提供一种检测以太网多播性能的实现方法及系统,从而可以有效检 测确定以太网中点到多点的多播网络性能参数, 辅助以太网 0AM提供全面的网络性能评 估。  Therefore, the definition and measurement of performance parameters for P2MP multicast (ie, multicast) communication must be based on a multicast path. However, there is currently no feasible multicast-based network performance parameter detection method. SUMMARY OF THE INVENTION An object of the present invention is to provide an implementation method and system for detecting Ethernet multicast performance, which can effectively detect and determine a multicast network performance parameter of a point-to-multipoint network in an Ethernet, and assist the Ethernet 0AM to provide comprehensive network performance. Evaluation.
本发明的目的是通过以下技术方案实现的- 本发明提供了一种检测网络多播性能的实现方法, 包括. - 在测试发起点构造并发送包含标识信息的多播性能测量请求报文;  The object of the present invention is achieved by the following technical solutions. The present invention provides an implementation method for detecting network multicast performance, including: - constructing and transmitting a multicast performance measurement request message including identification information at a test initiation point;
接收所述多播性能测量请求报文的各节点分别向测试发起点发送包含所述标识信 息的性能测量响应报文;  Each node that receives the multicast performance measurement request message separately sends a performance measurement response message including the identifier information to the test initiation point;
测试发起点接收性能测量响应报文,并在确定所述的性能测量响应报文中的标识信 息与所述的测量请求报文中包含的标识信息一致后,根据所述的性能测量响应报文实现 多播性能参数的测量。  The test initiation point receives the performance measurement response packet, and after determining that the identifier information in the performance measurement response packet is consistent with the identifier information included in the measurement request packet, the response measurement packet is measured according to the performance. Implement measurement of multicast performance parameters.
所述的构造并发送包含标识信息的多播性能测量请求报文的处理包括:  The processing of constructing and transmitting the multicast performance measurement request message including the identification information includes:
当实现以太网操作管理和维护 0AM时, 在测试发起点构造并发送釆用多播媒体接入 控制 MAC地址的多播请求帧, 所述请求帧中承载着多播性能测量操作码信息及标识信息。  When the Ethernet operation management and maintenance 0AM is implemented, a multicast request frame that uses the multicast media access control MAC address is constructed and sent at the test initiation point, where the request frame carries the multicast performance measurement operation code information and the identifier. information.
3、 根据权利要求 2所述的检测网络多播性能的实现方法, 其特征在于, 所述的构造 并发送包含标识信息的多播性能测量请求报文的处理具体包括:  The method for detecting the multicast performance of the network according to claim 2, wherein the processing of constructing and transmitting the multicast performance measurement request message including the identifier information comprises:
当进行帧丢失测量时, 在测试发起点构建采用多播 MAC地址的多播请求帧, 并在所 述的请求帧中包含多播帧丢失测量请求操作码、 前向发送帧计数器值信息及标识信息; 和 /或,  When the frame loss measurement is performed, a multicast request frame adopting a multicast MAC address is constructed at the test initiation point, and the multicast frame loss measurement request operation code, the forward transmission frame counter value information, and the identifier are included in the request frame. Information; and / or,
当进行帧延迟测量时, 在测试发起点构建采用多播 MAC地址的多播请求帧, 并在所 述的请求帧中包含多播帧延迟测量请求操作码、 前向发送时间戳信息及标识信息。  When performing frame delay measurement, constructing a multicast request frame using a multicast MAC address at the test initiation point, and including a multicast frame delay measurement request operation code, forward transmission timestamp information, and identification information in the request frame. .
所述的标识信息包括:  The identification information includes:
以太网 0AM报文中的传输标识 Transaction ID。  The transmission identifier Transaction ID in the Ethernet 0AM packet.
所述的向测试发起点发送包含所述标识信息的性能测量响应报文的处理包括: 当进行帧丢失测量时, 在接收多播请求的节点构建多播响应帧, 在响应帧中包含所 述标识信息、 多播帧丢失测量响应操作码、 请求帧中的前向 送帧计数器值信息及接收 节点的前向接收帧计数器值信息, 并在延迟预定的随机延迟时间后发送该多播响应帧; 和 /或, The processing of sending the performance measurement response message including the identifier information to the test initiation point includes: When performing frame loss measurement, constructing a multicast response frame in the node receiving the multicast request, including the identification information, the multicast frame loss measurement response operation code, and the forward frame sending counter value information in the request frame in the response frame And receiving the frame counter value information of the receiving node, and transmitting the multicast response frame after delaying the predetermined random delay time; and/or,
当进行帧延迟测量时, 在接收多播请求的节点构建并发送多播响应帧, 在所述的多 播响应帧中包含所述标识信息、多播帧延迟测量响应操作码和请求帧中的前向发送时间 戳信息; 或者, 当进行帧延迟测量时, 在接收多播请求的节点构建多播响应帧, 在响应 帧中包含所述标识信息、 多播帧延迟测量响应操作码、 请求帧中的前向发送时间戳信息 及接收节点的前向接收时间戳信息, 并在延迟预定的随机延迟时间后, 将接收节点的后 向发送时间戳写入多播响应帧中, 并发送。  When performing frame delay measurement, constructing and transmitting a multicast response frame in a node receiving the multicast request, including the identification information, the multicast frame delay measurement response operation code, and the request frame in the multicast response frame Sending timestamp information forwardly; or, when performing frame delay measurement, constructing a multicast response frame in a node receiving the multicast request, including the identification information, the multicast frame delay measurement response operation code, and the request frame in the response frame The forward sending timestamp information and the forward receiving timestamp information of the receiving node, and delaying the predetermined random delay time, writing the backward sending timestamp of the receiving node into the multicast response frame, and transmitting.
所述的测量多播性能参数的处理包括:  The processing of measuring the multicast performance parameter includes:
在预定的时间内, 测试发起点接收所述的性能测量响应报文, 并根据接收报文中的 标识信息测量多播性能参数。  The test initiation point receives the performance measurement response message within a predetermined time, and measures the multicast performance parameter according to the identification information in the received message.
本发明中, 在执行所述的测量多播性能参数处理之前还包括:  In the present invention, before performing the measurement multicast performance parameter processing, the method further includes:
在测试多播请求帧之前, 初始化帧丢失值和 /或帧延迟值。  The frame loss value and/or the frame delay value are initialized before testing the multicast request frame.
所述的帧丢失值包括: 最小帧丢失值、 最大帧丢失值和 /或总的帧丢失值, 以及组 播组大小的值; ―  The frame loss value includes: a minimum frame loss value, a maximum frame loss value, and/or a total frame loss value, and a value of a multicast group size;
和 /或,  and / or,
所述的帧延迟值包括: 最小帧延迟值、 最大帧延迟值和 /或总的帧延迟值, 以及组 播组大小的值。  The frame delay value includes: a minimum frame delay value, a maximum frame delay value, and/or a total frame delay value, and a value of a multicast group size.
所述的测量多播性能参数的处理具体包括:  The processing of measuring the multicast performance parameter specifically includes:
当进行帧丢失测量时, 测试发起点在预定的时间内, 根据连续接收的同一标识信息 的两个多播响应帧中的前向发送帧计数器值和前向接收帧计数器值计算帧丢失值, 并根 据该帧丢失值更新最小帧丢失值、 最大帧丢失值和 /或总的帧丢失值以及组播组大小的 值;  When performing the frame loss measurement, the test initiation point calculates the frame loss value according to the forward transmission frame counter value and the forward reception frame counter value in the two multicast response frames of the same identification information continuously received within a predetermined time. And updating a minimum frame loss value, a maximum frame loss value, and/or a total frame loss value and a value of the multicast group size according to the frame loss value;
和 /或,  and / or,
当进行帧延迟测量时,测试发起点在预定的时间内,根据接收到多播响应帧的时间, 以及多播响应帧中的前向发送时间戳信息、前向接收时间戳信息和反向发送时间戳信息 计算帧延迟值, 并根据该帧延迟值更新最小帧延迟值、 最大帧延迟值和 /或总的帧延迟 值以及组播组大小的值。 所述的计算帧丢失值, 并根据该帧丢失值更新最小帧丢失值、 最大帧丢失值和 /或 总的帧丢失值以及组播组大小的值的处理包括: When performing frame delay measurement, the test initiation point is based on the time when the multicast response frame is received, and the forward transmission timestamp information, the forward reception timestamp information, and the reverse transmission in the multicast response frame within a predetermined time. The timestamp information calculates a frame delay value and updates a minimum frame delay value, a maximum frame delay value, and/or a total frame delay value and a value of the multicast group size based on the frame delay value. The processing of calculating a frame loss value and updating a minimum frame loss value, a maximum frame loss value, and/or a total frame loss value and a multicast group size according to the frame loss value includes:
帧丢失值等于连续接收的同一标识信息的两个多播响应帧中的前向发送帧计数器 值的差值减去两个多播响应帧中的 t 向接收帧计数器值的差值, 并且:  The frame loss value is equal to the difference of the forward transmission frame counter values in the two multicast response frames of the same identification information continuously received minus the difference of the t-to-receive frame counter values in the two multicast response frames, and:
当所述的帧丢失值小于最小帧丢失值时, 将最小帧丢失值更新为该帧丢失值; 和 /或,  When the frame loss value is less than the minimum frame loss value, updating the minimum frame loss value to the frame loss value; and/or,
当所述的帧丢失值大于最大帧丢失值时, 将最大帧丢失值更新为该帧丢失值; 和 /或,  When the frame loss value is greater than the maximum frame loss value, updating the maximum frame loss value to the frame loss value; and/or,
总的帧丢失值等于当前的总的帧丢失值与所述帧丢失值的和,且组播组大小的值需 要加一。  The total frame loss value is equal to the sum of the current total frame loss value and the frame loss value, and the value of the multicast group size needs to be increased by one.
所述的计算帧延迟值, 并根据该帧延迟值更新最小帧延迟值、 最大帧延迟值和 /或 总的帧延迟值以及组播组大小的值的处理包括- 帧延迟值等于接收多播响应帧的时间与前向发送时间戳信息的差值减去前向接收 时间戳信息与反向发送时间戳信息的差值, 并且:  The processing of calculating the frame delay value and updating the minimum frame delay value, the maximum frame delay value, and/or the total frame delay value and the value of the multicast group size according to the frame delay value includes - the frame delay value is equal to the receiving multicast The difference between the time of the response frame and the forward transmission timestamp information minus the difference between the forward reception timestamp information and the reverse transmission timestamp information, and:
当所述的帧延迟值小于最小帧延迟值时, 则将所述帧延迟值作为最小帧延迟值; 和 /或,  When the frame delay value is less than the minimum frame delay value, the frame delay value is taken as the minimum frame delay value; and/or,
当所述的帧延迟值大于最大帧延迟值时, 则将所述的帧延迟值作为最大帧延迟值; 和 /或,  When the frame delay value is greater than the maximum frame delay value, the frame delay value is taken as the maximum frame delay value; and/or,
总的帧延迟值等于当前的总的帧延迟值与所述帧延迟值的和,且将组播组大小的值 加一。  The total frame delay value is equal to the sum of the current total frame delay value and the frame delay value, and the value of the multicast group size is incremented by one.
所述的确定所述的性能测量响应报文中的标识信息与所述的测量请求报文中包含 的标识信息一致的处理包括:  The processing for determining that the identifier information in the performance measurement response packet is consistent with the identifier information included in the measurement request packet includes:
若所述的性能测量响应报文中的标识信息与保存的有效标识信息是否一致,则确定 该性能测量响应报文中的标识信息与所述的测量请求报文中包含的标识信息一致。  And if the identifier information in the performance measurement response packet is consistent with the saved valid identifier information, determining that the identifier information in the performance measurement response packet is consistent with the identifier information included in the measurement request packet.
本发明还提供了一种检测网络多播性能的系统, 主要包括:  The invention also provides a system for detecting network multicast performance, which mainly comprises:
标识报文发送处理单元, 设置于测试发起点中, 用于构造并发送包含标识信息的多 播性能测量请求报文;  An identifier packet sending processing unit is configured to be configured in a test initiation point, configured to construct and send a multicast performance measurement request packet that includes the identifier information;
标识报文响应处理单元, 设置于接收所述多播性能测量报文的各节点中, 用于分别 向测试发起点发送包含所述标识信息的性能测量响应报文;  The identifier message response processing unit is configured to send, in each node that receives the multicast performance measurement message, a performance measurement response message that includes the identifier information to the test initiation point, respectively;
判断处理单元, 设置于测试发起点中, 用于在接收所述的多播响应报文后, 判断接 收的多播响应报文中的标识信息是否与保存的有效的标识信息一致, 且当一致时, 触发 所述的多播性能检测单元; a determining processing unit, configured to be in a test initiation point, configured to determine, after receiving the multicast response message, Whether the identifier information in the received multicast response packet is consistent with the saved valid identifier information, and when they are consistent, triggering the multicast performance detecting unit;
多播性能检测单元, 设置于测试发起点中, 用于根据接收到的所述的性能测量响应 报文实现多播性能参数的测量。  The multicast performance detecting unit is configured to be used in the test initiation point, and is configured to implement measurement of the multicast performance parameter according to the received performance measurement response message.
所述的标识报文发送处理单元还可以包括:  The identifier packet sending processing unit may further include:
帧丢失测量用标识报文发送处理单元, 用于在测试发起点构建釆用多播 MAC地址的 多播请求帧, 并在所述的请求帧中包含多播帧丢失测量请求操作码、 前向发送帧计数器 值信息及标识信息;  a frame loss measurement identification message transmission processing unit, configured to construct a multicast request frame using a multicast MAC address at the test initiation point, and include a multicast frame loss measurement request operation code, forward direction in the request frame Sending frame counter value information and identification information;
和 /或, , '  and / or, , '
帧延迟测量用标识报文发送处理单元, 用于在测试发起点构建采用多播 MAC地址的 多播请求帧, 并在所述的请求帧中包含多播帧延迟测量请求操作码、 前向发送时间戳信 息及标识信息。  The frame delay measurement identifier sending message processing unit is configured to construct a multicast request frame using a multicast MAC address at the test originating point, and include a multicast frame delay measurement request operation code and a forward sending in the request frame. Timestamp information and identification information.
所述的标识报文响应处理单元包括- 帧丢失测量用标识报文响应处理单元, 用于在接收多播请求的节点构建多播响应 帧, 在响应帧中包含所述标识信息、 多播帧丢失测量响应操作码、 请求帧中的前向发送 帧计数器值信息及接收节点的前向接收帧计数器值信息, 并在延迟预定的随机延迟时间 后发送该多播响应帧;  The identifier message response processing unit includes: a frame loss measurement identifier message response processing unit, configured to construct a multicast response frame in the node that receives the multicast request, and include the identifier information, the multicast frame in the response frame Losing the measurement response operation code, the forward transmission frame counter value information in the request frame, and the forward receiving frame counter value information of the receiving node, and transmitting the multicast response frame after delaying the predetermined random delay time;
和 /或,  and / or,
帧延迟测量用标识报文响应处理单元, 用于在接收多播请求的节点构建多播响应 帧, 在响应帧中包含所述标识信息、 多播帧延迟测量响应操作码、 请求帧中的前向发送 时间戳信息并发送; 或者, 用于在接收多播请求的节点构建多播响应帧, 在响应帧中包 含所述标识信息、 多播帧延迟测量响应操作码、请求帧中的前向发送时间戳信息及接收 节点的前向接收时间戳信息, 并在延迟预定的随机延迟时间后, 将接收节点的后向发送 时间戳写入多播响应帧中后发送。  The frame delay measurement identifier packet response processing unit is configured to construct a multicast response frame in the node that receives the multicast request, and include the identifier information, the multicast frame delay measurement response operation code, and the front of the request frame in the response frame. Transmitting timestamp information and transmitting; or, for constructing a multicast response frame in a node receiving the multicast request, including the identification information, the multicast frame delay measurement response operation code, and the forward direction in the request frame in the response frame The timestamp information is sent and the forward receiving timestamp information of the receiving node is sent, and after the predetermined random delay time is delayed, the backward sending timestamp of the receiving node is written into the multicast response frame and then sent.
所述的多播性能检测单元具体包括:  The multicast performance detecting unit specifically includes:
帧丢失测量处理单元, 设置于测试发起点中, 用于在预定的时间内, 根据连续接收 的同一标识信息的两个多播响应帧中的前向发送帧计数器值和前向接收帧计数器值计 算帧丢失值, 并根据该帧丢失值更新最小帧丢失值、 最大帧丢失值和 /或总的帧丢失值 以及组播组大小的值;  a frame loss measurement processing unit, configured in the test initiation point, for forward transmission frame counter value and forward reception frame counter value in two multicast response frames according to the same identification information continuously received within a predetermined time Calculating a frame loss value, and updating a minimum frame loss value, a maximum frame loss value, and/or a total frame loss value and a value of the multicast group size according to the frame loss value;
和 /或, 帧延迟测量处理单元, 设置于测试发起点中, 用于在预定的时间内, 根据接收到多 播响应帧的时间, 以及多播响应帧中的前向发送时间戳信息、 前向接收时间戳信息和反 向发送吋间戳信息计算帧延迟值, 并根据该帧延迟值更新最小帧延迟值、 最大帧延迟值 和 /或总的帧延迟值以及组播组大小的值。 and / or, a frame delay measurement processing unit is disposed in the test initiation point, configured to, according to a time when the multicast response frame is received, and forward transmit timestamp information, forward receive timestamp in the multicast response frame, within a predetermined time The information and the reverse transmission inter-post stamp information calculate a frame delay value, and update the minimum frame delay value, the maximum frame delay value, and/or the total frame delay value and the value of the multicast group size according to the frame delay value.
由上述本发明提供的技术方案可以看出, 本发明是以多播路径为基础定义以太网 It can be seen from the technical solution provided by the above invention that the present invention defines Ethernet based on a multicast path.
0AM中的多播性能参数, 并提供了相应的多播性能参数检测方法。 本发明可以基于 Y. 17ethoam所定义的 0AM帧格式实现, 且针对 Y. 17ethoam所定义的 0AM帧格式改动不大, 具体只需要增加 4个消息操作码, 对于帧延迟测量只要响应帧带回前向接收时间戳和后 向发送时间戳, 二者之差包含接收点所做的随机延迟即可。 Multicast performance parameters in 0AM, and corresponding multi-cast performance parameter detection methods are provided. The present invention can be implemented based on the 0AM frame format defined by Y. 17ethoam, and the 0AM frame format defined by Y. 17ethoam is not changed much, and only four message operation codes need to be added. For the frame delay measurement, as long as the response frame is brought back The timestamp is sent to the receiving timestamp and the backwards, and the difference between the two includes the random delay made by the receiving point.
而且, 本发明在实现过程中, 在发送点和接收点的处理流程较为简单, 且采用的计 算方法为基于原有单播性能测量的计算方法。  Moreover, in the implementation process of the present invention, the processing flow at the transmitting point and the receiving point is relatively simple, and the calculation method adopted is a calculation method based on the original unicast performance measurement.
因此, 本发明可以在以太网 0AM中很好的实现 P2MP多播性能参数测量, 从而辅助 0AM 提供更为全面的网络性能评估。 附图简要说明 图 la为单播报文传送过程示意图;  Therefore, the present invention can well implement P2MP multicast performance parameter measurement in Ethernet 0AM, thereby assisting 0AM to provide a more comprehensive network performance evaluation. BRIEF DESCRIPTION OF THE DRAWINGS Figure la is a schematic diagram of a unicast message transmission process;
图 lb为多播报文传送过程示意图;  Figure lb is a schematic diagram of a multicast message transmission process;
图 2为本发明所述的方法总的具体实现过程示意图;  2 is a schematic diagram of a general implementation process of the method according to the present invention;
图 3为本发明所述的方法的具体实现过程一;  Figure 3 is a specific implementation process of the method of the present invention;
图 4为本发明所述的方法的具体实现过程二;  4 is a specific implementation process 2 of the method according to the present invention;
图 5为本发明所述的系统的具体实现结构示意图。 实施本发明的方式 本发明的核心是基于多播路径定义 Ethernet中的 P2MP多播性能参数, 在 Ethernet 0AM中提供 P2MP多播性能测量支持, 从而能够象单播性能参数一样, 在 0AM平面从帧丢失 率、 帧延迟、 帧延迟变化评估 Ethernet的 P2MP多播性能。 为便于对本发明的理解, 下面将对本发明的具体实现方式进行说明。  FIG. 5 is a schematic diagram of a specific implementation structure of the system according to the present invention. Mode for Carrying Out the Invention The core of the present invention is to define P2MP multicast performance parameters in Ethernet based on a multicast path, and provide P2MP multicast performance measurement support in Ethernet 0AM, so that it can be in the 0AM plane from the frame like the unicast performance parameter. Loss rate, frame delay, and frame delay variation evaluate Ethernet P2MP multicast performance. In order to facilitate an understanding of the present invention, specific implementations of the present invention are described below.
本发明在具体实现过程中首先需要对 P2MP多播性能参数进行定义, 以便于后续过 程中可以根据定义的内容进行相应的性能参数的测量; 定义 P2MP多播性能参数也从帧丢失、 帧延迟和帧延迟变化三个方面实现。 所述的 P2MP多播性能参数是基于组播路径的性能参数, 即相应的 0AM的目的地址必须是组播地 址, 在定义过程中需要考虑组播组的大小 Z, 同时, 还需要考虑测量的等待时间 T。 相应 的每条组播路径的性能参数包括: 各性能参数的 Max (最大)、 Min (最小)以及 Average (平均)值情况, 在实际测量各性能参数过程中可以根据需要测量相应的 Max、 Min以及 Average中的任一项或多项。 In the specific implementation process, the P2MP multicast performance parameter is first defined in the specific implementation process, so that the corresponding performance parameter can be measured according to the defined content in the subsequent process; Defining P2MP multicast performance parameters is also implemented in terms of frame loss, frame delay, and frame delay variation. The P2MP multicast performance parameter is based on the performance parameter of the multicast path, that is, the destination address of the corresponding 0AM must be a multicast address. In the definition process, the size Z of the multicast group needs to be considered, and at the same time, the measurement needs to be considered. Waiting time T. The corresponding performance parameters of each multicast path include: Max (maximum), Min (minimum), and Average (average) values of each performance parameter. In the actual measurement of each performance parameter, the corresponding Max and Min can be measured as needed. And any one or more of the effects.
对于组播路径的性能参数, 只有点到多点即点到组播组方向的参数值有意义, 而 反方向则因为其实质为单播方式而并无意义。 但是, 在测量时, 通常可以使用 two- way (双向)方式测量, 即可能计算过程中包含了反方向的测量值, 但这对组播性能评估并 无大的影响。  For the performance parameters of the multicast path, only the point-to-multipoint, point-to-multicast group direction parameter value is meaningful, and the reverse direction is meaningless because it is essentially unicast. However, in the measurement, the two-way (bidirectional) method can usually be used, that is, the calculation may include the reverse direction measurement, but this has no significant impact on the multicast performance evaluation.
本发明中定义的 P2MP多播性能参数具体可以为- The P2MP multicast performance parameter defined in the present invention may specifically be -
( 1 ) P2MP-FLR, 定义为 P2MP各条多播路径 FLR的 (Max, Min, Average) z, τ;(1) P2MP-FLR, defined as (Max, Min, Average) z , τ of each P2MP multicast path FLR;
(2) P2MP-FD, 定义为 P2MP各条多播路径 FD的 (Max, Min, Average) z, τ;(2) P2MP-FD, defined as (Max, Min, Average) z , τ of each multicast path FD of P2MP;
(3) P2MP-FDV, 定义为 P2MP各条多播路径 FDV的 (Max, Min, Average) z. τ; 在上述各性能参数中, 下标 Ζ表示组播组大小, 具体表示的是实时测量时所体现的 组播组大小, 即多播路径的条数, 在本发明的具体实现过程中可以假设组播组大小是不 可预知的, 因此, 对于 two- way方式的测量, 由测量发起点设置等待时间经验值, 作为 测量的等待时间 T, 如果回复报文都在 Τ时间内到达, 测量有效, 如果超过等待时间 Τ仍 然能收到测量回复报文, 则发出告警, 具体是用 0AM报文中的 Transaction ID (传输标 识)作为标识信息实现的。 当然, 本发明在具体实现过程中, 也可以设定其他预定的条 件作为测量等待条件 (如收到预定的消息, 或, 发生预定的事件, 等等) , 在该测量等 待条件满足前, 对于收到的回复报文认为有效, 在该测量等待条件满足后, 对于收到的 回复报文, 则可以发出告警。 (3) P2MP-FDV, defined as (Max, Min, Average) z . τ of P2MP multicast paths FDV; Among the above performance parameters, the subscript Ζ indicates the multicast group size, which specifically represents real-time measurement. The multicast group size, that is, the number of multicast paths, can be assumed in the specific implementation process of the present invention. The multicast group size is unpredictable. Therefore, for the two-way mode measurement, the measurement origination point Set the waiting time experience value as the waiting time T of the measurement. If the reply message arrives within the time, the measurement is valid. If the measurement response message is still received after the waiting time is exceeded, an alarm is generated, specifically 0AM. The Transaction ID (Transmission ID) in the text is implemented as identification information. Of course, in the specific implementation process, the present invention may also set other predetermined conditions as measurement waiting conditions (such as receiving a predetermined message, or a predetermined event occurs, etc.), before the measurement waiting condition is satisfied, The received reply message is considered valid. After the measurement wait condition is met, an alert can be sent for the received reply message.
假如 0AM功能实现在硬件中, Average的计算可能需要除法, 这对于硬件来说非常 困难, 因此, 可以用 {Max, Min, Total (测量值的和) } z. τ来表示, 其中 Total表示 各个多播路径性能参数测量值之和,这种表示方式与前面描述的表示方式的含义基本相 同。 此时, Total的存储空间必须足够大, 通常需要 64bit。 基于上述各多播性能参数的定义, 相应的多播性能参数测量过程如下: 首先, 在最新的 Y. 17ethoam Draft, Nov. , 2005上, 定义的以太网 0AM通用帧头格 式如表 1所示: 1 If the 0AM function is implemented in hardware, the calculation of Average may require division, which is very difficult for hardware. Therefore, it can be expressed by {Max, Min, Total (sum of measured values) } z . τ , where Total represents each The sum of the measurement values of the multicast path performance parameters, which is basically the same as the meaning of the previously described representation. At this point, Total's storage space must be large enough, usually requiring 64bit. Based on the definition of each multicast performance parameter, the corresponding multicast performance parameter measurement process is as follows: First, in the latest Y. 17 ethoam Draft, Nov., 2005, the defined Ethernet 0AM common frame header format is shown in Table 1. : 1
Figure imgf000011_0001
在现有技术中, 对于单播性能测量, 定义了帧丢失测量和帧延迟测量操作码, 具 体如下:
Figure imgf000011_0001
In the prior art, for unicast performance measurement, a frame loss measurement and a frame delay measurement operation code are defined, as follows:
LMM, 帧丢失测量请求操作码;  LMM, frame loss measurement request opcode;
LMR, 帧丢失测量响应操作码;  LMR, frame loss measurement response opcode;
D醒, 帧延迟测量请求操作码;  D wake up, frame delay measurement request operation code;
DMR, 帧延迟测量响应操作码。  DMR, frame delay measurement response opcode.
基于上述单播性能测量的操作码, 本发明的实施例设置了多播性能测量的操作码, 具体如下:  Based on the above operation code of the unicast performance measurement, the embodiment of the present invention sets the operation code of the multicast performance measurement, as follows:
P2MP-LMM, P2MP多播帧丢失测量请求操作码;  P2MP-LMM, P2MP multicast frame loss measurement request operation code;
P2MP-LMR, P2MP多播帧丢失测量响应操作码;  P2MP-LMR, P2MP multicast frame loss measurement response opcode;
P2MP-DMM, P2MP多播帧延迟测量请求操作码;  P2MP-DMM, P2MP multicast frame delay measurement request operation code;
P2MP-DMR, P2MP多播帧延迟测量响应操作码。  P2MP-DMR, P2MP multicast frame delay measurement response opcode.
在进行多播性能参数测量过程中测量帧中包括的字段如下:  The fields included in the measurement frame during the measurement of the multicast performance parameters are as follows:
( 1 )对于帧丢失测量  (1) For frame loss measurement
单播 L匪帧必须包含 TxFCf字段, 即前向发送帧计数器值, P2MP-L匿帧要求与此相 同;  The unicast L匪 frame must contain the TxFCf field, that is, the forward transmit frame counter value, and the P2MP-L frame request is the same;
单播 LMR帧必须包含 TxFCf、 RxFCf和 TxFCb字段, 即前向发送帧计数器值、 前向接 收帧计数器值和后向帧发送计数器值, 其中 TxFCf字段就是从 U4M帧中拷贝过来的, P2MP-LMR帧要求与此相同, 但是实际上仅仅使用 TxFCf、 RxFCfo  The unicast LMR frame must contain the TxFCf, RxFCf, and TxFCb fields, that is, the forward transmit frame counter value, the forward receive frame counter value, and the backward frame transmit counter value, where the TxFCf field is copied from the U4M frame, P2MP-LMR The frame requirements are the same, but in reality only TxFCf, RxFCfo are used.
(2)对于帧延迟测量  (2) For frame delay measurement
单播 DMM帧必须包含前向发送时间戳 TxTiraeStampf, P2MP- DMM帧要求与此相同; 单播 DMR帧必须包含前向发送时间戳 TxTimeStampf, 即从 DMM帧拷贝过来的, 对于 The unicast DMM frame must contain the forward transmission timestamp TxTiraeStampf, and the P2MP-DMM frame requirement is the same; the unicast DMR frame must contain the forward transmission timestamp TxTimeStampf, which is copied from the DMM frame.
P2MP- DMR帧, DMR还需要前向接收时间戳 RxTimeStampf和后向发送时间戳 TxTimeStampb, 并且 TxTimeStampb和 RxTimeStarapf之差必须含有接收点所做的随机延迟。 ' 另外, 和单播性能测量比较, P2MP多播性能测量中的 Two- way方式的测量, 面临两 个问题: For P2MP-DMR frames, the DMR also needs a forward receive timestamp RxTimeStampf and a backward transmit timestamp TxTimeStampb, and the difference between TxTimeStampb and RxTimeStarapf must contain the random delay made by the receiving point. ' In addition, compared with unicast performance measurement, the Two-way method in P2MP multicast performance measurement faces two problems:
( 1 ) 多点回流过大, 为此, 要求测量发起点必须以非常低的速率发送测量请求报 文, 按照 Y. 17ethoam, 由于每个发送报文分配一个 Transaction ID , 报文发出后, Transaction ID保留一段时间, 用于关联回复报文, 保留时间其实和报文发送速率是统 一的, 保留时间按照经验配置, 例如缺省为 5s;  (1) Multi-point reflow is too large. To this end, the measurement initiation point is required to send measurement request messages at a very low rate. According to Y. 17ethoam, since each transmission message is assigned a Transaction ID, after the message is sent, Transaction The ID is reserved for a period of time. It is used to associate the reply packet. The retention time is the same as the packet sending rate. The retention time is configured according to experience. For example, the default is 5s.
(2) 多点回流过于集中, 可以通过令接收点在响应之前延迟一个随机时间 (即随 机延迟)来克服,所述随机延迟是有一定范围的, 该范围也是可配置的,例如缺省为 ls。 无论是测量帧丢失还是帧延迟, 从总体上看, 对于多播测量来说都遵循大致相同 的处理过程, 相应的过程如图 2所示:  (2) Multi-point reflow is too concentrated, which can be overcome by delaying the receiving point by a random time (ie, random delay) before the response. The random delay has a certain range, and the range is also configurable. For example, the default is Ls. Whether measuring frame loss or frame delay, in general, the same process is followed for multicast measurements. The corresponding process is shown in Figure 2:
首先, 发送端发送多播测量请求帧, 包括测量操作码、 报文标识信息以及发送端 发送时刻的参数值, 比如测量帧丢失所需要的前向发送帧计数值, 测量帧延迟所需要的 前向发送时间戳;  First, the sending end sends a multicast measurement request frame, including a measurement operation code, a message identification information, and a parameter value of a sending time of the transmitting end, such as a forward sending frame count value required for measuring a frame loss, and a measurement frame delay required. Send a timestamp to;
其次, 接收端收到多播测量请求帧之后, 进行回复, 包括测量操作回复码、 报文 标识信息以及接收端接收时刻的参数值以及回复发送时刻的参数值, 比如测量帧丢失所 需要的前向接收所需要的前向接收帧计数值, 测量帧延迟所需要的前向接收时间戳、 后 向发送时间戳, 并且还要将收到的参数值拷贝到回复报文中返回, 比如测量帧丢失所需 要的前向发送帧计数值, 测量帧延迟所需要的前向发送时间戳;  Secondly, after receiving the multicast measurement request frame, the receiving end performs a reply, including measuring the operation reply code, the message identification information, and the parameter value of the receiving end receiving time and the parameter value of the reply sending time, for example, before measuring the frame loss required. Receives the forward received frame count value required for reception, measures the forward receive timestamp and backward transmit timestamp required for the frame delay, and also copies the received parameter value into the reply message, such as the measurement frame. Loss of the required forward transmission frame count value, measuring the forward transmission timestamp required for the frame delay;
最后, 发送端收到回复报文之后, 首先验证报文的有效性, 主要是验证报文 ID是 否有效, 然后提取报文中的参数值, 计算该路径上的参数值, 最后利用该路径上的参数 值, 计算更新多播性能参数, 包括: 具体的性能参数值, 组播组的性能参数值总和, 以 及组播组大小、 最大'值和 /或最小值, 其中所述的性能参数值包括帧丢失值和帧延迟值。  Finally, after receiving the reply message, the sender first verifies the validity of the message, mainly to verify whether the message ID is valid, and then extracts the parameter value in the message, calculates the parameter value on the path, and finally uses the path. The parameter value, the calculation update multicast performance parameter, includes: a specific performance parameter value, a sum of performance parameter values of the multicast group, and a multicast group size, a maximum 'value and/or a minimum value, where the performance parameter value Includes frame loss values and frame delay values.
针对帧丢失值的测量和帧延迟值的测量的不同之处在于: 在发送端收到回复报文 之后, 计算单条路径上帧丢失和帧延迟的计算公式是不一样的, 具体将以后续的针对图 3和图 4的描述中进行相应的说明。 下面将结合图 3和图 4对各个多播性能参数的测量过程进行详细的说明。  The difference between the measurement of the frame loss value and the measurement of the frame delay value is: After the response message is received by the transmitting end, the calculation formula for calculating the frame loss and the frame delay on a single path is different, and the specific Corresponding description will be made in the description of FIGS. 3 and 4. The measurement process of each multicast performance parameter will be described in detail below with reference to Figs. 3 and 4.
(一) P2MP多播帧丢失测量 (P2MP-LM)  (1) P2MP Multicast Frame Loss Measurement (P2MP-LM)
为便于对帧丢失测量过程的描述, 首先进行如下假设:  To facilitate the description of the frame loss measurement process, the following assumptions are made:
假设在发送端发送测量报文的发送间隔为测量的等待时间!1, 即本地 Transaction ID保留时间, 当发送报文后超过时间 T时, 将保存的 Transaction ID删除, 之后, 若再 收到带有该 Transaction ID的帧, 则认为不合法, 可以发出告警; Assume that the sending interval for transmitting measurement packets at the transmitting end is the waiting time for measurement! 1 , that is, the local Transaction ID retention time, when the message exceeds the time T after sending the message, the saved Transaction ID is deleted, and then, if If the frame with the Transaction ID is received, it is considered invalid and an alarm can be issued.
假设接收点收到多播测量帧后随机延迟范围, 即所述随机延迟为 R;  Assume that the receiving point receives a random delay range after receiving the multicast measurement frame, that is, the random delay is R;
假设本次测量的多播组的大小为 Z;  Assume that the size of the multicast group measured this time is Z;
假设各条多播路径的帧丢失累计为 Total , 最小帧丢失为 Min, 最大帧丢失为 Max。 其次, 基于上述假设, 相应的帧丢失测量的处理过程如下- Assume that the frame loss of each multicast path is cumulative Total, the minimum frame loss is Min, and the maximum frame loss is Max. Second, based on the above assumptions, the corresponding frame loss measurement process is as follows -
( 1 ) 在测量发起点, 构建 P2MP-LM请求帧, 具体需要使用多播 MAC地址和 P2MP-LMM 操作码, 为当前帧分配一个 Transaction ID, 将当前前向发送帧计数器值填写到请求帧 的 TxFCf字段中, 其他字段可以不关心; (1) At the measurement initiation point, construct a P2MP-LM request frame, specifically need to use a multicast MAC address and a P2MP-LMM operation code, assign a Transaction ID to the current frame, and fill in the current forward transmission frame counter value to the request frame. In the TxFCf field, other fields may not care;
(2) 测量发起点发送构建的请求帧, 并启动 Transaction ID保留定时器, 超时长 为测量的等待时间 T, 同时清零2、 Total Min、 Max值。  (2) The measurement origination point sends the constructed request frame, and starts the Transaction ID retention timer. The timeout is the measured waiting time T, and the 2, Total Min, and Max values are cleared.
(3) 在接收点, 即多播组中某一个点收到帧丢失测量请求帧后, 构建 P2MP-LMR响 应帧, 具体说来, 就是以源 MAC地址作为目的地址, 以本地 MAC地址作为源她址, 响应操 作码为 P2MP- LMR, 将 Transaction ID和 TxFCf拷贝到响应帧中, 并且, 将本地前向接收 帧计数器值填写到响应帧的 RxFCf字段中 ' 其他字段不关心;  (3) After receiving the frame loss measurement request frame at a receiving point, that is, a certain point in the multicast group, construct a P2MP-LMR response frame. Specifically, the source MAC address is used as the destination address, and the local MAC address is used as the source. Her address, the response opcode is P2MP-LMR, copy the Transaction ID and TxFCf into the response frame, and fill in the local forward receive frame counter value into the RxFCf field of the response frame. 'Other fields don't care;
( 4) 在时间 R范围内做一个随机延迟, 即延迟时间 R后发送响应帧;  (4) Make a random delay within the time R, that is, send a response frame after the delay time R;
(5)测量发起点是依据两个 P2MP-LMR帧来计算某条路径上的帧丢失的, 在采用两 个计数器值相减的时候需要考虑溢出; 假设前一个响应帧的计数器值 TxFCfl、 RxFCfl , 当前收到的响应帧的计数器值为 TxFCf2、 RxFCf2, 则相应的处理流程如图 3所示, 具体 为- 步骤 31 : 根据测量发起点中保留的 Transaction ID值判断接收的响应帧中的 (5) The measurement initiation point is based on two P2MP-LMR frames to calculate the frame loss on a certain path. When two counter values are subtracted, the overflow needs to be considered; suppose the counter value of the previous response frame is TxFCfl, RxFCfl The current received response frame counter value is TxFCf2, RxFCf2, and the corresponding processing flow is as shown in FIG. 3, specifically - Step 31: determining the received response frame according to the Transaction ID value retained in the measurement initiation point.
Transaction ID是否一致, SPTransaction ID是否有效, 如果是, 则执行步骤 33, 否贝 lj, 执行步骤 32, 即产生告警; Whether the Transaction ID is consistent and whether the SPTransaction ID is valid. If yes, go to Step 33, No. lj, and go to Step 32 to generate an alarm.
步骤 33: 计算帧丢失值 FL为 (TxFCf2—TxFCfl ) — (RxFCf2-RxFCf 1 ) ;  Step 33: Calculate the frame loss value FL is (TxFCf2—TxFCfl ) — (RxFCf2-RxFCf 1 );
步骤 34: 计算总的帧丢失值 Total为当前的 Total值加上该 FL值, 且令 Z值加 1 ; 步骤 35: 判断当前的帧丢失的最小值 Min是否大于 FL值, 如果是, 则令 Min==FL, 否则, 执行步骤 36;  Step 34: Calculate the total frame loss value Total for the current Total value plus the FL value, and increase the Z value by one; Step 35: Determine whether the minimum value Min of the current frame loss is greater than the FL value, and if so, Min==FL, otherwise, go to step 36;
步骤 36: 判断当前的帧丢失的最大 Max是否小于 FL值, 如果是, 则令 Max=FL, 否 贝 |J, 过程结束。  Step 36: Determine whether the maximum Max of the current frame loss is less than the FL value. If yes, let Max=FL, No Bay |J, the process ends.
基于上述步骤 31至步骤 36的处理过程, 在测量发起点上持续 T的时间内一直等待接 收返回的同一 Transaction ID的响应帧, 并进行上述处理, 当到达时间 T后获得帧丢失 的多播性能参数的值。 Based on the processing of steps 31 to 36 above, the response frame of the same Transaction ID that is returned is received for the duration of T on the measurement initiation point, and the above processing is performed, and the frame loss is obtained when the time T is reached. The value of the multicast performance parameter.
(二) P2MP多播帧延迟测量 (P2MP DM) (2) P2MP multicast frame delay measurement (P2MP DM)
同样', 为便于对帧延迟测量过程的描述, 首先进行如下假设:  Similarly, to facilitate the description of the frame delay measurement process, the following assumptions are made:
假设在发送端发送测量报文的发送间隔为测量的等待时间 即本地 Transact ion ID保留时间, 当发送报文后超过时间 T时, 将保存的 Transaction ID删除, 之后, 若再 收到带有该 Transaction ID的帧, 则认为不合法, 可以发出告瞀;  Assume that the sending interval of the measurement packet sent by the transmitting end is the measurement waiting time, that is, the local Transact ion ID retention time. When the packet exceeds the time T after the packet is sent, the saved Transaction ID is deleted, and then, if the packet is received again, The frame of the Transaction ID is considered illegal and can be warned;
设定接收点收到多播测量帧后随机延迟范围, 即假设所述随机延迟范围为 R;  Setting a random delay range after the receiving point receives the multicast measurement frame, that is, the random delay range is assumed to be R;
假设本次测量的多播组的大小为 Z;  Assume that the size of the multicast group measured this time is Z;
假设各条多播路径的帧延迟累计为 Total, 最小帧延迟为 Min, 最大帧延迟为 Max。 其次, 基于上述假设, 相应的帧延迟测量的处理过程如下:  Assume that the frame delay of each multicast path is cumulative, the minimum frame delay is Min, and the maximum frame delay is Max. Second, based on the above assumptions, the processing of the corresponding frame delay measurement is as follows:
(1 )在测量发起点, 构建 P2MP- DM请求帧, 具体需要使用多播 MAC地址和 P2MP-DMM 请求操作码, 为当前帧分配一个 Transaction ID, 将当前前向发送时间戳填写到请求帧 的 TxTimeStampf字段中, 其他字段可以不关心;  (1) At the measurement initiation point, construct a P2MP-DM request frame, specifically need to use the multicast MAC address and the P2MP-DMM request operation code, assign a Transaction ID to the current frame, and fill in the current forward transmission timestamp to the request frame. In the TxTimeStampf field, other fields may not care;
(2) 在测量发起点发送请求帧, 并启动 Transaction ID保留定时器, 超时长为测 量的等待时间 T, 同时清零∑、 Total s Min、 Max值。  (2) Send the request frame at the measurement origination point, and start the Transaction ID retention timer. The timeout is the waiting time T of the measurement, and the values of ∑, Total s Min, and Max are cleared.
(3) 在接收点, 即多播组中某一个点收到帧丢失测量请求帧后, 构建 P2MP- DMR响 应帧, 具体说来, 就是以源 MAC地址作为目的地址, 以本地 MAC地址作为源地址, 响应操 作码为 P2MP- DMR, 将 Transaction ID和 TxTimeStampf拷贝到响应帧中, 并且将本地前向 接收时间戳填写到响应帧的 RxTimeStampf;  (3) After receiving the frame loss measurement request frame at the receiving point, that is, at a certain point in the multicast group, construct a P2MP-DMR response frame. Specifically, the source MAC address is used as the destination address, and the local MAC address is used as the source. Address, the response opcode is P2MP-DMR, copy the Transaction ID and TxTimeStampf into the response frame, and fill the local forward receive timestamp into the RxTimeStampf of the response frame;
(4) 在接收点, 在时间 R范围内做一个随机延迟, 即延迟 R时间后, 将后向发送时 间戳填写到响应帧的 TxTimeStampb字段中立即发送响应帧;  (4) At the receiving point, make a random delay in the time R range, that is, after delaying the R time, fill the backward transmission time stamp into the TxTimeStampb field of the response frame and immediately send the response frame;
(5) 所述的测量发起点收到响应帧后, 设收到时间为 RxTimeb, 则相应的处理流 程如图 4所示, 具体包括:  (5) After receiving the response frame, the measurement initiation point sets the reception time to RxTimeb, and the corresponding processing flow is as shown in FIG. 4, which specifically includes:
步骤 41 : 根据测量发起点中保留的 Transaction ID值判断接收的响应帧中的 Transaction ID是否一致, 即 Transaction ID是否有效, 如果是, 则执行步骤 43, 否贝 U, 执行步骤 42, 即产生告警;  Step 41: Determine whether the Transaction ID in the received response frame is consistent according to the value of the Transaction ID that is reserved in the measurement initiation point, that is, whether the Transaction ID is valid, and if yes, execute Step 43, and if no, perform Step 42 to generate an alarm. ;
步骤 43 : 计算帧延迟时间 FD为 RxTimeb— TxTimeStampf— ( RxTimeStampf - TxTimeStampb ) ;  Step 43: Calculate the frame delay time FD is RxTimeb - TxTimeStampf - ( RxTimeStampf - TxTimeStampb );
步骤 44: 计算总的帧延迟时间 Total为当前的 Total值加上该 FD值, 且令 Z值加 1 ; 步骤 45: 判断当前的帧延迟时间的最小值 Miri是否大于 FD值, 如果是, 则令 Min = FD, 否则, 执行步骤 46; Step 44: Calculate the total frame delay time Total is the current Total value plus the FD value, and increase the Z value by 1; Step 45: Determine whether the minimum value of the current frame delay time Miri is greater than the FD value, and if so, Order Min = FD, otherwise, go to step 46;
步骤 46: 判断当前的帧延迟时间的最大值 Max是否小于 FD值, 如果是, 则令 Max= FD, 否则, 过程结束。  Step 46: Determine whether the maximum value of the current frame delay time Max is less than the FD value, and if so, let Max = FD, otherwise, the process ends.
基于上述步骤 41至步骤 46的处理过程, 在测量发起点上持续 T的时间内一直等待接 收返回的同一 Transaction ID的响应帧, 并进行上述处理, 当到达时间 T后获得帧延迟 的多播性能参数的值。 本发明还提供了一种检测网络多播性能的系统, 其具体实现结构可以如图 5所示, 即相应的具体实施例可以包括以下处理单元:  Based on the processing of steps 41 to 46 above, the response frame of the same Transaction ID that is returned is received for the duration of T at the measurement initiation point, and the above processing is performed, and the multicast performance of the frame delay is obtained after the time T is reached. The value of the parameter. The present invention also provides a system for detecting network multicast performance. The specific implementation structure can be as shown in FIG. 5, that is, the corresponding specific embodiment may include the following processing units:
( 1 ) 标识报文发送处理单元, 设置于测试发起点中, 用于构造并发送包含标识信 息的多播性能测量请求报文;  (1) an identifier packet sending processing unit, configured in the test originating point, configured to construct and send a multicast performance measurement request message including the identifier information;
而且, 所述的标识报文发送处理单元包括- 帧丢失测量用标识报文发送处理单元, 用于在测试发起点构建采用 播 MAC地址的 多播请求帧, 并在所述的请求帧中包含多播帧丢失测量请求操作码、前向发送帧计数器 值信息及标识信息;  Moreover, the identifier packet sending processing unit includes: a frame loss measurement identifier packet sending processing unit, configured to construct a multicast request frame using the broadcast MAC address at the test originating point, and include in the request frame Multicast frame loss measurement request operation code, forward transmission frame counter value information, and identification information;
和 /或,  and / or,
帧延迟测量用标识报文发送处理单元, 用于在测试发起点构建釆用多播 MAC地址的 多播请求帧, 并在所述的请求帧中包含多播帧延迟测量请求操作码、 前向发送时间戳信 息及标识信息。 '  The frame delay measurement identifier sending message processing unit is configured to construct a multicast request frame using the multicast MAC address at the test origin, and include the multicast frame delay measurement request operation code, the forward direction in the request frame. Send timestamp information and identification information. '
( 2 ) 标识报文响应处理单元, 设置于接收所述多播性能测量报文的各节点中, 用 于分别向测试发起点发送包含所述标识信息的性能测量响应报文;  (2) an identifier message response processing unit, configured to send, in each node that receives the multicast performance measurement message, a performance measurement response message including the identifier information to the test initiation point;
而且, 所述的标识报文响应处理单元包括:  Moreover, the identifier message response processing unit includes:
帧丢失测量用标识报文响应处理单元, 用于在接收多播请求的节点构建多播响应 帧, 在响应帧中包含所述标识信息、 多播帧丢失测量响应操作码、 请求帧中的前向发送 帧计数器值信息及接收节点的前向接收帧计数器值信息, 并在延迟预定的随机延迟时间 后发送该多播响应帧;  The frame loss measurement identification message response processing unit is configured to construct a multicast response frame in the node that receives the multicast request, and include the identifier information, the multicast frame loss measurement response operation code, and the front of the request frame in the response frame. Sending frame counter value information and forward receiving frame counter value information of the receiving node, and transmitting the multicast response frame after delaying a predetermined random delay time;
和 /或,  and / or,
帧延迟测量用标识报文响应处理单元, 用于在接收多播请求的节点构建多播响应 帧, 在响应帧中包含所述标识信息、 多播帧延迟测量响应操作码、 请求帧中的前向发送 时间戳信息并发送; 或者, 用于在接收多播请求的节点构建多播响应帧, 在响应帧中包 含所述标识信息、 多播帧延迟测量响应操作码、 请求帧中的前向发送时间戳信息及接收 节点的前向接收时间戳信息, 并在延迟预定的随机延迟时间后, 将接收节点的后向发送 时间戳写入多播响应帧中, 之后发送所述响应帧。 The frame delay measurement identifier packet response processing unit is configured to construct a multicast response frame in the node that receives the multicast request, and include the identifier information, the multicast frame delay measurement response operation code, and the front of the request frame in the response frame. Sending timestamp information and transmitting; or, for constructing a multicast response frame in a node receiving the multicast request, including the identification information, the multicast frame delay measurement response operation code, and the forward direction in the request frame in the response frame Send timestamp information and receive The node forwardly receives the timestamp information, and after delaying the predetermined random delay time, writes the backward transmission timestamp of the receiving node into the multicast response frame, and then transmits the response frame.
( 3 ) 判断处理单元, 该单元可以设置于测试发起点中, 用于在接收所述的多播响 应报文后, 根据保存的有效的标识信息确定接收的多播响应报文中的标识信息是否本端 发送的多播性能测量请求报文对应的响应报文, 即判断多播响应报文中的标识信息是否 与本地保存的有效的标识信息一致, 若是, 则触发所述的多播性能检测单元, 否则, 不 触发所述多播性能检测单元。  (3) a judging processing unit, the unit may be disposed in the test initiating point, and configured to: after receiving the multicast response message, determine the identifier information in the received multicast response message according to the saved valid identification information Whether the response message corresponding to the multicast performance measurement request message sent by the local end determines whether the identification information in the multicast response message is consistent with the locally saved valid identification information, and if so, triggers the multicast performance. The detection unit, otherwise, does not trigger the multicast performance detection unit.
( 4) 多播性能检测单元, 设置于测试发起点中, 用于在判断处理单元的触发下, 利用当前接收的所述性能测量响应报文进行多播性能参数的测量;  (4) The multicast performance detecting unit is configured to be used in the test initiation point, and is configured to perform measurement of the multicast performance parameter by using the currently received performance measurement response message under the trigger of the determining processing unit;
而且, 所述的多播性能检测单元具体包括:  Moreover, the multicast performance detecting unit specifically includes:
帧丢失测量处理单元, 设置于测试发起点中, 用于在预定的时间内, 根据连续接收 的同一标识信息的两个多播响应帧中的前向发送帧计数器值和前向接收帧计数器值计 算帧丢失值, 并根据该帧丢失值更新最小帧丢失值、 最大帧丢失值和 /或总的帧丢失值 以及组播组大小的值; ' 和 /或,  a frame loss measurement processing unit, configured in the test initiation point, for forward transmission frame counter value and forward reception frame counter value in two multicast response frames according to the same identification information continuously received within a predetermined time Calculating a frame loss value, and updating a minimum frame loss value, a maximum frame loss value, and/or a total frame loss value and a value of a multicast group size according to the frame loss value; 'and/or,
帧延迟测量处理单元, 设置于测试发起点中, 用于在预定的时间内, 根据接收到多 播响应帧的时间, 以及多播响应帧中的前向发送时间戳信息、 前向接收时间戳信息和反 向发送时间戳信息计算帧延迟值, 并根据该帧延迟值更新最小帧延迟值、 最大帧延迟值 和 /或总的帧延迟值以及组播组大小的值。  a frame delay measurement processing unit is disposed in the test initiation point, configured to, according to a time when the multicast response frame is received, and forward transmit timestamp information, forward receive timestamp in the multicast response frame, within a predetermined time The information and the reverse transmission timestamp information calculate a frame delay value, and update a minimum frame delay value, a maximum frame delay value, and/or a total frame delay value and a value of the multicast group size according to the frame delay value.
综上所述, 本发明提供的以多播路径为基础定义以太网 0AM中的多播性能参数进而 进行以太网多播性能参数检测的实现方法对 Y. 17ethoam所定义的 0AM帧格式改动不大, 只要求增加 4个消息码, 对于帧延迟测量只要响应帧带回前向接收时间戳和后向发送时 间戳,二者之差包含接收点所做的随机延迟即可。发送点和接收点的处理流程也不复杂, 并且基于原有单播性能测量的计算方法。 因此, 利用本发明可以在以太网 0AM中很好的 实现 P2MP多播性能参数测量。  In summary, the implementation method for defining the multicast performance parameter in the Ethernet 0AM based on the multicast path and then performing the Ethernet multicast performance parameter detection has little change to the 0AM frame format defined by Y. 17 ethoam. It is only required to add 4 message codes. For the frame delay measurement, as long as the response frame brings back the forward reception time stamp and the backward transmission time stamp, the difference between the two includes the random delay made by the receiving point. The processing flow of the sending point and the receiving point is also not complicated, and is based on the calculation method of the original unicast performance measurement. Therefore, the P2MP multicast performance parameter measurement can be well implemented in Ethernet 0AM by using the present invention.
以上所述, 仅为本发明较佳的具体实施方式, 但本发明的保护范围并不局限于此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易想到的变化或替 换, 都应涵盖在本发明的保护范围之内。 因此, 本发明的保护范围应该以权利要求的保 护范围为准。  The above is only a preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or within the technical scope disclosed by the present invention. Alternatives are intended to be covered by the scope of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

权利要求 Rights request
1、一种捡测网络多播性能的实现方法, 其特征在于, 包括:  A method for implementing network multicast performance, characterized in that it comprises:
在测试发起点构造并发送包含标识信息的多播性能测量请求报文;  Constructing and transmitting a multicast performance measurement request message including the identification information at the test initiation point;
接收所述多播性能测量请求报文的各节点分别向测试发起点发送包含所述标识信 息的性能测量响应报文;  Each node that receives the multicast performance measurement request message separately sends a performance measurement response message including the identifier information to the test initiation point;
测试发起点接收性能测量响应报文,并在确定所述的性能测量响应报文中的标识信 息与所述的测量请求报文中包含的标识信息一致后,根据所述的性能测量响应报文实现 多播性能参数的测量。  The test initiation point receives the performance measurement response packet, and after determining that the identifier information in the performance measurement response packet is consistent with the identifier information included in the measurement request packet, the response measurement packet is measured according to the performance. Implement measurement of multicast performance parameters.
2、 根据权利要求 1所述的检测网络多播性能的实现方法, 其特征在于, 所述的构造 并发送包含标识信息的多播性能测量请求报文的处理包括- 当实现以太网操作管理和维护 0AM时, 在测试发起点构造并发送采用多播媒体接入 控制 MAC地址的多播请求帧,所述请求帧中承载着多播性能测量操作码信息及标识信息。  2. The method for detecting network multicast performance according to claim 1, wherein the processing of constructing and transmitting a multicast performance measurement request message including the identification information comprises: when implementing Ethernet operation management and When the 0AM is maintained, a multicast request frame that uses the multicast media access control MAC address is constructed and sent in the test initiation point, where the request frame carries the multicast performance measurement opcode information and the identification information.
3、 根据权利要求 2所述的检测网络多播性能的实现方法, 其特征在于, 所述的构造 并发送包含标识信息的多播性能测量请求报文的处理具体包括:  The method for detecting the multicast performance of the network according to claim 2, wherein the processing of constructing and transmitting the multicast performance measurement request message including the identifier information comprises:
当进行帧丢失测量时, 在测试发起点构建釆用多播 MAC地址的多播请求帧, 并在所 述的请求帧中包含多播帧丢失测量请求操作码、 前向发送帧计数器值信息及标识信息; 和 /或,  When the frame loss measurement is performed, a multicast request frame using the multicast MAC address is constructed at the test initiation point, and the multicast frame loss measurement request operation code, the forward transmission frame counter value information, and the request frame are included in the request frame. Identification information; and / or,
当进行帧延迟测量时, 在测试发起点构建采用多播 MAC地址的多播请求帧, 并在所 述的请求帧中包含多播帧延迟测量请求操作码、 前向发送时间戳信息及标识信息。  When performing frame delay measurement, constructing a multicast request frame using a multicast MAC address at the test initiation point, and including a multicast frame delay measurement request operation code, forward transmission timestamp information, and identification information in the request frame. .
4、 根据权利要求 3所述的检测网络多播性能的实现方法, 其特征在于, 所述的标识 信息包括:  The method for detecting network multicast performance according to claim 3, wherein the identifier information comprises:
以太网 0AM报文中的传输标识 Transaction ID。  The transmission identifier Transaction ID in the Ethernet 0AM packet.
5、 根据权利要求 3所述的检测网络多播性能的实现方法, 其特征在于, 所述的向测 试发起点发送包含所述标识信息的性能测量响应报文的处理包括- 当进行帧丢失测量时, 在接收多播请求的节点构建多播 ,响应帧, 在响应帧中包含所 述标识信息、 多播帧丢失测量响应操作码、请求帧中的前向发送帧计数器值信息及接收 节点的前向接收帧计数器值信息, 并在延迟预定的随机延迟时间后发送该多播响应帧; 和 /或,  The method for detecting network multicast performance according to claim 3, wherein the processing of transmitting the performance measurement response message including the identifier information to the test origination point comprises: when performing frame loss measurement And constructing a multicast, response frame in the node receiving the multicast request, including the identifier information, the multicast frame loss measurement response operation code, the forward transmission frame counter value information in the request frame, and the receiving node in the response frame. Forwarding frame counter value information, and transmitting the multicast response frame after delaying a predetermined random delay time; and/or,
当进行帧延迟测量时, 在接收多播请求的节点构建并发送多播响应帧, 在所述的多 播响应帧中包含所述标识信息、多播帧延迟测量响应操作码和请求帧中的前向发送时间 戳信息; 或者, 当进行帧延迟测量时, 在接收多播请求的节点构建多播响应帧, 在响应 帧中包含所述标识信息、 多播帧延迟测量响应操作码、 请求帧中的前向发送时间戳信息 及接收节点的前向接收时间戳信息, 并在延迟预定的随机延迟时间后, 将接收节点的后 向发送时间戳写入多播响应帧中发送。 When performing frame delay measurement, constructing and transmitting a multicast response frame in a node receiving the multicast request, including the identification information, the multicast frame delay measurement response operation code, and the request frame in the multicast response frame Forward send time Poke information; or, when performing frame delay measurement, constructing a multicast response frame in a node receiving the multicast request, including the identification information, the multicast frame delay measurement response operation code, and the forward direction in the request frame in the response frame Sending timestamp information and forward receiving timestamp information of the receiving node, and delaying the predetermined random delay time, sending the backward sending timestamp of the receiving node to the multicast response frame for transmission.
6、 根据权利要求 1至 5任一项所述的检测网络多播性能的实现方法, 其特征在于, 所述的测量多播性能参数的处理包括- 在预定的时间内, 测试发起点接收所述的性能测量响应报文, 并根据接收报文中的 标识信息测量多播性能参数。  The method for detecting multicast performance of a network according to any one of claims 1 to 5, wherein the processing of measuring the multicast performance parameter comprises: at a predetermined time, the test originating point receiving station The performance measurement response message is described, and the multicast performance parameter is measured according to the identification information in the received message.
7、 根据权利要求 6所述的检测网络多播性能的实现方法, 其特征在于, 在执行所述 的测量多播性能参数处理之前还包括:  The method for detecting network multicast performance according to claim 6, wherein before performing the measuring multicast performance parameter processing, the method further comprises:
在测试多播请求帧之前, 初始化帧丢失值和 /或帧延迟值。  The frame loss value and/or the frame delay value are initialized before testing the multicast request frame.
8、 根据权利要求 7所述的检测网络多播性能的实现方法, 其特征在于, 所述的帧丢 失值包括: 最小帧丢失值、 最大帧丢失值和 /或总的帧丢失值, 以及组播组大小的值; 和 /或, .  8. The method for detecting network multicast performance according to claim 7, wherein the frame loss value comprises: a minimum frame loss value, a maximum frame loss value, and/or a total frame loss value, and a group. The value of the broadcast group size; and / or, .
所述的帧延迟值包括: 最小帧延迟值、 最大帧延迟值和 /或总的帧延迟值, 以及组 播组大小的值。  The frame delay value includes: a minimum frame delay value, a maximum frame delay value, and/or a total frame delay value, and a value of a multicast group size.
9、 根据权利要求 8所述的检测网络多播性能的实现方法, 其特征在于, 所述的测量 多播性能参数的处理具体包括- 当进行帧丢失测量时, 测试发起点在预定的时间内, 根据连续接收的同一标识信息 的两个多播响应帧中的前向发送帧计数器值和前向接收帧计数器值计算帧丢失值, 并根 据该帧丢失值更新最小帧丢失值、 最大帧丢失值和 /或总的帧丢失值以及组播组大小的 值;  The method for detecting network multicast performance according to claim 8, wherein the processing of measuring the multicast performance parameter specifically includes: when performing frame loss measurement, the test initiation point is within a predetermined time Calculating a frame loss value according to a forward transmission frame counter value and a forward reception frame counter value in two multicast response frames of the same identification information continuously received, and updating a minimum frame loss value and a maximum frame loss according to the frame loss value Value and/or total frame loss value and value of multicast group size;
和 /或,  and / or,
当进行帧延迟测量时,测试发起点在预定的时间内,根据接收到多播响应帧的时间, 以及多播响应帧中的前向发送时间戳信息、前向接收时间戳信息和反向发送时间戳信息 计算帧延迟值, 并根据该帧延迟值更新最小帧 迟值、 最大帧延迟值和 /或总的帧延迟 值以及组播组大小的值。  When performing frame delay measurement, the test initiation point is based on the time when the multicast response frame is received, and the forward transmission timestamp information, the forward reception timestamp information, and the reverse transmission in the multicast response frame within a predetermined time. The timestamp information calculates a frame delay value and updates a minimum frame delay value, a maximum frame delay value, and/or a total frame delay value and a value of the multicast group size based on the frame delay value.
10、 根据权利要求 9所述的检测网络多播性能的实现方法, 其特征在于, 所述的计 算帧丢失值, 并根据该帧丢失值更新最小帧丢失值、 最大帧丟失值和 /或总的帧丢失值 以及组播组大小的值的处理包括: 帧丢失值等于连续接收的同一标识信息的两个多播响应帧中的前向发送帧计数器 值的差值减去两个多播响应帧中的前向接收帧计数器值的差值, 并且: 10. The method for detecting network multicast performance according to claim 9, wherein the calculating a frame loss value, and updating a minimum frame loss value, a maximum frame loss value, and/or a total according to the frame loss value. The processing of the frame loss value and the value of the multicast group size includes: The frame loss value is equal to the difference of the forward transmission frame counter values in the two multicast response frames of the same identification information continuously received minus the difference of the forward reception frame counter values in the two multicast response frames, and:
当所述的帧丢失值小于最小帧丢失值时, 将最小帧丢失值更新为该帧丢失值; 和 /或,  When the frame loss value is less than the minimum frame loss value, updating the minimum frame loss value to the frame loss value; and/or,
当所述的帧丢失值大于最大帧丢失值时, 将最大帧丢失值更新为该帧丢失值; 和 /或,  When the frame loss value is greater than the maximum frame loss value, updating the maximum frame loss value to the frame loss value; and/or,
总的帧丢失值等于当前的总的帧丢失值与所述帧丢失值的和,且组播组大小的值需 要加一。  The total frame loss value is equal to the sum of the current total frame loss value and the frame loss value, and the value of the multicast group size needs to be increased by one.
11、 根据权利要求 9所述的检测网络多播性能的实现方法, 其特征在于, 所述的计 算帧延迟值, 并根据该帧延迟值更新最小帧延迟值、 最大帧延迟值和 /或总的帧延迟值 以及组播组大小的值的处理包括:  11. The method for detecting network multicast performance according to claim 9, wherein the calculating a frame delay value, and updating a minimum frame delay value, a maximum frame delay value, and/or a total according to the frame delay value. The processing of the frame delay value and the value of the multicast group size includes:
帧延迟值等于接收多播响应帧的时间与前向发送时间戳信息的差值减去前向接收 时间戳信息与反向发送时间戳信息的差值, 并且- 当所述的帧延迟值小于最小帧延迟值时, 则将所述帧延迟值作为最小帧延迟值; 和 /或,  The frame delay value is equal to the difference between the time of receiving the multicast response frame and the forward transmission timestamp information minus the difference between the forward reception timestamp information and the reverse transmission timestamp information, and - when the frame delay value is less than When the minimum frame delay value is used, the frame delay value is taken as the minimum frame delay value; and/or,
当所述的帧延迟值大于最大帧延迟值时, 则将所述的帧延迟值作为最大帧延迟值; 和 /或,  When the frame delay value is greater than the maximum frame delay value, the frame delay value is taken as the maximum frame delay value; and/or,
总的帧延迟值等于当前的总的帧延迟值与所述帧延迟值的和,且将组播组大小的值 加一。  The total frame delay value is equal to the sum of the current total frame delay value and the frame delay value, and the value of the multicast group size is incremented by one.
12、 根据权利要求 1至 5任一项所述的检测网络多播性能的实现方法, 其特征在于, 所述的确定所述的性能测量响应报文中的标识信息与所述的测量请求报文中包含的标 识信息一致的处理包括:  The method for detecting network multicast performance according to any one of claims 1 to 5, wherein the determining the identification information in the performance measurement response message and the measurement request report The consistent processing of the identification information contained in the text includes:
若所述的性能测量响应报文中的标识信息与保存的有效标识信息是否一致,则确定 该性能测量响应报文中的标识信息与所述的测量请求报文中包含的标识信息一致。  And if the identifier information in the performance measurement response packet is consistent with the saved valid identifier information, determining that the identifier information in the performance measurement response packet is consistent with the identifier information included in the measurement request packet.
13、 一种检测网络多播性能的系统, 其特征在于, 包括:  13. A system for detecting network multicast performance, characterized in that:
标识报文发送处理单元, 设置于测试发起点中, 用于构造并发送包含标识信息的多 播性能测量请求报文;  An identifier packet sending processing unit is configured to be configured in a test initiation point, configured to construct and send a multicast performance measurement request packet that includes the identifier information;
标识报文响应处理单元, 设置于接收所述多播性能测量报文的各节点中, 用于分别 向测试发起点发送包含所述标识信息的性能测量响应报文;  The identifier message response processing unit is configured to send, in each node that receives the multicast performance measurement message, a performance measurement response message that includes the identifier information to the test initiation point, respectively;
判断处理单元, 设置于测试发起点中, 用于在接收所述的多播响应报文后, 判断接 收的多播响应报文中的标识信息是否与保存的有效的标识信息一致, 且当一致时, 触发 所述的多播性能检测单元; a determining processing unit, configured to be in a test initiation point, configured to determine, after receiving the multicast response message, Whether the identifier information in the received multicast response packet is consistent with the saved valid identifier information, and when they are consistent, triggering the multicast performance detecting unit;
多播性能检测单元, 设置于测试发起点中, 用于根据接收到的所述的性能测量响应 报文实现多播性能参数的测量。  The multicast performance detecting unit is configured to be used in the test initiation point, and is configured to implement measurement of the multicast performance parameter according to the received performance measurement response message.
14、 根据权利要求 13所述的检测网络多播性能的系统, 其特征在于, 所述的标识报 文发送处理单元包括:  The system for detecting network multicast performance according to claim 13, wherein the identifier message sending and processing unit comprises:
帧丢失测量用标识报文发送处理单元, 用于在测试发起点构建采用多播 MAC地址的 多播请求帧, 并在所述的请求帧中包含多播帧丢失测量请求操作码、前向发送帧计数器 值信息及标识信息;  The frame loss measurement identification message transmission processing unit is configured to construct a multicast request frame using a multicast MAC address at the test initiation point, and include a multicast frame loss measurement request operation code and a forward transmission in the request frame. Frame counter value information and identification information;
和 /或,  and / or,
帧延迟测量用标识报文发送处理单元, 用于在测试发起点构建采用多播 MAC地址的 多播请求帧, 并在所述的请求帧中包含多播帧延迟测量请求操作码、,前向发送时间戳信 息及标识信息。  The frame delay measurement identifier sending message processing unit is configured to construct a multicast request frame using a multicast MAC address at the test origination point, and include a multicast frame delay measurement request operation code in the request frame, and forward direction Send timestamp information and identification information.
15、 根据权利要求 14所述的检测网络多播性能的系统, 其特征在于, 所述的标识报 文响应处理单元包括:  The system for detecting network multicast performance according to claim 14, wherein the identification message response processing unit comprises:
帧丢失测量用标识报文响应处理单元, 用于在接收多播请求的节点构建多播响应 帧, 在响应帧中包含所述标识信息、 多播帧丢失测量响应操作码、 请求帧中的前向发送 帧计数器值信息及接收节点的前向接收帧计数器值信息, 并在延迟预定的随机延迟时间 后发送该多播响应帧;  The frame loss measurement identification message response processing unit is configured to construct a multicast response frame in the node that receives the multicast request, and include the identifier information, the multicast frame loss measurement response operation code, and the front of the request frame in the response frame. Sending frame counter value information and forward receiving frame counter value information of the receiving node, and transmitting the multicast response frame after delaying a predetermined random delay time;
禾口 /或,  Wohe / or,
帧延迟测量用标识报文响应处理单元, 用于在接收多播请求的节点构建多播响应 帧, 在响应帧中包含所述标识信息、 多播帧延迟测量响应操作码、 请求帧中的前向发送 时间戳信息, 并发送; 或者, 用于在接收多播请求的节点构建多播响应帧, 在响应帧中 包含所述标识信息、 多播帧延迟测量响应操作码、请求帧中的前向发送时间戳信息及接 收节点的前向接收时间戳信息, 并在延迟预定的随机延迟时间后, 将接收节点的后向发 送时间戳写入多播响应帧中发送。  The frame delay measurement identifier packet response processing unit is configured to construct a multicast response frame in the node that receives the multicast request, and include the identifier information, the multicast frame delay measurement response operation code, and the front of the request frame in the response frame. Transmitting timestamp information and transmitting; or, for constructing a multicast response frame in a node that receives the multicast request, including the identification information, the multicast frame delay measurement response operation code, and the front of the request frame in the response frame Sending timestamp information and receiving forward timestamp information of the receiving node, and delaying the predetermined random delay time, sending the backward sending timestamp of the receiving node to the multicast response frame for transmission.
16、 根据权利要求 13、 14或 15所述的检测网络多播性能的系统, 其特征在于, 所述 的多播性能检测单元具体包括:  The system for detecting network multicast performance according to claim 13, 14 or 15, wherein the multicast performance detecting unit specifically includes:
帧丢失测量处理单元, 设置于测试发起点中, 用于在预定的时间内, 根据连续接收 的同一标识信息的两个多播响应帧中的前向发送帧计数器值和前向接收帧计数器值计 算帧丢失值, 并根据该帧丢失值更新最小帧丢失值、 最大帧丢失值和 /或总的帧丢失值 以及组播组大小的值; a frame loss measurement processing unit, configured in the test initiation point, for forward transmission frame counter value and forward reception frame counter value in two multicast response frames according to the same identification information continuously received within a predetermined time Count Calculating a frame loss value, and updating a minimum frame loss value, a maximum frame loss value, and/or a total frame loss value and a value of the multicast group size according to the frame loss value;
和 /或,  and / or,
帧延迟测量处理单元, 设置于测试发起点中, 用于在预定的时间内, 根据接收到多 播响应帧的时间, 以及多播响应帧中的前向发送时间戳信息、 前向接收时间戳信息和反 向发送时间戳信息计算帧延迟值, 并根据该帧延迟值更新最小帧延迟值、 最大帧延迟值 和 /或总的帧延迟值以及组播组大小的值。  a frame delay measurement processing unit is disposed in the test initiation point, configured to, according to a time when the multicast response frame is received, and forward transmit timestamp information, forward receive timestamp in the multicast response frame, within a predetermined time The information and the reverse transmission timestamp information calculate a frame delay value, and update a minimum frame delay value, a maximum frame delay value, and/or a total frame delay value and a value of the multicast group size according to the frame delay value.
PCT/CN2006/002255 2005-12-29 2006-09-01 A method and system for detecting the ethernet multicast performance WO2007073648A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200510135298.8 2005-12-29
CN2005101352988A CN1992651B (en) 2005-12-29 2005-12-29 Implementation method for detecting multicast performance of Ethernet

Publications (1)

Publication Number Publication Date
WO2007073648A1 true WO2007073648A1 (en) 2007-07-05

Family

ID=38214612

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2006/002255 WO2007073648A1 (en) 2005-12-29 2006-09-01 A method and system for detecting the ethernet multicast performance

Country Status (2)

Country Link
CN (1) CN1992651B (en)
WO (1) WO2007073648A1 (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101237345B (en) * 2007-12-04 2010-09-08 奇瑞汽车股份有限公司 A network management method for CAN bus
CN101521607B (en) * 2009-04-13 2012-01-04 重庆中天重邮通信技术有限公司 Method and device for testing Ethernet network performance
CN102037683A (en) * 2009-04-14 2011-04-27 华为技术有限公司 Ip network performance measurement method, apparatus and system
CN101577638B (en) * 2009-06-04 2011-07-13 中兴通讯股份有限公司 Method for testing Ethernet OAM based on telecom network management system and device
CN102055598A (en) * 2009-11-11 2011-05-11 中兴通讯股份有限公司 Method and system for realizing point-to-multipoint OAM of 802.3ah protocol
CN102256291A (en) * 2011-07-11 2011-11-23 福建星网锐捷网络有限公司 Wireless access device detection method and system
CN102271067B (en) * 2011-08-30 2017-08-11 南京中兴新软件有限责任公司 Network detecting method, apparatus and system
US9369359B2 (en) * 2011-09-20 2016-06-14 Nec Corporation Diagnostic system
CN102651702A (en) * 2012-05-09 2012-08-29 华为技术有限公司 Ethernet performance measurement method and equipment
CN103546303A (en) * 2012-07-09 2014-01-29 中兴通讯股份有限公司 Lost frame measuring method and system
CN110971477B (en) * 2018-09-29 2022-03-29 华为技术有限公司 Communication method, device, system and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001088734A1 (en) * 2000-05-17 2001-11-22 Mci Worldcom, Inc. Method and apparatus for multicast performance measurement
US20030233448A1 (en) * 2002-06-14 2003-12-18 Jie Zhu Method and apparatus for measuring multi-connection performance of a server

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1211842A1 (en) * 2000-11-30 2002-06-05 BRITISH TELECOMMUNICATIONS public limited company Network management apparatus
US7924725B2 (en) * 2003-11-10 2011-04-12 Nortel Networks Limited Ethernet OAM performance management

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001088734A1 (en) * 2000-05-17 2001-11-22 Mci Worldcom, Inc. Method and apparatus for multicast performance measurement
US20030233448A1 (en) * 2002-06-14 2003-12-18 Jie Zhu Method and apparatus for measuring multi-connection performance of a server

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
SU X. ET AL.: "A Rate-based Multicast Congestion Control Algorithm and Its Performance Analysis", ACTA ELECTRONICA SINICA, vol. 32, no. 2, February 2004 (2004-02-01), pages 330 - 334, XP008083001 *
YANG N.: "A method of performance measurements of 802.3 LAN", JOURNAL OF SHANGHAI NORMAL UNIVERSITY (NATURAL SCIENCES), vol. 33, no. 4, December 2004 (2004-12-01), pages 46 - 50, XP008083002 *

Also Published As

Publication number Publication date
CN1992651A (en) 2007-07-04
CN1992651B (en) 2010-12-01

Similar Documents

Publication Publication Date Title
WO2007073648A1 (en) A method and system for detecting the ethernet multicast performance
TWI528755B (en) A controller for delay measurement, a delay measurement system and a delay measurement method in sdn
US7924725B2 (en) Ethernet OAM performance management
US20050099954A1 (en) Ethernet OAM network topography discovery
US20050099951A1 (en) Ethernet OAM fault detection and verification
US20050099949A1 (en) Ethernet OAM domains and ethernet OAM frame format
CN106465159B (en) MBMS bearing fault management method, network node and fault manager
US20050099955A1 (en) Ethernet OAM fault isolation
WO2011079702A1 (en) Method, device and router for packet loss detection
CN101984587B (en) Method, system and device for detecting connectivity of two points of multicast forwarding tree
WO2008037203A1 (en) Method and node device for realizing the network topology discovery
WO2010111956A1 (en) Method and system for multicast-forwarding-path convergence
WO2016150105A1 (en) Fault location method, device and system for ethernet link
CN102647312B (en) A kind of detection method of whole net multicast topology and device
US11139995B2 (en) Methods and router devices for verifying a multicast datapath
CN102075422A (en) Multicast management method and two-layer equipment
WO2016062165A1 (en) Method and apparatus for implementing operations, administration and maintenance function
WO2013166811A1 (en) Method and apparatus for ethernet performance measurement
CN101674199A (en) Method for realizing switching during network fault and finders
WO2015149353A1 (en) Oam packet processing method, network device and network system
WO2011020361A1 (en) Method for administrating optical access nodes and optical access node thereof
CN102185776B (en) The method of Ethernet Layer 2 Multicast Fast Convergent and Ethernet system
CN105897580B (en) A kind of unrelated forwarding network quick fault testing of agreement and traffic protection switching method
US20120057497A1 (en) Method, apparatus, and system for measuring network performance
WO2016131359A1 (en) Multicast line switching method and device for ring-shaped network

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application
NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 06775572

Country of ref document: EP

Kind code of ref document: A1