[go: up one dir, main page]

CN1378365A - IP group broadcast route repeating optimizing method - Google Patents

IP group broadcast route repeating optimizing method Download PDF

Info

Publication number
CN1378365A
CN1378365A CN 02117600 CN02117600A CN1378365A CN 1378365 A CN1378365 A CN 1378365A CN 02117600 CN02117600 CN 02117600 CN 02117600 A CN02117600 A CN 02117600A CN 1378365 A CN1378365 A CN 1378365A
Authority
CN
China
Prior art keywords
route
forwarding
multicast
protocol
pim
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.)
Granted
Application number
CN 02117600
Other languages
Chinese (zh)
Other versions
CN100499530C (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.)
Huawei Digital Technologies Chengdu Co Ltd
Original Assignee
BEIJIANG GANGWAN NETWORK 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 BEIJIANG GANGWAN NETWORK Co Ltd filed Critical BEIJIANG GANGWAN NETWORK Co Ltd
Priority to CNB021176000A priority Critical patent/CN100499530C/en
Publication of CN1378365A publication Critical patent/CN1378365A/en
Application granted granted Critical
Publication of CN100499530C publication Critical patent/CN100499530C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明涉及一种IP组播路由转发优化方法。在运行PIM-SM协议的IP转发设备中,本方法仅使用源地址和组地址即(S,G)路由进行组播转发;对于非(S,G)路由生成虚拟(S,G)路由进行组播转发。采用该方法使PIM-SM在转发过程中只使用(S,G)路由实现转发功能,提高了PIM-SM协议的转发效率,还可以使原本只支持DVMRP和PIM-DM协议的硬件设备可以通过更换软件而直接支持PIM-SM协议。该方法可以应用于路由器或IP交换机等转发设备,提高设备转发效率。

The invention relates to an IP multicast routing forwarding optimization method. In the IP forwarding device running the PIM-SM protocol, this method only uses the source address and group address (S, G) route for multicast forwarding; for non-(S, G) routes to generate virtual (S, G) routes Multicast forwarding. Using this method, PIM-SM only uses (S, G) routes to realize the forwarding function in the forwarding process, which improves the forwarding efficiency of the PIM-SM protocol, and also enables hardware devices that originally only supported the DVMRP and PIM-DM protocols to pass Replace the software and directly support the PIM-SM protocol. The method can be applied to forwarding devices such as routers or IP switches to improve the forwarding efficiency of the devices.

Description

一种IP组播路由转发优化方法A Method for Optimizing IP Multicast Routing and Forwarding

所属领域:Field:

本发明涉及的是一种网络组播方法,特别是一种IP网络组播优化方法,属于计算机网络通信领域。The invention relates to a network multicast method, in particular to an IP network multicast optimization method, which belongs to the field of computer network communication.

背景技术:Background technique:

组播路由协议是IP(互联网络协议)网络第三层上实现组播报文转发的路由控制协议。组播路由协议的功能是为组播报文的转发提供路由信息,也就是向转发引擎说明应该将收到的组播报文转发到哪些方向。目前常用的IP组播路由协议有三种类型:DVMRP(距离向量组播路由协议)、PIM-SM(协议无关组播路由协议之稀疏模式)和PIM-DM(协议无关组播路由协议之密集模式)。The multicast routing protocol is a routing control protocol that implements multicast message forwarding on the third layer of IP (Internet Protocol) network. The function of the multicast routing protocol is to provide routing information for the forwarding of multicast packets, that is, to indicate to the forwarding engine which direction the received multicast packets should be forwarded to. There are three types of commonly used IP multicast routing protocols: DVMRP (Distance Vector Multicast Routing Protocol), PIM-SM (Protocol Independent Multicast Routing Protocol Sparse Mode) and PIM-DM (Protocol Independent Multicast Routing Protocol Dense Mode ).

转发引擎是在IP转发设备中按路由表的指示,具体执行报文转发功能的部件。为了实现组播报文高速转发,设备中的转发引擎通常使用硬件实现。而硬件转发在提高了转发效率的同时,也带来了一些限制,比如不能很好地支持复杂的处理过程,提高产品成本等。组播路由协议和组播转发引擎在设备中的关系参见图1:其中图中箭头表示路由提交方向,1是物理接口,2是链路层协议,3是IP转发引擎,4是IP层,5是TCP/UDP协议层,6是单播路由协议层,7是组播路由协议层。The forwarding engine is a component in the IP forwarding device that specifically executes the packet forwarding function according to the instruction of the routing table. To implement high-speed forwarding of multicast packets, the forwarding engine in the device is usually implemented by hardware. While hardware forwarding improves forwarding efficiency, it also brings some limitations, such as not being able to support complex processing well and increasing product costs. The relationship between the multicast routing protocol and the multicast forwarding engine in the device is shown in Figure 1: the arrow in the figure indicates the route submission direction, 1 is the physical interface, 2 is the link layer protocol, 3 is the IP forwarding engine, 4 is the IP layer, 5 is the TCP/UDP protocol layer, 6 is the unicast routing protocol layer, and 7 is the multicast routing protocol layer.

