WO2014101185A1 - Method, apparatus and system for detecting performance of multicast channel - Google Patents

Method, apparatus and system for detecting performance of multicast channel Download PDF

Info

Publication number
WO2014101185A1
WO2014101185A1 PCT/CN2012/088047 CN2012088047W WO2014101185A1 WO 2014101185 A1 WO2014101185 A1 WO 2014101185A1 CN 2012088047 W CN2012088047 W CN 2012088047W WO 2014101185 A1 WO2014101185 A1 WO 2014101185A1
Authority
WO
WIPO (PCT)
Prior art keywords
multicast
packet
detection packet
detection
destination address
Prior art date
Application number
PCT/CN2012/088047
Other languages
French (fr)
Chinese (zh)
Inventor
陈欢
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201280017336.8A priority Critical patent/CN104067559B/en
Priority to PCT/CN2012/088047 priority patent/WO2014101185A1/en
Publication of WO2014101185A1 publication Critical patent/WO2014101185A1/en

Links

Classifications

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

Landscapes

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

Abstract

A system for detecting performance of multicast channels is provided in the present invention. The system includes a first multicast device and a second multicast device. The first multicast device is used for constructing a detection message, which carries a count value of the multicast messages that are sent by the first multicast device through a multicast channel to be detected among multiple multicast channels, or carries time information about sending the detection message by the first multicast device; the destination address information of the detection message is same as the destination address of the multicast message transmitted through the multicast channel to be detected; and for sending the detection message according to the destination address information of the detection message. The second multicast device is used for receiving the detection message, extracting the count value in the detection message, and calculating, according to the count value of the multicast messages received through the multicast channel to be detected, the packet loss rate of the multicast channel to be detected; or extracting the time information in the detection message, and calculating the delay of the multicast channel to be detected according to the extracted time information and the time information about receiving the detection messages locally.

Description

组播通道的性能检测方法、 装置和系统  Multi-channel channel performance detection method, device and system
技术领域 本发明涉及通信领域, 尤其涉及一种组播通道的性能检测方法、 装置和系 统。 TECHNICAL FIELD The present invention relates to the field of communications, and in particular, to a method, an apparatus, and a system for detecting performance of a multicast channel.
背景技术 Background technique
目前网络上的 IPTV业务釆用的是点对多点的组播技术,组播系统由视频组 播业务系统、 IP ( Internet Protocol , 因特网协议 )城域网、 接入网络和家庭网络 四部分组成。  At present, the IPTV service on the network uses point-to-multipoint multicast technology. The multicast system consists of a video multicast service system, an IP (Internet Protocol) metropolitan area network, an access network, and a home network. .
视频组播业务系统实现视频用户管理、 CA(Certificate Authority, 可信第三 方)/ DRM ( Digital Rights Management, 数字权限管理 )、 视频编码功能, 将视 频业务流发送到 IP城域网;  The video multicast service system implements video user management, CA (Certificate Authority), DRM (Digital Rights Management), and video encoding functions, and sends the video service stream to the IP metropolitan area network.
IP城域网通过 IP组播功能将视频业务流送到宽带接入网;  The IP metropolitan area network transmits the video service stream to the broadband access network through the IP multicast function;
宽带接入网实现视频组加入或离开的控制功能,并将用户需要的视频流(组 播报文)发送给用户。  The broadband access network implements the control function of joining or leaving the video group, and sends the video stream (communication message) required by the user to the user.
组播报文转发可以有二层转发和三层转发。 二层转发是根据组播报文中的 Multicast packet forwarding can have Layer 2 forwarding and Layer 3 forwarding. Layer 2 forwarding is based on multicast packets.
VLAN ( Virtual Local Access Network, 虚拟局域网) ID以及目的 MAC ( Media Access Control, 媒体访问控制)地址查找对应的转发表, 根据转发表中的端口 进行转发。 三层转发是根据组播报文中的 VLAN ID以及目的 IP查找对应的转 发表, 根据转发表中对应的端口进行转发。 The VLAN (Virtual Local Access Network) ID and the destination MAC (Media Access Control) address look up the corresponding forwarding table and forward it according to the port in the forwarding table. The Layer 3 forwarding is based on the VLAN ID of the multicast packet and the destination IP address. The corresponding forwarding is performed according to the corresponding port in the forwarding table.
组播路径中的丟包、 抖动等因素对视频业务的用户体验非常关键, 如何对 网络的视频传输质量进行监控以及对故障进行定位, 是运营商非常关注的问题。 发明内容  The packet loss and jitter in the multicast path are critical to the user experience of the video service. How to monitor the video transmission quality of the network and locate the fault is a problem that operators pay close attention to. Summary of the invention
本发明一个实施例提供一种组播通道的性能检测系统, 包括第一组播设备 和第二组播设备, 所述第一组播设备和所述第二组播设备之间的组播路径上有 多条组播通道, 所述多条组播通道用于传输不同目的地址信息的组播报文; 所述第一组播设备, 用于构造检测报文, 所述检测报文携带所述第一组播 设备通过所述多条组播通道中的一条待检测的组播通道发送的报文的计数值、 或者携带有所述第一组播设备发送所述检测报文的时间信息; 所述检测报文的 目的地址信息与所述待检测的组播通道所传输的组播报文的目的地址信息相 同; 根据所述检测报文的目的地址信息发送所述检测报文; An embodiment of the present invention provides a performance detection system for a multicast channel, including a first multicast device and a second multicast device, and a multicast path between the first multicast device and the second multicast device. There are multiple multicast channels, and the multiple multicast channels are used to transmit multicast packets with different destination address information. The first multicast device is configured to construct a detection packet, where the detection packet carries First multicast The device receives the count value of the packet sent by the multicast channel to be detected by the multicast channel, or carries the time information of the first multicast device to send the detection packet; The destination address information of the packet is the same as the destination address information of the multicast packet transmitted by the multicast channel to be detected; and the detection packet is sent according to the destination address information of the detection packet;
所述第二组播设备, 用于接收所述检测报文, 在所述检测报文中携带有计 数值时提取所述检测报文中的计数值, 根据所述提取的计数值以及从所述待检 测的组播通道接收的报文的计数值计算所述待检测的组播通道的丟包率; 或者 在所述检测报文中携带有时间信息时提取所述检测报文中的时间信息, 根据提 取的时间信息以及本地接收到所述检测报文的时间信息计算所述待检测的组播 通道的时延。  The second multicast device is configured to receive the detection packet, and when the detection packet carries a count value, extract a count value in the detection packet, according to the extracted count value and the slave Determining, by the count value of the packet received by the multicast channel, the packet loss rate of the multicast channel to be detected; or extracting the time in the detection packet when the time information is carried in the detection packet The information is used to calculate a delay of the multicast channel to be detected according to the extracted time information and time information of the locally received detection packet.
其中, 所述目的地址信息可以为因特网协议 IP 地址和虚拟局域网标识 VLAN ID的组合、 或者为媒体访问控制 MAC地址和 VLAN ID的组合。  The destination address information may be a combination of an Internet Protocol IP address and a virtual local area network identification VLAN ID, or a combination of a media access control MAC address and a VLAN ID.
进一步的, 所述检测报文为操作、 管理和维护 OAM报文, 所述第一组播设 备还用于釆用用户数据报协议 UDP对所述 OAM报文进行封装。  Further, the detecting packet is an operation, management, and maintenance OAM packet, and the first multicast device is further configured to encapsulate the OAM packet by using a user datagram protocol UDP.
进一步的, 所述检测报文还携带有专用用户数据报协议 UDP端口信息, 所 述第二组播设备还用于检测接收到的报文中是否携带有设定的专用 UDP端口信 息或者约定的标识符, 如果有, 则判定接收的报文为检测报文。  Further, the detection packet further carries a dedicated user datagram protocol UDP port information, and the second multicast device is further configured to detect whether the received packet carries the set dedicated UDP port information or the agreed The identifier, if any, determines that the received message is a detection message.
本发明一个实施例提供一种组播通道的性能检测方法, 第一组播设备和第 二组播设备之间的组播路径上有多条组播通道, 所述多条组播通道用于传输不 同目的地址信息的组播报文, 所述方法包括:  An embodiment of the present invention provides a method for detecting a performance of a multicast channel. The multicast path between the first multicast device and the second multicast device has multiple multicast channels, and the multiple multicast channels are used. A multicast packet that transmits different destination address information, where the method includes:
所述第一组播设备构造检测报文, 所述检测报文携带所述第一组播设备通 过所述多条组播通道中的一条待检测的组播通道发送的报文的计数值, 所述检 测才艮文的目的地址信息与所述待检测的组播通道所传输的组播 ^艮文的目的地址 信息相同;  The first multicast device constructs a detection packet, where the detection packet carries a count value of a packet sent by the first multicast device through a multicast channel to be detected by the multiple multicast channels. The destination address information of the detected packet is the same as the destination address information of the multicast message transmitted by the multicast channel to be detected;
所述第一组播设备根据所述目的地址信息发送所述检测报文, 以使得所述 第二组播设备接收所述检测报文, 提取所述检测报文中的计数值, 根据所述提 取的计数值以及从所述待检测的组播通道接收的报文的计数值计算所述待检测 的组播通道的丟包率;  The first multicast device sends the detection packet according to the destination address information, so that the second multicast device receives the detection packet, and extracts a count value in the detection packet, according to the Calculating a packet loss rate of the multicast channel to be detected, and a count value of the received packet and a count value of the packet received from the multicast channel to be detected;
或者 所述第一组播设备构造检测报文, 所述检测报文携带有所述第一组播设备 发送所述检测报文的时间信息, 所述检测报文的目的地址信息与所述待检测的 组播通道所传输的组播>¾文的目的地址信息相同; Or The first multicast device constructs a detection packet, where the detection packet carries time information of the first multicast device to send the detection packet, and the destination address information of the detection packet is to be detected. The destination address information of the multicast >3⁄4 text transmitted by the multicast channel is the same;
所述第一组播设备根据所述目的地址信息发送所述检测报文, 以使得所述 第二组播设备接收所述检测报文, 提取所述检测报文中的时间信息, 根据提取 的时间信息以及本地接收到所述检测报文的时间信息计算所述待检测的组播通 道的时延。  The first multicast device sends the detection packet according to the destination address information, so that the second multicast device receives the detection packet, and extracts time information in the detection packet, according to the extracted The time information and the time information of the locally received detection packet are used to calculate the delay of the multicast channel to be detected.
其中,所述目的地址信息为因特网协议 IP地址和虚拟局域网标识 VLAN ID 的组合、 或者为媒体访问控制 MAC地址和 VLAN ID的组合。  The destination address information is a combination of an Internet Protocol IP address and a virtual local area network identification VLAN ID, or a combination of a media access control MAC address and a VLAN ID.
进一步的, 所述检测报文还携带有专用用户数据报协议 UDP端口信息, 所 述 UDP端口信息用于对所述检测报文进行标识。  Further, the detection packet further carries a dedicated user datagram protocol UDP port information, where the UDP port information is used to identify the detection packet.
本发明一个实施例提供一种组播设备, 包括:  An embodiment of the present invention provides a multicast device, including:
组播路径接口, 用于连接第二组播设备, 所述组播路径接口和所述第二组 播设备之间的组播路径上有多条组播通道, 所述多条组播通道用于传输不同目 的地址信息的组播 "^文;  a multicast path interface, configured to connect to the second multicast device, where the multicast path between the multicast path interface and the second multicast device has multiple multicast channels, where the multiple multicast channels are used. Multicast "^ text for transmitting different destination address information;
处理器, 用于构造检测报文, 所述检测报文携带当前组播设备通过所述多 条组播通道中的一条待检测的组播通道发送的报文的计数值、 或者携带有所述 当前组播设备发送所述检测报文的时间信息; 所述检测报文的目的地址信息与 所述待检测的组播通道所传输的组播^艮文的目的地址信息相同;  a processor, configured to construct a detection packet, where the detection packet carries a count value of a packet sent by the current multicast device through one of the plurality of multicast channels to be detected, or carries the The current multicast device sends the time information of the detection packet; the destination address information of the detection packet is the same as the destination address information of the multicast message transmitted by the multicast channel to be detected;
数据发送器, 用于按照所述目的地址信息发送所述检测报文。  And a data transmitter, configured to send the detection packet according to the destination address information.
进一步的, 所述检测报文为操作、 管理和维护 OAM报文, 所述处理器还用 于将所述 OAM报文封装成用户数据报协议 UDP报文。  Further, the detecting packet is an operation, management, and maintenance OAM packet, and the processor is further configured to encapsulate the OAM packet into a user datagram protocol UDP packet.
其中, 所述组播设备为组播服务器、 数字用户线接入复用器 DSLAM、 光线 路终端 OLT、 多业务接入节点 MS AN或者路由器。  The multicast device is a multicast server, a digital subscriber line access multiplexer DSLAM, a ray path terminal OLT, a multi-service access node MS AN or a router.
本实施例提供的组播设备可以对具体的组播通道的性能进行检测, 通过运 用本实施例提供的组播设备, 可以快速对具体的组播通道的故障进行定位。 附图说明 述实施例时所使用的附图作简单的介绍。 显而易见地, 下面附图中描述的仅仅 是本发明的一部分实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳 动的前提下, 还可以根据这些附图和描述得到其他的附图或实施例, 而本发明 旨在涵盖所有这些衍生的附图或实施例。 The multicast device provided in this embodiment can detect the performance of the specific multicast channel. By using the multicast device provided in this embodiment, the fault of the specific multicast channel can be quickly located. DRAWINGS The drawings used in the description of the embodiments are briefly described. Obviously, only a part of the embodiments of the present invention are described in the following drawings, and other drawings or drawings may be obtained according to the drawings and descriptions without any creative work by those skilled in the art. The embodiments are intended to cover all such derived figures or embodiments.
图 1为本发明实施例提供的组播通道的性能检测系统的结构简化图; 图 2为本发明实施例一提供的组播通道的性能检测方法的流程图; 图 3为本发明实施例一提供的检测报文的发送过程的示意图;  1 is a simplified structural diagram of a performance detection system for a multicast channel according to an embodiment of the present invention; FIG. 2 is a flowchart of a method for detecting performance of a multicast channel according to Embodiment 1 of the present invention; A schematic diagram of a sending process of detecting a message;
图 4为本发明实施例一提供的 UDP报文的帧结构的示意图;  4 is a schematic diagram of a frame structure of a UDP packet according to Embodiment 1 of the present invention;
图 5为本发明实施例二提供的组播通道的性能检测方法的流程图; 图 6为本发明实施例三提供的组播设备的一种结构的示意图;  5 is a flowchart of a method for detecting performance of a multicast channel according to Embodiment 2 of the present invention; FIG. 6 is a schematic diagram of a structure of a multicast device according to Embodiment 3 of the present invention;
图 7为本发明实施例三提供的组播设备的一种结构的示意图。 具体实施例  FIG. 7 is a schematic diagram of a structure of a multicast device according to Embodiment 3 of the present invention. Specific embodiment
下面将结合附图, 对本发明实施例中的技术方案进行清楚、 完整地描述。 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是全部的实施例。 基 于本发明中的实施例, 本领域普通技术人员在没有做出创造性劳动前提下所获 得的所有其他实施例, 都属于本发明保护的范围。 图 1为本发明实施例提供的系统架构的示意图, 作为举例, 图 1 中的系统 包括路由设备 10、 路由设备 20、 接入设备 30以及其他设备组成。 本发明实施 例不对路由设备 10、 路由设备 20以及接入设备 30所处位置的具体组播设备形 态做限定。  The technical solutions in the embodiments of the present invention will be clearly and completely described in the following with reference to the accompanying drawings. It is apparent that the described embodiments are only a part of the embodiments of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention. FIG. 1 is a schematic diagram of a system architecture according to an embodiment of the present invention. As an example, the system in FIG. 1 includes a routing device 10, a routing device 20, an access device 30, and other devices. The embodiment of the present invention does not limit the specific multicast device configuration of the routing device 10, the routing device 20, and the location where the access device 30 is located.
路由设备 10和路由设备 20之间的组播路径上设置有至少两条组播通道, 每个组播通道用于传输不同目的地址的组播 ^艮文。 组播路径可以是物理通道, 组播通道可以组播路径上的逻辑通道。 如果是二层网络, 组播通道传输的组播 报文的目的地址可以是 MAC地址和 VLAN ID的组合; 如果是三层网络, 组播 通道传输的组播^艮文的目的地址可以是 IP和 VLAN ID的组合。  The multicast path between the routing device 10 and the routing device 20 is configured with at least two multicast channels, and each multicast channel is used for transmitting multicast messages of different destination addresses. The multicast path can be a physical channel, and the multicast channel can be a logical channel on the multicast path. If it is a Layer 2 network, the destination address of the multicast packet transmitted by the multicast channel can be a combination of the MAC address and the VLAN ID. If it is a Layer 3 network, the destination address of the multicast message transmitted by the multicast channel can be IP. Combination with VLAN ID.
组播设备, 如路由设备 20或者接入设备 30等可以对组播报文进行复制, 通过不同的组播通道往下行方向发送。 A multicast device, such as the routing device 20 or the access device 30, can replicate multicast packets. It is sent in the downstream direction through different multicast channels.
图 1 中, 需要对组播设备和组播设备之间的每一个组播通道的性能进行检 测, 比如路由设备 10和路由设备 20之间的每一个组播通道或者路由设备 20和 接入设备 30之间的每一个组播通道等, 以获得对应组播通道的丟包率、 时延、 抖动等性能参数。  In Figure 1, the performance of each multicast channel between the multicast device and the multicast device needs to be detected, such as each multicast channel or routing device 20 and access device between the routing device 10 and the routing device 20. Each multicast channel between 30, etc., obtains performance parameters such as packet loss rate, delay, and jitter of the corresponding multicast channel.
现有的检测方式只能是由组播流源端在要发送的组播 4艮文中添加 RTP ( Real-Time Transport Protocol, 实时传输协议)封装来携带组播报文的发送序 列号或者时戳值, 中间设备对组播报文进行复制, 按照组播转发表对组播报文 进行转发, 这样现有方式只能检测组播流源端到各个复制点的丟包率或者时延 等性能参数, 不能检测中间复制点到复制点的性能参数。 实施例一  The existing detection mode can only be that the multicast stream source adds the RTP (Real-Time Transport Protocol) encapsulation to the multicast sequence to transmit the serial number or time stamp of the multicast packet. The intermediate device copies the multicast packets and forwards the multicast packets according to the multicast forwarding table. The existing mode can only detect the packet loss rate or delay of the multicast source to the replication point. The parameter, the performance parameter of the intermediate copy point to the copy point cannot be detected. Embodiment 1
为解决上述问题, 本实施例提供一种组播通道的性能检测方法, 所提供的 性能检测方法可以对第一组播设备和第二组播设备之间的组播通道的丟包率进 行检测。 所提供的方法如图 2所示, 可以包括如下步骤:  To solve the above problem, the embodiment provides a performance detection method for a multicast channel, and the performance detection method can detect a packet loss rate of a multicast channel between the first multicast device and the second multicast device. . The method provided is as shown in FIG. 2, and may include the following steps:
步骤 200、 第一组播设备构造检测报文,检测报文携带第一组播设备通过至 少两条组播通道中的一条待检测的组播通道发送的报文的计数值。  Step 200: The first multicast device constructs a detection packet, and the detection packet carries a count value of a packet sent by the first multicast device by using one of the at least two multicast channels to be detected.
第一组播设备和第二组播设备之间的组播路径上有至少两条组播通道, 每 条组播通道用于传输不同的目的地址的组播报文, 如果第一组播设备和第二组 播设备之间的组播报文可以利用二层网络转发, 则每条组播通道传输的组播报 文的目的地址可以用 MAC和 VLAN ID的组合来标识, 如果第一组播设备和第 二组播设备之间的组播报文需要三层网络转发, 则每条组播通道传输的组播报 文的目的地址可以用 IP和 VLAN ID的组合来标识。  The multicast path between the first multicast device and the second multicast device has at least two multicast channels, and each multicast channel is configured to transmit multicast packets with different destination addresses, if the first multicast device The multicast packet between the multicast device and the second multicast device can be forwarded by the Layer 2 network. The destination address of the multicast packet transmitted by each multicast channel can be identified by the combination of the MAC address and the VLAN ID. The multicast packet between the broadcast device and the second multicast device needs to be forwarded by the Layer 3 network. The destination address of the multicast packet transmitted by each multicast channel can be identified by a combination of IP and VLAN ID.
第一组播设备构造的检测报文的目的地址信息与待检测的组播通道传输的 组播报文的目的地址信息相同, 从而可以达到对指定的组播通道进行检测的目 的。  The destination address information of the detection packet of the first multicast device is the same as the destination address of the multicast packet transmitted by the multicast channel to be detected, so that the specified multicast channel can be detected.
参见图 1 , 以第一组播设备为路由设备 10、 第二组播设备为路由设备 20举 例。 路由设备 10和路由设备 20之间有 3条组播通道, 如果需要对第 2条组播 通道的丟包率进行检测, 则路由设备 10构造的检测报文的目的地址信息需要与 第 2条组播通道传输的组播报文的目的地址信息相同。 第一组播设备可以将计数值携带在检测报文的净荷中。 作为举例, 构造的 检测报文可以是管理报文或者其他非组播协议报文, 管理报文可以是 OAM ( Operation, Administration and Maintenance,操作、管理和维护)才艮文或者 OMCI ( Optical Network Terminal Management and Control Interface,光网络终端管理控 制接口)等, 也可以是其他自定义的管理报文等, 计数值可以携带在管理报文 的净荷中。 Referring to FIG. 1, the first multicast device is the routing device 10, and the second multicast device is the routing device 20. There are three multicast channels between the routing device 10 and the routing device 20. If the packet loss rate of the second multicast channel needs to be detected, the destination address information of the detection packet constructed by the routing device 10 needs to be related to the second packet. The destination address information of multicast packets transmitted on the multicast channel is the same. The first multicast device may carry the count value in the payload of the detection message. As an example, the detection packet can be a management packet or other non-multicast protocol packet. The management packet can be OAM (Operation, Administration, and Maintenance) or OMCI (Optical Network Terminal). The management and control interface (optical network terminal management control interface), etc., may also be other custom management messages, etc., and the count value may be carried in the payload of the management message.
第一组播设备还可以将检测报文釆用 UDP ( User Datagram Protocol, 用户 数据包协议)对检测报文进行封装, 封装后的 UDP的净荷为检测报文的净荷, 以检测报文为 OAM报文作为举例, 封装后的 UDP报文可以如图 4所示, 包括 以太网头、 IP头、 UDP头以及净荷。 以太网头包括目的 MAC地址(DMAC )、 源 MAC地址( SMAC )、虚拟局域网标识( VLAN tag )以及以太网类型( Ethtype ) 等。 IP头包括源 IP和目的 IP等。 UDP头包括源端口 (源 Port )、 目的端口 (目 为了能让接收端识别出检测报文, 可以在检测报文中添加专用的 UDP端口 号, 这样可以区别于普通的组播流, 接收端根据检测报文中的 UDP端口识别出 是检测 4艮文, 当然, 也可以在净荷中添加约定的标识符, 接收端也可以根据检 测 "^文净荷中的标识符识别出检测才艮文。  The first multicast device may also use the UDP (User Datagram Protocol) to encapsulate the detection packet, and the encapsulated UDP payload is the payload of the detection packet to detect the packet. As an example of an OAM packet, the encapsulated UDP packet can be as shown in FIG. 4, including an Ethernet header, an IP header, a UDP header, and a payload. The Ethernet header includes a destination MAC address (DMAC), a source MAC address (SMAC), a virtual local area network identifier (VLAN tag), and an Ethernet type (Ethtype). The IP header includes source IP and destination IP. The UDP header includes the source port (source port) and the destination port. In order to enable the receiver to identify the detection packet, you can add a dedicated UDP port number to the detection packet. This can be distinguished from the normal multicast stream. According to the UDP port in the detection packet, it is detected that the identifier is detected. Of course, the agreed identifier may also be added to the payload, and the receiving end may also identify the detection according to the identifier in the detection payload. Text.
第一组播设备按照检测报文的目的地址信息转发检测报文, 组播路径上设 置了检测点的设备会接收到该检测报文。  The first multicast device forwards the detection packet according to the destination address information of the detection packet, and the device that sets the detection point on the multicast path receives the detection packet.
检测报文的发送过程具体可以参见图 3 , 路由设备 10通过第 2条组播通道 发送组播报文, 按照设定的周期通过第 2条组播通道发送 OAM报文, OAM报 文的净荷中携带发送 OAM报文时所发送的组播报文的计数值,如图 3中, OAM 报文 1携带 Txl , OAM报文 2携带 Tx2, Txl表示发送 OAM报文 1时所统计 的组播报文的发送数量, Tx2表示发送 ΟΑΜ报文 2时所统计的组播报文的发送 数量。 步骤 220、 第二组播设备接收检测报文, 提取检测报文中的计数值, 根据从 待检测的组播通道接收的报文的计数值计算待检测的组播通道的丟包率。  For details about the sending process of the detection packet, refer to FIG. 3, the routing device 10 sends the multicast packet through the second multicast channel, and sends the OAM packet through the second multicast channel according to the set period. The value of the multicast packet sent by the OAM packet is as follows: As shown in Figure 3, OAM packet 1 carries Txl, OAM packet 2 carries Tx2, and Txl indicates the group counted when OAM packet 1 is sent. The number of broadcast packets sent, and Tx2 indicates the number of multicast packets sent when the packet 2 is sent. Step 220: The second multicast device receives the detection packet, and extracts the count value in the detection packet, and calculates a packet loss rate of the multicast channel to be detected according to the count value of the packet received from the multicast channel to be detected.
如果第二组播设备上设置了检测点, 则第二组播设备会收到检测报文, 提 取检测报文中的计数值, 根据从待检测的组播通道接收的报文的计数值计算待 检测的组播通道的丟包率。 If the detection point is set on the second multicast device, the second multicast device receives the detection packet, and extracts the count value in the detection packet, and calculates the count value of the packet received from the multicast channel to be detected. Wait The packet loss rate of the detected multicast channel.
具体的过程参见图 3 ,路由设备 20收到 OAM报文 1 ,识别出是检测报文后, 提取 OAM报文 1中的 Txl , 路由设备 20收到 OAM报文 1时所接收的组播报 文的计数值为 Rxl。 接收到 OAM报文 2后, 提取 OAM报文 2中的 Tx2, 路由 设备 20收到 ΟΑΜ报文 2时所接收的组播报文的计数值为 Rx2。  For the specific process, as shown in FIG. 3, the routing device 20 receives the OAM packet 1 and identifies the Tx1 in the OAM packet 1 and the multicast packet received by the routing device 20 when receiving the OAM packet 1. The count value of the text is Rxl. After receiving the OAM packet 2, the Tx2 in the OAM packet 2 is extracted, and the count value of the multicast packet received by the routing device 20 when receiving the packet 2 is Rx2.
路由设备 20根据公式: 丟包 =(Rx2 - Rxl) - (Tx2 - Txl)计算第 2条组播通 道的丟包数量, 从而可以计算第 2条组播通道的丟包率。  The routing device 20 calculates the packet loss rate of the second multicast channel according to the formula: packet loss = (Rx2 - Rxl) - (Tx2 - Txl), thereby calculating the packet loss rate of the second multicast channel.
具体的识别检测报文的过程可以是路由设备 20根据检测报文中的 UDP端 口号来判断, 如果是设定的专用 UDP端口号, 则是检测报文; 也可以是根据检 测报文中的净荷来判断, 比如设定的位置是否插入有数字等, 或者根据净荷中 是否有设定的标识信息等。  The specific process of identifying the detection packet may be determined by the routing device 20 according to the UDP port number in the detection packet, and if it is the set dedicated UDP port number, it is a detection packet; or may be based on the detection packet. The payload is judged, for example, whether the set position is inserted with a number or the like, or according to whether or not there is a set identification information in the payload.
第二组播设备还可以根据是否在设定的时间收到检测报文来对待检测的组 播通道的连通性进行检测, 比如第二组播设备在 3.5 个周期内没有收到检测报 文, 则认为待检测的组播通道发生了故障。  The second multicast device may also detect the connectivity of the multicast channel to be detected according to whether the detection packet is received at a set time. For example, the second multicast device does not receive the detection packet within 3.5 cycles. The multicast channel to be detected is considered to be faulty.
本实施例提供的组播通道的性能检测方法, 可以适应于二层网络和三层网 络, 可以检测组播路径上的任意段的丟包率以及连通性, 由于检测报文和组播 通道的目的地址信息一致, 从而可以对具体的组播通道的性能进行检测。 实施例二  The performance detection method of the multicast channel provided in this embodiment can be applied to the Layer 2 network and the Layer 3 network, and can detect the packet loss rate and connectivity of any segment on the multicast path, because the detection packet and the multicast channel are detected. The destination address information is consistent, so that the performance of a specific multicast channel can be detected. Embodiment 2
本实施例提供一种组播通道的性能检测方法, 所提供的性能检测方法可以 对第一组播设备和第二组播设备之间的组播通道的时延或抖动等性能进行检 测, 如图 5所示, 所提供的方法包括步骤:  This embodiment provides a performance detection method for a multicast channel. The performance detection method can detect the performance of the delay or jitter of the multicast channel between the first multicast device and the second multicast device, for example, As shown in Figure 5, the method provided includes the steps of:
步骤 500, 第一组播设备构造检测报文,检测报文携带第一组播设备发送检 测报文的时间信息, 按照检测报文的目的地址信息将检测报文发送出去。  Step 500: The first multicast device constructs a detection packet, and the detection packet carries the time information of the first multicast device to send the detection packet, and sends the detection packet according to the destination address information of the detection packet.
第一组播设备和第二组播设备之间的组播路径上有至少两条逻辑的组播通 道, 每条组播通道用于传输不同目的地址的组播报文, 如果第一组播设备和第 二组播设备之间的组播流可以利用二层网络转发, 则每条组播通道所传输的组 播报文的目的地址可以用 MAC和 VLAN ID的组合来标识, 如果第一组播设备 和第二组播设备之间的组播流需要三层网络转发, 则每条组播通道所传输的组 播才艮文的目的地址可以用 IP和 VLAN ID的组合来标识。 第一组播设备构造的检测报文的目的地址信息与待检测的组播通道所传输 的组播报文的目的地址信息相同, 从而可以达到对指定的组播通道进行检测的 目的。 The multicast path between the first multicast device and the second multicast device has at least two logical multicast channels, and each multicast channel is used to transmit multicast packets of different destination addresses, if the first multicast The multicast stream between the device and the second multicast device can be forwarded by the Layer 2 network. The destination address of the multicast packet transmitted by each multicast channel can be identified by the combination of the MAC address and the VLAN ID. The multicast stream between the multicast device and the second multicast device needs to be forwarded by the Layer 3 network. The destination address of the multicast packets transmitted by each multicast channel can be identified by a combination of IP and VLAN ID. The destination address information of the detection packet constructed by the first multicast device is the same as the destination address information of the multicast packet transmitted by the multicast channel to be detected, so that the specified multicast channel can be detected.
第一组播设备可以将时间信息携带在检测报文的净荷中, 作为举例, 构造 的检测报文可以是管理报文或者其他非组播协议报文,管理报文可以是 OAM报 文、 OMCI报文或者其他管理报文等, 时间信息可以携带在管理报文的净荷中。  The first multicast device may carry the time information in the payload of the detection packet. For example, the configuration detection packet may be a management packet or other non-multicast protocol packet, and the management packet may be an OAM packet. For OMCI messages or other management messages, time information can be carried in the payload of the management message.
UDP的净荷为检测报文的净荷, 以检测报文为 OAM报文作为举例, 封装后的 UDP ^艮文可以如图 4所示。 The payload of the UDP packet is the payload of the packet, and the packet is an OAM packet. The encapsulated UDP packet can be as shown in Figure 4.
为了能让接收端识别出检测报文, 可以在检测报文中添加专用的 UDP端口 号, 这样可以区别于普通的组播报文, 接收端根据检测报文中的 UDP端口识别 出是检测报文; 也可以在检测报文的净荷中添加约定的标识符, 接收端根据该 约定的标识符识别出是检测报文。  To enable the receiving end to identify the detection packet, you can add a dedicated UDP port number to the detection packet. This can be distinguished from the normal multicast packet. The receiving end identifies the detection packet based on the UDP port in the detection packet. The affiliation identifier may also be added to the payload of the detection packet, and the receiving end identifies the detection packet according to the agreed identifier.
第一组播设备按照检测报文的目的地址信息转发检测报文, 组播路径上设 置了检测点的设备会接收到该检测报文。 步骤 510, 第二组播设备接收检测报文, 根据本地接收到检测报文的时间信 息计算待检测的组播通道的时延或者抖动。  The first multicast device forwards the detection packet according to the destination address information of the detection packet, and the device that sets the detection point on the multicast path receives the detection packet. Step 510: The second multicast device receives the detection packet, and calculates the delay or jitter of the multicast channel to be detected according to the time information of the local detection packet.
如果第二组播设备上设置了检测点, 则第二组播设备会收到检测报文, 提 取检测报文中的时间信息, 根据本地时间信息计算待检测的组播通道的延时或 抖动。  If the detection point is set on the second multicast device, the second multicast device receives the detection packet, extracts the time information in the detection packet, and calculates the delay or jitter of the multicast channel to be detected according to the local time information. .
第二组播设备需要识别出检测报文, 可以是判定报文中的 UDP端口号是否 是约定的专用 UDP端口号, 如果是, 则是检测报文; 第二组播设备还可以判断 报文的净荷中是否有约定的标识符, 如果有, 则判定是检测报文。  The second multicast device needs to identify the detection packet, and may determine whether the UDP port number in the packet is an agreed-only dedicated UDP port number. If yes, it is a detection packet; the second multicast device may also determine the packet. Whether there is an agreed identifier in the payload, and if so, it is determined to be a test message.
第二组播设备提取检测报文中的时间信息, 假如是 TxTimeStamp, 第二组 播设备进一步获取本地接收到检测报文的时间信息, 假如是 RxTimeStamp。  The second multicast device extracts the time information in the detection packet. If it is TxTimeStamp, the second multicast device further obtains the time information of the locally received detection packet, if it is RxTimeStamp.
则第二组播设备按照公式:  Then the second multicast device follows the formula:
时延 =RxTimeStamp-TxTimeStamp计算待检测的组播通道的时延。  Delay = RxTimeStamp-TxTimeStamp calculates the delay of the multicast channel to be detected.
本实施例提供的组播通道的性能检测方法, 可以适应于二层网络和三层网 络, 可以检测组播路径上的任意段的时延和抖动, 由于检测报文和组播通道的 目的地址信息一致, 从而可以对具体的组播通道的性能进行检测。 实施例三 The performance detection method of the multicast channel provided in this embodiment can be applied to the Layer 2 network and the Layer 3 network, and can detect the delay and jitter of any segment on the multicast path, because the detection packet and the multicast channel are detected. The destination address information is consistent, so that the performance of a specific multicast channel can be detected. Embodiment 3
相应的, 本实施例还提供一种组播设备, 如图 6所示, 组播设备 60 (可以 是, 但不限于图 1中的路由设备 10、 路由设备 20或者接入设备 30等) 包括: 组播路径接口 66, 用于连接第二组播设备, 组播路径接口 66可以是三模自 适应的接口, 三模包括 GPON ( Gigabit-capable Passive Optical Network, 千兆比 特无源光网络 )、 EPON(Ethernet Passive Optical Network , 以太网无源光网络) 以及 GE ( Gigabit Ethernet , 千兆以太网 )。  Correspondingly, the embodiment further provides a multicast device. As shown in FIG. 6, the multicast device 60 (which may be, but not limited to, the routing device 10, the routing device 20, or the access device 30 in FIG. 1) includes The multicast path interface 66 is used to connect to the second multicast device, and the multicast path interface 66 can be a three-mode adaptive interface. The three-mode includes GPON (Gigabit-capable Passive Optical Network). , EPON (Ethernet Passive Optical Network) and GE (Gigabit Ethernet, Gigabit Ethernet).
组播路径接口 66和第二组播设备的组播路径上有至少两条组播通道, 这至 少两条组播通道可以是组播路径上的逻辑通道, 比如分别是组播通道 1 , 组播通 道 2, ... ... , 组播通道 η, 每条组播通道用于传输不同的目的地址的组播 ^艮文。 具体的, 如果当前组播设备 60和第二组播设备组成二层网络, 则组播通道所传 输的组播^艮文的目的地址可以是 MAC和 VLAN ID的组合来标识, 如果当前组 播设备 60和第二组播设备组成三层网络, 则组播通道所传输的组播报文的目的 地址可以用 IP和 VLAN ID的组合来标识。  The multicast path interface 66 and the second multicast device have at least two multicast channels on the multicast path. The at least two multicast channels may be logical channels on the multicast path, for example, multicast channel 1, group Broadcast channel 2, ..., multicast channel η, each multicast channel is used to transmit multicast messages of different destination addresses. Specifically, if the current multicast device 60 and the second multicast device form a Layer 2 network, the destination address of the multicast message transmitted by the multicast channel may be a combination of a MAC and a VLAN ID, if the current multicast The device 60 and the second multicast device form a Layer 3 network. The destination address of the multicast packet transmitted by the multicast channel can be identified by a combination of IP and VLAN ID.
如果需要对其中一条组播通道的性能进行检测, 则该组播通道为待检测的 组播通道。  If the performance of one of the multicast channels needs to be detected, the multicast channel is the multicast channel to be detected.
处理器 62, 用于构造检测报文, 所构造的检测报文携带当前组播设备通过 待检测的组播通道发送的报文的计数值、 或者携带发送检测报文的时间信息。 为了能对特定的组播通道的性能进行检测, 构造的检测报文的目的地址信息需 要与待检测的组播通道所传输的组播报文的目的地址信息相同。 报文可以是 OAM报文、 或者 OMCI报文或者其他管理报文等, 当然, 本实施 例并不限定检测报文的具体协议。 计数值或者时间信息可以携带在检测报文的 净荷中。  The processor 62 is configured to construct a detection packet, where the detection packet carries the count value of the packet sent by the current multicast device through the multicast channel to be detected, or carries the time information of sending the detection packet. In order to detect the performance of a specific multicast channel, the destination address information of the detected packet needs to be the same as the destination address of the multicast packet transmitted by the multicast channel to be detected. The packet may be an OAM packet, an OMCI packet, or other management packet. Of course, this embodiment does not limit the specific protocol for detecting the packet. The count value or time information can be carried in the payload of the test message.
在另一个实施例中, 处理器 62可以釆用 UDP协议对检测 文进行封装, 为了使得接收端容易识别检测报文, 处理器 62还可以在 UDP报文中携带 专用的 UDP端口号, 该专用的 UDP端口号可以与待检测的组播通道所传输的 组播流的 UDP端口号不同, 接收端可以根据这个端口号来识别检测报文。 当然 了, 处理器 62也可以在净荷中设置一个约定的标识符, 接收端根据净荷中的这 个标识符来识别检测 4艮文。 In another embodiment, the processor 62 may encapsulate the detection file by using the UDP protocol. To enable the receiving end to easily identify the detection packet, the processor 62 may also carry a dedicated UDP port number in the UDP packet. The UDP port number can be transmitted with the multicast channel to be detected. The UDP port number of the multicast stream is different. The receiving end can identify the detection packet according to the port number. Of course, the processor 62 can also set an agreed identifier in the payload, and the receiving end can identify the detected message according to the identifier in the payload.
数据发送器 64, 用于按照检测报文的目的地址信息将检测报文从所述组播 路径接口发送出去。  The data transmitter 64 is configured to send the detection packet from the multicast path interface according to the destination address information of the detection packet.
本实施例提供的组播设备 60还可以包括存储器 68、 电源、 电源接口等。 其中, 存储器 68, 用于存储待检测的组播通道所发送的报文的计数值或者 时间信息等。  The multicast device 60 provided in this embodiment may further include a memory 68, a power source, a power interface, and the like. The memory 68 is configured to store a count value or time information of a packet sent by the multicast channel to be detected.
电源用于给组播设备 60提供电源, 电源接口可以给电源提供交流电或者直 流电。  The power supply is used to provide power to the multicast device 60, and the power interface can provide alternating current or direct current to the power supply.
本实施例提供的组播设备可以适应于二层网络和三层网络, 可以检测组播 路径上的任意段的丟包率以及连通性, 由于检测报文和组播通道的目的地址信 息一致, 从而可以对具体的组播通道的性能进行检测, 通过运用本实施例提供 的组播设备, 可以快速对具体的组播通道的故障进行定位。 本实施例还提供一种组播设备, 如图 7所示, 组播设备 70 (可以是, 但不 限于图 1中的路由设备 10、 路由设备 20或者接入设备 30等) 包括:  The multicast device provided in this embodiment can be adapted to the Layer 2 network and the Layer 3 network, and can detect the packet loss rate and the connectivity of any segment on the multicast path. Therefore, the performance of the specific multicast channel can be detected. By using the multicast device provided in this embodiment, the fault of the specific multicast channel can be quickly located. The present embodiment further provides a multicast device. As shown in FIG. 7, the multicast device 70 (which may be, but is not limited to, the routing device 10, the routing device 20, or the access device 30 in FIG. 1) includes:
数据接收器 72, 用于接收报文, 报文可以是组播报文, 也可以是检测报文 等。  The data receiver 72 is configured to receive a packet, and the packet may be a multicast packet or a detection packet.
处理器 74 , 用于在识别出数据接收器 72接收的报文是检测报文时,提取检 测报文中的计数值, 利用从对应的组播通道接收的报文的计数值计算待检测的 组播通道的丟包率、 获取在检测报文中携带有时间信息时, 提取检测报文中的 时间信息, 利用本地接收到检测报文的时间信息计算待检测的组播通道的时延 和抖动。  The processor 74 is configured to: when it is determined that the packet received by the data receiver 72 is a detection packet, extract the count value in the detection packet, and calculate the to-be-detected by using the count value of the packet received from the corresponding multicast channel. When the packet loss rate of the multicast channel is received, the time information in the detection packet is extracted, and the time information of the detection packet is calculated by using the time information of the local detection packet. shake.
具体的, 处理器 74可以包括定帧模块 741和 CPU ( Central Processing Unit, 中央处理器) 743 :  Specifically, the processor 74 may include a framing module 741 and a CPU (Central Processing Unit) 743:
定帧模块 741 , 用于对接收的报文进行识别, 在识别出报文是检测报文时, 提取检测报文中的计数值、 或者提取出检测报文中的时间信息。  The framing module 741 is configured to identify the received message, and when the detected message is a detection message, extract the count value in the detection message or extract the time information in the detection message.
定帧模块 741 还可以提取检测报文的目的地址信息, 根据目的地址信息识 别出是哪一条组播通道。 具体的识别检测报文的过程可以是由定帧模块 741 根据检测报文中的标识 信息识别是检测报文还是普通的组播报文, 具体可以是判断报文中的 UDP端口 号是否是设定的专用 UDP端口号, 或者是判断报文的净荷中是否有约定的标识 付寺。 The framing module 741 can also extract the destination address information of the detected message, and identify which multicast channel is based on the destination address information. The specific process of identifying the detection packet may be that the framing module 741 identifies the detection packet or the ordinary multicast packet according to the identification information in the detection packet, and specifically determines whether the UDP port number in the packet is set. The specified private UDP port number, or whether to determine whether there is an agreed identifier in the payload of the message.
定帧模块 741 可以根据检测报文的目的地址信息, 识别是从哪条组播通道 发送来的, 具体可以是从目的地址信息与组播通道标识的对应关系中得到目的 地址信息对应的组播通道, 本实施例中的组播通道的标识信息可以是组播通道 的标签, 如 ID、 通道号或者其他可以标识组播通道的信息等。  The framing module 741 can identify which multicast channel is sent according to the destination address information of the detection packet, and specifically obtain the multicast corresponding to the destination address information from the correspondence between the destination address information and the multicast channel identifier. The identification information of the multicast channel in this embodiment may be a label of the multicast channel, such as an ID, a channel number, or other information that can identify the multicast channel.
定帧模块 741 还用于对每个组播通道收到的报文进行计数, 将计数值保存 在存储器 76中。  The framing module 741 is also used to count the messages received by each multicast channel and store the count values in the memory 76.
CPU743 , 用于根据检测报文中的计数值, 以及待检测的组播通道收到的报 文的计数值计算待检测的组播通道的丟包率、 或者根据检测报文中的时间信息, 以及从待检测的组播通道接收到检测报文的时间计算待检测的组播通道的时延 和抖动, 具体的计算过程前面实施例已经描述, 在此不再阐述。  The CPU 743 is configured to calculate, according to the count value in the detection packet, the packet loss rate of the multicast channel to be detected, or the time information in the detection packet according to the count value of the packet received by the multicast channel to be detected. And calculating the delay and jitter of the multicast channel to be detected from the time when the detection packet is received by the multicast channel to be detected. The specific calculation process has been described in the foregoing embodiments and will not be described here.
CPU743还用于在设定的时间内没有收到检测报文,判定待检测的组播通道 存在故障等。  The CPU 743 is further configured to not receive the detection packet within the set time, and determine that there is a fault in the multicast channel to be detected.
组播设备 70还可以包括数据发送器 78等, 数据发送器 78用于对数据接收 器 72收到的报文进行转发。  The multicast device 70 may further include a data transmitter 78 and the like, and the data transmitter 78 is configured to forward the message received by the data receiver 72.
作为举例,本实施例提供的组播设备可以是 DSLAM( Digital Subscriber Line Access Multiplexer, 数字用户线接入复用器)、 OLT ( Optical Line Terminal, 光 线路终端)、 MSAN ( Multiservice Access Node,多业务接入节点 )或者路由器等。  By way of example, the multicast device provided in this embodiment may be a DSLAM (Digital Subscriber Line Access Multiplexer), an OLT (Optical Line Terminal), and an MSAN (Multiservice Access Node). Access node) or router.
本实施例提供的组播设备可以对具体的组播通道的性能进行检测, 通过运 用本实施例提供的组播设备, 可以快速对具体的组播通道的故障进行定位。 本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤 是可以通过程序来指令相关的硬件来完成, 该程序可以存储于一计算机可读存 储介质中,存储介质可以包括:闪存盘、只读存储器( Read-Only Memory , ROM )、 随机存取器 ( Random Access Memory, RAM ), 磁盘或光盘等。 以上对本发明实施例所提供的数据处理方法、 设备和系统进行了详细介绍, 一般技术人员, 依据本发明的思想, 在具体实施方式及应用范围上均会有改变 之处, 综上所述, 本说明书内容不应理解为对本发明的限制 The multicast device provided in this embodiment can detect the performance of the specific multicast channel. By using the multicast device provided in this embodiment, the fault of the specific multicast channel can be quickly located. A person of ordinary skill in the art may understand that all or part of the steps of the foregoing embodiments may be performed by a program to instruct related hardware. The program may be stored in a computer readable storage medium, and the storage medium may include: Flash disk, Read-Only Memory (ROM), Random Access Memory (RAM), disk or optical disk. The data processing method, device and system provided by the embodiments of the present invention are described in detail above. The present invention is not limited to the scope of the present invention.

Claims

权利要求书 Claim
1、 一种组播通道的性能检测系统, 包括第一组播设备和第二组播设备, 其 特征在于, 所述第一组播设备和所述第二组播设备之间的组播路径上有至少两 条组播通道, 所述至少两条通道用于传输组播报文, 每条组播通道所传输的组 播"¾文的目的地址各不相同; A performance detection system for a multicast channel, comprising a first multicast device and a second multicast device, wherein the multicast path between the first multicast device and the second multicast device There are at least two multicast channels on the at least two channels, and the at least two channels are used to transmit multicast packets, and the multicast addresses transmitted by each multicast channel are different.
所述第一组播设备, 用于构造检测报文, 所述检测报文携带所述第一组播 设备通过所述至少两条组播通道中的一条待检测的组播通道发送的组播 4艮文的 计数值、 或者携带有所述第一组播设备发送所述检测报文的时间信息; 所述检 测才艮文的目的地址信息与所述待检测的组播通道所传输的组播 4艮文的目的地址 信息相同; 根据所述检测报文的目的地址信息发送所述检测报文;  The first multicast device is configured to construct a detection packet, where the detection packet carries the multicast sent by the first multicast device through one of the at least two multicast channels to be detected. And the time value of the first multicast device to send the detection packet; the destination address information of the detection packet and the group transmitted by the multicast channel to be detected. The destination address information of the broadcast packet is the same; the detection packet is sent according to the destination address information of the detection packet;
所述第二组播设备, 用于接收所述检测报文, 在所述检测报文中携带有计 数值时提取所述检测报文中的计数值, 根据所述提取的计数值以及从所述待检 测的组播通道接收的组播报文的计数值计算所述待检测的组播通道的丟包率; 或者在所述检测报文中携带有时间信息时提取所述检测报文中的时间信息, 根 据提取的时间信息以及本地接收到所述检测报文的时间信息计算所述待检测的 组播通道的时延。  The second multicast device is configured to receive the detection packet, and when the detection packet carries a count value, extract a count value in the detection packet, according to the extracted count value and the slave Determining, by the count value of the multicast packet received by the multicast channel, the packet loss rate of the multicast channel to be detected; or extracting the detection packet when the time information is carried in the detection packet The time information of the multicast channel to be detected is calculated according to the extracted time information and the time information of the locally received detection packet.
2、 根据权利要求 1所述的系统, 其特征在于, 所述目的地址信息为因特网 协议 IP地址和虚拟局域网标识 VLAN ID的组合、或者为媒体访问控制 MAC地 址和 VLAN ID的组合。 2. The system according to claim 1, wherein the destination address information is a combination of an Internet Protocol IP address and a virtual local area network identification VLAN ID, or a combination of a medium access control MAC address and a VLAN ID.
3、 根据权利要求 1所述的系统, 其特征在于, 所述检测报文为操作、 管理 和维护 OAM报文, 所述第一组播设备还用于釆用用户数据报协议 UDP对所述 OAM报文进行封装。  The system according to claim 1, wherein the detection message is an operation, management, and maintenance OAM message, and the first multicast device is further configured to use the user datagram protocol UDP to OAM packets are encapsulated.
4、 根据权利要求 1-3任意一项所述的系统, 其特征在于, 所述检测报文还 携带有专用用户数据报协议 UDP端口信息, 所述第二组播设备还用于检测接收 到的报文中是否携带有设定的专用 UDP端口信息或者约定的标识符, 如果有, 则判定接收的报文为检测报文。  The system according to any one of claims 1-3, wherein the detection message further carries a dedicated user datagram protocol UDP port information, and the second multicast device is further configured to detect and receive Whether the carried message carries the set dedicated UDP port information or the agreed identifier, and if so, determines that the received message is a detection message.
5、 根据权利要求 1-4任意一项所述的系统, 其特征在于, 所述第一组播设 备为路由器或者接入设备。 The system according to any one of claims 1 to 4, wherein the first multicast setting Prepare as a router or access device.
6、 一种组播通道的性能检测方法, 其特征在于, 第一组播设备和第二组播 设备之间的组播路径上有至少两条组播通道, 所述至少两条组播通道用于传输 组播报文, 每条组播通道所传输的组播报文的目的地址信息各不相同, 所述方 法包括:  A method for detecting a performance of a multicast channel, where the multicast path between the first multicast device and the second multicast device has at least two multicast channels, and the at least two multicast channels For transmitting multicast packets, the destination address information of the multicast packets transmitted by each multicast channel is different. The method includes:
所述第一组播设备构造检测报文, 所述检测报文携带所述第一组播设备通 过所述至少两条组播通道中的一条待检测的组播通道发送的组播报文的计数 值, 所述检测 ^艮文的目的地址信息与所述待检测的组播通道所传输的组播 ^艮文 的目的地址信息相同;  The first multicast device constructs a detection packet, where the detection packet carries the multicast packet sent by the first multicast device through one of the at least two multicast channels to be detected. a destination value, where the destination address information of the detection message is the same as the destination address information of the multicast message transmitted by the multicast channel to be detected;
所述第一组播设备根据所述目的地址信息发送所述检测报文, 以使得所述 第二组播设备接收所述检测报文, 提取所述检测报文中的计数值, 根据所述提 取的计数值以及从所述待检测的组播通道接收的组播报文的计数值计算所述待 检测的组播通道的丟包率;  The first multicast device sends the detection packet according to the destination address information, so that the second multicast device receives the detection packet, and extracts a count value in the detection packet, according to the Calculating a packet loss rate of the multicast channel to be detected, by using the extracted count value and the count value of the multicast packet received from the multicast channel to be detected;
或者  Or
所述第一组播设备构造检测报文, 所述检测报文携带有所述第一组播设备 发送所述检测报文的时间信息, 所述检测报文的目的地址信息与所述待检测的 组播通道所传输的组播>¾文的目的地址信息相同;  The first multicast device constructs a detection packet, where the detection packet carries time information of the first multicast device to send the detection packet, and the destination address information of the detection packet is to be detected. The destination address information of the multicast >3⁄4 text transmitted by the multicast channel is the same;
所述第一组播设备根据所述目的地址信息发送所述检测报文, 以使得所述 第二组播设备接收所述检测报文, 提取所述检测报文中的时间信息, 根据提取 的时间信息以及本地接收到所述检测报文的时间信息计算所述待检测的组播通 道的时延。  The first multicast device sends the detection packet according to the destination address information, so that the second multicast device receives the detection packet, and extracts time information in the detection packet, according to the extracted The time information and the time information of the locally received detection packet are used to calculate the delay of the multicast channel to be detected.
7、 根据权利要求 6所述的方法, 其特征在于, 所述目的地址信息为因特网 协议 IP地址和虚拟局域网标识 VLAN ID的组合、或者为媒体访问控制 MAC地 址和 VLAN ID的组合。  The method according to claim 6, wherein the destination address information is a combination of an Internet Protocol IP address and a virtual local area network identification VLAN ID, or a combination of a medium access control MAC address and a VLAN ID.
8、 根据权利要求 6所述的方法, 其特征在于, 所述检测报文还携带有专用 用户数据报协议 UDP端口信息, 所述 UDP端口信息用于对所述检测报文进行 标识。  The method according to claim 6, wherein the detection packet further carries a dedicated user datagram protocol UDP port information, and the UDP port information is used to identify the detection packet.
9、 一种组播设备, 其特征在于, 包括:  A multicast device, comprising:
组播路径接口, 用于连接第二组播设备, 所述组播路径接口和所述第二组 播设备之间的组播路径上有至少两条组播通道, 所述至少两条组播通道用于传 输组播报文, 每条组播通道传输的组播报文的目的地址信息各不相同; a multicast path interface, configured to connect to the second multicast device, the multicast path interface, and the second group There are at least two multicast channels on the multicast path between the broadcast devices. The at least two multicast channels are used to transmit multicast packets. The destination address information of multicast packets transmitted by each multicast channel is different. the same;
处理器, 用于构造检测报文, 所述检测报文携带当前组播设备通过所述至 少两条组播通道中的一条待检测的组播通道发送的组播报文的计数值、 或者携 带有所述当前组播设备发送所述检测报文的时间信息; 所述检测报文的目的地 址信息与所述待检测的组播通道所传输的组播报文的目的地址信息相同;  The processor is configured to construct a detection packet, where the detection packet carries a count value of the multicast packet sent by the current multicast device through one of the at least two multicast channels to be detected, or carries The current multicast device sends the time information of the detection packet; the destination address information of the detection packet is the same as the destination address information of the multicast packet transmitted by the multicast channel to be detected;
数据发送器, 用于按照所述目的地址信息发送所述检测报文。  And a data transmitter, configured to send the detection packet according to the destination address information.
10、 根据权利要求 9所述的组播设备, 其特征在于, 所述检测报文为操作、 管理和维护 OAM报文,所述处理器还用于将所述 OAM报文封装成用户数据报 协议 UDP报文。  The multicast device according to claim 9, wherein the detection packet is an operation, management, and maintenance OAM packet, and the processor is further configured to encapsulate the OAM packet into a user datagram. Protocol UDP packet.
11、 根据权利要求 8 所述的组播设备, 其特征在于, 所述组播设备为数字 用户线接入复用器 DSLAM、 光线路终端 OLT、 多业务接入节点 MSAN或者路 由器。  The multicast device according to claim 8, wherein the multicast device is a digital subscriber line access multiplexer DSLAM, an optical line terminal OLT, a multi-service access node MSAN or a router.
PCT/CN2012/088047 2012-12-31 2012-12-31 Method, apparatus and system for detecting performance of multicast channel WO2014101185A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201280017336.8A CN104067559B (en) 2012-12-31 2012-12-31 The method for testing performance of multicast channel, device and system
PCT/CN2012/088047 WO2014101185A1 (en) 2012-12-31 2012-12-31 Method, apparatus and system for detecting performance of multicast channel

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2012/088047 WO2014101185A1 (en) 2012-12-31 2012-12-31 Method, apparatus and system for detecting performance of multicast channel

