CN108632147B - Message multicast processing method and device - Google Patents
Message multicast processing method and device Download PDFInfo
- Publication number
- CN108632147B CN108632147B CN201810252969.6A CN201810252969A CN108632147B CN 108632147 B CN108632147 B CN 108632147B CN 201810252969 A CN201810252969 A CN 201810252969A CN 108632147 B CN108632147 B CN 108632147B
- Authority
- CN
- China
- Prior art keywords
- multicast
- network element
- edge network
- centralized
- information
- 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
Description
技术领域technical field
本发明实施例涉及通信技术领域,尤其涉及一种报文组播的处理方法和设备。Embodiments of the present invention relate to the field of communications technologies, and in particular, to a method and device for processing packet multicast.
背景技术Background technique
大型的数据中心网络通常要求支持多租户,每个租户之间流量隔离,使得一个租户的流量不会被另一个租户看见。为了实现这种基于租户的流量隔离,目前一种新兴的方法是采用基于叠加网络(overlay)的网络虚拟化技术。常见的,VXLAN(Virtual eXtensibleLANs,虚拟扩展局域网)、NVGRE(Network Virtualization Generic RoutingEncapsulation,网络虚拟通用路由封装)是实现该种叠加网络的两种典型技术,在VXLAN中VNID(Virtual Network Identifier)可表示虚拟网络标识号,而在NVGRE技术中VSID(Virtual Wall Security Identification)可代表虚拟网络标识号;以VXLAN为例,其中,租户的虚拟子网采用对应的虚拟网络标识号VNID用于流量隔离。在虚拟子网中的各个终端,例如TES(Tenant End System,租户终端系统),与边缘网元(Network VirtualizationEdge,NVE)相连,当终端需要向同一个虚拟子网内的其他终端组播消息时,需要通过边缘网元进行复制转发;举例来说,终端1与边缘网元1相连,同一个虚拟子网内的终端2与边缘网元2相连、终端3与边缘网元3相连,则终端1在对终端2和终端3组播消息时,边缘网元1将广播报文复制为两份,并将复制得到的两份广播报文分别封装单播隧道外层后发送到边缘网元2和边缘网元3,其中,单播隧道外层目的IP(Internet Protocol,网络互连协议)地址为每个目的边缘网元的IP地址,即复制得到的两份广播报文的隧道外层的IP地址分别为边缘网元2的IP地址和边缘网元3的IP地址,另外,隧道外层的虚拟网络标识号对应于终端1、终端2和终端3所属的虚拟子网;随后边缘网元2和边缘网元3接收到封装隧道外层的报文后进行解封装,获得原始的广播报文,并根据虚拟网络标识号将该广播报文发送至各自的本地终端,即边缘网元2将广播报文发送给终端2,边缘网元3将广播报文发送给终端3,完成终端1向同一个虚拟子网中的终端2和终端3组播消息。边缘网元对于虚拟子网内其他报文的发送方式,也是类似。Large data center networks usually require support for multi-tenancy, with traffic isolation between each tenant, so that the traffic of one tenant cannot be seen by another tenant. To achieve this tenant-based traffic isolation, an emerging method is to use network virtualization technology based on overlay networks. Commonly, VXLAN (Virtual eXtensibleLANs, virtual extended local area network), NVGRE (Network Virtualization Generic Routing Encapsulation, network virtual general routing encapsulation) are two typical technologies to realize this kind of overlay network. In VXLAN, VNID (Virtual Network Identifier) can represent virtual network. In NVGRE technology, VSID (Virtual Wall Security Identification) can represent the virtual network identification number. Taking VXLAN as an example, the virtual subnet of the tenant uses the corresponding virtual network identification number VNID for traffic isolation. Each terminal in the virtual subnet, such as TES (Tenant End System, tenant terminal system), is connected to the edge network element (Network Virtualization Edge, NVE), when the terminal needs to multicast messages to other terminals in the same virtual subnet , it needs to be copied and forwarded through the edge network element; for example, terminal 1 is connected to edge network element 1, terminal 2 in the same virtual subnet is connected to edge network element 2, and terminal 3 is connected to edge network element 3, then the terminal 1 When multicasting messages to terminal 2 and terminal 3, edge network element 1 copies the broadcast message into two copies, and encapsulates the two copies of the broadcast message obtained by encapsulating the outer layer of the unicast tunnel and sends it to edge network element 2. and edge network element 3, wherein, the destination IP (Internet Protocol, Internet Protocol) address of the outer layer of the unicast tunnel is the IP address of each destination edge network element, that is, the outer layer of the tunnel of the two copies of the broadcast message obtained by copying. The IP addresses are the IP address of edge network element 2 and the IP address of edge network element 3 respectively. In addition, the virtual network identification number of the outer layer of the tunnel corresponds to the virtual subnet to which terminal 1, terminal 2 and terminal 3 belong; then the edge network element 2 and edge network element 3 decapsulate after receiving the packet in the outer layer of the encapsulation tunnel, obtain the original broadcast packet, and send the broadcast packet to their respective local terminals according to the virtual network identification number, that is, edge network element 2 The broadcast message is sent to the terminal 2, and the edge network element 3 sends the broadcast message to the terminal 3 to complete the multicast message of the terminal 1 to the terminal 2 and the terminal 3 in the same virtual subnet. The way that edge network elements send other packets in the virtual subnet is similar.
随着网络规模的不断扩大,网络部署也越来越复杂,当采用上述方法进行虚拟子网中的报文组播时,需要源边缘网元(如上述边缘网元1)复制大量的报文,还需分别对复制获得的每一个报文封装单播隧道外层(如单播overlay隧道外层),因此边缘网元的网络负担过重,影响报文的组播效率,不利于提升网络的通信性能。With the continuous expansion of the network scale, the network deployment becomes more and more complicated. When the above method is used to multicast packets in the virtual subnet, the source edge network element (such as the above edge network element 1) needs to copy a large number of packets. , it is also necessary to encapsulate the outer layer of the unicast tunnel (such as the outer layer of the unicast overlay tunnel) for each packet obtained by replication. Therefore, the network burden of the edge network element is too heavy, which affects the multicast efficiency of the packet and is not conducive to improving the network. communication performance.
发明内容SUMMARY OF THE INVENTION
本发明实施例提供一种报文组播的处理方法和装置,用于优化报文组播过程,提升网络通信性能。Embodiments of the present invention provide a packet multicast processing method and device, which are used to optimize the packet multicast process and improve network communication performance.
第一方面,本发明实施例提供一种报文组播的处理方法,包括:In a first aspect, an embodiment of the present invention provides a method for processing packet multicast, including:
接收源边缘网元发送的组播报文,所述组播报文包括组播信息和虚拟子网中的原始报文;receiving a multicast message sent by a source edge network element, where the multicast message includes multicast information and an original message in the virtual subnet;
根据所述组播信息确定至少一个目的边缘网元;Determine at least one destination edge network element according to the multicast information;
将所述原始报文通过组播复制方式发送至少一个目的边缘网元,以使各目的边缘网元向对应所述虚拟子网的第一终端组播所述原始报文。The original message is sent to at least one destination edge network element in a multicast replication manner, so that each destination edge network element multicasts the original message to the first terminal corresponding to the virtual subnet.
结合第一方面,在第一实施方式中,所述根据所述组播信息确定至少一个目的边缘网元,包括:With reference to the first aspect, in the first embodiment, the determining at least one destination edge network element according to the multicast information includes:
学习所述组播报文的第一单播隧道外层携带的组播信息,并获取原始报文;其中,所述组播信息为虚拟网络标识号;learning the multicast information carried by the outer layer of the first unicast tunnel of the multicast message, and acquiring the original message; wherein the multicast information is a virtual network identification number;
根据所述虚拟网络标识号查找本地组播转发表,确定至少一个目的边缘网元的网络互连协议IP地址。The local multicast forwarding table is searched according to the virtual network identification number, and the network interconnection protocol IP address of at least one destination edge network element is determined.
结合第一方面第一实施方式,在第二实施方式中,所述将所述原始报文通过组播复制方式发送至少一个目的边缘网元,包括:With reference to the first embodiment of the first aspect, in the second embodiment, the sending of the original packet to at least one destination edge network element by multicast replication includes:
复制所述原始报文获得与所述目的边缘网元个数相同的至少一个原始报文;Copying the original message to obtain at least one original message with the same number of destination edge network elements;
根据各目的边缘网元的IP地址,将每一个原始报文通过封装目的单播隧道外层,分别发送至各目的边缘网元。According to the IP address of each destination edge network element, each original packet is sent to each destination edge network element through the outer layer of the encapsulated destination unicast tunnel.
结合第一方面,在第三实施方式中,所述根据所述组播信息确定至少一个目的边缘网元,包括:With reference to the first aspect, in a third implementation manner, the determining at least one destination edge network element according to the multicast information includes:
根据所述组播报文获取封装了组播隧道外层的原始报文;Obtain the original message encapsulating the outer layer of the multicast tunnel according to the multicast message;
学习所述组播隧道外层上携带的组播信息,其中,所述组播信息为组播组IP地址;Learning the multicast information carried on the outer layer of the multicast tunnel, wherein the multicast information is a multicast group IP address;
根据所述组播组IP地址查找本地组播转发表,确定至少一个目的边缘网元的IP地址。The local multicast forwarding table is searched according to the multicast group IP address, and the IP address of at least one destination edge network element is determined.
结合第一方面第三实施方式,在第四实施方式中,将所述原始报文通过组播复制方式发送至少一个目的边缘网元,包括:With reference to the third embodiment of the first aspect, in the fourth embodiment, sending the original packet to at least one destination edge network element in a multicast replication manner includes:
复制封装了组播隧道外层的原始报文,获得与所述目的边缘网元个数相同的至少一个封装了组播隧道外层的原始报文;Copying the original packet encapsulated in the outer layer of the multicast tunnel, and obtaining at least one original packet encapsulated in the outer layer of the multicast tunnel with the same number of destination edge network elements;
根据各目的边缘网元的IP地址,将每一个封装了组播隧道外层的原始报文通过封装目的单播隧道外层,分别发送至各目的边缘网元。According to the IP addresses of each destination edge network element, each original packet encapsulated with the outer layer of the multicast tunnel is sent to each destination edge network element through the outer layer of the encapsulated destination unicast tunnel.
结合第一方面第二或第四实施方式,在第五实施方式中,将所述原始报文或封装了组播隧道外层的原始报文通过封装转发单播隧道外层,发送至上层集中复制点,以使上层集中复制点将所述原始报文或封装了组播隧道外层的原始报文发送至所述至少一个第一集中复制点。With reference to the second or fourth embodiments of the first aspect, in the fifth embodiment, the original packet or the original packet encapsulated with the outer layer of the multicast tunnel is encapsulated and forwarded to the outer layer of the unicast tunnel, and sent to the upper-layer centralized a replication point, so that the upper-layer centralized replication point sends the original packet or the original packet encapsulated with the outer layer of the multicast tunnel to the at least one first centralized replication point.
结合第一方面至第一方面第五实施方式中任一种实施方式,在第六实施方式中,在接收源边缘网元发送的组播报文之前,所述处理方法还包括:With reference to any one of the first aspect to the fifth embodiment of the first aspect, in the sixth embodiment, before receiving the multicast packet sent by the source edge network element, the processing method further includes:
接收集中管理设备下发的管理信息,所述管理信息包括下述至少两项信息:Receive management information issued by a centralized management device, where the management information includes at least the following two pieces of information:
虚拟子网信息、边缘网元IP地址信息、组播组IP地址信息和集中复制点IP地址信息;所述管理信息中的任一项信息与除该项信息以外的至少一项信息之间存在关联关系;Virtual subnet information, edge network element IP address information, multicast group IP address information, and centralized replication point IP address information; there is a relationship between any item of the management information and at least one item of information other than this item of information connection relation;
根据所述管理信息生成本地组播转发表;或者,Generate a local multicast forwarding table according to the management information; or,
通过集中复制点与至少一个边缘网元之间的信令协议,通告信息接收各边缘网元的通告信息;所述通告信息包括各边缘网元的IP地址、边缘网元管理的虚拟子网信息及各所述虚拟子网对应的组播信息;Through the signaling protocol between the centralized replication point and at least one edge network element, the notification information receives the notification information of each edge network element; the notification information includes the IP address of each edge network element and the virtual subnet information managed by the edge network element. and multicast information corresponding to each of the virtual subnets;
根据通告信息根据所述通告信息,生成本地组播转发表。According to the announcement information, a local multicast forwarding table is generated according to the announcement information.
第二方面,本发明实施例提供一种报文组播的处理方法,包括:In a second aspect, an embodiment of the present invention provides a method for processing packet multicast, including:
接收虚拟子网中第二终端发送的原始报文;receiving the original message sent by the second terminal in the virtual subnet;
根据所述原始报文向集中复制点发送组播报文,以通过所述集中复制点,使至少一个目的边缘网元向对应所述虚拟子网的第一终端组播所述原始报文;其中,所述组播报文包括组播信息和所述原始报文,所述组播信息是根据管理信息确定的。Send a multicast packet to a centralized replication point according to the original packet, so that at least one destination edge network element multicasts the original packet to a first terminal corresponding to the virtual subnet through the centralized replication point; The multicast message includes multicast information and the original message, and the multicast information is determined according to management information.
结合第二方面,在第一实施方式中,所述根据所述原始报文向集中复制点发送组播报文,包括:With reference to the second aspect, in the first implementation manner, the sending of the multicast packet to the centralized replication point according to the original packet includes:
将所述原始报文封装第一单播隧道外层,获得所述组播报文,所述第一单播隧道外层携带作为组播信息的虚拟网络标识号,其中,所述虚拟网络标识号对应所述虚拟子网;Encapsulate the original packet in the outer layer of the first unicast tunnel to obtain the multicast packet, and the outer layer of the first unicast tunnel carries a virtual network identification number as multicast information, wherein the virtual network identification number corresponds to the virtual subnet;
向所述集中复制点发送所述组播报文。Send the multicast message to the centralized replication point.
结合第二方面,在第二实施方式中,所述根据所述原始报文向集中复制点发送组播报文,包括:With reference to the second aspect, in the second implementation manner, the sending of the multicast packet to the centralized replication point according to the original packet includes:
将所述原始报文封装组播隧道外层,所述组播隧道外层携带作为组播信息的组播组IP地址;encapsulating the original message into the outer layer of a multicast tunnel, and the outer layer of the multicast tunnel carries the multicast group IP address as multicast information;
对封装了组播隧道外层的原始报文封装第二单播隧道外层,获得所述组播报文;encapsulating the second unicast tunnel outer layer to the original packet encapsulated with the multicast tunnel outer layer, to obtain the multicast packet;
将所述组播报文发送至集中复制点。Send the multicast message to the centralized replication point.
结合第二方面至第二方面第二实施方式中任一种实施方式,在第三实施方式中,在接收本地终端发送的原始报文之前,所述处理方法还包括:With reference to any one of the second aspect to the second embodiment of the second aspect, in the third embodiment, before receiving the original packet sent by the local terminal, the processing method further includes:
接收集中管理设备下发的管理信息,所述管理信息包括下述至少两项信息:Receive management information issued by a centralized management device, where the management information includes at least the following two pieces of information:
虚拟子网信息、组播组IP地址信息和集中复制点IP地址信息;所述管理信息中的任一项信息与除该项信息以外的至少一项信息之间存在关联关系;Virtual subnet information, multicast group IP address information, and centralized replication point IP address information; there is an association relationship between any item of information in the management information and at least one item of information other than this item of information;
根据所述管理信息生成本地组播转发表;或者,Generate a local multicast forwarding table according to the management information; or,
通过与集中复制点之间的信令协议,向集中复制点发送通告信息;所述通告信息包括边缘网元的IP地址、边缘网元管理的虚拟子网信息及各所述虚拟子网对应的组播信息;Send notification information to the centralized copy point through the signaling protocol with the centralized copy point; the notification information includes the IP address of the edge network element, the virtual subnet information managed by the edge network element, and the corresponding virtual subnets. multicast information;
根据所述通告信息,面向集中复制点生成对应的本地组播转发表。According to the announcement information, a corresponding local multicast forwarding table is generated for the centralized replication point.
第三方面,本发明实施例提供一种集中复制点,包括:In a third aspect, an embodiment of the present invention provides a centralized replication point, including:
接收模块,用于接收源边缘网元发送的组播报文,所述组播报文包括组播信息和虚拟子网中的原始报文;a receiving module, configured to receive a multicast message sent by the source edge network element, where the multicast message includes multicast information and an original message in the virtual subnet;
确定模块,用于根据所述组播信息确定至少一个目的边缘网元;a determining module, configured to determine at least one destination edge network element according to the multicast information;
发送模块,用于将所述原始报文通过组播复制方式发送至至少一个目的边缘网元,以使各目的边缘网元向对应所述虚拟子网的第一终端组播所述原始报文。A sending module, configured to send the original message to at least one destination edge network element by multicast replication, so that each destination edge network element multicasts the original message to the first terminal corresponding to the virtual subnet .
结合第三方面,在第一实施方式中,所述确定模块具体用于学习所述组播报文的第一单播隧道外层携带的组播信息,并获取原始报文;其中,所述组播信息为虚拟网络标识号;With reference to the third aspect, in the first embodiment, the determining module is specifically configured to learn the multicast information carried by the outer layer of the first unicast tunnel of the multicast packet, and obtain the original packet; wherein, the The multicast information is the virtual network identification number;
根据所述虚拟网络标识号查找本地组播转发表,确定至少一个目的边缘网元的网络互连协议IP地址。The local multicast forwarding table is searched according to the virtual network identification number, and the network interconnection protocol IP address of at least one destination edge network element is determined.
结合第三方面第一实施方式,在第二实施方式中,所述发送模块具体包括:With reference to the first embodiment of the third aspect, in the second embodiment, the sending module specifically includes:
复制单元,用于复制所述原始报文获得与所述目的边缘网元个数相同的至少一个原始报文;a copying unit, configured to copy the original message to obtain at least one original message with the same number of destination edge network elements;
发送单元,用于根据各目的边缘网元的IP地址,将每一个原始报文通过封装目的单播隧道外层,分别发送至各目的边缘网元。The sending unit is configured to send each original packet to each destination edge network element through the outer layer of the encapsulated destination unicast tunnel according to the IP addresses of each destination edge network element.
结合第三方面,在第三实施方式中,确定模块具体用于根据所述组播报文获取封装了组播隧道外层的原始报文;With reference to the third aspect, in the third embodiment, the determining module is specifically configured to obtain the original message encapsulating the outer layer of the multicast tunnel according to the multicast message;
学习所述组播隧道外层上携带的组播信息,其中,所述组播信息为组播组IP地址;Learning the multicast information carried on the outer layer of the multicast tunnel, wherein the multicast information is a multicast group IP address;
根据所述组播组IP地址查找本地组播转发表,确定至少一个目的边缘网元的IP地址。The local multicast forwarding table is searched according to the multicast group IP address, and the IP address of at least one destination edge network element is determined.
结合第三方面第三实施方式,在第四实施方式中,所述复制单元还用于复制封装了组播隧道外层的原始报文,获得与所述目的边缘网元个数相同的至少一个封装了组播隧道外层的原始报文;With reference to the third embodiment of the third aspect, in the fourth embodiment, the copying unit is further configured to copy the original packet encapsulated in the outer layer of the multicast tunnel, and obtain at least one with the same number of destination edge network elements. The original packet of the outer layer of the multicast tunnel is encapsulated;
所述发送单元还用于根据各目的边缘网元的IP地址,将每一个封装了组播隧道外层的原始报文通过封装目的单播隧道外层,分别发送至各目的边缘网元。The sending unit is further configured to send each original packet encapsulated with the outer layer of the multicast tunnel to each destination edge network element through the outer layer of the encapsulated destination unicast tunnel according to the IP addresses of each destination edge network element.
结合第三方面第二或第四实施方式,在第五实施方式中,所述确定模块根据所述组播信息还确定了至少一个第一集中复制点的IP地址,With reference to the second or fourth embodiment of the third aspect, in the fifth embodiment, the determining module further determines the IP address of at least one first centralized replication point according to the multicast information,
则发送模块还用于将所述原始报文或封装了组播隧道外层的原始报文通过封装转发单播隧道外层,发送至上层集中复制点,以使上层集中复制点将所述原始报文或封装了组播隧道外层的原始报文发送至所述至少一个第一集中复制点。Then the sending module is further configured to forward the original packet or the original packet encapsulated with the outer layer of the multicast tunnel through encapsulation and forwarding to the outer layer of the unicast tunnel, and send it to the upper-layer centralized replication point, so that the upper-layer centralized replication point can transfer the original packet to the upper-layer centralized replication point. The message or the original message encapsulated with the outer layer of the multicast tunnel is sent to the at least one first centralized replication point.
结合第三方面至第三方面第五实施方式中任一种实施方式,在第六实施方式中,In combination with any one of the third aspect to the fifth embodiment of the third aspect, in the sixth embodiment,
所述接收模块还用于接收集中管理设备下发的管理信息,所述管理信息包括下述至少两项信息:The receiving module is further configured to receive management information issued by the centralized management device, and the management information includes the following at least two items of information:
虚拟子网信息、边缘网元IP地址信息、组播组IP地址信息和集中复制点IP地址信息;所述管理信息中的任一项信息与除该项信息以外的至少一项信息之间存在关联关系;Virtual subnet information, edge network element IP address information, multicast group IP address information, and centralized replication point IP address information; there is a relationship between any item of the management information and at least one item of information other than this item of information connection relation;
则所述集中复制点还包括:Then the centralized replication point further includes:
生成模块,用于根据所述管理信息生成本地组播转发表;或者,a generating module, for generating a local multicast forwarding table according to the management information; or,
所述接收模块用于通过集中复制点与至少一个边缘网元之间的信令协议,接收各边缘网元的通告信息;所述通告信息包括各边缘网元的IP地址、边缘网元管理的虚拟子网信息及各所述虚拟子网对应的组播信息;The receiving module is configured to receive notification information of each edge network element through the signaling protocol between the centralized replication point and at least one edge network element; the notification information includes the IP address of each edge network element, the information managed by the edge network element. Virtual subnet information and multicast information corresponding to each of the virtual subnets;
所述生成模块还用于根据所述通告信息,生成本地组播转发表。The generating module is further configured to generate a local multicast forwarding table according to the notification information.
第四方面,本发明实施例提供一种边缘网元,包括:In a fourth aspect, an embodiment of the present invention provides an edge network element, including:
接收模块,用于接收虚拟子网中第二终端发送的原始报文;a receiving module, configured to receive the original message sent by the second terminal in the virtual subnet;
发送模块,用于根据所述原始报文向集中复制点发送组播报文,以通过所述集中复制点,使至少一个目的边缘网元向对应所述虚拟子网的第一终端组播所述原始报文;其中,所述组播报文包括组播信息和所述原始报文,所述组播信息是根据管理信息确定的。The sending module is configured to send a multicast message to the centralized replication point according to the original message, so that at least one destination edge network element can multicast to the first terminal corresponding to the virtual subnet through the centralized replication point. The original message; wherein, the multicast message includes multicast information and the original message, and the multicast information is determined according to the management information.
结合第四方面,在第一实施方式中,所述发送模块具体包括:With reference to the fourth aspect, in the first embodiment, the sending module specifically includes:
封装单元,用于将所述原始报文封装第一单播隧道外层,获得所述组播报文,所述第一单播隧道外层携带作为组播信息的虚拟网络标识号,其中,所述虚拟网络标识号对应所述虚拟子网。an encapsulation unit, configured to encapsulate the original message in the outer layer of the first unicast tunnel to obtain the multicast message, and the outer layer of the first unicast tunnel carries the virtual network identification number as multicast information, wherein, The virtual network identification number corresponds to the virtual subnet.
发送单元,用于向所述集中复制点发送所述组播报文。A sending unit, configured to send the multicast message to the centralized replication point.
结合第四方面,在第二实施方式中,所述封装单元还用于将所述原始报文封装组播隧道外层,所述组播隧道外层携带作为组播信息的组播组IP地址;With reference to the fourth aspect, in the second embodiment, the encapsulation unit is further configured to encapsulate the original packet into an outer layer of a multicast tunnel, where the outer layer of the multicast tunnel carries the multicast group IP address as multicast information ;
对封装了组播隧道外层的原始报文封装第二单播隧道外层,获得所述组播报文;encapsulating the second unicast tunnel outer layer to the original packet encapsulated with the multicast tunnel outer layer, to obtain the multicast packet;
所述发送单元,还用于将所述组播报文发送至集中复制点。The sending unit is further configured to send the multicast message to the centralized replication point.
结合第四方面至第四方面第二实施方式中任一种实施方式,在第三实施方式中,所述接收模块用于接收集中管理设备下发的管理信息,所述管理信息包括下述至少两项信息:With reference to any one of the fourth aspect to the second embodiment of the fourth aspect, in the third embodiment, the receiving module is configured to receive management information delivered by a centralized management device, where the management information includes at least the following: Two pieces of information:
虚拟子网信息、组播组IP地址信息和集中复制点IP地址信息;所述管理信息中的任一项信息与除该项信息以外的至少一项信息之间存在关联关系;Virtual subnet information, multicast group IP address information, and centralized replication point IP address information; there is an association relationship between any item of information in the management information and at least one item of information other than this item of information;
则所述边缘网元还包括生成模块,所述生成模块根据所述管理信息生成本地组播转发表;或者,Then the edge network element further includes a generating module, and the generating module generates a local multicast forwarding table according to the management information; or,
所述发送模块用于通过与集中复制点之间的信令协议,向集中复制点发送通告信息;所述通告信息包括边缘网元的IP地址、边缘网元管理的虚拟子网信息及各所述虚拟子网对应的组播信息;The sending module is used to send notification information to the centralized copy point through the signaling protocol with the centralized copy point; the notification information includes the IP address of the edge network element, the virtual subnet information managed by the edge network element, and each multicast information corresponding to the virtual subnet;
所述生成模块根据所述通告信息,面向集中复制点生成对应的本地组播转发表。The generating module generates a corresponding local multicast forwarding table for the centralized replication point according to the notification information.
本发明实施例提供的报文组播的处理方法和设备,通过引入集中复制点,使集中复制点对源边缘网元发送的组播报文进行转发处理,并根据组播信息将组播报文发送至目的边缘网元,实现报文的组播,减小了边缘网元的网络负担,提高了报文组播的效率,利于提升网络的通信性能。The method and device for processing message multicast provided by the embodiments of the present invention, by introducing a centralized replication point, enables the centralized replication point to forward and process the multicast message sent by the source edge network element, and send the multicast message according to the multicast information. The message is sent to the destination edge network element, which realizes the multicast of the message, reduces the network burden of the edge network element, improves the efficiency of the message multicast, and helps to improve the communication performance of the network.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description These are some embodiments of the present invention, and for those of ordinary skill in the art, other drawings can also be obtained from these drawings without any creative effort.
图1为为本发明报文组播的处理方法实施例一的流程图;1 is a flowchart of Embodiment 1 of a method for processing packet multicast according to the present invention;
图2为本发明报文组播的处理方法实施例二的流程图;2 is a flowchart of Embodiment 2 of a method for processing packet multicast according to the present invention;
图3为本发明报文组播的处理方法实施例三的信令图;3 is a signaling diagram of Embodiment 3 of a method for processing packet multicast according to the present invention;
图4为本发明实施例三中的网络架构示意图;4 is a schematic diagram of a network architecture in Embodiment 3 of the present invention;
图5为本发明报文组播的处理方法实施例四的信令图;5 is a signaling diagram of Embodiment 4 of a method for processing packet multicast according to the present invention;
图6为本发明实施例四中第一种网络架构示意图;6 is a schematic diagram of a first network architecture in Embodiment 4 of the present invention;
图7为本发明实施例四中第二种网络架构示意图;7 is a schematic diagram of a second network architecture in Embodiment 4 of the present invention;
图8为本发明实施例四中第三网络架构示意图;8 is a schematic diagram of a third network architecture in Embodiment 4 of the present invention;
图9为本发明一种集中复制点实施例一的结构图;FIG. 9 is a structural diagram of Embodiment 1 of a centralized replication point according to the present invention;
图10为本发明一种集中复制点实施例二的结构图;10 is a structural diagram of Embodiment 2 of a centralized replication point of the present invention;
图11为本发明一种边缘网元实施例一的结构图;FIG. 11 is a structural diagram of Embodiment 1 of an edge network element according to the present invention;
图12为本发明一种边缘网元实施例二的结构图;FIG. 12 is a structural diagram of Embodiment 2 of an edge network element according to the present invention;
图13为本发明一种集中复制点实施例三的结构图;13 is a structural diagram of Embodiment 3 of a centralized replication point according to the present invention;
图14为本发明一种边缘网元实施例三的结构图。FIG. 14 is a structural diagram of Embodiment 3 of an edge network element according to the present invention.
具体实施方式Detailed ways
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purposes, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments These are some embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
图1为本发明报文组播的处理方法实施例一的流程图。本实施例的方法可以由集中复制点执行,该集中复制点为一种集中式overlay组播复制设备。如图1所示,该方法包括:FIG. 1 is a flowchart of Embodiment 1 of a method for processing packet multicast according to the present invention. The method of this embodiment may be performed by a centralized replication point, which is a centralized overlay multicast replication device. As shown in Figure 1, the method includes:
S101、接收源边缘网元发送的组播报文。S101. Receive a multicast packet sent by a source edge network element.
上述组播报文包括组播信息和虚拟子网中的原始报文,其中原始报文时由被边缘网元管理的终端发送给该边缘网元,该终端可为TES;举例来说,当终端1需要向同一个虚拟子网中的其他终端,如终端10、终端11等组播消息,则终端1需要通过管理终端1的边缘网元转发组播消息,其中此时管理终端1的边缘网元为源边缘网元,对应的,管理上述其他终端,如终端10、终端11等的边缘网元相对于上述源边缘网元为目的边缘网元。进一步的,源边缘网元转发组播消息时,还需通过集中复制点来发送。其中,集中复制点接收到的组播报文是虚拟子网中的原始报文按照隧道协议进行了隧道封装获得的;在本实施例中为便于说明,将原始报文进行的隧道封装称为封装了隧道外层,从而得到组播报文,且组播信息被携带在隧道外层上。The above-mentioned multicast message includes multicast information and the original message in the virtual subnet, wherein the original message is sent to the edge network element by the terminal managed by the edge network element, and the terminal can be TES; for example, when Terminal 1 needs to send multicast messages to other terminals in the same virtual subnet, such as terminal 10 and terminal 11. Terminal 1 needs to forward multicast messages through the edge network element that manages terminal 1. At this time, the edge network element of terminal 1 manages The network element is the source edge network element. Correspondingly, the edge network element managing the above-mentioned other terminals, such as the terminal 10 and the terminal 11, is the destination edge network element relative to the above-mentioned source edge network element. Further, when the source edge network element forwards the multicast message, it needs to be sent through the centralized replication point. The multicast packet received by the centralized replication point is obtained by performing tunnel encapsulation on the original packet in the virtual subnet according to the tunneling protocol; in this embodiment, for the convenience of description, the tunnel encapsulation performed on the original packet is called as The outer layer of the tunnel is encapsulated to obtain a multicast packet, and the multicast information is carried on the outer layer of the tunnel.
S102、根据组播信息确定至少一个目的边缘网元。S102. Determine at least one destination edge network element according to the multicast information.
集中复制点在对组播报文的隧道外层解封装时,可以学习到隧道外层携带的虚拟网络标识号,根据该虚拟网络标识号获取组播信息,该组播信息包括至少一个目的边缘网元的IP地址;或者,集中复制点在对组播报文的隧道外层解封装后,获得组播组IP地址,根据该组播组IP地址获得包括至少一个目的边缘网元的IP地址的组播信息。When the centralized replication point decapsulates the outer layer of the tunnel of the multicast packet, it can learn the virtual network identification number carried by the outer layer of the tunnel, and obtain the multicast information according to the virtual network identification number, and the multicast information includes at least one destination edge. IP address of the network element; or, the centralized replication point obtains the IP address of the multicast group after decapsulating the outer layer of the tunnel of the multicast packet, and obtains the IP address including at least one destination edge network element according to the IP address of the multicast group multicast information.
S103、将原始报文通过组播复制方式发送至少一个目的边缘网元。S103: Send the original packet to at least one destination edge network element in a multicast replication manner.
根据S102中获得的至少一个目的边缘网元的IP地址后,采用组播复制方式将原始报文发送至各目的边缘网元,以使各目的边缘网元向对应虚拟子网的第一终端组播原始报文,其中第一终端为目的边缘网元的本地终端,而组播复制方式包括对将原始报文面向至少一个目的边缘网元的IP地址进行复制、重封装等。According to the IP address of at least one destination edge network element obtained in S102, the original packet is sent to each destination edge network element in a multicast replication mode, so that each destination edge network element sends the first terminal group corresponding to the virtual subnet The first terminal is the local terminal of the destination edge network element, and the multicast replication method includes copying and re-encapsulating the original packet to the IP address of at least one destination edge network element.
本实施例中,通过引入集中复制点,使集中复制点对源边缘网元发送的组播报文进行转发处理,并根据组播信息将组播报文发送至目的边缘网元,实现报文的组播,减小了边缘网元的网络负担,提高了报文组播的效率,利于提升网络的通信性能。In this embodiment, by introducing a centralized replication point, the centralized replication point forwards the multicast packet sent by the source edge network element, and sends the multicast packet to the destination edge network element according to the multicast information, so as to realize the packet It can reduce the network burden of edge network elements, improve the efficiency of packet multicast, and help improve the communication performance of the network.
图2为本发明报文组播的处理方法实施例二的流程图。本实施例的方法可以由边缘网元执行。如图2所示,该方法包括:FIG. 2 is a flowchart of Embodiment 2 of a method for processing packet multicast according to the present invention. The method of this embodiment may be performed by an edge network element. As shown in Figure 2, the method includes:
S201、接收虚拟子网中第二终端发送的原始报文。S201. Receive an original packet sent by a second terminal in the virtual subnet.
边缘网元可管理多个本地终端,各本地终端可归属不同的虚拟子网,同一个虚拟子网中的一个终端可通过作为管理者的边缘网元将原始报文组播至由其他边缘网元管理的终端,而接收到由终端发来的原始报文的边缘网元,在本实施例中的报文组播的处理方法中是作为源边缘网元,则上述第二终端表示源边缘网元管理的本地终端,而本地终端发送给边缘网元的原始报文,该原始报文包括虚拟子网内的未知单播报文,广播报文或组播报文。An edge network element can manage multiple local terminals, and each local terminal can belong to different virtual subnets. A terminal in the same virtual subnet can multicast original packets to other edge networks through the edge network element as the manager and the edge network element that receives the original message sent by the terminal is the source edge network element in the packet multicast processing method in this embodiment, and the above-mentioned second terminal represents the source edge network element. The local terminal managed by the network element, and the original packet sent by the local terminal to the edge network element, the original packet includes unknown unicast packets, broadcast packets or multicast packets in the virtual subnet.
S202、根据原始报文向集中复制点发送组播报文。S202. Send a multicast packet to the centralized replication point according to the original packet.
由于作为发送者的源边缘网元需要将原始报文通过集中复制点进行组播,以通过所述集中复制点,使至少一个目的边缘网元向对应虚拟子网的第一终端组播原始报文;其中,组播报文包括组播信息和原始报文;具体可以将原始报文封装第一单播隧道外层,获得组播报文,该第一单播隧道外层携带作为组播信息的虚拟网络标识号,其中,所述虚拟网络标识号对应所述虚拟子网,随后向所述集中复制点发送所述组播报文;或者,Because the source edge network element as the sender needs to multicast the original packet through the centralized replication point, at least one destination edge network element can multicast the original packet to the first terminal corresponding to the virtual subnet through the centralized replication point. The multicast packet includes multicast information and an original packet; specifically, the original packet can be encapsulated in the outer layer of the first unicast tunnel to obtain a multicast packet, and the outer layer of the first unicast tunnel is carried as a multicast packet. The virtual network identification number of the information, wherein the virtual network identification number corresponds to the virtual subnet, and then the multicast packet is sent to the centralized replication point; or,
将原始报文封装组播隧道外层,所述组播隧道外层携带作为组播信息的组播组IP地址;Encapsulate the original message in the outer layer of the multicast tunnel, and the outer layer of the multicast tunnel carries the multicast group IP address as the multicast information;
对封装了组播隧道外层的原始报文封装第二单播隧道外层,获得组播报文;随后将组播报文发送至集中复制点。The original packet encapsulated with the outer layer of the multicast tunnel is encapsulated with the outer layer of the second unicast tunnel to obtain the multicast packet; and then the multicast packet is sent to the centralized replication point.
通过集中复制点,使至少一个目的边缘网元向对应虚拟子网中的第一终端组播原始报文。Through the centralized replication point, at least one destination edge network element multicasts the original message to the first terminal in the corresponding virtual subnet.
需要说明的是,集中管理设备在部署网络时,预先设置了虚拟子网和组播信息的对应关系;则边缘网元收到终端发送的原始报文,会判断该终端所属的虚拟子网,从而使隧道外层携带对应的组播信息。具体的,上述组播信息是根据本地组播转发表确定的,其中本地组播转发表是根据集中管理设备下发的管理信息生成的;或者是通过与集中复制点之间的信令协议生成的;例如预先设置虚拟子网1和组播组IP地址Group1对应,则边缘网元收到终端发送的原始报文,判断获知该终端所属的虚拟子网为虚拟子网1,从而使隧道外层携带的组播组IP地址为Group1。It should be noted that when the centralized management device deploys the network, the corresponding relationship between the virtual subnet and the multicast information is preset; then the edge network element receives the original message sent by the terminal, and will determine the virtual subnet to which the terminal belongs. Therefore, the outer layer of the tunnel carries the corresponding multicast information. Specifically, the above-mentioned multicast information is determined according to the local multicast forwarding table, wherein the local multicast forwarding table is generated according to the management information issued by the centralized management device; or generated through the signaling protocol with the centralized replication point For example, the virtual subnet 1 is preset to correspond to the multicast group IP address Group1, then the edge network element receives the original message sent by the terminal, and judges that the virtual subnet to which the terminal belongs is virtual subnet 1, so that the outside of the tunnel The IP address of the multicast group carried by the layer is Group1.
本实施例中,通过引入集中复制点,使源边缘网元将组播报文发送给集中复制点,由集中复制点向至少一个目的边缘网元发送组播报文,因此集中复制点负担了报文组播过程中的复制负担,减小了边缘网元的网络负担,提高了报文组播的效率,利于提升网络的通信性能。In this embodiment, by introducing a centralized replication point, the source edge network element sends multicast packets to the centralized replication point, and the centralized replication point sends multicast packets to at least one destination edge network element. Therefore, the centralized replication point is burdened with The replication burden in the process of packet multicast reduces the network burden on edge network elements, improves the efficiency of packet multicast, and helps improve the communication performance of the network.
图3为本发明报文组播的处理方法实施例三的信令图。如图3所示,本实施例结合了前述实施例一和实施例二,对报文组播的处理方法进行进一步的说明,该方法包括:FIG. 3 is a signaling diagram of Embodiment 3 of a method for processing packet multicast according to the present invention. As shown in FIG. 3 , this embodiment combines the foregoing Embodiment 1 and Embodiment 2, and further describes the processing method of packet multicast, and the method includes:
S301、源边缘网元接收第二终端发送的原始报文。S301. The source edge network element receives the original packet sent by the second terminal.
上述第二终端为源边缘网元管理的一个本地终端,该第二终端发送的原始报文是用于向同一个虚拟子网中的其他终端(即目的边缘网元管理的第一终端)组播信息。The above-mentioned second terminal is a local terminal managed by the source edge network element, and the original message sent by the second terminal is used to send a group to other terminals (that is, the first terminal managed by the destination edge network element) in the same virtual subnet. broadcast information.
S302、源边缘网元根据原始报文,获得组播报文。S302. The source edge network element obtains a multicast packet according to the original packet.
源边缘网元可以将原始报文封装第一单播隧道外层,获得所述组播报文,上述第一单播隧道外层可以为单播overlay隧道外层,第一单播隧道外层携带作为组播信息的虚拟网络标识号,且边缘网元可根据集中管理设备下发的管理信息,确定出目的IP地址为集中复制点的IP地址,其中,虚拟网络标识号对应虚拟子网。The source edge network element may encapsulate the original packet in the outer layer of the first unicast tunnel to obtain the multicast packet. The outer layer of the first unicast tunnel may be the outer layer of the unicast overlay tunnel, and the outer layer of the first unicast tunnel It carries the virtual network identification number as multicast information, and the edge network element can determine the destination IP address as the IP address of the centralized replication point according to the management information issued by the centralized management device, wherein the virtual network identification number corresponds to the virtual subnet.
S303、源边缘网元向集中复制点发送组播报文。S303. The source edge network element sends a multicast packet to the centralized replication point.
源边缘网元根据集中复制点IP地址将组播报文发送至集中复制点IP地址对应的集中复制点;可以理解的是,使集中复制点接收源边缘网元发送的组播报文时,是需要通过网络中多个中间设备根据集中复制点IP地址,查找单播路由转发表将组播报文传送到集中复制点处,上述中间设备可以为架顶交换机等。图4为本发明实施例三中的网络架构示意图。如图4所示,在集中复制点和边缘网元之间存在多个中间设备用于传送集中复制点和边缘网元之间的报文,且在本实施例中源边缘网元和目的边缘网元为具有相同功能的边缘网元,为便于描述组播报文的传送方向,对边缘网元进行了源边缘网元和目的边缘网元的区分,因此图4中边缘网元1、边缘网元2和边缘网元3任一个边缘网元根据组播报文的传送方向,可以为本实施例中的源边缘网元或目的边缘网元,相应的,各边缘网元所相连的终端也根据组播报文的传送方向为第一终端或第二终端。The source edge NE sends the multicast packet to the centralized copy point corresponding to the centralized copy point IP address according to the IP address of the centralized copy point; it can be understood that when the centralized copy point receives the multicast packet sent by the source edge NE, It is necessary to search for a unicast routing forwarding table to transmit multicast packets to the centralized replication point through multiple intermediate devices in the network according to the IP address of the centralized replication point. The above-mentioned intermediate devices may be top-of-rack switches. FIG. 4 is a schematic diagram of a network architecture in Embodiment 3 of the present invention. As shown in FIG. 4 , there are multiple intermediate devices between the centralized replication point and the edge network element for transmitting packets between the centralized replication point and the edge network element, and in this embodiment, the source edge network element and the destination edge network element The NEs are edge NEs with the same function. In order to describe the transmission direction of multicast packets, the source edge NE and the destination edge NE are distinguished. Therefore, in Figure 4, edge NE 1, edge NE Any edge network element of network element 2 and edge network element 3 can be the source edge network element or the destination edge network element in this embodiment according to the transmission direction of the multicast packet. Correspondingly, the terminal connected to each edge network element It is also the first terminal or the second terminal according to the transmission direction of the multicast packet.
S304、集中复制点根据组播报文获取组播信息。S304. The centralized replication point acquires multicast information according to the multicast message.
由于第一单播隧道外层(即为上述单播overlay隧道外层)的协议字段表明该隧道外层为第一单播隧道外层,集中复制点可根据第一单播隧道外层协议,学习组播报文的第一单播隧道外层携带组播信息,并通过解封装获取原始报文,其中,组播信息为虚拟网络标识号。Since the protocol field of the outer layer of the first unicast tunnel (that is, the outer layer of the above-mentioned unicast overlay tunnel) indicates that the outer layer of the tunnel is the outer layer of the first unicast tunnel, the centralized replication point can, according to the protocol of the outer layer of the first unicast tunnel, The outer layer of the first unicast tunnel of the learning multicast packet carries multicast information, and obtains the original packet through decapsulation, wherein the multicast information is a virtual network identification number.
S305、集中复制点根据组播信息确定至少一个目的边缘网元。S305. The centralized replication point determines at least one destination edge network element according to the multicast information.
集中复制点根据虚拟网络标识号查找本地组播转发表,确定至少一个目的边缘网元的网络互连协议IP地址。上述本地组播转发表也是根据集中管理设备提前下发的管理信息,生成用于确定目的地址的本地组播转发表。The centralized replication point searches the local multicast forwarding table according to the virtual network identification number, and determines the network interconnection protocol IP address of at least one destination edge network element. The above-mentioned local multicast forwarding table also generates a local multicast forwarding table for determining the destination address according to the management information delivered in advance by the centralized management device.
S306、集中复制点向目的边缘网元发送原始报文。S306, the centralized replication point sends the original message to the destination edge network element.
集中复制点已在S305中获得原始报文,复制该原始报文获得与目的边缘网元个数相同的至少一个原始报文;然后根据各目的边缘网元的IP地址,将每一个原始报文通过封装目的单播隧道外层,分别发送至各目的边缘网元,该目的单播隧道外层可以为单播overlay隧道外层、也可以为单播GRE(Generic Routing Encapsulation,通用路由封装)隧道外层。当然可以理解的是,为使目的边缘网元向本地终端组播原始报文,目的单播隧道外层上的虚拟网络标识号仍然与上述虚拟子网对应。The centralized replication point has obtained the original packet in S305, and replicates the original packet to obtain at least one original packet with the same number of destination edge network elements; then, according to the IP address of each destination edge network element, each original packet is The outer layer of the destination unicast tunnel is encapsulated and sent to each destination edge network element. The outer layer of the destination unicast tunnel can be the outer layer of a unicast overlay tunnel or a unicast GRE (Generic Routing Encapsulation, Generic Routing Encapsulation) tunnel. outer layer. Of course, it can be understood that, in order for the destination edge network element to multicast the original message to the local terminal, the virtual network identification number on the outer layer of the destination unicast tunnel still corresponds to the above-mentioned virtual subnet.
S307、目的边缘网元获取原始报文。S307, the destination edge network element obtains the original packet.
各目的边缘网元此时接收到的原始报文被目的单播隧道外层封装,目的边缘网元通过对目的单播隧道外层解封装获得原始报文,同时也在隧道外层上学习到虚拟网络标识号。The original packet received by each destination edge NE is encapsulated in the outer layer of the destination unicast tunnel. The destination edge NE obtains the original packet by decapsulating the outer layer of the destination unicast tunnel, and also learns it on the outer layer of the tunnel. Virtual network identification number.
S308、目的边缘网元向第一终端组播原始报文。S308. The destination edge network element multicasts the original packet to the first terminal.
目的边缘网元根据虚拟网络标识号将原始报文发送至各自所管理的本地终端,即上述第一终端,实现报文的组播。The destination edge network element sends the original message to the local terminal managed by each according to the virtual network identification number, that is, the above-mentioned first terminal, so as to realize the multicast of the message.
需要说明的是,上述集中复制点的本地组播转发表记录了虚拟网络标识号对应的各边缘网元的IP地址,即包含源边缘网元的IP地址,但集中复制点支持源端口剪枝功能,即集中复制点向边缘网元复制转发原始报文时,不会向源边缘网元复制转发,也就是说,本实施例中的目的边缘网元中不包括S302中的源边缘网元。It should be noted that the local multicast forwarding table of the above centralized replication point records the IP address of each edge network element corresponding to the virtual network identification number, that is, the IP address of the source edge network element, but the centralized replication point supports source port pruning. function, that is, when the centralized copy point copies and forwards the original packet to the edge network element, it will not copy and forward it to the source edge network element, that is, the destination edge network element in this embodiment does not include the source edge network element in S302 .
需要补充说明的是,在执行本实施例报文组播的处理方法之前,集中复制点、边缘网元分别接收到集中管理设备发送的管理信息;管理信息包括下述至少两项信息:It should be supplemented that, before executing the processing method for packet multicast in this embodiment, the centralized replication point and the edge network element respectively receive the management information sent by the centralized management device; the management information includes at least the following two pieces of information:
虚拟子网信息、边缘网元IP地址信息、组播组IP地址信息和集中复制点IP地址信息;其中管理信息中的任一项信息与除该项信息以外的至少一项信息之间存在关联关系;则集中复制点根据所述管理信息生成本地组播转发表;或者,通过集中复制点与至少一个边缘网元之间的信令协议,获知各边缘网元的通告信息;所述通告信息包括各边缘网元的IP地址、边缘网元管理的虚拟子网信息及各所述虚拟子网对应的组播信息;该组播信息在本实施例中可以为虚拟网络标识号,则集中复制点根据所述通告信息,生成本地组播转发表。例如,集中复制点1根据虚拟子网与边缘网元的关联关系生成的本地组播转发表项中包括虚拟子网对应的虚拟网络标识号与边缘网元的对应关系,则集中复制点可根据组播报文的上的虚拟网络标识号3000,通过查询本地组播转发表获知3000与目的边缘网元2的IP地址对应,则会将接收到的组播报文转发至目的边缘网元2。Virtual subnet information, edge network element IP address information, multicast group IP address information, and centralized replication point IP address information; there is an association between any item of management information and at least one item of information other than this item of information The centralized replication point generates a local multicast forwarding table according to the management information; or, through the signaling protocol between the centralized replication point and at least one edge network element, obtains the notification information of each edge network element; the notification information Including the IP address of each edge network element, the virtual subnet information managed by the edge network element, and the multicast information corresponding to each of the virtual subnets; the multicast information may be a virtual network identification number in this embodiment, and then the centralized copy The node generates a local multicast forwarding table according to the advertisement information. For example, if the local multicast forwarding entry generated by the centralized replication point 1 according to the association relationship between the virtual subnet and the edge network element includes the corresponding relationship between the virtual network identification number corresponding to the virtual subnet and the edge network element, the centralized replication point can The virtual network identification number 3000 on the multicast packet is obtained by querying the local multicast forwarding table to know that 3000 corresponds to the IP address of the destination edge network element 2, and the received multicast packet will be forwarded to the destination edge network element 2. .
对于边缘网元来说,接收集中管理设备下发的管理信息,该管理信息包括下述至少两项信息:虚拟子网信息、组播组IP地址信息和集中复制点IP地址信息;管理信息中的任一项信息与除该项信息以外的至少一项信息之间存在关联关系;则边缘网元根据管理信息生成本地组播转发表;或者,通过与集中复制点之间的信令协议,例如BGP(Border GatewayProtocol,边界网关协议),向集中复制点发送通告信息;所述通告信息包括边缘网元的IP地址、边缘网元管理的虚拟子网信息及各所述虚拟子网对应的组播组IP地址;则根据所述通告信息,面向集中复制点生成对应的本地组播转发表。随后边缘网元在对本地终端的报文进行组播时,可根据本地组播转发表,将本地终端发来的原始报文进行正确的处理,如在组播报文的隧道外层写入正确的虚拟网络标识号并发送至对应的集中复制点处。For the edge network element, the management information issued by the centralized management device is received, and the management information includes the following at least two pieces of information: virtual subnet information, multicast group IP address information, and centralized replication point IP address information; in the management information There is an association relationship between any item of information and at least one item of information other than this information; then the edge network element generates a local multicast forwarding table according to the management information; or, through the signaling protocol with the centralized replication point, For example, BGP (Border Gateway Protocol, Border Gateway Protocol) sends notification information to the centralized replication point; the notification information includes the IP address of the edge network element, the virtual subnet information managed by the edge network element, and the group corresponding to each virtual subnet. IP address of the multicast group; then, according to the notification information, a corresponding local multicast forwarding table is generated for the centralized replication point. Then, when the edge network element multicasts the packets of the local terminal, it can correctly process the original packet sent by the local terminal according to the local multicast forwarding table, such as writing in the outer layer of the tunnel of the multicast packet. The correct virtual network identification number is sent to the corresponding centralized replication point.
本实施例中,通过引入集中复制点,使集中复制点对源边缘网元发送的组播报文进行转发处理,并根据组播信息将组播报文发送至目的边缘网元,实现报文的组播,减小了边缘网元的网络负担,提高了报文组播的效率,利于提升网络的通信性能。In this embodiment, by introducing a centralized replication point, the centralized replication point forwards the multicast packet sent by the source edge network element, and sends the multicast packet to the destination edge network element according to the multicast information, so as to realize the packet It can reduce the network burden of edge network elements, improve the efficiency of packet multicast, and help improve the communication performance of the network.
在现有的报文转发技术中,组播报文每经过一次转发,源IP地址都会发生变化,而在各目的边缘网元所管理的本地终端接收到原始报文后,可能会与发送原始报文的源终端进行单播通信,但由于源边缘网元的IP地址在组播报文的转发过程中被替换,因此随后两个终端之间的单播通信仍需要通过集中复制点的集中控制管理,造成集中复制点的负担过重,因此,更优的,图5为本发明报文组播的处理方法实施例四的信令图。如图5所示,本实施例在实施例三的基础上优化了报文组播的处理方法,该方法包括:In the existing packet forwarding technology, each time a multicast packet is forwarded, the source IP address will change, and after the local terminal managed by each destination edge network element receives the original packet, the original The source terminal of the packet performs unicast communication, but since the IP address of the source edge network element is replaced during the forwarding of the multicast packet, the subsequent unicast communication between the two terminals still needs to pass through the centralized replication point. Control and management result in an excessive burden on the centralized replication point. Therefore, more preferably, FIG. 5 is a signaling diagram of Embodiment 4 of the method for processing packet multicast according to the present invention. As shown in FIG. 5 , the present embodiment optimizes the packet multicast processing method based on the third embodiment, and the method includes:
S401、源边缘网元接收第二终端发送的原始报文。S401. The source edge network element receives the original packet sent by the second terminal.
本实施例中的网络架构可以参考图4所示的网络架构,但灵活的,可以采用较优的网络架构,例如,图6为本发明实施例四中第一种网络架构示意图。如图6所示,为了缓解边缘网元的负担,可将终端双归接入两个边缘网元(NVE1和NVE2),则双归接入NVE1和NVE2的终端作为第二终端在发送原始报文时,根据负载分担算法(例如哈希算法)选择一条链路发送原始报文至NVE1或NVE2;其中NVE1和NVE2面向集中复制点配置了相同的边缘网元IP地址。For the network architecture in this embodiment, reference may be made to the network architecture shown in FIG. 4 , but a flexible network architecture may be adopted. For example, FIG. 6 is a schematic diagram of the first network architecture in Embodiment 4 of the present invention. As shown in Figure 6, in order to relieve the burden of edge network elements, the terminal can be dual-homed to two edge network elements (NVE1 and NVE2). During the text, select a link to send the original packet to NVE1 or NVE2 according to the load sharing algorithm (such as hash algorithm); NVE1 and NVE2 are configured with the same edge network element IP address for the centralized replication point.
S402、源边缘网元根据原始报文,获得组播报文。S402. The source edge network element obtains a multicast packet according to the original packet.
具体的,源边缘网元将原始报文封装组播隧道外层,所述组播隧道外层携带作为组播信息的组播组IP地址;随后对封装了组播隧道外层的原始报文封装第二单播隧道外层,获得所述组播报文。Specifically, the source edge network element encapsulates the original packet in the outer layer of the multicast tunnel, and the outer layer of the multicast tunnel carries the multicast group IP address as multicast information; and then encapsulates the original packet in the outer layer of the multicast tunnel. The outer layer of the second unicast tunnel is encapsulated to obtain the multicast packet.
举例来说,边缘网元将原始报文封装组播隧道外层(例如组播overlay隧道外层),并且该组播overlay隧道外层携带作为组播信息的组播组IP地址,其中组播组IP地址与虚拟子网对应,即边缘网元处理原始报文时根据集中管理设备下发的管理信息可知,当前原始报文所在的虚拟子网对应的组播组IP地址,也可以理解的,组播overlay隧道外层仍然携带虚拟网络标识号VNID,用于目的边缘网元向本地终端发送原始报文,且源边缘网元的IP地址被携带在组播overlay隧道外层上;在将报文封装了组播overlay隧道外层后,再次封装第二单播隧道外层(可以为单播GRE隧道外层),该单播GRE隧道外层目的IP地址为集中复制点IP地址,且此时单播GRE隧道外层的源IP地址也为源边缘网元的IP地址。For example, the edge network element encapsulates the original packet in the outer layer of the multicast tunnel (for example, the outer layer of the multicast overlay tunnel), and the outer layer of the multicast overlay tunnel carries the multicast group IP address as the multicast information. The group IP address corresponds to the virtual subnet, that is, when the edge NE processes the original packet, according to the management information delivered by the centralized management device, the IP address of the multicast group corresponding to the virtual subnet where the current original packet is located can also be understood. , the outer layer of the multicast overlay tunnel still carries the virtual network identification number VNID, which is used by the destination edge network element to send the original packet to the local terminal, and the IP address of the source edge network element is carried on the outer layer of the multicast overlay tunnel; After the packet is encapsulated with the outer layer of the multicast overlay tunnel, the outer layer of the second unicast tunnel (which can be the outer layer of the unicast GRE tunnel) is encapsulated again. The destination IP address of the outer layer of the unicast GRE tunnel is the IP address of the centralized replication point, and In this case, the source IP address of the outer layer of the unicast GRE tunnel is also the IP address of the source edge NE.
若采用图6所示的网络架构,则NVE1或NVE2接收到第二终端发来的原始报文后,NVE1或NVE2采用上述方法对原始报文进行处理,则隧道外层携带的源边缘网元的IP地址为NVE1和NVE2被配置的相同的IP地址作。If the network architecture shown in Figure 6 is adopted, after NVE1 or NVE2 receives the original packet sent by the second terminal, NVE1 or NVE2 uses the above method to process the original packet, and the source edge network element carried by the outer layer of the tunnel The IP addresses for NVE1 and NVE2 are configured with the same IP addresses made.
需要说明的是,上述具体的隧道外层(即overlay组播隧道外层和GRE单播隧道外层)仅作为说明举例,实际中隧道外层不以上述举例为限制。It should be noted that the above-mentioned specific tunnel outer layers (ie, the overlay multicast tunnel outer layer and the GRE unicast tunnel outer layer) are only for illustrative examples, and in practice, the tunnel outer layers are not limited by the above examples.
S403、源边缘网元向集中复制点发送组播报文。S403. The source edge network element sends a multicast packet to the centralized replication point.
若在本实施例中采用图6所示的网络架构,由于NVE1和NVE2配置了相同的边缘网元IP地址,所以无论由NVE1或NVE2发送给集中复制点的组播报文,该组播报文上的源边缘网元IP地址相同。If the network architecture shown in FIG. 6 is adopted in this embodiment, since NVE1 and NVE2 are configured with the same IP addresses of edge network elements, no matter the multicast packet sent by NVE1 or NVE2 to the centralized replication point, the multicast packet The IP addresses of the source edge NEs in this document are the same.
另外,灵活的,集中复制点也可采用负载分担的方式架构网络。图7为本发明实施例四中第二种网络架构示意图。如图7所示,可部署集中复制点2用于分担集中复制点1的转发负担,当然也可以部署更多的集中复制点用于分担集中复制点1的转发负担;在存在多个集中复制点时,集中管理设备已提前向各边缘网元下发管理信息告知各虚拟子网对应的集中复制点的IP地址,例如规定虚拟子网1至虚拟子网50内的组播报文由集中复制点1发送,则源边缘网元不会将虚拟子网51内的组播报文发送至集中复制点1,而是根据管理信息将组播报文发送至虚拟子网51对应的集中复制点2。当其中一个集中复制点发生故障,例如集中复制点1故障,则集中管理设备会更新管理信息,并再次向各个正常工作的集中复制点下发更新后的管理信息,使其他可正常工作的集中复制点(如集中复制点2)承担故障集中复制点的负担,即通过下发管理信息,使集中复制点2对虚拟子网1至虚拟子网50内的组播报文的复制组播。In addition, flexible, centralized replication points can also use load sharing to structure the network. FIG. 7 is a schematic diagram of a second network architecture in Embodiment 4 of the present invention. As shown in Figure 7, centralized replication point 2 can be deployed to share the forwarding burden of centralized replication point 1. Of course, more centralized replication points can also be deployed to share the forwarding burden of centralized replication point 1; The centralized management device has issued management information to each edge network element in advance to inform the IP address of the centralized replication point corresponding to each virtual subnet. copy point 1, the source edge network element will not send the multicast packet in the virtual subnet 51 to the centralized copy point 1, but will send the multicast packet to the centralized copy point corresponding to the virtual subnet 51 according to the management information point 2. When one of the centralized replication points fails, for example, centralized replication point 1 fails, the centralized management device will update the management information, and issue the updated management information to each normal working centralized replication point again, so that other centralized The replication point (eg, centralized replication point 2 ) bears the burden of the faulty centralized replication point, that is, by delivering management information, the centralized replication point 2 replicates and multicasts multicast packets from virtual subnet 1 to virtual subnet 50 .
S404、集中复制点获取组播信息。S404, the centralized replication point obtains multicast information.
集中复制点根据所述组播报文获取封装了组播隧道外层的原始报文,并学习所述组播隧道外层上携带的组播信息,其中,组播信息为组播组IP地址;The centralized replication point obtains the original message encapsulating the outer layer of the multicast tunnel according to the multicast message, and learns the multicast information carried on the outer layer of the multicast tunnel, wherein the multicast information is the multicast group IP address ;
集中复制点根据所述组播组IP地址查找本地组播转发表,确定至少一个目的边缘网元的IP地址。具体来说,由于第二单播隧道外层(即为上述单播GRE隧道外层)的协议字段表明该隧道外层为第二单播隧道外层,集中复制点可根据第二单播隧道外层协议将组播报文的第二单播隧道外层解封装,获得封装了组播隧道外层的组播报文;再根据组播隧道外层协议学习组播隧道外层携带的组播组IP地址。The centralized replication point searches the local multicast forwarding table according to the multicast group IP address, and determines the IP address of at least one destination edge network element. Specifically, since the protocol field of the outer layer of the second unicast tunnel (that is, the outer layer of the above-mentioned unicast GRE tunnel) indicates that the outer layer of the tunnel is the outer layer of the second unicast tunnel, the centralized replication point can The outer layer protocol decapsulates the outer layer of the second unicast tunnel of the multicast packet, and obtains the multicast packet encapsulated in the outer layer of the multicast tunnel; and then learns the group carried by the outer layer of the multicast tunnel according to the outer layer protocol of the multicast tunnel. Broadcast group IP address.
S405、集中复制点根据组播信息确定至少一个目的边缘网元。S405. The centralized replication point determines at least one destination edge network element according to the multicast information.
集中复制点根据组播组IP地址查找本地组播转发表,确定至少一个目的边缘网元的IP地址。The centralized replication point searches the local multicast forwarding table according to the IP address of the multicast group, and determines the IP address of at least one destination edge network element.
S406、集中复制点向目的边缘网元发送原始报文。S406, the centralized replication point sends the original message to the destination edge network element.
集中复制点复制封装了组播隧道外层的原始报文,获得与目的边缘网元个数相同的至少一个封装了组播隧道外层的原始报文;根据各目的边缘网元的IP地址,将每一个封装了组播隧道外层的原始报文通过封装目的单播隧道外层,分别发送至各目的边缘网元。该目的单播隧道外层携带目的边缘网元的IP地址;举例来说,集中复制点将S402中的单播GRE隧道外层解封装,获得了封装组播overlay隧道外层的组播报文,在根据组播overlay隧道外层上的组播组IP地址确定至少一个目的边缘网元的IP地址后,将封装组播overlay隧道外层的原始报文复制,并在每一个复制得到的原始报文的组播overlay隧道外层上再次封装一层目的单播隧道外层,该目的单播隧道外层可以为单播GRE隧道外层,还可以为其他的单播隧道外层;由此可知,在S405中,组播隧道外层上作为源IP地址的源边缘网元IP地址未被替换。The centralized replication point copies the original packets encapsulated in the outer layer of the multicast tunnel, and obtains at least one original packet encapsulated in the outer layer of the multicast tunnel with the same number of destination edge network elements; Each original packet encapsulated with the outer layer of the multicast tunnel is sent to each destination edge network element through the outer layer of the encapsulated destination unicast tunnel. The outer layer of the destination unicast tunnel carries the IP address of the destination edge network element; for example, the centralized replication point decapsulates the outer layer of the unicast GRE tunnel in S402, and obtains the multicast packet encapsulated in the outer layer of the multicast overlay tunnel , after determining the IP address of at least one destination edge network element according to the multicast group IP address on the outer layer of the multicast overlay tunnel, copy the original packet of the outer layer of the encapsulated multicast overlay tunnel, and copy the original packet obtained by each copy The outer layer of the multicast overlay tunnel of the packet is encapsulated again with a layer of the outer layer of the destination unicast tunnel. The outer layer of the destination unicast tunnel can be the outer layer of the unicast GRE tunnel, or the outer layer of other unicast tunnels; thus It can be seen that in S405, the source edge network element IP address serving as the source IP address on the outer layer of the multicast tunnel is not replaced.
但需补充的是,若部分目的边缘网元被其他集中复制点负担,则根据组播信息还确定了至少一个第一集中复制点的IP地址,则复制封装了组播隧道外层的原始报文,获得与所述目的边缘网元个数相同的至少一个封装了组播隧道外层的原始报文;根据各目的边缘网元的IP地址,将每一个封装了组播隧道外层的原始报文通过封装目的单播隧道外层,分别发送至各目的边缘网元。举例来说,图8为本发明实施例四中第三网络架构示意图。如图8所示,集中复制点1接收到集中复制点1所负担的NVE1发送的组播报文后,根据获取到的组播组IP地址获知,目的边缘网元除了集中复制点1负担的NVE3~NVE10以外,还包括被集中复制点3负担的目的边缘网元NVE50~NVE99,则集中复制点2将封装组播overlay隧道外层的组播报文封装转发单播隧道外层,该转发单播隧道外层也可以为上述单播GRE隧道外层,但此时该单播GRE隧道外层,即该转发单播隧道外层的目的IP地址为上层集中复制点的IP地址,即集中复制点1的IP地址,其中,上层集中复制点的IP地址是集中复制点在执行本实施例的处理方法之前,接收集中管理设备下发的管理信息获知的,且将该上层集中复制点的IP地址存储至本地组播转发表中,当需要向其他第一集中复制点转发时,便根据上层集中复制点的IP地址将报文先发送至该上层集中复制点。采用图8所示的网络架构,则由于在S405中集中复制点根据本地组播转发表确定上层集中复制点的IP地址,则将封装第二隧道外层的组播报文封装转发单播隧道外层,转发单播隧道外层的目的IP地址为上层集中复制点的IP地址;随后将封装转发单播隧道外层的组播报文发送至上层集中复制点。需要补充说明的是,图8的网络架构也可适用于前述实施例三,通过上层集中复制点,以使上层集中复制点将原始报文或封装了组播隧道外层的原始报文发送至至少一个第一集中复制点。如图8所示,集中复制点1根据各目的边缘网元(NVE3~NVE10)的IP地址,分别将各封装目的单播隧道外层的组播报文发送至各目的边缘网元以外,还将封装了转发单播隧道外层的组播报文发送至上层集中复制点,该上层集中复制点和集中复制点1的工作原理相同,对转发单播隧道外层解封装获知组播overlay隧道外层上携带的组播组IP地址,并根据上层集中复制点的本地组播转发表确定下一个转发的目的IP地址为第一集中复制点的IP地址(集中复制点2),类似于集中复制点1,上层集中复制点会在封装组播overlay隧道外层上再次封装转发单播隧道外层,但此时由上层集中复制点封装的转发单播隧道外层上的目的IP地址为集中复制点2的IP地址;最后,集中复制点2向其所管理的边缘网元发送组播报文,其中集中复制点2向NVE50~NVE99发送组播报文的过程与集中复制点1向NVE3~NVE10发送组播报文的过程类似,在此不再赘述。But it should be added that if part of the destination edge network elements are burdened by other centralized replication points, the IP address of at least one first centralized replication point is also determined according to the multicast information, and the original message encapsulating the outer layer of the multicast tunnel is copied. to obtain at least one original packet encapsulating the outer layer of the multicast tunnel with the same number of destination edge network elements; according to the IP addresses of each destination edge network element, each The packet is encapsulated in the outer layer of the destination unicast tunnel and sent to each destination edge network element. For example, FIG. 8 is a schematic diagram of a third network architecture in Embodiment 4 of the present invention. As shown in Figure 8, after the centralized replication point 1 receives the multicast packet sent by the NVE1 borne by the centralized replication point 1, it learns according to the obtained IP address of the multicast group that the destination edge network element except the centralized replication point 1 is burdened by the multicast packet. In addition to NVE3 to NVE10, it also includes destination edge network elements NVE50 to NVE99 burdened by centralized replication point 3, then centralized replication point 2 encapsulates and forwards the multicast packets encapsulating the outer layer of the multicast overlay tunnel to the outer layer of the unicast tunnel. The outer layer of the unicast tunnel can also be the outer layer of the above-mentioned unicast GRE tunnel, but in this case, the outer layer of the unicast GRE tunnel, that is, the destination IP address of the outer layer of the forwarding unicast tunnel is the IP address of the upper-layer centralized replication point, that is, the outer layer of the unicast GRE tunnel. The IP address of the replication point 1, wherein the IP address of the upper-layer centralized replication point is obtained by the centralized replication point receiving the management information issued by the centralized management device before executing the processing method of this embodiment, and the upper-layer centralized replication point's IP address is obtained. The IP address is stored in the local multicast forwarding table, and when it needs to be forwarded to other first centralized replication point, the packet is first sent to the upper centralized replication point according to the IP address of the upper centralized replication point. If the network architecture shown in FIG. 8 is adopted, since the centralized replication point determines the IP address of the upper-layer centralized replication point according to the local multicast forwarding table in S405, the multicast packet encapsulating the outer layer of the second tunnel is encapsulated and forwarded to the unicast tunnel In the outer layer, the destination IP address of the outer layer of the forwarding unicast tunnel is the IP address of the upper-layer centralized replication point; then the multicast packet encapsulated and forwarded in the outer layer of the unicast tunnel is sent to the upper-layer centralized replication point. It should be supplemented that the network architecture of FIG. 8 is also applicable to the foregoing third embodiment, through the upper-layer centralized replication point, so that the upper-layer centralized replication point sends the original packet or the original packet encapsulated with the outer layer of the multicast tunnel to the At least one replication point in the first set. As shown in Figure 8, the centralized replication point 1 sends the multicast packets encapsulated in the outer layer of the destination unicast tunnel to the destination edge network elements according to the IP addresses of the destination edge network elements (NVE3 to NVE10), and also Send the multicast packet encapsulated with the outer layer of the forwarding unicast tunnel to the upper-layer centralized replication point. The upper-layer centralized replication point and centralized replication point 1 work in the same principle. Decapsulate the outer layer of the forwarding unicast tunnel to learn the multicast overlay tunnel. The IP address of the multicast group carried on the outer layer, and the destination IP address of the next forwarding is determined according to the local multicast forwarding table of the upper-layer centralized copy point as the IP address of the first centralized copy point (centralized copy point 2), which is similar to the centralized copy point 2. Replication point 1, the upper-layer centralized replication point will re-encapsulate the outer layer of the forwarding unicast tunnel on the outer layer of the encapsulated multicast overlay tunnel, but at this time, the destination IP address on the outer layer of the forwarding unicast tunnel encapsulated by the upper-layer centralized replication point is the outer layer of the forwarding unicast tunnel. IP address of replication point 2; finally, centralized replication point 2 sends multicast packets to the edge network elements it manages. The process of centralized replication point 2 sending multicast packets to NVE50 to NVE99 is the same as centralized replication point 1 to NVE3 The process of sending multicast packets by the NVE10 is similar and will not be repeated here.
另外,与实施例三类似的,集中复制点支持源端口剪枝功能,即集中复制点向目的边缘网元复制转发原始报文时,不会向源边缘网元复制转发。In addition, similar to Embodiment 3, the centralized replication point supports the source port pruning function, that is, when the centralized replication point copies and forwards the original packet to the destination edge network element, it does not copy and forward it to the source edge network element.
根据上述说明可知,集中复制点可仅使用单播功能,因此在现有的网络环境中应用本发明实施例中的报文组播的处理方法时,通过使用图8中的网络架构,将现有的网络环境中不支持组播功能的设备作为一个节点,应用在报文组播的处理方法中,实现旧设备的循环利用;同样的,采用图8所示的网络架构,组播隧道外层上作为源IP地址的源边缘网元IP地址未被替换。It can be seen from the above description that the centralized replication point can only use the unicast function. Therefore, when the packet multicast processing method in the embodiment of the present invention is applied in the existing network environment, by using the network architecture in FIG. 8 , the existing In some network environments, a device that does not support multicast functions is used as a node in the packet multicast processing method to realize the recycling of old devices. Similarly, the network architecture shown in Figure 8 is used. The source edge NE IP address used as the source IP address at the layer is not replaced.
S407、目的边缘网元获取原始报文。S407, the destination edge network element obtains the original packet.
各目的边缘网元接收到集中复制点发送的组播报文后,对组播报文的两层隧道外层进行解封装,获取到原始报文,同时在隧道外层上学习到虚拟网络标识号;且此时根据上述S403~S407所述的处理过程可知,组播报文的第二隧道外层上的源IP地址保持为源边缘网元IP地址。After each destination edge network element receives the multicast packet sent by the centralized replication point, it decapsulates the outer layer of the two-layer tunnel of the multicast packet, obtains the original packet, and learns the virtual network ID on the outer layer of the tunnel. and at this time, according to the processing procedures described in S403 to S407, it can be known that the source IP address on the outer layer of the second tunnel of the multicast packet remains the IP address of the source edge network element.
S408、目的边缘网元向第一终端组播原始报文。S408. The destination edge network element multicasts the original packet to the first terminal.
目的边缘网元根据虚拟网络标识号将原始报文组播至本地终端,实现报文的组播。The destination edge network element multicasts the original message to the local terminal according to the virtual network identification number to realize the multicast of the message.
上述源边缘网元和目的边缘网元为具有相同功能的边缘网元,在本实施例中,为便于描述组播报文的传送方向,对边缘网元进行了源边缘网元和目的边缘网元的区分。The above-mentioned source edge network element and destination edge network element are edge network elements with the same function. Element distinction.
需要补充说明的是,在执行本实施例报文组播的处理方法之前,集中复制点接收集中管理设备下发的管理信息,该管理信息包括下述至少两项信息:It should be supplemented that, before executing the processing method for packet multicast in this embodiment, the centralized replication point receives the management information issued by the centralized management device, and the management information includes at least the following two pieces of information:
虚拟子网信息、边缘网元IP地址信息、组播组IP地址信息和集中复制点IP地址信息;上述管理信息中的任一项信息与除该项信息以外的至少一项信息之间存在关联关系;根据所述管理信息生成本地组播转发表;或者,Virtual subnet information, edge network element IP address information, multicast group IP address information, and centralized replication point IP address information; there is an association between any item of the above management information and at least one item of information other than this item of information relationship; generate a local multicast forwarding table according to the management information; or,
通过集中复制点与至少一个边缘网元之间的信令协议,接收各边缘网元的通告信息;该通告信息包括所述边缘网元管理的虚拟子网信息及各虚拟子网对应的组播组IP地址;则集中复制点根据所述通告信息,生成本地组播转发表,随后集中复制点接收到组播报文后,可根据该本地组播转发表确定下一个目的IP地址;例如,集中复制点1获知组播报文的组播组IP地址为Group1,通过查询本地组播转发表获知Group1与集中复制点2的IP地址对应,则会将接收到的组播报文转发至集中复制点2。The notification information of each edge network element is received through the signaling protocol between the centralized replication point and at least one edge network element; the notification information includes the virtual subnet information managed by the edge network element and the multicast corresponding to each virtual subnet. group IP address; then the centralized replication point generates a local multicast forwarding table according to the announcement information, and then after the centralized replication point receives the multicast message, it can determine the next destination IP address according to the local multicast forwarding table; for example, The centralized replication point 1 learns that the multicast group IP address of the multicast packet is Group1, and by querying the local multicast forwarding table to know that Group1 corresponds to the IP address of the centralized replication point 2, it forwards the received multicast packets to the centralized replication point 1. Copy point 2.
相应的,边缘网元也在实现本实施例之前,接收集中管理设备下发的管理信息,所述管理信息包括下述至少两项信息:虚拟子网信息、组播组IP地址信息和集中复制点IP地址信息;所述管理信息中的任一项信息与除该项信息以外的至少一项信息之间存在关联关系;则边缘网元根据管理信息生成本地组播转发表;或者,通过与集中复制点之间的信令协议,向集中复制点发送通告信息;所述通告信息包括边缘网元的IP地址、边缘网元管理的虚拟子网信息及各所述虚拟子网对应的组播信息;在本实施例中,该组播信息为组播组IP地址;根据所述通告信息,面向集中复制点生成对应的本地组播转发表。例如边缘网元将自身虚拟子网的创建、删除等通告信息通告给集中复制点,及各虚拟子网对应的组播组IP地址告知给集中复制点,在使集中复制点根据这些通告信息生成本地组播转发表的同时,边缘网元也相应的生成本地组播转发表;进一步的,如图8所示的网络架构中,集中复制点接收到所负担的边缘网元发送的通告信息后,还会将该通告信息发送至其他集中复制点,例如集中复制点1接收到通告信息后会将该通告信息发送至集中复制点2和上层集中复制点,以使集中复制点2和上层集中复制点各自生成本地组播转发表。Correspondingly, before implementing this embodiment, the edge network element receives management information issued by the centralized management device, where the management information includes at least the following two pieces of information: virtual subnet information, multicast group IP address information, and centralized replication. point IP address information; there is an association relationship between any item of information in the management information and at least one item of information except this item of information; then the edge network element generates a local multicast forwarding table according to the management information; The signaling protocol between the centralized replication points sends notification information to the centralized replication point; the notification information includes the IP address of the edge network element, the virtual subnet information managed by the edge network element, and the multicast corresponding to each virtual subnet. information; in this embodiment, the multicast information is a multicast group IP address; according to the announcement information, a corresponding local multicast forwarding table is generated for the centralized replication point. For example, the edge network element advertises the creation and deletion of its own virtual subnets to the centralized replication point, and informs the centralized replication point of the IP address of the multicast group corresponding to each virtual subnet. At the same time as the local multicast forwarding table, the edge network element also generates the local multicast forwarding table accordingly; further, in the network architecture shown in Figure 8, after the centralized replication point receives the notification information sent by the burdened edge network element , and will also send the notification information to other centralized replication points. For example, after the centralized replication point 1 receives the notification information, it will send the notification information to the centralized replication point 2 and the upper-level centralized replication point, so that the centralized replication point 2 and the upper-level centralized replication point Each replication point generates a local multicast forwarding table.
本实施例中,通过引入集中复制点,使集中复制点对源边缘网元发送的组播报文进行处理,并根据组播信息将组播报文发送至目的边缘网元,实现报文的组播,减小了边缘网元的网络负担,同时,在本实施例中的报文组播过程中,组播报文封装了两层隧道外层,即使经由多个节点(集中复制点、上层集中复制带点)复制转发,但组播报文的第二隧道外层上的源IP地址未被替换,则随后虚拟子网内的两个终端可直接进行单播通信,不需要由集中复制点集中管理,减小了集中复制点的负担,利于提升网络的通信性能。In this embodiment, by introducing a centralized replication point, the centralized replication point processes the multicast packet sent by the source edge network element, and sends the multicast packet to the destination edge network element according to the multicast information, so as to realize the transmission of the packet. Multicast reduces the network burden on edge network elements. At the same time, during the packet multicast process in this embodiment, the multicast packet encapsulates the outer layers of the two-layer tunnel, even if it passes through multiple nodes (centralized replication point, The upper-layer centralized replication (with dots) is copied and forwarded, but the source IP address on the outer layer of the second tunnel of the multicast packet is not replaced, then the two terminals in the virtual subnet can directly perform unicast communication, without the need for centralized The centralized management of replication points reduces the burden of centralized replication points and helps to improve the communication performance of the network.
图9为本发明一种集中复制点实施例一的结构图。如图9所示,该集中复制点包括:FIG. 9 is a structural diagram of Embodiment 1 of a centralized replication point according to the present invention. As shown in Figure 9, the centralized replication point includes:
接收模块501,用于接收源边缘网元发送的组播报文,组播报文包括组播信息和虚拟子网中的原始报文;a
确定模块502,用于根据组播信息确定至少一个目的边缘网元;A
发送模块503,用于将原始报文通过组播复制方式发送至至少一个目的边缘网元,以使各目的边缘网元向对应虚拟子网的第一终端组播原始报文。The sending
本实施例中的各模块对应上述各方法实施例,在此不再赘述。Each module in this embodiment corresponds to each of the foregoing method embodiments, and details are not described herein again.
本实施例中,通过集中复制点对源边缘网元发送的组播报文进行转发处理,并根据组播信息将组播报文发送至目的边缘网元,实现报文的组播,减小了边缘网元的网络负担,提高了报文组播的效率,利于提升网络的通信性能。In this embodiment, the centralized replication point is used to forward the multicast packets sent by the source edge network element, and send the multicast packets to the destination edge network element according to the multicast information, so as to realize the multicast of the packets and reduce the It reduces the network burden of edge network elements, improves the efficiency of packet multicast, and helps to improve the communication performance of the network.
图10为本发明一种集中复制点实施例二的结构图。如图10所示,本实施例是在图9所示的集中复制点上进行详细说明,确定模块502具体用于学习组播报文的第一单播隧道外层携带的组播信息,并获取原始报文;其中,组播信息为虚拟网络标识号;FIG. 10 is a structural diagram of Embodiment 2 of a centralized replication point according to the present invention. As shown in FIG. 10 , this embodiment is described in detail on the centralized replication point shown in FIG. 9 , and the determining
根据虚拟网络标识号查找本地组播转发表,确定至少一个目的边缘网元的网络互连协议IP地址。The local multicast forwarding table is searched according to the virtual network identification number, and the IP address of the network interconnection protocol of at least one destination edge network element is determined.
进一步的,发送模块503具体包括:Further, the sending
复制单元513,用于复制原始报文获得与目的边缘网元个数相同的至少一个原始报文;A copying
发送单元523,用于根据各目的边缘网元的IP地址,将每一个原始报文通过封装目的单播隧道外层,分别发送至各目的边缘网元。The sending
进一步的,确定模块502具体用于根据组播报文获取封装了组播隧道外层的原始报文;Further, the determining
学习组播隧道外层上携带的组播信息,其中,组播信息为组播组IP地址;Learn the multicast information carried on the outer layer of the multicast tunnel, where the multicast information is the IP address of the multicast group;
根据组播组IP地址查找本地组播转发表,确定至少一个目的边缘网元的IP地址。Search the local multicast forwarding table according to the multicast group IP address, and determine the IP address of at least one destination edge network element.
则复制单元513还用于复制封装了组播隧道外层的原始报文,获得与目的边缘网元个数相同的至少一个封装了组播隧道外层的原始报文;Then the copying
发送单元523还用于根据各目的边缘网元的IP地址,将每一个封装了组播隧道外层的原始报文通过封装目的单播隧道外层,分别发送至各目的边缘网元。The sending
进一步的,确定模块502根据组播信息还确定了至少一个第一集中复制点的IP地址,Further, the determining
则发送模块503还用于将原始报文或封装了组播隧道外层的原始报文通过封装转发单播隧道外层,发送至上层集中复制点,以使上层集中复制点将原始报文或封装了组播隧道外层的原始报文发送至至少一个第一集中复制点。Then the sending
接收模块501还用于接收集中管理设备下发的管理信息,所述管理信息包括下述至少两项信息:The receiving
虚拟子网信息、边缘网元IP地址信息、组播组IP地址信息和集中复制点IP地址信息;所述管理信息中的任一项信息与除该项信息以外的至少一项信息之间存在关联关系;Virtual subnet information, edge network element IP address information, multicast group IP address information, and centralized replication point IP address information; there is a relationship between any item of the management information and at least one item of information other than this item of information connection relation;
则所述集中复制点还包括:Then the centralized replication point further includes:
生成模块504,用于根据所述管理信息生成本地组播转发表;或者,A
接收模块501用于通过集中复制点与至少一个边缘网元之间的信令协议,接收各边缘网元的通告信息;所述通告信息包括各边缘网元的IP地址、边缘网元管理的虚拟子网信息及各所述虚拟子网对应的组播信息;The receiving
生成模块504还用于根据所述通告信息,生成本地组播转发表。The
本实施例中的各模块对应上述各方法实施例,在此不再赘述。Each module in this embodiment corresponds to each of the foregoing method embodiments, and details are not described herein again.
本实施例中,通过引入集中复制点,使集中复制点对源边缘网元发送的组播报文进行转发处理,并根据组播信息将组播报文发送至目的边缘网元,实现报文的组播,减小了边缘网元的网络负担,提高了报文组播的效率,利于提升网络的通信性能。In this embodiment, by introducing a centralized replication point, the centralized replication point forwards the multicast packet sent by the source edge network element, and sends the multicast packet to the destination edge network element according to the multicast information, so as to realize the packet It can reduce the network burden of edge network elements, improve the efficiency of packet multicast, and help improve the communication performance of the network.
图11为本发明一种边缘网元实施例一的结构图。如图11所示,该边缘网元包括:FIG. 11 is a structural diagram of Embodiment 1 of an edge network element according to the present invention. As shown in Figure 11, the edge network element includes:
接收模块601,用于接收虚拟子网中第二终端发送的原始报文;A receiving
发送模块602,用于根据原始报文向集中复制点发送组播报文,以通过集中复制点,使至少一个目的边缘网元向对应虚拟子网的第一终端组播原始报文;其中,组播报文包括组播信息和原始报文,组播信息是根据管理信息确定的。The sending
本实施例中的各模块对应上述各方法实施例,在此不再赘述。Each module in this embodiment corresponds to each of the foregoing method embodiments, and details are not described herein again.
本实施例中,通过引入集中复制点,使源边缘网元将组播报文发送给集中复制点,由集中复制点向至少一个目的边缘网元发送组播报文,因此集中复制点负担了报文组播过程中的复制负担,减小了边缘网元的网络负担,提高了报文组播的效率,利于提升网络的通信性能。In this embodiment, by introducing a centralized replication point, the source edge network element sends multicast packets to the centralized replication point, and the centralized replication point sends multicast packets to at least one destination edge network element. Therefore, the centralized replication point is burdened with The replication burden in the process of packet multicast reduces the network burden on edge network elements, improves the efficiency of packet multicast, and helps improve the communication performance of the network.
图12为本发明一种边缘网元实施例二的结构图。如图12所示,本实施例是在图11所示的边缘网元的基础上,进一步详细描边缘网元,该边缘网元的发送模块602具体包括:FIG. 12 is a structural diagram of Embodiment 2 of an edge network element according to the present invention. As shown in FIG. 12 , this embodiment further describes the edge network element in detail on the basis of the edge network element shown in FIG. 11 . The sending
封装单元612,用于将原始报文封装第一单播隧道外层,获得组播报文,第一单播隧道外层携带作为组播信息的虚拟网络标识号,其中,虚拟网络标识号对应虚拟子网。The
发送单元622,用于向集中复制点发送组播报文。The sending
封装单元612还用于将原始报文封装组播隧道外层,组播隧道外层携带作为组播信息的组播组IP地址;The
对封装了组播隧道外层的原始报文封装第二单播隧道外层,获得组播报文;Encapsulate the outer layer of the second unicast tunnel to the original packet encapsulated with the outer layer of the multicast tunnel to obtain the multicast packet;
发送单元622,还用于将组播报文发送至集中复制点。The sending
接收模块601还用于接收集中管理设备下发的管理信息,管理信息包括下述信息:The receiving
虚拟子网与虚拟网络标识及集中复制点的对应关系,虚拟子网与组播组IP地址及集中复制点的对应关系。The corresponding relationship between the virtual subnet and the virtual network identifier and the centralized replication point, and the corresponding relationship between the virtual subnet and the IP address of the multicast group and the centralized replication point.
接收模块601用于接收集中管理设备下发的管理信息,所述管理信息包括下述至少两项信息:The receiving
虚拟子网信息、组播组IP地址信息和集中复制点IP地址信息;所述管理信息中的任一项信息与除该项信息以外的至少一项信息之间存在关联关系;Virtual subnet information, multicast group IP address information, and centralized replication point IP address information; there is an association relationship between any item of information in the management information and at least one item of information other than this item of information;
则所述边缘网元还包括生成模块603,所述生成模块603根据所述管理信息生成本地组播转发表;或者,所述发送模块602用于通过与集中复制点之间的信令协议,向集中复制点发送通告信息;所述通告信息包括边缘网元的IP地址、边缘网元管理的虚拟子网信息及各所述虚拟子网对应的组播信息;则所述生成模块604根据所述通告信息,面向集中复制点生成对应的本地组播转发表。Then the edge network element further includes a
需要说明的是,本实施例中的边缘网元根据报文组播的处理过程中,作为源边缘网元,该源边缘网元与目的边缘网元为具有相同功能的边缘网元,则可以理解的,源边缘网元在其他报文组播的处理过程中可能作为目的边缘网元,则边缘网元还包括有对隧道外层进行解封装的解封装模块。It should be noted that, in the process of processing the edge network element according to the packet multicast in this embodiment, as a source edge network element, the source edge network element and the destination edge network element are edge network elements with the same function, and can be It is understood that the source edge network element may be the destination edge network element in the process of multicasting other packets, and the edge network element further includes a decapsulation module for decapsulating the outer layer of the tunnel.
本实施例中的各模块对应上述各方法实施例,在此不再赘述。Each module in this embodiment corresponds to each of the foregoing method embodiments, and details are not described herein again.
本实施例中,通过引入集中复制点,使源边缘网元将组播报文发送给集中复制点,由集中复制点向至少一个目的边缘网元发送组播报文,因此集中复制点负担了报文组播过程中的复制负担,减小了边缘网元的网络负担,提高了报文组播的效率,利于提升网络的通信性能。In this embodiment, by introducing a centralized replication point, the source edge network element sends multicast packets to the centralized replication point, and the centralized replication point sends multicast packets to at least one destination edge network element. Therefore, the centralized replication point is burdened with The replication burden in the process of packet multicast reduces the network burden on edge network elements, improves the efficiency of packet multicast, and helps improve the communication performance of the network.
图13为本发明一种集中复制点实施例三的结构图。如图13所示,该集中复制点包括:FIG. 13 is a structural diagram of Embodiment 3 of a centralized replication point according to the present invention. As shown in Figure 13, the centralized replication point includes:
接收器701,用于接收源边缘网元发送的组播报文,组播报文包括组播信息和虚拟子网中的原始报文;a
处理器702,用于根据组播信息确定至少一个目的边缘网元;A
发送器703,用于将原始报文通过组播复制方式发送至至少一个目的边缘网元,以使各目的边缘网元向对应虚拟子网的第一终端组播原始报文。The
进一步的,处理器702具体用于学习组播报文的第一单播隧道外层携带的组播信息,并获取原始报文;其中,组播信息为虚拟网络标识号;Further, the
根据虚拟网络标识号查找本地组播转发表,确定至少一个目的边缘网元的网络互连协议IP地址。The local multicast forwarding table is searched according to the virtual network identification number, and the IP address of the network interconnection protocol of at least one destination edge network element is determined.
进一步的,发送器703具体用于复制原始报文获得与目的边缘网元个数相同的至少一个原始报文;Further, the
还具体用于根据各目的边缘网元的IP地址,将每一个原始报文通过封装目的单播隧道外层,分别发送至各目的边缘网元。It is also specifically used to send each original packet to each destination edge network element through the outer layer of the encapsulated destination unicast tunnel according to the IP addresses of each destination edge network element.
进一步的,处理器702具体用于根据组播报文获取封装了组播隧道外层的原始报文;Further, the
学习组播隧道外层上携带的组播信息,其中,组播信息为组播组IP地址;Learn the multicast information carried on the outer layer of the multicast tunnel, where the multicast information is the IP address of the multicast group;
根据组播组IP地址查找本地组播转发表,确定至少一个目的边缘网元的IP地址。Search the local multicast forwarding table according to the IP address of the multicast group, and determine the IP address of at least one destination edge network element.
则发送器703用于复制封装了组播隧道外层的原始报文,获得与目的边缘网元个数相同的至少一个封装了组播隧道外层的原始报文;Then the
还用于根据各目的边缘网元的IP地址,将每一个封装了组播隧道外层的原始报文通过封装目的单播隧道外层,分别发送至各目的边缘网元。It is also used to send each original packet encapsulated with the outer layer of the multicast tunnel to each destination edge network element through the outer layer of the encapsulated destination unicast tunnel according to the IP addresses of each destination edge network element.
进一步的,处理器702根据组播信息还确定了至少一个第一集中复制点的IP地址,Further, the
则发送器703还用于将原始报文或封装了组播隧道外层的原始报文通过封装转发单播隧道外层,发送至上层集中复制点,以使上层集中复制点将原始报文或封装了组播隧道外层的原始报文发送至至少一个第一集中复制点。Then the
接收器701还用于接收集中管理设备下发的管理信息,所述管理信息包括下述至少两项信息:The
虚拟子网信息、边缘网元IP地址信息、组播组IP地址信息和集中复制点IP地址信息;所述管理信息中的任一项信息与除该项信息以外的至少一项信息之间存在关联关系;Virtual subnet information, edge network element IP address information, multicast group IP address information, and centralized replication point IP address information; there is a relationship between any item of the management information and at least one item of information other than this item of information connection relation;
则处理器702还用于根据所述管理信息生成本地组播转发表;或者,Then the
接收器701用于通过集中复制点与至少一个边缘网元之间的信令协议,接收各边缘网元的通告信息;所述通告信息包括各边缘网元的IP地址、边缘网元管理的虚拟子网信息及各所述虚拟子网对应的组播信息;The
则处理器702还用于根据所述通告信息,生成本地组播转发表。The
本实施例中,通过引入集中复制点,使集中复制点对源边缘网元发送的组播报文进行转发处理,并根据组播信息将组播报文发送至目的边缘网元,实现报文的组播,减小了边缘网元的网络负担,提高了报文组播的效率,利于提升网络的通信性能。In this embodiment, by introducing a centralized replication point, the centralized replication point forwards the multicast packet sent by the source edge network element, and sends the multicast packet to the destination edge network element according to the multicast information, so as to realize the packet It can reduce the network burden of edge network elements, improve the efficiency of packet multicast, and help improve the communication performance of the network.
图14为本发明一种边缘网元实施例三的结构图。如图14所示,该边缘网元包括:FIG. 14 is a structural diagram of Embodiment 3 of an edge network element according to the present invention. As shown in Figure 14, the edge network element includes:
接收器801,用于接收虚拟子网中第二终端发送的原始报文;a
发送器802,用于根据原始报文向集中复制点发送组播报文,以通过集中复制点,使至少一个目的边缘网元向对应虚拟子网的第一终端组播原始报文;其中,组播报文包括组播信息和原始报文,组播信息是根据管理信息确定的。The
进一步的,发送器802,用于将原始报文封装第一单播隧道外层,获得组播报文,第一单播隧道外层携带作为组播信息的虚拟网络标识号,其中,虚拟网络标识号对应虚拟子网。Further, the
发送器802,用于向集中复制点发送组播报文。The
发送器802还用于将原始报文封装组播隧道外层,组播隧道外层携带作为组播信息的组播组IP地址;The
对封装了组播隧道外层的原始报文封装第二单播隧道外层,获得组播报文;Encapsulate the outer layer of the second unicast tunnel to the original packet encapsulated with the outer layer of the multicast tunnel to obtain the multicast packet;
发送器802,还用于将组播报文发送至集中复制点。The
接收器801还用于接收集中管理设备下发的管理信息,管理信息包括下述信息:The
虚拟子网与虚拟网络标识及集中复制点的对应关系,虚拟子网与组播组IP地址及集中复制点的对应关系。The corresponding relationship between the virtual subnet and the virtual network identifier and the centralized replication point, and the corresponding relationship between the virtual subnet and the IP address of the multicast group and the centralized replication point.
接收器801用于接收集中管理设备下发的管理信息,所述管理信息包括下述至少两项信息:The
虚拟子网信息、组播组IP地址信息和集中复制点IP地址信息;所述管理信息中的任一项信息与除该项信息以外的至少一项信息之间存在关联关系;Virtual subnet information, multicast group IP address information and centralized replication point IP address information; there is an association relationship between any item of information in the management information and at least one item of information other than this item of information;
则边缘网元还包括处理器803,用于根据所述管理信息生成本地组播转发表;或者,发送器802还用于通过与集中复制点之间的信令协议,向集中复制点发送通告信息;所述通告信息包括边缘网元的IP地址、边缘网元管理的虚拟子网信息及各所述虚拟子网对应的组播信息;所述生成模块根据所述通告信息,面向集中复制点生成对应的本地组播转发表。Then the edge network element further includes a
需要说明的是,本实施例中的边缘网元根据报文组播的处理过程中,作为源边缘网元,该源边缘网元与目的边缘网元为具有相同功能的边缘网元,则可以理解的,源边缘网元在其他报文组播的处理过程中可能作为目的边缘网元,则边缘网元的接收器801还具有对隧道外层进行解封装的功能。It should be noted that, in the process of processing the edge network element according to the packet multicast in this embodiment, as the source edge network element, the source edge network element and the destination edge network element are edge network elements with the same function, and the edge network element can be It is understood that the source edge network element may be the destination edge network element in the process of multicasting other packets, and the
本实施例中,通过引入集中复制点,使源边缘网元将组播报文发送给集中复制点,由集中复制点向至少一个目的边缘网元发送组播报文,因此集中复制点负担了报文组播过程中的复制负担,减小了边缘网元的网络负担,提高了报文组播的效率,利于提升网络的通信性能。In this embodiment, by introducing a centralized replication point, the source edge network element sends multicast packets to the centralized replication point, and the centralized replication point sends multicast packets to at least one destination edge network element. Therefore, the centralized replication point is burdened with The replication burden in the process of packet multicast reduces the network burden on edge network elements, improves the efficiency of packet multicast, and helps improve the communication performance of the network.
本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一计算机可读取存储介质中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiments may be completed by program instructions related to hardware. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps including the above method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other media that can store program codes.
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, but not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: The technical solutions described in the foregoing embodiments can still be modified, or some or all of the technical features thereof can be equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the embodiments of the present invention. scope.
Claims (18)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810252969.6A CN108632147B (en) | 2013-06-29 | 2013-06-29 | Message multicast processing method and device |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310270820.8A CN104253698B (en) | 2013-06-29 | 2013-06-29 | Method and device for processing message multicast |
CN201810252969.6A CN108632147B (en) | 2013-06-29 | 2013-06-29 | Message multicast processing method and device |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310270820.8A Division CN104253698B (en) | 2013-06-29 | 2013-06-29 | Method and device for processing message multicast |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108632147A CN108632147A (en) | 2018-10-09 |
CN108632147B true CN108632147B (en) | 2022-05-13 |
Family
ID=52188265
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810252969.6A Active CN108632147B (en) | 2013-06-29 | 2013-06-29 | Message multicast processing method and device |
CN201310270820.8A Active CN104253698B (en) | 2013-06-29 | 2013-06-29 | Method and device for processing message multicast |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310270820.8A Active CN104253698B (en) | 2013-06-29 | 2013-06-29 | Method and device for processing message multicast |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN108632147B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109561033B (en) * | 2015-09-28 | 2021-08-24 | 杭州数梦工场科技有限公司 | Method and device for multicast replication in Overlay network |
CN106941437B (en) | 2016-01-04 | 2020-11-17 | 中兴通讯股份有限公司 | Information transmission method and device |
CN106209688B (en) * | 2016-07-13 | 2019-01-08 | 腾讯科技(深圳)有限公司 | Cloud data multicast methods, devices and systems |
CN111262713B (en) * | 2020-01-03 | 2022-07-08 | 优刻得科技股份有限公司 | Message multicast processing method, processing device, readable medium and system |
CN112671630B (en) * | 2020-12-11 | 2023-01-17 | 北京东土军悦科技有限公司 | Multicast method, device, network equipment and storage medium |
CN114760167A (en) * | 2020-12-29 | 2022-07-15 | 华为技术有限公司 | Message forwarding method, device and network system |
CN115914083B (en) * | 2022-12-05 | 2025-04-08 | 苏州盛科通信股份有限公司 | Data transmission method and device, storage medium and electronic device |
CN116845974B (en) * | 2023-08-31 | 2024-01-23 | 广东电网有限责任公司中山供电局 | Distributed power supply rapid control method, device, equipment and medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101013950A (en) * | 2007-02-07 | 2007-08-08 | 杭州华为三康技术有限公司 | Method and apparatus for realizing multicasting virtual private network binding |
CN101039264A (en) * | 2007-03-22 | 2007-09-19 | 华为技术有限公司 | Method, equipment and system for realizing designated router to register at convergence point |
US7756072B1 (en) * | 2005-12-30 | 2010-07-13 | At&T Intellectual Property Ii, L.P. | System and method for passively monitoring customer control messages in a multicast VPN |
CN102299848A (en) * | 2011-08-23 | 2011-12-28 | 福建星网锐捷网络有限公司 | Multicast message transmission method and provider edge device (PE) |
EP2547047A1 (en) * | 2011-07-08 | 2013-01-16 | Alcatel Lucent | Centralized system for routing ethernet packets over an internet protocol network |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8619774B2 (en) * | 2004-10-26 | 2013-12-31 | Cisco Technology, Inc. | Method and apparatus for providing multicast messages within a virtual private network across a data communication network |
CN101150421B (en) * | 2006-09-22 | 2011-05-04 | 华为技术有限公司 | A distributed content distribution method, edge server and content distribution network |
US8166205B2 (en) * | 2007-07-31 | 2012-04-24 | Cisco Technology, Inc. | Overlay transport virtualization |
CN103179228B (en) * | 2013-04-02 | 2015-08-19 | 杭州华三通信技术有限公司 | Internet protocol address resolution method and edge node |
-
2013
- 2013-06-29 CN CN201810252969.6A patent/CN108632147B/en active Active
- 2013-06-29 CN CN201310270820.8A patent/CN104253698B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7756072B1 (en) * | 2005-12-30 | 2010-07-13 | At&T Intellectual Property Ii, L.P. | System and method for passively monitoring customer control messages in a multicast VPN |
CN101013950A (en) * | 2007-02-07 | 2007-08-08 | 杭州华为三康技术有限公司 | Method and apparatus for realizing multicasting virtual private network binding |
CN101039264A (en) * | 2007-03-22 | 2007-09-19 | 华为技术有限公司 | Method, equipment and system for realizing designated router to register at convergence point |
EP2547047A1 (en) * | 2011-07-08 | 2013-01-16 | Alcatel Lucent | Centralized system for routing ethernet packets over an internet protocol network |
CN102299848A (en) * | 2011-08-23 | 2011-12-28 | 福建星网锐捷网络有限公司 | Multicast message transmission method and provider edge device (PE) |
Also Published As
Publication number | Publication date |
---|---|
CN104253698A (en) | 2014-12-31 |
CN108632147A (en) | 2018-10-09 |
CN104253698B (en) | 2018-04-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108632147B (en) | Message multicast processing method and device | |
US11398921B2 (en) | SDN facilitated multicast in data center | |
US10263808B2 (en) | Deployment of virtual extensible local area network | |
WO2017197885A1 (en) | Communication method and device for use in virtual extensible local area network | |
CN109729012B (en) | Unicast message transmission method and device | |
CN111034159A (en) | Replication with dedicated metal deployment in the cloud | |
CN105939257A (en) | Update of mac routes in EVPN single-active topology | |
CN109660441B (en) | Method and device for multicast replication in Overlay network | |
CN108964940B (en) | Message sending method and device and storage medium | |
CN112422307B (en) | Method, equipment and system for EVPN and VPLS coexistence dual-activity | |
CN107040441B (en) | Cross-data-center data transmission method, device and system | |
US10855576B2 (en) | Information transmission method and device | |
CN103326940A (en) | Method for forwarding message in network and edge device of operator | |
WO2022117018A1 (en) | Packet transmission method and apparatus | |
US12028250B2 (en) | Communication of policy changes in LISP-based software defined networks | |
CN112134776A (en) | Method and access gateway for generating multicast forwarding entry | |
US9503272B2 (en) | Fast convergence with multicast source mobility | |
CN104009919B (en) | Message forwarding method and device | |
CN106487677B (en) | Provider edge equipment and data forwarding method | |
US9548887B2 (en) | Proactive creation of multicast state in an overlay transport network to achieve fast convergence on failover | |
WO2022116615A1 (en) | Message transmission method, method for acquiring correspondence, and apparatus and system | |
CN108512762B (en) | Multicast implementation method and device | |
CN104579895B (en) | The method and apparatus that multicast message is transmitted by Virtual Private Network | |
CN115134290B (en) | Multicast signaling transfer method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |