WO2015074258A1 - 一种控制业务数据在虚拟网络中转发的方法、装置及系统 - Google Patents

一种控制业务数据在虚拟网络中转发的方法、装置及系统 Download PDF

Info

Publication number
WO2015074258A1
WO2015074258A1 PCT/CN2013/087714 CN2013087714W WO2015074258A1 WO 2015074258 A1 WO2015074258 A1 WO 2015074258A1 CN 2013087714 W CN2013087714 W CN 2013087714W WO 2015074258 A1 WO2015074258 A1 WO 2015074258A1
Authority
WO
WIPO (PCT)
Prior art keywords
control node
service
network
virtual
node
Prior art date
Application number
PCT/CN2013/087714
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 EP13897796.2A priority Critical patent/EP3059909B1/en
Priority to CN201380002329.5A priority patent/CN104838624B/zh
Priority to PCT/CN2013/087714 priority patent/WO2015074258A1/zh
Publication of WO2015074258A1 publication Critical patent/WO2015074258A1/zh
Priority to US15/160,667 priority patent/US10104018B2/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/70Virtual switches
    • 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/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/25Routing or path finding in a switch fabric

Definitions

  • the present invention relates to the field of network communications, and in particular, to a method, device, and system for controlling service data forwarding in a virtual network.
  • SDN Software Defined Network
  • OpenFlow provides a good platform for innovation in core networks and applications by separating the control plane from the forwarding plane.
  • the OpenFlow network consists of an OpenFlow switch and an external controller.
  • the 0penFlow switch consists of a flow table, a secure channel, and an OpenFlow protocol.
  • an OpenFlow switch maintains only one flow table and forwards it only according to the flow table.
  • the generation, maintenance, and delivery of the flow table are implemented by an external controller.
  • the cloud computing platform consists of a set of resources that can be dynamically upgraded and virtualized, and these resources are shared by all cloud computing users.
  • the cloud computing platform implementation is generally divided into three parts: control nodes, compute nodes, and network control nodes.
  • the control node is used to control the running content of the virtual machine on the entire cloud computing platform, the computing node is used to run the virtual machine, and the network control node provides the network service for the cloud computing platform.
  • the compute node contains the virtual machine and the switch used to build the virtual network.
  • the network control node provides network services to the cloud computing platform by controlling the flow table on the switch in the computing node.
  • the service control node acts as an external controller, deploys the service on the service control node, and processes the service through the control flow table.
  • the inventor finds that at least the following problems exist in the prior art: Since the connectivity between nodes in the cloud computing platform network is not considered in the service deployment, the network may not be connected. The situation that the business cannot be achieved, thereby reducing the user experience.
  • an embodiment of the present invention provides a method for controlling service data forwarding in a virtual network, including: a forwarding control node acquiring a service processing rule and a connection information of the virtual network, the forwarding control section, determining a forwarding path that the data packet of the service needs to pass according to the processing rule H'j of the service and the connection information of the virtual network, where the forwarding The path includes a virtual processing node, a virtual switching node, and a physical network node; the forwarding control node generates a corresponding forwarding rule for the virtual switching node according to the forwarding path; and the forwarding control node sends the forwarding rule to the a virtual switching node, where the connection information of the virtual network includes the virtual processing node, the virtual switching node, and the physical network no
  • the forwarding control node is a network control node, where the network control node is configured to manage a networking of the virtual network, where the network control node stores the The connection information of the virtual network, before the forwarding control node acquires the processing rule of the service and the connection information of the virtual network, the method further includes: establishing, by the network control node, a connection with the service control node; Obtaining the processing rule of the service and the connection information of the virtual network, including: the network control node acquiring the connection information of the virtual network locally; the network control node acquiring the processing rule of the service from the service control node The service control node is configured to manage the processing of the service, and the service control node stores a processing rule of the service.
  • the forwarding control node is a network control node, where the network control node is configured to manage a networking of the virtual network, where the network control node is Storing the connection information of the virtual network; acquiring the processing rule of the service and the connection of the virtual network at the forwarding control node Before the information is received, the method further includes: sending, by the network control node, a connection establishment request cancellation to the virtual switching node, so that the virtual switch establishes a connection with the network control node; An identification information, configured to: after receiving the processing rule of the service sent by the service control node, the virtual switching node forwards the processing rule of the service to the network control node; Obtaining the processing rule of the service and the connection information of the virtual network, including: the network control node acquiring the connection information of the virtual network from the local; the network control node acquiring the processing rule of the service from the virtual switching node The processing rule of the service is stored on the virtual switching node
  • the forwarding control node is a service control node, where the service control node is configured to manage processing of the service, where the service control node stores And the processing rule of the service; before the forwarding control node acquires the processing rule of the service and the connection information of the virtual network, the method further includes: the service control node establishing a connection with the network control node; The control node obtains the processing rule of the service and the connection information of the virtual network, and the method includes: the service control node acquiring the processing rule of the service locally; the service control node acquiring the virtual network from the network control node Connection information; wherein the network control node is configured to manage the networking of the virtual network, and the network control node stores connection information of the virtual network.
  • the forwarding control node is a service control node, where the service control node is configured to manage processing of the service, where the service control node stores And the processing rule of the service, before the forwarding control node acquires the processing rule of the service and the connection information of the virtual network
  • the method further includes: sending, by the service control node, a connection establishment request message to the virtual switching node, so that the The virtual switch establishes a connection with the service control node; the connection setup request message carries the first identifier information, and is used to identify that the virtual switch node receives the virtual network sent by the network control node.
  • connection information of the virtual network is forwarded to the network control node; the forwarding control node acquires a processing rule of the service and connection information of the virtual network, and the packet
  • the service control node acquires the processing rule of the service locally; the service control node acquires connection information of the virtual network from the virtual switching node; wherein the virtual switching node stores the virtual network Connection information.
  • the embodiment of the present invention provides a method for controlling service data to be forwarded in a virtual network, including: a virtual switching node receiving a forwarding rule sent by a forwarding control node; wherein the virtual switching node is configured to use a data packet Forwarding; the forwarding rule is used to indicate a next virtual processing node, a virtual switching node, or a physical network node to which the data packet needs to be forwarded; the virtual switching node stores the forwarding rule.
  • the forwarding control node is a network control node, where the network control node is configured to manage a networking of the virtual network, where the network control node stores the The connection information of the virtual network, before the virtual switching node receives the forwarding rule sent by the forwarding control node, the method further includes: the virtual switching node receiving the connection establishment request message sent by the network control node, and establishing and controlling the network a connection between the nodes; the connection establishment request message carries the first identification information; the virtual switching node establishes a connection with the service control node; and the virtual switching node receives the information sent by the service control node Processing rules of the service; the virtual switching node sends the processing rule of the service to the network control node according to the first identifier information.
  • the forwarding control node is a service control node, where the service control node is configured to manage processing of the service, where the service control node stores Before the virtual switching node receives the forwarding rule sent by the forwarding control node, the method further includes: the virtual switching node receiving the connection establishment request message sent by the service control node, and establishing the a connection between the service control nodes; the connection establishment request message carries the first identification information; the virtual switching node establishes a connection with the network control node; and the virtual switching node receives the network control node to send The connection information of the virtual network is sent by the virtual switching node to the service control node according to the first identification information.
  • an embodiment of the present invention provides a method for controlling service data to be forwarded in a virtual network, including: a first control node establishing a connection with a forwarding control node or a virtual switching node; The first information is sent to the forwarding control node or the virtual switching node.
  • the forwarding control node when the forwarding control node is a network control node, the first control node is a service control node, and the first information is a service processing rule;
  • the control node is configured to manage the networking of the virtual network, where the network control node stores the connection information of the virtual network;
  • the service control node is configured to manage the processing of the service, and the service control node stores the The processing rules of the business.
  • the forwarding control node is a service control node
  • the first control node is a network control node
  • the first information is a virtual network. Connection information
  • the service control node is configured to manage the processing of the service, and the service control node stores a processing rule of the service
  • the network control node is configured to manage the networking of the virtual network
  • the connection information of the virtual network is stored on the network control node.
  • the embodiment of the present invention provides a forwarding control node, including: an obtaining unit, configured to acquire a processing rule of a service and connection information of a virtual network; and a determining unit, configured to acquire the service according to the acquiring unit
  • the processing rule and the connection information of the virtual network determine a forwarding path that the data packet of the service needs to pass; wherein the forwarding path includes a virtual processing node, a virtual switching node, and a physical network node; and a generating unit, configured to The forwarding path determined by the determining unit generates a corresponding forwarding rule for the virtual switching node, where the connection information of the virtual network includes the virtual processing node, the virtual switching node, and the physical network node
  • the virtual processing node is configured to perform a specific type of processing on the data packet; the virtual switching node is configured to forward the data packet; and the processing rule of the service is used to indicate the data packet The sequence of processing to be performed; the forwarding rule is used to indicate that the data message needs to be
  • the forwarding control node is a network control node, where the network control node is configured to manage a networking of the virtual network, where the network control node stores the The connection information of the virtual network, the forwarding control node further includes: a first connection unit; the first connection unit, configured to establish a connection with the service control node; The connection information of the virtual network is used to obtain the processing rule of the service from the service control node, where the service control node is configured to manage the processing of the service, where the service control node is There are processing rules for the business.
  • the forwarding control node is a network control node, where the network control node is configured to manage a networking of the virtual network, where the network control node is The connection information of the virtual network is stored; the forwarding control node further includes: a first sending unit, where the first sending unit is configured to send a connection establishment request message to the virtual switching node, so that the virtual switching is established.
  • connection establishment request message carries the first identification information, and is used to identify that the virtual switching node receives the processing rule of the service sent by the service control node, and then The processing rule of the service is forwarded to the network control node;
  • the acquiring unit is specifically configured to obtain the connection information of the virtual network from the local device;
  • the acquiring unit is specifically configured to acquire the service from the virtual switching node. Processing rule; wherein the virtual switching node stores a processing rule of the service.
  • the forwarding control node is a service control node, where the service control node is configured to manage processing of the service, where the service control node stores
  • the forwarding control node further includes: a second connection unit, the second connection unit, configured to establish a connection with the network control node, and the acquiring unit is specifically configured to be localized Obtaining a processing rule of the service; the acquiring unit is specifically configured to acquire connection information of the virtual network from the network control node, where the network control node is configured to manage a networking of the virtual network, The connection information of the virtual network is stored on the network control node.
  • the forwarding control node is a service control node, where the service control node is configured to manage processing of the service, where the service control node stores
  • the forwarding control node further includes: a second sending unit, where the second sending unit is configured to send a connection establishment request message to the virtual switching node, so that the virtual switching is established and the a connection between the service control nodes; the connection establishment request message carries the first identification information, and is used to identify the virtual switching node after the connection information of the virtual network sent by the network control node is received, The connection information of the network is forwarded to the network control node; the acquiring unit is specifically configured to obtain the processing rule of the service from the local; the acquiring unit is specifically configured to acquire the virtual network from the virtual switching node. Connection information; wherein the virtual switching node stores connection information of the virtual network.
  • an embodiment of the present invention provides a virtual switching node, including: a receiving unit, configured to receive a forwarding rule sent by a forwarding control node, where the forwarding rule is used to indicate that a data packet needs to be forwarded to a next a virtual processing node, a virtual switching node, or a physical network node; a storage unit, configured to store the forwarding rule.
  • the forwarding control node is a network control node, the network control node is configured to manage a networking of a virtual network, and the virtual network is stored on the network control node.
  • the connection control node further includes: a first connection unit, a first sending unit; the receiving unit is further configured to receive a connection establishment request message sent by the network control node; in the connection establishment request message Carrying the first identification information; the first connection unit is configured to establish a connection with the network control node; the first connection unit is further configured to establish a connection with the service control node; a unit, configured to receive a processing rule of the service sent by the service control node, where the first sending unit is configured to send, according to the first identifier information, a processing rule of the service received by the receiving unit To the network control node.
  • the forwarding control node is a service control node, and the service control node is used to manage the industry Processing, the service control node has a processing rule of the service; the forwarding control node further includes: a second connecting unit, a second sending unit; the receiving unit is further configured to receive the service control a connection establishment request message sent by the node; the connection establishment request message carries the first identification information; the second connection unit is configured to establish a connection with the service control node; the second connection unit is further And the receiving unit is further configured to receive connection information of the virtual network sent by the network control node, where the second sending unit is configured to be used according to the first The identification information sends connection information of the virtual network received by the receiving unit to the service control node.
  • an embodiment of the present invention provides a forwarding control node, including: a connection unit, configured to establish a connection with a forwarding control node or a virtual switching node, and a sending unit, configured to send the first information to the Forwarding the control node or the virtual switching node.
  • the forwarding control node is a network control node
  • the first control node is a service control node
  • the first information is a service processing rule
  • the control node is configured to manage the networking of the virtual network, where the network control node stores connection information of the virtual network
  • the service control node is configured to manage processing of the service, and the service control node stores There are processing rules for the business.
  • the forwarding control node is a service control node
  • the first control node is a network control node
  • the first information is a virtual network connection.
  • the service control node is configured to manage the processing of the service, where the service control node stores a processing rule of the service;
  • the network control node is configured to manage a networking of the virtual network, the network
  • the connection information of the virtual network is stored on the control node.
  • an embodiment of the present invention provides a forwarding control node, including: a processor, a memory, where the processor is configured to acquire a processing rule of a service and connection information of a virtual network; and the processor is further configured to: Determining a forwarding path that the data packet of the service needs to pass according to the processing rule of the service and the connection information of the virtual network
  • the forwarding path includes a virtual processing node, a virtual switching node, and a physical network node.
  • the processor is further configured to generate a corresponding forwarding rule for the virtual switching node according to the forwarding path.
  • the connection information of the virtual network includes the virtual processing node, the virtual switching node, and the physical network node; the virtual processing node is configured to perform a specific type of processing on the data packet; Forwarding the data packet; the processing rule of the service is used to indicate an order of processing required by the data packet; and the forwarding rule is used to indicate that the data packet needs to be forwarded to the next virtual Processing node, virtual switching node, or physical network node.
  • the forwarding control node is a network control node, where the network control node is configured to manage a networking of the virtual network, where the network control node stores the The connection information of the virtual network; the processor is further configured to establish a connection with the service control node; the processor is specifically configured to acquire connection information of the virtual network from the memory; Specifically, the processing rule is used to obtain the service from the service control node, where the service control node is configured to manage the processing of the service, and the service control node stores a processing rule of the service.
  • the forwarding control node is a network control node, where the network control node is used to manage the networking of the virtual network, and the network control The connection information of the virtual network is stored on the node; the processor is further configured to send a connection establishment request message to the virtual switching node, so that the virtual switching node establishes a connection with the network control node.
  • the connection establishment request message carries the first identification information, and is used to identify that the virtual switching node forwards the processing rule of the service to the network after receiving the processing rule of the service sent by the service control node.
  • a control node the processor is specifically configured to acquire connection information of the virtual network from the memory; the processor is specifically configured to acquire a processing rule of the service from the virtual switching node; where the virtual The processing rules of the service are stored on the switching node.
  • the forwarding control node is a service control node, the service control node is configured to manage the processing of the service, and the service control node stores a processing rule of the service; the processor is further configured to establish a network control node The processor is specifically configured to acquire a processing rule of the service from the memory; the processor is specifically configured to acquire connection information of the virtual network from the network control node; The network control node is configured to manage the networking of the virtual network, and the network control node stores connection information of the virtual network.
  • the forwarding control node is a service control node, where the service control node is configured to manage processing of the service, where the service control node stores a processing rule of the service; the processor, configured to send a connection establishment request message to the virtual switching node, so that the virtual switch establishes a connection with the service control node; and the connection establishment request message
  • the first identifier information is used to identify that the virtual switching node forwards the connection information of the virtual network to the network control node after receiving the connection information of the virtual network sent by the network control node;
  • the processor is specifically configured to obtain a processing rule of the service from the memory, where the processor is specifically configured to acquire connection information of the virtual network from the virtual switching node, where the virtual switching node stores Connection information of the virtual network.
  • the eighth aspect of the present invention provides a virtual switching node, which includes: a receiver, configured to receive a forwarding rule sent by a forwarding control node, where the forwarding rule is used to indicate that the data packet needs to be forwarded The next virtual processing node, virtual switching node or physical network node; a memory for storing the forwarding rule.
  • the forwarding control node is a network control node, the network control node is configured to manage a networking of a virtual network, and the virtual network is stored on the network control node.
  • the connection control node further includes: a first processor, a first transmitter; the receiver is further configured to receive a connection establishment request message sent by the network control node; The first processor is configured to establish a connection with the network control node, and the first processor is further configured to establish a relationship with the service control node.
  • the receiver is further configured to receive a processing rule of the service sent by the service control node, where the first transmitter is configured to receive the receiver according to the first identifier information. The processing rule of the service is sent to the network control node.
  • the forwarding control node is a service control node, where the service control node is configured to manage processing of the service, where the service control node stores
  • the forwarding control node further includes: a second processor, a second transmitter; the receiver is further configured to receive a connection establishment request message sent by the service control node; The setup request message carries the first identifier information, where the second processor is configured to establish a connection with the service control node, and the second processor is further configured to establish a relationship with the network control node.
  • the receiver is further configured to receive connection information of the virtual network sent by the network control node, where the second transmitter is configured to receive, according to the first identifier information, the receiver The connection information of the virtual network is sent to the service control node.
  • a ninth aspect, the embodiment of the present invention provides a control node, including: a processor, a transmitter, and a memory; the processor is configured to establish a connection with a forwarding control node or a virtual switching node; And sending the first information to the forwarding control node or the virtual switching node.
  • the forwarding control node is a network control node
  • the first control node is a service control node
  • the first information is a service processing rule
  • the control node is configured to manage the networking of the virtual network, where the network control node stores connection information of the virtual network
  • the service control node is configured to manage processing of the service, and the service control node stores There are processing rules for the business.
  • the forwarding control node is a service control node
  • the first control node is a network control node
  • the first information is a virtual network. Connection information
  • the service control node is configured to manage the processing of the service, and the service control node stores a processing rule of the service
  • the network control node is configured to manage the networking of the virtual network, Network control
  • the connection information of the virtual network is stored on the system node.
  • the embodiment of the present invention provides a system for controlling service data to be forwarded in a virtual network, including: a forwarding control node, a virtual switching node, and a first control node; and the forwarding control node is as described in the foregoing embodiment.
  • the forwarding control node is the virtual switching node in the foregoing embodiment
  • the first control node is the control node in the foregoing embodiment.
  • An embodiment of the present invention provides a method, device, and system for controlling service data forwarding in a virtual network.
  • the forwarding control node first obtains a service processing rule and a connection information of the virtual network, and then according to the processing rule of the service and the The connection information of the virtual network determines a forwarding path that the data packet of the service needs to pass, and generates a corresponding forwarding rule for the virtual switching node. Finally, the forwarding rule is sent to the virtual switching node.
  • the forwarding rule of the connection information of the rule H'J and the virtual network can ensure the connectivity of the network and improve the user experience when the service is processed.
  • FIG. 1 is a schematic flowchart of controlling service data to be forwarded in a virtual network according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of networking of a virtual network according to an embodiment of the present invention
  • FIG. 3 is a schematic flowchart of another method for controlling service data forwarding in a virtual network according to an embodiment of the present invention
  • FIG. 4 is a schematic flowchart of another control service data forwarding in a virtual network according to an embodiment of the present invention
  • FIG. 5 is a schematic flowchart of another control service data forwarding in a virtual network according to an embodiment of the present disclosure
  • FIG. 6 is a schematic flowchart of another control service data forwarding in a virtual network according to an embodiment of the present invention.
  • FIG. 7 is a schematic flowchart of another control service data forwarding in a virtual network according to an embodiment of the present invention.
  • FIG. 8 is a schematic flowchart of another control service data forwarding in a virtual network according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic diagram of a function of a forwarding control node according to an embodiment of the present invention.
  • FIG. 10 is a schematic diagram of another function of a forwarding control node according to an embodiment of the present invention.
  • FIG. 1 is a schematic diagram of a function of a virtual switching node according to an embodiment of the present invention
  • FIG. 1 is a schematic diagram of another virtual switching node according to an embodiment of the present invention
  • FIG. 1 is a schematic diagram of a function of a control node according to an embodiment of the present invention
  • FIG. 1 is a schematic structural diagram of a forwarding control node according to an embodiment of the present invention
  • FIG. 16 is a schematic structural diagram of another virtual switching node according to an embodiment of the present invention
  • FIG. 1 is a schematic structural diagram of a control node according to an embodiment of the present invention
  • FIG. 18 is a schematic structural diagram of a system for controlling service data forwarding in a virtual network according to an embodiment of the present invention.
  • Embodiments of the present invention provide a method for controlling service data to be forwarded in a virtual network.
  • the law as shown in Figure 1, includes:
  • the forwarding control node obtains the processing rule of the service and the connection information of the virtual network.
  • the connection information of the virtual network includes the virtual processing node, the virtual switching node, and the physical network node.
  • the virtual processing node is configured to perform a specific type of processing on the data message.
  • the virtual switching node is configured to forward the data packet.
  • the processing rules of the service are used to indicate the order in which the data messages are required to be processed.
  • connection information of the virtual network is actual connection information of all nodes of the virtual network, that is, the connection information of the virtual network carries all the extension information of the virtual network.
  • the processing rule of the service is a processing sequence in which the node needs to go to which node to process before the data packet needs to undergo service processing, and then to which node to process.
  • the type of processing of the data packet by the virtual processing node may be the charging processing of the received packet, the flow control processing, and the like.
  • the virtual switching node is configured to forward the data packet, and is also used to store a forwarding rule generated by the forwarding control node.
  • the forwarding control node may be a service control node or a network control node, and may be preset by the user according to requirements.
  • the network control node is configured to manage the networking of the virtual network, and the network control node stores connection information of the virtual network.
  • the service control node is configured to manage the processing of the service, and the service control node stores a processing rule of the service.
  • the network control node acquires connection information of the virtual network locally.
  • the processing rules of the business Specifically, when the forwarding control node is a service control node, the service control node acquires a processing rule of the service locally.
  • processing rule of the service and the connection information of the virtual network may be stored in the form of a flow table, but the present invention does not limit the specific storage form.
  • each flow table contains multiple entries, and each entry contains a matching domain, a counter, and an action set.
  • the matching domain information includes: a target address, a source address, an input port, and the like.
  • Counter information includes: number of searches, number of searches, and so on.
  • the action set information contains a set of processes that need to be performed on the data packet.
  • the forwarding information carried in the data packet is first compared with the matching domain of each entry in the flow table, when the data is When the information carried in the packet matches the matching domain information in an entry in the flow table, the corresponding action in the entry is performed.
  • connection relationship of each node may be obtained according to the flow table generated by the network control node.
  • the flow table generated by the network control node is as follows:
  • the target IP address is the server, and the JL VLAN (Virtual Local Area Network) is 1, Action: Modify the exit to be the network control node, and modify the VLAN to 1024;
  • Matching domain The source address is the network control node, and the VLAN is 1024.
  • Action Modify the egress to the destination IP address port, and modify the VLAN to 1;
  • the virtual switching node and the network control are indicated. There is a connection between the nodes.
  • the flow table generated by the network control node is as follows:
  • the incoming port is the A port.
  • Action Modify the exit to B port, C end mouth;
  • the ingress port is port B.
  • Action Modify the egress to port A and port C;
  • the incoming port is C port.
  • Action Modify the export port to port A and port B;
  • Matching field The incoming port is the D port.
  • the nodes connected to the port belong to the same network.
  • the above flow table indicates that five nodes, B, C, D, and E are connected to the switch, but A, B, and C belong to the same network, and D and E belong to the same network.
  • the forwarding control node determines, according to the processing rule of the service and the connection information of the virtual network, a forwarding path that the data packet of the service needs to pass.
  • the forwarding path includes a virtual processing node, a virtual switching node, and a physical network node.
  • the forwarding path is generated based on connection information of the virtual network, that is, the forwarding path is generated based on a complete topology of the virtual network.
  • the forwarding path that the data packet of the service needs to pass is a processing rule that integrates all the topology information carrying the virtual network and the service that the data packet needs to undergo the service processing step.
  • a specific forwarding step is performed for each hop of the data packet. Therefore, when the data packet is forwarded according to the forwarding path, the connectivity of the network can be ensured, and the actual network connection is blocked when forwarding is performed.
  • the networking of the virtual network is as shown in FIG. 2, and the network control node serves as a gateway for external access of the virtual network.
  • the forwarding control node is a network control node or a service control node.
  • the connection information of the virtual network is all connection information of the virtual network in the figure, and the processing rule of the service is that the data packet received from the server is first sent to the virtual processing node a for processing, and then sent to the virtual processing.
  • Node c processes and finally sends to the client.
  • Determining, by the forwarding control node, the forwarding path that the data packet of the service needs to pass according to the processing rule of the service and the connection information of the virtual network is: first sending the data packet to the network control node, and then The data packet is sent to the virtual processing node a through the virtual switching node A, and then the data packet is sent to the network control node via the virtual switching node A, and then the data packet is sent to the virtual switching node B through the virtual switching node B.
  • the virtual processing node c then sends the data packet to the network control node via the virtual switching node B, and finally, sends the data packet to the client through the network control node.
  • the forwarding control node generates a corresponding forwarding rule for the virtual switching node according to the forwarding path.
  • the forwarding control node may use the forwarding path as the content of the forwarding rule to generate a forwarding rule for the virtual switching node.
  • the forwarding path shown in step 1 0 2 can be expressed by the following flow table: Matching domain: The target address is the server, and the source address is the client. Action: Modify the port to connect to the virtual machine a;
  • Matching domain The destination address is the server, and the source address is the port connected to virtual machine a.
  • Action Modify the egress to be the network control node.
  • Matching domain The destination address is the server, and the source address is the network control node.
  • Action Modify the port to connect to the virtual machine b.
  • Matching domain The destination address is the server, and the source address is the port connected to virtual machine b.
  • the forwarding control node sends the forwarding rule to the virtual switching node.
  • the forwarding control node needs to send the forwarding rule to the virtual switching node.
  • the embodiment of the invention provides a method for controlling service data forwarding in a virtual network, and the forwarding control node first acquires a service processing rule and a virtual network connection letter. And determining, according to the processing rule of the service and the connection information of the virtual network, a forwarding path that the data packet of the service needs to pass, and generating a corresponding forwarding rule for the virtual switching node. Finally, the forwarding rule is sent to the virtual switching node. In this way, it is possible to generate a forwarding rule that integrates the processing rule of the service and the connection information of the virtual network in the forwarding control node, and sends the forwarding rule to the virtual switching node, so that when the packet is forwarded, the integrated service is searched.
  • the rules for processing the connection of the rules and the connection information of the virtual network can ensure the connectivity of the network and improve the user experience.
  • the embodiment of the invention provides a method for controlling the forwarding of service data in a virtual network. As shown in FIG. 3, the method includes:
  • the virtual switching node receives a forwarding rule sent by the forwarding control node.
  • the virtual switching node is configured to forward data packets.
  • the forwarding rule is used to indicate a next virtual processing node, a virtual switching node, or a physical network node to which the data packet needs to be forwarded.
  • the forwarding control node is a network control node or a service control node
  • the forwarding node needs to send the forwarding rule to the virtual switching node, so that the virtual switching node saves the forwarding rule.
  • the virtual switching node stores the forwarding rule.
  • the virtual switching node needs to store the forwarding rule, and then, when the packet needs to be processed, perform corresponding processing according to the forwarding rule.
  • the embodiment of the present invention provides a method for controlling service data to be forwarded in a virtual network, and the virtual switching node receives the forwarding rule sent by the forwarding control node, and stores the forwarding rule.
  • the forwarding control node After the forwarding control node generates the processing rule that integrates the processing rule of the service and the connection information of the virtual network, the forwarding rule is sent and stored to the virtual switching node, so that the forwarding can be performed when the packet is forwarded. It combines the processing rules of the service and the forwarding rules of the connection information of the virtual network, thereby ensuring network connectivity and improving the user experience when performing service processing.
  • the embodiment of the invention provides a method for controlling the forwarding of service data in a virtual network. As shown in FIG. 4, the method includes: 4 0 1.
  • the first control node establishes a connection with the forwarding control node or the virtual switching node.
  • the first control node is different according to the forwarding control node.
  • the forwarding control node is a network control node
  • the first control node is a service control node
  • the forwarding control node is a service control node
  • the first control node may establish the connection in the following four situations.
  • the forwarding control node is a network control node
  • the first control node is a service control node
  • the network control node needs to acquire connection information of the virtual network through a virtual switching node
  • the service control node needs to establish a connection with the virtual switching node.
  • the forwarding control node is a network control node
  • the first control node is a service control node
  • the network control node needs to obtain connection information of the virtual network by using a service control node
  • the service control node needs to establish a connection with the network control node.
  • the forwarding control node is a service control node
  • the first control node is a network control node
  • the service control node needs to acquire a processing rule of the service by using a virtual switching node
  • the network The control node needs to establish a connection with the virtual switching node.
  • the forwarding control node is a service control node
  • the first control node is a network control node
  • the service control node needs to acquire a processing rule of the service by using a network control node
  • the network The control node needs to establish a connection with the service control node.
  • connection manner between the first control node and the forwarding control node may be that the forwarding control node provides an interface, and then the interface is controlled by the first control node. It may also be in the form of a forwarding control node using a plug-in, which is then controlled by the first control node. It should be noted that the specific connection manner between the first control node and the second control node is the same as that in the prior art, and is not described here.
  • the first control node sends the first information to the forwarding control node or the virtual switching node.
  • the forwarding control node is a network control node
  • the first control node is a service control node
  • the first information is a service processing rule
  • the forwarding control node is a service control node
  • the A control node is a network control node
  • the first information is connection information of the virtual network.
  • An embodiment of the present invention provides a method for controlling service data to be forwarded in a virtual network, where the first control node establishes a connection with a forwarding control node or a virtual switching node, and then directly sends the first information to the forwarding. Controlling the node, or sending the first information to the virtual switching node, and then forwarding the virtual switching node to the forwarding control node, so that the forwarding control node generates a forwarding rule, so that when the packet is forwarded, the search is integrated.
  • the processing rules of the service and the forwarding rules of the connection information of the virtual network can ensure the connectivity of the network and improve the user experience when the service is processed.
  • FIG. 5 it is a method for controlling service data to be forwarded in a virtual network according to an embodiment of the present invention.
  • the forwarding control node is a network control node
  • the first control node is a service control node
  • the network control node obtains the processing rule of the service from the service control node, as shown in FIG. 5, the method includes:
  • the network control node establishes a connection with the service control node.
  • connection between the network control node and the service control node may be that the network control node provides an interface, and then the interface is controlled by the service control node. It may also be in the form of a network control node using a plug-in, which is then controlled by the service control node.
  • the present invention is not limited to the specific connection manner between the network control node and the service control node.
  • the network control node obtains the connection information of the virtual network from the local.
  • the network control node is configured to manage the networking of the virtual network, where The connection information of the virtual network is stored on the network control node.
  • the service control node sends the processing rule of the service to the network control node, and the network control node acquires the processing rule of the service from the service control node.
  • the service control node is configured to manage the processing of the service, and the service control node stores a processing rule of the service.
  • the network control node determines the forwarding path that the data packet of the service needs to pass according to the processing rule of the service and the connection information of the virtual network.
  • the forwarding path includes a virtual processing node, a virtual switching node, and a physical network node.
  • step 1 02 For details, refer to step 1 02, and details are not described herein again.
  • the network control node generates a corresponding forwarding rule for the virtual switching node according to the forwarding path.
  • step 1 0 For details, refer to step 1 0 3, and details are not described herein again.
  • the network control node sends the forwarding rule to the virtual switching node, and the virtual switching node receives a forwarding rule sent by the network control node.
  • the network control node needs to send the forwarding rule to the virtual switching node.
  • the virtual switching node stores the forwarding rule.
  • the virtual switching node needs to store the forwarding rule, and then, when the packet needs to be processed, perform corresponding processing according to the forwarding rule.
  • An embodiment of the present invention provides a method for controlling service data forwarding in a virtual network.
  • the network control node first obtains a service processing rule and a connection information of the virtual network, and then, according to the processing rule of the service, and the connection of the virtual network.
  • the information determines a forwarding path that the data packet of the service needs to pass, and generates a corresponding forwarding rule for the virtual switching node.
  • the forwarding rule is sent to the virtual switching node, and the virtual switching node receives and stores the forwarding rule, so that the processing rule of the integrated service and the forwarding rule of the connection information of the virtual network are generated in the network control node.
  • FIG. 6 it is a method for controlling service data to be forwarded in a virtual network according to an embodiment of the present invention.
  • the forwarding control node is a network control node
  • the first control node is a service control node
  • the network control node acquires the processing rule of the service from the virtual switching node, as shown in FIG. 6, the method includes:
  • the network control node sends a connection establishment request message to the virtual switching node, where the virtual switching node receives a connection establishment request message sent by the network control node, and establishes a connection with the network control node.
  • connection establishment request message carries the first identification information, and is used to identify that the virtual switching node forwards the processing rule of the service to the processing rule of the service sent by the service control node.
  • the network control node The network control node.
  • connection between the network control node and the virtual switching node is not a connection relationship between an ordinary controller and a switch, but is implemented by using an API (Analog Programming Interface) of the cloud platform. This allows a connection between the service control node and the virtual switching node.
  • API Analog Programming Interface
  • the service control node establishes a connection with the virtual switching node.
  • connection between the service control node and the virtual switching node is not a connection relationship between an ordinary controller and a switch, but is implemented by using an API (Analog Programming Interface) of the cloud platform. .
  • the service control node sends a processing rule of the service to the virtual switching node, where the virtual switching node receives a processing rule of the service sent by the service control node.
  • the virtual switching node temporarily stores the processing rule of the received service, so as to further send the processing rule of the service to the network control node.
  • the virtual switching node processes the service according to the first identifier information. And sending to the network control node, and the network control node acquires a processing rule of the service from the virtual switching node.
  • the processing rule of the service is stored on the virtual switching node.
  • the network control node determines the forwarding path that the data packet of the service needs to pass according to the processing rule of the service and the connection information of the virtual network.
  • the forwarding path includes a virtual processing node, a virtual switching node, and a physical network node.
  • step 1 02 For details, refer to step 1 02, and details are not described herein again.
  • the network control node generates a corresponding forwarding rule for the virtual switching node according to the forwarding path.
  • step 1 0 For details, refer to step 1 0 3, and details are not described herein again.
  • the network control node sends the forwarding rule to the virtual switching node, and the virtual switching node receives a forwarding rule sent by the network control node.
  • the network control node needs to send the forwarding rule to the virtual switching node.
  • the virtual switching node stores the forwarding rule.
  • the virtual switching node needs to store the forwarding rule, and then, when the packet needs to be processed, perform corresponding processing according to the forwarding rule.
  • An embodiment of the present invention provides a method for controlling service data forwarding in a virtual network.
  • the network control node first obtains a service processing rule and a connection information of the virtual network, and then, according to the processing rule of the service, and the connection of the virtual network.
  • the information determines a forwarding path that the data packet of the service needs to pass, and generates a corresponding forwarding rule for the virtual switching node.
  • the forwarding rule is sent to the virtual switching node, and the virtual switching node receives and stores the forwarding rule, so that the processing rule of the integrated service and the forwarding rule of the connection information of the virtual network are generated in the network control node.
  • the forwarding rule is sent to the virtual switching node, so that when the packet is forwarded, the processing rule of the integrated service and the forwarding rule of the connection information of the virtual network are searched, so that the network connection can be ensured when the service is processed.
  • FIG. 7 it is a method for controlling service data to be forwarded in a virtual network according to an embodiment of the present invention.
  • the forwarding control node is a service control node
  • the first control node is a network control node
  • the service control node obtains the connection information of the virtual network from the network control node, as shown in FIG. 7, the method includes:
  • the service control node establishes a connection with the network control node.
  • connection between the service control node and the network control node may be that the service control node provides an interface, and then the network control node controls the interface. It may also be in the form of a service control node using a plug-in, which is then controlled by the network control node.
  • the present invention is not limited to the specific connection manner between the service control node and the network control node.
  • the service control node obtains the processing rule of the service from the local.
  • the service control node is configured to manage the processing of the service, and the service control node stores a processing rule of the service.
  • the network control node sends the connection information of the virtual network to the service control node, and the service control node acquires the connection information of the virtual network from the network control node.
  • the network control node is configured to manage the networking of the virtual network, and the network control node stores connection information of the virtual network.
  • the service control node determines the forwarding path that the data packet of the service needs to pass according to the processing rule of the service and the connection information of the virtual network.
  • the forwarding path includes a virtual processing node, a virtual switching node, and a physical network node.
  • step 1 02 For details, refer to step 1 02, and details are not described herein again.
  • the service control node generates a corresponding forwarding rule for the virtual switching node according to the forwarding path.
  • step 1 0 For details, refer to step 1 0 3, and details are not described herein again.
  • the service control node sends the forwarding rule to the virtual switching node, where the virtual switching node receives a forwarding rule sent by the network control node. It should be noted that, since the forwarding rule finally needs to be sent to the virtual switching node for storage, the service control node needs to send the forwarding rule to the virtual switching node.
  • the virtual switching node stores the forwarding rule.
  • the virtual switching node needs to store the forwarding rule, and then, when the packet needs to be processed, perform corresponding processing according to the forwarding rule.
  • An embodiment of the present invention provides a method for controlling service data forwarding in a virtual network.
  • the service control node first obtains a service processing rule and a connection information of the virtual network, and then, according to the processing rule of the service, and the connection of the virtual network.
  • the information determines a forwarding path that the data packet of the service needs to pass, and generates a corresponding forwarding rule for the virtual switching node.
  • the forwarding rule is sent to the virtual switching node, and the virtual switching node receives and stores the forwarding rule, so that the processing rule that integrates the service and the forwarding rule of the connection information of the virtual network are generated in the service control node.
  • the forwarding rule is sent to the virtual switching node, so that when the packet is forwarded, the processing rule of the integrated service and the forwarding rule of the connection information of the virtual network are searched, so that the network connection can be ensured when the service is processed.
  • the user experience is not limited
  • FIG. 8 it is a method for controlling service data to be forwarded in a virtual network according to an embodiment of the present invention.
  • the forwarding control node is a service control node
  • the first control node is a network control node
  • the service control node obtains the connection information of the virtual network from the virtual switching node, as shown in FIG. 8, the method includes:
  • the service control node sends a connection establishment request message to the virtual switching node, where the virtual switching node receives a connection establishment request message sent by the service control node, and establishes a connection with the service control node.
  • connection establishment request message carries the first identification information, and is used to identify the connection information of the virtual network after the virtual switching node receives the connection information of the virtual network sent by the network control node. Forwarded to the service control node.
  • connection between the service control node and the virtual switching node is not a connection relationship between an ordinary controller and a switch, but a cloud platform.
  • the API (Ap lication Programming Interface) is implemented so that a connection can be established between the network control node and the virtual switching node.
  • the network control node establishes a connection with the virtual switching node.
  • connection between the network control node and the virtual switching node is not a connection relationship between an ordinary controller and a switch, but is implemented by using an API (Analog Programming Interface) of the cloud platform. .
  • the network control node sends the connection information of the virtual network to the virtual switching node, where the virtual switching node receives the connection information of the virtual network sent by the network control node.
  • the virtual switching node temporarily stores the connection information of the received virtual network, so as to further transmit the connection information of the virtual network to the service control node.
  • the virtual switching node sends the connection information of the virtual network to the service control node according to the first identifier information, where the service control node obtains connection information of the virtual network from the virtual switching node.
  • the virtual switching node stores connection information of the virtual network.
  • the service control node determines, according to the processing rule of the service and the connection information of the virtual network, a forwarding path that the data packet of the service needs to pass.
  • the forwarding path includes a virtual processing node, a virtual switching node, and a physical network node.
  • step 102 For details, refer to step 102, and details are not described herein again.
  • the service control node generates a corresponding forwarding rule for the virtual switching node according to the forwarding path.
  • step 103 For details, refer to step 103, and details are not described herein again.
  • the service control node sends the forwarding rule to the virtual switching node, where the virtual switching node receives a forwarding rule sent by the network control node.
  • the virtual switching node stores the forwarding rule.
  • the virtual switching node needs to store the forwarding rule, and then, when the packet needs to be processed, perform corresponding processing according to the forwarding rule.
  • An embodiment of the present invention provides a method for controlling service data forwarding in a virtual network.
  • the service control node first obtains a service processing rule and a connection information of the virtual network, and then, according to the processing rule of the service, and the connection of the virtual network.
  • the information determines a forwarding path that the data packet of the service needs to pass, and generates a corresponding forwarding rule for the virtual switching node.
  • the forwarding rule is sent to the virtual switching node, and the virtual switching node receives and stores the forwarding rule, so that the processing rule that integrates the service and the forwarding rule of the connection information of the virtual network are generated in the service control node.
  • the forwarding rule is sent to the virtual switching node, so that when the packet is forwarded, the processing rule of the integrated service and the forwarding rule of the connection information of the virtual network are searched, so that the network connection can be ensured when the service is processed.
  • the user experience is not limited
  • the forwarding control node includes: an acquiring unit 901, a determining unit 902, and a generating unit 903.
  • the obtaining unit 9 01 is configured to obtain a processing rule of the service and connection information of the virtual network.
  • the connection information of the virtual network includes the virtual processing node, the virtual switching node, and the physical network node.
  • the virtual processing node is configured to perform a specific type of processing on the data message.
  • the virtual switching node is configured to forward the data packet.
  • the processing rules of the service are used to indicate the order in which the data messages are required to be processed.
  • the determining unit 902 is configured to determine, according to the processing rule of the service acquired by the acquiring unit 901 and the connection information of the virtual network, a forwarding path that the data packet of the service needs to pass.
  • the forwarding path includes a virtual processing node, a virtual switching node, and a physical network node.
  • the generating unit 9 0 3 is configured to generate, according to the forwarding path determined by the determining unit 902, a corresponding forwarding rule for the virtual switching node.
  • the forwarding rule is used to indicate a next virtual processing node, a virtual switching node, or a physical network node to which the data packet needs to be forwarded.
  • the forwarding control node when the forwarding control node is a network control node, the forwarding control node further includes: a first connecting unit 094.
  • the network control node is configured to manage the networking of the virtual network, and the network control node stores connection information of the virtual network.
  • the first connecting unit 94 is configured to establish a connection with a service control node.
  • the obtaining unit 910 is specifically configured to obtain connection information of the virtual network from a local area.
  • the obtaining unit 910 is specifically configured to acquire a processing rule of the service from the service control node.
  • the service control node is configured to manage the processing of the service, and the service control node stores a processing rule of the service.
  • the forwarding control node when the forwarding control node is a network control node, the forwarding control node further includes: a first sending unit 905.
  • the network control node is configured to manage the networking of the virtual network, and the network control node stores connection information of the virtual network.
  • the first sending unit 905 is configured to send a connection setup request message to the virtual switching node, so that the virtual switch establishes a connection with the network control node.
  • connection establishment request message carries the first identification information, and is used to identify that the virtual switching node forwards the processing rule of the service to the service after receiving the processing rule of the service sent by the service control node.
  • Network control node carries the first identification information, and is used to identify that the virtual switching node forwards the processing rule of the service to the service after receiving the processing rule of the service sent by the service control node.
  • the obtaining unit 910 is specifically configured to obtain connection information of the virtual network from a local area.
  • the obtaining unit 910 is specifically configured to acquire a processing rule of the service from the virtual switching node.
  • the processing rule of the service is stored on the virtual switching node.
  • the forwarding control node when the forwarding control node is a service control node, the forwarding control node further includes: a second connecting unit 906.
  • the service control node is configured to manage the processing of the service, and the service control node stores a processing rule of the service.
  • the second connection unit 906 is configured to establish a connection with a network control node.
  • the obtaining unit 910 is specifically configured to obtain a processing rule of the service from the local.
  • the obtaining unit 910 is specifically configured to acquire connection information of the virtual network from the network control node.
  • the network control node is configured to manage a networking of the virtual network, and the network control node stores connection information of the virtual network.
  • the forwarding control node when the forwarding control node is a service control node, the forwarding control node further includes: a second sending unit 907.
  • the service control node is configured to manage the processing of the service, and the service control node stores a processing rule of the service.
  • the second sending unit is configured to send a connection setup request message to the virtual switching node, so that the virtual switch establishes a connection with the service control node.
  • connection establishment request message carries the first identification information, and is used to identify that the virtual switching node forwards the connection information of the virtual network to the connection information of the virtual network sent by the network control node.
  • the network control node The network control node.
  • the obtaining unit 910 is specifically configured to obtain a processing rule of the service from the local.
  • the obtaining unit 910 is specifically configured to acquire connection information of the virtual network from the virtual switching node.
  • the virtual switching node stores connection information of the virtual network.
  • the embodiment of the invention provides a forwarding control node, and the forwarding control node first obtains Obtaining the connection information of the service rule H'J and the virtual network, and then determining, according to the processing rule of the service and the connection information of the virtual network, a forwarding path that the data packet of the service needs to pass, and The virtual switching node generates a corresponding forwarding rule. Finally, the forwarding rule is sent to the virtual switching node. In this way, it is possible to generate a forwarding rule that integrates the processing rule of the service and the connection information of the virtual network in the forwarding control node, and sends the forwarding rule to the virtual switching node, so that when the packet is forwarded, the integrated service is searched.
  • the rules for processing the connection of the rules and the connection information of the virtual network can ensure the connectivity of the network and improve the user experience.
  • the virtual switching node includes: a receiving unit 1101 and a storage unit 1102.
  • the receiving unit 1101 is configured to receive a forwarding rule sent by the forwarding control node.
  • the forwarding rule is used to indicate a next virtual processing node, a virtual switching node, or a physical network node to which the data packet needs to be forwarded.
  • the storage unit 1102 is configured to store the forwarding rule.
  • the forwarding control node when the forwarding control node is a network control node, the forwarding control node further includes: a first connecting unit 1103, and a first sending unit 1104.
  • the network control node is configured to manage a networking of the virtual network, and the network control node stores connection information of the virtual network.
  • the receiving unit 1101 is further configured to receive a connection establishment request message sent by the network control node.
  • connection establishment request message carries the first identification information.
  • the first connecting unit 1103 is configured to establish a connection with the network control node.
  • the first connecting unit 1103 is further configured to establish a connection with a service control node.
  • the receiving unit 1101 is further configured to receive a processing rule of the service sent by the service control node.
  • the first sending unit 1104 is configured to send, according to the first identifier information, a processing rule of the service received by the receiving unit to the network control node.
  • the forwarding control node when the forwarding control node is a service control node, the forwarding control node further includes: a second connecting unit 1105, and a second sending unit 1106.
  • the service control node is configured to manage the processing of the service, and the service control node stores a processing rule of the service.
  • the receiving unit 1101 is further configured to receive a connection establishment request message sent by the service control node.
  • connection establishment request message carries the first identification information.
  • the second connecting unit 1105 is configured to establish a connection with the service control node.
  • the second connecting unit 1105 is further configured to establish a connection with the network control node.
  • the receiving unit 1101 is further configured to receive connection information of a virtual network sent by the network control node.
  • the second sending unit 1106 is configured to send connection information of the virtual network received by the receiving unit to the service control node according to the first identifier information.
  • the embodiment of the present invention provides a virtual switching node, where the virtual switching node receives the forwarding rule sent by the forwarding control node, and stores the forwarding rule.
  • the forwarding control node After the forwarding control node generates the processing rule that integrates the processing rule of the service and the connection information of the virtual network, the forwarding rule is sent and stored to the virtual switching node, so that the forwarding can be performed when the packet is forwarded. It combines the processing rules of the service and the forwarding rules of the connection information of the virtual network, thereby ensuring network connectivity and improving the user experience when performing service processing.
  • FIG. 13 it is a functional schematic diagram of a control node according to an embodiment of the present invention.
  • the control node includes: a connection unit 1301, and a transmission unit 1302.
  • the connecting unit 1301 is configured to establish a connection with the forwarding control node or the virtual switching node.
  • the sending unit 1 3 0 2 is configured to send the first information to the forwarding control node or the virtual switching node.
  • the forwarding control node is a network control node
  • the first control node is a service control node
  • the first information is a service processing rule
  • the network control node is configured to manage the networking of the virtual network, and the network control node stores connection information of the virtual network.
  • the service control node is configured to manage the processing of the service, and the service control node stores a processing rule of the service.
  • the forwarding control node is a service control node
  • the first control node is a network control node
  • the first information is connection information of the virtual network.
  • the service control node is configured to manage the processing of the service, and the service control node stores a processing rule of the service.
  • the network control node is configured to manage a networking of the virtual network, and the network control node stores connection information of the virtual network.
  • An embodiment of the present invention provides a control node, where the control node establishes a connection with a forwarding control node or a virtual switching node, and then directly sends the first information to the forwarding control node, or the first information. Sending to the virtual switching node, and then forwarding to the forwarding control node by the virtual switching node, so that the forwarding control node generates a forwarding rule, so that when the packet is forwarded, the processing rule integrated with the service and the connection information of the virtual network can be found.
  • the forwarding rules ensure network connectivity and improve user experience when performing business processing.
  • FIG. 14 is a schematic structural diagram of a forwarding control node according to an embodiment of the present invention.
  • the forwarding control node includes: a processor 1 4 0 1 , a memory 1 4 02.
  • the processor 1 4 0 1 is configured to acquire a processing rule of a service and connection information of a virtual network.
  • the connection information of the virtual network includes the virtual processing node, the virtual switching node, and the physical network node.
  • the virtual processing node is configured to perform a specific type of processing on the data packet.
  • the virtual switching node is configured to use the data
  • the message is forwarded.
  • the processing rule of the service is used to indicate the order of processing required by the data message.
  • the processor 1401 is further configured to determine, according to the processing rule of the service and the connection information of the virtual network, a forwarding path that the data packet of the service needs to pass.
  • the forwarding path includes a virtual processing node, a virtual switching node, and a physical network node.
  • the processor 1401 is further configured to generate, according to the forwarding path, a corresponding forwarding rule for the virtual switching node.
  • the forwarding rule is used to indicate a next virtual processing node, a virtual switching node, or a physical network node to which the data packet needs to be forwarded.
  • the processor 1401 is further configured to establish a connection with the service control node.
  • the network control node is configured to manage the networking of the virtual network, and the network control node stores connection information of the virtual network.
  • the processor 1401 is specifically configured to acquire connection information of the virtual network from the memory.
  • the processor 1401 is specifically configured to acquire a processing rule of the service from the service control node.
  • the service control node is configured to manage the processing of the service, and the service control node stores a processing rule of the service.
  • the processor 1401 is further configured to send a connection establishment request message to the virtual switching node, so that the virtual switching node establishes with the network control node. the connection between.
  • the network control node is configured to manage the networking of the virtual network, and the network control node stores connection information of the virtual network.
  • the connection establishment request message carries the first identification information, and is used to identify that the virtual switching node forwards the processing rule of the service to the network control after receiving the processing rule of the service sent by the service control node. node.
  • the processor 1401 is specifically configured to acquire the virtual network from the memory. Connection information.
  • the processor 1401 is specifically configured to acquire a processing rule of the service from the virtual switching node.
  • the processing rule of the service is stored on the virtual switching node.
  • the processor 1401 is further configured to establish a connection with the network control node.
  • the service control node is configured to manage the processing of the service, and the service control node stores a processing rule of the service.
  • the processor 1401 is specifically configured to acquire a processing rule of the service from the memory.
  • the processor 1401 is specifically configured to acquire connection information of the virtual network from the network control node.
  • the network control node is configured to manage the networking of the virtual network, and the network control node stores connection information of the virtual network.
  • the processor is further configured to send a connection establishment request message to the virtual switching node, so that the virtual switch establishes a connection with the service control node.
  • the service control node is configured to manage the processing of the service, and the service control node stores a processing rule of the service.
  • the connection establishment request message carries the first identification information, and is used to identify that the virtual switching node forwards the connection information of the virtual network to the Network control node.
  • the processor 1401 is specifically configured to acquire a processing rule of the service from the memory.
  • the processor 1401 is specifically configured to acquire connection information of the virtual network from the virtual switching node.
  • the virtual switching node stores connection information of the virtual network.
  • An embodiment of the present invention provides a forwarding control node, which first acquires a processing rule of a service and connection information of a virtual network, and then according to the processing rule of the service and the The connection information of the virtual network determines a forwarding path that the data packet of the service needs to pass, and generates a corresponding forwarding rule for the virtual switching node. Finally, the forwarding rule is sent to the virtual switching node. In this way, it is possible to generate a forwarding rule that integrates the processing rule of the service and the connection information of the virtual network in the forwarding control node, and sends the forwarding rule to the virtual switching node, so that when the packet is forwarded, the integrated service is searched.
  • the rules for processing the connection of the rules and the connection information of the virtual network can ensure the connectivity of the network and improve the user experience.
  • FIG. 15 and FIG. 16 it is a schematic structural diagram of a virtual switching node according to an embodiment of the present invention.
  • the virtual switching node includes: a receiver 1501 and a memory 1502.
  • the receiver 1501 is configured to receive a forwarding rule sent by the forwarding control node.
  • the forwarding rule is used to indicate a next virtual processing node, a virtual switching node, or a physical network node to which the data packet needs to be forwarded.
  • the memory 1502 is configured to store the forwarding rule.
  • the forwarding control node when the forwarding control node is a network control node, the forwarding control node further includes: a first processor 1503, a first transmitter 1504.
  • the network control node is configured to manage a networking of the virtual network, and the network control node stores connection information of the virtual network.
  • the receiver 1501 is further configured to receive a connection establishment request message sent by the network control node.
  • connection establishment request message carries the first identification information.
  • the first processor 1503 is configured to establish a connection with the network control node.
  • the first processor 1503 is further configured to establish a connection with a service control node.
  • the receiver 1501 is further configured to receive a processing rule of the service sent by the service control node.
  • the first transmitter 1504 is configured to send, according to the first identifier information, a processing rule of the service received by the receiver 1501 to the network control node. Further, when the forwarding control node is a service control node, the forwarding control node further includes: a second processor 1505, and a second transmitter 1506.
  • the service control node is configured to manage the processing of the service, and the service control node stores a processing rule of the service.
  • the receiver 1501 is further configured to receive a connection setup request message sent by the service control node.
  • connection establishment request message carries the first identification information.
  • the second processor 1505 is configured to establish a connection with the service control node.
  • the second processor 1505 is further configured to establish a connection with the network control node.
  • the receiver 1501 is further configured to receive connection information of a virtual network sent by the network control node.
  • the second transmitter 1506 is configured to send connection information of the virtual network received by the receiver to the service control node according to the first identifier information.
  • the embodiment of the present invention provides a virtual switching node, where the virtual switching node receives the forwarding rule sent by the forwarding control node, and stores the forwarding rule.
  • the forwarding control node After the forwarding control node generates the processing rule that integrates the processing rule of the service and the connection information of the virtual network, the forwarding rule is sent and stored to the virtual switching node, so that the forwarding can be performed when the packet is forwarded. It combines the processing rules of the service and the forwarding rules of the connection information of the virtual network, thereby ensuring network connectivity and improving the user experience when performing service processing.
  • FIG. 17 is a schematic diagram showing the structure of a control node according to an embodiment of the present invention.
  • the control node includes a processor 1701, a transmitter 1702, and a memory 1703.
  • the processor 1701 is configured to establish a connection with a forwarding control node or a virtual switching node.
  • the transmitter 1702 is configured to send the first information to the forwarding control node or the virtual switching node. Further, when the forwarding control node is a network control node, the first control node is a service control node, and the first information is a service processing rule.
  • the network control node is configured to manage the networking of the virtual network, and the network control node stores connection information of the virtual network.
  • the service control node is configured to manage the processing of the service, and the service control node stores a processing rule of the service.
  • the forwarding control node is a service control node
  • the first control node is a network control node
  • the first information is connection information of the virtual network.
  • the service control node is configured to manage the processing of the service, and the service control node stores a processing rule of the service.
  • the network control node is configured to manage a networking of the virtual network, and the network control node stores connection information of the virtual network.
  • An embodiment of the present invention provides a control node, where the control node establishes a connection with a forwarding control node or a virtual switching node, and then directly sends the first information to the forwarding control node, or the first information. Sending to the virtual switching node, and then forwarding to the forwarding control node by the virtual switching node, so that the forwarding control node generates a forwarding rule, so that when the packet is forwarded, the processing rule integrated with the service and the connection information of the virtual network can be found.
  • the forwarding rules ensure network connectivity and improve user experience when performing business processing.
  • FIG. 18 it is a schematic structural diagram of a system for controlling service data forwarding in a virtual network according to an embodiment of the present invention.
  • the system includes: a forwarding control node 1 8 0 1 , a virtual switching node 1 8 02 , and a first control node 1 8 0 3 .
  • the forwarding control node is a forwarding control node provided by the foregoing embodiment
  • the virtual switching node 108 is the virtual switching node provided by the foregoing embodiment, where the first control node 1 8 0 3 is The control node provided by the above embodiment.
  • the embodiment of the present invention provides a system for controlling service data to be forwarded in a virtual network.
  • the forwarding control node first obtains a service processing rule and a connection information of the virtual network, and then, according to the processing rule of the service, and the connection of the virtual network. Determining a forwarding path that the data packet of the service needs to pass, and is the virtual switching node Generate corresponding forwarding rules. Finally, the forwarding rule is sent to the virtual switching node. In this way, it is possible to generate a forwarding rule that integrates the processing rule of the service and the connection information of the virtual network in the forwarding control node, and sends the forwarding rule to the virtual switching node, so that when the packet is forwarded, the integrated service is searched.
  • the rules for processing the connection of the rules and the connection information of the virtual network can ensure the connectivity of the network and improve the user experience.
  • the disclosed system, apparatus, and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not executed.
  • the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical, mechanical or otherwise.
  • the units described as separate components may or may not be physically separated, and the components displayed as the units may or may not be physical units, and may be located in one place or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the embodiment of the present embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may be physically included separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
  • the above-described integrated unit implemented in the form of a software functional unit can be stored in a computer readable storage medium.
  • the software functional units described above are stored in a storage medium and include instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform portions of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read only memory (Re a d-Only Memo ry, ROM for short), and a random access memory (Ra nd om A ccess M emo ry (referred to as RAM), disk or optical disc, and other media that can store program code.

Abstract

本发明实施例提供了一种控制业务数据在虚拟网络中转发的方法、装置及系统,涉及通信领域,用以提高用户体验。所述方法,包括:转发控制节点获取业务的处理规则和虚拟网络的连接信息;所述转发控制节点根据所述业务的处理规则和所述虚拟网络的连接信息确定所述业务的数据报文所需经过的转发路径;所述转发控制节点根据所述转发路径,为所述虚拟交换节点生成对应的转发规则;所述转发控制节点将所述转发规则发送至所述虚拟交换节点。本发明实施例适用于处理报文的场景。

Description

一种控制业务数据在虚拟网络中转发的方法、 装置及系统 技术领域
本发明涉及网络通信领域, 尤其涉及一种控制业务数据在虚拟 网络中转发的方法、 装置及系统。
背景技术
SDN ( Software Defined Network, 软件定义网络) 是一种新型 网络架构, 其核心技术 OpenFlow 通过将控制面与转发面分离, 可 以为核心网络及应用的创新提供良好的平台。
OpenFlow网络由 OpenFlow交换机及夕卜部控制器组成。0penFlow 交换机由流表、 安全通道和 OpenFlow协议组成。 在 OpenFlow网络 中, OpenFlow交换机仅维护一个流表, 并且只按照流表进行转发, 而流表的生成、 维护、 下发由外部控制器实现。
云计算平台由一系列可以动态升级和被虚拟化的资源组成, 这 些资源被所有云计算的用户共享。 云计算平台实现一般分为三个部 分: 控制节点、 计算节点和网络控制节点。 其中, 控制节点用来控 制整个云计算平台上虚拟机的运行内容, 计算节点用来运行虚拟 机, 而网络控制节点则为云计算平台提供网络服务。 其中, 计算节 点上包含虚拟机和用来构建虚拟网络的交换机。
在基于 SDN的云计算平台网络中, 网络控制节点通过控制计算 节点中交换机上的流表实现对云计算平台提供网络服务。 业务控制 节点作为外部控制器, 将业务部署在业务控制节点上, 通过控制流 表来处理业务。
在实现上述业务部署的过程中, 发明人发现现有技术中至少存 在如下问题: 由于在业务部署时没有考虑云计算平台网络中各节点 之间的连通性, 从而可能出现因为网络不连通而导致的业务无法实 现的情况, 进而降低用户体验。
发明内容
本发明的实施例提供一种控制业务数据在虚拟网络中转发的方 法、 装置及系统, 用以提高用户体验。 为达到上述目 的, 本发明的实施例釆用如下技术方案: 第一方面, 本发明实施例提供了一种控制业务数据在虚拟网络 中转发的方法, 包括: 转发控制节点获取业务的处理规则和虚拟网 络的连接信息; 所述转发控制节, ^根据所述业务的处理规 H 'j和所述 虚拟网络的连接信息确定所述业务的数据报文所需经过的转发路 径, 其中所述转发路径包括虚拟处理节点、 虚拟交换节点和物理网 络节点; 所述转发控制节点根据所述转发路径, 为所述虚拟交换节 点生成对应的转发规则; 所述转发控制节点将所述转发规则发送至 所述虚拟交换节点; 其中, 所述虚拟网络的连接信息包括所述虚拟 处理节点、 所述虚拟交换节点和所述物理网络节点; 所述虚拟处理 节点用于对所述数据报文进行特定类型的处理; 所述虚拟交换节点 用于对所述数据报文进行转发; 所述业务的处理规则用于指示所述 数据报文所需进行的处理的顺序; 所述转发规则用于指示所述数据 报文需转发至的下一个虚拟处理节点、 虚拟交换节点或者物理网络 节点。
在第一方面的第一种可能的实现方式中, 所述转发控制节点为 网络控制节点, 所述网络控制节点用于管理所述虚拟网络的组网, 所述网络控制节点上存有所述虚拟网络的连接信息; 在所述转发控 制节点获取业务的处理规则和所述虚拟网络的连接信息之前, 还包 括: 所述网络控制节点建立与业务控制节点之间的连接; 所述转发 控制节点获取业务的处理规则和所述虚拟网络的连接信息, 包括: 所述网络控制节点从本地获取所述虚拟网络的连接信息; 所述网络 控制节点从所述业务控制节点获取所述业务的处理规则; 其中所述 业务控制节点用于管理所述业务的处理, 所述业务控制节点上存有 所述业务的处理规则。
结合第一方面, 在第一方面的第二种可能的实现方式中, 所述 转发控制节点为网络控制节点, 所述网络控制节点用于管理所述虚 拟网络的组网, 所述网络控制节点上存有所述虚拟网络的连接信 息; 在所述转发控制节点获取业务的处理规则和所述虚拟网络的连 接信息之前, 还包括: 所述网络控制节点向虚拟交换节点发送连接 建立请求消 , , 以使得所述虚拟交换建立与所述网络控制节点之间 的连接; 所述连接建立请求消息中携带第一标识信息, 用来标识所 述虚拟交换节点在接收到所述业务控制节点发送的所述业务的处 理规则后, 将所述业务的处理规则转发给所述网络控制节点; 所述 转发控制节点获取业务的处理规则和所述虚拟网络的连接信息, 包 括: 所述网络控制节点从本地获取所述虚拟网络的连接信息; 所述 网络控制节点从所述虚拟交换节点获取所述业务的处理规则; 其中 所述虚拟交换节点上存有所述业务的处理规则。
结合第一方面, 在第一方面的第三种可能的实现方式中, 所述 转发控制节点为业务控制节点, 所述业务控制节点用于管理所述业 务的处理, 所述业务控制节点上存有所述业务的处理规则; 在所述 转发控制节点获取业务的处理规则和所述虚拟网络的连接信息之 前, 还包括: 所述业务控制节点建立与网络控制节点之间的连接; 所述转发控制节点获取业务的处理规则和所述虚拟网络的连接信 息, 包括: 所述业务控制节点从本地获取所述业务的处理规则; 所 述业务控制节点从所述网络控制节点获取所述虚拟网络的连接信 息; 其中所述网络控制节点用于管理所述虚拟网络的组网, 所述网 络控制节点上存有所述虚拟网络的连接信息。
结合第一方面, 在第一方面的第四种可能的实现方式中, 所述 转发控制节点为业务控制节点, 所述业务控制节点用于管理所述业 务的处理, 所述业务控制节点上存有所述业务的处理规则; 在所述 转发控制节点获取业务的处理规则和所述虚拟网络的连接信息之 前, 还包括: 所述业务控制节点向虚拟交换节点发送连接建立请求 消息, 以使得所述虚拟交换建立与所述业务控制节点之间的连接; 所述连接建立请求消息中携带第一标识信息, 用来标识所述虚拟交 换节点在接收到所述网络控制节点发送的所述虚拟网络的连接信 息后, 将所述虚拟网络的连接信息转发给所述网络控制节点; 所述 转发控制节点获取业务的处理规则和所述虚拟网络的连接信息, 包 括: 所述业务控制节点从本地获取所述业务的处理规则; 所述业务 控制节点从所述虚拟交换节点获取所述虚拟网络的连接信息; 其中 所述虚拟交换节点上存有所述虚拟网络的连接信息。
第二方面, 本发明实施例提供了一种控制业务数据在虚拟网络 中转发的方法, 包括: 虚拟交换节点接收转发控制节点发送的转发 规则;其中, 所述虚拟交换节点用于对数据报文进行转发; 所述转 发规则用于指示所述数据报文需转发至的下一个虚拟处理节点、 虚 拟交换节点或者物理网络节点; 所述虚拟交换节点存储所述转发规 则。
在第二方面的第一种可能的实现方式中, 所述转发控制节点为 网络控制节点, 所述网络控制节点用于管理所述虚拟网络的组网, 所述网络控制节点上存有所述虚拟网络的连接信息; 在所述虚拟交 换节点接收转发控制节点发送的转发规则之前, 还包括: 所述虚拟 交换节点接收所述网络控制节点发送的连接建立请求消息, 并建立 与所述网络控制节点之间的连接; 所述连接建立请求消息中携带第 一标识信息; 所述虚拟交换节点建立与所述业务控制节点之间的连 接; 所述虚拟交换节点接收所述业务控制节点发送的所述业务的处 理规则; 所述虚拟交换节点根据所述第一标识信息将所述业务的处 理规则发送至所述网络控制节点。
结合第二方面, 在第二方面的第二种可能的实现方式中, 所述 转发控制节点为业务控制节点, 所述业务控制节点用于管理所述业 务的处理, 所述业务控制节点上存有所述业务的处理规则; 在所述 虚拟交换节点接收转发控制节点发送的转发规则之前, 还包括: 所 述虚拟交换节点接收所述业务控制节点发送的连接建立请求消息, 并建立与所述业务控制节点之间的连接; 所述连接建立请求消息中 携带第一标识信息; 所述虚拟交换节点建立与所述网络控制节点之 间的连接; 所述虚拟交换节点接收所述网络控制节点发送的所述虚 拟网络的连接信息; 所述虚拟交换节点根据所述第一标识信息将所 述虚拟网络的连接信息发送至所述业务控制节点。 第三方面, 本发明实施例提供了一种控制业务数据在虚拟网络 中转发的方法, 包括: 第一控制节点建立与转发控制节点或虚拟交 换节点之间的连接; 所述第一控制节点将第一信息发送至所述转发 控制节点或所述虚拟交换节点。
在第三方面的第一种可能的实现方式中, 所述转发控制节点为 网络控制节点时, 所述第一控制节点为业务控制节点, 所述第一信 息为业务的处理规则; 所述网络控制节点用于管理虚拟网络的组 网, 所述网络控制节点上存有所述虚拟网络的连接信息; 所述业务 控制节点用于管理所述业务的处理, 所述业务控制节点上存有所述 业务的处理规则。
结合第三方面, 在第三方面的第二种可能的实现方式中, 所述 转发控制节点为业务控制节点时, 所述第一控制节点为网络控制节 点, 所述第一信息为虚拟网络的连接信息; 所述业务控制节点用于 管理所述业务的处理, 所述业务控制节点上存有所述业务的处理规 则; 所述网络控制节点用于管理所述虚拟网络的组网, 所述网络控 制节点上存有所述虚拟网络的连接信息。
第四方面, 本发明实施例提供了一种转发控制节点, 包括: 获 取单元, 用于获取业务的处理规则和虚拟网络的连接信息; 确定单 元, 用于根据所述获取单元获取的所述业务的处理规则和所述虚拟 网络的连接信息确定所述业务的数据报文所需经过的转发路径; 其 中所述转发路径包括虚拟处理节点、 虚拟交换节点和物理网络节 点; 生成单元, 用于根据所述确定单元确定的所述转发路径, 为所 述虚拟交换节点生成对应的转发规则; 其中, 所述虚拟网络的连接 信息包括所述虚拟处理节点、 所述虚拟交换节点和所述物理网络节 点; 所述虚拟处理节点用于对所述数据报文进行特定类型的处理; 所述虚拟交换节点用于对所述数据报文进行转发; 所述业务的处理 规则用于指示所述数据报文所需进行的处理的顺序; 所述转发规则 用于指示所述数据报文需转发至的下一个虚拟处理节点、 虚拟交换 节点或者物理网络节点。 在第四方面的第一种可能的实现方式中, 所述转发控制节点为 网络控制节点, 所述网络控制节点用于管理所述虚拟网络的组网, 所述网络控制节点上存有所述虚拟网络的连接信息; 所述转发控制 节点还包括: 第一连接单元; 所述第一连接单元, 用于建立与业务 控制节点之间的连接; 所述获取单元, 具体用于从本地获取所述虚 拟网络的连接信息; 所述获取单元, 具体用于从所述业务控制节点 获取所述业务的处理规则; 其中所述业务控制节点用于管理所述业 务的处理, 所述业务控制节点上存有所述业务的处理规则。
结合第四方面, 在第四方面的第二种可能实现的方式中, 所述 转发控制节点为网络控制节点, 所述网络控制节点用于管理所述虚 拟网络的组网, 所述网络控制节点上存有所述虚拟网络的连接信 息; 所述转发控制节点还包括: 第一发送单元; 所述第一发送单元, 用于向虚拟交换节点发送连接建立请求消息, 以使得所述虚拟交换 建立与所述网络控制节点之间的连接; 所述连接建立请求消息中携 带第一标识信息, 用来标识所述虚拟交换节点在接收到所述业务控 制节点发送的业务的处理规则后, 将所述业务的处理规则转发给所 述网络控制节点; 所述获取单元, 具体用于从本地获取所述虚拟网 络的连接信息; 所述获取单元, 具体用于从所述虚拟交换节点获取 所述业务的处理规则; 其中所述虚拟交换节点上存有所述业务的处 理规则。
结合第四方面, 在第四方面的第三种可能实现的方式中, 所述 转发控制节点为业务控制节点, 所述业务控制节点用于管理所述业 务的处理, 所述业务控制节点上存有所述业务的处理规则; 所述转 发控制节点还包括: 第二连接单元; 所述第二连接单元, 用于建立 与网络控制节点之间的连接; 所述获取单元, 具体用于从本地获取 所述业务的处理规则; 所述获取单元, 具体用于从所述网络控制节 点获取所述虚拟网络的连接信息; 其中所述网络控制节点用于管理 所述虚拟网络的组网, 所述网络控制节点上存有所述虚拟网络的连 接信息。 结合第四方面, 在第四方面的第四种可能实现的方式中, 所述 转发控制节点为业务控制节点, 所述业务控制节点用于管理所述业 务的处理, 所述业务控制节点上存有所述业务的处理规则; 所述转 发控制节点还包括: 第二发送单元; 所述第二发送单元, 用于向虚 拟交换节点发送连接建立请求消息, 以使得所述虚拟交换建立与所 述业务控制节点之间的连接; 所述连接建立请求消息中携带第一标 识信息, 用来标识所述虚拟交换节点在接收到所述网络控制节点发 送的虚拟网络的连接信息后, 将所述虚拟网络的连接信息转发给所 述网络控制节点; 所述获取单元, 具体用于从本地获取所述业务的 处理规则; 所述获取单元, 具体用于从所述虚拟交换节点获取所述 虚拟网络的连接信息; 其中所述虚拟交换节点上存有所述虚拟网络 的连接信息。
第五方面, 本发明实施例提供了一种虚拟交换节点, 包括: 接 收单元, 用于接收转发控制节点发送的转发规则;其中, 所述转发 规则用于指示数据报文需转发至的下一个虚拟处理节点、 虚拟交换 节点或者物理网络节点; 存储单元, 用于存储所述转发规则。
在第五方面的第一种可能的实现方式中, 所述转发控制节点为 网络控制节点, 所述网络控制节点用于管理虚拟网络的组网, 所述 网络控制节点上存有所述虚拟网络的连接信息; 所述转发控制节点 还包括: 第一连接单元, 第一发送单元; 所述接收单元, 还用于接 收所述网络控制节点发送的连接建立请求消息; 所述连接建立请求 消息中携带第一标识信息; 所述第一连接单元, 用于建立与所述网 络控制节点之间的连接; 所述第一连接单元, 还用于建立与业务控 制节点之间的连接; 所述接收单元, 还用于接收所述业务控制节点 发送的所述业务的处理规则; 所述第一发送单元, 用于根据所述第 ―标识信息将所述接收单元接收的所述业务的处理规则发送至所 述网络控制节点。
结合第五方面, 在第五方面的第二种可能的实现方式中, 所述 转发控制节点为业务控制节点, 所述业务控制节点用于管理所述业 务的处理, 所述业务控制节点上存有所述业务的处理规则; 所述转 发控制节点还包括: 第二连接单元, 第二发送单元; 所述接收单元, 还用于接收所述业务控制节点发送的连接建立请求消息; 所述连接 建立请求消息中携带第一标识信息; 所述第二连接单元, 用于建立 与所述业务控制节点之间的连接; 所述第二连接单元, 还用于建立 与所述网络控制节点之间的连接; 所述接收单元, 还用于接收所述 网络控制节点发送的虚拟网络的连接信息; 所述第二发送单元, 用 于根据所述第一标识信息将所述接收单元接收的所述虚拟网络的 连接信息发送至所述业务控制节点。
第六方面, 本发明实施例提供了一种转发控制节点, 包括: 连 接单元, 用于建立与转发控制节点或虚拟交换节点之间的连接; 发 送单元, 用于将第一信息发送至所述转发控制节点或所述虚拟交换 节点。
在第六方面的第一种可能的实现方式中, 所述转发控制节点为 网络控制节点时, 所述第一控制节点为业务控制节点, 所述第一信 息为业务的处理规则; 所述网络控制节点用于管理所述虚拟网络的 组网, 所述网络控制节点上存有所述虚拟网络的连接信息; 所述业 务控制节点用于管理所述业务的处理, 所述业务控制节点上存有所 述业务的处理规则。
结合第六方面, 在第六方面的二种可能的实现方式中, 所述转 发控制节点为业务控制节点时, 所述第一控制节点为网络控制节 点, 所述第一信息为虚拟网络的连接信息; 所述业务控制节点用于 管理所述业务的处理, 所述业务控制节点上存有所述业务的处理规 则; 所述网络控制节点用于管理所述虚拟网络的组网, 所述网络控 制节点上存有所述虚拟网络的连接信息。
第七方面, 本发明实施例提供了一种转发控制节点, 包括: 处 理器, 存储器; 所述处理器, 用于获取业务的处理规则和虚拟网络 的连接信息; 所述处理器, 还用于根据所述业务的处理规则和所述 虚拟网络的连接信息确定所述业务的数据报文所需经过的转发路 径; 其中所述转发路径包括虚拟处理节点、 虚拟交换节点和物理网 络节点; 所述处理器, 还用于根据所述转发路径, 为所述虚拟交换 节点生成对应的转发规则; 其中, 所述虚拟网络的连接信息包括所 述虚拟处理节点、 所述虚拟交换节点和所述物理网络节点; 所述虚 拟处理节点用于对所述数据报文进行特定类型的处理; 所述虚拟交 换节点用于对所述数据报文进行转发; 所述业务的处理规则用于指 示所述数据报文所需进行的处理的顺序; 所述转发规则用于指示所 述数据报文需转发至的下一个虚拟处理节点、 虚拟交换节点或者物 理网络节点。
在第七方面的第一种可能的实现方式中, 所述转发控制节点为 网络控制节点, 所述网络控制节点用于管理所述虚拟网络的组网, 所述网络控制节点上存有所述虚拟网络的连接信息; 所述处理器, 还用于建立与业务控制节点之间的连接; 所述处理器, 具体用于从 所述存储器获取所述虚拟网络的连接信息; 所述处理器, 具体用于 从所述业务控制节点获取所述业务的处理规则; 其中所述业务控制 节点用于管理所述业务的处理, 所述业务控制节点上存有所述业务 的处理规则。
结合第七发面, 在第七方面的第二种可能的实现方式中, 所述 转发控制节点为网络控制节点, 所述网络控制节点用于管理所述虚 拟网络的组网, 所述网络控制节点上存有所述虚拟网络的连接信 息; 所述处理器, 还用于向所述虚拟交换节点发送连接建立请求消 息, 以使得所述虚拟交换节点建立与所述网络控制节点之间的连 接; 所述连接建立请求消息中携带第一标识信息, 用来标识所述虚 拟交换节点在接收到所述业务控制节点发送的业务的处理规则后, 将所述业务的处理规则转发给所述网络控制节点; 所述处理器, 具 体用于从所述存储器获取所述虚拟网络的连接信息; 所述处理器, 具体用于从所述虚拟交换节点获取所述业务的处理规则; 其中所述 虚拟交换节点上存有所述业务的处理规则。
结合第七方面, 在第七方面的第三种可能的实现方式中, 所述 转发控制节点为业务控制节点, 所述业务控制节点用于管理所述业 务的处理, 所述业务控制节点上存有所述业务的处理规则; 所述处 理器, 还用于建立与网络控制节点之间的连接; 所述处理器, 具体 用于从所述存储器获取所述业务的处理规则; 所述处理器, 具体用 于从所述网络控制节点获取所述虚拟网络的连接信息; 其中所述网 络控制节点用于管理所述虚拟网络的组网, 所述网络控制节点上存 有所述虚拟网络的连接信息。
结合第七方面, 在第七方面的第四种可能的实现方式中, 所述 转发控制节点为业务控制节点, 所述业务控制节点用于管理所述业 务的处理, 所述业务控制节点上存有所述业务的处理规则; 所述处 理器, 还用于向虚拟交换节点发送连接建立请求消息, 以使得所述 虚拟交换建立与所述业务控制节点之间的连接; 所述连接建立请求 消息中携带第一标识信息, 用来标识所述虚拟交换节点在接收到所 述网络控制节点发送的虚拟网络的连接信息后, 将所述虚拟网络的 连接信息转发给所述网络控制节点; 所述处理器, 具体用于从所述 存储器获取所述业务的处理规则; 所述处理器, 具体用于从所述虚 拟交换节点获取所述虚拟网络的连接信息; 其中所述虚拟交换节点 上存有所述虚拟网络的连接信息。
第八方面, 本发明实施例提供了一种虚拟交换节点, 其特征在 于, 包括: 接收器, 用于接收转发控制节点发送的转发规则;其中, 所述转发规则用于指示数据报文需转发至的下一个虚拟处理节点、 虚拟交换节点或者物理网络节点; 存储器, 用于存储所述转发规则。
在第八方面的第一种可能的实现方式中, 所述转发控制节点为 网络控制节点, 所述网络控制节点用于管理虚拟网络的组网, 所述 网络控制节点上存有所述虚拟网络的连接信息; 所述转发控制节点 还包括: 第一处理器, 第一发送器; 所述接收器, 还用于接收所述 网络控制节点发送的连接建立请求消息; 所述连接建立请求消 , ¾中 携带第一标识信息; 所述第一处理器, 用于建立与所述网络控制节 点之间的连接; 所述第一处理器, 还用于建立与业务控制节点之间 的连接; 所述接收器, 还用于接收所述业务控制节点发送的所述业 务的处理规则; 所述第一发送器, 用于根据所述第一标识信息将所 述接收器接收的所述业务的处理规则发送至所述网络控制节点。
结合第八方面, 在第八方面的第二种可能的实现方式中, 所述 转发控制节点为业务控制节点, 所述业务控制节点用于管理所述业 务的处理, 所述业务控制节点上存有所述业务的处理规则; 所述转 发控制节点还包括: 第二处理器, 第二发送器; 所述接收器, 还用 于接收所述业务控制节点发送的连接建立请求消息; 所述连接建立 请求消息中携带第一标识信息; 所述第二处理器, 用于建立与所述 业务控制节点之间的连接; 所述第二处理器, 还用于建立与所述网 络控制节点之间的连接; 所述接收器, 还用于接收所述网络控制节 点发送的虚拟网络的连接信息; 所述第二发送器, 用于根据所述第 一标识信息将所述接收器接收的所述虚拟网络的连接信息发送至 所述业务控制节点。
第九方面, 本发明实施例提供了一种控制节点, 包括: 处理器, 发送器, 存储器; 所述处理器, 用于建立与转发控制节点或虚拟交 换节点之间的连接; 所述发送器, 用于将第一信息发送至所述转发 控制节点或所述虚拟交换节点。
在第九方面的第一种可能的实现方式中, 所述转发控制节点为 网络控制节点时, 所述第一控制节点为业务控制节点, 所述第一信 息为业务的处理规则; 所述网络控制节点用于管理所述虚拟网络的 组网, 所述网络控制节点上存有所述虚拟网络的连接信息; 所述业 务控制节点用于管理所述业务的处理, 所述业务控制节点上存有所 述业务的处理规则。
结合第九方面, 在第九方面的第二种可能的实现方式中, 所述 转发控制节点为业务控制节点时, 所述第一控制节点为网络控制节 点, 所述第一信息为虚拟网络的连接信息; 所述业务控制节点用于 管理所述业务的处理, 所述业务控制节点上存有所述业务的处理规 则; 所述网络控制节点用于管理所述虚拟网络的组网, 所述网络控 制节点上存有所述虚拟网络的连接信息。
第十方面, 本发明实施例提供了一种控制业务数据在虚拟网络 中转发的系统, 包括: 转发控制节点, 虚拟交换节点, 第一控制节 点; 所述转发控制节点为上述实施例中所述的转发控制节点, 所述 虚拟交换节点为上述实施例中所述的虚拟交换节点, 所述第一控制 节点为上述实施例中所述的控制节点。
本发明实施例提供了一种控制业务数据在虚拟网络中转发的方 法、 装置及系统, 转发控制节点首先获取业务的处理规则和虚拟网 络的连接信息, 然后根据所述业务的处理规则和所述虚拟网络的连 接信息确定所述业务的数据报文所需经过的转发路径, 并为所述虚 拟交换节点生成对应的转发规则。 最后, 将所述转发规则发送至所 述虚拟交换节点。 这样, 可以实现在转发控制节点中生成综合了业 务的处理规则和虚拟网络的连接信息的转发规则, 并将此转发规则 发送至虚拟交换节点, 从而可以在转发报文时, 查找综合了业务的 处理规 H 'J和虚拟网络的连接信息的转发规则, 进而在进行业务处理 时就能够保证网络的连通, 提高了用户体验。
附图说明
为了更清楚地说明本发明实施例的技术方案, 下面将对实施例 或现有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是本发明的一些实施例, 对于本领域普通技 术人来讲, 在不付出创造性劳动的前提下, 还可以根据这些附图获 得其他的附图。
图 1为本发明实施例提供的一种控制业务数据在虚拟网络中转 发的流程示意图;
图 2为本发明实施例提供的一个虚拟网络的组网示意图; 图 3为本发明实施例提供的另一种控制业务数据在虚拟网络中 转发的流程示意图;
图 4 为本发明实施例提供的另一种控制业务数据在虚拟网络中 转发的流程示意图; 图 5 为本发明实施例提供的另一种控制业务数据在虚拟网络中 转发的流程示意图;
图 6 为本发明实施例提供的另一种控制业务数据在虚拟网络中 转发的流程示意图;
图 7 为本发明实施例提供的另一种控制业务数据在虚拟网络中 转发的流程示意图;
图 8 为本发明实施例提供的另一种控制业务数据在虚拟网络中 转发的流程示意图;
图 9为本发明实施例提供的一种转发控制节点的功能示意图; 图 1 0 为本发明实施例提供的另一种转发控制节点的功能示意 图;
图 1 1为本发明实施例提供的一种虚拟交换节点的功能示意图; 图 1 2 为本发明实施例提供的另一种虚拟交换节点的功能示意 图;
图 1 3为本发明实施例提供的一种控制节点的功能示意图; 图 1 4为本发明实施例提供的一种转发控制节点的结构示意图; 图 1 5为本发明实施例提供的一种虚拟交换节点的结构示意图; 图 1 6 为本发明实施例提供的另一种虚拟交换节点的结构示意 图;
图 1 7为本发明实施例提供的一种控制节点的结构示意图; 图 1 8 为本发明实施例提供的一种控制业务数据在虚拟网络中 转发的系统的结构示意图。
具体实施方式
下面将结合本发明实施例中的附图, 对本发明实施例中的技术 方案进行清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明 一部分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本 领域普通技术人员在没有作出创造性劳动前提下所获得的所有其 他实施例, 都属于本发明保护的范围。
本发明实施例提供了一种控制业务数据在虚拟网络中转发的方 法, 如图 1 所示, 包括:
1 01、 转发控制节点获取业务的处理规则和虚拟网络的连接信 息。
其中, 所述虚拟网络的连接信息包括所述虚拟处理节点、 所述 虚拟交换节点和所述物理网络节点。 所述虚拟处理节点用于对所述 数据报文进行特定类型的处理。 所述虚拟交换节点用于对所述数据 报文进行转发。 所述业务的处理规则用于指示所述数据报文所需进 行的处理的顺序。
需要说明的是, 所述虚拟网络的连接信息是所述虚拟网络的所 有节点的实际连接信息, 也就是说, 所述虚拟网络的连接信息携带 了所述虚拟网络的全部拓 4卜结构信息。
需要说明的是, 所述业务的处理规则是所述数据报文需要经过 业务处理时, 需要先到哪一个节点进行处理, 后到哪一个节点进行 处理的处理顺序。
需要说明的是, 虚拟处理节点对数据报文进行处理的类型可以 是对接收的报文进行计费处理, 流量控制处理等。 虚拟交换节点用 于对所述数据报文进行转发, 还用于对转发控制节点生成的转发规 则进行存储。
进一步的, 所述转发控制节点可能为业务控制节点, 也可能为 网络控制节点, 可以由用户根据需求预先设定。
其中, 所述网络控制节点用于管理所述虚拟网络的组网, 所述 网络控制节点上存有所述虚拟网络的连接信息。 所述业务控制节点 用于管理所述业务的处理, 所述业务控制节点上存有所述业务的处 理规则。
具体的, 当所述转发控制节点是所述网络控制节点时, 所述网 络控制节点从本地获取所述虚拟网络的连接信息。 根据具体的网络 组网不同, 所述网络控制节点获取所述业务的处理规则的方法有两 种, 一种是从业务控制节点获取所述业务的处理规则, 另一种是从 虚拟交换节点获取所述业务的处理规则。 具体的, 当所述转发控制节点是业务控制节点, 所述业务控制 节点从本地获取所述业务的处理规则。 根据具体的网络组网不同, 所述业务控制节点获取所述虚拟网络的连接信息的方法有两种, 一 种是从网络控制节点获取所述虚拟网络的连接信息, 另一种是从虚 拟交换节点获取所述虚拟网络的连接信息。
需要说明的是, 所述业务的处理规则和虚拟网络的连接信息分 别可以用流表的形式进行存储, 但是对于具体的存储形式, 本发明 对此不做限制。
需要说明的是, 每张流表包含多个表项, 每一个表项都包含匹 配域、 计数器、 与动作集。 其中, 匹配域信息包括: 目标地址, 源 地址, 输入端口等。 计数器信息包括: 查找次数、 查找次数等。 动 作集信息包含对所述数据包问需要进行的处理集合。
需要说明的是, 所述转发控制节点通过流表对数据包文进行处 理时, 首先将数据报文携带的转发信息与流表中每一表项的匹配域 进行依次比对, 当所述数据报文中携带的信息与所述流表中的某一 表项中的匹配域信息匹配成功时, 就根据该表项中相应的动作。
具体的, 当所述虚拟网络的连接信息用流表进行表示时, 可以 根据网络控制节点生成的流表来得到各节点的连接关系。
示例性的, 网络控制节点生成的流表如下所示:
匹酉己域: 目标 IP地址为月良务器, JL VLAN ( Virtual Local Area Network虚拟局域网 ) 为 1, 动作: 修改出口为网络控制节点, 且修 改 VLAN为 1024;
匹配域: 源地址为网络控制节点, 且 VLAN 为 1024, 动作: 修 改出口为目 的 IP地址端口, 且修改 VLAN为 1;
对于获取到的流表,当匹配域的目 的地址为外网的 IP地址而动 作是修改出口为网络控制节点, 同时具有匹配域为源地址为网络控 制节点项, 则表明虚拟交换节点与网络控制节点之间具有连接。
示例性的, 网络控制节点生成的流表如下所示:
匹配域: 进入端口为 A端口, 动作: 修改出口为 B端口、 C端 口;
匹配域: 进入端口为 B端口, 动作: 修改出口为 A端口、 C端 口;
匹配域: 进入端口为 C端口, 动作: 修改出口为 A端口、 B端 口;
匹配域: 进入端口为 D端口, 动作: 修改出口为 E端口; 匹配域: 进入端口为 E端口, 动作: 修改出口为 D端口; 对于匹配域和动作域都只有端口字段的处理, 则认为这些端口 连接的节点属于同一个网络。 如上流表表明有 、 B、 C、 D、 E五个 节点连接到交换机上, 但 A、 B、 C属于同一个网络, D、 E属于同一 个网络。
1 0 2、所述转发控制节点根据所述业务的处理规则和所述虚拟网 络的连接信息确定所述业务的数据报文所需经过的转发路径。
其中, 所述转发路径包括虚拟处理节点、 虚拟交换节点和物理 网络节点。
需要说明的是, 所述转发路径是基于所述虚拟网络的连接信息 生成的, 也就是说, 所述转发路径是基于所述虚拟网络完整的拓朴 结构生成的。
需要说明的是, 所述业务的数据报文所需经过的转发路径是综 合了携带有虚拟网络的全部拓朴结构信 , 的和数据报文需要经过 业务处理步骤的业务的处理规则, 得到的数据报文每一跳具体转发 步骤, 所以数据报文根据所述转发路径进行转发时, 是一定能够保 证网络的连通性, 不会存在进行转发时, 实际网络连接受阻的情况。
示例性的, 所述虚拟网络的组网如图 2 所示, 并且所述网络控 制节点作为此虚拟网络对外访问的网关。 不论所述转发控制节点是 网络控制节点还是业务控制节点。 所述虚拟网络的连接信息是图中 所述虚拟网络的所有连接信息, 所述业务的处理规则是将从服务器 接收到的数据报文, 首先发送至虚拟处理节点 a处理, 然后发送至 虚拟处理节点 c处理, 最后发送至客户端。 所述转发控制节点根据所述业务的处理规则和所述虚拟网络的 连接信息确定所述业务的数据报文所需经过的转发路径为: 首先将 数据报文发送至网络控制节点, 然后将所述数据报文通过虚拟交换 节点 A发送至所述虚拟处理节点 a , 然后将所述数据报文经虚拟交 换节点 A发送至网络控制节点, 接着将所述数据报文经虚拟交换节 点 B发送至所述虚拟处理节点 c , 然后将所述数据报文经虚拟交换 节点 B发送至网络控制节点, 最后, 通过网络控制节点发送至客户 端。
1 0 3、 所述转发控制节点根据所述转发路径, 为所述虚拟交换节 点生成对应的转发规则。
具体的, 转发控制节点在确定去数据报文的转发路径后, 可以 将此转发路径作为转发规则的内容, 为虚拟交换节点生成转发规 则。
示例性的, 步骤 1 0 2所示的转发路径, 可以用如下流表表示: 匹配域: 目标地址为服务器, 源地址为客户端, 动作: 修改出 口为连接虚拟机 a的端口;
匹配域: 目标地址为服务器, 源地址为连接虚拟机 a 的端口, 动作: 修改出口为网络控制节点;
匹配域: 目标地址为服务器, 源地址为网络控制节点, 动作: 修改出口为连接虚拟机 b的端口;
匹配域: 目标地址为服务器, 源地址为连接虚拟机 b 的端口, 动作: 修改出口为网络控制节点。
1 04、所述转发控制节点将所述转发规则发送至所述虚拟交换节 点。
需要说明的是, 由于所述转发规则最终需要发送给虚拟交换节 点进行保存, 所以, 转发控制节点需要将所述转发规则发送至所述 虚拟交换节点。
本发明实施例提供了一种控制业务数据在虚拟网络中转发的方 法, 转发控制节点首先获取业务的处理规则和虚拟网络的连接信 息, 然后根据所述业务的处理规则和所述虚拟网络的连接信息确定 所述业务的数据报文所需经过的转发路径, 并为所述虚拟交换节点 生成对应的转发规则。 最后, 将所述转发规则发送至所述虚拟交换 节点。 这样, 可以实现在转发控制节点中生成综合了业务的处理规 则和虚拟网络的连接信息的转发规则, 并将此转发规则发送至虚拟 交换节点, 从而可以在转发报文时, 查找综合了业务的处理规则和 虚拟网络的连接信息的转发规则, 进而在进行业务处理时就能够保 证网络的连通, 提高了用户体验。
本发明实施例提供了一种控制业务数据在虚拟网络中转发的方 法, 如图 3所示, 包括:
301、 虚拟交换节点接收转发控制节点发送的转发规则。
其中, 所述虚拟交换节点用于对数据报文进行转发。 所述转发 规则用于指示所述数据报文需转发至的下一个虚拟处理节点、 虚拟 交换节点或者物理网络节点。
需要说明的是, 不论转发控制节点是网络控制节点, 还是业务 控制节点, 转发节点多需要将所述转发规则发送至虚拟交换节点, 以便虚拟交换节, 对转发规则进行保存。
302、 所述虚拟交换节点存储所述转发规则。
需要说明的是, 所述虚拟交换节点需要将所述转发规则存储下 来, 然后当报文需要处理时, 按照转发规则进行相应的处理。
本发明实施例提供了一种控制业务数据在虚拟网络中转发的方 法, 虚拟交换节点接收所述转发控制节点发送的转发规则, 并将所 述转发规则存储下来。 这样, 可以实现在转发控制节点生成综合了 业务的处理规则和虚拟网络的连接信息的转发规则后, 并将此转发 规则发送并存储至虚拟交换节点, 从而可以在转发报文时, 查找综 合了综合了业务的处理规则和虚拟网络的连接信息的转发规则, 进 而在进行业务处理时就能够保证网络的连通, 提高了用户体验。
本发明实施例提供了一种控制业务数据在虚拟网络中转发的方 法, 如图 4所示, 包括: 4 0 1、第一控制节点建立与转发控制节点或虚拟交换节点之间的 连接。
需要说明的是, 根据转发控制节点的不同, 第一控制节点也不 同。 当所述转发控制节点为网络控制节点时, 所述第一控制节点为 业务控制节点; 当所述转发控制节点为业务控制节点时, 所述第一 控制节点为网络控制节点。
具体的, 根据所述第一控制节点的不同, 以及转发控制节点获 取虚拟网络的连接信息和业务的处理规则方式不同, 所述第一控制 节点建立连接的情况可以有以下四种情况。
第一种情况, 当所述转发控制节点为网络控制节点, 所述第一 控制节点为业务控制节点, 且所述网络控制节点需要通过虚拟交换 节点获取所述虚拟网络的连接信息时, 所述业务控制节点需要建立 与所述虚拟交换节点之间的连接。
第二种情况, 当所述转发控制节点为网络控制节点, 所述第一 控制节点为业务控制节点, 且所述网络控制节点需要通过业务控制 节点获取所述虚拟网络的连接信息时, 所述业务控制节点需要建立 与所述网络控制节点之间的连接。
第三种情况, 当所述转发控制节点为业务控制节点, 所述第一 控制节点为网络控制节点, 且所述业务控制节点需要通过虚拟交换 节点获取所述业务的处理规则时, 所述网络控制节点需要建立与所 述虚拟交换节点之间的连接。
第四种情况, 当所述转发控制节点为业务控制节点, 所述第一 控制节点为网络控制节点, 且所述业务控制节点需要通过网络控制 节点获取所述业务的处理规则时, 所述网络控制节点需要建立与所 述业务控制节点之间的连接。
需要说明的是, 所述第一控制节点建立与所述转发控制节点之 间的连接方式可以是所述转发控制节点提供一个接口, 然后由第一 控制节点控制此接口。 还可以是转发控制节点釆用插件的形式, 然 后由所述第一控制节点控制此插件。 需要说明的是, 所述第一控制节点建立与所述第二控制节点之 间的具体连接方式, 与现有技术相同, 在此不再说明。
4 02、所述第一控制节点将第一信息发送至所述转发控制节点或 所述虚拟交换节点。
进一步的, 所述转发控制节点为网络控制节点时, 所述第一控 制节点为业务控制节点, 所述第一信息为业务的处理规则; 所述转 发控制节点为业务控制节点时, 所述第一控制节点为网络控制节 点, 所述第一信息为虚拟网络的连接信息。
本发明实施例提供了一种控制业务数据在虚拟网络中转发的方 法, 所述第一控制节点建立与转发控制节点或虚拟交换节点之间的 连接, 然后将第一信息直接发送至所述转发控制节点, 或者将所述 第一信息发送至所虚拟交换节点, 然后由虚拟交换节点转发至转发 控制节点, 以使得所述转发控制节点生成转发规则, 从而可以在转 发报文时, 查找综合了业务的处理规则和虚拟网络的连接信息的转 发规则, 进而在进行业务处理时就能够保证网络的连通, 提高了用 户体验。
如图 5 所示, 其为本发明实施例提供的一种控制业务数据在虚 拟网络中转发的方法。
当所述转发控制节点为网络控制节点, 第一控制节点为业务控 制节点, 所述网络控制节点从业务控制节点获取所述业务的处理规 则时, 参考图 5所示, 包括:
5 01、 网络控制节点建立与业务控制节点之间的连接。
需要说明的是, 所述网络控制节点建立与所述业务控制节点之 间的连接可以是所述网络控制节点提供一个接口, 然后由业务控制 节点控制此接口。 还可以是网络控制节点釆用插件的形式, 然后由 所述业务控制节点控制此插件。 对于网络控制节点与业务控制节点 之间的具体连接方式, 本发明不做限制。
5 02、 网络控制节点从本地获取虚拟网络的连接信息。
其中, 所述网络控制节点用于管理所述虚拟网络的组网, 所述 网络控制节点上存有所述虚拟网络的连接信息。
5 03、 业务控制节点将业务的处理规则发送至网络控制节点, 网 络控制节点从业务控制节点获取业务的处理规则。
其中, 所述业务控制节点用于管理所述业务的处理, 所述业务 控制节点上存有所述业务的处理规则。
5 04、网络控制节点根据业务的处理规则和虚拟网络的连接信息 确定业务的数据报文所需经过的转发路径。
其中, 所述转发路径包括虚拟处理节点、 虚拟交换节点和物理 网络节点。
具体的, 可参考步骤 1 02 , 在此不再赘述。
5 05、 网络控制节点根据所述转发路径, 为所述虚拟交换节点生 成对应的转发规则。
具体的, 可参考步骤 1 0 3 , 在此不再赘述。
5 06、 网络控制节点将所述转发规则发送至所述虚拟交换节点, 虚拟交换节点接收网络控制节点发送的转发规则。
需要说明的是, 由于所述转发规则最终需要发送给虚拟交换节 点进行存储, 所以, 网络控制节点需要将所述转发规则发送至所述 虚拟交换节点。
5 07、 虚拟交换节点存储所述转发规则。
需要说明的是, 所述虚拟交换节点需要将所述转发规则存储下 来, 然后当报文需要处理时, 按照转发规则进行相应的处理。
本发明实施例提供了一种控制业务数据在虚拟网络中转发的方 法, 网络控制节点首先获取业务的处理规则和虚拟网络的连接信 息, 然后根据所述业务的处理规则和所述虚拟网络的连接信息确定 所述业务的数据报文所需经过的转发路径, 并为所述虚拟交换节点 生成对应的转发规则。 最后, 将所述转发规则发送至所述虚拟交换 节点, 虚拟交换节点接收并存储转发规则, 这样, 可以实现在网络 控制节点中生成综合了业务的处理规则和虚拟网络的连接信息的 转发规则, 并将此转发规则发送至虚拟交换节点, 从而可以在转发 报文时, 查找综合了业务的处理规则和虚拟网络的连接信息的转发 规则, 进而在进行业务处理时就能够保证网络的连通, 提高了用户 体验。
如图 6 所示, 其为本发明实施例提供的一种控制业务数据在虚 拟网络中转发的方法。
当所述转发控制节点为网络控制节点, 第一控制节点为业务控 制节点, 所述网络控制节点从虚拟交换节点获取所述业务的处理规 则时, 参考图 6所示, 包括:
601、 所述网络控制节点向虚拟交换节点发送连接建立请求消 息, 所述虚拟交换节点接收所述网络控制节点发送的连接建立请求 消息, 并建立与所述网络控制节点之间的连接。
其中, 所述连接建立请求消息中携带第一标识信息, 用来标识 所述虚拟交换节点在接收到所述业务控制节点发送的所述业务的 处理规则后, 将所述业务的处理规则转发给所述网络控制节点。
需要说明的是, 所述网络控制节点与虚拟交换节点之间的连接 不是普通的控制器与交换机之间的连接关系, 而是釆用云平台的 API (Ap lication Programming Interface,应用编程接口 )实现, 这样就可以允许业务控制节点与虚拟交换节点之间建立连接。
602、 业务控制节点建立与虚拟交换节点之间的连接。
需要说明的是, 所述业务控制节点与虚拟交换节点之间的连接 不是普通的控制器与交换机之间的连接关系, 而是釆用云平台的 API (Ap lication Programming Interface,应用编程接口)实现。
603、 业务控制节点将业务的处理规则发送至所述虚拟交换节 点, 所述虚拟交换节点接收所述业务控制节点发送的所述业务的处 理规则。
需要说明的是, 所述虚拟交换节点将接收到的业务的处理规则 暂时存储下来, 以便进一步时将所述业务的处理规则发送至所述网 络控制节点。
604、虚拟交换节点根据所述第一标识信息将所述业务的处理规 则发送至所述网络控制节点, 网络控制节点从所述虚拟交换节点获 取所述业务的处理规则。
其中, 所述虚拟交换节点上存有所述业务的处理规则。
6 05、网络控制节点根据业务的处理规则和虚拟网络的连接信息 确定业务的数据报文所需经过的转发路径。
其中, 所述转发路径包括虚拟处理节点、 虚拟交换节点和物理 网络节点。
具体的, 可参考步骤 1 02 , 在此不再赘述。
6 06、 网络控制节点根据所述转发路径, 为所述虚拟交换节点生 成对应的转发规则。
具体的, 可参考步骤 1 0 3 , 在此不再赘述。
6 07、 网络控制节点将所述转发规则发送至所述虚拟交换节点, 虚拟交换节点接收网络控制节点发送的转发规则。
需要说明的是, 由于所述转发规则最终需要发送给虚拟交换节 点进行存储, 所以, 网络控制节点需要将所述转发规则发送至所述 虚拟交换节点。
6 08、 虚拟交换节点存储所述转发规则。
需要说明的是, 所述虚拟交换节点需要将所述转发规则存储下 来, 然后当报文需要处理时, 按照转发规则进行相应的处理。
本发明实施例提供了一种控制业务数据在虚拟网络中转发的方 法, 网络控制节点首先获取业务的处理规则和虚拟网络的连接信 息, 然后根据所述业务的处理规则和所述虚拟网络的连接信息确定 所述业务的数据报文所需经过的转发路径, 并为所述虚拟交换节点 生成对应的转发规则。 最后, 将所述转发规则发送至所述虚拟交换 节点, 虚拟交换节点接收并存储转发规则, 这样, 可以实现在网络 控制节点中生成综合了业务的处理规则和虚拟网络的连接信息的 转发规则, 并将此转发规则发送至虚拟交换节点, 从而可以在转发 报文时, 查找综合了业务的处理规则和虚拟网络的连接信息的转发 规则, 进而在进行业务处理时就能够保证网络的连通, 提高了用户 体验。
如图 7 所示, 其为本发明实施例提供的一种控制业务数据在虚 拟网络中转发的方法。
当所述转发控制节点为业务控制节点, 第一控制节点为网络控 制节点, 所述业务控制节点从网络控制节点获取所述虚拟网络的连 接信息时, 参考图 7所示, 包括:
7 01、 业务控制节点建立与网络控制节点之间的连接。
需要说明的是, 所述业务控制节点建立与所述网络控制节点之 间的连接可以是所述业务控制节点提供一个接口, 然后由网络控制 节点控制此接口。 还可以是业务控制节点釆用插件的形式, 然后由 所述网络控制节点控制此插件。 对于业务控制节点与网络控制节点 之间的具体连接方式, 本发明不做限制。
7 02、 业务控制节点从本地获取业务的处理规则。
其中, 所述业务控制节点用于管理所述业务的处理, 所述业务 控制节点上存有所述业务的处理规则。
7 03、 网络控制节点将虚拟网络的连接信息发送至业务控制节 点, 业务控制节点从网络控制节点获取虚拟网络的连接信息。
其中, 所述网络控制节点用于管理所述虚拟网络的组网, 所述 网络控制节点上存有所述虚拟网络的连接信息。
7 04、业务控制节点根据业务的处理规则和虚拟网络的连接信息 确定业务的数据报文所需经过的转发路径。
其中, 所述转发路径包括虚拟处理节点、 虚拟交换节点和物理 网络节点。
具体的, 可参考步骤 1 02 , 在此不再赘述。
7 05、 业务控制节点根据所述转发路径, 为所述虚拟交换节点生 成对应的转发规则。
具体的, 可参考步骤 1 0 3 , 在此不再赘述。
7 06、 业务控制节点将所述转发规则发送至所述虚拟交换节点 , 虚拟交换节点接收网络控制节点发送的转发规则。 需要说明的是, 由于所述转发规则最终需要发送给虚拟交换节 点进行存储, 所以, 业务控制节点需要将所述转发规则发送至所述 虚拟交换节点。
7 07、 虚拟交换节点存储所述转发规则。
需要说明的是, 所述虚拟交换节点需要将所述转发规则存储下 来, 然后当报文需要处理时, 按照转发规则进行相应的处理。
本发明实施例提供了一种控制业务数据在虚拟网络中转发的方 法, 业务控制节点首先获取业务的处理规则和虚拟网络的连接信 息, 然后根据所述业务的处理规则和所述虚拟网络的连接信息确定 所述业务的数据报文所需经过的转发路径, 并为所述虚拟交换节点 生成对应的转发规则。 最后, 将所述转发规则发送至所述虚拟交换 节点, 虚拟交换节点接收并存储转发规则, 这样, 可以实现在业务 控制节点中生成综合了业务的处理规则和虚拟网络的连接信息的 转发规则, 并将此转发规则发送至虚拟交换节点, 从而可以在转发 报文时, 查找综合了业务的处理规则和虚拟网络的连接信息的转发 规则, 进而在进行业务处理时就能够保证网络的连通, 提高了用户 体验。
如图 8 所示, 其为本发明实施例提供的一种控制业务数据在虚 拟网络中转发的方法。
当所述转发控制节点为业务控制节点, 第一控制节点为网络控 制节点, 所述业务控制节点从虚拟交换节点获取所述虚拟网络的连 接信息时, 参考图 8所示, 包括:
8 01、 所述业务控制节点向虚拟交换节点发送连接建立请求消 息, 所述虚拟交换节点接收所述业务控制节点发送的连接建立请求 消息, 并建立与所述业务控制节点之间的连接。
其中, 所述连接建立请求消息中携带第一标识信息, 用来标识 所述虚拟交换节点在接收到所述网络控制节点发送的所述虚拟网 络的连接信息后, 将所述虚拟网络的连接信息转发给所述业务控制 节点。 需要说明的是, 所述业务控制节点与虚拟交换节点之间的连接 不是普通的控制器与交换机之间的连接关系, 而是釆用云平台的
API (Ap lication Programming Interface,应用编程接口 )实现, 这样就可以允许网络控制节点与虚拟交换节点之间建立连接。
802、 网络控制节点建立与虚拟交换节点之间的连接。
需要说明的是, 所述网络控制节点与虚拟交换节点之间的连接 不是普通的控制器与交换机之间的连接关系, 而是釆用云平台的 API (Ap lication Programming Interface,应用编程接口)实现。
803、网络控制节点将虚拟网络的连接信息发送至所述虚拟交换 节点, 所述虚拟交换节点接收所述网络控制节点发送的所述虚拟网 络的连接信息。
需要说明的是, 所述虚拟交换节点将接收到的虚拟网络的连接 信息暂时存储下来, 以便进一步时将所述虚拟网络的连接信息发送 至所述业务控制节点。
804、虚拟交换节点根据所述第一标识信息将所述虚拟网络的连 接信息发送至所述业务控制节点, 业务控制节点从所述虚拟交换节 点获取所述虚拟网络的连接信息。
其中, 所述虚拟交换节点上存有所述虚拟网络的连接信息。
805、业务控制节点根据业务的处理规则和虚拟网络的连接信息 确定业务的数据报文所需经过的转发路径。
其中, 所述转发路径包括虚拟处理节点、 虚拟交换节点和物理 网络节点。
具体的, 可参考步骤 102 , 在此不再赘述。
806、 业务控制节点根据所述转发路径, 为所述虚拟交换节点生 成对应的转发规则。
具体的, 可参考步骤 103 , 在此不再赘述。
807、 业务控制节点将所述转发规则发送至所述虚拟交换节点 , 虚拟交换节点接收网络控制节点发送的转发规则。
需要说明的是, 由于所述转发规则最终需要发送给虚拟交换节 点进行存储, 所以, 业务控制节点需要将所述转发规则发送至所述 虚拟交换节点。
8 08、 虚拟交换节点存储所述转发规则。
需要说明的是, 所述虚拟交换节点需要将所述转发规则存储下 来, 然后当报文需要处理时, 按照转发规则进行相应的处理。
本发明实施例提供了一种控制业务数据在虚拟网络中转发的方 法, 业务控制节点首先获取业务的处理规则和虚拟网络的连接信 息, 然后根据所述业务的处理规则和所述虚拟网络的连接信息确定 所述业务的数据报文所需经过的转发路径, 并为所述虚拟交换节点 生成对应的转发规则。 最后, 将所述转发规则发送至所述虚拟交换 节点, 虚拟交换节点接收并存储转发规则, 这样, 可以实现在业务 控制节点中生成综合了业务的处理规则和虚拟网络的连接信息的 转发规则, 并将此转发规则发送至虚拟交换节点, 从而可以在转发 报文时, 查找综合了业务的处理规则和虚拟网络的连接信息的转发 规则, 进而在进行业务处理时就能够保证网络的连通, 提高了用户 体验。
如图 9、 1 0所示, 其为本发明实施例提供的一种转发控制节点 的功能示意图。 参考图 9、 1 0所示, 该转发控制节点包括: 获取单 元 9 01、 确定单元 9 02、 生成单元 9 03。
获取单元 9 01 , 用于获取业务的处理规则和虚拟网络的连接信 息。
其中, 所述虚拟网络的连接信息包括所述虚拟处理节点、 所述 虚拟交换节点和所述物理网络节点。 所述虚拟处理节点用于对所述 数据报文进行特定类型的处理。 所述虚拟交换节点用于对所述数据 报文进行转发。 所述业务的处理规则用于指示所述数据报文所需进 行的处理的顺序。
确定单元 9 02 , 用于根据所述获取单元 9 01 获取的所述业务的 处理规则和所述虚拟网络的连接信息确定所述业务的数据报文所 需经过的转发路径。 其中, 所述转发路径包括虚拟处理节点、 虚拟交换节点和物理 网络节点。
生成单元 9 0 3 , 用于根据所述确定单元 9 02 确定的所述转发路 径, 为所述虚拟交换节点生成对应的转发规则。
其中, 所述转发规则用于指示所述数据报文需转发至的下一个 虚拟处理节点、 虚拟交换节点或者物理网络节点。
进一步的, 当所述转发控制节点为网络控制节点时, 所述转发 控制节点还包括: 第一连接单元 9 04。
其中, 所述网络控制节点用于管理所述虚拟网络的组网, 所述 网络控制节点上存有所述虚拟网络的连接信息。
所述第一连接单元 9 04 , 用于建立与业务控制节点之间的连接。 所述获取单元 9 01 , 具体用于从本地获取所述虚拟网络的连接 信息。
所述获取单元 9 01 , 具体用于从所述业务控制节点获取所述业 务的处理规则.
其中, 所述业务控制节点用于管理所述业务的处理, 所述业务 控制节点上存有所述业务的处理规则。
进一步的, 当所述转发控制节点为网络控制节点时, 所述转发 控制节点还包括: 第一发送单元 9 05。
其中, 所述网络控制节点用于管理所述虚拟网络的组网, 所述 网络控制节点上存有所述虚拟网络的连接信息。
所述第一发送单元 9 05 , 用于向虚拟交换节点发送连接建立请 求消息, 以使得所述虚拟交换建立与所述网络控制节点之间的连 接。
其中, 所述连接建立请求消息中携带第一标识信息, 用来标识 所述虚拟交换节点在接收到所述业务控制节点发送的业务的处理 规则后, 将所述业务的处理规则转发给所述网络控制节点。
所述获取单元 9 01 , 具体用于从本地获取所述虚拟网络的连接 信息。 所述获取单元 9 01 , 具体用于从所述虚拟交换节点获取所述业 务的处理规则。
其中, 所述虚拟交换节点上存有所述业务的处理规则。
进一步的, 当所述转发控制节点为业务控制节点时, 所述转发 控制节点还包括: 第二连接单元 9 06。
其中, 所述业务控制节点用于管理所述业务的处理, 所述业务 控制节点上存有所述业务的处理规则。
所述第二连接单元 9 06 , 用于建立与网络控制节点之间的连接。 所述获取单元 9 01 , 具体用于从本地获取所述业务的处理规则。 所述获取单元 9 01 , 具体用于从所述网络控制节点获取所述虚 拟网络的连接信息。
其中,所述网络控制节点用于管理所述虚拟网络的组网,所述网 络控制节点上存有所述虚拟网络的连接信息。
进一步的, 当所述转发控制节点为业务控制节点时, 所述转发 控制节点还包括: 第二发送单元 9 07。
其中, 所述业务控制节点用于管理所述业务的处理, 所述业务 控制节点上存有所述业务的处理规则。
所述第二发送单元 9 07 , 用于向虚拟交换节点发送连接建立请 求消息, 以使得所述虚拟交换建立与所述业务控制节点之间的连 接。
其中, 所述连接建立请求消息中携带第一标识信息, 用来标识 所述虚拟交换节点在接收到所述网络控制节点发送的虚拟网络的 连接信息后, 将所述虚拟网络的连接信息转发给所述网络控制节 点。
所述获取单元 9 01 , 具体用于从本地获取所述业务的处理规则。 所述获取单元 9 01 , 具体用于从所述虚拟交换节点获取所述虚 拟网络的连接信息。
其中, 所述虚拟交换节点上存有所述虚拟网络的连接信息。 本发明实施例提供了一种转发控制节点, 转发控制节点首先获 取业务的处理规 H 'J和虚拟网络的连接信息, 然后根据所述业务的处 理规则和所述虚拟网络的连接信息确定所述业务的数据报文所需 经过的转发路径, 并为所述虚拟交换节点生成对应的转发规则。 最 后, 将所述转发规则发送至所述虚拟交换节点。 这样, 可以实现在 转发控制节点中生成综合了业务的处理规则和虚拟网络的连接信 息的转发规则, 并将此转发规则发送至虚拟交换节点, 从而可以在 转发报文时, 查找综合了业务的处理规则和虚拟网络的连接信息的 转发规则, 进而在进行业务处理时就能够保证网络的连通, 提高了 用户体验。
如图 11、 12所示, 其为本发明实施例提供的一种虚拟交换节点 的功能示意图。 参考图 11、 12 所示, 该虚拟交换节点包括: 接收 单元 1101、 存储单元 1102。
接收单元 1101, 用于接收转发控制节点发送的转发规则。
其中, 所述转发规则用于指示数据报文需转发至的下一个虚拟 处理节点、 虚拟交换节点或者物理网络节点。
存储单元 1102, 用于存储所述转发规则。
进一步的, 当所述转发控制节点为网络控制节点时, 所述转发 控制节点还包括: 第一连接单元 1103, 第一发送单元 1104。
其中, 所述网络控制节点用于管理虚拟网络的组网, 所述网络 控制节点上存有所述虚拟网络的连接信息。
所述接收单元 1101, 还用于接收所述网络控制节点发送的连接 建立请求消息。
其中, 所述连接建立请求消息中携带第一标识信息。
所述第一连接单元 1103, 用于建立与所述网络控制节点之间的 连接。
所述第一连接单元 1103, 还用于建立与业务控制节点之间的连 接。
所述接收单元 1101, 还用于接收所述业务控制节点发送的所述 业务的处理规则。 所述第一发送单元 1104, 用于根据所述第一标识信息将所述接 收单元接收的所述业务的处理规则发送至所述网络控制节点。
进一步的, 当所述转发控制节点为业务控制节点时, 所述转发 控制节点还包括: 第二连接单元 1105, 第二发送单元 1106。
其中, 所述业务控制节点用于管理所述业务的处理, 所述业务 控制节点上存有所述业务的处理规则。
所述接收单元 1101, 还用于接收所述业务控制节点发送的连接 建立请求消息。
其中, 所述连接建立请求消息中携带第一标识信息。
所述第二连接单元 1105, 用于建立与所述业务控制节点之间的 连接。
所述第二连接单元 1105, 还用于建立与所述网络控制节点之间 的连接。
所述接收单元 1101, 还用于接收所述网络控制节点发送的虚拟 网络的连接信息。
所述第二发送单元 1106, 用于根据所述第一标识信息将所述接 收单元接收的所述虚拟网络的连接信息发送至所述业务控制节点。
本发明实施例提供了一种虚拟交换节点, 虚拟交换节点接收所 述转发控制节点发送的转发规则, 并将所述转发规则存储下来。 这 样, 可以实现在转发控制节点生成综合了业务的处理规则和虚拟网 络的连接信息的转发规则后, 并将此转发规则发送并存储至虚拟交 换节点, 从而可以在转发报文时, 查找综合了综合了业务的处理规 则和虚拟网络的连接信息的转发规则, 进而在进行业务处理时就能 够保证网络的连通, 提高了用户体验。
如图 13所示,其为本发明实施例提供的一种控制节点的功能示 意图。 参考图 13所示, 该控制节点包括: 连接单元 1301、 发送单 元 1302。
连接单元 1301, 用于建立与转发控制节点或虚拟交换节点之间 的连接。 发送单元 1 3 0 2 , 用于将第一信息发送至所述转发控制节点或所 述虚拟交换节点。
进一步的, 当所述转发控制节点为网络控制节点时, 所述第一 控制节点为业务控制节点, 所述第一信息为业务的处理规则。
其中, 所述网络控制节点用于管理所述虚拟网络的组网, 所述 网络控制节点上存有所述虚拟网络的连接信息。 所述业务控制节点 用于管理所述业务的处理, 所述业务控制节点上存有所述业务的处 理规则。
进一步的, 当所述转发控制节点为业务控制节点时, 所述第一 控制节点为网络控制节点, 所述第一信息为虚拟网络的连接信息。
其中, 所述业务控制节点用于管理所述业务的处理, 所述业务 控制节点上存有所述业务的处理规则。 所述网络控制节点用于管理 所述虚拟网络的组网, 所述网络控制节点上存有所述虚拟网络的连 接信息。
本发明实施例提供了一种控制节点, 所述控制节点建立与转发 控制节点或虚拟交换节点之间的连接, 然后将第一信息直接发送至 所述转发控制节点, 或者将所述第一信息发送至所虚拟交换节点, 然后由虚拟交换节点转发至转发控制节点, 以使得所述转发控制节 点生成转发规则, 从而可以在转发报文时, 查找综合了业务的处理 规则和虚拟网络的连接信息的转发规则, 进而在进行业务处理时就 能够保证网络的连通, 提高了用户体验。
如图 1 4所示,其为本发明实施例提供的一种转发控制节点的结 构示意图。 参考图 1 4 所示, 该转发控制节点包括: 处理器 1 4 0 1、 存储器 1 4 02。
所述处理器 1 4 0 1 , 用于获取业务的处理规则和虚拟网络的连接 信息。
其中, 所述虚拟网络的连接信息包括所述虚拟处理节点、 所述 虚拟交换节点和所述物理网络节点。 所述虚拟处理节点用于对所述 数据报文进行特定类型的处理。 所述虚拟交换节点用于对所述数据 报文进行转发。 所述业务的处理规则用于指示所述数据报文所需进 行的处理的顺序。
所述处理器 1401, 还用于根据所述业务的处理规则和所述虚拟 网络的连接信息确定所述业务的数据报文所需经过的转发路径。
其中, 所述转发路径包括虚拟处理节点、 虚拟交换节点和物理 网络节点。
所述处理器 1401, 还用于根据所述转发路径, 为所述虚拟交换 节点生成对应的转发规则。
其中, 所述转发规则用于指示所述数据报文需转发至的下一个 虚拟处理节点、 虚拟交换节点或者物理网络节点。
进一步的, 当所述转发控制节点为网络控制节点时, 所述处理 器 1401, 还用于建立与业务控制节点之间的连接。
其中, 所述网络控制节点用于管理所述虚拟网络的组网, 所述 网络控制节点上存有所述虚拟网络的连接信息。
所述处理器 1401, 具体用于从所述存储器获取所述虚拟网络的 连接信息。
所述处理器 1401, 具体用于从所述业务控制节点获取所述业务 的处理规则。
其中, 所述业务控制节点用于管理所述业务的处理, 所述业务 控制节点上存有所述业务的处理规则。
进一步的, 当所述转发控制节点为网络控制节点时, 所述处理 器 1401, 还用于向所述虚拟交换节点发送连接建立请求消息, 以使 得所述虚拟交换节点建立与所述网络控制节点之间的连接.
其中, 所述网络控制节点用于管理所述虚拟网络的组网, 所述 网络控制节点上存有所述虚拟网络的连接信息。 所述连接建立请求 消息中携带第一标识信息, 用来标识所述虚拟交换节点在接收到所 述业务控制节点发送的业务的处理规则后, 将所述业务的处理规则 转发给所述网络控制节点。
所述处理器 1401, 具体用于从所述存储器获取所述虚拟网络的 连接信息。
所述处理器 1401, 具体用于从所述虚拟交换节点获取所述业务 的处理规则.
其中, 所述虚拟交换节点上存有所述业务的处理规则。
进一步的, 当所述转发控制节点为业务控制节点时, 所述处理 器 1401, 还用于建立与网络控制节点之间的连接。
其中, 所述业务控制节点用于管理所述业务的处理, 所述业务 控制节点上存有所述业务的处理规则。
所述处理器 1401, 具体用于从所述存储器获取所述业务的处理 规则。
所述处理器 1401, 具体用于从所述网络控制节点获取所述虚拟 网络的连接信息。
其中, 所述网络控制节点用于管理所述虚拟网络的组网, 所述 网络控制节点上存有所述虚拟网络的连接信息。
进一步的, 当所述转发控制节点为业务控制节点时, 所述处理 器, 还用于向虚拟交换节点发送连接建立请求消息, 以使得所述虚 拟交换建立与所述业务控制节点之间的连接。
其中, 所述业务控制节点用于管理所述业务的处理, 所述业务 控制节点上存有所述业务的处理规则。 所述连接建立请求消息中携 带第一标识信息, 用来标识所述虚拟交换节点在接收到所述网络控 制节点发送的虚拟网络的连接信息后, 将所述虚拟网络的连接信息 转发给所述网络控制节点。
所述处理器 1401, 具体用于从所述存储器获取所述业务的处理 规则。
所述处理器 1401, 具体用于从所述虚拟交换节点获取所述虚拟 网络的连接信息。
其中, 所述虚拟交换节点上存有所述虚拟网络的连接信息。 本发明实施例提供了一种转发控制节点, 首先获取业务的处理 规则和虚拟网络的连接信息, 然后根据所述业务的处理规则和所述 虚拟网络的连接信息确定所述业务的数据报文所需经过的转发路 径, 并为所述虚拟交换节点生成对应的转发规则。 最后, 将所述转 发规则发送至所述虚拟交换节点。 这样, 可以实现在转发控制节点 中生成综合了业务的处理规则和虚拟网络的连接信息的转发规则, 并将此转发规则发送至虚拟交换节点, 从而可以在转发报文时, 查 找综合了业务的处理规则和虚拟网络的连接信息的转发规则, 进而 在进行业务处理时就能够保证网络的连通, 提高了用户体验。
如图 15、 16所示, 其为本发明实施例提供的一种虚拟交换节点 的结构示意图。 参考图 15、 16 所示, 该虚拟交换节点包括: 接收 器 1501、 存储器 1502。
接收器 1501, 用于接收转发控制节点发送的转发规则。
其中, 所述转发规则用于指示数据报文需转发至的下一个虚拟 处理节点、 虚拟交换节点或者物理网络节点。
存储器 1502, 用于存储所述转发规则。
进一步的, 当所述转发控制节点为网络控制节点时, 所述转发 控制节点还包括: 第一处理器 1503, 第一发送器 1504。
其中, 所述网络控制节点用于管理虚拟网络的组网, 所述网络 控制节点上存有所述虚拟网络的连接信息。
所述接收器 1501, 还用于接收所述网络控制节点发送的连接建 立请求消息。
其中, 所述连接建立请求消息中携带第一标识信息。
所述第一处理器 1503, 用于建立与所述网络控制节点之间的连 接。
所述第一处理器 1503, 还用于建立与业务控制节点之间的连 接。
所述接收器 1501, 还用于接收所述业务控制节点发送的所述业 务的处理规则。
所述第一发送器 1504, 用于根据所述第一标识信息将所述接收 器 1501接收的所述业务的处理规则发送至所述网络控制节点。 进一步的, 当所述转发控制节点为业务控制节点时, 所述转发 控制节点还包括: 第二处理器 1505, 第二发送器 1506。
其中, 所述业务控制节点用于管理所述业务的处理, 所述业务 控制节点上存有所述业务的处理规则。
所述接收器 1501, 还用于接收所述业务控制节点发送的连接建 立请求消息。
其中, 所述连接建立请求消息中携带第一标识信息。
所述第二处理器 1505, 用于建立与所述业务控制节点之间的连 接。
所述第二处理器 1505, 还用于建立与所述网络控制节点之间的 连接。
所述接收器 1501, 还用于接收所述网络控制节点发送的虚拟网 络的连接信息。
所述第二发送器 1506, 用于根据所述第一标识信息将所述接收 器接收的所述虚拟网络的连接信息发送至所述业务控制节点。
本发明实施例提供了一种虚拟交换节点, 虚拟交换节点接收所 述转发控制节点发送的转发规则, 并将所述转发规则存储下来。 这 样, 可以实现在转发控制节点生成综合了业务的处理规则和虚拟网 络的连接信息的转发规则后, 并将此转发规则发送并存储至虚拟交 换节点, 从而可以在转发报文时, 查找综合了综合了业务的处理规 则和虚拟网络的连接信息的转发规则, 进而在进行业务处理时就能 够保证网络的连通, 提高了用户体验。
如图 17所示,其为本发明实施例提供的一种控制节点的结构示 意图。参考图 17所示,该控制节点包括:处理器 1701,发送器 1702, 存储器 1703。
所述处理器 1701, 用于建立与转发控制节点或虚拟交换节点之 间的连接。
所述发送器 1702, 用于将第一信息发送至所述转发控制节点或 所述虚拟交换节点。 进一步的, 当所述转发控制节点为网络控制节点时, 所述第一 控制节点为业务控制节点, 所述第一信息为业务的处理规则。
其中, 所述网络控制节点用于管理所述虚拟网络的组网, 所述 网络控制节点上存有所述虚拟网络的连接信息。 所述业务控制节点 用于管理所述业务的处理, 所述业务控制节点上存有所述业务的处 理规则。
进一步的, 当所述转发控制节点为业务控制节点时, 所述第一 控制节点为网络控制节点, 所述第一信息为虚拟网络的连接信息。
其中, 所述业务控制节点用于管理所述业务的处理, 所述业务 控制节点上存有所述业务的处理规则。 所述网络控制节点用于管理 所述虚拟网络的组网, 所述网络控制节点上存有所述虚拟网络的连 接信息。
本发明实施例提供了一种控制节点, 所述控制节点建立与转发 控制节点或虚拟交换节点之间的连接, 然后将第一信息直接发送至 所述转发控制节点, 或者将所述第一信息发送至所虚拟交换节点, 然后由虚拟交换节点转发至转发控制节点, 以使得所述转发控制节 点生成转发规则, 从而可以在转发报文时, 查找综合了业务的处理 规则和虚拟网络的连接信息的转发规则, 进而在进行业务处理时就 能够保证网络的连通, 提高了用户体验。
如图 1 8所示,其为本发明实施例提供的一种控制业务数据在虚 拟网络中转发的系统的结构示意图。 参考图 1 8所示, 该系统包括: 转发控制节点 1 8 0 1 , 虚拟交换节点 1 8 02 , 第一控制节点 1 8 0 3。
其中,所述转发控制节点 1 8 0 1为上述实施例提供的转发控制节 点, 所述虚拟交换节点 1 8 02 为上述实施例提供的虚拟交换节点, 所述第一控制节点 1 8 0 3为上述实施例提供的控制节点。
本发明实施例提供了一种控制业务数据在虚拟网络中转发的系 统, 转发控制节点首先获取业务的处理规则和虚拟网络的连接信 息, 然后根据所述业务的处理规则和所述虚拟网络的连接信息确定 所述业务的数据报文所需经过的转发路径, 并为所述虚拟交换节点 生成对应的转发规则。 最后, 将所述转发规则发送至所述虚拟交换 节点。 这样, 可以实现在转发控制节点中生成综合了业务的处理规 则和虚拟网络的连接信息的转发规则, 并将此转发规则发送至虚拟 交换节点, 从而可以在转发报文时, 查找综合了业务的处理规则和 虚拟网络的连接信息的转发规则, 进而在进行业务处理时就能够保 证网络的连通, 提高了用户体验。
在本申请所提供的几个实施例中, 应该理解到, 所揭露的系统, 装置和方法, 可以通过其它的方式实现。 例如, 以上所描述的装置 实施例仅仅是示意性的, 例如, 所述单元的划分, 仅仅为一种逻辑 功能划分, 实际实现时可以有另外的划分方式, 例如多个单元或组 件可以结合或者可以集成到另一个系统, 或一些特征可以忽略, 或 不执行。 另一点, 所显示或讨论的相互之间的耦合或直接耦合或通 信连接可以是通过一些接口, 装置或单元的间接耦合或通信连接, 可以是电性, 机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分 开的, 作为单元显示的部件可以是或者也可以不是物理单元, 即可 以位于一个地方, 或者也可以分布到多个网络单元上。 可以根据实 际的需要选择其中的部分或者全部单元来实现本实施例方案的目 的。
另外, 在本发明各个实施例中的各功能单元可以集成在一个处 理单元中, 也可以是各个单元单独物理包括, 也可以两个或两个以 上单元集成在一个单元中。 上述集成的单元既可以釆用硬件的形式 实现, 也可以釆用硬件加软件功能单元的形式实现。
上述以软件功能单元的形式实现的集成的单元, 可以存储在一 个计算机可读取存储介质中。 上述软件功能单元存储在一个存储介 质中, 包括若干指令用以使得一台计算机设备(可以是个人计算机, 服务器, 或者网络设备等) 执行本发明各个实施例所述方法的部分 步骤。 而前述的存储介质包括: U 盘、 移动硬盘、 只读存储器 ( Re a d-On l y Memo r y , 简称 ROM )、 随机存取存储器 ( Ra nd om A c c e s s M emo r y ,简称 RAM )、磁碟或者光盘等各种可以存储程序代码的介质。 最后应说明的是: 以上实施例仅用以说明本发明的技术方案, 而非对其限制; 尽管参照前述实施例对本发明进行了详细的说明, 本领域的普通技术人员应当理解: 其依然可以对前述各实施例所记 载的技术方案进行修改, 或者对其中部分技术特征进行等同替换; 而这些修改或者替换, 并不使相应技术方案的本质脱离本发明各实 施例技术方案的精神和范围。

Claims

权 利 要 求 书
1、 一种控制业务数据在虚拟网络中转发的方法, 其特征在于, 包括:
转发控制节点获取业务的处理规则和虚拟网络的连接信息; 所述转发控制节点根据所述业务的处理规则和所述虚拟网络的 连接信息确定所述业务的数据报文所需经过的转发路径;其中, 所述 转发路径包括虚拟处理节点、 虚拟交换节点和物理网络节点;
所述转发控制节点根据所述转发路径,为所述虚拟交换节点生成 对应的转发规则;
所述转发控制节点将所述转发规则发送至所述虚拟交换节点; 其中, 所述虚拟网络的连接信息包括所述虚拟处理节点、 所述虚 拟交换节点和所述物理网络节点; 所述虚拟处理节点用于对所述数 据报文进行特定类型的处理; 所述虚拟交换节点用于对所述数据报 文进行转发; 所述业务的处理规则用于指示所述数据报文所需进行 的处理的顺序; 所述转发规则用于指示所述数据报文需转发至的下 一个虚拟处理节点、 虚拟交换节点或者物理网络节点。
2、 根据权利要求 1 所述的方法, 其特征在于, 所述转发控制节 点为网络控制节点, 所述网络控制节点用于管理所述虚拟网络的组 网, 所述网络控制节点上存有所述虚拟网络的连接信息;
在所述转发控制节点获取业务的处理规则和所述虚拟网络的连 接信息之前, 还包括:
所述网络控制节点建立与业务控制节点之间的连接;
所述转发控制节点获取业务的处理规则和所述虚拟网络的连接 信息, 包括:
所述网络控制节点从本地获取所述虚拟网络的连接信息; 所述网络控制节点从所述业务控制节点获取所述业务的处理规 则; 其中所述业务控制节点用于管理所述业务的处理, 所述业务控 制节点上存有所述业务的处理规则。
3、 根据权利要求 1所述的方法, 其特征在于, 所述转发控制节点为网络控制节点,所述网络控制节点用于管理 所述虚拟网络的组网, 所述网络控制节点上存有所述虚拟网络的连 接信息;
在所述转发控制节点获取业务的处理规则和所述虚拟网络的连 接信息之前, 还包括:
所述网络控制节点向虚拟交换节点发送连接建立请求消息,以使 得所述虚拟交换建立与所述网络控制节点之间的连接; 所述连接建 立请求消息中携带第一标识信息, 用来标识所述虚拟交换节点在接 收到所述业务控制节点发送的所述业务的处理规则后, 将所述业务 的处理规则转发给所述网络控制节点;
所述转发控制节点获取业务的处理规则和所述虚拟网络的连接 信息, 包括:
所述网络控制节点从本地获取所述虚拟网络的连接信息; 所述网络控制节点从所述虚拟交换节点获取所述业务的处理规 则; 其中所述虚拟交换节点上存有所述业务的处理规则。
4、 根据权利要求 1 所述的方法, 其特征在于, 所述转发控制节 点为业务控制节点, 所述业务控制节点用于管理所述业务的处理, 所述业务控制节点上存有所述业务的处理规则;
在所述转发控制节点获取业务的处理规则和所述虚拟网络的连 接信息之前, 还包括:
所述业务控制节点建立与网络控制节点之间的连接;
所述转发控制节点获取业务的处理规则和所述虚拟网络的连接 信息, 包括:
所述业务控制节点从本地获取所述业务的处理规则;
所述业务控制节点从所述网络控制节点获取所述虚拟网络的连 接信息; 其中所述网络控制节点用于管理所述虚拟网络的组网, 所 述网络控制节点上存有所述虚拟网络的连接信息。
5、 根据权利要求 1 所述的方法, 其特征在于, 所述转发控制节 点为业务控制节点, 所述业务控制节点用于管理所述业务的处理, 所述业务控制节点上存有所述业务的处理规则;
在所述转发控制节点获取业务的处理规则和所述虚拟网络的连 接信息之前, 还包括:
所述业务控制节点向虚拟交换节点发送连接建立请求消息,以使 得所述虚拟交换建立与所述业务控制节点之间的连接; 所述连接建 立请求消息中携带第一标识信息, 用来标识所述虚拟交换节点在接 收到所述网络控制节点发送的所述虚拟网络的连接信息后, 将所述 虚拟网络的连接信息转发给所述网络控制节点;
所述转发控制节点获取业务的处理规则和所述虚拟网络的连接 信息, 包括:
所述业务控制节点从本地获取所述业务的处理规则;
所述业务控制节点从所述虚拟交换节点获取所述虚拟网络的连 接信息; 其中所述虚拟交换节点上存有所述虚拟网络的连接信息。
6、 一种控制业务数据在虚拟网络中转发的方法, 其特征在于, 包括:
虚拟交换节点接收转发控制节点发送的转发规则;其中, 所述虚 拟交换节点用于对数据报文进行转发; 所述转发规则用于指示所述 数据报文需转发至的下一个虚拟处理节点、 虚拟交换节点或者物理 网络节点;
所述虚拟交换节点存储所述转发规则。
7、 根据权利要求 6所述的方法, 其特征在于, 所述转发控制节 点为网络控制节点, 所述网络控制节点用于管理所述虚拟网络的组 网, 所述网络控制节点上存有所述虚拟网络的连接信息;
在所述虚拟交换节点接收转发控制节点发送的转发规则之前,还 包括:
所述虚拟交换节点接收所述网络控制节点发送的连接建立请求 消息, 并建立与所述网络控制节点之间的连接; 所述连接建立请求 消息中携带第一标识信息;
所述虚拟交换节点建立与所述业务控制节点之间的连接; 所述虚拟交换节点接收所述业务控制节点发送的所述业务的处 理规则;
所述虚拟交换节点根据所述第一标识信息将所述业务的处理规 则发送至所述网络控制节点。
8、 根据权利要求 6所述的方法, 其特征在于, 所述转发控制节 点为业务控制节点, 所述业务控制节点用于管理所述业务的处理, 所述业务控制节点上存有所述业务的处理规则;
在所述虚拟交换节点接收转发控制节点发送的转发规则之前,还 包括:
所述虚拟交换节点接收所述业务控制节点发送的连接建立请求 消息, 并建立与所述业务控制节点之间的连接; 所述连接建立请求 消息中携带第一标识信息;
所述虚拟交换节点建立与所述网络控制节点之间的连接; 所述虚拟交换节点接收所述网络控制节点发送的所述虚拟网络 的连接信息;
所述虚拟交换节点根据所述第一标识信息将所述虚拟网络的连 接信息发送至所述业务控制节点。
9、 一种控制业务数据在虚拟网络中转发的方法, 其特征在于, 包括:
第一控制节点建立与转发控制节点或虚拟交换节点之间的连接; 所述第一控制节点将第一信息发送至所述转发控制节点或所述 虚拟交换节点。
1 0、 根据权利要求 9所述的方法, 其特征在于,
所述转发控制节点为网络控制节点时,所述第一控制节点为业务 控制节点, 所述第一信息为业务的处理规则; 所述网络控制节点用 于管理虚拟网络的组网, 所述网络控制节点上存有所述虚拟网络的 连接信息; 所述业务控制节点用于管理所述业务的处理, 所述业务 控制节点上存有所述业务的处理规则。
1 1、 根据权利要求 9所述的方法, 其特征在于, 所述转发控制节点为业务控制节点时,所述第一控制节点为网络 控制节点, 所述第一信息为虚拟网络的连接信息; 所述业务控制节 点用于管理所述业务的处理, 所述业务控制节点上存有所述业务的 处理规则; 所述网络控制节点用于管理所述虚拟网络的组网, 所述 网络控制节点上存有所述虚拟网络的连接信息。
1 2、 一种转发控制节点, 其特征在于, 包括:
获取单元, 用于获取业务的处理规则和虚拟网络的连接信息; 确定单元,用于根据所述获取单元获取的所述业务的处理规则和 所述虚拟网络的连接信息确定所述业务的数据报文所需经过的转发 路径; 其中所述转发路径包括虚拟处理节点、 虚拟交换节点和物理 网络节点;
生成单元, 用于根据所述确定单元确定的所述转发路径, 为所述 虚拟交换节点生成对应的转发规则;
其中, 所述虚拟网络的连接信息包括所述虚拟处理节点、 所述虚 拟交换节点和所述物理网络节点; 所述虚拟处理节点用于对所述数 据报文进行特定类型的处理; 所述虚拟交换节点用于对所述数据报 文进行转发; 所述业务的处理规则用于指示所述数据报文所需进行 的处理的顺序; 所述转发规则用于指示所述数据报文需转发至的下 一个虚拟处理节点、 虚拟交换节点或者物理网络节点。
1 3、 根据权利要求 1 2所述的转发控制节点, 其特征在于, 所述 转发控制节点为网络控制节点, 所述网络控制节点用于管理所述虚 拟网络的组网, 所述网络控制节点上存有所述虚拟网络的连接信息; 所述转发控制节点还包括: 第一连接单元;
所述第一连接单元, 用于建立与业务控制节点之间的连接; 所述获取单元, 具体用于从本地获取所述虚拟网络的连接信息; 所述获取单元,具体用于从所述业务控制节点获取所述业务的处 理规则; 其中所述业务控制节点用于管理所述业务的处理, 所述业 务控制节点上存有所述业务的处理规则。
1 4、 根据权利要求 1 2所述的转发控制节点, 其特征在于, 所述 转发控制节点为网络控制节点, 所述网络控制节点用于管理所述虚 拟网络的组网, 所述网络控制节点上存有所述虚拟网络的连接信息; 所述转发控制节点还包括: 第一发送单元;
所述第一发送单元, 用于向虚拟交换节点发送连接建立请求消 息, 以使得所述虚拟交换建立与所述网络控制节点之间的连接; 所 述连接建立请求消息中携带第一标识信息, 用来标识所述虚拟交换 节点在接收到所述业务控制节点发送的业务的处理规则后, 将所述 业务的处理规则转发给所述网络控制节点;
所述获取单元, 具体用于从本地获取所述虚拟网络的连接信息; 所述获取单元,具体用于从所述虚拟交换节点获取所述业务的处 理规则; 其中所述虚拟交换节点上存有所述业务的处理规则。
1 5、 根据权利要求 1 2所述的转发控制节点, 其特征在于, 所述 转发控制节点为业务控制节点, 所述业务控制节点用于管理所述业 务的处理, 所述业务控制节点上存有所述业务的处理规则;
所述转发控制节点还包括: 第二连接单元;
所述第二连接单元, 用于建立与网络控制节点之间的连接; 所述获取单元, 具体用于从本地获取所述业务的处理规则; 所述获取单元,具体用于从所述网络控制节点获取所述虚拟网络 的连接信息; 其中所述网络控制节点用于管理所述虚拟网络的组网, 所述网络控制节点上存有所述虚拟网络的连接信息。
1 6、 根据权利要求 1 2所述的转发控制节点, 其特征在于, 所述 转发控制节点为业务控制节点, 所述业务控制节点用于管理所述业 务的处理, 所述业务控制节点上存有所述业务的处理规则;
所述转发控制节点还包括: 第二发送单元;
所述第二发送单元, 用于向虚拟交换节点发送连接建立请求消 息, 以使得所述虚拟交换建立与所述业务控制节点之间的连接; 所 述连接建立请求消息中携带第一标识信息, 用来标识所述虚拟交换 节点在接收到所述网络控制节点发送的虚拟网络的连接信息后, 将 所述虚拟网络的连接信息转发给所述网络控制节点; 所述获取单元, 具体用于从本地获取所述业务的处理规则; 所述获取单元,具体用于从所述虚拟交换节点获取所述虚拟网络 的连接信息; 其中所述虚拟交换节点上存有所述虚拟网络的连接信 息。
1 7、 一种虚拟交换节点, 其特征在于, 包括:
接收单元, 用于接收转发控制节点发送的转发规则;其中, 所述 转发规则用于指示数据报文需转发至的下一个虚拟处理节点、 虚拟 交换节点或者物理网络节点;
存储单元, 用于存储所述转发规则。
1 8、 根据权利要求 1 7所述的虚拟交换节点, 其特征在于, 所述 转发控制节点为网络控制节点, 所述网络控制节点用于管理虚拟网 络的组网, 所述网络控制节点上存有所述虚拟网络的连接信息;
所述转发控制节点还包括: 第一连接单元, 第一发送单元; 所述接收单元,还用于接收所述网络控制节点发送的连接建立请 求消息; 所述连接建立请求消息中携带第一标识信息;
所述第一连接单元, 用于建立与所述网络控制节点之间的连接; 所述第一连接单元, 还用于建立与业务控制节点之间的连接; 所述接收单元,还用于接收所述业务控制节点发送的所述业务的 处理规则;
所述第一发送单元,用于根据所述第一标识信息将所述接收单元 接收的所述业务的处理规则发送至所述网络控制节点。
1 9、 根据权利要求 1 7所述的虚拟交换节点, 其特征在于, 所述 转发控制节点为业务控制节点, 所述业务控制节点用于管理所述业 务的处理, 所述业务控制节点上存有所述业务的处理规则;
所述转发控制节点还包括: 第二连接单元, 第二发送单元; 所述接收单元,还用于接收所述业务控制节点发送的连接建立请 求消息; 所述连接建立请求消息中携带第一标识信息;
所述第二连接单元, 用于建立与所述业务控制节点之间的连接; 所述第二连接单元, 还用于建立与所述网络控制节点之间的连 接;
所述接收单元,还用于接收所述网络控制节点发送的虚拟网络的 连接信息;
所述第二发送单元,用于根据所述第一标识信息将所述接收单元 接收的所述虚拟网络的连接信息发送至所述业务控制节点。
2 0、 一种控制节点, 其特征在于, 包括:
连接单元, 用于建立与转发控制节点或虚拟交换节点之间的连 接;
发送单元,用于将第一信息发送至所述转发控制节点或所述虚拟 交换节点。
2 1、 根据权利要求 2 0所述的控制节点, 其特征在于, 所述转发 控制节点为网络控制节点时, 所述第一控制节点为业务控制节点, 所述第一信息为业务的处理规则; 所述网络控制节点用于管理所述 虚拟网络的组网, 所述网络控制节点上存有所述虚拟网络的连接信 息; 所述业务控制节点用于管理所述业务的处理, 所述业务控制节 点上存有所述业务的处理规则。
22、 根据权利要求 2 0所述的控制节点, 其特征在于, 所述转发 控制节点为业务控制节点时, 所述第一控制节点为网络控制节点, 所述第一信息为虚拟网络的连接信息; 所述业务控制节点用于管理 所述业务的处理, 所述业务控制节点上存有所述业务的处理规则; 所述网络控制节点用于管理所述虚拟网络的组网, 所述网络控制节 点上存有所述虚拟网络的连接信息。
2 3、 一种控制业务数据在虚拟网络中转发的系统, 其特征在于, 包括: 转发控制节点和第一控制节点;
所述转发控制节点为权利要求 1 2 - 1 6 任一项所述的转发控制节 点;
所述第一控制节点为权利要求 20-22任一项所述的控制节点。
PCT/CN2013/087714 2013-11-22 2013-11-22 一种控制业务数据在虚拟网络中转发的方法、装置及系统 WO2015074258A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
EP13897796.2A EP3059909B1 (en) 2013-11-22 2013-11-22 Method, apparatus and system for controlling forwarding of service data in virtual network
CN201380002329.5A CN104838624B (zh) 2013-11-22 2013-11-22 一种控制业务数据在虚拟网络中转发的方法、装置及系统
PCT/CN2013/087714 WO2015074258A1 (zh) 2013-11-22 2013-11-22 一种控制业务数据在虚拟网络中转发的方法、装置及系统
US15/160,667 US10104018B2 (en) 2013-11-22 2016-05-20 Method, apparatus, and system for controlling forwarding of service data in virtual network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/087714 WO2015074258A1 (zh) 2013-11-22 2013-11-22 一种控制业务数据在虚拟网络中转发的方法、装置及系统

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/160,667 Continuation US10104018B2 (en) 2013-11-22 2016-05-20 Method, apparatus, and system for controlling forwarding of service data in virtual network

Publications (1)

Publication Number Publication Date
WO2015074258A1 true WO2015074258A1 (zh) 2015-05-28

Family

ID=53178828

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/087714 WO2015074258A1 (zh) 2013-11-22 2013-11-22 一种控制业务数据在虚拟网络中转发的方法、装置及系统

Country Status (4)

Country Link
US (1) US10104018B2 (zh)
EP (1) EP3059909B1 (zh)
CN (1) CN104838624B (zh)
WO (1) WO2015074258A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108989068B (zh) * 2017-05-31 2019-08-20 华为技术有限公司 一种编排软件定义网络的方法及sdn控制器
CN111510388B (zh) * 2019-01-30 2022-01-21 华为技术有限公司 一种确定转发路径的方法、装置及系统
CN115118654B (zh) * 2022-06-17 2023-08-18 北京百度网讯科技有限公司 虚拟网络下的数据转发方法、系统、装置及程序产品

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102792645A (zh) * 2010-03-24 2012-11-21 日本电气株式会社 信息系统、控制设备、管理虚拟网络的方法以及程序
CN102934400A (zh) * 2010-06-09 2013-02-13 日本电气株式会社 通信系统、逻辑信道控制设备、控制设备、通信方法以及程序
CN103283191A (zh) * 2010-12-28 2013-09-04 日本电气株式会社 信息系统、控制装置、通信方法及程序
CN103283187A (zh) * 2010-12-28 2013-09-04 日本电气株式会社 信息系统、控制装置、虚拟网络的提供方法及程序
CN103348638A (zh) * 2011-02-07 2013-10-09 日本电气株式会社 通信系统、控制装置、通信节点以及通信方法

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010090182A1 (ja) * 2009-02-03 2010-08-12 日本電気株式会社 アプリケーションスイッチシステム、及びアプリケーションスイッチ方法
CN102498694A (zh) * 2009-09-14 2012-06-13 日本电气株式会社 通信系统、转发节点、路径管理服务器、通信方法和程序
JP5621778B2 (ja) * 2009-09-25 2014-11-12 日本電気株式会社 コンテンツベーススイッチシステム、及びコンテンツベーススイッチ方法
US8442048B2 (en) * 2009-11-04 2013-05-14 Juniper Networks, Inc. Methods and apparatus for configuring a virtual network switch
WO2011074559A1 (ja) * 2009-12-17 2011-06-23 日本電気株式会社 ネットワークシステム、ネットワーク制御装置、及び制御方法
EP2521309B1 (en) * 2009-12-28 2016-08-31 Nec Corporation Communications system and topology information generation method
WO2011083780A1 (ja) * 2010-01-05 2011-07-14 日本電気株式会社 通信システム、制御装置、処理規則の設定方法、パケットの送信方法およびプログラム
JP5573942B2 (ja) * 2010-03-17 2014-08-20 日本電気株式会社 通信システム、ノード、制御サーバ、通信方法およびプログラム
JP5668759B2 (ja) * 2010-11-01 2015-02-12 日本電気株式会社 通信システム、制御装置、パケット転送経路の制御方法およびプログラム
US8559335B2 (en) * 2011-01-07 2013-10-15 Jeda Networks, Inc. Methods for creating virtual links between fibre channel over ethernet nodes for converged network adapters
ES2630014T3 (es) * 2011-01-20 2017-08-17 Nec Corporation Sistema de comunicación, dispositivo de control, dispositivo de gestión de políticas, método de comunicación, y programa
CN107071088B (zh) * 2011-08-17 2020-06-05 Nicira股份有限公司 逻辑l3路由
US9185056B2 (en) * 2011-09-20 2015-11-10 Big Switch Networks, Inc. System and methods for controlling network traffic through virtual switches
WO2013086204A1 (en) * 2011-12-07 2013-06-13 Citrix Systems, Inc. Controlling a network interface using virtual switch proxying
US9577845B2 (en) * 2013-09-04 2017-02-21 Nicira, Inc. Multiple active L3 gateways for logical networks
US9503371B2 (en) * 2013-09-04 2016-11-22 Nicira, Inc. High availability L3 gateways for logical networks

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102792645A (zh) * 2010-03-24 2012-11-21 日本电气株式会社 信息系统、控制设备、管理虚拟网络的方法以及程序
CN102934400A (zh) * 2010-06-09 2013-02-13 日本电气株式会社 通信系统、逻辑信道控制设备、控制设备、通信方法以及程序
CN103283191A (zh) * 2010-12-28 2013-09-04 日本电气株式会社 信息系统、控制装置、通信方法及程序
CN103283187A (zh) * 2010-12-28 2013-09-04 日本电气株式会社 信息系统、控制装置、虚拟网络的提供方法及程序
CN103348638A (zh) * 2011-02-07 2013-10-09 日本电气株式会社 通信系统、控制装置、通信节点以及通信方法

Non-Patent Citations (1)

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

Also Published As

Publication number Publication date
EP3059909B1 (en) 2018-03-21
US20160269325A1 (en) 2016-09-15
EP3059909A1 (en) 2016-08-24
EP3059909A4 (en) 2016-11-02
CN104838624B (zh) 2017-12-08
US10104018B2 (en) 2018-10-16
CN104838624A (zh) 2015-08-12

Similar Documents

Publication Publication Date Title
US11563669B2 (en) Method for implementing network virtualization and related apparatus and communications system
EP3624408B1 (en) Method for generating forwarding table entry, controller, and network device
US10237179B2 (en) Systems and methods of inter data center out-bound traffic management
EP3399703B1 (en) Method for implementing load balancing, apparatus, and network system
US9900238B2 (en) Overlay network-based original packet flow mapping apparatus and method therefor
WO2015180040A1 (zh) 流表管理方法及相关设备和系统
JP2019500822A (ja) 仮想マシンパケット制御
WO2017107814A1 (zh) 一种传播QoS策略的方法、装置及系统
CN110430076B (zh) 一种路由管理方法及装置
EP3883286A1 (en) Data processing method, controller and forwarding device
WO2014047784A1 (zh) 报文转发路径确定方法及网络设备、控制设备
US9755909B2 (en) Method, device and system for controlling network path
KR20170038124A (ko) Ue들 및 고정 액세스 네트워크에서 작동하는 방법
WO2018068588A1 (zh) 提供组播业务的方法和软件定义网络控制器
CN112929264B (zh) 业务流量传输方法、系统及网络设备
JP2019519146A (ja) ルーティング確立、パケット送信
WO2014139157A1 (zh) 一种报文处理的方法、报文设备和系统
WO2016019676A1 (zh) 一种软件定义网络sdn中处理数据包的方法、装置及系统
US10104018B2 (en) Method, apparatus, and system for controlling forwarding of service data in virtual network
EP3155772B1 (en) A new instant messaging(im) routing method and router
US9537764B2 (en) Communication apparatus, control apparatus, communication system, communication method, method for controlling communication apparatus, and program
WO2014019196A1 (zh) 拓扑信息处理方法及设备
CN107404546B (zh) 一种sdn网络内的通信方法及装置
CN107465770B (zh) 一种sdn网络与非sdn网络通信的方法及装置
CN109756412A (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: 13897796

Country of ref document: EP

Kind code of ref document: A1

REEP Request for entry into the european phase

Ref document number: 2013897796

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2013897796

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE