[go: up one dir, main page]

CN100484078C - A method to realize VPN multicast - Google Patents

A method to realize VPN multicast Download PDF

Info

Publication number
CN100484078C
CN100484078C CNB2006101411637A CN200610141163A CN100484078C CN 100484078 C CN100484078 C CN 100484078C CN B2006101411637 A CNB2006101411637 A CN B2006101411637A CN 200610141163 A CN200610141163 A CN 200610141163A CN 100484078 C CN100484078 C CN 100484078C
Authority
CN
China
Prior art keywords
group
multicast
coverage
tree
router
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.)
Active
Application number
CNB2006101411637A
Other languages
Chinese (zh)
Other versions
CN1964309A (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.)
Tsinghua University
China Mobile Communications Group Co Ltd
Original Assignee
Tsinghua University
China Mobile Communications Corp
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 Tsinghua University, China Mobile Communications Corp filed Critical Tsinghua University
Priority to CNB2006101411637A priority Critical patent/CN100484078C/en
Publication of CN1964309A publication Critical patent/CN1964309A/en
Application granted granted Critical
Publication of CN100484078C publication Critical patent/CN100484078C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明涉及一种在组播域中实现VPN组播的方法,包括:VPN网络侧中的组管理路由器周期性地查询当前的接收者PEs列表,VPN网络侧对当前组播组中接收成员的覆盖度进行计算;VPN网络侧判断该覆盖度的数值是否小于预先设定的覆盖度阈值,如果是,则VPN网络侧建立一个公网组播分发树,并且当前组播组中接收成员对于所述公网组播分发树的覆盖度大于等于预先设定的覆盖度阈值。本发明通过覆盖度的计算,在覆盖度不满足条件的情况下,通过选择或新建一个P-Tree的方法,使得满足覆盖度的要求,就避免了接收成员站点分布稀疏的情况,减少了带宽的浪费。

Figure 200610141163

The present invention relates to a method for realizing VPN multicast in a multicast domain, comprising: a group management router in the VPN network side periodically inquires about the current receiver PEs list; The coverage is calculated; the VPN network side judges whether the coverage value is less than the preset coverage threshold. If yes, the VPN network side establishes a public network multicast distribution tree, and the receiving members in the current multicast group are The coverage of the public network multicast distribution tree is greater than or equal to a preset coverage threshold. In the present invention, through the calculation of the coverage, in the case that the coverage does not meet the conditions, by selecting or creating a P-Tree method to meet the requirements of the coverage, it avoids the sparse distribution of receiving member sites and reduces the bandwidth. waste.

Figure 200610141163

Description

一种实现VPN组播的方法 A Method of Realizing VPN Multicast

技术领域 technical field

本发明涉及一种组播方法,特别是一种在组播域中实现VPN组播的方法。属通信领域。The invention relates to a multicast method, in particular to a method for realizing VPN multicast in a multicast domain. It belongs to the field of communication.

背景技术 Background technique

网络中,每个用户接入点称作一个站点(Site)。VPN(虚拟专用网)网络中包括如下实体:运营商边界路由器(Provider Edge Router,简称PE)用于在运营商骨干网中为用户提供网络接口、存储虚拟路由(VirtualRouting Forwarding Instance,简称VRF)转发、处理VPN-IPv4路由、接入位于各个站点的VPN子网,是VPN的主要实现部分;用户边界路由器(Customer Edge Router,简称CE),用户VPN站点中接入运营商骨干网的网络接口,汇聚本站点的私网路由,发布和接收用户网络路由;运营商网络核心路由器(简称P路由器),承担着所有数据包在骨干网中转发的任务;每个站点的VPN用户经用户边界路由器CE连接本地运营商边界路由器PE,并在PE上对应特定的存储虚拟路由VRF。VRF上配置一些策略,规定该站点的路由器可以接收哪些站点的路由信息,可以向外发布那些路由信息。每个PE根据BGP(边界网关协议)的扩展信息进行路由计算,生成每个相关VPN的路由表。运营商边界路由器PE设备维护多个路由表,支持动态路由协议的多实例。In the network, each user access point is called a site (Site). The VPN (Virtual Private Network) network includes the following entities: Provider Edge Router (PE for short) is used to provide users with network interfaces in the backbone network of operators, store virtual routing (VirtualRouting Forwarding Instance, VRF) forwarding , process VPN-IPv4 routing, and access VPN subnets located at various sites, which are the main implementation parts of VPN; Customer Edge Router (CE for short), the network interface that accesses the backbone network of the operator in the user VPN site, Converge the private network routes of this site, publish and receive user network routes; the core router of the operator network (referred to as P router), undertakes the task of forwarding all data packets in the backbone network; the VPN users of each site pass through the user border router The CE is connected to the PE of the local operator's border router, and corresponds to a specific storage virtual router VRF on the PE. Some policies are configured on the VRF to specify the routing information of which sites the router of this site can receive and which routing information can be advertised to the outside. Each PE performs routing calculation according to the extended information of BGP (Border Gateway Protocol), and generates a routing table for each related VPN. The carrier border router PE equipment maintains multiple routing tables and supports multiple instances of dynamic routing protocols.

运营商网络是用于传递不同站点的组播数据包的公网网络。其中,包括公网组播组(简称P-Group),公网组播分发树(简称P-Tree)。The carrier network is a public network used to transmit multicast data packets from different sites. It includes a public network multicast group (referred to as P-Group) and a public network multicast distribution tree (abbreviated as P-Tree).

用户的私网是一个独立的、自治的IPv4网络系统。其中,包括私网组播组(简称C-Group),私网组播分发树(简称C-Tree)。The user's private network is an independent and autonomous IPv4 network system. It includes a private network multicast group (C-Group for short), and a private network multicast distribution tree (C-Tree for short).

组播VPN可以以多种形式方案实现,如单播方案(简称GRE Tunnel)是在用户VPN网络的所有CE之间建立组播的全连接关系,完成点对点的隧道连接。这种方案存在着严重的效率问题,每改变其中的一个CE,其它所有的都需要重新配置,因此系统的扩展性能很差。Multicast VPN can be implemented in various forms. For example, the unicast solution (GRE Tunnel for short) is to establish a multicast full connection relationship between all CEs in the user VPN network to complete point-to-point tunnel connections. This solution has a serious efficiency problem. Every time one of the CEs is changed, all other CEs need to be reconfigured, so the expansion performance of the system is very poor.

组播域方案(Multicast-Domain,简称MD),是通过在现有的运营商网络中为每个VPN建立并维护一个组播域来实现的。它实质上是一个多端口隧道,每一个PE路由器都是这个隧道的一个端口,从任何端口进入的数据都会在该端口以外的其它端口上流出,所以用户可以简单的把该组播域看作是一个网络切换器(LAN Switch)。这种方案中,组播数据在骨干网组播域路由器中采用洪泛的方式传送,数据转发不是最优转发,会到达没有私网接收者的路由器,然后被丢弃掉,这在一定程度上浪费了骨干网中的网络带宽,也增加了路由器的处理负荷。The multicast domain solution (Multicast-Domain, MD for short) is realized by establishing and maintaining a multicast domain for each VPN in the existing operator network. It is essentially a multi-port tunnel, each PE router is a port of this tunnel, and the data entering from any port will flow out on other ports other than this port, so users can simply regard this multicast domain as It is a network switch (LAN Switch). In this solution, the multicast data is transmitted in the way of flooding in the multicast domain routers of the backbone network. The data forwarding is not optimal, and it will reach the router without private network receivers, and then be discarded. This is to a certain extent The network bandwidth in the backbone network is wasted, and the processing load of the router is also increased.

组播域(MD)改进方案,当组播域中某个VPN的某个组播组数据传输量超过一定的阈值时,采用VPN-IP PIM方案会为该组播组建立一个动态的组播分发树(Multicast Distribution Tree,简称MDT),组播流量可以沿着这条动态MDT优化路径流动。这样既能减小运营商管理公网中组播路由的负担,同时也为高速的组播数据传输提供了保障。事实上,这种为VPN建立动态MDT的方案仍然存在着一定的局限性,因为在运营上网络中需要支持的VPN数目很多,而且每个VPN中又有很多动态MDT,所以采用改进的组播域方法时公网中组播路由表项依然很多;同时,在这种方案当中只能检测公网组播组中流量大的情况,而对站点分布稀疏所造成的缺憾却不能很好的处理。The multicast domain (MD) improvement scheme, when the data transmission volume of a certain multicast group of a certain VPN in the multicast domain exceeds a certain threshold, the VPN-IP PIM scheme will establish a dynamic multicast group for the multicast group Multicast Distribution Tree (MDT for short), multicast traffic can flow along this dynamic MDT optimization path. This can not only reduce the burden on operators to manage multicast routes in the public network, but also provide guarantee for high-speed multicast data transmission. In fact, this scheme of establishing dynamic MDT for VPN still has certain limitations, because there are many VPNs that need to be supported in the operational network, and there are many dynamic MDTs in each VPN, so the improved multicast In the domain method, there are still many multicast routing entries in the public network; at the same time, in this solution, only the large traffic in the public network multicast group can be detected, but the shortcomings caused by the sparse distribution of sites cannot be well handled .

在现有VPN组播方案中,改进的组播域方案是采用对流量的检测,其路由表项完全可控,同时又能针对特定的数据源进行优化传输的优势获得了大多数研究者的认可。但是,改进的组播域方案只考虑了某个源发送速率高的问题,而没有考虑站点分布稀疏的问题,而这时的带宽浪费依然是非常大的。In the existing VPN multicast scheme, the improved multicast domain scheme adopts traffic detection, its routing table items are completely controllable, and at the same time, it can optimize transmission for specific data sources, which has won the favor of most researchers. recognized. However, the improved multicast domain scheme only considers the problem of high sending rate of a certain source, but does not consider the problem of sparse station distribution, and the waste of bandwidth at this time is still very large.

发明内容 Contents of the invention

本发明所要解决的技术问题在于针对现有技术中的不足,提供一种在组播域中实现VPN组播的方法,该方法考虑到接收成员分布稀疏的情况,针对该情况,引入了覆盖度检测的概念,根据覆盖度的大小来确定P-Tree,减少了带宽的浪费。The technical problem to be solved by the present invention is to provide a method for realizing VPN multicast in the multicast domain in view of the deficiencies in the prior art. This method takes into account the sparse distribution of receiving members, and introduces coverage The concept of detection determines the P-Tree according to the size of the coverage, which reduces the waste of bandwidth.

为此,本发明提供了一种在组播域中实现VPN组播的方法,包括如下步骤:For this reason, the present invention provides a kind of method that realizes VPN multicast in multicast domain, comprises the steps:

步骤11、所述VPN网络侧中的组管理路由器周期性的在组播域中发送覆盖度查询消息,用于查询当前的接收者PEs列表;Step 11, the group management router in the VPN network side periodically sends a coverage query message in the multicast domain for querying the current recipient PEs list;

步骤12、VPN中收到查询消息的路由器确定发出所述查询消息的所述组管理路由器;Step 12, the router receiving the query message in the VPN determines the group management router that sends the query message;

步骤13、收到查询消息的路由器判断所述查询消息的类型,如果是查询所有组,则执行步骤14;如果是查询部分组,则执行步骤17;Step 13, the router that receives the query message judges the type of the query message, if it is to query all groups, then perform step 14; if it is to query some groups, then perform step 17;

步骤14、收到查询消息的路由器把其路由转发表中属于所述组管理路由器管理的组播组地址全部发回到所述组管理路由器;Step 14, the router that receives the query message sends all the multicast group addresses managed by the group management router in its routing forwarding table back to the group management router;

步骤15、所述组管理路由器收集到所述的响应消息,经过统计得出所查询的组的接收成员列表;Step 15, the group management router collects the response message, and obtains the receiving member list of the queried group through statistics;

步骤16、所述组管理路由器分析统计结果,计算出当前每个组的覆盖度,按照如下公式:Step 16, the group management router analyzes the statistical results, calculates the current coverage of each group, according to the following formula:

Figure C200610141163D00061
PEs ( C - Group ) ⊆ ( P - Tree )
Figure C200610141163D00061
PEs ( C - Group ) ⊆ ( P - tree )

其中,PEs为运营商边界路由器,C-Group为私网组播组,P-Tree为公网组播分发树;然后执行步骤2;Among them, PEs is the operator's border router, C-Group is the private network multicast group, and P-Tree is the public network multicast distribution tree; then perform step 2;

步骤17、收到查询消息的路由器确认所要查询的组,如果自己连接有该组的接收成员,则将该组地址发回到所述组管理路由器;然后执行步骤15;Step 17, the router that receives the query message confirms the group to be queried, if it is connected to a receiving member of the group, the group address is sent back to the group management router; then step 15 is performed;

步骤2、VPN网络侧判断该覆盖度的数值是否小于预先设定的覆盖度阈值,如果是,则执行步骤3;如果否,则结束;Step 2, the VPN network side judges whether the value of the coverage is less than the preset coverage threshold, if yes, then execute step 3; if not, then end;

步骤3、VPN网络侧建立一个公网组播分发树,当前组播组中接收成员对于所述公网组播分发树的覆盖度大于或等于预先设定的覆盖度阈值。Step 3: A public network multicast distribution tree is established on the VPN network side, and the coverage of the public network multicast distribution tree by receiving members in the current multicast group is greater than or equal to a preset coverage threshold.

本发明针对改进的MD方案,提出了一个新的覆盖度的概念,通过覆盖度的检测,减少了现有技术中对接收成员站点分布稀疏所造成的带宽浪费,在覆盖度不满足条件的情况下,通过选择或新建一个P-Tree的方法,使得满足覆盖度的要求,就避免了接收成员站点分布稀疏的情况,减少了带宽的浪费。Aiming at the improved MD scheme, the present invention proposes a new concept of coverage. Through the detection of coverage, the waste of bandwidth caused by the sparse distribution of receiving member sites in the prior art is reduced. When the coverage does not meet the conditions In this case, by selecting or creating a P-Tree method to meet the coverage requirements, the sparse distribution of receiving member sites is avoided, and the waste of bandwidth is reduced.

下面通过附图和实施例,对本发明的技术方案做进一步的详细描述。The technical solutions of the present invention will be described in further detail below with reference to the accompanying drawings and embodiments.

附图说明 Description of drawings

图1为本发明第一实施例的流程图;Fig. 1 is the flowchart of the first embodiment of the present invention;

图2为本发明第一实施例中步骤1的具体流程图;Fig. 2 is the specific flowchart of step 1 in the first embodiment of the present invention;

图3为本发明第一实施例中步骤3的具体流程图;Fig. 3 is the specific flowchart of step 3 in the first embodiment of the present invention;

图4为本发明的一个较佳实施例的流程图。Fig. 4 is a flowchart of a preferred embodiment of the present invention.

具体实施方式 Detailed ways

下面首先介绍一下本发明所涉及的相关术语。Firstly, the relevant terms involved in the present invention will be introduced below.

组管理路由器:为进行管理和维护工作并用于完成映射功能的路由器。组管理路由器是相对于每个C-Group来说的。如,切换到公网中的私网组播组(C-Group),需要为其选择一个公网组播分发树(P-Tree)作为它的分发树。组管理路由器就是监督和管理C-Group,为其建立分发树P-Tree,并通知C-Group的其它接收者运营商边界路由器PE切换到该P-Tree上。一个路由器实体可能包含了很多的组管理路由器,这些组管理路由器可以共享该路由器的分发树,或者向该路由器申请新建一棵分发树。我们也用组管理路由器来表示一个包含组管理路由器的路由器实体。在实际中,组管理路由器可以由其它功能实体来承担,例如,PE路由器。Group management router: a router for management and maintenance and for mapping functions. The group management router is relative to each C-Group. For example, to switch to a private network multicast group (C-Group) in the public network, a public network multicast distribution tree (P-Tree) needs to be selected as its distribution tree. The group management router supervises and manages the C-Group, establishes a distribution tree P-Tree for it, and notifies other recipients of the C-Group, the operator's border router PE, to switch to the P-Tree. A router entity may contain many group management routers, and these group management routers can share the router's distribution tree, or apply to the router to create a new distribution tree. We also use group-managed router to denote a router entity that contains group-managed routers. In practice, the group management router can be undertaken by other functional entities, for example, PE routers.

覆盖度:是指当私网组播组(C-Group)的接收者PE成员都是P-Tree的PE成员时(也就是说两者是子集与原集的关系),C-Group对P-Tree的覆盖程度。其值为[0,1]之间的一个实数值。如果采用某个P-Tree来分发该C-Group的数据包,覆盖度越小,则表示带宽浪费程度越大。其公式如下:Coverage: It means that when the receiver PE members of the private network multicast group (C-Group) are all PE members of the P-Tree (that is to say, the two are the relationship between the subset and the original set), the C-Group The degree of coverage of the P-Tree. Its value is a real value between [0, 1]. If a certain P-Tree is used to distribute the data packets of the C-Group, the smaller the coverage, the greater the bandwidth waste. Its formula is as follows:

Figure C200610141163D00081
PEs ( C - Group ) ⊆ ( P - Tree )
Figure C200610141163D00081
PEs ( C - Group ) ⊆ ( P - tree )

其中,PEs为运营商边界路由器;C-Group为私网组播组;P-Tree为公网组播分发树。Among them, PEs is the border router of the operator; C-Group is the private network multicast group; P-Tree is the public network multicast distribution tree.

组播域:为每个VPN所配置的一棵的分发树,它是一棵静态共享树,包括了VPN的所有PE成员,所有的C-Group默认使用这棵树分发数据,一些VPN的控制消息也在这棵树中进行分发。Multicast domain: a distribution tree configured for each VPN, it is a static shared tree, including all PE members of the VPN, all C-Groups use this tree to distribute data by default, some VPN control Messages are also distributed in this tree.

