CN100477635C - Inter-domain multicast transmission method and edge device - Google Patents

Inter-domain multicast transmission method and edge device Download PDF

Info

Publication number
CN100477635C
CN100477635C CNB2005101025134A CN200510102513A CN100477635C CN 100477635 C CN100477635 C CN 100477635C CN B2005101025134 A CNB2005101025134 A CN B2005101025134A CN 200510102513 A CN200510102513 A CN 200510102513A CN 100477635 C CN100477635 C CN 100477635C
Authority
CN
China
Prior art keywords
multicast
message
protocol
domain
group management
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CNB2005101025134A
Other languages
Chinese (zh)
Other versions
CN1764155A (en
Inventor
周迪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CNB2005101025134A priority Critical patent/CN100477635C/en
Publication of CN1764155A publication Critical patent/CN1764155A/en
Application granted granted Critical
Publication of CN100477635C publication Critical patent/CN100477635C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a transmission method for multicast within domains to help local host and multicast resources create business connection, which comprises: on edge of the autonomous domain, the device generates and sends opposite group management protocol message to the autonomous domain with multicast resource according to received multicast route protocol packet; it translates send data to host in domain. It also discloses said edge device. In this invention, edge route on access autonomous domain realizes interactive between IGMP protocol translation unit an self multicast route protocol to represent autonomous domain and as access host for opposite.

Description

一种域间组播的传输方法及边缘设备 Inter-domain multicast transmission method and edge device

技术领域 technical field

本发明涉及组播业务的传输领域,特别涉及一种域间组播的传输方法及边缘设备。The invention relates to the field of multicast service transmission, in particular to an inter-domain multicast transmission method and an edge device.

背景技术 Background technique

随着组播业务的日益流行,比如:网络游戏、电子邮件、电子理财等基于互联网的业务,特别是IPTV(Internet Protocol TV,交互式网络电视)等新兴业务的广泛使用,使得跨自治域(由一个ISP运营的网络称为一个自治域)的组播业务也日渐流行。其中,IPTV是一种利用宽带有线电视网,集互联网、多媒体、通讯等多种技术于一体,向家庭用户提供包括数字电视在内的多种交互式服务的崭新技术。针对上述组播的业务实现,必须通过协调不同的运营商部署的自治域,使之相互间共享组播业务。With the increasing popularity of multicast services, such as: Internet-based services such as online games, e-mail, and electronic financial management, especially the widespread use of emerging services such as IPTV (Internet Protocol TV, Interactive Network Television), making cross-autonomous domain ( A network operated by an ISP is called an autonomous domain) and multicast services are becoming increasingly popular. Among them, IPTV is a brand-new technology that utilizes broadband cable TV network and integrates Internet, multimedia, communication and other technologies to provide home users with various interactive services including digital TV. To achieve the above multicast service, it is necessary to coordinate the autonomous domains deployed by different operators to share the multicast service among them.

在自治域内部通过域内组播传输信息,在不同的自治域间要通过域间组播传输信息。目前域间组播的实现方式主要有MSDP(组播信源发现协议)/MBGPIn the autonomous domain, information is transmitted through intra-domain multicast, and between different autonomous domains, information is transmitted through inter-domain multicast. At present, the implementation methods of inter-domain multicast mainly include MSDP (Multicast Source Discovery Protocol)/MBGP

(组播边界网关协议)和PIM-SSM。前者是利用MSDP协议传播组播源活动信息SA,以指示有哪些组播源可用,同时辅以MBGP来选择合适的传播组播流的路径,但该方式各个域间运行的组播路由协议都是PIM-SM。后者其实就是PIM-SM协议的简化版,去掉了组播源注册过程,接入侧运行组管理协议是IGMPV3或者是CISCO的IGMPV3Lite、URD协议,用户知道组播源的地址,直接加入,实现接收组播业务流。(Multicast Border Gateway Protocol) and PIM-SSM. The former uses the MSDP protocol to spread the multicast source activity information SA to indicate which multicast sources are available, and at the same time uses MBGP to select the appropriate path for the multicast flow. However, the multicast routing protocols running between domains in this way are not It is PIM-SM. The latter is actually a simplified version of the PIM-SM protocol, which removes the registration process of the multicast source. The group management protocol running on the access side is IGMPV3 or CISCO’s IGMPV3Lite and URD protocols. Users know the address of the multicast source and directly join it to realize Receive multicast traffic.

上述两种方案中,不同自治域内部的组播协议必须相同,即一个自治域域内组播为PIM-SM协议,与之通信的另一个自治域域内组播也必须是PIM-SM协议。然而对于各个自治域内部的组播不全相同时,上述域间组播传输就无法实现。如果为实现域间的组播,则必须强制要求各个自治域大幅度修改配置,甚至更新设备,以统一各个自治域的域内组播协议。In the above two solutions, the multicast protocols in different autonomous domains must be the same, that is, the multicast in one autonomous domain is the PIM-SM protocol, and the multicast in the other autonomous domain communicating with it must also be the PIM-SM protocol. However, if the multicast within each autonomous domain is not identical, the above inter-domain multicast transmission cannot be realized. To implement inter-domain multicast, each autonomous domain must be forced to substantially modify configurations, or even update devices, so as to unify the intra-domain multicast protocols of each autonomous domain.

发明内容 Contents of the invention

本发明要解决的问题是提供一种域间组播的传输方法,以解决现有技术中在使用不同域内组播协议的自治域之间不能进行域间组播传输的缺陷。The problem to be solved by the present invention is to provide an inter-domain multicast transmission method to solve the defect in the prior art that inter-domain multicast transmission cannot be performed between autonomous domains using different intra-domain multicast protocols.

为达到上述目的,本发明公开了一种域间组播的传输方法,用以协助本自治域内的主机和其他自治域内的组播源建立组播业务连接,包括以下步骤:In order to achieve the above object, the present invention discloses an inter-domain multicast transmission method, which is used to assist hosts in this autonomous domain and multicast sources in other autonomous domains to establish multicast service connections, including the following steps:

A、在本自治域边缘设备处,根据收到的组播路由协议报文生成相应的组管理协议报文,并向组播源所在自治域发送组管理协议报文;A. At the edge device of the autonomous domain, generate a corresponding group management protocol message according to the received multicast routing protocol message, and send the group management protocol message to the autonomous domain where the multicast source is located;

B、在本自治域边缘设备处,将由组播源方向转发过来的组播组数据向本自治域内主机方向转发。B. At the edge device of the autonomous domain, the multicast group data forwarded from the direction of the multicast source is forwarded to the direction of the host in the autonomous domain.

步骤A中所述组管理协议报文包括:组管理协议成员关系报告报文或组管理协议离开报文;The group management protocol message described in step A includes: a group management protocol membership report message or a group management protocol leave message;

所述组管理协议成员关系报告报文对应于组播路由协议报文中的组播路由加入报文,所述组管理协议离开报文对应于组播路由协议报文中的组播路由剪枝报文。The group management protocol membership report message corresponds to the multicast routing join message in the multicast routing protocol message, and the group management protocol leave message corresponds to the multicast routing pruning message in the multicast routing protocol message message.

当组播源所在自治域的边缘路由器接收到组管理协议成员关系报告报文时,将该报文中的组播组收集到列表中;当组播源所在自治域的边缘路由器接收到组管理协议离开报文时,将该报文中的组播组从列表中删除。When the edge router in the autonomous domain where the multicast source is located receives the group management protocol membership report message, it collects the multicast groups in the message into a list; when the edge router in the autonomous domain where the multicast source is located receives the group management When the protocol leaves a message, the multicast group in the message is deleted from the list.

组播源所在自治域的边缘路由器周期发送通用组查询报文,以查询组播组成员;所述组播组中的扮演主机角色的边缘路由器通过发送响应报文来响应查询。The edge router in the autonomous domain where the multicast source is located periodically sends a general group query message to query the members of the multicast group; the edge router playing the role of host in the multicast group responds to the query by sending a response message.

所述组播路由协议包括:稀疏模式协议无关组播PIM-SM协议、密集模式协议无关组播PIM-DM协议或距离矢量组播路由协议DVMRP。The multicast routing protocol includes: sparse mode protocol independent multicast PIM-SM protocol, dense mode protocol independent multicast PIM-DM protocol or distance vector multicast routing protocol DVMRP.

所述组管理协议包括因特网组管理协议IGMP或组播侦听发现MLD协议。The group management protocol includes Internet Group Management Protocol IGMP or Multicast Listener Discovery MLD protocol.

本发明还公开了一种实现域间组播的边缘设备,用以为本自治域内的主机与其他自治域的组播源建立组播业务连接,所述边缘设备中包括组管理协议转换单元,该单元将组播路由协议报文转换为组管理协议报文,并将该组管理协议报文向其他自治域发送。The present invention also discloses an edge device for realizing inter-domain multicast, which is used to establish multicast service connections between hosts in this autonomous domain and multicast sources in other autonomous domains. The edge device includes a group management protocol conversion unit. The unit converts the multicast routing protocol message into a group management protocol message, and sends the group management protocol message to other autonomous domains.

组管理协议报文包括组管理协议成员关系报告报文或组管理协议离开报文;The group management protocol message includes a group management protocol membership report message or a group management protocol leave message;

所述组管理协议成员关系报告报文对应于组播路由协议报文中的组播路由加入报文,所述组管理协议离开报文对应于组播路由协议报文中的组播路由剪枝报文。The group management protocol membership report message corresponds to the multicast routing join message in the multicast routing protocol message, and the group management protocol leave message corresponds to the multicast routing pruning message in the multicast routing protocol message message.

组播源所在自治域的边缘设备周期发送通用组查询报文,以查询组播组成员,所述组播组中的扮演主机角色的边缘设备通过发送响应报文来响应查询。The edge device in the autonomous domain where the multicast source is located periodically sends a general group query message to query the members of the multicast group, and the edge device in the multicast group playing the role of the host responds to the query by sending a response message.

与现有技术相比,本发明具有以下优点:Compared with the prior art, the present invention has the following advantages:

本发明中不同自治域互视各自为对方的接入主机;接入方自治域的边缘路由器实现IGMP协议转换单元与自己的组播路由协议进行联动,由它代表自己方的自治域,担任对方的接入主机的角色。In the present invention, different autonomous domains regard each other as each other's access hosts; the edge router in the autonomous domain of the accessing party realizes the linkage between the IGMP protocol conversion unit and its own multicast routing protocol, and acts as the counterparty's host on behalf of its own autonomous domain. The role of the access host.

进一步,当边缘路由器收到本自治域的组播路由协议加入信息时,触发自己的IGMP协议单元,发送IGMP成员关系报告,告诉相邻自治域的边缘路由器,希望接收该组播业务;反之如果收到本自治域的组播路由协议离开报文,则触发自己的IGMP协议单元,发送IGMP离开报文,告诉相邻自治域的边缘路由器,不希望接收组播业务。通过自治域内报文与IGMP报文转换,实现不同自治域的域间通信。Furthermore, when the edge router receives the multicast routing protocol joining information of the autonomous domain, it triggers its own IGMP protocol unit, sends an IGMP membership report, and tells the edge routers in the adjacent autonomous domain that it wishes to receive the multicast service; otherwise, if After receiving the leave message of the multicast routing protocol in this autonomous domain, it triggers its own IGMP protocol unit, sends an IGMP leave message, and tells the edge routers in the adjacent autonomous domain that it does not want to receive multicast services. Inter-domain communication between different autonomous domains is realized through the conversion of intra-autonomous domain packets and IGMP packets.

另外,本发明不需要改变各个自治域内的组播路由协议和绝大多数相关的配置,也不涉及标准协议的改动,仅仅改进自治域的边缘路由器就可实现,因此,对现有网络设备提供了更大的兼容性,扩展了本发明的应用范围。In addition, the present invention does not need to change the multicast routing protocol and most of the related configurations in each autonomous domain, and does not involve the modification of standard protocols. It can be realized only by improving the edge routers in the autonomous domain. Therefore, it provides Greater compatibility is achieved, and the scope of application of the present invention is expanded.

附图说明 Description of drawings

图1是本发明基本原理的流程图;Fig. 1 is the flowchart of basic principle of the present invention;

图2是本发明一个具体实施例的网络结构图;Fig. 2 is a network structure diagram of a specific embodiment of the present invention;

图3是本发明另一个具体实施例的网络结构图;Fig. 3 is a network structure diagram of another specific embodiment of the present invention;

图4是本发明又一个具体实施例的网络结构图。Fig. 4 is a network structure diagram of another specific embodiment of the present invention.

具体实施方式Detailed ways

下面我们将结合附图,对本发明的最佳实施方案进行详细描述。首先要指出的是,本发明中用到的术语、字词及权利要求的含义不能仅仅限于其字面和普通的含义去理解,还包括进而与本发明的技术相符的含义和概念,这是因为我们作为发明者,要适当地给出术语的定义,以便对我们的发明进行最恰当的描述。因此,本说明和附图中给出的配置,只是本发明的首选实施方案,而不是要列举本发明的所有技术特性。我们要认识到,还有各种各样的可以取代我们方案的同等方案或修改方案。Below we will describe in detail the best implementation of the present invention with reference to the accompanying drawings. First of all, it should be pointed out that the meanings of the terms, words and claims used in the present invention should not be limited to their literal and ordinary meanings, but also include meanings and concepts that are consistent with the technology of the present invention. This is because It is up to us, as inventors, to define terms appropriately in order to best describe our inventions. Therefore, the configurations given in this specification and the accompanying drawings are only preferred implementations of the present invention, rather than enumerating all technical characteristics of the present invention. We need to recognize that there are various equivalents or modifications that could replace ours.

本发明提供的域间组播的传输方法,用于协助本自治域内的主机和其他自治域内的组播源建立组播业务连接,其基本流程如图1所示,包括以下步骤:The inter-domain multicast transmission method provided by the present invention is used to assist hosts in this autonomous domain and multicast sources in other autonomous domains to establish multicast service connections. The basic flow is as shown in Figure 1, including the following steps:

s101、在本自治域边缘设备(通常是三层设备,如路由器或三层交换机)处,根据收到的组播路由协议报文生成相应的组管理协议报文,并向组播源所在自治域发送组管理协议报文。S101. At the edge device (usually a layer-3 device, such as a router or a layer-3 switch) of the autonomous domain, generate a corresponding group management protocol message according to the received multicast routing protocol message, and send the multicast source to the autonomous The domain sends group management protocol packets.

s102、在本自治域边缘设备处,将由组播源方向转发过来的组播组数据向本自治域内主机方向转发。s102. At the edge device of the autonomous domain, forward the multicast group data forwarded from the multicast source direction to the host in the autonomous domain.

下面结合具体实施例对本发明进行描述,在如图2所示的网络中包括自治域100和自治域200,自治域100中包括组播源11、与组播源11直接连接的路由器12和边缘路由器13;自治域200包括主机21、与主机21连接的路由器22和边缘路由器23。自治域100与自治域200通过边缘路由器13和边缘路由器23通信。为便于描述,这里约定:边缘路由器23连接边缘路由器13的接口称为上行接口,边缘路由器23连接自治域200内部路由器22的接口称为下行接口;边缘路由器13连接边缘路由器23的接口为下行接口,边缘路由器13连接自治域100内部路由器12的接口称为上行接口。The present invention will be described below in conjunction with specific embodiments. In the network shown in FIG. The router 13 ; the autonomous domain 200 includes a host 21 , a router 22 connected to the host 21 and an edge router 23 . The autonomous domain 100 communicates with the autonomous domain 200 through the edge router 13 and the edge router 23 . For ease of description, it is agreed here that the interface connecting the edge router 23 to the edge router 13 is called the uplink interface, the interface connecting the edge router 23 to the internal router 22 of the autonomous domain 200 is called the downlink interface; the interface connecting the edge router 13 to the edge router 23 is called the downlink interface , the interface connecting the edge router 13 to the internal router 12 of the autonomous domain 100 is called an uplink interface.

假设自治域100内部路由器之间运行的是PIM-DM组播路由协议,而自治域200内部路由器之间运行的是PIM-SM组播路由协议,组管理协议为IGMP(在IPV4中,组管理协议为IGMP;应用到IPV6中,组管理协议可以是对应的组播侦听发现MLD协议,两者实现的方法相同,只是应用环境不同)。Assume that the PIM-DM multicast routing protocol is running between the internal routers of the autonomous domain 100, and the PIM-SM multicast routing protocol is running between the internal routers of the autonomous domain 200, and the group management protocol is IGMP (in IPV4, group management The protocol is IGMP; when applied to IPV6, the group management protocol can be the corresponding multicast listening and discovery MLD protocol, the implementation methods of the two are the same, but the application environment is different).

在PIM-DM域中,运行PIM-DM协议的路由器周期性的发送Hello消息,发现邻接的PIM路由器,进行叶子网络、叶子路由器的判断,并负责在多路访问网络中选举指定路由器。当组播源开始发送组播数据时,域内所有网络节点都需要接收数据,因此采用“扩散-剪枝”(此处的扩散也可以理解为加入)方式进行组播数据包转发。沿途路由器向除组播源对应的RPF(上游邻接节点对应的接口)之外的所有接口转发组播数据包。如果网络中某区域没有组播组成员,该区域内的路由器会发送剪枝消息,将通往该区域的转发接口剪枝,并且建立剪枝状态,同时启动定时器,当定时器超时,剪枝状态重新变为转发状态。其中,剪枝状态包括组播源和组播组的信息,当剪枝区域内出现了组播组成员时,不必等待上游剪枝状态超时,而主动向上游发送嫁接报文,以使剪枝状态变为转发状态。In the PIM-DM domain, routers running the PIM-DM protocol periodically send Hello messages to discover adjacent PIM routers, determine leaf networks and leaf routers, and are responsible for electing designated routers in the multi-access network. When the multicast source starts to send multicast data, all network nodes in the domain need to receive the data, so the "diffusion-pruning" (diffusion here can also be understood as joining) method is used to forward multicast data packets. Routers along the route forward the multicast data packets to all interfaces except the RPF corresponding to the multicast source (the interface corresponding to the upstream adjacent node). If there is no multicast group member in a certain area of the network, the routers in this area will send a pruning message, prune the forwarding interface leading to this area, and establish a pruning state, and start a timer at the same time, when the timer expires, pruning The branch state changes to forwarding state again. Among them, the pruning state includes the information of the multicast source and the multicast group. When a member of the multicast group appears in the pruning area, it does not need to wait for the upstream pruning state to The state changes to forwarding state.

在PIM-SM域中,通过建立组播分发树进行组播数据包的转发,组播分发树分为共享树和最短路径树,PIM-SM通过显示的加入/剪枝机制完成组播分发树的建立与维护。In the PIM-SM domain, multicast data packets are forwarded by establishing a multicast distribution tree. The multicast distribution tree is divided into a shared tree and a shortest path tree. PIM-SM completes the multicast distribution tree through the displayed join/pruning mechanism. establishment and maintenance.

当自治域200内的主机21想要观看某节目,则主机21会通过应用层的协议向组播源11获取对应的组播地址,然后发送对应组的IGMP(Internet GroupManagement Protocol,因特网组管理协议)成员关系报告报文;连接主机21的路由器22在收到IGMP成员关系报告报文后,就会向组播源11方向发送PIM协议的加入消息;由于自治域200连接自治域100的边缘路由器只有23,所以该PIM加入消息必定到达边缘路由器23;边缘路由器23收到来自下行接口的PIM加入消息,就会触发IGMP协议转换单元往边缘路由器13发送对应组的IGMP成员关系报告报文;边缘路由器13发现有IGMP组加入,就会以对应组播路由协议(自治域100中的PIM-DM协议)的流程去引导组播数据在该组中传送。When the host 21 in the autonomous domain 200 wants to watch a certain program, the host 21 will obtain the corresponding multicast address from the multicast source 11 through the protocol of the application layer, and then send the IGMP (Internet Group Management Protocol, Internet Group Management Protocol) of the corresponding group. ) membership report message; the router 22 connected to the host 21 will send the joining message of the PIM protocol to the multicast source 11 direction after receiving the IGMP membership report message; since the autonomous domain 200 is connected to the edge router of the autonomous domain 100 There are only 23, so this PIM join message must arrive at edge router 23; Edge router 23 receives the PIM join message from downlink interface, will trigger the IGMP protocol conversion unit to send the IGMP membership report message of corresponding group to edge router 13; When the router 13 finds that there is an IGMP group joining, it will use the flow corresponding to the multicast routing protocol (PIM-DM protocol in the autonomous domain 100) to guide the transmission of multicast data in the group.

当该主机21不愿意观看该节目时,则会发送对应组的IGMP离开报文;连接它的路由器22就会向组播源方向发送对应组的PIM剪枝消息;同样道理,该剪枝消息必定到达边缘路由器23;边缘路由器23收到来自下行接口的PIM剪枝报文就会触发IGMP协议转换单元向边缘路由器13发送对应组的IGMP离开报文;边缘路由器13发现有组离开,就会以相应的流程发送剪枝消息,截断对应的组播流。When the host 21 is unwilling to watch the program, it will send the IGMP leaving message of the corresponding group; the router 22 connected to it will send the PIM pruning message of the corresponding group to the multicast source direction; Must arrive at edge router 23; Edge router 23 will trigger the IGMP protocol conversion unit to send the IGMP leaving message of corresponding group to edge router 13 when receiving the PIM pruning message from downlink interface; Edge router 13 finds that there is group to leave, will Send pruning messages in the corresponding process to truncate the corresponding multicast stream.

本发明的改进只涉及边缘路由器,即本例中的边缘路由器23。本发明通过在边缘路由器中增加IGMP协议转换单元,使组播路由协议的组加入行为转化为IGMP的组加入行为,以及让组播路由协议的组离开行为,转化为IGMP的组离开行为。边缘路由器具体实现方法如下:The improvement of the invention concerns only the edge router, ie the edge router 23 in this example. The invention adds an IGMP protocol conversion unit in the edge router, so that the group joining behavior of the multicast routing protocol is converted into the group joining behavior of IGMP, and the group leaving behavior of the multicast routing protocol is converted into the group leaving behavior of IGMP. The specific implementation method of the edge router is as follows:

首先,在边缘路由器23中设置并维护一张组播组列表,该组播列表用于存储组播组信息,当边缘路由器23接收到自治域200内的路由器22的PIM-SM加入报文后,触发IGMP协议转换单元向上行接口发送对应组的IGMP成员关系报告报文,并将该报文内的组播组存储到组播列表中;当边缘路由器23接收到自治域200内的路由器22的PIM-SM剪枝报文后,触发IGMP协议转换单元向上行接口发送对应组的IGMP离开消息,并将该剪枝报文内的组播组从组播列表中删除。First, a multicast group list is set and maintained in the edge router 23, and the multicast list is used to store multicast group information. When the edge router 23 receives the PIM-SM joining message of the router 22 in the autonomous domain 200, trigger The IGMP protocol conversion unit sends the IGMP membership report message of the corresponding group to the upstream interface, and stores the multicast group in the message in the multicast list; when the edge router 23 receives the PIM of the router 22 in the autonomous domain 200 - After the SM prunes the message, the IGMP protocol conversion unit is triggered to send an IGMP leave message of the corresponding group to the uplink interface, and the multicast group in the prune message is deleted from the multicast list.

当边缘路由器13收到来自上行接口的IGMP通用查询报文,将遍历组播组列表,为每个组播组启动一个倒计数报告计时器,时间为10秒。如果计时器超时前未收到组播组的IGMP成员关系报告报文,则发送对应组的IGMP成员关系报告报文。When the edge router 13 receives the IGMP general query message from the uplink interface, it will traverse the multicast group list and start a countdown report timer for each multicast group with a time of 10 seconds. If the IGMP membership report message of the multicast group is not received before the timer expires, the IGMP membership report message of the corresponding group is sent.