对于DVMRP和PIM-DM协议,它们只使用(S,G)路由,转发处理过程比较简单。其中(S,G)路由是一种组播路由类型,路由匹配条件为源地址和组地址。由于这两个协议只使用(S,G)路由,不使用(*,G)路由和(*,*,RP)路由,因此在转发引擎中可以比较容易地实现高速转发。其中,(*,G)路由是一种路由匹配条件为组地址的组播路由类型,(*,*,RP)路由是一种路由匹配条件为集中点地址的组播路由类型。For the DVMRP and PIM-DM protocols, they only use (S, G) routing, and the forwarding process is relatively simple. The (S, G) route is a type of multicast route, and the route matching condition is a source address and a group address. Since these two protocols only use (S, G) routing and do not use (*, G) routing and (*, *, RP) routing, high-speed forwarding can be relatively easily realized in the forwarding engine. Wherein, (*, G) routing is a multicast routing type whose routing matching condition is a group address, and (*, *, RP) routing is a multicast routing type whose routing matching condition is a centralized point address.

但是由于协议本身的技术特点,在很多应用场合不适合使用DVMRP和PIM-DM协议,而需要使用PIM-SM协议。在PIM-SM协议的设计中,转发处理过程比较烦琐。因此使用只支持(S,G)路由的转发引擎的IP转发设备,就只能运行DVMRP或PIM-DM协议,而不能有效运行PIM-SM协议。对于不易支持复杂处理过程的转发引擎实现PIM-SM协议,就会涉及到转发过程的优化问题。However, due to the technical characteristics of the protocol itself, it is not suitable to use the DVMRP and PIM-DM protocols in many applications, but the PIM-SM protocol is required. In the design of the PIM-SM protocol, the forwarding process is cumbersome. Therefore, an IP forwarding device using a forwarding engine that only supports (S, G) routing can only run the DVMRP or PIM-DM protocol, but cannot effectively run the PIM-SM protocol. To implement the PIM-SM protocol for a forwarding engine that is not easy to support complex processing procedures, it will involve the optimization of the forwarding process.

如果可以使PIM-SM在转发过程中只使用(S,G)路由实现转发功能,那么不但可以提高PIM-SM协议的转发效率,还可以使原本只支持DVMRP和PIM-DM协议的硬件设备可以通过更换软件而直接支持PIM-SM协议。在传统路由器中,报文转发采用软件实现。由于软件实现的灵活度高,可以完成复杂的处理,所以可以实现标准的PIM-SM组播路由转发。但软件的处理效率是很有限的,目前的高速路由器和IP交换机都不采用软件实现转发处理。If PIM-SM can only use (S, G) routing to realize the forwarding function in the forwarding process, it can not only improve the forwarding efficiency of the PIM-SM protocol, but also enable hardware devices that originally only support DVMRP and PIM-DM protocols to Directly support the PIM-SM protocol by replacing the software. In traditional routers, packet forwarding is implemented by software. Due to the high flexibility of software implementation, complex processing can be completed, so standard PIM-SM multicast routing and forwarding can be realized. However, the processing efficiency of software is very limited, and current high-speed routers and IP switches do not use software to implement forwarding processing.

中国发明专利00119490公布了一种宽带以太网组播的方法。该方法是工作在网络模型第二层链路层的一种组播协议,即以太网协议层,是以太网技术的一个扩展。实际中更复杂的组播功能通常在第三层即网络层,具体说是IP协议层来实现。本发明要解决的问题属于第三层组播技术。Chinese invention patent 00119490 discloses a broadband Ethernet multicast method. The method is a multicast protocol working on the link layer of the second layer of the network model, that is, the Ethernet protocol layer, which is an extension of the Ethernet technology. In practice, more complex multicast functions are usually implemented at the third layer, namely the network layer, specifically the IP protocol layer. The problem to be solved by the invention belongs to the third layer multicast technology.

发明目的:Purpose of the invention:

为了支持PIM-SM协议,在只支持(S,G)类型路由的转发引擎中实现(S,G)、(*,G)和(*,*,RP)三种路由类型的功能,本发明提出虚拟(S,G)路由的新方法,这是一种用于在转发引擎中替代(*,G)和(*,*,RP)路由的一种特殊(S,G)路由。发明的技术方案:In order to support the PIM-SM protocol, the functions of three routing types (S, G), (*, G) and (*, *, RP) are realized in a forwarding engine that only supports (S, G) type routing, the present invention A new method of virtual (S,G) routing is proposed, which is a special (S,G) routing used to replace (*,G) and (*,*,RP) routing in forwarding engines. Invented technical solution:

本发明所提出的IP组播路由转发优化方法,由转发引擎专职完成转发流程,由软件处理标准协议功能和本方法提出的附加路由处理过程;软件按协议标准将路由信息加入组播路由表保存,并提交到转发引擎的转发路由表,用于控制组播报文的转发。在运行PIM-SM协议的IP转发设备中,仅仅使用源地址和组地址即(S,G)路由进行组播转发;对于该协议的组播路由转发,从组播数据流之中获取源地址和组地址信息,生成特殊(S,G)路由加入转发引擎的组播路由转发表,取代该协议原本应当采用的匹配集中点地址的组播路由(*,*,RP)和匹配组地址的组播路由(*,G)进行组播转发。The forwarding optimization method of IP multicast routing proposed by the present invention, completes the forwarding process by the full-time forwarding engine, and processes the standard protocol function and the additional routing processing process proposed by the method by the software; the software adds the routing information to the multicast routing table according to the protocol standard and saves it , and submit it to the forwarding routing table of the forwarding engine to control the forwarding of multicast packets. In the IP forwarding device running the PIM-SM protocol, only the source address and group address (S, G) route are used for multicast forwarding; for the multicast routing forwarding of this protocol, the source address is obtained from the multicast data stream and group address information, generate a special (S, G) route and add it to the multicast routing forwarding table of the forwarding engine, replacing the multicast route (*, *, RP) that should be used by the protocol to match the centralized point address and the multicast route that matches the group address The multicast route (*, G) performs multicast forwarding.

具体步骤为:1.PIM-SM协议软件向转发引擎提交(*,G)和(*,*,RP)类型的路由时,都  忽略不加处理,只有(S,G)路由仍然直接提交到转发引擎。2.转发引擎收到组播数据,根据协议转发路由:如果没有找到对应的转发路由,或反向路径转发检查失败,则将数据报文传递到协议软件进行处理。3.协议软件在收到数据报文后检查组播路由表,如果发现对应的(*,G)或(*,*,RP)路由,而没有(S,G)路由,则以找到的路由为基础,加入从数据报文中得到的源地址和组地址,生成(S,G)类型路由,提交到转发引擎;这个新(S,G)路由就称为虚拟(S,G)路由。虚拟(S,G)路由不应加入协议软件中的组播路由表,以免影响协议的正确运行;也可以加入组播路由表,但设置特殊标志与标准协议生成的(S,G)路由加以区分。The specific steps are: 1. When the PIM-SM protocol software submits (*, G) and (*, *, RP) types of routes to the forwarding engine, they are all ignored and not processed, and only (S, G) routes are still directly submitted to forwarding engine. 2. The forwarding engine receives the multicast data and forwards the route according to the protocol: if no corresponding forwarding route is found, or the reverse path forwarding check fails, the data packet is passed to the protocol software for processing. 3. The protocol software checks the multicast routing table after receiving the data message, if it finds the corresponding (*, G) or (*, *, RP) route, but there is no (S, G) route, then use the found route As a basis, add the source address and group address obtained from the data packet, generate (S, G) type routing, and submit it to the forwarding engine; this new (S, G) routing is called a virtual (S, G) routing. The virtual (S, G) route should not be added to the multicast routing table in the protocol software, so as not to affect the correct operation of the protocol; it can also be added to the multicast routing table, but the special flag is set to be different from the (S, G) route generated by the standard protocol. distinguish.

对于所生成的虚拟(S,G)路由,如果标准协议也生成了(S,G)路由,由于转发引擎中对于同一个(S,G)二元组只能存在一个路由,因此在软件中进行一些配合调整。For the generated virtual (S, G) route, if the standard protocol also generates (S, G) route, since there can only be one route for the same (S, G) two-tuple in the forwarding engine, in the software Make some fit adjustments.

转发引擎使用(S,G)类型路由实现PIM-SM协议的组播转发处理,因此对于IP网络上的三种组播路由协议,距离向量组播路由协议DVMRP、密集模式协议无关组播路由协议PIM-DM、稀疏模式协议无关组播路由协议PIM-SM,都可以只使用(S,G)路由实现组播报文转发。该方案所应用的转发设备是路由器或IP交换机等。设备中的转发引擎可以是软件模块或硬件部件,对PIM-SM协议进行附加处理的软件部分位于PIM-SM协议软件模块内部,或PIM-SM协议软件模块与转发引擎之间的驱动适配模块中。有益效果:The forwarding engine uses (S, G) type routing to realize the multicast forwarding processing of the PIM-SM protocol. Therefore, for the three multicast routing protocols on the IP network, the distance vector multicast routing protocol DVMRP, the dense mode protocol independent multicast routing protocol Both PIM-DM and the sparse mode protocol-independent multicast routing protocol PIM-SM can only use (S, G) routing to implement multicast packet forwarding. The forwarding device applied in this solution is a router or an IP switch or the like. The forwarding engine in the device can be a software module or a hardware component, and the software part that performs additional processing on the PIM-SM protocol is located inside the PIM-SM protocol software module, or the driver adaptation module between the PIM-SM protocol software module and the forwarding engine middle. Beneficial effect:

本方法简化了PIM-SM协议的组播路由转发流程,使得IP转发设备在遵从标准协议的前提下,以较低的实现复杂度和实施成本实现高效率的PIM-SM协议组播路由转发。该方法虽然增加了软件处理的功能,但是系统开销增加很小,并且所有改进仅仅体现在设备内部,对外屏蔽。从设备外在表现来看,采用本技术的设备完全符合PIM-SM协议标准,与所有符合标准的网络设备不存在兼容问题。The method simplifies the multicast routing and forwarding process of the PIM-SM protocol, and enables the IP forwarding device to realize high-efficiency PIM-SM multicast routing and forwarding with low implementation complexity and implementation cost under the premise of complying with the standard protocol. Although this method increases the function of software processing, the increase of system overhead is very small, and all improvements are only reflected inside the device and shielded from the outside. From the external performance of the equipment, the equipment using this technology fully complies with the PIM-SM protocol standard, and there is no compatibility problem with all network equipment that meets the standard.

