CN106559459A - SDN controller distribution methods, SDN controllers multicast group and network system - Google Patents
SDN controller distribution methods, SDN controllers multicast group and network system Download PDFInfo
- Publication number
- CN106559459A CN106559459A CN201510638948.4A CN201510638948A CN106559459A CN 106559459 A CN106559459 A CN 106559459A CN 201510638948 A CN201510638948 A CN 201510638948A CN 106559459 A CN106559459 A CN 106559459A
- Authority
- CN
- China
- Prior art keywords
- controller
- sdn
- openflow switches
- multicast
- response
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1001—Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/20—Support for services
- H04L49/201—Multicast operation; Broadcast operation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5007—Internet protocol [IP] addresses
- H04L61/5014—Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention discloses a kind of SDN controllers distribution method, SDN controllers multicast group and network system, wherein, the method includes:SDN controllers multicast group receives the controller request that OpenFlow switches send, and controller request is sent to the controller in SDN controller multicast groups, wherein, the SDN controllers multicast group is formed in the way of controller cluster;Controller in SDN controller multicast groups responds the controller request according to own load value;Response condition and load value selection control of the OpenFlow switches according to the controller in SDN controller multicast groups.Square law device and system that the present invention is provided, by controller is added same multicast group with trunking mode, the controller realized based on multicast mechanism is distributed automatically, can be when switch registers controller, consider link condition and loading condition, realize the automatic distribution of the cluster controller of the contact of operation maintenance personnel zero.
Description
Technical field
The present invention relates to SDN field, more particularly to a kind of SDN controllers distribution method,
SDN controllers multicast group and network system.
Background technology
Controller is SDN (Software Defined Network, software defined network) network
Core, be responsible for safeguarding the state of global network, calculate route, what separate unit controller can be supported
Network size is limited, when network equipment cross-region is widely distributed, between controller and switch
Transmission range causes network delay height, poor performance too far.Controller collection is built using distributed computing technology
Group, by many motors control device by Regional Synergetic manage and control bottom-layer network can be lifted network performance,
Reliability and extensibility.
By artificial mode static configuration, prior art realizes that the control of multi-controller is excellent in switch
Change.In the controller cluster of master mode, feelings can be loaded according to from controller by master controller
Condition is the controller that switch specifies final service, as master controller knows each from controller
Load information, therefore be easily achieved load balancing.In the controller cluster of ad-hoc mode,
It is that switch dynamic is specified that VIP (Virtual IP, virtual IP address) and redirecting technique can be passed through
Controller, switch connect the VIP that cluster is externally announced first, and cluster will be handed over according to loading condition
Change planes and be redirected to the controller of final service, this method avoid Single Controller becomes bottleneck point
Problem.But, static configuration needs to introduce a large amount of artificial operations, lacks motility, it is impossible to from
It is dynamic to adapt to network change;Master controller load can be caused huge by the method that master controller is specified, can
Link congestion can be caused in the host controller, and do not account for the link feelings of controller and switch
Condition, it is impossible to form optimal choice;Empty IP and redirecting technique are also without consideration controller and friendship
The link condition changed planes, can not form optimal choice.
Therefore, for SDN in multiple controller systems, it is necessary to propose that one kind can be right
Link and controller load are optimized control method or device to solve the above problems.
The content of the invention
How a disclosure technical problem to be solved is for the multiple controls in SDN
Device system, proposes that a kind of optimal controller selects the method controlled with link to save manpower and realize
Automated condtrol.
The disclosure provides a kind of SDN controllers distribution method, including:SDN controller multicast groups
The controller request that OpenFlow switches send is received, controller request is sent to into SDN
Controller in controller multicast group, wherein, the SDN controllers multicast group is with controller collection
The mode of group is formed;Controller in SDN controller multicast groups is according to own load value is responded
Controller is asked;Sound of the OpenFlow switches according to the controller in SDN controller multicast groups
Answer situation and load value selection control.
Further, the controller in the SDN controllers multicast group is rung according to own load value
The controller request is answered, including:If the load value of the controller in SDN controller multicast groups
Less than preset threshold value, then the IP address for receiving response and the controller is returned;If
The load value of the controller in SDN controller multicast groups is higher than preset threshold value, then return refusal
The IP address of response, load value and the controller.
Further, sound of the OpenFlow switches according to controller in SDN controller multicast groups
Situation is answered to judge whether to terminate to wait.
Further, if in the SDN controller multicast groups that receive of OpenFlow switches
Controller receive number of responses reach amount controller set in advance then terminate wait, wherein,
OpenFlow switches return the controller for receiving response as master controller using first, and second
The individual controller for receiving response that returns is used as spare controller.
Further, if the OpenFlow switch waiting time exceedes threshold value set in advance,
Then terminate to wait, and according to the response feelings of controller in SDN controllers multicast group in the waiting time
Condition selection control.
Further, the sound according to controller in SDN controllers multicast group in the waiting time
Situation selection control is answered, including:If OpenFlow switches only have received SDN controls
The acceptance response of a controller in device multicast group processed, then receive to respond corresponding controller by described
Master controller is set to, and most lightly loaded is chosen from the remaining controller for returning refusal respond
Controller is used as spare controller;If OpenFlow switches are not received by any acceptance sound
Should, then two of most lightly loaded are selected as active and standby control from the controller for returning refusal respond
Device, or most lightly loaded one is selected as master controller;If OpenFlow switches do not connect
Any acceptance response or refusal respond are received, is then checked between OpenFlow switches and controller
Whether network is reachable.
Further, the SDN controllers multicast group receives what OpenFlow switches sent
Before controller request, including:Dynamic host configuration protocol DHCP server is received
The request of the acquisition SDN controller multicast group IP address that OpenFlow switches send;
Dynamic Host Configuration Protocol server inquires about the IP address of SDN controller multicast groups, and by SDN controller groups
The IP address for broadcasting group is sent to OpenFlow switches;OpenFlow switches record SDN
Controller multicast group IP address, and led to based on the SDN controllers multicast group IP address
Letter.
The disclosure also provides a kind of SDN controllers multicast group, including:Receiver module, for connecing
The controller request that OpenFlow switches send is received, controller request is sent to into SDN controls
Controller in device multicast group processed, wherein, the SDN controllers multicast group is with controller cluster
Mode formed;Processing module, for the load according to controller in SDN controller multicast groups
The controller request of value response OpenFlow switches so that OpenFlow switch roots
Controller is determined according to the response condition and load value of the controller in SDN controller multicast groups.
Further, the processing module is used for:If the controller in SDN controller multicast groups
Load value be less than preset threshold value, then return receive response and controller IP address;If
The load value of the controller in SDN controller multicast groups is higher than preset threshold value, then return refusal
Response and load value, the controller IP address.
The present invention also provides a kind of SDN system, including:OpenFlow switches, dynamic
Host configuration Dynamic Host Configuration Protocol server and SDN controller multicast groups as mentioned above;Its
In, OpenFlow switches according to the response condition of the controller in SDN controller multicast groups with
And load value selection control.
Further, OpenFlow switches are for according to control in the SDN controllers multicast group
The response condition of device processed judges whether to terminate to wait.
Further, if the OpenFlow switches are used for the acceptance sound of the controller for receiving
Answer quantity to reach amount controller set in advance then to terminate to wait, wherein, OpenFlow is exchanged
Machine returns the multicast group controller for receiving response as master controller using first, and second return connects
The multicast group controller for being responded is used as spare controller.
Further, if the OpenFlow switches be additionally operable to the waiting time exceed preset
Threshold value when, then terminate wait, and according in SDN controllers multicast group in the waiting time control
The response condition selection control of device.
Further, if OpenFlow switches are have received in SDN controller multicast groups
The acceptance response of one controller, then respond corresponding controller by the acceptance and be set to main control
Device, and the controller of most lightly loaded is chosen from the remaining controller for returning refusal respond as standby
Use controller;If OpenFlow switches are not received by any acceptance response, from return
Two of most lightly loaded are selected in the controller of refusal respond as active and standby controller, or selects load
Most light one used as master controller;If OpenFlow switches are not received by any acceptance sound
Answer or refusal respond, then check whether the network between OpenFlow switches and controller is reachable.
Further, the Dynamic Host Configuration Protocol server is used to receive the transmission of OpenFlow switches
Obtain SDN controller multicast group IP address solicited messages;Inquiry SDN controller multicast groups
IP address, and the IP address of SDN controller multicast groups is sent to into OpenFlow switches;
The OpenFlow switches are used for the IP address for recording SDN controller multicast groups, and are based on
The SDN controllers multicast group IP address is communicated.
SDN controller distribution methods, SDN controllers multicast group and network system that the disclosure is provided
Controller is added same multicast group with trunking mode by system, based on the control that multicast mechanism is realized
Device distributes automatically, can consider link condition and load feelings when switch registers controller
Condition, realizes the automatic distribution of the cluster controller of the contact of operation maintenance personnel zero.
Description of the drawings
The flow chart that Fig. 1 illustrates the SDN controller distribution methods of one embodiment of the invention.
Fig. 2 illustrates that the system flow of the SDN controller distribution methods of one embodiment of the invention shows
It is intended to.
The flow chart that Fig. 3 illustrates the SDN controller distribution methods of another embodiment of the invention.
Fig. 4 illustrates the structured flowchart of the SDN controller multicast groups of one embodiment of the invention.
Fig. 5 illustrates the structured flowchart of the SDN system of one embodiment of the invention.
Specific embodiment
With reference to the accompanying drawings the present invention is described more fully, wherein illustrating the example of the present invention
Property embodiment.
The flow chart that Fig. 1 illustrates the SDN controller distribution methods of one embodiment of the invention.Such as
Shown in Fig. 1, the method mainly includes:
Step 100, SDN controllers multicast group receive the controller that OpenFlow switches send
Controller request is sent to the controller in SDN controller multicast groups by request, wherein, institute
State SDN controllers multicast group to be formed in the way of controller cluster.
Step 102, the controller in SDN controller multicast groups is according to own load value is responded
Controller is asked.
In one embodiment, the controller in SDN controllers multicast group is rung according to own load value
The controller request is answered, including situations below:
If the load value of the controller in situation one, SDN controller multicast groups is less than and presets
Threshold value, then return the IP address for receiving response and corresponding controller;
If the load value of the controller in situation two, SDN controller multicast groups is higher than to preset
Threshold value, then return refusal respond, load value and own IP address.
In one embodiment, OpenFlow switches are controlled according in SDN controller multicast groups
The return message of device judges whether to terminate to wait.
Step 104, OpenFlow switches are according to the controller in SDN controller multicast groups
Response time and load value selection control.
The response time that OpenFlow switches can be returned with recording controller, according to time of return
The most short controller of sequencing selection response time selects the work that service time time is short as master controller
For spare controller;Or select load value in multiple controllers it is minimum as master controller.
In one specifically embodiment, if the SDN controls that OpenFlow switches are received
The number of responses that receives of the controller in device multicast group processed reaches amount controller set in advance and then ties
Beam wait, wherein, OpenFlow switches using first return receive response controller as
Master controller, second returns the controller for receiving response as spare controller.
In one specifically embodiment, if the OpenFlow switch waiting time exceedes in advance
During the threshold value of setting, then terminate to wait.Wherein, if OpenFlow switches only have received
The acceptance response of a controller in SDN controller multicast groups, then respond the acceptance corresponding
Controller is set to master controller, and from the remaining controller for returning refusal respond chooses load
Most light controller is used as spare controller;If OpenFlow switches are not received by any
Receive response, then two of most lightly loaded are selected as active and standby from the controller for returning refusal respond
Controller, or most lightly loaded one is selected as master controller;If OpenFlow switches do not have
Any acceptance response or refusal respond are received, then checks OpenFlow switches and controller
Between network it is whether reachable.
In one embodiment, SDN controllers multicast group receives what OpenFlow switches sent
Before controller request, including:Dynamic host configuration protocol DHCP server is received
The request of the acquisition SDN controller multicast group IP address that OpenFlow switches send;
Dynamic Host Configuration Protocol server inquires about the IP address of SDN controller multicast groups, and by SDN controller groups
The IP address for broadcasting group is sent to OpenFlow switches;OpenFlow switches record SDN
Controller multicast group IP address, and led to based on the SDN controllers multicast group IP address
Letter.
The SDN controller distribution methods that the embodiment of the present invention is proposed, by controller with trunking mode
Same multicast group is added, the controller realized based on multicast mechanism is distributed automatically, can be in switch
During registration controller, link condition and loading condition are considered, realize the contact of operation maintenance personnel zero
The automatic distribution of cluster controller.
Relative to the mode of the static configuration controller of prior art, what the embodiment of the present invention was proposed
SDN controllers distribution method need not introduce a large amount of artificial operations, and motility is higher, can fit automatically
Answer network change.Relative to the method, void IP and redirecting technique specified by master controller, this
The SDN controllers distribution method that inventive embodiments are proposed while realizing that internal load is balanced,
The live load of master controller can be effectively reduced, and considers the link feelings of controller and switch
Condition, the loading condition and controller based on controller and the link condition of switch, form optimum
Controller is selected or link selection.
Fig. 2 illustrates that the flow process of the SDN controller distribution methods of one embodiment of the invention is illustrated
Figure, as shown in Fig. 2 SDN system includes OpenFlow switches, DHCP service
Device and SDN controller multicast groups.The present invention utilizes multicasting technology, by all of control
Device is all concentrated in same multicast group, and with reference to Fig. 2, specific implementation is:By SDN controllers
Cluster adds a multicast group, SDN controllers to realize in the way of cluster, i.e., comprising many in network
Individual SDN controllers, in cluster, all controllers add same multicast group, monitor and response group
Broadcast the information of group.If SDN controllers multicast group is after controller request is received, successively poll
Each controller in multicast group, hands over for OpenFlow according to controller loading condition and link condition
Changing planes suitable controller of distribute automatically, optimal change machine data transmission link.
In one embodiment, after controller multicast group is completed, multicast group ground can be issued
Location, specifically, can with by the way of similar DHCP protocol to OpenFlow switches from
The multicast address of dynamic release controller cluster.I.e.:Configuration address management server, there is provided controller
Multicast group IP address information;On OpenFlow switches after electricity, control is sent using broadcast mode
The multicast address solicited message of device;After Address Management Server receives request, controller cluster is responded
Multicast group IP address;The IP address of OpenFlow switch recording controller cluster multicast groups
Information.
In one embodiment, OpenFlow switches by way of unicast to selected master control
Device processed sends connection request;After controller receives request, and initialize what is exchanged with OpenFlow
Connection, completes the pipe of receiving to OpenFlow switches.OpenFlow switches can be to control
Device multicast group sends controller connection request.In cluster, each controller receives OpenFlow switches
Connection request after, will be according to own load situation and the assessment of pre-set service quality threshold value
Whether switch connection request can be received, if it is then ACCEPT responses are returned, together
When carry own IP address;If load overfill, it is impossible to receive new switch connection, then return
Return DENY responses, at the same carry own IP address and load value (load value be controller according to
The numerical value that own load and overall resource situation are calculated, for assessing applying for controller
Intensity);Controller returns response message in the way of unicast.
In one embodiment, OpenFlow switches receive the information that controller is returned, when total
(such as 2, the given threshold can be adjusted, standby for controller to receive given threshold altogether
Part) ACCEPT respond when, switch stop wait controller return information, and will receive
The first ACCEPT response arrived is used as master controller, the control that second ACCEPT is responded
Device processed is used as from controller.If switch does not have in specified time range (adjustable numerical value)
There are the ACCEPT responses for receiving given threshold number, be then handled as follows:If there is ACCEPT
Then select which to be master controller, corresponding control is responded if the preferably minimum DENY of load value without if
, used as master controller, the low DENY responses of load value time are used as from controller for device.If exchanged
Machine never receives any response, it was demonstrated that controlling network is unreachable.
The flow chart that Fig. 3 illustrates the SDN controller distribution methods of another embodiment of the invention,
As shown in figure 3, the method includes:
Step 301, all controllers of SDN controller clusters all add an IP address, example
Such as, the IP address can be the multicast group of 224.0.1.1.
Step 302, builds and changes Dynamic Host Configuration Protocol server so as to can only distribute under any circumstance
Multicast group IP address.
Step 303, changes the dhcp client of OpenFlow, on switch after electricity, sends
DHCP DISCOVER broadcast packets, ask multicast group IP address.
Step 304, dhcp server response DISCOVER messages return DHCP
OFFER broadcast packets, carry multicast group IP address.
Step 305, OpenFlow switch recording controller multicast group IP address.
Step 306, OpenFlow switches send controller request to multicast group,
CONTROLLER REQUEST。
Step 307, judges that load value and the relation of preset threshold value are determined according to the load value of itself
It is fixed whether to receive the request.
After controller in multicast group cluster receives the controller request, according to the load value of itself
(such as a kind of possible load value calculation is:Load value=cpu busy percentage) decide whether
Receive the request, if load value is less than preset threshold value (such as cpu busy percentage<60%),
Then execution step 308, return ACCEPT responses, and carry own IP address;If load
Value higher than preset threshold value, then execution step 309, return DENY responses and load value, from
Body IP address.
Step 310, OpenFlow switches judge that the quantity of the ACCEPT for receiving responses is
It is no to reach set in advance controlling the size.If the ACCEPT number of responses for for example receiving reaches pre-
The amount controller (such as 1 for first setting:Under 1 active-standby mode, the numerical value is after 2), then to perform step
Rapid 311, the response order, loading condition according to controller selects master controller and standby control
Device.Specifically, the ACCEPT responses that first can be received by OpenFlow switches
Used as master controller, second ACCEPT for receiving is responded as spare controller;Or
It is according to the size of load, preferred to load minimum two as primary and backup controller.
After step 311, execution step 312, OpenFlow switches are built with master controller
Vertical OpenFlow passages connection.
Step 313, if the ACCEPT number of responses for receiving does not reach predetermined predetermined quantity,
Then continue waiting for, and judge that whether the waiting time exceedes setting time value, the setting time value can be with
For 15 seconds or 60 seconds, the setting time value can be considered one of network service quality requirement;If not surpassing
Setting time value is crossed, is then continued waiting for, if exceeding setting time value, what judgement was currently received
The quantity of ACCEPT.
If receiving an ACCPET response, execution step 314, then by the response correspondence
Controller be set to master controller, and choose most lightly loaded from remaining DENY responses
Controller is used as spare controller.
If not receiving any ACCPET responses, DENY responses are received only, has then been performed
Step 315, then select most lightly loaded from DENY responses two or one are used as active and standby control
Device or master controller.
If OpenFlow switches are not received by any ACCEPT responses or DENY rings
Should, then execution step 316, check that the network between OpenFlow switches and controller whether may be used
Reach.If network is unreachable, need to re-establish connection;If network is reachable, control is reselected
Device processed notifies that user does not have found attachable controller.
Fig. 4 illustrates the structured flowchart of the SDN controller multicast groups of one embodiment of the invention.Such as
Shown in Fig. 4, the SDN controllers multicast group 400 includes:Receiver module 401, for receiving
Controller request is sent to SDN controllers by the controller request that OpenFlow switches send
Controller in multicast group, wherein, the SDN controllers multicast group is with the side of controller cluster
Formula is formed;Processing module 402, for the load value according to controller in SDN controller multicast groups
Respond the controller request so that OpenFlow switches are according to SDN controller multicast groups
In controller response condition and load value determine controller.
In one embodiment, the processing module 402 is used for:If SDN controller multicast groups
In controller load value be less than preset threshold value, then return receive response and controller IP
Address;If the load value of the controller in SDN controller multicast groups is higher than preset threshold value,
Refusal respond and load value, controller IP address are returned then.
Fig. 5 illustrates the structured flowchart of the SDN system of one embodiment of the invention, such as Fig. 5
Shown, the SDN system 500 includes:OpenFlow switches 501, DynamicHost are matched somebody with somebody
Put protocol DHCP server 502 and SDN controllers multicast group 503;Wherein,
OpenFlow switches 501 according to the response condition of the controller in SDN controller multicast groups with
And load value selection control.
In one embodiment, OpenFlow switches 501 are for according to the SDN controllers
In multicast group 503, the return message of controller judges whether to terminate to wait, and according in the waiting time
The response condition selection control of controller in SDN controller multicast groups.
In one embodiment, if the OpenFlow switches 501 are used for the control for receiving
Device receive number of responses reach amount controller set in advance then terminate wait, wherein,
OpenFlow switches return the multicast group controller for receiving response as main control using first
Device, second returns the multicast group controller for receiving response as spare controller.
In one embodiment, if OpenFlow switches be additionally operable to the waiting time exceed set in advance
During fixed threshold value, then terminate to wait, wherein, if OpenFlow switches have received SDN
The acceptance response of a controller in controller multicast group 503, then respond corresponding control by the acceptance
Device processed is set to master controller, and from the remaining controller for returning refusal respond chooses load most
Light controller is used as spare controller;If OpenFlow switches are not received by any connecing
Responded, then two of most lightly loaded are selected as active and standby control from the controller for returning refusal respond
Device processed, or most lightly loaded one is selected as master controller;If OpenFlow switches do not have
Any acceptance response or refusal respond are received, is then checked between OpenFlow switches and controller
Network it is whether reachable.
In one embodiment, the dynamic host configuration protocol DHCP server 502 is used for
Receive the acquisition SDN controller multicast groups 503IP address that OpenFlow switches 501 send
Solicited message;The IP address of inquiry SDN controllers multicast group 503, and by SDN controls
The IP address of device multicast group 503 is sent to OpenFlow switches;OpenFlow switches are used
In the IP address of record SDN controllers multicast group 503, and it is based on the SDN controllers group
Broadcast a group 503IP addresses to be communicated.
What the embodiment of the present invention was proposed registers SDN controller distribution methods, dress automatically based on multicast
Put and system, comprehensively utilize multicasting technology, the broadcast technology of similar DHCP and realize that SDN is controlled
The automatic distribution of device processed, the load value of interaction controller in the assignment procedure, and according to response order
Judge link condition, so as to form preferably controller allocative decision.Controller cluster is with multicast
Mode monitors the controller configuring request of OpenFlow switches;Controller is handed over OpenFlow
Multicast ip address is issued by way of similar DHCP between changing planes;OpenFlow switches
According to the load value that response order and message are carried, determine which controller finally used, reduce fortune
Dimension personnel safeguard that the Automatic Optimal configuration and link optimizing for realizing controller is selected.
Description of the invention is given for the sake of example and description, and is not exhaustively
Or limit the invention to disclosed form.Many modifications and variations are for the common skill of this area
It is obvious for art personnel.It is for the principle for more preferably illustrating the present invention to select and describe embodiment
And practical application, and one of ordinary skill in the art is made it will be appreciated that the present invention is suitable so as to design
In the various embodiments with various modifications of special-purpose.
Claims (15)
1. a kind of SDN controllers distribution method, it is characterised in that include:
SDN controllers multicast group receives the controller request that OpenFlow switches send, will control
Device request processed is sent to the controller in SDN controller multicast groups, wherein, the SDN controls
Device multicast group is formed in the way of controller cluster;
Controller in SDN controller multicast groups responds the controller according to own load value please
Ask;
OpenFlow switches according to the response condition of the controller in SDN controller multicast groups with
And load value selection control.
2. method according to claim 1, it is characterised in that the SDN controllers group
The controller broadcast in group responds the controller request according to own load value, including:
If the load value of the controller in SDN controller multicast groups is less than preset threshold value,
Return the IP address for receiving response and the controller;
If the load value of the controller in SDN controller multicast groups is higher than preset threshold value,
Return the IP address of refusal respond, load value and the controller.
3. method according to claim 1 and 2, it is characterised in that the OpenFlow
Switch is selected according to the response condition and load value of the controller in SDN controller multicast groups
Before controller, including:
OpenFlow switches are judged according to the response condition of controller in SDN controller multicast groups
Whether terminate to wait.
4. method according to claim 3, it is characterised in that:
If controller in the SDN controller multicast groups that OpenFlow switches are received connects
Reached amount controller set in advance by number of responses then to terminate to wait,
Wherein, OpenFlow switches return the controller for receiving response as master control using first
Device processed, second returns the controller for receiving response as spare controller.
5. method according to claim 3, it is characterised in that:
If the OpenFlow switch waiting time exceedes threshold value set in advance, terminate
Treat, and control is selected according to the response condition of controller in SDN controllers multicast group in the waiting time
Device processed.
6. method according to claim 5, it is characterised in that described according to the waiting time
The response condition selection control of controller in middle SDN controllers multicast group, including:
If OpenFlow switches only have received a control in SDN controller multicast groups
The acceptance response of device, then receive described to respond corresponding controller and be set to master controller, and from
The controller of most lightly loaded is chosen in the remaining controller for returning refusal respond as standby control
Device;
If OpenFlow switches are not received by any acceptance response, ring from refusal is returned
Two of most lightly loaded are selected in the controller answered as active and standby controller, or selects most lightly loaded one
It is individual as master controller;
If OpenFlow switches are not received by any acceptance response or refusal respond, examine
Whether the network looked between OpenFlow switches and controller is reachable.
7. method according to claim 1, it is characterised in that the SDN controllers group
Before broadcasting group controller request for receiving the transmission of OpenFlow switches, including:
Dynamic host configuration protocol DHCP server receives obtaining for OpenFlow switches transmission
Take the request of SDN controller multicast group IP address;
Dynamic Host Configuration Protocol server inquires about the IP address of SDN controller multicast groups, and by SDN controls
The IP address of device multicast group is sent to OpenFlow switches;
OpenFlow switches record SDN controller multicast group IP address, and based on described
SDN controller multicast group IP address is communicated.
8. a kind of SDN controllers multicast group, it is characterised in that include:
Receiver module, for receiving the controller request of OpenFlow switches transmission, will control
Device request is sent to the controller in SDN controller multicast groups, wherein, the SDN controllers
Multicast group is formed in the way of controller cluster;
Processing module, for the load value response according to controller in SDN controller multicast groups
The controller request of OpenFlow switches;
Wherein, response of the OpenFlow switches according to the controller in SDN controller multicast groups
Situation and load value determine controller.
9. multicast group according to claim 8, it is characterised in that the processing module is used
In:
If the load value of the controller in SDN controller multicast groups is less than preset threshold value,
Return and receive response and controller IP address;
If the load value of the controller in SDN controller multicast groups is higher than preset threshold value,
Return refusal respond and load value, the controller IP address.
10. a kind of SDN system, it is characterised in that include:
OpenFlow switches, dynamic host configuration protocol DHCP server and as right will
Seek the SDN controller multicast groups described in 8 or 9;
Wherein, response of the OpenFlow switches according to the controller in SDN controller multicast groups
Situation and load value selection control.
11. systems according to claim 10, it is characterised in that:
OpenFlow switches are for the response according to controller in the SDN controllers multicast group
Situation judges whether to terminate to wait.
12. systems according to claim 10 or 11, it is characterised in that:
If the number of responses that receives that the OpenFlow switches are used for the controller for receiving reaches
Amount controller set in advance then terminates to wait, wherein, OpenFlow switches are by first
The multicast group controller for receiving response is returned as master controller, second returns the group for receiving response
Group controller is broadcast as spare controller.
13. systems according to claim 10, it is characterised in that:
If the OpenFlow switches are additionally operable to the waiting time more than threshold value set in advance,
Then terminate to wait, and according to the response feelings of controller in SDN controllers multicast group in the waiting time
Condition selection control.
14. systems according to claim 13, it is characterised in that:
If OpenFlow switches have received a controller in SDN controller multicast groups
Acceptance response, then the acceptance is responded into corresponding controller and is set to master controller, and from remainder
Return refusal respond controller in choose most lightly loaded controller as spare controller;
If OpenFlow switches are not received by any acceptance response, ring from refusal is returned
Two of most lightly loaded are selected in the controller answered as active and standby controller, or selects most lightly loaded one
It is individual as master controller;
If OpenFlow switches are not received by any acceptance response or refusal respond, examine
Whether the network looked between OpenFlow switches and controller is reachable.
15. systems according to claim 10, it is characterised in that:
The Dynamic Host Configuration Protocol server is used for the acquisition SDN controls for receiving the transmission of OpenFlow switches
Device multicast group IP address solicited message processed;The IP address of inquiry SDN controller multicast groups, and
The IP address of SDN controller multicast groups is sent to into OpenFlow switches;
The OpenFlow switches are used for the IP address for recording SDN controller multicast groups, and
Communicated based on the SDN controllers multicast group IP address.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510638948.4A CN106559459A (en) | 2015-09-29 | 2015-09-29 | SDN controller distribution methods, SDN controllers multicast group and network system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510638948.4A CN106559459A (en) | 2015-09-29 | 2015-09-29 | SDN controller distribution methods, SDN controllers multicast group and network system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106559459A true CN106559459A (en) | 2017-04-05 |
Family
ID=58418147
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510638948.4A Pending CN106559459A (en) | 2015-09-29 | 2015-09-29 | SDN controller distribution methods, SDN controllers multicast group and network system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106559459A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107135165A (en) * | 2017-05-08 | 2017-09-05 | 梁海燕 | The adaptive selection method of distributed director in a kind of software defined network |
CN108011838A (en) * | 2017-11-30 | 2018-05-08 | 安徽大学 | SDN multi-controller load-balancing methods based on the response time |
CN108737481A (en) * | 2017-04-24 | 2018-11-02 | 诺基亚通信公司 | Communication means and communication equipment |
WO2019006708A1 (en) * | 2017-07-05 | 2019-01-10 | 全球能源互联网研究院有限公司 | Sdn multi-domain network backup method and system based on dual-port switch |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104092774A (en) * | 2014-07-23 | 2014-10-08 | 杭州华三通信技术有限公司 | Software defined network connection establishment control method and device |
CN104158758A (en) * | 2014-08-26 | 2014-11-19 | 上海斐讯数据通信技术有限公司 | Load balancing processing method and system based on user message time feedback in SDN network |
CN104429028A (en) * | 2013-05-06 | 2015-03-18 | 华为技术有限公司 | Network configuration method, device and system based on sdn |
CN104468236A (en) * | 2014-12-19 | 2015-03-25 | 上海斐讯数据通信技术有限公司 | SDN controller cluster, SDN switch and SDN switch connecting control method |
US20150117216A1 (en) * | 2013-10-31 | 2015-04-30 | Telefonaktiebolaget L M Ericsson (Publ) | Method and system for load balancing at a data network |
CN104618156A (en) * | 2015-01-26 | 2015-05-13 | 杭州华三通信技术有限公司 | Network configuration method and device |
-
2015
- 2015-09-29 CN CN201510638948.4A patent/CN106559459A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104429028A (en) * | 2013-05-06 | 2015-03-18 | 华为技术有限公司 | Network configuration method, device and system based on sdn |
US20150117216A1 (en) * | 2013-10-31 | 2015-04-30 | Telefonaktiebolaget L M Ericsson (Publ) | Method and system for load balancing at a data network |
CN104092774A (en) * | 2014-07-23 | 2014-10-08 | 杭州华三通信技术有限公司 | Software defined network connection establishment control method and device |
CN104158758A (en) * | 2014-08-26 | 2014-11-19 | 上海斐讯数据通信技术有限公司 | Load balancing processing method and system based on user message time feedback in SDN network |
CN104468236A (en) * | 2014-12-19 | 2015-03-25 | 上海斐讯数据通信技术有限公司 | SDN controller cluster, SDN switch and SDN switch connecting control method |
CN104618156A (en) * | 2015-01-26 | 2015-05-13 | 杭州华三通信技术有限公司 | Network configuration method and device |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108737481A (en) * | 2017-04-24 | 2018-11-02 | 诺基亚通信公司 | Communication means and communication equipment |
CN108737481B (en) * | 2017-04-24 | 2021-04-23 | 诺基亚通信公司 | Communication method and communication device |
CN107135165A (en) * | 2017-05-08 | 2017-09-05 | 梁海燕 | The adaptive selection method of distributed director in a kind of software defined network |
CN107135165B (en) * | 2017-05-08 | 2020-07-31 | 郭得科 | Self-adaptive selection method of distributed controller in software defined network |
WO2019006708A1 (en) * | 2017-07-05 | 2019-01-10 | 全球能源互联网研究院有限公司 | Sdn multi-domain network backup method and system based on dual-port switch |
CN108011838A (en) * | 2017-11-30 | 2018-05-08 | 安徽大学 | SDN multi-controller load-balancing methods based on the response time |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI724106B (en) | Business flow control method, device and system between data centers | |
CN109274707B (en) | Load scheduling method and device | |
US7912954B1 (en) | System and method for digital media server load balancing | |
CN106559459A (en) | SDN controller distribution methods, SDN controllers multicast group and network system | |
CN102811262A (en) | Dynamic host configuration protocol server,ip address assignment system and method of assigning an ip address | |
CN104092774B (en) | Control method and device are established in software defined network connection | |
CN109672711B (en) | Reverse proxy server Nginx-based http request processing method and system | |
CN112202918B (en) | Load scheduling method, device, equipment and storage medium for long connection communication | |
CN103259740B (en) | A kind of load balance process method and device | |
CN102025630A (en) | Load balancing method and load balancing system | |
CN105828378B (en) | A kind of Wireless Fidelity WIFI connection methods and terminal device | |
CN105721328B (en) | VRRP load balancing method, device and router | |
CN106936729A (en) | Control method, system and broadband access network system that a kind of terminal device is accessed | |
CN106357542A (en) | Method for providing multicast service and software defined network controller | |
CN105743781B (en) | A kind of VRRP load-balancing method and device | |
KR101517380B1 (en) | Method and device for requesting multicasting, processing multicasting requests and assisting in the aforementioned process | |
CN103703745A (en) | Method and apparatus for interconnecting a user agent to a cluster of servers | |
JP4127555B2 (en) | Paging control method, paging control apparatus, and radio access network | |
CN105681266A (en) | Communication cluster method and device for MMTel (MultiMedia Telephony) | |
CN103532850B (en) | Uplink message forwarding method, device and AP (access point) equipment | |
JP2006100906A (en) | Method for managing operation of network system and storage device | |
US20200145484A1 (en) | Sub-groups of remote computing devices with relay devices | |
CN114079636A (en) | Flow processing method, switch, soft load equipment and storage medium | |
JP2006270680A (en) | Layer two switch device | |
CN104780097A (en) | Method for hot standby under non-fully-connected network topology condition and first router equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170405 |