Publications (1)

Publication Number Publication Date
WO2014101185A1 true WO2014101185A1 (en) 2014-07-03

Family

ID=51019788

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/088047 WO2014101185A1 (en) 2012-12-31 2012-12-31 Method, apparatus and system for detecting performance of multicast channel

Country Status (2)

Country Link
CN (1) CN104067559B (en)
WO (1) WO2014101185A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107231266A (en) * 2016-03-24 2017-10-03 中兴通讯股份有限公司 The detection method and device of message passage
WO2021057517A1 (en) * 2019-09-24 2021-04-01 中兴通讯股份有限公司 Method for monitoring multicast service and board

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105991370B (en) * 2015-03-27 2020-01-03 杭州迪普科技股份有限公司 UDP channel detection method and device
CN106559283A (en) * 2015-09-30 2017-04-05 华为技术有限公司 A kind of network monitoring method, apparatus and system
CN112688827B (en) * 2019-10-18 2023-03-31 华为技术有限公司 Multicast stream detection method, device and system
JP2023530994A (en) * 2021-05-28 2023-07-20 新華三技術有限公司 IN-SITU FLOW DETECTION METHOD AND ELECTRONIC DEVICE

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1968163A (en) * 2006-10-25 2007-05-23 华为技术有限公司 Method for service channel detection and system for providing the same
CN101356778A (en) * 2006-01-04 2009-01-28 日立通讯技术株式会社 Network system and data transfer device
JP2010045575A (en) * 2008-08-12 2010-02-25 Nippon Telegr & Teleph Corp <Ntt> Method and system for monitoring ip multicast communication

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100596196C (en) * 2007-06-26 2010-03-24 杭州华三通信技术有限公司 Video storage method, device and network video monitoring system
CN102045332B (en) * 2009-10-26 2013-05-08 杭州华三通信技术有限公司 Method for processing control message in intelligent resilient framework and line card boards

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101356778A (en) * 2006-01-04 2009-01-28 日立通讯技术株式会社 Network system and data transfer device
CN1968163A (en) * 2006-10-25 2007-05-23 华为技术有限公司 Method for service channel detection and system for providing the same
JP2010045575A (en) * 2008-08-12 2010-02-25 Nippon Telegr & Teleph Corp <Ntt> Method and system for monitoring ip multicast communication

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107231266A (en) * 2016-03-24 2017-10-03 中兴通讯股份有限公司 The detection method and device of message passage
WO2021057517A1 (en) * 2019-09-24 2021-04-01 中兴通讯股份有限公司 Method for monitoring multicast service and board

Also Published As

Publication number Publication date
CN104067559A (en) 2014-09-24
CN104067559B (en) 2018-03-09

Similar Documents

Publication Publication Date Title
US8861342B2 (en) Multicast-only fast re-route processing for point-to-multipoint pseudowire
EP2555476A1 (en) Method, system and device for protecting multicast in communication network
US20150085640A1 (en) Forwarding Multicast Data Packets
US20140122704A1 (en) Remote port mirroring
WO2014101185A1 (en) Method, apparatus and system for detecting performance of multicast channel
EP3764594A1 (en) Network device management method, apparatus and system
WO2008119300A1 (en) A protecting method and device for ethernet tree service
CN112119616A (en) In-place operation implementation and management (IOAM) for multicast and unicast traffic involving packet replication
WO2016041379A1 (en) Method and apparatus for implementing nni ping
WO2016082588A1 (en) Link connectivity checking method and apparatus
WO2018176496A1 (en) Iptv service quality detection method, device and system
WO2013091471A1 (en) Method and device for protecting passive optical network (pon)
KR20140040250A (en) Bootstrapping fault detection sessions over a p2mp tunnel
JP2011502400A (en) Forwarding loop prevention apparatus and method
US20220060344A1 (en) Method for indicating multicast forwarding entry and device
CN101527727A (en) Communication device and operation management method
WO2014019348A1 (en) Method, device and system for operation, management and maintenance of oam configuration
WO2015149353A1 (en) Oam packet processing method, network device and network system
WO2015070614A1 (en) Method and device for detecting connectivity of user side interfaces of l2vpn
WO2014117737A1 (en) Oam packet processing method, device and system
WO2012095040A2 (en) Method for transmitting data in passive optical network, user-side equipment, and system
WO2015184868A1 (en) Device and method for detecting signal failure in service layer
US11171860B2 (en) Method for obtaining target transmission route, related device, and system
US20220210036A1 (en) Network Measurement System And Method, Device, And Storage Medium
WO2012142753A1 (en) Method and device for monitoring ip bearer network performance

Legal Events

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

Ref document number: 12890902

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12890902

Country of ref document: EP

Kind code of ref document: A1