当收到来自上行接口的IGMP特定组查询报文,会发送几个IGMP特定组查询报文。此时扮演主机角色的边缘路由器通过发送响应报文来响应查询,且该边缘路由器需要在最大响应时间内回应IGMP成员关系报告报文,因为边缘路由器13连接边缘路由器的接口可能还连接着其他的主机或者其他自制系统的边缘路由器。When receiving an IGMP group-specific query message from the uplink interface, it will send several IGMP group-specific query messages. At this time, the edge router playing the role of the host responds to the query by sending a response message, and the edge router needs to respond to the IGMP membership report message within the maximum response time, because the interface connecting the edge router 13 to the edge router may also be connected to other Edge routers for hosts or other self-made systems.

边缘路由器13可能还会连接着其他的主机或者其他自治域的边缘路由器。所以当边缘路由器23在计时器超时前收到了IGMP成员关系报告报文,应该与主机行为一样,进行成员关系报告报文的抑制:删除与收到的IGMP成员关系报告报文对应的组播组的计时器。The edge router 13 may also be connected to other hosts or edge routers of other autonomous domains. Therefore, when the edge router 23 receives the IGMP membership report message before the timer expires, it should suppress the membership report message the same as the host behavior: delete the multicast group corresponding to the received IGMP membership report message timer.

另外,为了防止边缘路由器23上的组播地址老化,边缘路由器23需要周期性的遍历组播组列表,发送IGMP成员关系报告报文。In addition, in order to prevent aging of the multicast address on the edge router 23, the edge router 23 needs to traverse the multicast group list periodically and send an IGMP membership report message.

本发明中的不同自治域间可能有多个边缘路由器,如图3所示,包括:自治域300和自治域400,自治域300中包括节目源31、与节目源31直接相连的路由器32、边缘路由器33和边缘路由器34;自治域400中包括主机41、与主机41直接相连的路由器42、边缘路由器43和边缘路由器44;边缘路由器33与边缘路由器43相连,边缘路由器34与边缘路由器44相连。这时两个自治域虽然通过多个边缘路由器相连,但对于特定的某个组播源,真正在发挥功能的,也只有一对边缘路由器,因为组播路由协议的组加入协议报文会按照单播路由表往上传送,最终只会达到路径最短的那对边缘路由器。当然了,也有可能出现因为自治域内路由器采用组播报文分担技术而导致两个边缘路由器都需要作出基于本发明的改进的情况。There may be multiple edge routers between different autonomous domains in the present invention, as shown in Figure 3, comprising: autonomous domain 300 and autonomous domain 400, including program source 31, router 32 directly connected with program source 31, Edge router 33 and edge router 34; Autonomous domain 400 includes host 41, router 42 directly connected to host 41, edge router 43 and edge router 44; edge router 33 is connected with edge router 43, and edge router 34 is connected with edge router 44 . At this time, although the two autonomous domains are connected through multiple edge routers, for a specific multicast source, only a pair of edge routers are really functioning, because the group join protocol packets of the multicast routing protocol will follow the The unicast routing table is transmitted upwards, and finally only reaches the pair of edge routers with the shortest path. Of course, it is also possible that both edge routers need to make the improvement based on the present invention because the routers in the autonomous domain adopt the multicast message sharing technology.

一个自治域中包括多个路由器,一个路由器下连有多个主机,如图4所示,包括自治域500和自治域600,其中,自治域500包括路由器510、路由器520和边缘路由器530,路由器510下接主机511(节目源)和主机512,路由器520下接主机521和主机522;自治域600包括路由器610、路由器620和边缘路由器630,路由器610下接主机611和主机612,路由器620下接主机621和主机622;两个自治域通过边缘路由器530和边缘路由器630通信。An autonomous domain includes multiple routers, and a router is connected with multiple hosts, as shown in Figure 4, including an autonomous domain 500 and an autonomous domain 600, wherein the autonomous domain 500 includes a router 510, a router 520, and an edge router 530, and the router 510 connects host 511 (program source) and host 512, router 520 connects host 521 and host 522; autonomous domain 600 includes router 610, router 620 and edge router 630, router 610 connects host 611 and host 612, router 620 connects Connect host 621 and host 622; two autonomous domains communicate through edge router 530 and edge router 630.

上述以两个自治域构成的网络系统为本发明应用的简化方案,本发明同时可以适用于三个、四个等多个自治域的网络环境。在每个自治域内采用现有技术进行组播,只是通过使边缘路由器增加协议转换功能,改变了域间的组播传输协议。The above-mentioned network system composed of two autonomous domains is a simplified solution for the application of the present invention, and the present invention can be applied to the network environment of three or four autonomous domains at the same time. Multicasting is carried out using the existing technology in each autonomous domain, but the inter-domain multicast transmission protocol is changed only by adding the protocol conversion function to the edge router.

本发明中路由器的接口包括以太网口,POS口等可以运行组播业务的接口类型。The interface of the router in the present invention includes Ethernet port, POS port and other interface types that can run multicast services.

本发明中与IGMP协议转换单元进行联动的组播路由协议不限于PIM-SM,也可以是其它协议,比如:DVMRP协议。所有的组播路由协议都有组加入行为和组离开行为,这是基本的路由协议行为;改造方式也一样,让IGMP协议转换单元和组播路由协议进行联动。The multicast routing protocol linked with the IGMP protocol conversion unit in the present invention is not limited to PIM-SM, and may also be other protocols, such as DVMRP protocol. All multicast routing protocols have group joining and group leaving behaviors, which are basic routing protocol behaviors; the transformation method is the same, so that the IGMP protocol conversion unit and the multicast routing protocol are linked.

本发明中关于IGMP协议处理的描述主要是关于IGMPV2,但同样适用于IGMPV1和IGMPV3,对于IGMPV1,它只会发送IGMP成员关系报告报文,而不会发送离开报文,则收到组播路由协议的离开报文时,不再响应来自边缘路由器的通用查询报文和指定组查询报文,不再发送IGMP成员关系报告报文就可以了,其他与IGMPV2相同。IGMPV3增强了IGMPV2的功能,但是增强的那些功能与本发明无关,处理与IGMPV2相同。The description about IGMP protocol processing in the present invention is mainly about IGMPV2, but is equally applicable to IGMPV1 and IGMPV3, for IGMPV1, it can only send IGMP membership report message, and can not send leaving message, then receives multicast route In the leave message of the protocol, it does not respond to the general query message and the specified group query message from the edge router, and no longer sends the IGMP membership report message, and the others are the same as IGMPV2. IGMPV3 enhances the functions of IGMPV2, but the enhanced functions are irrelevant to the present invention, and the processing is the same as that of IGMPV2.

除了本发明提到的IGMP协议转换单元与组播路由协议的联动外,也可以手工静态配置IGMP组。In addition to the linkage between the IGMP protocol conversion unit and the multicast routing protocol mentioned in the present invention, the IGMP group can also be statically configured manually.

本发明还提供了一种实现域间组播的边缘路由器,用以为本自治域内的主机与其他自治域的组播源建立组播业务连接,所述边缘路由器中包括组管理协议转换单元,该单元将组播路由协议报文转换为组管理协议报文,并将该组管理协议报文向其他自治域发送。组播路由协议报文,包括组管理协议成员关系报告报文或组管理协议离开报文,分别对应于组播路由协议报文中的组播路由加入报文以及组播路由剪枝报文。组播源所在自治域的边缘路由器周期发送通用组查询报文,以查询组播组成员,所述组播组中的扮演主机角色的边缘路由器通过发送响应报文来响应查询。The present invention also provides an edge router implementing inter-domain multicast, which is used to establish multicast service connections between hosts in this autonomous domain and multicast sources in other autonomous domains. The edge router includes a group management protocol conversion unit. The unit converts the multicast routing protocol message into a group management protocol message, and sends the group management protocol message to other autonomous domains. The multicast routing protocol message, including the group management protocol membership report message or the group management protocol leave message, respectively corresponds to the multicast route joining message and the multicast routing pruning message in the multicast routing protocol message. The edge router in the autonomous domain where the multicast source is located periodically sends a general group query message to query the members of the multicast group, and the edge router playing the role of host in the multicast group responds to the query by sending a response message.

以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以作出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above is only a preferred embodiment of the present invention, it should be pointed out that for those of ordinary skill in the art, without departing from the principle of the present invention, some improvements and modifications can also be made, and these improvements and modifications should also be It is regarded as the protection scope of the present invention.

Claims (9)

1、一种域间组播的传输方法,用以协助本自治域内的主机和其他自治域内的组播源建立组播业务连接,其特征在于,包括以下步骤:1. A transmission method for inter-domain multicast, used to assist hosts in this autonomous domain and multicast sources in other autonomous domains to establish multicast service connections, characterized in that, comprising the following steps: A、在本自治域边缘设备处,根据收到的组播路由协议报文生成相应的组管理协议报文,并向组播源所在自治域发送组管理协议报文;A. At the edge device of the autonomous domain, generate a corresponding group management protocol message according to the received multicast routing protocol message, and send the group management protocol message to the autonomous domain where the multicast source is located; B、在本自治域边缘设备处,将由组播源方向转发过来的组播组数据向本自治域内主机方向转发。B. At the edge device of the autonomous domain, the multicast group data forwarded from the direction of the multicast source is forwarded to the direction of the host in the autonomous domain. 2、如权利要求1所述域间组播的传输方法,其特征在于,步骤A中所述组管理协议报文包括:组管理协议成员关系报告报文或组管理协议离开报文;2. The inter-domain multicast transmission method according to claim 1, wherein the group management protocol message in step A comprises: a group management protocol membership report message or a group management protocol leave message; 所述组管理协议成员关系报告报文对应于组播路由协议报文中的组播路由加入报文,所述组管理协议离开报文对应于组播路由协议报文中的组播路由剪枝报文。The group management protocol membership report message corresponds to the multicast routing join message in the multicast routing protocol message, and the group management protocol leave message corresponds to the multicast routing pruning message in the multicast routing protocol message message. 3、如权利要求2所述域间组播的传输方法,其特征在于,当组播源所在自治域的边缘路由器接收到组管理协议成员关系报告报文时,将该报文中的组播组收集到列表中;当组播源所在自治域的边缘路由器接收到组管理协议离开报文时,将该报文中的组播组从列表中删除。3. The transmission method of inter-domain multicast as claimed in claim 2, characterized in that, when the edge router of the autonomous domain where the multicast source is located receives the group management protocol membership report message, the multicast in the message The groups are collected into the list; when the edge router of the autonomous domain where the multicast source is located receives the leave message of the group management protocol, the multicast group in the message is deleted from the list. 4、如权利要求2所述域间组播的传输方法,其特征在于,组播源所在自治域的边缘路由器周期发送通用组查询报文,以查询组播组成员;所述组播组中的扮演主机角色的边缘路由器通过发送响应报文来响应查询。4. The transmission method of inter-domain multicast as claimed in claim 2, characterized in that, the edge router of the autonomous domain where the multicast source is located periodically sends a general group query message to inquire about the members of the multicast group; The edge router acting as the master responds to the query by sending a response message. 5、如权利要求1所述域间组播的传输方法,其特征在于,所述组播路由协议包括:稀疏模式协议无关组播PIM-SM协议、密集模式协议无关组播PIM-DM协议或距离矢量组播路由协议DVMRP。5. The inter-domain multicast transmission method according to claim 1, wherein the multicast routing protocol comprises: a sparse mode protocol-independent multicast PIM-SM protocol, a dense mode protocol-independent multicast PIM-DM protocol or Distance Vector Multicast Routing Protocol DVMRP. 6、如权利要求1至5任一项所述域间组播的传输方法,其特征在于,所述组管理协议包括因特网组管理协议IGMP或组播侦听发现MLD协议。6. The inter-domain multicast transmission method according to any one of claims 1 to 5, wherein the group management protocol includes Internet Group Management Protocol (IGMP) or Multicast Listener Discovery (MLD) protocol. 7、一种实现域间组播的边缘设备,用以为本自治域内的主机与其他自治域的组播源建立组播业务连接,其特征在于,所述边缘设备中包括组管理协议转换单元,该单元将组播路由协议报文转换为组管理协议报文,并将该组管理协议报文向其他自治域发送。7. An edge device implementing inter-domain multicast, used to establish multicast service connections between hosts in the autonomous domain and multicast sources in other autonomous domains, characterized in that the edge device includes a group management protocol conversion unit, The unit converts the multicast routing protocol message into a group management protocol message, and sends the group management protocol message to other autonomous domains. 8、如权利要求7所述实现域间组播的边缘设备,其特征在于:组管理协议报文包括组管理协议成员关系报告报文或组管理协议离开报文;8. The edge device for implementing inter-domain multicast according to claim 7, wherein the group management protocol message includes a group management protocol membership report message or a group management protocol leave message; 所述组管理协议成员关系报告报文对应于组播路由协议报文中的组播路由加入报文,所述组管理协议离开报文对应于组播路由协议报文中的组播路由剪枝报文。The group management protocol membership report message corresponds to the multicast routing join message in the multicast routing protocol message, and the group management protocol leave message corresponds to the multicast routing pruning message in the multicast routing protocol message message. 9、如权利要求7所述实现域间组播的边缘设备,其特征在于,组播源所在自治域的边缘设备周期发送通用组查询报文,以查询组播组成员,所述组播组中的扮演主机角色的边缘设备通过发送响应报文来响应查询。9. The edge device for implementing inter-domain multicast according to claim 7, wherein the edge device of the autonomous domain where the multicast source is located periodically sends a general group query message to query the members of the multicast group, and the multicast group The edge device in the master role responds to the query by sending a response message.
CNB2005101025134A 2005-09-08 2005-09-08 Inter-domain multicast transmission method and edge device Expired - Fee Related CN100477635C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005101025134A CN100477635C (en) 2005-09-08 2005-09-08 Inter-domain multicast transmission method and edge device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005101025134A CN100477635C (en) 2005-09-08 2005-09-08 Inter-domain multicast transmission method and edge device

Publications (2)

Publication Number Publication Date
CN1764155A CN1764155A (en) 2006-04-26
CN100477635C true CN100477635C (en) 2009-04-08

Family

ID=36748111

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005101025134A Expired - Fee Related CN100477635C (en) 2005-09-08 2005-09-08 Inter-domain multicast transmission method and edge device

Country Status (1)

Country Link
CN (1) CN100477635C (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1988507B (en) * 2006-12-14 2011-12-21 华为技术有限公司 Method, system and router for repeating multicast data
CN101383757B (en) * 2007-09-03 2012-03-21 华为技术有限公司 Multicast routing method, apparatus and system, media gateway and media gateway controller
CN101459596B (en) * 2007-12-14 2012-07-04 华为技术有限公司 Method, system and equipment for multicast data transmission
CN101321077B (en) * 2008-07-18 2011-02-02 华为技术有限公司 Reliable multicast method, provider edge upper layer device and system
CN102761477B (en) * 2012-05-08 2016-08-03 中兴通讯股份有限公司 Multicast protocol file transmitting method and device
CN102739532A (en) * 2012-06-21 2012-10-17 上海斐讯数据通信技术有限公司 Method for preventing flooding of three-layer multicast data stream
CN102946355A (en) * 2012-09-29 2013-02-27 华为技术有限公司 Multicast group processing method, DCI router and system
JP6078876B2 (en) * 2013-02-13 2017-02-15 パナソニックIpマネジメント株式会社 Wireless communication system, wireless device, and address setting method thereof
CN109728922B (en) * 2017-10-27 2022-08-02 上海乾廷网络科技有限公司 Method and related equipment for configuring multicast link in autonomous network
CN108494691B (en) * 2018-06-22 2021-02-26 新华三技术有限公司 Multicast forwarding method and device and tunnel endpoint equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"域间组播协议的比较研究". 李小勇,张卫,郑伟.甘肃科学学报,第16卷第4期. 2004 *

Also Published As

Publication number Publication date
CN1764155A (en) 2006-04-26

Similar Documents

Publication Publication Date Title
CN100442776C (en) The Method of Realizing Multicast Forwarding on Layer 3 Switch
AU720817B2 (en) Multicast switching
US8009671B2 (en) Multicast method and multicast routing method
JP4165196B2 (en) Packet relay device
US8064449B2 (en) Methods and apparatus for managing multicast traffic
CN100379226C (en) A multicast method of virtual private network in virtual router mode
CN100531040C (en) Method and apparatus for realizing multicasting virtual private network binding
CN100454893C (en) A Realization Method of Fast Multicast
EP2942905A1 (en) Method and device for registering multicast source and establishing multicast path
CN102215172B (en) A kind of method and system for realizing cross-virtual private local area network multicast
CN100396055C (en) Multicasting source filtering treatment method
JP4543097B2 (en) Session-aware connection control method and apparatus
CN100477635C (en) Inter-domain multicast transmission method and edge device
CN101179412B (en) Multicast bearer network access equipment, system and method
CN101345641B (en) Multicast access equipment and method
CN101442422B (en) Data transmission method, system and device
CN101247541B (en) Method for implementing multimedia multicast service of mobile communications network
Aweya IP Multicast Routing Protocols: Concepts and Designs
CN1996956A (en) L3 network device and method for multi-cast cross-VLAN forwarding
CN101340305B (en) A source-specific multicast method, system and access device thereof
CN100421410C (en) Realization method of multimedia enhanced service in mobile communication network
CN100440863C (en) Implementation method of the specific source static group function of the extended routing function
Hardwick et al. IP multicast explained
Silva et al. MNet-A new multicast approach for the future Internet
Maguire Jr IK1550 & IK1552

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090408

Termination date: 20200908