CN100433731C - Method for realizing VPN multicast - Google Patents
Method for realizing VPN multicast Download PDFInfo
- Publication number
 - CN100433731C CN100433731C CNB2006101411641A CN200610141164A CN100433731C CN 100433731 C CN100433731 C CN 100433731C CN B2006101411641 A CNB2006101411641 A CN B2006101411641A CN 200610141164 A CN200610141164 A CN 200610141164A CN 100433731 C CN100433731 C CN 100433731C
 - Authority
 - CN
 - China
 - Prior art keywords
 - tree
 - network multicast
 - public network
 - group
 - coverage
 - 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
 
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
 
Abstract
本发明涉及一种公网组播分发树的匹配方法,包括:组管理路由器计算当前私网组播组在各现有的公网组播分发树中的各覆盖度数值;判断公网组播分发树中是否存在覆盖度数值大于覆盖度阈值的公网组播分发树,如果是,再判断是否存在唯一覆盖度最大的分发树,如果是,则选择该覆盖度最大的公网组播分发树;如果否,则再判断是否存在唯一静态的分发树,如果是,则选择该静态的公网组播分发树;如果否,则又判断是否存在唯一引用的数量最多的分发树,如果是,则选择该公网组播分发树;如果否,则选择创建时间最早的公网组播分发树。本发明还涉及一种实现VPN组播的方法,选择匹配的树或新建一个树。本发明减少了带宽的浪费。
The invention relates to a matching method of a public network multicast distribution tree, comprising: a group management router calculates each coverage value of the current private network multicast group in each existing public network multicast distribution tree; Whether there is a public network multicast distribution tree whose coverage value is greater than the coverage threshold in the distribution tree, if yes, then judge whether there is a unique distribution tree with the largest coverage, if yes, select the public network multicast distribution tree with the largest coverage If not, then judge whether there is a unique static distribution tree, if yes, then select the static public network multicast distribution tree; if not, then judge whether there is a distribution tree with the largest number of unique references, if yes , select the public network multicast distribution tree; if not, select the public network multicast distribution tree with the earliest creation time. The invention also relates to a method for realizing VPN multicast, selecting a matching tree or creating a new tree. The invention reduces the waste of bandwidth.
Description
技术领域 technical field
本发明涉及一种公网组播分发树的匹配方法,本发明还涉及一种实现VPN组播的方法。属通信领域。The invention relates to a matching method of public network multicast distribution tree, and also relates to a method for realizing VPN multicast. 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 relevant 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可以以多种形式方案实现,如单播方案,这种方案存在着严重的效率问题,每改变其中的一个CE,其它所有的都需要重新配置,因此系统的扩展性能很差。组播域方案(Multicast-Domain,简称MD),组播数据在骨干网组播域路由器中采用洪泛的方式传送,数据转发不是最优转发,会到达没有私网接收者的路由器,然后被丢弃掉,这在一定程度上浪费了骨干网中的网络带宽,也增加了路由器的处理负荷。Multicast VPN can be implemented in various forms, such as unicast scheme, which has a serious efficiency problem. Every time one CE is changed, all other CEs need to be reconfigured, so the expansion performance of the system is very poor. Multicast domain scheme (Multicast-Domain, referred to as MD), multicast data is transmitted in the way of flooding in the multicast domain router of the backbone network, the data forwarding is not optimal forwarding, it will reach the router without private network receivers, and then be This wastes the network bandwidth in the backbone network to a certain extent, and also increases the processing load of the router.
目前较优的方案是组播域(MD)改进方案,当组播域中某个VPN的某个组播组数据传输量超过一定的阈值时,采用VPN-IP PIM方案会为该组播组建立一个动态的MDT(Multicast Distribution Tree,组播分发树),组播流量可以沿着这条动态MDT优化路径流动。这样既能减小运营商管理公网中组播路由的负担,同时也为高速的组播数据传输提供了保障。事实上,这种为VPN建立动态MDT的方案仍然存在着一定的局限性,因为在运营上网络中需要支持的VPN数目很多,而且每个VPN中又有很多动态MDT,所以采用改进的组播域方法时公网中组播路由表项依然很多;同时,在这种方案当中只能检测公网组播组中流量大的情况,而对站点分布稀疏所造成的缺憾却不能很好的处理。At present, the better scheme is 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 be used for the multicast group Establish a dynamic MDT (Multicast Distribution Tree, multicast distribution tree), and 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 .
改进的组播域方案以其路由表项完全可控,同时又能针对特定的数据源进行优化传输的优势获得了大多数研究者的认可。但是,改进的组播域方案只考虑了某个源发送速率高的问题,而没有考虑站点分布稀疏的问题,而这时的带宽浪费依然是非常大的。The improved multicast domain scheme has been recognized by most researchers because of its fully controllable routing table items and the advantages of optimizing transmission for specific data sources. 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
本发明所要解决的技术问题在于针对现有技术中的不足,通过覆盖度计算,利用现有公网组播分发树进行匹配的方法,减少了公网中网络带宽的浪费,同时减少了公网中路由器维护的组播树信息量,在减小服务器负担的同时使得网络能够支持更多的虚拟专用网组播业务。The technical problem to be solved by the present invention lies in addressing the deficiencies in the prior art, through coverage calculation, using the existing public network multicast distribution tree matching method, reducing the waste of network bandwidth in the public network, while reducing the public network The amount of multicast tree information maintained by the routers reduces the burden on the server and enables the network to support more virtual private network multicast services.
为此,本发明提供了一种公网组播分发树的匹配方法,包括如下步骤:For this reason, the present invention provides a kind of matching method of public network multicast distribution tree, comprises the following steps:
步骤1、组管理路由器按照如下覆盖度公式计算当前私网组播组在各现有的公网组播分发树中的各覆盖度数值,Step 1. The group management router calculates the coverage values of the current private network multicast group in each existing public network multicast distribution tree according to the following coverage formula,
        
          
            
            
其中,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, and the coverage refers to that when the receivers of the private network multicast group are all members of the operator's border router When the public network multicast distribution tree is a member of the operator's border router, the coverage degree of the private network multicast group to the public network multicast distribution tree;
         步骤2、组管理路由器判断所述公网组播分发树中是否存在覆盖度数值大于预先设定的覆盖度阈值的公网组播分发树,如果是,则执行步骤3;如果否,则匹配失败,然后结束;
         步骤3、组管理路由器在大于所述覆盖度阈值的公网组播分发树中判断是否存在唯一一个覆盖度最大的公网组播分发树,如果是,则将该覆盖度最大的公网组播分发树匹配为该私网组播组的分发树;如果否,则执行步骤4;
         步骤4、组管理路由器在大于所述覆盖度阈值的公网组播分发树中判断是否存在唯一一个静态的公网组播分发树,如果是,则将该静态的公网组播分发树匹配为该私网组播组的分发树;如果否,则执行步骤5;
         步骤5、组管理路由器判断是否存在唯一一个被各私网组播组引用的数量最多的公网组播分发树,如果是,则将该公网组播分发树匹配为该私网组播组的分发树;如果否,则执行步骤6;
         步骤6、将创建时间最早的公网组播分发树匹配为该私网组播组的分发树。
本发明还提供了一种实现VPN组播的方法,包括如下步骤:The present invention also provides a method for realizing VPN multicast, comprising the following steps:
         步骤1、组管理路由器依据改变承载树状态的私网组播组信号,在现有的公网组播分发树中,判断是否存在一个能够覆盖当前私网组播组的,并且按照所述公网组播分发树的匹配方法选择出的与该私网组播组相匹配的公网组播分发树;如果是,则执行步骤3;如果否,则执行步骤2;Step 1. The group management router judges whether there is a private network multicast group that can cover the current private network multicast group in the existing public network multicast distribution tree according to the private network multicast group signal that changes the state of the bearer tree, and according to the public network multicast group The matching method of the network multicast distribution tree selects the public network multicast distribution tree that matches the private network multicast group; if yes, then perform 
         步骤2、为该私网组播组建立一个新的公网组播分发树,然后结束;
         步骤3、选择该公网组播分发树为该私网组播组的分发树。
本发明通过覆盖度计算,利用现有公网组播分发树进行匹配的方法,减少了公网中维护的组播路由表信息量;本发明又应用公网组播分发树的匹配方法,建立一个符合覆盖度要求的分发树,减少了现有技术中对接收成员站点分布稀疏所造成的带宽浪费,在覆盖度不满足条件的情况下,通过选择或新建一个P-Tree的方法,使得满足覆盖度的要求,就避免了接收成员站点分布稀疏的情况,减少了带宽的浪费,同时减少了公网中组播路由表维护的信息量。The present invention uses the existing public network multicast distribution tree matching method through coverage calculation to reduce the amount of multicast routing table information maintained in the public network; the present invention also uses the public network multicast distribution tree matching method to establish A distribution tree that meets the coverage requirements reduces the bandwidth waste caused by the sparse distribution of receiving member sites in the prior art. The coverage requirement avoids the sparse distribution of receiving member sites, reduces the waste of bandwidth, and reduces the amount of information maintained by the multicast routing table in the public network.
下面通过附图和实施例,对本发明的技术方案做进一步的详细描述。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为本发明第二实施例的流程图。Fig. 2 is a flow chart of the second 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上。一个路由器实体可能包含了很多的组管理路由器,这些组管理路由器可以共享该路由器的分发树,或者向该路由器申请新建一棵分发树。我们也用组管理路由器来表示一个包含组管理路由器的路由器实体。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.
覆盖度:是指当私网组播组(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:
        
          
            
            
其中,PEs为运营商边界路由器,C-Group为私网组播组,P-Tree为公网组播分发树。Among them, PEs is the border router of the operator, C-Group is the private network multicast group, and 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.
切换:私网中的数据包在公网中传输时,我们需要给它选择一个P-Tree作为分发树,而且为了优化传输,所采用的公网分发树也是动态变化的,我们把这个选择分发树的过程叫做“切换”过程。根据分发树类型的不同和切换的前提条件不同,切换也分为多种类型。Switching: When the data packets in the private network are transmitted in the public network, we need to select a P-Tree as the distribution tree for it, and in order to optimize the transmission, the public network distribution tree used is also dynamically changed. The tree process is called the "switching" process. According to different types of distribution trees and different preconditions for switching, switching is also divided into multiple types.
本发明所涉及的树型如下:The tree types involved in the present invention are as follows:
公网组播分发树(P-Tree)采用源树类型。当私网组播组(C-Group)是源树时,应当采用源树类型的P-Tree分发数据;当C-Group是共享树,但是站点内包括一个RP(Rendezvous Point,汇聚点)点,且数据源是单播数据包到RP点的,该组的数据包在穿越公网时,也可以采用源树类型的P-Tree,以实现最优转发。The public network multicast distribution tree (P-Tree) adopts the source tree type. When the private network multicast group (C-Group) is the source tree, the P-Tree of the source tree type should be used to distribute data; when the C-Group is a shared tree, but the site includes an RP (Rendezvous Point, rendezvous point) point , and the data source is a unicast data packet to the RP point, when the data packets of this group traverse the public network, the source tree type P-Tree can also be used to achieve optimal forwarding.
公网组播分发树(P-Tree)采用共享树类型。私网组播组(C-Group)是共享树时,应当采用共享树类型的P-Tree。The public network multicast distribution tree (P-Tree) adopts the shared tree type. When the private network multicast group (C-Group) is a shared tree, the shared tree type P-Tree should be used.
公网组播分发树(P-Tree)还可以分为静态树和动态树两种。The public network multicast distribution tree (P-Tree) can also be divided into static tree and dynamic tree.
静态树P-Tree是由手工配置建立的。凡是在公网中拓扑稳定的分发树都可以采用静态配置的方式,并且任何静态树是不能被路由器自动删除的。例如,所有的组播域必须采用静态树来实现,而且对于公网中长期出现的P-Tree也应当配置成静态组播树,以便于稳定公网中P-Tree路由项,减少维护开销,加快转发过程。The static tree P-Tree is established by manual configuration. Any distribution tree with a stable topology in the public network can be configured statically, and any static tree cannot be automatically deleted by the router. For example, all multicast domains must be implemented using static trees, and the P-Tree that has appeared in the public network for a long time should also be configured as a static multicast tree, so as to stabilize the P-Tree routing items in the public network and reduce maintenance costs. Speed up the forwarding process.
为了减少公网中的路由表的信息量,就必须支持动态树P-Tree。这些P-Tree只有在需要时才会被建立,并且在有C-Group引用时会一直存在,直到其引用计数为零时,组管理路由器才会主动释放该动态树,以减少公网中维护的组播路由项。可以建立的动态树的数量应当通过某种方式由运营商来控制,以保证运营商网络拥有良好的可扩展性。In order to reduce the amount of information in the routing table in the public network, it is necessary to support the dynamic tree P-Tree. These P-Trees will only be established when needed, and will always exist when there is a C-Group reference, until the reference count reaches zero, the group management router will actively release the dynamic tree to reduce maintenance in the public network multicast routing entry. The number of dynamic trees that can be established should be controlled by the operator in some way, so as to ensure good scalability of the operator's network.
PE路由器为了维护其所建立P-Tree以及C-Group与P-Tree的映射关系,需要维护树表和组表以管理这些基本信息。本发明所涉及的树表与组表如下:In order to maintain the established P-Tree and the mapping relationship between the C-Group and the P-Tree, the PE router needs to maintain the tree table and the group table to manage these basic information. The tree table and group table involved in the present invention are as follows:
树表保存了组管理路由器建立的P-Tree信息,是为C-Group选择公网转发树的主要依据。表1为树表所包含的数据项,如表1所示:The tree table stores the P-Tree information established by the group management router, and is the main basis for selecting the public network forwarding tree for the C-Group. Table 1 is the data items contained in the tree table, as shown in Table 1:
表1Table 1
        
表1中,in FIG. 1,
IP Address:P-Tree的IPv4组播地址,即P-Group;IP Address: IPv4 multicast address of P-Tree, that is, P-Group;
Tree Label:P-Tree的标记;Tree Label: P-Tree mark;
Tree-Type:P-Tree的类型,源树或是共享树;Tree-Type: the type of P-Tree, source tree or shared tree;
Ref-Count:引用该树的C-Group个数;Ref-Count: the number of C-Groups referencing the tree;
Dynamic:动态建立的标记,标识该P-Tree是否是动态建立的;Dynamic: A dynamically created flag, identifying whether the P-Tree is dynamically created;
PEs-List:PE成员列表,标识P-Tree所覆盖的PE成员。PEs-List: PE member list, which identifies the PE members covered by the P-Tree.
表2为组表保存的切换到P-Tree上的C-Group的成员信息,如表2所示:Table 2 is the member information of the C-Group switched to the P-Tree saved in the group table, as shown in Table 2:
表2Table 2
        
表2中,Table 2,
VPN-RD:标识该组所属的VPN;VPN-RD: identifies the VPN to which the group belongs;
G:私网组播地址;G: private network multicast address;
PEs-List:PE成员列表,标识该组覆盖的PE成员。PEs-List: PE member list, which identifies the PE members covered by this group.
在组表中的C-Group是那些符合切换条件,离开默认的组播域分发树,在公网中进行优化传输的C-Group。为了表示该组发生了切换,并且维护该组在公网中的信息,需要组管理路由器周期性的向组播域发送相应的MDTJoin TLV(切换消息)消息,来通知其它接收者PE将该C-Group在组播域外的相应P-Tree上传输。The C-Groups in the group table are those C-Groups that meet the switching conditions, leave the default multicast domain distribution tree, and perform optimized transmission in the public network. In order to indicate that the group has switched and maintain the information of the group in the public network, it is necessary for the group management router to periodically send the corresponding MDTJoin TLV (handover message) message to the multicast domain to notify other receivers PE that the C -Group is transmitted on the corresponding P-Tree outside the multicast domain.
另一个可供选择的方案是:如果能够容忍Join(加入组播组)过程的延迟,就可以不用维护组表。当需要获取C-Group的成员列表时,通过临时发送成员PE查询消息来获知该组所有的成员PEs。Another alternative solution is: if the delay in the Join (joining a multicast group) process can be tolerated, the group table does not need to be maintained. When it is necessary to obtain the member list of the C-Group, all member PEs of the group are known by temporarily sending member PE query messages.
本发明所涉及的定义常量如下:The definition constants involved in the present invention are as follows:
流量阈值:为了防止在边界上发生的频繁切换现象,需要定义流量阈值的上下两个边界。在流量检测过程中,当某个C-Group的流量高出流量上界时,它将被切换到公网当中,而当其流量低于流量下界时,它又会被切换回组播域当中。而在流量下界与上界之间存在一段死区,当流量值位于该区域时,C-Group保持原有状态不变。控制该死区的长度能够控制公网组播组的稳定程度。Traffic threshold: In order to prevent frequent switching on the boundary, it is necessary to define the upper and lower boundaries of the traffic threshold. During the traffic detection process, when the traffic of a certain C-Group is higher than the upper bound of the traffic, it will be switched to the public network, and when its traffic is lower than the lower bound of the traffic, it will be switched back to the multicast domain . However, there is a dead zone between the flow lower bound and the upper bound. When the flow value is in this area, the C-Group remains in its original state. Controlling the length of the dead zone can control the stability of the public network multicast group.
实施例1Example 1
图1为本发明的第一实施例的流程图。如图1所示,包括如下步骤:Fig. 1 is a flowchart of the first embodiment of the present invention. As shown in Figure 1, it includes the following steps:
步骤1、组管理路由器按照如下覆盖度公式计算当前私网组播组在各现有的公网组播分发树中的各覆盖度数值,Step 1. The group management router calculates the coverage values of the current private network multicast group in each existing public network multicast distribution tree according to the following coverage formula,
        
          
            
            
其中,PEs为运营商边界路由器,C-Group为私网组播组,P-Tree为公网组播分发树;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;
         步骤2、组管理路由器判断所述公网组播分发树中是否存在覆盖度数值大于预先设定的覆盖度阈值的公网组播分发树,如果是,则执行步骤3;如果否,则匹配失败,然后结束;
         步骤3、组管理路由器在大于所述覆盖度阈值的公网组播分发树中判断是否存在唯一一个覆盖度最大的公网组播分发树,如果是,则执行步骤7;如果否,则执行步骤4;
         步骤4、组管理路由器在大于所述覆盖度阈值的公网组播分发树中判断是否存在唯一一个静态的公网组播分发树,如果是,则执行步骤8;如果否,则执行步骤5;
         步骤5、组管理路由器判断是否存在唯一一个被各私网组播组引用的数量最多的公网组播分发树,如果是,则执行步骤9;如果否,则执行步骤6;
         步骤6、将选择创建时间最早的公网组播分发树匹配为该私网组播组的分发树;
         步骤7、将该覆盖度最大的公网组播分发树匹配为该私网组播组的分发树,然后结束;
步骤8、将该静态的公网组播分发树匹配为该私网组播组的分发树,然后结束;Step 8, matching the static public network multicast distribution tree to the distribution tree of the private network multicast group, and then ending;
步骤9、将该公网组播分发树匹配为该私网组播组的分发树,然后结束。Step 9. Match the public network multicast distribution tree to the distribution tree of the private network multicast group, and then end.
以上步骤具体操作如下:The specific operation of the above steps is as follows:
假设需要为一个包含成员{PE1,PE4,PE8}的组R分配一棵树,以下表11列表为树表。Assuming that a tree needs to be allocated to a group R containing members {PE1, PE4, PE8}, Table 11 below is the tree table.
其中覆盖度是计算得出的。where coverage is calculated.
表11Table 11
        
        
步骤101、假设我们将覆盖度阈值定为0.6,则我们可以看到满足覆盖度要求的树如表12所示,为:Step 101, assuming that we set the coverage threshold as 0.6, then we can see that the tree that meets the coverage requirements is shown in Table 12, which is:
表12Table 12
        
步骤102、再选取唯一一个覆盖度最大的树,结果如表13中所示:Step 102, then select the only tree with the largest coverage, the result is as shown in Table 13:
表13Table 13
        
步骤103、步骤102中没有得到唯一的树,则选取静态树,结果如表14中所示:If no unique tree is obtained in step 103 and step 102, a static tree is selected, and the result is as shown in table 14:
表14Table 14
        
步骤104、步骤103也没有得到唯一的树,则选取引用数最多的树。如表15中所示,而由于现在选出的两棵树引用数相同,故结果没有变化:If no unique tree is obtained in steps 104 and 103, the tree with the largest number of references is selected. As shown in Table 15, since the two trees selected now have the same number of references, the result has not changed:
表15Table 15
        
步骤105、步骤104中也没有得到唯一的树,则选取创建时间最早的树,如表16中所示,时间最早的在第一个,结果如下:If no unique tree is obtained in step 105 and step 104, then select the tree with the earliest creation time, as shown in Table 16, the earliest time is first, and the results are as follows:
         表16
         经过以上步骤,即可选取出序号为4的结果唯一的树,将该树匹配给组R,引用数加一,并修改树表和组表中维护的其它信息,一次选树和分配过程即可完成。After the above steps, you can select the tree with the 
实施例2Example 2
         图2为本发明第二实施例的流程图。实施例2为一种实现VPN组播的方Fig. 2 is a flowchart of the second embodiment of the present invention. 
法,包括如下步骤:method, including the following steps:
         步骤11、组管理路由器依据改变承载树状态的私网组播组信号,在现有的公网组播分发树中,判断是否存在一个能够覆盖当前私网组播组的,并且按照所述公网组播分发树的匹配方法选择出的与该私网组播组相匹配的公网组播分发树;如果是,则执行步骤13;如果否,则执行步骤12;
         步骤12、为该私网组播组建立一个新的公网组播分发树,然后结束;
         步骤13、选择该公网组播分发树为该私网组播组的分发树。
         本实施例中步骤12中所说的建立一个新的树,是针对当前的私网组播组内的成员单独建立一个新的公网组播分发树。The establishment of a new tree mentioned in 
实施例3Example 3
         本实施例与实施例2的区别仅在于步骤11中的组管理路由器接收到改变承载树状态的私网组播组信号来自于网络侧发来的新增用户组播组或现有组播组的新用户加入消息。The difference between this embodiment and 
实施例4Example 4
         本实施例与实施例2的区别仅在于步骤11中的改变承载树状态的私网组播组信号来自于组管理路由器判断覆盖度的数值是否小于预先设定的第一覆盖度阈值,并且流量数值是否小于预先设定的流量阈值的信号。The difference between this embodiment and 
实施例5Example 5
         本实施例与实施例2的区别仅在于步骤11中的改变承载树状态的私网组播组信号来自于组管理路由器判断覆盖度数值是否小于等于预先设定的第二覆盖度阈值,并且流量数值是否大于等于预先设定的流量阈值的信号。The difference between this embodiment and 
最后所应说明的是,以上实施例仅用以说明本发明的技术方案而非限制,尽管参照较佳实施例对本发明进行了详细说明,本领域的普通技术人员应当理解,可以对本发明的技术方案进行修改或者等同替换,而不脱离本发明技术方案的精神和范围。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 (5)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title | 
|---|---|---|---|
| CNB2006101411641A CN100433731C (en) | 2006-10-13 | 2006-10-13 | Method for realizing VPN multicast | 
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title | 
|---|---|---|---|
| CNB2006101411641A CN100433731C (en) | 2006-10-13 | 2006-10-13 | Method for realizing VPN multicast | 
Publications (2)
| Publication Number | Publication Date | 
|---|---|
| CN1937593A CN1937593A (en) | 2007-03-28 | 
| CN100433731C true CN100433731C (en) | 2008-11-12 | 
Family
ID=37954863
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date | 
|---|---|---|---|
| CNB2006101411641A Active CN100433731C (en) | 2006-10-13 | 2006-10-13 | Method for realizing VPN multicast | 
Country Status (1)
| Country | Link | 
|---|---|
| CN (1) | CN100433731C (en) | 
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title | 
|---|---|---|---|---|
| JP5111256B2 (en) * | 2008-06-23 | 2013-01-09 | 株式会社日立製作所 | Communication system and server device | 
| CN101867528B (en) * | 2010-06-25 | 2012-09-05 | 北京星网锐捷网络技术有限公司 | Multicast service processing method and device | 
| CN102404218B (en) * | 2011-11-24 | 2014-07-09 | 北京华为数字技术有限公司 | Method and device for switching tunnels | 
| CN103532852B (en) * | 2013-10-11 | 2017-12-19 | 小米科技有限责任公司 | A kind of routing scheduling method, device and the network equipment | 
| CN106302189B (en) * | 2015-06-11 | 2019-11-15 | 中兴通讯股份有限公司 | A kind of user multicast method for routing, device and edge device | 
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title | 
|---|---|---|---|---|
| US5355371A (en) * | 1982-06-18 | 1994-10-11 | International Business Machines Corp. | Multicast communication tree creation and control method and apparatus | 
| JP2005348090A (en) * | 2004-06-03 | 2005-12-15 | Nec Corp | Method and system for multicast tree construction, network node device, and server | 
| CN1716904A (en) * | 2004-06-30 | 2006-01-04 | 华为技术有限公司 | A multicast implementation method based on multi-service transmission platform | 
| CN1738283A (en) * | 2004-12-03 | 2006-02-22 | 北京大学 | A method of multicast transmission in IP network | 
| CN1791054A (en) * | 2004-12-14 | 2006-06-21 | 华为技术有限公司 | Virtual special network multicast method by virtual router mode | 
- 
        2006
        
- 2006-10-13 CN CNB2006101411641A patent/CN100433731C/en active Active
 
 
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title | 
|---|---|---|---|---|
| US5355371A (en) * | 1982-06-18 | 1994-10-11 | International Business Machines Corp. | Multicast communication tree creation and control method and apparatus | 
| JP2005348090A (en) * | 2004-06-03 | 2005-12-15 | Nec Corp | Method and system for multicast tree construction, network node device, and server | 
| CN1716904A (en) * | 2004-06-30 | 2006-01-04 | 华为技术有限公司 | A multicast implementation method based on multi-service transmission platform | 
| CN1738283A (en) * | 2004-12-03 | 2006-02-22 | 北京大学 | A method of multicast transmission in IP network | 
| CN1791054A (en) * | 2004-12-14 | 2006-06-21 | 华为技术有限公司 | Virtual special network multicast method by virtual router mode | 
Also Published As
| Publication number | Publication date | 
|---|---|
| CN1937593A (en) | 2007-03-28 | 
Similar Documents
| Publication | Publication Date | Title | 
|---|---|---|
| US7830787B1 (en) | Flooding control for multicast distribution tunnel | |
| Aggarwal et al. | BGP encodings and procedures for multicast in MPLS/BGP IP VPNs | |
| CN100531040C (en) | Method and apparatus for realizing multicasting virtual private network binding | |
| CN104219147B (en) | The VPN of edge device realizes processing method and processing device | |
| CN105247822B (en) | A kind of method, apparatus and computer readable storage medium for establishing network service chaining | |
| CN101133607B (en) | Method and device for creating multipoint-to-multipoint transmission tree | |
| CN102075417B (en) | Multicast cutting method, protocol independent multicast router | |
| CN100505674C (en) | Message forwarding method, system and edge device in virtual private network | |
| CN102137000B (en) | Method, device and system for establishing switching multicast distribution tree | |
| US11233741B1 (en) | Replication mode selection for EVPN multicast | |
| CN101631274B (en) | Realizing system of multicast routing based on mark and method thereof | |
| CN101222414A (en) | Device, system and method for realizing multicast communication | |
| CN102215172B (en) | A kind of method and system for realizing cross-virtual private local area network multicast | |
| US9112711B2 (en) | Optimizing OTV multicast traffic flow for site local receivers | |
| CN104243270A (en) | Tunnel setup method and tunnel setup device | |
| CN115118545B (en) | Group Management Protocol Host Mobility in Ethernet Virtual Private Network Multicast Networks | |
| WO2007054006A1 (en) | A base station of wideband wireless access system and a method for realizing group-broadcast service | |
| CN100433731C (en) | Method for realizing VPN multicast | |
| CN105391635A (en) | Network virtualization method based on software defined network (SDN) | |
| US12063153B2 (en) | Method and apparatus for implementing multicast | |
| EP2892196B1 (en) | Method, network node and system for implementing point-to-multipoint multicast | |
| CN101800701A (en) | Multicasting route control method based on centralized control | |
| WO2014169856A1 (en) | Multicast communication method and aggregation switch | |
| CN102694734B (en) | Two-layer switching equipment realizes the method for multicast based on linux kernel bridge | |
| KR100693043B1 (en) | Multicast System and Method in Deep Sub Using Encapsulation and Unicast Routing | 
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 |