[go: up one dir, main page]

CN1992651A - Implementation method for detecting multicast performance of Ethernet - Google Patents

Implementation method for detecting multicast performance of Ethernet Download PDF

Info

Publication number
CN1992651A
CN1992651A CNA2005101352988A CN200510135298A CN1992651A CN 1992651 A CN1992651 A CN 1992651A CN A2005101352988 A CNA2005101352988 A CN A2005101352988A CN 200510135298 A CN200510135298 A CN 200510135298A CN 1992651 A CN1992651 A CN 1992651A
Authority
CN
China
Prior art keywords
frame
multicast
value
delay
performance
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CNA2005101352988A
Other languages
Chinese (zh)
Other versions
CN1992651B (en
Inventor
李贺军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN2005101352988A priority Critical patent/CN1992651B/en
Priority to PCT/CN2006/002255 priority patent/WO2007073648A1/en
Publication of CN1992651A publication Critical patent/CN1992651A/en
Application granted granted Critical
Publication of CN1992651B publication Critical patent/CN1992651B/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

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

Landscapes

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

Abstract

本发明涉及一种检测网络多播性能的实现方法。本发明主要包括:首先,在测试发起点构造并发送包含标识信息的多播性能测量请求报文;然后,在接收所述多播性能测量报文的各节点分别向测试发起点发送包含所述标识信息的性能测量响应报文;最后,在预定的时间内,测试发起点接收所述的性能测量响应报文,并根据接收报文中的标识信息测量多播性能参数。本发明对Y.17ethoam所定义的OAM帧格式改动较小,且本发明在实现过程中,在发送点和接收点的处理流程较为简单,并采用了基于原有单播性能测量的计算方法进行多播性能测量的计算方法。因此,本发明可以在以太网OAM中很好的实现P2MP多播性能参数测量,从而辅助OAM提供更为全面的网络性能评估。

Figure 200510135298

The invention relates to a method for realizing network multicast performance detection. The present invention mainly includes: first, constructing and sending a multicast performance measurement request message containing identification information at the test initiation point; then, each node receiving the multicast performance measurement message sends the A performance measurement response message with identification information; finally, within a predetermined time, the test initiation point receives the performance measurement response message, and measures the multicast performance parameter according to the identification information in the received message. The present invention has little changes to the OAM frame format defined by Y.17ethoam, and in the implementation process of the present invention, the processing flow at the sending point and the receiving point is relatively simple, and the calculation method based on the original unicast performance measurement is adopted to perform Calculation method for multicast performance measurement. Therefore, the present invention can well realize P2MP multicast performance parameter measurement in Ethernet OAM, thereby assisting OAM to provide more comprehensive network performance evaluation.

Figure 200510135298

Description

检测以太网多播性能的实现方法Realization Method of Detecting Ethernet Multicast Performance

技术领域technical field

本发明涉及网络通信技术领域,尤其涉及一种以太网OAM(操作管理和维护)中的多播性能检测技术。The invention relates to the technical field of network communication, in particular to a multicast performance detection technology in Ethernet OAM (operation management and maintenance).

背景技术Background technique

随着网络通信技术的发展,Ethernet(以太网)技术凭借其高性价比的优势逐渐由局域网向城域网发展,其端口速率也从10M发展到10G。在以太网向城域网发展的过程中,要求Ethernet技术必须满足电信级网络要求。其中,OAM便是电信级网络对各种技术的基本要求。相应的OAM主要包括网络故障管理机制和网络性能管理机制。With the development of network communication technology, Ethernet (Ethernet) technology gradually develops from local area network to metropolitan area network with its high cost performance advantage, and its port rate also develops from 10M to 10G. In the process of the development of Ethernet to the metropolitan area network, it is required that the Ethernet technology must meet the carrier-class network requirements. Among them, OAM is the basic requirement of carrier-class network for various technologies. The corresponding OAM mainly includes a network fault management mechanism and a network performance management mechanism.

目前,针对ETH网络的故障/性能管理机制包括:Currently, fault/performance management mechanisms for the ETH network include:

基于ETH-CC(以太网连接性检查)连续性检测功能,用于检测ETHMEP之间连通性;Based on the ETH-CC (Ethernet Connectivity Check) continuity detection function, it is used to detect the connectivity between ETHMEPs;

基于ETH-LB(以太网环回)环回功能,用于MEP(维护域端点)和MIP(维护域中间节点)/MEP之间连通性检测,以及性能参数中的帧延迟和帧延迟抖动测量;Based on the ETH-LB (Ethernet Loopback) loopback function, it is used for connectivity detection between MEP (maintenance domain endpoint) and MIP (maintenance domain intermediate node)/MEP, as well as 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), used 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 delay in performance parameters.

在Y.17ethoam(Y.17以太网OAM)故障管理功能中,ETH-CC和ETH-LB功能可以以多播方式实现,但ETH-LT功能的多播实现难度较大,因而,目前还没有定义多播的ETH-LT。In the Y.17ethoam (Y.17 Ethernet OAM) 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. Therefore, there is no Define multicast ETH-LT.

而且,在Y.17ethoam性能管理功能中,FLR(帧丢失率)、FD(帧延迟)和FDV(帧延迟抖动)等网络性能参数的定义和测量都是基于单播点对点(Point to Point,P2P)的,对于多播的性能参数和测量尚无法实现。Moreover, in the Y.17ethoam 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 all based on unicast point-to-point (Point to Point, P2P ), performance parameters and measurements for multicast are not yet available.

随着以太网技术的发展,某些类型的以太网(如IEEE 802.3)所固有的适合组播的优点,使得基于以太网的多播业务将逐渐广泛应用于以太网中,为此,需要进行以太网组播性能参数的测量以衡量以太网的多播性能。With the development of Ethernet technology, some types of Ethernet (such as IEEE 802.3) are inherently suitable for multicast, so that Ethernet-based multicast services will gradually be widely used in Ethernet. For this reason, it is necessary to carry out Measurement of Ethernet multicast performance parameters to measure the multicast performance of Ethernet.

在MEF10-Ethernet Service Attribute(城域以太网论坛10-以太网业务属性)的Draft4(草案4)中,定义了多点之间的性能参数,具体表示为一个向量,向量的每一个元素表示多点组中某一对节点之间的性能参数。In Draft4 (Draft 4) of MEF10-Ethernet Service Attribute (Metropolitan Ethernet Forum 10-Ethernet Service Attribute), the performance parameters between multiple points are defined, specifically expressed as a vector, and each element of the vector represents multiple A performance parameter between a pair of nodes in a peer group.

目前,还有一种采用多条单播路径的性能参数的集合表示多点之间的性能参数的实现方法。At present, there is another implementation method that uses a set of performance parameters of multiple unicast paths to represent performance parameters between multiple points.

例如,假设网络中有3个节点,a、b和c,则在多点网络中的多点之间的网络性能参数以向量表示为:For example, assuming that there are 3 nodes in the network, a, b and c, then the network performance parameters between multiple points in the multi-point network are expressed as 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)} represents 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)} represents the frame delay variation performance between multiple points of the network.

当然,当网络中节点很多时,向量的元素也将大大增加,此时,不可能保存所有的元素,作为OAM,只需要其中的最大值、最小值和平均值即可,即,因此,对应的网络性能参数可以表示为:Of course, when there are many nodes in the network, the elements of the vector will also increase greatly. At this time, it is impossible to save all the elements. As OAM, only the maximum value, minimum value and average value are needed, that is, therefore, the corresponding The network performance parameters of can be expressed as:

(1)FLR{Ma×(最大值),Min(最小值),Average(平均值)},多点之间帧丢失参数;(1) FLR{Ma×(maximum value), Min(minimum value), Average(average value)}, frame loss parameter between multiple points;

(2)FD(Max,Min,Average),多点之间帧延迟参数;(2) FD (Max, Min, Average), the frame delay parameter between multiple points;

(3)FDV(Max,Min,Average),多点之间帧变化参数。(3) FDV (Max, Min, Average), frame variation parameters between multiple points.

总之,目前已经存在多点之间网络性能参数定义,但是,相应的多点之间的性能参数是基于多条两点之间的单播性能参数所作出的定义,因而,基于该定义检测获得的网络性能参数也就对应着相应的单播网络性能参数。In a word, there is already a definition of network performance parameters between multiple points at present, but the corresponding performance parameters between multiple points are defined based on multiple unicast performance parameters between two points. Therefore, based on this definition, the obtained The network performance parameters corresponding to the corresponding unicast network performance parameters.

但是,由于在OAM平面上收集所有两点之间的网络性能参数值是非常困难的,因此,在OAM平面上其实根本无法检测获得上述基于单点之间定义的多点之间的网络性能参数。However, since it is very difficult to collect the network performance parameter values between all two points on the OAM plane, it is actually impossible to detect and obtain the above-mentioned network performance parameters between multiple points based on the definition between single points on the OAM plane .

另外,如图1所示,由于P2MP的组播路径与其各条单播路径并不一定相同;而且,单播通信要完成组播通信的功能必须一条一条的轮流复制通信流量,而组播通信则由于在组播上游,流量可能只发送一份,仅仅在分叉点上才复制流量,使得组播通信相对来说会利用更少的网络资源。因此,直接使用组播通信和利用多条单播路径的单播通信构造出来的组播通信时效性也不一样。这就使得对于P2MP(点到多点)组播通信的特定环境,根本不适合采用点到多点的多条单播路径的单播网络性能参数去衡量P2MP组播通信的网络通信性能。In addition, as shown in Figure 1, since the multicast path of P2MP is not necessarily the same as its various unicast paths; moreover, to complete the function of multicast communication in unicast communication, the communication traffic must be copied one by one in turn, while multicast communication However, because in the upstream of the multicast, only one copy of the traffic may be sent, and the traffic is only copied at the fork point, so that the multicast communication will relatively use less network resources. Therefore, the timeliness of multicast communication constructed directly using multicast communication and unicast communication using multiple unicast paths is also different. This makes it unsuitable for the specific environment of P2MP (point-to-multipoint) multicast communication to use the unicast network performance parameters of multiple point-to-multipoint unicast paths to measure the network communication performance of P2MP multicast communication.

因此,P2MP多播通信的性能参数的定义和测量必须基于多播路径实现。但是,目前还没有一种可行的基于多播的网络性能参数检测方法。Therefore, the definition and measurement of performance parameters of P2MP multicast communication must be realized based on multicast paths. However, there is no feasible method for detecting network performance parameters based on multicast at present.

发明内容Contents of the invention

本发明的目的是提供一种检测以太网多播性能的实现方法,从而可以有效检测确定以太网中点到多点的多播网络性能参数,辅助以太网OAM提供全面的网络性能评估。The purpose of the present invention is to provide a method for detecting Ethernet multicast performance, thereby effectively detecting and determining the performance parameters of point-to-multipoint multicast networks in Ethernet, and assisting Ethernet OAM to provide comprehensive network performance evaluation.

本发明的目的是通过以下技术方案实现的:The purpose of the present invention is achieved through the following technical solutions:

本发明提供了一种检测网络多播性能的实现方法,包括:The invention provides a method for detecting network multicast performance, including:

A、在测试发起点构造并发送包含标识信息的多播性能测量请求报文;A. Construct and send a multicast performance measurement request message containing identification information at the test initiation point;

B、接收所述多播性能测量报文的各节点分别向测试发起点发送包含所述标识信息的性能测量响应报文;B. Each node receiving the multicast performance measurement message sends a performance measurement response message including the identification information to the test initiation point respectively;

C、测试发起点接收所述的性能测量响应报文,并根据接收报文中的标识信息测量多播性能参数。C. The test initiation point receives the performance measurement response message, and measures the multicast performance parameter according to the identification information in the received message.

所述的步骤A包括:Described step A comprises:

当实现以太网操作管理和维护OAM时,在测试发起点构造并发送采用多播媒体接入控制MAC地址的多播请求帧,所述请求帧中承载着多播性能测量操作码信息及相应的标识信息。When implementing Ethernet operation management and OAM maintenance, a multicast request frame using a multicast media access control MAC address is constructed and sent at the test initiation point, and the request frame carries multicast performance measurement operation code information and corresponding Identification information.

所述的步骤A包括:Described step A comprises:

A1、当进行帧丢失测量时,在测试发起点构建采用多播MAC地址的多播请求帧,并在所述的请求帧中包含多播帧丢失测量请求操作码、前向发送帧计数器值信息及标识信息;A1. When performing frame loss measurement, build a multicast request frame using a multicast MAC address at the test initiation point, and include the multicast frame loss measurement request opcode and forward frame counter value information in the request frame and identification information;

和/或,and / or,

A2、当进行帧延迟测量时,在测试发起点构建采用多播MAC地址的多播请求帧,并在所述的请求帧中包含多播帧延迟测量请求操作码、前向发送时间戳信息及标识信息。A2. When performing frame delay measurement, build a multicast request frame using a multicast MAC address at the test initiation point, and include the multicast frame delay measurement request opcode, forward sending timestamp information and Identification information.

所述的标识信息包括:The identification information includes:

以太网OAM报文中的传输标识Transaction ID。Transaction ID in the Ethernet OAM packet.

所述的步骤B包括:Described step B comprises:

B1、当进行帧丢失测量时,在接收多播请求的节点构建多播响应帧,在响应帧中包含所述标识信息、多播帧丢失测量响应操作码、请求帧中的前向发送帧计数器值信息及接收节点的前向接收帧计数器值信息,并在延迟预定的随机延迟时间后发送该多播响应帧;B1. When performing frame loss measurement, construct a multicast response frame at the node receiving the multicast request, and include the identification information, the multicast frame loss measurement response opcode, and the forward sending frame counter in the request frame in the response frame value information and the forward receiving frame counter value information of the receiving node, and send the multicast response frame after delaying a predetermined random delay time;

和/或,and / or,

B2、当进行帧延迟测量时,在接收多播请求的节点构建多播响应帧,在响应帧中包含所述标识信息、多播帧延迟测量响应操作码、请求帧中的前向发送时间戳信息并发送。B2. When performing frame delay measurement, construct a multicast response frame at the node receiving the multicast request, and include the identification information, the multicast frame delay measurement response opcode, and the forward transmission time stamp in the request frame in the response frame information and send it.

所述的步骤B2具体包括:Described step B2 specifically comprises:

当进行帧延迟测量时,在接收多播请求的节点构建多播响应帧,在响应帧中包含所述标识信息、多播帧延迟测量响应操作码、请求帧中的前向发送时间戳信息及接收节点的前向接收时间戳信息,并在延迟预定的随机延迟时间后,将接收节点的后向发送时间戳写入多播响应帧中,并发送。When frame delay measurement is performed, a multicast response frame is constructed at the node receiving the multicast request, and the response frame includes the identification information, the multicast frame delay measurement response opcode, the forward sending timestamp information in the request frame, and The receiving node forwardly receives the time stamp information, and after delaying for a predetermined random delay time, writes the backward sending time stamp of the receiving node into the multicast response frame and sends it.