本方法可以应用于使用软件转发引擎或硬件转发引擎的IP转发设备。尤其是应用在硬件转发的设备时,可以有效降低硬件转发引擎的设计复杂度,降低生产成本,提高转发效率。该方法可应用于IPV4网络和IPV6网络,可应用的产品形态包括IP网络内的各种转发设备,如路由器、三层交换机、宽带接入设备、IP网关等。The method can be applied to an IP forwarding device using a software forwarding engine or a hardware forwarding engine. Especially when applied to hardware forwarding equipment, it can effectively reduce the design complexity of the hardware forwarding engine, reduce production costs, and improve forwarding efficiency. The method can be applied to IPV4 network and IPV6 network, and applicable product forms include various forwarding devices in the IP network, such as routers, three-layer switches, broadband access devices, IP gateways, and the like.

附图说明:Description of drawings:

图1组播路由协议和组播转发引擎关系图Figure 1 Relationship diagram between multicast routing protocol and multicast forwarding engine

图2标准的PIM-SM转发流程图Figure 2 Standard PIM-SM forwarding flowchart

图3经过优化后的转发引擎处理流程图Figure 3 Process flow chart of the optimized forwarding engine

图4经过优化后的PIM-SM协议软件相关处理流程Figure 4 The optimized PIM-SM protocol software-related processing flow

实施例:Example:

按照RFC2362所规定的PIM-SM协议标准,PIM-SM协议模块According to the PIM-SM protocol standard stipulated in RFC2362, the PIM-SM protocol module

在以下情况生成(*,*,RP)路由:A (*,*,RP) route is generated when:

-PMBR获得新的RP地址信息;-PMBR obtains new RP address information;

-RP收到来自PMBR的PIM JOIN/PRUNE(*,*,RP)加入报文。-RP receives PIM JOIN/PRUNE (*, *, RP) message from PMBR.

在以下情况生成(*,G)路由:A (*,G) route is generated when:

-收到IGMP成员加入信息;- Receive IGMP member joining information;

-收到PIM JOIN/PRUNE(*,G)加入报文。- A PIM JOIN/PRUNE (*, G) join message is received.

在以下情况生成(S,G)路由:A (S,G) route is generated when:

-叶子节点启动SPT转发树切换;(SPT即源路径树)-The leaf node starts the SPT forwarding tree switch; (SPT is the source path tree)

-收到PIM JOIN/PRUNE(S,G)RPT剪裁报文。(RPT即集中点路径树)- A PIM JOIN/PRUNE(S, G)RPT pruning message is received. (RPT is the centralized point path tree)

-收到PIM JOIN/PRUNE(S,G)加入报文。- A PIM JOIN/PRUNE (S, G) join message is received.

以上PMBR指PIM组播边界路由器,是PIM-SM协议中一个特殊的组网节点。RP指集中点,是PIM-SM协议中一个特殊的组网节点。JOIN/PRUNE是PIM协议规定的一种报文类型——加入/剪裁报文,其功能是下游设备向上游设备说明它需要接收的组播数据类型,或要拒绝的数据类型。IGMP成员是指通过IGMP协议加入组播网络的数据接收者。IGMP(因特网组管理协议)是在组播网络边缘管理组播数据接收者信息的协议。The above PMBR refers to the PIM multicast border router, which is a special networking node in the PIM-SM protocol. RP refers to the centralization point, which is a special networking node in the PIM-SM protocol. JOIN/PRUNE is a message type stipulated by the PIM protocol—join/prune message. Its function is for the downstream device to indicate to the upstream device the type of multicast data it needs to receive or the type of data it wants to reject. An IGMP member refers to a data receiver that joins a multicast network through the IGMP protocol. IGMP (Internet Group Management Protocol) is a protocol for managing multicast data receiver information at the edge of a multicast network.

在这些情况下,按协议标准应该将这些路由加入协议软件中的组播路由表保存,并提交到转发引擎的转发路由表,用于控制组播报文的转发。标准的PIM-SM转发流程如附图2。在协议规范中,报文转发流程与协议处理流程没有做刻意的区分。图2的流程图以转发流程为主,也包含了协议规定的由转发流程所触发的一些协议事件处理。In these cases, according to the protocol standard, these routes should be added to the multicast routing table in the protocol software for storage, and submitted to the forwarding routing table of the forwarding engine to control the forwarding of multicast packets. The standard PIM-SM forwarding process is shown in Figure 2. In the protocol specification, there is no deliberate distinction between the message forwarding process and the protocol processing process. The flowchart in FIG. 2 mainly focuses on the forwarding process, and also includes some protocol event processing triggered by the forwarding process stipulated in the protocol.

而经过优化后的转发引擎处理流程见附图3,PIM-SM协议软件相关处理流程见附图4。从图中可以看到优化后的转发流程已经明显简化。The optimized forwarding engine processing flow is shown in Figure 3, and the PIM-SM protocol software-related processing flow is shown in Figure 4. It can be seen from the figure that the optimized forwarding process has been significantly simplified.

本方法在转发引擎中对于PIM-SM协议使用(S,G)路由代替(*,G)和(*,*,RP)路由。由于转发引擎中对于同一个(S,G)二元组只能存在一个路由,所以当标准协议也生成了(S,G)路由时需要做一些配合调整。调整规则如下:This method uses (S, G) routing instead of (*, G) and (*, *, RP) routing for the PIM-SM protocol in the forwarding engine. Since there can only be one route for the same (S, G) tuple in the forwarding engine, some adjustments need to be made when the standard protocol also generates the (S, G) route. The adjustment rules are as follows:

1. 协议软件向转发引擎提交路由时,如果转发引擎中存在(S,G)二元组1. When the protocol software submits routes to the forwarding engine, if there is a (S, G) binary in the forwarding engine

   相同的旧路由,旧路由自动失效。即新提交的路由覆盖旧路由。The same old route, the old route will automatically become invalid. That is, the newly submitted route overrides the old route.

2. 当标准协议协议生成(S,G)路由时,通常应提交到路由引擎,使已有2. When the (S, G) route is generated by the standard protocol protocol, it should usually be submitted to the routing engine so that the existing

   的虚拟(S,G)路由失效。但3中的情况例外。The virtual (S, G) route of is invalid. But the case in 3 is an exception.

3. 在SPT树切换过程中,将(S,G)路由立刻加入转发引擎可能会使虚拟3. During the SPT tree switching process, immediately adding the (S, G) route to the forwarding engine may cause virtual

   (S,G)路由被过早替换,导致数据流中断。应按以下规则处理:The (S, G) route was replaced prematurely, causing interruption of data flow. Should be handled according to the following rules:

-  当SPT上游接口与原有RPT上游接口一致时,SPT的(S,G)路由不提- When the SPT upstream interface is consistent with the original RPT upstream interface, the (S, G) route of the SPT is not mentioned

   交到转发引擎。(理论上也可以提交,但没有实际作用。)Hand it over to the forwarding engine. (It can also be submitted in theory, but it has no practical effect.)

-  当SPT上游接口与原有RPT上游接口不一致时,SPT的(S,G)路由不- When the SPT upstream interface is inconsistent with the original RPT upstream interface, the (S, G) route of the SPT is inconsistent

   能立刻提交到转发引擎,而是等候数据流到来。由于数据入接口与RPTIt can be submitted to the forwarding engine immediately, but waits for the data flow to arrive. Due to the data input interface and RPT

   的虚拟(S,G)路由上游接口不一致,数据报文到达时将会产生RPF检The upstream interface of the virtual (S, G) route is inconsistent, and an RPF check will be generated when the data packet arrives.

   查失败,转发引擎将把报文交协议软件处理。这时再将SPT的(S,G)If the check fails, the forwarding engine will hand over the message to the protocol software for processing. At this time, the (S, G) of SPT

   路由提交到转发引擎,替换虚拟(S,G)路由。The route is submitted to the forwarding engine to replace the virtual (S, G) route.

-  当SPT上的设备没有(*,G)路由时(即不在RPT树中),(S,G)路由- When the device on the SPT has no (*, G) route (ie not in the RPT tree), the (S, G) route

   可以立刻提交到路由引擎;也可以暂不提交,直到数据流到来时发生路It can be submitted to the routing engine immediately; it can also not be submitted until the data stream arrives

   由不匹配,转发引擎将把报文交协议软件处理。这时再将SPT的(S,G)Due to the mismatch, the forwarding engine will hand over the message to the protocol software for processing. At this time, the (S, G) of SPT

   路由提交到转发引擎。The route is submitted to the forwarding engine.

Claims (9)

1. an IP group broadcast route repeating optimizing method is finished forwarding process by the forwarding engine sole duty, and the additional lanes that is proposed by software processes standard agreement function and this method is by processing procedure; Software adds multicast routing table by consensus standard with routing iinformation to be preserved, and is submitted to the converting route of forwarding engine, is used to control the forwarding of multicast message.It is characterized in that: in operation PIM-SM protocol of I P forwarding unit, only use source address and group address promptly (S, G) route is carried out multicast forwarding; Multicast routing forwarding for this agreement, among multicast traffic stream, obtain source address and group address message, generate special (S, G) route adds the multicast route forwarding table of forwarding engine, the multicast path that replaces dot address in the set of matches that this agreement should adopt originally is by (*, *, RP) and the coupling group address multicast path by (* G) carries out multicast forwarding.
2. IP group broadcast route repeating optimizing method according to claim 1 is characterized in that: (* is G) with (* to the forwarding engine submission for the PIM-SM protocol software, *, RP) during the route of type, all ignore and do not add processing, have only that (S, G) route still directly is submitted to forwarding engine.
3. IP group broadcast route repeating optimizing method according to claim 2 is characterized in that: the protocol software is checked multicast routing table after receiving data message, if find corresponding (*, G) or (*, *, RP) route, and do not have (S, G) route, then the route to find adds the source address and the group address that obtain from data message, generates (S, G) the type route is submitted to forwarding engine; This is new, and (S, G) route is virtual (S, G) route.
4. IP group broadcast route repeating optimizing method according to claim 3, it is characterized in that: for the virtual (S that is generated, G) route, if standard agreement has also generated (S, G) route, because (S, G) can only there be a route in two tuples, therefore carry out some and cooperate and adjust in software for same in the forwarding engine.
5. according to claim 3 or 4 described IP group broadcast route repeating optimizing methods, it is characterized in that: virtual (S, G) route should not add the multicast routing table in the protocol software, in order to avoid influence the true(-)running of agreement.
6. according to claim 3 or 4 described IP group broadcast route repeating optimizing methods, it is characterized in that: virtual (S, G) route adds multicast routing table, but be provided with distinctive mark and standard agreement generation (S, G) route is distinguished.
7. according to the described IP group broadcast route repeating optimizing method of one of arbitrary claim of claim 1-6, it is characterized in that: forwarding engine uses (S, G) multicast forwarding of type route implementing PIM-SM agreement is handled, therefore for three kinds of multicast routing protocols on the IP network, distance vector multicast routing protocol DVMRP, Protocol Independent Multicast-Dense Mode Routing Protocol PIM-DM, Protocol Independent Multicast-Sparse Mode Routing Protocol PIM-SM, can only use (S, G) route implementing multicast message forwarding.
8. according to the described IP group broadcast route repeating optimizing method of one of arbitrary claim of claim 1-7, it is characterized in that: forwarding unit is router or IP switch etc.
9. according to the described IP group broadcast route repeating optimizing method of one of arbitrary claim of claim 1-8, it is characterized in that: the forwarding engine in the equipment can be software module or hardware component, the software section that the PIM-SM agreement is carried out additional treatments is positioned at PIM-SM protocol software inside modules, or in the driving adaptation module between PIM-SM protocol software module and the forwarding engine.
CNB021176000A 2002-05-10 2002-05-10 IP group broadcast route forwarding optimizing method Expired - Fee Related CN100499530C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB021176000A CN100499530C (en) 2002-05-10 2002-05-10 IP group broadcast route forwarding optimizing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB021176000A CN100499530C (en) 2002-05-10 2002-05-10 IP group broadcast route forwarding optimizing method

Publications (2)

Publication Number Publication Date
CN1378365A true CN1378365A (en) 2002-11-06
CN100499530C CN100499530C (en) 2009-06-10

Family

ID=4744465

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB021176000A Expired - Fee Related CN100499530C (en) 2002-05-10 2002-05-10 IP group broadcast route forwarding optimizing method

Country Status (1)

Country Link
CN (1) CN100499530C (en)

Cited By (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006099782A1 (en) * 2005-03-21 2006-09-28 Zte Corporation A method of fast-multicast and a system thereof
CN1303798C (en) * 2003-06-04 2007-03-07 日本电气株式会社 Ip multicast distribution system, streaming data distribution system and program therefor
WO2007028293A1 (en) * 2005-09-07 2007-03-15 Huawei Technologies Co., Ltd. A method for forwarding a multicasting package in vpls
CN1315296C (en) * 2003-07-11 2007-05-09 华为技术有限公司 Method of multicast data forwarding in multi-port virtual local area network system
CN1323516C (en) * 2003-03-13 2007-06-27 华为技术有限公司 A method for controlling the forwarding of user messages
WO2007101379A1 (en) * 2006-03-07 2007-09-13 Huawei Technologies Co., Ltd. A method, router and system for multicast stream forwarding
CN100384131C (en) * 2003-09-08 2008-04-23 华为技术有限公司 A method for improving multicast data forwarding efficiency under a large-capacity multicast routing table
WO2008058428A1 (en) * 2006-11-17 2008-05-22 Zte Corporation A specific source multicasting method
CN100396064C (en) * 2003-06-25 2008-06-18 华为技术有限公司 Method for Obtaining Device Port Information Using Multicast PIM Protocol Message
CN100403728C (en) * 2004-07-30 2008-07-16 国家数字交换系统工程技术研究中心 Routing table entry keep-alive method and router multicast protocol distribution implementation system
WO2008095435A1 (en) * 2007-02-05 2008-08-14 Huawei Technologies Co., Ltd. Multicast method and multicast routing method
CN100417139C (en) * 2005-12-01 2008-09-03 华为技术有限公司 A method for uninterrupted forwarding of multicast data
CN100433730C (en) * 2006-08-08 2008-11-12 杭州华三通信技术有限公司 Method and system of multicast and video-on-demand
CN100440818C (en) * 2006-07-18 2008-12-03 杭州华三通信技术有限公司 Method for raising group broadcasting requested broadcasting success rate and protocol extraneous group broadcasting routing device
CN100444585C (en) * 2006-07-24 2008-12-17 杭州华三通信技术有限公司 Network device and method for implementing sparse mode protocol-independent multicast domain layering
CN100486207C (en) * 2003-12-26 2009-05-06 华为技术有限公司 IP multicasting precision port transmitting method in three layer exchanging
CN100490442C (en) * 2003-11-07 2009-05-20 华为技术有限公司 Optimization method for protocol process on RP in PIM-SM
CN100493028C (en) * 2002-11-20 2009-05-27 4198638加拿大公司 Forwarding system with multiple logical subsystem functions
CN100505679C (en) * 2003-02-28 2009-06-24 思科技术公司 Method and device for protocol-independent realization of IP multicast
CN101834791A (en) * 2010-04-21 2010-09-15 瑞斯康达科技发展股份有限公司 Method for forwarding multicast message
CN101242419B (en) * 2008-03-19 2010-12-29 中兴通讯股份有限公司 A Fast Multicast Processing Method
CN101951344A (en) * 2010-09-25 2011-01-19 北京星网锐捷网络技术有限公司 Multicast path switching method and device and network equipment
CN101296179B (en) * 2007-10-29 2011-01-26 清华大学 Method for IPv6 repeating vector IPv4/6 through inverse path
CN102118206A (en) * 2011-02-23 2011-07-06 尚雪峰 Broadcast principle-based lighting equipment wireless network deployment method and system
CN101616074B (en) * 2009-04-30 2011-08-24 西安电子科技大学 Multicast Routing Optimization Method Based on Quantum Evolution
CN101291242B (en) * 2008-06-17 2012-03-14 杭州华三通信技术有限公司 Method, system and apparatus for PIM DM to support bandwidth reservation and establishing multicast list
CN1520112B (en) * 2002-12-31 2012-05-16 英特尔公司 network protocol offload engine
US8238914B2 (en) 2007-12-13 2012-08-07 Huawei Technologies Co., Ltd. Handoff method, switching device and terminal
CN105591957A (en) * 2015-11-18 2016-05-18 杭州华三通信技术有限公司 Method and device for multicast flow control on the basis of point-to-multipoint tunnel

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6331983B1 (en) * 1997-05-06 2001-12-18 Enterasys Networks, Inc. Multicast switching
US6266706B1 (en) * 1997-09-15 2001-07-24 Effnet Group Ab Fast routing lookup system using complete prefix tree, bit vector, and pointers in a routing table for determining where to route IP datagrams
GB2350970A (en) * 1999-06-08 2000-12-13 Ericsson Telefon Ab L M Mobile internet access

Cited By (38)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100493028C (en) * 2002-11-20 2009-05-27 4198638加拿大公司 Forwarding system with multiple logical subsystem functions
CN1520112B (en) * 2002-12-31 2012-05-16 英特尔公司 network protocol offload engine
CN100505679C (en) * 2003-02-28 2009-06-24 思科技术公司 Method and device for protocol-independent realization of IP multicast
CN1323516C (en) * 2003-03-13 2007-06-27 华为技术有限公司 A method for controlling the forwarding of user messages
CN1303798C (en) * 2003-06-04 2007-03-07 日本电气株式会社 Ip multicast distribution system, streaming data distribution system and program therefor
CN100396064C (en) * 2003-06-25 2008-06-18 华为技术有限公司 Method for Obtaining Device Port Information Using Multicast PIM Protocol Message
CN1315296C (en) * 2003-07-11 2007-05-09 华为技术有限公司 Method of multicast data forwarding in multi-port virtual local area network system
CN100384131C (en) * 2003-09-08 2008-04-23 华为技术有限公司 A method for improving multicast data forwarding efficiency under a large-capacity multicast routing table
CN100490442C (en) * 2003-11-07 2009-05-20 华为技术有限公司 Optimization method for protocol process on RP in PIM-SM
CN100486207C (en) * 2003-12-26 2009-05-06 华为技术有限公司 IP multicasting precision port transmitting method in three layer exchanging
CN100403728C (en) * 2004-07-30 2008-07-16 国家数字交换系统工程技术研究中心 Routing table entry keep-alive method and router multicast protocol distribution implementation system
US8392605B2 (en) 2005-03-21 2013-03-05 Zte Corporation Method of fast-multicast and a system thereof
WO2006099782A1 (en) * 2005-03-21 2006-09-28 Zte Corporation A method of fast-multicast and a system thereof
CN100454893C (en) * 2005-03-21 2009-01-21 中兴通讯股份有限公司 A Realization Method of Fast Multicast
WO2007028293A1 (en) * 2005-09-07 2007-03-15 Huawei Technologies Co., Ltd. A method for forwarding a multicasting package in vpls
CN100450086C (en) * 2005-09-07 2009-01-07 华为技术有限公司 Method for Realizing Multicast Data Flow Forwarding in Virtual Private Local Area Network Service
CN100417139C (en) * 2005-12-01 2008-09-03 华为技术有限公司 A method for uninterrupted forwarding of multicast data
WO2007101379A1 (en) * 2006-03-07 2007-09-13 Huawei Technologies Co., Ltd. A method, router and system for multicast stream forwarding
US8050264B2 (en) 2006-03-07 2011-11-01 Huawei Technologies Co., Ltd. System and method for re-routing a multicast stream
CN101156380B (en) * 2006-03-07 2012-02-22 华为技术有限公司 Multicast stream retransmission method and router and system
CN100440818C (en) * 2006-07-18 2008-12-03 杭州华三通信技术有限公司 Method for raising group broadcasting requested broadcasting success rate and protocol extraneous group broadcasting routing device
CN100444585C (en) * 2006-07-24 2008-12-17 杭州华三通信技术有限公司 Network device and method for implementing sparse mode protocol-independent multicast domain layering
CN100433730C (en) * 2006-08-08 2008-11-12 杭州华三通信技术有限公司 Method and system of multicast and video-on-demand
WO2008058428A1 (en) * 2006-11-17 2008-05-22 Zte Corporation A specific source multicasting method
CN101480010B (en) * 2006-11-17 2012-06-27 中兴通讯股份有限公司 source-specific multicast method
WO2008095435A1 (en) * 2007-02-05 2008-08-14 Huawei Technologies Co., Ltd. Multicast method and multicast routing method
US8009671B2 (en) 2007-02-05 2011-08-30 Huawei Technologies Co., Ltd. Multicast method and multicast routing method
CN101296179B (en) * 2007-10-29 2011-01-26 清华大学 Method for IPv6 repeating vector IPv4/6 through inverse path
US8238914B2 (en) 2007-12-13 2012-08-07 Huawei Technologies Co., Ltd. Handoff method, switching device and terminal
CN101242419B (en) * 2008-03-19 2010-12-29 中兴通讯股份有限公司 A Fast Multicast Processing Method
CN101291242B (en) * 2008-06-17 2012-03-14 杭州华三通信技术有限公司 Method, system and apparatus for PIM DM to support bandwidth reservation and establishing multicast list
CN101616074B (en) * 2009-04-30 2011-08-24 西安电子科技大学 Multicast Routing Optimization Method Based on Quantum Evolution
CN101834791A (en) * 2010-04-21 2010-09-15 瑞斯康达科技发展股份有限公司 Method for forwarding multicast message
CN101951344A (en) * 2010-09-25 2011-01-19 北京星网锐捷网络技术有限公司 Multicast path switching method and device and network equipment
CN101951344B (en) * 2010-09-25 2012-09-05 北京星网锐捷网络技术有限公司 Multicast path switching method and device and network equipment
CN102118206A (en) * 2011-02-23 2011-07-06 尚雪峰 Broadcast principle-based lighting equipment wireless network deployment method and system
CN105591957A (en) * 2015-11-18 2016-05-18 杭州华三通信技术有限公司 Method and device for multicast flow control on the basis of point-to-multipoint tunnel
CN105591957B (en) * 2015-11-18 2019-04-19 新华三技术有限公司 A kind of multicast stream control method and device based on point-to-multi-point tunnel

Also Published As

Publication number Publication date
CN100499530C (en) 2009-06-10

Similar Documents

Publication Publication Date Title
CN1378365A (en) IP group broadcast route repeating optimizing method
CN1232081C (en) Repeating method for multi-broadcast message in network communication
US9077551B2 (en) Selection of multicast router interfaces in an L2 switch connecting end hosts and routers, which is running IGMP and PIM snooping
CN100442776C (en) The Method of Realizing Multicast Forwarding on Layer 3 Switch
CN1754353A (en) Method and apparatus for protocol-independent implementation of IP multicast
CN1194508C (en) A method for forwarding multicast packets based on Layer 2 switching equipment
CN1863069A (en) Method for implementing fast switching of virtual special LAN service
CN1716904A (en) Group broadcast realizing method based on multiple service transmission platform
CN1816010A (en) Multicasting source filtering treatment method
CN1218540C (en) Control method for exact multicast forwarding
CN100486207C (en) IP multicasting precision port transmitting method in three layer exchanging
CN1243430C (en) Method for realizing registration from multicast source to collection point
CN106375223A (en) SDN-based data forwarding system and method
CN100384131C (en) A method for improving multicast data forwarding efficiency under a large-capacity multicast routing table
CN101119290A (en) Method and system for Ethernet supporting source-specific multicast forwarding
WO2006069511A1 (en) A method for preventing ip multicast data stream to overload communication system by distinguishing all kinds of services
CN1848807A (en) Group broadcasting business realizing method
CN1859304A (en) Method for realizing neighbour discovery
CN1543132A (en) Realization method of multicast across virtual local area network
WO2015032337A1 (en) Method for optimizing pim-sm multicast route establishment
CN1484406A (en) The Method of Realizing Multicast Accurate to Port Forwarding on Layer 3 Switch
Deering et al. Protocol independent multicast (PIM): Protocol specification
CN1764163A (en) Intelligent transmitting method and system for multicast message
CN1635752A (en) A method of multiple multicast protocol communication realized on interface of network routing device
CN1447563A (en) Stack speed process method in Ethernet exchanger

Legal Events

Date Code Title Description
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C06 Publication
PB01 Publication
ASS Succession or assignment of patent right

Owner name: HUAWEI TECHNOLOGY CO., LTD.

Free format text: FORMER OWNER: GANGWAN NETWORK CO., LTD.

Effective date: 20061013

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20061013

Address after: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Applicant after: Huawei Technologies Co., Ltd.

Address before: 100089, No. 21 West Third Ring Road, Beijing, Haidian District, Long Ling Building, 13 floor

Applicant before: Harbour Networks Holdings Limited

C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: HUAWEI DIGIT TECHNOLOGY CO., LTD.

Free format text: FORMER OWNER: HUAWEI TECHNOLOGY CO LTD

Effective date: 20100730

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 518129 HUAWEI HEADQUARTERS OFFICE BUILDING, BANTIAN, LONGGANG DISTRICT, SHENZHEN CITY, GUANGDONG PROVINCE TO: 100085 NO.3, XINXI ROAD, SHANGDI, HAIDIAN DISTRICT, BEIJING CITY

TR01 Transfer of patent right

Effective date of registration: 20100730

Address after: 100085 Beijing, Haidian District on the road, No. 3

Patentee after: Huawei Digit Technology Co., Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: Huawei Technologies Co., Ltd.

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

Granted publication date: 20090610

Termination date: 20120510