实施例1Example 1

图1为本发明第一实施例的流程图。如图1所示,本发明包括如下步骤:Fig. 1 is a flow chart of the first embodiment of the present invention. As shown in Figure 1, the present invention comprises the following steps:

步骤1、VPN网络侧中的组管理路由器周期性地查询当前的接收者PEs列表,VPN网络侧按照如下公式,对当前组播组中接收成员的覆盖度进行计算:Step 1, the group management router in the VPN network side periodically inquires about the current receiver PEs list, and the VPN network side calculates the coverage of receiving members in the current multicast group according to the following formula:

Figure C200610141163D00083
PEs ( C - Group ) ⊆ ( P - Tree )
Figure C200610141163D00083
PEs ( C - Group ) ⊆ ( P - tree )

其中,PEs为运营商边界路由器;C-Group为私网组播组;P-Tree为公网组播分发树;Among them, PEs is the border router of the operator; C-Group is the private network multicast group; P-Tree is the public network multicast distribution tree;

步骤2、VPN网络侧判断该覆盖度的数值是否小于预先设定的覆盖度阈值,如果是,则执行步骤3;如果否,则结束;Step 2, the VPN network side judges whether the value of the coverage is less than the preset coverage threshold, if yes, then execute step 3; if not, then end;

步骤3、VPN网络侧建立一个公网组播分发树,当前组播组中接收成员对于所述公网组播分发树的覆盖度大于或等于预先设定的覆盖度阈值。Step 3: A public network multicast distribution tree is established on the VPN network side, and the coverage of the public network multicast distribution tree by receiving members in the current multicast group is greater than or equal to a preset coverage threshold.

步骤3为选用一个现有的能覆盖当前组播组所有接收成员的公网组播分发树,并且所述当前组播组所有接收成员对于该公网组播组分发树的覆盖度大于等于覆盖度阈值的,或者为当前组播组所有接收成员新建一个能覆盖当前组播组所有接收成员的公网组播分发树,并且所述当前组播组所有接收成员对于新建的公网组播组分发树的覆盖度大于等于覆盖度阈值。Step 3 is to select an existing public network multicast distribution tree that can cover all receiving members of the current multicast group, and the coverage of all receiving members of the current multicast group for the distribution tree of the public network multicast group is greater than or equal to coverage degree threshold, or create a public network multicast distribution tree that can cover all receiving members of the current multicast group for all receiving members of the current multicast group, and all receiving members of the current multicast group are for the new public network multicast group The coverage of the distribution tree is greater than or equal to the coverage threshold.

实施例2Example 2

图2为本发明第一实施例中步骤1的具体流程图。本实施例与实施例1的区别仅在于,将实施例1中的步骤1具体细化,其余步骤同实施例1。如图2所示,步骤1具体为:Fig. 2 is a specific flowchart of step 1 in the first embodiment of the present invention. The difference between this embodiment and embodiment 1 is that step 1 in embodiment 1 is specifically refined, and other steps are the same as embodiment 1. As shown in Figure 2, step 1 is specifically:

步骤11、所述VPN网络侧中的组管理路由器周期性的在组播域中发送覆盖度查询消息,用于查询当前的接收者PEs列表;Step 11, the group management router in the VPN network side periodically sends a coverage query message in the multicast domain for querying the current recipient PEs list;

步骤12、VPN中收到查询消息的路由器确定发出所述查询消息的所述组管理路由器;Step 12, the router receiving the query message in the VPN determines the group management router that sends the query message;

步骤13、收到查询消息的路由器判断所述查询消息的类型,如果是查询所有组,则执行步骤14;如果是查询部分组,则执行步骤17;Step 13, the router that receives the query message judges the type of the query message, if it is to query all groups, then perform step 14; if it is to query some groups, then perform step 17;

步骤14、收到查询消息的路由器把其路由转发表中属于所述组管理路由器管理的组播组地址全部发回到所述组管理路由器;Step 14, the router that receives the query message sends all the multicast group addresses managed by the group management router in its routing forwarding table back to the group management router;

步骤15、所述组管理路由器收集到所述的响应消息,经过统计得出所查询的组的接收成员列表;Step 15, the group management router collects the response message, and obtains the receiving member list of the queried group through statistics;

步骤16、所述组管理路由器分析统计结果,计算出当前每个组的覆盖度,按照如下公式:Step 16, the group management router analyzes the statistical results, calculates the current coverage of each group, according to the following formula:

Figure C200610141163D00091
PEs ( C - Group ) ⊆ ( P - Tree )
Figure C200610141163D00091
PEs ( C - Group ) ⊆ ( P - tree )

其中,PEs为运营商边界路由器,C-Group为私网组播组,P-Tree为公网组播分发树;然后结束;Among them, PEs is the operator's border router, C-Group is the private network multicast group, P-Tree is the public network multicast distribution tree; then end;

步骤17、收到查询消息的路由器确认所要查询的组,如果自己连接有该组的接收成员,则将该组地址发回到所述组管理路由器;然后执行步骤15。Step 17. The router receiving the query message confirms the group to be queried, and if it is connected to a receiving member of the group, sends the group address back to the group management router; and then executes step 15.

实施例3Example 3

图3为本发明第一实施例中步骤3的具体流程图。本实施例与实施例1的区别仅在于将步骤3进行具体细化,如图3所示,步骤3的具体步骤为:Fig. 3 is a specific flowchart of step 3 in the first embodiment of the present invention. The difference between this embodiment and embodiment 1 is that step 3 is specifically refined, as shown in Figure 3, the specific steps of step 3 are:

步骤31、VPN网络侧现有P-Tree中,是否有能覆盖当前组播组所述接收成员的P-Tree,并且所述当前组播组中接收成员对于该P-Tree的覆盖度大于等于覆盖度阈值,如果是,则执行步骤32;如果否,则执行步骤33;Step 31: In the existing P-Tree on the VPN network side, whether there is a P-Tree that can cover the receiving members of the current multicast group, and the coverage of the receiving members in the current multicast group for the P-Tree is greater than or equal to Coverage threshold, if yes, then execute step 32; if no, then execute step 33;

步骤32、选择一个现有P-Tree分发信息,且当前组播组所述接收成员对于该P-Tree的覆盖度大于等于覆盖度阈值;然后结束;Step 32, select an existing P-Tree to distribute information, and the coverage of the P-Tree of the receiving members of the current multicast group is greater than or equal to the coverage threshold; then end;

步骤33、为当前组播组中所有接收成员新建一个能覆盖当前组播组所有接收成员的P-Tree,并且所述当前组播组所有接收成员对于新建P-Tree的覆盖度大于等于覆盖度阈值。Step 33, create a new P-Tree that can cover all receiving members of the current multicast group for all receiving members in the current multicast group, and the coverage of all receiving members of the current multicast group for the new P-Tree is greater than or equal to the coverage threshold.

实施例4Example 4

图4为本发明的一个较佳实施例的流程图。如图4所示,本发明包括如下步骤:Fig. 4 is a flowchart of a preferred embodiment of the present invention. As shown in Figure 4, the present invention comprises the following steps:

步骤11、所述VPN网络侧中的组管理路由器周期性的在组播域中发送覆盖度查询消息,用于查询当前的接收者PEs列表;Step 11, the group management router in the VPN network side periodically sends a coverage query message in the multicast domain for querying the current recipient PEs list;

步骤12、VPN中收到查询消息的路由器确定发出所述查询消息的所述组管理路由器;Step 12, the router receiving the query message in the VPN determines the group management router that sends the query message;

步骤13、收到查询消息的路由器判断所述查询消息的类型,如果是查询所有组,则执行步骤14;如果是查询部分组,则执行步骤17;Step 13, the router that receives the query message judges the type of the query message, if it is to query all groups, then perform step 14; if it is to query some groups, then perform step 17;

步骤14、收到查询消息的路由器把其路由转发表中属于所述组管理路由器管理的组播组地址全部发回到所述组管理路由器;Step 14, the router that receives the query message sends all the multicast group addresses managed by the group management router in its routing forwarding table back to the group management router;

步骤15、所述组管理路由器收集到所述的响应消息,经过统计得出所查询的组的接收成员列表;Step 15, the group management router collects the response message, and obtains the receiving member list of the queried group through statistics;

步骤16、所述组管理路由器分析统计结果,计算出当前每个组的覆盖度,按照如下公式:Step 16, the group management router analyzes the statistical results, calculates the current coverage of each group, according to the following formula:

PEs ( C - Group ) ⊆ ( P - Tree ) PEs ( C - Group ) ⊆ ( P - tree )

其中,PEs为运营商边界路由器,C-Group为私网组播组,P-Tree为公网组播分发树;然后结束;Among them, PEs is the operator's border router, C-Group is the private network multicast group, P-Tree is the public network multicast distribution tree; then end;

步骤17、收到查询消息的路由器确认所要查询的组,如果自己连接有该组的接收成员,则将该组地址发回到所述组管理路由器,然后执行步骤15;Step 17. The router that receives the query message confirms the group to be queried. If it is connected to a receiving member of the group, the group address is sent back to the group management router, and then step 15 is performed;

步骤2、VPN网络侧判断该覆盖度是否小于预先设定的覆盖度阈值,如果是,则执行步骤3;如果否,则结束;Step 2, the VPN network side judges whether the coverage is less than the preset coverage threshold, if yes, then execute step 3; if not, then end;

步骤31、VPN网络侧现有P-Tree中,是否有能覆盖当前组播组所述接收成员的P-Tree,并且所述当前组播组中接收成员对于该P-Tree的覆盖度大于等于覆盖度阈值,如果是,则执行步骤32;如果否,则执行步骤33;Step 31: In the existing P-Tree on the VPN network side, whether there is a P-Tree that can cover the receiving members of the current multicast group, and the coverage of the receiving members in the current multicast group for the P-Tree is greater than or equal to Coverage threshold, if yes, then execute step 32; if no, then execute step 33;

步骤32、选择一个现有P-Tree分发信息,且当前组播组所述接收成员对于该P-Tree的覆盖度大于等于覆盖度阈值;然后结束;Step 32, select an existing P-Tree to distribute information, and the coverage of the P-Tree of the receiving members of the current multicast group is greater than or equal to the coverage threshold; then end;

步骤33、为当前组播组中所述接收成员新建一个能覆盖当前组播组所有接收成员的P-Tree,并且所述当前组播组所有接收成员对于新建P-Tree的覆盖度大于等于覆盖度阈值。Step 33, create a new P-Tree that can cover all receiving members of the current multicast group for the receiving members in the current multicast group, and the coverage of all receiving members of the current multicast group for the new P-Tree is greater than or equal to coverage degree threshold.

最后所应说明的是,以上实施例仅用以说明本发明的技术方案而非限制,尽管参照较佳实施例对本发明进行了详细说明,本领域的普通技术人员应当理解,可以对本发明的技术方案进行修改或者等同替换,而不脱离本发明技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention without limitation. Although the present invention has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that the technical solutions of the present invention can be The scheme shall be modified or equivalently replaced without departing from the spirit and scope of the technical scheme of the present invention.

Claims (3)

1. a method that realizes the VPN multicast in multicast domain is characterized in that, comprises the steps:
Group management router in step 11, the VPN network side periodically sends the coverage query messages in multicast domain, be used to inquire about current recipient PEs tabulation;
Receive among step 12, the VPN that the router of query messages determines to send described group of management router of described query messages;
Step 13, receive that the router of query messages judges the type of described query messages, if inquire about all groups, then execution in step 14; If the query portion group, then execution in step 17;
Step 14, the router of receiving query messages all are sent back to described group of management router to the multicast group address that belongs to described group of management router management in its route forwarding table;
Step 15, described group of management router are collected described response message, draw the reception member tabulation of the group of being inquired about through statistics;
Step 16, described group of management router analytic statistics result calculate the coverage of current each group, according to following formula:
Figure C200610141163C00021
PEs ( C - Group ) ⊆ ( P - Tree )
Wherein, PEs is the operator edge router, and C-Group is the private network multicast group, and P-Tree is a public network multicast issuing tree; Execution in step 2 then;
Step 17, the router of receiving query messages are confirmed the group that will inquire about if oneself be connected with the reception member of this group, then this group address to be sent back to described group of management router; Execution in step 15 then;
Step 2, VPN network side judge that whether the numerical value of this coverage is less than predefined coverage threshold value, if then execution in step 3; If not, then finish;
Step 3, VPN network side are set up a public network multicast issuing tree, and receive in the current multicast group member for the coverage of described public network multicast issuing tree more than or equal to predefined coverage threshold value.
2. the method that in multicast domain, realizes the VPN multicast according to claim 1, it is characterized in that, all receive members' public network multicast issuing tree to described step 3 in order to select for use an existing energy to cover current multicast group, and described current multicast group all receive members for the coverage of this public network multicast group distribution tree more than or equal to the coverage threshold value, perhaps all receive newly-built one of members and can cover current multicast group all receive members' public network multicast issuing tree for current multicast group, and described current multicast group all receive members for the coverage of newly-built public network multicast group distribution tree more than or equal to the coverage threshold value.
3. the method that realizes the VPN multicast in multicast domain according to claim 1 is characterized in that described step 3 is specially:
Among step 31, the existing P-Tree of VPN network side, whether the P-Tree that can cover the described reception of current multicast group member is arranged, and receive in the described current multicast group member for the coverage of this P-Tree more than or equal to the coverage threshold value, if then execution in step 32; If not, execution in step 33 then;
Step 32, select an existing P-Tree distributing information, and the described reception of current multicast group member for the coverage of this P-Tree more than or equal to the coverage threshold value; Finish then;
Step 33, can cover current multicast group all receive members' P-Tree for receiving newly-built one of member described in the current multicast group, and described current multicast group all receive members for the coverage of newly-built P-Tree more than or equal to the coverage threshold value.
CNB2006101411637A 2006-10-13 2006-10-13 A method to realize VPN multicast Active CN100484078C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006101411637A CN100484078C (en) 2006-10-13 2006-10-13 A method to realize VPN multicast

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006101411637A CN100484078C (en) 2006-10-13 2006-10-13 A method to realize VPN multicast

Publications (2)

Publication Number Publication Date
CN1964309A CN1964309A (en) 2007-05-16
CN100484078C true CN100484078C (en) 2009-04-29

Family

ID=38083207

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006101411637A Active CN100484078C (en) 2006-10-13 2006-10-13 A method to realize VPN multicast

Country Status (1)

Country Link
CN (1) CN100484078C (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101951342B (en) * 2010-09-15 2013-05-29 北京星网锐捷网络技术有限公司 Multicast data stream propagation method, propagation device and network equipment
IN2013CH04575A (en) * 2013-10-09 2015-04-10 Huawei Technologies India Pvt Ltd

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0575281B1 (en) * 1992-06-18 1999-11-17 International Business Machines Corporation Multicast communication tree creation and control method and apparatus
CN1756414A (en) * 2004-09-28 2006-04-05 华为技术有限公司 Method for Multicasting in Mobile Communication System
EP1675301A1 (en) * 2004-12-21 2006-06-28 AT&T Corp. Method and apparatus for scalable virtual private network multicasting

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0575281B1 (en) * 1992-06-18 1999-11-17 International Business Machines Corporation Multicast communication tree creation and control method and apparatus
CN1756414A (en) * 2004-09-28 2006-04-05 华为技术有限公司 Method for Multicasting in Mobile Communication System
EP1675301A1 (en) * 2004-12-21 2006-06-28 AT&T Corp. Method and apparatus for scalable virtual private network multicasting

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
支持QoS的分层数据传输的动态组播路由算法. 陆慧梅,向勇,史美林,杨敏.软件学报,第15卷第6期. 2006
支持QoS的分层数据传输的动态组播路由算法. 陆慧梅,向勇,史美林,杨敏.软件学报,第15卷第6期. 2006 *

Also Published As

Publication number Publication date
CN1964309A (en) 2007-05-16

Similar Documents

Publication Publication Date Title
CN105247822B (en) A kind of method, apparatus and computer readable storage medium for establishing network service chaining
CN102546351B (en) System and method for interconnecting openflow network and conventional Internet protocol (IP) network
EP2356775B1 (en) Central controller for coordinating multicast message transmissions in distributed virtual network switch environment
CN102035729B (en) Multicast data forwarding method
EP3965368B1 (en) Replication mode selection for multicast in evpn
CN101616014B (en) Method for realizing cross-virtual private local area network multicast
CN101436995B (en) A Method of Fast IP Address Blocking Based on BGP Virtual Next Hop
CN100505674C (en) Message forwarding method, system and edge device in virtual private network
US9112711B2 (en) Optimizing OTV multicast traffic flow for site local receivers
CN102137001B (en) Routing information exchange method, equipment and system
CN104468384A (en) System and method for achieving multi-service priorities
CN103685009A (en) Data packet processing method and system as well as controller
CN104980361A (en) Load balancing method, device, and system
WO2017107814A1 (en) Method, apparatus and system for propagating qos policies
WO2007054006A1 (en) A base station of wideband wireless access system and a method for realizing group-broadcast service
CN101355519A (en) A method and device for realizing business flow load sharing
WO2007059679A1 (en) A method for processing the abnormal multicast service and a network equipment thereof
CN102801623A (en) Multi-access data transmitting method and device
CN101631129B (en) Method and device for transmitting multicast data
US8675658B2 (en) Using multiple IGMP queriers in a layer 2 network
CN109076019A (en) Addressing for customer rs premise LAN extension
CN103716169B (en) Point-to-multipoint method of realizing group broadcasting, network node and system
CN100433731C (en) Method for realizing VPN multicast
CN102347906B (en) Multi-cast method and multi-cast network system
CN100484078C (en) A method to realize VPN multicast

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