WO2014121468A1 - 在网络虚拟化系统中组播数据通道建立的方法及设备 - Google Patents

在网络虚拟化系统中组播数据通道建立的方法及设备 Download PDF

Info

Publication number
WO2014121468A1
WO2014121468A1 PCT/CN2013/071466 CN2013071466W WO2014121468A1 WO 2014121468 A1 WO2014121468 A1 WO 2014121468A1 CN 2013071466 W CN2013071466 W CN 2013071466W WO 2014121468 A1 WO2014121468 A1 WO 2014121468A1
Authority
WO
WIPO (PCT)
Prior art keywords
multicast
interface
node
p2mp
core node
Prior art date
Application number
PCT/CN2013/071466
Other languages
English (en)
French (fr)
Inventor
王歆平
吴小前
胡杰晖
徐国其
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2013/071466 priority Critical patent/WO2014121468A1/zh
Priority to CN201380000118.8A priority patent/CN103430499B/zh
Priority to EP13874320.8A priority patent/EP2940938B1/en
Publication of WO2014121468A1 publication Critical patent/WO2014121468A1/zh
Priority to US14/820,128 priority patent/US9825771B2/en
Priority to US15/785,167 priority patent/US11133949B2/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/185Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with management of multicast group membership
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4604LAN interconnection over a backbone network, e.g. Internet, Frame Relay
    • H04L12/462LAN interconnection over a bridge based backbone
    • H04L12/4625Single bridge functionality, e.g. connection of two networks over a single bridge
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/16Multipoint routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/58Association of routers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/64Routing or path finding of packets in data switching networks using an overlay routing layer

Definitions

  • the present invention relates to communications technologies, and in particular, to a method and a device for establishing a multicast data channel in a network virtualization system. Background technique
  • a traditional network architecture has a two-layer or multi-layered hierarchy, and the network can be divided into different layers (including a core layer, an aggregation layer, an edge access layer, and a peer layer) according to the functions and deployment locations of the layers. Dual-homed redundant connections are often used between layers to improve reliability and aggregate user traffic layer by layer.
  • the access layer is responsible for the network access of the user terminal, and is used to provide a rich user interface type.
  • the nodes are widely distributed and the interface density is large.
  • the aggregation layer is responsible for collecting the access node traffic, and is used to expand the service range of the core node, and the interface type. Rich, strong convergence, and comprehensive business processing capabilities;
  • the core layer is responsible for high-speed forwarding, inter-regional service interoperability, and fewer nodes.
  • the existing network architecture uses two or more switching master devices in the same network layer to form a network virtual when processing point-to-multipoint exchange messages.
  • a system approach that reduces the complexity of using multiple redundant components and reduces costs.
  • multiple high-end routers are connected to the central switch fabric chassis through ultra-short-range fibers to form a network virtualization system that includes multiple routers, which is convenient for cluster routers. Centralized management.
  • the present invention provides a method and a device for establishing a multicast data channel in a network virtualization system, which are used to solve the problem that the cluster router cannot implement the multicast service in the prior art.
  • an embodiment of the present invention provides a method for establishing a multicast data channel in a network virtualization system, including: Creating a virtual remote logical interface for the external connection port of the remote node on the controller, where the external connection port of the remote node is an interface for connecting with other network devices;
  • the controller generates a multicast tree tunnel rooted at a core node
  • the controller obtains a multicast protocol packet, where the multicast protocol packet is a protocol sent by the device outside the network virtualization system through the remote node or the core node of the network virtualization system. 4 ⁇ ;
  • the controller obtains a multicast source address and a multicast group address from the multicast protocol packet; the controller is configured according to the multicast source address, a multicast group address, a multicast inbound interface, and a multicast outbound interface. Generating a multicast forwarding table, where the multicast outbound interface includes an outer connection port of the core node and the virtual remote logical interface;
  • the controller allocates a P2MP PW label to the multicast source address and the multicast group address;
  • the controller searches for an outer connection port of the core node from the multicast forwarding table, and searches for an outbound interface of the multicast tree tunnel at the core node according to the multicast tree tunnel, according to the multicast
  • the source address, the multicast group address, the P2MP PW label, the multicast ingress interface, the outer interface of the core node, and the multicast tree tunnel generate the core node at an outbound interface of the core node.
  • the controller sends the P2MP PW multicast forwarding table of the core node to the core node, so that the core node forwards the multicast data packet according to the P2MP PW multicast forwarding table.
  • the method further includes: the controller searching the virtual remote logical interface from the multicast forwarding table; The mapping relationship between the remote logical interface and the external connection port of the remote node acquires an external connection port of the remote node;
  • the controller searches for an outbound interface of the multicast tree tunnel at the remote node according to the multicast tree tunnel;
  • the controller generates a P2MP PW multicast forwarding table of the remote node according to the outbound interface of the remote node, the multicast tree tunnel, the outbound interface of the remote node, and the P2MP PW label. ;
  • the controller sends the P2MP PW multicast forwarding table of the remote node to the remote node, so that the remote node forwards the multicast data packet according to the P2MP PW multicast forwarding table.
  • the multicast inbound interface is configured to search, according to the multicast source address, an outbound interface corresponding to the multicast source address in a preset unicast forwarding table.
  • the obtaining, by the controller, the multicast protocol packet includes:
  • the controller receives the protocol established between the core node and the remote node. a point-to-point virtual link P2P PW, and the multicast protocol message transparently transmitted by a control channel between the core node and the controller; or
  • the controller passes a control channel between the core node and the controller. Receiving the multicast protocol packet.
  • an embodiment of the present invention provides a method for establishing a multicast data channel in a network virtualization system, including:
  • the core node generates a multicast tree tunnel rooted at a core node
  • the core node obtains a multicast protocol packet, where the multicast protocol packet is a protocol sent by the device outside the network virtualization system through the remote node or the core node of the network virtualization system.
  • the core node obtains a multicast source address and a multicast group address from the multicast protocol; the core node is configured according to the multicast source address, multicast group address, multicast inbound interface, and multicast outbound interface. Generating a multicast forwarding table, where the multicast outbound interface includes an outer connection port of the core node and the virtual remote logical interface;
  • the core node allocates a P2MP PW label to the multicast source address and the multicast group address;
  • the core node searches for an outer interface of the core node from the multicast forwarding table, and searches for an outbound interface of the multicast tree tunnel at the core node according to the multicast tree tunnel, according to the multicast
  • the source address, the multicast group address, the P2MP PW label, the multicast ingress interface, the outer interface of the core node, and the multicast tree tunnel are generated at the outbound interface of the core node.
  • the core node saves the P2MP PW multicast forwarding table of the core node, so that the core node forwards the multicast data packet according to the P2MP PW multicast forwarding table.
  • the method further includes: the core node searching for the virtual remote logical interface from the multicast forwarding table;
  • the mapping relationship between the remote logical interface and the external connection port of the remote node acquires an external connection port of the remote node;
  • the core node searches for an outbound interface of the multicast tree tunnel at the remote node according to the multicast tree tunnel;
  • the P2MP PW multicast forwarding table of the remote node is generated by the core node according to the external connection port of the remote node, the multicast tree tunnel at the outbound interface of the remote node, and the P2MP PW label. ;
  • the core node sends a P2MP PW multicast forwarding of the remote node to the remote node, so that the remote node forwards the multicast data packet according to the P2MP PW multicast forwarding table.
  • the multicast inbound interface searches for an egress interface corresponding to the multicast source address in a preset unicast forwarding table according to the multicast source address.
  • the obtaining, by the core node, the multicast protocol packet includes:
  • the core node receives the establishment between the core node and the remote node.
  • the point-to-point virtual link P2P PW, and the multicast protocol packet transparently transmitted by the control channel between the core node and the controller.
  • an embodiment of the present invention provides a control device, where the control device is located in a network virtualization system, and includes:
  • a creating unit configured to create a virtual remote logical interface for the external connection port of the remote node on the control device, where the external connection port of the remote node is an interface for connecting with other network devices; After the creating unit creates the virtual remote logical interface, generating a multicast tree tunnel rooted at the core node; An obtaining unit, configured to obtain, after the generating unit generates the multicast tree tunnel, a multicast protocol packet, where the multicast protocol packet is a virtualized device by using a network other than the network virtualization system The remote node of the system or the protocol sent by the core node;
  • An obtaining unit configured to obtain a multicast source address and a multicast group address from the multicast protocol after the obtaining unit obtains the multicast protocol packet;
  • the generating unit is further configured to: after the acquiring unit acquires the multicast source address and the multicast group address, according to the multicast source address, the multicast group address, the multicast inbound interface, and the multicast out The interface generates a multicast forwarding table, where the multicast outbound interface includes an outer connection port of the core node and the virtual remote logical interface;
  • An allocating unit configured to allocate a P2MP PW label for the multicast source address and the multicast group address
  • a searching unit configured to search for an outer connection port of the core node from the multicast forwarding table after the generating unit generates the multicast forwarding table
  • the generating unit is further configured to: after the searching unit finds an external connection port of the core node, search for an outbound interface of the multicast tree tunnel at the core node according to the multicast tree tunnel, according to the Generating the multicast source address, the multicast group address, the P2MP PW label, the multicast ingress interface, the outer interface of the core node, and the multicast tree tunnel at the outbound interface of the core node Point-to-multipoint virtual link P2MP PW multicast forwarding table of the core node;
  • a sending unit configured to send, after the generating unit generates the P2MP PW multicast forwarding table, a P2MP PW multicast forwarding table of the core node to the core node, so that the core node is configured according to the P2MP PW
  • the multicast forwarding table forwards multicast data packets.
  • the searching unit is further configured to search the virtual remote logical interface from the multicast forwarding table
  • the acquiring unit is further configured to acquire an external connection port of the remote node according to a mapping relationship between the virtual remote logical interface and an external connection port of the remote node;
  • the searching unit is further configured to search, according to the multicast tree tunnel, an outbound interface of the multicast tree tunnel at the remote node;
  • the generating unit is further configured to generate, according to the external interface of the remote node, the multicast tree tunnel at the outbound interface of the remote node and the P2MP PW label, and generate the remote node P2MP PW multicast forwarding table;
  • the sending unit is further configured to send the P2MP PW multicast forwarding table of the remote node to the remote node, so that the remote node forwards the multicast data packet according to the P2MP PW multicast forwarding table. .
  • the multicast inbound interface searches for an egress interface corresponding to the multicast source address in a preset unicast forwarding table according to the multicast source address.
  • the obtaining unit is specifically used to
  • the core node receives the protocol packet Broadcast protocol ⁇ .
  • an embodiment of the present invention provides a communications device, where the communications device is located in a network virtualization system, where the communications device includes:
  • a creating unit configured to create a virtual remote logical interface on the communication device for the external connection port of the remote node, where the external connection port of the remote node is an interface for connecting with other network devices; After the creating unit creates the virtual remote logical interface, generating a multicast tree tunnel rooted at the communication device;
  • An obtaining unit configured to obtain, after the generating unit generates the multicast tree tunnel, a multicast protocol packet, where the multicast protocol packet is a virtualized device by using a network other than the network virtualization system a protocol packet sent by the remote node of the system or the communication device;
  • An obtaining unit configured to obtain a multicast source address and a multicast group address from the multicast protocol after the obtaining unit obtains the multicast protocol packet;
  • the generating unit is further configured to generate, according to the multicast source address, the multicast group address, the multicast inbound interface, and the multicast outbound interface, after the acquiring unit acquires the multicast source address and the multicast group address a multicast forwarding table, where the multicast outgoing interface includes an external interface of the communication device and The virtual remote logical interface;
  • An allocating unit configured to allocate a P2MP PW label for the multicast source address and the multicast group address
  • a searching unit configured to: after the generating unit generates the multicast forwarding table, search for an external connection port of the communication device from the multicast forwarding table, and search for the multicast tree tunnel according to a multicast tree tunnel.
  • An outbound interface of the communication device
  • the generating unit is further configured to: after the searching unit searches for the outbound interface of the communication device, according to the multicast source address, the multicast group address, the P2MP PW label, the multicast ingress interface, and the An external connection port of the communication device and the multicast tree tunnel generate an P2MP PW multicast forwarding table of the point-to-multipoint virtual link of the communication device on an outbound interface of the communication device;
  • a saving unit configured to: after the generating unit generates the P2MP PW multicast forwarding table, save a P2MP PW multicast forwarding table of the communications device, so that the communications device forwards according to the P2MP PW multicast forwarding table Multicast data packet.
  • the communications device further includes: a sending unit;
  • the searching unit is further configured to search the virtual remote logical interface from the multicast forwarding table
  • the acquiring unit is further configured to acquire an external connection port of the remote node according to a mapping relationship between the virtual remote logical interface and an external connection port of the remote node;
  • the searching unit is further configured to search, according to the multicast tree tunnel, an outbound interface of the multicast tree tunnel at the remote node;
  • the generating unit is further configured to generate, according to the external connection port of the remote node, the P2MP PW group of the remote node on the interface of the remote node and the P2MP PW label of the multicast tree tunnel. Broadcast forwarding table;
  • the sending unit is configured to send the P2MP PW multicast forwarding table of the remote node to the remote node, so that the remote node forwards the multicast data packet according to the P2MP PW multicast forwarding table.
  • the multicast inbound interface searches for a corresponding unicast forwarding table corresponding to the multicast source address according to the multicast source address mouth.
  • the obtaining unit is specifically used to
  • an embodiment of the present invention provides a control device, where the control device is located in a network virtualization system, where the control device includes:
  • a processor configured to create a virtual remote logical interface for the external connection port of the remote node, where the external connection port of the remote node is an interface for connecting with other network devices;
  • the multicast protocol packet is a protocol sent by the device outside the network virtualization system by using the remote node or the core node of the network virtualization system;
  • the tunnel is located at the outbound interface of the core node, according to the multicast source address, the multicast group address, the P2MP PW label, the multicast ingress interface, the outer interface of the core node, and the multicast tree.
  • a transmitter configured to send a P2MP PW multicast forwarding table of the core node to the core node after the processor generates a P2MP PW multicast forwarding table of the core node, so that the core node is configured according to the The P2MP PW multicast forwarding table forwards multicast data packets.
  • the processor is further configured to: search for the virtual remote logical interface from the multicast forwarding table; Acquiring an external connection port of the remote node according to a mapping relationship between the virtual remote logical interface and an external connection port of the remote node;
  • the transmitter And searching, according to the multicast tree tunnel, an outbound interface of the multicast tree tunnel at the remote node; according to an outer connection port of the remote node, an outbound interface of the multicast tree tunnel at the remote node And generating, by the P2MP PW label, a P2MP PW multicast forwarding table of the remote node; the transmitter is further used for
  • the multicast inbound interface is configured to search, according to the multicast source address, an outbound interface corresponding to the multicast source address in a preset unicast forwarding table.
  • the processor is specifically used to
  • the core node receives the protocol packet Broadcast protocol ⁇ .
  • an embodiment of the present invention provides a communications device, where the communications device is located in a network virtualization system, where the communications device includes:
  • a processor configured to create a virtual remote logical interface for the external connection port of the remote node on the communication device, where the external connection port of the remote node is an interface for connecting with other network devices;
  • the multicast protocol packet is a protocol packet sent by the device outside the network virtualization system by the remote node of the network virtualization system or the communication device;
  • a memory configured to save a P2MP PW multicast forwarding table of the communication device, so that the communications device forwards the multicast data packet according to the P2MP PW multicast forwarding table.
  • the processor is further configured to: search for the virtual remote logical interface from the multicast forwarding table;
  • the communications device further includes: a transmitter;
  • the transmitter is configured to send the P2MP PW multicast forwarding table of the remote node to the remote node, so that the remote node forwards the multicast data packet according to the P2MP PW multicast forwarding table.
  • the multicast inbound interface is configured to search, according to the multicast source address, an outbound interface corresponding to the multicast source address in a preset unicast forwarding table.
  • the processor is specifically used to
  • the embodiment of the present invention provides a method for sending a multicast data packet, including: if a core node receives a multicast data packet, the core node searches for the core node according to the multicast data packet. P2MP PW multicast forwarding table;
  • the core node directly sends the multicast data packet by using the outer node of the core node.
  • the method further includes: if the forwarding out interface of the multicast data packet is determined to be an internal egress interface of the core node, The P2MP PW label and the label of the multicast tree tunnel encapsulate the multicast data packet to obtain a first multicast data packet;
  • the method further includes:
  • the intermediate remote node receives the first multicast data packet, obtains the P2MP PW label from the first multicast data packet, and searches for the P2MP PW group of the intermediate remote node according to the P2MP PW label. Broadcast the forwarding table to obtain a matching multicast forwarding outbound interface;
  • the intermediate remote node sends the group according to the first multicast data packet.
  • the inbound label and the outgoing label in the broadcast tree tunnel label are exchanged to obtain a second multicast data packet; the intermediate remote node tunnels the second multicast data packet from the multicast tree tunnel in the middle
  • the outbound interface of the remote node is sent out.
  • the method further includes:
  • the intermediate remote node If the matched multicast forwarding outbound interface is an external connection port of the intermediate remote node, the intermediate remote node sends the first multicast datagram directly through an external connection port of the intermediate remote node. Text.
  • the method further includes: If the remote node receives the second multicast data packet, the P2MP PW label is obtained from the second multicast data packet, and the P2MP PW group of the remote node is searched according to the P2MP PW label. Broadcast the forwarding table to obtain a matching multicast forwarding outbound interface;
  • the remote node sends the third multicast data packet by using the matched multicast forwarding outbound interface.
  • the embodiment of the present invention further provides a network virtualization system, including a core node and an intermediate remote node connecting the core node, and a remote node connecting the intermediate remote node;
  • the core node is specifically used to determine the core node.
  • the core node encapsulates the multicast data packet by using a P2MP PW label and a label of the multicast tree tunnel to obtain the first a multicast data message;
  • the internal connection interface of the core node is an outbound interface of the multicast tree tunnel at the core node;
  • the intermediate remote node is specifically used for
  • the PW multicast forwarding table obtains a matching multicast forwarding outbound interface.
  • the intermediate remote node sends the group according to the first multicast data packet.
  • the inbound label and the outgoing label in the broadcast tree tunnel label are exchanged to obtain a second multicast data packet; the intermediate remote node tunnels the second multicast data packet from the multicast tree tunnel in the middle
  • the outbound interface of the remote node is sent out.
  • the intermediate remote node directly sends the first multicast data packet to the remote node through the external connection port of the intermediate remote node;
  • the remote node is specifically used for
  • the remote node sends the third multicast data packet by using the matched multicast forwarding outbound interface.
  • the core node is further configured to: if it is determined that the forwarding out interface of the multicast data packet is an external interface of the core node, the core node The multicast data packet is sent directly through the outer node of the core node.
  • a method and a device for establishing a multicast data channel in a network virtualization system when the controller is an independent device in the network virtualization system, is external to the remote node on the controller. After the virtual remote logical interface is created on the interface, the controller generates a multicast tree tunnel rooted at the core node, and obtains a multicast protocol sent by the device outside the network virtualization system. The multicast source address and the multicast group address are obtained, and the multicast forwarding table is generated according to the multicast source address, the multicast group address, the multicast inbound interface, and the multicast outbound interface, where the controller is the multicast source address.
  • FIGS. 1A to 1C are structural diagrams of a network virtualization system provided by the present invention.
  • FIG. 2 is a schematic flowchart of a method for establishing a network virtualization multicast data channel according to an embodiment of the present invention
  • FIG. 3 is a schematic flowchart of a method for establishing a network virtualization multicast data channel according to another embodiment of the present invention.
  • FIG. 4 is a schematic flow chart of a method for sending a multicast data packet according to another embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a control device according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a communication device according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of a control device according to another embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of a communication device according to another embodiment of the present invention.
  • the technical solutions of the present invention will be clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It will be apparent that the various embodiments described below are merely exemplary embodiments of the invention. Based on the following various embodiments of the present invention, those skilled in the art can obtain other technical features that can solve the technical problems of the present invention and achieve the technical effects of the present invention by equivalently transforming some or even all of the technical features without creative work. The various embodiments of the invention are apparent from the scope of the invention as disclosed.
  • the current cluster router is also called a multi-chassis router.
  • the multi-chassis hardware cluster technology that is, multi-level full-switch network technology
  • the matrix system enables it to work together and is only represented as a logical router, thus breaking through the limitations of single chassis in terms of switching capacity, power consumption, and heat dissipation, and smoothly expanding to a larger capacity cluster routing system.
  • the network virtualization system described in the embodiment of the present invention may be the cluster routing system described above, or may be another network virtualization system including a remote node and a core node, as shown in FIG. 1A to FIG.
  • FIG. 1A shows an architectural diagram of a network virtualization system.
  • the network virtualization system includes: a core node, a remote node, and a controller.
  • the controller is used as the control device in the network virtualization system, and the core node and the remote node are only used as forwarding devices in the network virtualization system.
  • FIG. 1B and FIG. 1C respectively show an architecture diagram of another network virtualization system.
  • the network virtualization system includes: a core node and a remote node.
  • the controller is located in the core node and belongs to the unit/module within the core node.
  • the core node can be used as a control device in the network virtualization system or as a forwarding device in the network virtualization system.
  • the remote node acts only as a forwarding device in the network virtualization system.
  • the core node, the remote node, and the controller in the above FIG. 1A to FIG. 1C may be devices such as routers or switches.
  • the core node and the remote node may be low-performance routers or switches, etc., and the controller may be a high-performance router or a switch.
  • the network virtualization system mentioned in the embodiment of the present invention is a system in which the control function and the forwarding function are separated, and in the initial stage of the network virtualization system, the transmission control is established between the control device and the forwarding device in the network virtualization system.
  • the channel of the message is the control channel.
  • the multicast tree tunnel of the network virtualization system is a multicast tree tunnel established by the core node and all the remote nodes are leaves.
  • the method in the embodiment of the present invention is based on a method implemented by a network virtualization system after establishing a multicast tree tunnel.
  • FIG. 1B shows an architectural diagram of a network virtualization system of a dual control scenario
  • FIG. 1C shows an architectural diagram of a network virtualization system of a single control scenario.
  • the network virtualization system of the dual control scenario in Figure 1 B includes four core nodes.
  • core nodes A, B, C, D and 13 remote nodes, and the controller of the network virtualization system is located in the core node.
  • the controller of the network virtualization system is located in the core node, and then forms a control end in the core node.
  • the network virtualization system may have a primary control terminal and a standby control terminal, wherein the primary control terminal may be integrated in the core node A, or may be parasitic in the core node A, and is prepared.
  • the terminal is integrated in the core node B or is parasitic in the core node B.
  • multiple primary control terminals and multiple standby control terminals may be included.
  • another primary control terminal may be integrated on the core node C, and another device is also integrated in the core node D. Control terminal.
  • a network virtualization system with dual control scenarios refers to two core nodes (such as a core node and a core node B) from the perspective of each remote node, such as an Access Point (AP).
  • the control end control that is, the main control end (such as core node A) and the standby control end (such as core node B) control the remote nodes (such as remote nodes 1, 2, 3, 4, 5, 6, etc.).
  • Figure 1C shows the architecture of a network virtualization system with a single control scenario.
  • two core nodes such as core node A and core node B
  • the core nodes share a main control end.
  • each remote node such as remote nodes 1, 2, 3, 4, 5, 6, etc.
  • only one control terminal controls that is, the main The control terminal and the standby control terminal are only one control device.
  • FIG. 1A to FIG. 1 C illustrate a method for establishing a multicast data channel in a network virtualization system.
  • FIG. 2 is a schematic flowchart of a method for establishing a multicast data channel in a network virtualization system according to an embodiment of the present invention. As shown in FIG. 1A and FIG. 2, the group in the network virtualization system in this embodiment is shown in FIG.
  • the method of establishing a broadcast data channel is as follows.
  • the network virtualization system is pre-established. After the network virtualization system is established, the network virtualization system has P2MP TE (English name: Point-To-Multipoint Traffic Engineering) multicast 4 pairs of tunnels.
  • the P2MP TE multicast 4-pair tunnel can be understood as the core node as the root, and all the remote nodes are the leaf multicast tree tunnel. Each core node corresponds to a P2MP TE multicast tree tunnel.
  • the network virtualization system may be a P2MP TE multicast tree tunnel that is rooted by each core node (Master) and all remote nodes (APs) in the network virtualization system are leaves.
  • Master core node
  • APs remote nodes
  • the multicast tree tunnel may be a resource reservation-traffic project (English name: Resource Reservation Pmtocob Traffic Engineering, RSVP-TE) multicast tree tunnel, or may be a label distribution protocol extension to support multiple points ( English full name: Multipoint extensions for Label Distribution Protocol (MLDP) point-to-multipoint label Switching path (English name: P2MP Label Switching Path, P2MP LSP for short) Multicast tree tunnel, or other P2MP tunnel.
  • RSVP-TE Resource Reservation Pmtocob Traffic Engineering
  • MLDP Multipoint extensions for Label Distribution Protocol
  • P2MP LSP for short
  • the network virtualization system may establish two P2MP TE multicast tree tunnels with the primary core node (Master) and the standby core node (Master) as the root, and all the remote node (AP) nodes as leaves.
  • the external connection port in this embodiment is used to refer to an interface connected to other network devices than the network virtualization system.
  • the virtual remote logical interface can be a virtual remote logical interface with multicast capability.
  • the controller generates a multicast tree tunnel rooted at the core node.
  • the controller obtains a multicast protocol packet, where the multicast protocol packet is a protocol sent by the device outside the network virtualization system by using the remote node or the core node of the network virtualization system. Message.
  • the multicast protocol packet can be an Internet Group Management Protocol (English name: Internet Group Management Protocol, IGMP for short), or the multicast protocol packet can be PIM (English full name: Protocol Independent Multicast).
  • IGMP Internet Group Management Protocol
  • PIM Protocol Independent Multicast
  • the multicast protocol message at the location may be a multicast protocol sent by the user equipment for configuring the network virtualization system.
  • the controller obtains a multicast source address and a multicast group address from the multicast protocol packet.
  • the controller generates a multicast forwarding table according to the multicast source address, the multicast group address, the multicast inbound interface, and the multicast outbound interface.
  • the multicast outgoing interface includes an external interface of the core node.
  • the virtual remote logical interface is a multicast forwarding table according to the multicast source address, the multicast group address, the multicast inbound interface, and the multicast outbound interface.
  • the multicast inbound interface may be configured to search for an outbound interface corresponding to the multicast source address in the preset unicast forwarding table according to the multicast source address.
  • the unicast forwarding table at this location is a forwarding table generated by an Internet address (English full name: Internet Protocol, IP for short) routing protocol, which is well known.
  • the controller allocates a P2MP PW label to the multicast source address and the multicast group address; the controller searches for the outer interface of the core node from the multicast forwarding table, according to the multicast tree tunnel. Finding an outbound interface of the multicast tree tunnel at the core node, according to the multicast
  • the source address, the multicast group address, the P2MP PW label, the multicast ingress interface, the outer interface of the core node, and the multicast tree tunnel generate the core node at an outbound interface of the core node. P2MP PW multicast forwarding table.
  • the controller sends a point-to-multipoint Pseudo Wire (P2MP PW) multicast forwarding table of the core node to the core node, so that the core node Forwarding the multicast data packet according to the P2MP PW multicast forwarding table.
  • P2MP PW point-to-multipoint Pseudo Wire
  • the controller sends the P2MP PW multicast forwarding table of the core node to the core node by using a control channel of the network virtualization system;
  • the control channel is a channel for transmitting a control management message between the control device and the forwarding device when the network virtualization system is established.
  • controller obtaining the multicast protocol in the foregoing step 203 may specifically include:
  • the controller receives the core node and the remote node. Establishing the point-to-point virtual link P2P PW, and the multicast protocol message transparently transmitted by the control channel between the core node and the controller; or
  • the controller passes between the core node and the controller.
  • the control channel receives the multicast protocol message.
  • the controller when the controller is used as a separate control device in the network virtualization system, the controller can implement a P2MP PW group that generates a core node.
  • the broadcast forwarding table the controller may send the P2MP PW multicast forwarding table of the core node to the core node, so that the core node forwards the multicast data packet according to the P2MP PW multicast forwarding table, so that the network virtualization system can support the group.
  • the broadcast service solves the problem that the cluster router cannot implement the multicast service in the prior art.
  • the foregoing method for establishing a multicast data channel in the network virtualization system may further include steps 208 to 213 not shown in the following figure.
  • the controller searches for the virtual remote logical interface from the multicast forwarding table.
  • the controller is configured according to the virtual remote logical interface and an outer connection port of the remote node.
  • the mapping relationship acquires the outer connection port of the remote node.
  • the controller searches for an outbound interface of the multicast tree tunnel at the remote node according to the multicast tree tunnel.
  • the controller generates, according to the external connection port of the remote node, the P2MP of the remote node on the outbound interface of the remote node and the P2MP PW label.
  • the label allocation management unit of the network virtualization system can allocate P2MP PW labels for each P2MP PW multicast tree and manage P2MP PW labels; for example, maintain (S, G) and P2MP LabeK labels), MID (group Broadcast ID, English full frequency: Multicast Identification), Outlntf mapping relationship.
  • S, G is obtained from the multicast protocol packet;
  • S is the multicast source address,
  • G is the multicast group address such as the Internet Protocol (English name: Internet Protocol, IP for short);
  • Outlntf is the outgoing interface information. .
  • the label distribution management unit described above may be an independent device in the network virtualization system or may be parasitic on a controller in the network virtualization system.
  • the above P2MP PW multicast tree is a P2MP PW multicast tree with the core node as the root and some or all of the remote nodes corresponding to the outbound interface in Outlntf as leaves.
  • the controller sends the P2MP PW multicast forwarding of the remote node to the remote node, so that the remote node forwards the multicast data packet according to the P2MP PW multicast forwarding table.
  • the controller sends the P2MP PW multicast forwarding table of the remote node to the remote node corresponding to the virtual remote logical interface by using the control channel of the network virtualization system;
  • the control channel is a channel for transmitting a control management message between the control device and the forwarding device when the network virtualization system is established.
  • the multicast data channel is established in the network virtualization system.
  • the controller can generate a P2MP PW multicast switch of the remote node.
  • the controller can send the P2MP PW multicast forwarding table of the remote node to the remote node, so that the remote node forwards the multicast data packet according to the P2MP PW multicast forwarding table of the remote node, so that the network virtual
  • the system can support multicast services and solve In the prior art, the cluster router cannot implement the multicast service.
  • step 205 can be specifically analyzed:
  • the controller obtains a multicast source address (S) and a multicast group address (G) from the multicast protocol packet, and the controller may also be in a preset unicast forwarding table.
  • Incoming interface Inlntf ).
  • step 205 the controller combines the mapping relationship between the virtual remote logical interface and the external interface of the remote node, and the outbound interface of the core node to form an outgoing interface (Outlntf);
  • the controller forms a virtual remote logical interface that is mapped to the external interface of the remote node, and an outgoing interface of the core node forms an interface list information.
  • the multicast forwarding table ⁇ (S, G); Inlntf; Outlntf ⁇ is generated according to the multicast source address, the multicast group address, the multicast inbound interface, and the multicast outbound interface.
  • the internal data transmission channel is used to implement the service connection of each node in the network virtualization system, thereby implementing the multicast service in the network virtualization system.
  • the connectivity enables the network virtualization system to support the forwarding of multicast data packets with high efficiency and high quality.
  • the multicast forwarding table may be ⁇ ( S, G ); Inlntf; Outlntf ⁇ .
  • (S, G) is obtained from the multicast protocol packet; S is the multicast source address, and G is the multicast group address.
  • the multicast forwarding table may include a virtual private network identifier (VPNID), such as a multicast forwarding table, which may be ⁇ VPNID+(S, G); Inlntf ; Outlntf ⁇ .
  • VPNID virtual private network identifier
  • FIG. 3 is a schematic flowchart of a method for establishing a multicast data channel in a network virtualization system according to an embodiment of the present invention. Referring to FIG. 1B, FIG. 1C, and FIG. 3, the network in this embodiment is shown in FIG.
  • the method for establishing a multicast data channel in a virtualization system is as follows.
  • the network virtualization system is pre-established. After the network virtualization system is established, the network virtualization system has a P2MP TE multicast tree tunnel, and the P2MP TE multicast tree tunnel at the location can be understood as a core node. Root, all remote nodes are leaf multicast tree tunnels. Each core node corresponds to a P2MP TE multicast tree tunnel.
  • a network virtualization system can be built by each core node (Master) As a root, all remote nodes (APs) in the network virtualization system are P2MP TE multicast tree tunnels of the leaf.
  • Master core node
  • APs remote nodes
  • the network virtualization system may establish two P2MP TE multicast tree tunnels with the primary core node (Master) and the standby core node (Master) as the root, and all the remote node (AP) nodes as leaves.
  • the core node generates a multicast tree tunnel rooted at the core node.
  • the core node obtains a multicast protocol packet, where the multicast protocol packet is a protocol sent by the device outside the network virtualization system by using the remote node or the core node of the network virtualization system. Message.
  • the multicast protocol message at the location may be a multicast protocol sent by the user equipment for configuring the network virtualization system.
  • the core node obtains a multicast source address and a multicast group address from the multicast protocol.
  • the core node generates a multicast forwarding table according to the multicast source address, the multicast group address, the multicast inbound interface, and the multicast outbound interface.
  • the multicast outbound interface includes an external interface of the core node.
  • the virtual remote logical interface includes an external interface of the core node.
  • the multicast inbound interface may be configured to search for an outbound interface corresponding to the multicast source address in a preset unicast forwarding table according to the multicast source address.
  • the core node allocates a P2MP PW label to the multicast source address and the multicast group address.
  • the core node searches for the outer interface of the core node from the multicast forwarding table, according to the multicast tree tunnel. Finding an outbound interface of the multicast tree tunnel at the core node, according to the multicast source address, a multicast group address, the multicast ingress interface, an outer connection port of the core node, and the multicast tree
  • the tunnel generates a P2MP PW multicast forwarding table of the core node at an outbound interface of the core node.
  • the core node's P2MP PW multicast forwarding table can be: ⁇ (S, G ); Inlntf; Outlntf ⁇ of the core node.
  • S, G is obtained from the multicast protocol packet;
  • S represents the multicast source address, G represents the multicast group address, Inlntf represents the incoming multicast interface, and
  • Outlntf of the core node represents the core node.
  • List information consisting of the outbound interface of the outer node and the multicast tree tunnel at the core node.
  • the core node saves the P2MP PW multicast forwarding table of the core node, so that the core node forwards the multicast data packet according to the P2MP PW multicast forwarding table.
  • the "core node obtaining the multicast protocol packet" in the foregoing step 303 may specifically include:
  • the core node receives the core node and the remote node.
  • the established point-to-point virtual link (English name: Point-To-Point Pseudo Wire, referred to as P2P PW), and the multicast protocol transparently transmitted through the control channel between the core node and the controller.
  • the core node when the core node is a control device, and the multicast protocol packet is a protocol packet sent by the remote node to a device other than the network virtualization system, the core node receives the core packet.
  • a P2P PW established between the node and the remote node, and the multicast protocol packet transparently transmitted by the control channel between the core node and the controller;
  • the core node When the core node is a control device, and the multicast protocol message is that the core node receives a protocol packet sent by a device other than the network virtualization system, the core node directly receives the multicast protocol 4 Yan Wen.
  • the core node in the method for establishing a multicast data channel in the network virtualization system of the embodiment, when the controller is located in the core node in the network virtualization system, the core node can implement the P2MP PW group of the core node.
  • the broadcast forwarding table is further configured to save the P2MP PW multicast forwarding table of the core node, so that the core node forwards the multicast data packet according to the P2MP PW multicast forwarding table, so that the network virtualization system can support the multicast service, and the solution is solved.
  • the cluster router cannot implement the multicast service.
  • the foregoing method for establishing a multicast data channel in the network virtualization system may further include steps 308 to 313 not shown in the following figure.
  • the core node searches for the virtual remote logical interface from the multicast forwarding table. 309. The core node acquires an outer connection port of the remote node according to a mapping relationship between the virtual remote logical interface and an outer interface of the remote node.
  • the core node searches, according to the multicast tree tunnel, an outbound interface of the multicast tree tunnel at the remote node. 31.
  • the core node generates, according to the external connection port of the remote node, the multicast tree tunnel generates the P2 MP PW multicast of the remote node at the outbound interface of the remote node and the P2 MPPW label. Forwarding table.
  • the P2MP PW multicast forwarding table of the remote node may be a ⁇ P2MP PW label; an Outlntf ⁇ of the remote node.
  • Outlntf of the remote node represents the list of the external interface of the remote node and the outbound interface of the multicast tree tunnel at the remote node.
  • control end uniformly allocates two P2MP PW labels for each (S, G), and generates two P2MP PW multicast forwarding tables, which are the main P2MP PW multicast rooted at the primary core node.
  • the core node sends the P2MP PW multicast forwarding table of the remote node to the remote node, so that the remote node forwards the multicast data packet according to the P2MP PW multicast forwarding table.
  • the core node when the controller is located in the core node in the network virtualization system, the core node can implement the P2MP PW multicast transfer of the remote node.
  • the P2MP PW multicast forwarding table of the remote node is sent to the remote node, so that the remote node forwards the multicast data packet according to the P2MP PW multicast forwarding table, so that the network virtualization system can support the multicast.
  • the service solves the problem that the cluster router cannot implement the multicast service in the prior art.
  • the core node A is the primary control end
  • the core node B is the standby control end
  • the core node in the above step 303 obtains the core node in the multicast protocol packet as the core node A.
  • the core node A also needs to back up the obtained multicast protocol message to the core node B.
  • the core node in the foregoing step 303 obtains the core node in the multicast protocol packet as the core node B, the core node B needs to pass the obtained multicast protocol packet through the core.
  • the control channel between node A and core node B is sent to core node A.
  • the foregoing multicast protocol packet is a protocol sent by the device outside the network virtualization system by using the remote node or the core node of the network virtualization system.
  • the protocol between the core node where the primary control end is located and the core node where the standby control end is located is synchronized.
  • the multicast protocol packet passes through the remote node and the main control terminal.
  • the P2P PW between the core nodes is transparently transmitted to the main control terminal.
  • the main control terminal synchronizes the multicast protocol packets to the control channel through the control channel between the core node where the main control terminal is located and the core node where the standby control terminal is located.
  • the control side of the core node is a protocol sent by the device outside the network virtualization system by using the remote node or the core node of the network virtualization system.
  • the control channel between the core node where the main control terminal is located and the core node where the standby control terminal is located is the control channel that has been established after the network system is established.
  • a multicast data channel needs to be established for each core node having a control end, that is, the process of steps 301 to 307 is repeated to obtain a P2MP PW multicast forwarding table of each core node, And causing the core node to forward the multicast data packet according to the P2MP PW multicast forwarding table.
  • the multicast tree receives a certain multicast data at the core node having the primary control end.
  • the packet is transmitted to the core node with the standby control end for backup.
  • the multicast data packet of the core node with the primary control end has been sent through the interface of the multicast tree tunnel or the outbound interface of the core node, or the multicast data packet has been sent to the remote node.
  • the multicast data packets backed up on the core node are discarded. Otherwise, the backup multicast data packets are forwarded.
  • FIG. 4 is a schematic flowchart of a method for sending a multicast data packet according to an embodiment of the present invention. As shown in FIG. 4, a multicast data packet sending method in this embodiment is as follows.
  • the core node searches the P2MP PW multicast forwarding table of the core node according to the multicast data packet, and determines that the forwarding interface of the multicast data packet is an outer connection of the core node.
  • the core node directly sends the multicast data packet through the external connection port of the core node.
  • the core node encapsulates the multicast data packet by using the P2MP PW label and the label of the multicast tree tunnel to obtain the first multicast data.
  • the packet passes the first multicast data packet through the internal interface of the core node. Send encapsulated multicast data packets.
  • the internal connection interface of the core node is an outgoing interface of the multicast tree tunnel at the core node.
  • the intermediate remote node receives the first multicast data packet, obtains a P2MP PW label from the first multicast data packet, and searches for a P2MP PW multicast forwarding table according to the P2MP PW label to obtain a matching
  • the multicast forwarding outbound interface if the matched multicast forwarding outbound interface is a multicast tree tunnel (such as a P2MP TE P tunnel) at the outbound interface of the intermediate remote node, the intermediate remote node is directed to the encapsulated group.
  • the data packet is broadcasted, and the inbound and outbound labels in the P2MP TE tunnel label are exchanged to obtain the second multicast data packet, and the second multicast data packet is sent from the P2MP TE tunnel to the outbound interface of the intermediate remote node. Send it out.
  • the intermediate remote end node directly sends the first multicast data packet through the external connection port of the intermediate remote node.
  • the remote node 1 between the core node A and the node 2 is the intermediate remote node, and at this time, the node 2 is the remote node.
  • the remote node receives the second multicast data packet, obtains a P2MP PW label from the second multicast data packet, and searches for a P2MP PW multicast forwarding table according to the P2MP PW label.
  • the matched multicast forwarding outbound interface the remote node cancels the P2MP TE tunnel label and the P2MP PW label encapsulated in the second multicast data packet, and obtains the third multicast data packet, and the matched multicast forwarding is performed.
  • the outbound interface sends the third multicast data packet.
  • the matched multicast forwarding outbound interface is an external interface of the remote node.
  • the foregoing multicast data packet sending method can enable the core node and the intermediate remote node and the remote node in the network virtual system to implement the multicast service.
  • FIG. 5 is a schematic structural diagram of a control device according to an embodiment of the present invention.
  • the control device in this embodiment is located in a network virtualization system, and the control device may include: a creating unit 51, a generating unit 52, the obtaining unit 53, the obtaining unit 54, the allocating unit 55, the searching unit 56 and the sending unit 57;
  • the creating unit 51 is configured to create a virtual remote logical interface for the external connection port of the remote node on the control device, where the external connection port of the remote node is an interface for connecting with other network devices;
  • the generating unit 52 is configured to generate, after the creating unit 51 creates the virtual remote logical interface, a multicast tree tunnel rooted at the core node;
  • the obtaining unit 53 is configured to obtain, after the generating unit 52 generates the multicast tree tunnel, a multicast protocol packet, where the multicast protocol packet is a virtual device through the network
  • the remote node of the system or the protocol sent by the core node; the obtaining unit 54 is configured to: after the obtaining unit 53 obtains the multicast protocol message, from the multicast protocol Obtain a multicast source address and a multicast group address.
  • the generating unit 52 is further configured to: after the acquiring unit 54 acquires the multicast source address and the multicast group address, according to the multicast source address, multicast group address, multicast ingress interface, and multicast The outbound interface generates a multicast forwarding table, where the multicast outbound interface includes an outer connection port of the core node and the virtual remote logical interface;
  • the allocating unit 55 is configured to allocate a P2MP PW label for the multicast source address and the multicast group address;
  • the searching unit 56 is configured to search the outer forwarding port of the core node from the multicast forwarding table after the generating unit 52 generates the multicast forwarding table.
  • the generating unit 52 is further configured to: after the searching unit 56 finds the external connection port of the core node, search for an outbound interface of the multicast tree tunnel at the core node according to the multicast tree tunnel, according to the The multicast source address, the multicast group address, the P2MP PW label, the multicast ingress interface, the outer interface of the core node, and the outbound interface of the multicast tree tunnel at the core node a point-to-multipoint virtual link P2MP PW multicast forwarding table of the core node; the sending unit 57 is configured to send the core node to the core node after the generating unit generates the P2MP PW multicast forwarding table
  • the P2MP PW multicast forwarding table is configured to enable the core node to forward the multicast data packet according to the P2MP PW multicast forwarding table.
  • the searching unit 56 is further configured to search the virtual remote logical interface from the multicast forwarding table.
  • the obtaining unit 54 is further configured to acquire an external connection port of the remote node according to a mapping relationship between the virtual remote logical interface and an external connection port of the remote node;
  • the searching unit 56 is further configured to search, according to the multicast tree tunnel, an outbound interface of the multicast tree tunnel at the remote node;
  • the generating unit 52 is further configured to generate, according to the external connection port of the remote node, the P2MP PW of the remote node at the outbound interface of the remote node and the P2 MPPW label. Multicast forwarding table;
  • the sending unit 57 is further configured to send the P2MP PW multicast forwarding table of the remote node to the remote node, so that the remote node forwards the multicast data packet according to the P2MP PW multicast forwarding table. .
  • the multicast inbound interface searches for an outbound interface corresponding to the multicast source address in a preset unicast forwarding table according to the multicast source address.
  • the obtaining unit 53 may be specifically used for
  • the core node receives the protocol packet Broadcast protocol ⁇ .
  • the P2MP PW multicast forwarding table of the core node and the P2MP PW multicast forwarding table of the remote node may be implemented, and the P2MP PW group of the core node is further configured.
  • the broadcast forwarding table is sent to the core node, so that the core node forwards the multicast data packet according to the P2MP PW multicast forwarding table of the core node, and sends the P2MP PW multicast forwarding table of the remote node to the remote node, to The remote node forwards the multicast data packet according to the P2MP PW multicast forwarding table of the remote node, thereby enabling the network virtualization system to support the multicast service, and solving the problem that the cluster router cannot implement the multicast service in the prior art. problem.
  • FIG. 6 is a schematic structural diagram of a communication device according to an embodiment of the present invention. As shown in FIG. 6, the communication device is located in a network virtualization system.
  • the communication device in this embodiment may include: a creating unit 61, generating Unit 62, obtaining unit 63, obtaining unit 64, assigning unit 65, searching unit 66 and saving unit 67;
  • the creating unit 61 is configured to create a virtual remote logical interface on the communication device for the external connection port of the remote node, where the external connection port of the remote node is used for connecting with other network devices.
  • the generating unit 62 is configured to generate, after the creating unit 61 creates the virtual remote logical interface, a multicast tree tunnel rooted at the communication device;
  • the obtaining unit 63 is configured to obtain, after the generating unit 62 generates the multicast tree tunnel, a multicast protocol packet, where the multicast protocol packet is virtualized by the device outside the network virtualization system.
  • the remote node of the system or the protocol packet sent by the communication device; the obtaining unit 64 is configured to obtain, after the obtaining unit 63 obtains the multicast protocol packet, the multicast protocol Multicast source address and multicast group address;
  • the generating unit 62 is further configured to: after the acquiring unit 64 acquires the multicast source address and the multicast group address, according to the multicast source address, the multicast group address, the multicast inbound interface, and the multicast outbound interface. Generating a multicast forwarding table, where the multicast outgoing interface includes an external connection port of the communication device and the virtual remote logical interface;
  • the allocating unit 65 is configured to allocate a P2MP PW label for the multicast source address and the multicast group address.
  • the searching unit 66 is configured to: after the generating unit 62 generates the multicast forwarding table, search for an outer connection port of the communication device from the multicast forwarding table, and search for the multicast tree tunnel according to a multicast tree tunnel. An outbound interface of the communication device;
  • the generating unit 62 is further configured to: after the searching unit 66 searches for the outbound interface of the communication device, according to the multicast source address, the multicast group address, the multicast ingress interface, and the The connection port and the multicast tree tunnel generate a P2MP PW multicast forwarding table of the communication device on the outbound interface of the communication device; and then save the P2MP PW multicast forwarding of the communication device Is published to enable the communication device to forward the multicast data packet according to the P2MP PW multicast forwarding table.
  • the foregoing communication device may further include a sending unit 68 not shown in the figure;
  • the searching unit 66 is further configured to search the virtual remote logical interface from the multicast forwarding table.
  • the obtaining unit 64 is further configured to: according to the virtual remote logical interface and the remote node The mapping relationship of the external connection port acquires the external connection port of the remote node;
  • the searching unit 66 is further configured to search, according to the multicast tree tunnel, an outbound interface of the multicast tree tunnel at the remote node;
  • the generating unit 62 is further configured to generate, according to the external connection port of the remote node, the P2MP PW group of the remote node on the interface of the remote node and the P2MP PW label. Broadcast forwarding table;
  • the sending unit 68 is configured to send the P2MP PW multicast forwarding table of the remote node to the remote node, so that the remote node forwards the multicast data packet according to the P2MP PW multicast forwarding table.
  • the foregoing multicast inbound interface may be configured to search for an outbound interface corresponding to the multicast source address in a preset unicast forwarding table according to the multicast source address.
  • the foregoing obtaining unit 63 may be specifically configured to: when the multicast protocol packet is used by the remote node to receive a protocol packet sent by a device other than the network virtualization system. Receiving, by the point-to-point virtual link P2P PW established between the communication device and the remote node, and the multicast protocol transparently transmitted by the control channel between the communication device and the controller.
  • the P2MP PW multicast forwarding table of the core node and the P2MP PW multicast forwarding table of the remote node may be generated, and the P2MP PW group of the core node is further configured.
  • the broadcast forwarding table is saved, so that the core node forwards the multicast data packet according to the P2MP PW multicast forwarding table of the core node, and sends the P2MP PW multicast forwarding table of the remote node to the remote node, so that the remote node
  • the node forwards the multicast data packet according to the P2MP PW multicast forwarding table of the remote node, thereby enabling the network virtualization system to support the multicast service, and solving the problem that the cluster router cannot implement the multicast service in the prior art.
  • FIG. 7 is a schematic structural diagram of a control device according to an embodiment of the present invention. As shown in FIG. 7, the control device is located in a network virtualization system, and the control device in this embodiment may include: a processor 71 and a transmitter. 72
  • the processor 71 is configured to create a virtual remote logical interface for the external interface of the remote node, where the external connection port of the remote node is an interface for connecting with other network devices.
  • the processor is further configured to: generate a multicast tree tunnel rooted at the core node; obtain a multicast protocol report And the multicast protocol packet is a protocol sent by the device outside the network virtualization system by using the remote node or the core node of the network virtualization system;
  • the transmitter 72 is configured to send, after the processor 71 generates the P2MP PW multicast forwarding table of the core node, a P2MP PW multicast forwarding table of the core node to the core node, so that the core node is configured according to the core node.
  • the P2MP PW multicast forwarding table forwards the multicast data packet.
  • processor 91 described above is also used,
  • the foregoing multicast inbound interface may be configured to search for an outbound interface corresponding to the multicast source address in a preset unicast forwarding table according to the multicast source address.
  • the specific process of the processor 71 obtaining the multicast protocol packet is as follows:
  • the remote node receives the network virtualization system Receiving the protocol message sent by the device, receiving the point-to-point virtual link P2P PW established between the core node and the remote node, and the multicast transparently transmitted through the control channel between the core node and the controller Agreement text; or
  • the core node receives the protocol packet Broadcast protocol ⁇ .
  • the P2MP PW multicast forwarding table of the core node and the P2MP PW multicast forwarding table of the remote node may be implemented, and the P2MP PW group of the core node is further configured.
  • the broadcast forwarding table is sent to the core node, so that the core node forwards the multicast data packet according to the P2MP PW multicast forwarding table of the core node, and sends the P2MP PW multicast forwarding table of the remote node to the remote node, to The remote node forwards the multicast data packet according to the P2MP PW multicast forwarding table of the remote node, thereby enabling the network virtualization system to support the multicast service, and solving the problem that the cluster router cannot implement the multicast service in the prior art. problem.
  • FIG. 8 is a schematic structural diagram of a control device according to an embodiment of the present invention.
  • the communication device is located in a network virtualization system. As shown in FIG. 8, the communication device in this embodiment may include: a processor 81 and a memory. 82;
  • the processor 81 is configured to create a virtual remote logical interface on the communication device for the external connection port of the remote node, where the external connection port of the remote node is an interface for connecting with other network devices;
  • the multicast protocol packet is a protocol packet sent by the device outside the network virtualization system by the remote node of the network virtualization system or the communication device;
  • the tunnel is located on the outbound interface of the communication device, and is based on the multicast source address, the multicast group address, the P2MP PW label, the multicast ingress interface, and the external connection of the communication device. And the multicast tree tunnel generates a point-to-multipoint virtual link P2MP PW multicast forwarding table of the communication device on an outbound interface of the communication device;
  • the memory 82 is configured to save a P2MP PW multicast forwarding table of the communication device, so that the communication device forwards the multicast data packet according to the P2MP PW multicast forwarding table.
  • the processor 81 is further configured to:
  • the communication device further includes a transmitter 83 not shown in FIG. 8;
  • the transmitter 83 is configured to send the P2MP PW multicast forwarding table of the remote node to the remote node, so that the remote node forwards the multicast data packet according to the P2MP PW multicast forwarding table.
  • the foregoing multicast inbound interface may be configured to search for an outbound interface corresponding to the multicast source address in a preset unicast forwarding table according to the multicast source address.
  • the specific process of the processor 81 for obtaining a multicast protocol packet is as follows: when the multicast protocol packet is used by the remote node to receive a protocol packet sent by a device other than the network virtualization system. And the point receives the multicast protocol packet transparently transmitted through the point-to-point virtual link P2P PW established between the communication device and the remote node, and the control channel between the communication device and the controller.
  • the P2MP PW multicast forwarding table of the core node and the P2MP PW multicast forwarding table of the remote node may be generated, and the P2MP PW group of the core node is further configured.
  • the broadcast forwarding table is saved, so that the core node forwards the multicast data packet according to the P2MP PW multicast forwarding table of the core node, and sends the P2MP PW multicast forwarding table of the remote node to the remote node, so that the remote node
  • the node forwards the multicast data packet according to the P2MP PW multicast forwarding table of the remote node, thereby enabling the network virtualization system to The multicast service is supported, and the problem that the cluster router cannot implement the multicast service in the prior art is solved.
  • the communication device of the embodiment is located in the network virtualization system, and can implement the service connection of each node in the network virtualization system through the internal data transmission channel, thereby implementing the connectivity of the multicast service in the network virtualization system. , so that the network virtualization system can support the forwarding of multicast data packets with high efficiency and high quality.
  • the embodiment of the present invention further provides a network virtualization system, which is shown in FIG. 1A to FIG. 1C.
  • the network virtualization system in the embodiment of the present invention includes: a core node and an intermediate remote end connecting the core node. a node, and a remote node connecting the intermediate remote node;
  • the core node is specifically used to determine the core node.
  • the core node encapsulates the multicast data packet by using a P2MP PW label and a label of the multicast tree tunnel to obtain the first a multicast data message;
  • the internal connection interface of the core node is an outbound interface of the multicast tree tunnel at the core node;
  • the intermediate remote node is specifically used for
  • the intermediate remote node sends the group according to the first multicast data packet.
  • the inbound label and the outgoing label in the broadcast tree tunnel label are exchanged to obtain a second multicast data packet; the intermediate remote node tunnels the second multicast data packet from the multicast tree tunnel in the middle
  • the outbound interface of the remote node is sent out.
  • the intermediate remote node If the matched multicast forwarding outbound interface is an external connection port of the intermediate remote node, the intermediate remote node sends the first multicast number directly through an external connection port of the intermediate remote node. According to the message to the remote node;
  • the remote node is specifically used for
  • the P2MP PW tag searches for the P2MP PW multicast forwarding table of the remote node according to the P2MP PW label, and obtains a matching multicast forwarding outbound interface;
  • the remote node sends the third multicast data packet by using the matched multicast forwarding outbound interface.
  • the core node is further configured to: if it is determined that the forwarding outbound interface of the multicast data packet is an external interface of the core node, the core node directly sends the external node through the core node The multicast data packet.
  • the above-mentioned network virtualization system implements the connectivity of the multicast service in the network virtualization system, and the core node and the intermediate remote node and the remote node in the system can implement the multicast service, that is, support the forwarding of the multicast data packet.
  • the aforementioned program can be stored in a computer readable storage medium.
  • the program when executed, performs the steps including the above method embodiments; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明提供一种在网络虚拟化系统中组播数据通道建立的方法及设备,其中,该方法包括:在控制器上为远端节点的外连接口创建虚拟远端逻辑接口;控制器生成以核心节点为根的组播树隧道,并获得网络虚拟化系统之外的设备发送的组播协议报文;控制器从组播协议报文中获取组播源地址和组播组地址,生成组播转发表;控制器从组播转发表中查找核心节点的外连接口,根据组播树隧道查找组播树隧道在核心节点的出接口,根据组播转发表、核心节点的外连接口和组播树隧道在核心节点的出接口生成发送核心节点的核心节点的P2MP PW转发表,以使核心节点根据P2MP PW转发表转发组播数据报文。上述方法解决了现有技术中集群路由器无法实现组播业务的问题。

Description

在网络虚拟化系统中组播数据通道建立的方法及设备 技术领域 本发明实施例涉及通信技术, 尤其涉及一种在网络虚拟化系统中组播 数据通道建立的方法及设备。 背景技术
传统的网络架构具有两层或者多层的层次结构, 且根据各层的功能和 部署位置, 可将网络划分为不同的层次(包括核心层、 汇聚层、 边缘接入 层以及对等层) , 各层之间通常釆用双归属冗余连接提高可靠性, 逐层汇 聚用户流量。 其中, 接入层负责用户终端的网络接入, 用于提供丰富的用 户接口类型, 节点分布广, 接口密度大; 汇聚层负责汇聚接入节点流量, 用于扩大核心节点的业务范围, 接口类型丰富, 汇聚能力强, 具备综合业 务处理能力; 核心层负责高速转发, 区域间业务互通, 节点数较少。
为整合和简化网络结构, 提高资源利用率, 现有的网络架构在处理点 到多点的交换报文时, 釆用了将同一网络层中的两台或多台交换主设备构 成一个网络虚拟化系统的方法, 降低使用多个冗余组件而导致的复杂性, 以及降低成本。
此外, 当前为了适应集群内各设备之间巨大的数据交换容量, 将多个 高端路由器通过超短距光纤连接到中央交换矩阵机框, 构成包含多个路由 器的网络虚拟化系统即集群路由器, 方便集中式管理。
由此, 如何使上述的网络虚拟化系统支持组播业务成为当前需要解决 的技术问题。 发明内容
有鉴于此,本发明提供一种在网络虚拟化系统中组播数据通道建立的方 法及设备, 用于解决现有技术中集群路由器无法实现组播业务的问题。
第一方面, 本发明实施例提供一种在网络虚拟化系统中组播数据通道 建立的方法, 包括: 在控制器上为远端节点的外连接口创建虚拟远端逻辑接口, 所述远端 节点的外连接口为用于与其它网络设备相连的接口;
所述控制器生成以核心节点为根的组播树隧道;
所述控制器获得组播协议报文, 所述组播协议报文为所述网络虚拟化 系统之外的设备通过所述网络虚拟化系统的所述远端节点或所述核心节 点发送的协议 4艮文;
所述控制器从所述组播协议报文中获取组播源地址和组播组地址; 所述控制器根据所述组播源地址、 组播组地址、 组播入接口、 组播出 接口生成组播转发表; 其中, 所述组播出接口包括所述核心节点的外连接 口和所述虚拟远端逻辑接口;
所述控制器为所述组播源地址和所述组播组地址分配 P2MP PW标 签;
所述控制器从所述组播转发表中查找所述核心节点的外连接口, 根据 所述组播树隧道查找所述组播树隧道在所述核心节点的出接口, 根据所述 组播源地址、 组播组地址、 所述 P2MP PW标签、 所述组播入接口、 所述 核心节点的外连接口和所述组播树隧道在所述核心节点的出接口生成所 述核心节点的点到多点虚拟链路 P2MP PW组播转发表;
所述控制器向所述核心节点发送所述核心节点的 P2MP PW组播转发 表,以使所述核心节点根据所述 P2MP PW组播转发表转发组播数据报文。
结合第一方面, 在第一种可能的实现方式中, 所述方法进一步包括: 所述控制器从所述组播转发表中查找所述虚拟远端逻辑接口; 所述控制器根据所述虚拟远端逻辑接口和所述远端节点的外连接口 的映射关系获取所述远端节点的外连接口;
所述控制器根据所述组播树隧道查找所述组播树隧道在所述远端节 点的出接口;
所述控制器根据所述远端节点的外连接口, 所述组播树隧道在所述远 端节点的出接口和所述 P2MP PW标签, 生成所述远端节点的 P2MP PW 组播转发表;
所述控制器向所述远端节点发送所述远端节点的 P2MP PW组播转发 表,以使所述远端节点根据所述 P2MP PW组播转发表转发组播数据报文。 结合第一方面, 在第二种可能的实现方式中, 所述组播入接口是根据 所述组播源地址查找预设的单播转发表中与所述组播源地址对应的出接 口。
结合第一方面及上述可能的实现方式, 在第三种可能的实现方式中, 所述控制器获得组播协议报文具体包括:
如果所述组播协议报文为所述远端节点接收所述网络虚拟化系统之 外的设备发送的协议报文, 则所述控制器接收通过所述核心节点和远端节 点之间建立的点到点虚拟链路 P2P PW, 以及核心节点和控制器之间的控 制通道透传的所述组播协议报文; 或
如果所述组播协议报文为所述核心节点接收所述网络虚拟化系统之 外的设备发送的协议报文, 则所述控制器通过所述核心节点和所述控制器 之间的控制通道接收所述组播协议报文。
第二方面, 本发明实施例提供一种在网络虚拟化系统中组播数据通道 建立的方法, 包括:
在核心节点上为远端节点的外连接口创建虚拟远端逻辑接口, 所述远 端节点的外连接口为用于与其它网络设备相连的接口;
所述核心节点生成以核心节点为根的组播树隧道;
所述核心节点获得组播协议报文, 所述组播协议报文为所述网络虚拟 化系统之外的设备通过所述网络虚拟化系统的所述远端节点或所述核心 节点发送的协议报文;
所述核心节点从所述组播协议 ^艮文中获取组播源地址和组播组地址; 所述核心节点根据所述组播源地址、 组播组地址、 组播入接口、 组播 出接口生成组播转发表; 其中, 所述组播出接口包括所述核心节点的外连 接口和所述虚拟远端逻辑接口;
所述核心节点为所述组播源地址和所述组播组地址分配 P2MP PW标 签;
所述核心节点从所述组播转发表中查找所述核心节点的外连接口, 根 据所述组播树隧道查找所述组播树隧道在所述核心节点的出接口, 根据所 述组播源地址、 组播组地址、 所述 P2MP PW标签、 所述组播入接口、 所 述核心节点的外连接口和所述组播树隧道在所述核心节点的出接口生成 所述核心节点的点到多点虚拟链路 P2MP PW组播转发表;
所述核心节点保存所述核心节点的 P2MP PW组播转发表, 以使所述 核心节点根据所述 P2MP PW组播转发表转发组播数据报文。
结合第二方面, 在第一种可能的实现方式中, 所述方法进一步包括: 所述核心节点从所述组播转发表中查找所述虚拟远端逻辑接口; 所述核心节点根据所述虚拟远端逻辑接口和所述远端节点的外连接 口的映射关系获取所述远端节点的外连接口;
所述核心节点根据所述组播树隧道查找所述组播树隧道在所述远端 节点的出接口;
所述核心节点根据所述远端节点的外连接口, 所述组播树隧道在所述 远端节点的出接口和所述 P2MP PW标签, 生成所述远端节点的 P2MP PW组播转发表;
所述核心节点向所述远端节点发送所述远端节点的 P2MP PW组播转 发表, 以使所述远端节点根据所述 P2MP PW组播转发表转发组播数据报 文。
结合第二方面, 在第二种可能的实现方式中, 所述组播入接口是根据 所述组播源地址查找预设的单播转发表中与所述组播源地址对应的出接 口。
结合第二方面及上述可能的实现方式, 在第三种可能的实现方式中, 所述核心节点获得组播协议报文具体包括:
如果所述组播协议报文为所述远端节点接收所述网络虚拟化系统之 外的设备发送的协议报文, 则所述核心节点接收通过所述核心节点和远端 节点之间建立的点到点虚拟链路 P2P PW, 以及核心节点和控制器之间的 控制通道透传的所述组播协议报文。
第三方面, 本发明实施例提供一种控制设备, 所述控制设备位于网络 虚拟化系统中, 包括:
创建单元, 用于在控制设备上为远端节点的外连接口创建虚拟远端逻 辑接口, 所述远端节点的外连接口为用于与其它网络设备相连的接口; 生成单元, 用于在所述创建单元创建所述虚拟远端逻辑接口之后, 生 成以核心节点为根的组播树隧道; 获得单元, 用于在所述生成单元生成所述组播树隧道之后, 获得组播 协议报文, 所述组播协议报文为所述网络虚拟化系统之外的设备通过所述 网络虚拟化系统的所述远端节点或所述核心节点发送的协议 4艮文;
获取单元, 用于在所述获得单元获得所述组播协议报文之后, 从所述 组播协议 ^艮文中获取组播源地址和组播组地址;
所述生成单元, 还用于在所述获取单元获取所述组播源地址和所述组 播组地址之后, 根据所述组播源地址、 组播组地址、 组播入接口、 组播出 接口生成组播转发表, 其中, 所述组播出接口包括所述核心节点的外连接 口和所述虚拟远端逻辑接口;
分配单元, 用于为所述组播源地址和所述组播组地址分配 P2MP PW 标签;
查找单元, 用于在所述生成单元生成所述组播转发表之后, 从所述组 播转发表中查找所述核心节点的外连接口;
所述生成单元, 还用于在所述查找单元查找到所述核心节点的外连接 口之后, 根据所述组播树隧道查找所述组播树隧道在所述核心节点的出接 口, 根据所述组播源地址、 组播组地址、 所述 P2MP PW标签、 所述组播 入接口、 所述核心节点的外连接口和所述组播树隧道在所述核心节点的出 接口生成所述核心节点的点到多点虚拟链路 P2MP PW组播转发表;
发送单元,用于在所述生成单元生成所述 P2MP PW组播转发表之后, 向所述核心节点发送所述核心节点的 P2MP PW组播转发表, 以使所述核 心节点根据所述 P2MP PW组播转发表转发组播数据报文。
结合第三方面, 在第一种可能的实现方式中,
所述查找单元, 还用于从所述组播转发表中查找所述虚拟远端逻辑接 口;
所述获取单元, 还用于根据所述虚拟远端逻辑接口和所述远端节点的 外连接口的映射关系获取所述远端节点的外连接口;
所述查找单元, 还用于根据所述组播树隧道查找所述组播树隧道在所 述远端节点的出接口;
所述生成单元, 还用于根据所述远端节点的外连接口, 所述组播树隧 道在所述远端节点的出接口和所述 P2MP PW标签, 生成所述远端节点的 P2MP PW组播转发表;
所述发送单元, 还用于向所述远端节点发送所述远端节点的 P2MP PW组播转发表, 以使所述远端节点根据所述 P2MP PW组播转发表转发 组播数据报文。
结合第三方面, 在第二种可能的实现方式中, 所述组播入接口是根据 所述组播源地址查找预设的单播转发表中与所述组播源地址对应的出接 口。
结合第三方面及上述可能的实现方式, 在第三种可能的实现方式中, 所述获得单元, 具体用于
在所述组播协议报文为所述远端节点接收所述网络虚拟化系统之外 的设备发送的协议报文时, 接收通过所述核心节点和远端节点之间建立的 点到点虚拟链路 P2P PW, 以及核心节点和控制器之间的控制通道透传的 所述组播协议 文; 或
在所述组播协议报文为所述核心节点接收所述网络虚拟化系统之外 的设备发送的协议报文时, 通过所述核心节点和所述控制器之间的控制通 道接收所述组播协议 ^艮文。
第四方面, 本发明实施例提供一种通信设备, 所述通信设备位于网络 虚拟化系统中, 所述通信设备包括:
创建单元, 用于在通信设备上为远端节点的外连接口创建虚拟远端逻 辑接口, 所述远端节点的外连接口为用于与其它网络设备相连的接口; 生成单元, 用于在所述创建单元创建所述虚拟远端逻辑接口之后, 生 成以通信设备为根的组播树隧道;
获得单元, 用于在所述生成单元生成所述组播树隧道之后, 获得组播 协议报文, 所述组播协议报文为所述网络虚拟化系统之外的设备通过所述 网络虚拟化系统的所述远端节点或所述通信设备发送的协议报文;
获取单元, 用于在所述获得单元获得所述组播协议报文之后, 从所述 组播协议 ^艮文中获取组播源地址和组播组地址;
所述生成单元, 还用于在所述获取单元获取所述组播源地址和组播组 地址之后, 根据所述组播源地址、 组播组地址、 组播入接口、 组播出接口 生成组播转发表; 其中, 所述组播出接口包括所述通信设备的外连接口和 所述虚拟远端逻辑接口;
分配单元, 用于为所述组播源地址和所述组播组地址分配 P2MP PW 标签;
查找单元, 用于在所述生成单元生成所述组播转发表之后, 从所述组 播转发表中查找所述通信设备的外连接口, 根据组播树隧道查找所述组播 树隧道在所述通信设备的出接口;
所述生成单元, 还用于在所述查找单元查找所述通信设备的出接口之 后, 根据所述组播源地址、 组播组地址、 所述 P2MP PW标签、 所述组播 入接口、 所述通信设备的外连接口和所述组播树隧道在所述通信设备的出 接口生成所述通信设备的点到多点虚拟链路 P2MP PW组播转发表;
保存单元,用于在所述生成单元生成所述 P2MP PW组播转发表之后, 保存所述通信设备的 P2MP PW组播转发表, 以使所述通信设备根据所述 P2MP PW组播转发表转发组播数据报文。
结合第四方面, 在第一种可能的实现方式中, 所述通信设备还包括: 发送单元;
其中,
所述查找单元, 还用于从所述组播转发表中查找所述虚拟远端逻辑接 口;
所述获取单元, 还用于根据所述虚拟远端逻辑接口和所述远端节点的 外连接口的映射关系获取所述远端节点的外连接口;
所述查找单元, 还用于根据所述组播树隧道查找所述组播树隧道在所 述远端节点的出接口;
所述生成单元, 还用于根据所述远端节点的外连接口, 所述组播树隧 道在所述远端节点的接口和所述 P2MP PW标签, 生成所述远端节点的 P2MP PW组播转发表;
所述发送单元, 用于向所述远端节点发送所述远端节点的 P2MP PW 组播转发表, 以使所述远端节点根据所述 P2MP PW组播转发表转发组播 数据报文。
结合第四方面, 在第二种可能的实现方式中, 所述组播入接口是根据 所述组播源地址查找预设的单播转发表中与所述组播源地址对应的出接 口。
结合第四方面及上述可能的实现方式中, 在第三种可能的实现方式 中, 所述获得单元, 具体用于
在所述组播协议报文为所述远端节点接收所述网络虚拟化系统之外 的设备发送的协议报文时, 接收通过所述通信设备和远端节点之间建立的 点到点虚拟链路 P2P PW, 以及通信设备和控制器之间的控制通道透传的 所述组播协议 4艮文。
第五方面, 本发明实施例提供一种控制设备, 所述控制设备位于网络 虚拟化系统中, 所述控制设备包括:
处理器, 用于为远端节点的外连接口创建虚拟远端逻辑接口, 所述远 端节点的外连接口为用于与其它网络设备相连的接口;
生成以核心节点为根的组播树隧道;
获得组播协议报文, 所述组播协议报文为所述网络虚拟化系统之外的 设备通过所述网络虚拟化系统的所述远端节点或所述核心节点发送的协 议 4艮文;
从所述组播协议 ^艮文中获取组播源地址和组播组地址;
根据所述组播源地址、 组播组地址、 组播入接口、 组播出接口生成组 播转发表; 其中, 所述组播出接口包括所述核心节点的外连接口和所述虚 拟远端逻辑接口;
为所述组播源地址和所述组播组地址分配 P2MP PW标签; 从所述组播转发表中查找所述核心节点的外连接口, 根据所述组播树 隧道查找所述组播树隧道在所述核心节点的出接口, 根据所述组播源地 址、 组播组地址、 所述 P2MP PW标签、 所述组播入接口、 所述核心节点 的外连接口和所述组播树隧道在所述核心节点的出接口生成所述核心节 点的点到多点虚拟链路 P2MP PW组播转发表;
发射器, 用于在所述处理器生成所述核心节点的 P2MP PW组播转发 表之后, 向所述核心节点发送所述核心节点的 P2MP PW组播转发表, 以 使所述核心节点根据所述 P2MP PW组播转发表转发组播数据报文。
结合第五方面, 在第一种可能的实现方式中, 所述处理器, 还用于 从所述组播转发表中查找所述虚拟远端逻辑接口; 根据所述虚拟远端逻辑接口和所述远端节点的外连接口的映射关系 获取所述远端节点的外连接口;
根据所述组播树隧道查找所述组播树隧道在所述远端节点的出接口; 根据所述远端节点的外连接口, 所述组播树隧道在所述远端节点的出 接口和所述 P2MP PW标签,生成所述远端节点的 P2MP PW组播转发表; 所述发射器, 还用于
向所述远端节点发送所述远端节点的 P2MP PW组播转发表, 以使所 述远端节点根据所述 P2MP PW组播转发表转发组播数据报文。
结合第五方面, 在第二种可能的实现方式中, 所述组播入接口是根据 所述组播源地址查找预设的单播转发表中与所述组播源地址对应的出接 口。
结合第五方面及上述可能的实现方式, 在第三种可能的实现方式中, 所述处理器, 具体用于
在所述组播协议报文为所述远端节点接收所述网络虚拟化系统之外 的设备发送的协议报文时, 接收通过所述核心节点和远端节点之间建立的 点到点虚拟链路 P2P PW, 以及核心节点和控制器之间的控制通道透传的 所述组播协议 文; 或
在所述组播协议报文为所述核心节点接收所述网络虚拟化系统之外 的设备发送的协议报文时, 通过所述核心节点和所述控制器之间的控制通 道接收所述组播协议 ^艮文。
第六方面, 本发明实施例提供一种通信设备, 所述通信设备位于网络 虚拟化系统中, 所述通信设备包括:
处理器, 用于在通信设备上为远端节点的外连接口创建虚拟远端逻辑 接口, 所述远端节点的外连接口为用于与其它网络设备相连的接口;
生成以通信设备为根的组播树隧道;
获得组播协议报文, 所述组播协议报文为网络虚拟化系统之外的设备 通过所述网络虚拟化系统的所述远端节点或所述通信设备发送的协议报 文;
从所述组播协议 ^艮文中获取组播源地址和组播组地址;
根据所述组播源地址、 组播组地址、 组播入接口、 组播出接口生成组 播转发表; 其中, 所述组播出接口包括所述通信设备的外连接口和所述虚 拟远端逻辑接口;
为所述组播源地址和所述组播组地址分配 P2MP PW标签;
从所述组播转发表中查找所述通信设备的外连接口, 根据所述组播树 隧道查找所述组播树隧道在所述通信设备的出接口, 根据所述组播源地 址、 组播组地址、 所述 P2MP PW标签、 所述组播入接口、 所述通信设备 的外连接口和所述组播树隧道在所述通信设备的出接口生成所述通信设 备的点到多点虚拟链路 P2MP PW组播转发表;
存储器, 用于保存所述通信设备的 P2MP PW组播转发表, 以使所述 通信设备根据所述 P2MP PW组播转发表转发组播数据报文。
结合第六方面, 在第一种可能的实现方式中, 所述处理器, 还用于 从所述组播转发表中查找所述虚拟远端逻辑接口;
根据所述虚拟远端逻辑接口和所述远端节点的外连接口的映射关系 获取所述远端节点的外连接口;
根据所述组播树隧道查找所述组播树隧道在所述远端节点的出接口; 根据所述远端节点的外连接口, 所述组播树隧道在所述远端节点的出 接口和所述 P2MP PW标签,生成所述远端节点的 P2MP PW组播转发表; 所述通信设备还包括: 发射器;
所述发射器, 用于向所述远端节点发送所述远端节点的 P2MP PW组 播转发表, 以使所述远端节点根据所述 P2MP PW组播转发表转发组播数 据报文。
结合第六方面, 在第二种可能的实现方式中, 所述组播入接口是根据 所述组播源地址查找预设的单播转发表中与所述组播源地址对应的出接 口。
结合第六方面及上述可能的实现方式, 在第三种可能的实现方式中, 所述处理器, 具体用于
在所述组播协议报文为所述远端节点接收所述网络虚拟化系统之外 的设备发送的协议报文时, 点接收通过所述通信设备和远端节点之间建立 的点到点虚拟链路 P2P PW, 以及通信设备和控制器之间的控制通道透传 的所述组播协议 4艮文。 第七方面, 本发明实施例提供一种组播数据报文发送方法, 包括: 若核心节点接收到组播数据报文, 则所述核心节点根据所述组播数据 报文查找所述核心节点的 P2MP PW组播转发表;
如果确定所述组播数据报文的转发出接口为所述核心节点的外连接 口, 则所述核心节点直接通过所述核心节点外连接口发送所述组播数据报 文。
结合第七方面, 在第一种可能的实现方式中, 所述方法还包括: 如果确定所述组播数据报文的转发出接口为核心节点的内连出接口, 则 所述核心节点釆用 P2MP PW标签和组播树隧道的标签封装所述组播数据 报文, 得到第一组播数据报文;
将所述第一组播数据报文通过所述核心节点的内连出接口发送; 其中, 所述核心节点的内连出接口为所述组播树隧道在所述核心节点 的出接口。
结合第七方面及第一种可能的实现方式, 在第二种可能的实现方式 中, 所述方法还包括:
中间远端节点接收所述第一组播数据报文, 从所述第一组播数据报文中 获取所述 P2MP PW标签, 根据所述 P2MP PW标签查找所述中间远端节 点的 P2MP PW组播转发表, 获取匹配的组播转发出接口;
如果所述匹配的组播转发出接口为所述组播树隧道在所述中间远端 节点的出接口, 则所述中间远端节点根据所述第一组播数据报文, 将所述 组播树隧道标签中的入标签和出标签进行交换, 得到第二组播数据报文; 所述中间远端节点将所述第二组播数据报文从所述组播树隧道在所 述中间远端节点的出接口发送出去。
结合第七方面及第二种可能的实现方式, 在第三种可能的实现方式 中, 所述方法还包括:
如果所述匹配的组播转发出接口为所述中间远端节点的外连接口, 则所 述中间远端节点直接通过所述中间远端节点的外连接口发送所述第一组播数 据报文。
结合第七方面及第三种可能的实现方式, 在第四种可能的实现方式 中, 所述方法还包括: 若远端节点接收到所述第二组播数据报文, 从所述第二组播数据报文中 获取所述 P2MP PW标签, 根据所述 P2MP PW标签查找所述远端节点的 P2MP PW组播转发表, 获取匹配的组播转发出接口;
所述远端节点解掉所述第二组播数据报文封装的所述组播树隧道标签和 所述 P2MP PW标签, 得到第三组播数据报文;
所述远端节点通过所述匹配的组播转发出接口发送所述第三组播数 据报文。
第八方面, 本发明实施例还提供一种网络虚拟化系统, 包括核心节点 和连接所述核心节点的中间远端节点, 以及连接所述中间远端节点的远端 节点;
其中, 所述核心节点具体用于
接收到组播数据报文, 根据所述组播数据报文查找所述核心节点的点到 多点虚拟链路 P2MP PW组播转发表;
如果确定所述组播数据报文的转发出接口为核心节点的内连出接口, 则 所述核心节点釆用 P2MP PW标签和组播树隧道的标签封装所述组播数据 报文, 得到第一组播数据报文;
将所述第一组播数据报文通过所述核心节点的内连出接口发送至所 述中间远端节点;
其中, 所述核心节点的内连出接口为所述组播树隧道在所述核心节点 的出接口;
所述中间远端节点具体用于
接收所述第一组播数据报文, 从所述第一组播数据报文中获取所述 P2MP PW标签,根据所述 P2MP PW标签查找所述中间远端节点的 P2MP
PW组播转发表, 获取匹配的组播转发出接口;
如果所述匹配的组播转发出接口为所述组播树隧道在所述中间远端 节点的出接口, 则所述中间远端节点根据所述第一组播数据报文, 将所述 组播树隧道标签中的入标签和出标签进行交换, 得到第二组播数据报文; 所述中间远端节点将所述第二组播数据报文从所述组播树隧道在所 述中间远端节点的出接口发送出去;
如果所述匹配的组播转发出接口为所述中间远端节点的外连接口, 则所 述中间远端节点直接通过所述中间远端节点的外连接口发送所述第一组播数 据报文至远端节点;
所述远端节点具体用于
接收到所述第二组播数据报文, 从所述第二组播数据报文中获取所述 P2MP PW标签,根据所述 P2MP PW标签查找所述远端节点的 P2MP PW 组播转发表, 获取匹配的组播转发出接口;
所述远端节点解掉所述第二组播数据报文封装的所述组播树隧道标签和 所述 P2MP PW标签, 得到第三组播数据报文;
所述远端节点通过所述匹配的组播转发出接口发送所述第三组播数 据报文。
结合第八方面, 在第一种可能的实现方式中, 所述核心节点还用于 如果确定所述组播数据报文的转发出接口为所述核心节点的外连接 口, 则所述核心节点直接通过所述核心节点外连接口发送所述组播数据报 文。
由上述技术方案可知, 本发明实施例的在网络虚拟化系统中组播数据 通道建立的方法及设备, 控制器作为网络虚拟化系统中的独立设备时, 在 控制器上为远端节点的外连接口创建虚拟远端逻辑接口之后, 控制器生成 以核心节点为根的组播树隧道, 并获得网络虚拟化系统之外的设备发送的 组播协议 4艮文; 进而从组播协议 ^艮文中获取组播源地址和组播组地址, 并 根据组播源地址、组播组地址、组播入接口、组播出接口生成组播转发表, 所述控制器为所述组播源地址和所述组播组地址分配 P2MP PW标签; 以 及从所述组播转发表中查找所述核心节点的外连接口, 根据所述组播树隧 道查找所述组播树隧道在所述核心节点的出接口, 根据组播源地址、 组播 组地址、 所述 P2MP PW标签、 组播入接口、 核心节点的外连接口和组播 树隧道在所述核心节点的出接口生成所述核心节点的 P2MP PW组播转发 表; 将核心节点的 P2MP PW组播转发表发送至核心节点, 以使核心节点 根据所述 P2MP PW组播转发表转发组播数据报文, 使得网络虚拟化系统 能够支持组播业务, 解决了现有技术中集群路由器无法实现组播业务的问 题。 附图说明 为了更清楚地说明本发明的技术方案, 下面将对实施例中所需要使用的 附图作一简单地介绍, 显而易见地: 下面附图只是本发明的一些实施例的附 图, 对于本领域普通技术人员来讲, 在不付出创造性劳动性的前提下, 还可 以根据这些附图获得同样能实现本发明技术方案的其它附图。
图 1A至图 1 C为本发明提供的网络虚拟化系统的架构图;
图 2为本发明一实施例提供的网络虚拟化组播数据通道建立的方法的 流程示意图;
图 3为本发明另一实施例提供的网络虚拟化组播数据通道建立的方法 的流程示意图;
图 4 为本发明另一实施例提供的组播数据报文发送方法的流程示意 图;
图 5为本发明一实施例提供的控制设备的结构示意图;
图 6为本发明一实施例提供的通信设备的结构示意图;
图 7为本发明另一实施例提供的控制设备的结构示意图;
图 8为本发明另一实施例提供的通信设备的结构示意图。 具体实施方式 为使本发明的目的、 技术方案和优点更加清楚, 下面将结合本发明实 施例中的附图, 对本发明的技术方案进行清楚、 完整地描述。 显然, 下述 的各个实施例都只是本发明一部分的实施例。 基于本发明下述的各个实施 例, 本领域普通技术人员即使没有作出创造性劳动, 也可以通过等效变换 部分甚至全部的技术特征, 而获得能够解决本发明技术问题, 实现本发明 技术效果的其它实施例, 而这些变换而来的各个实施例显然并不脱离本发 明所公开的范围。
当前的集群路由器又称为多机框路由器, 其釆用多机框硬件集群技术 (即多级全交换网技术)将多个高端路由器通过某种方式连接, 共同组成 一个多级多平面的交换矩阵系统, 使其能够协同工作, 并且对外只表现为 一台逻辑路由器,从而突破单机箱在交换容量、 功耗、散热等方面的限制, 平滑扩展为更大容量的集群路由系统。 本发明实施例中所述的网络虚拟化系统可以是上述的集群路由系统 , 也可以是其他的包括远端节点和核心节点的网络虚拟化系统, 如图 1 A至 图 1 C所示。
其中, 图 1A示出了一种网络虚拟化系统的架构图, 在图 1A中, 网 络虚拟化系统包括: 核心节点、 远端节点和控制器。 其中, 控制器单独作 为网络虚拟化系统中的控制设备, 核心节点和远端节点仅作为网络虚拟化 系统中的转发设备。 图 1 B和图 1 C分别示出了另一种网络虚拟化系统的 架构图, 在图 1 B和图 1 C中, 网络虚拟化系统包括: 核心节点和远端节 点。此时,控制器位于核心节点内,属于核心节点内的单元 /模块。相应地, 核心节点可作为网络虚拟化系统中的控制设备, 也可作为网络虚拟化系统 中的转发设备, 远端节点仅作为网络虚拟化系统中的转发设备。
上述图 1A至图 1 C中的核心节点、 远端节点和控制器均可为路由器 或交换机等设备。 通常, 在核心节点和远端节点仅作为转发设备时, 可以 使核心节点和远端节点为低性能的路由器或交换机等, 控制器可为高性能 的路由器或交换机等。 另外, 本发明实施例中提及的网络虚拟化系统为控 制功能和转发功能分离的系统, 且在网络虚拟化系统建立初期, 网络虚拟 化系统中的控制设备和转发设备之间建立有传输控制报文的通道即控制 通道。
特别地,在网络虚拟化系统建立之后, 组播树隧道即建立完成。 其中, 网络虚拟化系统的组播树隧道是以核心节点为根, 所有的远端节点为叶子 建立的组播树隧道。 本发明实施例中的方法是基于建立组播树隧道之后的 网络虚拟化系统所实现的方法。
具体地, 图 1 B示出的是双控制场景的网络虚拟化系统的架构图, 图 1 C示出的是单控制场景的网络虚拟化系统的架构图。
举例来说, 图 1 B中双控制场景的网络虚拟化系统包括四个核心节点
(核心节点 A、 B、 C、 D ) 和 13个远端节点, 且网络虚拟化系统的控制 器位于核心节点内。
网络虚拟化系统的控制器位于核心节点内, 进而在核心节点内形成控 制端。 在具体的应用中, 网络虚拟化系统可具有主控制端和备控制端, 其 中, 主控制端可集成在核心节点 A内, 或者可寄生在核心节点 A内, 备控 制端集成在核心节点 B内, 或者寄生在核心节点 B内。 另外, 在实际的网 络虚拟化系统中, 可以包括多个主控制端和多个备控制端, 例如, 核心节 点 C上还可集成有另一主控制端, 核心节点 D内还集成另一备控制端。
通常, 双控制场景的网络虚拟化系统是指从每一个远端节点如无线接 入点 ( Access Point, 简称 AP ) 的角度来看, 可以被两个核心节点 (如 核心节点 、 核心节点 B ) 的控制端控制, 即主控制端 (如核心节点 A ) 和备控制端 (如核心节点 B ) 均控制远端节点 (如远端节点 1、 2、 3、 4、 5、 6等) 。
图 1 C示出的是单控制场景的网络虚拟化系统的架构图, 从控制层面 上看, 可以先将两个核心节点 (如核心节点 A、 核心节点 B )虚拟成一个 核心节点, 即两个核心节点共用一个主控制端, 从每个远端节点 (如远端 节点 1、 2、 3、 4、 5、 6等) 的角度看, 只被一个控制端来控制, 也就是 说, 主控制端和备控制端仅为一个控制设备。
本发明实施例以上述图 1A至图 1 C举例进行说明网络虚拟化系统中 建立组播数据通道的方法。
图 2示出了本发明一实施例提供的在网络虚拟化系统中组播数据通道 建立的方法的流程示意图, 结合图 1A和图 2所示, 本实施例中的在网络 虚拟化系统中组播数据通道建立的方法如下文所述。
在本实施例中, 预先建立网络虚拟化系统, 网络虚拟化系统建立完成 之后, 该网络虚拟化系统具有 P2MP TE (英文全称: Point-To-Multipoint Traffic Engineering )组播 4对隧道, 该处的 P2MP TE组播 4对隧道可理解为 以核心节点为根, 所有的远端节点为叶子的组播树隧道。 每一核心节点对 应一 P2MP TE组播树隧道。
举例来说,网络虚拟化系统可以是通过建立以每个核心节点( Master ) 为根, 网络虚拟化系统内所有远端节点(AP )为叶子的 P2MP TE组播树 隧道。
在其他实施例中, 组播树隧道可以是资源预留-流量工程 (英文全称: Resource Reservation Pmtoco卜 Traffic Engineering , 简称 RSVP-TE ) 组播树隧道, 也可以是标签分发协议扩展支持多点(英文全称: Multipoint extensions for Label Distribution Protocol , 简称 mLDP )的点到多点标签 交换路径 (英文全称: P2MP Label Switching Path , 简称 P2MP LSP ) 组播树隧道, 或其它 P2MP的隧道。
另外, 在双控制场景下, 有多少个核心节点, 就建多少棵组播树。 在 单控制场景下, 网络虚拟化系统可以是建立两棵以主核心节点 (Master ) 和备核心节点(Master )为根, 所有远端节点( AP )节点为叶子的 P2MP TE组播树隧道。
201、 在控制器上为远端节点的外连接口创建虚拟远端逻辑接口, 所 述远端节点的外连接口为用于与其它网络设备相连的接口。
本实施例中的外连接口, 用于指与网络虚拟化系统之外的其它网络设 备相连的接口。 虚拟远端逻辑接口可为具有组播功能的虚拟远端逻辑接 口。
202、 控制器生成以核心节点为根的组播树隧道。
203、 控制器获得组播协议报文, 所述组播协议报文为所述网络虚拟 化系统之外的设备通过所述网络虚拟化系统的所述远端节点或所述核心 节点发送的协议报文。
举例来说, 组播协议报文可以是互联网组管理协议 (英文全称: Internet Group Management Protocol , 简称 IGMP ) , 或者组播协议报文 可以是 PIM (英文全称: Protocol Independent Multicast ) 。
应了解的是, 该处的组播协议报文可以是用户设备发送的用于配置网 络虚拟化系统的组播协议 4艮文。
204、 控制器从所述组播协议报文中获取组播源地址和组播组地址。
205、 控制器根据所述组播源地址、 组播组地址、 组播入接口、 组播 出接口生成组播转发表; 其中, 所述组播出接口包括所述核心节点的外连 接口和所述虚拟远端逻辑接口。
举例来说, 组播入接口可为根据组播源地址查找预设的单播转发表中 与所述组播源地址对应的出接口。 该处的单播转发表为互联网地址(英文 全称: Internet Protocol , 简称 IP )路由协议生成的转发表, 属于公知的。
206、 控制器为所述组播源地址和所述组播组地址分配 P2MP PW标 签; 控制器从所述组播转发表中查找所述核心节点的外连接口, 根据所述 组播树隧道查找所述组播树隧道在所述核心节点的出接口, 根据所述组播 源地址、 组播组地址、 所述 P2MP PW标签、 所述组播入接口、 所述核心 节点的外连接口和所述组播树隧道在所述核心节点的出接口生成所述核 心节点的 P2MP PW组播转发表。
207、 控制器向所述核心节点发送所述核心节点的点到多点虚拟链路 (英文全称: Point-To-Multipoint Pseudo Wire, 简称: P2MP PW )组播 转发表, 以使所述核心节点根据所述 P2MP PW组播转发表转发组播数据 报文。
举例来说, 控制器将所述核心节点的 P2MP PW组播转发表通过所述 网络虚拟化系统的控制通道发送至核心节点;
其中, 所述控制通道为所述网络虚拟化系统建立时所述控制设备和转 发设备之间传送控制管理报文的通道。
在一种可选的应用场景中, 上述的步骤 203中的 "控制器获得组播协 议才艮文" 可具体包括:
2031、如果所述组播协议报文为所述远端节点接收所述网络虚拟化系 统之外的设备发送的协议报文, 则所述控制器接收通过所述核心节点和远 端节点之间建立的点到点虚拟链路 P2P PW, 以及核心节点和控制器之间 的控制通道透传的所述组播协议报文; 或
2031 '、 如果所述组播协议报文为所述核心节点接收所述网络虚拟化 系统之外的设备发送的协议报文, 则所述控制器通过所述核心节点和所述 控制器之间的控制通道接收所述组播协议报文。
由上述实施例可知, 本实施例的在网络虚拟化系统中组播数据通道建 立的方法, 在控制器作为网络虚拟化系统中单独的控制设备时, 控制器可 实现生成核心节点的 P2MP PW组播转发表, 控制器可将核心节点的 P2MP PW组播转发表发送至核心节点,以使核心节点根据所述 P2MP PW 组播转发表转发组播数据报文, 使得网络虚拟化系统能够支持组播业务, 解决了现有技术中集群路由器无法实现组播业务的问题。
在一种可选的实现场景中, 上述的在网络虚拟化系统中组播数据通道 建立的方法还可为包括如下的图中未示出的步骤 208至步骤 213。
208、 控制器从所述组播转发表中查找所述虚拟远端逻辑接口。
209、 控制器根据所述虚拟远端逻辑接口和所述远端节点的外连接口 的映射关系获取所述远端节点的外连接口。
210、 控制器根据所述组播树隧道查找所述组播树隧道在所述远端节 点的出接口。
21 1、 控制器根据所述远端节点的外连接口, 所述组播树隧道在所述 远端节点的出接口和所述 P2MP PW标签, 生成所述远端节点的 P2MP
PW组播转发表。
举例来说, 网络虚拟化系统的标签分配管理单元可为每个 P2MP PW 组播树分配 P2MP PW标签,以及管理 P2MP PW标签;例如,维护(S,G ) 与 P2MP LabeK标签)、 MID(组播 ID,英文全频: Multicast Identification )、 Outlntf 的映射关系。
其中, (S, G ) 由组播协议报文中获得; S代表组播源地址, G代表 组播组地址如互联网协议(英文全称: Internet Protocol, 简称: IP )地址; Outlntf代表出接口信息。
上述的标签分配管理单元可以是网络虚拟化系统中独立的设备, 也可 以寄生在网络虚拟化系统内的控制器上。 上述的 P2MP PW组播树是以核 心节点为根, 与 Outlntf 中的出接口对应的部分或全部的远端节点为叶子 的 P2MP PW组播树。
212、 控制器向所述远端节点发送所述远端节点的 P2MP PW组播转 发表, 以使所述远端节点根据所述 P2MP PW组播转发表转发组播数据报 文。
举例来说, 控制器将所述远端节点的 P2MP PW组播转发表通过所述 网络虚拟化系统的控制通道发送至与所述虚拟远端逻辑接口对应的远端 节点;
其中, 所述控制通道为所述网络虚拟化系统建立时所述控制设备和转 发设备之间传送控制管理报文的通道。
由上, 本实施例的在网络虚拟化系统中组播数据通道建立的方法, 在 控制器作为网络虚拟化系统中单独的控制设备时, 控制器可实现生成远端 节点的 P2MP PW组播转发表,控制器可将远端节点的 P2MP PW组播转 发表发送至远端节点, 以使远端节点根据所述远端节点的 P2MP PW组播 转发表转发组播数据报文, 使得网络虚拟化系统能够支持组播业务, 解决 了现有技术中集群路由器无法实现组播业务的问题。
另外, 在上述图 2所示的实施例的基础上, 上述步骤 205可具体分析 ^口下:
例如, 在步骤 204中、 控制器从所述组播协议报文中获取组播源地址 ( S ) 和组播组地址 (G ) , 以及控制器还可从预设的单播转发表中的入 接口 ( Inlntf ) 。
此时, 在步骤 205中, 控制器将所述虚拟远端逻辑接口与所述远端节 点的外连接口的映射关系、所述核心节点的出接口组成出接口(Outlntf ) ; 也就是说, 控制器将与所述远端节点的外连接口相映射的虚拟远端逻 辑接口、 所述核心节点的出接口组成出接口列表信息。
接着, 根据所述组播源地址、 组播组地址、 组播入接口、 组播出接口 生成所述组播转发表 { ( S,G ) ; Inlntf; Outlntf }。
本实施例的组播数据通道建立的方法, 在网络虚拟化系统建立之后, 通过内部的数据传输通道, 实现网络虚拟化系统内部各节点的业务连接, 进而实现了网络虚拟化系统中组播业务的连通性, 使网络虚拟化系统可以 高效高质的支持组播数据报文的转发。
在一种优选的实施例中, 组播转发表可为 { ( S, G ); Inlntf; Outlntf}。 其中, (S, G ) 由组播协议报文中获得; S代表组播源地址, G代表 组播组地址。
在另一优选的实施例中, 上述的组播转发表可包括隧道标识即虚拟专 用网标识 ( Virtual Private Network Identification , 简称 VPNID ) , 如组 播转发表可为 { VPNID+ ( S, G ) ; Inlntf; Outlntf}。
图 3示出了本发明一实施例提供的在网络虚拟化系统中组播数据通道 建立的方法的流程示意图, 结合图 1 B、 图 1 C和图 3所示, 本实施例中的 在网络虚拟化系统中组播数据通道建立的方法如下文所述。
在本实施例中, 预先建立网络虚拟化系统, 网络虚拟化系统建立完成 之后, 该网络虚拟化系统具有 P2MP TE组播树隧道, 该处的 P2MP TE 组播树隧道可理解为以核心节点为根, 所有的远端节点为叶子的组播树隧 道。 每一核心节点对应一 P2MP TE组播树隧道。
举例来说,网络虚拟化系统可以是通过建立以每个核心节点( Master ) 为根, 网络虚拟化系统内所有远端节点(AP )为叶子的 P2MP TE组播树 隧道。
在双控制场景下, 有多少个核心节点, 就建多少棵组播树。 在单控制 场景下, 网络虚拟化系统可以是建立两棵以主核心节点(Master )和备核 心节点 (Master )为根, 所有远端节点 ( AP )节点为叶子的 P2MP TE组 播树隧道。
301、 在核心节点上为远端节点的外连接口创建虚拟远端逻辑接口, 所述远端节点的外连接口为用于与其它网络设备相连的接口。
302、 核心节点生成以核心节点为根的组播树隧道。
303、 核心节点获得组播协议报文, 所述组播协议报文为所述网络虚 拟化系统之外的设备通过所述网络虚拟化系统的所述远端节点或所述核 心节点发送的协议报文。
应了解的是, 该处的组播协议报文可以是用户设备发送的用于配置网 络虚拟化系统的组播协议 4艮文。
304、核心节点从所述组播协议 ^艮文中获取组播源地址和组播组地址。
305、 核心节点根据所述组播源地址、 组播组地址、 组播入接口、 组 播出接口生成组播转发表; 其中, 所述组播出接口包括所述核心节点的外 连接口和所述虚拟远端逻辑接口。
举例来说, 上述的组播入接口可为根据所述组播源地址查找预设的单 播转发表中与所述组播源地址对应的出接口。
306、 核心节点为所述组播源地址和所述组播组地址分配 P2MP PW 标签; 核心节点从所述组播转发表中查找所述核心节点的外连接口, 根据 所述组播树隧道查找所述组播树隧道在所述核心节点的出接口, 根据所述 组播源地址、 组播组地址、 所述组播入接口、 所述核心节点的外连接口和 所述组播树隧道在所述核心节点的出接口生成所述核心节点的 P2MP PW 组播转发表。
举例来说,核心节点的 P2MP PW组播转发表可为: { (S, G ) ; Inlntf; 核心节点的 Outlntf }。
其中, (S, G ) 由组播协议报文中获得; S代表组播源地址, G代表 组播组地址, Inlntf代表入组播接口, 核心节点的 Outlntf代表核心节点的 外连接口和组播树隧道在核心节点的出接口组成的列表信息。
307、 核心节点保存所述核心节点的 P2MP PW组播转发表, 以使所 述核心节点根据所述 P2MP PW组播转发表转发组播数据报文。
在一种具体的实现场景中, 上述的步骤 303中的 "核心节点获得组播 协议报文" 可具体包括:
3031、如果所述组播协议报文为所述远端节点接收所述网络虚拟化系 统之外的设备发送的协议报文, 则所述核心节点接收通过所述核心节点和 远端节点之间建立的点到点虚拟链路 (英文全称: Point-To-Point Pseudo Wire, 简称: P2P PW ) , 以及核心节点和控制器之间的控制通道透传的 所述组播协议 4艮文。
也就是说, 在核心节点为控制设备, 且所述组播协议报文为所述远端 节点接收所述网络虚拟化系统之外的设备发送的协议报文, 则核心节点接 收通过所述核心节点和远端节点之间建立的 P2P PW, 以及核心节点和控 制器之间的控制通道透传的所述组播协议报文;
在核心节点为控制设备, 且所述组播协议报文为所述核心节点接收所 述网络虚拟化系统之外的设备发送的协议报文, 则所述核心节点直接接收 所述组播协议 4艮文。
由上述实施例可知, 本实施例的在网络虚拟化系统中组播数据通道建 立的方法, 在控制器位于网络虚拟化系统中的核心节点内时, 核心节点可 实现生成核心节点的 P2MP PW组播转发表, 进而将核心节点的 P2MP PW组播转发表保存, 以使核心节点根据所述 P2MP PW组播转发表转发 组播数据报文, 使得网络虚拟化系统能够支持组播业务, 解决了现有技术 中集群路由器无法实现组播业务的问题。
在一种可选的实现场景中, 上述的在网络虚拟化系统中组播数据通道 建立的方法还可为包括如下的图中未示出的步骤 308至步骤 313。
308、 核心节点从所述组播转发表中查找所述虚拟远端逻辑接口。 309、 核心节点根据所述虚拟远端逻辑接口和所述远端节点的外连接 口的映射关系获取所述远端节点的外连接口。
310、 核心节点根据所述组播树隧道查找所述组播树隧道在所述远端 节点的出接口。 31 1、 核心节点根据所述远端节点的外连接口, 所述组播树隧道在所 述远端节点的出接口和所述 P2 M P P W标签, 生成所述远端节点的 P2 M P PW组播转发表。
举例来说,上述远端节点的 P2MP PW组播转发表可为{ P2MP PW标 签; 远端节点的 Outlntf }。
其中, 远端节点的 Outlntf 代表远端节点的外连接口、 组播树隧道在 远端节点的出接口组成的列表信息。
另外, 在单控制场景下, 控制端为每个(S, G )统一分配两个 P2MP PW标签, 生成两棵 P2MP PW组播转发表, 分别是以主核心节点为根的 主 P2MP PW组播转发表, 和以备核心节点为根的备 P2MP PW组播转发 表。
312、 核心节点向所述远端节点发送所述远端节点的 P2MP PW组播 转发表, 以使所述远端节点根据所述 P2MP PW组播转发表转发组播数据 报文。
由上, 本实施例的在网络虚拟化系统中组播数据通道建立的方法, 在 控制器位于网络虚拟化系统中的核心节点内时, 核心节点可实现生成远端 节点的 P2MP PW组播转发表, 进而将远端节点的 P2MP PW组播转发表 发送至远端节点, 以使远端节点根据所述 P2MP PW组播转发表转发组播 数据报文, 使得网络虚拟化系统能够支持组播业务, 解决了现有技术中集 群路由器无法实现组播业务的问题。
另外, 结合图 1 B所示, 若核心节点 A中为主控制端, 核心节点 B中 为备控制端,且上述步骤 303中的核心节点获得组播协议报文中的核心节 点为核心节点 A时, 则,核心节点 A还需要将获得的组播协议报文备份至 核心节点 B中。
或者, 在可能的实现方式中, 若上述步骤 303中的核心节点获得组播 协议报文中的核心节点为核心节点 B时, 则,核心节点 B还需要将获得的 组播协议报文通过核心节点 A和核心节点 B之间的控制通道发送至核心节 点 A中。
上述的组播协议报文为所述网络虚拟化系统之外的设备通过所述网 络虚拟化系统的所述远端节点或所述核心节点发送的协议 4艮文。 在实际应用中, 如图 1 B所示, 主控制端所在的核心节点和备控制端 所在的核心节点之间的协议同步, 例如, 组播协议报文通过远端节点与主 控制端所在的核心节点之间的 P2P PW透传到主控制端,主控制端将组播 协议报文通过主控制端所在的核心节点和备控制端所在的核心节点之间 的控制通道同步到备控制端所在的核心节点的控制端。
主控制端所在的核心节点和备控制端所在的核心节点之间的控制通 道为网路系统建立之后就已经建立的控制通道。
当然, 在图 1 C所示的网络虚拟化系统的架构图中, 由于主控制端和 备控制端均位于同一核心节点中, 故不需要上述的组播协议报文进行备份 的步骤。
应说明, 在双控制场景下, 针对每一个具有控制端的核心节点均需要 建立组播数据通道, 即重复上述步骤 301至步骤 307的过程,获得每一核 心节点的 P2MP PW组播转发表, 以使所述核心节点根据所述 P2MP PW 组播转发表转发组播数据报文。
另外, 在具体的应用过程中, 若双控制场景的网络虚拟化系统中每一 核心节点的组播数据通道均已经建立, 则组播树在具有主控制端的核心节 点接收到某一组播数据报文, 将该组播数据报文传输至具有备控制端的核 心节点进行备份。 在具有主控制端的核心节点的组播数据报文已经通过组 播树隧道的接口或者核心节点的出接口发送, 或者, 组播数据报文已经下 发到远端节点, 此时, 具有备控制端的核心节点上备份的组播数据报文则 丟弃, 否则, 釆用备份的组播数据报文进行后续的转发。
图 4示出了本发明一实施例提供的组播数据报文发送方法的流程示意 图, 如图 4所示, 本实施例中的组播数据报文发送方法如下文所述。
401、 若核心节点接收到组播数据报文, 则核心节点根据组播数据报 文查找核心节点的 P2MP PW组播转发表, 若确定组播数据报文的转发出 接口为核心节点的外连接口, 则核心节点直接通过所述核心节点外连接口 发送所述组播数据报文。
402、 若确定组播数据报文的转发出接口为核心节点的内连出接口, 则核心节点釆用 P2MP PW标签和组播树隧道的标签封装组播数据报文, 得到第一组播数据报文, 将第一组播数据报文通过核心节点的内连出接口 发送封装的组播数据报文。
其中, 上述核心节点的内连出接口为所述组播树隧道在所述核心节点 的出接口。
403、 中间远端节点接收第一组播数据报文, 从所述第一组播数据报 文中获取 P2MP PW标签,根据所述 P2MP PW标签查找自身的 P2MP PW 组播转发表, 获取匹配的组播转发出接口, 若所述匹配的组播转发出接口 为组播树隧道(如 P2MP TE P遂道) 在所述中间远端节点的出接口, 则中 间远端节点针对封装后的组播数据报文, 将 P2MP TE隧道标签中的入标 签和出标签进行交换得到第二组播数据报文, 将第二组播数据报文从 P2MP TE隧道在所述中间远端节点的出接口发送出去。
若所述匹配的组播转发出接口为中间远端节点的外连接口, 则中间远 端节点直接通过所述中间远端节点的外连接口发送所述第一组播数据报 文。
举例来说, 在图 1 B中, 核心节点 A与节点 2之间的远端节点 1为中 间的远端节点, 此时, 节点 2为远端节点。
404、 远端节点接收到所述第二组播数据报文, 从所述第二组播数据 报文中获取 P2MP PW标签, 根据所述 P2MP PW标签查找自身的 P2MP PW组播转发表, 获取匹配的组播转发出接口, 远端节点解掉所述第二组 播数据报文封装的 P2MP TE隧道标签和 P2MP PW标签, 得到第三组播 数据报文, 通过所述匹配的组播转发出接口发送所述第三组播数据报文。
通常, 所述匹配的组播转发出接口为远端节点的外连接口。
上述组播数据报文发送方法可以使网络虚拟系统内部的核心节点和 中间远端节点、 远端节点能够实现组播业务。
图 5示出了本发明一实施例提供的控制设备的结构示意图,如图 5所 示, 本实施例中的控制设备位于网络虚拟化系统中, 该控制设备可包括: 创建单元 51、 生成单元 52、 获得单元 53、 获取单元 54、 分配单元 55、 查找单元 56和发送单元 57;
其中, 创建单元 51用于在控制设备上为远端节点的外连接口创建虚 拟远端逻辑接口, 所述远端节点的外连接口为用于与其它网络设备相连的 接口; 生成单元 52用于在所述创建单元 51创建所述虚拟远端逻辑接口之 后, 生成以核心节点为根的组播树隧道;
获得单元 53用于在所述生成单元 52生成所述组播树隧道之后 ,获得 组播协议报文, 所述组播协议报文为所述网络虚拟化系统之外的设备通过 所述网络虚拟化系统的所述远端节点或所述核心节点发送的协议 4艮文; 获取单元 54用于在所述获得单元 53获得所述组播协议报文之后 ,从 所述组播协议 ^艮文中获取组播源地址和组播组地址;
所述生成单元 52还用于在所述获取单元 54获取所述组播源地址和所 述组播组地址之后, 根据所述组播源地址、 组播组地址、 组播入接口、 组 播出接口生成组播转发表, 其中, 所述组播出接口包括所述核心节点的外 连接口和所述虚拟远端逻辑接口;
分配单元 55用于为所述组播源地址和组播组地址分配 P2MP PW标 签;
查找单元 56用于在所述生成单元 52生成所述组播转发表之后 ,从所 述组播转发表中查找所述核心节点的外连接口;
所述生成单元 52还用于在所述查找单元 56查找到所述核心节点的外 连接口之后, 根据所述组播树隧道查找所述组播树隧道在所述核心节点的 出接口, 根据所述组播源地址、 组播组地址、 所述 P2MP PW标签、 所述 组播入接口、 所述核心节点的外连接口和所述组播树隧道在所述核心节点 的出接口生成所述核心节点的点到多点虚拟链路 P2MP PW组播转发表; 发送单元 57用于在所述生成单元生成所述 P2MP PW组播转发表之 后, 向所述核心节点发送所述核心节点的 P2MP PW组播转发表, 以使所 述核心节点根据所述 P2MP PW组播转发表转发组播数据报文。
在一种可选的实现场景中,
所述查找单元 56还用于从所述组播转发表中查找所述虚拟远端逻辑 接口;
所述获取单元 54还用于根据所述虚拟远端逻辑接口和所述远端节点 的外连接口的映射关系获取所述远端节点的外连接口;
所述查找单元 56还用于根据所述组播树隧道查找所述组播树隧道在 所述远端节点的出接口; 所述生成单元 52还用于根据所述远端节点的外连接口, 所述组播树 隧道在所述远端节点的出接口和所述 P2 M P P W标签, 生成所述远端节点 的 P2MP PW组播转发表;
所述发送单元 57还用于向所述远端节点发送所述远端节点的 P2MP PW组播转发表, 以使所述远端节点根据所述 P2MP PW组播转发表转发 组播数据报文。
举例来说, 上述的组播入接口是根据所述组播源地址查找预设的单播 转发表中与所述组播源地址对应的出接口。
在一种可选的实现场景中, 上述的获得单元 53可具体用于
在所述组播协议报文为所述远端节点接收所述网络虚拟化系统之外 的设备发送的协议报文时, 接收通过所述核心节点和远端节点之间建立的 点到点虚拟链路 P2P PW, 以及核心节点和控制器之间的控制通道透传的 所述组播协议 文; 或
在所述组播协议报文为所述核心节点接收所述网络虚拟化系统之外 的设备发送的协议报文时, 通过所述核心节点和所述控制器之间的控制通 道接收所述组播协议 ^艮文。
本实施例中的控制设备单独作为网络虚拟化系统中的设备时, 可实现 生成核心节点的 P2MP PW组播转发表和远端节点的 P2MP PW组播转发 表, 进而将核心节点的 P2MP PW组播转发表发送至核心节点, 以使核心 节点根据所述核心节点的 P2MP PW组播转发表转发组播数据报文, 以及 将远端节点的 P2MP PW组播转发表发送至远端节点, 以使远端节点根据 远端节点的 P2MP PW组播转发表转发组播数据报文, 由此, 使得网络虚 拟化系统能够支持组播业务, 解决了现有技术中集群路由器无法实现组播 业务的问题。
图 6示出了本发明一实施例提供的通信设备的结构示意图,如图 6所 示,所述通信设备位于网络虚拟化系统中,本实施例中的通信设备可包括: 创建单元 61、 生成单元 62、 获得单元 63、 获取单元 64、 分配单元 65、 查找单元 66和保存单元 67;
其中, 创建单元 61用于在通信设备上为远端节点的外连接口创建虚 拟远端逻辑接口, 所述远端节点的外连接口为用于与其它网络设备相连的 接口;
生成单元 62用于在所述创建单元 61创建所述虚拟远端逻辑接口之 后, 生成以通信设备为根的组播树隧道;
获得单元 63用于在所述生成单元 62生成所述组播树隧道之后 ,获得 组播协议报文, 所述组播协议报文为所述网络虚拟化系统之外的设备通过 所述网络虚拟化系统的所述远端节点或所述通信设备发送的协议报文; 获取单元 64用于在所述获得单元 63获得所述组播协议报文之后 ,从 所述组播协议 ^艮文中获取组播源地址和组播组地址;
所述生成单元 62还用于在所述获取单元 64获取所述组播源地址和组 播组地址之后, 根据所述组播源地址、 组播组地址、 组播入接口、 组播出 接口生成组播转发表; 其中, 所述组播出接口包括所述通信设备的外连接 口和所述虚拟远端逻辑接口;
分配单元 65用于为所述组播源地址和组播组地址分配 P2MP PW标 签;
查找单元 66用于在所述生成单元 62生成所述组播转发表之后 ,从所 述组播转发表中查找所述通信设备的外连接口, 根据组播树隧道查找所述 组播树隧道在所述通信设备的出接口;
所述生成单元 62还用于在所述查找单元 66查找所述通信设备的出接 口之后, 根据所述组播源地址、 组播组地址、 所述组播入接口、 所述通信 设备的外连接口和所述组播树隧道在所述通信设备的出接口生成所述通 信设备的点到多点虚拟链路 P2MP PW组播转发表; 之后, 保存所述通信设备的 P2MP PW组播转发表, 以使所述通信设备根 据所述 P2MP PW组播转发表转发组播数据报文。
在一种具体的实现方式中, 上述的通信设备还可包括图中未示出的发 送单元 68;
其中,
所述查找单元 66还用于从所述组播转发表中查找所述虚拟远端逻辑 接口;
所述获取单元 64还用于根据所述虚拟远端逻辑接口和所述远端节点 的外连接口的映射关系获取所述远端节点的外连接口;
所述查找单元 66还用于根据所述组播树隧道查找所述组播树隧道在 所述远端节点的出接口;
所述生成单元 62还用于根据所述远端节点的外连接口, 所述组播树 隧道在所述远端节点的接口和所述 P2MP PW标签, 生成所述远端节点的 P2MP PW组播转发表;
所述发送单元 68用于向所述远端节点发送所述远端节点的 P2MP PW组播转发表, 以使所述远端节点根据所述 P2MP PW组播转发表转发 组播数据报文。
举例来说, 前述的组播入接口可为根据所述组播源地址查找预设的单 播转发表中与所述组播源地址对应的出接口。
在一种具体的实现方式中, 前述的获得单元 63可具体用于, 在所述 组播协议报文为所述远端节点接收所述网络虚拟化系统之外的设备发送 的协议报文时, 接收通过所述通信设备和远端节点之间建立的点到点虚拟 链路 P2P PW, 以及通信设备和控制器之间的控制通道透传的所述组播协 议才艮文。
本实施例中的通信设备作为网络虚拟化系统中的控制设备时, 可实现 生成核心节点的 P2MP PW组播转发表和远端节点的 P2MP PW组播转发 表, 进而将核心节点的 P2MP PW组播转发表保存, 以使核心节点根据所 述核心节点的 P2MP PW组播转发表转发组播数据报文, 以及将远端节点 的 P2MP PW组播转发表发送至远端节点, 以使远端节点根据远端节点的 P2MP PW组播转发表转发组播数据报文, 由此, 使得网络虚拟化系统能 够支持组播业务, 解决了现有技术中集群路由器无法实现组播业务的问 题。
图 7示出了本发明一实施例提供的控制设备的结构示意图,如图 7所 示,所述控制设备位于网络虚拟化系统中,本实施例中的控制设备可包括: 处理器 71和发射器 72;
其中,处理器 71用于为远端节点的外连接口创建虚拟远端逻辑接口, 所述远端节点的外连接口为用于与其它网络设备相连的接口;
处理器还用于, 生成以核心节点为根的组播树隧道; 获得组播协议报 文, 所述组播协议报文为所述网络虚拟化系统之外的设备通过所述网络虚 拟化系统的所述远端节点或所述核心节点发送的协议 ^艮文;
从所述组播协议 ^艮文中获取组播源地址和组播组地址;
根据所述组播源地址、 组播组地址、 组播入接口、 组播出接口生成组 播转发表; 其中, 所述组播出接口包括所述核心节点的外连接口和所述虚 拟远端逻辑接口;
为所述组播源地址和所述组播组地址分配 P2MP PW标签;
从所述组播转发表中查找所述核心节点的外连接口, 根据所述组播树 隧道查找所述组播树隧道在所述核心节点的出接口, 根据所述组播源地 址、 组播组地址、 所述 P2MP PW标签、 所述组播入接口、 所述核心节点 的外连接口和所述组播树隧道在所述核心节点的出接口生成所述核心节 点的点到多点虚拟链路 P2MP PW组播转发表;
发射器 72用于在所述处理器 71生成所述核心节点的 P2MP PW组播 转发表之后,向所述核心节点发送所述核心节点的 P2MP PW组播转发表, 以使所述核心节点根据所述 P2MP PW组播转发表转发组播数据报文。
在一种具体的应用中, 上述的处理器 91还用于,
从所述组播转发表中查找所述虚拟远端逻辑接口;
根据所述虚拟远端逻辑接口和所述远端节点的外连接口的映射关系 获取所述远端节点的外连接口;
根据所述组播树隧道查找所述组播树隧道在所述远端节点的出接口; 根据所述远端节点的外连接口, 所述组播树隧道在所述远端节点的出 接口和所述 P2MP PW标签,生成所述远端节点的 P2MP PW组播转发表; 所述发射器 92还用于, 向所述远端节点发送所述远端节点的 P2MP PW组播转发表, 以使所述远端节点根据所述 P2MP PW组播转发表转发 组播数据报文。
举例来说, 前述的组播入接口可为根据所述组播源地址查找预设的单 播转发表中与所述组播源地址对应的出接口。
进一步地, 在实际应用中处理器 71获得组播协议报文的具体过程如 下:
在所述组播协议报文为所述远端节点接收所述网络虚拟化系统之外 的设备发送的协议报文时, 接收通过所述核心节点和远端节点之间建立的 点到点虚拟链路 P2P PW, 以及核心节点和控制器之间的控制通道透传的 所述组播协议 文; 或
在所述组播协议报文为所述核心节点接收所述网络虚拟化系统之外 的设备发送的协议报文时, 通过所述核心节点和所述控制器之间的控制通 道接收所述组播协议 ^艮文。
本实施例中的控制设备单独作为网络虚拟化系统中的设备时, 可实现 生成核心节点的 P2MP PW组播转发表和远端节点的 P2MP PW组播转发 表, 进而将核心节点的 P2MP PW组播转发表发送至核心节点, 以使核心 节点根据所述核心节点的 P2MP PW组播转发表转发组播数据报文, 以及 将远端节点的 P2MP PW组播转发表发送至远端节点, 以使远端节点根据 远端节点的 P2MP PW组播转发表转发组播数据报文, 由此, 使得网络虚 拟化系统能够支持组播业务, 解决了现有技术中集群路由器无法实现组播 业务的问题。
图 8示出了本发明一实施例提供的控制设备的结构示意图, 所述通信 设备位于网络虚拟化系统中,如图 8所示,本实施例中的通信设备可包括: 处理器 81和存储器 82;
其中, 处理器 81用于在通信设备上为远端节点的外连接口创建虚拟 远端逻辑接口, 所述远端节点的外连接口为用于与其它网络设备相连的接 口;
生成以通信设备为根的组播树隧道;
获得组播协议报文, 所述组播协议报文为网络虚拟化系统之外的设备 通过所述网络虚拟化系统的所述远端节点或所述通信设备发送的协议报 文;
从所述组播协议 ^艮文中获取组播源地址和组播组地址;
根据所述组播源地址、 组播组地址、 组播入接口、 组播出接口生成组 播转发表; 其中, 所述组播出接口包括所述通信设备的外连接口和所述虚 拟远端逻辑接口;
为所述组播源地址和所述组播组地址分配 P2MP PW标签;
从所述组播转发表中查找所述通信设备的外连接口, 根据所述组播树 隧道查找所述组播树隧道在所述通信设备的出接口, 根据所述组播源地 址、 组播组地址、 所述 P2MP PW标签、 所述组播入接口、 所述通信设备 的外连接口和所述组播树隧道在所述通信设备的出接口生成所述通信设 备的点到多点虚拟链路 P2MP PW组播转发表;
存储器 82用于保存所述通信设备的 P2MP PW组播转发表, 以使所 述通信设备根据所述 P2MP PW组播转发表转发组播数据报文。
在一种具体的应用场景中, 所述处理器 81还用于,
从所述组播转发表中查找所述虚拟远端逻辑接口;
根据所述虚拟远端逻辑接口和所述远端节点的外连接口的映射关系 获取所述远端节点的外连接口;
根据所述组播树隧道查找所述组播树隧道在所述远端节点的出接口; 根据所述远端节点的外连接口, 所述组播树隧道在所述远端节点的出 接口和所述 P2MP PW标签,生成所述远端节点的 P2MP PW组播转发表; 进一步地, 所述通信设备还包括图 8中未示出的发射器 83;
所述发射器 83用于向所述远端节点发送所述远端节点的 P2MP PW 组播转发表, 以使所述远端节点根据所述 P2MP PW组播转发表转发组播 数据报文。
举例来说, 前述的组播入接口可为根据所述组播源地址查找预设的单 播转发表中与所述组播源地址对应的出接口。
具体地, 所述处理器 81获得组播协议报文的具体过程如下: 在所述 组播协议报文为所述远端节点接收所述网络虚拟化系统之外的设备发送 的协议报文时, 点接收通过所述通信设备和远端节点之间建立的点到点虚 拟链路 P2P PW, 以及通信设备和控制器之间的控制通道透传的所述组播 协议报文。
本实施例中的通信设备作为网络虚拟化系统中的控制设备时, 可实现 生成核心节点的 P2MP PW组播转发表和远端节点的 P2MP PW组播转发 表, 进而将核心节点的 P2MP PW组播转发表保存, 以使核心节点根据所 述核心节点的 P2MP PW组播转发表转发组播数据报文, 以及将远端节点 的 P2MP PW组播转发表发送至远端节点, 以使远端节点根据远端节点的 P2MP PW组播转发表转发组播数据报文, 由此, 使得网络虚拟化系统能 够支持组播业务, 解决了现有技术中集群路由器无法实现组播业务的问 题。
由上, 本实施例的通信设备位于网络虚拟化系统中, 可以通过内部的 数据传输通道, 实现网络虚拟化系统内部各节点的业务连接, 进而实现了 网络虚拟化系统中组播业务的连通性, 使网络虚拟化系统可以高效高质的 支持组播数据报文的转发。
另外, 本发明实施例还提供一种网络虚拟化系统, 结合图 1A至图 1 C 所示, 本发明实施例中的网络虚拟化系统, 包括: 核心节点和连接所述核 心节点的中间远端节点, 以及连接所述中间远端节点的远端节点;
其中, 所述核心节点具体用于
接收到组播数据报文, 根据所述组播数据报文查找所述核心节点的点到 多点虚拟链路 P2MP PW组播转发表;
如果确定所述组播数据报文的转发出接口为核心节点的内连出接口, 则 所述核心节点釆用 P2MP PW标签和组播树隧道的标签封装所述组播数据 报文, 得到第一组播数据报文;
将所述第一组播数据报文通过所述核心节点的内连出接口发送至所 述中间远端节点;
其中, 所述核心节点的内连出接口为所述组播树隧道在所述核心节点 的出接口;
所述中间远端节点具体用于
接收所述第一组播数据报文, 从所述第一组播数据报文中获取所述 P2MP PW标签,根据所述 P2MP PW标签查找所述中间远端节点的 P2MP PW组播转发表, 获取匹配的组播转发出接口;
如果所述匹配的组播转发出接口为所述组播树隧道在所述中间远端 节点的出接口, 则所述中间远端节点根据所述第一组播数据报文, 将所述 组播树隧道标签中的入标签和出标签进行交换, 得到第二组播数据报文; 所述中间远端节点将所述第二组播数据报文从所述组播树隧道在所 述中间远端节点的出接口发送出去;
如果所述匹配的组播转发出接口为所述中间远端节点的外连接口, 则所 述中间远端节点直接通过所述中间远端节点的外连接口发送所述第一组播数 据报文至远端节点;
所述远端节点具体用于
接收到所述第二组播数据报文, 从所述第二组播数据报文中获取所述
P2MP PW标签,根据所述 P2MP PW标签查找所述远端节点的 P2MP PW 组播转发表, 获取匹配的组播转发出接口;
所述远端节点解掉所述第二组播数据报文封装的所述组播树隧道标签和 所述 P2MP PW标签, 得到第三组播数据报文;
所述远端节点通过所述匹配的组播转发出接口发送所述第三组播数 据报文。
可选地, 所述核心节点还用于, 如果确定所述组播数据报文的转发出 接口为所述核心节点的外连接口, 则所述核心节点直接通过所述核心节点 外连接口发送所述组播数据报文。
上述的网络虚拟化系统实现了网络虚拟化系统中组播业务的连通性, 进而系统中的核心节点和中间远端节点、 远端节点能够实现组播业务即支 持组播数据报文的转发。
本领域普通技术人员可以理解: 实现上述各方法实施例的全部或部分 步骤可以通过程序指令相关的硬件来完成。 前述的程序可以存储于一计算 机可读取存储介质中。 该程序在执行时, 执行包括上述各方法实施例的步 骤; 而前述的存储介质包括: ROM、 RAM, 磁碟或者光盘等各种可以存 储程序代码的介质。
最后应说明的是: 以上各实施例仅用以说明本发明的技术方案, 而非 对其限制; 尽管参照前述各实施例对本发明进行了详细的说明, 本领域的 普通技术人员应当理解: 其依然可以对前述各实施例所记载的技术方案进 行修改, 或者对其中部分或者全部技术特征进行等同替换; 而这些修改或 者替换, 并不使相应技术方案的本质脱离本发明各实施例技术方案的范 围。

Claims

权 利 要 求 书
1、 一种在网络虚拟化系统中组播数据通道建立的方法, 其特征在于, 包括:
在控制器上为远端节点的外连接口创建虚拟远端逻辑接口, 所述远端 节点的外连接口为用于与其它网络设备相连的接口;
所述控制器生成以核心节点为根的组播树隧道;
所述控制器获得组播协议报文, 所述组播协议报文为所述网络虚拟化 系统之外的设备通过所述网络虚拟化系统的所述远端节点或所述核心节 点发送的协议 4艮文;
所述控制器从所述组播协议报文中获取组播源地址和组播组地址; 所述控制器根据所述组播源地址、 组播组地址、 组播入接口、 组播出 接口生成组播转发表; 其中, 所述组播出接口包括所述核心节点的外连接 口和所述虚拟远端逻辑接口;
所述控制器为所述组播源地址和所述组播组地址分配 P2MP PW标 签;
所述控制器从所述组播转发表中查找所述核心节点的外连接口, 根据 所述组播树隧道查找所述组播树隧道在所述核心节点的出接口, 根据所述 组播源地址、 组播组地址、 所述 P2MP PW标签、 所述组播入接口、 所述 核心节点的外连接口和所述组播树隧道在所述核心节点的出接口生成所 述核心节点的点到多点虚拟链路 P2MP PW组播转发表;
所述控制器向所述核心节点发送所述核心节点的 P2MP PW组播转发 表,以使所述核心节点根据所述 P2MP PW组播转发表转发组播数据报文。
2、 根据权利要求 1所述的方法, 其特征在于, 所述方法进一步包括: 所述控制器从所述组播转发表中查找所述虚拟远端逻辑接口; 所述控制器根据所述虚拟远端逻辑接口和所述远端节点的外连接口 的映射关系获取所述远端节点的外连接口;
所述控制器根据所述组播树隧道查找所述组播树隧道在所述远端节 点的出接口;
所述控制器根据所述远端节点的外连接口, 所述组播树隧道在所述远 端节点的出接口和所述 P2MP PW标签, 生成所述远端节点的 P2MP PW 组播转发表;
所述控制器向所述远端节点发送所述远端节点的 P2MP PW组播转发 表,以使所述远端节点根据所述 P2MP PW组播转发表转发组播数据报文。
3、 根据权利要求 1所述的方法, 其特征在于, 所述组播入接口是根 据所述组播源地址查找预设的单播转发表中与所述组播源地址对应的出 接口。
4、 根据权利要求 1至 3任一所述的方法, 其特征在于, 所述控制器 获得组播协议报文具体包括:
如果所述组播协议报文为所述远端节点接收所述网络虚拟化系统之 外的设备发送的协议报文, 则所述控制器接收通过所述核心节点和远端节 点之间建立的点到点虚拟链路 P2P PW, 以及核心节点和控制器之间的控 制通道透传的所述组播协议报文; 或
如果所述组播协议报文为所述核心节点接收所述网络虚拟化系统之 外的设备发送的协议报文, 则所述控制器通过所述核心节点和所述控制器 之间的控制通道接收所述组播协议 4艮文。
5、 一种在网络虚拟化系统中组播数据通道建立的方法, 其特征在于, 包括:
在核心节点上为远端节点的外连接口创建虚拟远端逻辑接口, 所述远 端节点的外连接口为用于与其它网络设备相连的接口;
所述核心节点生成以核心节点为根的组播树隧道;
所述核心节点获得组播协议报文, 所述组播协议报文为所述网络虚拟 化系统之外的设备通过所述网络虚拟化系统的所述远端节点或所述核心 节点发送的协议报文;
所述核心节点从所述组播协议 ^艮文中获取组播源地址和组播组地址; 所述核心节点根据所述组播源地址、 组播组地址、 组播入接口、 组播 出接口生成组播转发表; 其中, 所述组播出接口包括所述核心节点的外连 接口和所述虚拟远端逻辑接口;
所述核心节点为所述组播源地址和所述组播组地址分配 P2MP PW标 签;
所述核心节点从所述组播转发表中查找所述核心节点的外连接口, 根 据所述组播树隧道查找所述组播树隧道在所述核心节点的出接口, 根据所 述组播源地址、 组播组地址、 所述 P2MP PW标签, 所述组播入接口、 所 述核心节点的外连接口和所述组播树隧道在所述核心节点的出接口生成 所述核心节点的点到多点虚拟链路 P2MP PW组播转发表;
所述核心节点保存所述核心节点的 P2MP PW组播转发表, 以使所述 核心节点根据所述 P2MP PW组播转发表转发组播数据报文。
6、 根据权利要求 5所述的方法, 其特征在于, 所述方法进一步包括: 所述核心节点从所述组播转发表中查找所述虚拟远端逻辑接口; 所述核心节点根据所述虚拟远端逻辑接口和所述远端节点的外连接 口的映射关系获取所述远端节点的外连接口;
所述核心节点根据所述组播树隧道查找所述组播树隧道在所述远端 节点的出接口;
所述核心节点根据所述远端节点的外连接口, 所述组播树隧道在所述 远端节点的出接口和所述 P2MP PW标签, 生成所述远端节点的 P2MP PW组播转发表;
所述核心节点向所述远端节点发送所述远端节点的 P2MP PW组播转 发表, 以使所述远端节点根据所述 P2MP PW组播转发表转发组播数据报 文。
7、 根据权利要求 5所述的方法, 其特征在于, 所述组播入接口是根 据所述组播源地址查找预设的单播转发表中与所述组播源地址对应的出 接口。
8、 根据权利要求 5至 7任一所述的方法, 其特征在于, 所述核心节 点获得组播协议报文具体包括:
如果所述组播协议报文为所述远端节点接收所述网络虚拟化系统之 外的设备发送的协议报文, 则所述核心节点接收通过所述核心节点和远端 节点之间建立的点到点虚拟链路 P2P PW, 以及核心节点和控制器之间的 控制通道透传的所述组播协议报文。
9、 一种控制设备, 其特征在于, 所述控制设备位于网络虚拟化系统 中, 所述控制设备包括:
创建单元, 用于在控制设备上为远端节点的外连接口创建虚拟远端逻 辑接口, 所述远端节点的外连接口为用于与其它网络设备相连的接口; 生成单元, 用于在所述创建单元创建所述虚拟远端逻辑接口之后, 生 成以核心节点为根的组播树隧道;
获得单元, 用于在所述生成单元生成所述组播树隧道之后, 获得组播 协议报文, 所述组播协议报文为所述网络虚拟化系统之外的设备通过所述 网络虚拟化系统的所述远端节点或所述核心节点发送的协议 4艮文;
获取单元, 用于在所述获得单元获得所述组播协议报文之后, 从所述 组播协议 ^艮文中获取组播源地址和组播组地址;
所述生成单元, 还用于在所述获取单元获取所述组播源地址和所述组 播组地址之后, 根据所述组播源地址、 组播组地址、 组播入接口、 组播出 接口生成组播转发表, 其中, 所述组播出接口包括所述核心节点的外连接 口和所述虚拟远端逻辑接口;
分配单元, 用于为所述组播源地址和所述组播组地址分配 P2MP PW 标签;
查找单元, 用于在所述生成单元生成所述组播转发表之后, 从所述组 播转发表中查找所述核心节点的外连接口;
所述生成单元, 还用于在所述查找单元查找到所述核心节点的外连接 口之后, 根据所述组播树隧道查找所述组播树隧道在所述核心节点的出接 口, 根据所述组播源地址、 组播组地址、 所述 P2MP PW标签、 所述组播 入接口、 所述核心节点的外连接口和所述组播树隧道在所述核心节点的出 接口生成所述核心节点的点到多点虚拟链路 P2MP PW组播转发表;
发送单元,用于在所述生成单元生成所述 P2MP PW组播转发表之后, 向所述核心节点发送所述核心节点的 P2MP PW组播转发表, 以使所述核 心节点根据所述 P2MP PW组播转发表转发组播数据报文。
10、 根据权利要求 9所述的设备, 其特征在于,
所述查找单元, 还用于从所述组播转发表中查找所述虚拟远端逻辑接 口;
所述获取单元, 还用于根据所述虚拟远端逻辑接口和所述远端节点的 外连接口的映射关系获取所述远端节点的外连接口;
所述查找单元, 还用于根据所述组播树隧道查找所述组播树隧道在所 述远端节点的出接口;
所述生成单元, 还用于根据所述远端节点的外连接口, 所述组播树隧 道在所述远端节点的出接口和所述 P2MP PW标签, 生成所述远端节点的 P2MP PW组播转发表;
所述发送单元, 还用于向所述远端节点发送所述远端节点的 P2MP
PW组播转发表, 以使所述远端节点根据所述 P2MP PW组播转发表转发 组播数据报文。
1 1、 根据权利要求 9所述的设备, 其特征在于, 所述组播入接口是根 据所述组播源地址查找预设的单播转发表中与所述组播源地址对应的出 接口。
12、 根据权利要求 9至 1 1任一所述的设备, 其特征在于, 所述获得 单元, 具体用于
在所述组播协议报文为所述远端节点接收所述网络虚拟化系统之外 的设备发送的协议报文时, 接收通过所述核心节点和远端节点之间建立的 点到点虚拟链路 P2P PW, 以及核心节点和控制器之间的控制通道透传的 所述组播协议 文; 或
在所述组播协议报文为所述核心节点接收所述网络虚拟化系统之外 的设备发送的协议报文时, 通过所述核心节点和所述控制器之间的控制通 道接收所述组播协议 ^艮文。
13、 一种通信设备, 其特征在于, 所述通信设备位于网络虚拟化系统 中, 所述通信设备包括:
创建单元, 用于在通信设备上为远端节点的外连接口创建虚拟远端逻 辑接口, 所述远端节点的外连接口为用于与其它网络设备相连的接口; 生成单元, 用于在所述创建单元创建所述虚拟远端逻辑接口之后, 生 成以通信设备为根的组播树隧道;
获得单元, 用于在所述生成单元生成所述组播树隧道之后, 获得组播 协议报文, 所述组播协议报文为所述网络虚拟化系统之外的设备通过所述 网络虚拟化系统的所述远端节点或所述通信设备发送的协议报文;
获取单元, 用于在所述获得单元获得所述组播协议报文之后, 从所述 组播协议 ^艮文中获取组播源地址和组播组地址; 所述生成单元, 还用于在所述获取单元获取所述组播源地址和组播组 地址之后, 根据所述组播源地址、 组播组地址、 组播入接口、 组播出接口 生成组播转发表; 其中, 所述组播出接口包括所述通信设备的外连接口和 所述虚拟远端逻辑接口;
分配单元, 用于为所述组播源地址和所述组播组地址分配 P2MP PW 标签;
查找单元, 用于在所述生成单元生成所述组播转发表之后, 从所述组 播转发表中查找所述通信设备的外连接口, 根据组播树隧道查找所述组播 树隧道在所述通信设备的出接口;
所述生成单元, 还用于在所述查找单元查找所述通信设备的出接口之 后, 根据所述组播源地址、 组播组地址、 所述 P2MP PW标签、 所述组播 入接口、 所述通信设备的外连接口和所述组播树隧道在所述通信设备的出 接口生成所述通信设备的点到多点虚拟链路 P2MP PW组播转发表;
保存单元,用于在所述生成单元生成所述 P2MP PW组播转发表之后, 保存所述通信设备的 P2MP PW组播转发表, 以使所述通信设备根据所述 P2MP PW组播转发表转发组播数据报文。
14、 根据权利要求 13所述的设备, 其特征在于,
所述查找单元, 还用于从所述组播转发表中查找所述虚拟远端逻辑接 口;
所述获取单元, 还用于根据所述虚拟远端逻辑接口和所述远端节点的 外连接口的映射关系获取所述远端节点的外连接口;
所述查找单元, 还用于根据所述组播树隧道查找所述组播树隧道在所 述远端节点的出接口;
所述生成单元, 还用于根据所述远端节点的外连接口, 所述组播树隧 道在所述远端节点的接口和所述 P2MP PW标签, 生成所述远端节点的 P2MP PW组播转发表;
所述发送单元, 用于向所述远端节点发送所述远端节点的 P2MP PW 组播转发表, 以使所述远端节点根据所述 P2MP PW组播转发表转发组播 数据报文。
15、 根据权利要求 13所述的设备, 其特征在于, 所述组播入接口是 根据所述组播源地址查找预设的单播转发表中与所述组播源地址对应的 出接口。
16、 根据权利要求 13至 15任一所述的设备, 其特征在于, 所述获得 单元, 具体用于
在所述组播协议报文为所述远端节点接收所述网络虚拟化系统之外 的设备发送的协议报文时, 接收通过所述通信设备和远端节点之间建立的 点到点虚拟链路 P2P PW, 以及通信设备和控制器之间的控制通道透传的 所述组播协议 4艮文。
17、 一种控制设备, 其特征在于, 所述控制设备位于网络虚拟化系统 中, 所述控制设备包括:
处理器, 用于为远端节点的外连接口创建虚拟远端逻辑接口, 所述远 端节点的外连接口为用于与其它网络设备相连的接口;
生成以核心节点为根的组播树隧道;
获得组播协议报文, 所述组播协议报文为所述网络虚拟化系统之外的 设备通过所述网络虚拟化系统的所述远端节点或所述核心节点发送的协 议才艮文;
从所述组播协议 ^艮文中获取组播源地址和组播组地址;
根据所述组播源地址、 组播组地址、 组播入接口、 组播出接口生成组 播转发表; 其中, 所述组播出接口包括所述核心节点的外连接口和所述虚 拟远端逻辑接口;
为所述组播源地址和所述组播组地址分配 P2MP PW标签; 从所述组播转发表中查找所述核心节点的外连接口, 根据所述组播树 隧道查找所述组播树隧道在所述核心节点的出接口, 根据所述组播源地 址、 组播组地址、 所述 P2MP PW标签、 所述组播入接口、 所述核心节点 的外连接口和所述组播树隧道在所述核心节点的出接口生成所述核心节 点的点到多点虚拟链路 P2MP PW组播转发表;
发射器, 用于在所述处理器生成所述核心节点的 P2MP PW组播转发 表之后, 向所述核心节点发送所述核心节点的 P2MP PW组播转发表, 以 使所述核心节点根据所述 P2MP PW组播转发表转发组播数据报文。
18、 根据权利要求 17所述的设备, 其特征在于, 所述处理器, 还用 于
从所述组播转发表中查找所述虚拟远端逻辑接口;
根据所述虚拟远端逻辑接口和所述远端节点的外连接口的映射关系 获取所述远端节点的外连接口;
根据所述组播树隧道查找所述组播树隧道在所述远端节点的出接口; 根据所述远端节点的外连接口, 所述组播树隧道在所述远端节点的出 接口和所述 P2MP PW标签,生成所述远端节点的 P2MP PW组播转发表; 所述发射器, 还用于
向所述远端节点发送所述远端节点的 P2MP PW组播转发表, 以使所 述远端节点根据所述 P2MP PW组播转发表转发组播数据报文。
19、 根据权利要求 17所述的设备, 其特征在于, 所述组播入接口是 根据所述组播源地址查找预设的单播转发表中与所述组播源地址对应的 出接口。
20、 根据权利要求 17至 19任一所述的设备, 其特征在于, 所述处理 器, 具体用于
在所述组播协议报文为所述远端节点接收所述网络虚拟化系统之外 的设备发送的协议报文时, 接收通过所述核心节点和远端节点之间建立的 点到点虚拟链路 P2P PW, 以及核心节点和控制器之间的控制通道透传的 所述组播协议 文; 或
在所述组播协议报文为所述核心节点接收所述网络虚拟化系统之外 的设备发送的协议报文时, 通过所述核心节点和所述控制器之间的控制通 道接收所述组播协议 ^艮文。
21、 一种通信设备, 其特征在于, 所述通信设备位于网络虚拟化系统 中, 所述通信设备包括:
处理器, 用于在通信设备上为远端节点的外连接口创建虚拟远端逻辑 接口, 所述远端节点的外连接口为用于与其它网络设备相连的接口;
生成以通信设备为根的组播树隧道;
获得组播协议报文, 所述组播协议报文为网络虚拟化系统之外的设备 通过所述网络虚拟化系统的所述远端节点或所述通信设备发送的协议报 文; 从所述组播协议 ^艮文中获取组播源地址和组播组地址;
根据所述组播源地址、 组播组地址、 组播入接口、 组播出接口生成组 播转发表; 其中, 所述组播出接口包括所述通信设备的外连接口和所述虚 拟远端逻辑接口;
为所述组播源地址和所述组播组地址分配 P2MP PW标签;
从所述组播转发表中查找所述通信设备的外连接口, 根据所述组播树 隧道查找所述组播树隧道在所述通信设备的出接口, 根据所述组播源地 址、 组播组地址、 所述 P2MP PW标签、 所述组播入接口、 所述通信设备 的外连接口和所述组播树隧道在所述通信设备的出接口生成所述通信设 备的点到多点虚拟链路 P2MP PW组播转发表;
存储器, 用于保存所述通信设备的 P2MP PW组播转发表, 以使所述 通信设备根据所述 P2MP PW组播转发表转发组播数据报文。
22、 根据权利要求 21所述的设备, 其特征在于, 所述处理器, 还用 于
从所述组播转发表中查找所述虚拟远端逻辑接口;
根据所述虚拟远端逻辑接口和所述远端节点的外连接口的映射关系 获取所述远端节点的外连接口;
根据所述组播树隧道查找所述组播树隧道在所述远端节点的出接口; 根据所述远端节点的外连接口, 所述组播树隧道在所述远端节点的出 接口和所述 P2MP PW标签,生成所述远端节点的 P2MP PW组播转发表; 所述通信设备还包括: 发射器;
所述发射器, 用于向所述远端节点发送所述远端节点的 P2MP PW组 播转发表, 以使所述远端节点根据所述 P2MP PW组播转发表转发组播数 据报文。
23、 根据权利要求 21所述的设备, 其特征在于, 所述组播入接口是 根据所述组播源地址查找预设的单播转发表中与所述组播源地址对应的 出接口。
24、 根据权利要求 21至 23任一所述的设备, 其特征在于, 所述处理 器, 具体用于
在所述组播协议报文为所述远端节点接收所述网络虚拟化系统之外 的设备发送的协议报文时, 点接收通过所述通信设备和远端节点之间建立 的点到点虚拟链路 P2P PW, 以及通信设备和控制器之间的控制通道透传 的所述组播协议报文。
25、 一种组播数据报文发送方法, 其特征在于, 包括:
若核心节点接收到组播数据报文, 则所述核心节点根据所述组播数据报 文查找所述核心节点的点到多点虚拟链路 P2MP PW组播转发表;
如果确定所述组播数据报文的转发出接口为所述核心节点的外连接 口, 则所述核心节点直接通过所述核心节点外连接口发送所述组播数据报 文。
26、 根据权利要求 25所述的方法, 其特征在于, 还包括:
如果确定所述组播数据报文的转发出接口为核心节点的内连出接口, 则 所述核心节点釆用 P2MP PW标签和组播树隧道的标签封装所述组播数据 报文, 得到第一组播数据报文;
将所述第一组播数据报文通过所述核心节点的内连出接口发送; 其中, 所述核心节点的内连出接口为所述组播树隧道在所述核心节点 的出接口。
27、 根据权利要求 26所述的方法, 其特征在于, 还包括:
中间远端节点接收所述第一组播数据报文, 从所述第一组播数据报文中 获取所述 P2MP PW标签, 根据所述 P2MP PW标签查找所述中间远端节 点的 P2MP PW组播转发表, 获取匹配的组播转发出接口;
如果所述匹配的组播转发出接口为所述组播树隧道在所述中间远端 节点的出接口, 则所述中间远端节点根据所述第一组播数据报文, 将所述 组播树隧道标签中的入标签和出标签进行交换, 得到第二组播数据报文; 所述中间远端节点将所述第二组播数据报文从所述组播树隧道在所 述中间远端节点的出接口发送出去。
28、 根据权利要求 27所述的方法, 其特征在于, 还包括:
如果所述匹配的组播转发出接口为所述中间远端节点的外连接口, 则所 述中间远端节点直接通过所述中间远端节点的外连接口发送所述第一组播数 据报文。
29、 根据权利要求 28所述的方法, 其特征在于, 还包括: 若远端节点接收到所述第二组播数据报文, 从所述第二组播数据报文中 获取所述 P2MP PW标签, 根据所述 P2MP PW标签查找所述远端节点的 P2MP PW组播转发表, 获取匹配的组播转发出接口;
所述远端节点解掉所述第二组播数据报文封装的所述组播树隧道标签和 所述 P2MP PW标签, 得到第三组播数据报文;
所述远端节点通过所述匹配的组播转发出接口发送所述第三组播数 据报文。
30、 一种网络虚拟化系统, 其特征在于, 包括: 核心节点和连接所述 核心节点的中间远端节点, 以及连接所述中间远端节点的远端节点;
其中, 所述核心节点具体用于
接收到组播数据报文, 根据所述组播数据报文查找所述核心节点的点到 多点虚拟链路 P2MP PW组播转发表;
如果确定所述组播数据报文的转发出接口为核心节点的内连出接口, 则 所述核心节点釆用 P2MP PW标签和组播树隧道的标签封装所述组播数据 报文, 得到第一组播数据报文;
将所述第一组播数据报文通过所述核心节点的内连出接口发送至所 述中间远端节点;
其中, 所述核心节点的内连出接口为所述组播树隧道在所述核心节点 的出接口;
所述中间远端节点具体用于
接收所述第一组播数据报文, 从所述第一组播数据报文中获取所述 P2MP PW标签,根据所述 P2MP PW标签查找所述中间远端节点的 P2MP PW组播转发表, 获取匹配的组播转发出接口;
如果所述匹配的组播转发出接口为所述组播树隧道在所述中间远端 节点的出接口, 则所述中间远端节点根据所述第一组播数据报文, 将所述 组播树隧道标签中的入标签和出标签进行交换, 得到第二组播数据报文; 所述中间远端节点将所述第二组播数据报文从所述组播树隧道在所 述中间远端节点的出接口发送出去;
如果所述匹配的组播转发出接口为所述中间远端节点的外连接口, 则所 述中间远端节点直接通过所述中间远端节点的外连接口发送所述第一组播数 据报文至远端节点;
所述远端节点具体用于
接收到所述第二组播数据报文, 从所述第二组播数据报文中获取所述
P2MP PW标签,根据所述 P2MP PW标签查找所述远端节点的 P2MP PW 组播转发表, 获取匹配的组播转发出接口;
所述远端节点解掉所述第二组播数据报文封装的所述组播树隧道标签和 所述 P2MP PW标签, 得到第三组播数据报文;
所述远端节点通过所述匹配的组播转发出接口发送所述第三组播数 据报文。
31、 根据权利要求 30所述的系统, 其特征在于, 所述核心节点还用 于
如果确定所述组播数据报文的转发出接口为所述核心节点的外连接 口, 则所述核心节点直接通过所述核心节点外连接口发送所述组播数据报 文。
PCT/CN2013/071466 2013-02-06 2013-02-06 在网络虚拟化系统中组播数据通道建立的方法及设备 WO2014121468A1 (zh)

Priority Applications (5)

Application Number Priority Date Filing Date Title
PCT/CN2013/071466 WO2014121468A1 (zh) 2013-02-06 2013-02-06 在网络虚拟化系统中组播数据通道建立的方法及设备
CN201380000118.8A CN103430499B (zh) 2013-02-06 2013-02-06 在网络虚拟化系统中组播数据通道建立的方法及设备
EP13874320.8A EP2940938B1 (en) 2013-02-06 2013-02-06 Method and device for establishing multicast data channel in network virtualization system
US14/820,128 US9825771B2 (en) 2013-02-06 2015-08-06 Method and device for establishing multicast data channel in network virtualization system
US15/785,167 US11133949B2 (en) 2013-02-06 2017-10-16 Method and device for establishing multicast data channel in network virtualization system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/071466 WO2014121468A1 (zh) 2013-02-06 2013-02-06 在网络虚拟化系统中组播数据通道建立的方法及设备

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US14/820,128 Continuation US9825771B2 (en) 2013-02-06 2015-08-06 Method and device for establishing multicast data channel in network virtualization system

Publications (1)

Publication Number Publication Date
WO2014121468A1 true WO2014121468A1 (zh) 2014-08-14

Family

ID=49653002

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/071466 WO2014121468A1 (zh) 2013-02-06 2013-02-06 在网络虚拟化系统中组播数据通道建立的方法及设备

Country Status (4)

Country Link
US (2) US9825771B2 (zh)
EP (1) EP2940938B1 (zh)
CN (1) CN103430499B (zh)
WO (1) WO2014121468A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113169940A (zh) * 2018-11-26 2021-07-23 阿尔库斯有限公司 包括分解式网络元件的逻辑路由器

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9760428B1 (en) * 2013-12-19 2017-09-12 Amdocs Software Systems Limited System, method, and computer program for performing preventative maintenance in a network function virtualization (NFV) based communication network
CN105099914B (zh) * 2014-04-24 2018-12-25 华为技术有限公司 一种指示组播转发表项的方法及设备
CN105515802B (zh) * 2014-09-22 2019-04-12 新华三技术有限公司 网络虚拟化方法及装置
US10673742B2 (en) 2015-09-10 2020-06-02 Telefonaktiebolaget Lm Ericsson (Publ) Multicast state reduction via tunneling in a routed system
US10164907B2 (en) * 2015-11-25 2018-12-25 Telefonaktiebolaget Lm Ericsson (Publ) Method and system for completing loosely specified MDTs
US9954765B2 (en) 2016-01-08 2018-04-24 Telefonaktiebolaget Lm Ericsson (Publ) Graph construction for computed spring multicast
US10523456B2 (en) 2016-03-28 2019-12-31 Telefonaktiebolaget Lm Ericsson (Publ) Multipoint to multipoint trees for computed spring multicast
CN108243123B (zh) * 2016-12-23 2022-03-11 中兴通讯股份有限公司 广播报文的处理方法、装置、控制器和交换机
US10182007B2 (en) * 2017-03-30 2019-01-15 Juniper Networks, Inc. Apparatus, system, and method for facilitating controller-based multicast signaling
CN108768899B (zh) * 2018-04-03 2020-07-07 华为技术有限公司 数据通信系统和方法
US10904136B2 (en) 2018-08-06 2021-01-26 Telefonaktiebolaget Lm Ericsson (Publ) Multicast distribution tree versioning for minimizing multicast group traffic disruption
CN112788116A (zh) * 2020-12-30 2021-05-11 杭州迪普科技股份有限公司 一种报文转发的方法及装置

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101013950A (zh) * 2007-02-07 2007-08-08 杭州华为三康技术有限公司 实现组播虚拟专用网绑定的方法及设备
CN101035057A (zh) * 2007-03-30 2007-09-12 华为技术有限公司 建立组播共享树的方法和数据传送的方法、通信网络
CN102137000A (zh) * 2010-11-24 2011-07-27 华为技术有限公司 一种建立切换组播分发树的方法、装置及系统

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7372853B2 (en) * 2003-06-25 2008-05-13 Fujitsu Limited Method and system for multicasting data packets in an MPLS network
US7477642B2 (en) * 2004-02-03 2009-01-13 Redback Networks, Inc. MPLS traffic engineering for point-to-multipoint label switched paths
US8089964B2 (en) * 2005-04-05 2012-01-03 Cisco Technology, Inc. Transporting multicast over MPLS backbone using virtual interfaces to perform reverse-path forwarding checks
US9166807B2 (en) * 2005-07-28 2015-10-20 Juniper Networks, Inc. Transmission of layer two (L2) multicast traffic over multi-protocol label switching networks
US8144628B2 (en) * 2005-12-13 2012-03-27 Cisco Technology, Inc. Acknowledgement-based rerouting of multicast traffic
US7953027B2 (en) * 2006-02-16 2011-05-31 Cisco Technology, Inc. Rerouting multicast traffic in response to detecting imminent network disruption
US8934486B2 (en) * 2006-03-16 2015-01-13 Cisco Technology, Inc. System and method for implementing multicast over a label-switched core network
US7965656B1 (en) * 2006-05-31 2011-06-21 Cisco Technology, Inc. Building multipoint pseudo wires using a multipoint label distribution protocol (MLDP)
US7969981B2 (en) * 2008-09-02 2011-06-28 Cisco Technology, Inc. System and method for multicasting in an internet protocol virtual private network environment
CN102104488B (zh) * 2009-12-22 2013-03-13 华为技术有限公司 一种组播报文处理方法及装置
CN102148745B (zh) * 2010-02-08 2014-03-12 中兴通讯股份有限公司 提高虚拟专用局域网业务网络转发效率的方法和系统
US8503289B2 (en) * 2010-03-19 2013-08-06 Brocade Communications Systems, Inc. Synchronizing multicast information for linecards
CN103621022B (zh) * 2010-09-03 2016-11-02 华为技术有限公司 针对虚拟专用局域网服务以使用流感知伪线的系统和方法
CN103748835B (zh) * 2011-07-06 2017-03-01 爱立信(中国)通信有限公司 标签交换路径的动态更新

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101013950A (zh) * 2007-02-07 2007-08-08 杭州华为三康技术有限公司 实现组播虚拟专用网绑定的方法及设备
CN101035057A (zh) * 2007-03-30 2007-09-12 华为技术有限公司 建立组播共享树的方法和数据传送的方法、通信网络
CN102137000A (zh) * 2010-11-24 2011-07-27 华为技术有限公司 一种建立切换组播分发树的方法、装置及系统

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2940938A4 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113169940A (zh) * 2018-11-26 2021-07-23 阿尔库斯有限公司 包括分解式网络元件的逻辑路由器
CN113169940B (zh) * 2018-11-26 2023-08-25 阿尔库斯有限公司 包括分解式网络元件的逻辑路由器

Also Published As

Publication number Publication date
US20180041352A1 (en) 2018-02-08
CN103430499B (zh) 2016-01-20
CN103430499A (zh) 2013-12-04
US20150349970A1 (en) 2015-12-03
EP2940938A1 (en) 2015-11-04
EP2940938A4 (en) 2016-02-24
US9825771B2 (en) 2017-11-21
US11133949B2 (en) 2021-09-28
EP2940938B1 (en) 2019-11-27

Similar Documents

Publication Publication Date Title
US11133949B2 (en) Method and device for establishing multicast data channel in network virtualization system
EP2974133B1 (en) Method and system for controlling an underlying physical network by a software defined network
US9184935B2 (en) Network communication method and network node device
WO2017059708A1 (zh) Bier信息的发送方法、接收方法及装置
CN102316030B (zh) 一种实现数据中心二层互联的方法和装置
EP2109260A1 (en) Multicast method and multicast routing method
EP3764594A1 (en) Network device management method, apparatus and system
EP3069471B1 (en) Optimized multicast routing in a clos-like network
WO2018214809A1 (zh) 消息发送方法及装置、存储介质
JP5455139B2 (ja) マルチキャストパケットを処理するための方法及び装置
EP2991284B1 (en) Method and device used in ethernet virtual private network
CN107612809A (zh) 一种组播表项同步方法以及设备
WO2020168854A1 (zh) 一种evpn组播方法、装置及系统
CN114465946B (zh) 获取转发表项的方法、装置以及系统
US10225091B2 (en) Method for implementing point-to-multipoint multicast, network node, and system
WO2007054006A1 (fr) Station de base de système d’accès sans fil large bande et système pour réaliser un service de diffusion de groupe
WO2018171396A1 (zh) 一种数据传输方法、装置及系统
CN116094987A (zh) 转发路径的确定方法及装置
CN103905285A (zh) 一种实现同一mac地址用户划分到多个不同vlan的方法
CN116248587B (zh) 一种基于软件定义的高通量卫星网络组播路由系统与方法
WO2024002101A1 (zh) 报文传输方法、装置、相关设备及存储介质
WO2012155351A1 (zh) 一种生成隧道转发表项的方法和网络设备
Li et al. “IPv6+” Video Service Solution Based on Metropolitan Area Cloud Network
CN117097580A (zh) 一种组播通信方法及相关装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13874320

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2013874320

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE