WO2015154512A1 - 一种组播链路的检测方法、网络设备及服务器 - Google Patents
一种组播链路的检测方法、网络设备及服务器 Download PDFInfo
- Publication number
- WO2015154512A1 WO2015154512A1 PCT/CN2014/093998 CN2014093998W WO2015154512A1 WO 2015154512 A1 WO2015154512 A1 WO 2015154512A1 CN 2014093998 W CN2014093998 W CN 2014093998W WO 2015154512 A1 WO2015154512 A1 WO 2015154512A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- network device
- multicast
- multicast service
- service information
- server
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
Definitions
- the present invention relates to the field of detection technologies for multicast links, and in particular, to a method, a network device, and a server for detecting a multicast link.
- IGMP The Internet Group Management Protocol, a multicast protocol in the Internet Protocol family, that is used by IP hosts to report their group membership to any directly adjacent router.
- Each device adopting this technology should respond to multicast protocol packets of other devices on the network to maintain the multicast link status on the entire network, ensure the smooth flow of multicast services, and minimize the multicast service pair. The burden caused by the entire network.
- each device can only know the multicast protocol and link status of itself and the downstream direction.
- the entire network can only be checked step by step by the system administrator using an external test device.
- this method will inevitably interfere with the relevant network during the test process, causing network interruption and other issues.
- the test procedure is cumbersome and the cycle is long.
- the object of the embodiments of the present invention is to provide a multicast link detection method, a network device, and a server, which can remotely monitor the multicast link and service status of the entire network without interrupting the current network service, and quickly and accurately Locate the multicast failure point.
- a method for detecting a multicast link includes:
- the first network device sends a multicast join request command to the upstream network device interconnected with the first network device according to the control command sent by the server;
- the first network device receives the multicast service information sent by the upstream network device according to the multicast join request command, and sends the multicast service information to the server.
- the multicast service information includes at least: a type, a frequency, and a receiving interval of the multicast protocol packet, and traffic data of the multicast service flow.
- the multicast service information received by the first network device is sent by the upstream network device by using an Internet group management protocol.
- a method for detecting a multicast link includes:
- the server sends a control command to a preset network device, where the control command is used to instruct the preset network device to send a multicast join request command to an upstream network device interconnected with the preset network device;
- the server obtains the multicast service information sent by the preset network device, where the multicast service information is sent by the upstream network device to the preset network device according to the multicast join request command.
- the method further includes:
- the server analyzes and determines the multicast service information according to a preset determination rule, and determines a fault point of the multicast link.
- the server analyzes and determines the multicast service information according to a preset determination rule, and the step of determining a fault point of the multicast link includes:
- the traffic value of the multicast service in the multicast service information received by the preset network device is greater than zero and less than the threshold, determining that a link between the preset network device and its upstream network device occurs malfunction;
- a network device includes a request module and a multicast module, wherein:
- the requesting module is configured to: send a multicast join request command to an upstream network device interconnected with the network device according to a control command sent by the server;
- the multicast module is configured to: receive multicast service information sent by the upstream network device according to the multicast join request command, and send the multicast service information to the server.
- the multicast service information includes at least: a type, a frequency, and a receiving interval of the multicast protocol packet, and traffic data of the multicast service flow.
- the multicast service information received by the multicast module is sent by the upstream network device by using an Internet group management protocol.
- a server includes a sending module and an obtaining module, wherein:
- the sending module is configured to: send a control command to a preset network device, where the control command is used to instruct the preset network device to send a multicast join request command to an upstream network device interconnected with the preset network device;
- the obtaining module is configured to: obtain the multicast service information sent by the preset network device, where the multicast service information is sent by the upstream network device to the preset network device according to the multicast join request command. .
- the server further includes a determining module, wherein:
- the determining module is configured to: analyze and determine the multicast service information according to a preset determination rule, and determine a fault point of the multicast link.
- the determining module includes a setting module, a first determining submodule, and a second determining submodule, where:
- the setting module is configured to: preset a threshold value of a traffic of a multicast service flow
- the first determining sub-module is configured to: if the traffic value of the multicast service in the multicast service information received by the preset network device is greater than zero and less than the threshold, determine the preset network device The link between the network device and its upstream network device has failed;
- the second determining submodule is configured to: if the preset network device receives the multicast service The traffic value of the multicast service in the information is equal to zero, and it is determined that the upstream network device that occurs in the preset network device is faulty.
- a computer program comprising program instructions that, when executed by a network device, cause the network device to perform a method of detecting a multicast link on any of the network device side.
- a computer program comprising program instructions that, when executed by a server, cause the server to perform any of the above-described methods of detecting a multicast link on the server side.
- a carrier carrying the computer program.
- the network device that receives the control command sends a multicast join request to the upstream network device interconnected with itself by sending a control command to the network device on the network link, and then monitors
- the multicast service information received by the user and statistics are used to determine the multicast protocol and service status of the system, locate the fault, and accurately locate the multicast fault point. This facilitates timely troubleshooting and improves detection efficiency.
- FIG. 1 is a flow chart showing the basic steps of a method for detecting a multicast link on a network device side according to an embodiment of the present invention
- FIG. 2 is a flow chart showing the basic steps of the method for detecting a multicast link on the server side according to an embodiment of the present invention
- FIG. 3 is a schematic structural diagram of an application scenario of an embodiment of the present invention.
- FIG. 4 is a schematic structural diagram of a network device according to an embodiment of the present invention.
- FIG. 5 is a schematic structural diagram of a server according to an embodiment of the present invention.
- the present invention is directed to the IGMP protocol-based system in the related art.
- the entire network can only be inspected step by step using an external test device.
- This method interferes with the relevant network and has a cumbersome procedure and a long cycle, providing a multicast link.
- the network device that receives the control command sends a multicast join request to the upstream network device interconnected with itself, and then monitors the multicast service information received by itself.
- Statistics are performed to determine the multicast protocol and service status of the system, locate faults, and accurately locate multicast fault points, so as to facilitate troubleshooting in time and improve detection efficiency.
- an embodiment of the present invention provides a method for detecting a multicast link, including:
- Step 1 The first network device sends a multicast join request command to the upstream network device interconnected with the first network device according to the control command sent by the server.
- Step 2 The first network device receives the multicast service information sent by the upstream network device according to the multicast join request command, and sends the multicast service information to the server.
- each device in the IGMP-based system can only know the multicast protocol and link status of the device in the downstream direction, so that each device can know the status of its upstream network device.
- sending, by the upstream network device, a multicast join request (Report) command and the upstream network device sends the multicast service information to the network device interconnected with the upstream network device according to the report, according to the report command, optionally
- the multicast service information includes at least a type, a frequency, and a receiving interval of the multicast protocol packet and traffic data of the multicast service flow.
- the comparison of the intervals can determine whether the first network device (or link) is faulty; or according to the traffic data of the multicast service flow of the first network device and the traffic data of the multicast service flow of other network devices interconnected thereto
- the fault status can be further determined by comparing the on/off status of the multicast service flow and the congestion status of the multicast link.
- the multicast service information received by the first network device is sent by the upstream network device by using an Internet group management protocol.
- the Internet group management protocol is the IGMP protocol
- the multicast service information is automatically requested by the upstream network device to be sent to the first network device by using a related setting in the IGMP protocol.
- the specific delivery process is not specifically described in the embodiment of the present invention.
- the embodiment of the present invention further provides a method for detecting a multicast link, including:
- Step 3 The server sends a control command to a preset network device, where the control command is used to instruct the preset network device to send a multicast join request command to an upstream network device interconnected with the preset network device.
- Step 4 The server obtains the multicast service information sent by the preset network device, where the multicast service information is sent by the upstream network device received by the preset network device according to a multicast join request command.
- the server SERVER runs on a network management system or other server, and the server may send a control command to the network device on the network link suspected of being faulty or otherwise requiring monitoring, and receiving the preset of the control command.
- the network device sends a multicast join request command to the upstream network device interconnected with the preset network device.
- the method further includes:
- Step 5 The server analyzes and determines the multicast service information according to a preset determination rule, and determines a fault point of the multicast link.
- the network device periodically sends the statistical multicast service information to the server, or the server actively performs data collection.
- the status of the multicast protocol and traffic flow over the entire link can be depicted by the server.
- the user can analyze the status of the real network and determine the point of failure.
- some determination rules may be set in advance, and then the system automatically determines the multicast protocol and service status of the system to perform fault location.
- the administrator can set the expected traffic of the multicast service flow and then test it. According to the test result, the entire network traffic distribution and packet loss rate can be drawn, so that the location can be quickly located. A link has been congested.
- the criterion for the success or failure of the node test is whether the traffic data of the multicast service flow of the node is greater than 0. If the traffic data is greater than 0, the upstream link of the node supports the multicast protocol; if the traffic data is equal to 0, the upstream link of the node does not support the multicast protocol.
- step 5 includes:
- Step 51 Predetermine a threshold value of a traffic of a multicast service flow
- Step 52 If the traffic value of the multicast service in the multicast service information received by the preset network device is greater than zero and less than the threshold, determine between the preset network device and the upstream network device. The link has failed;
- Step 53 If the traffic value of the multicast service in the multicast service information received by the preset network device is equal to zero, determine that the upstream network device that occurs in the preset network device is faulty.
- the multicast traffic received by the network device 1 is 2 MBPS; the multicast traffic received by the network device 2 is 1.5 MBPS; the multicast traffic received by the network device 3 is 2 MBPS; and the multicast traffic received by the network device 4 is 1.5 MBPS.
- the multicast traffic received by the network device 1 is 2 MBPS; the multicast traffic received by the network device 2 is 0 MBPS; the multicast traffic received by the network device 3 is 0 MBPS; and the multicast traffic received by the network device 4 is 0 MBPS.
- All or part of the steps of the multicast link monitoring method in the above embodiment of the present invention may be instructed to execute related hardware by a program; and the program may be stored in a computer readable storage medium, such as a read only memory. Disk or disc, etc. Or all or part of the steps of the above embodiments may also be implemented by using one or more integrated circuits, and is not limited to a fixed form.
- the embodiment of the present invention further provides a network device, including:
- the requesting module 10 is configured to: send a multicast join request command to an upstream network device interconnected with the network device according to a control command sent by the server;
- the multicast module 20 is configured to: receive the multicast service information sent by the upstream network device according to the multicast join request command, and send the multicast service information to the server.
- the multicast service information includes at least a type, a frequency, and a receiving interval of the multicast protocol packet and traffic data of the multicast service flow.
- the multicast service information received by the multicast module is sent by the upstream network device by using an Internet group management protocol.
- the network device provided by the embodiment of the present invention is a network device capable of implementing the foregoing method for detecting a multicast link, and therefore all embodiments of the foregoing method for detecting a multicast link are applicable to the network device, and Can achieve the same or similar benefits.
- an embodiment of the present invention further provides a server, including:
- the sending module 30 is configured to: send a control command to the preset network device, where the control command is used to instruct the preset network device to send a multicast join request command to an upstream network device that is interconnected with the preset network device;
- the obtaining module 40 is configured to: obtain the multicast service information sent by the preset network device, where the multicast service information is sent by the upstream network device received by the preset network device according to a multicast join request command.
- the server further includes:
- the determining module is configured to: analyze and determine the multicast service information according to a preset determination rule, and determine a fault point of the multicast link.
- the determining module includes:
- Setting a module configured to: preset a threshold of traffic of a multicast service flow
- a first determining submodule configured to: if the preset network device receives the multicast service letter The traffic value of the multicast service in the information is greater than zero and is less than the threshold, and determining that the link between the preset network device and its upstream network device is faulty;
- the second determining sub-module is configured to: if the traffic value of the multicast service in the multicast service information received by the preset network device is equal to zero, determine that the upstream network device that occurs in the preset network device is faulty.
- the embodiment of the invention further discloses a computer program, comprising program instructions, when the program instruction is executed by the network device, so that the network device can perform the detection method of the multicast link on any of the network device sides.
- the embodiment of the invention also discloses a carrier carrying the computer program.
- the embodiment of the invention further discloses a computer program, comprising program instructions, which, when executed by the server, enable the server to perform the above-mentioned detection method of the multicast link on the server side.
- the embodiment of the invention also discloses a carrier carrying the computer program.
- the method for detecting a multicast link in the foregoing embodiment of the present invention sends a control request to a network device on a network link, and the network device that receives the control command sends a multicast join request to an upstream network device interconnected with the network device. Then, it monitors the multicast service information received by itself, and performs statistics to determine the multicast protocol and service status of the system, locate faults, and accurately locate multicast fault points, so as to facilitate timely troubleshooting and improve detection efficiency.
- the server provided by the embodiment of the present invention is a server capable of implementing the foregoing method for detecting a multicast link, and all embodiments of the foregoing detection method are applicable to the server, and all of the same or similar beneficial effects can be achieved. .
- the network device that receives the control command sends the control command to the network device on the network link, and the network device that receives the control command sends the network device to the upstream network device that is interconnected with itself.
- Multicast join request then monitor the multicast service information received by itself, and perform statistics to determine the multicast protocol and service status of the system, locate faults, and accurately locate multicast fault points, so as to facilitate timely troubleshooting and improve detection. effectiveness. Therefore, the present invention has strong industrial applicability.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
一种组播链路的检测方法、网络设备及服务器,涉及通信技术领域。其中,该组播链路的检测方法包括:第一网络设备根据服务器发送的控制命令,向和该第一网络设备互联的上游网络设备发送组播加入请求命令;所述第一网络设备接收所述上游网络设备基于所述组播加入请求命令发送的组播业务信息,并将所述组播业务信息发送至所述服务器。该检测方法通过向网络链路上的网络设备发送控制命令,接到控制命令的网络设备向和自己互联的上游网络设备发送组播加入请求,然后监测自身所收到的组播业务信息,并进行统计,判断系统的组播协议和业务状态,进行故障定位,准确定位组播故障点,便于及时排除故障,提高检测的效率。
Description
本发明涉及组播链路的检测技术领域,特别涉及一种组播链路的检测方法、网络设备及服务器。
IGMP:Internet Group Management Protocol(Internet组管理协议),是因特网协议家族中的一个组播协议,用于IP主机向任一个直接相邻的路由器报告他们的组成员情况。
每一个采用该技术的设备都应正常响应网络中其他设备的组播协议报文,以维持整个网络上的组播链路状态,保证组播业务流的畅通,并尽可能减轻组播业务对整个网络造成的负担。
相关系统中,每个设备只能知道自己和下游方向的组播协议和链路状态,一旦出现故障,很难确定是网络中的那个设备或者那一段链路出现了问题,是什么问题。在这种情况下,一旦出现故障,就只能由系统管理员使用外部测试设备逐段检查整个网络。这种方法,除了需要附加的设备外,测试过程中也必然会干扰相关的网络,造成网络中断等问题。测试手续繁琐,周期漫长。
发明内容
本发明实施例的目的在于提供一种一种组播链路的检测方法、网络设备及服务器,在不中断当前网络业务的情况下远程监控整个网络的组播链路和业务状态,迅速准确的定位组播故障点。
为了达到上述目的,采用如下技术方案:
一种组播链路的检测方法,包括:
第一网络设备根据服务器发送的控制命令,向和该第一网络设备互联的上游网络设备发送组播加入请求命令;
所述第一网络设备接收所述上游网络设备基于所述组播加入请求命令发送的组播业务信息,并将所述组播业务信息发送至所述服务器。
可选地,所述组播业务信息至少包括:组播协议报文的类型、频率和接收间隔以及组播业务流的流量数据。
可选地,所述第一网络设备接收的所述组播业务信息是所述上游网络设备通过Internet组管理协议发送的。
一种组播链路的检测方法,包括:
服务器向一预设网络设备发送控制命令,所述控制命令用于指示所述预设网络设备向和该预设网络设备互联的上游网络设备发送组播加入请求命令;
所述服务器获取所述预设网络设备发送的组播业务信息,所述组播业务信息是所述上游网络设备基于所述组播加入请求命令发送给所述预设网络设备的。
可选地,所述服务器获取所述预设网络设备发送的组播业务信息的步骤之后,该方法还包括:
所述服务器根据预设判定规则对所述组播业务信息进行分析判断,确定组播链路的故障点。
可选地,所述服务器根据预设判定规则对所述组播业务信息进行分析判断,确定组播链路的故障点的步骤包括:
预设一组播业务流的流量的门限值;
若所述预设网络设备收到的所述组播业务信息中的组播业务的流量值大于零且小于所述门限值,确定该预设网络设备与其上游网络设备之间的链路出现故障;
若所述预设网络设备收到的所述组播业务信息中的组播业务的流量值等于零,确定该预设网络设备出现的上游网络设备出现故障。
一种网络设备,包括请求模块和组播模块,其中:
所述请求模块设置成:根据服务器发送的控制命令,向和该网络设备互联的上游网络设备发送组播加入请求命令;
所述组播模块设置成:接收所述上游网络设备基于所述组播加入请求命令发送的组播业务信息,并将所述组播业务信息发送至所述服务器。
可选地,所述组播业务信息至少包括:组播协议报文的类型、频率和接收间隔以及组播业务流的流量数据。
可选地,所述组播模块接收的所述组播业务信息是所述上游网络设备通过Internet组管理协议发送的。
一种服务器,包括发送模块和获取模块,其中:
所述发送模块设置成:向一预设网络设备发送控制命令,所述控制命令用于指示所述预设网络设备向与该预设网络设备互联的上游网络设备发送组播加入请求命令;
所述获取模块设置成:获取所述预设网络设备发送的组播业务信息,所述组播业务信息是所述上游网络设备基于所述组播加入请求命令发送给所述预设网络设备的。
可选地,该服务器还包括确定模块,其中:
所述确定模块设置成:根据预设判定规则对所述组播业务信息进行分析判断,确定组播链路的故障点。
可选地,所述确定模块包括设置模块、第一确定子模块和第二确定子模块,其中:
所述设置模块设置成:预设一组播业务流的流量的门限值;
所述第一确定子模块设置成:若所述预设网络设备收到的所述组播业务信息中的组播业务的流量值大于零且小于所述门限值,确定该预设网络设备与其上游网络设备之间的链路出现故障;
所述第二确定子模块设置成:若所述预设网络设备收到的所述组播业务
信息中的组播业务的流量值等于零,确定该预设网络设备出现的上游网络设备出现故障。
一种计算机程序,包括程序指令,当该程序指令被网络设备执行时,使得该网络设备可执行上述任意的网络设备侧的组播链路的检测方法。、一种载有权利要求所述计算机程序的载体。
一种计算机程序,包括程序指令,当该程序指令被服务器执行时,使得该服务器可执行上述任意的服务器侧的组播链路的检测方法。一种载有所述计算机程序的载体。
本发明实施例的上述技术方案至少具有如下有益效果:
本发明实施例的组播链路的检测方法中,通过向网络链路上的网络设备发送控制命令,接到控制命令的网络设备向和自己互联的上游网络设备发送组播加入请求,然后监测自身所收到的组播业务信息,并进行统计,判断系统的组播协议和业务状态,进行故障定位,准确定位组播故障点,便于及时排除故障,提高检测的效率。
附图概述
图1表示本发明实施例的组播链路的检测方法在网络设备侧的基本步骤流程图;
图2表示本发明实施例的组播链路的检测方法在服务器侧的基本步骤流程图;
图3表示本发明实施例的一应用场景的组成结构示意图;
图4表示本发明实施例的网络设备的结构示意图;
图5表示本发明实施例的服务器的结构示意图。
本发明的较佳实施方式
下面将结合附图及具体实施例进行详细描述。
本发明针对相关技术中基于IGMP协议的系统一旦出现故障,只能使用外部测试设备逐段检查整个网络,该方法会干扰相关网络且手续繁琐,周期漫长的问题,提供一种组播链路的检测方法中,通过向网络链路上的网络设备发送控制命令,接到控制命令的网络设备向和自己互联的上游网络设备发送组播加入请求,然后监测自身所收到的组播业务信息,并进行统计,判断系统的组播协议和业务状态,进行故障定位,准确定位组播故障点,便于及时排除故障,提高检测的效率。
如图1所示,本发明实施例提供一种组播链路的检测方法,包括:
步骤1,第一网络设备根据服务器发送的控制命令,向和该第一网络设备互联的上游网络设备发送组播加入请求命令;
步骤2,所述第一网络设备接收所述上游网络设备基于所述组播加入请求命令发送的组播业务信息,并将所述组播业务信息发送至所述服务器。
本发明的上述实施例中,由于基于IGMP协议的系统中每个设备只能知道自己和下游方向的设备的组播协议和链路状态,为了让每个设备能够了解其上游网络设备的状态,需向所述上游网络设备发送组播加入请求(Report)命令,上游网络设备则根据所述Report命令,基于该IGMP协议向与该上游网络设备互联的网络设备发送组播业务信息,可选地,所述组播业务信息至少包括组播协议报文的类型、频率和接收间隔以及组播业务流的流量数据。
可选地,本发明的上述实施例中,根据该第一网络设备的组播协议报文的类型、频率和接收间隔和预设的正常情况下同一类型的组播协议报文的频率、接收间隔的比较能够得出该第一网络设备(或链路)是否出现故障;或者根据第一网络设备的组播业务流的流量数据和与其互联的其他网络设备的组播业务流的流量数据的比较能够得出组播业务流的通断状态以及组播链路的堵塞状态等,进一步确定故障点。
本发明的上述实施例中,所述第一网络设备接收的所述组播业务信息是所述上游网络设备通过Internet组管理协议发送的。
本发明具体实施例中,Internet组管理协议即IGMP协议,所述组播业务信息是所述上游网络设备根据Report命令请求,通过IGMP协议中的相关设定自动向所述第一网络设备下发的;其具体的下发过程在本发明实施例中不作具体描述。
为了更好的实现上述目的,如图2所示,本发明实施例还提供一种组播链路的检测方法,包括:
步骤3,服务器向一预设网络设备发送控制命令,所述控制命令用于指示所述预设网络设备向和该预设网络设备互联的上游网络设备发送组播加入请求命令;
步骤4,所述服务器获取所述预设网络设备发送的组播业务信息,所述组播业务信息是所述预设网络设备接收的所述上游网络设备基于组播加入请求命令发送的。
本发明的上述实施例中,服务器SERVER运行于网管或其他服务器上,该服务器可向怀疑发生故障或者其他原因需要监测的网络链路上的网络设备发送控制命令,接收所述控制命令的预设网络设备向和该预设网络设备互联的上游网络设备发送组播加入请求命令。
可选的,所述服务器获取所述组播业务信息后还包括:
步骤5,所述服务器根据预设判定规则对所述组播业务信息进行分析判断,确定组播链路的故障点。
本发明的上述实施例中,网络设备定时将统计的组播业务信息发送至服务器,或者由服务器主动进行数据采集。较佳的,可由服务器描绘出整个链路上的组播协议和业务流的状态。用户可以根据这些数据,分析真个网络的状态,确定故障点。或者也可以预先设定一些判定规则,然后由系统自动判别系统的组播协议和业务状态,进行故障定位。
比如,对于网络拥塞等引起的故障,管理员可以设定组播业务流的预期流量,然后进行测试,根据测试结果,可以绘制出整个网络流量分布和丢包率,这样就可以迅速定位是那一段链路发生了拥塞。
可选的,还可以使用这个方法去检查整个网络对组播协议的支持情况,
如果某个节点测试成功或失败,那么就可以确定这个节点的上游链路支持或者不支持组播协议,其中,节点测试成功或失败的判断准则为该节点的组播业务流的流量数据是否大于0,若该流量数据大于0,则这个节点的上游链路支持组播协议;若该流量数据等于0,则这个节点的上游链路不支持组播协议。
可选地,承续上例,本发明实施例中,步骤5包括:
步骤51,预设一组播业务流的流量的门限值;
步骤52,若所述预设网络设备收到的所述组播业务信息中的组播业务的流量值大于零且小于所述门限值,确定该预设网络设备与其上游网络设备之间的链路出现故障;
步骤53,若所述预设网络设备收到的所述组播业务信息中的组播业务的流量值等于零,确定该预设网络设备出现的上游网络设备出现故障。
本发明的具体实施例中,如图3所示的应用场景下,假设对于图中的组播源的一次监测结果为:
网络设备1收到的组播流量为2MBPS;网络设备2收到的组播流量为1.5MBPS;网络设备3收到的组播流量为2MBPS;网络设备4收到的组播流量为1.5MBPS。
那么可以判断应该是设备1和设备2之间的链路出现了问题,导致组播丢包。
再假设某次的监测结果为:
网络设备1收到的组播流量为2MBPS;网络设备2收到的组播流量为0MBPS;网络设备3收到的组播流量为0MBPS;网络设备4收到的组播流量为0MBPS。
那么可以判断应该是设备1出现了问题,导致组播数据无法向下转发。
本发明的上述实施例中的组播链路的监测方法中的全部或部分步骤可通过程序来指令相关硬件完成;且所述程序可以存贮于计算机可读存储介质中,如只读存储器、磁盘或光盘等。或者上述实施例的全部或者部分步骤也可以使用一个或者多个集成电路来实,不限于一固定形式。
为了更好的实现上述目的,如图4所示,本发明实施例还提供一种网络设备,包括:
请求模块10,设置成:根据服务器发送的控制命令,向和该网络设备互联的上游网络设备发送组播加入请求命令;
组播模块20,设置成:接收所述上游网络设备基于所述组播加入请求命令发送的组播业务信息,并将所述组播业务信息发送至所述服务器。
可选地,本发明的上述实施例中,所述组播业务信息至少包括组播协议报文的类型、频率和接收间隔以及组播业务流的流量数据。
本发明的上述实施例中,较佳的,所述组播模块接收的所述组播业务信息是所述上游网络设备通过Internet组管理协议发送的。
需要说明的是,本发明实施例提供的网络设备是能够实现上述组播链路的检测方法的网络设备,故上述组播链路的检测方法的所有实施例均适用于该网络设备,且均能达到相同或相似的有益效果。
为了更好的实现上述目的,如图5所示,本发明实施例还提供一种服务器,包括:
发送模块30,设置成:向一预设网络设备发送控制命令,所述控制命令用于指示所述预设网络设备向和该预设网络设备互联的上游网络设备发送组播加入请求命令;
获取模块40,设置成:获取所述预设网络设备发送的组播业务信息,所述组播业务信息是所述预设网络设备接收的所述上游网络设备基于组播加入请求命令发送的。
本发明的上述实施例中,上述服务器还包括:
确定模块,设置成:根据预设判定规则对所述组播业务信息进行分析判断,确定组播链路的故障点。
本发明的上述实施例中,所述确定模块包括:
设置模块,设置成:预设一组播业务流的流量的门限值;
第一确定子模块,设置成:若所述预设网络设备收到的所述组播业务信
息中的组播业务的流量值大于零且小于所述门限值,确定该预设网络设备与其上游网络设备之间的链路出现故障;
第二确定子模块,设置成:若所述预设网络设备收到的所述组播业务信息中的组播业务的流量值等于零,确定该预设网络设备出现的上游网络设备出现故障。
本发明实施例还公开了一种计算机程序,包括程序指令,当该程序指令被网络设备执行时,使得该网络设备可执行上述任意的网络设备侧的组播链路的检测方法。
本发明实施例还公开了一种载有所述计算机程序的载体。
本发明实施例还公开了一种计算机程序,包括程序指令,当该程序指令被服务器执行时,使得该服务器可执行上述任意的服务器侧的组播链路的检测方法。
本发明实施例还公开了一种载有所述计算机程序的载体。
本发明的上述实施例中的组播链路的检测方法,通过向网络链路上的网络设备发送控制命令,接到控制命令的网络设备向和自己互联的上游网络设备发送组播加入请求,然后监测自身所收到的组播业务信息,并进行统计,判断系统的组播协议和业务状态,进行故障定位,准确定位组播故障点,便于及时排除故障,提高检测的效率。
需要说明的是,本发明实施例提供的服务器是能够实现上述组播链路的检测方法的服务器,则上述检测方法的所有实施例均适用于该服务器,且均能达到相同或相似的有益效果。
以上所述是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明所述原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。
本发明实施例的组播链路的检测方法中,通过向网络链路上的网络设备发送控制命令,接到控制命令的网络设备向和自己互联的上游网络设备发送
组播加入请求,然后监测自身所收到的组播业务信息,并进行统计,判断系统的组播协议和业务状态,进行故障定位,准确定位组播故障点,便于及时排除故障,提高检测的效率。因此本发明具有很强的工业实用性。
Claims (16)
- 一种组播链路的检测方法,包括:第一网络设备根据服务器发送的控制命令,向和该第一网络设备互联的上游网络设备发送组播加入请求命令;所述第一网络设备接收所述上游网络设备基于所述组播加入请求命令发送的组播业务信息,并将所述组播业务信息发送至所述服务器。
- 根据权利要求1所述的组播链路的检测方法,其中,所述组播业务信息至少包括:组播协议报文的类型、频率和接收间隔以及组播业务流的流量数据。
- 根据权利要求1所述的组播链路的检测方法,其中,所述第一网络设备接收的所述组播业务信息是所述上游网络设备通过Internet组管理协议发送的。
- 一种组播链路的检测方法,包括:服务器向一预设网络设备发送控制命令,所述控制命令用于指示所述预设网络设备向和该预设网络设备互联的上游网络设备发送组播加入请求命令;所述服务器获取所述预设网络设备发送的组播业务信息,所述组播业务信息是所述上游网络设备基于所述组播加入请求命令发送给所述预设网络设备的。
- 根据权利要求4所述的组播链路的检测方法,其中,所述服务器获取所述预设网络设备发送的组播业务信息的步骤之后,该方法还包括:所述服务器根据预设判定规则对所述组播业务信息进行分析判断,确定组播链路的故障点。
- 根据权利要求5所述的组播链路的检测方法,其中,所述服务器根据预设判定规则对所述组播业务信息进行分析判断,确定组播链路的故障点的步骤包括:预设一组播业务流的流量的门限值;若所述预设网络设备收到的所述组播业务信息中的组播业务的流量值大 于零且小于所述门限值,确定该预设网络设备与其上游网络设备之间的链路出现故障;若所述预设网络设备收到的所述组播业务信息中的组播业务的流量值等于零,确定该预设网络设备出现的上游网络设备出现故障。
- 一种网络设备,包括请求模块和组播模块,其中:所述请求模块设置成:根据服务器发送的控制命令,向和该网络设备互联的上游网络设备发送组播加入请求命令;所述组播模块设置成:接收所述上游网络设备基于所述组播加入请求命令发送的组播业务信息,并将所述组播业务信息发送至所述服务器。
- 根据权利要求7所述网络设备,其中,所述组播业务信息至少包括:组播协议报文的类型、频率和接收间隔以及组播业务流的流量数据。
- 根据权利要求7所述的网络设备,其中,所述组播模块接收的所述组播业务信息是所述上游网络设备通过Internet组管理协议发送的。
- 一种服务器,包括发送模块和获取模块,其中:所述发送模块设置成:向一预设网络设备发送控制命令,所述控制命令用于指示所述预设网络设备向与该预设网络设备互联的上游网络设备发送组播加入请求命令;所述获取模块设置成:获取所述预设网络设备发送的组播业务信息,所述组播业务信息是所述上游网络设备基于所述组播加入请求命令发送给所述预设网络设备的。
- 根据权利要求10所述的服务器,该服务器还包括确定模块,其中:所述确定模块设置成:根据预设判定规则对所述组播业务信息进行分析判断,确定组播链路的故障点。
- 根据权利要求11所述的服务器,其中,所述确定模块包括设置模块、第一确定子模块和第二确定子模块,其中:所述设置模块设置成:预设一组播业务流的流量的门限值;所述第一确定子模块设置成:若所述预设网络设备收到的所述组播业务信息中的组播业务的流量值大于零且小于所述门限值,确定该预设网络设备与其上游网络设备之间的链路出现故障;所述第二确定子模块设置成:若所述预设网络设备收到的所述组播业务信息中的组播业务的流量值等于零,确定该预设网络设备出现的上游网络设备出现故障。
- 一种计算机程序,包括程序指令,当该程序指令被网络设备执行时,使得该网络设备可执行权利要求1-3中任一项所述的组播链路的检测方法。
- 一种载有权利要求13所述计算机程序的载体。
- 一种计算机程序,包括程序指令,当该程序指令被服务器执行时,使得该服务器可执行权利要求4-6中任一项所述的组播链路的检测方法。
- 一种载有权利要求15所述计算机程序的载体。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410455327.8 | 2014-09-09 | ||
CN201410455327.8A CN105471667A (zh) | 2014-09-09 | 2014-09-09 | 一种组播链路的检测方法、网络设备及服务器 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2015154512A1 true WO2015154512A1 (zh) | 2015-10-15 |
Family
ID=54287252
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2014/093998 WO2015154512A1 (zh) | 2014-09-09 | 2014-12-16 | 一种组播链路的检测方法、网络设备及服务器 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105471667A (zh) |
WO (1) | WO2015154512A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112073203A (zh) * | 2020-07-20 | 2020-12-11 | 视联动力信息技术股份有限公司 | 一种业务恢复方法、装置、电子设备及存储介质 |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107356284A (zh) * | 2016-05-10 | 2017-11-17 | 中兴通讯股份有限公司 | 一种检测方法、装置及系统 |
CN112671702A (zh) * | 2020-11-17 | 2021-04-16 | 中国船舶重工集团公司第七0九研究所 | 一种网络设备内部组播信息的获取方法及装置 |
CN112787688A (zh) * | 2020-12-31 | 2021-05-11 | 广东电网有限责任公司电力调度控制中心 | 一种组播树节点通信方法及装置 |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101102274A (zh) * | 2007-08-13 | 2008-01-09 | 中兴通讯股份有限公司 | 一种组播源端口冗余热备份的方法 |
CN101453385A (zh) * | 2007-11-30 | 2009-06-10 | 华为技术有限公司 | 一种故障通告的方法及设备 |
CN101815028A (zh) * | 2009-02-19 | 2010-08-25 | 华为技术有限公司 | 组播路由跟踪的方法、系统和路由设备 |
-
2014
- 2014-09-09 CN CN201410455327.8A patent/CN105471667A/zh active Pending
- 2014-12-16 WO PCT/CN2014/093998 patent/WO2015154512A1/zh active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101102274A (zh) * | 2007-08-13 | 2008-01-09 | 中兴通讯股份有限公司 | 一种组播源端口冗余热备份的方法 |
CN101453385A (zh) * | 2007-11-30 | 2009-06-10 | 华为技术有限公司 | 一种故障通告的方法及设备 |
CN101815028A (zh) * | 2009-02-19 | 2010-08-25 | 华为技术有限公司 | 组播路由跟踪的方法、系统和路由设备 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112073203A (zh) * | 2020-07-20 | 2020-12-11 | 视联动力信息技术股份有限公司 | 一种业务恢复方法、装置、电子设备及存储介质 |
Also Published As
Publication number | Publication date |
---|---|
CN105471667A (zh) | 2016-04-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9344325B2 (en) | System, method and apparatus providing MVPN fast failover | |
CN112866004B (zh) | 控制面设备的切换方法、装置及转控分离系统 | |
CN105049299B (zh) | 时延状态信息的检测方法及装置、网络架构 | |
US9577905B2 (en) | Packet tracing through control and data plane operations | |
WO2021128977A1 (zh) | 一种故障诊断方法及装置 | |
JP2013545335A (ja) | プロトコルイベント管理のための方法および装置 | |
WO2015154512A1 (zh) | 一种组播链路的检测方法、网络设备及服务器 | |
US11102273B2 (en) | Uplink performance management | |
WO2012155817A1 (zh) | 一种环回测试方法、装置及系统 | |
US9036472B2 (en) | Network switching device for quantifying available service-level capacity of a network for projected network traffic | |
CN107342809B (zh) | 一种业务性能监测与故障定位方法及装置 | |
EP3219053B1 (en) | Methods, systems, and computer readable media for monitoring and/or testing network communications | |
US20160308709A1 (en) | Method and system for restoring qos degradations in mpls networks | |
EP4142239A1 (en) | Network performance monitoring and fault management based on wide area network link health assessments | |
KR20130055392A (ko) | 점 대 다점 네트워크에서의 보호 절체 방법 및 장치 | |
WO2015149353A1 (zh) | 一种oam报文处理方法、网络设备和网络系统 | |
US20130003562A1 (en) | Link fault detection method and apparatus | |
WO2011157149A2 (zh) | 通信设备间的主备倒换方法、通信设备和系统及服务请求设备 | |
WO2011085607A1 (zh) | 分析业务质量劣化的方法及装置 | |
CN112003747A (zh) | 云虚拟网关的故障定位方法 | |
WO2013159070A1 (en) | Self-healing communications network | |
WO2015039456A1 (zh) | 网络数据自环回的控制方法及装置 | |
US9537729B2 (en) | Network switching device for quantifying available service-level capacity of a network for projected network traffic | |
CN107465527B (zh) | 一种网元、保护倒换方法及其系统 | |
WO2012103761A1 (zh) | 一种检测组播业务质量的方法及终端 |
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: 14888604 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: 14888604 Country of ref document: EP Kind code of ref document: A1 |