CN104811325B - A kind of clustered node controller monitoring method, relevant apparatus and controller - Google Patents
A kind of clustered node controller monitoring method, relevant apparatus and controller Download PDFInfo
- Publication number
- CN104811325B CN104811325B CN201410035863.2A CN201410035863A CN104811325B CN 104811325 B CN104811325 B CN 104811325B CN 201410035863 A CN201410035863 A CN 201410035863A CN 104811325 B CN104811325 B CN 104811325B
- Authority
- CN
- China
- Prior art keywords
- node controller
- slave node
- controller
- control
- heartbeat
- 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.)
- Active
Links
Classifications
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Reducing energy consumption in communication networks
- Y02D30/50—Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate
Abstract
The embodiment of the invention discloses a kind of clustered node controller monitoring methods, comprising: in software defined network SDN controller cluster, master node control controls the master node control and n slave node controller establishes logic connecting relation;Master node control, which controls, establishes heartbeat connection between Node Controller adjacent in the SDN controller cluster;Master node control receives the heartbeat alarm that the slave node controller is sent.By such method, it so that master node control only needs to connect with establishing heartbeat between two slave node controllers logically contiguous with the master node control, is connect without establishing heartbeat with all slave node controllers.Compared with prior art, method provided by the invention can greatly reduce the workload and resource consumption of master node control, and then reduce requirement of the master node control to hardware and network.The invention also provides relevant device and controllers.
Description
Technical field
The present invention relates to field of communication technology more particularly to a kind of clustered node controller monitoring method, relevant apparatus with
And system.
Background technique
Software defined network (SDN, Software Defined Networking) is a kind of emerging network architecture.It
Network-based control and forwarding capability are separated, keep network-control programmable, underlying basis framework relative to service application and
Network service abstraction, to realize network virtualization.Controller for Lifting Control System performance and availability, in SDN
Generally disposed using clustering.I.e. multiple controllers form a cluster, the corresponding clustered node of each controller.All controls
Device processed externally provides homogeneity service, to realize group system controller node dynamic expansion.Wherein, in SDN controller cluster
A controller can by election become master node control, other controllers then correspondingly become slave node controller.Cluster
Node Controller is responsible for externally providing general sex service, mainly the control request of processing lower layer's network equipment.In addition to this, collect
Group's master node control is internally also responsible for clustered node controller management, so that cluster is rendered as a logic entirety, and lead to
Configuration Floating IP address is crossed, cluster is embodied.
In the prior art, in order to realize the management to slave node controller each in cluster, cluster master node control is needed
Heartbeat is established between slave node controllers all in cluster to connect, and connected by heartbeat and realize clustered node controller prison
Control.On the one hand, cluster master node control receives the monitoring of slave node controller, and cluster slave node controller is enable to send out in time
Existing master node control is abnormal, and re-initiates master node control election when abnormal;On the other hand, cluster host node controls
Device can also connect monitoring slave node controller by the heartbeat between main-standby nodes controller, with fast refresh cluster topology letter
Breath.
But conventionally, as cluster master node control needs are built with slave node controller all in cluster
Vertical heartbeat connection, so the workload of master node control is big, resource consumption is more, thus master node control is to hardware and net
Network requires high.
Summary of the invention
The embodiment of the invention provides a kind of clustered node controller monitoring methods, it is possible to reduce the work of master node control
Make load and resource consumption, and then reduces requirement of the master node control to hardware and network.
First aspect of the embodiment of the present invention provides a kind of clustered node controller monitoring method, comprising:
In software defined network SDN controller cluster, master node control controls the master node control and n standby
Node Controller establishes logic connecting relation, wherein the logic connecting relation is end to end ring topology, described
Each Node Controller in ring topology has two adjacent Node Controllers;
The master node control, which controls, establishes heartbeat company between Node Controller adjacent in the SDN controller cluster
It connects, the heartbeat connects the communications status for monitoring the n slave node controller;
The master node control receives the heartbeat alarm that the slave node controller is sent, and according to the heartbeat alarm
Safeguard the logic connecting relation of the SDN controller cluster.
In conjunction with the embodiment of the present invention in a first aspect, in the first implementation of the first aspect of the embodiment of the present invention,
The master node control control master node control establishes logic connecting relation with n slave node controller and includes:
The master node control sorts the n slave node controller from 1 to n;
The master node control and the 1st slave node controller establish logical connection;
The master node control controls the i-th slave node controller and i+1 slave node controller establishes logical connection, institute
Stating i is 1 any positive integer into n-1;
The master node control and the n-th slave node controller establish logical connection.
In conjunction with the first implementation of the first aspect of the embodiment of the present invention, the of the first aspect of the embodiment of the present invention
In two kinds of implementations, the master node control, which sorts the n slave node controller from 1 to n, includes:
The master node control receives the registration of the n slave node controller;
The master node control is first according to the time that the n slave node controller is registered to the master node control
The n slave node controller is ranked up by sequence afterwards, wherein the slave node control registered at first to the master node control
Device processed is the 1st slave node controller, and the slave node controller finally registered to the master node control controls as the n-th slave node
Device.
In conjunction with the first implementation of the first aspect of the embodiment of the present invention, the of the first aspect of the embodiment of the present invention
In three kinds of implementations, the Node Controller controls and establishes heartbeat between Node Controller adjacent in the SDN controller
Connection includes:
Heartbeat connection is established between the master node control and the 1st slave node controller;
The master node control, which controls, establishes heartbeat company between the i-th slave node controller and i+1 slave node controller
It connects, the i is 1 any positive integer into n-1;
Heartbeat connection is established between the master node control and the n-th slave node controller.
In conjunction with the third implementation of the first aspect of the embodiment of the present invention, the of the first aspect of the embodiment of the present invention
In four kinds of implementations:
It is established between the master node control and the 1st slave node controller after heartbeat connection further include: if the master
Heartbeat connection failure is established between Node Controller and the 1st slave node controller, then the master node control is established and the 2nd is standby
The logical connection of Node Controller, and establish heartbeat with the 2nd slave node controller and connect;
The master node control, which controls, establishes heartbeat company between the i-th slave node controller and i+1 slave node controller
After connecing further include: described if establishing heartbeat connection failure between the i-th slave node controller and i+1 slave node controller
Master node control establishes the logical connection of the i-th slave node controller and the i-th+2 slave node controller, and controls the i-th slave node
Heartbeat connection is established between controller and the i-th+2 slave node controller;
It is established between the master node control and the n-th slave node controller after heartbeat connection further include: if the master
Heartbeat connection failure is established between Node Controller and the n-th slave node controller, then the master node control is established and (n-1)th
The logical connection of slave node controller, and establish heartbeat between the (n-1)th slave node controller and connect.
In conjunction with the embodiment of the present invention first aspect the first implementation to first aspect the 4th kind of implementation
Any one of, in the 5th kind of implementation of the first aspect of the embodiment of the present invention, the method also includes:
The master node control receives the registration of new node controller, and the new node controller is described in new be added
The Node Controller of SDN controller cluster;
The master node control establishes the logical connection with the new node controller, and with the new node controller
Between establish heartbeat connection;
The master node control controls the logical connection of new node the controller foundation and the n-th slave node controller,
And it controls and establishes heartbeat connection between the new node controller and the n-th slave node controller;
The master node control releases the logical connection between the n-th slave node controller, and interrupts and described n-th is standby
Heartbeat connection between Node Controller.
In conjunction with the embodiment of the present invention first aspect the first implementation to first aspect the 4th kind of implementation
Any one of, in the 6th kind of implementation of the first aspect of the embodiment of the present invention, described in the master node control reception
The heartbeat alarm that slave node controller is sent, and safeguard according to the heartbeat alarm logical connection of the SDN controller cluster
Relationship includes:
If the master node control receives the first alarm of the i-th slave node controller transmission, and the host node control
Device processed receives the second alarm of i+1 slave node controller transmission, then the master node control determines that the i-th slave node controls
Heartbeat connection is broken down between device and i+1 slave node controller, and the master node control controls i-th slave node
It establishes logical connection between controller and the i-th+2 slave node controller to connect with heartbeat, first alarm is for indicating that i-th is standby
Heartbeat disconnecting between Node Controller and i+1 slave node controller, second alarm is for indicating the i-th slave node
Heartbeat disconnecting between controller and i+1 slave node controller, the i are 1 any positive integer into n-2.
In conjunction with the embodiment of the present invention first aspect the first implementation to first aspect the 4th kind of implementation
Any one of, in the 7th kind of implementation of the first aspect of the embodiment of the present invention, described in the master node control reception
The heartbeat alarm that slave node controller is sent, and safeguard according to the heartbeat alarm logical connection of the SDN controller cluster
Relationship includes:
If the master node control receives the third alarm that the (i-1)-th slave node controller is sent, and the host node control
Device processed receives the 4th alarm that i+1 slave node controller is sent, then the master node control determines the i-th slave node controller
It breaks down, and the master node control controls the (i-1)-th slave node controller and establishes and i+1 slave node control
The logical connection of device is connect with heartbeat, and the third alarm is for indicating the (i-1)-th slave node controller and the i-th slave node controller
Heartbeat disconnecting, the 4th alarm is used to indicate the heartbeat company of i+1 slave node controller and the i-th slave node controller
Interruption is connect, the i is 2 any positive integer into n-1.
In conjunction with the embodiment of the present invention first aspect the first implementation to first aspect the 4th kind of implementation
Any one of, in the 7th kind of implementation of the first aspect of the embodiment of the present invention, the method also includes:
If the heartbeat between the 1st slave node controller and master node control connects, the n-th slave node controller and host node
Heartbeat connection between controller is interrupted, then the 1st slave node controller and the n-th slave node controller seize cluster
Lock;
If the 1st slave node controller seizes success, the 1st slave node controller is determined as new host node control
Device, and the new master node control foundation is connect with the logical connection of the n-th slave node controller with heartbeat;
If the n-th slave node controller seizes success, the n-th slave node controller is determined as new host node control
Device, and the new master node control foundation is connect with the logical connection of the 1st slave node controller with heartbeat.
Second aspect of the embodiment of the present invention provides a kind of clustered node controller monitoring device, comprising:
Module is arranged, establishes logic connecting relation for controlling master node control and n slave node controller, wherein
The logic connecting relation is end to end ring topology, each node control utensil in the ring topology
There are two adjacent Node Controllers;
Link block establishes heartbeat connection for controlling between the adjacent Node Controller, the heartbeat connection is used
In the communications status for monitoring the n slave node controller;
Alarm modules, the heartbeat alarm sent for receiving the slave node controller, and tieed up according to the heartbeat alarm
Protect the logic connecting relation of the SDN controller cluster.
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,
The arrangement module includes:
Sequencing unit, for the n slave node controller to sort from 1 to n;
First logic unit, for establishing logical connection with the 1st slave node controller;
Logic control element establishes logical connection for controlling the i-th slave node controller and i+1 slave node controller,
The i is 1 any positive integer into n-1;
Second logic unit, for establishing logical connection with the n-th slave node controller.
In conjunction with the first implementation of the second aspect of the embodiment of the present invention, the of the second aspect of the embodiment of the present invention
In two kinds of implementations, the sequencing unit includes:
Registration subunit, for receiving the registration of the n slave node controller;
Sorting subunit, the chronological order for registering according to the n slave node controller is by the n for section
Base site controller is ranked up, wherein the slave node controller registered at first to the master node control controls as the 1st slave node
Device, the slave node controller finally registered to the master node control is the n-th slave node controller.
In conjunction with the first implementation of the second aspect of the embodiment of the present invention, the of the second aspect of the embodiment of the present invention
In three kinds of implementations, the link block includes:
First connection unit is connect for establishing heartbeat between the 1st slave node controller;
Control unit is connected, establishes heartbeat company between the i-th slave node controller and i+1 slave node controller for controlling
It connects, the i is 1 any positive integer into n-1;
Second connection unit is connect for establishing heartbeat between the n-th slave node controller.
In conjunction with the third implementation of the second aspect of the embodiment of the present invention, the of the second aspect of the embodiment of the present invention
In four kinds of implementations:
When establishing heartbeat connection failure between first connection unit and the 1st slave node controller, described first is patrolled
It collects unit to be also used to: establishing the logical connection with the 2nd slave node controller, and first connection unit is also used to: standby with the 2nd
Node Controller establishes heartbeat connection;
Heartbeat is established between the i-th slave node controller and i+1 slave node controller when the connection control unit controls
When connection failure, the logic control element is also used to: being established the i-th slave node controller and is established and the i-th+2 slave node controller
Logical connection, and the connection control unit is also used to: the i-th slave node controller of control and the i-th+2 slave node controller it
Between establish heartbeat connection;
When establishing heartbeat connection failure between second connection unit and the n-th slave node controller, described second is patrolled
Volume unit is also used to: establishing the logical connection with the (n-1)th slave node controller, and second connection unit is also used to: with the
Heartbeat connection is established between n-1 slave node controller.
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 further include:
Receiving module, for receiving the registration information of new node controller, the new node controller is described in new be added
The Node Controller of SDN controller cluster;
Second logic unit is also used to: establish with the logical connection of the new node controller, and release and n-th is standby
The logical connection of Node Controller;
Second connection unit is also used to: being established heartbeat between the new node controller and is connect, and interruption and institute
State the heartbeat connection of the n-th slave node controller;
The logic control element is also used to: being controlled the new node controller and is established and patrols with the n-th slave node controller
Collect connection;
The connection control unit is also used to: being controlled between the new node controller and the n-th slave node controller
Establish heartbeat connection.
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,
The alarm modules further include:
First alarm unit, for receiving the first alarm of the i-th slave node controller transmission, first alarm is used for table
Show the heartbeat disconnecting between the i-th slave node controller and i+1 slave node controller;
Second alarm unit, for receiving the second alarm of i+1 slave node controller transmission, second alarm is used for
Indicate the heartbeat disconnecting between the i-th slave node controller and i+1 slave node controller;
First determination unit, for receiving the first police of the i-th slave node controller transmission in first alarm unit
Report, and second alarm unit receive i+1 slave node controller transmission the second alarm when, determine the i-th slave node control
Heartbeat connection is broken down between device processed and i+1 slave node controller;
The logic control element is also used to: determining that the i-th slave node controller and i+1 are standby in first determination unit
When heartbeat connection is broken down between Node Controller, controls the i-th slave node controller and establish and i-th+2 slave node
The logical connection of controller;
The connection control unit is also used to: determining that the i-th slave node controller and i+1 are standby in first determination unit
When heartbeat connection is broken down between Node Controller, controls the i-th slave node controller and i-th+2 slave node controls
Heartbeat connection is established between device.
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,
The alarm modules further include:
Third alarm unit, for receiving the third alarm of the (i-1)-th slave node controller transmission, the third alarm is used for
Indicate the heartbeat disconnecting of the (i-1)-th slave node controller and the i-th slave node controller;
4th alarm unit, for receiving the 4th alarm of i+1 slave node controller transmission, the 4th alarm is used for
Indicate the heartbeat disconnecting of i+1 slave node controller and the i-th slave node controller;
Second determination unit, for receiving the first of the transmission of the (i-1)-th slave node controller in the third alarm unit
Alarm, and the 4th alarm unit receive i+1 slave node controller transmission four alarms when, determine the i-th slave node
Controller breaks down;
The logic control element is also used to: determining that the i-th slave node controller breaks down in second determination unit
When, control the logical connection of the (i-1)-th slave node controller foundation and the i+1 slave node controller;
The connection control unit is also used to: determining that the i-th slave node controller breaks down in second determination unit
When, it controls and establishes heartbeat connection between the (i-1)-th slave node controller and the i+1 slave node controller.
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 further include:
Module is seized, for seizing cluster lock.
The third aspect of the embodiment of the present invention provides a kind of controller, including second aspect of the embodiment of the present invention is to second party
Clustered node controller monitoring device described in any one of the 8th kind of implementation in face.
As can be seen from the above technical solutions, in the embodiment of the present invention, master node control is controlled in SDN controller cluster
All main-standby nodes controllers establish logic connecting relation, and control in the structure be connected Node Controller between establish the heart
Jump connection.By such method, so that master node control is only needed with two logically contiguous with the master node control
Heartbeat connection is established between slave node controller, is connect without establishing heartbeat with all slave node controllers.With it is existing
Technology is compared, and method provided by the invention can greatly reduce the workload and resource consumption of master node control, and then drop
Requirement of the low master node control to hardware and network.
Detailed description of the invention
Fig. 1 is clustered node controller monitoring method one 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 one embodiment structure chart 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.
Specific embodiment
The embodiment of the invention provides a kind of clustered node controller monitoring methods, for reducing master node control to hard
The requirement of part and network.The embodiment of the invention also provides relevant device and controllers, will be described respectively below.
The main flow of clustered node controller monitoring method provided in an embodiment of the present invention is referring to Figure 1, comprising:
101, master node control control master node control and n slave node controller establish logic connecting relation;
In SDN, controller generally uses clustering to dispose, i.e., multiple controllers form a cluster, each controller
A corresponding clustered node controller.Wherein, a Node Controller can become master node control, and other Node Controllers are then
Correspondingly become slave node controller.Clustered node controller is responsible for the management work of clustered node controller.
In the present embodiment, master node control control master node control and n slave node controller establish logical connection
Relationship, the logic connecting relation are end to end ring topology, which is SDN controller cluster
In other all slave node controllers in addition to master node control.
The concept source of ring topology is in topology.In topology, research object is conceptualized as a little, two researchs
Transmission medium between object is conceptualized as line, and then the relationship between multiple research objects can be abstracted as knot in logic
Structure.For example, in a computer network, being commonly used and arriving stelliform connection topology configuration.Stelliform connection topology configuration is that one kind is controlled with host node
Centered on device, the radiant type interconnection architecture that several peripheral slave node controllers are connected, standby node and major node pass through a little
It is connect with point mode, major node executes centralized communication control strategy, and therefore, the major node in star-like logical topological structure is more
Complexity, burden also weigh.
Master node control control master node control and n slave node control in the present embodiment, in SDN controller cluster
Device processed is arranged in ring topology.In ring topology, each Node Controller connects into an end to end closure
Loop line, each Node Controller have two adjacent Node Controllers.Wherein, this loop line is ring in logic
Shape route, in the following step, master node control can establish physics on the basis of this loop line in logic
On loop line, herein without limitation.Master node control controls master node control and patrols with n slave node controller foundation
The method for collecting connection relationship has very much, will be described in detail in the embodiment below, herein without limitation.
102, heartbeat connection is established between Node Controller adjacent in master node control control SDN controller cluster;
After master node control control master node control and n slave node controller establish logic connecting relation, control
Heartbeat connection is established between adjacent Node Controller.
Heartbeat is connected as a kind of connection mechanism, for monitoring the communications status of the Node Controller.In the mechanism, build
Two Node Controller each set times for having stood heartbeat connection will send one " heartbeat " to other side, and " heartbeat " is
One customized structural body can be heartbeat packet or heartbeat frame.Establish heartbeat connection two Node Controllers pass through to
Other side sends " heartbeat ", informs that other side oneself still works normally, to ensure the validity of each Node Controller.
In the present embodiment, heartbeat connection is established in master node control cluster between adjacent Node Controller.By
Heartbeat connection is established between adjacent Node Controller, so that each Node Controller for logically forming closed circuit passes through the heart
It jumps connection and forms an end to end closed annular route.The loop line formed in this step is toroid physically
Road, in this loop line physically, establishing between adjacent Node Controller has heartbeat connection, and each Node Controller can
To monitor the working condition of Node Controller adjacent thereto by heartbeat connection, while the working condition of its own is also by it
The monitoring of adjacent node controller.
Node Controller, which controls the method that heartbeat connection is established between Node Controller adjacent in the cluster, to be had very much, will
It is described in detail in the following embodiments, herein without limitation.
103, master node control receives the heartbeat alarm that slave node controller is sent, and safeguards SDN according to heartbeat alarm
The logic connecting relation of controller cluster.
After establishing heartbeat connection between adjacent Node Controller in master node control control SDN controller cluster, just
It can be connected by heartbeat and receive heartbeat alarm, and safeguard the logic connecting relation of SDN controller cluster according to the heartbeat alarm.
Master node control has much according to the method for the logic connecting relation of heartbeat alarm maintenance SDN controller cluster,
It will be described in detail in the following embodiments, herein without limitation.
In the present embodiment, all main-standby nodes controllers foundation in master node control control SDN controller cluster is patrolled
Connection relationship is collected, and controls and establishes heartbeat connection between Node Controller adjacent in the structure.By such method, so that
Master node control only needs to establish heartbeat connection between two slave node controllers adjacent with the master node control, and
It does not need to establish heartbeat with all slave node controllers and connect.Compared with prior art, in method provided by the invention, main section
Base site controller, which only needs to establish heartbeat with two slave node controllers, to be connect, and the work that can greatly reduce master node control is negative
Lotus and resource consumption, and then reduce requirement of the 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, wherein main
Node Controller control master node control and n slave node controller establish logic connecting relation.Another kind is presented below
Embodiment establishes logical connection for master node control control master node control and n slave node controller to be described in detail
The process of relationship.Referring to Fig. 2, the basic procedure of further embodiment of this invention includes:
201, master node control sorts n slave node controller from 1 to n;
Management of the main section to slave node controller for convenience, master node control is by n slave node controller from 1 to n
Sequence.
Master node control has the method that n slave node controller sorts from 1 to n very much, will be in embodiment below
Middle detailed description, herein without limitation.
After master node control sorts n slave node controller from 1 to n, the first slave node controller of sorting just is
1st slave node controller, the second slave node controller of sorting just is the 2nd slave node controller ... and so on, sequence n-th
Slave node controller be just the n-th slave node controller.
202, master node control and the 1st slave node controller establish logical connection;
Master node control is in order to establish logic connecting relation for Node Controller all in SDN controller cluster, no
It only to control between slave node controller and establish logical connection, its own will also establish logic company with two slave node controllers
It connects.In the present embodiment, master node control establishes logical connection with the 1st slave node controller first.
Master node control and the 1st slave node controller establish logical connection, and being equivalent to master node control is to establish
Ring topology starting point, the 1st slave node controller is first slave node controller being connected in this starting point.
203, master node control controls the i-th slave node controller and i+1 slave node controller establishes logical connection;
Master node control and Section 1 base site controller are established after logical connection, so that it may continue to establish other slave nodes
Logical connection between controller, then master node control controls the i-th slave node controller and builds with i+1 slave node controller
Vertical logical connection.Wherein, i is 1 any positive integer into n-1, and i is gone through all over 1 all positive integers into n-1.That is, host node
Controller controls the 1st slave node controller and the 2nd slave node controller establishes logical connection and master node control control the 2nd
Slave node controller and the 3rd slave node controller establish logical connection and master node control control the 3rd slave node controller with
4th slave node controller establishes logical connection ... and so on, and master node control control the (n-1)th slave node controller with
N-th slave node controller establishes logical connection.
By such method, master node control has just been linked to be a linear topology structure with n slave node controller,
In the line style logical topological structure, master node control is first point and starting point, and the 1st slave node controller is the
Two points, the 2nd slave node controller are third point ... and so on, and the n-th slave node controller is (n+1)th point, and
Terminating point.
204, master node control and the n-th slave node controller establish logical connection;
In step 203, master node control and n slave node controller have been linked to be a linear topology structure, wherein
Master node control is the starting point in the structure, and the n-th slave node controller is terminating point.
Next, master node control and the n-th slave node controller establish logical connection, so that above-mentioned linear topology structure
First place be connected together, formed one closure loop line, thus obtained a ring topology.
205, heartbeat connection is established between Node Controller adjacent in master node control control SDN controller cluster;
206, master node control receives the heartbeat alarm that slave node controller is sent, and safeguards SDN according to heartbeat alarm
The logic connecting relation of controller cluster.
Step 205,206 with step 102,103 essentially identical, herein without limitation.
The present embodiment is described in detail master node control control master node control and is patrolled with n slave node controller foundation
The method for collecting connection relationship.By the way that n slave node controller sorts from 1 to n, master node control and the 1st slave node are controlled
Device establish logical connection, the i-th slave node controller and i+1 slave node controller establish logical connection, master node control with
N-th slave node controller establishes logical connection so that master node control be arranged in n slave node controller it is end to end
Ring topology.In this configuration, master node control is only adjacent with two slave node controllers, in adjacent node control
After establishing heartbeat connection between device, master node control is only established heartbeat with two slave node controllers and is connect, with the prior art
It compares, the present embodiment can greatly reduce the workload and resource consumption of master node control, and then reduce host node control
Requirement of the device to hardware and network.
Embodiment shown in Fig. 2 gives a kind of clustered node controller monitoring method, wherein master node control in order to
Slave node controller is managed, n slave node controller is sorted from 1 to n.The following examples will be described in host node control
How device sorts slave node controller, referring to Fig. 3, the basic procedure of further embodiment of this invention includes:
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 be by host node control
The information of itself is informed master node control by device registration processed, to facilitate the management of master node control.Master node control
Receive the registration of n slave node controller.
302, the chronological order that master node control is registered according to n slave node controller to the master node control
N slave node controller is ranked up;
Since the time order and function that n slave node controller is registered to master node control is different, so master node control
Can according to the chronological order that n slave node controller is registered to the master node control by n slave node controller into
Row sequence.Wherein, the slave node controller registered at first to master node control is the 1st slave node controller, and second to master
The slave node controller that Node Controller is registered is the 2nd slave node controller ... and so on, finally to master node control
The slave node controller registered is the n-th slave node controller.
303, master node control and the 1st slave node controller establish logical connection;
304, master node control controls the i-th slave node controller and i+1 slave node controller establishes logical connection;
305, master node control and the n-th slave node controller establish logical connection;
306, master node control, which controls, establishes heartbeat company between Node Controller adjacent in the SDN controller cluster
It connects.
307, master node control receives the heartbeat alarm that slave node controller is sent, and safeguards SDN according to heartbeat alarm
The logic connecting relation of controller cluster.
Step 303 to 307 with step 202 to 206 essentially identical, be not repeated herein.
A kind of clustered node controller monitoring method is present embodiments provided, master node control is described in detail by n
The step of slave node controller sorts.Wherein, master node control receives the registration of n slave node controller, and by n for section
Base site controller sorts according to registion time.It thereby realizes master node control and arranges n slave node controller from 1 to n
Sequence allows master node control to control master node control according to ranking results and n slave node controller establishes logic
Connection relationship.
Embodiment shown in Fig. 3 provides a kind of clustered node controller monitoring method, realizes and controls n slave node
Device sorts from 1 to n.The following examples will be described in detail how master node control controls SDN on the basis of this sequence
Heartbeat connection is established in controller cluster between adjacent Node Controller.Referring to Fig. 4, further embodiment of this invention is basic
Process includes:
401, master node control receives the registration of n slave node controller;
402, the chronological order that master node control is registered according to n slave node controller to the master node control
N slave node controller is ranked up;
403, master node control and the 1st slave node controller establish logical connection;
404, master node control controls the i-th slave node controller and i+1 slave node controller establishes logical connection;
405, master node control and the n-th slave node controller establish logical connection.
Step 401 to 405 with step 301 to 305 essentially identical, be not repeated herein.
406, heartbeat connection is established between master node control and the 1st slave node controller;
Master node control connects to establish heartbeat between all adjacent Node Controllers in SDN controller cluster
It connects, forms closed annular route physically, not only to control and establish heartbeat connection between slave node controller, its own is also wanted
Heartbeat connection is established with two slave node controllers adjacent thereto.In the present embodiment, master node control is first with the 1st for section
Heartbeat connection is established between base site controller.
Heartbeat connection is established between master node control and the 1st slave node controller, being equivalent to master node control is to want
The starting point for the closed annular route physically established, the 1st slave node controller are that be connected in this starting point first is standby
Node Controller.
Sometimes, due to the 1st slave node controller damage etc., master node control can not be established and the 1st
Heartbeat connection between slave node controller.In response to this there are many kinds of processing method, such as: if master node control and the
Heartbeat connection failure is established between 1 slave node controller, then master node control is established connects with the logic of the 2nd slave node controller
It connects, and establishes heartbeat with the 2nd slave node controller and connect.This processing method is master node control by the 1st slave node control
Device processed excludes outside ring topology, using the 2nd slave node controller as the in the starting point for being connected to closed annular route
One slave node controller.Other processing modes can also be taken in response to this, herein without limitation.
407, master node control, which controls, establishes heartbeat company between the i-th slave node controller and i+1 slave node controller
It connects;
Master node control and the 1st slave node controller are established after heartbeat connect, so that it may continue to establish other standby sections
Heartbeat connection between base site controller, then master node control controls the i-th slave node controller and i+1 slave node controller
Between establish heartbeat connection.Wherein, i is 1 any positive integer into n-1, and i is gone through all over 1 all positive integers into n-1.That is,
Master node control, which controls, establishes heartbeat connection and host node control between the 1st slave node controller and the 2nd slave node controller
Device, which controls, establishes heartbeat connection and master node control control the 3rd between the 2nd slave node controller and the 3rd slave node controller
Heartbeat connection ... and so on is established between slave node controller and the 4th slave node controller, and master node control controls
Heartbeat connection is established between (n-1)th slave node controller and the n-th slave node controller.
By such method, master node control has just been linked to be a line style physically with n slave node controller
Route, in the line style route, master node control is first point and starting point, and the 1st slave node controller is second
Point, the 2nd slave node controller are third point ... and so on, and the n-th slave node controller is (n+1)th point, and is terminated
Point.
Sometimes, due to slave node controller damage etc., master node control can be unable to control the i-th slave node
Heartbeat connection is established between controller and i+1 slave node controller.There are many kinds of processing methods in response to this, such as: if
Heartbeat connection failure is established between i-th slave node controller and i+1 slave node controller, then master node control establishes i-th
The logical connection of slave node controller and the i-th+2 slave node controller, and control the i-th slave node controller and the i-th+2 slave node
Heartbeat connection is established between controller.This processing method is that master node control excludes i+1 slave node controller
Outside ring topology.Other processing modes can also be taken in response to this, herein without limitation.
408, heartbeat connection is established between master node control and the n-th slave node controller;
In step 407, master node control and n slave node controller have been linked to be a line style route, wherein main section
Base site controller is the starting point of the route, and the n-th slave node controller is terminating point;
Next, heartbeat connection is established between master node control and the n-th slave node controller, so that above-mentioned line style route
First place be connected together, formed one closure loop line, thereby realize master node control and control the SDN controller
Heartbeat connection is established in cluster between adjacent Node Controller.
Sometimes, due to the n-th slave node controller damage etc., master node control can not be established and n-th
Heartbeat connection between slave node controller.In response to this there are many kinds of processing method, such as: if master node control and the
Heartbeat connection failure is established between n slave node controller, then master node control establishes the logic with the (n-1)th slave node controller
Connection, and establish heartbeat with the (n-1)th slave node controller and connect.This processing method is master node control by the n-th standby section
Base site controller excludes outside ring topology, using the (n-1)th slave node controller as being connected to closed annular line termination point.
Other processing modes can also be taken in response to this, herein without limitation.
409, master node control receives the heartbeat alarm that slave node controller is sent, and safeguards SDN according to heartbeat alarm
The logic connecting relation of controller cluster.
Step 409 is essentially identical with step 307, is not repeated herein.
A kind of clustered node controller monitoring method is present embodiments provided, master node control, which will have been described in detail, to be led
After Node Controller and n slave node controller establish logic connecting relation, section adjacent in SDN controller cluster how is controlled
Heartbeat connection is established between base site controller.Wherein, master node control first establishes heartbeat company between the 1st slave node controller
Connect, control again established between the i-th slave node controller and i+1 slave node controller heartbeat connection, finally with the n-th slave node control
Heartbeat connection is established between device processed.By such method, so that master node control and n slave node controller pass through heartbeat
The ring-like route for constituting a closure realizes master node control and controls and establishes the heart between adjacent Node Controller
Jump connection.It is connect moreover, because master node control only establishes heartbeat with the n-th slave node controller with the 1st slave node controller,
So the present embodiment compared with prior art, greatly reduces the workload and resource consumption of master node control, and then reduce
Requirement of the master node control to hardware and network.
Embodiment shown in Fig. 1 to Fig. 4 describes in detail clustered node controller monitoring method, wherein host node control
Device control master node control processed and n slave node controller establish logic connecting relation, and control adjacent Node Controller
Between establish heartbeat connection.A kind of new clustered node controller monitoring method will be proposed in the following examples, for describing
The behavior of master node control when being added to new node controller in SDN controller cluster.Referring to Fig. 5, the present invention is another
The basic procedure of embodiment includes:
501, master node control receives the registration of n slave node controller;
502, the chronological order that master node control is registered according to n slave node controller to the master node control
N slave node controller is ranked up;
503, master node control and the 1st slave node controller establish logical connection;
504, master node control controls the i-th slave node controller and i+1 slave node controller establishes logical connection;
505, master node control and the n-th slave node controller establish logical connection.
506, heartbeat connection is established between master node control and the 1st slave node controller;
507, master node control, which controls, establishes heartbeat company between the i-th slave node controller and i+1 slave node controller
It connects;
508, heartbeat connection is established between master node control and the n-th slave node controller;
Step 501 to 508 with step 401 to 408 essentially identical, be not repeated herein.
509, master node control receives the registration of new node controller;
By above step, logic connecting relation is established between master node control and n slave node controller, and
And heartbeat connection is established between two adjacent Node Controllers.When there is new node controller to be added to SDN controller cluster
It when middle, needs for new node controller to be added in ring topology, and updates entirely based on the heartbeat of ring topology
Connection.Wherein, due to that can only have a master node control in SDN controller cluster, so new node controller is also standby section
Base site controller.
Wherein, in SDN controller cluster, after determining master node control, other slave node controllers can be by master
The information of itself is informed master node control by Node Controller registration, above-mentioned new to facilitate the management of master node control
Node Controller is no exception.In the present embodiment, master node control receives the registration of new node controller.
By in this present embodiment, master node control is registered according to n slave node controller to the master node control
The n slave node controller is ranked up by chronological order, and new node controller is to be newly joined SDN controller cluster
Node Controller, so registion time be all slave node controllers in after.Therefore, the practical phase of new node controller
When the (n+1)th slave node controller in SDN controller cluster.
510, master node control establishes the logical connection with new node controller, and establishes between new node controller
Heartbeat connection;
The (n+1)th slave node controller being equivalent to since new node controller is practical in SDN controller cluster, so new section
Base site controller should be between master node control and the n-th slave node controller.Therefore, master node control is established and new section
The logical connection of base site controller, and establish heartbeat between new node controller and connect.
511, master node control control new node controller establishes the logical connection with the n-th slave node controller, and controls
Heartbeat connection is established between new node controller processed and the n-th slave node controller;
The logical connection with new node controller is established in master node control, and establishes the heart between new node controller
After jumping connection, master node control controls the logical connection of new node controller foundation and the n-th slave node controller, and controls
Heartbeat connection is established between new node controller and the n-th slave node controller.In this way, new node controller is just controlled with host node
Device establishes logical connection with the n-th slave node controller and connect with heartbeat.
512, master node control releases the logical connection between the n-th slave node controller, and interrupts and the n-th slave node
Heartbeat connection between controller;
Master node control releases the logical connection between the n-th slave node controller, and interrupts and control with the n-th slave node
Heartbeat connection between device.In this way, master node control is just only established between the 1st slave node controller and new node controller
There is logical connection to connect with heartbeat, the n-th slave node controller is just only established with new node controller and the (n-1)th slave node controller
There is logical connection to connect with heartbeat.Master node control and n+1 slave node controller form new ring topology, and
It establishes and establishes heartbeat connection between Node Controller adjacent in the new ring topology.
513, master node control receives the heartbeat alarm that slave node controller is sent, and safeguards SDN according to heartbeat alarm
The logic connecting relation of controller cluster.
Step 513 is essentially identical with step 409, is not repeated herein.
A kind of new clustered node controller prison is proposed on the basis of the present embodiment embodiment shown in Fig. 1 to Fig. 4
Prosecutor method, this method can accommodate the addition of new node controller.The note of new node controller is received by master node control
Volume, foundation connect with heartbeat with the logical connection of new node controller, control the foundation of new node controller and the control of the n-th slave node
The logical connection of device and heartbeat connection release the logical connection between the n-th slave node controller and interrupt and n-th slave node
Heartbeat connection between controller, so that new node controller is just received into SDN controller cluster, master node control
New ring topology is formd with n+1 slave node controller, and is established adjacent in the new ring topology
Heartbeat connection is established between Node Controller, embodies good scalability.
Embodiment shown in fig. 5 provides a kind of clustered node controller monitoring method, so that SDN controller cluster can be with
New Node Controller is accommodated, there is good scalability.The following examples will provide another method, so that SDN is controlled
Device cluster processed can repair failure, have good stability.Refer to Fig. 6, the basic procedure of another embodiment of the present invention
Include:
601, master node control receives the registration of n slave node controller;
602, the chronological order that master node control is registered according to n slave node controller to the master node control
N slave node controller is ranked up;
603, master node control and the 1st slave node controller establish logical connection;
604, master node control controls the i-th slave node controller and i+1 slave node controller establishes logical connection;
605, master node control and the n-th slave node controller establish logical connection.
606, heartbeat connection is established between master node control and the 1st slave node controller;
607, master node control, which controls, establishes heartbeat company between the i-th slave node controller and i+1 slave node controller
It connects;
608, heartbeat connection is established between master node control and the n-th slave node controller;
Step 601 to 608 with step 501 to 508 essentially identical, be not repeated herein.
609, master node control judges whether to receive the first alarm of the i-th slave node controller transmission, and receives
The second alarm that i+1 slave node controller is sent;
Master node control judges whether to receive the first alarm of the i-th slave node controller transmission, and receives i+1
The second alarm that slave node controller is sent if the determination result is YES thens follow the steps 610;If judging result be it is no, execute
Step 611.
Wherein, the first alarm is used to indicate the heartbeat connection between the i-th slave node controller and i+1 slave node controller
It interrupts, the second alarm is used to indicate that the heartbeat disconnecting between the i-th slave node controller and i+1 slave node controller, i to be
1 any positive integer into n-2.
610, master node control determines heartbeat connection hair between the i-th slave node controller and i+1 slave node controller
Raw failure, and establish logical connection between the i-th slave node controller of control and the i-th+2 slave node controller and connect with heartbeat;
If master node control receives the first alarm of the i-th slave node controller transmission, and receives i+1 slave node
The second alarm that controller is sent illustrates in the heartbeat connection between the i-th slave node controller and i+1 slave node controller
It is disconnected.Master node control determines that heartbeat connection is broken down between the i-th slave node controller and i+1 slave node controller, and
It controls and establishes logical connection between the i-th slave node controller and the i-th+2 slave node controller and connect with heartbeat.This is actually phase
When in master node control by i+1 Node Controller exclude except ring topology, and with remaining n-1 slave node
Controller re-establishes ring topology and connect with the heartbeat of closed annular route.
611, master node control executes other operations.
If master node control is not received by the first alarm of the i-th slave node controller transmission, or is not received by i-th
The second alarm that+1 slave node controller is sent, illustrates the heartbeat between the i-th slave node controller and i+1 slave node controller
Connection is normal.Master node control executes other operations.Other operations include: to maintain SDN controller present grouping conditions herein, are not held
Any operation of row.
The present embodiment proposes a kind of clustered node controller monitoring method, when master node control receives the i-th standby section
The first alarm that base site controller is sent, and when receiving the second alarm of i+1 slave node controller transmission, determine the i-th standby section
Heartbeat connection is broken down between base site controller and i+1 slave node controller, and controls the i-th slave node controller and i-th+2
Logical connection is established between slave node controller to connect with heartbeat.By such method, so that when two slave node controllers
Between heartbeat connection break down, when closed annular route physically being caused to disconnect, master node control can pass through by
Some slave node controller excludes except ring topology, and re-establishes and patrol with remaining n-1 slave node controller
It collects connection relationship to connect with heartbeat, has achieved the purpose that repair failure, improved the stability of SDN controller cluster.
Wherein, the operation that step 610 executes may be: master node control determines the i-th slave node controller and i+1
Heartbeat connection is broken down between slave node controller, and control the (i-1)-th slave node controller and i+1 slave node controller it
Between establish logical connection and connect with heartbeat, in the embodiment of the present invention without limitation.
Embodiment shown in fig. 6 gives a kind of clustered node controller monitoring method, and this method has to be stablized well
Property.Wherein, when the heartbeat connection between two slave node controllers is broken down, it is standby that master node control establishes one of them
Node Controller is connect with the heartbeat of other slave node controllers, and then repairs failure.The following examples will provide another kind
Clustered node controller monitoring method, so that master node control can still be repaired when some slave node controller breaks down
Multiple failure, has good stability.Fig. 7 is referred to, the basic procedure of another embodiment provided by the invention includes:
701, master node control receives the registration of n slave node controller;
702, the chronological order that master node control is registered according to n slave node controller to the master node control
N slave node controller is ranked up;
703, master node control and the 1st slave node controller establish logical connection;
704, master node control controls the i-th slave node controller and i+1 slave node controller establishes logical connection;
705, master node control and the n-th slave node controller establish logical connection.
706, heartbeat connection is established between master node control and the 1st slave node controller;
707, master node control, which controls, establishes heartbeat company between the i-th slave node controller and i+1 slave node controller
It connects;
708, heartbeat connection is established between master node control and the n-th slave node controller;
Step 701 to 708 with step 601 to 608 essentially identical, be not repeated herein.
709, master node control judges whether to receive the third alarm of the (i-1)-th slave node controller transmission, and receives
The 4th alarm sent to i+1 slave node controller;
Master node control judges whether to receive the third alarm of the (i-1)-th slave node controller transmission, and receives i-th
The 4th alarm that+1 slave node controller is sent if the determination result is YES thens follow the steps 710;If judging result be it is no, hold
Row step 711.
Wherein, third alarm is in indicating that the (i-1)-th slave node controller is connect with the heartbeat of the i-th slave node controller
Disconnected, the 4th alarm is used to indicate that the heartbeat disconnecting of i+1 slave node controller and the i-th slave node controller, i to be 2 to n-1
In any positive integer.
710, master node control determines that the i-th slave node controller breaks down, and controls the (i-1)-th slave node controller and build
It is vertical to be connect with the logical connection of i+1 slave node controller with heartbeat;
If master node control receives the third alarm of the (i-1)-th slave node controller transmission, and receives the standby section of i+1
The 4th alarm that base site controller is sent, illustrates that the i-th slave node controller breaks down.Master node control determines the i-th slave node
Controller breaks down, and controls the logical connection and heartbeat of the (i-1)-th slave node controller foundation and i+1 slave node controller
Connection.This be actually master node control is equivalent to exclude the i-th Node Controller except ring topology, and with it is surplus
N-1 remaining slave node controller re-establishes logic connecting relation and connect with heartbeat.
711, master node control executes other operations.
If master node control is not received by the third alarm of the (i-1)-th slave node controller transmission, or is not received by
The 4th alarm that i+1 slave node controller is sent, illustrates that the i-th slave node controller state is normal.Master node control executes
Other operations.Other operations include: to maintain SDN controller present grouping conditions herein, do not execute any operation.
The present embodiment proposes a kind of clustered node controller monitoring method, when to receive (i-1)-th standby for master node control
Node Controller send third alarm, and receive i+1 slave node controller transmission four alarms when, determine that i-th is standby
Node Controller breaks down, and controls and establish logical connection between the (i-1)-th slave node controller and i+1 slave node controller
It is connect with heartbeat.By such method, so that leading to closed annular physically when some slave node controller breaks down
When route disconnects, master node control can be excluded by the slave node controller that will break down ring topology it
Outside, and with remaining n-1 slave node controller it re-establishes logic connecting relation to connect with heartbeat, has reached and repaired failure
Purpose improves the stability of SDN controller cluster.
The embodiment of Fig. 6 and Fig. 7 be described in detail when between slave node controller heartbeat connection or slave node controller
When itself breaks down, how master node control repairs failure.But in practical applications, master node control itself can also
It can break down.The following examples will be described in when master node control breaks down, the process of debugging.It please join
See that Fig. 8, the basic procedure of further embodiment of this invention include:
801, master node control receives the registration of n slave node controller;
802, the chronological order that master node control is registered according to n slave node controller to the master node control
N slave node controller is ranked up;
803, master node control and the 1st slave node controller establish logical connection;
804, master node control controls the i-th slave node controller and i+1 slave node controller establishes logical connection;
805, master node control and the n-th slave node controller establish logical connection.
806, heartbeat connection is established between master node control and the 1st slave node controller;
807, master node control, which controls, establishes heartbeat company between the i-th slave node controller and i+1 slave node controller
It connects;
808, heartbeat connection is established between master node control and the n-th slave node controller;
Step 801 to 808 with step 701 to 708 essentially identical, be not repeated herein.
If the heartbeat 809, between the 1st slave node controller and master node control connects, the n-th slave node controller and master
Heartbeat connection between Node Controller is interrupted, then the 1st slave node controller and the n-th slave node controller seize cluster lock;
If the heartbeat between the 1st slave node controller and master node control connects, the n-th slave node controller and host node
Heartbeat connection between controller is interrupted, then illustrates that master node control breaks down, and SDN controller cluster needs to generate new
Master node control.
In the present embodiment, new master node control seizes cluster lock by slave node controller to generate.Cluster is locked
A kind of network distribution type lock, in cluster wide effectively.The service of cluster lock is by the third party system independently of the SDN controller cluster
System provides, for avoiding the case where generating more master node controls in SDN controller cluster.In the present embodiment, cluster is locked by collecting
Group's master node control occupies for a long time, and when master node control occupies cluster lock, other slave node controllers cannot obtain collection
Group's lock.When master node control failure, cluster locks automatic unlocking, at this time the available cluster lock of other slave node controllers.
There are many kinds of the implementations of cluster lock, including is realized by network data base or realize or pass through by Network File System
Distribution service is realized or realization etc. otherwise, herein without limitation.
In the present embodiment, cluster lock implementation adjacent node controller is arrived first and must first be made, i.e., when cluster lock is in the unlocked state
When, the 1st slave node controller adjacent with former master node control and the n-th slave node controller can obtain cluster lock, and
Two slave node controllers seize cluster lock, seize successful slave node controller and occupy cluster lock.
Wherein, if the 1st slave node controller seizes success, 810 are thened follow the steps;If the n-th slave node controller is seized into
Function thens follow the steps 811.
810, the 1st slave node controller is determined as new master node control, and new master node control is established and n-th
The logical connection of slave node controller is connect with heartbeat;
It is locked successfully if the 1st slave node controller seizes cluster, the 1st slave node controller is determined as new host node control
Device, and establish logical connection with the n-th slave node controller and connect with heartbeat.It is in this way actually to be equivalent to control former host node
Device excludes except ring topology, and new master node control is re-established with remaining n-1 slave node controller and patrolled
Connection relationship is collected to connect with heartbeat.
811, the n-th slave node controller is determined as new master node control, and new master node control is established and the 1st
The logical connection of slave node controller is connect with heartbeat.
It is locked successfully if the n-th slave node controller seizes cluster, the n-th slave node controller is determined as new host node control
Device, and establish logical connection with the 1st slave node controller and connect with heartbeat.It is in this way actually to be equivalent to control former host node
Device excludes except ring topology, and new master node control is re-established with remaining n-1 slave node controller and patrolled
Connection relationship is collected to connect with heartbeat.
A kind of clustered node controller monitoring method is present embodiments provided, if when the 1st slave node controller and host node
When the heartbeat connection between heartbeat connection, the n-th slave node controller and master node control between controller is interrupted, the 1st
Slave node controller and the n-th slave node controller seize cluster lock, seize successful slave node controller as new host node
Controller, and the logic connecting relation re-established in SDN controller cluster is connect with heartbeat.By such method, so that
When master node control breaks down, when the closed annular route for causing physically disconnects, the 1st slave node controller or n-th standby
Node Controller can become new master node control by seizing cluster lock, and new master node control will break down
Former master node control exclusion re-establishes logic except ring topology, and with remaining n-1 slave node controller
Connection relationship is connect with heartbeat, has been achieved the purpose that repair failure, has been improved the stability of SDN controller cluster.
It, below will be with the concrete application of a clustered node controller monitoring method in order to better understand above-described embodiment
It is illustrated for scene.
In SDN controller cluster, there are 1 master node control and 10 slave node controllers.Master node control connects
Receive the registration of this 10 slave node controllers, and according to the time order and function of registration by this 10 from 1 to 10 rows of slave node controller
Sequence.
Later, master node control and the 1st slave node controller establish logical connection and control the 1st slave node controller
Logical connection is established with the 2nd slave node controller and the 2nd slave node controller of control and the 3rd slave node controller establish logic
Connection ... and so on is finally led until the 9th slave node controller of control and the 10th slave node controller establish logical connection
Node Controller and the 10th slave node controller establish logical connection, form ring topology.
Later, heartbeat is established between master node control and the 1st slave node controller to connect and control the 1st slave node control
Heartbeat is established between device processed and the 2nd slave node controller to connect and control the 2nd slave node controller and the 3rd slave node controller
Between establish heartbeat connection ... and so on, until control the 9th slave node controller and the 10th slave node controller between build
Vertical heartbeat connection, establishes heartbeat connection between last master node control and the n-th slave node controller, form closing physically
Close loop line.
At this point, there is new node controller to need to be added in SDN controller cluster.Master node control receives the new node control
The logical connection of registration, the foundation and new node controller of device processed, established between new node controller heartbeat connect, control it is new
Node Controller is established and the logical connection of the 10th slave node controller, control new node controller and the 10th slave node controller
Between establish heartbeat connection, last master node control releases logical connection between the 10th slave node controller, and interrupt
Heartbeat between the 10th slave node controller is connect.In this way, new Node Controller is just received into ring topology,
And there is heartbeat connection as the 11st foundation between slave node controller and master node control and the 10th slave node controller.
Later, the alarm that controller receives the alarm of the 3rd slave node controller transmission and the 4th slave node controller is sent,
This two articles of alarms indicate the heartbeat disconnecting between the 3rd slave node controller and the 4th slave node controller.Then host node
Controller determines that heartbeat connection is broken down between the 3rd slave node controller and the 4th slave node controller, and controls the 3rd standby section
Logical connection is established between base site controller and the 5th slave node controller to connect with heartbeat.But the 3rd slave node controller and the 5th
It is unsuccessful that heartbeat connection is established between slave node controller, then master node control controls the 3rd slave node controller and the 6th standby
Logical connection is established between Node Controller to connect with heartbeat.
Later, the police that controller receives the alarm of the 6th slave node controller transmission and the 8th slave node controller is sent
Report, this two articles of alarms respectively indicate heartbeat disconnecting between the 6th slave node controller and the 7th slave node controller, the 8th standby
Heartbeat disconnecting between Node Controller and the 7th slave node controller.Then master node control determines the 7th slave node control
Device processed breaks down, and controls the foundation of the 6th slave node controller and connect with the logical connection of the 8th slave node controller with heartbeat.
Later, heartbeat connection, the 11st slave node controller and the master between the 1st slave node controller and master node control
Heartbeat connection between Node Controller is interrupted, and illustrates that master node control breaks down, the 1st slave node controller and the 11st
Slave node controller seizes cluster lock.Wherein, the 1st slave node controller is seized cluster and is locked successfully, then the 1st slave node controller
It is determined as new master node control, and establishes and connect with the logical connection of the 11st slave node controller with heartbeat.
The embodiment of the invention provides a kind of clustered node controller monitoring devices, for realizing Fig. 1 to reality shown in Fig. 8
Apply the function in example.The basic structure of device provided in an embodiment of the present invention is referring to Fig. 9, specifically include that
Module 901 is arranged, establishes logic connecting relation for controlling master node control and n slave node controller;
Link block 902 establishes heartbeat connection for controlling between adjacent Node Controller;
Alarm modules 903 safeguard SDN for receiving the heartbeat alarm of slave node controller transmission, and according to heartbeat alarm
The logic connecting relation of controller cluster.
In the present embodiment, all main-standby nodes controllers that arrangement module 901 controls in SDN controller cluster establish logic
Connection relationship, link block 902, which controls, establishes heartbeat connection between Node Controller adjacent in the structure.Side in this way
Method, so that master node control only needs to establish heartbeat between two slave node controllers adjacent with the master node control
Connection, connect without establishing heartbeat with all slave node controllers.Compared with prior art, device provided by the invention
It is connect so that master node control only needs to establish heartbeat with two slave node controllers, master node control can be greatly reduced
Workload and resource consumption, and then reduce requirement of the 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, wherein row
Column module 901 controls master node control and n slave node controller establishes logic connecting relation.Another implementation is presented below
Example is described in detail how arrangement module 901 controls master node control and n slave node controller establishes logical connection pass
System.Referring to Fig. 10, the basic structure of further embodiment of this invention includes:
Module 1001 is arranged, establishes logic connecting relation for controlling master node control and n slave node controller, this
In embodiment, arrangement module 1001 includes:
Sequencing unit 10011, for n slave node controller to sort from 1 to n;
First logic unit 10012, for establishing logical connection with the 1st slave node controller;
Logic control element 10013 establishes logic for controlling the i-th slave node controller and i+1 slave node controller
Connection;
Second logic unit 10014, for establishing logical connection with the n-th slave node controller;
Link block 1002 establishes heartbeat between Node Controller adjacent in the SDN controller cluster for controlling
Connection;
Alarm modules 1003 safeguard SDN for receiving the heartbeat alarm of slave node controller transmission, and according to heartbeat alarm
The logic connecting relation of controller cluster.
Present embodiments provide that one kind can control master node control and n slave node controller is established logical connection and closed
The device of system.Wherein, sequencing unit 10011 sorts n slave node controller from 1 to n, the first logic unit 10012 and the 1st
Slave node controller establishes logical connection, logic control element 10013 controls the i-th slave node controller and i+1 slave node control
Device processed establishes logical connection, the second logic unit 10014 and the n-th slave node controller and establishes logical connection, so that host node control
Device processed and n slave node controller are arranged in end to end ring topology.In this configuration, master node control only with
Two slave node controllers are adjacent, after link block 1002 establishes heartbeat connection between adjacent Node Controller, host node
Controller is only established heartbeat with two slave node controllers and is connect, and compared with prior art, the present embodiment can greatly reduce master
The workload and resource consumption of Node Controller, and then reduce requirement of the master node control to hardware and network.
Embodiment shown in Fig. 10 gives a kind of clustered node controller monitoring device, wherein sequencing unit 10011 is
Management slave node controller, n slave node controller sorted from 1 to n.The following examples will be described in sequencing unit
How 10011 sort slave node controller, please refers to Figure 11, and the basic structure of further embodiment of this invention includes:
Module 1101 is arranged, establishes logic connecting relation for controlling master node control and n slave node controller, this
In embodiment, arrangement module 1101 includes:
Sequencing unit 11011, for the n slave node controller to be sorted from 1 to n, in the present embodiment, sequencing unit
11011 include:
Registration subunit 110111, for receiving the registration of n slave node controller;
Sorting subunit 110112, the chronological order for registering according to n slave node controller are standby by the n
Node Controller is ranked up;
First logic unit 11012, for establishing logical connection with the 1st slave node controller;
Logic control element 11013 establishes logic for controlling the i-th slave node controller and i+1 slave node controller
Connection;
Second logic unit 11014, for establishing logical connection with the n-th slave node controller;
Link block 1102 establishes heartbeat connection for controlling between adjacent Node Controller;
Alarm modules 1103 safeguard SDN for receiving the heartbeat alarm of slave node controller transmission, and according to heartbeat alarm
The logic connecting relation of controller cluster.
A kind of clustered node controller monitoring device is present embodiments provided, realizes and sorts to n slave node controller.
Wherein, registration subunit 110111 receives the registration of n slave node controller, and sorting subunit 110112 is by n slave node control
Device processed sorts according to registion time.It thereby realizes and n slave node controller sorts from 1 to n, so that arrangement module
1101, which can control master node control according to ranking results, establishes logic connecting relation with n slave node controller.
Embodiment shown in Figure 11 provides a kind of clustered node controller monitoring device, realizes n slave node control
Device processed sorts from 1 to n.The following examples will provide another device on the basis of this device, in adjacent node
Heartbeat connection is established between controller.Figure 12 is please referred to, the basic structure of further embodiment of this invention includes:
Module 1201 is arranged, establishes logic connecting relation for controlling master node control and n slave node controller, this
In embodiment, arrangement module 1201 includes:
Sequencing unit 12011, for the n slave node controller to be sorted from 1 to n, in the present embodiment, sequencing unit
12011 include:
Registration subunit 120111, for receiving the registration of n slave node controller;
Sorting subunit 120112, the chronological order for registering according to n slave node controller are standby by the n
Node Controller is ranked up;
First logic unit 12012, for establishing logical connection with the 1st slave node controller;
Logic control element 12013 establishes logic for controlling the i-th slave node controller and i+1 slave node controller
Connection;
Second logic unit 12014, for establishing logical connection with the n-th slave node controller;
Link block 1202 establishes heartbeat between Node Controller adjacent in the SDN controller cluster for controlling
It connects, in the present embodiment, link block 1202 includes:
First connection unit 12021, connect for establishing heartbeat between the 1st slave node controller;
Control unit 12022 is connected, is established between the i-th slave node controller and i+1 slave node controller for controlling
Heartbeat connection, wherein i is 1 any positive integer into n-1;
Second connection unit 12023 is connect for establishing heartbeat between the n-th slave node controller;
Alarm modules 1203 safeguard SDN for receiving the heartbeat alarm of slave node controller transmission, and according to heartbeat alarm
The logic connecting relation of controller cluster.
Wherein, if establishing heartbeat connection failure between the first connection unit 12021 and the 1st slave node controller, first
Logic unit 12012 can be also used for: establish the logical connection with the 2nd slave node controller, and the first connection unit 12021 is also
It can be used for: establishing heartbeat with the 2nd slave node controller and connect.First logic unit 12012 and the first connection unit 12021
It can be without such purposes, herein without limitation.
If connection control unit 12022 controls and establishes heartbeat between the i-th slave node controller and i+1 slave node controller
Connection failure, then logic control element can be used for 12013: being established the i-th slave node controller and established and the i-th+2 slave node control
The logical connection of device processed, and connect control unit 12022 and can be also used for: the i-th slave node controller of control and the i-th+2 slave node
Heartbeat connection is established between controller.This can not can also be had with 12013 by connecting control unit 12022 and logic control element
The purposes of sample, herein without limitation.
If establishing heartbeat connection failure between the second connection unit 12023 and the n-th slave node controller, the second logic list
Member 12014 can be also used for: establish the logical connection with the (n-1)th slave node controller, and second connection unit 12023 is also
It can be used for: establishing heartbeat between the (n-1)th slave node controller and connect.Second connection unit 12023 and the second logic unit
12014 can also be without such purposes, herein without limitation.
A kind of clustered node controller monitoring device is present embodiments provided, is realized master node control and n is standby
After Node Controller establishes logic connecting relation, heartbeat connection is established between adjacent Node Controller.Wherein, the first connection
Heartbeat connection is established between unit 12021 and the 1st slave node controller, connection control unit 12022 controls the control of the i-th slave node
It is established between device and i+1 slave node controller between heartbeat connection, the second connection unit 12023 and the n-th slave node controller
Establish heartbeat connection.In this way, master node control constitutes the ring of a closure with n slave node controller by heartbeat
Molded line road.It is connect moreover, because master node control only establishes heartbeat with the n-th slave node controller with the 1st slave node controller,
So the present embodiment compared with prior art, greatly reduces the workload and resource consumption of master node control, and then reduce
Requirement of the master node control to hardware and network.
Embodiment shown in Fig. 9 to Figure 12 describes in detail clustered node controller monitoring device, wherein arrangement module
Control master node control and n slave node controller establish logic connecting relation, and link block is in adjacent Node Controller
Between establish heartbeat connection.A kind of new clustered node controller monitoring device will be proposed in the following examples, it can be in SDN
New Node Controller is received in controller cluster.Figure 13 is please referred to, the basic structure of further embodiment of this invention includes:
Module 1301 is arranged, establishes logic connecting relation for controlling master node control and n slave node controller, this
In embodiment, arrangement module 1301 includes:
Sequencing unit 13011, for the n slave node controller to be sorted from 1 to n, in the present embodiment, sequencing unit
13011 include:
Registration subunit 130111, for receiving the registration of n slave node controller;
Sorting subunit 130112, the chronological order for registering according to n slave node controller are standby by the n
Node Controller is ranked up;
First logic unit 13012, for establishing logical connection with the 1st slave node controller;
Logic control element 13013 establishes logic for controlling the i-th slave node controller and i+1 slave node controller
Connection;
Second logic unit 13014, for establishing logical connection with the n-th slave node controller;
Link block 1302 establishes heartbeat connection for controlling between the adjacent Node Controller, in the present embodiment,
Link block 1302 includes:
First connection unit 13021, connect for establishing heartbeat between the 1st slave node controller;
Control unit 13022 is connected, is established between the i-th slave node controller and i+1 slave node controller for controlling
Heartbeat connection, wherein i is 1 any positive integer into n-1;
Second connection unit 13023 is connect for establishing heartbeat between the n-th slave node controller.
Receiving module 1303, for receiving the registration information of new node controller;
Alarm modules 1304 safeguard SDN for receiving the heartbeat alarm of slave node controller transmission, and according to heartbeat alarm
The logic connecting relation of controller cluster.
Wherein, the second logic unit 13014 is also used to: being established the logical connection with new node controller, and is released and n-th
The logical connection of slave node controller;Second connection unit 13023 is also used to: heartbeat company is established between new node controller
It connects, and interrupts and connect with the heartbeat of the n-th slave node controller;Logic control element 13013 is also used to: control new node controller
Establish the logical connection with the n-th slave node controller;Connection control unit 13022 is also used to: controlling the new node controller
Heartbeat is established between the n-th slave node controller to connect.
A kind of new clustered node controller prison is proposed on the basis of the present embodiment embodiment shown in Fig. 9 to Figure 12
Device is controlled, this method can accommodate the addition of new node controller.The note of new node controller is received by receiving module 1303
Volume, the second logic unit 13014 establish with the logical connection of new node controller,;Second connection unit 13023 is established and new section
Heartbeat connection, logic control element 13013 between base site controller control new node controller and establish and the n-th slave node controller
Logical connection, connection control unit control new node controller establish and the n-th slave node controller between heartbeat connect, make
It obtains new node controller to be just received into SDN controller cluster, master node control is formed with n+1 slave node controller
New ring topology, and establish and establish heartbeat company between Node Controller adjacent in the new ring topology
It connects, embodies good scalability.
Embodiment shown in Figure 13 provides a kind of clustered node controller monitoring device, so that SDN controller cluster can
To accommodate new Node Controller, there is good scalability.The following examples will provide another device, so that SDN
Controller cluster can repair failure, have good stability.Referring to Figure 14, the basic knot of another embodiment of the present invention
Structure includes:
Module 1401 is arranged, establishes logic connecting relation for controlling master node control and n slave node controller, this
In embodiment, arrangement module 1401 includes:
Sequencing unit 14011, for the n slave node controller to be sorted from 1 to n, in the present embodiment, sequencing unit
14011 include:
Registration subunit 140111, for receiving the registration of n slave node controller;
Sorting subunit 140112, the chronological order for registering according to n slave node controller are standby by the n
Node Controller is ranked up;
First logic unit 14012, for establishing logical connection with the 1st slave node controller;
Logic control element 14013 establishes logic for controlling the i-th slave node controller and i+1 slave node controller
Connection;
Second logic unit 14014, for establishing logical connection with the n-th slave node controller;
Link block 1402 establishes heartbeat connection for controlling between the adjacent Node Controller, in the present embodiment,
Link block 1402 includes:
First connection unit 14021, connect for establishing heartbeat between the 1st slave node controller;
Control unit 14022 is connected, is established between the i-th slave node controller and i+1 slave node controller for controlling
Heartbeat connection, wherein i is 1 any positive integer into n-1;
Second connection unit 14023 is connect for establishing heartbeat between the n-th slave node controller.
Alarm modules 1403 safeguard SDN for receiving the heartbeat alarm of slave node controller transmission, and according to heartbeat alarm
The logic connecting relation of controller cluster.In the present embodiment, alarm modules 1403 include:
First alarm unit 14031, for receiving the first alarm of the i-th slave node controller transmission, which is used
Heartbeat disconnecting between the i-th slave node controller of expression and i+1 slave node controller;
Second alarm unit 14032, for receiving the second alarm of i+1 slave node controller transmission, second alarm
For indicating the heartbeat disconnecting between the i-th slave node controller and i+1 slave node controller;
First determination unit 14033, for receiving the of the transmission of the i-th slave node controller in the first alarm unit 1403
One alarm, and when the second alarm unit 1404 receives the second alarm of i+1 slave node controller transmission, determine the i-th standby section
Heartbeat connection is broken down between base site controller and i+1 slave node controller;
Wherein, logic control element 14013 is also used to: determining the control of the i-th slave node in first determination unit 1405
Heartbeat connection is when breaking down between device and i+1 slave node controller, control the i-th slave node controller establish with it is described
The logical connection of i-th+2 slave node controller.
Wherein, connection control unit 14022 is also used to: determining the control of the i-th slave node in first determination unit 1405
Heartbeat connection is when breaking down between device and i+1 slave node controller, control the i-th slave node controller with described i-th+
Heartbeat connection is established between 2 slave node controllers.
The present embodiment proposes a kind of clustered node controller monitoring device, when the first alarm unit 14031 receives i-th
The first alarm that slave node controller is sent, and the second alarm unit 14032 receives the of i+1 slave node controller transmission
When two alarms, the first determination unit 14033 determines that heartbeat connects between the i-th slave node controller and i+1 slave node controller
It breaks down, and logic control element 14013 controls the i-th slave node controller and the i-th+2 standby section with control unit 14022 is connect
Logical connection is established between base site controller to connect with heartbeat.Make in this way when the heartbeat connection hair between two slave node controllers
Raw failure, when the closed annular route for causing physically disconnects, device provided in this embodiment can be by by some slave node
Controller excludes except ring topology, and re-establishes logic connecting relation with remaining n-1 slave node controller
It is connect with heartbeat, has achieved the purpose that repair failure, improved the stability of SDN controller cluster.
Embodiment shown in Figure 14 gives a kind of clustered node controller monitoring device, which makes SDN controller
Cluster has good stability.Wherein, when the heartbeat connection between two slave node controllers is broken down, which can
To repair failure.The following examples will provide another clustered node controller monitoring device, so that working as some slave node control
When device processed breaks down, which can still repair failure.Referring to Figure 15, the basic knot of another embodiment provided by the invention
Structure includes:
Module 1501 is arranged, establishes logic connecting relation for controlling master node control and n slave node controller, this
In embodiment, arrangement module 1501 includes:
Sequencing unit 15011, for the n slave node controller to be sorted from 1 to n, in the present embodiment, sequencing unit
15011 include:
Registration subunit 150111, for receiving the registration of n slave node controller;
Sorting subunit 150112, the chronological order for registering according to n slave node controller are standby by the n
Node Controller is ranked up;
First logic unit 15012, for establishing logical connection with the 1st slave node controller;
Logic control element 15013 establishes logic for controlling the i-th slave node controller and i+1 slave node controller
Connection;
Second logic unit 15014, for establishing logical connection with the n-th slave node controller;
Link block 1502 establishes heartbeat connection for controlling between the adjacent Node Controller, in the present embodiment,
Link block 1502 includes:
First connection unit 15021, connect for establishing heartbeat between the 1st slave node controller;
Control unit 15022 is connected, is established between the i-th slave node controller and i+1 slave node controller for controlling
Heartbeat connection, wherein i is 1 any positive integer into n-1;
Second connection unit 15023 is connect for establishing heartbeat between the n-th slave node controller.
Alarm modules 1503 safeguard SDN for receiving the heartbeat alarm of slave node controller transmission, and according to heartbeat alarm
In logic connecting relation the present embodiment of controller cluster, alarm modules 1503 include:
Third alarm unit 15031, for receiving the third alarm of the (i-1)-th slave node controller transmission, the third alarm
For indicating the heartbeat disconnecting of the (i-1)-th slave node controller and the i-th slave node controller;
4th alarm unit 15032, for receiving the 4th alarm of i+1 slave node controller transmission, the 4th alarm
For indicating the heartbeat disconnecting of i+1 slave node controller and the i-th slave node controller;
Second determination unit 15033, for receiving the first of the transmission of the (i-1)-th slave node controller in third alarm unit
Alarm, and the 4th alarm unit receive i+1 slave node controller transmission four alarms when, determine the i-th slave node control
Device breaks down;
The logic control element 15013 is also used to: determining that the i-th slave node controller breaks down in the second determination unit
When, control the logical connection of the (i-1)-th slave node controller foundation and the i+1 slave node controller;
The connection control unit 15022 is also used to: determining that the i-th slave node controller breaks down in the second determination unit
When, it controls and establishes heartbeat connection between the (i-1)-th slave node controller and the i+1 slave node controller.
The present embodiment proposes a kind of clustered node controller monitoring device, when third alarm unit 15031 receives
The third alarm that i-1 slave node controller is sent, and the 4th alarm unit 15032 receives the transmission of i+1 slave node controller
Four alarms when, the second determination unit 15033 determines that the i-th slave node controller breaks down, and logic control element 15013
With connect control unit 15022 control established between the (i-1)-th slave node controller and i+1 slave node controller logical connection with
Heartbeat connection.Make to break down when some slave node controller in this way, when leading to closed annular route disconnection physically, this
The device that embodiment provides can be excluded except ring topology by the slave node controller that will break down, and with it is surplus
N-1 remaining slave node controller re-establishes logic connecting relation and connect with heartbeat, has achieved the purpose that repair failure, improve
The stability of SDN controller cluster.
The embodiment of Figure 14 and Figure 15 is described in detail when the heartbeat connection or slave node control between slave node controller
When device itself breaks down, how clustered node controller monitoring device repairs failure.The following examples will provide another kind
Clustered node controller monitoring device, the device can make slave node controller become master node control.Referring to Figure 16, this
The basic structure for inventing another embodiment includes:
Module 1601 is arranged, establishes logic connecting relation for controlling master node control and n slave node controller, this
In embodiment, arrangement module 1601 includes:
Sequencing unit 16011, for the n slave node controller to be sorted from 1 to n, in the present embodiment, sequencing unit
16011 include:
Registration subunit 160111, for receiving the registration of n slave node controller;
Sorting subunit 160112, the chronological order for registering according to n slave node controller are standby by the n
Node Controller is ranked up;
First logic unit 16012, for establishing logical connection with the 1st slave node controller;
Logic control element 16013 establishes logic for controlling the i-th slave node controller and i+1 slave node controller
Connection;
Second logic unit 16014, for establishing logical connection with the n-th slave node controller;
Link block 1602 establishes heartbeat connection for controlling between the adjacent Node Controller, in the present embodiment,
Link block 1602 includes:
First connection unit 16021, connect for establishing heartbeat between the 1st slave node controller;
Control unit 16022 is connected, is established between the i-th slave node controller and i+1 slave node controller for controlling
Heartbeat connection, wherein i is 1 any positive integer into n-1;
Second connection unit 16023 is connect for establishing heartbeat between the n-th slave node controller.
Alarm modules 1603 safeguard SDN for receiving the heartbeat alarm of slave node controller transmission, and according to heartbeat alarm
The logic connecting relation of controller cluster;
Module 1604 is seized, 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 is locked by collecting
Group's master node control occupies for a long time, and when master node control failure, cluster locks automatic unlocking, other slave nodes control at this time
The available cluster lock of device.At this point, device provided in this embodiment can seize cluster lock by seizing module 1603, and then make
Node Controller where obtaining the device becomes master node control.Make to break down when master node control in this way, cause
When closed annular route physically disconnects, slave node controller can be controlled by seizing cluster lock as new host node
Device has achieved the purpose that repair failure, has improved the stability of SDN controller cluster.
Above-described embodiment in order to facilitate understanding, below will be with the interaction field of each module in clustered node controller monitoring device
It is illustrated for scape.
In SDN controller cluster, there are 1 master node control and 10 slave node controllers.In master node control
There is clustered node controller monitoring device.The registration subunit 140111 of the device receives the note of this 10 slave node controllers
Volume, sorting subunit 140112 sort this 10 slave node controllers from 1 to 10 according to the time order and function of registration.
Later, the first logic unit 14012 and the 1st slave node controller establish logical connection, logic control element 14013
The 1st slave node controller and the 2nd slave node controller is controlled to establish logical connection and control the 2nd slave node controller and the 3rd standby
Node Controller establishes logical connection ... and so on, until the 9th slave node controller of control and the 10th slave node controller
Logical connection is established, the second last logic unit 14014 and the 10th slave node controller establish logical connection, form ring topology
Structure.
Later, heartbeat connection, connection control unit are established between the first connection unit 14021 and the 1st slave node controller
Heartbeat is established between 14022 the 1st slave node controllers of control and the 2nd slave node controller to connect and control the control of the 2nd slave node
Heartbeat connection ... and so on is established between device and the 3rd slave node controller, until control the 9th slave node controller and the 10th
Heartbeat connection is established between slave node controller, establishes the heart between the second last connection unit 14023 and the n-th slave node controller
Connection is jumped, closed annular route physically is formd.
Later, the first alarm unit 1403 receives the first alarm of the 3rd slave node controller transmission, knows the 3rd standby section
Heartbeat disconnecting between base site controller and the 4th slave node controller;Second alarm unit 1404 receives the 4th slave node control
The second alarm that device processed is sent, knows the heartbeat disconnecting between the 4th slave node controller and the 3rd slave node controller.In
It is that the first determination unit 1405 determines that heartbeat connection is broken down between the 3rd slave node controller and the 4th slave node controller, and
Logic control element 14013 controls and establishes logical connection between the 3rd slave node controller and the 5th slave node controller, connection control
Unit 14022 processed, which controls, establishes heartbeat connection between the 3rd slave node controller and the 5th slave node controller.But the 3rd slave node
It is unsuccessful that heartbeat connection is established between controller and the 5th slave node controller, then the control the 3rd of logic control element 14013 is standby
Logical connection is established between Node Controller and the 6th slave node controller, connection control unit 14022 controls the 3rd slave node control
Heartbeat connection is established between device processed and the 6th slave node controller.
Above from the angle of blocking functional entity to the clustered node controller control device in the embodiment of the present invention into
It has gone description, the clustered node controller control device in the embodiment of the present invention has been retouched from the angle of hardware handles below
It states, please refers to Figure 17, another embodiment of touch device 1700 in the embodiment of the present invention includes: memory 1701, central processing
1702, Peripheral Interface 1703, RF circuit 1704, voicefrequency circuit device (Central Processing Unit, hereinafter referred to as CPU)
1705, loudspeaker 1706, power management chip 1707, input/output (I/O) subsystem 1708, other input/control devicess
1709 and outside port 1710, these components communicated by one or more communication bus or signal wire 1711.
It is worth noting that clustered node controller monitoring device provided in this embodiment is only that the embodiment of the present invention mentions
One example of the clustered node controller monitoring device of confession, the present embodiments relate to clustered node controller monitoring device
It can have than more or fewer components illustrated in fig. 17, two or more components can be combined, or can have
Different components configure or set up, and all parts can include that one or more signal processings and/or specific integrated circuit exist
The combination realization of interior hardware, software or hardware and software.
Clustered node controller monitoring device provided in this embodiment is described in detail below.
Memory 1701: the memory 1701 can be accessed by CPU1702, Peripheral Interface 1703 etc., the memory
1701 may include high-speed random access memory, can also include nonvolatile memory, such as one or more disks are deposited
Memory device, flush memory device or other volatile solid-state parts.
The peripheral hardware that outputs and inputs of equipment can be connected to CPU1702 and deposited by Peripheral Interface 1703, the Peripheral Interface
Reservoir 1701.
I/O subsystem 1708: the I/O subsystem 1708 can be by the input/output peripheral in equipment, such as touch screen
1712 and other input/control devicess 1709, it is connected to Peripheral Interface 1703.I/O subsystem 1708 may include display control
Device 17081 and one or more input controllers 17082 for controlling other input/control devicess 1709.Wherein, one or
Multiple input controllers 17082 from other input/control devicess 1709 receive electric signal or to other input/control devicess
1709 send electric signal, other input/control devicess 1709 may include physical button (push button, rocker buttons etc.), dial
Dialer, control stick, clicks idler wheel at slide switch.It is worth noting that input controller 17082 can be with any one following company
It connects: the indicating equipment of keyboard, infrared port, USB interface and such as mouse.
Touch screen 1712: the touch screen 1712 is the output interface between mobile terminal and user, will visually be exported aobvious
Show to user, visual output may include figure, text, icon, video etc..
Display controller 17081 in I/O subsystem 1708 from touch screen 1712 receives electric signal or to touch screen
1712 send electric signal.Touch screen 1712 detects the contact on touch screen, the contact conversion that display controller 17081 will test
For the interaction with the user interface object being shown on touch screen 1712, i.e. realization human-computer interaction is shown on touch screen 1712
User interface object can be the icon of running game, the icon for being networked to corresponding network etc..It is worth noting that equipment is also
It may include light mouse, light mouse is not show the touch sensitive surface visually exported, or sensitive by the touch that touch screen is formed
The extension on surface.
RF circuit 1704 is mainly used for establishing the logical of clustered node controller monitoring device and wireless network (i.e. network side)
Letter realizes data receiver and the transmission of clustered node controller monitoring device and wireless network.Such as transmitting-receiving short message, electronics postal
Part etc..Specifically, RF circuit 1704 receives and sends RF signal, and RF signal is also referred to as electromagnetic signal, and RF circuit 1704 is by telecommunications
Number be converted to electromagnetic signal or electromagnetic signal be converted into electric signal, and by the electromagnetic signal and communication network and other
Equipment is communicated.RF circuit 1704 may include the known circuit for executing these functions comprising but it is not limited to antenna
System, RF transceiver, one or more amplifiers, tuner, one or more oscillators, digital signal processor, CODEC core
Piece group, Subscriber Identity Module (Subscriber Identity Module, SIM) etc..
Voicefrequency circuit 1705 is mainly used for receiving audio data from Peripheral Interface 1703, which is converted to electricity
Signal, and the electric signal is sent to loudspeaker 1706.
Loudspeaker 1706, for clustered node controller monitoring device is received from wireless network by RF circuit 1704
Voice signal is reduced to sound and plays the sound to user.
Power management chip 1707, the hardware for being connected by CPU1702, I/O subsystem and Peripheral Interface are supplied
Electricity and power management.
Figure 18 is clustered node controller monitoring device interior section structure chart.Wherein:
RF circuit 1801 is specifically used for:
Receive the registration of slave node controller;
Heartbeat is established between slave node controller to connect;
It controls and establishes heartbeat connection between two slave node controllers;
The heartbeat interrupted between slave node controller connects;
Receive the alarm that slave node controller is sent.
CPU1802 is specifically used for:
N slave node controller is ranked up according to the chronological order that n slave node controller is registered;
Logical connection is established with slave node controller;
It controls two slave node controllers and establishes logical connection;
Interrupt the logical connection with 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 specifically can be the Pentium class processing of Intel company's production
Device or Itanium processor etc..
The embodiment of the present invention also proposes that a kind of controller, including Fig. 9 clustered node shown in any width figure into Figure 16 are supervised
Control device.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit
It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components
It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or
The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit
It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the present invention
Portion or part steps.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey
The medium of sequence code.
The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although referring to before
Stating embodiment, invention is explained in detail, those skilled in the art should understand that: it still can be to preceding
Technical solution documented by each embodiment is stated to modify or equivalent replacement of some of the technical features;And these
It modifies or replaces, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution.
Claims (19)
1. a kind of clustered node controller monitoring method characterized by comprising
In software defined network SDN controller cluster, master node control controls the master node control and n slave node
Controller establishes logic connecting relation, wherein the logic connecting relation is end to end ring topology, the annular
Each Node Controller in topological structure has two adjacent Node Controllers;
The master node control, which controls, establishes heartbeat connection between Node Controller adjacent in the SDN controller cluster,
The heartbeat connects the communications status for monitoring the n slave node controller;
The master node control receives the heartbeat alarm that the slave node controller is sent, and is safeguarded according to the heartbeat alarm
The logic connecting relation of the SDN controller cluster.
2. clustered node controller monitoring method according to claim 1, which is characterized in that the master node control control
It makes the master node control and establishes logic connecting relation with n slave node controller and include:
The master node control sorts the n slave node controller from 1 to n;
The master node control and the 1st slave node controller establish logical connection;
The master node control controls the i-th slave node controller and i+1 slave node controller establishes logical connection, the i
For 1 any positive integer into n-1;
The master node control and the n-th slave node controller establish logical connection.
3. clustered node controller monitoring method according to claim 2, which is characterized in that the master node control will
The n slave node controller sorts from 1 to n
The master node control receives the registration of the n slave node controller;
The master node control is suitable according to the time order and function that the n slave node controller is registered to the master node control
The n slave node controller is ranked up by sequence, wherein the slave node controller registered at first to the master node control
For the 1st slave node controller, the slave node controller finally registered to the master node control is the n-th slave node controller.
4. clustered node controller monitoring method according to claim 2, which is characterized in that the Node Controller control
Establishing heartbeat connection in the SDN controller between adjacent Node Controller includes:
Heartbeat connection is established between the master node control and the 1st slave node controller;
The master node control, which controls, establishes heartbeat connection, institute between the i-th slave node controller and i+1 slave node controller
Stating i is 1 any positive integer into n-1;
Heartbeat connection is established between the master node control and the n-th slave node controller.
5. clustered node controller monitoring method according to claim 4, it is characterised in that:
It is established between the master node control and the 1st slave node controller after heartbeat connection further include: if the host node
Heartbeat connection failure is established between controller and the 1st slave node controller, then the master node control is established and the 2nd slave node
The logical connection of controller, and establish heartbeat with the 2nd slave node controller and connect;
Heartbeat, which is established, between the master node control i-th slave node controller of control and i+1 slave node controller connects it
Afterwards further include: if establishing heartbeat connection failure between the i-th slave node controller and i+1 slave node controller, the main section
Base site controller establishes the logical connection of the i-th slave node controller and the i-th+2 slave node controller, and controls the control of the i-th slave node
Heartbeat connection is established between device and the i-th+2 slave node controller;
It is established between the master node control and the n-th slave node controller after heartbeat connection further include: if the host node
Heartbeat connection failure is established between controller and the n-th slave node controller, then the master node control is established and the (n-1)th standby section
The logical connection of base site controller, and establish heartbeat between the (n-1)th slave node controller and connect.
6. the clustered node controller monitoring method according to any one of claim 2 to 5, which is characterized in that the side
Method further include:
The master node control receives the registration of new node controller, and the new node controller is that the SDN control is newly added
The Node Controller of device cluster processed;
The master node control establishes the logical connection with the new node controller, and between the new node controller
Establish heartbeat connection;
The master node control controls the logical connection of new node the controller foundation and the n-th slave node controller, and controls
It makes and establishes heartbeat connection between the new node controller and the n-th slave node controller;
The master node control releases the logical connection between the n-th slave node controller, and interrupts and n-th slave node
Heartbeat connection between controller.
7. the clustered node controller monitoring method according to any one of claim 2 to 5, which is characterized in that the master
Node Controller receives the heartbeat alarm that the slave node controller is sent, and safeguards that the SDN is controlled according to the heartbeat alarm
The logic connecting relation of device cluster processed includes:
If the master node control receives the first alarm of the i-th slave node controller transmission, and the master node control
Receive i+1 slave node controller transmission the second alarm, then the master node control determine the i-th slave node controller with
Heartbeat connection is broken down between i+1 slave node controller, and the master node control controls the i-th slave node control
It establishes logical connection between device and the i-th+2 slave node controller to connect with heartbeat, first alarm is for indicating the i-th slave node
Heartbeat disconnecting between controller and i+1 slave node controller, second alarm is for indicating the control of the i-th slave node
Heartbeat disconnecting between device and i+1 slave node controller, the i are 1 any positive integer into n-2.
8. the clustered node controller monitoring method according to any one of claim 2 to 5, which is characterized in that the master
Node Controller receives the heartbeat alarm that the slave node controller is sent, and safeguards that the SDN is controlled according to the heartbeat alarm
The logic connecting relation of device cluster processed includes:
If the master node control receives the third alarm that the (i-1)-th slave node controller is sent, and the master node control
The 4th alarm that i+1 slave node controller is sent is received, then the master node control determines that the i-th slave node controller occurs
Failure, and the master node control controls the (i-1)-th slave node controller and establishes and the i+1 slave node controller
Logical connection is connect with heartbeat, and the third alarm is used to indicate the heart of the (i-1)-th slave node controller and the i-th slave node controller
Disconnecting is jumped, the 4th alarm is in indicating that i+1 slave node controller is connect with the heartbeat of the i-th slave node controller
Disconnected, the i is 2 any positive integer into n-1.
9. the clustered node controller monitoring method according to any one of claim 2 to 5, which is characterized in that the side
Method further include:
If the heartbeat between the 1st slave node controller and master node control connects, the control of the n-th slave node controller and host node
Heartbeat connection between device is interrupted, then the 1st slave node controller and the n-th slave node controller seize cluster lock;
If the 1st slave node controller seizes success, the 1st slave node controller is determined as new master node control, and
The new master node control foundation is connect with the logical connection of the n-th slave node controller with heartbeat;
If the n-th slave node controller seizes success, the n-th slave node controller is determined as new master node control, and
The new master node control foundation is connect with the logical connection of the 1st slave node controller with heartbeat.
10. a kind of clustered node controller monitoring device characterized by comprising
Module is arranged, establishes logic connecting relation for controlling master node control and n slave node controller, wherein described
Logic connecting relation is end to end ring topology, and each Node Controller in the ring topology has two
A adjacent Node Controller;
Link block establishes heartbeat connection for controlling between the adjacent Node Controller, the heartbeat connection is for supervising
Control the communications status of the n slave node controller;
Alarm modules, the heartbeat alarm sent for receiving the slave node controller, and SDN is safeguarded according to the heartbeat alarm
The logic connecting relation of controller cluster.
11. clustered node controller monitoring device according to claim 10, which is characterized in that the arrangement module packet
It includes:
Sequencing unit, for the n slave node controller to sort from 1 to n;
First logic unit, for establishing logical connection with the 1st slave node controller;
Logic control element establishes logical connection, the i for controlling the i-th slave node controller and i+1 slave node controller
For 1 any positive integer into n-1;
Second logic unit, for establishing logical connection with the n-th slave node controller.
12. clustered node controller monitoring device according to claim 11, which is characterized in that the sequencing unit packet
It includes:
Registration subunit, for receiving the registration of the n slave node controller;
Sorting subunit, chronological order for registering according to the n slave node controller is by the n slave node control
Device processed is ranked up, wherein the slave node controller registered at first to the master node control as the 1st slave node controller,
The slave node controller finally registered to the master node control is the n-th slave node controller.
13. clustered node controller monitoring device according to claim 11, which is characterized in that the link block packet
It includes:
First connection unit is connect for establishing heartbeat between the 1st slave node controller;
Control unit is connected, establishes heartbeat connection between the i-th slave node controller and i+1 slave node controller for controlling,
The i is 1 any positive integer into n-1;
Second connection unit is connect for establishing heartbeat between the n-th slave node controller.
14. clustered node controller monitoring device according to claim 13, it is characterised in that:
When establishing heartbeat connection failure between first connection unit and the 1st slave node controller, the first logic list
Member is also used to: establishing the logical connection with the 2nd slave node controller, and first connection unit is also used to: with the 2nd slave node
Controller establishes heartbeat connection;
Heartbeat connection is established between the i-th slave node controller and i+1 slave node controller when the connection control unit controls
When failure, the logic control element is also used to: being established the i-th slave node controller and is established and patrols with i-th+2 slave node controller
Connection is collected, and the connection control unit is also used to: being built between the i-th slave node controller of control and the i-th+2 slave node controller
Vertical heartbeat connection;
When establishing heartbeat connection failure between second connection unit and the n-th slave node controller, the second logic list
Member is also used to: establishing the logical connection with the (n-1)th slave node controller, and second connection unit is also used to: standby with (n-1)th
Heartbeat connection is established between Node Controller.
15. clustered node controller monitoring device according to claim 13, which is characterized in that described device further include:
Receiving module, for receiving the registration information of new node controller, the new node controller is that the SDN control is newly added
The Node Controller of device cluster processed;
Second logic unit is also used to: being established the logical connection with the new node controller, and is released and the n-th slave node
The logical connection of controller;
Second connection unit is also used to: being established heartbeat between the new node controller and is connect, and interrupts and described n-th
The heartbeat of slave node controller connects;
The logic control element is also used to: being controlled the new node controller and is established and the logic of the n-th slave node controller company
It connects;
The connection control unit is also used to: being controlled and is established between the new node controller and the n-th slave node controller
Heartbeat connection.
16. clustered node controller monitoring device according to claim 10, which is characterized in that the alarm modules are also wrapped
It includes:
First alarm unit, for receiving the first alarm of the i-th slave node controller transmission, first alarm is for indicating the
Heartbeat disconnecting between i slave node controller and i+1 slave node controller;
Second alarm unit, for receiving the second alarm of i+1 slave node controller transmission, second alarm is for indicating
Heartbeat disconnecting between i-th slave node controller and i+1 slave node controller;
First determination unit, for receiving the first alarm of the i-th slave node controller transmission in first alarm unit, and
Second alarm unit receive i+1 slave node controller transmission the second alarm when, determine the i-th slave node controller with
Heartbeat connection is broken down between i+1 slave node controller;
The logic control element is also used to: determining the i-th slave node controller and i+1 slave node in first determination unit
When heartbeat connection is broken down between controller, controls the i-th slave node controller and establish and i-th+2 slave node control
The logical connection of device;
The connection control unit is also used to: determining the i-th slave node controller and i+1 slave node in first determination unit
Heartbeat connection is when breaking down between controller, control the i-th slave node controller and i-th+2 slave node controller it
Between establish heartbeat connection.
17. clustered node controller monitoring device according to claim 10, which is characterized in that the alarm modules are also wrapped
It includes:
Third alarm unit, for receiving the third alarm of the (i-1)-th slave node controller transmission, the third alarm is for indicating
The heartbeat disconnecting of (i-1)-th slave node controller and the i-th slave node controller;
4th alarm unit, for receiving the 4th alarm of i+1 slave node controller transmission, the 4th alarm is for indicating
The heartbeat disconnecting of i+1 slave node controller and the i-th slave node controller;
Second determination unit, for receiving the first alarm of the (i-1)-th slave node controller transmission in the third alarm unit,
And the 4th alarm unit receive i+1 slave node controller transmission four alarms when, determine the i-th slave node controller
It breaks down;
The logic control element is also used to: when second determination unit determines that the i-th slave node controller breaks down, control
Make the logical connection of the (i-1)-th slave node controller foundation and the i+1 slave node controller;
The connection control unit is also used to: when second determination unit determines that the i-th slave node controller breaks down, control
It makes and establishes heartbeat connection between the (i-1)-th slave node controller and the i+1 slave node controller.
18. clustered node controller monitoring device according to claim 10, which is characterized in that described device further include:
Module is seized, for seizing cluster lock.
19. a kind of controller, which is characterized in that supervised including clustered node controller described in any one of claim 10 to 18
Control device.
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 CN104811325A (en) | 2015-07-29 |
CN104811325B true 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) |
Families Citing this family (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106911728B (en) * | 2015-12-22 | 2019-11-29 | 华为技术服务有限公司 | The choosing method and device of host node in distributed system |
CN105681214B (en) * | 2015-12-28 | 2018-11-27 | 无锡城市云计算中心有限公司 | A kind of large scale network transmission optimization method and system |
KR102092660B1 (en) * | 2015-12-29 | 2020-03-24 | 후아웨이 테크놀러지 컴퍼니 리미티드 | Cpu and multi-cpu system management method |
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 |
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 |
CN108540317B (en) * | 2018-03-29 | 2020-03-31 | 西安交通大学 | Double-layer detection method for multi-domain SDN control node fault |
CN110417586B (en) * | 2019-07-18 | 2022-04-08 | 新华三大数据技术有限公司 | 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 |
CN111506263B (en) * | 2020-03-31 | 2022-07-12 | 新华三技术有限公司成都分公司 | Heartbeat connection establishment method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1741489A (en) * | 2005-09-01 | 2006-03-01 | 西安交通大学 | High usable self-healing Logic box fault detecting and tolerating method for constituting multi-machine system |
CN102215123A (en) * | 2011-06-07 | 2011-10-12 | 南京邮电大学 | 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 |
CN103346904A (en) * | 2013-06-21 | 2013-10-09 | 西安交通大学 | Fault-tolerant OpenFlow multi-controller system and control method thereof |
-
2014
- 2014-01-24 CN CN201410035863.2A patent/CN104811325B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1741489A (en) * | 2005-09-01 | 2006-03-01 | 西安交通大学 | High usable self-healing Logic box fault detecting and tolerating method for constituting multi-machine system |
CN102215123A (en) * | 2011-06-07 | 2011-10-12 | 南京邮电大学 | 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 |
CN103346904A (en) * | 2013-06-21 | 2013-10-09 | 西安交通大学 | Fault-tolerant OpenFlow multi-controller system and control method thereof |
Also Published As
Publication number | Publication date |
---|---|
CN104811325A (en) | 2015-07-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104811325B (en) | A kind of clustered node controller monitoring method, relevant apparatus and controller | |
Verma et al. | A survey on network methodologies for real-time analytics of massive IoT data and open research issues | |
US10484265B2 (en) | Dynamic update of virtual network topology | |
JP5625998B2 (en) | Information processing system | |
CN105656688B (en) | Condition control method and device | |
US9838483B2 (en) | Methods, systems, and computer readable media for a network function virtualization information concentrator | |
CN105165054B (en) | Network service failure processing method, service management system and system management module | |
CN104199957B (en) | A kind of implementation method of Redis general-purpose proxies | |
CN104378232B (en) | Fissure discovery, restoration methods and device under active and standby cluster networking pattern | |
CN107846295A (en) | Micro services configuration device and method | |
CN102394764B (en) | A kind of implementation method of RFID webmasters, system and relevant apparatus | |
EP3560229B1 (en) | Assurance framework for cp and dp slices | |
CN107317707B (en) | SDN network topology management method based on point coverage set | |
US9794113B2 (en) | Network alert pattern mining | |
CN108255592A (en) | A kind of Quartz clusters timing task processing system and method | |
CN103036736A (en) | Configuration equipment monitoring system and monitoring method based on data sources | |
CN106953747B (en) | SDN self-healing method based on deep learning | |
CN115510936A (en) | Model training method based on federal learning and cluster analyzer | |
EP4024765B1 (en) | Method and apparatus for extracting fault propagation condition, and storage medium | |
CN102223254A (en) | Monitoring system and method | |
CN112771928B (en) | Method and device for determining satellite return information | |
CN107682411A (en) | A kind of extensive SDN controllers cluster and network system | |
Muthanna et al. | SDN multi-controller networks with load balanced | |
US9949061B2 (en) | Fault management method and apparatus | |
CN114547600A (en) | Industrial control system safety protection method, device, equipment and medium |
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 |