CN104901836B - A kind of connection method and the device of trans-regional SDN controller and forwarding device - Google Patents

A kind of connection method and the device of trans-regional SDN controller and forwarding device Download PDF

Info

Publication number
CN104901836B
CN104901836B CN201510341734.0A CN201510341734A CN104901836B CN 104901836 B CN104901836 B CN 104901836B CN 201510341734 A CN201510341734 A CN 201510341734A CN 104901836 B CN104901836 B CN 104901836B
Authority
CN
China
Prior art keywords
forwarding device
sdn controller
target
according
area information
Prior art date
Application number
CN201510341734.0A
Other languages
Chinese (zh)
Other versions
CN104901836A (en
Inventor
王海
杨碧辉
Original Assignee
新华三技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 新华三技术有限公司 filed Critical 新华三技术有限公司
Priority to CN201510341734.0A priority Critical patent/CN104901836B/en
Publication of CN104901836A publication Critical patent/CN104901836A/en
Application granted granted Critical
Publication of CN104901836B publication Critical patent/CN104901836B/en

Links

Abstract

The application provides connection method and the device of a kind of trans-regional SDN controller and forwarding device.The described method includes: obtaining the area information of all SDN controllers and all forwarding devices in the multizone, all SDN controllers include this equipment;According to area information determination and the matched target forwarding device of this equipment;Connection is established with the target forwarding device.Area information can be respectively configured for SDN controller and forwarding device in the technical solution of the application, allow SDN controller according to area information determination and the matched target forwarding device of this equipment, it avoids generating trans-regional control situation, reduction is controlled risk, to enhance the stability of system.

Description

A kind of connection method and the device of trans-regional SDN controller and forwarding device

Technical field

This application involves field of communication technology more particularly to a kind of connection sides of trans-regional SDN controller and forwarding device Method and device.

Background technique

SDN (Software Defined Network, software defined network) is a kind of novel network architecture, using complete New design concept, by control plane and data planar separation, and the former control planar transfer solidified in the network device Into addressable calculating equipment, to realize the flexible control to network flow, the innovation for core network and application is mentioned Good platform is supplied.

SDN technology can agree with centralized management, flexible forwarding, deploying virtual machine and the void of data center network well The demands such as quasi- machine migration, therefore, SDN technology is more and more applied in data center.

In trans-regional network environment, SDN controller usually determines forwarding corresponding with this equipment according to hash algorithm Equipment, and connection is established with the forwarding device, to realize the control to the forwarding device.However, in such realization side In case, it often will appear trans-regional control situation, increase and control risk, bring great shadow to the stability of system It rings.

Summary of the invention

In view of this, the application provides connection method and the device of a kind of trans-regional SDN controller and forwarding device.

Specifically, the application is achieved by the following technical solution:

A kind of connection method of trans-regional SDN controller and forwarding device, applies any SDN controller in multizone On, which comprises

Obtain the area information of all SDN controllers and all forwarding devices in the multizone, all SDN controls Device processed includes this equipment;

According to area information determination and the matched target forwarding device of this equipment;

Connection is established with the target forwarding device.

Further, the area information includes one or more area attributes;

It is described to be determined and the matched target forwarding device of this equipment according to area information, comprising:

According to the area information of SDN controller determine SDN controller belonging to one or more regions;

According to the area information of forwarding device determine forwarding device belonging to one or more regions;

Between the identical SDN controller in region and forwarding device, determine that SDN controller institute is matched according to hash algorithm Target forwarding device;

In the matched result, the determining and matched target forwarding device of this equipment.

Further, when there are the first SDN controllers that affiliated area and all forwarding device affiliated areas are all different When, it is described determining with the matched target forwarding device of this equipment according to area information further include: in the first SDN controller and Between all forwarding devices, the matched target forwarding device of the first SDN controller institute is determined according to hash algorithm;

When the first forwarding device being all different there are affiliated area and all SDN controller affiliated areas, described According to area information determination and the matched target forwarding device of this equipment further include: controlled in first forwarding device and all SDN Between device processed, the matched SDN controller of the first forwarding device institute is determined according to hash algorithm;

When the first SDN controller being all different there are affiliated area and all forwarding device affiliated areas and there are institutes When belonging to the first forwarding device that region and all SDN controller affiliated areas are all different, it is described according to area information determine with The matched target forwarding device of this equipment further include: between the first SDN controller and first forwarding device, according to Hash algorithm determines the matched target forwarding device of the first SDN controller institute.

Further, when the area information includes multiple regions attribute,

The area information according to SDN controller determines one or more regions belonging to SDN controller, comprising:

The corresponding region of area attribute of highest priority in the multiple area attribute of SDN controller is determined as Region belonging to SDN controller;

The area information according to forwarding device determines one or more regions belonging to forwarding device, comprising:

The corresponding region of area attribute of highest priority in the multiple area attribute of forwarding device is determined as turning Send out region belonging to equipment.

Further, when the area information of the target forwarding device of this equipment connection updates, the method also includes:

The updated area information of target forwarding device is obtained, the target is determined according to updated area information One or more regions belonging to forwarding device;

According to hash algorithm, institute is redefined in SDN controller identical with updated target forwarding device region State the matched SDN controller of target forwarding device;

According to matched as a result, this equipment is disconnected with the target forwarding device.

Further, when the SDN controller connecting with target forwarding device breaks down, the method also includes:

The area information of SDN controller is updated, does not include the event in the area information of the updated SDN controller Hinder the area information of SDN controller;

According to hash algorithm, redefined in non-faulting SDN controller identical with target forwarding device region The matched SDN controller of target forwarding device.

A kind of attachment device of trans-regional SDN controller and forwarding device, applies any SDN controller in multizone On, described device includes:

Information acquisition unit, for obtaining the region of all SDN controllers and all forwarding devices in the multizone Information, all SDN controllers include this equipment;

Target determination unit, for according to area information determination and the matched target forwarding device of this equipment;

Connection establishment unit, for establishing connection with the target forwarding device.

Further, the area information includes one or more area attributes;

The target determination unit, with specific reference to SDN controller area information determine belonging to SDN controller one or Multiple regions, according to the area information of forwarding device determine forwarding device belonging to one or more regions, it is identical in region Between SDN controller and forwarding device, the matched target forwarding device of SDN controller institute is determined according to hash algorithm, described In matched result, the determining and matched target forwarding device of this equipment.

Further, when there are the first SDN controllers that affiliated area and all forwarding device affiliated areas are all different When, the target determination unit is true according to hash algorithm specifically between the first SDN controller and all forwarding devices The matched target forwarding device of the fixed first SDN controller institute;

When the first forwarding device being all different there are affiliated area and all SDN controller affiliated areas, the mesh Mark determination unit determines described first according to hash algorithm specifically between first forwarding device and all SDN controllers The matched SDN controller of forwarding device institute;

When the first SDN controller being all different there are affiliated area and all forwarding device affiliated areas and there are institutes When belonging to the first forwarding device that region is all different with all SDN controller affiliated areas, the target determination unit specifically exists Between the first SDN controller and first forwarding device, the first SDN controller institute is determined according to hash algorithm The target forwarding device matched.

Further, when the area information includes multiple regions attribute, the target determination unit, specifically by SDN The corresponding region of area attribute of highest priority is determined as belonging to SDN controller in the multiple area attribute of controller The corresponding region of area attribute of highest priority in the multiple area attribute of forwarding device is determined as forwarding and set by region Standby affiliated region.

Further, described device further include:

Area update unit, when the area information of the target forwarding device for connecting in this equipment updates, described in acquisition The updated area information of target forwarding device, according to updated area information determine the target forwarding device belonging to one A or multiple regions;

The target determination unit, further according to hash algorithm, identical as updated target forwarding device region SDN controller in redefine the matched SDN controller of the target forwarding device, and according to matched as a result, this equipment It is disconnected with the target forwarding device.

Further, described device further include:

Fault processing unit when for breaking down in the SDN controller connecting with target forwarding device, updates SDN control The area information of device processed does not include the region of the failure SDN controller in the area information of the updated SDN controller Information;According to hash algorithm, redefined in non-faulting SDN controller identical with target forwarding device region described The matched SDN controller of target forwarding device.

The application is when disposing the SDN network of multizone it can be seen from above description, can for SDN controller and Area information is respectively configured in forwarding device, allows SDN controller according to area information determination and the matched target of this equipment Forwarding device avoids generating trans-regional control situation, and reduction is controlled risk, to enhance the stability of system.

Detailed description of the invention

Fig. 1 is the connection side of a kind of trans-regional the SDN controller and forwarding device shown in one exemplary embodiment of the application The flow chart of method;

Fig. 2 is the connection of another kind trans-regional the SDN controller and forwarding device shown in one exemplary embodiment of the application The flow chart of method;

Fig. 3 is a kind of structural schematic diagram of SDN controller shown in one exemplary embodiment of the application;

Fig. 4 is the attachment device of a kind of trans-regional SDN controller and forwarding device shown according to an exemplary embodiment A structural schematic diagram.

Specific embodiment

Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the application.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the application.

It is only to be not intended to be limiting the application merely for for the purpose of describing particular embodiments in term used in this application. It is also intended in the application and the "an" of singular used in the attached claims, " described " and "the" including majority Form, unless the context clearly indicates other meaning.It is also understood that term "and/or" used herein refers to and wraps It may be combined containing one or more associated any or all of project listed.

It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the application A little information should not necessarily be limited by these terms.These terms are only used to for same type of information being distinguished from each other out.For example, not departing from In the case where the application range, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as One information.Depending on context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determination ".

In trans-regional network environment, more SDN controllers and Duo Tai forwarding device are generally included, wherein these SDN For controller for controlling these forwarding devices, the forwarding device may include: host equipment and gateway etc..SDN control Device processed can determine corresponding forwarding device in entire trans-regional networking according to hash algorithm in initialization, then with determination Forwarding device establish connection, to realize control to the forwarding device.However, in such implementation, SDN control Device determines corresponding forwarding device according to hash algorithm in entire networking, it is possible to the forwarding device of a-quadrant occurs by B area SDN controller control the case where, this trans-regional control situation is increased and is controlled risk, brings to the stability of system Strong influence.

In view of the above-mentioned problems, the application provides the connection scheme of a kind of trans-regional SDN controller and forwarding device, Ke Yiyou Effect is reduced and is controlled risk.

Referring to FIG. 1, Fig. 1 is that a kind of trans-regional SDN controller shown in one exemplary embodiment of the application is set with forwarding The flow chart of standby connection method.The connection method of the trans-regional SDN controller and forwarding device can be applied in multizone In any SDN controller on, include following steps:

Step 101, the area information of all SDN controllers and all forwarding devices in the multizone is obtained, it is described All SDN controllers include this equipment.

In the present embodiment, a SDN controller would generally be configured in the trans-regional networking, using as all The leader of SDN controller, in this step, when the initialization of SDN controller, SDN controller can be from as leader's The area information of all SDN controllers and all forwarding devices in multizone is obtained in SDN controller.

Step 102, according to area information determination and the matched target forwarding device of this equipment.

In the present embodiment, the area information may include one or more area attributes, and SDN controller can basis The area information of SDN controller determines one or more regions belonging to SDN controller, true according to the area information of forwarding device Determine one or more regions belonging to forwarding device, then can be between the identical SDN controller in region and forwarding device, root The matched target forwarding device of SDN controller institute is determined according to hash algorithm, and in the matched result, determining and this equipment Matched target forwarding device.

Step 103, connection is established with the target forwarding device.

The application is when disposing the SDN network of multizone it can be seen from above description, can for SDN controller and Area information is respectively configured in forwarding device, allows SDN controller according to area information determination and the matched target of this equipment Forwarding device avoids generating trans-regional control situation, and reduction is controlled risk, to enhance the stability of system.

In one embodiment, data center can be the region;In a data center, also it can according to need Mark off multiple regions.

Fig. 2 is the connection of another kind trans-regional the SDN controller and forwarding device shown in one exemplary embodiment of the application The flow chart of method.

Referring to FIG. 2, the method that the trans-regional SDN controller is connect with forwarding device can be applied in multizone Any SDN controller on, comprising the following steps:

Step 201, the area information of all SDN controllers and all forwarding devices in the multizone is obtained.

In the present embodiment, when configuring the SDN network of multizone, administrative staff would generally be in all SDN controllers Leader of the SDN controller as these SDN controllers is selected, and is matched in this SDN controller as leader Set the area information of all SDN controllers and all forwarding devices in multizone.

In this step, it when any SDN controller in multizone initializes, can be controlled from the SDN as leader The area information of all SDN controllers and all forwarding devices in multizone is obtained in device processed, wherein the SDN control got The area information of device processed also includes the area information of this equipment.

Specifically, the area information may include one or more area attribute, and the area attribute can be position Confidence breath, is also possible to represent the character mark of location information, the application is not particularly limited this.Below with region letter Breath for one or more location information including being illustrated.

Administrative staff can be according to nearby principle when for SDN controller and forwarding device setting area attribute. By taking the area attribute includes a location information as an example, if a certain SDN controller is located at Beijing or apart from Beijing When closer, then Beijing can be set by the area attribute of the SDN controller.It include multiple position letters with the area attribute For breath, if a certain SDN controller between Beijing and Hangzhou, the area attribute of the SDN controller can be arranged For Beijing-Hangzhou.

Step 202, according to the area information of SDN controller determine SDN controller belonging to one or more regions.

It, can be according to institute in getting multizone after the area information of all SDN controllers based on abovementioned steps 201 The area information for stating SDN controller determines one or more region belonging to the SDN controller.

As an example it is assumed that the area information of certain SDN controller is Beijing, then this SDN controller institute can be determined The region of category is Beijing, it is assumed that the area information of certain SDN controller is Beijing-Hangzhou, then can determine this SDN controller Affiliated region is Beijing, can also determine that region belonging to this SDN controller is Hangzhou, can also determine that this SDN is controlled Region belonging to device processed is two, respectively Beijing and Hangzhou.

Optionally, in another embodiment of the application, when including multiple regions attribute in the area information of SDN controller When, administrative staff can be that the multiple area attribute configuration preference level information then in this step can be by SDN controller The multiple area attribute in the corresponding region of area attribute of highest priority be determined as region belonging to SDN controller. As an example it is assumed that the area information of certain SDN controller is Beijing-Hangzhou, then administrative staff can be by the priority in Hangzhou It is set as highest, then in this step, region belonging to the SDN controller can be determined as Hangzhou.It can also default described more The highest priority of the area attribute of first configuration in a area attribute, the preferential level of the area attribute of second configuration Height, and so on.

Step 203, according to the area information of forwarding device determine forwarding device belonging to one or more regions.

It, can be according to institute in getting multizone after the area information of all SDN controllers based on abovementioned steps 201 The area information for stating forwarding device determines one or more regions belonging to forwarding device.

In this step, SDN controller can be adopted as and determine that the mode of affiliated area is come for belonging to forwarding device determination Region, this is no longer going to repeat them by the application.

It should be noted that the application be not intended to limit step 202 and step 203 execute sequence, in practical applications, Step 203 can be first carried out, step 202 is then executed, also may be performed simultaneously step 202 and step 203.

Step 204, between the identical SDN controller in region and forwarding device, SDN controller is determined according to hash algorithm The matched target forwarding device of institute.

Based on abovementioned steps 202 and 203, in multizone SDN controller and forwarding device determine the region Afterwards, it can determine that SDN controller institute is matched according to hash algorithm between the identical SDN controller in region and forwarding device Target forwarding device.

For example, region feelings belonging to SDN controller and forwarding device in multizone shown in Tables 1 and 2 are please referred to Condition, in this step, can region be Pekinese SDN controller: SDN controller A, SDN controller B, SDN controller C with And region is Pekinese's forwarding device: forwarding device 1, forwarding device 2, between forwarding device 3 by hash algorithm, determine SDN The matched target forwarding device of controller A, SDN controller B and SDN controller C.

SDN controller Affiliated area SDN controller A Beijing SDN controller B Beijing, Hangzhou SDN controller C Beijing, Hangzhou SDN controller D Hangzhou

Table 1

Forwarding device Affiliated area Forwarding device 1 Beijing Forwarding device 2 Beijing Forwarding device 3 Beijing, Hangzhou Forwarding device 4 Hangzhou

Table 2

Step 205, in the matched result, the determining and matched target forwarding device of this equipment.

Based on abovementioned steps 204, SDN controller can be determining to forward with the matched target of this equipment in matching result Equipment.

As an example it is assumed that between the identical SDN controller in region and forwarding device, according to determining of hash algorithm With result are as follows: the matched target forwarding device of SDN controller A is forwarding device 2, the matched target forwarding device of SDN controller B For forwarding device 1, the matched target forwarding device of SDN controller C is forwarding device 3.In this step, if this equipment is SDN controller B is then forwarding device 1 with the matched target forwarding device of this equipment.

Step 206, connection is established with the target forwarding device.

In this step, the link information of itself can be sent to target forwarding device by SDN controller, and the target turns Hair equipment can establish connection according to the link information and matched SDN controller.Matching result with abovementioned steps 205 is Example, SDN controller B and target forwarding device 1 establish connection.

In another embodiment of the application, it is based on abovementioned steps 202 and 203, it is understood that there may be affiliated area and all forwardings One or the more SDN controllers that equipment affiliated area is all different in this application set affiliated area and all forwardings The SDN controller that standby affiliated area is all different is known as the first SDN controller, in the present embodiment, can be in the first SDN Between controller and all forwarding devices, the matched target forwarding device of the first SDN controller is determined according to hash algorithm. It is understood that the quantity of the first SDN controller may be one, it is also possible to be more.For example, it is based on table 1 Shown in SDN controller affiliated area situation, it is assumed that there is also SDN controller E, region belonging to SDN controller E be it is upper Sea, then can be between SDN controller E and all forwarding devices (forwarding device 1 to forwarding device 4), according to hash algorithm Determine the matched target forwarding device of SDN controller E.

Based on abovementioned steps 202 and 203, there are that affiliated area and all forwarding device affiliated areas are all different When one SDN controller, it is also possible to which there are one or more that affiliated area and all SDN controller affiliated areas are all different Forwarding device, in this application, the forwarding device that affiliated area and all SDN controller affiliated areas are all different are known as the One forwarding device.It in the present embodiment, can be between the first SDN controller and first forwarding device, according to Kazakhstan Uncommon algorithm determines the matched target forwarding device of the first SDN controller institute.For example, based on the control of SDN shown in table 1 Device affiliated area situation, it is assumed that there is also SDN controller E, region belonging to SDN controller E is Shanghai, based on shown in table 2 Forwarding device affiliated area situation, it is assumed that there is also forwarding devices 5 and forwarding device 6, wherein area belonging to forwarding device 5 Domain is Guangzhou, and region belonging to forwarding device 6 is Chengdu, then can SDN controller E and forwarding device 5, forwarding device 6 it Between, the matched target forwarding device of SDN controller E is determined according to hash algorithm.

Based on abovementioned steps 202 and 203, it is understood that there may be affiliated area is all different with all SDN controller affiliated areas One or more forwarding devices affiliated area and all SDN controller affiliated areas are all different in this application Forwarding device is known as the first forwarding device.In the present embodiment, it can be set in all SDN controllers and first forwarding Between standby, the matched SDN controller of first forwarding device is determined according to hash algorithm.For example, based on shown in table 2 Forwarding device affiliated area situation, it is assumed that there is also forwarding devices 5 and forwarding device 6, wherein region belonging to forwarding device 5 For Guangzhou, region belonging to forwarding device 6 is Chengdu, then can set in all SDN controllers (SDN controller A to D) with forwarding Between standby 5, forwarding device 6, determined and forwarding device 5, the matched SDN controller of forwarding device 6 respectively according to hash algorithm.

It, can be with when administrator needs to adjust the controlled SDN controller of forwarding device in another embodiment of the application It is realized by adjusting the area information of the forwarding device.Specifically, SDN controller can be controlled from the SDN as leader The updated area information that target forwarding device is obtained on device processed, then can redefine according to updated area information One or more regions belonging to the target forwarding device, and then can be forwarded according to hash algorithm with updated target The matched SDN controller of the target forwarding device is redefined in the identical SDN controller of equipment region.For example, base The SDN controller shown in aforementioned Tables 1 and 2 and forwarding device affiliated area situation, it is assumed that the area information of forwarding device 4 Beijing is updated to by Hangzhou, then can determine that region belonging to forwarding device 4 becomes Beijing from Hangzhou, and then can be according to Hash Algorithm is Pekinese SDN controller in region: weight between SDN controller A, SDN controller B, SDN controller C and forwarding device 4 It is new to determine the matched SDN controller of forwarding device 4.Further, the SDN that the forwarding device 4 before updating with area information is connect Controller is disconnected with forwarding device 4.

In another embodiment of the application, when the SDN controller connecting with target forwarding device breaks down, update The area information of SDN controller, the area information of the updated SDN controller do not include the failure SDN controller Area information, then according to hash algorithm, in non-faulting SDN controller identical with target forwarding device region again Determine the matched SDN controller of the target forwarding device.The above process approximately as: when breaking down, SDN controller The configuration information (including area information) of failure SDN controller on leader be deleted (can be deleted by user, can also be with It is that the leader of SDN controller is automatically deleted), the configuration information (only referring to SDN controller) after deletion is synchronized in multizone and removes On SDN controller outside failure SDN controller;On any one SDN controller, it is necessary first to update the SDN of itself preservation The configuration information of controller does not include the configuration information of failure SDN controller in updated configuration information, then, according to Kazakhstan Uncommon algorithm redefines the target in all non-faulting SDN controllers identical with the target forwarding device affiliated area The matched SDN controller of forwarding device.

In one embodiment, there are two the SDN controllers connecting with target forwarding device, and one is primary SDN control Device, the other is spare SDN controller, when primary SDN controller failure, spare SDN controller can upgrade to primary SDN Controller, to avoid service disconnection, when primary SDN controller and spare SDN controller break down, it is necessary to again for The target forwarding device determines matched SDN controller.

The application is when disposing the SDN network of multizone it can be seen from above description, can for SDN controller and Area information is respectively configured in forwarding device, allows SDN controller according to area information determination and the matched target of this equipment Forwarding device avoids generating trans-regional control situation, and reduction is controlled risk, to enhance the stability of system.

Corresponding with the embodiment of connection method of aforementioned trans-regional SDN controller and forwarding device, the application also provides The embodiment of the attachment device of trans-regional SDN controller and forwarding device.

The embodiment of the attachment device of the trans-regional SDN controller of the application and forwarding device can be applied in multizone On SDN controller.Installation practice can be by software realization, can also be real by way of hardware or software and hardware combining It is existing.Taking software implementation as an example, as the device on a logical meaning, being will by the processor of the SDN controller where it Corresponding computer program instructions are read into memory what operation was formed in nonvolatile memory.For hardware view, such as Shown in Fig. 3, be the application SDN controller a kind of hardware structure diagram, in addition to processor shown in Fig. 3, memory, network interface, And except nonvolatile memory, the practical function of SDN controller in embodiment where device generally according to the SDN controller Can, it can also include other hardware, this is repeated no more.

Please refer to Fig. 3 and Fig. 4, the attachment device 300 of the trans-regional SDN controller and forwarding device may include: letter Cease acquiring unit 301, target determination unit 302, connection establishment unit 303, area update unit 304, fault processing unit 305。

Wherein, the information acquisition unit 301, for obtaining in the multizone all SDN controllers and all turns The area information of equipment is sent out, all SDN controllers include this equipment;

The target determination unit 302, for being set according to the area information is determining with the matched target forwarding of this equipment It is standby;

The connection establishment unit 303, for establishing connection with the target forwarding device.

Further, the area information includes one or more area attributes;

The target determination unit 303 determines one belonging to SDN controller with specific reference to the area information of SDN controller A or multiple regions, according to the area information of forwarding device determine forwarding device belonging to one or more regions, in region phase Between same SDN controller and forwarding device, the matched target forwarding device of SDN controller institute is determined according to hash algorithm, In the matched result, the determining and matched target forwarding device of this equipment.

Further, when there are the first SDN controllers that affiliated area and all forwarding device affiliated areas are all different When, the target determination unit 303, specifically between the first SDN controller and all forwarding devices, according to hash algorithm Determine the matched target forwarding device of the first SDN controller institute;

Further, when there are the first forwarding devices that affiliated area and all SDN controller affiliated areas are all different When, the target determination unit 303, specifically between first forwarding device and all SDN controllers, according to hash algorithm Determine the matched SDN controller of the first forwarding device institute;

Further, when the first SDN controller being all different there are affiliated area and all forwarding device affiliated areas, And be all different there are affiliated area and all SDN controller affiliated areas the first forwarding device when, the target determines single Member 303, specifically between the first SDN controller and first forwarding device, determines described first according to hash algorithm The matched target forwarding device of SDN controller institute.

Further, when the area information includes multiple regions attribute, the target determination unit 303 specifically will The corresponding region of area attribute of highest priority is determined as SDN controller institute in the multiple area attribute of SDN controller The corresponding region of area attribute of highest priority in the multiple area attribute of forwarding device is determined as turning by the region of category Send out region belonging to equipment.

The area update unit 304 obtains when the area information of the target forwarding device for connecting in this equipment updates The updated area information of target forwarding device is taken, the target forwarding device institute is determined according to updated area information One or more regions of category;

The target determination unit 303, further according to hash algorithm, with updated target forwarding device region phase The matched SDN controller of the target forwarding device is redefined in same SDN controller, and according to matched as a result, originally setting It is standby to be disconnected with the target forwarding device.

The fault processing unit 305, when for breaking down in the SDN controller being connect with target forwarding device, more The area information of new SDN controller does not include the failure SDN control in the area information of the updated SDN controller The area information of device;According to hash algorithm, in non-faulting SDN controller identical with target forwarding device region again Determine the matched SDN controller of the target forwarding device.

The function of each unit and the realization process of effect are specifically detailed in the above method and correspond to step in above-mentioned apparatus Realization process, details are not described herein.

For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method reality Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separation unit The unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be with It is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actual The purpose for needing to select some or all of the modules therein to realize application scheme.Those of ordinary skill in the art are not paying Out in the case where creative work, it can understand and implement.

The foregoing is merely the preferred embodiments of the application, not to limit the application, all essences in the application Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the application protection.

Claims (10)

1. a kind of connection method of trans-regional SDN controller and forwarding device, applies any SDN controller in multizone On, which is characterized in that the described method includes:
Obtain the area information of all SDN controllers and all forwarding devices in the multizone, all SDN controllers Including this equipment;The area information includes one or more area attributes;
According to area information determination and the matched target forwarding device of this equipment;
Connection is established with the target forwarding device;
It is described to be determined and the matched target forwarding device of this equipment according to area information, comprising:
According to the area information of SDN controller determine SDN controller belonging to one or more regions;
According to the area information of forwarding device determine forwarding device belonging to one or more regions;
Between the identical SDN controller in region and forwarding device, the matched target of SDN controller institute is determined according to hash algorithm Forwarding device;
In the matched result, the determining and matched target forwarding device of this equipment.
2. the method according to claim 1, wherein
It is described according to area when the first SDN controller being all different there are affiliated area and all forwarding device affiliated areas Domain information determination and the matched target forwarding device of this equipment further include: in the first SDN controller and all forwarding devices Between, the matched target forwarding device of the first SDN controller institute is determined according to hash algorithm;
It is described according to area when the first forwarding device being all different there are affiliated area and all SDN controller affiliated areas Domain information determination and the matched target forwarding device of this equipment further include: in first forwarding device and all SDN controllers Between, the matched SDN controller of the first forwarding device institute is determined according to hash algorithm;
When the first SDN controller being all different there are affiliated area and all forwarding device affiliated areas and there are affiliated areas It is described to be determined according to area information and originally set when the first forwarding device that domain and all SDN controller affiliated areas are all different Standby matched target forwarding device further include: between the first SDN controller and first forwarding device, according to Hash Algorithm determines the matched target forwarding device of the first SDN controller institute.
3. the method according to claim 1, wherein when the area information includes multiple regions attribute,
The area information according to SDN controller determines one or more regions belonging to SDN controller, comprising:
The corresponding region of area attribute of highest priority in the multiple area attribute of SDN controller is determined as SDN control Region belonging to device processed;
The area information according to forwarding device determines one or more regions belonging to forwarding device, comprising:
The corresponding region of area attribute of highest priority in the multiple area attribute of forwarding device is determined as forwarding to set Standby affiliated region.
4. the method according to claim 1, wherein the area information of the target forwarding device of this equipment connection is more When new, the method also includes:
The updated area information of target forwarding device is obtained, determines that the target forwards according to updated area information One or more regions belonging to equipment;
According to hash algorithm, the mesh is redefined in SDN controller identical with updated target forwarding device region Mark the matched SDN controller of forwarding device;
According to matched as a result, this equipment is disconnected with the target forwarding device.
5. the method according to claim 1, wherein occurring in the SDN controller being connect with target forwarding device When failure, the method also includes:
The area information of SDN controller is updated, does not include the failure in the area information of the updated SDN controller The area information of SDN controller;
According to hash algorithm, redefined in non-faulting SDN controller identical with target forwarding device region described The matched SDN controller of target forwarding device.
6. a kind of attachment device of trans-regional SDN controller and forwarding device, applies any SDN controller in multizone On, which is characterized in that described device includes:
Information acquisition unit, for obtaining the area information of all SDN controllers and all forwarding devices in the multizone, All SDN controllers include this equipment;
Target determination unit, for according to area information determination and the matched target forwarding device of this equipment;
Connection establishment unit, for establishing connection with the target forwarding device;
The area information includes one or more area attributes;
The target determination unit determines one or more belonging to SDN controller with specific reference to the area information of SDN controller Region, according to the area information of forwarding device determine forwarding device belonging to one or more regions, the identical SDN control in region Between device and forwarding device processed, the matched target forwarding device of SDN controller institute is determined according to hash algorithm, described matched As a result in, the determining and matched target forwarding device of this equipment.
7. device according to claim 6, which is characterized in that
When the first SDN controller being all different there are affiliated area and all forwarding device affiliated areas, the target is true Order member, specifically between the first SDN controller and all forwarding devices, determines the first SDN according to hash algorithm The matched target forwarding device of controller institute;
When the first forwarding device being all different there are affiliated area and all SDN controller affiliated areas, the target is true Order member determines first forwarding according to hash algorithm specifically between first forwarding device and all SDN controllers The matched SDN controller of equipment institute;
When the first SDN controller being all different there are affiliated area and all forwarding device affiliated areas and there are affiliated areas When the first forwarding device that domain and all SDN controller affiliated areas are all different, the target determination unit, specifically described Between first SDN controller and first forwarding device, determine that the first SDN controller institute is matched according to hash algorithm Target forwarding device.
8. device according to claim 6, which is characterized in that when the area information includes multiple regions attribute, institute Target determination unit is stated, it is specifically that the area attribute of highest priority in the multiple area attribute of SDN controller is corresponding Region is determined as region belonging to SDN controller, by the region of highest priority in the multiple area attribute of forwarding device The corresponding region of attribute is determined as region belonging to forwarding device.
9. device according to claim 6, which is characterized in that described device further include:
Area update unit obtains the target when area information of the target forwarding device for connecting in this equipment updates The updated area information of forwarding device, according to updated area information determine the target forwarding device belonging to one or Multiple regions;
The target determination unit, further according to hash algorithm, in SDN identical with updated target forwarding device region Redefine the matched SDN controller of the target forwarding device in controller, and according to it is matched as a result, this equipment with it is described Target forwarding device disconnects.
10. device according to claim 6, which is characterized in that described device further include:
Fault processing unit when for breaking down in the SDN controller connecting with target forwarding device, updates SDN controller Area information, do not include the region letter of the failure SDN controller in the area information of the updated SDN controller Breath;According to hash algorithm, the mesh is redefined in non-faulting SDN controller identical with target forwarding device region Mark the matched SDN controller of forwarding device.
CN201510341734.0A 2015-06-18 2015-06-18 A kind of connection method and the device of trans-regional SDN controller and forwarding device CN104901836B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510341734.0A CN104901836B (en) 2015-06-18 2015-06-18 A kind of connection method and the device of trans-regional SDN controller and forwarding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510341734.0A CN104901836B (en) 2015-06-18 2015-06-18 A kind of connection method and the device of trans-regional SDN controller and forwarding device

Publications (2)

Publication Number Publication Date
CN104901836A CN104901836A (en) 2015-09-09
CN104901836B true CN104901836B (en) 2019-01-25

Family

ID=54034240

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510341734.0A CN104901836B (en) 2015-06-18 2015-06-18 A kind of connection method and the device of trans-regional SDN controller and forwarding device

Country Status (1)

Country Link
CN (1) CN104901836B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107360043A (en) * 2017-08-25 2017-11-17 中国联合网络通信集团有限公司 A kind of method and device that forwarding unit configuration information is changed in SDN

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011083682A1 (en) * 2010-01-05 2011-07-14 日本電気株式会社 Switch network system, controller, and control method
CN103051539A (en) * 2012-12-14 2013-04-17 中兴通讯股份有限公司 DHT-based (distributed hash table-based) control network implementation method, system and network controller
CN104579893A (en) * 2013-10-18 2015-04-29 宇宙互联有限公司 Transmission path control system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011083682A1 (en) * 2010-01-05 2011-07-14 日本電気株式会社 Switch network system, controller, and control method
CN103051539A (en) * 2012-12-14 2013-04-17 中兴通讯股份有限公司 DHT-based (distributed hash table-based) control network implementation method, system and network controller
CN104579893A (en) * 2013-10-18 2015-04-29 宇宙互联有限公司 Transmission path control system

Also Published As

Publication number Publication date
CN104901836A (en) 2015-09-09

Similar Documents

Publication Publication Date Title
US7984123B2 (en) Method and system for reconfiguring a virtual network path
CA2534511C (en) High availability virtual switch
JP6038393B2 (en) Managing hybrid networks
US20090150521A1 (en) Method and system for creating a virtual network path
CN105531970B (en) Method and system for the load that maps out the work in a network
US9361149B2 (en) Computer system and maintenance method of computer system
JPWO2012127634A1 (en) Network management apparatus, network management method, and network management program
US9323570B2 (en) Computer system and migration method of virtual machine
EP2456251A1 (en) Automatic access point location, planning, and coverage optimization
US20090150529A1 (en) Method and system for enforcing resource constraints for virtual machines across migration
US8370530B2 (en) Method and system for controlling network traffic in a blade chassis
US9906407B1 (en) Methods and apparatus for scalable resilient networks
US9154577B2 (en) Sychronization of configuration file of virtual application distribution chassis
US8774054B2 (en) Network policy configuration method, management device, and network management center device
US10061530B2 (en) Method and apparatus for configuring redundancy data center in cloud computing architecture
JP2010097402A (en) Computer system and configuration management method thereof
CN104584491A (en) System and method providing distributed virtual routing and switching (DVRS)
CN103516782A (en) Distributed processing of network device tasks
US8615588B2 (en) Accelerate copying of virtual machine images
EP2693336A1 (en) Virtual machine administration system, and virtual machine administration method
EP3116163B1 (en) Disaster recovery scheme configuration method and apparatus in cloud computing architecture
CN102780758B (en) Distribution Strategy management method and system
EP2911347B1 (en) Providing policy information
US8442958B2 (en) Server change management
CN107005580A (en) Network function virtualization services are linked

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
CB02
GR01