WO2014179923A1 - Network configuration method, device and system based on sdn - Google Patents

Network configuration method, device and system based on sdn Download PDF

Info

Publication number
WO2014179923A1
WO2014179923A1 PCT/CN2013/075198 CN2013075198W WO2014179923A1 WO 2014179923 A1 WO2014179923 A1 WO 2014179923A1 CN 2013075198 W CN2013075198 W CN 2013075198W WO 2014179923 A1 WO2014179923 A1 WO 2014179923A1
Authority
WO
WIPO (PCT)
Prior art keywords
controller
node
sdn
main
control rule
Prior art date
Application number
PCT/CN2013/075198
Other languages
French (fr)
Chinese (zh)
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 CN201380035264.4A priority Critical patent/CN104429028B/en
Priority to PCT/CN2013/075198 priority patent/WO2014179923A1/en
Publication of WO2014179923A1 publication Critical patent/WO2014179923A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements

Definitions

  • the embodiments of the present invention relate to communication technologies, and in particular, to an SDN-based network configuration method, apparatus, and system.
  • SDN Software Defined Network
  • a device for controlling a network device at a control plane is called an SDN controller (Controller); a network device located at a data plane is called a node.
  • a node In a network for data forwarding, a node can be a router or a switch.
  • a node can be an Authentication Authorization Accounting (AAA) server, a device supporting Dynamic Host Configuration Protocol (DHCP), and a network address translation (NAT).
  • AAA Authentication Authorization Accounting
  • DHCP Dynamic Host Configuration Protocol
  • NAT network address translation
  • the device the 3rd Generation Partnership Project (3GPP), an evolved Node B (eNB), a Polic Ic and Charging Rules Function (PCRF), and the like.
  • 3GPP 3rd Generation Partnership Project
  • eNB evolved Node B
  • PCRF Polic Ic and Charging Rules Function
  • Each SDN controller can act as a Master Controller or a Slave Controller, and each node can communicate with multiple SDN controllers.
  • each node can communicate with multiple SDN controllers.
  • only one of the multiple SDN controllers to which it communicates can be the primary controller of the node, and the other one or more SDN controllers can act as the slave controllers of the node.
  • a single SDN controller can act as the primary controller for one or more nodes.
  • the SDN controller that is the primary controller of a node can also act as a slave controller for other nodes.
  • the main controller is used to control the node, and the slave controller is used as the standby controller of the main controller. It is used temporarily as the main controller when the main controller is overloaded or faulty.
  • the slave controller can also The main controller acts as an information backup. Since the SDN mainly uses the main controller to control and manage the nodes, when multiple nodes communicate with the main controller, the performance requirements of the main controller are high. In such cases, the network performance of the SDN will be limited by the performance of the host controller itself. Summary of the invention
  • a first aspect of the embodiments of the present invention provides an SDN-based network configuration method, including:
  • the allocation result further includes a slave controller allocated to the node;
  • the method further includes:
  • the method further includes:
  • the obtaining, by using the load state information of the at least one SDN controller in the controller pool, obtaining a controller for the node The distribution results include:
  • the method further includes:
  • the method further includes:
  • a second aspect of the embodiments of the present invention provides an SDN-based network configuration method, including:
  • control rule is a rule for controlling, corresponding to the node type, obtained by the main controller according to a node type, where the main controller is a controller according to the controller
  • the SDN controller selected by the load status information of at least one SDN controller in the pool
  • the method further includes:
  • the method further includes:
  • a third aspect of the embodiments of the present invention provides an SDN-based network configuration method, including: The master controller acquires a control rule corresponding to the node type according to the node type, where the node type is received from the master device, or is obtained from a database, and the master controller is An SDN controller in the controller pool, wherein the main controller is an SDN controller allocated to the node as a main controller according to load status information of at least one SDN controller in the controller pool ;
  • the primary controller sends the control rule to the node to cause the node to configure according to the control rule.
  • the master controller acquires, according to the node type, a control rule corresponding to the node type, including:
  • the main controller receives request information that is sent by the node and carries the type of the node; and the main controller configures, according to the request information, a control rule corresponding to the node type for the node.
  • the method further includes:
  • the main controller sends the load status information to the main control device, so that the main control device obtains an allocation result of the controller for the node according to load status information of at least one SDN controller in the controller pool.
  • the allocation result includes a primary controller and/or a secondary controller assigned to the node.
  • a fourth aspect of the embodiments of the present invention provides an SDN-based network configuration method, including:
  • the node identifier is identifier information of the node that is received from the master device;
  • the control rule is a rule for control that is obtained by the master controller according to the node type and corresponding to the node type;
  • the main controller is an SDN controller selected by the main control device according to load status information of at least one SDN controller in the controller pool.
  • the method further includes:
  • the load status information of at least one SDN controller in the pool obtains an allocation result for the node allocation controller, the allocation result including a primary controller and/or a slave controller assigned to the node.
  • a fifth aspect of the embodiments of the present invention provides a main control device, including:
  • a processing unit configured to obtain, according to load state information of at least one SDN controller in the controller pool, an allocation result of the controller for the node, where the allocation result includes a primary controller allocated to the node, the primary controller Is the SDN controller in the controller pool;
  • a sending unit configured to send, to the main controller, a node type of the node, where the main controller acquires a control rule corresponding to the node type according to the node type, and the control rule is Sent to the node.
  • the allocation result obtained by the processing unit further includes a slave controller allocated to the node;
  • the sending unit is further configured to:
  • the sending unit is further configured to:
  • the processing unit is further configured to:
  • the master control device further includes:
  • An acquiring unit configured to receive a load status message sent by the at least one SDN controller Or acquiring load status information separately from the at least one SDN controller.
  • the acquiring unit is further configured to:
  • a sixth aspect of the embodiments of the present invention provides a node, including:
  • a receiving unit configured to receive a control rule sent by the main controller, where the control rule is a rule for controlling, corresponding to the node type, obtained by the main controller according to a node type, where the main controller is The SDN controller selected by the control device according to load status information of at least one SDN controller in the controller pool;
  • a configuration unit configured to perform configuration according to the control rule.
  • the receiving unit is further configured to:
  • the node further includes:
  • a sending unit configured to send request information carrying the node type to the primary controller according to the allocation result, so that the primary controller obtains a control rule corresponding to the node type according to the request information.
  • the sending unit is further configured to:
  • a seventh aspect of the embodiments of the present invention provides a host controller, including:
  • a processing unit configured to acquire, according to a node type, a control rule corresponding to the node type, where the node type is received from a master device, or a type of the node acquired from a database, the master control
  • the controller is an SDN controller in the controller pool
  • the master controller is an SDN assigned to the node as a primary controller according to load status information of at least one SDN controller in the controller pool.
  • a sending unit configured to send the control rule to the node, so that the node is configured according to The control rules are configured.
  • the processing unit is further configured to:
  • a control rule corresponding to the node type is configured for the node.
  • the sending unit is further configured to:
  • An eighth aspect of the embodiments of the present invention provides a slave controller, including:
  • An obtaining unit configured to acquire, from a node corresponding to the primary controller or the node identifier, a control rule corresponding to the node identifier;
  • the node identifier is identifier information of the node that is received from the master device;
  • the control rule is a rule for control that is obtained by the master controller according to the node type and corresponding to the node type;
  • the main controller is an SDN controller selected by the main control device according to load status information of at least one SDN controller in the controller pool.
  • the slave controller further includes:
  • a sending unit configured to send load status information to the main control device, where the main control device obtains an allocation result of the controller for the node according to load status information of at least one SDN controller in the controller pool
  • the allocation result includes a primary controller and/or a secondary controller assigned to the node.
  • a ninth aspect of the embodiments of the present invention provides a main control device, including:
  • processor a processor, a memory, a bus, and a communication interface; the processor, the memory, and the communication interface are connected by the bus and complete communication with each other;
  • the communication interface is configured to communicate with the node, the main controller, and the slave controller;
  • the memory is configured to store a program;
  • the processor configured to execute the program;
  • the program is configured to obtain, according to load state information of at least one SDN controller in the controller pool, an allocation result of the controller for the node, where the allocation result includes a primary controller allocated to the node, where the primary
  • the controller is an SDN controller in the controller pool;
  • a tenth aspect of the embodiments of the present invention provides a node, including:
  • processor a processor, a memory, a bus, and a communication interface; the processor, the memory, and the communication interface are connected by the bus and complete communication with each other;
  • the communication interface is configured to be in communication with the main control device, the main controller, and the slave controller; and configured to receive a control rule sent by the main controller, where the control rule is obtained by the main controller according to the node type, a rule for control corresponding to the node type, the main controller is an SDN controller selected by the master device according to load state information of at least one SDN controller in the controller pool;
  • the memory is configured to store a program
  • the processor configured to execute the program
  • the program is configured to be configured according to the control rule.
  • An eleventh aspect of the embodiments of the present invention provides a main controller, including:
  • processor a processor, a memory, a bus, and a communication interface; the processor, the memory, and the communication interface are connected by the bus and complete communication with each other;
  • the communication interface is configured to be in communication with the master device, the node, and the slave controller; the memory is configured to store a program;
  • the processor configured to execute the program
  • the program is configured to obtain, according to a node type, a control rule corresponding to the node type, where the node type is received from a master device, or a type of the node acquired from a database,
  • the main controller is an SDN controller in the controller pool, and the main controller is assigned to the node as a main controller according to load status information of at least one SDN controller in the controller pool. SDN controller;
  • a twelfth aspect of the embodiments of the present invention provides a slave controller, including: a processor, a memory, a bus, and a communication interface; the processor, the memory, and the communication interface are connected and completed through the bus Communication with each other;
  • the communication interface is configured to be in communication with the main control device, the node, and the main controller; the memory is configured to store a program;
  • the processor configured to execute the program
  • the program is configured to obtain, from a node corresponding to the primary controller or the node identifier, a control rule corresponding to the node identifier;
  • the node identifier is identifier information of the node that is received from the master device;
  • the control rule is a rule for control that is obtained by the master controller according to the node type and corresponding to the node type;
  • the main controller is an SDN controller selected by the main control device according to load status information of at least one SDN controller in the controller pool.
  • a thirteenth aspect of the embodiments of the present invention provides an SDN-based communication system, including the foregoing main control device, at least one node, at least one main controller, and at least one slave controller; A node, a communication connection between the primary controller and the slave controller.
  • the SDN-based network configuration method, device, and system provided by the embodiment of the present invention obtain the allocation result of the controller for the node according to the load state information of the at least one SDN controller in the controller pool, according to the distribution result.
  • a primary controller assigned to the node the node type of the node is sent to the primary controller, so that the primary controller can configure a control rule corresponding to the node type according to the node type, and
  • the control rule is sent to the node, and the node can perform corresponding configuration according to the control rule.
  • the main control device can automatically allocate the main controller and the slave controller to the node according to the load condition of each SDN controller, the automatic control of the data plane by the control plane of the SDN is realized, the configuration efficiency is improved, and the configuration can be satisfactorily satisfied. SDN network performance requirements.
  • FIG. 1 is a schematic structural diagram of an SDN-based network configuration method according to an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of another SDN-based network configuration method according to an embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of a main control device according to an embodiment of the present disclosure.
  • FIG. 3b is a schematic structural diagram of another main control device according to an embodiment of the present disclosure.
  • FIG. 3c is a schematic structural diagram of still another main control device according to an embodiment of the present disclosure.
  • FIG. 4a is a schematic structural diagram of a node according to an embodiment of the present invention.
  • FIG. 4b is a schematic structural diagram of another node according to an embodiment of the present disclosure.
  • 4c is a schematic structural diagram of still another node according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a main controller according to an embodiment of the present disclosure.
  • FIG. 5b is a schematic structural diagram of another main controller according to an embodiment of the present disclosure.
  • 6a is a schematic structural diagram of a slave controller according to an embodiment of the present invention.
  • Figure 6b is a schematic structural diagram of another slave controller according to an embodiment of the present invention
  • Figure 6c is a schematic structural diagram of another slave controller according to an embodiment of the present invention
  • Figure 7 is a SDN-based communication system according to an embodiment of the present invention
  • the embodiments of the present invention utilize a primary control device and at least one SDN controller to form a controller pool on the control plane of the SDN. (controller pool).
  • the SDN controllers in the controller pool may also be referred to as common controllers with respect to the master device. By controlling the SDN controllers in the controller pool by the master device, the SDN controllers can work in coordination to achieve load balancing.
  • Each SDN controller in the controller pool is in communication with the master device; each SDN controller is in communication with each node in the data plane; the master device is in communication with each node in the data plane.
  • the embodiments of the present invention provide an SDN-based network configuration method.
  • the method described in the embodiments of the present invention can also be configured.
  • the main control device in the embodiments of the present invention may be an independent device, or may be a functional module disposed on other devices in the control plane;
  • the node may be a router, a switch, an AAA server, or a device supporting DHCP. , NAT device, eNB or PCRF, etc.;
  • the master control ler and the slave controller are the SDN controllers in the controller pool.
  • the specific SDN controller works as the master controller or as the slave controller.
  • the control device is configured according to a preset policy.
  • FIG. 1 is a schematic structural diagram of an SDN-based network configuration method according to an embodiment of the present invention, including:
  • the main control device obtains an allocation result of the controller for the node according to load state information of at least one SDN controller in the controller pool.
  • the allocation result includes a primary controller allocated to the node, and the primary controller is an SDN controller in the controller pool.
  • the main control device acquires load status information of each SDN controller in the controller pool.
  • the load status information includes information such as resource utilization, memory usage, and remaining storage capacity of a central processing unit (CPU).
  • the master device After collecting the load status information of each SDN controller, the master device can allocate the master controller to the nodes from the SDN controllers of the controller pool according to the principle of load balancing.
  • the SDN controller as the primary controller of the node needs to perform more data processing and operations, it is preferred to select a lightly loaded SDN controller among the SDN controllers connected to the node.
  • the method for determining the load severity of the SDN controller based on the load status information may adopt an implementation similar to that in the prior art.
  • the main control unit After determining the weight of each SDN controller, the main control unit assigns a main controller to the node according to actual needs.
  • the identification information of the primary controller assigned to the node is used as the allocation result. Accordingly, after receiving the allocation result, the other device can know which SDN controller is the primary controller according to the identification information in the allocation result.
  • the master device sends the node ID, the node type, and the role of the controller of the node to the primary controller.
  • the main controller serving the node is determined by the main control device, and the specific control performed on the node is performed by the main controller. Since the main controller needs to control the node according to the node type of the node, the control rule for controlling the node is obtained. Therefore, the master device sends the node type of the node to the node information of the primary controller in the allocation result. The main controller corresponding to the identification information of the main controller.
  • the main control device In order to make the main controller know that it is assigned as the main controller of the node, the main control device will notify the main controller of the node identifier of the node while transmitting the node type of the node to the main controller. And the role information that the main controller itself is assigned. Thus, the master controller can know which node it is the master controller for, and the node type of the node.
  • the nodes can be multiple devices as described above, and the control rules for controlling different devices may be different, multiple programs may be preset in the main controller, and corresponding control rules are adopted for different devices.
  • the node type of a node can be the device type of the node, or other information.
  • the main controller acquires a control rule corresponding to the node type according to the node type, and sends the control rule to the node.
  • the master controller After receiving the node type sent by the master device, the master controller configures a control rule corresponding to the node type for the node.
  • the correspondence between the node type and the control rule may be preset in the main controller; or may be preset in the database, and accordingly, the main controller may perform a search in the database according to the node type, thereby obtaining the node The control rule corresponding to the type.
  • the main controller After obtaining the control rule corresponding to the node type, the main controller sends the control rule to the node. Since the main controller receives the node identifier of the node while receiving the node type, the main controller can send the control rule to the node corresponding to the node identifier according to the node identifier.
  • the node can be configured according to the control rule, thereby implementing the network configuration of the control plane to the data plane.
  • the SDN-based network configuration method provided by the embodiment of the present invention obtains an allocation result of a controller for a node according to load state information of at least one SDN controller in the controller pool, and the node included in the allocation result is the node.
  • the assigned primary controller sends the node type of the node to the primary controller, so that the primary controller can configure a control rule corresponding to the node type according to the node type, and the control rule Sent to the node, the node can be configured accordingly according to the control rule. Since the main control device can automatically allocate the main controller and the subordinate controller to the node according to the load condition of each SDN controller, the automatic control of the data plane by the control plane of the SDN is realized, the configuration efficiency is improved, and the configuration can be better. Meet the network performance requirements of SDN.
  • FIG. 2 is a schematic structural diagram of another SDN-based network configuration method according to an embodiment of the present invention, including:
  • the main control device obtains an allocation result of the controller for the node according to load state information of at least one SDN controller in the controller pool.
  • the allocation result further includes a primary controller and a secondary controller allocated to the node.
  • step 101 the implementation manner described in step 101 may be included.
  • the main control device after collecting the load status information of each SDN controller, the main control device not only allocates a primary controller but also a node to the node. Assign a slave controller.
  • the slave controller Since the slave controller is used as the backup controller of the master controller, when the master device assigns the slave controller to the node, it can be connected from the node after preferentially using the lightly loaded SDN controller as the master controller.
  • the SDN controller one or more SDN controllers are selected as slave controllers.
  • the master device can also allocate a master controller and/or a slave controller to the node according to the load balancing principle, and the specific implementation manner is as follows.
  • the main control device selects the SDN controller with light load according to the load and weight of each SDN controller, and uses it as the main node of the node when it is expected that it will not be overloaded or overloaded. Controller;
  • the master device can combine the requirements for the slave controller load and assign the number of slave controllers to each node to select the appropriate number of slave controllers for that node.
  • the slave controller can be converted to the master controller of the node. Further, the master device re-assigns the other SDN controller to the node as a new slave controller, or converts the original master controller into a slave controller of the node.
  • the load conditions of these slave controllers can be compared. When the above conditions are met, the SDN controller with the lightest load is used as the master controller of the node. If an existing slave controller is converted to a master controller, the original master controller can also be converted to a slave controller accordingly. If the existing slave controller of the node does not satisfy the above conditions, the master device may select the SDN controller with the lightest load from among other SDN controllers. Is the primary controller for this node. When multiple SDN controllers satisfy the above conditions and the load conditions are equivalent, the distance between the physical locations can be further considered, and the SDN controller with the closer distance from the node is selected as its main controller.
  • the allocation result obtained by the main control device further includes identification information of the SDN controller as the slave controller, so that after receiving the allocation result, the other device may be known as the main control according to the identification information in the allocation result.
  • SDN controller is the slave controller and the slave controller.
  • the manner in which the main control device obtains the load status information of each SDN controller in the controller pool may be implemented in the following two manners.
  • each SDN controller periodically detects the load status according to the received trigger information, forms load status information according to the detected load condition, and sends the load status information to the main control device, to
  • the master control device can assign a master controller and/or a slave controller to the node according to the load status information of each SDN.
  • the master device obtains load status information from the at least one SDN controller.
  • the master device actively obtains its own load status information from each SDN controller periodically, or according to the received trigger information, so that the node can be assigned a primary controller according to the load status information of each SDN. Or slave controller.
  • the load status information may include actual load conditions of the SDN controller, such as CPU resource utilization, memory usage, and remaining storage capacity, and may also include parameters for measuring the weight of the load, so that the master device according to the parameter The load and weight of the SDN controller can be known.
  • the parameter form specifically included in the load status information may be determined according to a pre-configured communication protocol between the master device and the SDN controller.
  • the master device obtains the load status information of each SDN controller in the controller pool at the initial time, and periodically or irregularly learns the load status information of each SDN controller during the operation
  • the methods described in the embodiments may be performed periodically or irregularly, thereby dynamically selecting a more appropriate SDN controller as a primary controller for the node according to the current load and weight of each SDN controller in the controller pool. / or slave controller.
  • the method in which the main control device allocates the main controller and/or the slave controller to the node according to the load status information of each SDN controller may adopt the following implementation manner.
  • the main control device separately configures a weight for the at least one SDN controller according to the load state information of the at least one SDN controller; and obtains, according to the weight of the at least one SDN controller, a controller for the node Assign results.
  • the main control device may respectively allocate corresponding weights for each SDN controller according to pre-configured rules according to the load and weight of each SDN controller. Therefore, when the main control device allocates the main controller and/or the slave controller to the node, the main control device allocates according to the weight corresponding to the SDN controller to which the node is connected, that is, selects the light load SDN controller represented by the weight. Select as the primary controller and one or more of the other SDN controllers as slave controllers.
  • the main control device increases the load of the SDN controller according to the higher weight, preferentially assigns the newly added node to the SDN controller, or preferentially when the other SDN controller is overloaded, overloaded or faulty
  • the node served by the SDN controller in this case is transferred to the SDN controller with the higher weight.
  • the SDN controller updates its load status information to the master device. The master device will accordingly lower its weight.
  • the master device sends the node type of the node to the primary controller, and sends the node identifier of the node to the slave controller.
  • the master device in addition to transmitting the node type of the node to the primary controller assigned to the node, the master device also sends the node identifier of the node to the slave controller assigned to the node.
  • the method in which the master device acquires the node type of the node may adopt the following two implementation manners.
  • the node sends its node type to the master device before the master device allocates the master controller and/or the slave controller. Accordingly, the master device receives its node type sent by the node. The other is that the master device acquires the node type of the node from the database.
  • the master device acquires the node type of each node from the database before allocating the master controller and/or the slave controller to the node.
  • the correspondence between the identification information of the node and the node type is pre-stored in the database. Different nodes can be distinguished by their respective identification information. Accordingly, the main control device can query the node type corresponding to the node identifier from the database according to the identification information of the node as the node type of the node.
  • the main controller acquires a control rule corresponding to the node type according to the node type, and sends the control rule to the node.
  • step 103 For details, refer to the implementation described in step 103.
  • the master device may also send the assignment result to the node.
  • the main control device may further send the allocation result to the node, and accordingly, the node may learn the SDN controller as its main controller and/or the slave controller according to the received allocation result. Which SDN controllers are in the controller pool.
  • the node Before the main controller configures the control rule for the node, the node may further send request information carrying the node type to the main controller according to the allocation result, and request the main controller to configure a control rule for the node.
  • the main controller receives the request information that is sent by the node and carries the node type, configures a control rule corresponding to the node type for the node according to the request information, and sends the control rule to the node.
  • the node After the master controller sends the control rule to the node, the node configures according to the received control rules, thereby realizing the automatic configuration of the node.
  • the main controller After transmitting the control rule to the node, the main controller can also send its current load status information to the main control device, so that the main control device updates the load status information of the main controller.
  • the slave controller acquires a control rule corresponding to the node identifier from a node corresponding to the primary controller or the node identifier.
  • the node identifier may be an identifier of the node (Identity), an Internet Protocol (IP) address of the node, or a Ful ly Qual ifi ed Domain Name (FQDN) of the node.
  • IP Internet Protocol
  • FQDN Ful ly Qual ifi ed Domain Name
  • the control rules configured for the node are determined by the primary controller, and the nodes can be connected from the primary controller.
  • the control rules configured for it are received, that is, the control controller
  • the control rules of each node stored in the slave controller, the master controller, and the node can be made uniform.
  • the secondary controller can temporarily act as a backup.
  • FIG. 3 is a schematic structural diagram of a main control device according to an embodiment of the present invention. As shown in FIG. 3a, the main control device includes:
  • the processing unit 1 is configured to obtain, according to load state information of at least one SDN controller in the controller pool, an allocation result of the controller for the node, where the allocation result includes a primary controller allocated to the node, where the primary The controller is an SDN controller in the controller pool;
  • a sending unit 12 configured to send, to the main controller, a node type of the node, where the main controller acquires a control rule corresponding to the node type according to the node type, and the control Rules are sent to the node.
  • the allocation result obtained by the processing unit 1 1 further includes a slave controller allocated to the node;
  • the sending unit 12 is further configured to:
  • the sending unit 12 is further configured to:
  • processing unit 1 1 is further configured to:
  • FIG. 3b is a schematic structural diagram of another main control device according to an embodiment of the present invention, as shown in FIG. 3b.
  • the main control device may further include:
  • the obtaining unit 13 is configured to receive load status information sent by the at least one SDN controller, respectively, or obtain load status information from the at least one SDN controller.
  • the obtaining unit 13 is further configured to:
  • FIG. 3 is a schematic structural diagram of still another main control device according to an embodiment of the present invention. As shown in FIG. 3c, the main control device includes:
  • the processor 21, the memory 22, the bus 23, and the communication interface 24 are connected by a bus 23 and communicate with each other.
  • the processor 21 may be a single-core or multi-core central processing unit (CPU), or an specific integrated circuit (ASIC), or an one configured to implement an embodiment of the present invention. Multiple integrated circuits.
  • the memory 22 can be a high speed RAM memory or a nonvolatile memory.
  • non-volati le memory such as at least one disk storage.
  • the communication interface 24 is for communicating with a node, a master controller, and/or a slave controller.
  • the memory 22 is used to store the program 221.
  • the program 221 may include program code, where the program code includes computer operation instructions.
  • the processor 21 runs the program 221 to execute:
  • the method for performing the SDN-based network configuration by the main control device provided by the embodiment of the present invention may be referred to the implementation manners in the foregoing corresponding method embodiments, and details are not described herein again.
  • the master control device obtained by the embodiment of the present invention obtains an allocation result of the controller for the node according to the load state information of the at least one SDN controller in the controller pool, according to the distribution node.
  • the primary controller allocated for the node is sent to the primary controller, so that the primary controller can configure the node corresponding to the node type according to the node type.
  • the rule sends the control rule to the node, and the node can perform corresponding configuration according to the control rule. Since the main control device can automatically allocate the main controller and the subordinate controller to the node according to the load condition of each SDN controller, the automatic control of the data plane by the control plane of the SDN is realized, the configuration efficiency is improved, and the configuration can be better. Meet the network performance requirements of SDN.
  • FIG. 4a is a schematic structural diagram of a node according to an embodiment of the present invention. As shown in FIG. 4a, the node includes:
  • the receiving unit 31 is configured to receive a control rule sent by the main controller, where the control rule is a rule for control that is obtained by the main controller according to the node type and corresponding to the node type, where the main control is The SDN controller selected by the master device according to load status information of at least one SDN controller in the controller pool;
  • the configuration unit 32 is configured to perform according to the control rule.
  • FIG. 4b is a schematic structural diagram of another node according to an embodiment of the present invention. As shown in FIG. 4b, the receiving unit 31 is further configured to:
  • the node may further include:
  • the sending unit 33 is configured to send, according to the allocation result, request information carrying the node type to the main controller, so that the main controller obtains control corresponding to the node type according to the request information. rule.
  • the sending unit 33 is further configured to:
  • FIG. 4c is a schematic structural diagram of another node according to an embodiment of the present invention. As shown in FIG. 4c, the node includes:
  • the processor 41, the memory 42, the bus 43, and the communication interface 44 are connected by a bus 43 and communicate with each other.
  • Processor 41 may be a single core or multi-core central processing unit (Central Process ing Unit, CPU), or an Specific Integrated Integrated Circuit (ASIC), or one or more integrated circuits configured to implement embodiments of the present invention.
  • CPU Central Process ing Unit
  • ASIC Specific Integrated Integrated Circuit
  • the memory 42 may be a high speed RAM memory or a non-volatile memory such as at least one disk memory.
  • the communication interface 44 is communicatively coupled to the main control device, the main controller, and/or the slave controller, and configured to receive a control rule sent by the main controller, where the control rule is obtained by the main controller according to the node type, and
  • the rule for controlling the node type, the master controller is an SDN controller selected by the master device according to load state information of at least one SDN controller in the controller pool.
  • the memory 42 is used to store the program 421.
  • program code 421 may include program code, and the program code includes computer operation instructions.
  • the processor 41 runs the program 421 to execute:
  • the method for performing the SDN-based network configuration of the node provided by the embodiment of the present invention may be referred to the implementation manner described in the foregoing method embodiment, and details are not described herein again.
  • the node provided by the embodiment of the present invention receives the control rule configured by the main controller, and performs corresponding configuration according to the control rule, where the control rule is configured by the main controller according to the node type of the node, because the main control device can be configured according to
  • the load status of each SDN controller automatically assigns the primary controller and the slave controller to the node, which realizes the automatic configuration of the data plane by the control plane of the SDN, improves the efficiency of the configuration, and can better meet the network performance requirements of the SDN.
  • FIG. 5a is a schematic structural diagram of a main controller according to an embodiment of the present invention. As shown in FIG. 5a, the main controller includes:
  • the processing unit 51 is configured to acquire, according to the node type, a control rule corresponding to the node type, where the node type is received from the master device, or the type of the node acquired from the database, the master
  • the controller is an SDN controller in the controller pool, and the master controller is assigned to the node as a primary controller according to load status information of at least one SDN controller in the controller pool. SDN controller;
  • the sending unit 52 is configured to send the control rule to the node, so that the node is configured according to the control rule. Further, the processing unit 51 is further configured to:
  • the sending unit 52 is further configured to:
  • FIG. 5b is a schematic structural diagram of another main controller according to an embodiment of the present invention. As shown in FIG. 5b, the main controller includes:
  • the processor 61, the memory 62, the bus 63, and the communication interface 64 are connected by a bus 63 and communicate with each other.
  • the processor 61 may be a single-core or multi-core central processing unit (CPU), or an specific integrated circuit (ASIC), or one configured to implement an embodiment of the present invention. Multiple integrated circuits.
  • the memory 62 may be a high speed RAM memory or a non-volatile memory such as at least one disk memory.
  • the communication interface 64 is for communicating with a master device, a node, and/or a slave controller.
  • the memory 62 is used to store the program 621.
  • the program 621 may include program code, and the program code includes a computer operation instruction.
  • the processor 61 runs the program 621 to execute:
  • the main controller is an SDN controller allocated to the node as a main controller according to load status information of at least one SDN controller in the controller pool;
  • the control rules are sent to the node to cause the node to configure according to the control rules.
  • the main controller provided by the embodiment of the present invention performs the SDN-based network configuration.
  • the main controller provided by the embodiment of the present invention configures a control rule corresponding to the node type according to the node type, and sends the control rule to the node, and the node can perform corresponding configuration according to the control rule. Since the main control device can automatically allocate the main controller and the subordinate controller to the node according to the load condition of each SDN controller, the automatic control of the data plane by the control plane of the SDN is realized, the configuration efficiency is improved, and the configuration can be better. Meet the network performance requirements of SDN.
  • FIG. 6a is a schematic structural diagram of a slave controller according to an embodiment of the present invention. As shown in FIG. 6a, the slave controller includes:
  • the obtaining unit 71 is configured to obtain, from the node corresponding to the primary controller or the node identifier, a control rule corresponding to the node identifier.
  • the node identifier is identifier information of the node that is received from the master device;
  • the control rule is a rule for control that is obtained by the master controller according to the node type and corresponding to the node type;
  • the main controller is an SDN controller selected by the main control device according to load status information of at least one SDN controller in the controller pool.
  • FIG. 6b is a schematic structural diagram of another slave controller according to an embodiment of the present invention. As shown in FIG. 6b, the slave controller may further include:
  • the sending unit 72 is configured to send load status information to the main control device, where the main control device obtains an allocation for the node allocation controller according to load status information of at least one SDN controller in the controller pool.
  • the assignment result includes a primary controller and/or a slave controller assigned to the node.
  • FIG. 6c is a schematic structural diagram of still another slave controller according to an embodiment of the present invention. As shown in FIG. 6c, the slave controller includes:
  • the processor 81, the memory 82, the bus 83, and the communication interface 84 are connected by a bus 83 and communicate with each other.
  • the processor 81 may be a single core or multi-core central processing unit (CPU), or an Specific Integrated Integrated Circuit (ASIC), or one or more configured to implement the embodiments of the present invention. integrated circuit.
  • CPU central processing unit
  • ASIC Specific Integrated Integrated Circuit
  • the memory 82 can be a high speed RAM memory or a nonvolatile memory. (non-volati le memory ), such as at least one disk storage.
  • the communication interface 84 is for communicating with a master device, a node, and/or a host controller.
  • the memory 82 is used to store the program 821.
  • the program 821 may include program code, and the program code includes computer operation instructions.
  • the processor 81 runs the program 821 to execute:
  • the node identifier is identifier information of the node that is received from the master device;
  • the control rule is a rule for control that is obtained by the master controller according to the node type and corresponding to the node type;
  • the main controller is an SDN controller selected by the main control device according to load status information of at least one SDN controller in the controller pool.
  • the method for performing the SDN-based network configuration by the slave controller provided by the embodiment of the present invention may be referred to the implementation manners in the foregoing corresponding method embodiments, and details are not described herein again.
  • the slave controller provided by the embodiment of the present invention acquires a control rule corresponding to the node identifier from a node corresponding to the node identifier or from the master controller, and enables each of the slave controller, the master controller, and the node to be stored.
  • the control rules of the nodes are consistent.
  • the secondary controller can temporarily play the role of backup.
  • FIG. 7 is a schematic structural diagram of an SDN-based communication system according to an embodiment of the present invention. As shown in FIG. 7, the communication system includes:
  • Main control device 1 at least one node 2, at least one main controller 3 and at least one slave controller 4;
  • the main control device 1, the node 2, the main controller 3 and the slave controller 4 are in communication connection.
  • the method for performing the SDN-based network configuration in the SDN-based communication system provided by the embodiment of the present invention can be referred to the implementation manners in the foregoing corresponding method embodiments, and details are not described herein again.
  • the main control device coordinates the control and/or service authority of the SDN controller in the controller pool according to the load balancing principle, and maintains the load status information of the SDN controller in the controller pool, such as the CPU. Resource utilization, memory usage, and remaining storage capacity.
  • the master device can also maintain the topology relationship between the SDN controller and the node.
  • control rules are configured for the nodes based on information obtained from the topology database and the policy database.
  • the topology database includes a controller-related topology information database and a node-related topology information database.
  • the controller-related topology information database maintains topology location information related to each SDN controller in the controller pool, including topology location information of the SDN controller and predefined type information.
  • the topological location information of the SDN controller includes: Internet Protocol version 4 (IPv4) address, Internet Protocol version 6, IPv6 address or FQDN of the SDN controller.
  • IPv4 Internet Protocol version 4
  • IPv6 Internet Protocol version 6, IPv6 address or FQDN of the SDN controller.
  • the predefined type information of the SDN controller is used to distinguish the information of the SDN controller from the master device. That is to say, the predefined type information of the SDN controller and the master device is different.
  • the node-related topology information database maintains the topology location information of the node, including the topology location information of the node and the node type.
  • the topological location information of a node includes: The IPv4 address, IPv6 address, or FQDN of the node. When a node has multiple ports, each port can correspond to a different IP address or FQDN.
  • Node node types can include: Authentication, Authorization and Accounting (AAA), DHCP Proxy, DHCP Server, Network Address Translation (NAT), Firewall (Firewall) , Transmission Control Protocol (TCP) proxy (Proxy), Hypertext Transfer Protocol (HTTP) proxy (Proxy), ⁇ or Name System (DNS) server (Server), wireless Network Controller (RNC), Base Station Controller (BSC), Serving General Packet Radio Service Support Node (SGSN), Mobility Management Mobility Management Entity, MME), Serving Gateway (SGW), Packet Data Network Gateway (PGW), Policy charging and rules function (PCRF), Home Subscriber (Home Subscriber) Server, HSS), Mobile switching center (MSC), Vi sited location register (VLR), etc.
  • AAA Authentication, Authorization and Accounting
  • DHCP Proxy DHCP Server
  • NAT Network Address Translation
  • Firewall Firewall
  • TCP Transmission Control Protocol
  • HTTP Hypertext Transfer Protocol
  • DNS Name System
  • Server Server
  • RNC Base Station Controller
  • SGW Serving General Pack
  • controller-related topology information database Any two or more of the above-mentioned controller-related topology information database, node-related topology information database, and policy information database may be combined as needed.
  • the access rights to the database can be set so that only the master device has access to the topology information database.
  • the topology location information of a node or SDN changes, the topology information database is updated accordingly.
  • the policy information database includes the correspondence between node types and control rules.
  • Each node type corresponds to a set of basic function types, and the same function may exist in the set of basic function types corresponding to different node types.
  • each function corresponding to a piece of control information, correspondingly, each node type corresponds to a plurality of control information, and a plurality of pieces of control information constitute a control rule IJ, so each node corresponds to a corresponding control rule.
  • Each SDN controller in the controller pool is pre-configured with the address information of the master device, such as the IPv4 address, IPv6 address, or FQDN of the master device.
  • the SDN controller and the master device are pre-configured with information identifying their respective types.
  • the method for the master device to obtain the load status information of each SDN controller may include the following two implementation manners.
  • the IP address of the master device is obtained according to the address information of the pre-configured master device, and the master device is communicated according to the IP address.
  • the SDN controller sends its node type and load status information to the master device.
  • the benefit of this implementation is better adaptability and scalability.
  • a new SDN controller When a new SDN controller is added, it only needs to pre-configure the address information of the master device and the information indicating that it is an SDN controller, and after it is powered on, it can be added to the controller pool of the SDN.
  • Plug & Play functionality Since the plug-and-play function is implemented, there is no need to make other modifications to the master device and each SDN controller, so it has very good scalability.
  • the main control device queries the controller related topology information database, obtains the IP address and corresponding type information of each SDN controller in the controller pool, and correspondingly according to the IP address.
  • the SDN controller sends a request to obtain its status information; the SDN controller that receives the request feeds back its load status information to the master device.
  • the advantage of this implementation is that the main control device can centrally control each SDN in the controller pool. Control and management. For example, if the master device does not send the above request to one of the SDN controllers in the controller pool, the function of the SDN controller is turned off.
  • the main control device before the main control device communicates with the SDN controller, it can also use the security process to perform mutual authentication and establish a secure transmission channel for both parties.
  • the usual way is to use the Public Key Infrastructure (PKI) mechanism.
  • the main control device and the SDN controller respectively have digital certificates, through digital certificates and related security protocols, such as Transport Layer Security Protocol (TLS), Internet Key Exchange (IKE) version 2 ( Version 4) Wait for the identity of both parties and establish a secure channel.
  • TLS Transport Layer Security Protocol
  • IKE Internet Key Exchange
  • the SDN controller After passing the mutual authentication, the SDN controller will send its load status information to the master device, and accordingly, the master device can receive the load status information sent by the SDN controller.
  • other security measures such as physical security, that is, the communication connection between the master device and the SDN controller is physically secure, the mutual identity authentication before them can be turned off.
  • the configuration of the node can be implemented in the following two ways.
  • One mode is mainly applicable to devices at the access layer and the aggregation layer.
  • the characteristics of the access layer and the aggregation layer device are that the devices on the data plane are widely distributed and have a large number of devices.
  • the IP address of the master device is obtained according to the address information of the pre-configured master device; and the security process is completed with the master device to perform mutual authentication and establish a secure transmission channel between the two parties.
  • the node communicates with the master device according to the IP address, sends the node type to the master device, and requests the master device to deliver the distribution result.
  • the master device determines the SDN controller serving the node and the roles of the SDN controller according to the load status information of the SDN controller in the controller pool and the load balancing original, wherein the role includes the SDN controller as the The primary or secondary controller of the node.
  • the master device sends the allocation result to each SDN controller allocated to the node, which may include the IP address of the node, the node type, and the role of the corresponding SDN controller and its IP address.
  • the master device also delivers the allocation result to the node, including the IP address of the SDN controller assigned to the node and the respective roles of the SDN controllers. Node and assignment results
  • the indicated master controllers complete the security process to authenticate each other and establish a secure transmission channel for both parties.
  • the node sends a request for obtaining a control rule to the primary controller; the request includes the IP address and node type of the node.
  • the main controller queries the policy information database according to the node type, obtains a control rule set corresponding to the node type, and formulates a control rule of the node.
  • the master controller issues the control rule to the node.
  • the main controller updates its load status information to the master device.
  • the node may push the control rule to the slave controller; the slave controller may also acquire the control rule configured for the node by interacting with the master controller, and is particularly suitable for the application in the master.
  • the physical communication distance between the controller and the slave controller is relatively close.
  • the benefit of this implementation is better adaptability and scalability.
  • a new node joins it only needs to pre-configure the address information of the master device and the node type of the node. After power-on, the node can join the network and realize the plug-and-play function. Because of the plug-and-play, there is no need to make other modifications to each SDN controller, so it has very good scalability.
  • the other way is mainly applied to the equipment at the core layer.
  • the characteristics of the core layer equipment are the better stability in terms of deployment.
  • the master device determines the SDN controller serving the node and the roles of the SDN controller according to the load status information and the load balancing principle of the SDN controller in the controller pool, wherein the role includes the SDN controller as the node Primary controller or slave controller.
  • the master device sends the allocation result to each SDN controller allocated to the node, which may include the IP address of the node, the node type, and the role of the corresponding SDN controller and its IP address.
  • the security process is completed between the master device and the node to perform mutual authentication and establish a secure transmission channel between the two parties, and then the allocation result is sent to the node, including the IP address of the SDN controller allocated for the node and the The corresponding roles of the SDN controllers.
  • the node completes the security process between the primary controller indicated in the assignment result to authenticate each other and establish a secure transmission channel for both parties.
  • the node sends a request for obtaining a control rule to the primary controller; the request includes the IP address and node type of the node.
  • the main controller queries the policy information database according to the node type, and obtains the node type pair.
  • the set of control rules should be used to formulate the control rules for the node.
  • the master controller sends the control rule to the node.
  • the main controller updates its load status information to the master device.
  • the master device can also directly push the control rule to the node if the node does not request acquisition of the control rule.
  • the benefit of this implementation is that it provides unified control and management of the various nodes in the network. If the master controller does not push a control rule to a node, it means that the function of the node is turned off.
  • the node may push the control rule to the slave controller; the slave controller may also acquire the control rule configured for the node by interacting with the master controller, and is particularly suitable for the application in the master.
  • the physical communication distance between the controller and the slave controller is relatively close.

Abstract

The embodiments of the present invention provide a network configuration method, device and system based on an SDN. The network configuration method based on an SDN comprises: obtaining an allocation result of allocating a controller to a node according to load status information about at least one SDN controller in a controller pool, wherein the allocation result comprises a master controller allocated to the node, and the master controller is an SDN controller in the controller pool; according to the allocation result, sending a node type of the node to the master controller so that the master controller configures a control rule corresponding to the node type for the node according to the node type and sends the control rule to the node. Since a master control device can automatically allocate a master controller and a slave controller to a node according to load conditions of each SDN controller, automatic configuration of a control plane of an SDN on a data plane is realized, thereby improving the configuration efficiency and being capable of well satisfying the network performance requirements of the SDN.

Description

基于 SDN的网络配置方法、 装置及系统  SDN-based network configuration method, device and system
技术领域 Technical field
本发明实施例涉及通信技术, 尤其涉及一种基于 SDN的网络配置方法、 装置及系统。  The embodiments of the present invention relate to communication technologies, and in particular, to an SDN-based network configuration method, apparatus, and system.
背景技术 Background technique
软件定义网络 (Software defined network, SDN) 是一种新型的网络架 构, SDN将对网络设备的控制功能从网络设备中分离出来, 利用中央控制节 点对各网络设备进行配置。 通过将控制平面和数据平面分离开来, 能够对网 络设备进行灵活的管理和控制。  Software Defined Network (SDN) is a new type of network architecture. SDN separates the control functions of network devices from network devices and configures network devices with central control nodes. By separating the control plane from the data plane, flexible management and control of network devices is possible.
在 SDN中,将位于控制平面的用于对网络设备进行控制的设备,称为 SDN 控制器 (Control ler ) ; 将位于数据平面的网络设备, 称为节点。 在用于数 据转发的网络中, 节点可以为路由器或交换机。 在电信网络中, 节点可以为 认证授权计费 (Authentication Authorization Accounting, AAA) 月艮务器, 支持动态主机设置协议 (Dynamic Host Configuration Protocol , DHCP) 的 设备, 网络地址转换 (Network Address Translation, NAT) 设备, 第三代 合作伙伴计划 ( The 3rd Generation Partnership Project , 3 GPP ) 网元演 进型基站(evolved Node B, eNB) ,策略与计费规则功能(Pol icy and Charging Rules Function, PCRF) 等。  In SDN, a device for controlling a network device at a control plane is called an SDN controller (Controller); a network device located at a data plane is called a node. In a network for data forwarding, a node can be a router or a switch. In a telecommunication network, a node can be an Authentication Authorization Accounting (AAA) server, a device supporting Dynamic Host Configuration Protocol (DHCP), and a network address translation (NAT). The device, the 3rd Generation Partnership Project (3GPP), an evolved Node B (eNB), a Polic Ic and Charging Rules Function (PCRF), and the like.
每个 SDN控制器可以作为主控制器 (Master Control ler) 或从属控制器 ( Slave Control ler) , 每个节点可以与多个 SDN控制器通信连接。 对于单 个节点而言, 其所通信连接的多个 SDN控制器中只能有一个控制器作为该节 点的主控制器, 其他的一个或多个 SDN控制器均可以作为该节点的从属控制 器。 单个 SDN控制器可以作为一个或多个节点的主控制器。 作为某个节点的 主控制器的 SDN控制器还可以作为其他节点的从属控制器。 主控制器用于对 节点进行控制, 而从属控制器作为主控制器的备用控制器, 用于在主控制器 发生过载或故障时, 临时作为主控制器进行使用; 此外, 从属控制器还可以 对主控制器起到信息备份作用。 由于 SDN中主要利用主控制器对节点进行控制和管理, 当多个节点均与 主控制器进行通信交互时, 对主控制器的性能的要求较高。在这样的情况下, SDN的网络性能将受到主控制器本身性能的限制。 发明内容 Each SDN controller can act as a Master Controller or a Slave Controller, and each node can communicate with multiple SDN controllers. For a single node, only one of the multiple SDN controllers to which it communicates can be the primary controller of the node, and the other one or more SDN controllers can act as the slave controllers of the node. A single SDN controller can act as the primary controller for one or more nodes. The SDN controller that is the primary controller of a node can also act as a slave controller for other nodes. The main controller is used to control the node, and the slave controller is used as the standby controller of the main controller. It is used temporarily as the main controller when the main controller is overloaded or faulty. In addition, the slave controller can also The main controller acts as an information backup. Since the SDN mainly uses the main controller to control and manage the nodes, when multiple nodes communicate with the main controller, the performance requirements of the main controller are high. In such cases, the network performance of the SDN will be limited by the performance of the host controller itself. Summary of the invention
本发明实施例的第一个方面是提供一种基于 SDN 的网络配置方法, 包 括:  A first aspect of the embodiments of the present invention provides an SDN-based network configuration method, including:
根据控制器池中至少一个 SDN控制器的负载状态信息, 获得为节点分 配控制器的分配结果, 所述分配结果包括为所述节点分配的主控制器, 所 述主控制器为所述控制器池中的 SDN控制器;  Obtaining, according to load state information of at least one SDN controller in the controller pool, an allocation result of assigning a controller to the node, where the allocation result includes a primary controller allocated to the node, and the primary controller is the controller SDN controller in the pool;
将所述节点的节点类型发送给所述主控制器, 以供所述主控制器根据 所述节点类型, 获取与所述节点类型对应的控制规则, 并将所述控制规则 发送给所述节点。  Sending a node type of the node to the main controller, so that the main controller acquires a control rule corresponding to the node type according to the node type, and sends the control rule to the node .
结合第一个方面提供的基于 SDN的网络配置方法, 在第一种可能的实 现方式中, 所述分配结果还包括为所述节点分配的从属控制器;  In conjunction with the SDN-based network configuration method provided by the first aspect, in a first possible implementation manner, the allocation result further includes a slave controller allocated to the node;
相应地, 所述方法还包括:  Correspondingly, the method further includes:
将所述节点的节点标识发送给所述从属控制器, 以供所述从属控制器 从所述主控制器或所述节点标识对应的节点, 获取与所述节点标识对应的 控制规则。  Sending the node identifier of the node to the slave controller, so that the slave controller obtains a control rule corresponding to the node identifier from the master controller or a node corresponding to the node identifier.
结合第一个方面提供的基于 SDN的网络配置方法, 在第二种可能的实 现方式中, 所述方法还包括:  In conjunction with the SDN-based network configuration method provided by the first aspect, in a second possible implementation manner, the method further includes:
将所述分配结果发送给所述节点, 以供所述节点根据所述分配结果, 向所述主控制器发送携带有所述节点类型的请求信息, 以使所述主控制器 根据所述节点类型, 为所述节点配置与所述节点类型对应的控制规则, 并 将所述控制规则发送给所述节点。  Transmitting the allocation result to the node, so that the node sends request information carrying the node type to the primary controller according to the allocation result, so that the primary controller is configured according to the node Type, configuring a control rule corresponding to the node type for the node, and sending the control rule to the node.
结合第一个方面或第一至二种可能的实现方式, 在第三种可能的实现 方式中, 所述根据控制器池中至少一个 SDN控制器的负载状态信息, 获得 为节点分配控制器的分配结果包括:  With reference to the first aspect or the first to the second possible implementation manners, in a third possible implementation manner, the obtaining, by using the load state information of the at least one SDN controller in the controller pool, obtaining a controller for the node The distribution results include:
根据所述至少一个 SDN控制器的负载状态信息, 为所述至少一个 SDN 控制器分别配置权值; 根据所述至少一个 SDN控制器的权值, 获得为所述节点分配控制器的 分配结果。 And respectively configuring weights for the at least one SDN controller according to load state information of the at least one SDN controller; Obtaining an allocation result of the controller for the node according to the weight of the at least one SDN controller.
结合第一个方面或第一至二种可能的实现方式, 在第四种可能的实现 方式中, 所述方法还包括:  With reference to the first aspect or the first to the second possible implementation manners, in a fourth possible implementation manner, the method further includes:
接收所述至少一个 SDN控制器分别发送的负载状态信息; 或者 向所述至少一个 SDN控制器分别获取负载状态信息。  Receiving load status information respectively sent by the at least one SDN controller; or separately acquiring load status information from the at least one SDN controller.
结合第一个方面或第一至二种可能的实现方式, 在第五种可能的实现 方式中, 所述方法还包括:  In combination with the first aspect or the first to the second possible implementation manners, in a fifth possible implementation manner, the method further includes:
接收所述节点发送的节点类型; 或者  Receiving a node type sent by the node; or
从数据库中获取所述节点的节点类型。  Get the node type of the node from the database.
本发明实施例的第二个方面是提供一种基于 SDN 的网络配置方法, 包 括:  A second aspect of the embodiments of the present invention provides an SDN-based network configuration method, including:
接收主控制器发送的控制规则, 所述控制规则是所述主控制器根据节 点类型获得的、 与所述节点类型对应的用于控制的规则, 所述主控制器为 主控装置根据控制器池中至少一个 SDN控制器的负载状态信息选择的 SDN 控制器;  Receiving a control rule sent by the main controller, where the control rule is a rule for controlling, corresponding to the node type, obtained by the main controller according to a node type, where the main controller is a controller according to the controller The SDN controller selected by the load status information of at least one SDN controller in the pool;
根据所述控制规则进行配置。  Configure according to the control rules.
结合第二个方面提供的基于 SDN的网络配置方法, 在第一种可能的实 现方式中, 所述方法还包括:  In conjunction with the SDN-based network configuration method provided by the second aspect, in a first possible implementation manner, the method further includes:
接收所述主控装置发送的分配结果, 所述分配结果包括所分配的所述 主控制器;  Receiving an allocation result sent by the main control device, where the allocation result includes the allocated primary controller;
根据所述分配结果, 向所述主控制器发送携带有所述节点类型的请求 信息, 以使所述主控制器根据所述请求信息获得与所述节点类型对应的控 制规则。  And transmitting, according to the allocation result, request information carrying the node type to the main controller, so that the main controller obtains a control rule corresponding to the node type according to the request information.
结合第二个方面或第一种可能的实现方式, 在第二种可能的实现方式 中, 所述方法还包括:  With reference to the second aspect or the first possible implementation manner, in a second possible implementation manner, the method further includes:
将所述节点类型发送给所述主控装置, 以使所述主控装置将所述节点 类型发送给所述主控制器。  Transmitting the node type to the master device to cause the master device to send the node type to the master controller.
本发明实施例的第三个方面是提供一种基于 SDN的网络配置方法, 包 括: 主控制器根据节点类型, 获取与所述节点类型对应的控制规则, 所述 节点类型为从主控装置接收到的, 或者从数据库中获取到的所述节点的类 型, 所述主控制器为控制器池中的 SDN控制器, 所述主控制器为主控装置 根据所述控制器池中至少一个 SDN控制器的负载状态信息, 为所述节点分 配的、 作为主控制器的 SDN控制器; A third aspect of the embodiments of the present invention provides an SDN-based network configuration method, including: The master controller acquires a control rule corresponding to the node type according to the node type, where the node type is received from the master device, or is obtained from a database, and the master controller is An SDN controller in the controller pool, wherein the main controller is an SDN controller allocated to the node as a main controller according to load status information of at least one SDN controller in the controller pool ;
所述主控制器将所述控制规则发送给所述节点, 以使所述节点根据所 述控制规则进行配置。  The primary controller sends the control rule to the node to cause the node to configure according to the control rule.
结合第三个方面提供的基于 SDN的网络配置方法, 在第一种可能的实 现方式中, 所述主控制器根据节点类型, 获取与所述节点类型对应的控制 规则包括:  In conjunction with the SDN-based network configuration method provided by the third aspect, in a first possible implementation manner, the master controller acquires, according to the node type, a control rule corresponding to the node type, including:
所述主控制器接收所述节点发送的携带有所述节点类型的请求信息; 所述主控制器根据所述请求信息, 为所述节点配置与所述节点类型对 应的控制规则。  The main controller receives request information that is sent by the node and carries the type of the node; and the main controller configures, according to the request information, a control rule corresponding to the node type for the node.
结合第三个方面或第一种可能的实现方式, 在第二种可能的实现方式 中, 所述方法还包括:  With reference to the third aspect or the first possible implementation manner, in a second possible implementation manner, the method further includes:
所述主控制器将负载状态信息发送给所述主控装置, 以供所述主控装 置根据控制器池中至少一个 SDN控制器的负载状态信息, 获得为所述节点 分配控制器的分配结果, 所述分配结果包括为所述节点分配的主控制器和 /或从属控制器。  The main controller sends the load status information to the main control device, so that the main control device obtains an allocation result of the controller for the node according to load status information of at least one SDN controller in the controller pool. The allocation result includes a primary controller and/or a secondary controller assigned to the node.
本发明实施例的第四个方面是提供一种基于 SDN的网络配置方法, 包 括:  A fourth aspect of the embodiments of the present invention provides an SDN-based network configuration method, including:
从主控制器或节点标识对应的节点, 获取与所述节点标识对应的控制规 则;  Obtaining a control rule corresponding to the node identifier from a node corresponding to the primary controller or the node identifier;
其中, 所述节点标识为从主控装置接收到的所述节点的标识信息; 所 述控制规则是主控制器根据所述节点类型获得的、 与所述节点类型对应的用 于控制的规则;所述主控制器为所述主控装置根据控制器池中至少一个 SDN 控制器的负载状态信息选择的 SDN控制器。  The node identifier is identifier information of the node that is received from the master device; the control rule is a rule for control that is obtained by the master controller according to the node type and corresponding to the node type; The main controller is an SDN controller selected by the main control device according to load status information of at least one SDN controller in the controller pool.
结合第四个方面提供的基于 SDN的网络配置方法, 在第一种可能的实 现方式中, 所述方法还包括:  In conjunction with the SDN-based network configuration method provided by the fourth aspect, in a first possible implementation manner, the method further includes:
将负载状态信息发送给所述主控装置, 以供所述主控装置根据控制器 池中至少一个 SDN控制器的负载状态信息, 获得为所述节点分配控制器的 分配结果, 所述分配结果包括为所述节点分配的主控制器和 /或从属控制 器。 Transmitting load status information to the main control device for the main control device to be based on the controller The load status information of at least one SDN controller in the pool obtains an allocation result for the node allocation controller, the allocation result including a primary controller and/or a slave controller assigned to the node.
本发明实施例的第五个方面是提供一种主控装置, 包括:  A fifth aspect of the embodiments of the present invention provides a main control device, including:
处理单元,用于根据控制器池中至少一个 SDN控制器的负载状态信息, 获得为节点分配控制器的分配结果, 所述分配结果包括为所述节点分配的 主控制器, 所述主控制器为所述控制器池中的 SDN控制器;  a processing unit, configured to obtain, according to load state information of at least one SDN controller in the controller pool, an allocation result of the controller for the node, where the allocation result includes a primary controller allocated to the node, the primary controller Is the SDN controller in the controller pool;
发送单元, 用于将所述节点的节点类型发送给所述主控制器, 以供所 述主控制器根据所述节点类型, 获取与所述节点类型对应的控制规则, 并 将所述控制规则发送给所述节点。  a sending unit, configured to send, to the main controller, a node type of the node, where the main controller acquires a control rule corresponding to the node type according to the node type, and the control rule is Sent to the node.
结合第五个方面提供的主控装置, 在第一种可能的实现方式中, 所述 处理单元获得的所述分配结果还包括为所述节点分配的从属控制器;  With reference to the main control device provided by the fifth aspect, in a first possible implementation, the allocation result obtained by the processing unit further includes a slave controller allocated to the node;
相应地, 所述发送单元还用于:  Correspondingly, the sending unit is further configured to:
将所述节点的节点标识发送给所述从属控制器, 以供所述从属控制器 从所述主控制器或所述节点标识对应的节点, 获取与所述节点标识对应的 控制规则。  Sending the node identifier of the node to the slave controller, so that the slave controller obtains a control rule corresponding to the node identifier from the master controller or a node corresponding to the node identifier.
结合第五个方面提供的主控装置, 在第二种可能的实现方式中, 所述 发送单元还用于:  In conjunction with the master device provided in the fifth aspect, in a second possible implementation manner, the sending unit is further configured to:
将所述分配结果发送给所述节点, 以供所述节点根据所述分配结果, 向所述主控制器发送携带有所述节点类型的请求信息, 以使所述主控制器 根据所述节点类型, 为所述节点配置与所述节点类型对应的控制规则, 并 将所述控制规则发送给所述节点。  Transmitting the allocation result to the node, so that the node sends request information carrying the node type to the primary controller according to the allocation result, so that the primary controller is configured according to the node Type, configuring a control rule corresponding to the node type for the node, and sending the control rule to the node.
结合第五个方面或第一至二种可能的实现方式, 在第三种可能的实现 方式中, 所述处理单元还用于:  In combination with the fifth aspect or the first to the second possible implementation manners, in a third possible implementation manner, the processing unit is further configured to:
根据所述至少一个 SDN控制器的负载状态信息, 为所述至少一个 SDN 控制器分别配置权值; 根据所述至少一个 SDN控制器的权值, 获得为所述 节点分配控制器的分配结果。  And configuring, according to the load status information of the at least one SDN controller, a weight for the at least one SDN controller; and obtaining, according to the weight of the at least one SDN controller, an allocation result of the controller for the node.
结合第五个方面或第一至二种可能的实现方式, 在第四种可能的实现 方式中, 所述主控装置还包括:  With reference to the fifth aspect or the first to the second possible implementation manners, in the fourth possible implementation manner, the master control device further includes:
获取单元, 用于接收所述至少一个 SDN控制器分别发送的负载状态信 息; 或者向所述至少一个 SDN控制器分别获取负载状态信息。 An acquiring unit, configured to receive a load status message sent by the at least one SDN controller Or acquiring load status information separately from the at least one SDN controller.
结合第五个方面或第一至二种可能的实现方式, 在第五种可能的实现 方式中, 所述获取单元还用于:  With reference to the fifth aspect or the first to the second possible implementation manners, in the fifth possible implementation manner, the acquiring unit is further configured to:
接收所述节点发送的节点类型;或者从数据库中获取所述节点的节点类 型。  Receiving a node type sent by the node; or obtaining a node type of the node from a database.
本发明实施例的第六个方面是提供一种节点, 包括:  A sixth aspect of the embodiments of the present invention provides a node, including:
接收单元, 用于接收主控制器发送的控制规则, 所述控制规则是所述 主控制器根据节点类型获得的、 与所述节点类型对应的用于控制的规则, 所述主控制器为主控装置根据控制器池中至少一个 SDN控制器的负载状态 信息选择的 SDN控制器;  a receiving unit, configured to receive a control rule sent by the main controller, where the control rule is a rule for controlling, corresponding to the node type, obtained by the main controller according to a node type, where the main controller is The SDN controller selected by the control device according to load status information of at least one SDN controller in the controller pool;
配置单元, 用于根据所述控制规则进行配置。  a configuration unit, configured to perform configuration according to the control rule.
结合第六个方面提供的节点, 在第一种可能的实现方式中, 所述接收 单元还用于:  In conjunction with the node provided by the sixth aspect, in a first possible implementation, the receiving unit is further configured to:
接收所述主控装置发送的分配结果, 所述分配结果包括所分配的所述 主控制器;  Receiving an allocation result sent by the main control device, where the allocation result includes the allocated primary controller;
相应地, 所述节点还包括:  Correspondingly, the node further includes:
发送单元, 用于根据所述分配结果, 向所述主控制器发送携带有所述 节点类型的请求信息, 以使所述主控制器根据所述请求信息获得与所述节 点类型对应的控制规则。  a sending unit, configured to send request information carrying the node type to the primary controller according to the allocation result, so that the primary controller obtains a control rule corresponding to the node type according to the request information. .
结合第六个方面或第一种可能的实现方式, 在第二种可能的实现方式 中, 所述发送单元还用于:  In conjunction with the sixth aspect or the first possible implementation, in a second possible implementation, the sending unit is further configured to:
将所述节点类型发送给所述主控装置, 以使所述主控装置将所述节点 类型发送给所述主控制器。  Transmitting the node type to the master device to cause the master device to send the node type to the master controller.
本发明实施例的第七个方面是提供一种主控制器, 包括:  A seventh aspect of the embodiments of the present invention provides a host controller, including:
处理单元,用于根据节点类型,获取与所述节点类型对应的控制规则, 所述节点类型为从主控装置接收到的, 或者从数据库中获取到的所述节点 的类型, 所述主控制器为控制器池中的 SDN控制器, 所述主控制器为主控 装置根据所述控制器池中至少一个 SDN控制器的负载状态信息, 为所述节 点分配的、 作为主控制器的 SDN控制器;  a processing unit, configured to acquire, according to a node type, a control rule corresponding to the node type, where the node type is received from a master device, or a type of the node acquired from a database, the master control The controller is an SDN controller in the controller pool, and the master controller is an SDN assigned to the node as a primary controller according to load status information of at least one SDN controller in the controller pool. Controller
发送单元, 用于将所述控制规则发送给所述节点, 以使所述节点根据 所述控制规则进行配置。 a sending unit, configured to send the control rule to the node, so that the node is configured according to The control rules are configured.
结合第七个方面提供的主控制器, 在第一种可能的实现方式中, 所述 处理单元还用于:  In conjunction with the primary controller provided in the seventh aspect, in a first possible implementation, the processing unit is further configured to:
接收所述节点发送的携带有所述节点类型的请求信息;  Receiving request information that is sent by the node and carrying the type of the node;
根据所述请求信息, 为所述节点配置与所述节点类型对应的控制规 则。  Based on the request information, a control rule corresponding to the node type is configured for the node.
结合第七个方面或第一种可能的实现方式, 在第二种可能的实现方式 中, 所述发送单元还用于:  With reference to the seventh aspect or the first possible implementation manner, in a second possible implementation manner, the sending unit is further configured to:
将负载状态信息发送给所述主控装置, 以供所述主控装置根据控制器 池中至少一个 SDN控制器的负载状态信息, 获得为所述节点分配控制器的 分配结果, 所述分配结果包括为所述节点分配的主控制器和 /或从属控制 器。  Transmitting the load status information to the main control device, so that the main control device obtains an allocation result of the controller for the node according to load status information of at least one SDN controller in the controller pool, and the allocation result A master controller and/or a slave controller assigned to the node are included.
本发明实施例的第八个方面是提供一种从属控制器, 包括:  An eighth aspect of the embodiments of the present invention provides a slave controller, including:
获取单元, 用于从主控制器或节点标识对应的节点, 获取与所述节点标 识对应的控制规则;  An obtaining unit, configured to acquire, from a node corresponding to the primary controller or the node identifier, a control rule corresponding to the node identifier;
其中, 所述节点标识为从主控装置接收到的所述节点的标识信息; 所 述控制规则是主控制器根据所述节点类型获得的、 与所述节点类型对应的用 于控制的规则;所述主控制器为所述主控装置根据控制器池中至少一个 SDN 控制器的负载状态信息选择的 SDN控制器。  The node identifier is identifier information of the node that is received from the master device; the control rule is a rule for control that is obtained by the master controller according to the node type and corresponding to the node type; The main controller is an SDN controller selected by the main control device according to load status information of at least one SDN controller in the controller pool.
结合第八个方面提供的从属控制器, 在第一种可能的实现方式中, 所 述从属控制器还包括:  In conjunction with the slave controller provided in the eighth aspect, in a first possible implementation, the slave controller further includes:
发送单元, 用于将负载状态信息发送给所述主控装置, 以供所述主控 装置根据控制器池中至少一个 SDN控制器的负载状态信息, 获得为所述节 点分配控制器的分配结果, 所述分配结果包括为所述节点分配的主控制器 和 /或从属控制器。  a sending unit, configured to send load status information to the main control device, where the main control device obtains an allocation result of the controller for the node according to load status information of at least one SDN controller in the controller pool The allocation result includes a primary controller and/or a secondary controller assigned to the node.
本发明实施例的第九个方面是提供一种主控装置, 包括:  A ninth aspect of the embodiments of the present invention provides a main control device, including:
处理器、 存储器、 总线和通信接口; 所述处理器、 所述存储器、 所述 通信接口通过所述总线连接并完成相互间的通信;  a processor, a memory, a bus, and a communication interface; the processor, the memory, and the communication interface are connected by the bus and complete communication with each other;
所述通信接口,用于与上述节点、主控制器以及从属控制器通信连接; 所述存储器, 用于存放程序; 所述处理器, 用于执行所述程序; The communication interface is configured to communicate with the node, the main controller, and the slave controller; the memory is configured to store a program; The processor, configured to execute the program;
其中, 所述程序用于根据控制器池中至少一个 SDN控制器的负载状态 信息, 获得为节点分配控制器的分配结果, 所述分配结果包括为所述节点 分配的主控制器, 所述主控制器为所述控制器池中的 SDN控制器;  The program is configured to obtain, according to load state information of at least one SDN controller in the controller pool, an allocation result of the controller for the node, where the allocation result includes a primary controller allocated to the node, where the primary The controller is an SDN controller in the controller pool;
将所述节点的节点类型发送给所述主控制器, 以供所述主控制器根据 所述节点类型, 获取与所述节点类型对应的控制规则, 并将所述控制规则 发送给所述节点。  Sending a node type of the node to the main controller, so that the main controller acquires a control rule corresponding to the node type according to the node type, and sends the control rule to the node .
本发明实施例的第十个方面是提供一种节点, 包括:  A tenth aspect of the embodiments of the present invention provides a node, including:
处理器、 存储器、 总线和通信接口; 所述处理器、 所述存储器、 所述 通信接口通过所述总线连接并完成相互间的通信;  a processor, a memory, a bus, and a communication interface; the processor, the memory, and the communication interface are connected by the bus and complete communication with each other;
所述通信接口, 用于与上述主控装置、 主控制器以及从属控制器通信 连接; 用于接收主控制器发送的控制规则, 所述控制规则是所述主控制器 根据节点类型获得的、 与所述节点类型对应的用于控制的规则, 所述主控 制器为主控装置根据控制器池中至少一个 SDN控制器的负载状态信息选择 的 SDN控制器;  The communication interface is configured to be in communication with the main control device, the main controller, and the slave controller; and configured to receive a control rule sent by the main controller, where the control rule is obtained by the main controller according to the node type, a rule for control corresponding to the node type, the main controller is an SDN controller selected by the master device according to load state information of at least one SDN controller in the controller pool;
所述存储器, 用于存放程序;  The memory is configured to store a program;
所述处理器, 用于执行所述程序;  The processor, configured to execute the program;
其中, 所述程序用于根据所述控制规则进行配置。  The program is configured to be configured according to the control rule.
本发明实施例的第十一个方面是提供一种主控制器, 包括:  An eleventh aspect of the embodiments of the present invention provides a main controller, including:
处理器、 存储器、 总线和通信接口; 所述处理器、 所述存储器、 所述 通信接口通过所述总线连接并完成相互间的通信;  a processor, a memory, a bus, and a communication interface; the processor, the memory, and the communication interface are connected by the bus and complete communication with each other;
所述通信接口,用于与上述主控装置、节点以及从属控制器通信连接; 所述存储器, 用于存放程序;  The communication interface is configured to be in communication with the master device, the node, and the slave controller; the memory is configured to store a program;
所述处理器, 用于执行所述程序;  The processor, configured to execute the program;
其中, 所述程序用于根据节点类型, 获取与所述节点类型对应的控制 规则, 所述节点类型为从主控装置接收到的, 或者从数据库中获取到的所 述节点的类型, 所述主控制器为控制器池中的 SDN控制器, 所述主控制器 为主控装置根据所述控制器池中至少一个 SDN控制器的负载状态信息, 为 所述节点分配的、 作为主控制器的 SDN控制器;  The program is configured to obtain, according to a node type, a control rule corresponding to the node type, where the node type is received from a master device, or a type of the node acquired from a database, The main controller is an SDN controller in the controller pool, and the main controller is assigned to the node as a main controller according to load status information of at least one SDN controller in the controller pool. SDN controller;
将所述控制规则发送给所述节点, 以使所述节点根据所述控制规则进 行配置。 Sending the control rule to the node, so that the node enters according to the control rule Line configuration.
本发明实施例的第十二个方面是提供一种从属控制器, 包括: 处理器、 存储器、 总线和通信接口; 所述处理器、 所述存储器、 所述 通信接口通过所述总线连接并完成相互间的通信;  A twelfth aspect of the embodiments of the present invention provides a slave controller, including: a processor, a memory, a bus, and a communication interface; the processor, the memory, and the communication interface are connected and completed through the bus Communication with each other;
所述通信接口, 用于与上述主控装置、 节点以及主控制器通信连接; 所述存储器, 用于存放程序;  The communication interface is configured to be in communication with the main control device, the node, and the main controller; the memory is configured to store a program;
所述处理器, 用于执行所述程序;  The processor, configured to execute the program;
其中, 所述程序用于从主控制器或节点标识对应的节点, 获取与所述节 点标识对应的控制规则;  The program is configured to obtain, from a node corresponding to the primary controller or the node identifier, a control rule corresponding to the node identifier;
其中, 所述节点标识为从主控装置接收到的所述节点的标识信息; 所 述控制规则是主控制器根据所述节点类型获得的、 与所述节点类型对应的用 于控制的规则;所述主控制器为所述主控装置根据控制器池中至少一个 SDN 控制器的负载状态信息选择的 SDN控制器。  The node identifier is identifier information of the node that is received from the master device; the control rule is a rule for control that is obtained by the master controller according to the node type and corresponding to the node type; The main controller is an SDN controller selected by the main control device according to load status information of at least one SDN controller in the controller pool.
本发明实施例的第十三个方面是提供一种基于 SDN的通信系统, 包括 上述主控装置、 至少一个节点、 至少一个主控制器以及至少一个从属控制 器; 所述主控装置、 所述节点、 所述主控制器与所述从属控制器之间通信 连接。  A thirteenth aspect of the embodiments of the present invention provides an SDN-based communication system, including the foregoing main control device, at least one node, at least one main controller, and at least one slave controller; A node, a communication connection between the primary controller and the slave controller.
本发明实施例提供的基于 SDN的网络配置方法、 装置及系统, 通过根 据控制器池中至少一个 SDN控制器的负载状态信息, 获得为节点分配控制 器的分配结果, 根据该分配结果中所包括的为该节点分配的主控制器, 将 该节点的节点类型发送给该主控制器, 从而使得该主控制器可以根据该节 点类型, 为该节点配置与该节点类型对应的控制规则, 并将所述控制规则 发送给该节点, 该节点可以根据该控制规则进行相应的配置。 由于主控装 置可以根据各 SDN控制器的负载情况, 自动为节点分配主控制器和从属控 制器实现了 SDN的控制平面对数据平面的自动配置, 提高了配置的效率, 而且能够较好地满足 SDN的网络性能要求。 附图说明  The SDN-based network configuration method, device, and system provided by the embodiment of the present invention obtain the allocation result of the controller for the node according to the load state information of the at least one SDN controller in the controller pool, according to the distribution result. a primary controller assigned to the node, the node type of the node is sent to the primary controller, so that the primary controller can configure a control rule corresponding to the node type according to the node type, and The control rule is sent to the node, and the node can perform corresponding configuration according to the control rule. Since the main control device can automatically allocate the main controller and the slave controller to the node according to the load condition of each SDN controller, the automatic control of the data plane by the control plane of the SDN is realized, the configuration efficiency is improved, and the configuration can be satisfactorily satisfied. SDN network performance requirements. DRAWINGS
图 1为本发明实施例提供的基于 SDN的网络配置方法的结构示意图; 图 2为本发明实施例提供的另一基于 SDN的网络配置方法的结构示意 图; FIG. 1 is a schematic structural diagram of an SDN-based network configuration method according to an embodiment of the present invention; FIG. 2 is a schematic structural diagram of another SDN-based network configuration method according to an embodiment of the present invention; Figure
图 3a为本发明实施例提供的主控装置的结构示意图;  FIG. 3 is a schematic structural diagram of a main control device according to an embodiment of the present disclosure;
图 3b为本发明实施例提供的另一主控装置的结构示意图;  FIG. 3b is a schematic structural diagram of another main control device according to an embodiment of the present disclosure;
图 3c为本发明实施例提供的又一主控装置的结构示意图;  FIG. 3c is a schematic structural diagram of still another main control device according to an embodiment of the present disclosure;
图 4a为本发明实施例提供的节点的结构示意图;  4a is a schematic structural diagram of a node according to an embodiment of the present invention;
图 4b为本发明实施例提供的另一节点的结构示意图;  FIG. 4b is a schematic structural diagram of another node according to an embodiment of the present disclosure;
图 4c为本发明实施例提供的又一节点的结构示意图;  4c is a schematic structural diagram of still another node according to an embodiment of the present invention;
图 5a为本发明实施例提供的主控制器的结构示意图;  FIG. 5 is a schematic structural diagram of a main controller according to an embodiment of the present disclosure;
图 5b为本发明实施例提供的另一主控制器的结构示意图;  FIG. 5b is a schematic structural diagram of another main controller according to an embodiment of the present disclosure;
图 6a为本发明实施例提供的从属控制器的结构示意图;  6a is a schematic structural diagram of a slave controller according to an embodiment of the present invention;
图 6b为本发明实施例提供的另一从属控制器的结构示意图; 图 6c为本发明实施例提供的又一从属控制器的结构示意图; 图 7为本发明实施例提供的基于 SDN的通信系统的结构示意图。 具体实施方式 为了解决 SDN的网络性能受到主控制器本身性能限制的问题,本发明各 实施例利用一个主控装置(primary control ler)和至少一个 SDN控制器, 在 SDN 的控制平面构成控制器池 (control ler pool ) 。 其中, 控制器池 中的各 SDN控制器相对于主控装置而言,也可以被称为普通控制器(common control ler) 。 通过由主控装置对控制器池中的各 SDN控制器进行控制, 可以使得各 SDN控制器之间协调工作, 以实现负载均衡。  Figure 6b is a schematic structural diagram of another slave controller according to an embodiment of the present invention; Figure 6c is a schematic structural diagram of another slave controller according to an embodiment of the present invention; Figure 7 is a SDN-based communication system according to an embodiment of the present invention; Schematic diagram of the structure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS In order to solve the problem that the network performance of the SDN is limited by the performance of the main controller itself, the embodiments of the present invention utilize a primary control device and at least one SDN controller to form a controller pool on the control plane of the SDN. (controller pool). The SDN controllers in the controller pool may also be referred to as common controllers with respect to the master device. By controlling the SDN controllers in the controller pool by the master device, the SDN controllers can work in coordination to achieve load balancing.
控制器池中的各 SDN控制器与主控装置之间通信连接; 各 SDN控制器 与数据平面中的各节点通信连接; 主控装置与数据平面中的各节点通信连 接。  Each SDN controller in the controller pool is in communication with the master device; each SDN controller is in communication with each node in the data plane; the master device is in communication with each node in the data plane.
本发明各实施例提供的是基于 SDN的网络配置方法, 对于其他形式的 控制平面与数据平面分离的网络或系统, 同样可以利用本发明各实施例中 的所述的方法进行配置。  The embodiments of the present invention provide an SDN-based network configuration method. For other types of networks or systems in which the control plane is separated from the data plane, the method described in the embodiments of the present invention can also be configured.
本发明各实施例中所述的主控装置可以为独立的设备, 也可以为设置 在控制平面中其他设备上的功能模块;所述的节点可以为路由器、交换机、 AAA服务器、 支持 DHCP的设备、 NAT设备、 eNB或者 PCRF等; 所述的主控 制器 ( master control ler ) 和从属控制器 ( slave control ler ) 均为控 制器池中的 SDN控制器, 具体的 SDN控制器是作为主控制器进行工作, 还 是作为从属控制器进行工作, 由主控装置根据预设的策略进行配置。 The main control device in the embodiments of the present invention may be an independent device, or may be a functional module disposed on other devices in the control plane; the node may be a router, a switch, an AAA server, or a device supporting DHCP. , NAT device, eNB or PCRF, etc.; the master control The master control ler and the slave controller are the SDN controllers in the controller pool. The specific SDN controller works as the master controller or as the slave controller. The control device is configured according to a preset policy.
图 1为本发明实施例提供的基于 SDN的网络配置方法的结构示意图, 包括:  FIG. 1 is a schematic structural diagram of an SDN-based network configuration method according to an embodiment of the present invention, including:
101、 主控装置根据控制器池中至少一个 SDN控制器的负载状态信息, 获得为节点分配控制器的分配结果。 其中, 所述分配结果包括为所述节点 分配的主控制器, 所述主控制器为所述控制器池中的 SDN控制器。  101. The main control device obtains an allocation result of the controller for the node according to load state information of at least one SDN controller in the controller pool. The allocation result includes a primary controller allocated to the node, and the primary controller is an SDN controller in the controller pool.
具体的, 主控装置获取控制器池中的各 SDN控制器的负载状态信息。 在本发明各实施例中, 负载状态信息包括中央处理单元 (Central Processing Unit , CPU) 的资源利用率、 内存使用情况和剩余存储容量等 信息。  Specifically, the main control device acquires load status information of each SDN controller in the controller pool. In various embodiments of the present invention, the load status information includes information such as resource utilization, memory usage, and remaining storage capacity of a central processing unit (CPU).
主控装置在收集到各 SDN控制器的负载状态信息之后, 可以根据负载 均衡的原则, 从控制器池的各 SDN控制器中为节点分配主控制器。  After collecting the load status information of each SDN controller, the master device can allocate the master controller to the nodes from the SDN controllers of the controller pool according to the principle of load balancing.
需要说明的是, 由于主控装置为节点分配主控制器的歩骤是分别针对 每个节点进行的, 本发明各实施例仅以一个节点为例进行说明。  It should be noted that, since the steps of the main control device for allocating the main controller to the node are performed separately for each node, the embodiments of the present invention are described by taking only one node as an example.
由于作为节点的主控制器的 SDN控制器需要进行较多的数据处理和操 作,因此优先选择与该节点连接的各 SDN控制器中负载较轻的 SDN控制器。 其中, 根据负载状态信息判定 SDN控制器的负载轻重情况的方法, 可以采 用与现有技术中类似的实现方式。  Since the SDN controller as the primary controller of the node needs to perform more data processing and operations, it is preferred to select a lightly loaded SDN controller among the SDN controllers connected to the node. Wherein, the method for determining the load severity of the SDN controller based on the load status information may adopt an implementation similar to that in the prior art.
主控装置在判定出各 SDN控制器的负载轻重之后, 根据实际的需要, 为节点分配一个主控制器。将为节点分配的主控制器的标识信息作为分配 结果, 相应地, 其他设备在接收到该分配结果之后, 可以根据该分配结果 中的标识信息, 获知作为主控制器的是哪个 SDN控制器。  After determining the weight of each SDN controller, the main control unit assigns a main controller to the node according to actual needs. The identification information of the primary controller assigned to the node is used as the allocation result. Accordingly, after receiving the allocation result, the other device can know which SDN controller is the primary controller according to the identification information in the allocation result.
102、 主控装置将所述节点的节点 ID、 节点类型和控制器的角色发送 给所述主控制器。  102. The master device sends the node ID, the node type, and the role of the controller of the node to the primary controller.
具体的, 为节点服务的主控制器由主控装置决定, 对该节点进行的具 体控制是由主控制器进行的。 由于主控制器在对节点进行控制之前, 需要 根据该节点的节点类型, 获得对该节点进行控制的控制规则。 因此, 主控 装置根据分配结果中的主控制器的标识信息, 将该节点的节点类型发送给 为该主控制器的标识信息所对应的主控制器。 Specifically, the main controller serving the node is determined by the main control device, and the specific control performed on the node is performed by the main controller. Since the main controller needs to control the node according to the node type of the node, the control rule for controlling the node is obtained. Therefore, the master device sends the node type of the node to the node information of the primary controller in the allocation result. The main controller corresponding to the identification information of the main controller.
为了使得该主控制器获知其被分配作为该节点的主控制器, 主控装置 在将该节点的节点类型发送给该主控制器的同时, 还将向该主控制器告知 该节点的节点标识以及该主控制器自身被分配的角色信息。 从而, 该主控 制器能够获知其作为哪个节点的主控制器, 以及该节点的节点类型。  In order to make the main controller know that it is assigned as the main controller of the node, the main control device will notify the main controller of the node identifier of the node while transmitting the node type of the node to the main controller. And the role information that the main controller itself is assigned. Thus, the master controller can know which node it is the master controller for, and the node type of the node.
由于节点可以为上述多种设备, 并且对不同设备进行控制的控制规则 可能不同, 因此主控制器中可以预先设置多种方案, 针对不同的设备采用 相应的控制规则进行控制。 节点的节点类型可以为节点的设备类型, 或者 其它信息。  Since the nodes can be multiple devices as described above, and the control rules for controlling different devices may be different, multiple programs may be preset in the main controller, and corresponding control rules are adopted for different devices. The node type of a node can be the device type of the node, or other information.
103、 主控制器根据所述节点类型, 获取与所述节点类型对应的控制 规则, 并将所述控制规则发送给所述节点。  103. The main controller acquires a control rule corresponding to the node type according to the node type, and sends the control rule to the node.
具体的, 主控制器在接收到主控装置发送的节点类型之后, 为该节点 配置与该节点类型对应的控制规则。 节点类型与控制规则之间的对应关 系, 可以预先设置在该主控制器中; 也可以预先设置在数据库中, 相应地, 主控制器根据节点类型可以在该数据库中进行査找, 从而获知与节点类型 对应的控制规则。  Specifically, after receiving the node type sent by the master device, the master controller configures a control rule corresponding to the node type for the node. The correspondence between the node type and the control rule may be preset in the main controller; or may be preset in the database, and accordingly, the main controller may perform a search in the database according to the node type, thereby obtaining the node The control rule corresponding to the type.
主控制器在获得与该节点类型对应控制规则之后, 将该控制规则发送 给该节点。 由于主控制器在接收到该节点类型的同时, 还接收到该节点的 节点标识, 因此主控制器可以根据该节点标识, 将控制规则发送给该节点 标识对应的节点。 该节点可以根据该控制规则进行配置, 从而实现了控制 平面对数据平面的网络配置。  After obtaining the control rule corresponding to the node type, the main controller sends the control rule to the node. Since the main controller receives the node identifier of the node while receiving the node type, the main controller can send the control rule to the node corresponding to the node identifier according to the node identifier. The node can be configured according to the control rule, thereby implementing the network configuration of the control plane to the data plane.
本发明实施例提供的基于 SDN的网络配置方法, 通过根据控制器池中 至少一个 SDN控制器的负载状态信息,获得为节点分配控制器的分配结果, 根据该分配结果中所包括的为该节点分配的主控制器, 将该节点的节点类 型发送给该主控制器, 从而使得该主控制器可以根据该节点类型, 为该节 点配置与该节点类型对应的控制规则, 并将所述控制规则发送给该节点, 该节点可以根据该控制规则进行相应的配置。 由于主控装置可以根据各 SDN控制器的负载情况, 自动为节点分配主控制器和从属控制器, 实现了 SDN的控制平面对数据平面的自动配置, 提高了配置的效率, 而且能够较 好地满足 SDN的网络性能要求。 图 2为本发明实施例提供的另一基于 SDN的网络配置方法的结构示意 图, 包括: The SDN-based network configuration method provided by the embodiment of the present invention obtains an allocation result of a controller for a node according to load state information of at least one SDN controller in the controller pool, and the node included in the allocation result is the node. The assigned primary controller sends the node type of the node to the primary controller, so that the primary controller can configure a control rule corresponding to the node type according to the node type, and the control rule Sent to the node, the node can be configured accordingly according to the control rule. Since the main control device can automatically allocate the main controller and the subordinate controller to the node according to the load condition of each SDN controller, the automatic control of the data plane by the control plane of the SDN is realized, the configuration efficiency is improved, and the configuration can be better. Meet the network performance requirements of SDN. FIG. 2 is a schematic structural diagram of another SDN-based network configuration method according to an embodiment of the present invention, including:
201、 主控装置根据控制器池中至少一个 SDN控制器的负载状态信息, 获得为节点分配控制器的分配结果。 其中, 所述分配结果还包括为所述节 点分配的主控制器和从属控制器。  201. The main control device obtains an allocation result of the controller for the node according to load state information of at least one SDN controller in the controller pool. The allocation result further includes a primary controller and a secondary controller allocated to the node.
具体的, 可以包括歩骤 101中所述的实现方式, 与歩骤 101的区别在 于, 主控装置在收集到各 SDN控制器的负载状态信息之后, 不仅为节点分 配主控制器, 还为节点分配从属控制器。  Specifically, the implementation manner described in step 101 may be included. The difference from step 101 is that after collecting the load status information of each SDN controller, the main control device not only allocates a primary controller but also a node to the node. Assign a slave controller.
由于从属控制器作为主控制器的备份控制器进行使用, 因此主控装置 在为节点分配从属控制器时, 可以在优先将负载较轻的 SDN控制器作为主 控制器之后, 从该节点所连接的 SDN控制器中, 为其选择一个或多个 SDN 控制器作为从属控制器。  Since the slave controller is used as the backup controller of the master controller, when the master device assigns the slave controller to the node, it can be connected from the node after preferentially using the lightly loaded SDN controller as the master controller. In the SDN controller, one or more SDN controllers are selected as slave controllers.
主控装置还可以根据负载均衡原则为节点分配主控制器和 /或从属控制 器, 具体的实现方式如下。  The master device can also allocate a master controller and/or a slave controller to the node according to the load balancing principle, and the specific implementation manner is as follows.
对于新加入 SDN的节点, 主控装置根据各 SDN控制器的负载轻重情况, 优选负载较轻的 SDN控制器, 并在预计其不会出现重载或过载的情况下, 将 其作为节点的主控制器; 主控装置可以结合对从属控制器负载的要求, 以及 为每个节点分配从属控制器的数量, 为该节点选择合适数量的从属控制器。  For the node that newly joins the SDN, the main control device selects the SDN controller with light load according to the load and weight of each SDN controller, and uses it as the main node of the node when it is expected that it will not be overloaded or overloaded. Controller; The master device can combine the requirements for the slave controller load and assign the number of slave controllers to each node to select the appropriate number of slave controllers for that node.
对于已在 SDN中的节点, 主控装置为其重新分配主控制器时, 首先査看 节点已有的从属控制器的负载情况。  For a node that is already in SDN, when the master reassigns the primary controller for it, first check the load status of the existing slave controller of the node.
若该节点仅有一个从属控制器, 并且该从属控制器的负载情况尚未达到 重载或过载, 并且将该从属控制器转换为该节点的主控制器之后, 预计也不 会出现重载或过载的情况下, 该从属控制器可以转换为该节点的主控制器。 进而, 主控装置重新为该节点分配其他的 SDN控制器作为新的从属控制器, 或者将原主控制器转换为该节点的从属控制器。  If the node has only one slave controller, and the load condition of the slave controller has not reached the overload or overload, and the slave controller is converted to the master controller of the node, no overload or overload is expected. In this case, the slave controller can be converted to the master controller of the node. Further, the master device re-assigns the other SDN controller to the node as a new slave controller, or converts the original master controller into a slave controller of the node.
若节点已有多个从属控制器, 可以对这些从属控制器的负载情况进行比 较, 选择在满足上述条件的情况下, 负载最轻的一个 SDN控制器作为该节点 的主控制器。 如果将已有的从属控制器转换为主控制器, 则还可以相应地将 原主控制器转换为从属控制器。 如果该节点已有的从属控制器均不满足上述 条件, 则主控装置可以从其他的 SDN控制器中选择负载最轻的 SDN控制器作 为该节点的主控制器。 在有多个 SDN控制器均满足上述条件, 并且负载情况 相当时,可以进一歩地考虑物理位置的远近,选择其中与节点距离较近的 SDN 控制器作为其主控制器。 If the node has multiple slave controllers, the load conditions of these slave controllers can be compared. When the above conditions are met, the SDN controller with the lightest load is used as the master controller of the node. If an existing slave controller is converted to a master controller, the original master controller can also be converted to a slave controller accordingly. If the existing slave controller of the node does not satisfy the above conditions, the master device may select the SDN controller with the lightest load from among other SDN controllers. Is the primary controller for this node. When multiple SDN controllers satisfy the above conditions and the load conditions are equivalent, the distance between the physical locations can be further considered, and the SDN controller with the closer distance from the node is selected as its main controller.
相应地, 主控装置获得的分配结果中还包括作为从属控制器的 SDN控 制器的标识信息, 从而其他设备在接收到该分配结果之后, 可以根据该分 配结果中的标识信息, 获知作为主控制器的和作为从属控制器的分别为哪 个 SDN控制器。  Correspondingly, the allocation result obtained by the main control device further includes identification information of the SDN controller as the slave controller, so that after receiving the allocation result, the other device may be known as the main control according to the identification information in the allocation result. Which SDN controller is the slave controller and the slave controller.
进一歩地, 主控装置获取控制器池中的各 SDN控制器的负载状态信息 的方式可以采用如下两种实现方式。  Further, the manner in which the main control device obtains the load status information of each SDN controller in the controller pool may be implemented in the following two manners.
一种为, 主控装置接收所述至少一个 SDN控制器分别发送的负载状态 信息。  One is that the master device receives the load status information sent by the at least one SDN controller.
具体的, 各 SDN控制器周期性地, 或者根据接收到的触发信息, 分别 检测各自的负载情况, 根据所检测到的负载情况形成负载状态信息, 并将 负载状态信息发送给主控装置, 以供主控装置能够根据各 SDN的负载状态 信息, 为节点分配主控制器和 /或从属控制器。  Specifically, each SDN controller periodically detects the load status according to the received trigger information, forms load status information according to the detected load condition, and sends the load status information to the main control device, to The master control device can assign a master controller and/or a slave controller to the node according to the load status information of each SDN.
另一种为, 主控装置向所述至少一个 SDN控制器分别获取负载状态信 息。  Alternatively, the master device obtains load status information from the at least one SDN controller.
具体的, 主控装置周期性地, 或者根据接收到的触发信息, 主动向各 SDN控制器获取其各自的负载状态信息, 从而能够根据各 SDN的负载状态 信息, 为节点分配主控制器和 /或从属控制器。  Specifically, the master device actively obtains its own load status information from each SDN controller periodically, or according to the received trigger information, so that the node can be assigned a primary controller according to the load status information of each SDN. Or slave controller.
其中,负载状态信息中可以包括 SDN控制器的实际负载情况,例如 CPU 资源利用率、 内存使用情况和剩余存储容量等信息; 也可以包括衡量负载 轻重的参数, 以使主控装置根据该参数即可获知 SDN控制器的负载轻重情 况。 具体在负载状态信息中包括的参数形式, 可以根据主控装置与 SDN控 制器之间预先配置的通信协议决定。  The load status information may include actual load conditions of the SDN controller, such as CPU resource utilization, memory usage, and remaining storage capacity, and may also include parameters for measuring the weight of the load, so that the master device according to the parameter The load and weight of the SDN controller can be known. The parameter form specifically included in the load status information may be determined according to a pre-configured communication protocol between the master device and the SDN controller.
需要说明的是, 由于主控装置在初始时获取控制器池中的各 SDN控制 器的负载状态信息, 并在运行过程中定期或者不定期地获知各 SDN控制器 的负载状态信息, 因此本发明各实施例中所述的方法可以定期或不定期的 执行, 从而实现根据控制器池中各 SDN控制器当前的负载轻重情况, 为节 点动态地选择更为适当的 SDN控制器作为主控制器和 /或从属控制器。 进一歩地, 主控装置根据各 SDN控制器的负载状态信息, 为节点分配 主控制器和 /或从属控制器的方法, 可以采用如下的实现方式。 It should be noted that, since the master device obtains the load status information of each SDN controller in the controller pool at the initial time, and periodically or irregularly learns the load status information of each SDN controller during the operation, the present invention The methods described in the embodiments may be performed periodically or irregularly, thereby dynamically selecting a more appropriate SDN controller as a primary controller for the node according to the current load and weight of each SDN controller in the controller pool. / or slave controller. Further, the method in which the main control device allocates the main controller and/or the slave controller to the node according to the load status information of each SDN controller may adopt the following implementation manner.
主控装置根据所述至少一个 SDN控制器的负载状态信息, 为所述至少 一个 SDN控制器分别配置权值; 根据所述至少一个 SDN控制器的权值, 获 得为所述节点分配控制器的分配结果。  And the main control device separately configures a weight for the at least one SDN controller according to the load state information of the at least one SDN controller; and obtains, according to the weight of the at least one SDN controller, a controller for the node Assign results.
具体的, 主控装置在获得各 SDN控制器的负载状态信息之后, 可以根 据预先配置的规则, 根据各 SDN控制器的负载轻重情况, 为各 SDN控制器 分别分配相应的权值。 从而主控装置在为节点分配主控制器和 /或从属控 制器时, 根据节点所连接的 SDN控制器分别对应的权值进行分配, 即从中 选择权值所代表的负载较轻的 SDN控制器选择作为主控制器, 将其他 SDN 控制器中的一个或多个作为从属控制器。  Specifically, after obtaining the load status information of each SDN controller, the main control device may respectively allocate corresponding weights for each SDN controller according to pre-configured rules according to the load and weight of each SDN controller. Therefore, when the main control device allocates the main controller and/or the slave controller to the node, the main control device allocates according to the weight corresponding to the SDN controller to which the node is connected, that is, selects the light load SDN controller represented by the weight. Select as the primary controller and one or more of the other SDN controllers as slave controllers.
进一歩地, 当控制器池中新加入一个 SDN控制器时, 该 SDN控制器启动 之后, 向主控装置报告其负载状态信息, 主控装置将其权值设定为较高的数 值。  Further, when a new SDN controller is added to the controller pool, after the SDN controller is started, its load status information is reported to the master device, and the master device sets its weight to a higher value.
主控装置根据该较高的权值, 增加该 SDN控制器的负荷, 优先将新加入 的节点分配给该 SDN控制器, 或者在其它 SDN控制器出现重载、 过载或故障 时, 优先将处于这种情况下的 SDN控制器所服务的节点转移给该权值较高的 SDN控制器。 当该 SDN控制器的负荷达到一定门限值时, 或者当有新节点成 功分配给该 SDN控制器时, 该 SDN控制器向主控装置更新其负载状态信息。 主控装置相应地将降低其权值。  The main control device increases the load of the SDN controller according to the higher weight, preferentially assigns the newly added node to the SDN controller, or preferentially when the other SDN controller is overloaded, overloaded or faulty The node served by the SDN controller in this case is transferred to the SDN controller with the higher weight. When the load of the SDN controller reaches a certain threshold, or when a new node is successfully assigned to the SDN controller, the SDN controller updates its load status information to the master device. The master device will accordingly lower its weight.
202、 主控装置将所述节点的节点类型发送给所述主控制器, 将所述 节点的节点标识发送给所述从属控制器。  202. The master device sends the node type of the node to the primary controller, and sends the node identifier of the node to the slave controller.
具体的, 主控装置除了会将节点的节点类型发送给为该节点分配的主 控制器, 还会将该节点的节点标识发送给为该节点分配的从属控制器。  Specifically, in addition to transmitting the node type of the node to the primary controller assigned to the node, the master device also sends the node identifier of the node to the slave controller assigned to the node.
进一歩地, 主控装置获取节点的节点类型的方法, 可以采用如下两种 实现方式。  Further, the method in which the master device acquires the node type of the node may adopt the following two implementation manners.
一种为, 主控装置接收所述节点发送的节点类型。  One is that the master device receives the node type sent by the node.
具体的, 节点在主控装置为其分配主控制器和 /或从属控制器之前, 将其节点类型发送给该主控装置。 相应地, 主控装置接收该节点发送的其 节点类型。 另一种为, 主控装置从数据库中获取所述节点的节点类型。 Specifically, the node sends its node type to the master device before the master device allocates the master controller and/or the slave controller. Accordingly, the master device receives its node type sent by the node. The other is that the master device acquires the node type of the node from the database.
具体的, 主控装置在为节点分配主控制器和 /或从属控制器之前, 从 数据库中获取各该节点的节点类型。 该数据库中预先存储有节点的标识信 息与节点类型之间的对应关系。不同的节点之间可以通过各自的标识信息 进行区分, 相应地, 主控装置根据节点的标识信息即可从数据库中, 査询 到与该节点标识对应的节点类型, 作为该节点的节点类型。  Specifically, the master device acquires the node type of each node from the database before allocating the master controller and/or the slave controller to the node. The correspondence between the identification information of the node and the node type is pre-stored in the database. Different nodes can be distinguished by their respective identification information. Accordingly, the main control device can query the node type corresponding to the node identifier from the database according to the identification information of the node as the node type of the node.
203、 主控制器根据所述节点类型, 获取与所述节点类型对应的控制 规则, 并将所述控制规则发送给所述节点。  203. The main controller acquires a control rule corresponding to the node type according to the node type, and sends the control rule to the node.
具体的, 可以参见歩骤 103中所述的实现方式。  For details, refer to the implementation described in step 103.
进一歩地, 主控装置还可以将所述分配结果发送给所述节点。  Further, the master device may also send the assignment result to the node.
具体的, 主控装置在获得分配结果之后, 还可以将该分配结果发送给 节点, 相应地, 节点根据接收到的分配结果即可获知作为其主控制器和 / 或从属控制器的 SDN控制器是控制器池中的哪些 SDN控制器。  Specifically, after obtaining the allocation result, the main control device may further send the allocation result to the node, and accordingly, the node may learn the SDN controller as its main controller and/or the slave controller according to the received allocation result. Which SDN controllers are in the controller pool.
在主控制器为节点配置控制规则之前, 节点还可以根据所述分配结 果, 向所述主控制器发送携带有所述节点类型的请求信息, 用于请求主控 制器为其配置控制规则。  Before the main controller configures the control rule for the node, the node may further send request information carrying the node type to the main controller according to the allocation result, and request the main controller to configure a control rule for the node.
主控制器接收所述节点发送的携带有所述节点类型的请求信息, 根据 所述请求信息, 为所述节点配置与所述节点类型对应的控制规则, 并将所 述控制规则发送给所述节点。  The main controller receives the request information that is sent by the node and carries the node type, configures a control rule corresponding to the node type for the node according to the request information, and sends the control rule to the node.
主控制器将控制规则发送给节点之后, 节点根据所接收到的控制规则 进行配置, 从而实现了对节点的自动配置。  After the master controller sends the control rule to the node, the node configures according to the received control rules, thereby realizing the automatic configuration of the node.
主控制器在将控制规则发送给节点之后, 还可以将其当前的负载状态 信息发送给主控装置, 以使得主控装置对该主控制器的负载状态信息进行 更新。  After transmitting the control rule to the node, the main controller can also send its current load status information to the main control device, so that the main control device updates the load status information of the main controller.
204、 从属控制器从主控制器或节点标识对应的节点, 获取与所述节点 标识对应的控制规则。  204. The slave controller acquires a control rule corresponding to the node identifier from a node corresponding to the primary controller or the node identifier.
具体的, 节点标识可以为节点的标识符 (Identificat ion , ID ) , 节 点的网际协议 (Internet Protocol , IP ) 地址或者节点的完全合格域名 ( Ful ly Qual ifi ed Domain Name , FQDN) 。  Specifically, the node identifier may be an identifier of the node (Identity), an Internet Protocol (IP) address of the node, or a Ful ly Qual ifi ed Domain Name (FQDN) of the node.
为节点配置的控制规则是由主控制器决定的, 节点能够从主控制器接 收到为其配置的控制规则, 也就是说, 主控制器和节点中均包括该控制规 贝 |J。 从属控制器若需要获取该控制规则, 可以根据节点标识从节点或主控 制器获取, 从而使得主控制器、 从属控制器和节点中均包括主控制器为节 点配置的控制规则。 The control rules configured for the node are determined by the primary controller, and the nodes can be connected from the primary controller. The control rules configured for it are received, that is, the control controller |J is included in both the primary controller and the node. If the slave controller needs to obtain the control rule, it can be obtained from the node or the master controller according to the node identifier, so that the master controller, the slave controller, and the node include the control rules configured by the master controller for the node.
从而能够使得从属控制器、 主控制器以及节点中, 存储的每个节点的 控制规则具有一致性。 在主控制器发生故障, 或节点与主控制器之间的连 接发生故障时, 从属控制器可以临时起到备份的作用。  Thereby, the control rules of each node stored in the slave controller, the master controller, and the node can be made uniform. When the primary controller fails, or the connection between the node and the primary controller fails, the secondary controller can temporarily act as a backup.
图 3a为本发明实施例提供的主控装置的结构示意图, 如图 3a所示, 该 主控装置包括:  FIG. 3 is a schematic structural diagram of a main control device according to an embodiment of the present invention. As shown in FIG. 3a, the main control device includes:
处理单元 1 1,用于根据控制器池中至少一个 SDN控制器的负载状态信 息, 获得为节点分配控制器的分配结果, 所述分配结果包括为所述节点分 配的主控制器, 所述主控制器为所述控制器池中的 SDN控制器;  The processing unit 1 is configured to obtain, according to load state information of at least one SDN controller in the controller pool, an allocation result of the controller for the node, where the allocation result includes a primary controller allocated to the node, where the primary The controller is an SDN controller in the controller pool;
发送单元 12, 用于将所述节点的节点类型发送给所述主控制器, 以供 所述主控制器根据所述节点类型, 获取与所述节点类型对应的控制规则, 并将所述控制规则发送给所述节点。  a sending unit 12, configured to send, to the main controller, a node type of the node, where the main controller acquires a control rule corresponding to the node type according to the node type, and the control Rules are sent to the node.
进一歩地, 所述处理单元 1 1 获得的所述分配结果还包括为所述节点 分配的从属控制器;  Further, the allocation result obtained by the processing unit 1 1 further includes a slave controller allocated to the node;
相应地, 所述发送单元 12还用于:  Correspondingly, the sending unit 12 is further configured to:
将所述节点的节点标识发送给所述从属控制器, 以供所述从属控制器 从所述主控制器或所述节点标识对应的节点, 获取与所述节点标识对应的 控制规则。 进一歩地, 所述发送单元 12还用于:  Sending the node identifier of the node to the slave controller, so that the slave controller obtains a control rule corresponding to the node identifier from the master controller or a node corresponding to the node identifier. Further, the sending unit 12 is further configured to:
将所述分配结果发送给所述节点, 以供所述节点根据所述分配结果, 向所述主控制器发送携带有所述节点类型的请求信息, 以使所述主控制器 根据所述节点类型, 为所述节点配置与所述节点类型对应的控制规则, 并 将所述控制规则发送给所述节点。  Transmitting the allocation result to the node, so that the node sends request information carrying the node type to the primary controller according to the allocation result, so that the primary controller is configured according to the node Type, configuring a control rule corresponding to the node type for the node, and sending the control rule to the node.
进一歩地, 所述处理单元 1 1还用于:  Further, the processing unit 1 1 is further configured to:
根据所述至少一个 SDN控制器的负载状态信息, 为所述至少一个 SDN 控制器分别配置权值; 根据所述至少一个 SDN控制器的权值, 获得为所述 节点分配控制器的分配结果。  And configuring, according to the load status information of the at least one SDN controller, a weight for the at least one SDN controller; and obtaining, according to the weight of the at least one SDN controller, an allocation result of the controller for the node.
图 3b为本发明实施例提供的另一主控装置的结构示意图, 如图 3b所 示, 所述主控装置还可以包括: FIG. 3b is a schematic structural diagram of another main control device according to an embodiment of the present invention, as shown in FIG. 3b. The main control device may further include:
获取单元 13,用于接收所述至少一个 SDN控制器分别发送的负载状态 信息; 或者向所述至少一个 SDN控制器分别获取负载状态信息。  The obtaining unit 13 is configured to receive load status information sent by the at least one SDN controller, respectively, or obtain load status information from the at least one SDN controller.
进一歩地, 所述获取单元 13还用于:  Further, the obtaining unit 13 is further configured to:
接收所述节点发送的节点类型;或者从数据库中获取所述节点的节点类 型。  Receiving a node type sent by the node; or obtaining a node type of the node from a database.
图 3c为本发明实施例提供的又一主控装置的结构示意图, 如图 3c所 示, 该主控装置包括:  FIG. 3 is a schematic structural diagram of still another main control device according to an embodiment of the present invention. As shown in FIG. 3c, the main control device includes:
处理器 21、 存储器 22、 总线 23和通信接口 24。 处理器 21、 存储器 22和通信接口 24之间通过总线 23连接并完成相互间的通信。  The processor 21, the memory 22, the bus 23, and the communication interface 24. The processor 21, the memory 22 and the communication interface 24 are connected by a bus 23 and communicate with each other.
处理器 21 可能为单核或多核中央处理单元 (Central Process ing Unit , CPU ) , 或者为特定集成电路 (Appl icat ion Specific Integrated Circuit , ASIC ) , 或者为被配置成实施本发明实施例的一个或多个集成 电路。  The processor 21 may be a single-core or multi-core central processing unit (CPU), or an specific integrated circuit (ASIC), or an one configured to implement an embodiment of the present invention. Multiple integrated circuits.
存储器 22 可以为高速 RAM 存储器, 也可以为非易失性存储器 The memory 22 can be a high speed RAM memory or a nonvolatile memory.
( non-volati le memory ) , 例如至少一个磁盘存储器。 (non-volati le memory ), such as at least one disk storage.
所述通信接口 24用于与节点、 主控制器和 /或从属控制器通信连接。 存储器 22用于存放程序 221。具体的,程序 221中可以包括程序代码, 所述程序代码包括计算机操作指令。  The communication interface 24 is for communicating with a node, a master controller, and/or a slave controller. The memory 22 is used to store the program 221. Specifically, the program 221 may include program code, where the program code includes computer operation instructions.
处理器 21运行程序 221, 以执行:  The processor 21 runs the program 221 to execute:
根据控制器池中至少一个 SDN控制器的负载状态信息, 获得为节点分 配控制器的分配结果, 所述分配结果包括为所述节点分配的主控制器, 所 述主控制器为所述控制器池中的 SDN控制器;  Obtaining, according to load state information of at least one SDN controller in the controller pool, an allocation result of assigning a controller to the node, where the allocation result includes a primary controller allocated to the node, and the primary controller is the controller SDN controller in the pool;
将所述节点的节点类型发送给所述主控制器, 以供所述主控制器根据 所述节点类型, 获取与所述节点类型对应的控制规则, 并将所述控制规则 发送给所述节点。  Sending a node type of the node to the main controller, so that the main controller acquires a control rule corresponding to the node type according to the node type, and sends the control rule to the node .
具体的, 本发明实施例提供的主控装置进行基于 SDN的网络配置的方 法, 可以参见上述对应的方法实施例中所述的实现方式, 此次不再赘述。  Specifically, the method for performing the SDN-based network configuration by the main control device provided by the embodiment of the present invention may be referred to the implementation manners in the foregoing corresponding method embodiments, and details are not described herein again.
本发明实施例提供的主控装置, 通过根据控制器池中至少一个 SDN控 制器的负载状态信息, 获得为节点分配控制器的分配结果, 根据该分配结 果中所包括的为该节点分配的主控制器, 将该节点的节点类型发送给该主 控制器, 从而使得该主控制器可以根据该节点类型, 为该节点配置与该节 点类型对应的控制规则, 并将所述控制规则发送给该节点, 该节点可以根 据该控制规则进行相应的配置。 由于主控装置可以根据各 SDN控制器的负 载情况, 自动为节点分配主控制器和从属控制器, 实现了 SDN的控制平面 对数据平面的自动配置, 提高了配置的效率, 而且能够较好地满足 SDN的 网络性能要求。 The master control device provided by the embodiment of the present invention obtains an allocation result of the controller for the node according to the load state information of the at least one SDN controller in the controller pool, according to the distribution node. The primary controller allocated for the node is sent to the primary controller, so that the primary controller can configure the node corresponding to the node type according to the node type. The rule sends the control rule to the node, and the node can perform corresponding configuration according to the control rule. Since the main control device can automatically allocate the main controller and the subordinate controller to the node according to the load condition of each SDN controller, the automatic control of the data plane by the control plane of the SDN is realized, the configuration efficiency is improved, and the configuration can be better. Meet the network performance requirements of SDN.
图 4a为本发明实施例提供的节点的结构示意图, 如图 4a所示, 该节点 包括:  4a is a schematic structural diagram of a node according to an embodiment of the present invention. As shown in FIG. 4a, the node includes:
接收单元 31, 用于接收主控制器发送的控制规则, 所述控制规则是所 述主控制器根据节点类型获得的、 与所述节点类型对应的用于控制的规 贝 IJ , 所述主控制器为主控装置根据控制器池中至少一个 SDN控制器的负载 状态信息选择的 SDN控制器;  The receiving unit 31 is configured to receive a control rule sent by the main controller, where the control rule is a rule for control that is obtained by the main controller according to the node type and corresponding to the node type, where the main control is The SDN controller selected by the master device according to load status information of at least one SDN controller in the controller pool;
配置单元 32, 用于根据所述控制规则进行配置。  The configuration unit 32 is configured to perform according to the control rule.
图 4b为本发明实施例提供的另一节点的结构示意图, 如图 4b所示, 所述接收单元 31还用于:  FIG. 4b is a schematic structural diagram of another node according to an embodiment of the present invention. As shown in FIG. 4b, the receiving unit 31 is further configured to:
接收所述主控装置发送的分配结果, 所述分配结果包括所分配的所述 主控制器;  Receiving an allocation result sent by the main control device, where the allocation result includes the allocated primary controller;
相应地, 所述节点还可以包括:  Correspondingly, the node may further include:
发送单元 33, 用于根据所述分配结果, 向所述主控制器发送携带有所 述节点类型的请求信息, 以使所述主控制器根据所述请求信息获得与所述 节点类型对应的控制规则。  The sending unit 33 is configured to send, according to the allocation result, request information carrying the node type to the main controller, so that the main controller obtains control corresponding to the node type according to the request information. rule.
进一歩地, 所述发送单元 33还用于:  Further, the sending unit 33 is further configured to:
将所述节点类型发送给所述主控装置, 以使所述主控装置将所述节点 类型发送给所述主控制器。  Transmitting the node type to the master device to cause the master device to send the node type to the master controller.
图 4c为本发明实施例提供的又一节点的结构示意图, 如图 4c所示, 该节点包括:  4c is a schematic structural diagram of another node according to an embodiment of the present invention. As shown in FIG. 4c, the node includes:
处理器 41、 存储器 42、 总线 43和通信接口 44。 处理器 41、 存储器 42和通信接口 44之间通过总线 43连接并完成相互间的通信。  The processor 41, the memory 42, the bus 43, and the communication interface 44. The processor 41, the memory 42 and the communication interface 44 are connected by a bus 43 and communicate with each other.
处理器 41 可能为单核或多核中央处理单元 (Central Process ing Unit , CPU) , 或者为特定集成电路 (Appl ication Specific Integrated Circuit , ASIC) , 或者为被配置成实施本发明实施例的一个或多个集成 电路。 Processor 41 may be a single core or multi-core central processing unit (Central Process ing Unit, CPU), or an Specific Integrated Integrated Circuit (ASIC), or one or more integrated circuits configured to implement embodiments of the present invention.
存储器 42 可以为高速 RAM 存储器, 也可以为非易失性存储器 ( non-volati le memory) , 例如至少一个磁盘存储器。  The memory 42 may be a high speed RAM memory or a non-volatile memory such as at least one disk memory.
所述通信接口 44与主控装置、 主控制器和 /或从属控制器通信连接, 用于接收主控制器发送的控制规则, 所述控制规则是所述主控制器根据节 点类型获得的、 与所述节点类型对应的用于控制的规则, 所述主控制器为 主控装置根据控制器池中至少一个 SDN控制器的负载状态信息选择的 SDN 控制器。  The communication interface 44 is communicatively coupled to the main control device, the main controller, and/or the slave controller, and configured to receive a control rule sent by the main controller, where the control rule is obtained by the main controller according to the node type, and The rule for controlling the node type, the master controller is an SDN controller selected by the master device according to load state information of at least one SDN controller in the controller pool.
存储器 42用于存放程序 421。具体的,程序 421中可以包括程序代码, 所述程序代码包括计算机操作指令。  The memory 42 is used to store the program 421. Specifically, program code 421 may include program code, and the program code includes computer operation instructions.
处理器 41运行程序 421, 以执行:  The processor 41 runs the program 421 to execute:
根据所述控制规则进行配置。  Configure according to the control rules.
具体的, 本发明实施例提供的节点进行基于 SDN的网络配置的方法, 可以参见上述对应的方法实施例中所述的实现方式, 此次不再赘述。  Specifically, the method for performing the SDN-based network configuration of the node provided by the embodiment of the present invention may be referred to the implementation manner described in the foregoing method embodiment, and details are not described herein again.
本发明实施例提供的节点, 接收主控制器为其配置的控制规则, 并根 据该控制规则进行相应的配置, 该控制规则是主控制器根据节点的节点类 型配置的, 由于主控装置可以根据各 SDN控制器的负载情况, 自动为节点 分配主控制器和从属控制器, 实现了 SDN的控制平面对数据平面的自动配 置, 提高了配置的效率, 而且能够较好地满足 SDN的网络性能要求。  The node provided by the embodiment of the present invention receives the control rule configured by the main controller, and performs corresponding configuration according to the control rule, where the control rule is configured by the main controller according to the node type of the node, because the main control device can be configured according to The load status of each SDN controller automatically assigns the primary controller and the slave controller to the node, which realizes the automatic configuration of the data plane by the control plane of the SDN, improves the efficiency of the configuration, and can better meet the network performance requirements of the SDN. .
图 5a为本发明实施例提供的主控制器的结构示意图, 如图 5a所示, 该主控制器包括:  FIG. 5a is a schematic structural diagram of a main controller according to an embodiment of the present invention. As shown in FIG. 5a, the main controller includes:
处理单元 51, 用于根据节点类型, 获取与所述节点类型对应的控制规 则, 所述节点类型为从主控装置接收到的, 或者从数据库中获取到的所述 节点的类型, 所述主控制器为控制器池中的 SDN控制器, 所述主控制器为 主控装置根据所述控制器池中至少一个 SDN控制器的负载状态信息, 为所 述节点分配的、 作为主控制器的 SDN控制器;  The processing unit 51 is configured to acquire, according to the node type, a control rule corresponding to the node type, where the node type is received from the master device, or the type of the node acquired from the database, the master The controller is an SDN controller in the controller pool, and the master controller is assigned to the node as a primary controller according to load status information of at least one SDN controller in the controller pool. SDN controller;
发送单元 52, 用于将所述控制规则发送给所述节点, 以使所述节点根 据所述控制规则进行配置。 进一歩地, 所述处理单元 51还用于: The sending unit 52 is configured to send the control rule to the node, so that the node is configured according to the control rule. Further, the processing unit 51 is further configured to:
接收所述节点发送的携带有所述节点类型的请求信息; 并根据所述请 求信息, 为所述节点配置与所述节点类型对应的控制规则。  And receiving, by the node, request information that carries the node type; and, according to the request information, configuring a control rule corresponding to the node type for the node.
进一歩地, 所述发送单元 52还用于:  Further, the sending unit 52 is further configured to:
将负载状态信息发送给所述主控装置, 以供所述主控装置根据控制器 池中至少一个 SDN控制器的负载状态信息, 获得为所述节点分配控制器的 分配结果, 所述分配结果包括为所述节点分配的主控制器和 /或从属控制 器。  Transmitting the load status information to the main control device, so that the main control device obtains an allocation result of the controller for the node according to load status information of at least one SDN controller in the controller pool, and the allocation result A master controller and/or a slave controller assigned to the node are included.
图 5b为本发明实施例提供的另一主控制器的结构示意图, 如图 5b所 示, 该主控制器包括:  FIG. 5b is a schematic structural diagram of another main controller according to an embodiment of the present invention. As shown in FIG. 5b, the main controller includes:
处理器 61、 存储器 62、 总线 63和通信接口 64。 处理器 61、 存储器 62和通信接口 64之间通过总线 63连接并完成相互间的通信。  The processor 61, the memory 62, the bus 63, and the communication interface 64. The processor 61, the memory 62 and the communication interface 64 are connected by a bus 63 and communicate with each other.
处理器 61 可能为单核或多核中央处理单元 (Central Process ing Unit , CPU ) , 或者为特定集成电路 (Appl icat ion Specific Integrated Circuit , ASIC ) , 或者为被配置成实施本发明实施例的一个或多个集成 电路。  The processor 61 may be a single-core or multi-core central processing unit (CPU), or an specific integrated circuit (ASIC), or one configured to implement an embodiment of the present invention. Multiple integrated circuits.
存储器 62 可以为高速 RAM 存储器, 也可以为非易失性存储器 ( non-volati le memory ) , 例如至少一个磁盘存储器。  The memory 62 may be a high speed RAM memory or a non-volatile memory such as at least one disk memory.
所述通信接口 64用于与主控装置、 节点和 /或从属控制器通信连接。 存储器 62用于存放程序 621。具体的,程序 621中可以包括程序代码, 所述程序代码包括计算机操作指令。  The communication interface 64 is for communicating with a master device, a node, and/or a slave controller. The memory 62 is used to store the program 621. Specifically, the program 621 may include program code, and the program code includes a computer operation instruction.
处理器 61运行程序 621, 以执行:  The processor 61 runs the program 621 to execute:
根据节点类型, 获取与所述节点类型对应的控制规则, 所述节点类型 为从主控装置接收到的, 或者从数据库中获取到的所述节点的类型, 所述 主控制器为控制器池中的 SDN控制器, 所述主控制器为主控装置根据所述 控制器池中至少一个 SDN控制器的负载状态信息, 为所述节点分配的、 作 为主控制器的 SDN控制器;  Obtaining, according to the node type, a control rule corresponding to the node type, where the node type is received from a master device, or a type of the node acquired from a database, where the primary controller is a controller pool In the SDN controller, the main controller is an SDN controller allocated to the node as a main controller according to load status information of at least one SDN controller in the controller pool;
将所述控制规则发送给所述节点, 以使所述节点根据所述控制规则进 行配置。  The control rules are sent to the node to cause the node to configure according to the control rules.
具体的, 本发明实施例提供的主控制器进行基于 SDN的网络配置的方 法, 可以参见上述对应的方法实施例中所述的实现方式, 此次不再赘述。 本发明实施例提供的主控制器, 根据节点类型为节点配置与该节点类 型对应的控制规则, 并将所述控制规则发送给该节点, 该节点可以根据该 控制规则进行相应的配置。 由于主控装置可以根据各 SDN控制器的负载情 况, 自动为节点分配主控制器和从属控制器, 实现了 SDN的控制平面对数 据平面的自动配置, 提高了配置的效率, 而且能够较好地满足 SDN的网络 性能要求。 Specifically, the main controller provided by the embodiment of the present invention performs the SDN-based network configuration. For the method, refer to the implementation manners described in the foregoing method embodiments, and details are not described herein again. The main controller provided by the embodiment of the present invention configures a control rule corresponding to the node type according to the node type, and sends the control rule to the node, and the node can perform corresponding configuration according to the control rule. Since the main control device can automatically allocate the main controller and the subordinate controller to the node according to the load condition of each SDN controller, the automatic control of the data plane by the control plane of the SDN is realized, the configuration efficiency is improved, and the configuration can be better. Meet the network performance requirements of SDN.
图 6a为本发明实施例提供的从属控制器的结构示意图,如图 6a所示, 该从属控制器包括:  6a is a schematic structural diagram of a slave controller according to an embodiment of the present invention. As shown in FIG. 6a, the slave controller includes:
获取单元 71, 用于从主控制器或节点标识对应的节点, 获取与所述节点 标识对应的控制规则;  The obtaining unit 71 is configured to obtain, from the node corresponding to the primary controller or the node identifier, a control rule corresponding to the node identifier.
其中, 所述节点标识为从主控装置接收到的所述节点的标识信息; 所 述控制规则是主控制器根据所述节点类型获得的、 与所述节点类型对应的用 于控制的规则;所述主控制器为所述主控装置根据控制器池中至少一个 SDN 控制器的负载状态信息选择的 SDN控制器。  The node identifier is identifier information of the node that is received from the master device; the control rule is a rule for control that is obtained by the master controller according to the node type and corresponding to the node type; The main controller is an SDN controller selected by the main control device according to load status information of at least one SDN controller in the controller pool.
图 6b为本发明实施例提供的另一从属控制器的结构示意图, 如图 6b 所示, 该从属控制器还可以包括:  FIG. 6b is a schematic structural diagram of another slave controller according to an embodiment of the present invention. As shown in FIG. 6b, the slave controller may further include:
发送单元 72, 用于将负载状态信息发送给所述主控装置, 以供所述主 控装置根据控制器池中至少一个 SDN控制器的负载状态信息, 获得为所述 节点分配控制器的分配结果, 所述分配结果包括为所述节点分配的主控制 器和 /或从属控制器。  The sending unit 72 is configured to send load status information to the main control device, where the main control device obtains an allocation for the node allocation controller according to load status information of at least one SDN controller in the controller pool. As a result, the assignment result includes a primary controller and/or a slave controller assigned to the node.
图 6c为本发明实施例提供的又一从属控制器的结构示意图, 如图 6c 所示, 该从属控制器包括:  FIG. 6c is a schematic structural diagram of still another slave controller according to an embodiment of the present invention. As shown in FIG. 6c, the slave controller includes:
处理器 81、 存储器 82、 总线 83和通信接口 84。 处理器 81、 存储器 82和通信接口 84之间通过总线 83连接并完成相互间的通信。  The processor 81, the memory 82, the bus 83, and the communication interface 84. The processor 81, the memory 82, and the communication interface 84 are connected by a bus 83 and communicate with each other.
处理器 81 可能为单核或多核中央处理单元 (Central Processing Unit , CPU) , 或者为特定集成电路 (Appl ication Specific Integrated Circuit , ASIC) , 或者为被配置成实施本发明实施例的一个或多个集成 电路。  The processor 81 may be a single core or multi-core central processing unit (CPU), or an Specific Integrated Integrated Circuit (ASIC), or one or more configured to implement the embodiments of the present invention. integrated circuit.
存储器 82 可以为高速 RAM 存储器, 也可以为非易失性存储器 ( non-volati le memory ) , 例如至少一个磁盘存储器。 The memory 82 can be a high speed RAM memory or a nonvolatile memory. (non-volati le memory ), such as at least one disk storage.
所述通信接口 84用于与主控装置、 节点和 /或主控制器通信连接。 存储器 82用于存放程序 821。具体的,程序 821中可以包括程序代码, 所述程序代码包括计算机操作指令。  The communication interface 84 is for communicating with a master device, a node, and/or a host controller. The memory 82 is used to store the program 821. Specifically, the program 821 may include program code, and the program code includes computer operation instructions.
处理器 81运行程序 821, 以执行:  The processor 81 runs the program 821 to execute:
从主控制器或节点标识对应的节点, 获取与所述节点标识对应的控制规 则;  Obtaining a control rule corresponding to the node identifier from a node corresponding to the primary controller or the node identifier;
其中, 所述节点标识为从主控装置接收到的所述节点的标识信息; 所 述控制规则是主控制器根据所述节点类型获得的、 与所述节点类型对应的用 于控制的规则;所述主控制器为所述主控装置根据控制器池中至少一个 SDN 控制器的负载状态信息选择的 SDN控制器。  The node identifier is identifier information of the node that is received from the master device; the control rule is a rule for control that is obtained by the master controller according to the node type and corresponding to the node type; The main controller is an SDN controller selected by the main control device according to load status information of at least one SDN controller in the controller pool.
具体的, 本发明实施例提供的从属控制器进行基于 SDN的网络配置的 方法,可以参见上述对应的方法实施例中所述的实现方式,此次不再赘述。  Specifically, the method for performing the SDN-based network configuration by the slave controller provided by the embodiment of the present invention may be referred to the implementation manners in the foregoing corresponding method embodiments, and details are not described herein again.
本发明实施例提供的从属控制器, 从节点标识对应的节点或从主控制 器, 获取与所述节点标识对应的控制规则, 能够使得从属控制器、 主控制器 以及节点中, 存储的每个节点的控制规则具有一致性。 在主控制器发生故 障, 或节点与主控制器之间的连接发生故障时, 从属控制器可以临时起到 备份的作用。  The slave controller provided by the embodiment of the present invention acquires a control rule corresponding to the node identifier from a node corresponding to the node identifier or from the master controller, and enables each of the slave controller, the master controller, and the node to be stored. The control rules of the nodes are consistent. When the primary controller fails, or the connection between the node and the primary controller fails, the secondary controller can temporarily play the role of backup.
图 7为本发明实施例提供的基于 SDN的通信系统的结构示意图, 如图 7所示, 该通信系统包括:  FIG. 7 is a schematic structural diagram of an SDN-based communication system according to an embodiment of the present invention. As shown in FIG. 7, the communication system includes:
主控装置 1、 至少一个节点 2, 至少一个主控制器 3 以及至少一个从 属控制器 4;  Main control device 1, at least one node 2, at least one main controller 3 and at least one slave controller 4;
所述主控装置 1、 所述节点 2、 所述主控制器 3与所述从属控制器 4 之间通信连接。  The main control device 1, the node 2, the main controller 3 and the slave controller 4 are in communication connection.
具体的, 本发明实施例提供的基于 SDN的通信系统进行基于 SDN的网 络配置的方法, 可以参见上述对应的方法实施例中所述的实现方式, 此次 不再赘述。  Specifically, the method for performing the SDN-based network configuration in the SDN-based communication system provided by the embodiment of the present invention can be referred to the implementation manners in the foregoing corresponding method embodiments, and details are not described herein again.
以下通过举例对基于 SDN的通信系统进行说明。  The following describes an SDN-based communication system by way of example.
主控装置根据负载均衡原则协调控制器池中的 SDN控制器对节点的控 制和 /或服务权限, 维护控制器池中 SDN控制器的负载状态信息, 例如 CPU 资源利用率、 内存使用情况和剩余存储容量等。 主控装置还可以维护 SDN 控制器与节点之间的拓扑关系。 The main control device coordinates the control and/or service authority of the SDN controller in the controller pool according to the load balancing principle, and maintains the load status information of the SDN controller in the controller pool, such as the CPU. Resource utilization, memory usage, and remaining storage capacity. The master device can also maintain the topology relationship between the SDN controller and the node.
SDN 控制器作为某些节点的主控制器时, 根据从拓扑信息数据库 (topology database) 和策略信息数据库 (policy database) 中获取的 信息为节点配置控制规则。  When the SDN controller is the primary controller for some nodes, the control rules are configured for the nodes based on information obtained from the topology database and the policy database.
其中, 拓扑数据库包括控制器相关的拓扑信息数据库和节点相关的拓 扑信息数据库。  The topology database includes a controller-related topology information database and a node-related topology information database.
控制器相关的拓扑信息数据库维护控制器池中与各 SDN控制器相关的 拓扑位置信息,包括 SDN控制器的拓扑位置信息以及预定义的类型信息等。 SDN控制器的拓扑位置信息包括: SDN控制器的网际协议版本 4 (Internet Protocol version 4, IPv4) 地址、 网际协议版本 6 (Internet Protocol version 6, IPv6) 地址或者 FQDN。 SDN控制器的预定义的类型信息是用 于区别 SDN控制器与主控装置的信息。 也就是说, SDN控制器与主控装置 的预定义的类型信息是不相同的。  The controller-related topology information database maintains topology location information related to each SDN controller in the controller pool, including topology location information of the SDN controller and predefined type information. The topological location information of the SDN controller includes: Internet Protocol version 4 (IPv4) address, Internet Protocol version 6, IPv6 address or FQDN of the SDN controller. The predefined type information of the SDN controller is used to distinguish the information of the SDN controller from the master device. That is to say, the predefined type information of the SDN controller and the master device is different.
节点相关的拓扑信息数据库维护节点的拓扑位置信息, 包括节点的拓 扑位置信息以及节点类型。 节点的拓扑位置信息包括: 节点的 IPv4地址、 IPv6 地址或 FQDN。 在一个节点具有多个端口时, 每个端口可以对应着不 同的 IP 地址或者 FQDN。 节点的节点类型可以包括: 认证、 授权和计费 ( Authentication^ Authorization and Accounting, AAA) 、 DHCP代理 (Proxy) 、 DHCP 服务器 (Server) 、 网络地址转换 (Network Address Translation, NAT)、 防火墙 (Firewall) 、 传输控制协议 (Transmission Control Protocol, TCP) 代理 (Proxy) 、 超文本传输协议 (Hyper Text Transfer Protocol, HTTP)代理(Proxy)、 ±或名系统(Domain Name System, DNS) 服务器 (Server) 、 无线网络控制器 (Radio Network Controller, RNC) 、 基站控制器 (Base Station Controller, BSC) 、 通用分组无线 业务月艮务支持节点 ( Serving General Packet Radio Service Support Node, SGSN) ) 、 移动性管理实体 (Mobility Management Entity, MME) 、 服务网关(Serving Gateway, SGW)、分组数据网网关(Packet Data Network Gateway, PGW) 、 策略和计费规则功能 (Policy charging and rules function, PCRF) 、 归属用户服务器 (Home Subscriber Server, HSS) 、 移动交换中心( Mob i 1 e Swi t ch i ng Cent er, MSC )、访问位置寄存器 ( Vi sited Location Register, VLR) 等。 The node-related topology information database maintains the topology location information of the node, including the topology location information of the node and the node type. The topological location information of a node includes: The IPv4 address, IPv6 address, or FQDN of the node. When a node has multiple ports, each port can correspond to a different IP address or FQDN. Node node types can include: Authentication, Authorization and Accounting (AAA), DHCP Proxy, DHCP Server, Network Address Translation (NAT), Firewall (Firewall) , Transmission Control Protocol (TCP) proxy (Proxy), Hypertext Transfer Protocol (HTTP) proxy (Proxy), ± or Name System (DNS) server (Server), wireless Network Controller (RNC), Base Station Controller (BSC), Serving General Packet Radio Service Support Node (SGSN), Mobility Management Mobility Management Entity, MME), Serving Gateway (SGW), Packet Data Network Gateway (PGW), Policy charging and rules function (PCRF), Home Subscriber (Home Subscriber) Server, HSS), Mobile switching center (MSC), Vi sited location register (VLR), etc.
上述的控制器相关的拓扑信息数据库、 节点相关的拓扑信息数据库以 及策略信息数据库中的任意两个或多个可以根据需要合设。可以对数据库 的访问权限进行设置, 使得只有主控装置有权限对拓扑信息数据库进行访 问。 当节点或 SDN的拓扑位置信息发生变化时, 拓扑信息数据库相应地进 行更新。  Any two or more of the above-mentioned controller-related topology information database, node-related topology information database, and policy information database may be combined as needed. The access rights to the database can be set so that only the master device has access to the topology information database. When the topology location information of a node or SDN changes, the topology information database is updated accordingly.
策略信息数据库包括节点类型和控制规则之间的对应关系。每个节点 类型对应着一个基本功能类型集合, 不同节点类型对应的基本功能类型集 合中可能存在相同的功能。 对应于每种功能, 分别对应着一条控制信息, 相应地, 每个节点类型对应着多条控制信息, 由多条控制信息组成控制规 贝 IJ , 因此每个节点对应着相应的控制规则。  The policy information database includes the correspondence between node types and control rules. Each node type corresponds to a set of basic function types, and the same function may exist in the set of basic function types corresponding to different node types. Corresponding to each function, corresponding to a piece of control information, correspondingly, each node type corresponds to a plurality of control information, and a plurality of pieces of control information constitute a control rule IJ, so each node corresponds to a corresponding control rule.
控制器池中的每个 SDN控制器会预先配置有主控装置的地址信息, 例如 主控装置的 IPv4地址、 IPv6地址或者 FQDN等。 SDN控制器和主控装置中分 别预先配置了标识各自类型的信息。  Each SDN controller in the controller pool is pre-configured with the address information of the master device, such as the IPv4 address, IPv6 address, or FQDN of the master device. The SDN controller and the master device are pre-configured with information identifying their respective types.
主控装置获得各 SDN控制器的负载状态信息的方法可以包括如下两种实 现方式。  The method for the master device to obtain the load status information of each SDN controller may include the following two implementation manners.
一种方式为, 在 SDN控制器上电以后, 根据预先配置的主控装置的地址 信息, 获取主控装置的 IP地址, 根据该 IP地址与主控装置通信。 SDN控制 器将其节点类型、 负载状态信息发送给主控装置。  In one mode, after the SDN controller is powered on, the IP address of the master device is obtained according to the address information of the pre-configured master device, and the master device is communicated according to the IP address. The SDN controller sends its node type and load status information to the master device.
这种实现方式的好处是具备较好的适应性与可扩展性。 一个新的 SDN控 制器加入时, 只需在其上预先配置主控装置的地址信息, 以及表征其为 SDN 控制器的信息, 在其上电后即可加入到 SDN的控制器池中, 实现了即插即用 (Plug & Play) 的功能。 由于实现即插即用功能的同时, 无需对主控装置和 各 SDN控制器进行其他修改, 因此具有非常好的可扩展性。  The benefit of this implementation is better adaptability and scalability. When a new SDN controller is added, it only needs to pre-configure the address information of the master device and the information indicating that it is an SDN controller, and after it is powered on, it can be added to the controller pool of the SDN. Plug & Play functionality. Since the plug-and-play function is implemented, there is no need to make other modifications to the master device and each SDN controller, so it has very good scalability.
另一种方式为, 在主控装置上电之后, 主控装置査询控制器相关的拓扑 信息数据库, 获取控制器池中各个 SDN控制器的 IP地址和对应的类型信息; 根据 IP地址向对应的 SDN控制器发送获取其状态信息的请求;接收到请求的 SDN控制器将其负载状态信息反馈给主控装置。  In another mode, after the main control device is powered on, the main control device queries the controller related topology information database, obtains the IP address and corresponding type information of each SDN controller in the controller pool, and correspondingly according to the IP address. The SDN controller sends a request to obtain its status information; the SDN controller that receives the request feeds back its load status information to the master device.
这种实现方式的好处是可以由主控装置集中对控制器池中的各 SDN控制 器进行控制与管理。 例如, 若主控装置不向控制器池中的一个 SDN控制器发 送上述请求时, 则说明关闭了该 SDN控制器的功能。 The advantage of this implementation is that the main control device can centrally control each SDN in the controller pool. Control and management. For example, if the master device does not send the above request to one of the SDN controllers in the controller pool, the function of the SDN controller is turned off.
此外, 在主控装置与 SDN控制器进行通信之前, 还可以利用安全过程, 进行互相的身份验证以及建立双方的安全传输通道。  In addition, before the main control device communicates with the SDN controller, it can also use the security process to perform mutual authentication and establish a secure transmission channel for both parties.
通常的方式是采用公钥基础设施 (Publ ic Key Infrastructure, PKI ) 机制。 主控装置与 SDN控制器分别具有数字证书, 通过数字证书及相关的安 全协议, 如传输层安全协议 (Transport Layer Security Protocol , TLS ) , 互联网密钥交换协议 ( Internet Key Exchange , IKE) 版本 2 ( version 4) 等进行双方的身份认证并建立安全通道。 在通过相互认证之后, SDN控制器 才会将其负载状态信息发送给主控装置,相应地,主控装置才能给接收到 SDN 控制器发送的负载状态信息。 若采用其它的安全措施时, 例如物理安全的方 式, 即在主控装置与 SDN控制器之间的通信连接进行物理安全的保护, 则可 以关闭它们之前的相互身份认证。  The usual way is to use the Public Key Infrastructure (PKI) mechanism. The main control device and the SDN controller respectively have digital certificates, through digital certificates and related security protocols, such as Transport Layer Security Protocol (TLS), Internet Key Exchange (IKE) version 2 ( Version 4) Wait for the identity of both parties and establish a secure channel. After passing the mutual authentication, the SDN controller will send its load status information to the master device, and accordingly, the master device can receive the load status information sent by the SDN controller. If other security measures are used, such as physical security, that is, the communication connection between the master device and the SDN controller is physically secure, the mutual identity authentication before them can be turned off.
在主控装置获取到了各 SDN控制器的负载状态信息之后, 可以通过以下 两种方式实现对节点的配置。  After the master device obtains the load status information of each SDN controller, the configuration of the node can be implemented in the following two ways.
一种方式主要适用于接入层和汇聚层的设备, 接入层和汇聚层设备的特 点为, 数据平面的设备分布广泛且数量较多, 各自上电入网的时间有先后之 分。  One mode is mainly applicable to devices at the access layer and the aggregation layer. The characteristics of the access layer and the aggregation layer device are that the devices on the data plane are widely distributed and have a large number of devices.
具体为, 节点上电以后, 根据预先配置的主控装置的地址信息, 获取主 控装置的 IP地址;与主控装置之间完成安全过程来进行互相的身份验证以及 建立双方的安全传输通道。  Specifically, after the node is powered on, the IP address of the master device is obtained according to the address information of the pre-configured master device; and the security process is completed with the master device to perform mutual authentication and establish a secure transmission channel between the two parties.
节点根据该 IP地址与主控装置通信, 将其节点类型发送给主控装置, 并 请求主控装置下发分配结果。  The node communicates with the master device according to the IP address, sends the node type to the master device, and requests the master device to deliver the distribution result.
主控装置根据控制器池中的 SDN控制器的负载状态信息和负载均衡原 贝 lj, 确定为该节点服务的 SDN控制器以及这些 SDN控制器的角色, 其中角色 包括该 SDN控制器是作为该节点的主控制器或从属控制器。  The master device determines the SDN controller serving the node and the roles of the SDN controller according to the load status information of the SDN controller in the controller pool and the load balancing original, wherein the role includes the SDN controller as the The primary or secondary controller of the node.
主控装置将分配结果分别下发给为节点分配的各 SDN控制器, 其中可以 包括该节点的 IP地址, 节点类型以及对应的 SDN控制器的角色以及其 IP地 址。 主控装置还将该分配结果下发给该节点, 其中包括为该节点分配的 SDN 控制器的 IP地址以及这些 SDN控制器各自对应的角色。节点与分配结果中所 指示的主控制器之间完成安全过程来进行互相的身份验证以及建立双方的安 全传输通道。 The master device sends the allocation result to each SDN controller allocated to the node, which may include the IP address of the node, the node type, and the role of the corresponding SDN controller and its IP address. The master device also delivers the allocation result to the node, including the IP address of the SDN controller assigned to the node and the respective roles of the SDN controllers. Node and assignment results The indicated master controllers complete the security process to authenticate each other and establish a secure transmission channel for both parties.
节点向主控制器发送获取控制规则的请求;请求中包括该节点的 IP地址 和节点类型。 主控制器根据节点类型査询策略信息数据库, 获取节点类型对 应的控制规则集, 制定该节点的控制规则。 主控制器将该控制规则下发给该 节点。  The node sends a request for obtaining a control rule to the primary controller; the request includes the IP address and node type of the node. The main controller queries the policy information database according to the node type, obtains a control rule set corresponding to the node type, and formulates a control rule of the node. The master controller issues the control rule to the node.
主控制器向主控装置更新其负载状态信息。 节点在从主控装置接收到控 制规则之后, 可以将该控制规则推送给从属控制器; 从属控制器也可以通过 与主控制器的交互, 获取为该节点配置的控制规则, 尤其适合应用在主控制 器与从属控制器的物理通信距离较近的情况下。  The main controller updates its load status information to the master device. After receiving the control rule from the master device, the node may push the control rule to the slave controller; the slave controller may also acquire the control rule configured for the node by interacting with the master controller, and is particularly suitable for the application in the master. The physical communication distance between the controller and the slave controller is relatively close.
这种实现方式的好处是具备较好的适应性与可扩展性。 一个新节点加入 时, 只需要在其上预先配置主控装置的地址信息及此节点的节点类型后, 上 电后, 该节点就可以加入到网络中, 实现了即插即用的功能。 由于即插即用 的同时无需对各 SDN控制器进行其他的修改, 因此具有非常好的可扩展性。  The benefit of this implementation is better adaptability and scalability. When a new node joins, it only needs to pre-configure the address information of the master device and the node type of the node. After power-on, the node can join the network and realize the plug-and-play function. Because of the plug-and-play, there is no need to make other modifications to each SDN controller, so it has very good scalability.
另一种方式主要适用于核心层的设备, 核心层设备的特点是在部署方面 具体较好的稳定性。  The other way is mainly applied to the equipment at the core layer. The characteristics of the core layer equipment are the better stability in terms of deployment.
具体为, 主控装置上电后, 査询节点相关的拓扑信息数据库, 获取各节 点的 IP地址和节点类型。主控装置根据控制器池中的 SDN控制器的负载状态 信息和负载均衡原则, 确定为该节点服务的 SDN控制器以及这些 SDN控制器 的角色,其中角色包括该 SDN控制器是作为该节点的主控制器或从属控制器。  Specifically, after the main control device is powered on, query the topology information database related to the node, and obtain the IP address and node type of each node. The master device determines the SDN controller serving the node and the roles of the SDN controller according to the load status information and the load balancing principle of the SDN controller in the controller pool, wherein the role includes the SDN controller as the node Primary controller or slave controller.
主控装置将分配结果分别下发给为节点分配的各 SDN控制器, 其中可以 包括该节点的 IP地址, 节点类型以及对应的 SDN控制器的角色以及其 IP地 址。  The master device sends the allocation result to each SDN controller allocated to the node, which may include the IP address of the node, the node type, and the role of the corresponding SDN controller and its IP address.
主控装置与节点之间完成安全过程来进行互相的身份验证以及建立双方 的安全传输通道, 进而将该分配结果下发给该节点, 其中包括为该节点分配 的 SDN控制器的 IP地址以及这些 SDN控制器各自对应的角色。节点与分配结 果中所指示的主控制器之间完成安全过程来进行互相的身份验证以及建立双 方的安全传输通道。  The security process is completed between the master device and the node to perform mutual authentication and establish a secure transmission channel between the two parties, and then the allocation result is sent to the node, including the IP address of the SDN controller allocated for the node and the The corresponding roles of the SDN controllers. The node completes the security process between the primary controller indicated in the assignment result to authenticate each other and establish a secure transmission channel for both parties.
节点向主控制器发送获取控制规则的请求;请求中包括该节点的 IP地址 和节点类型。 主控制器根据节点类型査询策略信息数据库, 获取节点类型对 应的控制规则集, 制定该节点的控制规则。 主控制器将该控制规则下发给该 节点。 主控制器向主控装置更新其负载状态信息。 The node sends a request for obtaining a control rule to the primary controller; the request includes the IP address and node type of the node. The main controller queries the policy information database according to the node type, and obtains the node type pair. The set of control rules should be used to formulate the control rules for the node. The master controller sends the control rule to the node. The main controller updates its load status information to the master device.
主控装置还可以在节点未请求获取控制规则的情况下, 直接将控制规则 推送给节点。  The master device can also directly push the control rule to the node if the node does not request acquisition of the control rule.
这种实现方式的好处是可以对网络中的各个节点进行统一的控制和管 理。若主控制器不向某个节点推送控制规则时, 则表示关闭了该节点的功能。  The benefit of this implementation is that it provides unified control and management of the various nodes in the network. If the master controller does not push a control rule to a node, it means that the function of the node is turned off.
节点在从主控装置接收到控制规则之后, 可以将该控制规则推送给从属 控制器; 从属控制器也可以通过与主控制器的交互, 获取为该节点配置的控 制规则, 尤其适合应用在主控制器与从属控制器的物理通信距离较近的情况 下。  After receiving the control rule from the master device, the node may push the control rule to the slave controller; the slave controller may also acquire the control rule configured for the node by interacting with the master controller, and is particularly suitable for the application in the master. The physical communication distance between the controller and the slave controller is relatively close.
本领域普通技术人员可以理解: 实现上述方法实施例的全部或部分歩骤 可以通过程序指令相关的硬件来完成, 前述的程序可以存储于一计算机可读 取存储介质中, 该程序在执行时, 执行包括上述方法实施例的歩骤; 而前述 的存储介质包括: R0M、 RAM, 磁碟或者光盘等各种可以存储程序代码的介质。  A person skilled in the art can understand that all or part of the steps of implementing the above method embodiments may be implemented by hardware related to program instructions, and the foregoing program may be stored in a computer readable storage medium, when executed, The steps of the foregoing method embodiments are performed; and the foregoing storage medium includes: various media that can store program codes, such as ROM, RAM, disk or optical disk.
最后应说明的是: 以上各实施例仅用以说明本发明的技术方案, 而非对 其限制; 尽管参照前述各实施例对本发明进行了详细的说明, 本领域的普通 技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改, 或者对其中部分或者全部技术特征进行等同替换; 而这些修改或者替换, 并 不使相应技术方案的本质脱离本发明各实施例技术方案的范围。  Finally, it should be noted that the above embodiments are only for explaining the technical solutions of the present invention, and are not intended to be limiting thereof; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that The technical solutions described in the foregoing embodiments may be modified, or some or all of the technical features may be equivalently replaced; and the modifications or substitutions do not deviate from the technical solutions of the embodiments of the present invention. range.

Claims

权 利 要 求 书 Claim
1、 一种基于软件定义网络 SDN的网络配置方法, 其特征在于, 包括: 根据控制器池中至少一个 SDN控制器的负载状态信息, 获得为节点分 配控制器的分配结果, 所述分配结果包括为所述节点分配的主控制器, 所 述主控制器为所述控制器池中的 SDN控制器; A network configuration method based on a software-defined network SDN, comprising: obtaining, according to load state information of at least one SDN controller in a controller pool, an allocation result of a controller for a node, where the allocation result includes a primary controller assigned to the node, the primary controller being an SDN controller in the controller pool;
将所述节点的节点类型发送给所述主控制器, 以供所述主控制器根据 所述节点类型, 获取与所述节点类型对应的控制规则, 并将所述控制规则 发送给所述节点。  Sending a node type of the node to the main controller, so that the main controller acquires a control rule corresponding to the node type according to the node type, and sends the control rule to the node .
2、 根据权利要求 1所述的基于 SDN的网络配置方法, 其特征在于, 所述分配结果还包括为所述节点分配的从属控制器;  2. The SDN-based network configuration method according to claim 1, wherein the allocation result further comprises a slave controller allocated to the node;
相应地, 所述方法还包括:  Correspondingly, the method further includes:
将所述节点的节点标识发送给所述从属控制器, 以供所述从属控制器 从所述主控制器或所述节点标识对应的节点, 获取与所述节点标识对应的 控制规则。  Sending the node identifier of the node to the slave controller, so that the slave controller obtains a control rule corresponding to the node identifier from the master controller or a node corresponding to the node identifier.
3、 根据权利要求 1所述的基于 SDN的网络配置方法, 其特征在于, 所述方法还包括:  The SDN-based network configuration method according to claim 1, wherein the method further includes:
将所述分配结果发送给所述节点, 以供所述节点根据所述分配结果, 向所述主控制器发送携带有所述节点类型的请求信息, 以使所述主控制器 根据所述节点类型, 为所述节点配置与所述节点类型对应的控制规则, 并 将所述控制规则发送给所述节点。  Transmitting the allocation result to the node, so that the node sends request information carrying the node type to the primary controller according to the allocation result, so that the primary controller is configured according to the node Type, configuring a control rule corresponding to the node type for the node, and sending the control rule to the node.
4、 根据权利要求 1-3中任一所述的基于 SDN的网络配置方法, 其特 征在于, 所述根据控制器池中至少一个 SDN控制器的负载状态信息, 获得 为节点分配控制器的分配结果包括:  The SDN-based network configuration method according to any one of claims 1 to 3, wherein the obtaining the allocation of the node allocation controller according to the load state information of the at least one SDN controller in the controller pool The results include:
根据所述至少一个 SDN控制器的负载状态信息, 为所述至少一个 SDN 控制器分别配置权值;  And configuring, according to load state information of the at least one SDN controller, a weight for each of the at least one SDN controller;
根据所述至少一个 SDN控制器的权值, 获得为所述节点分配控制器的 分配结果。  And assigning a distribution result of the controller to the node according to the weight of the at least one SDN controller.
5、 根据权利要求 1-3中任一所述的基于 SDN的网络配置方法, 其特 征在于, 所述方法还包括:  The SDN-based network configuration method according to any one of claims 1 to 3, wherein the method further comprises:
接收所述至少一个 SDN控制器分别发送的负载状态信息; 或者 向所述至少一个 SDN控制器分别获取负载状态信息。 Receiving load status information respectively sent by the at least one SDN controller; or The load status information is separately obtained from the at least one SDN controller.
6、 根据权利要求 1-3中任一所述的基于 SDN的网络配置方法, 其特 征在于, 所述方法还包括:  The SDN-based network configuration method according to any one of claims 1 to 3, wherein the method further comprises:
接收所述节点发送的节点类型; 或者  Receiving a node type sent by the node; or
从数据库中获取所述节点的节点类型。  Get the node type of the node from the database.
7、 一种基于 SDN的网络配置方法, 其特征在于, 包括:  7. An SDN-based network configuration method, comprising:
接收主控制器发送的控制规则, 所述控制规则是所述主控制器根据节 点类型获得的、 与所述节点类型对应的用于控制的规则, 所述主控制器为 主控装置根据控制器池中至少一个 SDN控制器的负载状态信息选择的 SDN 控制器;  Receiving a control rule sent by the main controller, where the control rule is a rule for controlling, corresponding to the node type, obtained by the main controller according to a node type, where the main controller is a controller according to the controller The SDN controller selected by the load status information of at least one SDN controller in the pool;
根据所述控制规则进行配置。  Configure according to the control rules.
8、 根据权利要求 7所述的基于 SDN的网络配置方法, 其特征在于, 所述方法还包括:  The SDN-based network configuration method according to claim 7, wherein the method further includes:
接收所述主控装置发送的分配结果, 所述分配结果包括所分配的所述 主控制器;  Receiving an allocation result sent by the main control device, where the allocation result includes the allocated primary controller;
根据所述分配结果, 向所述主控制器发送携带有所述节点类型的请求 信息, 以使所述主控制器根据所述请求信息获得与所述节点类型对应的控 制规则。  And transmitting, according to the allocation result, request information carrying the node type to the main controller, so that the main controller obtains a control rule corresponding to the node type according to the request information.
9、 根据权利要求 7或 8所述的基于 SDN的网络配置方法, 其特征在 于, 所述方法还包括:  The SDN-based network configuration method according to claim 7 or 8, wherein the method further comprises:
将所述节点类型发送给所述主控装置, 以使所述主控装置将所述节点 类型发送给所述主控制器。  Transmitting the node type to the master device to cause the master device to send the node type to the master controller.
10、 一种基于 SDN的网络配置方法, 其特征在于, 包括:  10. An SDN-based network configuration method, comprising:
主控制器根据节点类型, 获取与所述节点类型对应的控制规则, 所述 节点类型为从主控装置接收到的, 或者从数据库中获取到的所述节点的类 型, 所述主控制器为控制器池中的 SDN控制器, 所述主控制器为主控装置 根据所述控制器池中至少一个 SDN控制器的负载状态信息, 为所述节点分 配的、 作为主控制器的 SDN控制器;  The master controller acquires a control rule corresponding to the node type according to the node type, where the node type is received from the master device, or is obtained from a database, and the master controller is An SDN controller in the controller pool, wherein the main controller is an SDN controller allocated to the node as a main controller according to load status information of at least one SDN controller in the controller pool ;
所述主控制器将所述控制规则发送给所述节点, 以使所述节点根据所 述控制规则进行配置。 The primary controller sends the control rule to the node to cause the node to configure according to the control rule.
1 1、 根据权利要求 10所述的基于 SDN的网络配置方法, 其特征在于, 所述主控制器根据节点类型, 获取与所述节点类型对应的控制规则包括: 所述主控制器接收所述节点发送的携带有所述节点类型的请求信息; 所述主控制器根据所述请求信息, 为所述节点配置与所述节点类型对 应的控制规则。 The SDN-based network configuration method according to claim 10, wherein the master controller acquires a control rule corresponding to the node type according to a node type, where: the main controller receives the And sending, by the node, request information that carries the node type; and the primary controller configures, according to the request information, a control rule corresponding to the node type for the node.
12、根据权利要求 10或 11所述的基于 SDN的网络配置方法, 其特征在 于, 所述方法还包括:  The SDN-based network configuration method according to claim 10 or 11, wherein the method further comprises:
所述主控制器将负载状态信息发送给所述主控装置, 以供所述主控装 置根据控制器池中至少一个 SDN控制器的负载状态信息, 获得为所述节点 分配控制器的分配结果, 所述分配结果包括为所述节点分配的主控制器和 The main controller sends the load status information to the main control device, so that the main control device obtains an allocation result of the controller for the node according to load status information of at least one SDN controller in the controller pool. The allocation result includes a primary controller and a node assigned to the node
/或从属控制器。 / or slave controller.
13、 一种基于 SDN的网络配置方法, 其特征在于, 包括:  13. An SDN-based network configuration method, comprising:
从主控制器或节点标识对应的节点, 获取与所述节点标识对应的控制规 则;  Obtaining a control rule corresponding to the node identifier from a node corresponding to the primary controller or the node identifier;
其中, 所述节点标识为从主控装置接收到的所述节点的标识信息; 所 述控制规则是主控制器根据所述节点类型获得的、 与所述节点类型对应的用 于控制的规则;所述主控制器为所述主控装置根据控制器池中至少一个 SDN 控制器的负载状态信息选择的 SDN控制器。  The node identifier is identifier information of the node that is received from the master device; the control rule is a rule for control that is obtained by the master controller according to the node type and corresponding to the node type; The main controller is an SDN controller selected by the main control device according to load status information of at least one SDN controller in the controller pool.
14、 根据权利要求 13所述的基于 SDN的网络配置方法, 其特征在于, 所述方法还包括:  The SDN-based network configuration method according to claim 13, wherein the method further includes:
将负载状态信息发送给所述主控装置, 以供所述主控装置根据控制器 池中至少一个 SDN控制器的负载状态信息, 获得为所述节点分配控制器的 分配结果, 所述分配结果包括为所述节点分配的主控制器和 /或从属控制 器。  Transmitting the load status information to the main control device, so that the main control device obtains an allocation result of the controller for the node according to load status information of at least one SDN controller in the controller pool, and the allocation result A master controller and/or a slave controller assigned to the node are included.
15、 一种主控装置, 其特征在于, 包括:  15. A main control device, comprising:
处理单元,用于根据控制器池中至少一个 SDN控制器的负载状态信息, 获得为节点分配控制器的分配结果, 所述分配结果包括为所述节点分配的 主控制器, 所述主控制器为所述控制器池中的 SDN控制器;  a processing unit, configured to obtain, according to load state information of at least one SDN controller in the controller pool, an allocation result of the controller for the node, where the allocation result includes a primary controller allocated to the node, the primary controller Is the SDN controller in the controller pool;
发送单元, 用于将所述节点的节点类型发送给所述主控制器, 以供所 述主控制器根据所述节点类型, 获取与所述节点类型对应的控制规则, 并 将所述控制规则发送给所述节点。 a sending unit, configured to send, to the main controller, a node type of the node, where the main controller acquires a control rule corresponding to the node type according to the node type, and Sending the control rule to the node.
16、 根据权利要求 15所述的主控装置, 其特征在于, 所述处理单元 获得的所述分配结果还包括为所述节点分配的从属控制器;  The master device according to claim 15, wherein the allocation result obtained by the processing unit further includes a slave controller allocated to the node;
相应地, 所述发送单元还用于:  Correspondingly, the sending unit is further configured to:
将所述节点的节点标识发送给所述从属控制器, 以供所述从属控制器 从所述主控制器或所述节点标识对应的节点, 获取与所述节点标识对应的 控制规则。  Sending the node identifier of the node to the slave controller, so that the slave controller obtains a control rule corresponding to the node identifier from the master controller or a node corresponding to the node identifier.
17、 根据权利要求 15所述的主控装置, 其特征在于, 所述发送单元 还用于:  The main control device according to claim 15, wherein the sending unit is further configured to:
将所述分配结果发送给所述节点, 以供所述节点根据所述分配结果, 向所述主控制器发送携带有所述节点类型的请求信息, 以使所述主控制器 根据所述节点类型, 为所述节点配置与所述节点类型对应的控制规则, 并 将所述控制规则发送给所述节点。  Transmitting the allocation result to the node, so that the node sends request information carrying the node type to the primary controller according to the allocation result, so that the primary controller is configured according to the node Type, configuring a control rule corresponding to the node type for the node, and sending the control rule to the node.
18、 根据权利要求 15-17中任一所述的主控装置, 其特征在于, 所述 处理单元还用于:  The main control device according to any one of claims 15-17, wherein the processing unit is further configured to:
根据所述至少一个 SDN控制器的负载状态信息, 为所述至少一个 SDN 控制器分别配置权值; 根据所述至少一个 SDN控制器的权值, 获得为所述 节点分配控制器的分配结果。  And configuring, according to the load status information of the at least one SDN controller, a weight for the at least one SDN controller; and obtaining, according to the weight of the at least one SDN controller, an allocation result of the controller for the node.
19、 根据权利要求 15-17中任一所述的主控装置, 其特征在于, 所述 主控装置还包括:  The main control device according to any one of claims 15-17, wherein the main control device further comprises:
获取单元, 用于接收所述至少一个 SDN控制器分别发送的负载状态信 息; 或者向所述至少一个 SDN控制器分别获取负载状态信息。  And an acquiring unit, configured to receive load status information separately sent by the at least one SDN controller; or separately obtain load status information from the at least one SDN controller.
20、 根据权利要求 15-17中任一所述的主控装置, 其特征在于, 所述 获取单元还用于:  The main control device according to any one of claims 15-17, wherein the obtaining unit is further configured to:
接收所述节点发送的节点类型;或者从数据库中获取所述节点的节点类 型。  Receiving a node type sent by the node; or obtaining a node type of the node from a database.
21、 一种节点, 其特征在于, 包括:  21. A node, comprising:
接收单元, 用于接收主控制器发送的控制规则, 所述控制规则是所述 主控制器根据节点类型获得的、 与所述节点类型对应的用于控制的规则, 所述主控制器为主控装置根据控制器池中至少一个 SDN控制器的负载状态 信息选择的 SDN控制器; a receiving unit, configured to receive a control rule sent by the main controller, where the control rule is a rule for controlling, corresponding to the node type, obtained by the main controller according to a node type, where the main controller is The control device is based on the load status of at least one SDN controller in the controller pool SDN controller for information selection;
配置单元, 用于根据所述控制规则进行配置。  a configuration unit, configured to perform configuration according to the control rule.
22、 根据权利要求 21 所述的节点, 其特征在于, 所述接收单元还用 于:  The node according to claim 21, wherein the receiving unit is further configured to:
接收所述主控装置发送的分配结果, 所述分配结果包括所分配的所述 主控制器;  Receiving an allocation result sent by the main control device, where the allocation result includes the allocated primary controller;
相应地, 所述节点还包括:  Correspondingly, the node further includes:
发送单元, 用于根据所述分配结果, 向所述主控制器发送携带有所述 节点类型的请求信息, 以使所述主控制器根据所述请求信息获得与所述节 点类型对应的控制规则。  a sending unit, configured to send request information carrying the node type to the primary controller according to the allocation result, so that the primary controller obtains a control rule corresponding to the node type according to the request information. .
23、 根据权利要求 21或 22所述的节点, 其特征在于, 所述发送单元 还用于:  The node according to claim 21 or 22, wherein the sending unit is further configured to:
将所述节点类型发送给所述主控装置, 以使所述主控装置将所述节点 类型发送给所述主控制器。  Transmitting the node type to the master device to cause the master device to send the node type to the master controller.
24、 一种主控制器, 其特征在于, 包括:  24. A main controller, comprising:
处理单元,用于根据节点类型,获取与所述节点类型对应的控制规则, 所述节点类型为从主控装置接收到的, 或者从数据库中获取到的所述节点 的类型, 所述主控制器为控制器池中的 SDN控制器, 所述主控制器为主控 装置根据所述控制器池中至少一个 SDN控制器的负载状态信息, 为所述节 点分配的、 作为主控制器的 SDN控制器;  a processing unit, configured to acquire, according to a node type, a control rule corresponding to the node type, where the node type is received from a master device, or a type of the node acquired from a database, the master control The controller is an SDN controller in the controller pool, and the master controller is an SDN assigned to the node as a primary controller according to load status information of at least one SDN controller in the controller pool. Controller
发送单元, 用于将所述控制规则发送给所述节点, 以使所述节点根据 所述控制规则进行配置。  And a sending unit, configured to send the control rule to the node, so that the node is configured according to the control rule.
25、 根据权利要求 24所述的主控制器, 其特征在于, 所述处理单元 还用于:  The main controller according to claim 24, wherein the processing unit is further configured to:
接收所述节点发送的携带有所述节点类型的请求信息;  Receiving request information that is sent by the node and carrying the type of the node;
根据所述请求信息, 为所述节点配置与所述节点类型对应的控制规 则。  Based on the request information, a control rule corresponding to the node type is configured for the node.
26、 根据权利要求 24或 25所述的主控制器, 其特征在于, 所述发送 单元还用于:  The main controller according to claim 24 or 25, wherein the transmitting unit is further configured to:
将负载状态信息发送给所述主控装置, 以供所述主控装置根据控制器 池中至少一个 SDN控制器的负载状态信息, 获得为所述节点分配控制器的 分配结果, 所述分配结果包括为所述节点分配的主控制器和 /或从属控制 器。 Transmitting load status information to the main control device for the main control device to be based on the controller The load status information of at least one SDN controller in the pool obtains an allocation result for the node allocation controller, the allocation result including a primary controller and/or a slave controller assigned to the node.
27、 一种从属控制器, 其特征在于, 包括:  27. A slave controller, comprising:
获取单元, 用于从主控制器或节点标识对应的节点, 获取与所述节点标 识对应的控制规则;  An obtaining unit, configured to acquire, from a node corresponding to the primary controller or the node identifier, a control rule corresponding to the node identifier;
其中, 所述节点标识为从主控装置接收到的所述节点的标识信息; 所 述控制规则是主控制器根据所述节点类型获得的、 与所述节点类型对应的用 于控制的规则;所述主控制器为所述主控装置根据控制器池中至少一个 SDN 控制器的负载状态信息选择的 SDN控制器。  The node identifier is identifier information of the node that is received from the master device; the control rule is a rule for control that is obtained by the master controller according to the node type and corresponding to the node type; The main controller is an SDN controller selected by the main control device according to load status information of at least one SDN controller in the controller pool.
28、 根据权利要求 27所述的从属控制器, 其特征在于, 所述从属控 制器还包括:  The slave controller according to claim 27, wherein the slave controller further comprises:
发送单元, 用于将负载状态信息发送给所述主控装置, 以供所述主控 装置根据控制器池中至少一个 SDN控制器的负载状态信息, 获得为所述节 点分配控制器的分配结果, 所述分配结果包括为所述节点分配的主控制器 和 /或从属控制器。  a sending unit, configured to send load status information to the main control device, where the main control device obtains an allocation result of the controller for the node according to load status information of at least one SDN controller in the controller pool The allocation result includes a primary controller and/or a secondary controller assigned to the node.
29、 一种主控装置, 其特征在于, 包括:  29. A master control device, comprising:
处理器、 存储器、 总线和通信接口; 所述处理器、 所述存储器、 所述 通信接口通过所述总线连接并完成相互间的通信;  a processor, a memory, a bus, and a communication interface; the processor, the memory, and the communication interface are connected by the bus and complete communication with each other;
所述通信接口,用于与如权利要求 21-23中任一所述的节点通信连接, 与如权利要求 24-26中任一所述的主控制器通信连接, 以及与如权利要求 27或 28所述的从属控制器通信连接;  The communication interface for communicating with a node according to any one of claims 21-23, in communication with the main controller of any of claims 24-26, and with claim 27 or The slave controller communication connection described in 28;
所述存储器, 用于存放程序;  The memory is configured to store a program;
所述处理器, 用于执行所述程序;  The processor, configured to execute the program;
其中, 所述程序用于根据控制器池中至少一个 SDN控制器的负载状态 信息, 获得为节点分配控制器的分配结果, 所述分配结果包括为所述节点 分配的主控制器, 所述主控制器为所述控制器池中的 SDN控制器;  The program is configured to obtain, according to load state information of at least one SDN controller in the controller pool, an allocation result of the controller for the node, where the allocation result includes a primary controller allocated to the node, where the primary The controller is an SDN controller in the controller pool;
将所述节点的节点类型发送给所述主控制器, 以供所述主控制器根据 所述节点类型, 获取与所述节点类型对应的控制规则, 并将所述控制规则 发送给所述节点。 Sending a node type of the node to the main controller, so that the main controller acquires a control rule corresponding to the node type according to the node type, and sends the control rule to the node .
30、 一种节点, 其特征在于, 包括: 30. A node, comprising:
处理器、 存储器、 总线和通信接口; 所述处理器、 所述存储器、 所述 通信接口通过所述总线连接并完成相互间的通信;  a processor, a memory, a bus, and a communication interface; the processor, the memory, and the communication interface are connected by the bus and complete communication with each other;
所述通信接口, 用于与如权利要求 15-20中任一所述的主控装置通信 连接, 与如权利要求 24-26中任一所述的主控制器通信连接, 以及与如权 利要求 27或 28所述的从属控制器通信连接; 用于接收主控制器发送的控 制规则, 所述控制规则是所述主控制器根据节点类型获得的、 与所述节点 类型对应的用于控制的规则, 所述主控制器为主控装置根据控制器池中至 少一个 SDN控制器的负载状态信息选择的 SDN控制器;  The communication interface for communicating with a master device according to any one of claims 15-20, in communication with the host controller of any of claims 24-26, and with the claims The slave controller communication connection of 27 or 28, configured to receive a control rule sent by the main controller, where the control rule is used by the main controller according to the node type and corresponding to the node type for control a rule, the primary controller is an SDN controller selected by the master device according to load status information of at least one SDN controller in the controller pool;
所述存储器, 用于存放程序;  The memory is configured to store a program;
所述处理器, 用于执行所述程序;  The processor, configured to execute the program;
其中, 所述程序用于根据所述控制规则进行配置。  The program is configured to be configured according to the control rule.
31、 一种主控制器, 其特征在于, 包括:  31. A main controller, comprising:
处理器、 存储器、 总线和通信接口; 所述处理器、 所述存储器、 所述 通信接口通过所述总线连接并完成相互间的通信;  a processor, a memory, a bus, and a communication interface; the processor, the memory, and the communication interface are connected by the bus and complete communication with each other;
所述通信接口, 用于与如权利要求 15-20中任一所述的主控装置通信 连接, 与如权利要求 21-23中任一所述的节点通信连接, 以及与如权利要 求 27或 28所述的从属控制器通信连接;  The communication interface for communicating with a master device according to any one of claims 15-20, in communication with a node according to any of claims 21-23, and with claim 27 or The slave controller communication connection described in 28;
所述存储器, 用于存放程序;  The memory is configured to store a program;
所述处理器, 用于执行所述程序;  The processor, configured to execute the program;
其中, 所述程序用于根据节点类型, 获取与所述节点类型对应的控制 规则, 所述节点类型为从主控装置接收到的, 或者从数据库中获取到的所 述节点的类型, 所述主控制器为控制器池中的 SDN控制器, 所述主控制器 为主控装置根据所述控制器池中至少一个 SDN控制器的负载状态信息, 为 所述节点分配的、 作为主控制器的 SDN控制器;  The program is configured to obtain, according to a node type, a control rule corresponding to the node type, where the node type is received from a master device, or a type of the node acquired from a database, The main controller is an SDN controller in the controller pool, and the main controller is assigned to the node as a main controller according to load status information of at least one SDN controller in the controller pool. SDN controller;
将所述控制规则发送给所述节点, 以使所述节点根据所述控制规则进 行配置。  The control rules are sent to the node to cause the node to configure according to the control rules.
32、 一种从属控制器, 其特征在于, 包括:  32. A slave controller, comprising:
处理器、 存储器、 总线和通信接口; 所述处理器、 所述存储器、 所述 通信接口通过所述总线连接并完成相互间的通信; 所述通信接口, 用于与如权利要求 15-20中任一所述的主控装置通信 连接, 与如权利要求 21-23中任一所述的节点通信连接, 以及与如权利要 求 24-26中任一所述的主控制器通信连接; a processor, a memory, a bus, and a communication interface; the processor, the memory, and the communication interface are connected by the bus and complete communication with each other; The communication interface for communicating with a master device according to any of claims 15-20, in communication with a node according to any of claims 21-23, and with claim 24- The main controller communication connection of any one of 26;
所述存储器, 用于存放程序;  The memory is configured to store a program;
所述处理器, 用于执行所述程序;  The processor, configured to execute the program;
其中, 所述程序用于从主控制器或节点标识对应的节点, 获取与所述节 点标识对应的控制规则;  The program is configured to obtain, from a node corresponding to the primary controller or the node identifier, a control rule corresponding to the node identifier;
其中, 所述节点标识为从主控装置接收到的所述节点的标识信息; 所 述控制规则是主控制器根据所述节点类型获得的、 与所述节点类型对应的用 于控制的规则;所述主控制器为所述主控装置根据控制器池中至少一个 SDN 控制器的负载状态信息选择的 SDN控制器。  The node identifier is identifier information of the node that is received from the master device; the control rule is a rule for control that is obtained by the master controller according to the node type and corresponding to the node type; The main controller is an SDN controller selected by the main control device according to load status information of at least one SDN controller in the controller pool.
33、 一种基于 SDN的通信系统, 其特征在于, 包括如权利要求 15-20 中任一所述的或如权利要求 29 所述的主控装置, 至少一个如权利要求 21-23 中任一所述的或如权利要求 30 所述的节点, 至少一个如权利要求 24-26中任一所述的或如权利要求 31所述的主控制器,以及至少一个如权 利要求 27或 28所述的或如权利要求 32所述的从属控制器;  33. An SDN-based communication system, comprising: the master device according to any one of claims 15-20 or according to claim 29, at least one of claims 21-23 Or a node according to claim 30, at least one main controller according to any one of claims 24-26 or according to claim 31, and at least one of claims 27 or 28. Or the slave controller of claim 32;
所述主控装置、 所述节点、 所述主控制器与所述从属控制器之间通信 连接。  The master device, the node, the master controller and the slave controller are in communication connection.
PCT/CN2013/075198 2013-05-06 2013-05-06 Network configuration method, device and system based on sdn WO2014179923A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201380035264.4A CN104429028B (en) 2013-05-06 2013-05-06 Network collocating method, apparatus and system based on SDN
PCT/CN2013/075198 WO2014179923A1 (en) 2013-05-06 2013-05-06 Network configuration method, device and system based on sdn

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/075198 WO2014179923A1 (en) 2013-05-06 2013-05-06 Network configuration method, device and system based on sdn

Publications (1)

Publication Number Publication Date
WO2014179923A1 true WO2014179923A1 (en) 2014-11-13

Family

ID=51866594

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/075198 WO2014179923A1 (en) 2013-05-06 2013-05-06 Network configuration method, device and system based on sdn

Country Status (2)

Country Link
CN (1) CN104429028B (en)
WO (1) WO2014179923A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104917750A (en) * 2015-04-16 2015-09-16 中国科学院计算技术研究所 SDN-faced control layer and data layer communication channel self-configuration method and system thereof
WO2019006708A1 (en) * 2017-07-05 2019-01-10 全球能源互联网研究院有限公司 Sdn multi-domain network backup method and system based on dual-port switch
CN113746682A (en) * 2021-09-07 2021-12-03 迈普通信技术股份有限公司 Configuration guarantee method and device

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9575689B2 (en) * 2015-06-26 2017-02-21 EMC IP Holding Company LLC Data storage system having segregated control plane and/or segregated data plane architecture
CN106559459A (en) * 2015-09-29 2017-04-05 中国电信股份有限公司 SDN controller distribution methods, SDN controllers multicast group and network system
JP6728745B2 (en) * 2016-02-19 2020-07-22 ヤマハ株式会社 Server and system
TWI639325B (en) * 2017-09-01 2018-10-21 財團法人工業技術研究院 Automatically configured switch,method of automatically configuring a switch, and software defined network system with auto-deployment switches and auto-deploying method thereof
CN108173827B (en) * 2017-12-22 2020-09-08 南京邮电大学 Block chain thinking-based distributed SDN control plane security authentication method
CN109450709B (en) * 2018-12-20 2022-02-11 新华三技术有限公司 Asynchronous message configuration method, uploading method, controller and network equipment
CN111913838A (en) * 2019-05-07 2020-11-10 杭州海康威视数字技术股份有限公司 Analysis node starting method and device, electronic equipment and storage medium
CN113890850B (en) * 2020-07-01 2023-06-06 阿里巴巴集团控股有限公司 Route disaster recovery system and method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102594697A (en) * 2012-02-21 2012-07-18 华为技术有限公司 Load balancing method and device
CN102640464A (en) * 2009-11-26 2012-08-15 日本电气株式会社 Load distribution system, load distribution method, and program
CN102882719A (en) * 2012-09-26 2013-01-16 盛科网络(苏州)有限公司 Method and system for implementation of redundant backup of controllers in Openflow switch system
US20130028091A1 (en) * 2011-07-27 2013-01-31 Nec Corporation System for controlling switch devices, and device and method for controlling system configuration

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102946325B (en) * 2012-11-14 2015-06-03 中兴通讯股份有限公司 Network diagnosis method, system and equipment based on software defined network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102640464A (en) * 2009-11-26 2012-08-15 日本电气株式会社 Load distribution system, load distribution method, and program
US20130028091A1 (en) * 2011-07-27 2013-01-31 Nec Corporation System for controlling switch devices, and device and method for controlling system configuration
CN102594697A (en) * 2012-02-21 2012-07-18 华为技术有限公司 Load balancing method and device
CN102882719A (en) * 2012-09-26 2013-01-16 盛科网络(苏州)有限公司 Method and system for implementation of redundant backup of controllers in Openflow switch system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104917750A (en) * 2015-04-16 2015-09-16 中国科学院计算技术研究所 SDN-faced control layer and data layer communication channel self-configuration method and system thereof
CN104917750B (en) * 2015-04-16 2017-11-21 中国科学院计算技术研究所 A kind of key-course towards SDN and data Layer communication port self-configuration method and its system
WO2019006708A1 (en) * 2017-07-05 2019-01-10 全球能源互联网研究院有限公司 Sdn multi-domain network backup method and system based on dual-port switch
CN113746682A (en) * 2021-09-07 2021-12-03 迈普通信技术股份有限公司 Configuration guarantee method and device

Also Published As

Publication number Publication date
CN104429028A (en) 2015-03-18
CN104429028B (en) 2018-01-12

Similar Documents

Publication Publication Date Title
WO2014179923A1 (en) Network configuration method, device and system based on sdn
US11075802B2 (en) Methods for dynamic router configuration in a mesh network
US11838203B2 (en) Multipath data transmission method and device
US10462828B2 (en) Policy and billing services in a cloud-based access solution for enterprise deployments
JP6355705B2 (en) System and method for accessing a network
CN108737157B (en) Gateway system, device and communication method
JP7196282B2 (en) Communication method and communication device
WO2016004556A1 (en) Service flow processing method, apparatus and device
WO2012130085A1 (en) Method and device for establishing connection with network management system, and communication system
US20240015533A1 (en) Control apparatus for gateway in mobile communication system
WO2014179920A1 (en) Sdn-based network configuration method, apparatus and system
JP6747761B2 (en) Communication system and method
WO2018129807A1 (en) Communication method, network exposure function network element, and control plane network element
WO2014101755A1 (en) Service data shunting method and system
US20230146807A1 (en) Supporting dynamic host configuration protocol-based customer premises equipment in fifth generation wireline and wireless convergence
WO2011006320A1 (en) Attachment method and system with identifier and location splitting in next generation network
KR101481337B1 (en) Mobile Communication System Based on Software Defined Networks and Method for Processing Access of Mobile Equipment thereof
WO2018054272A1 (en) Data transmission method and device, and computer storage medium
WO2011120365A1 (en) Method and system for establishing connection between multi-homed terminals
WO2017124231A1 (en) Internet protocol (ip) address allocation method, control plane gateway and user plane gateway
JP5937563B2 (en) Communication base station and control method thereof
WO2012089032A1 (en) Data transmission method using multiple access methods, and access device
WO2016173296A1 (en) Access method and system for mobile network classification architecture
WO2012155424A1 (en) Method and system for multiple address-prefixes assignment
WO2013155938A1 (en) Method and device for informing of user address

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: 13883971

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13883971

Country of ref document: EP

Kind code of ref document: A1