所述的步骤C包括:Described step C comprises:

在预定的时间内,测试发起点接收所述的性能测量响应报文,并根据接收报文中的标识信息测量多播性能参数。Within a predetermined time, the test initiation point receives the performance measurement response message, and measures the multicast performance parameter according to the identification information in the received message.

所述的步骤C前还包括:Also include before described step C:

在测试多播请求帧之前,初始化帧丢失值和/或帧延迟值。Before testing multicast request frames, initialize the frame loss value and/or frame delay value.

所述的帧丢失值包括:最小帧丢失值、最大帧丢失值和/或总的帧丢失值,以及组播组大小的值;The frame loss value includes: the minimum frame loss value, the maximum frame loss value and/or the total frame loss value, and the value of the multicast group size;

和/或,and / or,

所述的帧延迟值包括:最小帧延迟值、最大帧延迟值和/或总的帧延迟值,以及组播组大小的值。The frame delay value includes: 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.

所述的步骤C具体包括:Described step C specifically comprises:

C1、当进行帧丢失测量时,测试发起点在预定的时间内,根据连续接收的同一标识信息的两个多播响应帧中的前向发送帧计数器值和前向接收帧计数器值计算帧丢失值,并根据该帧丢失值更新最小帧丢失值、最大帧丢失值和/或总的帧丢失值以及组播组大小的值;C1. When performing frame loss measurement, the test initiation point calculates the frame loss according to the forward sending frame counter value and the forward receiving frame counter value in two multicast response frames of the same identification information received continuously within a predetermined time value, and update the minimum frame loss value, the maximum frame loss value and/or the total frame loss value and the value of the multicast group size according to the frame loss value;

和/或,and / or,

C2、当进行帧延迟测量时,测试发起点在预定的时间内,根据接收到多播响应帧的时间,以及多播响应帧中的前向发送时间戳信息、前向接收时间戳信息和反向发送时间戳信息计算帧延迟值,并根据该帧延迟值更新最小帧延迟值、最大帧延迟值和/或总的帧延迟值以及组播组大小的值。C2. When performing frame delay measurement, the test initiation point is within the predetermined time, according to the time of receiving the multicast response frame, as well as the forward sending time stamp information, forward receiving time stamp information and response time stamp information in the multicast response frame The frame delay value is calculated for the sending timestamp information, and 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 are updated according to the frame delay value.

所述的步骤C1包括:Described step C1 comprises:

帧丢失值等于连续接收的同一标识信息的两个多播响应帧中的前向发送帧计数器值的差值减去两个多播响应帧中的前向接收帧计数器值的差值,并且:The frame loss value is equal to the difference in the Forward Sent Frame Counter values in two consecutively received Multicast Response frames of the same identification information minus the difference in the Forward Received Frame Counter values in two Multicast Response frames, and:

当所述的帧丢失值小于最小帧丢失值时,将最小帧丢失值更新为该帧丢失值;When the frame loss value is less than the minimum frame loss value, update 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, update 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.

所述的步骤C2包括:Described step C2 comprises:

帧延迟值等于接收多播响应帧的时间与前向发送时间戳信息的差值减去前向接收时间戳信息与反向发送时间戳信息的差值,并且:The frame delay value is equal to the difference between the time of receiving the multicast response frame and the forward sending timestamp information minus the difference between the forward receiving timestamp information and the reverse sending timestamp information, and:

当所述的帧延迟值小于最小帧延迟值时,则将所述帧延迟值作为最小帧延迟值;When the frame delay value is less than the minimum frame delay value, the frame delay value is used as the minimum frame delay value;

和/或,and / or,

当所述的帧延迟值大于最大帧延迟值时,则将所述的帧延迟值作为最大帧延迟值;When the frame delay value is greater than the maximum frame delay value, then use the frame delay value 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 one is added to the value of the multicast group size.

本发明中,执行所述的步骤C之前还包括:In the present invention, before performing the step C, it also includes:

C0、测试发起点接收所述的多播响应报文后,当其中的标识信息为正确的标识信息时,则执行步骤C。C0. After the test initiating point receives the multicast response message, if the identification information in it is correct, step C is executed.

所述的步骤C0还包括:Described step C0 also includes:

根据保存的有效的标识信息确定接收的多播响应报文中的标识信息是否正确。Determine whether the identification information in the received multicast response message is correct according to the saved effective identification information.

由上述本发明提供的技术方案可以看出,本发明是以多播路径为基础定义以太网OAM中的多播性能参数,并提供了相应的多播性能参数检测方法。本发明对Y.17ethoam所定义的OAM帧格式改动不大,具体只需要增加4个消息操作码,对于帧延迟测量只要响应帧带回前向接收时间戳和后向发送时间戳,二者之差包含接收点所做的随机延迟即可。It can be seen from the technical solutions provided by the present invention that the present invention defines multicast performance parameters in Ethernet OAM based on multicast paths, and provides a corresponding detection method for multicast performance parameters. The present invention does not make much change to the OAM frame format defined by Y.17ethoam. Specifically, only 4 message opcodes need to be added. For frame delay measurement, as long as the response frame brings back the forward receiving timestamp and the backward sending timestamp, the difference between the two The difference is sufficient to include random delays made by the receiving point.

而且,本发明在实现过程中,在发送点和接收点的处理流程较为简单,且采用的计算方法为基于原有单播性能测量的计算方法。Moreover, in the implementation process of the present invention, the processing flow at the sending point and the receiving point is relatively simple, and the calculation method adopted is a calculation method based on the original unicast performance measurement.

因此,本发明可以在以太网OAM中很好的实现P2MP多播性能参数测量,从而辅助OAM提供更为全面的网络性能评估。Therefore, the present invention can well realize P2MP multicast performance parameter measurement in Ethernet OAM, thereby assisting OAM to provide more comprehensive network performance evaluation.

附图说明Description of drawings

图1a为单播报文传送过程示意图;Figure 1a is a schematic diagram of a unicast packet transmission process;

图1b为多播报文传送过程示意图;Figure 1b is a schematic diagram of a multicast message transmission process;

图2为本发明所述的方法总的具体实现过程示意图;Fig. 2 is a schematic diagram of the overall specific implementation process of the method of the present invention;

图3为本发明所述的方法的具体实现过程一;Fig. 3 is the specific implementation process 1 of the method described in the present invention;

图4为本发明所述的方法的具体实现过程二。Fig. 4 is the specific realization process 2 of the method described in the present invention.

具体实施方式Detailed ways

本发明的核心是基于多播路径定义Ethernet中的P2MP多播性能参数,在Ethernet OAM中提供P2MP多播性能测量支持,从而能够象单播性能参数一样,在OAM平面从帧丢失率、帧延迟、帧延迟变化评估Ethernet的P2MP多播性能。The core of the present invention is to define the P2MP multicast performance parameter in Ethernet based on the multicast path, and provide P2MP multicast performance measurement support in Ethernet OAM, so as to be the same as the unicast performance parameter, in the OAM plane from frame loss rate, frame delay , Frame delay variation to evaluate Ethernet P2MP multicast performance.

为便于对本发明的理解,下面将对本发明的具体实现方式进行说明。In order to facilitate the understanding of the present invention, specific implementations of the present invention will be described below.

本发明在具体实现过程中首先需要对P2MP多播性能参数进行定义,以便于后续过程中可以根据定义的内容进行相应的性能参数的测量;The present invention first needs to define P2MP multicast performance parameters in the specific implementation process, so that the measurement of corresponding performance parameters can be carried out according to the defined content in the subsequent process;

定义P2MP多播性能参数也从帧丢失、帧延迟和帧延迟变化三个方面实现。所述的P2MP多播性能参数是基于组播路径的性能参数,即相应的OAM的目的地址必须是组播地址,在定义过程中需要考虑组播组的大小Z,同时,还需要考虑测量的等待时间T。相应的每条组播路径的性能参数包括:各性能参数的Max(最大)、Min(最小)以及Average(平均)值情况,在实际测量各性能参数过程中可以根据需要测量相应的Max、Min以及Average中的任一项或多项。Defining P2MP multicast performance parameters is also implemented from three aspects: 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 OAM must be a multicast address, and the size Z of the multicast group needs to be considered in the definition process, and at the same time, the measured Waiting time T. The corresponding performance parameters of each multicast path include: the Max (maximum), Min (minimum) and Average (average) values of each performance parameter. In the process of actually measuring each performance parameter, the corresponding Max, Min and any one or more of Average.

对于组播路径的性能参数,只有点到多点即点到组播组方向的参数值有意义,而反方向则因为其实质为单播方式而并不意义。但是,在测量时,通常可以使用two-way(双向)方式测量,即可能计算过程中包含了反方向的测量值,但这对组播性能评估并无大的影响。For the performance parameters of the multicast path, only the point-to-multipoint point-to-multicast group direction is meaningful, while the opposite direction is meaningless because it is essentially a unicast mode. However, during measurement, a two-way (two-way) method can usually be used for measurement, that is, measurement values in the opposite direction may be included in the calculation process, but this has no great impact on multicast performance evaluation.

本发明中定义的P2MP多播性能参数具体如下:The P2MP multicast performance parameter defined in the present invention is specifically as follows:

(1)P2MP-FLR,定义为P2MP各条多播路径FLR的(Max,Min,Average)Z,T(1) P2MP-FLR, defined as (Max, Min, Average) Z, T of each multicast path FLR of P2MP;

(2)P2MP-FD,定义为P2MP各条多播路径FD的(Max,Min,Average)Z,T(2) P2MP-FD is defined as (Max, Min, Average) Z, T of each multicast path FD of P2MP;

(3)P2MP-FDV,定义为P2MP各条多播路径FDV的(Max,Min,Average)Z,T(3) P2MP-FDV is defined as (Max, Min, Average) Z, T of each multicast path FDV of P2MP;

在上述各性能参数中,下标Z表示组播组大小,具体表示的是实时测量时所体现的组播组大小,即多播路径的条数,本发明中假设组播组大小是不可预知的,因此,对于two-way方式的测量,由测量发起点设置等待时间经验值T,如果回复报文都在T时间内到达,测量有效,如果超过等待时间T仍然能收到测量回复报文,则发出告警,具体是用OAM报文中的TransactionID(传输标识)实现的。Among the above-mentioned performance parameters, the subscript Z represents the size of the multicast group, which specifically represents the size of the multicast group embodied in real-time measurement, i.e. the number of multicast paths. In the present invention, it is assumed that the size of the multicast group is unpredictable Therefore, for two-way measurement, the measurement initiation point sets the waiting time experience value T, if the reply message arrives within T time, the measurement is valid, and if the waiting time T is exceeded, the measurement reply message can still be received , an alarm is issued, which is specifically realized by using the TransactionID (transmission identification) in the OAM message.

假如OAM功能实现在硬件中,Average的计算可能需要除法,这对于硬件来说非常困难,因此,可以用{Max,Min,Total(测量值的和)}Z,T来表示,其中Total表示各个多播路径性能参数测量值之和,这种表示方式与前面描述的表示方式的含义基本相同。此时,Total的存储空间必须足够大,通常需要64bit。If the OAM function is implemented in hardware, the calculation of Average may require division, which is very difficult for hardware. Therefore, it can be represented by {Max, Min, Total (sum of measured values)} Z, T , where Total represents each The sum of the measured values of the performance parameters of the multicast path. This expression has basically the same meaning as the expression described above. At this time, the storage space of Total must be large enough, usually 64bit.

基于上述各多播性能参数的定义,相应的多播性能参数测量过程如下:Based on the definitions of the above multicast performance parameters, the corresponding multicast performance parameter measurement process is as follows:

首先,在最新的Y.17ethoam Draft,Nov.,2005上,定义的以太网OAM通用帧头格式如表1所示:First, in the latest Y.17ethoam Draft, Nov., 2005, the defined Ethernet OAM general frame header format is shown in Table 1:

                         表1            0     1     2     3     OAM EtherType  ME Level   Version     OpCode     HdrLength                OpCode Specific Fields                ... Table 1 0 1 2 3 OAM EtherType ME Level Version OpCode HdrLength OpCode Specific Fields ...

在现有技术中,对于单播性能测量,定义了帧丢失测量和帧延迟测量操作码,具体如下:In the prior art, for unicast performance measurement, frame loss measurement and frame delay measurement operation codes are defined, specifically as follows:

LMM,帧丢失测量请求操作码;LMM, frame loss measurement request opcode;

LMR,帧丢失测量响应操作码;LMR, frame loss measurement response opcode;

DMM,帧延迟测量请求操作码;DMM, frame delay measurement request opcode;

DMR,帧延迟测量请求操作码。DMR, Frame Delay Measurement Request opcode.

基于上述单播性能测量的操作码,本发明设置了多播性能测量的操作码,具体如下:Based on the operation code of the above-mentioned unicast performance measurement, the present invention sets the operation code of the multicast performance measurement, specifically as follows:

P2MP-LMM,P2MP多播帧丢失测量请求操作码;P2MP-LMM, P2MP Multicast Frame Loss Measurement Request opcode;

P2MP-LMR,P2MP多播帧丢失测量响应操作码;P2MP-LMR, P2MP Multicast Frame Loss Measurement Response opcode;

P2MP-DMM,P2MP多播帧延迟测量请求操作码;P2MP-DMM, P2MP multicast frame delay measurement request opcode;

P2MP-DMR,P2MP多播帧延迟测量响应操作码。P2MP-DMR, P2MP Multicast Frame Delay Measurement Response opcode.

在进行多播性能参数测量过程中测量帧中包括的字段如下:The fields included in the measurement frame during multicast performance parameter measurement are as follows:

(1)对于帧丢失测量(1) For frame loss measurement

单播LMM帧必须包含TxFCf字段,即前向发送帧计数器值,P2MP-LMM帧要求与此相同;The unicast LMM frame must contain the TxFCf field, that is, the forward frame counter value, and the P2MP-LMM frame requires the same;

单播LMR帧必须包含TxFCf、RxFCf和TxFCb字段,即前向发送帧计数器值、前向接收帧计数器值和后向帧发送计数器值,其中TxFCf字段就是从LMM帧中拷贝过来的,P2MP-LMM帧要求与此相同,但是实际上仅仅使用TxFCf、RxFCf。The unicast LMR frame must contain TxFCf, RxFCf and TxFCb fields, that is, the forward sending frame counter value, the forward receiving frame counter value and the backward frame sending counter value, where the TxFCf field is copied from the LMM frame, P2MP-LMM The frame requirements are the same, but only TxFCf, RxFCf are actually used.

(2)对于帧延迟测量(2) For frame delay measurement

单播DMM帧必须包含前向发送时间戳TxTimeStampf,P2MP-DMM帧要求与此相同;The unicast DMM frame must contain the forward sending timestamp TxTimeStampf, and the P2MP-DMM frame requires the same;

单播DMR帧必须包含前向发送时间戳TxTimeStampf,即从DMM帧拷贝过来的,对于P2MP-DMM帧,DMR还需要前向接收时间戳RxTimeStampf和后向发送时间戳TxTimeStampb,并且TxTimeStampb和RxTimeStampf之差必须含有接收点所做的随机延迟。The unicast DMR frame must contain the forward sending timestamp TxTimeStampf, which is copied from the DMM frame. For the P2MP-DMM frame, the DMR also needs the forward receiving timestamp RxTimeStampf and the backward sending timestamp TxTimeStampb, and the difference between TxTimeStampb and RxTimeStampf Must include random delays made by the receiving point.

另外,和单播性能测量比较,P2MP多播性能测量中的Two-way方式的测量,面临两个问题:In addition, compared with unicast performance measurement, the two-way measurement in P2MP multicast performance measurement faces two problems:

(1)多点回流过大,为此,要求测量发起点必须以非常低的速率发送测量请求报文,按照Y.17ethoam,由于每个发送报文分配一个TransactionID,报文发出后,Transaction ID保留一段时间,用于关联回复报文,保留时间其实和报文发送速率是统一的,保留时间按照经验配置,例如缺省为5s;(1) The multi-point backflow is too large. Therefore, the measurement initiation point is required to send the measurement request message at a very low rate. According to Y.17ethoam, since each sent message is assigned a TransactionID, after the message is sent, the Transaction ID Retain for a period of time to associate reply messages. The retention time is actually the same as the packet sending rate. The retention time is configured according to experience, for example, the default is 5s;

(2)多点回流过于集中,可以通过令接收点在响应之前延迟一个随机时间(即随机延迟)来克服,所述随机延迟是有一定范围的,该范围也是可配置的,例如缺省为1s。(2) The multi-point backflow is too concentrated, which can be overcome by making the receiving point delay a random time before responding (that is, a random delay). The random delay has a certain range, and the range is also configurable. For example, the default is 1s.

无论是测量帧丢失还是帧延迟,从总体上看,对于多播测量来说都遵循大致相同的处理过程,相应的过程如图2所示:Regardless of measuring frame loss or frame delay, generally speaking, multicast measurement follows roughly the same process, and the corresponding process is shown in Figure 2:

首先,发送端发送多播测量请求帧,包括测量操作码、报文标识信息以及发送端发送时刻的参数值,比如测量帧丢失所需要的前向发送帧计数值,测量帧延迟所需要的前向发送时间戳;First, the sender sends a multicast measurement request frame, including the measurement operation code, message identification information, and parameter values at the sender’s sending time, such as the forward frame count value needed to measure frame loss, and the forward frame count needed to measure frame delay. Send timestamp to;

其次,接收端收到多播测量请求帧之后,进行回复,包括测量操作回复吗、报文表示信息以及接收端接收时刻的参数值以及回复发送时刻的参数值,比如测量帧丢失所需要的前向接收所需要的前向接收帧计数值,测量帧延迟所需要的前向接收时间戳、后向发送时间戳,并且还要将收到的参数值拷贝到回复报文中返回,比如测量帧丢失所需要的前向发送帧计数值,测量帧延迟所需要的前向发送时间戳;Secondly, after receiving the multicast measurement request frame, the receiving end responds, including measurement operation reply, message representation information, parameter values at the receiving end at the receiving end, and parameter values at the sending time of the reply, such as the preamble required for measuring frame loss. Forward receiving frame count value required for receiving, forward receiving timestamp and backward sending timestamp required for measuring frame delay, and the received parameter value is also copied into the reply message and returned, such as measurement frame Forward send frame count value required for loss, forward send timestamp required for measuring 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, then extracts the parameter value in the message, calculates the parameter value on the path, and finally uses the Calculate and update the multicast performance parameters, including: specific performance parameter values, the sum of the performance parameter values of the multicast group, and the multicast group size, maximum value and/or minimum value, wherein the performance parameter values include Frame loss value and frame delay value.

针对帧丢失值的测量和帧延迟值的测量的不同之处在于:在发送端收到回复报文之后,计算单条路径上帧丢失和帧延迟的计算公式是不一样的,具体将以后续的针对图3和图4的描述中进行相应的说明。The difference between frame loss measurement and frame delay measurement is that the calculation formulas for calculating frame loss and frame delay on a single path are different after the sender receives the reply message, which will be described in detail in the following Corresponding explanations are made in the description of FIG. 3 and FIG. 4 .

下面将结合图3和图4对各个多播性能参数的测量过程进行详细的说明。The measurement process of each multicast performance parameter will be described in detail below with reference to FIG. 3 and FIG. 4 .

(一)P2MP多播帧丢失测量(P2MP-LM)(1) P2MP Multicast Frame Loss Measurement (P2MP-LM)

为便于对帧丢失测量过程的描述,首先进行如下假设:In order to facilitate the description of the frame loss measurement process, the following assumptions are first made:

假设在发送端发送测量报文的发送间隔为时间T,即本地Transaction ID保留时间,当发送报文后超过时间T时,将保存的Transaction ID删除,之后,若再收到带有该Transaction ID的帧,则认为不合法,可以发出告警;Assume that the sending interval of sending measurement messages at the sending end is time T, that is, the local Transaction ID retention time. When the time T is exceeded after sending the message, the saved Transaction ID will be deleted. Afterwards, if another transaction ID is received frame, it is considered illegal and an alarm can be issued;

假设接收点收到多播测量帧后随机延迟范围,即所述随机延迟为R;Suppose the random delay range after the receiving point receives the multicast measurement frame, that is, the random delay is R;

假设本次测量的多播组的大小为Z;Suppose the size of the multicast group measured this time is Z;

假设各条多播路径的帧丢失累计为Total,最小帧丢失为Min,最大帧丢失为Max。Assume that the accumulated frame loss of each multicast path is Total, the minimum frame loss is Min, and the maximum frame loss is Max.

其次,基于上述假设,相应的帧丢失测量的处理过程如下:Second, based on the above assumptions, the processing of the corresponding frame loss measurement 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 the multicast MAC address and P2MP-LMM operation code, assign a Transaction ID for the current frame, and fill in the current forward sending frame counter value into the request frame In the TxFCf field, other fields may not be concerned;

(2)测量发起点发送构建的请求帧,并启动Transaction ID保留定时器,超时长为T,同时清零Z、Total、Min、Max值。(2) The measurement initiation point sends the constructed request frame, and starts the Transaction ID retention timer with a timeout of T, and clears the Z, Total, Min, and Max values at the same time.

(3)在接收点,即多播组中某一个点收到帧丢失测量请求帧后,构建P2MP-LMR响应帧,具体说来,就是以源MAC地址作为目的地址,以本地MAC地址作为源地址,响应操作码为P2MP-LMR,将Transaction ID和TxRCf拷贝到响应帧中,并且,将本地前向接收帧计数器值填写到响应帧的RxFCf字段中,其他字段不关心;(3) At the receiving point, that is, after receiving the frame loss measurement request frame at a certain point in the multicast group, a P2MP-LMR response frame is constructed, specifically, the source MAC address is used as the destination address, and the local MAC address is used as the source Address, the response operation code is P2MP-LMR, copy the Transaction ID and TxRCf into the response frame, and fill in the local forward received frame counter value into the RxFCf field of the response frame, and don’t care about other fields;

(4)在时间R范围内做一个随机延迟,即延迟时间R后发送响应帧;(4) Make a random delay within the time R range, that is, send the response frame after the delay time R;

(5)测量发起点是依据两个P2MP-LMR帧来计算某条路径上的帧丢失的,在采用两个计数器值相减的时候需要考虑溢出;假设前一个响应帧的计数器值TxFCf1、RxFCf1,当前收到的响应帧的计数器值为TxFCf2、RxFCf2,则相应的处理流程如图3所示,具体为:(5) The measurement initiation point calculates the frame loss on a certain path based on two P2MP-LMR frames, and overflow needs to be considered when subtracting the two counter values; assuming the counter values TxFCf1 and RxFCf1 of the previous response frame , the counter values of the currently received response frame are TxFCf2, RxFCf2, then the corresponding processing flow is shown in Figure 3, specifically:

步骤31:根据测量发起点中保留的Transaction ID值判断接收的响应帧中的Transaction ID是否一致,即Transaction ID是否有效,如果是,则执行步骤33,否则,执行步骤32,即产生告警;Step 31: According to the Transaction ID value retained in the measurement initiation point, judge whether the Transaction ID in the received response frame is consistent, that is, whether the Transaction ID is valid, if yes, perform step 33, otherwise, perform step 32, and an alarm is generated;

步骤33:计算帧丢失值FL为(TxFCf2-TxFCf1)-(RxFCf2-RxFCf1);Step 33: Calculate the frame loss value FL as (TxFCf2-TxFCf1)-(RxFCf2-RxFCf1);

步骤34:计算总的帧丢失值Total为当前的Total值加上该FL值,且令Z值加1;Step 34: Calculate the total frame loss value Total as the current Total value plus the FL value, and add 1 to the Z value;

步骤35:判断当前的帧丢失的最小值Min是否大于FD值,如果是,则令Min=FD,否则,执行步骤36;Step 35: judging whether the minimum value Min of the current frame loss is greater than the FD value, if yes, then make Min=FD, otherwise, perform step 36;

步骤36:判断当前的帧丢失的最大Max是否小于FD值,如果是,则令Max=FD,否则,过程结束。Step 36: Judging whether the current maximum frame loss Max is smaller than the FD value, if yes, set Max=FD, otherwise, the process ends.

基于上述步骤31至步骤36的处理过程,在测量发起点上持续T的时间内一直等待接收返回的同一Transaction ID的响应帧,并进行上述处理,当到达时间T后获得帧丢失的多播性能参数的值。Based on the processing process from step 31 to step 36 above, wait for the response frame of the same Transaction ID returned at the measurement initiation point for a period of time T, and perform the above processing, and obtain the multicast performance of frame loss when the time T is reached The value of the parameter.

(二)P2MP多播帧延迟测量(P2MP-DM)(2) P2MP Multicast Frame Delay Measurement (P2MP-DM)

同样,为便于对帧延迟测量过程的描述,首先进行如下假设:Similarly, in order to facilitate the description of the frame delay measurement process, the following assumptions are first made:

假设在发送端发送测量报文的发送间隔为时间T,即本地Transaction ID保留时间,当发送报文后超过时间T时,将保存的Transaction ID删除,之后,若再收到带有该Transaction ID的帧,则认为不合法,可以发出告警;Assume that the sending interval of sending measurement messages at the sending end is time T, that is, the local Transaction ID retention time. When the time T is exceeded after sending the message, the saved Transaction ID will be deleted. Afterwards, if another transaction ID is received frame, it is considered illegal and an alarm can be issued;

假设接收点收到多播测量帧后随机延迟范围,即所述随机延迟为R;Suppose the random delay range after the receiving point receives the multicast measurement frame, that is, the random delay is R;

假设本次测量的多播组的大小为Z;Suppose the size of the multicast group measured this time is Z;

假设各条多播路径的帧丢失累计为Total,最小帧丢失为Min,最大帧丢失为Max。Assume that the accumulated frame loss of each multicast path is Total, the minimum frame loss is Min, and the maximum frame loss 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, build a P2MP-DM request frame. Specifically, you need to use the multicast MAC address and the P2MP-DMM request operation code to assign a Transaction ID to the current frame, and fill in the current forward sending timestamp in the request frame. In the TxTimeStampf field, other fields may not be concerned;

(2)在测量发起点发送请求帧,并启动Transaction ID保留定时器,超时长为T,同时清零Z、Total、Min、Max值。(2) Send a request frame at the measurement initiation point, and start the Transaction ID retention timer, the timeout length is T, and clear the Z, Total, Min, and Max values at the same time.

(3)在接收点,即多播组中某一个点收到帧丢失测量请求帧后,构建P2MP-DMR响应帧,具体说来,就是以源MAC地址作为目的地址,以本地MAC地址作为源地址,响应操作码为P2MP-DMR,将Transaction ID和TxTimeStampf拷贝到响应帧中,并且将本地前向接收时间戳填写到响应帧的RxTimeStampf;(3) At the receiving point, that is, after a certain point in the multicast group receives the frame loss measurement request frame, it constructs 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 operation code is P2MP-DMR, copy the Transaction ID and TxTimeStampf into the response frame, and fill in the local forward receiving timestamp into the RxTimeStampf of the response frame;

(4)在接收点,在时间R范围内做一个随机延迟,即延迟R时间后,将后向发送时间戳填写到响应帧的TxTimeStampb字段中立即发送响应帧;(4) At the receiving point, do a random delay within the time R range, that is, after delaying for R time, fill in the backward sending timestamp into the TxTimeStampb field of the response frame and send the response frame immediately;

(5)所述的测量发起点收到响应帧后,设收到时间为RxTimeb,则相应的处理流程如图4所示,具体包括:(5) After the measurement initiating point receives the response frame, set the receiving time as RxTimeb, then the corresponding processing flow is as shown in Figure 4, specifically including:

步骤41:根据测量发起点中保留的Transaction ID值判断接收的响应帧中的Transaction ID是否一致,即Transaction ID是否有效,如果是,则执行步骤43,否则,执行步骤42,即产生告警;Step 41: Judging whether the Transaction ID in the received response frame is consistent according to the Transaction ID value retained in the measurement initiation point, that is, whether the Transaction ID is valid, if yes, then perform step 43, otherwise, perform step 42, and an alarm is generated;

步骤43:  计算帧延迟时间FD为RxTimeb-TxTimeStampf-(RxTimeStampf-TxTimeStampb);Step 43: Calculate the frame delay time FD as RxTimeb-TxTimeStampf-(RxTimeStampf-TxTimeStampb);

步骤44:计算总的帧延迟时间Total为当前的Total值加上该FD值,且令Z值加1;Step 44: Calculate the total frame delay time Total as the current Total value plus the FD value, and add 1 to the Z value;

步骤45:判断当前的帧延迟时间的最小值Min是否大于FD值,如果是,则令Min=FD,否则,执行步骤46;Step 45: judging whether the minimum value Min of the current frame delay time is greater than the FD value, if yes, then make Min=FD, otherwise, perform step 46;

步骤46:判断当前的帧延迟时间的最大值Max是否小于FD值,如果是,则令Max=FD,否则,过程结束。Step 46: Judging whether the maximum value of the current frame delay time Max is smaller than the FD value, if yes, set Max=FD, otherwise, the process ends.

基于上述步骤41至步骤46的处理过程,在测量发起点上持续T的时间内一直等待接收返回的同一Transaction ID的响应帧,并进行上述处理,当到达时间T后获得帧延迟的多播性能参数的值。Based on the processing from step 41 to step 46 above, wait for the response frame of the same Transaction ID returned at the measurement initiation point for a period of time T, and perform the above processing, and obtain the multicast performance of frame delay when time T is reached The value of the parameter.

综上所述,本发明提供的以多播路径为基础定义以太网OAM中的多播性能参数进而进行以太网多播性能参数检测的实现方法对Y.17ethoam所定义的OAM帧格式改动不大,只要求增加4个消息码,对于帧延迟测量只要响应帧带回前向接收时间戳和后向发送时间戳,二者之差包含接收点所做的随机延迟即可。发送点和接收点的处理流程也不复杂,并且基于原有单播性能测量的计算方法。因此,利用本发明可以在以太网OAM中很好的实现P2MP多播性能参数测量。In summary, the implementation method of defining the multicast performance parameters in the Ethernet OAM based on the multicast path and then carrying out the detection of the Ethernet multicast performance parameters provided by the present invention has little change to the OAM frame format defined by Y.17ethoam , only need to add 4 message codes, for the frame delay measurement, as long as the response frame brings back the forward receiving timestamp and the backward sending timestamp, 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 not complicated, and is based on the calculation method of the original unicast performance measurement. Therefore, the invention can well realize the measurement of P2MP multicast performance parameters in the Ethernet OAM.

以上所述,仅为本发明较佳的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应该以权利要求的保护范围为准。The above is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art within the technical scope disclosed in the present invention can easily think of changes or Replacement should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be determined by the protection scope of the claims.

Claims (14)

1, a kind of implementation method that detects the network multicast performance is characterized in that, comprising:
A, initiate the some structure and send the multicast performance that comprises identification information to measure request message in test;
Each node of B, the described multicast performance measured message of reception is initiated point to test respectively and is sent the performance measurement response message that comprises described identification information;
C, test are initiated point and are received described performance measurement response message, and measure the multicast performance parameter according to the identification information that receives in the message.
2, the implementation method of detection network multicast performance according to claim 1 is characterized in that, described steps A comprises:
When realizing that ethernet operation administers and maintains OAM, initiate the some structure and send the multicast claim frame that adopts multicast media access control MAC address in test, carrying multicast performance measuring operation sign indicating number information and corresponding identification information in the described request frame.
3, the implementation method of detection network multicast performance according to claim 2 is characterized in that, described steps A comprises:
A1, when carrying out LOF and measure, initiate point in test and make up a multicast claim frame that adopts the multicast MAC Address, and in described claim frame, comprise the multicast LOF and measure request operation code, forward direction transmit frame Counter Value information and identification information;
And/or,
A2, when carrying out frame delay when measuring, initiate point in test and make up a multicast claim frame that adopts the multicast MAC Address, and comprise in described claim frame that the multicast frame delay is measured request operation code, the forward direction transmitting time is stabbed information and identification information.
4, the implementation method of detection network multicast performance according to claim 3 is characterized in that, described identification information comprises:
Transmission sign Transaction ID in the Ethernet OAM message.
5, the implementation method of detection network multicast performance according to claim 3 is characterized in that, described step B comprises:
B1, when carrying out LOF and measure, make up the multicast response frame at the node that receives the multicast request, in response frame, comprise described identification information, multicast LOF and measure the forward direction transmit frame Counter Value information in operation response sign indicating number, the claim frame and the forward direction received frame Counter Value information of receiving node, and after postponing predetermined random delay time, send this multicast response frame;
And/or,
B2, when carrying out frame delay when measuring, make up the multicast response frame at the node that receives the multicast request, in response frame, comprise described identification information, multicast frame delay and measure forward direction transmitting time in operation response sign indicating number, the claim frame and stab information and send.
6, the implementation method of detection network multicast performance according to claim 5 is characterized in that, described step B2 specifically comprises:
When carrying out the frame delay measurement, make up the multicast response frame at the node that receives the multicast request, in response frame, comprise the forward direction time of reception stamp information that the forward direction transmitting time in described identification information, multicast frame delay measurement operation response sign indicating number, the claim frame is stabbed information and receiving node, and after postponing predetermined random delay time, the back stamp to transmitting time of receiving node write in the multicast response frame, and send.
According to the implementation method of each described detection network multicast performance of claim 1 to 6, it is characterized in that 7, described step C comprises:
Within the predetermined time, test is initiated point and is received described performance measurement response message, and measures the multicast performance parameter according to the identification information that receives in the message.
8, the implementation method of detection network multicast performance according to claim 7 is characterized in that, also comprises before the described step C:
Before test multicast claim frame, initialization frame is lost value and/or frame delay value.
9, the implementation method of detection network multicast performance according to claim 8 is characterized in that, described LOF value comprises: minimum frame is lost value, largest frames is lost value and/or total LOF value, and the value of multicast group size;
And/or,
Described frame delay value comprises: minimum frame length of delay, largest frames length of delay and/or total frame delay value, and the value of multicast group size.
10, the implementation method of detection network multicast performance according to claim 9 is characterized in that, described step C specifically comprises:
C1, when carrying out LOF and measure, test is initiated point within the predetermined time, calculate the LOF value according to forward direction transmit frame Counter Value in two multicast response frames of the same identification information of continuous reception and forward direction received frame Counter Value, and upgrade minimum frame according to this LOF value and lose value, largest frames and lose value and/or the total LOF value and the value of multicast group size;
And/or,
C2, when carrying out frame delay when measuring, test is initiated point within the predetermined time, according to the time that receives the multicast response frame, and the forward direction transmitting time in the multicast response frame stab information, forward direction time of reception stab information and oppositely transmitting time stab information calculations frame delay value, and upgrade minimum frame length of delay, largest frames length of delay and/or the total frame delay value and the value of multicast group size according to this frame delay value.
11, the implementation method of detection network multicast performance according to claim 10 is characterized in that, described step C1 comprises:
The difference that the LOF value equals the forward direction transmit frame Counter Value in two multicast response frames of the same identification information that receives continuously deducts the difference of two forward direction received frame Counter Values in the multicast response frame, and:
When described LOF value is lost value less than minimum frame, minimum frame is lost value be updated to this LOF value;
And/or,
When described LOF value is lost value greater than largest frames, largest frames is lost value be updated to this LOF value;
And/or,
Total LOF value equal current total LOF value and described LOF value and, and the value of multicast group size need add one.
12, the implementation method of detection network multicast performance according to claim 10 is characterized in that, described step C2 comprises:
The frame delay value equals to receive the time of multicast response frame and the difference of forward direction transmitting time stamp information deducts the difference that the forward direction time of reception stabs information and reverse transmitting time stamp information, and:
When described frame delay value during less than the minimum frame length of delay, then with described frame delay value as the minimum frame length of delay;
And/or,
When described frame delay value during greater than the largest frames length of delay, then with described frame delay value as the largest frames length of delay;
And/or,
Total frame delay value equal current total frame delay value and described frame delay value and, and the value of multicast group size added one.
13, according to the implementation method of each described detection network multicast performance of claim 1 to 6, it is characterized in that, carry out described step C and also comprise before:
C0, test are initiated after point receives described multicast response message, when wherein identification information is correct identification information, and execution in step C then.
14, the implementation method of detection network multicast performance according to claim 13 is characterized in that, described step C0 also comprises:
Whether the identification information in the multicast response message of determining to receive according to the effective identification information of preserving is correct.
CN2005101352988A 2005-12-29 2005-12-29 Realization Method of Detecting Ethernet Multicast Performance Expired - Fee Related CN1992651B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2005101352988A CN1992651B (en) 2005-12-29 2005-12-29 Realization Method of Detecting Ethernet Multicast Performance
PCT/CN2006/002255 WO2007073648A1 (en) 2005-12-29 2006-09-01 A method and system for detecting the ethernet multicast performance

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2005101352988A CN1992651B (en) 2005-12-29 2005-12-29 Realization Method of Detecting Ethernet Multicast Performance

Publications (2)

Publication Number Publication Date
CN1992651A true CN1992651A (en) 2007-07-04
CN1992651B CN1992651B (en) 2010-12-01

Family

ID=38214612

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2005101352988A Expired - Fee Related CN1992651B (en) 2005-12-29 2005-12-29 Realization Method of Detecting Ethernet Multicast Performance

Country Status (2)

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

Cited By (12)

* 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
WO2010118569A1 (en) * 2009-04-14 2010-10-21 华为技术有限公司 Ip network performance measurement method, apparatus and system
WO2010139281A1 (en) * 2009-06-04 2010-12-09 中兴通讯股份有限公司 Method and apparatus for detecting ethernet operation, administration and maintenance (oam)
WO2011057544A1 (en) * 2009-11-11 2011-05-19 中兴通讯股份有限公司 Method and system for implementing operation administration and maintenance (oam) from point to multi-points based on 802.3ah protocol
CN102256291A (en) * 2011-07-11 2011-11-23 福建星网锐捷网络有限公司 Wireless access device detection method and system
CN101521607B (en) * 2009-04-13 2012-01-04 重庆中天重邮通信技术有限公司 Method and device for testing Ethernet network performance
CN102651702A (en) * 2012-05-09 2012-08-29 华为技术有限公司 Ethernet performance measurement method and equipment
WO2014008809A1 (en) * 2012-07-09 2014-01-16 中兴通讯股份有限公司 Frame loss detection method and system
CN103828302A (en) * 2011-09-20 2014-05-28 日本电气株式会社 Diagnostic system
CN102271067B (en) * 2011-08-30 2017-08-11 南京中兴新软件有限责任公司 Network detecting method, apparatus and system
CN110971477A (en) * 2018-09-29 2020-04-07 华为技术有限公司 A communication method, device, system and storage medium
CN115766890A (en) * 2022-10-12 2023-03-07 惠州市德赛西威汽车电子股份有限公司 Message structure applied to offline test and offline test system

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117640481B (en) * 2023-12-19 2024-05-31 中国西安卫星测控中心 A multi-network node parallel multicast testing method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6732182B1 (en) * 2000-05-17 2004-05-04 Worldcom, Inc. Method for generating packet loss report by a data coordinator in a multicast data transmission network utilizing a group shortest path tree
EP1211842A1 (en) * 2000-11-30 2002-06-05 BRITISH TELECOMMUNICATIONS public limited company Network management apparatus
US7007086B2 (en) * 2002-06-14 2006-02-28 Sun Microsystems, Inc. Method and apparatus for measuring multi-connection performance of a server
US7924725B2 (en) * 2003-11-10 2011-04-12 Nortel Networks Limited Ethernet OAM performance management

Cited By (17)

* 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
WO2010118569A1 (en) * 2009-04-14 2010-10-21 华为技术有限公司 Ip network performance measurement method, apparatus and system
US8670331B2 (en) 2009-06-04 2014-03-11 Zte Corporation Method and apparatus for detecting Ethernet operation, administration and maintenance (OAM)
WO2010139281A1 (en) * 2009-06-04 2010-12-09 中兴通讯股份有限公司 Method and apparatus for detecting ethernet operation, administration and maintenance (oam)
WO2011057544A1 (en) * 2009-11-11 2011-05-19 中兴通讯股份有限公司 Method and system for implementing operation administration and maintenance (oam) from point to multi-points based on 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
CN103828302A (en) * 2011-09-20 2014-05-28 日本电气株式会社 Diagnostic system
CN103828302B (en) * 2011-09-20 2018-02-06 日本电气株式会社 diagnostic system
WO2013166811A1 (en) * 2012-05-09 2013-11-14 华为技术有限公司 Method and apparatus for ethernet performance measurement
CN102651702A (en) * 2012-05-09 2012-08-29 华为技术有限公司 Ethernet performance measurement method and equipment
WO2014008809A1 (en) * 2012-07-09 2014-01-16 中兴通讯股份有限公司 Frame loss detection method and system
CN103546303A (en) * 2012-07-09 2014-01-29 中兴通讯股份有限公司 Lost frame measuring method and system
CN110971477A (en) * 2018-09-29 2020-04-07 华为技术有限公司 A communication method, device, system and storage medium
CN110971477B (en) * 2018-09-29 2022-03-29 华为技术有限公司 Communication method, device, system and storage medium
CN115766890A (en) * 2022-10-12 2023-03-07 惠州市德赛西威汽车电子股份有限公司 Message structure applied to offline test and offline test system

Also Published As

Publication number Publication date
CN1992651B (en) 2010-12-01
WO2007073648A1 (en) 2007-07-05

Similar Documents

Publication Publication Date Title
CN1881908A (en) Method for measuring MPLS network performance parameter
CN1992651A (en) Implementation method for detecting multicast performance of Ethernet
CN1514603A (en) Multicast transmission path calculation method, multicast transmission path calculation device, and program
CN1627730A (en) Multicast flow accounting
CN101053221A (en) Error ratio measurement in the radio link control layer for quality of service control in a wireless communication system
CN101056217A (en) A network performance measurement method and system
CN1925435A (en) Method for obtaining chain circuit evaluating method
KR20110007141A (en) Multicast to Unicast Conversion System
CN1894893A (en) Communication system, communication method, network load prediction node, and network configuration management node
CN1881862A (en) Device, method, and program for estimating quality-deteriorated area of network
CN1889470A (en) Chain-circuit time delay detecting method
CN101047638A (en) Mesh network route method and device
CN101075973A (en) Method, system, source end and host end for exchanging path by label indesx
US20080049607A1 (en) Method and apparatus for checking maintenance association integrity and method and apparatus for adding maintenance end point
WO2016062165A1 (en) Method and apparatus for implementing operations, administration and maintenance function
CN1913496A (en) Conversion control method and system of OAM message
CN105722117A (en) Channel allocation method for wireless sensor network communication and router
CN1968156A (en) Ethernet device link failure detection method and its system
CN103078713B (en) Communication equipment and data communication method
CN1949766A (en) Method for distributing tag, computing route distance and implementing back-up switching in ring network by multiprotocol tag
CN101039264A (en) Method, equipment and system for realizing designated router to register at convergence point
CN103841030B (en) A kind of convergent point convergence method and device
CN101051920A (en) Method for realizing multicast business and network equipment
CN103067280B (en) Message processing method and device
CN1379569A (en) Queue management method providing proportional drop-out rate discrimination for message forwarding system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20101201

Termination date: 20121229