CN104811325A - Cluster node controller monitoring method, related device and controller - Google Patents

Cluster node controller monitoring method, related device and controller Download PDF

Info

Publication number
CN104811325A
CN104811325A CN201410035863.2A CN201410035863A CN104811325A CN 104811325 A CN104811325 A CN 104811325A CN 201410035863 A CN201410035863 A CN 201410035863A CN 104811325 A CN104811325 A CN 104811325A
Authority
CN
China
Prior art keywords
node controller
slave node
heartbeat
controller
control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410035863.2A
Other languages
Chinese (zh)
Other versions
CN104811325B (en
Inventor
左少夫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Cloud Computing Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201410035863.2A priority Critical patent/CN104811325B/en
Publication of CN104811325A publication Critical patent/CN104811325A/en
Application granted granted Critical
Publication of CN104811325B publication Critical patent/CN104811325B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Abstract

An embodiment of the invention discloses a cluster node controller monitoring method comprising the following steps: a main node controller controls the main node controller to establish a logic connection relationship with n standby node controllers in a software-defined networking SDN controller cluster; the main node controller controls adjacent node controllers in the SDN controller cluster to establish heartbeat connection; and the main node controller receives a heartbeat alert sent by the standby node controllers. By adopting the method, the main node controller only needs to establish heartbeat connection with two standby node controllers which are logically connected with the main node controller instead of all the standby node controllers. Compared with the prior art, the method provided by the invention can be used to greatly reduce the workload and resource consumption of the main node controller and reduce the requirement of the main node controller for hardware and network. The invention further discloses a related device and a controller.

Description

A kind of clustered node controller monitoring method, relevant apparatus and controller
Technical field
The present invention relates to communication technical field, particularly relate to a kind of clustered node controller monitoring method, relevant apparatus and system.
Background technology
Software defined network (SDN, Software Defined Networking) is a kind of emerging network architecture.Network-based control and forwarding capability are separated by it, make network control able to programme, and underlying basis framework relative to service application and network service abstract, thus realizes network virtualization.In order to Lifting Control System performance and availability, the controller in SDN generally adopts clustering to dispose.Namely multiple controller forms a cluster, the corresponding clustered node of each controller.All controllers externally provide homogeneity service, to realize group system controller node dynamic expansion.Wherein, a controller in SDN controller cluster can be become master node control by election, and other controller then correspondingly becomes slave node controller.Clustered node controller is responsible for externally providing general service, mainly processes the control request of lower floor's network equipment.In addition, cluster master node control is internally also responsible for clustered node controller management, externally makes cluster be rendered as a logical whole, and by configuration Floating IP address, makes cluster tool elephant.
In prior art, in order to realize the management to each slave node controller in cluster, cluster master node control needs and sets up heartbeat between slave node controllers all in cluster and is connected, and realizes clustered node controller monitoring by heartbeat connection.On the one hand, cluster master node control accepts the monitoring of slave node controller, enables cluster slave node controller Timeliness coverage master node control abnormal, and again initiates master node control election when exception; On the other hand, cluster master node control also can connect monitoring slave node controller, with fast refresh cluster topology information by the heartbeat between main-standby nodes controller.
But in the prior art, because cluster master node control needs to set up heartbeat with slave node controllers all in cluster and be connected, so the live load of master node control is greatly, resource consumption is many, thus master node control to hardware and network requirement high.
Summary of the invention
Embodiments provide a kind of clustered node controller monitoring method, live load and the resource consumption of master node control can be reduced, and then reduce the requirement of master node control to hardware and network.
Embodiment of the present invention first aspect provides a kind of clustered node controller monitoring method, comprising:
In software defined network SDN controller cluster, master node control controls described master node control and logic connecting relation set up by n slave node controller, wherein, described logic connecting relation is end to end ring topology, and each Node Controller in described ring topology has two adjacent Node Controllers;
Described master node control controls to set up heartbeat between Node Controller adjacent in described SDN controller cluster and connects, and described heartbeat connects the communications status for monitoring described n slave node controller;
Described master node control receives the heartbeat alarm that described slave node controller sends, and safeguards the logic connecting relation of described SDN controller cluster according to described heartbeat alarm.
In conjunction with the first aspect of the embodiment of the present invention, in the first implementation of the first aspect of the embodiment of the present invention, described master node control controls described master node control and n slave node controller and sets up logic connecting relation and comprise:
Described n slave node controller sorts from 1 to n by described master node control;
Described master node control is set up logic with the 1st slave node controller and is connected;
Described master node control controls the i-th slave node controller and sets up logic with the i-th+1 slave node controller and be connected, and described i is any positive integer in 1 to n-1;
Described master node control is set up logic with the n-th slave node controller and is connected.
In conjunction with the first implementation of the first aspect of the embodiment of the present invention, in the second implementation of the first aspect of the embodiment of the present invention, described n slave node controller comprises from 1 to n sequence by described master node control:
Described master node control receives the registration of described n slave node controller;
Described n slave node controller sorts by the time order and function order that described master node control is registered to described master node control according to described n slave node controller, wherein, the slave node controller registered to described master node control is at first as the 1st slave node controller, and the slave node controller registered of the most backward described master node control is as the n-th slave node controller.
In conjunction with the first implementation of the first aspect of the embodiment of the present invention, in the third implementation of the first aspect of the embodiment of the present invention, described Node Controller controls to set up heartbeat connection between Node Controller adjacent in described SDN controller and comprises:
Set up heartbeat between described master node control with the 1st slave node controller to be connected;
Described master node control controls to set up heartbeat between the i-th slave node controller with the i-th+1 slave node controller and is connected, and described i is any positive integer in 1 to n-1;
Set up heartbeat between described master node control with the n-th slave node controller to be connected.
In conjunction with the third implementation of the first aspect of the embodiment of the present invention, in the 4th kind of implementation of the first aspect of the embodiment of the present invention:
Set up after heartbeat is connected between described master node control with the 1st slave node controller and also comprise: if set up heartbeat connection failure between described master node control and the 1st slave node controller, then described master node control is set up and is connected with the logic of the 2nd slave node controller, and sets up heartbeat with the 2nd slave node controller and be connected;
Described master node control controls to set up after heartbeat is connected between the i-th slave node controller with the i-th+1 slave node controller also to comprise: if set up heartbeat connection failure between the i-th slave node controller and the i-th+1 slave node controller, then described master node control is set up the i-th slave node controller and is connected with the logic of the i-th+2 slave node controller, and controls to set up heartbeat between the i-th slave node controller with the i-th+2 slave node controller and be connected;
Set up after heartbeat is connected between described master node control with the n-th slave node controller and also comprise: if set up heartbeat connection failure between described master node control and the n-th slave node controller, then described master node control is set up and is connected with the logic of the (n-1)th slave node controller, and with set up heartbeat between the (n-1)th slave node controller and be connected.
In conjunction with the first implementation of the first aspect of the embodiment of the present invention to any one in the 4th kind of implementation of first aspect, in the 5th kind of implementation of the first aspect of the embodiment of the present invention, described method also comprises:
Described master node control receives the registration of new node controller, and described new node controller is the Node Controller newly adding described SDN controller cluster;
Described master node control is set up and is connected with the logic of described new node controller, and with set up heartbeat between described new node controller and be connected;
Described master node control controls described new node controller and sets up and be connected with the logic of the n-th slave node controller, and controls to set up heartbeat between described new node controller with described n-th slave node controller and be connected;
Described master node control is removed and is connected with the logic between the n-th slave node controller, and interrupts being connected with the heartbeat between described n-th slave node controller.
In conjunction with the first implementation of the first aspect of the embodiment of the present invention to any one in the 4th kind of implementation of first aspect, in 6th kind of implementation of the first aspect of the embodiment of the present invention, described master node control receives the heartbeat alarm that described slave node controller sends, and safeguards that the logic connecting relation of described SDN controller cluster comprises according to described heartbeat alarm:
If described master node control receives the first alarm that the i-th slave node controller sends, and described master node control receives the second alarm that the i-th+1 slave node controller sends, then described master node control to be determined between the i-th slave node controller with the i-th+1 slave node controller that heartbeat is connected and is broken down, and described master node control controls described i-th slave node controller and sets up logic between the i-th+2 slave node controller and be connected and be connected with heartbeat, described first alarm is for representing the heartbeat disconnecting between the i-th slave node controller and the i-th+1 slave node controller, described second alarm is for representing the heartbeat disconnecting between the i-th slave node controller and the i-th+1 slave node controller, described i is any positive integer in 1 to n-2.
In conjunction with the first implementation of the first aspect of the embodiment of the present invention to any one in the 4th kind of implementation of first aspect, in 7th kind of implementation of the first aspect of the embodiment of the present invention, described master node control receives the heartbeat alarm that described slave node controller sends, and safeguards that the logic connecting relation of described SDN controller cluster comprises according to described heartbeat alarm:
If described master node control receives the 3rd alarm that the i-th-1 slave node controller sends, and described master node control receives the 4th alarm that the i-th+1 slave node controller sends, then described master node control determines that the i-th slave node controller breaks down, and described master node control controls described i-th-1 slave node controller sets up to be connected with the logic of described i-th+1 slave node controller and be connected with heartbeat, described 3rd alarm is for representing the heartbeat disconnecting of the i-th-1 slave node controller and the i-th slave node controller, described 4th alarm is for representing the heartbeat disconnecting of the i-th+1 slave node controller and the i-th slave node controller, described i is any positive integer in 2 to n-1.
In conjunction with the first implementation of the first aspect of the embodiment of the present invention to any one in the 4th kind of implementation of first aspect, in the 7th kind of implementation of the first aspect of the embodiment of the present invention, described method also comprises:
If the 1st slave node controller is connected with the heartbeat between master node control, the n-th slave node controller is connected with the heartbeat between master node control and all interrupts, then described 1st slave node controller and described n-th slave node controller are seized cluster and are locked;
If the 1st slave node controller is seized successfully, then described 1st slave node controller is defined as new master node control, and described new master node control is set up to be connected with the logic of described n-th slave node controller and is connected with heartbeat;
If the n-th slave node controller is seized successfully, then described n-th slave node controller is defined as new master node control, and described new master node control is set up to be connected with the logic of described 1st slave node controller and is connected with heartbeat.
Embodiment of the present invention second aspect provides a kind of clustered node controller monitoring device, comprising:
Arrangement module, for controlling master node control and logic connecting relation set up by n slave node controller, wherein, described logic connecting relation is end to end ring topology, and each Node Controller in described ring topology has two adjacent Node Controllers;
Link block, connect for controlling to set up heartbeat between described adjacent Node Controller, described heartbeat connects the communications status for monitoring described n slave node controller;
Alarm modules, for receiving the heartbeat alarm that described slave node controller sends, and safeguards the logic connecting relation of described SDN controller cluster according to described heartbeat alarm.
In conjunction with the second aspect of the embodiment of the present invention, in the first implementation of the second aspect of the embodiment of the present invention, described arrangement module comprises:
Sequencing unit, for sorting described n slave node controller from 1 to n;
First logical block, is connected for setting up logic with the 1st slave node controller;
Logic control element, set up logic with the i-th+1 slave node controller be connected for controlling the i-th slave node controller, described i is any positive integer in 1 to n-1;
Second logical block, is connected for setting up logic with the n-th slave node controller.
In conjunction with the first implementation of the second aspect of the embodiment of the present invention, in the second implementation of the second aspect of the embodiment of the present invention, described sequencing unit comprises:
Registration subelement, for receiving the registration of described n slave node controller;
Sequence subelement, for the time order and function order according to described n slave node controller registration, described n slave node controller is sorted, wherein, the slave node controller registered to described master node control is at first as the 1st slave node controller, and the slave node controller registered of the most backward described master node control is as the n-th slave node controller.
In conjunction with the first implementation of the second aspect of the embodiment of the present invention, in the third implementation of the second aspect of the embodiment of the present invention, described link block comprises:
First linkage unit, for set up heartbeat between the 1st slave node controller and be connected;
Connection control unit, be connected for controlling to set up heartbeat between the i-th slave node controller with the i-th+1 slave node controller, described i is any positive integer in 1 to n-1;
Second linkage unit, for set up heartbeat between the n-th slave node controller and be connected.
In conjunction with the third implementation of the second aspect of the embodiment of the present invention, in the 4th kind of implementation of the second aspect of the embodiment of the present invention:
When setting up heartbeat connection failure between described first linkage unit and the 1st slave node controller, described first logical block also for: set up be connected with the logic of the 2nd slave node controller, and described first linkage unit also for: set up heartbeat with the 2nd slave node controller and be connected;
When described connection control unit controls to set up heartbeat connection failure between the i-th slave node controller and the i-th+1 slave node controller, described logic control element also for: set up i-th slave node controller set up be connected with the logic of the i-th+2 slave node controller, and described connection control unit also for: control to set up heartbeat between the i-th slave node controller with the i-th+2 slave node controller and be connected;
When setting up heartbeat connection failure between described second linkage unit and the n-th slave node controller, described second logical block also for: set up and be connected with the logic of the (n-1)th slave node controller, and described second linkage unit also for: with set up heartbeat between the (n-1)th slave node controller and be connected.
In conjunction with the second aspect of the embodiment of the present invention, in the 5th kind of implementation of the second aspect of the embodiment of the present invention, described device also comprises:
Receiver module, for receiving the log-on message of new node controller, described new node controller is the Node Controller newly adding described SDN controller cluster;
Described second logical block also for: set up be connected with the logic of described new node controller, and releasing be connected with the logic of the n-th slave node controller;
Described second linkage unit also for: with set up heartbeat between described new node controller and be connected, and interrupt being connected with the heartbeat of described n-th slave node controller;
Described logic control element also for: control described new node controller set up be connected with the logic of the n-th slave node controller;
Described connection control unit also for: control to set up heartbeat between described new node controller with described n-th slave node controller and be connected.
In conjunction with the second aspect of the embodiment of the present invention, in the 6th kind of implementation of the second aspect of the embodiment of the present invention, described alarm modules also comprises:
First alarm unit, for receiving the first alarm that the i-th slave node controller sends, described first alarm is for representing the heartbeat disconnecting between the i-th slave node controller and the i-th+1 slave node controller;
Second alarm unit, for receiving the second alarm that the i-th+1 slave node controller sends, described second alarm is for representing the heartbeat disconnecting between the i-th slave node controller and the i-th+1 slave node controller;
First determining unit, for receiving the first alarm that the i-th slave node controller sends in described first alarm unit, and described second alarm unit is when receiving the second alarm that the i-th+1 slave node controller sends, determines between the i-th slave node controller with the i-th+1 slave node controller that heartbeat is connected and break down;
Described logic control element also for: described first determining unit to determine between the i-th slave node controller with the i-th+1 slave node controller heartbeat be connected break down time, control described i-th slave node controller and set up and be connected with the logic of described i-th+2 slave node controller;
Described connection control unit also for: described first determining unit to determine between the i-th slave node controller with the i-th+1 slave node controller heartbeat be connected break down time, control to set up heartbeat between described i-th slave node controller with described i-th+2 slave node controller and be connected.
In conjunction with the second aspect of the embodiment of the present invention, in the 7th kind of implementation of the second aspect of the embodiment of the present invention, described alarm modules also comprises:
3rd alarm unit, for receiving the 3rd alarm that the i-th-1 slave node controller sends, described 3rd alarm is for representing the heartbeat disconnecting of the i-th-1 slave node controller and the i-th slave node controller;
4th alarm unit, for receiving the 4th alarm that the i-th+1 slave node controller sends, described 4th alarm is for representing the heartbeat disconnecting of the i-th+1 slave node controller and the i-th slave node controller;
Second determining unit, for receiving the first alarm that the i-th-1 slave node controller sends in described 3rd alarm unit, and described 4th alarm unit receive i-th+1 slave node controller send the 4th alarm time, determine that the i-th slave node controller breaks down;
Described logic control element also for: when described second determining unit determines that the i-th slave node controller breaks down, control described i-th-1 slave node controller set up be connected with the logic of described i-th+1 slave node controller;
Described connection control unit also for: when described second determining unit determines that the i-th slave node controller breaks down, control to set up heartbeat between described i-th-1 slave node controller with described i-th+1 slave node controller and be connected.
In conjunction with the second aspect of the embodiment of the present invention, in the 8th kind of implementation of the second aspect of the embodiment of the present invention, described device also comprises:
Seize module, for seizing cluster lock.
The embodiment of the present invention third aspect provides a kind of controller, comprise embodiment of the present invention second aspect to second aspect the 8th kind of implementation according to any one of clustered node controller monitoring device.
As can be seen from the above technical solutions, in the embodiment of the present invention, logic connecting relation set up by all main-standby nodes controllers in master node control control SDN controller cluster, and controls to set up heartbeat connection between Node Controller connected in this structure.By such method, make master node control only need to follow and set up heartbeat between two slave node controllers being connected with this master node control logic and be connected, and do not need to set up heartbeat with all slave node controllers and be connected.Compared with prior art, method provided by the invention can greatly reduce live load and the resource consumption of master node control, and then reduces the requirement of master node control to hardware and network.
Accompanying drawing explanation
Fig. 1 is clustered node controller monitoring method embodiment flow chart in the embodiment of the present invention;
Fig. 2 is another embodiment flow chart of clustered node controller monitoring method in the embodiment of the present invention;
Fig. 3 is another embodiment flow chart of clustered node controller monitoring method in the embodiment of the present invention;
Fig. 4 is another embodiment flow chart of clustered node controller monitoring method in the embodiment of the present invention;
Fig. 5 is another embodiment flow chart of clustered node controller monitoring method in the embodiment of the present invention;
Fig. 6 is another embodiment flow chart of clustered node controller monitoring method in the embodiment of the present invention;
Fig. 7 is another embodiment flow chart of clustered node controller monitoring method in the embodiment of the present invention;
Fig. 8 is another embodiment flow chart of clustered node controller monitoring method in the embodiment of the present invention;
Fig. 9 is clustered node controller monitoring device example structure figure in the embodiment of the present invention;
Figure 10 is another example structure figure of clustered node controller monitoring device in the embodiment of the present invention;
Figure 11 is another example structure figure of clustered node controller monitoring device in the embodiment of the present invention;
Figure 12 is another example structure figure of clustered node controller monitoring device in the embodiment of the present invention;
Figure 13 is another example structure figure of clustered node controller monitoring device in the embodiment of the present invention;
Figure 14 is another example structure figure of clustered node controller monitoring device in the embodiment of the present invention;
Figure 15 is another example structure figure of clustered node controller monitoring device in the embodiment of the present invention;
Figure 16 is another example structure figure of clustered node controller monitoring device in the embodiment of the present invention;
Figure 17 is another example structure figure of clustered node controller monitoring device in the embodiment of the present invention;
Figure 18 is clustered node controller monitoring device interior section structure chart in the embodiment of the present invention.
Embodiment
Embodiments provide a kind of clustered node controller monitoring method, for reducing the requirement of master node control to hardware and network.The embodiment of the present invention additionally provides relevant device and controller, will be described respectively below.
The main flow of the clustered node controller monitoring method that the embodiment of the present invention provides refers to Fig. 1, comprising:
101, logic connecting relation set up by master node control control master node control and n slave node controller;
In SDN, controller generally adopts clustering to dispose, and namely multiple controller forms a cluster, the corresponding clustered node controller of each controller.Wherein, a Node Controller can become master node control, and other Node Controller then correspondingly becomes slave node controller.The management work of clustered node controller is responsible for by clustered node controller.
In the present embodiment, master node control controls master node control and logic connecting relation set up by n slave node controller, this logic connecting relation is end to end ring topology, and this n slave node controller is other all slave node controller in SDN controller cluster except master node control.
The concept source of ring topology is in topology.In topology, research object is conceptualized as a little, and the transmission medium between two research objects is conceptualized as line, so can the relation between multiple research object is abstract be structure in logic.Such as, in a computer network, often stelliform connection topology configuration is used.Stelliform connection topology configuration is a kind of centered by master node control, the radiant type interconnect architecture that some peripheral slave node controllers couple together, standby node is connected with point mode by point with major node, major node performs centralized communication control strategy, therefore, major node in star-like logical topological structure is comparatively complicated, and burden also weighs.
In the present embodiment, the master node control in SDN controller cluster controls master node control and n slave node controller is arranged in ring topology.In ring topology, each Node Controller connects into an end to end closed annular circuit, and each Node Controller has two adjacent Node Controllers.Wherein, this loop line is loop line in logic, and in step below, master node control can set up loop line physically on the basis of this loop line in logic, does not limit herein.Master node control controls the method that master node control and n slave node controller set up logic connecting relation to be had a lot, describes in detail, do not limit in the embodiment below herein.
102, set up heartbeat between adjacent in master node control control SDN controller cluster Node Controller to connect;
After logic connecting relation set up by master node control control master node control and n slave node controller, control between adjacent Node Controller, to set up heartbeat and connect.
Heartbeat connects for a kind of connection mechanism, for monitoring the communications status of described Node Controller.In this mechanism, two the Node Controller each set times establishing heartbeat connection will send one " heartbeat " to the other side, and described " heartbeat " is a self-defining structure, can be heartbeat packet or heartbeat frame.Two Node Controllers establishing heartbeat connection, by sending " heartbeat " to the other side, inform that the other side oneself still normally works, to guarantee the validity of each Node Controller.
In the present embodiment, set up heartbeat between Node Controller adjacent in master node control cluster and connect.Connecting by setting up heartbeat between adjacent Node Controller, making each Node Controller forming closed-loop path in logic be connected to form an end to end closed annular circuit by heartbeat.The loop line formed in this step is loop line physically, in this loop line physically, setting up between adjacent Node Controller has heartbeat to connect, each Node Controller can connect by heartbeat the operating state monitoring the Node Controller be adjacent, and the operating state of himself is also subject to the monitoring of its adjacent node controller simultaneously.
The method that Node Controller controls to set up between Node Controller adjacent in this cluster heartbeat connection has a lot, will describe in detail in the following embodiments, and not limit herein.
103, master node control receives the heartbeat alarm that slave node controller sends, and safeguards the logic connecting relation of SDN controller cluster according to heartbeat alarm.
After setting up heartbeat connection between Node Controller adjacent in master node control control SDN controller cluster, just can be connected by heartbeat and receive heartbeat alarm, and safeguard the logic connecting relation of SDN controller cluster according to this heartbeat alarm.
Master node control safeguards that according to heartbeat alarm the method for the logic connecting relation of SDN controller cluster has a lot, will describe in detail in the following embodiments, and not limit herein.
In the present embodiment, logic connecting relation set up by all main-standby nodes controllers in master node control control SDN controller cluster, and controls to set up heartbeat connection between Node Controller adjacent in this structure.By such method, make master node control only need to be connected with setting up heartbeat between two slave node controllers adjacent with this master node control, and do not need to set up heartbeat with all slave node controllers and be connected.Compared with prior art, in method provided by the invention, master node control only needs to set up heartbeat with two slave node controllers and is connected, and can greatly reduce live load and the resource consumption of master node control, and then reduces the requirement of master node control to hardware and network.
Embodiment shown in Fig. 1 gives the basic procedure of clustered node controller monitoring method in the present invention, and wherein, master node control controls master node control and logic connecting relation set up by n slave node controller.Another kind of embodiment being proposed below, controlling for describing master node control in detail the process that logic connecting relation set up by master node control and n slave node controller.Refer to Fig. 2, the basic procedure of further embodiment of this invention comprises:
201, n slave node controller sorts from 1 to n by master node control;
Conveniently main joint is to the management of slave node controller, and n slave node controller sorts from 1 to n by master node control.
N slave node controller has a lot from the method that 1 to n sorts by master node control, describes in detail, do not limit in the embodiment below herein.
After n slave node controller sorts from 1 to n by master node control, the slave node controller of sequence first is just the 1st slave node controller, the slave node controller of sequence second is just the 2nd slave node controller ... by that analogy, the slave node controller of sequence n-th is just the n-th slave node controller.
202, master node control is set up logic with the 1st slave node controller and is connected;
Master node control, in order to all Node Controllers in SDN controller cluster are set up logic connecting relation, not only will control to set up logic between slave node controller and connect, himself also will set up logic with two slave node controllers and be connected.In the present embodiment, first master node control is set up logic with the 1st slave node controller and is connected.
Master node control is set up logic with the 1st slave node controller and is connected, and is equivalent to the starting point that master node control is the ring topology that will set up, and the 1st slave node controller is first the slave node controller be connected in this starting point.
203, master node control controls the i-th slave node controller and sets up logic with the i-th+1 slave node controller and be connected;
Master node control and first node controller are set up after logic is connected, and just can continue the logic set up between other slave node controllers and connect, and set up logic be connected so master node control controls the i-th slave node controller with the i-th+1 slave node controller.Wherein, i is any positive integer in 1 to n-1, and i goes through all over all positive integers in 1 to n-1.Namely, master node control controls the 1st slave node controller and the 2nd slave node controller and sets up logic and to be connected and master node control controls the 2nd slave node controller and the 3rd slave node controller sets up logic and to be connected and master node control controls the 3rd slave node controller sets up logic with the 4th slave node controller and be connected ... by that analogy, and master node control controls the (n-1)th slave node controller sets up logic with the n-th slave node controller and be connected.
By such method, master node control has just been linked to be a linear topology structure with n slave node controller, in this line style logical topological structure, master node control is first point, also be starting point, the 1st slave node controller is second point, and the 2nd slave node controller is the 3rd point ... by that analogy, n-th slave node controller is (n+1)th point, is also terminating point.
204, master node control is set up logic with the n-th slave node controller and is connected;
In step 203, master node control and n slave node controller have been linked to be a linear topology structure, and wherein master node control is the starting point in this structure, and the n-th slave node controller is terminating point.
Next, master node control is set up logic with the n-th slave node controller and is connected, and the first place of above-mentioned linear topology structure is connected together, and forms a closed loop line, so just obtains a ring topology.
205, set up heartbeat between adjacent in master node control control SDN controller cluster Node Controller to connect;
206, master node control receives the heartbeat alarm that slave node controller sends, and safeguards the logic connecting relation of SDN controller cluster according to heartbeat alarm.
Step 205,206 substantially identical with step 102,103, do not limit herein.
The present embodiment is described master node control in detail and is controlled the method that logic connecting relation set up by master node control and n slave node controller.By n slave node controller is sorted from 1 to n, master node control and the 1st slave node controller set up that logic is connected, the i-th slave node controller sets up with the i-th+1 slave node controller that logic is connected, master node control is set up logic with the n-th slave node controller and is connected, and make master node control and n slave node controller be arranged in end to end ring topology.In the structure shown here, master node control is only adjacent with two slave node controllers, set up heartbeat connection between adjacent Node Controller after, master node control is only set up heartbeat with two slave node controllers and is connected, compared with prior art, the present embodiment can greatly reduce live load and the resource consumption of master node control, and then reduces the requirement of master node control to hardware and network.
Embodiment shown in Fig. 2 gives a kind of clustered node controller monitoring method, and wherein, n slave node controller, in order to manage slave node controller, sorts from 1 to n by master node control.The following examples will be described master node control in detail and how to be sorted by slave node controller, and refer to Fig. 3, the basic procedure of further embodiment of this invention comprises:
301, master node control receives the registration of n slave node controller;
In SDN controller cluster, after determining master node control, other slave node controllers can by registering the information notification master node control of self to master node control, to facilitate the management of master node control.Master node control receives the registration of n slave node controller.
N slave node controller sorts by the time order and function order that 302, master node control is registered to this master node control according to n slave node controller;
The time order and function registered to master node control due to n slave node controller is different, so n slave node controller sorts by the time order and function order that master node control can be registered to this master node control according to n slave node controller.Wherein, the slave node controller registered to master node control is at first as the 1st slave node controller, second slave node controller registered to master node control is as the 2nd slave node controller ... by that analogy, the slave node controller registered of the most backward master node control is as the n-th slave node controller.
303, master node control is set up logic with the 1st slave node controller and is connected;
304, master node control controls the i-th slave node controller and sets up logic with the i-th+1 slave node controller and be connected;
305, master node control is set up logic with the n-th slave node controller and is connected;
306, master node control controls to set up heartbeat connection between Node Controller adjacent in this SDN controller cluster.
307, master node control receives the heartbeat alarm that slave node controller sends, and safeguards the logic connecting relation of SDN controller cluster according to heartbeat alarm.
Step 303 is substantially identical to 206 with step 202 to 307, does not repeat herein.
Present embodiments provide a kind of clustered node controller monitoring method, describe the step that n slave node controller sorts by master node control in detail.Wherein, master node control receives the registration of n slave node controller, and is sorted according to hour of log-on by n slave node controller.So just achieve master node control by n slave node controller from 1 to n sequence, make master node control can control master node control according to ranking results and logic connecting relation set up by n slave node controller.
Embodiment shown in Fig. 3 provides a kind of clustered node controller monitoring method, achieves and is sorted from 1 to n by n slave node controller.How adjacent in control SDN controller cluster the following examples, by the basis of this sequence, described in detail and set up heartbeat between master node control Node Controller and connect.Refer to Fig. 4, the basic procedure of further embodiment of this invention comprises:
401, master node control receives the registration of n slave node controller;
N slave node controller sorts by the time order and function order that 402, master node control is registered to this master node control according to n slave node controller;
403, master node control is set up logic with the 1st slave node controller and is connected;
404, master node control controls the i-th slave node controller and sets up logic with the i-th+1 slave node controller and be connected;
405, master node control is set up logic with the n-th slave node controller and is connected.
Step 401 is substantially identical to 305 with step 301 to 405, does not repeat herein.
406, set up heartbeat between master node control with the 1st slave node controller to be connected;
Master node control is in order to connect setting up heartbeat between adjacent Node Controllers all in SDN controller cluster, form closed annular circuit physically, not only to control between slave node controller, to set up heartbeat to connect, himself also will set up heartbeat with two the slave node controllers be adjacent and connect.In the present embodiment, master node control first with set up heartbeat between the 1st slave node controller and be connected.
Set up heartbeat between master node control with the 1st slave node controller to be connected, be equivalent to the starting point that master node control is the closed annular circuit physically that will set up, the 1st slave node controller is first the slave node controller be connected in this starting point.
At some time, due to reasons such as the 1st slave node controller damages, master node control can be connected in the heartbeat cannot set up between the 1st slave node controller.A variety of processing method is had for this situation, as: if set up heartbeat connection failure between master node control and the 1st slave node controller, then master node control is set up and is connected with the logic of the 2nd slave node controller, and sets up heartbeat with the 2nd slave node controller and be connected.This processing method is master node control and gets rid of outside ring topology, the 1st slave node controller using first the slave node controller of the 2nd slave node controller in the starting point being connected to closed annular circuit.Also can take other processing modes for this situation, not limit herein.
407, master node control controls to set up heartbeat between the i-th slave node controller with the i-th+1 slave node controller and is connected;
Master node control and the 1st slave node controller are set up after heartbeat is connected, just can continue the heartbeat of setting up between other slave node controllers to connect, be connected so master node control controls to set up heartbeat between the i-th slave node controller with the i-th+1 slave node controller.Wherein, i is any positive integer in 1 to n-1, and i goes through all over all positive integers in 1 to n-1.Namely, master node control controls the 1st slave node controller and sets up heartbeat between the 2nd slave node controller and to be connected and master node control controls to set up between the 2nd slave node controller with the 3rd slave node controller heartbeat is connected and master node control controls to set up heartbeat between the 3rd slave node controller with the 4th slave node controller is connected ... by that analogy, and master node control controls to set up heartbeat between the (n-1)th slave node controller with the n-th slave node controller is connected.
By such method, master node control has just been linked to be a line style circuit physically with n slave node controller, in this line style circuit, master node control is first point, also be starting point, the 1st slave node controller is second point, and the 2nd slave node controller is the 3rd point ... by that analogy, n-th slave node controller is (n+1)th point, is also terminating point.
At some time, due to reasons such as slave node controller damages, master node control can uncontrollable i-th slave node controller with set up heartbeat between the i-th+1 slave node controller and be connected.A variety of processing method is had for this situation, as: if set up heartbeat connection failure between the i-th slave node controller and the i-th+1 slave node controller, then master node control is set up the i-th slave node controller and is connected with the logic of the i-th+2 slave node controller, and controls to set up heartbeat between the i-th slave node controller with the i-th+2 slave node controller and be connected.This processing method is master node control and is got rid of outside ring topology by the i-th+1 slave node controller.Also can take other processing modes for this situation, not limit herein.
408, set up heartbeat between master node control with the n-th slave node controller to be connected;
In step 407, master node control and n slave node controller have been linked to be a line style circuit, and wherein master node control is the starting point of this circuit, and the n-th slave node controller is terminating point;
Next, set up heartbeat between master node control with the n-th slave node controller to be connected, the first place of above-mentioned line style circuit is connected together, form a closed loop line, so just achieve master node control and control between Node Controller adjacent in this SDN controller cluster, to set up heartbeat and connect.
At some time, due to reasons such as the n-th slave node controller damages, master node control can be connected in the heartbeat cannot set up between the n-th slave node controller.A variety of processing method is had for this situation, as: if set up heartbeat connection failure between master node control and the n-th slave node controller, then master node control is set up and is connected with the logic of the (n-1)th slave node controller, and sets up heartbeat with the (n-1)th slave node controller and be connected.This processing method is master node control and gets rid of outside ring topology, the n-th slave node controller using the (n-1)th slave node controller as being connected to closed annular line termination point.Also can take other processing modes for this situation, not limit herein.
409, master node control receives the heartbeat alarm that slave node controller sends, and safeguards the logic connecting relation of SDN controller cluster according to heartbeat alarm.
Step 409 and step 307 are substantially identical, do not repeat herein.
Present embodiments provide a kind of clustered node controller monitoring method, specifically describe master node control after master node control and n slave node controller are set up logic connecting relation, set up heartbeat between how adjacent in control SDN controller cluster Node Controller and connect.Wherein, master node control first with set up between the 1st slave node controller heartbeat is connected, control again to set up between the i-th slave node controller with the i-th+1 slave node controller heartbeat be connected, last with set up heartbeat between the n-th slave node controller and be connected.By such method, make master node control and n slave node controller constitute a closed ring-like circuit by heartbeat, achieve master node control and control between adjacent Node Controller, to set up heartbeat and connect.And, only set up heartbeat with the 1st slave node controller with the n-th slave node controller due to master node control to be connected, so the present embodiment compared with prior art, greatly reduce live load and the resource consumption of master node control, and then reduce the requirement of master node control to hardware and network.
What the embodiment shown in Fig. 1 to Fig. 4 was detailed describes clustered node controller monitoring method, wherein, master node control controls master node control and logic connecting relation set up by n slave node controller, and controls to set up heartbeat connection between adjacent Node Controller.By a kind of new clustered node controller monitoring method of proposition in the following examples, for describing the behavior of the master node control when being added to new node controller in SDN controller cluster.Refer to Fig. 5, the basic procedure of further embodiment of this invention comprises:
501, master node control receives the registration of n slave node controller;
N slave node controller sorts by the time order and function order that 502, master node control is registered to this master node control according to n slave node controller;
503, master node control is set up logic with the 1st slave node controller and is connected;
504, master node control controls the i-th slave node controller and sets up logic with the i-th+1 slave node controller and be connected;
505, master node control is set up logic with the n-th slave node controller and is connected.
506, set up heartbeat between master node control with the 1st slave node controller to be connected;
507, master node control controls to set up heartbeat between the i-th slave node controller with the i-th+1 slave node controller and is connected;
508, set up heartbeat between master node control with the n-th slave node controller to be connected;
Step 501 is substantially identical to 408 with step 401 to 508, does not repeat herein.
509, master node control receives the registration of new node controller;
By step above, between master node control and n slave node controller, establish logic connecting relation, and between adjacent two Node Controllers, establish heartbeat connection.When there being new node controller to join in SDN controller cluster, need new node controller to join in ring topology, and upgrade the whole heartbeat based on ring topology and connect.Wherein, due to a master node control can only be had in SDN controller cluster, so new node controller is also slave node controller.
Wherein, in SDN controller cluster, after determining master node control, other slave node controllers can by registering the information notification master node control of self to master node control, to facilitate the management of master node control, above-mentioned new node controller is no exception.In the present embodiment, master node control receives the registration of new node controller.
Due in the present embodiment, this n slave node controller sorts by the time order and function order that master node control is registered to this master node control according to n slave node controller, and new node controller is the up-to-date Node Controller adding SDN controller cluster, thus hour of log-on be in all slave node controllers the most rearward.Therefore, actual the (n+1)th slave node controller be equivalent in SDN controller cluster of new node controller.
510, master node control is set up and is connected with the logic of new node controller, and with set up heartbeat between new node controller and be connected;
The (n+1)th slave node controller in SDN controller cluster is equivalent to, so new node controller should between master node control and the n-th slave node controller because new node controller is actual.Therefore, master node control is set up and is connected with the logic of new node controller, and with set up heartbeat between new node controller and be connected.
511, master node control controls new node controller and sets up and be connected with the logic of the n-th slave node controller, and controls to set up heartbeat between new node controller with the n-th slave node controller and be connected;
Set up at master node control and be connected with the logic of new node controller, and with set up after heartbeat is connected between new node controller, master node control controls new node controller and sets up and be connected with the logic of the n-th slave node controller, and controls to set up heartbeat between new node controller with the n-th slave node controller and be connected.Like this, new node controller just establishes logic and is connected and is connected with heartbeat with master node control and the n-th slave node controller.
512, master node control is removed and is connected with the logic between the n-th slave node controller, and interrupts being connected with the heartbeat between the n-th slave node controller;
Master node control is removed and is connected with the logic between the n-th slave node controller, and interrupts being connected with the heartbeat between the n-th slave node controller.Like this, master node control just only with the 1st slave node controller with sets up logic between new node controller and is connected and is connected with heartbeat, the n-th slave node controller is connected is connected with heartbeat with regard to setting up logic with new node controller and the (n-1)th slave node controller.Master node control and n+1 slave node controller define new ring topology, and establish and to set up heartbeat between Node Controller adjacent in this new ring topology and connect.
513, master node control receives the heartbeat alarm that slave node controller sends, and safeguards the logic connecting relation of SDN controller cluster according to heartbeat alarm.
Step 513 and step 409 are substantially identical, do not repeat herein.
The basis of the embodiment of the present embodiment shown in Fig. 1 to Fig. 4 proposes a kind of new clustered node controller monitoring method, the method can hold adding of new node controller.The registration of new node controller is received by master node control, foundation is connected with the logic of new node controller and is connected with heartbeat, the foundation of control new node controller is connected with the logic of the n-th slave node controller and is connected with heartbeat, releasing is connected with the logic between the n-th slave node controller and interrupts being connected with the heartbeat between this n-th slave node controller, new node controller is made just to be received in SDN controller cluster, master node control and n+1 slave node controller define new ring topology, and establish and to set up heartbeat between Node Controller adjacent in this new ring topology and connect, embody good extensibility.
Embodiment shown in Fig. 5 provides a kind of clustered node controller monitoring method, makes SDN controller cluster can hold new Node Controller, has good extensibility.The following examples will provide another kind of method, make SDN controller cluster to repair fault, have good stability.Refer to Fig. 6, the basic procedure of another embodiment of the present invention comprises:
601, master node control receives the registration of n slave node controller;
N slave node controller sorts by the time order and function order that 602, master node control is registered to this master node control according to n slave node controller;
603, master node control is set up logic with the 1st slave node controller and is connected;
604, master node control controls the i-th slave node controller and sets up logic with the i-th+1 slave node controller and be connected;
605, master node control is set up logic with the n-th slave node controller and is connected.
606, set up heartbeat between master node control with the 1st slave node controller to be connected;
607, master node control controls to set up heartbeat between the i-th slave node controller with the i-th+1 slave node controller and is connected;
608, set up heartbeat between master node control with the n-th slave node controller to be connected;
Step 601 is substantially identical to 508 with step 501 to 608, does not repeat herein.
609, master node control judges whether the first alarm receiving the i-th slave node controller transmission, and receives the second alarm of the i-th+1 slave node controller transmission;
Master node control judges whether the first alarm receiving the i-th slave node controller transmission, and receives the second alarm of the i-th+1 slave node controller transmission, if the determination result is YES, then performs step 610; If judged result is no, then perform step 611.
Wherein, first alarm is for representing the heartbeat disconnecting between the i-th slave node controller and the i-th+1 slave node controller, second alarm is for representing the heartbeat disconnecting between the i-th slave node controller and the i-th+1 slave node controller, and i is any positive integer in 1 to n-2.
610, master node control to be determined between the i-th slave node controller with the i-th+1 slave node controller that heartbeat is connected and is broken down, and controls the i-th slave node controller and set up logic between the i-th+2 slave node controller and be connected and be connected with heartbeat;
If master node control receives the first alarm that the i-th slave node controller sends, and receive the second alarm of the i-th+1 slave node controller transmission, the heartbeat disconnecting between the i-th slave node controller and the i-th+1 slave node controller is described.Master node control to be determined between the i-th slave node controller with the i-th+1 slave node controller that heartbeat is connected and is broken down, and controls the i-th slave node controller and set up logic between the i-th+2 slave node controller and be connected and be connected with heartbeat.This is actually and is equivalent to master node control and is got rid of outside ring topology by the i-th+1 Node Controller, and re-establishes ring topology with remaining n-1 slave node controller and be connected with the heartbeat of closed annular circuit.
611, master node control performs other operations.
If master node control does not receive the first alarm that the i-th slave node controller sends, or do not receive the second alarm of the i-th+1 slave node controller transmission, illustrate that the heartbeat between the i-th slave node controller with the i-th+1 slave node controller is connected normally.Master node control performs other operations.Other operations herein comprise: maintain SDN controller present grouping conditions, do not perform any operation.
The present embodiment proposes a kind of clustered node controller monitoring method, when master node control receives the first alarm of the i-th slave node controller transmission, and when receiving the second alarm of the i-th+1 slave node controller transmission, to determine between the i-th slave node controller with the i-th+1 slave node controller that heartbeat is connected to break down, and control the i-th slave node controller and set up logic between the i-th+2 slave node controller and be connected and be connected with heartbeat.By such method, heartbeat between two slave node controllers is connected break down, when causing closed annular circuit physically to disconnect, master node control can by getting rid of certain slave node controller outside ring topology, and re-establish logic connecting relation with heartbeat with remaining n-1 slave node controller and be connected, reach the object of repairing fault, improve the stability of SDN controller cluster.
Wherein, the operation that step 610 performs also can be: master node control to be determined between the i-th slave node controller with the i-th+1 slave node controller that heartbeat is connected and broken down, and control the i-th-1 slave node controller and set up logic between the i-th+1 slave node controller and be connected and be connected with heartbeat, do not limit in the embodiment of the present invention.
Embodiment shown in Fig. 6 gives a kind of clustered node controller monitoring method, and the method has good stability.Wherein, when the heartbeat connection between two slave node controllers is broken down, master node control is set up one of them slave node controller and is connected with the heartbeat of other slave node controller, and then repairs fault.The following examples will provide another kind of clustered node controller monitoring method, and make when certain slave node controller breaks down, master node control still can repair fault, has good stability.Refer to Fig. 7, the basic procedure of another embodiment provided by the invention comprises:
701, master node control receives the registration of n slave node controller;
N slave node controller sorts by the time order and function order that 702, master node control is registered to this master node control according to n slave node controller;
703, master node control is set up logic with the 1st slave node controller and is connected;
704, master node control controls the i-th slave node controller and sets up logic with the i-th+1 slave node controller and be connected;
705, master node control is set up logic with the n-th slave node controller and is connected.
706, set up heartbeat between master node control with the 1st slave node controller to be connected;
707, master node control controls to set up heartbeat between the i-th slave node controller with the i-th+1 slave node controller and is connected;
708, set up heartbeat between master node control with the n-th slave node controller to be connected;
Step 701 is substantially identical to 608 with step 601 to 708, does not repeat herein.
709, master node control judges whether the 3rd alarm receiving the i-th-1 slave node controller transmission, and receives the 4th alarm of the i-th+1 slave node controller transmission;
Master node control judges whether the 3rd alarm receiving the i-th-1 slave node controller transmission, and receives the 4th alarm of the i-th+1 slave node controller transmission, if the determination result is YES, then performs step 710; If judged result is no, then perform step 711.
Wherein, 3rd alarm is for representing the heartbeat disconnecting of the i-th-1 slave node controller and the i-th slave node controller, 4th alarm is for representing the heartbeat disconnecting of the i-th+1 slave node controller and the i-th slave node controller, and i is any positive integer in 2 to n-1.
710, master node control determines that the i-th slave node controller breaks down, and controls the i-th-1 slave node controller and set up to be connected with the logic of the i-th+1 slave node controller and be connected with heartbeat;
If master node control receives the 3rd alarm that the i-th-1 slave node controller sends, and receive the 4th alarm of the i-th+1 slave node controller transmission, illustrate that the i-th slave node controller breaks down.Master node control determines that the i-th slave node controller breaks down, and controls the i-th-1 slave node controller and set up to be connected with the logic of the i-th+1 slave node controller and be connected with heartbeat.This is actually and is equivalent to master node control and is got rid of outside ring topology by the i-th Node Controller, and re-establishes logic connecting relation with remaining n-1 slave node controller and be connected with heartbeat.
711, master node control performs other operations.
If master node control does not receive the 3rd alarm that the i-th-1 slave node controller sends, or do not receive the 4th alarm of the i-th+1 slave node controller transmission, illustrate that the i-th slave node controller state is normal.Master node control performs other operations.Other operations herein comprise: maintain SDN controller present grouping conditions, do not perform any operation.
The present embodiment proposes a kind of clustered node controller monitoring method, when master node control receives the 3rd alarm of the i-th-1 slave node controller transmission, and when receiving the 4th alarm of the i-th+1 slave node controller transmission, determine that the i-th slave node controller breaks down, and control the i-th-1 slave node controller and set up logic between the i-th+1 slave node controller and be connected and be connected with heartbeat.By such method, make to break down when certain slave node controller, when causing closed annular circuit physically to disconnect, master node control can be got rid of outside ring topology by the slave node controller that will break down, and re-establish logic connecting relation with heartbeat with remaining n-1 slave node controller and be connected, reach the object of repairing fault, improve the stability of SDN controller cluster.
The embodiment of Fig. 6 and Fig. 7 describes heartbeat connection between slave node controller or slave node controller in detail when itself breaking down, and how master node control repairs fault.But in actual applications, master node control self also may break down.The following examples by detailed description when master node control breaks down, the flow process of fixing a breakdown.Refer to Fig. 8, the basic procedure of further embodiment of this invention comprises:
801, master node control receives the registration of n slave node controller;
N slave node controller sorts by the time order and function order that 802, master node control is registered to this master node control according to n slave node controller;
803, master node control is set up logic with the 1st slave node controller and is connected;
804, master node control controls the i-th slave node controller and sets up logic with the i-th+1 slave node controller and be connected;
805, master node control is set up logic with the n-th slave node controller and is connected.
806, set up heartbeat between master node control with the 1st slave node controller to be connected;
807, master node control controls to set up heartbeat between the i-th slave node controller with the i-th+1 slave node controller and is connected;
808, set up heartbeat between master node control with the n-th slave node controller to be connected;
Step 801 is substantially identical to 708 with step 701 to 808, does not repeat herein.
If 809 the 1st slave node controllers are connected with the heartbeat between master node control, the n-th slave node controller is connected with the heartbeat between master node control and all interrupts, then the 1st slave node controller and the n-th slave node controller are seized cluster and are locked;
If the 1st slave node controller is connected with the heartbeat between master node control, the n-th slave node controller is connected with the heartbeat between master node control and all interrupts, then illustrate that master node control breaks down, SDN controller cluster needs to produce new master node control.
In the present embodiment, new master node control is seized cluster lock by slave node controller and is produced.Cluster lock is a kind of network distribution type lock, in cluster wide effectively.The service of cluster lock is provided by the Third party system independent of this SDN controller cluster, for avoiding the situation producing many master node controls in SDN controller cluster.In the present embodiment, cluster lock is occupied for a long time by cluster master node control, and when master node control occupies cluster lock, other slave node controllers can not obtain cluster lock.When master node control fault, cluster lock automatic unlocking, now other slave node controllers can obtain cluster lock.The implementation of cluster lock has a variety of, comprises and is realized by network data base or by NFS realization or by distribution service realization or by alternate manner realization etc., do not limit herein.
In the present embodiment, adjacent node controller First come first served system carried out by cluster lock, namely when cluster lock is in released state, the 1st slave node controller adjacent with former master node control and the n-th slave node controller can obtain this cluster and lock, and this cluster lock seized by these two slave node controllers, seize successful slave node controller and occupy this cluster lock.
Wherein, if the 1st slave node controller is seized successfully, then perform step 810; If the n-th slave node controller is seized successfully, then perform step 811.
810, the 1st slave node controller is defined as new master node control, and new master node control is set up to be connected with the logic of the n-th slave node controller and is connected with heartbeat;
Lock successfully if cluster seized by the 1st slave node controller, then the 1st slave node controller is defined as new master node control, and sets up logic with the n-th slave node controller and be connected and be connected with heartbeat.Be actually like this and be equivalent to former master node control to get rid of outside ring topology, new master node control re-establishes logic connecting relation with remaining n-1 slave node controller and is connected with heartbeat.
811, the n-th slave node controller is defined as new master node control, and new master node control is set up to be connected with the logic of the 1st slave node controller and is connected with heartbeat.
Lock successfully if cluster seized by the n-th slave node controller, then the n-th slave node controller is defined as new master node control, and sets up logic with the 1st slave node controller and be connected and be connected with heartbeat.Be actually like this and be equivalent to former master node control to get rid of outside ring topology, new master node control re-establishes logic connecting relation with remaining n-1 slave node controller and is connected with heartbeat.
Present embodiments provide a kind of clustered node controller monitoring method, if when the 1st slave node controller be connected with the heartbeat between master node control, the n-th slave node controller to be connected with the heartbeat between master node control all interrupt time, 1st slave node controller and the n-th slave node controller are seized cluster and are locked, seize successful slave node controller and become new master node control, and the logic connecting relation re-established in SDN controller cluster is connected with heartbeat.By such method, make to break down when master node control, when causing closed annular circuit physically to disconnect, 1st slave node controller or the n-th slave node controller can become new master node control by seizing cluster lock, the former master node control broken down is got rid of outside ring topology by new master node control, and re-establish logic connecting relation with remaining n-1 slave node controller and be connected with heartbeat, reach the object of repairing fault, improve the stability of SDN controller cluster.
In order to better understand above-described embodiment, be described for the embody rule scene of a clustered node controller monitoring method below.
In SDN controller cluster, there are 1 master node control and 10 slave node controllers.Master node control receives the registration of these 10 slave node controllers, and is sorted from 1 to 10 by these 10 slave node controllers according to the time order and function of registration.
Afterwards, master node control and the 1st slave node controller are set up logic and are connected and control the 1st slave node controller and the 2nd slave node controller and set up logic and be connected and control the 2nd slave node controller and set up logic with the 3rd slave node controller and be connected ... by that analogy, be connected until control the 9th slave node controller sets up logic with the 10th slave node controller, last master node control is set up logic with the 10th slave node controller and is connected, and forms ring topology.
Afterwards, set up heartbeat between master node control with the 1st slave node controller to be connected and to control to set up between the 1st slave node controller with the 2nd slave node controller heartbeat and be connected and control to set up heartbeat between the 2nd slave node controller with the 3rd slave node controller and be connected ... by that analogy, until control the 9th slave node controller and set up heartbeat between the 10th slave node controller and be connected, set up heartbeat between last master node control with the n-th slave node controller to be connected, define closed annular circuit physically.
Now, new node controller is had to need to add in SDN controller cluster.Master node control receives the registration of this new node controller, foundation is connected with the logic of new node controller and sets up heartbeat be connected, control new node controller and set up and be connected with the logic of the 10th slave node controller, control to set up the logic that heartbeat is connected, last master node control is removed between the 10th slave node controller between new node controller with the 10th slave node controller and be connected between new node controller, and interruption is connected with the heartbeat between the 10th slave node controller.Like this, new Node Controller is just received in ring topology, and as the 11st slave node controller with set up heartbeat between master node control with the 10th slave node controller and be connected.
Afterwards, controller receives the alarm and the alarm that sends of the 4th slave node controller that the 3rd slave node controller sends, and these two articles of alarms all represent the heartbeat disconnecting between the 3rd slave node controller and the 4th slave node controller.Break down so master node control to determine between the 3rd slave node controller with the 4th slave node controller that heartbeat is connected, and control the 3rd slave node controller and set up logic between the 5th slave node controller and be connected and be connected with heartbeat.But setting up heartbeat between the 3rd slave node controller with the 5th slave node controller is connected unsuccessful, so master node control controls the 3rd slave node controller and sets up logic between the 6th slave node controller and be connected and be connected with heartbeat.
Afterwards, controller receives the alarm and the alarm that sends of the 8th slave node controller that the 6th slave node controller sends, and these two articles of alarms represent the heartbeat disconnecting between the 6th slave node controller and the 7th slave node controller, the heartbeat disconnecting between the 8th slave node controller and the 7th slave node controller respectively.So master node control determines that the 7th slave node controller breaks down, and control the 6th slave node controller and set up to be connected with the logic of the 8th slave node controller and be connected with heartbeat.
Afterwards, 1st slave node controller is connected with the heartbeat between master node control, the 11st slave node controller is connected with the heartbeat between master node control and all interrupts, explanation master node control breaks down, and the 1st slave node controller and the 11st slave node controller are seized cluster and locked.Wherein, the 1st slave node controller is seized cluster and is locked successfully, so the 1st slave node controller is defined as new master node control, and sets up to be connected with the logic of the 11st slave node controller and is connected with heartbeat.
Embodiments provide a kind of clustered node controller monitoring device, for realizing the function in the embodiment shown in Fig. 1 to Fig. 8.The basic structure of the device that the embodiment of the present invention provides refers to Fig. 9, mainly comprises:
Arrangement module 901, for controlling master node control and logic connecting relation set up by n slave node controller;
Link block 902, connects for controlling to set up heartbeat between adjacent Node Controller;
Alarm modules 903, for receiving the heartbeat alarm that slave node controller sends, and safeguards the logic connecting relation of SDN controller cluster according to heartbeat alarm.
In the present embodiment, logic connecting relation set up by all main-standby nodes controllers in arrangement module 901 control SDN controller cluster, and link block 902 controls to set up heartbeat between Node Controller adjacent in this structure and connects.By such method, make master node control only need to be connected with setting up heartbeat between two slave node controllers adjacent with this master node control, and do not need to set up heartbeat with all slave node controllers and be connected.Compared with prior art, device provided by the invention makes master node control only need to set up heartbeat with two slave node controllers to be connected, live load and the resource consumption of master node control can be greatly reduced, and then reduce the requirement of master node control to hardware and network.
Embodiment shown in Fig. 9 gives the basic structure of clustered node controller monitoring device in the present invention, and wherein, arrangement module 901 controls master node control and logic connecting relation set up by n slave node controller.Another embodiment will be proposed below, and describe arrangement module 901 in detail and how to control master node control and logic connecting relation set up by n slave node controller.Refer to Figure 10, the basic structure of further embodiment of this invention comprises:
Arrangement module 1001, for controlling master node control and logic connecting relation set up by n slave node controller, in the present embodiment, arranging module 1001 and comprising:
Sequencing unit 10011, for sorting n slave node controller from 1 to n;
First logical block 10012, is connected for setting up logic with the 1st slave node controller;
Logic control element 10013, sets up logic with the i-th+1 slave node controller be connected for controlling the i-th slave node controller;
Second logical block 10014, is connected for setting up logic with the n-th slave node controller;
Link block 1002, connects for controlling to set up heartbeat between Node Controller adjacent in described SDN controller cluster;
Alarm modules 1003, for receiving the heartbeat alarm that slave node controller sends, and safeguards the logic connecting relation of SDN controller cluster according to heartbeat alarm.
Present embodiments provide and a kind ofly can control the device that logic connecting relation set up by master node control and n slave node controller.Wherein, n slave node controller sorts from 1 to n by sequencing unit 10011, first logical block 10012 and the 1st slave node controller set up that logic is connected, logic control element 10013 controls the i-th slave node controller and sets up with the i-th+1 slave node controller that logic is connected, the second logical block 10014 is set up logic with the n-th slave node controller and is connected, and make master node control and n slave node controller be arranged in end to end ring topology.In the structure shown here, master node control is only adjacent with two slave node controllers, after link block 1002 sets up heartbeat connection between adjacent Node Controller, master node control is only set up heartbeat with two slave node controllers and is connected, compared with prior art, the present embodiment can greatly reduce live load and the resource consumption of master node control, and then reduces the requirement of master node control to hardware and network.
Embodiment shown in Figure 10 gives a kind of clustered node controller monitoring device, and wherein, n slave node controller, in order to manage slave node controller, sorts from 1 to n by sequencing unit 10011.The following examples will be described sequencing unit 10011 in detail and how to be sorted by slave node controller, and refer to Figure 11, the basic structure of further embodiment of this invention comprises:
Arrangement module 1101, for controlling master node control and logic connecting relation set up by n slave node controller, in the present embodiment, arranging module 1101 and comprising:
Sequencing unit 11011, for being sorted from 1 to n by described n slave node controller, in the present embodiment, sequencing unit 11011 comprises:
Registration subelement 110111, for receiving the registration of n slave node controller;
Sequence subelement 110112, sorts described n slave node controller for the time order and function order according to n slave node controller registration;
First logical block 11012, is connected for setting up logic with the 1st slave node controller;
Logic control element 11013, sets up logic with the i-th+1 slave node controller be connected for controlling the i-th slave node controller;
Second logical block 11014, is connected for setting up logic with the n-th slave node controller;
Link block 1102, connects for controlling to set up heartbeat between adjacent Node Controller;
Alarm modules 1103, for receiving the heartbeat alarm that slave node controller sends, and safeguards the logic connecting relation of SDN controller cluster according to heartbeat alarm.
Present embodiments provide a kind of clustered node controller monitoring device, achieve n slave node controller sequence.Wherein, registration subelement 110111 receives the registration of n slave node controller, and n slave node controller sorts according to hour of log-on by sequence subelement 110112.So just to achieve n slave node controller from 1 to n sequence, make arrangement module 1101 can control master node control according to ranking results and logic connecting relation set up by n slave node controller.
Embodiment shown in Figure 11 provides a kind of clustered node controller monitoring device, achieves and is sorted from 1 to n by n slave node controller.The following examples provide another kind of device by the basis of this device, connect to set up heartbeat between adjacent Node Controller.Refer to Figure 12, the basic structure of further embodiment of this invention comprises:
Arrangement module 1201, for controlling master node control and logic connecting relation set up by n slave node controller, in the present embodiment, arranging module 1201 and comprising:
Sequencing unit 12011, for being sorted from 1 to n by described n slave node controller, in the present embodiment, sequencing unit 12011 comprises:
Registration subelement 120111, for receiving the registration of n slave node controller;
Sequence subelement 120112, sorts described n slave node controller for the time order and function order according to n slave node controller registration;
First logical block 12012, is connected for setting up logic with the 1st slave node controller;
Logic control element 12013, sets up logic with the i-th+1 slave node controller be connected for controlling the i-th slave node controller;
Second logical block 12014, is connected for setting up logic with the n-th slave node controller;
Link block 1202, connect for controlling to set up heartbeat between Node Controller adjacent in described SDN controller cluster, in the present embodiment, link block 1202 comprises:
First linkage unit 12021, for set up heartbeat between the 1st slave node controller and be connected;
Connection control unit 12022, is connected for controlling to set up heartbeat between the i-th slave node controller with the i-th+1 slave node controller, and wherein, i is any positive integer in 1 to n-1;
Second linkage unit 12023, for set up heartbeat between the n-th slave node controller and be connected;
Alarm modules 1203, for receiving the heartbeat alarm that slave node controller sends, and safeguards the logic connecting relation of SDN controller cluster according to heartbeat alarm.
Wherein, if set up heartbeat connection failure between the first linkage unit 12021 and the 1st slave node controller, then the first logical block 12012 can also be used for: set up and be connected with the logic of the 2nd slave node controller, and the first linkage unit 12021 can also be used for: set up heartbeat with the 2nd slave node controller and be connected.First logical block 12012 and the first linkage unit 12021 can not have such purposes yet, do not limit herein.
If connection control unit 12022 controls to set up heartbeat connection failure between the i-th slave node controller and the i-th+1 slave node controller, then logic control element can also 12013 for: set up the i-th slave node controller and set up and be connected with the logic of the i-th+2 slave node controller, and connection control unit 12022 can also be used for: control to set up heartbeat between the i-th slave node controller with the i-th+2 slave node controller and be connected.Connection control unit 12022 andlogic control unit 12013 can also can not have such purposes yet, does not limit herein.
If set up heartbeat connection failure between the second linkage unit 12023 and the n-th slave node controller, then the second logical block 12014 can also be used for: set up and be connected with the logic of the (n-1)th slave node controller, and described second linkage unit 12023 can also be used for: with set up heartbeat between the (n-1)th slave node controller and be connected.Second linkage unit 12023 and the second logical block 12014 can not have such purposes yet, do not limit herein.
Present embodiments provide a kind of clustered node controller monitoring device, achieve after master node control and n slave node controller are set up logic connecting relation, between adjacent Node Controller, set up heartbeat connect.Wherein, set up between the first linkage unit 12021 with the 1st slave node controller that heartbeat is connected, connection control unit 12022 controls to set up between the i-th slave node controller with the i-th+1 slave node controller heartbeat and be connected, set up heartbeat be connected between the second linkage unit 12023 with the n-th slave node controller.Like this, master node control and n slave node controller constitute a closed ring-like circuit by heartbeat.And, only set up heartbeat with the 1st slave node controller with the n-th slave node controller due to master node control to be connected, so the present embodiment compared with prior art, greatly reduce live load and the resource consumption of master node control, and then reduce the requirement of master node control to hardware and network.
What the embodiment shown in Fig. 9 to Figure 12 was detailed describes clustered node controller monitoring device, wherein, logic connecting relation set up by arrangement module controls master node control and n slave node controller, and link block is set up heartbeat and connected between adjacent Node Controller.By a kind of new clustered node controller monitoring device of proposition in the following examples, new Node Controller can be received in SDN controller cluster.Refer to Figure 13, the basic structure of further embodiment of this invention comprises:
Arrangement module 1301, for controlling master node control and logic connecting relation set up by n slave node controller, in the present embodiment, arranging module 1301 and comprising:
Sequencing unit 13011, for being sorted from 1 to n by described n slave node controller, in the present embodiment, sequencing unit 13011 comprises:
Registration subelement 130111, for receiving the registration of n slave node controller;
Sequence subelement 130112, sorts described n slave node controller for the time order and function order according to n slave node controller registration;
First logical block 13012, is connected for setting up logic with the 1st slave node controller;
Logic control element 13013, sets up logic with the i-th+1 slave node controller be connected for controlling the i-th slave node controller;
Second logical block 13014, is connected for setting up logic with the n-th slave node controller;
Link block 1302, connect for controlling to set up heartbeat between described adjacent Node Controller, in the present embodiment, link block 1302 comprises:
First linkage unit 13021, for set up heartbeat between the 1st slave node controller and be connected;
Connection control unit 13022, is connected for controlling to set up heartbeat between the i-th slave node controller with the i-th+1 slave node controller, and wherein, i is any positive integer in 1 to n-1;
Second linkage unit 13023, for set up heartbeat between the n-th slave node controller and be connected.
Receiver module 1303, for receiving the log-on message of new node controller;
Alarm modules 1304, for receiving the heartbeat alarm that slave node controller sends, and safeguards the logic connecting relation of SDN controller cluster according to heartbeat alarm.
Wherein, the second logical block 13014 also for: set up be connected with the logic of new node controller, and releasing be connected with the logic of the n-th slave node controller; Second linkage unit 13023 also for: with set up heartbeat between new node controller and be connected, and interrupt being connected with the heartbeat of the n-th slave node controller; Logic control element 13013 also for: control new node controller and set up and be connected with the logic of the n-th slave node controller; Connection control unit 13022 also for: control to set up heartbeat between described new node controller with described n-th slave node controller and be connected.
The basis of the embodiment of the present embodiment shown in Fig. 9 to Figure 12 proposes a kind of new clustered node controller monitoring device, the method can hold adding of new node controller.By receiver module 1303 receive new node controller registration, second logical block 13014 set up be connected with the logic of new node controller, the heartbeat that second linkage unit 13023 is set up between new node controller is connected, logic control element 13013 controls the foundation of new node controller and is connected with the logic of the n-th slave node controller, connection control unit controls the foundation of new node controller and is connected with the heartbeat between the n-th slave node controller, new node controller is made just to be received in SDN controller cluster, master node control and n+1 slave node controller define new ring topology, and establish and to set up heartbeat between Node Controller adjacent in this new ring topology and connect, embody good extensibility.
Embodiment shown in Figure 13 provides a kind of clustered node controller monitoring device, makes SDN controller cluster can hold new Node Controller, has good extensibility.The following examples will provide another kind of device, make SDN controller cluster to repair fault, have good stability.Refer to Figure 14, the basic structure of another embodiment of the present invention comprises:
Arrangement module 1401, for controlling master node control and logic connecting relation set up by n slave node controller, in the present embodiment, arranging module 1401 and comprising:
Sequencing unit 14011, for being sorted from 1 to n by described n slave node controller, in the present embodiment, sequencing unit 14011 comprises:
Registration subelement 140111, for receiving the registration of n slave node controller;
Sequence subelement 140112, sorts described n slave node controller for the time order and function order according to n slave node controller registration;
First logical block 14012, is connected for setting up logic with the 1st slave node controller;
Logic control element 14013, sets up logic with the i-th+1 slave node controller be connected for controlling the i-th slave node controller;
Second logical block 14014, is connected for setting up logic with the n-th slave node controller;
Link block 1402, connect for controlling to set up heartbeat between described adjacent Node Controller, in the present embodiment, link block 1402 comprises:
First linkage unit 14021, for set up heartbeat between the 1st slave node controller and be connected;
Connection control unit 14022, is connected for controlling to set up heartbeat between the i-th slave node controller with the i-th+1 slave node controller, and wherein, i is any positive integer in 1 to n-1;
Second linkage unit 14023, for set up heartbeat between the n-th slave node controller and be connected.
Alarm modules 1403, for receiving the heartbeat alarm that slave node controller sends, and safeguards the logic connecting relation of SDN controller cluster according to heartbeat alarm.In the present embodiment, alarm modules 1403 comprises:
First alarm unit 14031, for receiving the first alarm that the i-th slave node controller sends, this first alarm is for representing the heartbeat disconnecting between the i-th slave node controller and the i-th+1 slave node controller;
Second alarm unit 14032, for receiving the second alarm that the i-th+1 slave node controller sends, this second alarm is for representing the heartbeat disconnecting between the i-th slave node controller and the i-th+1 slave node controller;
First determining unit 14033, for receiving the first alarm that the i-th slave node controller sends in the first alarm unit 1403, and the second alarm unit 1404 is when receiving the second alarm that the i-th+1 slave node controller sends, determines between the i-th slave node controller with the i-th+1 slave node controller that heartbeat is connected and break down;
Wherein, logic control element 14013 also for: described first determining unit 1405 to determine between the i-th slave node controller with the i-th+1 slave node controller heartbeat be connected break down time, control described i-th slave node controller and set up and be connected with the logic of described i-th+2 slave node controller.
Wherein, connection control unit 14022 also for: described first determining unit 1405 to determine between the i-th slave node controller with the i-th+1 slave node controller heartbeat be connected break down time, control to set up heartbeat between described i-th slave node controller with described i-th+2 slave node controller and be connected.
The present embodiment proposes a kind of clustered node controller monitoring device, when the first alarm unit 14031 receives the first alarm of the i-th slave node controller transmission, and the second alarm unit 14032 receive i-th+1 slave node controller send the second alarm time, first determining unit 14033 to be determined between the i-th slave node controller with the i-th+1 slave node controller that heartbeat is connected and is broken down, and logic control element 14013 and connection control unit 14022 control to set up between the i-th slave node controller with the i-th+2 slave node controller logic is connected and is connected with heartbeat.Make the heartbeat between two slave node controllers connect like this to break down, when causing closed annular circuit physically to disconnect, the device that the present embodiment provides can by getting rid of certain slave node controller outside ring topology, and re-establish logic connecting relation with heartbeat with remaining n-1 slave node controller and be connected, reach the object of repairing fault, improve the stability of SDN controller cluster.
Embodiment shown in Figure 14 gives a kind of clustered node controller monitoring device, and this device makes SDN controller cluster have good stability.Wherein, when the heartbeat connection between two slave node controllers is broken down, this device can repair fault.The following examples will provide another kind of clustered node controller monitoring device, and make when certain slave node controller breaks down, this device still can repair fault.Refer to Figure 15, the basic structure of another embodiment provided by the invention comprises:
Arrangement module 1501, for controlling master node control and logic connecting relation set up by n slave node controller, in the present embodiment, arranging module 1501 and comprising:
Sequencing unit 15011, for being sorted from 1 to n by described n slave node controller, in the present embodiment, sequencing unit 15011 comprises:
Registration subelement 150111, for receiving the registration of n slave node controller;
Sequence subelement 150112, sorts described n slave node controller for the time order and function order according to n slave node controller registration;
First logical block 15012, is connected for setting up logic with the 1st slave node controller;
Logic control element 15013, sets up logic with the i-th+1 slave node controller be connected for controlling the i-th slave node controller;
Second logical block 15014, is connected for setting up logic with the n-th slave node controller;
Link block 1502, connect for controlling to set up heartbeat between described adjacent Node Controller, in the present embodiment, link block 1502 comprises:
First linkage unit 15021, for set up heartbeat between the 1st slave node controller and be connected;
Connection control unit 15022, is connected for controlling to set up heartbeat between the i-th slave node controller with the i-th+1 slave node controller, and wherein, i is any positive integer in 1 to n-1;
Second linkage unit 15023, for set up heartbeat between the n-th slave node controller and be connected.
Alarm modules 1503, for receiving the heartbeat alarm that slave node controller sends, and safeguards the logic connecting relation of SDN controller cluster according to heartbeat alarm. in the present embodiment, alarm modules 1503 comprises:
3rd alarm unit 15031, for receiving the 3rd alarm that the i-th-1 slave node controller sends, the 3rd alarm is for representing the heartbeat disconnecting of the i-th-1 slave node controller and the i-th slave node controller;
4th alarm unit 15032, for receiving the 4th alarm that the i-th+1 slave node controller sends, the 4th alarm is for representing the heartbeat disconnecting of the i-th+1 slave node controller and the i-th slave node controller;
Second determining unit 15033, for receiving the first alarm that the i-th-1 slave node controller sends in the 3rd alarm unit, and when the 4th alarm unit receives the 4th alarm of the i-th+1 slave node controller transmission, determines that the i-th slave node controller breaks down;
Described logic control element 15013 also for: when the second determining unit determines that the i-th slave node controller breaks down, control described i-th-1 slave node controller set up be connected with the logic of described i-th+1 slave node controller;
Described connection control unit 15022 also for: when the second determining unit determines that the i-th slave node controller breaks down, control to set up heartbeat between described i-th-1 slave node controller with described i-th+1 slave node controller and be connected.
The present embodiment proposes a kind of clustered node controller monitoring device, when the 3rd alarm unit 15031 receives the 3rd alarm of the i-th-1 slave node controller transmission, and the 4th alarm unit 15032 receive i-th+1 slave node controller send the 4th alarm time, second determining unit 15033 determines that the i-th slave node controller breaks down, and logic control element 15013 and connection control unit 15022 control to set up between the i-th-1 slave node controller with the i-th+1 slave node controller logic is connected and is connected with heartbeat.Make like this to break down when certain slave node controller, when causing closed annular circuit physically to disconnect, the device that the present embodiment provides can be got rid of outside ring topology by the slave node controller that will break down, and re-establish logic connecting relation with heartbeat with remaining n-1 slave node controller and be connected, reach the object of repairing fault, improve the stability of SDN controller cluster.
The embodiment of Figure 14 and Figure 15 describes heartbeat connection between slave node controller or slave node controller in detail when itself breaking down, and how clustered node controller monitoring device repairs fault.The following examples will provide another kind of clustered node controller monitoring device, and this device can make slave node controller become master node control.Refer to Figure 16, the basic structure of further embodiment of this invention comprises:
Arrangement module 1601, for controlling master node control and logic connecting relation set up by n slave node controller, in the present embodiment, arranging module 1601 and comprising:
Sequencing unit 16011, for being sorted from 1 to n by described n slave node controller, in the present embodiment, sequencing unit 16011 comprises:
Registration subelement 160111, for receiving the registration of n slave node controller;
Sequence subelement 160112, sorts described n slave node controller for the time order and function order according to n slave node controller registration;
First logical block 16012, is connected for setting up logic with the 1st slave node controller;
Logic control element 16013, sets up logic with the i-th+1 slave node controller be connected for controlling the i-th slave node controller;
Second logical block 16014, is connected for setting up logic with the n-th slave node controller;
Link block 1602, connect for controlling to set up heartbeat between described adjacent Node Controller, in the present embodiment, link block 1602 comprises:
First linkage unit 16021, for set up heartbeat between the 1st slave node controller and be connected;
Connection control unit 16022, is connected for controlling to set up heartbeat between the i-th slave node controller with the i-th+1 slave node controller, and wherein, i is any positive integer in 1 to n-1;
Second linkage unit 16023, for set up heartbeat between the n-th slave node controller and be connected.
Alarm modules 1603, for receiving the heartbeat alarm that slave node controller sends, and safeguards the logic connecting relation of SDN controller cluster according to heartbeat alarm;
Seize module 1604, for seizing cluster lock when cluster lock is retrievable.
Present embodiments provide a kind of clustered node controller monitoring device.In SDN controller cluster, cluster lock is occupied for a long time by cluster master node control, and when master node control fault, cluster lock automatic unlocking, now other slave node controllers can obtain cluster lock.Now, the device that the present embodiment provides can seize cluster lock by seizing module 1603, and then makes the Node Controller at this device place become master node control.Make like this to break down when master node control, when causing closed annular circuit physically to disconnect, slave node controller can become new master node control by seizing cluster lock, reaches the object of repairing fault, improves the stability of SDN controller cluster.
For the ease of understanding above-described embodiment, be described for the interaction scenarios of each module in clustered node controller monitoring device below.
In SDN controller cluster, there are 1 master node control and 10 slave node controllers.Clustered node controller monitoring device is had in master node control.The registration subelement 140111 of this device receives the registration of these 10 slave node controllers, and these 10 slave node controllers sort from 1 to 10 according to the time order and function of registration by sequence subelement 140112.
Afterwards, first logical block 14012 and the 1st slave node controller set up that logic is connected, logic control element 14013 controls the 1st slave node controller and the 2nd slave node controller and sets up logic and be connected and control the 2nd slave node controller and set up logic with the 3rd slave node controller and be connected ... by that analogy, be connected until control the 9th slave node controller sets up logic with the 10th slave node controller, the second last logical block 14014 is set up logic with the 10th slave node controller and is connected, and forms ring topology.
Afterwards, set up between first linkage unit 14021 with the 1st slave node controller that heartbeat is connected, connection control unit 14022 controls to set up between the 1st slave node controller with the 2nd slave node controller heartbeat and be connected and control to set up heartbeat between the 2nd slave node controller with the 3rd slave node controller and be connected ... by that analogy, until control the 9th slave node controller and set up heartbeat between the 10th slave node controller and be connected, set up heartbeat between the second last linkage unit 14023 with the n-th slave node controller to be connected, define closed annular circuit physically.
Afterwards, the first alarm unit 1403 receives the first alarm that the 3rd slave node controller sends, and knows the heartbeat disconnecting between the 3rd slave node controller and the 4th slave node controller; Second alarm unit 1404 receives the second alarm that the 4th slave node controller sends, and knows the heartbeat disconnecting between the 4th slave node controller and the 3rd slave node controller.Break down so the first determining unit 1405 to determine between the 3rd slave node controller with the 4th slave node controller that heartbeat is connected, and logic control element 14013 controls to set up logic between the 3rd slave node controller with the 5th slave node controller is connected, connection control unit 14022 controls to set up heartbeat between the 3rd slave node controller with the 5th slave node controller and is connected.But setting up heartbeat between the 3rd slave node controller with the 5th slave node controller is connected unsuccessful, be connected so logic control element 14013 controls to set up logic between the 3rd slave node controller with the 6th slave node controller, connection control unit 14022 controls to set up heartbeat between the 3rd slave node controller with the 6th slave node controller and is connected.
From the angle of blocking functional entity, the clustered node controller control device the embodiment of the present invention is described above, from the angle of hardware handles, the clustered node controller control device the embodiment of the present invention is described below, refer to Figure 17, another embodiment of contactor control device 1700 in the embodiment of the present invention comprises: memory 1701, central processing unit (Central Processing Unit, hereinafter referred to as CPU) 1702, Peripheral Interface 1703, RF circuit 1704, voicefrequency circuit 1705, loud speaker 1706, power management chip 1707, I/O (I/O) subsystem 1708, other input/control devicess 1709 and outside port 1710, these parts are communicated by one or more communication bus or holding wire 1711.
What deserves to be explained is, the clustered node controller monitoring device that the present embodiment provides is only an example of the clustered node controller monitoring device that the embodiment of the present invention provides, the clustered node controller monitoring device that the embodiment of the present invention relates to can have than more or less parts illustrated in fig. 17, two or more parts can be combined, or can have different component configuration or setting, all parts can realize in the combination comprising the hardware of one or more signal transacting and/or application-specific integrated circuit (ASIC), software or hardware and software.
The clustered node controller monitoring device provided with regard to the present embodiment is below described in detail.
Memory 1701: described memory 1701 can by access such as CPU1702, Peripheral Interfaces 1703, described memory 1701 can comprise high-speed random access memory, nonvolatile memory can also be comprised, such as one or more disk memory, flush memory device or other volatile solid-state parts.
Peripheral Interface 1703, the input and output peripheral hardware of equipment can be connected to CPU1702 and memory 1701 by described Peripheral Interface.
I/O subsystem 1708: described I/O subsystem 1708 can by the input/output peripheral on equipment, and such as touch-screen 1712 and other input/control devicess 1709, be connected to Peripheral Interface 1703.I/O subsystem 1708 can comprise display controller 17081 and the one or more input control devices 17082 for controlling other input/control devicess 1709.Wherein, one or more input control device 17082 receives the signal of telecommunication from other input/control devicess 1709 or sends the signal of telecommunication to other input/control devicess 1709, and other input/control devicess 1709 can comprise physical button (pressing button, rocker buttons etc.), dial, slide switch, joystick, click roller.What deserves to be explained is, input control device 17082 can with following any one be connected: the indicating equipment of keyboard, infrared port, USB interface and such as mouse.
Touch-screen 1712: described touch-screen 1712 is the output interfaces between mobile terminal and user, by visual output display to user, visual output can comprise figure, text, icon, video etc.
Display controller 17081 in I/O subsystem 1708 receives the signal of telecommunication from touch-screen 1712 or sends the signal of telecommunication to touch-screen 1712.Touch-screen 1712 detects the contact on touch-screen, it is mutual that the contact detected is converted to the user interface object be presented on touch-screen 1712 by display controller 17081, namely realize man-machine interaction, the user interface object be presented on touch-screen 1712 can be running game icon, be networked to the icon etc. of corresponding network.What deserves to be explained is, equipment can also comprise light mouse, and light mouse is the touch sensitive surface of not display of visually output, or the extension of the touch sensitive surface formed by touch-screen.
RF circuit 1704, is mainly used in the communication of setting up clustered node controller monitoring device and wireless network (i.e. network side), realizes the digital received and sent of clustered node controller monitoring device and wireless network.Such as receive and dispatch short message, Email etc.Particularly, RF circuit 1704 receives and sends RF signal, RF signal is also referred to as electromagnetic signal, and RF circuit 1704 converts electrical signals to electromagnetic signal or electromagnetic signal is converted to the signal of telecommunication, and is communicated with communication network and other equipment by this electromagnetic signal.RF circuit 1704 can comprise the known circuit for performing these functions, it includes but not limited to antenna system, RF transceiver, one or more amplifier, tuner, one or more oscillator, digital signal processor, CODEC chipset, Subscriber Identity Module (Subscriber Identity Module, SIM) etc.
Voicefrequency circuit 1705, is mainly used in, from Peripheral Interface 1703 audio reception data, this voice data being converted to the signal of telecommunication, and this signal of telecommunication being sent to loud speaker 1706.
Loud speaker 1706, for the voice signal received from wireless network by RF circuit 1704 by clustered node controller monitoring device, is reduced to sound and plays this sound to user.
Power management chip 1707, the hardware for connecting for CPU1702, I/O subsystem and Peripheral Interface carries out powering and power management.
Figure 18 is clustered node controller monitoring device interior section structure chart.Wherein:
RF circuit 1801 specifically for:
Receive the registration of slave node controller;
With set up heartbeat between slave node controller and be connected;
Control between two slave node controllers, to set up heartbeat to connect;
Interrupt being connected with the heartbeat between slave node controller;
Receive the alarm that slave node controller sends.
CPU1802 specifically for:
According to the time order and function order of n slave node controller registration, n slave node controller is sorted;
Set up logic with slave node controller to be connected;
Control two slave node controllers and set up logic connection;
Interrupt being connected with the logic of slave node controller;
The logic connecting relation of SDN controller cluster is safeguarded according to heartbeat alarm;
Seize cluster lock.
In the above-described embodiments, CPU1802, CPU1802 can be specifically the Pentium class processor produced of Intel company or Itanium processor etc.
The embodiment of the present invention also proposes a kind of controller, comprises the clustered node supervising device shown in arbitrary width figure in Fig. 9 to Figure 16.
Those skilled in the art can be well understood to, and for convenience and simplicity of description, the system of foregoing description, the specific works process of device and unit, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
In several embodiments that the application provides, should be understood that, disclosed system, apparatus and method, can realize by another way.Such as, device embodiment described above is only schematic, such as, the division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or unit or communication connection can be electrical, machinery or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form of SFU software functional unit also can be adopted to realize.
If described integrated unit using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words or all or part of of this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, read-only memory (ROM, Read-OnlyMemory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. various can be program code stored medium.
The above, above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein portion of techniques feature; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (19)

1. a clustered node controller monitoring method, is characterized in that, comprising:
In software defined network SDN controller cluster, master node control controls described master node control and logic connecting relation set up by n slave node controller, wherein, described logic connecting relation is end to end ring topology, and each Node Controller in described ring topology has two adjacent Node Controllers;
Described master node control controls to set up heartbeat between Node Controller adjacent in described SDN controller cluster and connects, and described heartbeat connects the communications status for monitoring described n slave node controller;
Described master node control receives the heartbeat alarm that described slave node controller sends, and safeguards the logic connecting relation of described SDN controller cluster according to described heartbeat alarm.
2. clustered node controller monitoring method according to claim 1, is characterized in that, described master node control controls described master node control and n slave node controller and sets up logic connecting relation and comprise:
Described n slave node controller sorts from 1 to n by described master node control;
Described master node control is set up logic with the 1st slave node controller and is connected;
Described master node control controls the i-th slave node controller and sets up logic with the i-th+1 slave node controller and be connected, and described i is any positive integer in 1 to n-1;
Described master node control is set up logic with the n-th slave node controller and is connected.
3. clustered node controller monitoring method according to claim 2, is characterized in that, described n slave node controller comprises from 1 to n sequence by described master node control:
Described master node control receives the registration of described n slave node controller;
Described n slave node controller sorts by the time order and function order that described master node control is registered to described master node control according to described n slave node controller, wherein, the slave node controller registered to described master node control is at first as the 1st slave node controller, and the slave node controller registered of the most backward described master node control is as the n-th slave node controller.
4. clustered node controller monitoring method according to claim 2, is characterized in that, described Node Controller controls to set up heartbeat connection between Node Controller adjacent in described SDN controller and comprises:
Set up heartbeat between described master node control with the 1st slave node controller to be connected;
Described master node control controls to set up heartbeat between the i-th slave node controller with the i-th+1 slave node controller and is connected, and described i is any positive integer in 1 to n-1;
Set up heartbeat between described master node control with the n-th slave node controller to be connected.
5. clustered node controller monitoring method according to claim 4, is characterized in that:
Set up after heartbeat is connected between described master node control with the 1st slave node controller and also comprise: if set up heartbeat connection failure between described master node control and the 1st slave node controller, then described master node control is set up and is connected with the logic of the 2nd slave node controller, and sets up heartbeat with the 2nd slave node controller and be connected;
Described master node control controls to set up after heartbeat is connected between the i-th slave node controller with the i-th+1 slave node controller also to comprise: if set up heartbeat connection failure between the i-th slave node controller and the i-th+1 slave node controller, then described master node control is set up the i-th slave node controller and is connected with the logic of the i-th+2 slave node controller, and controls to set up heartbeat between the i-th slave node controller with the i-th+2 slave node controller and be connected;
Set up after heartbeat is connected between described master node control with the n-th slave node controller and also comprise: if set up heartbeat connection failure between described master node control and the n-th slave node controller, then described master node control is set up and is connected with the logic of the (n-1)th slave node controller, and with set up heartbeat between the (n-1)th slave node controller and be connected.
6. the clustered node controller monitoring method according to any one of claim 2 to 5, it is characterized in that, described method also comprises:
Described master node control receives the registration of new node controller, and described new node controller is the Node Controller newly adding described SDN controller cluster;
Described master node control is set up and is connected with the logic of described new node controller, and with set up heartbeat between described new node controller and be connected;
Described master node control controls described new node controller and sets up and be connected with the logic of the n-th slave node controller, and controls to set up heartbeat between described new node controller with described n-th slave node controller and be connected;
Described master node control is removed and is connected with the logic between the n-th slave node controller, and interrupts being connected with the heartbeat between described n-th slave node controller.
7. the clustered node controller monitoring method according to any one of claim 2 to 5, it is characterized in that, described master node control receives the heartbeat alarm that described slave node controller sends, and safeguards that the logic connecting relation of described SDN controller cluster comprises according to described heartbeat alarm:
If described master node control receives the first alarm that the i-th slave node controller sends, and described master node control receives the second alarm that the i-th+1 slave node controller sends, then described master node control to be determined between the i-th slave node controller with the i-th+1 slave node controller that heartbeat is connected and is broken down, and described master node control controls described i-th slave node controller and sets up logic between the i-th+2 slave node controller and be connected and be connected with heartbeat, described first alarm is for representing the heartbeat disconnecting between the i-th slave node controller and the i-th+1 slave node controller, described second alarm is for representing the heartbeat disconnecting between the i-th slave node controller and the i-th+1 slave node controller, described i is any positive integer in 1 to n-2.
8. the clustered node controller monitoring method according to any one of claim 2 to 5, it is characterized in that, described master node control receives the heartbeat alarm that described slave node controller sends, and safeguards that the logic connecting relation of described SDN controller cluster comprises according to described heartbeat alarm:
If described master node control receives the 3rd alarm that the i-th-1 slave node controller sends, and described master node control receives the 4th alarm that the i-th+1 slave node controller sends, then described master node control determines that the i-th slave node controller breaks down, and described master node control controls described i-th-1 slave node controller sets up to be connected with the logic of described i-th+1 slave node controller and be connected with heartbeat, described 3rd alarm is for representing the heartbeat disconnecting of the i-th-1 slave node controller and the i-th slave node controller, described 4th alarm is for representing the heartbeat disconnecting of the i-th+1 slave node controller and the i-th slave node controller, described i is any positive integer in 2 to n-1.
9. the clustered node controller monitoring method according to any one of claim 2 to 5, it is characterized in that, described method also comprises:
If the 1st slave node controller is connected with the heartbeat between master node control, the n-th slave node controller is connected with the heartbeat between master node control and all interrupts, then described 1st slave node controller and described n-th slave node controller are seized cluster and are locked;
If the 1st slave node controller is seized successfully, then described 1st slave node controller is defined as new master node control, and described new master node control is set up to be connected with the logic of described n-th slave node controller and is connected with heartbeat;
If the n-th slave node controller is seized successfully, then described n-th slave node controller is defined as new master node control, and described new master node control is set up to be connected with the logic of described 1st slave node controller and is connected with heartbeat.
10. a clustered node controller monitoring device, is characterized in that, comprising:
Arrangement module, for controlling master node control and logic connecting relation set up by n slave node controller, wherein, described logic connecting relation is end to end ring topology, and each Node Controller in described ring topology has two adjacent Node Controllers;
Link block, connect for controlling to set up heartbeat between described adjacent Node Controller, described heartbeat connects the communications status for monitoring described n slave node controller;
Alarm modules, for receiving the heartbeat alarm that described slave node controller sends, and safeguards the logic connecting relation of described SDN controller cluster according to described heartbeat alarm.
11. clustered node controller monitoring devices according to claim 10, it is characterized in that, described arrangement module comprises:
Sequencing unit, for sorting described n slave node controller from 1 to n;
First logical block, is connected for setting up logic with the 1st slave node controller;
Logic control element, set up logic with the i-th+1 slave node controller be connected for controlling the i-th slave node controller, described i is any positive integer in 1 to n-1;
Second logical block, is connected for setting up logic with the n-th slave node controller.
12. clustered node controller monitoring devices according to claim 11, it is characterized in that, described sequencing unit comprises:
Registration subelement, for receiving the registration of described n slave node controller;
Sequence subelement, for the time order and function order according to described n slave node controller registration, described n slave node controller is sorted, wherein, the slave node controller registered to described master node control is at first as the 1st slave node controller, and the slave node controller registered of the most backward described master node control is as the n-th slave node controller.
13. clustered node controller monitoring devices according to claim 11, it is characterized in that, described link block comprises:
First linkage unit, for set up heartbeat between the 1st slave node controller and be connected;
Connection control unit, be connected for controlling to set up heartbeat between the i-th slave node controller with the i-th+1 slave node controller, described i is any positive integer in 1 to n-1;
Second linkage unit, for set up heartbeat between the n-th slave node controller and be connected.
14. clustered node controller monitoring devices according to claim 13, is characterized in that:
When setting up heartbeat connection failure between described first linkage unit and the 1st slave node controller, described first logical block also for: set up be connected with the logic of the 2nd slave node controller, and described first linkage unit also for: set up heartbeat with the 2nd slave node controller and be connected;
When described connection control unit controls to set up heartbeat connection failure between the i-th slave node controller and the i-th+1 slave node controller, described logic control element also for: set up i-th slave node controller set up be connected with the logic of the i-th+2 slave node controller, and described connection control unit also for: control to set up heartbeat between the i-th slave node controller with the i-th+2 slave node controller and be connected;
When setting up heartbeat connection failure between described second linkage unit and the n-th slave node controller, described second logical block also for: set up and be connected with the logic of the (n-1)th slave node controller, and described second linkage unit also for: with set up heartbeat between the (n-1)th slave node controller and be connected.
15. clustered node controller monitoring devices according to claim 10, it is characterized in that, described device also comprises:
Receiver module, for receiving the log-on message of new node controller, described new node controller is the Node Controller newly adding described SDN controller cluster;
Described second logical block also for: set up be connected with the logic of described new node controller, and releasing be connected with the logic of the n-th slave node controller;
Described second linkage unit also for: with set up heartbeat between described new node controller and be connected, and interrupt being connected with the heartbeat of described n-th slave node controller;
Described logic control element also for: control described new node controller set up be connected with the logic of the n-th slave node controller;
Described connection control unit also for: control to set up heartbeat between described new node controller with described n-th slave node controller and be connected.
16. clustered node controller monitoring devices according to claim 10, it is characterized in that, described alarm modules also comprises:
First alarm unit, for receiving the first alarm that the i-th slave node controller sends, described first alarm is for representing the heartbeat disconnecting between the i-th slave node controller and the i-th+1 slave node controller;
Second alarm unit, for receiving the second alarm that the i-th+1 slave node controller sends, described second alarm is for representing the heartbeat disconnecting between the i-th slave node controller and the i-th+1 slave node controller;
First determining unit, for receiving the first alarm that the i-th slave node controller sends in described first alarm unit, and described second alarm unit is when receiving the second alarm that the i-th+1 slave node controller sends, determines between the i-th slave node controller with the i-th+1 slave node controller that heartbeat is connected and break down;
Described logic control element also for: described first determining unit to determine between the i-th slave node controller with the i-th+1 slave node controller heartbeat be connected break down time, control described i-th slave node controller and set up and be connected with the logic of described i-th+2 slave node controller;
Described connection control unit also for: described first determining unit to determine between the i-th slave node controller with the i-th+1 slave node controller heartbeat be connected break down time, control to set up heartbeat between described i-th slave node controller with described i-th+2 slave node controller and be connected.
17. clustered node controller monitoring devices according to claim 10, it is characterized in that, described alarm modules also comprises:
3rd alarm unit, for receiving the 3rd alarm that the i-th-1 slave node controller sends, described 3rd alarm is for representing the heartbeat disconnecting of the i-th-1 slave node controller and the i-th slave node controller;
4th alarm unit, for receiving the 4th alarm that the i-th+1 slave node controller sends, described 4th alarm is for representing the heartbeat disconnecting of the i-th+1 slave node controller and the i-th slave node controller;
Second determining unit, for receiving the first alarm that the i-th-1 slave node controller sends in described 3rd alarm unit, and described 4th alarm unit receive i-th+1 slave node controller send the 4th alarm time, determine that the i-th slave node controller breaks down;
Described logic control element also for: when described second determining unit determines that the i-th slave node controller breaks down, control described i-th-1 slave node controller set up be connected with the logic of described i-th+1 slave node controller;
Described connection control unit also for: when described second determining unit determines that the i-th slave node controller breaks down, control to set up heartbeat between described i-th-1 slave node controller with described i-th+1 slave node controller and be connected.
18. clustered node controller monitoring devices according to claim 10, it is characterized in that, described device also comprises:
Seize module, for seizing cluster lock.
19. 1 kinds of controllers, is characterized in that, comprise the clustered node controller monitoring device according to any one of claim 10 to 18.
CN201410035863.2A 2014-01-24 2014-01-24 A kind of clustered node controller monitoring method, relevant apparatus and controller Active CN104811325B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410035863.2A CN104811325B (en) 2014-01-24 2014-01-24 A kind of clustered node controller monitoring method, relevant apparatus and controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410035863.2A CN104811325B (en) 2014-01-24 2014-01-24 A kind of clustered node controller monitoring method, relevant apparatus and controller

Publications (2)

Publication Number Publication Date
CN104811325A true CN104811325A (en) 2015-07-29
CN104811325B CN104811325B (en) 2018-12-25

Family

ID=53695839

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410035863.2A Active CN104811325B (en) 2014-01-24 2014-01-24 A kind of clustered node controller monitoring method, relevant apparatus and controller

Country Status (1)

Country Link
CN (1) CN104811325B (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105681214A (en) * 2015-12-28 2016-06-15 无锡城市云计算中心有限公司 Large-scale network transmission optimization method and system
CN106452952A (en) * 2016-09-29 2017-02-22 华为技术有限公司 Method for detecting communication state of cluster system and gateway cluster
CN106533751A (en) * 2016-11-07 2017-03-22 杭州华三通信技术有限公司 SDN controller cluster merging method and apparatus
CN106911728A (en) * 2015-12-22 2017-06-30 华为技术服务有限公司 The choosing method and device of host node in distributed system
CN107769961A (en) * 2017-09-14 2018-03-06 广州西麦科技股份有限公司 A kind of SDN controllers cluster and network system
CN107896175A (en) * 2017-11-30 2018-04-10 北京小度信息科技有限公司 Collecting method and device
CN108270669A (en) * 2016-12-30 2018-07-10 中兴通讯股份有限公司 Business recovery device, master controller, the system and method for SDN network
CN108540317A (en) * 2018-03-29 2018-09-14 西安交通大学 A kind of double-deck detection method of multiple domain SDN control node failures
CN110417586A (en) * 2019-07-18 2019-11-05 新华三大数据技术有限公司 Service monitoring method, service node, server and computer readable storage medium
CN110457129A (en) * 2019-07-19 2019-11-15 深圳联友科技有限公司 A kind of priority lock method for pre-emptively and system based on zookeeper
CN111427827A (en) * 2015-12-29 2020-07-17 华为技术有限公司 CPU and multi-CPU system management method
CN111506263A (en) * 2020-03-31 2020-08-07 新华三技术有限公司成都分公司 Heartbeat connection establishment method and device
CN109905251B (en) * 2017-12-07 2020-12-18 北京金山云网络技术有限公司 Network management method, device, electronic equipment and storage medium
CN112887110A (en) * 2019-11-29 2021-06-01 中盈优创资讯科技有限公司 Device control method and device under SDN controller

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100387017C (en) * 2005-09-01 2008-05-07 西安交通大学 High usable self-healing Logic box fault detecting and tolerating method for constituting multi-machine system
CN102215123B (en) * 2011-06-07 2013-10-30 南京邮电大学 Multi-ring-network-topology-structure-based large-scale trunking system
CN102833103A (en) * 2012-08-24 2012-12-19 上海创件信息科技有限公司 Error detecting and processing method relate to electronic map collaboration mark
CN103257908A (en) * 2013-05-24 2013-08-21 浪潮电子信息产业股份有限公司 Software and hardware cooperative multi-controller disk array designing method
CN103346904B (en) * 2013-06-21 2016-03-30 西安交通大学 A kind of fault-tolerant OpenFlow multi controller systems and control method thereof

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106911728A (en) * 2015-12-22 2017-06-30 华为技术服务有限公司 The choosing method and device of host node in distributed system
CN106911728B (en) * 2015-12-22 2019-11-29 华为技术服务有限公司 The choosing method and device of host node in distributed system
CN105681214A (en) * 2015-12-28 2016-06-15 无锡城市云计算中心有限公司 Large-scale network transmission optimization method and system
CN105681214B (en) * 2015-12-28 2018-11-27 无锡城市云计算中心有限公司 A kind of large scale network transmission optimization method and system
CN111427827A (en) * 2015-12-29 2020-07-17 华为技术有限公司 CPU and multi-CPU system management method
CN111427827B (en) * 2015-12-29 2023-03-17 超聚变数字技术有限公司 CPU and multi-CPU system management method
CN106452952A (en) * 2016-09-29 2017-02-22 华为技术有限公司 Method for detecting communication state of cluster system and gateway cluster
CN106452952B (en) * 2016-09-29 2019-11-22 华为技术有限公司 A kind of method and gateway cluster detecting group system communications status
CN106533751B (en) * 2016-11-07 2020-12-25 新华三技术有限公司 SDN controller cluster merging method and device
CN106533751A (en) * 2016-11-07 2017-03-22 杭州华三通信技术有限公司 SDN controller cluster merging method and apparatus
CN108270669A (en) * 2016-12-30 2018-07-10 中兴通讯股份有限公司 Business recovery device, master controller, the system and method for SDN network
CN108270669B (en) * 2016-12-30 2022-08-02 中兴通讯股份有限公司 Service recovery device, main controller, system and method of SDN network
CN107769961A (en) * 2017-09-14 2018-03-06 广州西麦科技股份有限公司 A kind of SDN controllers cluster and network system
CN107896175A (en) * 2017-11-30 2018-04-10 北京小度信息科技有限公司 Collecting method and device
CN109905251B (en) * 2017-12-07 2020-12-18 北京金山云网络技术有限公司 Network management method, device, electronic equipment and storage medium
CN108540317A (en) * 2018-03-29 2018-09-14 西安交通大学 A kind of double-deck detection method of multiple domain SDN control node failures
CN110417586B (en) * 2019-07-18 2022-04-08 新华三大数据技术有限公司 Service monitoring method, service node, server and computer readable storage medium
CN110417586A (en) * 2019-07-18 2019-11-05 新华三大数据技术有限公司 Service monitoring method, service node, server and computer readable storage medium
CN110457129A (en) * 2019-07-19 2019-11-15 深圳联友科技有限公司 A kind of priority lock method for pre-emptively and system based on zookeeper
CN112887110A (en) * 2019-11-29 2021-06-01 中盈优创资讯科技有限公司 Device control method and device under SDN controller
CN111506263A (en) * 2020-03-31 2020-08-07 新华三技术有限公司成都分公司 Heartbeat connection establishment method and device
CN111506263B (en) * 2020-03-31 2022-07-12 新华三技术有限公司成都分公司 Heartbeat connection establishment method and device

Also Published As

Publication number Publication date
CN104811325B (en) 2018-12-25

Similar Documents

Publication Publication Date Title
CN104811325A (en) Cluster node controller monitoring method, related device and controller
US7584280B2 (en) System and method for multi-modal context-sensitive applications in home network environment
EP2519037B1 (en) Method and network for sharing sensor data among mobile terminals
US20130028091A1 (en) System for controlling switch devices, and device and method for controlling system configuration
CN103294562B (en) Method for sharing peripheral device by dual operating systems and electronic device
CN107211468A (en) Inactive communication pattern
CN105262652A (en) Network configuration method for network household appliance
CN101571813A (en) Master/slave scheduling method in multimachine assembly
US10581697B2 (en) SDN controlled PoE management system
WO2011144069A2 (en) Method and terminal device for setting call transfer function
CN101437175B (en) Method, apparatus and system for processing disaster-tolerating switch
GB2505230B (en) Leader node appointment
CN111565474B (en) Method and system for establishing communication connection between AP (access point) equipment and target terminal based on Mesh network
CN111585797B (en) Ethernet link switching method, device, equipment and computer readable storage medium
Muthanna et al. SDN multi-controller networks with load balanced
CN105430597A (en) Bluetooth device, and Bluetooth Scatternet networking method and device thereof
CN113791959A (en) Alarm pushing method, system, terminal and storage medium of service platform
CN106255960B (en) redundant system and communication unit
US20220283822A1 (en) State machine processing method, state processing method, electronic device, and storage medium
CN106304241B (en) Data transmission method, repeater and gateway
Balhara et al. Leader election algorithms in distributed systems
CN111181807B (en) Communication interface device and multi-port communication interaction method
CN104113932B (en) A kind of method and apparatus of AP equipment reconnection
US7724646B2 (en) System and method for implementing service switching
JP5378146B2 (en) Separable base station and radio unit controller

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20220208

Address after: 550025 Huawei cloud data center, jiaoxinggong Road, Qianzhong Avenue, Gui'an New District, Guiyang City, Guizhou Province

Patentee after: Huawei Cloud Computing Technology Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right