CN107294857A - Distribution processing method, the apparatus and system of multicast - Google Patents
Distribution processing method, the apparatus and system of multicast Download PDFInfo
- Publication number
- CN107294857A CN107294857A CN201610206644.5A CN201610206644A CN107294857A CN 107294857 A CN107294857 A CN 107294857A CN 201610206644 A CN201610206644 A CN 201610206644A CN 107294857 A CN107294857 A CN 107294857A
- Authority
- CN
- China
- Prior art keywords
- group
- multicast
- nve
- virtual network
- nva
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/16—Multipoint routing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4633—Interconnection of networks using encapsulation techniques, e.g. tunneling
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/02—Topology update or discovery
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/70—Admission control; Resource allocation
- H04L47/80—Actions related to the user profile or the type of traffic
- H04L47/806—Broadcast or multicast traffic
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/70—Admission control; Resource allocation
- H04L47/82—Miscellaneous aspects
- H04L47/825—Involving tunnels, e.g. MPLS
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本发明提供了一种组播的分发处理方法、装置及系统,其中,该方法包括:虚拟网络控制实体NVA获取虚拟网络边缘节点NVE发送的加入消息,该加入消息是该NVE连接的组播组中第一组成员发送的加入消息,该加入消息中包括:该第一组成员的信息,该组播组的信息,和该第一组成员所在虚拟网络的虚拟网络信息,该NVA依据该加入消息将该第一组成员加入到该组播组,该NVA获取该NVE所在虚拟网络的组播能力,依据该组播能力确定转发表项信息,并发送该转发表项信息给该NVE,其中,该组播能力信息包括:是否支持点到多点的组播隧道,解决了虚拟网络的组播转发能力有限的问题,提高了虚拟网络的组播转发能力。
The present invention provides a multicast distribution processing method, device and system, wherein the method includes: the virtual network control entity NVA acquires a join message sent by a virtual network edge node NVE, and the join message is a multicast group connected to the NVE The join message sent by the first group member, the join message includes: the information of the first group member, the information of the multicast group, and the virtual network information of the virtual network where the first group member is located, the NVA according to the join The message adds the first group member to the multicast group, the NVA obtains the multicast capability of the virtual network where the NVE is located, determines the forwarding entry information according to the multicast capability, and sends the forwarding entry information to the NVE, wherein , the multicast capability information includes: whether a point-to-multipoint multicast tunnel is supported, which solves the problem of limited multicast forwarding capability of the virtual network and improves the multicast forwarding capability of the virtual network.
Description
技术领域technical field
本发明涉及通信领域,具体而言,涉及一种组播的分发处理方法、装置及系统。The present invention relates to the communication field, in particular, to a multicast distribution processing method, device and system.
背景技术Background technique
随着数据中心服务器虚拟化技术的大量使用,虚拟机数量猛增,并且在混合云和公有云数据中心,需要提供海量租户支持,传统网络无法满足需求。为了能够满足这种多租户(tenant)的需求,一种基于overlay的虚拟层叠网络(Network Virtualization overlay,简称为NVO)技术应运而生,这种虚拟层叠网络不仅可以支持多租户,多虚拟网络,而且每个tenant之间的地址空间、流量彼此隔离且不可见。各tenant能在不同VN中使用相同的地址空间。每个tenant可以拥有多个虚拟网络(Network Virtualization,简称为VN),但是每个VN之间的流量让不能自由流动,需通过路由器、安全网关等才能实现。基于层三的虚拟网络(Network Virtualization over Layer 3,简称为NVo3)可以不改动已有网络,仅需增加网关设备,就可以解决虚拟机迁移和多租户问题,有效保护用户投资。With the extensive use of data center server virtualization technology, the number of virtual machines has increased sharply, and in hybrid cloud and public cloud data centers, it is necessary to provide support for a large number of tenants, and traditional networks cannot meet the demand. In order to meet the needs of this multi-tenant (tenant), an overlay-based virtual overlay network (Network Virtualization overlay, referred to as NVO) technology came into being. This virtual overlay network can not only support multi-tenant, multi-virtual network, Moreover, the address space and traffic between each tenant are isolated from each other and invisible. Each tenant can use the same address space in different VNs. Each tenant can have multiple virtual networks (Network Virtualization, referred to as VN for short), but the traffic between each VN cannot flow freely, and can only be realized through routers and security gateways. Network Virtualization over Layer 3 (NVo3 for short) based on Layer 3 can solve the problems of virtual machine migration and multi-tenancy without changing the existing network, and only needs to add gateway devices, effectively protecting user investment.
为了实现NVO,需要对终端(Terminal Services,简称为TS)接入网络的边缘设备进行虚拟化,对终端报文做出识别,对报文做出相应封装后再接入到传统网络中进行传输。目前较通用的技术包括了VXLAN(Virtual eXtensible Local Area Network)和NVGRE(Network Virtual GRE),都可以支持二层报文接入三层网络传输,以及三层报文接入三层网络。在虚拟层叠网络上,虚拟网络边缘设备NVE的位置可以是在主机管理程序(hypervisor)内,也可以是在外部路由(The Onion Router,简称为ToR)上。如果在外部ToR上,可以是和终端直接物理连接的ToR上,也可以是通过桥连接的ToR上。In order to realize NVO, it is necessary to virtualize the terminal (Terminal Services, referred to as TS) edge device connected to the network, identify the terminal message, make corresponding encapsulation of the message and then connect it to the traditional network for transmission . At present, the more common technologies include VXLAN (Virtual eXtensible Local Area Network) and NVGRE (Network Virtual GRE), both of which can support the transmission of Layer 2 packets to the Layer 3 network, and the access of Layer 3 packets to the Layer 3 network. On the virtual stacked network, the location of the virtual network edge device NVE can be inside a host management program (hypervisor), or on an external router (The Onion Router, ToR for short). If it is on an external ToR, it can be on the ToR that is directly physically connected to the terminal, or it can be on the ToR that is connected through a bridge.
在相关技术中,很多现有的控制协议都可以应用在虚拟层叠网络上,实现信息交互和确定转发路径,但对于数据中心网络来说,虚拟机数量众多,设备类型繁杂,对传统协议都是一个巨大的挑战,尤其对于组播报文来说,更是如此。In related technologies, many existing control protocols can be applied to virtual stacked networks to realize information exchange and determine forwarding paths. A huge challenge, especially for multicast packets.
针对相关技术中,虚拟网络的组播转发能力有限的问题,目前还没有有效的解决方案。Aiming at the problem of limited multicast forwarding capability of the virtual network in related technologies, there is no effective solution at present.
发明内容Contents of the invention
本发明提供了一种组播的分发处理方法、装置及系统,以至少解决相关技术中虚拟网络的组播转发能力有限的问题。The present invention provides a multicast distribution processing method, device and system to at least solve the problem of limited multicast forwarding capability of a virtual network in the related art.
根据本发明的一个方面,提供了一种组播的分发处理方法,包括:According to one aspect of the present invention, a multicast distribution processing method is provided, including:
虚拟网络控制实体(Network Virtualization Authority,简称为NVA)获取虚拟网络边缘节点(Network Virtualization Edge,简称为NVE)发送的加入消息,所述加入消息是所述NVE连接的组播组中第一组成员发送的加入消息,所述加入消息中包括:所述第一组成员的信息,所述组播组的信息,和所述第一组成员所在虚拟网络的虚拟网络信息;A virtual network control entity (Network Virtualization Authority, referred to as NVA) obtains a join message sent by a virtual network edge node (Network Virtualization Edge, referred to as NVE), and the join message is the first group member in the multicast group connected to the NVE The join message sent, the join message includes: the information of the first group member, the information of the multicast group, and the virtual network information of the virtual network where the first group member is located;
所述NVA依据所述加入消息将所述第一组成员加入到所述组播组。The NVA joins the first group member to the multicast group according to the join message.
进一步地,所述NVA依据所述加入消息将所述第一组成员加入到所述组播组之后,包括:Further, after the NVA joins the first group member to the multicast group according to the joining message, it includes:
在所述加入消息中还包括所述NVE所在虚拟网络的组播能力信息的情况下,所述NVA依据所述组播能力信息确定转发表项信息,并发送所述转发表项信息给所述NVE,其中,该组播能力信息包括:是否支持点到多点的组播隧道。In the case that the join message further includes the multicast capability information of the virtual network where the NVE is located, the NVA determines forwarding entry information according to the multicast capability information, and sends the forwarding entry information to the NVE, wherein the multicast capability information includes: whether point-to-multipoint multicast tunnels are supported.
进一步地,在所述虚拟网络支持组播转发的情况下,所述转发表项信息指示所述NVE与所述组播组中其他组成员连接的NVE建立点到多点的隧道连接,所述其他组成员为所述组播组中除了所述第一组员以外的组员;在所述虚拟网络不支持组播转发的情况下,所述转发表项信息指示所述NVE与所述其他组成员所在的NVE建立多条点对点隧道连接。Further, when the virtual network supports multicast forwarding, the forwarding entry information indicates that the NVE is connected to other group members in the multicast group to establish a point-to-multipoint tunnel connection, and the Other group members are group members other than the first group member in the multicast group; when the virtual network does not support multicast forwarding, the forwarding entry information indicates that the NVE and the other The NVEs where the group members are located establish multiple point-to-point tunnel connections.
进一步地,所述NVA依据所述加入消息将所述第一组成员加入到所述组播组之后,所述方法还包括:Further, after the NVA joins the first group member to the multicast group according to the joining message, the method further includes:
所述NVA获取所述NVE发送的离开消息,所述离开消息是所述NVE连接的组播组中第一组成员发送的离开消息,所述离开消息中包括:所述第一组成员的信息,离开的所述组播组的组播地址信息,和所述第一组成员所在虚拟网络的虚拟网络标识VNID;The NVA acquires the leave message sent by the NVE, the leave message is a leave message sent by the first group member in the multicast group connected to the NVE, and the leave message includes: information of the first group member , the multicast address information of the leaving multicast group, and the virtual network identifier VNID of the virtual network where the first group member is located;
所述NVA依据所述离开消息将所述第一组成员在所述组播组中删除;The NVA deletes the first group member from the multicast group according to the leave message;
所述NVA删除所述第一组成员与所述其他组成员之间的隧道连接。The NVA deletes tunnel connections between the first group member and the other group members.
进一步地,发送所述转发表项信息给所述NVE包括:Further, sending the forwarding entry information to the NVE includes:
在所述虚拟网络不支持组播转发的情况下,所述NVA获取所述其他组成员所在的NVE的地址信息,将所述其他组成员所在的NVE的地址信息携带在所述转发表项信息中,发送所述转发表项信息给所述NVE,所述转发表项信息指示所述NVE与所述其他组成员连接的NVE建立多条点对点隧道连接。When the virtual network does not support multicast forwarding, the NVA obtains the address information of the NVE where the other group members are located, and carries the address information of the NVE where the other group members are located in the forwarding entry information , sending the forwarding entry information to the NVE, the forwarding entry information instructing the NVE to establish multiple point-to-point tunnel connections with the NVEs connected to the other group members.
进一步地,所述虚拟网络包括:虚拟层叠网络NVO。Further, the virtual network includes: a virtual stacked network NVO.
根据本发明的另一个方面,还提供了一种组播的分发处理方法,包括:According to another aspect of the present invention, a multicast distribution processing method is also provided, including:
虚拟网络边缘节点NVE获取所述NVE连接的组播组中第一组成员发送的加入消息,所述加入消息包括:所述第一组成员的信息,所述组播组的信息,和所述第一组成员所在虚拟网络的虚拟网络信息;The virtual network edge node NVE obtains the joining message sent by the first group member in the multicast group connected to the NVE, and the joining message includes: information of the first group member, information of the multicast group, and the Virtual network information of the virtual network where the members of the first group belong;
所述NVE发送所述加入消息给虚拟网络控制实体NVA。The NVE sends the joining message to the virtual network control entity NVA.
进一步地,所述NVE发送所述加入消息给虚拟网络控制实体NVA包括:在所述加入消息携带所述NVE所在虚拟网络的组播能力信息的情况下,发送所述加入消息给所述NVA,其中,该组播能力信息包括:是否支持点到多点的组播隧道;Further, the NVE sending the joining message to the virtual network control entity NVA includes: sending the joining message to the NVA when the joining message carries multicast capability information of the virtual network where the NVE is located, Wherein, the multicast capability information includes: whether a point-to-multipoint multicast tunnel is supported;
在所述NVE发送所述加入消息给虚拟网络控制实体NVA之后,所述NVE接收所述NVA发送的转发表项信息。After the NVE sends the joining message to the virtual network control entity NVA, the NVE receives the forwarding entry information sent by the NVA.
进一步地,在所述NVE连接的虚拟网络支持组播转发的情况下,所述转发表项信息指示所述NVE与连接所述组播组的其他组成员连接的NVE建立点到多点的隧道连接,所述其他组成员为所述组播组中除了所述第一组员以外的组员;在所述NVE连接的虚拟网络不支持组播转发的情况下,所述转发表项信息指示所述NVE与所述其他组成员连接的NVE建立多条点对点隧道连接。Further, in the case that the virtual network connected to the NVE supports multicast forwarding, the forwarding entry information indicates that the NVE establishes a point-to-multipoint tunnel with the NVE connected to other group members of the multicast group connection, the other group members are group members other than the first group member in the multicast group; when the virtual network connected by the NVE does not support multicast forwarding, the forwarding entry information indicates The NVE establishes multiple point-to-point tunnel connections with the NVEs connected to the other group members.
进一步地,所述NVE发送所述加入消息给虚拟网络控制实体NVA之后,所述方法还包括:Further, after the NVE sends the join message to the virtual network control entity NVA, the method further includes:
所述NVE获取离开消息,所述离开消息是所述第一组成员发送的离开消息,所述离开消息中包括:所述第一组成员的信息,离开的所述组播组的组播地址信息,和所述第一组成员所在虚拟网络的虚拟网络标识VNID;The NVE acquires a leaving message, the leaving message is a leaving message sent by the first group member, and the leaving message includes: information of the first group member, the multicast address of the leaving multicast group information, and the virtual network identifier VNID of the virtual network where the first group member is located;
所述NVE发送所述离开消息给所述NVA,所述离开消息用于指示所述NVA将所述第一组成员在所述组播组中删除,以及指示所述NVA删除所述第一组成员与所述其他组成员之间的隧道连接。The NVE sends the leave message to the NVA, the leave message is used to instruct the NVA to delete the first group member from the multicast group, and instruct the NVA to delete the first group Tunnel connections between members and said other group members.
根据本发明的另一个方面,还提供了一种组播的分发处理装置,位于虚拟网络控制实体NVA中,包括:According to another aspect of the present invention, there is also provided a multicast distribution processing device located in a virtual network control entity NVA, including:
第一获取模块,用于获取虚拟网络边缘节点NVE发送的加入消息,所述加入消息是所述NVE连接的组播组中第一组成员发送的加入消息,所述加入消息中包括:所述第一组成员的信息,所述组播组的信息,和所述第一组成员所在虚拟网络的虚拟网络信息;The first obtaining module is used to obtain the join message sent by the virtual network edge node NVE, the join message is the join message sent by the first group member in the multicast group connected to the NVE, and the join message includes: the The information of the first group member, the information of the multicast group, and the virtual network information of the virtual network where the first group member is located;
组播模块,用于依据所述加入消息将所述第一组成员加入到所述组播组。A multicast module, configured to add the first group member to the multicast group according to the join message.
进一步地,所述装置还包括:Further, the device also includes:
第一发送模块,还用于在所述加入消息中还包括所述NVE所在虚拟网络的组播能力信息的情况下,所述NVA依据所述组播能力信息确定转发表项信息,并发送所述转发表项信息给所述NVE,其中,该组播能力信息包括:是否支持点到多点的组播隧道。The first sending module is further configured to, in the case that the join message further includes multicast capability information of the virtual network where the NVE is located, the NVA determines forwarding entry information according to the multicast capability information, and sends the The forwarding entry information is sent to the NVE, wherein the multicast capability information includes: whether point-to-multipoint multicast tunnel is supported.
进一步地,在所述虚拟网络支持组播转发的情况下,所述转发表项信息指示所述NVE与所述组播组中其他组成员连接的NVE建立点到多点的隧道连接,所述其他组成员为所述组播组中除了所述第一组员以外的组员;在所述虚拟网络不支持组播转发的情况下,所述转发表项信息指示所述NVE与所述其他组成员所在的NVE建立多条点对点隧道连接。Further, when the virtual network supports multicast forwarding, the forwarding entry information indicates that the NVE is connected to other group members in the multicast group to establish a point-to-multipoint tunnel connection, and the Other group members are group members other than the first group member in the multicast group; when the virtual network does not support multicast forwarding, the forwarding entry information indicates that the NVE and the other The NVEs where the group members are located establish multiple point-to-point tunnel connections.
进一步地,所述第一获取模块还用于所述NVA依据所述加入消息将所述第一组成员加入到所述组播组之后,获取所述NVE发送的离开消息,所述离开消息是所述NVE连接的组播组中第一组成员发送的离开消息,所述离开消息中包括:所述第一组成员的信息,离开的所述组播组的组播地址信息,和所述第一组成员所在虚拟网络的虚拟网络标识VNID;Further, the first obtaining module is also used for the NVA to obtain the leave message sent by the NVE after the NVA joins the first group member to the multicast group according to the join message, and the leave message is A leave message sent by the first group member in the multicast group connected to the NVE, the leave message includes: the information of the first group member, the multicast address information of the left multicast group, and the The virtual network identifier VNID of the virtual network where the members of the first group belong;
所述组播模块还用于依据所述离开消息将所述第一组成员在所述组播组中删除;The multicast module is further configured to delete the first group member from the multicast group according to the leave message;
所述组播模块还用于删除所述第一组成员与所述其他组成员之间的隧道连接。The multicast module is also used for deleting the tunnel connection between the first group member and the other group members.
进一步地,所述第一发送模块,还用于在所述虚拟网络不支持组播转发的情况下,获取所述其他组成员所在的NVE的地址信息,将所述其他组成员所在的NVE的地址信息携带在所述转发表项信息中,发送所述转发表项信息给所述NVE,所述转发表项信息指示所述NVE与所述其他组成员连接的NVE建立多条点对点隧道连接。Further, the first sending module is further configured to obtain address information of the NVE where the other group members are located when the virtual network does not support multicast forwarding, and send the address information of the NVE where the other group members are located The address information is carried in the forwarding entry information, and the forwarding entry information is sent to the NVE, and the forwarding entry information instructs the NVE to establish multiple point-to-point tunnel connections with the NVEs connected to the other group members.
根据本发明的另一个方面,还提供了一种组播的分发处理装置,位于虚拟网络边缘节点NVE,包括:According to another aspect of the present invention, there is also provided a multicast distribution processing device located at a virtual network edge node NVE, including:
第二获取模块,用于获取所述NVE连接的组播组中第一组成员发送的加入消息,所述加入消息包括:所述第一组成员的信息,所述组播组的信息,和所述第一组成员所在虚拟网络的虚拟网络信息;The second acquiring module is configured to acquire a join message sent by a first group member in the multicast group connected to the NVE, where the join message includes: information about the first group member, information about the multicast group, and virtual network information of the virtual network where the members of the first group belong;
第二发送模块,用于发送所述加入消息给虚拟网络控制实体NVA。The second sending module is configured to send the joining message to the virtual network control entity NVA.
进一步地,所述装置还包括:接收模块;Further, the device also includes: a receiving module;
所述第二发送模块用于在所述加入消息携带所述NVE所在虚拟网络的组播能力信息的情况下,发送所述加入消息给所述NVA,其中,该组播能力信息包括:是否支持点到多点的组播隧道;The second sending module is configured to send the join message to the NVA when the join message carries multicast capability information of the virtual network where the NVE is located, wherein the multicast capability information includes: whether to support Point-to-multipoint multicast tunnel;
所述接收模块用于在所述第二发送模块发送所述加入消息给虚拟网络控制实体NVA之后,接收所述NVA发送的转发表项信息。The receiving module is configured to receive the forwarding entry information sent by the NVA after the second sending module sends the join message to the virtual network control entity NVA.
进一步地,所述第二获取模块,用于所述接收模块接收所述NVA发送的转发表项信息之后,获取离开消息,所述离开消息是所述第一组成员发送的离开消息,所述离开消息中包括:所述第一组成员的信息,离开的所述组播组的组播地址信息,和所述第一组成员所在虚拟网络的虚拟网络标识VNID;Further, the second obtaining module is configured to obtain, after the receiving module receives the forwarding entry information sent by the NVA, a leaving message, where the leaving message is a leaving message sent by a member of the first group, and the The leaving message includes: the information of the first group member, the multicast address information of the leaving multicast group, and the virtual network identifier VNID of the virtual network where the first group member is located;
所述第二发送模块,用于发送所述离开消息给所述NVA,所述离开消息用于指示所述NVA将所述第一组成员在所述组播组中删除,以及指示所述NVA删除所述第一组成员与所述其他组成员之间的隧道连接。The second sending module is configured to send the leave message to the NVA, the leave message is used to instruct the NVA to delete the first group member from the multicast group, and instruct the NVA Deleting tunnel connections between the first group member and the other group members.
根据本发明的另一个方面,还提供了一种组播的分发处理系统,包括:虚拟网络控制实体NVA和虚拟网络边缘节点NVE;According to another aspect of the present invention, a multicast distribution processing system is also provided, including: a virtual network control entity NVA and a virtual network edge node NVE;
所述NVA获取所述NVE发送的加入消息,所述加入消息是所述NVE连接的组播组中第一组成员发送的加入消息,所述加入消息中包括:所述第一组成员的信息,所述组播组的信息,和所述第一组成员所在虚拟网络的虚拟网络信息;The NVA acquires a join message sent by the NVE, the join message is a join message sent by the first group member in the multicast group connected to the NVE, and the join message includes: information of the first group member , the information of the multicast group, and the virtual network information of the virtual network where the members of the first group are located;
所述NVA依据所述加入消息将所述第一组成员加入到所述组播组。The NVA joins the first group member to the multicast group according to the join message.
通过本发明,虚拟网络控制实体NVA获取虚拟网络边缘节点NVE发送的加入消息,该加入消息是该NVE连接的组播组中第一组成员发送的加入消息,该加入消息中包括:该第一组成员的信息,该组播组的信息,和该第一组成员所在虚拟网络的虚拟网络信息,该NVA依据该加入消息将该第一组成员加入到该组播组,解决了虚拟网络的组播转发能力有限的问题,提高了虚拟网络的组播转发能力。Through the present invention, the virtual network control entity NVA obtains the joining message sent by the virtual network edge node NVE, the joining message is the joining message sent by the first member of the multicast group connected to the NVE, and the joining message includes: the first The information of the group members, the information of the multicast group, and the virtual network information of the virtual network where the first group member is located. The NVA adds the first group member to the multicast group according to the join message, which solves the problem of the virtual network. The problem of limited multicast forwarding capability improves the multicast forwarding capability of the virtual network.
附图说明Description of drawings
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The accompanying drawings described here are used to provide a further understanding of the present invention and constitute a part of the application. The schematic embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations to the present invention. In the attached picture:
图1是根据本发明实施例的一种组播的分发处理方法的流程图一;FIG. 1 is a flowchart 1 of a multicast distribution processing method according to an embodiment of the present invention;
图2是根据本发明实施例的一种组播的分发处理方法的流程图二;FIG. 2 is a second flowchart of a multicast distribution processing method according to an embodiment of the present invention;
图3是根据本发明实施例的组播的分发处理装置的结构框图一;FIG. 3 is a structural block diagram 1 of a multicast distribution processing device according to an embodiment of the present invention;
图4是根据本发明实施例的组播的分发处理装置的结构框图二;FIG. 4 is a second structural block diagram of a multicast distribution processing device according to an embodiment of the present invention;
图5是根据本发明实施例的组播的分发处理装置的结构框图三;FIG. 5 is a block diagram three of a multicast distribution processing device according to an embodiment of the present invention;
图6是根据本发明实施例的组播的分发处理装置的结构框图四;FIG. 6 is a fourth structural block diagram of a multicast distribution processing device according to an embodiment of the present invention;
图7是根据本发明优选实施例的组网示意图;Fig. 7 is a schematic diagram of networking according to a preferred embodiment of the present invention;
图8是根据本发明优选实施例的VNTP协议的基础报文格式的示意图;Fig. 8 is a schematic diagram of the basic message format of the VNTP protocol according to a preferred embodiment of the present invention;
图9是本发明优选实施例的NVE通告组播报文Type字段的定义示意图;Fig. 9 is a schematic diagram of the definition of the NVE announcement multicast message Type field of the preferred embodiment of the present invention;
图10是本发明优选实施例的NVE通告组播报文的数据字段的定义示意图;Fig. 10 is a schematic diagram of the definition of the data field of the NVE announcement multicast message of the preferred embodiment of the present invention;
图11是本发明优选实施例的NVA到NVE的回复消息的数据字段的定义示意图一;FIG. 11 is a first schematic diagram of the definition of the data field of the reply message from NVA to NVE in the preferred embodiment of the present invention;
图12是本发明优选实施例的NVA到NVE的回复消息的数据字段的定义示意图二;Fig. 12 is a second schematic diagram of the definition of the data field of the reply message from NVA to NVE in the preferred embodiment of the present invention;
图13是本发明优选实施例的NVA到NVE的回复消息的数据字段的定义示意图三。Fig. 13 is a third schematic diagram of the definition of the data field of the reply message from NVA to NVE in the preferred embodiment of the present invention.
具体实施方式detailed description
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。Hereinafter, the present invention will be described in detail with reference to the drawings and examples. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other.
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It should be noted that the terms "first" and "second" in the description and claims of the present invention and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence.
在本实施例中提供了一种组播的分发处理方法,图1是根据本发明实施例的一种组播的分发处理方法的流程图一,如图1所示,该流程包括如下步骤:In this embodiment, a method for distributing and processing multicast is provided. FIG. 1 is a flow chart 1 of a method for distributing and processing multicast according to an embodiment of the present invention. As shown in FIG. 1 , the process includes the following steps:
步骤S102,虚拟网络控制实体简称为NVA获取虚拟网络边缘节点NVE发送的加入消息,该加入消息是该NVE连接的组播组中第一组成员发送的加入消息,该加入消息中包括:该第一组成员的信息,该组播组的信息,和该第一组成员所在虚拟网络的虚拟网络信息;Step S102, the virtual network control entity referred to as NVA obtains the joining message sent by the virtual network edge node NVE, the joining message is the joining message sent by the first member of the multicast group connected to the NVE, and the joining message includes: the first Information of a group of members, information of the multicast group, and virtual network information of the virtual network where the first group member is located;
步骤S104,该NVA依据该加入消息将该第一组成员加入到该组播组。Step S104, the NVA joins the first group member into the multicast group according to the joining message.
通过上述步骤,虚拟网络控制实体NVA获取虚拟网络边缘节点NVE发送的加入消息,该加入消息是该NVE连接的组播组中第一组成员发送的加入消息,该加入消息中包括:该第一组成员的信息,该组播组的信息,和该第一组成员所在虚拟网络的虚拟网络信息,该NVA依据该加入消息将该第一组成员加入到该组播组,解决了虚拟网络的组播转发能力有限的问题,提高了虚拟网络的组播转发能力。Through the above steps, the virtual network control entity NVA obtains the joining message sent by the virtual network edge node NVE, the joining message is the joining message sent by the first member of the multicast group connected to the NVE, and the joining message includes: the first The information of the group members, the information of the multicast group, and the virtual network information of the virtual network where the first group member is located. The NVA adds the first group member to the multicast group according to the join message, which solves the problem of the virtual network. The problem of limited multicast forwarding capability improves the multicast forwarding capability of the virtual network.
在本发明的实施例中,该NVA依据该加入消息将该第一组成员加入到该组播组之后,在该加入消息中还包括该NVE所在虚拟网络的组播能力信息的情况下,该NVA依据该组播能力信息确定转发表项信息,并发送该转发表项信息给该NVE,其中,该组播能力信息包括:是否支持点到多点的组播隧道。In an embodiment of the present invention, after the NVA joins the first group member to the multicast group according to the joining message, if the joining message also includes the multicast capability information of the virtual network where the NVE is located, the The NVA determines forwarding entry information according to the multicast capability information, and sends the forwarding entry information to the NVE, wherein the multicast capability information includes: whether point-to-multipoint multicast tunnel is supported.
在本发明的实施例中,在该虚拟网络支持组播转发的情况下,该转发表项信息指示该NVE与该组播组中其他组成员连接的NVE建立点到多点的隧道连接,该其他组成员为该组播组中除了该第一组员以外的组员;在该虚拟网络不支持组播转发的情况下,该转发表项信息指示该NVE与该其他组成员所在的NVE建立多条点对点隧道连接。In an embodiment of the present invention, when the virtual network supports multicast forwarding, the forwarding entry information indicates that the NVE establishes a point-to-multipoint tunnel connection with the NVE connected to other group members in the multicast group. Other group members are group members other than the first group member in the multicast group; in the case that the virtual network does not support multicast forwarding, the forwarding entry information indicates that the NVE is established with the NVE where the other group members are located. Multiple point-to-point tunnel connections.
在本发明的实施例中,该NVA依据该加入消息将该第一组成员加入到该组播组之后,该方法还包括:In an embodiment of the present invention, after the NVA joins the first group member into the multicast group according to the join message, the method further includes:
该NVA获取该NVE发送的离开消息,该离开消息是该NVE连接的组播组中第一组成员发送的离开消息,该离开消息中包括:该第一组成员的信息,离开的该组播组的组播地址信息,和该第一组成员所在虚拟网络的虚拟网络标识VNID;The NVA acquires the leaving message sent by the NVE, which is the leaving message sent by the first group member in the multicast group connected to the NVE, and the leaving message includes: the information of the first group member, the leaving multicast The multicast address information of the group, and the virtual network identifier VNID of the virtual network where the first group member is located;
该NVA依据该离开消息将该第一组成员在该组播组中删除;The NVA deletes the first group member from the multicast group according to the leaving message;
该NVA删除该第一组成员与该其他组成员之间的隧道连接。The NVA deletes the tunnel connection between the first group member and the other group member.
在本发明的实施例中,发送该转发表项信息给该NVE包括:In an embodiment of the present invention, sending the forwarding entry information to the NVE includes:
在该虚拟网络不支持组播转发的情况下,该NVA获取该其他组成员所在的NVE的地址信息,将该其他组成员所在的NVE的地址信息携带在该转发表项信息中,发送该转发表项信息给该NVE,该转发表项信息指示该NVE与该其他组成员连接的NVE建立多条点对点隧道连接。If the virtual network does not support multicast forwarding, the NVA obtains the address information of the NVE where the other group members are located, carries the address information of the NVE where the other group members are located in the forwarding table entry information, and sends the forwarded The entry information is forwarded to the NVE, and the entry information instructs the NVE to establish multiple point-to-point tunnel connections with the NVEs connected to the other group members.
在本发明的实施例中,该虚拟网络包括:虚拟层叠网络NVO。In an embodiment of the present invention, the virtual network includes: a virtual stacked network NVO.
在本实施例中还提供了一种组播的分发处理方法,图2是根据本发明实施例的一种组播的分发处理方法的流程图二,如图2所示,该流程包括如下步骤:In this embodiment, a method for distributing and processing multicast is also provided. FIG. 2 is a flow chart 2 of a method for distributing and processing multicast according to an embodiment of the present invention. As shown in FIG. 2 , the process includes the following steps :
步骤S202,虚拟网络边缘节点NVE获取该NVE连接的组播组中第一组成员发送的加入消息,该加入消息包括:该第一组成员的信息,该组播组的信息,和该第一组成员所在虚拟网络的虚拟网络信息;Step S202, the virtual network edge node NVE obtains the join message sent by the first group member in the multicast group connected to the NVE, and the join message includes: the information of the first group member, the information of the multicast group, and the first Virtual network information of the virtual network where the group member is located;
步骤S204,该NVE发送该加入消息给虚拟网络控制实体NVA。Step S204, the NVE sends the joining message to the virtual network control entity NVA.
通过上述步骤,虚拟网络边缘节点NVE获取该NVE连接的组播组中第一组成员发送的加入消息,该加入消息包括:该第一组成员的信息,该组播组的信息,和该第一组成员所在虚拟网络的虚拟网络信息,该NVE发送该加入消息给虚拟网络控制实体NVA,解决了虚拟网络的组播转发能力有限的问题,提高了虚拟网络的组播转发能力。Through the above steps, the virtual network edge node NVE obtains the join message sent by the first group member in the multicast group connected to the NVE, and the join message includes: the information of the first group member, the information of the multicast group, and the second For the virtual network information of the virtual network where a group of members belong, the NVE sends the joining message to the virtual network control entity NVA, which solves the problem of limited multicast forwarding capability of the virtual network and improves the multicast forwarding capability of the virtual network.
在本发明的实施例中,该NVE发送该加入消息给虚拟网络控制实体NVA包括:在该加入消息携带该NVE所在虚拟网络的组播能力信息的情况下,发送该加入消息给该NVA,其中,该组播能力信息包括:是否支持点到多点的组播隧道;In an embodiment of the present invention, sending the join message to the virtual network control entity NVA by the NVE includes: sending the join message to the NVA when the join message carries multicast capability information of the virtual network where the NVE is located, wherein , the multicast capability information includes: whether point-to-multipoint multicast tunnels are supported;
在该NVE发送该加入消息给虚拟网络控制实体NVA之后,该NVE接收该NVA发送的转发表项信息。After the NVE sends the join message to the virtual network control entity NVA, the NVE receives the forwarding entry information sent by the NVA.
在本发明的实施例中,在该NVE连接的虚拟网络支持组播转发的情况下,该转发表项信息指示该NVE与连接该组播组的其他组成员连接的NVE建立点到多点的隧道连接,该其他组成员为该组播组中除了该第一组员以外的组员;在该NVE连接的虚拟网络不支持组播转发的情况下,该转发表项信息指示该NVE与该其他组成员连接的NVE建立多条点对点隧道连接。In an embodiment of the present invention, when the virtual network connected to the NVE supports multicast forwarding, the forwarding entry information indicates that the NVE establishes a point-to-multipoint connection with the NVE connected to other members of the multicast group. Tunnel connection, the other group members are members of the multicast group except the first group member; in the case that the virtual network connected to the NVE does not support multicast forwarding, the forwarding entry information indicates that the NVE and the The NVEs connected to other group members establish multiple point-to-point tunnel connections.
在本发明的实施例中,该NVE发送该加入消息给虚拟网络控制实体NVA之后,该方法还包括:In an embodiment of the present invention, after the NVE sends the joining message to the virtual network control entity NVA, the method further includes:
该NVE获取离开消息,该离开消息是该第一组成员发送的离开消息,该离开消息中包括:该第一组成员的信息,离开的该组播组的组播地址信息,和该第一组成员所在虚拟网络的虚拟网络标识VNID;The NVE acquires a leave message, the leave message is a leave message sent by the first group member, and the leave message includes: the information of the first group member, the multicast address information of the leaving multicast group, and the first The virtual network identifier VNID of the virtual network where the group member is located;
该NVE发送该离开消息给该NVA,该离开消息用于指示该NVA将该第一组成员在该组播组中删除,以及指示该NVA删除该第一组成员与该其他组成员之间的隧道连接。The NVE sends the leave message to the NVA, and the leave message is used to instruct the NVA to delete the first group member in the multicast group, and to instruct the NVA to delete the communication between the first group member and the other group members tunnel connection.
图3是根据本发明实施例的组播的分发处理装置的结构框图一,如图3所示,该装置位于虚拟网络控制实体NVA中,该装置包括:FIG. 3 is a structural block diagram 1 of a multicast distribution processing device according to an embodiment of the present invention. As shown in FIG. 3 , the device is located in a virtual network control entity NVA, and the device includes:
第一获取模块32,用于获取虚拟网络边缘节点NVE发送的加入消息,该加入消息是该NVE连接的组播组中第一组成员发送的加入消息,该加入消息中包括:该第一组成员的信息,该组播组的信息,和该第一组成员所在虚拟网络的虚拟网络信息;The first obtaining module 32 is used to obtain the join message sent by the virtual network edge node NVE, the join message is the join message sent by the first group member in the multicast group connected to the NVE, and the join message includes: the first group Member information, information of the multicast group, and virtual network information of the virtual network where the members of the first group are located;
组播模块34,用于依据该加入消息将该第一组成员加入到该组播组。The multicast module 34 is configured to add the first group member to the multicast group according to the joining message.
图4是根据本发明实施例的组播的分发处理装置的结构框图二,如图4所示,除了包括图3所示的装置外,该装置还包括:Fig. 4 is a structural block diagram 2 of a multicast distribution processing device according to an embodiment of the present invention. As shown in Fig. 4, in addition to the device shown in Fig. 3, the device also includes:
第一发送模块42,还用于在该加入消息中还包括该NVE所在虚拟网络的组播能力信息的情况下,该NVA依据该组播能力信息确定转发表项信息,并发送该转发表项信息给该NVE,其中,该组播能力信息包括:是否支持点到多点的组播隧道。The first sending module 42 is further configured to determine the forwarding entry information according to the multicast capability information of the NVA when the joining message also includes the multicast capability information of the virtual network where the NVE is located, and send the forwarding entry information to the NVE, wherein the multicast capability information includes: whether to support point-to-multipoint multicast tunnels.
在本发明的实施例中,在该虚拟网络支持组播转发的情况下,该转发表项信息指示该NVE与该组播组中其他组成员连接的NVE建立点到多点的隧道连接,该其他组成员为该组播组中除了该第一组员以外的组员;在该虚拟网络不支持组播转发的情况下,该转发表项信息指示该NVE与该其他组成员所在的NVE建立多条点对点隧道连接。In an embodiment of the present invention, when the virtual network supports multicast forwarding, the forwarding entry information indicates that the NVE establishes a point-to-multipoint tunnel connection with the NVE connected to other group members in the multicast group. Other group members are group members other than the first group member in the multicast group; in the case that the virtual network does not support multicast forwarding, the forwarding entry information indicates that the NVE is established with the NVE where the other group members are located. Multiple point-to-point tunnel connections.
在本发明的实施例中,该第一获取模块32还用于该NVA依据该加入消息将该第一组成员加入到该组播组之后,获取该NVE发送的离开消息,该离开消息是该NVE连接的组播组中第一组成员发送的离开消息,该离开消息中包括:该第一组成员的信息,离开的该组播组的组播地址信息,和该第一组成员所在虚拟网络的虚拟网络标识VNID;In the embodiment of the present invention, the first acquisition module 32 is also used for the NVA to acquire the leave message sent by the NVE after the first group member joins the multicast group according to the join message, and the leave message is the The leaving message sent by the first member of the multicast group connected to the NVE, the leaving message includes: the information of the first group member, the multicast address information of the leaving multicast group, and the virtual address of the first group member The virtual network identifier VNID of the network;
该组播模块34还用于依据该离开消息将该第一组成员在该组播组中删除;The multicast module 34 is also used to delete the first group member in the multicast group according to the leaving message;
该组播模块34还用于删除该第一组成员与该其他组成员之间的隧道连接。The multicast module 34 is also used for deleting the tunnel connection between the first group member and the other group members.
在本发明的实施例中,该第一发送模块42,还用于在该虚拟网络不支持组播转发的情况下,获取该其他组成员所在的NVE的地址信息,将该其他组成员所在的NVE的地址信息携带在该转发表项信息中,发送该转发表项信息给该NVE,该转发表项信息指示该NVE与该其他组成员连接的NVE建立多条点对点隧道连接。In the embodiment of the present invention, the first sending module 42 is also used to obtain the address information of the NVE where the other group members are located when the virtual network does not support multicast forwarding, and to obtain the address information of the NVE where the other group members are located. The address information of the NVE is carried in the forwarding entry information, and the forwarding entry information is sent to the NVE, and the forwarding entry information instructs the NVE to establish multiple point-to-point tunnel connections with the NVEs connected to the other group members.
图5是根据本发明实施例的组播的分发处理装置的结构框图三,如图5所示,该装置还包括:Fig. 5 is a structural block diagram three of a multicast distribution processing device according to an embodiment of the present invention. As shown in Fig. 5, the device also includes:
第二获取模块52,用于获取该NVE连接的组播组中第一组成员发送的加入消息,该加入消息包括:该第一组成员的信息,该组播组的信息,和该第一组成员所在虚拟网络的虚拟网络信息;The second obtaining module 52 is used to obtain the join message sent by the first group member in the multicast group connected by the NVE, and the join message includes: the information of the first group member, the information of the multicast group, and the first Virtual network information of the virtual network where the group member is located;
第二发送模块54,用于发送该加入消息给虚拟网络控制实体NVA。The second sending module 54 is configured to send the joining message to the virtual network control entity NVA.
图6是根据本发明实施例的组播的分发处理装置的结构框图四,如图6所示,除了图5所示的模块以外,该装置还包括:接收模块62;FIG. 6 is a fourth structural block diagram of a multicast distribution processing device according to an embodiment of the present invention. As shown in FIG. 6, in addition to the modules shown in FIG. 5, the device also includes: a receiving module 62;
该第二发送模块54用于在该加入消息携带该NVE所在虚拟网络的组播能力信息的情况下,发送该加入消息给该NVA,其中,该组播能力信息包括:是否支持点到多点的组播隧道;The second sending module 54 is used to send the join message to the NVA when the join message carries the multicast capability information of the virtual network where the NVE is located, wherein the multicast capability information includes: whether to support point-to-multipoint multicast tunnel;
该接收模块62用于在该第二发送模块54发送该加入消息给虚拟网络控制实体NVA之后,接收该NVA发送的转发表项信息。The receiving module 62 is configured to receive the forwarding entry information sent by the NVA after the second sending module 54 sends the join message to the virtual network control entity NVA.
在本发明的实施例中,该第二获取模块52,用于该接收模块62接收该NVA发送的转发表项信息之后,获取离开消息,该离开消息是该第一组成员发送的离开消息,该离开消息中包括:该第一组成员的信息,离开的该组播组的组播地址信息,和该第一组成员所在虚拟网络的虚拟网络标识VNID;In an embodiment of the present invention, the second obtaining module 52 is configured to obtain a leaving message after the receiving module 62 receives the forwarding entry information sent by the NVA, and the leaving message is a leaving message sent by the first group member, The leaving message includes: the information of the first group member, the multicast address information of the leaving multicast group, and the virtual network identifier VNID of the virtual network where the first group member is located;
该第二发送模块54,用于发送该离开消息给该NVA,该离开消息用于指示该NVA将该第一组成员在该组播组中删除,以及指示该NVA删除该第一组成员与该其他组成员之间的隧道连接。The second sending module 54 is configured to send the leave message to the NVA, the leave message is used to instruct the NVA to delete the first group member in the multicast group, and instruct the NVA to delete the first group member and Tunnel connections between members of that other group.
根据本发明的另一个实施例,还提供了一种组播的分发处理系统,包括:虚拟网络控制实体NVA和虚拟网络边缘节点NVE;According to another embodiment of the present invention, a multicast distribution processing system is also provided, including: a virtual network control entity NVA and a virtual network edge node NVE;
该NVA获取该NVE发送的加入消息,该加入消息是该NVE连接的组播组中第一组成员发送的加入消息,该加入消息中包括:该第一组成员的信息,该组播组的信息,和该第一组成员所在虚拟网络的虚拟网络信息;The NVA obtains the joining message sent by the NVE, the joining message is the joining message sent by the first group member in the multicast group connected to the NVE, and the joining message includes: the information of the first group member, the information of the multicast group information, and the virtual network information of the virtual network where the first group member is located;
该NVA依据该加入消息将该第一组成员加入到该组播组。The NVA joins the first group member into the multicast group according to the joining message.
下面结合优选实施例和实施方式对本发明进行详细说明。The present invention will be described in detail below in combination with preferred embodiments and implementation modes.
为了提高虚拟层叠网路的组播转发能力,实现对全网资源的更高管控能力,本发明的优选实施例提出了集中控制组播报文分发的一种方法。In order to improve the multicast forwarding capability of the virtual stacked network and achieve higher management and control capabilities for the entire network resources, the preferred embodiment of the present invention proposes a method for centralized control of multicast packet distribution.
NVE通过互联网组管理协议窥探(Internet Group Management Protocol Snooping,简称为IGMP Snooping)获取其所连接的组成员加入消息,消息中包括了组成员的信息,所加入组的组播地址信息,以及其所在的虚拟网络标识VNID。NVE uses Internet Group Management Protocol Snooping (IGMP Snooping for short) to obtain the joining message of the group members it is connected to. The message includes the information of the group members, the multicast address information of the joining group, and its location. The virtual network identifier VNID.
NVE将侦听到的组成员信息通告给NVA。这里通告给NVA的信息还包括了本NVE的组播能力(是否支持点到多点的组播隧道)。The NVE notifies the NVA of the intercepted group member information. The information notified to the NVA here also includes the multicast capability of the NVE (whether it supports a point-to-multipoint multicast tunnel).
NVA根据获取到的组员信息,依据本网络的组播策略(从NVE获取的组播能力),采取不同的行为:According to the obtained group member information, NVA takes different actions according to the multicast policy of the network (multicast capability obtained from NVE):
1)如果层叠网的基础网络支持组播转发,则NVA下发组播转发信息;1) If the basic network of the overlay network supports multicast forwarding, the NVA sends multicast forwarding information;
2)如果层叠网的基础网络不支持组播转发,则NVA需要为每个组成员建立组成员之间的点到点隧道连接。2) If the basic network of the stacked network does not support multicast forwarding, the NVA needs to establish a point-to-point tunnel connection between group members for each group member.
NVE通过IGMP snooping获取所连接的组成员离开消息,消息中包括了所要离开的组播组信息,组成员的信息,以及该组所处的虚拟网络标识VNID。The NVE obtains the leaving message of the connected group member through IGMP snooping. The message includes the information of the multicast group to leave, the information of the group member, and the virtual network identifier VNID where the group is located.
NVE通告给NVA一个组成员离开。The NVE notifies the NVA that a group member is leaving.
NVA删除其他组成员到那个离开的组成员的隧道连接。The NVA deletes other group members' tunnel connections to that departing group member.
通过上述内容,控制器(NVA)能及时感知网络边缘所连接的组成员信息,及时下发针对组播报文流表和修改流表,解决虚拟层叠网的组播转发问题,提高报文转发性能。Through the above content, the controller (NVA) can timely perceive the group member information connected to the edge of the network, timely issue the multicast packet flow table and modify the flow table, solve the multicast forwarding problem of the virtual layered network, and improve the packet forwarding performance.
在本发明的优选实施例中,图7是根据本发明优选实施例的组网示意图,如图7所示,多个虚拟机设备和多个物理主机设备通过虚拟层叠网连接在了一起。假设VM1和VM4,主机7是属于同一个虚拟网络中(不同的填充底纹表示属于不同的虚拟网络),同时,他们属于同一个组播组,组播源是VM1,接受者为VM4和主机7。In a preferred embodiment of the present invention, FIG. 7 is a schematic diagram of networking according to a preferred embodiment of the present invention. As shown in FIG. 7, multiple virtual machine devices and multiple physical host devices are connected together through a virtual layered network. Assume that VM1, VM4, and host 7 belong to the same virtual network (different shading indicates that they belong to different virtual networks). At the same time, they belong to the same multicast group. The multicast source is VM1, and the receiver is VM4 and the host 7.
VM4和主机7要加入到这个组播组中,因此会发送IGMP的组播组加入消息。他们连接的NVE2和NVE3侦听到这样的消息后,会截获该组播组加入消息,同时保存该组播组的成员信息。VM4 and host 7 want to join this multicast group, so they will send an IGMP multicast group join message. After the NVE2 and NVE3 they are connected to detect such a message, they will intercept the multicast group joining message and save the member information of the multicast group at the same time.
NVE2和NVE3会通过NVE和NVA之间的交互协议VNTP通告NVA,有成员要加入到这个组播组中。通告的信息包括了:通告消息标识(这是一个组成员加入消息),这个组播组的组播地址,要加入的主机地址,虚拟网络的网络标识。NVE2 and NVE3 will notify NVA through the interactive protocol VNTP between NVE and NVA that some members will join this multicast group. The notified information includes: the notified message identifier (this is a group member joining message), the multicast address of the multicast group, the address of the host to join, and the network identifier of the virtual network.
NVA收到这样的组播组加入消息,会将该组成员加入到该组播组中,然后给该组的源设备VM1所连接的NVE1下发转发表项消息,告知NVE1在收到符合条件的该组播报文时,会对该组播报文进行封装。具体为:When NVA receives such a multicast group join message, it will add the group members to the multicast group, and then send a forwarding entry message to NVE1 connected to the source device VM1 of the group, telling NVE1 to receive When the multicast packet is received, the multicast packet will be encapsulated. Specifically:
如果该层叠网的底层网络支持组播转发,则选取一个层叠网的组播地址与初始报文的组播地址对应。然后通过发送映射消息到加入到了该组的成员所连接的NVE,在NVE建立点到多点的隧道,本实施例中是NVE1到NVE2和NVE3的隧道。当该组播报文到达NVE1,NVE1对组播地址进行映射,封装层叠网的一个对应组播地址,然后再从建立好的点到多点隧道转发。If the underlying network of the layered network supports multicast forwarding, a multicast address of the layered network is selected to correspond to the multicast address of the initial packet. Then, a point-to-multipoint tunnel is established at the NVE by sending a mapping message to the NVEs connected to the members of the group, which are tunnels from NVE1 to NVE2 and NVE3 in this embodiment. When the multicast message arrives at NVE1, NVE1 maps the multicast address, encapsulates a corresponding multicast address in the overlay network, and then forwards it through the established point-to-multipoint tunnel.
如果该层叠网的底层网络不支持组播,则NVA需要获取该组其他成员的NVE地址,本例的NVE2和NVE3,然后建立NVE1到NVE2的点到点隧道,以及NVE1到NVE3的点到点隧道。在该组播报文到达NVE1,NVE1会根据报文的组播地址映射为两条点到点的隧道,因此NVE1会给该报文进行复制两份后封装再转发。If the underlying network of the cascade network does not support multicast, NVA needs to obtain the NVE addresses of other members of the group, NVE2 and NVE3 in this example, and then establish a point-to-point tunnel from NVE1 to NVE2, and a point-to-point tunnel from NVE1 to NVE3 tunnel. When the multicast message reaches NVE1, NVE1 will map it into two point-to-point tunnels according to the multicast address of the message, so NVE1 will make two copies of the message and then encapsulate and forward it.
NVE与NVA之间的交互协议称为虚拟实现传输协议(virtual reality transportprotocols,简称为VNTP),图8是根据本发明优选实施例的VNTP协议的基础报文格式的示意图。The interaction protocol between NVE and NVA is called virtual reality transport protocols (virtual reality transport protocols, VNTP for short), and FIG. 8 is a schematic diagram of the basic message format of the VNTP protocol according to a preferred embodiment of the present invention.
本优选实施例的报文格式如下:The message format of this preferred embodiment is as follows:
1、NVE通告组播报文1. NVE announces multicast packets
图9是本发明优选实施例的NVE通告组播报文Type字段的定义示意图,如图9所示:Fig. 9 is a schematic diagram of the definition of the NVE announcement multicast message Type field of the preferred embodiment of the present invention, as shown in Fig. 9:
在C/R=1,E/A=1时,表示是NVE发往NVA的消息:When C/R=1, E/A=1, it means that the message is sent from NVE to NVA:
CMD/RSP=100,表示有组播成员加入(本虚拟网络支持组播转发);CMD/RSP=100, indicating that there are multicast members joining (this virtual network supports multicast forwarding);
CMD/RSP=101,表示有组播成员加入(本虚拟网络不支持组播,需要复制单薄转发);CMD/RSP=101, indicating that there are multicast members joining (this virtual network does not support multicast, it needs to be copied and forwarded);
CMD/RSP=011,表示有组播成员离开;CMD/RSP=011, indicating that a multicast member has left;
其中,图10是本发明优选实施例的NVE通告组播报文的数据字段的定义示意图,如图10所示:Wherein, Fig. 10 is a schematic diagram of the definition of the data field of the NVE announcement multicast message of the preferred embodiment of the present invention, as shown in Fig. 10:
Multicast Address:组成员要加入/离开的组播地址Multicast Address: The multicast address that the group members want to join/leave
Host Address Set:组成员地址。Host Address Set: Group member addresses.
2、NVA到NVE的回复消息,用于映射信息的通告2. The reply message from NVA to NVE is used for notification of mapping information
在C/R=1,E/A=0,表示NVA发给NVE的消息:When C/R=1, E/A=0, it means the message sent by NVA to NVE:
CMD/RSP=100,表示有组播成员加入,建立一条点到多点的隧道(本虚拟网络支持组播转发)CMD/RSP=100, it means that there are multicast members joining, and a point-to-multipoint tunnel is established (this virtual network supports multicast forwarding)
CMD/RSP=101,表示有组播成员加入,建立多条点到点的隧道(本虚拟网络不支持组播,需要复制单薄转发)CMD/RSP=101, indicating that there are multicast members joining, and multiple point-to-point tunnels are established (this virtual network does not support multicast, and needs to be copied and thinly forwarded)
CMD/RSP=011,表示有NVE不再连接有该组的成员,数据字段中所表示的NVE没有连接属于该组播成员的主机地址。删除相应的映射信息。CMD/RSP=011 means that there is an NVE that is no longer connected to the members of the group, and the NVE indicated in the data field is not connected to the host address that belongs to the multicast member. Delete the corresponding mapping information.
图11是本发明优选实施例的NVA到NVE的回复消息的数据字段的定义示意图一,当CMD/RSP=100,如图11所示对应的数据字段如下:Fig. 11 is the definition diagram one of the data field of the reply message of NVA to NVE of the preferred embodiment of the present invention, when CMD/RSP=100, as shown in Fig. 11, corresponding data field is as follows:
Multicast Address:组成员要加入组播地址Multicast Address: Group members want to join the multicast address
Overlay Multicast Address:给组播地址分配的层叠网的组播地址,当CMD/RSP=100时,图12是本发明优选实施例的NVA到NVE的回复消息的数据字段的定义示意图二,如图12所示,对应的数据字段如下:Overlay Multicast Address: the multicast address of the overlay network assigned to the multicast address, when CMD/RSP=100, Fig. 12 is the definition schematic diagram 2 of the data field of the reply message from NVA to NVE in the preferred embodiment of the present invention, as shown in Fig. 12, the corresponding data fields are as follows:
NVE Address Set:针对该组播报文,需要发送到的各个NVE,即建立接收消息的NVE和这些NVE之间的点到点隧道。NVE Address Set: Each NVE that needs to be sent to the multicast message, that is, point-to-point tunnels between the NVE that receives the message and these NVEs are established.
当CMD/RSP=011时,图13是本发明优选实施例的NVA到NVE的回复消息的数据字段的定义示意图三,如图13所示。When CMD/RSP=011, FIG. 13 is a third schematic diagram of the definition of the data field of the reply message from NVA to NVE in the preferred embodiment of the present invention, as shown in FIG. 13 .
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is Better implementation. Based on such an understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art can be embodied in the form of software products, and the computer software products are stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to enable a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in various embodiments of the present invention.
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述模块分别位于多个处理器中。It should be noted that each of the above-mentioned modules can be implemented by software or hardware. For the latter, it can be implemented in the following manner, but not limited to this: the above-mentioned modules are all located in the same processor; or, the above-mentioned modules are respectively located in multiple in the processor.
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:The embodiment of the invention also provides a storage medium. Optionally, in this embodiment, the above-mentioned storage medium may be configured to store program codes for performing the following steps:
S1,虚拟网络控制实体NVA获取虚拟网络边缘节点NVE发送的加入消息,该加入消息是该NVE连接的组播组中第一组成员发送的加入消息,该加入消息中包括:该第一组成员的信息,该组播组的组播地址信息,和该第一组成员所在虚拟网络的虚拟网络标识VNID;S1, the virtual network control entity NVA obtains the joining message sent by the virtual network edge node NVE, the joining message is the joining message sent by the first group member in the multicast group connected to the NVE, and the joining message includes: the first group member information, the multicast address information of the multicast group, and the virtual network identifier VNID of the virtual network where the first group member is located;
S2,该NVA依据该加入消息将该第一组成员加入到该组播组;S2, the NVA adds the first group member to the multicast group according to the join message;
S3,该NVA获取该NVE所在虚拟网络的组播能力,依据该组播能力确定转发表项信息,并发送该转发表项信息给该NVE,其中,在该虚拟网络支持组播转发的情况下,该转发表项信息指示该NVE与该组播组中其他组成员连接的NVE建立点到多点的隧道连接,该其他组成员为该组播组中除了该第一组员以外的组员;在该虚拟网络不支持组播转发的情况下,该转发表项信息指示该NVE与该其他组成员所在的NVE建立多条点对点隧道连接。S3, the NVA acquires the multicast capability of the virtual network where the NVE is located, determines the forwarding entry information according to the multicast capability, and sends the forwarding entry information to the NVE, wherein, in the case that the virtual network supports multicast forwarding , the forwarding entry information indicates that the NVE establishes a point-to-multipoint tunnel connection with the NVE connected to other group members in the multicast group, and the other group members are group members in the multicast group other than the first group member ; In the case that the virtual network does not support multicast forwarding, the forwarding entry information indicates that the NVE establishes multiple point-to-point tunnel connections with the NVE where the other group members are located.
可选地,存储介质还被设置为存储用于执行上述实施例的方法步骤的程序代码:Optionally, the storage medium is also configured to store program codes for executing the method steps of the foregoing embodiments:
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。Optionally, in this embodiment, the above-mentioned storage medium may include but not limited to: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk Various media that can store program codes such as discs or optical discs.
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行上述实施例的方法步骤。Optionally, in this embodiment, the processor executes the method steps of the foregoing embodiments according to the program code stored in the storage medium.
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。Optionally, for specific examples in this embodiment, reference may be made to the examples described in the foregoing embodiments and optional implementation manners, and details are not repeated in this embodiment.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that each module or each step of the above-mentioned present invention can be realized by a general-purpose computing device, and they can be concentrated on a single computing device, or distributed in a network formed by multiple computing devices Alternatively, they may be implemented in program code executable by a computing device so that they may be stored in a storage device to be executed by a computing device, and in some cases in an order different from that shown here The steps shown or described are carried out, or they are separately fabricated into individual integrated circuit modules, or multiple modules or steps among them are fabricated into a single integrated circuit module for implementation. As such, the present invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.
Claims (19)
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610206644.5A CN107294857B (en) | 2016-04-05 | 2016-04-05 | Multicast distribution processing method, device and system |
| PCT/CN2017/079481 WO2017173989A1 (en) | 2016-04-05 | 2017-04-05 | Method, device, and system for distribution processing on multicast and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610206644.5A CN107294857B (en) | 2016-04-05 | 2016-04-05 | Multicast distribution processing method, device and system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN107294857A true CN107294857A (en) | 2017-10-24 |
| CN107294857B CN107294857B (en) | 2021-04-30 |
Family
ID=60000244
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610206644.5A Expired - Fee Related CN107294857B (en) | 2016-04-05 | 2016-04-05 | Multicast distribution processing method, device and system |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN107294857B (en) |
| WO (1) | WO2017173989A1 (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110636033A (en) * | 2018-06-25 | 2019-12-31 | 中国电信股份有限公司 | Multicast data transmission method, system, multicast tunnel terminal and storage medium |
| CN113133129A (en) * | 2019-12-30 | 2021-07-16 | 华为技术有限公司 | Method, device and system for processing service |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115242733B (en) * | 2022-06-24 | 2023-10-20 | 北京百度网讯科技有限公司 | Message multicast method, multicast gateway, electronic device and storage medium |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104426680A (en) * | 2013-09-03 | 2015-03-18 | 华为技术有限公司 | Data transmission method, device and system |
| CN104917682A (en) * | 2014-03-14 | 2015-09-16 | 杭州华三通信技术有限公司 | Overlay network configuration method and device |
| CN104980287A (en) * | 2014-04-04 | 2015-10-14 | 华为技术有限公司 | Multicast group distribution method and multicast management node |
| WO2015169206A1 (en) * | 2014-05-05 | 2015-11-12 | Hangzhou H3C Technologies Co., Ltd. | Multi-homed access |
-
2016
- 2016-04-05 CN CN201610206644.5A patent/CN107294857B/en not_active Expired - Fee Related
-
2017
- 2017-04-05 WO PCT/CN2017/079481 patent/WO2017173989A1/en not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104426680A (en) * | 2013-09-03 | 2015-03-18 | 华为技术有限公司 | Data transmission method, device and system |
| CN104917682A (en) * | 2014-03-14 | 2015-09-16 | 杭州华三通信技术有限公司 | Overlay network configuration method and device |
| CN104980287A (en) * | 2014-04-04 | 2015-10-14 | 华为技术有限公司 | Multicast group distribution method and multicast management node |
| WO2015169206A1 (en) * | 2014-05-05 | 2015-11-12 | Hangzhou H3C Technologies Co., Ltd. | Multi-homed access |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110636033A (en) * | 2018-06-25 | 2019-12-31 | 中国电信股份有限公司 | Multicast data transmission method, system, multicast tunnel terminal and storage medium |
| CN110636033B (en) * | 2018-06-25 | 2021-11-26 | 中国电信股份有限公司 | Multicast data transmission method, system, multicast tunnel terminal and storage medium |
| CN113133129A (en) * | 2019-12-30 | 2021-07-16 | 华为技术有限公司 | Method, device and system for processing service |
| CN113133129B (en) * | 2019-12-30 | 2025-03-21 | 华为技术有限公司 | A method, device and system for business processing |
Also Published As
| Publication number | Publication date |
|---|---|
| CN107294857B (en) | 2021-04-30 |
| WO2017173989A1 (en) | 2017-10-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US12328257B2 (en) | Virtual layer-2 network | |
| US12278758B2 (en) | Internet group management protocol (IGMP) of a Layer-2 network in a virtualized cloud environment | |
| CN112470436B (en) | Systems, methods, and computer-readable media for providing multi-cloud connectivity | |
| US11665088B2 (en) | Assisted replication in software defined network | |
| US9698995B2 (en) | Systems and methods for providing multicast routing in an overlay network | |
| US9825900B2 (en) | Overlay tunnel information exchange protocol | |
| US9325524B2 (en) | Overlay network capable of supporting storage area network (SAN) traffic | |
| US9825822B1 (en) | Group networking in an overlay network | |
| CN105591916B (en) | A kind of message transmitting method and device | |
| CN107659484B (en) | Method, device and system for accessing VXLAN network from VLAN network | |
| CN111371664B (en) | Virtual private network access method and equipment | |
| CN108574613A (en) | The double layer intercommunication method and device of SDN data centers | |
| CN105657078B (en) | A kind of data transmission method, device and multitiered network manager | |
| CN107294857B (en) | Multicast distribution processing method, device and system | |
| CN114500171B (en) | Network system and message transmission method | |
| CN102946355A (en) | Multicast group processing method, DCI router and system | |
| CN114221895A (en) | Data transmission method, device and network equipment | |
| WO2019134637A1 (en) | Method, device, and system for multi-type network virtualization overlay interconnection |
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 | ||
| CF01 | Termination of patent right due to non-payment of annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20210430 |