WO2015013896A1 - 一种网络控制方法及装置 - Google Patents

一种网络控制方法及装置 Download PDF

Info

Publication number
WO2015013896A1
WO2015013896A1 PCT/CN2013/080444 CN2013080444W WO2015013896A1 WO 2015013896 A1 WO2015013896 A1 WO 2015013896A1 CN 2013080444 W CN2013080444 W CN 2013080444W WO 2015013896 A1 WO2015013896 A1 WO 2015013896A1
Authority
WO
WIPO (PCT)
Prior art keywords
controller
backup
network
resource information
network resource
Prior art date
Application number
PCT/CN2013/080444
Other languages
English (en)
French (fr)
Inventor
李刚
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201380001226.7A priority Critical patent/CN103596652B/zh
Priority to ES13890606.0T priority patent/ES2645102T3/es
Priority to EP13890606.0A priority patent/EP3016316B1/en
Priority to PCT/CN2013/080444 priority patent/WO2015013896A1/zh
Publication of WO2015013896A1 publication Critical patent/WO2015013896A1/zh

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/06Management of faults, events, alarms or notifications
    • 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/34Signalling channels for network management communication
    • H04L41/342Signalling channels for network management communication between virtual entities, e.g. orchestrators, SDN or NFV entities

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a network control method and apparatus. Background technique
  • the industry has proposed Software Defined Network (SDN).
  • SDN mainly includes: a northbound interface connecting the upper layer application, an SDN controller, a switch supporting the SDN controller, and a system component such as a southbound interface between the SDN controller and the switch.
  • the SDN controller is the core system component of SDN, and there are too many real-time functions to be supported. Therefore, the SDN controller has the following performance risks:
  • the method for solving the performance risk of the SDN controller is to divide the controller into a main controller and a backup controller.
  • the main controller controls the network, and simultaneously backs up the data to the backup controller, and the devices in the network simultaneously There is a communication address for the primary controller and the backup controller.
  • the primary controller fails, enable the backup controller to prevent network failure.
  • the embodiment of the invention provides a network control method and device, which are used to solve the problem that the network of the SDN controller is not up to the requirements when the network controlled by the SDN controller is large in the prior art. Congestion problem.
  • an embodiment of the present invention provides a network control method, including:
  • controller cluster includes a sub-domain controller and a parent controller, where the sub-domain controller discovers and controls the sub-domain network, The parent controller controls the global network based on the subdomain controller;
  • Determining a fault controller determining a backup controller according to network resource information and running state information of each controller in the controller cluster, and forwarding network resource information of the fault controller to the backup controller, so as to The backup controller controls the network controlled by the faulty controller.
  • acquiring network resource information of each controller in the controller cluster includes:
  • determining backup control according to network resource information and running state information of each controller in the controller cluster And forwarding the network resource information of the fault controller to the backup controller, so that the backup controller controls the corresponding network specifically:
  • the backup controller When the backup controller is determined to be N backup controllers according to network resource information and running state information of each controller in the controller cluster, the network resource information of the fault controller is divided into N partial network resource information. And respectively sent to the N backup sub-domain controllers, so that each backup sub-domain controller reconstructs and controls the network controlled by the fault controller according to the obtained partial network resource information, where N is A positive integer greater than one.
  • determining the fault controller Specifically include:
  • controller Upon receiving the controller application information, obtaining a communication address of a node that sends the controller application information, determining a fault according to the communication address of the node and the network resource information of each controller in the controller cluster acquired synchronously. Controller; or, When determining a session interruption between the proxy server and the controller, the controller is determined to be a failed controller.
  • the fault controller is a sub-domain controller, and the determining, by the network resource information and the running state information of each controller in the controller cluster, the backup controller, specifically:
  • a backup sub-domain controller Determining, according to network resource information and running state information of each controller in the controller cluster, a backup sub-domain controller as a backup controller, where the backup sub-domain controller is a newly enabled sub-domain controller, or A subdomain controller in the controller cluster that is in an available state.
  • the network resource information of the fault controller is forwarded to the backup controller, so that the backup
  • the controller controls the network controlled by the fault controller, specifically:
  • the fault controller is a parent controller, and the determining, by the network resource information and the running state information of each controller in the controller cluster, the backup controller, specifically:
  • a backup parent controller as a backup controller, wherein the backup parent controller is a newly enabled parent controller, or the controller The parent controller in the cluster that is available.
  • the network resource information of the fault controller is forwarded to the backup controller, so that The backup controller controls the network controlled by the fault controller, and specifically includes:
  • the subdomain controller is controlled such that the backup parent controller controls the global network controlled by the faulty controller.
  • the embodiment of the present invention provides a network control method, which includes: synchronizing acquiring network resource information of each controller in a controller cluster, where the controller cluster includes a sub-domain controller and a parent controller.
  • the sub-domain controller discovers and controls the sub-domain network, and the parent controller controls the global network based on the sub-domain controller;
  • the fault controller is determined, and the corresponding backup controller is notified to control the network controlled by the fault controller.
  • the network resource information includes at least service information or/and routing information.
  • determining the fault controller includes:
  • controller application information Upon receiving the controller application information, obtaining a communication address of a node that sends the controller application information, determining a fault according to the communication address of the node and the network resource information of each controller in the controller cluster acquired synchronously. Controller; or,
  • the controller is determined to be a failed controller.
  • each controller The network resource information is synchronized to the corresponding backup controller, which specifically includes:
  • the physical device is used as a backup controller of the controller.
  • an embodiment of the present invention provides a network control apparatus, including:
  • An acquiring module configured to obtain network resource information and running state information of each controller in the controller cluster, where the controller cluster includes a sub-domain controller and a parent controller, where the sub-domain controller discovers and controls the sub-domain controller a domain network, the parent controller controls a global network based on the child domain controller; and a determining module, configured to determine the fault controller;
  • a forwarding module configured to determine, according to network resource information and running state information of each controller in the controller cluster, a backup controller, and forward network resource information of the fault controller to the backup controller, so as to The backup controller controls the network controlled by the faulty controller.
  • the acquiring module is specifically configured to:
  • the forwarding module is specifically configured to:
  • the backup controller When the backup controller is determined to be N backup controllers according to network resource information and running state information of each controller in the controller cluster, the network resource information of the fault controller is divided into N partial network resource information. And respectively sent to the N backup sub-domain controllers, so that each backup sub-domain controller reconstructs and controls the network controlled by the fault controller according to the obtained partial network resource information, where N is A positive integer greater than one.
  • the determining module specifically for:
  • controller application information Upon receiving the controller application information, obtaining a communication address of a node that sends the controller application information, determining a fault according to the communication address of the node and the network resource information of each controller in the controller cluster acquired synchronously. Controller; or,
  • the forwarding module includes:
  • a first submodule configured to: when the determining module determines that the fault controller is a subdomain controller, determine backup subdomain control according to network resource information and running state information of each controller in the controller cluster As a backup controller, where the backup sub-domain controller is a newly enabled sub-domain controller, or a sub-domain controller in an available state in the controller cluster;
  • a second submodule configured to forward network resource information of the fault controller to the backup controller, so that the backup controller controls the network controlled by the fault controller.
  • the second submodule is specifically configured to:
  • the forwarding module includes:
  • a first submodule configured to: when the determining module determines that the fault controller is a parent controller, determine, according to network resource information and running state information of each controller in the controller cluster, that the backup parent controller is used as a backup a controller, wherein the backup parent controller is a newly enabled parent controller, or a parent controller in an available state in the controller cluster;
  • a second submodule configured to forward network resource information of the fault controller to the backup controller, so that the backup controller controls the network controlled by the fault controller.
  • the second sub-module is specifically configured to: Forwarding network resource information of any one of the controllers to the backup parent controller, and assigning a communication address to the backup parent controller according to the network resource information, and notifying the fault controller of the communication address
  • the subdomain controller is controlled such that the backup parent controller controls the global network controlled by the faulty controller.
  • the embodiment of the present invention further provides a network control apparatus, including:
  • An acquiring module configured to synchronously acquire network resource information of each controller in the controller cluster, where the controller cluster includes a sub-domain controller and a parent controller, where the sub-domain controller discovers and controls the sub-domain network, The parent controller controls the global network based on the subdomain controller;
  • a synchronization module configured to synchronize network resource information of each controller to a corresponding backup controller
  • a determining module is configured to determine the faulty controller, and notify the corresponding backup controller to control the network controlled by the faulty controller.
  • the network resource information includes at least service information or/and routing information.
  • the determining module is specifically configured to:
  • Upon receiving the controller application information obtaining a communication address of a node that sends the controller application information, determining a fault according to the communication address of the node and the network resource information of each controller in the controller cluster acquired synchronously. a controller, notifying the corresponding backup controller to control the network controlled by the faulty controller; or
  • the controller is determined to be a fault controller, and the corresponding backup controller is notified to control the network controlled by the fault controller.
  • the synchronization module Specifically used for:
  • the network resource information of each controller is synchronized into a physical device corresponding to the controller, and the physical device is used as a backup controller of the controller.
  • the controller cluster includes a sub-domain controller and a parent controller, wherein the sub-domain controller discovers and controls the sub-domain network, and the parent controller controls the global network based on the sub-domain controller, so that the controller can pass the controller.
  • the cluster performs hierarchical and hierarchical control on the network to realize timely processing of dense information of a large network, and avoids network congestion or controller downtime.
  • Figure 1 is a schematic diagram of an SDN network
  • FIG. 2 is a flowchart of a network control method designed according to an embodiment of the present invention
  • 4A is a topological structural diagram of a sub-domain network discovered by the sub-domain controller TC1 in the first embodiment of the present invention
  • 4B is a topological structural diagram of a sub-domain network discovered by the sub-domain controller TC2 in the first embodiment of the present invention
  • 4C is a topological structural diagram of a sub-domain network discovered by the sub-domain controller TC3 in the first embodiment of the present invention
  • 4D is a topological structural diagram of a sub-domain network discovered by the sub-domain controller TC4 in the first embodiment of the present invention
  • 5 is a link of a cross-subdomain network determined by a super controller S-TC in the first embodiment of the present invention
  • FIG. 6 is a complete network topology structure obtained by a proxy server according to Embodiment 1 of the present invention
  • FIG. 7 is an information interaction diagram when a sub-domain controller TC1 is faulty according to Embodiment 1 of the present invention
  • Another flow chart of the network control method provided by the example is a complete network topology structure obtained by a proxy server according to Embodiment 1 of the present invention.
  • FIG. 9 is a schematic diagram of a network control apparatus according to an embodiment of the present invention.
  • FIG. 10 is a schematic diagram of another network control apparatus according to an embodiment of the present invention.
  • FIG. 11 is a schematic diagram of a network control device according to an embodiment of the present disclosure
  • FIG. 12 is a schematic diagram of another network control device according to an embodiment of the present invention. detailed description
  • the network control method designed by the embodiment of the present invention includes the following steps.
  • Step 201 Obtain network resource information and running state information of each controller in the controller cluster, where the controller cluster includes a sub-domain controller and a parent controller, where the sub-domain controller discovers and controls the sub-domain network, The parent controller controls the global network based on the child domain controller.
  • Step 202 Determine a fault controller, determine a backup controller according to network resource information and running state information of each controller in the controller cluster, and forward network resource information of the fault controller to the backup controller, so that the foregoing The backup controller controls the corresponding network.
  • the execution subject of the above steps 201 and 202 may be a proxy server.
  • the fault controller can be one or more controllers, and the fault controller can be a parent controller or / and a sub-controller.
  • the controller is a general term for the sub-domain controller and the parent controller.
  • the parent controller in the embodiment of the present invention may be one controller or multiple controllers.
  • the backup controller in the embodiment of the present invention may be a newly enabled controller or a controller in a controller cluster in an available state.
  • a running controller is in good operating state and has more network resources available (can meet backup requirements), it can be used as a controller in an available state.
  • the cause of the failure of the controller may be caused by a hardware failure, or may be caused by a software or system error. Therefore, the backup controller in the embodiment of the present invention may be a newly enabled or running physical device, or may be newly built. Or running virtual machine.
  • the number of backup controllers in the embodiment of the present invention may be one. One or more.
  • step 202 can also be implemented as follows:
  • the network resource information of the fault controller is divided into partial network resource information, and Sending to each of the above backup controllers separately (for example, the corresponding data is sent to the corresponding backup controller in a corresponding manner), so that each backup controller is obtained according to the obtained Part of the network resource information, reconstructing and controlling the network controlled by the faulty controller, where ⁇ is a positive integer greater than one.
  • each backup sub-domain controller can reconstruct a sub-domain network according to the obtained partial network resource information, and control the sub-domain network.
  • the backup sub-domain controller reconstructs and controls the corresponding sub-domain network according to the obtained partial network resource information, which may include but is not limited to the following four cases:
  • Case 1 The backup controller controls a network before this. At this time, according to the part of the network resource information, the original network is merged with a part of the network included in the part of the network resource information, and reconstructed into a new sub-child. Domain network, and control the new subdomain network.
  • the backup subdomain controller is a newly enabled controller. Before this, it is not enabled (for example, hibernate, shutdown). At this time, the backup subdomain controller can directly include the part of the network resource information. Part of the subdomain network structure, re-constructed into a new sub-domain network, controlling the new sub-domain network.
  • Case 3 The backup subdomain controller controls a subdomain network before this time. At this time, the backup subdomain controller creates a new virtual machine, and uses the newly created virtual machine to include the part of the network resource information. The domain network, rebuild a new subdomain network, and control the new subdomain network.
  • Case 4 The failed subdomain controller is a virtual machine, and the cause of the failure is caused by the software part. And, when the physical device hosting the sub-domain controller is still intact, a new virtual machine is created on the physical device as a backup sub-domain controller, and the backup sub-domain controller can be based on the part of the network. Part of the subdomain network included in the resource information, reconstruct a new subdomain network, and control the new subdomain network.
  • the proxy server may divide the network resource information of the fault controller into multiple parts and send them to each backup parent control separately.
  • each part of the network resource information obtained by the backup parent controller may include a cross-subdomain link, a link information reported by the sub-domain controller, a service route across the sub-domain, and the like, such that each The backup parent controller can separately control several sub-domain controllers according to the obtained partial network resource information, and respectively reconstruct respective corresponding global networks. Since a parent controller can control several sub-domain controllers and obtain information about the sub-domain network reported by the sub-domain controller controlled by the parent controller, a global network controlled by the parent controller can include its control. The link reported by the subdomain controller and the cross-subdomain link.
  • the network resource information of each controller in the controller cluster is obtained by using the following specific manners:
  • This synchronization process can be either real-time synchronization or periodic synchronization.
  • the proxy server can obtain the network resource information and the running status information of the controller cluster in time, which can realize the dynamic protection of the controller cluster and prevent the network fault caused by the controller failure.
  • the network resource information of the controller in step 201 may include, but is not limited to, link resource information, node resource information, a communication address of a node controlled by the controller, service information including a service route, and routing information, and the like.
  • the operational status information of the controller may be, but is not limited to, including a central processing unit (central processing unit) usage percentage or/and memory usage percentage, and the like.
  • the proxy server can determine the controller failure according to the following methods: Manner 1: When receiving the controller application information, obtaining a communication address of a node that sends the controller application information, and determining, according to the communication address of the node and the network resource information of each controller in the controller cluster acquired synchronously, Fault controller.
  • Manner 2 When determining the session interruption between the proxy server and the controller, determine that the controller is a failed controller.
  • the controller application information may be sent by a device disconnected from the sub-domain controller in the sub-domain network, and when the fault controller is a parent controller, the controller The application information may be sent by a subdomain controller that is disconnected from the parent controller.
  • the controller application information may include, but is not limited to, information such as: communication address information of the fault controller, communication address information of a node transmitting the controller application information, and the like.
  • the process of determining the backup controller can be divided into the following two cases:
  • Case 1 When the proxy server determines that the fault controller is a sub-domain controller, according to the network resource information and the running status information of each controller in the foregoing controller cluster, the backup sub-domain controller is determined as the backup controller, wherein, the backup The child domain controller is a newly enabled child domain controller, or a subdomain controller in the above controller cluster that is in an available state.
  • the above fault controller may be one or more subdomain controllers, and the backup subdomain controller may also be one or more subdomain controllers.
  • the proxy server may forward the network resource information of the fault controller to the backup subdomain controller, and allocate a communication address to the backup subdomain controller according to the network resource information, and notify the communication address. And a device in the sub-domain network controlled by the fault controller, so that the backup sub-domain controller controls the sub-domain network controlled by the fault controller.
  • Subdomains Networks can be, but are not limited to, include: devices, links, traffic routes, etc. in a subdomain network.
  • the proxy server may, but is not limited to, notify the backup sub-domain controller and the sub-controller controlled by the above two methods.
  • a device in the domain network establishes a connection:
  • the device transmitting the communication address to a device in the corresponding sub-domain network, so that the device in the sub-domain network sends a new connection request to the backup sub-domain controller based on the communication address, thereby receiving the sub-domain controller Management, to avoid the problem of wasted network resources caused by idle devices.
  • the device can notify the proxy server of the successful connection establishment.
  • Case 2 When the proxy server determines that the fault controller is the parent controller, according to the network resource information and the running state information of each controller in the foregoing controller cluster, the backup parent controller is determined as the backup controller, wherein the backup parent control Is the newly enabled parent controller, or the parent controller in the above controller cluster that is available.
  • the network resource information of any one of the controllers may be forwarded to the backup parent controller, and a communication address is allocated to the backup parent controller according to the network resource information, and the communication address is notified by the fault controller.
  • the sub-domain controller is such that the backup parent controller controls the global network controlled by the fault controller described above.
  • the global network may include, but is not limited to, a link across a sub-domain network, a virtual link reported by a sub-domain controller, and a cross-subdomain route including service routes across the sub-domain network.
  • the above fault controller can be one or more parent controllers, and the backup parent controller can also be one or more parent controllers.
  • the proxy server After the proxy server assigns a communication address (for example, an IP address and a port number) to the backup parent controller, the proxy server can, but is not limited to, notify the backup parent controller and the corresponding child domain controller by using the following two methods: Connection:
  • the backup parent controller (1) sending a communication address of the child domain controller to the backup parent controller, so that the backup parent controller establishes a connection with the child domain controller based on the communication address of the child domain controller, and declares the backup parent control to the child domain controller.
  • the device assumes the control of the global network, thereby implementing control and management of the sub-domain controller. After the backup parent controller successfully establishes the connection, it can notify the proxy server that the backup parent controller has implemented control over the child domain controller.
  • the child domain controller After the child domain controller establishes a connection with the backup parent controller, the child domain controller can notify the proxy server of the successful connection establishment.
  • the sub-domain controller is responsible for processing all network events in the corresponding sub-domain network, topology discovery of the sub-domain network, resource management of the sub-domain network, and service establishment and service management in the sub-domain network.
  • the parent controller can obtain the link, the virtual link, and the service information in the sub-domain network from the sub-domain controller, where the virtual link refers to a logical connection channel between the two nodes.
  • the parent controller is responsible for the discovery of the link across the sub-domain network, the establishment and management of the cross-subdomain service, and the parent controller can also link the link in the sub-domain network controlled by the sub-domain controller with the chain across the sub-domain network.
  • the road is combined to obtain a complete network topology.
  • link L1 in the sub-domain network controlled by the sub-domain controller, and the link L1 is: node A-node B-node C, and the sub-domain controller is on the network resource information in the sub-domain network.
  • link L1 can be converted to virtual link L, l (node A - node C).
  • H has no parent controller to notify the sub-domain controller to transmit the service data from node A to the node D through the service path L2 (node A-node C-node D), and the sub-domain controller can include the service path L2.
  • the virtual link is converted into a link, which is implemented by the path (Node A-Node B-Node C-Node D), and the service data is transmitted from Node A to Node 0.
  • the sub-domain controller can choose to report the virtual link (node A-node C) to the parent controller to save the resources of the parent controller; or directly connect the actual link (node A-node B-node C) ) is reported to the parent controller to avoid conversion between the virtual link and the actual link.
  • the sub-domain controller can report the actual link and the virtual link in the sub-domain network according to actual requirements.
  • the process of determining the link of the sub-domain network by the parent controller may be, but is not limited to, the following manner: advertising the ID information of the sub-domain network to each device in the sub-domain network through the sub-domain controller, The device in the sub-domain network can discover the links of the nodes at both ends belonging to different sub-domain networks according to the ID information of the sub-domain network, and serve as a link across the sub-domain network.
  • a device in a sub-domain network may discover a link across a sub-domain network based on an optical network OTN overhead byte link discovery method, and discover two links according to an interaction of an autonomous domain identifier (AS ID) field in the overhead byte.
  • the ID of the sub-domain network in which the terminal is located is different, so that the link across the sub-domain network is identified, and the link of the cross-sub-domain network is reported to the sub-domain controller.
  • the sub-domain controller reports the link of the cross-subdomain network reported by the device to the parent controller, so that the parent controller determines the link across the sub-domain network.
  • Embodiment 1 of the present invention will be described below with reference to FIG.
  • Embodiment 1 Referring to FIG. 3, a larger network is divided into four sub-domain networks: G1, G2, G3, and G4.
  • TC1, TC2, TC3, and TC4 are respectively four subdomain controllers, subdomain controller TC1 controls the link in subdomain network G1, subdomain controller TC2 controls the link in subdomain network G2, and subdomain controller TC3
  • the link subdomain controller in the subdomain network G3 is controlled, and the subdomain controller TC4 controls the link in the subdomain network G4.
  • the Super Controller S-TS is connected to each subdomain controller to control the link across the subdomain network.
  • Subdomain Controller in Embodiment 1 The topology of the subdomain network discovered by TC1 is shown in Figure 4A. Subdomain Controller in Embodiment 1 The topology of the subdomain network discovered by TC2 is shown in Figure 4B. Subdomain Controller in Embodiment 1 The topology of the subdomain network discovered by TC3 is shown in Figure 4C. Subdomain Controller in Embodiment 1 The topology of the subdomain network discovered by TC4 is shown in Figure 4D.
  • the super-controller in the first embodiment S-TC determines the link across the sub-domain network as shown in FIG.
  • the link in Figure 5 represents the link across the sub-domain network and the dashed line represents the link in the sub-domain network.
  • the proxy server in the first embodiment is connected to the super controller S-TC and each sub-domain controller, and the proxy server synchronously acquires the super-controller S-TC and the network resource information of each sub-domain controller. And running status information.
  • Each of the sub-domain controllers and the super-controller S-TC can synchronously transmit the link information controlled by itself, the service information including the service routing, and the running status information of the controller itself to the proxy server, so that The proxy server obtains a complete network topology, network resource information, routing information, service information including routes, and Operating status information for each controller.
  • the complete network topology obtained by the proxy server in the first embodiment is shown in FIG. 6.
  • the thick lines are the complete service paths LSP1 and LSP2 obtained by the proxy server.
  • IP Internet Protocol
  • the device a2 also establishes a connection with the proxy server according to the IP address and port number of the pre-stored proxy server, and sends a controller application information to the proxy server to apply for establishing a connection with the new sub-domain controller.
  • A3 also establishes a connection with the proxy server according to the IP address and port number of the pre-stored proxy server, and sends a controller application information to the proxy server to apply for a new sub-domain controller.
  • A20 also establishes a connection with the proxy server according to the IP address and port number of the pre-stored proxy server, and sends a controller request information to the proxy server to apply for establishing a connection with the new sub-domain controller.
  • the proxy server determines that there is a subdomain controller disconnection, and the proxy server is based on the entire network topology structure, network resource information, service path, attribute data, and operation of each running subdomain controller. Status information, it is analyzed that the sub-domain controllers TC2 and TC3 are in good running state, and the resource occupancy rate is low (for example, the CPU usage percentage is low or / and the memory usage percentage is low), and devices a2 and a3 can be assigned to sub-domain control.
  • the TC2, a20 and a1 are assigned to the subdomain controller TC3.
  • the proxy server sends the communication address (including the IP address and port number) of the sub-domain controller TC2 to the devices a2 and a3, and sends the communication address (including the IP address and port number) of the sub-domain controller TC3 to the device a1. And a20.
  • the device After the device receives the communication address of the newly assigned subdomain controller of the proxy server, it initiates a connection request to the newly assigned subdomain controller to enable the newly assigned subdomain controller to control and manage the device.
  • the devices a2 and a3 are controlled by the sub-domain controller TC2 and divided into the sub-domain network G2, and the devices al and a20 are controlled by the sub-domain controller TC3 and are divided into the sub-domain network G3.
  • the proxy server forwards the network resource information of the sub-domain controller TC1 to TC2 and TC3, and the service is
  • the path of the cross-subdomain network G1 in the path LSP1 is synchronized to the TC3, and the path of the cross-domain sub-domain network G2 in the original service path LSP2 is synchronized to the TC2.
  • the proxy server After the proxy server allocates a new sub-domain controller for the device, if the network topology structure and network resource information change, the proxy server can notify the super controller S-TC of the changed network topology structure and network resource information. And re-adjust the business path through the super controller S-TC.
  • Embodiment 2 Assuming that the parent controller is faulty, disconnecting the child controller from the parent controller sends a controller request information to the proxy server to apply for a new parent controller, and the proxy server assigns a backup parent controller to the faulty parent controller.
  • the backup parent controller can be a parent controller that was not previously enabled, or it can be a parent controller that is currently running and has more free resources.
  • the proxy server sends the network resource information previously synchronized by the failed parent controller to the backup parent controller, and sends the communication address of the backup parent controller to the disconnected child domain controller, so that the child domain controller can back up
  • the parent controller establishes a connection and collaboratively manages the network.
  • the proxy server needs to first assign a communication address to it, and then send the newly assigned communication address to the disconnected child domain controller; if the backup parent controller is current The running parent controller with more idle resources, the proxy server can directly send the backup parent controller's communication address to the disconnected child domain controller.
  • the embodiment of the present invention also designs a network control method. Referring to FIG. 8, the method includes the following steps:
  • Step 801 The proxy server synchronously acquires network resource information of each controller in the controller cluster, where the controller cluster includes a sub-domain controller and a parent controller, where the sub-domain controller discovers and controls the sub-domain network, and the parent The controller controls the global network based on the subdomain controller.
  • Step 802 The proxy server synchronizes the network resource information of each controller to the corresponding backup controller.
  • Step 803 The proxy server determines the fault controller, and notifies the corresponding backup controller to control the network controlled by the fault controller.
  • the synchronization process of the above step 802 may be real-time synchronization or periodic synchronization.
  • the embodiment of the invention discovers and controls the sub-domain network through the sub-domain controller, and the parent controller is based on the sub-domain
  • the controller controls the global network to implement hierarchical and hierarchical control of the network through the controller cluster, thereby realizing timely processing of dense information of a large network, avoiding network congestion or controller downtime, and for each
  • the controller configures the backup controller to synchronize the network resource information of the controller to the backup controller through the proxy server synchronization.
  • the backup controller can be used in place of the faulty controller to control the corresponding network. , to avoid network crashes.
  • the foregoing network resource information includes at least: service information or/and routing information.
  • the proxy server synchronizes the network resource information of each controller to the standby controller, which may include, but is not limited to, the following two possibilities:
  • the proxy server synchronizes the network resource information such as the communication address of the node controlled by the controller, the topology structure of the network, the service information, and the routing information to the standby controller.
  • the proxy server may send the communication address of the standby controller to the node controlled by the faulty controller, so that the node controlled by the faulty controller establishes a connection with the standby controller. So that the standby controller controls the node.
  • the proxy server may directly notify the standby controller to control the faulty controller after determining the faulty controller.
  • the node controlled by the fault controller since the proxy server synchronizes the communication address of the node controlled by the fault controller to the standby controller before determining the faulty controller, the proxy server may directly notify the standby controller to control the faulty controller after determining the faulty controller. The node controlled by the fault controller.
  • the proxy server determines the standby controller directly, let the device establish a connection with the primary controller and the standby controller at the same time (the primary controller is put into service, and the standby controller only acquires data synchronously), so that the standby controller
  • the same network data information as the main controller for example, the communication address of the node, the network topology, etc.
  • the proxy server can synchronize only the service information and the routing information to the standby controller.
  • the proxy server since the proxy server has established a connection with the node controlled by the faulty controller before determining the faulty controller, the proxy server can directly notify the standby controller to control the faulty controller. node.
  • the proxy server can also synchronously obtain the running status information of each controller, such as the percentage of CPU usage, the percentage of memory usage, and the like, so as to timely grasp whether the state of each controller is close to the critical point of failure.
  • the proxy server may, but is not limited to, determine any one of the controller failures by the following two methods:
  • the controller When determining the session interruption between the proxy server and the controller, it is determined that the controller is a fault controller.
  • Step 2 above may be, but is not limited to, including the following two implementation manners:
  • Method 1 Synchronize the network resource information of each controller into the virtual machine, and use the above virtual machine as the backup controller of the controller.
  • the virtual machine and the controller may be located in the same physical device, or may be located in different physical devices.
  • the virtual machine when the controller is located in a different physical device, the virtual machine may be located in one physical device separately or in the same physical device as other controllers, wherein other controllers are in the above controller cluster. Controller outside the controller.
  • Manner 2 Synchronize the network resource information of each controller into a physical device corresponding to the controller, and use the above physical device as a backup controller of the controller.
  • At least two virtual machines may be prepared in advance in the physical device, and one of the virtual machines is used as a controller to control the corresponding network.
  • the proxy server synchronizes the network information of the controller to another virtual machine as the backup controller, so that when the proxy server determines that one of the controllers is faulty, the backup controller located in the same physical device can be instantly activated ( The virtual machine is used to replace the faulty controller to control the corresponding network, so as to achieve timely disaster prevention.
  • the embodiment of the present invention also designs a network control device, as shown in FIG. 9, including:
  • the obtaining module 901 is configured to obtain network resource information and running state information of each controller in the controller cluster, where the controller cluster includes a sub-domain controller and a parent controller, where the sub-domain controller discovers and controls the sub-domain Network, the parent controller controls the global network based on the subdomain controller; a determining module 902, configured to determine a fault controller;
  • the forwarding module 903 is configured to determine, according to network resource information and running state information of each controller in the controller cluster, a backup controller, and forward the network resource information of the fault controller to the backup controller, so that the backup control is performed.
  • the device controls the network controlled by the above fault controller.
  • the obtaining module 901 is specifically configured to synchronously acquire the communication address, service information, routing information, and running status information of the node controlled by each controller in the controller cluster.
  • the obtaining module 901 acquires the network resource information of the sub-domain controller, the communication address, service information, and routing information of the device in the sub-domain network controlled by the sub-domain controller may be acquired;
  • the obtaining module 901 obtains the network resource information of the parent controller, the cross-subdomain link controlled by the parent controller, the cross-subdomain routing, and the like may be acquired.
  • the acquiring module 901 can obtain the communication address, service information, and routing information of the node controlled by each controller in the controller cluster by using the real-time synchronization mode or the periodic synchronization mode.
  • the forwarding module 903 can replace the fault controller with N backup controllers, specifically:
  • the forwarding module 903 when determining that the backup controller is the N backup controllers according to the network resource information and the running state information of each controller in the controller cluster, divides the network resource information of the fault controller into N partial network resources.
  • the information is sent to the N backup sub-domain controllers respectively, so that each backup sub-domain controller reconstructs and controls the network controlled by the fault controller according to the obtained partial network resource information, where N is greater than A positive integer of 1.
  • the foregoing determining module 902 is specifically configured to:
  • the above determining module 902 can also be based on the controller application information, or the fault stored in the device.
  • the controller related information determines that the fault controller is a parent controller or/and a child controller.
  • the forwarding module may include a first submodule and a second submodule. Since the fault controller may be a parent controller or/and a subdomain controller, the forwarding module 902 may be based on the type of the fault controller. It is not limited to being divided into the following two types.
  • the forwarding module 902 includes:
  • a first submodule configured to: when the determining module 902 determines that the fault controller is a subdomain controller, determine a backup subdomain controller according to network resource information and running state information of each controller in the controller cluster. a backup controller, where the backup subdomain controller is a newly enabled subdomain controller, or a subdomain controller in an available state in the foregoing controller cluster;
  • a second submodule configured to forward the network resource information of the fault controller to the backup controller, so that the backup controller controls the network controlled by the fault controller.
  • the second submodule is specifically configured to:
  • the foregoing forwarding module 902 includes:
  • a first submodule configured to: when the determining module 902 determines that the fault controller is a parent controller, determine, according to network resource information and running state information of each controller in the controller cluster, that the backup parent controller is used as a backup controller. , wherein the backup parent controller is a newly enabled parent controller, or a parent controller in an available state in the controller cluster;
  • a second submodule configured to forward the network resource information of the fault controller to the backup controller, so that the backup controller controls the network controlled by the fault controller.
  • the second submodule is specifically configured to:
  • the embodiment of the present invention also designs a network control device, see the figure
  • the obtaining module 1001 is configured to synchronously acquire network resource information of each controller in the controller cluster, where the controller cluster includes a sub-domain controller and a parent controller, where the sub-domain controller discovers and controls the sub-domain network, The parent controller controls the global network based on the subdomain controller;
  • a synchronization module 1002 configured to synchronize network resource information of each controller to a corresponding backup controller
  • the determining module 1003 is configured to determine the fault controller, and notify the corresponding backup controller to control the network controlled by the fault controller.
  • the network resource information includes at least service information or/and routing information.
  • the content of the above network resource information may be different according to actual conditions.
  • the network resource information may include: a communication address of the node, a topology of the network, business information, and routing information.
  • the determining module 1003 may also send the communication address of the standby controller to the node controlled by the fault controller, so that the node controlled by the fault controller and the standby controller are established. The connection is made such that the standby controller controls the node, or the determining module 1003 can directly notify the standby controller to establish a connection with the corresponding node according to the communication address of the node included in the network resource information, and control the corresponding node.
  • the network resource information may include service information and routing information, and does not include network data information (e.g., a node's communication address, network topology, etc.).
  • the proxy server determines the standby controller
  • the device directly establishes a connection with the primary controller and the standby controller, so that the standby controller learns the same network data information as the primary controller (the primary controller).
  • the service is used, and the standby controller only acquires data synchronously. Therefore, the synchronization module 1002 can synchronize the service information and the routing information to the standby controller without synchronizing the network data information of the fault controller to the standby controller.
  • the primary controller fails, informing the standby controller to control the node controlled by the failed controller.
  • the determining module 1003 is specifically configured to: Upon receiving the controller application information, obtaining a communication address of a node that sends the controller application information, and determining a fault controller according to the communication address of the node and the network resource information of each controller in the controller cluster acquired synchronously. , notifying the corresponding backup controller to control the network controlled by the fault controller; or
  • the controller is a fault controller, and the corresponding backup controller is notified to control the network controlled by the fault controller.
  • the synchronization module 1002 is specifically configured to:
  • the network resource information of each controller is synchronized to a physical device corresponding to the controller, and the above physical device is used as a backup controller of the controller.
  • a network control device is also provided in the embodiment of the present invention.
  • the method further includes: a transceiver 1101, a processor 1102, a memory 1103, and a bus 1104.
  • the wireless transceiver 1101 and the processor 1102 And the memory 1103 is connected through the bus 1104 and completes communication with each other, wherein:
  • the transceiver 1101 is mainly used to implement information interaction with each node (controller and device) in this embodiment.
  • the transceiver 1101 is configured to acquire network resource information and running state information of each controller in the controller cluster, where the controller cluster includes a sub-domain controller and a parent controller, where the foregoing sub-domain controller discovers and controls a sub-domain network, where the parent controller controls the global network based on the sub-domain controller;
  • the processor 1102 is configured to invoke the program code in the memory 1103, to perform the following operations: determining a fault controller, determining a backup controller according to network resource information and running state information of each controller in the controller cluster, and transmitting and receiving The device 1101 forwards the network resource information of the fault controller to the backup controller, so that the backup controller controls the network controlled by the fault controller.
  • an embodiment of the present invention further provides a network control device, which specifically includes: The transceiver 1201, the processor 1202, the memory 1203, and the bus 1204, and the wireless transceiver 1201, the processor 1202, and the memory 1203 are connected by the bus 1104 and complete communication with each other, where
  • the transceiver 1101 is mainly used to implement information interaction with each node (controller and device) in this embodiment.
  • the transceiver 1101 is configured to acquire network resource information and running state information of each controller in the controller cluster, where the controller cluster includes a sub-domain controller and a parent controller, where the foregoing sub-domain controller discovers and controls a sub-domain network, where the parent controller controls the global network based on the sub-domain controller;
  • the processor 1102 is configured to invoke the program code in the memory 1103, to perform the following operations: determining a fault controller, determining a backup controller according to network resource information and running state information of each controller in the controller cluster, and transmitting and receiving The device 1101 forwards the network resource information of the fault controller to the backup controller, so that the backup controller controls the network controlled by the fault controller.
  • the bus (bus 1104 or bus 1204) may be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus, or an extended industry standard architecture (Extended Industry) Standard Architecture, EISA) Bus, etc.
  • ISA Industry Standard Architecture
  • PCI Peripheral Component
  • EISA Extended Industry Standard Architecture
  • the bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one line is used to represent the bus in Figures 11 and 12, but it does not mean that there is only one bus or one type of bus.
  • a memory (memory 1103 or memory 1203) is used to store program code, the program code including operational instructions.
  • the memory may include a random access memory (RAM), and may also include a non-volatile memory such as a disk memory.
  • the processor may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or configured to implement the embodiments of the present invention.
  • CPU central processing unit
  • ASIC application specific integrated circuit
  • the controller cluster includes a sub-domain controller and a parent controller, where the sub-domain controller discovers and controls the link in the sub-domain network, and the parent controller controls the cross-sub-domain network based on the sub-domain controller.
  • the link of the network in this way, can perform hierarchical and hierarchical control of the network through the controller cluster, realizing timely processing of dense information of a large network, and avoiding network congestion or controller downtime.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Landscapes

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

Abstract

本发明实施例提供一种网络控制方法及装置,该方法,包括:获取控制器集群中每一个控制器的网络资源信息和运行状态信息,所述控制器集群包括子域控制器和父控制器,其中,所述子域控制器发现和控制子域网络,所述父控制器基于子域控制器控制全局网络;确定故障控制器,根据所述控制器集群中每一个控制器的网络资源信息和运行状态信息确定备份控制器,将所述故障控制器的网络资源信息转发至所述备份控制器,以使所述备份控制器控制所述故障控制器控制的网络,用以解决现有技术中SDN控制器控制的网络较大时,由于SDN控制器的性能达不到要求而出现的网络拥堵的问题。

Description

一种网络控制方法及装置
技术领域
本发明涉及通信技术领域, 特别涉及一种网络控制方法及装置。 背景技术
目前, 为了解决当前网络运维管理困难、 产品化周期长、 设备成本高等 问题, 业界提出了软件定义网络(Software Defined Network, SDN )。 参阅图 1所示, SDN主要包括: 连接上层应用的北向接口、 SDN控制器、 支持 SDN 控制器的交换机,以及位于 SDN控制器与交换机之间的南向接口等系统组件。
SDN控制器是 SDN的核心系统组件, 需要支持的实时功能过多, 因此, SDN控制器具有以下性能风险:
( 1 )通过 SDN控制器的控制通道信息密集, 容易发生拥塞。
( 2 )在 SDN控制器控制的网络较大时, SDN控制器需要处理的事件较 多, 一旦 SDN控制器的性能达不到要求, 无法及时处理业务, 就会引起网络 拥堵。
( 3 )在 SDN控制器发生故障后, 网络将会瘫痪。
目前解决 SDN控制器的性能风险的方法是将控制器分为主控制器和备份 控制器, 在正常情况下, 由主控制器控制网络, 同时将数据备份到备份控制 器, 网络中的设备同时有主控制器和备份控制器的通信地址。 当主控制器故 障后, 启用备份控制器, 以防止网络瘫痪。
上述方法并不能够解决 SDN控制器控制的网络较大时, 由于 SDN控制 器的性能达不到要求而出现的网络拥堵的问题。 发明内容
本发明实施例提供一种网络控制方法及装置, 用以解决现有技术中 SDN 控制器控制的网络较大时, 由于 SDN控制器的性能达不到要求而出现的网络 拥堵的问题。
一方面, 本发明实施例提供一种网络控制方法, 包括:
获取控制器集群中每一个控制器的网络资源信息和运行状态信息, 所述 控制器集群包括子域控制器和父控制器, 其中, 所述子域控制器发现和控制 子域网络, 所述父控制器基于子域控制器控制全局网络;
确定故障控制器, 根据所述控制器集群中每一个控制器的网络资源信息 和运行状态信息确定备份控制器, 将所述故障控制器的网络资源信息转发至 所述备份控制器 , 以使所述备份控制器控制所述故障控制器控制的网络。
结合第一方面, 在第一种可能的实现方式中, 获取控制器集群中每一个 控制器的网络资源信息, 具体包括:
同步获取控制器集群中每一个控制器控制的节点的通信地址、 业务信息 和路由信息。
结合第一方面, 或第一方面的第一种可能的实现方式, 在第二种可能的 实现方式中, 根据所述控制器集群中每一个控制器的网络资源信息和运行状 态信息确定备份控制器, 将所述故障控制器的网络资源信息转发至所述备份 控制器, 以使所述备份控制器控制相应的网络, 具体包括:
在根据所述控制器集群中每一个控制器的网络资源信息和运行状态信息 确定备份控制器为 N个备份控制器时, 将所述故障控制器的网络资源信息划 分为 N个部分网络资源信息, 并分别发送给所述 N个备份子域控制器, 以使 每一个备份子域控制器根据获取到的部分网络资源信息, 重新构建和控制所 述故障控制器控制的网络, 其中, N为大于 1的正整数。
结合第一方面, 或第一方面的第一种可能的实现方式, 或第一方面的第 二种可能的实现方式, 在第一方面的第三种可能的实现方式中, 确定故障控 制器, 具体包括:
在接收到控制器申请信息时 , 获取发送所述控制器申请信息的节点的通 信地址, 根据所述节点的通信地址和同步获取到的控制器集群中每一个控制 器的网络资源信息, 确定故障控制器; 或, 在确定代理服务器与控制器之间的会话中断时, 确定所述控制器为故障 控制器。
结合第一方面, 或第一方面的第一种可能的实现方式, 或第一方面的第 二种可能的实现方式, 或第一方面的第三种可能的实现方式, 在第一方面的 第四种可能的实现方式中, 所述故障控制器为子域控制器, 所述根据所述控 制器集群中每一个控制器的网络资源信息和运行状态信息确定备份控制器, 具体包括:
根据所述控制器集群中每一个控制器的网络资源信息和运行状态信息, 确定备份子域控制器作为备份控制器, 其中, 所述备份子域控制器为新启用 的子域控制器, 或所述控制器集群中处于可用状态的子域控制器。
结合第一方面的第四种可能的实现方式, 在第一方面的第五种可能的实 现方式中, 将所述故障控制器的网络资源信息转发至所述备份控制器, 以使 所述备份控制器控制所述故障控制器控制的网络, 具体包括:
将所述故障控制器的网络资源信息转发至所述备份子域控制器, 并根据 所述网络资源信息为所述备份子域控制器分配通信地址, 并将所述通信地址 通知给所述故障控制器控制的子域网络中的设备, 以使所述备份子域控制器 控制所述故障控制器控制的子域网络。
结合第一方面, 或第一方面的第一种可能的实现方式, 或第一方面的第 二种可能的实现方式, 或第一方面的第三种可能的实现方式, 在第一方面的 第六种可能的实现方式中, 所述故障控制器为父控制器, 所述根据所述控制 器集群中每一个控制器的网络资源信息和运行状态信息确定备份控制器 , 具 体包括:
根据所述控制器集群中每一个控制器网络资源信息和运行状态信息, 确 定备份父控制器作为备份控制器, 其中, 所述备份父控制器为新启用的父控 制器, 或所述控制器集群中处于可用状态的父控制器。
结合第一方面的第六种可能的实现方式, 在第一方面的第七种可能的实 现方式中, 将所述故障控制器的网络资源信息转发至所述备份控制器, 以使 所述备份控制器控制所述故障控制器控制的网络, 具体包括:
将所述任意一个控制器的网络资源信息转发至所述备份父控制器 , 并根 据所述网络资源信息为所述备份父控制器分配通信地址, 并将所述通信地址 通知所述故障控制器控制的子域控制器, 以使所述备份父控制器控制所述故 障控制器控制的全局网络。
第二方面, 本发明实施例提供一种网络控制方法, 其特征在于, 包括: 同步获取控制器集群中每一个控制器的网络资源信息, 所述控制器集群 包括子域控制器和父控制器, 其中, 所述子域控制器发现和控制子域网络, 所述父控制器基于子域控制器控制全局网络;
将每一个控制器的网络资源信息同步至相应的备份控制器中;
确定故障控制器, 通知相应的备份控制器控制所述故障控制器控制的网 络。
结合第二方面, 在第二方面的第一种可能的实现方式中, 所述网络资源 信息至少包括业务信息或 /和路由信息。
结合第二方面, 或第二方面的第一种可能的实现方式, 在第二方面的第 二种可能的实现方式中, 确定故障控制器, 具体包括:
在接收到控制器申请信息时 , 获取发送所述控制器申请信息的节点的通 信地址, 根据所述节点的通信地址和同步获取到的控制器集群中每一个控制 器的网络资源信息, 确定故障控制器; 或,
在确定代理服务器与控制器之间的会话中断时, 确定所述控制器为故障 控制器。
结合第二方面, 或第二方面的第一种可能的实现方式, 或第二方面的第 二种可能的实现方式, 在第二方面的第三种可能的实现方式中, 将每一个控 制器的网络资源信息同步至相应的备份控制器中, 具体包括:
将每一个控制器的网络资源信息同步至虚拟机中, 将所述虚拟机作为该 控制器的备份控制器; 或
将每一个控制器的网络资源信息同步至与该控制器对应的实体装置中, 将所述实体装置作为该控制器的备份控制器。
第三方面, 本发明实施例提供一种网络控制装置, 包括:
获取模块, 用于获取控制器集群中每一个控制器的网络资源信息和运行 状态信息, 所述控制器集群包括子域控制器和父控制器, 其中, 所述子域控 制器发现和控制子域网络, 所述父控制器基于子域控制器控制全局网络; 确定模块, 用于确定故障控制器;
转发模块, 用于根据所述控制器集群中每一个控制器的网络资源信息和 运行状态信息确定备份控制器, 将所述故障控制器的网络资源信息转发至所 述备份控制器 , 以使所述备份控制器控制所述故障控制器控制的网络。
结合第三方面, 在第三方面的第一种可能的实现方式中, 所述获取模块, 具体用于:
同步获取控制器集群中每一个控制器控制的节点的通信地址、 业务信息、 路由信息和运行状态信息。
结合第三方面或第三方面的第一种可能的实现方式, 在第三方面的第二 种可能的实现方式中, 所述转发模块, 具体用于:
在根据所述控制器集群中每一个控制器的网络资源信息和运行状态信息 确定备份控制器为 N个备份控制器时, 将所述故障控制器的网络资源信息划 分为 N个部分网络资源信息, 并分别发送给所述 N个备份子域控制器, 以使 每一个备份子域控制器根据获取到的部分网络资源信息, 重新构建和控制所 述故障控制器控制的网络, 其中, N为大于 1的正整数。
结合第三方面, 或第三方面的第一种可能的实现方式, 或结合第三方面 的第二种可能的实现方式, 在第三方面的第三种可能的实现方式中, 所述确 定模块, 具体用于:
在接收到控制器申请信息时 , 获取发送所述控制器申请信息的节点的通 信地址, 根据所述节点的通信地址和同步获取到的控制器集群中每一个控制 器的网络资源信息, 确定故障控制器; 或,
在确定本装置与控制器之间的会话中断时, 确定所述控制器为故障控制 哭
结合第三方面, 或第三方面的第一种可能的实现方式, 或结合第三方面 的第二种可能的实现方式, 或第三方面的第三种可能的实现方式, 在第三方 面的第四种可能的实现方式中, 所述转发模块, 包括:
第一子模块, 用于在所述确定模块确定所述故障控制器为子域控制器时, 根据所述控制器集群中每一个控制器的网络资源信息和运行状态信息, 确定 备份子域控制器作为备份控制器, 其中, 所述备份子域控制器为新启用的子 域控制器, 或所述控制器集群中处于可用状态的子域控制器;
第二子模块, 用于将所述故障控制器的网络资源信息转发至所述备份控 制器, 以使所述备份控制器控制所述故障控制器控制的网络。
结合第三方面的第四种可能的实现方式, 在第三方面的第五种可能的实 现方式中, 所述第二子模块, 具体用于:
将所述故障控制器的网络资源信息转发至所述备份子域控制器, 并根据 所述网络资源信息为所述备份子域控制器分配通信地址, 并将所述通信地址 通知给所述故障控制器控制的子域网络中的设备, 以使所述备份子域控制器 控制所述故障控制器控制的子域网络。
结合第三方面, 或第三方面的第一种可能的实现方式, 或第三方面的第 二种可能的实现方式, 或第三发明的第三种可能的实现方式, 在第三方面的 第六种可能的实现方式中, 所述转发模块, 包括:
第一子模块, 用于在所述确定模块确定所述故障控制器为父控制器时, 根据所述控制器集群中每一个控制器网络资源信息和运行状态信息, 确定备 份父控制器作为备份控制器, 其中, 所述备份父控制器为新启用的父控制器, 或所述控制器集群中处于可用状态的父控制器;
第二子模块, 用于将所述故障控制器的网络资源信息转发至所述备份控 制器, 以使所述备份控制器控制所述故障控制器控制的网络。
结合第三方面的第六种可能的实现方式, 在第三方面的第七种可能的实 现方式中, 所述第二子模块, 具体用于: 将所述任意一个控制器的网络资源信息转发至所述备份父控制器 , 并根 据所述网络资源信息为所述备份父控制器分配通信地址, 并将所述通信地址 通知所述故障控制器控制的子域控制器, 以使所述备份父控制器控制所述故 障控制器控制的全局网络。
第四方面, 本发明实施例还提供一种网络控制装置, 包括:
获取模块, 用于同步获取控制器集群中每一个控制器的网络资源信息 , 所述控制器集群包括子域控制器和父控制器, 其中, 所述子域控制器发现和 控制子域网络, 所述父控制器基于子域控制器控制全局网络;
同步模块, 用于将每一个控制器的网络资源信息同步至相应的备份控制 器中;
确定模块, 用于确定故障控制器, 通知相应的备份控制器控制所述故障 控制器控制的网络。
结合第四方面, 在第四方面的第一种可能的实现方式中, 所述网络资源 信息至少包括业务信息或 /和路由信息。
结合第四方面, 或第四方面的第一种可能的实现方式, 在第四方面的第 二种可能的实现方式中, 所述确定模块, 具体用于:
在接收到控制器申请信息时 , 获取发送所述控制器申请信息的节点的通 信地址, 根据所述节点的通信地址和同步获取到的控制器集群中每一个控制 器的网络资源信息, 确定故障控制器, 通知相应的备份控制器控制所述故障 控制器控制的网络; 或,
在确定本装置与控制器之间的会话中断时, 确定所述控制器为故障控制 器, 通知相应的备份控制器控制所述故障控制器控制的网络。
结合第四方面, 或第四方面的第一种可能的实现方式, 或第四方面的第 二种可能的实现方式, 在第四方面的第三种可能的实现方式中, 所述同步模 块, 具体用于:
将每一个控制器的网络资源信息同步至虚拟机中, 将所述虚拟机作为该 控制器的备份控制器; 或 将每一个控制器的网络资源信息同步至与该控制器对应的实体装置中, 将所述实体装置作为该控制器的备份控制器。
本发明实施例中控制器集群包括子域控制器和父控制器, 其中, 子域控 制器发现和控制子域网络, 父控制器基于子域控制器控制全局网络, 这样, 就能够通过控制器集群对网络进行分割分层控制, 实现对较大网络的密集信 息的及时处理, 避免网络拥堵或控制器宕机等情况的发生。 附图说明
图 1为 SDN网络的示意图;
图 2为本发明实施例设计的网络控制方法流程图;
图 3为本发明的实施例一中被分层的较大网络;
图 4A为本发明的实施例一中的子域控制器 TC1发现的子域网络的拓朴 结构图;
图 4B为本发明的实施例一中的子域控制器 TC2发现的子域网络的拓朴 结构图;
图 4C为本发明的实施例一中的子域控制器 TC3发现的子域网络的拓朴 结构图;
图 4D为本发明的实施例一中的子域控制器 TC4发现的子域网络的拓朴 结构图;
图 5 为本发明的实施例一中的超级控制器 S-TC确定的跨子域网络的链 路;
图 6为本发明的实施例一中的代理服务器获取的完整的网络拓朴结构; 图 7为本发明的实施例一中子域控制器 TC1故障时的信息交互图; 图 8为本发明实施例提供的另一种网络控制方法流程图;
图 9为本发明实施例提供的一种网络控制装置示意图;
图 10为本发明实施例提供的另一种网络控制装置示意图;
图 11为本发明实施例提供的一种网络控制设备示意图; 图 12为本发明实施例提供的另一种网络控制设备示意图。 具体实施方式
为使本发明实施例的目的、 技术方案和优点更加清楚, 下面将结合本发 明实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完整地描述, 显然, 所描述的实施例是本发明一部分实施例, 而不是全部的实施例。 基于 本发明中的实施例, 本领域普通技术人员在没有作出创造性劳动前提下所获 得的所有其他实施例, 都属于本发明保护的范围。
下面结合说明书附图对本发明实施例作进一步详细描述。
参阅图 2所示, 本发明实施例设计的网络控制方法包括如下步骤。
步骤 201 :获取控制器集群中每一个控制器的网络资源信息和运行状态信 息, 上述控制器集群包括子域控制器和父控制器, 其中, 上述子域控制器发 现和控制子域网络, 上述父控制器基于子域控制器控制全局网络。
步骤 202: 确定故障控制器,根据上述控制器集群中每一个控制器的网络 资源信息和运行状态信息确定备份控制器 , 将上述故障控制器的网络资源信 息转发至上述备份控制器 , 以使上述备份控制器控制相应的网络。
上述步骤 201和 202的执行主体可以是代理服务器。 故障控制器可以是 一个或多个控制器, 并且, 故障控制器可以是父控制器或 /和子控制器。
本发明实施例中控制器是子域控制器和父控制器的统称。 本发明实施例 中的父控制器可以是一个控制器, 也可以是多个控制器。
在实际应用中根据具体需求的不同, 本发明实施例中的备份控制器既可 以是新启用的控制器, 也可以是控制器集群中处于可用状态的控制器。 例如, 如果某一正在运行控制器的运行状态良好、 可用的网络资源较多 (能够满足 备份要求), 就可以将其作为处于可用状态的控制器。 由于控制器的故障原因 可能是硬件故障导致的, 也可能是由软件或系统出错导致的, 因此, 本发明 实施例中的备份控制器可以是新启用或正在运行的实体装置, 也可以是新建 的或运行中的虚拟机。 而且, 本发明实施例中的备份控制器的数量可以是一 个或多个。
本发明实施例可以将已故障的子域控制器对应的子域网络整体交给备份 控制器控制, 也可以将该子域网络划分为多个部分子域网络, 分别分给不同 的备份控制器控制, 以避免同一个备份控制器所增加的处理压力过大, 因此, 步骤 202还可以通过下述方式实现:
在根据上述控制器集群中每一个控制器的网络资源信息和运行状态信息 确定备份控制器为 Ν个备份控制器时 ,将上述故障控制器的网络资源信息划分 为 Ν个部分网络资源信息, 并分别发送给上述 Ν个备份控制器(例如, 将釆取 ——对应的方式, 分别将每一个部分网路资源信息发送给对应的备份控制 器), 以使每一个备份控制器根据获取到的部分网络资源信息, 重新构建和控 制该故障控制器控制的网络, 其中, Ν为大于 1的正整数。
例如, 每一个备份子域控制器可以根据获取到的一个部分网络资源信息, 重新构建一个子域网络, 并控制该子域网络。 在这种情况下, 备份子域控制 器根据获取到的部分网络资源信息, 重新构建和控制相应的子域网络, 可以 包括但不限于下述四种情况:
情况一: 该备份控制器在此之前就控制了一个网络, 此时, 根据该部分 网络资源信息, 将原先的网络与该部分网络资源信息中包含的部分网络融合, 重新构建成一个新的子域网络, 并控制新的子域网络。
情况二: 该备份子域控制器是新启用的控制器,在此之前处于未启用(例 如, 休眠、 关机)状态, 此时, 该备份子域控制器可以直接将该部分网络资 源信息中包含的部分子域网络构, 重新构建成一个新的子域网络, 控制该新 的子域网络。
情况三: 该备份子域控制器在此之前就控制了一个子域网络, 此时, 该 备份子域控制器新建一个虚拟机, 利用新建的虚拟机将该部分网络资源信息 中包含的部分子域网络, 重新构建一个新的子域网络, 并控制该新的子域网 络。
情况四: 在已故障的子域控制器是虚拟机, 其故障原因是由软件部分引 起的, 并且承载该子域控制器的实体装置仍然完好的情况下, 在该实体装置 上新建一个虚拟机, 作为备份子域控制器, 此时该备份子域控制器就可以根 据该部分网络资源信息中包含的部分子域网络, 重新构建一个新的子域网络, 并控制该新的子域网络。
如果代理服务器确定故障控制器为父控制器 , 并且备份控制器为多个备 份父控制器, 代理服务器可以将故障控制器的网络资源信息划分为多个部分, 并且分别发送给每一个备份父控制器。 在这种情况下, 每一个备份父控制器 获取到的部分网络资源信息, 可以包括跨子域链路、 子域控制器上报的链路 信息、 跨子域的业务路由等, 这样, 每一个备份父控制器就可以根据获取到 的部分网络资源信息, 分别控制若干子域控制器, 并分别将重新构建各自对 应的全局网络。 由于一个父控制器可以控制若干子域控制器, 并且获取被该 父控制器控制的子域控制器上报的子域网络的相关信息, 因此, 一个父控制 器控制的全局网络, 可以包括其控制的子域控制器上报的链路和跨子域链路 等。
较佳地, 获取控制器集群中每一个控制器的网络资源信息, 可以通过下 述具体方式实现:
同步获取控制器集群中每一个控制器控制的节点的通信地址、 业务信息 和路由信息。 这一同步过程可以是实时同步, 也可以是周期性同步。
通过这种方式代理服务器可以及时获取控制器集群的网络资源信息和运 行状态信息, 可以实现对控制器集群的动态保护, 防止控制器故障导致网络 瘫痪的情况发生。
实际应用中, 步骤 201 中控制器的网络资源信息可以但不限于包括: 链 路资源信息、 节点资源信息、 控制器控制的节点的通信地址、 包括业务路由 在内的业务信息、 路由信息等, 控制器的运行状态信息可以但不限于包括中 央处理器( Central Processing Unit, 中央处理器)使用百分比或 /和内存使用百 分比等。
实际应用中, 代理服务器可以根据下述方式确定控制器故障: 方式一: 在接收到控制器申请信息时, 获取发送上述控制器申请信息的 节点的通信地址 , 根据上述节点的通信地址和同步获取到的控制器集群中每 一个控制器的网络资源信息, 确定故障控制器。
方式二: 在确定代理服务器与控制器之间的会话中断时, 确定该控制器 为故障的控制器。
上述方式一中, 在故障控制器为子域控制器时, 控制器申请信息可以是 由子域网络中与子域控制器断连的设备发送的 , 在故障控制器为父控制器时 , 控制器申请信息可以是由与该父控制器断连的子域控制器发送的。 控制器申 请信息可以但不限于包括: 故障控制器的通信地址信息、 发送该控制器申请 信息的节点的通信地址信息等信息。
由于故障的控制器可以是子域控制器, 也可以是父控制器, 因此, 确定 备份控制器的过程可以分为下述两种情况:
情况一: 代理服务器在确定故障控制器为子域控制器时, 根据上述控制 器集群中每一个控制器的网络资源信息和运行状态信息, 确定备份子域控制 器作为备份控制器, 其中, 备份子域控制器为新启用的子域控制器, 或, 上 述控制器集群中处于可用状态的子域控制器。 上述故障控制器可以是一个或 多个子域控制器, 备份子域控制器也可以是一个或多个子域控制器。
在这种情况下, 代理服务器可以将上述故障控制器的网络资源信息转发 至上述备份子域控制器 , 并根据上述网络资源信息为上述备份子域控制器分 配通信地址, 并将上述通信地址通知给上述故障控制器控制的子域网络中的 设备, 以使上述备份子域控制器控制上述故障控制器控制的子域网络。 子域 网络可以但不限于包括: 子域网络中的设备、 链路、 业务路由等。
在代理服务器为备份子域控制器分配通信地址(例如, IP地址和端口号 后)后, 代理服务器可以但不限于使用下述两种方式通知备份子域控制器与 上述故障控制器控制的子域网络中的设备建立连接:
( 1 )向该备份子域控制器发送设备的通信地址, 以使备份子域控制器基 于设备的通信地址与设备建立连接, 并向设备声明备份子域控制器承担控制 子域网络的工作, 从而实现对设备的控制和管理。 备份子域控制器在连接建 立成功后, 可以通知代理服务器, 备份子域控制器已经实现对设备的控制。
( 2 )将该通信地址发送给相应的子域网络中的设备, 以使该子域网络中 的设备基于该通信地址向备份子域控制器发送新的连接请求, 从而接收子域 控制器的管理, 避免设备空闲造成网络资源浪费的问题。 在设备与备份子域 控制器建立连接后, 设备可以将连接建立成功的消息通知给代理服务器。
情况二: 在代理服务器确定故障控制器为父控制器时, 根据上述控制器 集群中每一个控制器的网络资源信息和运行状态信息, 确定备份父控制器作 为备份控制器, 其中, 备份父控制器为新启用的父控制器, 或, 上述控制器 集群中处于可用状态的父控制器。
此时, 可以将上述任意一个控制器的网络资源信息转发至上述备份父控 制器, 并根据上述网络资源信息为上述备份父控制器分配通信地址, 并将上 述通信地址通知上述故障控制器控制的子域控制器, 以使上述备份父控制器 控制上述故障控制器控制的全局网络。 全局网络可以但不限于包括: 跨子域 网络的链路、 子域控制器上报的虚链路以及包括跨子域网络的业务路由在内 的跨子域路由等。 上述故障控制器可以是一个或多个父控制器, 备份父控制 器也可以是一个或多个父控制器。
在代理服务器为备份父控制器分配通信地址 (例如, IP地址和端口号后) 后, 代理服务器可以但不限于使用下述两种方式通知备份父控制器与相应的 子域控制器之间建立连接:
( 1 )向该备份父控制器发送子域控制器的通信地址, 以使备份父控制器 基于子域控制器的通信地址与子域控制器建立连接, 并向子域控制器声明备 份父控制器承担控制全局网络的工作, 从而实现对子域控制器的控制和管理。 备份父控制器在连接建立成功后, 可以通知代理服务器, 备份父控制器已经 实现对子域控制器的控制。
( 2 )将该通信地址发送给相应的子域控制器, 以使该子域控制器基于该 通信地址向备份父控制器发送新的连接请求, 从而接收备份父控制器的管理。 在子域控制器与备份父控制器建立连接后, 子域控制器可以将连接建立成功 的消息通知给代理服务器。
本发明实施例中, 子域控制器负责处理对应的子域网络中的所有网络事 件、 子域网络的拓朴发现、 子域网络的资源管理以及子域网络内的业务建路 和业务管理。
父控制器可以从子域控制器中获取子域网络中的链路、 虚链路和业务信 息, 其中, 虚链路是指两个节点之间的一条逻辑上的连接通道。 父控制器负 责跨子域网络的链路的发现、 跨子域业务的建路和管理, 父控制器也可以将 子域控制器控制的子域网络中的链路与跨子域网络的链路结合, 从而获取完 整的网络拓朴结构。
实际应用中, 假设子域控制器控制的子域网络中有一条链路 L1 , 链路 L1 为: 节点 A-节点 B-节点 C, 子域控制器在将子域网络中的网络资源信息上 ^艮给 父控制器时, 可以将链路 L1转化成虚链路 L,l (节点 A-节点 C )。 H没父控制器 通知子域控制器将业务数据由节点 A, 通过业务路径 L2 (节点 A-节点 C-节点 D ), 传输至节点 D, 子域控制器就可以将业务路径 L2中包含的虚链路转化为 链路, 通过路径(节点 A-节点 B-节点 C-节点 D ) 实现, 将业务数据由节点 A传 输至节点0。
子域控制器既可以选择将虚链路(节点 A-节点 C )上报给父控制器, 用以 节省父控制器的资源; 也可以直接将实际的链路(节点 A-节点 B-节点 C )上报 给父控制器, 用以避免虚链路与实际链路之间的转化。 子域控制器对子域网 络中的实际链路和虚链路的上报可以根据实际需求选择。
通过这种方式就可以实现对网络的分层分割控制, 由于子域控制器控制 子域网络, 因此, 对处理能力和容量的要求不高, 而父控制器可以通过接收 和下发包含虚链路的信息, 来节约系统资源, 降低网络对父控制器的处理能 力和容量的要求。
父控制器确定跨子域网络的链路的过程, 可以但不限于釆用下述方式: 通过子域控制器将子域网络的 ID信息发布给该子域网络中的各个设备, 子域网络中的设备可以根据子域网络的 ID信息, 发现两端的节点属于不同的 子域网络的链路, 作为跨子域网络的链路。
例如, 子域网络中的设备可以基于光网络 OTN开销字节链路发现方法发 现跨子域网络的链路, 根据开销字节中自治域标识符(AS ID ) 字段的交互, 发现链路两端所处的子域网络的 ID不同, 从而识别出跨子域网络的链路, 并 将该跨子域网络的链路上报给子域控制器。 子域控制器再将设备上报的跨子 域网络的链路上报给父控制器, 以使父控制器确定跨子域网络的链路。
下面结合图 3说明本发明的实施例一。
实施例一: 参阅图 3所示, 较大的网络被划分为 Gl、 G2、 G3和 G4四个 子域网络。 TC1、 TC2、 TC3和 TC4分别为四个子域控制器, 子域控制器 TC1 控制子域网络 G1中的链路, 子域控制器 TC2控制子域网络 G2中的链路, 子 域控制器 TC3控制子域网络 G3中的链路子域控制器, 子域控制器 TC4控制 子域网络 G4中的链路。 超级控制器 S-TS与每一个子域控制器相连, 控制跨 子域网络的链路。
实施例一中的子域控制器 TC1发现的子域网络的拓朴结构参阅图 4A所 示。 实施例一中的子域控制器 TC2发现的子域网络的拓朴结构参阅图 4B所 示。 实施例一中的子域控制器 TC3发现的子域网络的拓朴结构参阅图 4C所 示。 实施例一中的子域控制器 TC4发现的子域网络的拓朴结构参阅图 4D所 示。
实施例一中的超级控制器 S-TC确定的跨子域网络的链路参阅图 5所示。 图 5中实现表示跨子域网络的链路, 虚线表示子域网络中的链路。
参阅图 3所示, 实施例一中的代理服务器是与超级控制器 S-TC以及各个子 域控制器相连的, 代理服务器同步获取超级控制器 S-TC以及各个子域控制器 的网络资源信息和运行状态信息。 各个子域控制器以及超级控制器 S-TC均可 以将自身所控制的链路信息、 包括业务路由在内的业务信息和控制器自身的 运行状态信息等信息, 同步发送给代理服务器, 以使代理服务器获取完整的 网络拓朴结构、 网络资源信息、 路由信息、 包括路由在内的业务信息, 以及 各个控制器的运行状态信息。
实施例一中的代理服务器获取的完整的网络拓朴结构参阅图 6所示, 粗线 分别为代理服务器获取的完整的业务路径 LSP1和 LSP2。
4叚设子域控制器 TCI出现故障。 参阅图 7所示, 在子域控制器 TC1故障时, 子域控制器 TC1所控制的设备 al、 a2、 a3和 a20均与子域控制器 TCI断连,此时, 设备 al根据预先存储的代理服务器的网际协议 (Internet Protocol, IP)地址和端 口号, 与该代理服务器建立连接, 并向代理服务器提发送控制器申请信息, 以申请与新的子域控制器建立连接。设备 a2也根据预先存储的代理服务器的 IP 地址和端口号, 与该代理服务器建立连接, 并向代理服务器提发送控制器申 请信息, 以申请与新的子域控制器建立连接。 a3同样根据预先存储的代理服 务器的 IP地址和端口号,与该代理服务器建立连接,并向代理服务器提发送控 制器申请信息, 以申请新的子域控制器。 a20也一样根据预先存储的代理服务 器的 IP地址和端口号,与该代理服务器建立连接,并向代理服务器提发送控制 器申请信息, 以申请与新的子域控制器建立连接。
代理服务器在接收到设备发送的申请信息时, 确定有子域控制器断连, 代理服务器基于全网拓朴结构、 网络资源信息、 业务路径、 属性数据以及各 个运行中的子域控制器的运行状态信息, 分析出子域控制器 TC2和 TC3的运行 状态良好, 资源占用率较低(例如 CPU占用百分比较低或 /和内存使用百分比 较低), 可以将设备 a2和 a3分配给子域控制器 TC2, a20和 al分配给子域控制器 TC3。
此时, 代理服务器将子域控制器 TC2的通信地址(包括 IP地址和端口号) 发送给设备 a2和 a3 , 将子域控制器 TC3的通信地址 (包括 IP地址和端口号)发 送给设备 al和 a20。 在设备接收到代理服务器新分配的子域控制器的通信地址 后, 向新分配的子域控制器发起连接请求, 以使新分配的子域控制器能够控 制和管理该设备。设备 a2和 a3就被子域控制器 TC2所控制并被划分入子域网络 G2中, 设备 al和 a20就被子域控制器 TC3所控制, 并被划分入子域网络 G3中。
代理服务器将子域控制器 TC1的网络资源信息转发给 TC2和 TC3 , 将业务 路径 LSPl中跨子域网络 G1的路径同步给 TC3 , 将原来业务路径 LSP2中跨域子 域网络 G2的路径同步给 TC2。
代理服务器在为设备分配完毕新的子域控制器后, 如果网络拓朴结构和 网络资源信息发生变化, 代理服务器可以将变动后的网络拓朴结构和网络资 源信息通知给超级控制器 S-TC, 并通过超级控制器 S-TC重新调整业务路径。
实施例二: 假设父控制器故障, 与父控制器断连子域控制器向代理服务 器发送控制器申请信息, 以申请新的父控制器, 代理服务器为故障的父控制 器分配备份父控制器, 备份父控制器可以是原先未启用的父控制器, 也可以 是当前正在运行的、 空闲资源较多的父控制器。 代理服务器将之前通过故障 的父控制器同步的网络资源信息发送给备份父控制器, 并将备份父控制器的 通信地址发送给断连的子域控制器, 以便该子域控制器能与备份父控制器建 立连接, 协同管理控制网络。
如果备份父控制器是原先未启用的父控制器 , 代理服务器需要先为其分 配通信地址, 然后, 再将新分配的通信地址发送给断连的子域控制器; 如果 备份父控制器是当前正在运行的、 空闲资源较多的父控制器, 代理服务器就 可以直接将备份父控制器的通信地址发送给断连的子域控制器。
本发明实施例还设计了一种网络控制方法, 参阅图 8所示, 该方法包括如 下步骤:
步骤 801 :代理服务器同步获取控制器集群中每一个控制器的网络资源信 息, 上述控制器集群包括子域控制器和父控制器, 其中, 上述子域控制器发 现和控制子域网络, 上述父控制器基于子域控制器控制全局网络。
步骤 802:代理服务器将每一个控制器的网络资源信息同步至相应的备份 控制器中。
步骤 803: 代理服务器确定故障控制器, 通知相应的备份控制器控制上述 故障控制器控制的网络。
上述步骤 802的同步过程可以是实时同步, 也可以是周期性同步。
本发明实施例通过子域控制器发现和控制子域网络, 父控制器基于子域 控制器控制全局网络, 以实现通过控制器集群对网络进行分割分层控制, 从 而实现对较大网络的密集信息的及时处理, 避免网络拥堵或控制器宕机等情 况的发生, 并且为每一个控制器都配置备份控制器, 通过代理服务器同步将 控制器的网络资源信息同步到备份控制器中, 这样, 一旦控制器故障, 就可 以及时使用备份控制器替代故障的控制器, 控制相应的网络, 避免网络崩溃。
实际应用中, 上述网络资源信息至少包括: 业务信息或 /和路由信息。 代理服务器将每一个控制器的网络资源信息同步给备用控制器可以包括 但不限于如下两种可能:
( 1 )代理服务器将该控制器所控制的节点的通信地址、网络的拓朴结构、 业务信息和路由信息等网络资源信息同步给备用控制器。
在这种情况下, 代理服务器在确定故障控制器后, 可以将备用控制器的 通信地址发送给该故障控制器所控制的节点, 以使该故障控制器所控制的节 点与备用控制器建立连接, 从而使得备用控制器控制该节点。
由于代理服务器在确定故障控制器之前, 已经将故障控制器所控制的节 点的通信地址同步到备用控制器中了, 因此, 代理服务器在确定故障控制器 后, 也可以直接通知备用控制器控制该故障控制器所控制的节点。
( 2 )如果代理服务器在确定出备用控制器后, 直接让设备与主控制器和 备用控制器同时建立连接(主控制器投入业务使用, 备用控制器仅同步获取 数据), 以使备用控制器获知和主控制器相同的网络数据信息(例如, 节点的 通信地址、 网络拓朴结构等), 此时, 代理服务器可以仅仅将业务信息和路由 信息同步给备用控制器即可。
在这种情况下, 由于代理服务器在确定故障控制器之前, 备用控制器就 已经与故障控制器所控制的节点建立的连接, 因此, 代理服务器可以直接通 知备用控制器控制故障控制器所控制的节点。
代理服务器还可以同步获取每一个控制器的运行状态信息例如 CPU使用 百分比、 内存使用百分比等信息, 以便及时掌握每个控制器的状态是否接近 故障临界点。 较佳地, 代理服务器可以但不限于通过下述两种方式确定任意一个控制 器故障:
在接收到控制器申请信息时 , 获取发送上述控制器申请信息的节点的通 信地址, 根据上述节点的通信地址和同步获取到的控制器集群中每一个控制 器的网络资源信息, 确定故障的控制器; 或,
在确定代理服务器与控制器之间的会话中断时, 确定该控制器为故障控 制器。
上述步骤二可以但不限于包括如下两种实现方式:
方式一: 将每一个控制器的网络资源信息同步至虚拟机中, 将上述虚拟 机作为该控制器的备份控制器。
该虚拟机与该控制器可以位于同一个实体装置中, 也可以分别位于不同 的实体装置中。 在虚拟机该控制器位于不同的实体装置中时, 该虚拟机可以 单独位于一个实体装置中, 也可以与其它控制器位于同一个实体装置中, 其 中, 其它控制器为上述控制器集群中除该控制器之外的控制器。
方式二: 将每一个控制器的网络资源信息同步至与该控制器对应的实体 装置中, 将上述实体装置作为该控制器的备份控制器。
例如, 本发明实施例中为了防止软件或系统出错导致控制器故障, 引起 网络崩溃, 还可以在实体装置中预先准备至少两个虚拟机, 将其中一个虚拟 机作为控制器, 控制相应的网络。 代理服务器将该控制器的网络信息同步到 作为备份控制器的另一个虚拟机中, 这样, 当代理服务器确定某一个控制器 故障时, 就可以即时启用位于同一个实体装置中的备份控制器(虚拟机), 来 替代已故障的控制器控制相应的网络, 从而达到及时防灾的目的。
基于同一设计思路, 本发明实施例还设计了一种网络控制装置, 参阅图 9 所示, 包括:
获取模块 901 ,用于获取控制器集群中每一个控制器的网络资源信息和运 行状态信息, 上述控制器集群包括子域控制器和父控制器, 其中, 上述子域 控制器发现和控制子域网络, 上述父控制器基于子域控制器控制全局网络; 确定模块 902 , 用于确定故障控制器;
转发模块 903 ,用于根据上述控制器集群中每一个控制器的网络资源信息 和运行状态信息确定备份控制器, 将上述故障控制器的网络资源信息转发至 上述备份控制器 , 以使上述备份控制器控制上述故障控制器控制的网络。
较佳地, 上述获取模块 901 具体用于, 同步获取控制器集群中每一个控 制器控制的节点的通信地址、 业务信息、 路由信息和运行状态信息。
在获取模块 901 获取子域控制器的网络资源信息时, 可以获取该子域控 制器控制的子域网络中的设备的通信地址、 业务信息和路由信息;
在获取模块 901 获取父控制器的网络资源信息时, 可以获取该父控制器 控制的跨子域链路、 跨子域路由等。
实际应用中, 上述获取模块 901 既可以釆取实时同步的方式, 也可以釆 用周期性同步的方式, 获取控制器集群中每一个控制器控制的节点的通信地 址、 业务信息和路由信息。
较佳地, 上述转发模块 903可以使用 N个备份控制器替代故障控制器, 具体为:
转发模块 903在根据上述控制器集群中每一个控制器的网络资源信息和 运行状态信息确定备份控制器为 N个备份控制器时, 将上述故障控制器的网 络资源信息划分为 N个部分网络资源信息, 并分别发送给上述 N个备份子域 控制器, 以使每一个备份子域控制器根据获取到的部分网络资源信息, 重新 构建和控制上述故障控制器控制的网络, 其中, N为大于 1的正整数。
较佳地, 上述上述确定模块 902具体用于:
在接收到控制器申请信息时 , 获取发送上述控制器申请信息的节点的通 信地址, 根据上述节点的通信地址和同步获取到的控制器集群中每一个控制 器的网络资源信息, 确定故障控制器; 或,
在确定本装置与控制器之间的会话中断时, 确定上述控制器为故障控制 器。
上述确定模块 902还可以根据控制器申请信息, 或, 本装置存储的故障 控制器相关信息判断故障控制器是父控制器或 /和子控制器。
较佳地, 转发模块可以包括第一子模块和第二子模块, 由于故障控制器 可以是父控制器或 /和子域控制器, 因此, 基于故障控制器类型的不同, 上述 转发模块 902可以但不限于可以分为下述两种类型。
类型一: 上述转发模块 902 , 包括:
第一子模块, 用于在上述确定模块 902确定上述故障控制器为子域控制 器时 , 根据上述控制器集群中每一个控制器的网络资源信息和运行状态信息 , 确定备份子域控制器作为备份控制器, 其中, 上述备份子域控制器为新启用 的子域控制器, 或上述控制器集群中处于可用状态的子域控制器;
第二子模块, 用于将上述故障控制器的网络资源信息转发至上述备份控 制器, 以使上述备份控制器控制上述故障控制器控制的网络。
较佳地, 上述第二子模块, 具体用于:
将上述故障控制器的网络资源信息转发至上述备份子域控制器, 并根据 上述网络资源信息为上述备份子域控制器分配通信地址, 并将上述通信地址 通知给上述故障控制器控制的子域网络中的设备, 以使上述备份子域控制器 控制上述故障控制器控制的子域网络。
类型二: 上述转发模块 902 , 包括:
第一子模块, 用于在上述确定模块 902确定上述故障控制器为父控制器 时, 根据上述控制器集群中每一个控制器网络资源信息和运行状态信息, 确 定备份父控制器作为备份控制器, 其中, 上述备份父控制器为新启用的父控 制器, 或上述控制器集群中处于可用状态的父控制器;
第二子模块, 用于将上述故障控制器的网络资源信息转发至上述备份控 制器, 以使上述备份控制器控制上述故障控制器控制的网络。
较佳地, 上述第二子模块, 具体用于:
将上述任意一个控制器的网络资源信息转发至上述备份父控制器 , 并根 据上述网络资源信息为上述备份父控制器分配通信地址, 并将上述通信地址 通知上述故障控制器控制的子域控制器, 以使上述备份父控制器控制上述故 障控制器控制的全局网络。
基于同一设计思路, 本发明实施例还设计了一种网络控制装置, 参阅图
10所示, 包括:
获取模块 1001 , 用于同步获取控制器集群中每一个控制器的网络资源信 息, 上述控制器集群包括子域控制器和父控制器, 其中, 上述子域控制器发 现和控制子域网络, 上述父控制器基于子域控制器控制全局网络;
同步模块 1002, 用于将每一个控制器的网络资源信息同步至相应的备份 控制器中;
确定模块 1003 , 用于确定故障控制器, 通知相应的备份控制器控制上述 故障控制器控制的网络。
较佳地, 上述网络资源信息至少包括业务信息或 /和路由信息。 根据实际 情况的不同, 上述网络资源信息所包括的内容可以不同。
例如, 网络资源信息可以包括: 节点的通信地址、 网络的拓朴结构、 业 务信息和路由信息。 这种情况下, 在主控制器故障后, 确定模块 1003还可以 将备用控制器的通信地址发送给该故障控制器所控制的节点, 以使该故障控 制器所控制的节点与备用控制器建立连接, 从而使得备用控制器控制该节点 , 或者, 确定模块 1003也可以直接通知备用控制器, 根据网络资源信息中包含 的节点的通信地址与相应的节点建立连接, 并控制相应的节点。
又例如, 网络资源信息可以包括业务信息和路由信息, 而不包括网络数 据信息(例如, 节点的通信地址、 网络拓朴结构等)。 在这种情况下, 代理服 务器在确定出备用控制器后, 直接让设备与主控制器和备用控制器同时建立 连接, 以使备用控制器获知和主控制器相同的网络数据信息 (主控制器投入 业务使用, 而备用控制器仅同步获取数据), 因此, 同步模块 1002就可以将 业务信息和路由信息同步给备用控制器 , 无需将故障控制器的网络数据信息 同步给备用控制器, 一旦出现主控制器故障, 通知备用控制器控制该故障控 制器所控制的节点。
较佳地, 上述确定模块 1003 , 具体用于: 在接收到控制器申请信息时 , 获取发送上述控制器申请信息的节点的通 信地址, 根据上述节点的通信地址和同步获取到的控制器集群中每一个控制 器的网络资源信息, 确定故障控制器, 通知相应的备份控制器控制上述故障 控制器控制的网络; 或,
在确定本装置与控制器之间的会话中断时, 确定上述控制器为故障控制 器, 通知相应的备份控制器控制上述故障控制器控制的网络。
较佳地, 上述同步模块 1002, 具体用于:
将每一个控制器的网络资源信息同步至虚拟机中, 将上述虚拟机作为该 控制器的备份控制器; 或
将每一个控制器的网络资源信息同步至与该控制器对应的实体装置中, 将上述实体装置作为该控制器的备份控制器。
基于同一设计思路, 本发明实施例还设计了一种网络控制设备, 参阅图 11所示, 具体包括: 收发器 1101、 处理器 1102、 存储器 1103和总线 1104, 该无线收发器 1101、处理器 1102和存储器 1103通过总线 1104连接并完成相 互间的通信, 其中:
收发器 1101 , 主要用于实现与本实施例中的各个节点 (控制器和设备) 之间进行信息交互。
具体地, 收发器 1101用于获取控制器集群中每一个控制器的网络资源信 息和运行状态信息, 上述控制器集群包括子域控制器和父控制器, 其中, 上 述子域控制器发现和控制子域网络, 上述父控制器基于子域控制器控制全局 网络;
处理器 1102, 用于调用存储器 1103中的程序代码, 用以执行以下操作: 确定故障控制器, 根据上述控制器集群中每一个控制器的网络资源信息 和运行状态信息确定备份控制器, 通过收发器 1101将上述故障控制器的网络 资源信息转发至上述备份控制器 , 以使上述备份控制器控制上述故障控制器 控制的网络。
参阅图 12所示, 本发明实施例还设计了一种网络控制设备, 具体包括: 收发器 1201、 处理器 1202、 存储器 1203和总线 1204 , 该无线收发器 1201、 处 理器 1202和存储器 1203通过总线 1104连接并完成相互间的通信, 其中,
收发器 1101 , 主要用于实现与本实施例中的各个节点 (控制器和设备) 之间进行信息交互。
具体地, 收发器 1101用于获取控制器集群中每一个控制器的网络资源信 息和运行状态信息, 上述控制器集群包括子域控制器和父控制器, 其中, 上 述子域控制器发现和控制子域网络, 上述父控制器基于子域控制器控制全局 网络;
处理器 1102, 用于调用存储器 1103中的程序代码, 用以执行以下操作: 确定故障控制器, 根据上述控制器集群中每一个控制器的网络资源信息 和运行状态信息确定备份控制器, 通过收发器 1101将上述故障控制器的网络 资源信息转发至上述备份控制器 , 以使上述备份控制器控制上述故障控制器 控制的网络。
本发明实施例中, 总线(总线 1104或总线 1204 )可以是工业标准体系结 构 (Industry Standard Architecture , ISA ) 总线、 夕卜部设备互连 ( Peripheral Component, PCI ) 总线或扩展工业标准体系结构 ( Extended Industry Standard Architecture, EISA ) 总线等。 该总线可以分为地址总线、 数据总线、 控制总 线等。 为便于表示, 图 11和图 12中仅用一条线表示总线, 但并不表示仅有 一根总线或一种类型的总线。
存储器(存储器 1103或存储器 1203 )用于存储程序代码, 该程序代码包 括操作指令。存储器可能包括高速随机存储器( random access memory, RAM ), 也可能包括非易失性存储器(non-volatile memory ), 例如磁盘存储器。
处理器(处理器 1102 或处理器 1202 )可能是一个中央处理器 (Central Processing Unit, CPU ), 或者是特定集成电路 ( Application Specific Integrated Circuit, ASIC ), 或者是被配置成实施本发明实施例的一个或多个集成电路。
本发明实施例中控制器集群包括子域控制器和父控制器, 其中, 子域控 制器发现和控制子域网络中的链路, 父控制器基于子域控制器控制跨子域网 络的链路, 这样, 就能够通过控制器集群对网络进行分割分层控制, 实现对 较大网络的密集信息的及时处理, 避免网络拥堵或控制器宕机等情况的发生。
本发明是参照根据本发明实施例的方法、 设备(系统)、 和计算机程序产 品的流程图和 /或方框图来描述的。 应理解可由计算机程序指令实现流程图 和 /或方框图中的每一流程和 /或方框、 以及流程图和 /或方框图中的流程 和 /或方框的结合。 可提供这些计算机程序指令到通用计算机、 专用计算机、 嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器, 使得通 过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流 程图一个流程或多个流程和 /或方框图一个方框或多个方框中指定的功能的 装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设 备以特定方式工作的计算机可读存储器中, 使得存储在该计算机可读存储器 中的指令产生包括指令装置的制造品, 该指令装置实现在流程图一个流程或 多个流程和 /或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上, 使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的 处理, 从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图 一个流程或多个流程和 /或方框图一个方框或多个方框中指定的功能的步 骤。
尽管已描述了本发明的优选实施例, 但本领域内的技术人员一旦得知了 基本创造性概念, 则可对这些实施例做出另外的变更和修改。 所以, 所附权 利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。 脱离本发明实施例的精神和范围。 这样, 倘若本发明实施例的这些修改和变 型属于本发明权利要求及其等同技术的范围之内, 则本发明也意图包含这些 改动和变型在内。

Claims

权 利 要 求
1、 一种网络控制方法, 其特征在于, 包括:
获取控制器集群中每一个控制器的网络资源信息和运行状态信息, 所述 控制器集群包括子域控制器和父控制器, 其中, 所述子域控制器发现和控制 子域网络, 所述父控制器基于子域控制器控制全局网络;
确定故障控制器, 根据所述控制器集群中每一个控制器的网络资源信息 和运行状态信息确定备份控制器, 将所述故障控制器的网络资源信息转发至 所述备份控制器 , 以使所述备份控制器控制所述故障控制器控制的网络。
2、 如权利要求 1所述的方法, 其特征在于, 获取控制器集群中每一个控 制器的网络资源信息, 具体包括:
同步获取控制器集群中每一个控制器控制的节点的通信地址、 业务信息 和路由信息。
3、 如权利要求 1或 2所述的方法, 其特征在于, 根据所述控制器集群中 每一个控制器的网络资源信息和运行状态信息确定备份控制器, 将所述故障 控制器的网络资源信息转发至所述备份控制器, 以使所述备份控制器控制相 应的网络, 具体包括:
在根据所述控制器集群中每一个控制器的网络资源信息和运行状态信息 确定备份控制器为 N个备份控制器时, 将所述故障控制器的网络资源信息划 分为 N个部分网络资源信息, 并分别发送给所述 N个备份子域控制器, 以使 每一个备份子域控制器根据获取到的部分网络资源信息, 重新构建和控制所 述故障控制器控制的网络, 其中, N为大于 1的正整数。
4、 如权利要求 1-3中任一项所述的方法, 其特征在于, 确定故障控制器, 具体包括:
在接收到控制器申请信息时 , 获取发送所述控制器申请信息的节点的通 信地址, 根据所述节点的通信地址和同步获取到的控制器集群中每一个控制 器的网络资源信息, 确定故障控制器; 或, 在确定代理服务器与控制器之间的会话中断时, 确定所述控制器为故障 控制器。
5、 如权利要求 1-4中任一项所述的方法, 其特征在于, 所述故障控制器 为子域控制器, 所述根据所述控制器集群中每一个控制器的网络资源信息和 运行状态信息确定备份控制器, 具体包括:
根据所述控制器集群中每一个控制器的网络资源信息和运行状态信息, 确定备份子域控制器作为备份控制器, 其中, 所述备份子域控制器为新启用 的子域控制器, 或所述控制器集群中处于可用状态的子域控制器。
6、 如权利要求 5所述的方法, 其特征在于, 将所述故障控制器的网络资 源信息转发至所述备份控制器 , 以使所述备份控制器控制所述故障控制器控 制的网络, 具体包括:
将所述故障控制器的网络资源信息转发至所述备份子域控制器, 并根据 所述网络资源信息为所述备份子域控制器分配通信地址, 并将所述通信地址 通知给所述故障控制器控制的子域网络中的设备, 以使所述备份子域控制器 控制所述故障控制器控制的子域网络。
7、 如权利要求 1-4中任一项所述的方法, 其特征在于, 所述故障控制器 为父控制器, 所述根据所述控制器集群中每一个控制器的网络资源信息和运 行状态信息确定备份控制器, 具体包括:
根据所述控制器集群中每一个控制器网络资源信息和运行状态信息, 确 定备份父控制器作为备份控制器, 其中, 所述备份父控制器为新启用的父控 制器, 或所述控制器集群中处于可用状态的父控制器。
8、 如权利要求 7所述的方法, 其特征在于, 将所述故障控制器的网络资 源信息转发至所述备份控制器 , 以使所述备份控制器控制所述故障控制器控 制的网络, 具体包括:
将所述任意一个控制器的网络资源信息转发至所述备份父控制器 , 并根 据所述网络资源信息为所述备份父控制器分配通信地址, 并将所述通信地址 通知所述故障控制器控制的子域控制器, 以使所述备份父控制器控制所述故 障控制器控制的全局网络。
9、 一种网络控制方法, 其特征在于, 包括:
同步获取控制器集群中每一个控制器的网络资源信息, 所述控制器集群 包括子域控制器和父控制器, 其中, 所述子域控制器发现和控制子域网络, 所述父控制器基于子域控制器控制全局网络;
将每一个控制器的网络资源信息同步至相应的备份控制器中;
确定故障控制器, 通知相应的备份控制器控制所述故障控制器控制的网 络。
10、 如权利要求 9 所述的方法, 其特征在于, 所述网络资源信息至少包 括业务信息或 /和路由信息。
11、 如权利要求 9或 10所述的方法, 其特征在于, 确定故障控制器, 具 体包括:
在接收到控制器申请信息时 , 获取发送所述控制器申请信息的节点的通 信地址, 根据所述节点的通信地址和同步获取到的控制器集群中每一个控制 器的网络资源信息, 确定故障控制器; 或,
在确定代理服务器与控制器之间的会话中断时, 确定所述控制器为故障 控制器。
12、 如权利要求 9-11中的任一项所述的方法, 其特征在于, 将每一个控 制器的网络资源信息同步至相应的备份控制器中, 具体包括:
将每一个控制器的网络资源信息同步至虚拟机中, 将所述虚拟机作为该 控制器的备份控制器; 或
将每一个控制器的网络资源信息同步至与该控制器对应的实体装置中, 将所述实体装置作为该控制器的备份控制器。
13、 一种网络控制装置, 其特征在于, 包括:
获取模块, 用于获取控制器集群中每一个控制器的网络资源信息和运行 状态信息, 所述控制器集群包括子域控制器和父控制器, 其中, 所述子域控 制器发现和控制子域网络, 所述父控制器基于子域控制器控制全局网络; 确定模块, 用于确定故障控制器;
转发模块, 用于根据所述控制器集群中每一个控制器的网络资源信息和 运行状态信息确定备份控制器, 将所述故障控制器的网络资源信息转发至所 述备份控制器 , 以使所述备份控制器控制所述故障控制器控制的网络。
14、如权利要求 13所述的装置, 其特征在于, 所述获取模块, 具体用于: 同步获取控制器集群中每一个控制器控制的节点的通信地址、 业务信息、 路由信息和运行状态信息。
15、 如权利要求 13或 14所述的装置, 其特征在于, 所述转发模块, 具 体用于:
在根据所述控制器集群中每一个控制器的网络资源信息和运行状态信息 确定备份控制器为 N个备份控制器时, 将所述故障控制器的网络资源信息划 分为 N个部分网络资源信息, 并分别发送给所述 N个备份子域控制器, 以使 每一个备份子域控制器根据获取到的部分网络资源信息, 重新构建和控制所 述故障控制器控制的网络, 其中, N为大于 1的正整数。
16、如权利要求 13-15中任一项所述的装置,其特征在于,所述确定模块, 具体用于:
在接收到控制器申请信息时 , 获取发送所述控制器申请信息的节点的通 信地址, 根据所述节点的通信地址和同步获取到的控制器集群中每一个控制 器的网络资源信息, 确定故障控制器; 或,
在确定本装置与控制器之间的会话中断时, 确定所述控制器为故障控制 器。
17、如权利要求 13-16中任一项所述的装置,其特征在于,所述转发模块, 包括:
第一子模块, 用于在所述确定模块确定所述故障控制器为子域控制器时, 根据所述控制器集群中每一个控制器的网络资源信息和运行状态信息, 确定 备份子域控制器作为备份控制器, 其中, 所述备份子域控制器为新启用的子 域控制器, 或所述控制器集群中处于可用状态的子域控制器; 第二子模块, 用于将所述故障控制器的网络资源信息转发至所述备份控 制器, 以使所述备份控制器控制所述故障控制器控制的网络。
18、 如权利要求 17所述的装置, 其特征在于, 所述第二子模块, 具体用 于:
将所述故障控制器的网络资源信息转发至所述备份子域控制器, 并根据 所述网络资源信息为所述备份子域控制器分配通信地址, 并将所述通信地址 通知给所述故障控制器控制的子域网络中的设备, 以使所述备份子域控制器 控制所述故障控制器控制的子域网络。
19、如权利要求 13-16中任一项所述的装置,其特征在于,所述转发模块, 包括:
第一子模块, 用于在所述确定模块确定所述故障控制器为父控制器时, 根据所述控制器集群中每一个控制器网络资源信息和运行状态信息, 确定备 份父控制器作为备份控制器, 其中, 所述备份父控制器为新启用的父控制器, 或所述控制器集群中处于可用状态的父控制器;
第二子模块, 用于将所述故障控制器的网络资源信息转发至所述备份控 制器, 以使所述备份控制器控制所述故障控制器控制的网络。
20、 如权利要求 19所述的装置, 其特征在于, 所述第二子模块, 具体用 于:
将所述任意一个控制器的网络资源信息转发至所述备份父控制器 , 并根 据所述网络资源信息为所述备份父控制器分配通信地址, 并将所述通信地址 通知所述故障控制器控制的子域控制器, 以使所述备份父控制器控制所述故 障控制器控制的全局网络。
21、 一种网络控制装置, 其特征在于, 包括:
获取模块, 用于同步获取控制器集群中每一个控制器的网络资源信息 , 所述控制器集群包括子域控制器和父控制器, 其中, 所述子域控制器发现和 控制子域网络, 所述父控制器基于子域控制器控制全局网络;
同步模块, 用于将每一个控制器的网络资源信息同步至相应的备份控制 器中;
确定模块, 用于确定故障控制器, 通知相应的备份控制器控制所述故障 控制器控制的网络。
22、 如权利要求 21所述的装置, 其特征在于, 所述网络资源信息至少包 括业务信息或 /和路由信息。
23、 如权利要求 21或 22所述的装置, 其特征在于, 所述确定模块, 具 体用于:
在接收到控制器申请信息时 , 获取发送所述控制器申请信息的节点的通 信地址, 根据所述节点的通信地址和同步获取到的控制器集群中每一个控制 器的网络资源信息, 确定故障控制器, 通知相应的备份控制器控制所述故障 控制器控制的网络; 或,
在确定本装置与控制器之间的会话中断时, 确定所述控制器为故障控制 器, 通知相应的备份控制器控制所述故障控制器控制的网络。
24、如权利要求 21-23中任一项所述的装置,其特征在于,所述同步模块, 具体用于:
将每一个控制器的网络资源信息同步至虚拟机中, 将所述虚拟机作为该 控制器的备份控制器; 或
将每一个控制器的网络资源信息同步至与该控制器对应的实体装置中, 将所述实体装置作为该控制器的备份控制器。
PCT/CN2013/080444 2013-07-30 2013-07-30 一种网络控制方法及装置 WO2015013896A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
CN201380001226.7A CN103596652B (zh) 2013-07-30 2013-07-30 一种网络控制方法及装置
ES13890606.0T ES2645102T3 (es) 2013-07-30 2013-07-30 Método y aparato de control de red
EP13890606.0A EP3016316B1 (en) 2013-07-30 2013-07-30 Network control method and apparatus
PCT/CN2013/080444 WO2015013896A1 (zh) 2013-07-30 2013-07-30 一种网络控制方法及装置

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/080444 WO2015013896A1 (zh) 2013-07-30 2013-07-30 一种网络控制方法及装置

Publications (1)

Publication Number Publication Date
WO2015013896A1 true WO2015013896A1 (zh) 2015-02-05

Family

ID=50086362

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/080444 WO2015013896A1 (zh) 2013-07-30 2013-07-30 一种网络控制方法及装置

Country Status (4)

Country Link
EP (1) EP3016316B1 (zh)
CN (1) CN103596652B (zh)
ES (1) ES2645102T3 (zh)
WO (1) WO2015013896A1 (zh)

Families Citing this family (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
ES2645102T3 (es) * 2013-07-30 2017-12-04 Huawei Technologies Co. Ltd. Método y aparato de control de red
CN104954281B (zh) * 2014-03-31 2018-08-03 中国移动通信集团公司 通信方法、系统、资源池管理系统、交换机和控制装置
CN104158681B (zh) * 2014-08-06 2018-02-09 新华三技术有限公司 Sdn网络中区域控制器失效的处理方法和处理装置
CN104158642B (zh) * 2014-08-08 2018-03-27 上海斐讯数据通信技术有限公司 一种为软件定义网络控制器提供备份的方法及系统
CN105490955B (zh) * 2014-09-24 2019-01-22 新华三技术有限公司 一种流量切换的方法和设备
CN105812161B (zh) * 2014-12-31 2019-08-06 中国电信股份有限公司 一种控制器故障备份方法和系统
CN104639615B (zh) * 2015-01-07 2018-10-09 新华三技术有限公司 一种控制器集群中数据处理方法和装置
CN106406082B (zh) 2015-07-27 2021-02-12 华为技术有限公司 一种系统控制方法、装置,控制器及控制系统
CN105227385B (zh) * 2015-11-12 2019-03-05 中国联合网络通信集团有限公司 一种故障处理的方法及系统
TWI623223B (zh) * 2016-08-02 2018-05-01 Chunghwa Telecom Co Ltd 支援多樣性架構元件之軟體定義網路控制器
DE102016219854A1 (de) * 2016-10-12 2018-04-12 Siemens Aktiengesellschaft Computersystem und Verfahren zum dynamischen Anpassen eines software-definierten Netzwerks
CN106452696A (zh) * 2016-10-28 2017-02-22 郑州云海信息技术有限公司 一种服务器集群的控制系统
CN106953914A (zh) * 2017-03-20 2017-07-14 郑州云海信息技术有限公司 一种用于控制器集群的仲裁方法及系统
CN107257295B (zh) * 2017-06-14 2020-04-14 广州市品高软件股份有限公司 一种分布式架构软件定义网络控制器的调度方法
EP3651412B1 (en) * 2017-07-05 2022-12-07 Global Energy Interconnection Research Institute Co., Ltd Sdn multi-domain network backup method and system based on dual-port switch
CN107634849A (zh) * 2017-08-08 2018-01-26 广东网金控股股份有限公司 一种全局区块链环境构建方法
CN110391929B (zh) * 2018-04-23 2022-07-26 深圳市格瑞信息科技有限公司 一种容错控制方法、装置及容错构件
CN111614425B (zh) * 2019-02-25 2022-12-06 中国移动通信有限公司研究院 一种时间同步方法和接入网络设备
CN112533082B (zh) * 2019-09-17 2023-11-21 中国移动通信有限公司研究院 链路资源发现方法、装置、设备及计算机可读存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004355446A (ja) * 2003-05-30 2004-12-16 Hitachi Ltd クラスタシステム及びその制御方法
CN101888683A (zh) * 2009-05-14 2010-11-17 阿瓦雅公司 分布式环境中的容忍设备许可
CN102394774A (zh) * 2011-10-31 2012-03-28 广东电子工业研究院有限公司 云计算操作系统的控制器服务状态监控和故障恢复方法
CN103596652A (zh) * 2013-07-30 2014-02-19 华为技术有限公司 一种网络控制方法及装置

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8830820B2 (en) * 2011-10-14 2014-09-09 Google Inc. Semi-centralized routing
RU2595540C9 (ru) * 2011-10-25 2017-04-25 Ницира, Инк. Базовые контроллеры для преобразования универсальных потоков

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004355446A (ja) * 2003-05-30 2004-12-16 Hitachi Ltd クラスタシステム及びその制御方法
CN101888683A (zh) * 2009-05-14 2010-11-17 阿瓦雅公司 分布式环境中的容忍设备许可
CN102394774A (zh) * 2011-10-31 2012-03-28 广东电子工业研究院有限公司 云计算操作系统的控制器服务状态监控和故障恢复方法
CN103596652A (zh) * 2013-07-30 2014-02-19 华为技术有限公司 一种网络控制方法及装置

Non-Patent Citations (1)

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

Also Published As

Publication number Publication date
EP3016316A1 (en) 2016-05-04
ES2645102T3 (es) 2017-12-04
EP3016316B1 (en) 2017-09-13
CN103596652A (zh) 2014-02-19
CN103596652B (zh) 2015-12-30
EP3016316A4 (en) 2016-07-06

Similar Documents

Publication Publication Date Title
WO2015013896A1 (zh) 一种网络控制方法及装置
EP2985952B1 (en) Method and device for protecting service reliability, and network virtualization system
TWI724106B (zh) 資料中心間的業務流量控制方法、裝置及系統
JP4729119B2 (ja) ラベルスイッチングネットワークにおける通信装置
WO2012013050A1 (zh) 主备用设备间的信息同步方法和服务器
US20140185429A1 (en) Communication system, path switching method and communication device
CN107769984B (zh) 一种基于网关的低成本主备热切换系统及方法
EP2598844B1 (en) State synchronization of serial data link sessions connected across an ip network
US10873527B2 (en) Link protection method in SDN, switching device, and network controller
JP2017079399A (ja) 伝送装置及び伝送システム
JP2009003923A (ja) スロットインターフェースアクセス装置、その方法及びそのプログラム並びに主装置の冗長構成及び代替方法
US20120033549A1 (en) Method and System for Implementing Network Element-Level Redundancy
CN107615721A (zh) 传输软件定义网络(sdn)‑逻辑链路聚合(lag)成员信令
RU2563142C2 (ru) Система базовых станций для железнодорожного применения и способ формирования сети базовых станций
JP6383232B2 (ja) 中継システムおよびスイッチ装置
CN107018072B (zh) 一种数据帧发送方法和接入设备
CN102255741B (zh) 用户业务信息备份方法和装置
CN114268581B (zh) 一种实现网络设备高可用和负载分担的方法
KR20200072941A (ko) 실시간 오류 감지를 통한 vrrp 기반의 네트워크 장애 대응 방법 및 장치
JP5063726B2 (ja) 仮想ノード装置のコンフィグ制御方法
US8553531B2 (en) Method and system for implementing network element-level redundancy
WO2014044088A1 (zh) L2tp网络的保护方法、装置及系统
CN101262400A (zh) 一种桥模式弹性分组环冗余保护的方法和系统
US10536875B2 (en) System and method for seamless TCP connection handoff
US20120033547A1 (en) Method and System for Implementing Network Element-Level Redundancy

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

Country of ref document: EP

Kind code of ref document: A1

REEP Request for entry into the european phase

Ref document number: 2013890606

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2013890606

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE