CN104901836A - Cross-regional connection method and device for SDN controllers and forwarding equipment - Google Patents
Cross-regional connection method and device for SDN controllers and forwarding equipment Download PDFInfo
- Publication number
- CN104901836A CN104901836A CN201510341734.0A CN201510341734A CN104901836A CN 104901836 A CN104901836 A CN 104901836A CN 201510341734 A CN201510341734 A CN 201510341734A CN 104901836 A CN104901836 A CN 104901836A
- Authority
- CN
- China
- Prior art keywords
- forwarding unit
- sdn controller
- area information
- area
- target
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Hardware Redundancy (AREA)
Abstract
The invention provides a cross-regional connection method and device for SDN controllers and forwarding equipment. The method includes: obtaining region information of all SDC controllers and all forwarding equipment in multiple regions, wherein all the SDC controllers include this equipment; determining target forwarding equipment matched with this equipment according to the region information; and establishing a connection with the target forwarding equipment. The technical scheme of the cross-regional connection method can configure the region information for the SDC controller and the forwarding equipment respectively, enabling the SDN controllers to determine the target forwarding equipment matched with this equipment according to the region information, avoiding occurrence of a situation of cross-regional control, reducing control risks, and thereby enhancing stability of a system.
Description
Technical field
The application relates to communication technical field, particularly relates to method of attachment and the device of a kind of trans-regional SDN controller and forwarding unit.
Background technology
SDN (Software Defined Network, software defined network) be a kind of novel network architecture, adopt brand-new design concept, control plane is separated with datum plane, and former solidification control plane is in the network device transferred in addressable computing equipment, thus the flexible control achieved network traffics, for the innovation of core network and application provides good platform.
SDN technology can agree with the demands such as centralized management, flexibly forwarding, deploying virtual machine and the virtual machine (vm) migration of data center network well, and therefore, SDN technology is more and more applied in data center.
In trans-regional network environment, SDN controller determines the forwarding unit corresponding with this equipment according to hash algorithm usually, and connects with described forwarding unit, to realize the control to described forwarding unit.But, in such implementation, often there is trans-regional control situation, add and control risk, bring great impact to the stability of system.
Summary of the invention
In view of this, the application provides method of attachment and the device of a kind of trans-regional SDN controller and forwarding unit.
Particularly, the application is achieved by the following technical solution:
A method of attachment for trans-regional SDN controller and forwarding unit, be applied on the arbitrary SDN controller in multizone, described method comprises:
Obtain the area information of all SDN controllers and all forwarding units in described multizone, described all SDN controllers comprise this equipment;
The target forwarding unit mated with this equipment is determined according to area information;
Connect with described target forwarding unit.
Further, described area information comprises one or more area attribute;
The described target forwarding unit determining to mate with this equipment according to area information, comprising:
The one or more regions belonging to SDN controller are determined according to the area information of SDN controller;
According to the one or more regions belonging to the area information determination forwarding unit of forwarding unit;
Between the identical SDN controller in region and forwarding unit, determine according to hash algorithm the target forwarding unit that SDN controller mates;
In the result of described coupling, determine the target forwarding unit mated with this equipment.
Further, when there is affiliated area with the SDN controller that all forwarding unit affiliated areas are all not identical, describedly determine that the target forwarding unit mated with this equipment also comprises according to area information: between a described SDN controller and all forwarding units, determine according to hash algorithm the target forwarding unit that a described SDN controller mates;
When there is affiliated area first forwarding unit all not identical with all SDN controller affiliated areas, describedly determine that the target forwarding unit mated with this equipment also comprises according to area information: between described first forwarding unit and all SDN controllers, determine according to hash algorithm the SDN controller that described first forwarding unit mates;
When there is an affiliated area SDN controller all not identical with all forwarding unit affiliated areas and there is affiliated area first forwarding unit all not identical with all SDN controller affiliated areas, describedly determine that the target forwarding unit mated with this equipment also comprises according to area information: between a described SDN controller and described first forwarding unit, determine according to hash algorithm the target forwarding unit that a described SDN controller mates.
Further, when described area information comprises multiple area attribute,
The described area information according to SDN controller determines the one or more regions belonging to SDN controller, comprising:
Region corresponding for area attribute the highest for described multiple area attribute medium priorities of SDN controller is defined as the region belonging to SDN controller;
Described one or more regions belonging to the area information determination forwarding unit of forwarding unit, comprising:
Region corresponding for area attribute the highest for described multiple area attribute medium priorities of forwarding unit is defined as the region belonging to forwarding unit.
Further, when the area information of the target forwarding unit of this equipment connection upgrades, described method also comprises:
Obtain the area information after the renewal of described target forwarding unit, determine the one or more regions belonging to described target forwarding unit according to the area information after renewal;
According to hash algorithm, in the SDN controller identical with the target forwarding unit region after renewal, redefine the SDN controller that described target forwarding unit mates;
According to the result of coupling, this equipment and described target forwarding unit disconnect.
Further, when the SDN controller be connected with target forwarding unit breaks down, described method also comprises:
Upgrade the area information of SDN controller, in the area information of the described SDN controller after renewal, do not comprise the area information of described fault SDN controller;
According to hash algorithm, in the non-faulting SDN controller identical with described target forwarding unit region, redefine the SDN controller that described target forwarding unit mates.
A jockey for trans-regional SDN controller and forwarding unit, be applied on the arbitrary SDN controller in multizone, described device comprises:
Information acquisition unit, for obtaining the area information of all SDN controllers and all forwarding units in described multizone, described all SDN controllers comprise this equipment;
Target determination unit, for the target forwarding unit determining to mate with this equipment according to described area information;
Connection establishment unit, for connecting with described target forwarding unit.
Further, described area information comprises one or more area attribute;
Described target determination unit, specifically determine the one or more regions belonging to SDN controller according to the area information of SDN controller, according to the one or more regions belonging to the area information determination forwarding unit of forwarding unit, between the identical SDN controller in region and forwarding unit, the target forwarding unit that SDN controller mates is determined according to hash algorithm, in the result of described coupling, determine the target forwarding unit mated with this equipment.
Further, when there is affiliated area with the SDN controller that all forwarding unit affiliated areas are all not identical, described target determination unit, specifically between a described SDN controller and all forwarding units, determine according to hash algorithm the target forwarding unit that a described SDN controller mates;
When there is affiliated area first forwarding unit all not identical with all SDN controller affiliated areas, described target determination unit, specifically between described first forwarding unit and all SDN controllers, determine according to hash algorithm the SDN controller that described first forwarding unit mates;
When there is an affiliated area SDN controller all not identical with all forwarding unit affiliated areas and there is affiliated area first forwarding unit all not identical with all SDN controller affiliated areas, described target determination unit, specifically between a described SDN controller and described first forwarding unit, determine according to hash algorithm the target forwarding unit that a described SDN controller mates.
Further, when described area information comprises multiple area attribute, described target determination unit, specifically region corresponding for area attribute the highest for described multiple area attribute medium priorities of SDN controller is defined as the region belonging to SDN controller, region corresponding for area attribute the highest for described multiple area attribute medium priorities of forwarding unit is defined as the region belonging to forwarding unit.
Further, described device also comprises:
Area update unit, when the area information for the target forwarding unit at this equipment connection upgrades, obtains the area information after the renewal of described target forwarding unit, determines the one or more regions belonging to described target forwarding unit according to the area information after renewal;
Described target determination unit, further according to hash algorithm, in the SDN controller identical with the target forwarding unit region after renewal, redefine the SDN controller that described target forwarding unit mates, and according to the result of mating, this equipment and described target forwarding unit disconnect.
Further, described device also comprises:
Fault processing unit, during for breaking down at the SDN controller be connected with target forwarding unit, upgrading the area information of SDN controller, not comprising the area information of described fault SDN controller in the area information of the described SDN controller after renewal; According to hash algorithm, in the non-faulting SDN controller identical with described target forwarding unit region, redefine the SDN controller that described target forwarding unit mates.
Described as can be seen from above, the application is when disposing the SDN of multizone, can be SDN controller and forwarding unit configuring area information respectively, make SDN controller can determine according to area information the target forwarding unit that mates with this equipment, avoid producing trans-regional control situation, reduction is controlled risk, thus strengthens the stability of system.
Accompanying drawing explanation
Fig. 1 is the flow chart of the method for attachment of a kind of trans-regional SDN controller shown in the application one exemplary embodiment and forwarding unit;
Fig. 2 is the flow chart of the method for attachment of the trans-regional SDN controller of another kind shown in the application one exemplary embodiment and forwarding unit;
Fig. 3 is the structural representation of a kind of SDN controller shown in the application one exemplary embodiment;
Fig. 4 is a structural representation of the jockey of a kind of trans-regional SDN controller according to an exemplary embodiment and forwarding unit.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Execution mode described in following exemplary embodiment does not represent all execution modes consistent with the application.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that some aspects of the application are consistent.
Only for describing the object of specific embodiment at term used in this application, and not intended to be limiting the application." one ", " described " and " being somebody's turn to do " of the singulative used in the application and appended claims is also intended to comprise most form, unless context clearly represents other implications.It is also understood that term "and/or" used herein refer to and comprise one or more project of listing be associated any or all may combine.
Term first, second, third, etc. may be adopted although should be appreciated that to describe various information in the application, these information should not be limited to these terms.These terms are only used for the information of same type to be distinguished from each other out.Such as, when not departing from the application's scope, the first information also can be called as the second information, and similarly, the second information also can be called as the first information.Depend on linguistic context, word as used in this " if " can be construed as into " ... time " or " when ... time " or " in response to determining ".
In trans-regional network environment, generally include multiple stage SDN controller and multiple stage forwarding unit, wherein, these SDN controllers are for controlling these forwarding units, and described forwarding unit can comprise: main process equipment and gateway device etc.SDN controller can determine corresponding forwarding unit according to hash algorithm when initialization in whole trans-regional networking, then connects with the forwarding unit determined, to realize the control to described forwarding unit.But, in such implementation, SDN controller determines corresponding forwarding unit according to hash algorithm in whole networking, just may there is the situation that the forwarding unit of a-quadrant is controlled by the SDN controller in B region, this trans-regional control status, add and control risk, bring great impact to the stability of system.
For the problems referred to above, the application provides the connection scheme of a kind of trans-regional SDN controller and forwarding unit, effectively can reduce and control risk.
Please refer to Fig. 1, Fig. 1 is the flow chart of the method for attachment of a kind of trans-regional SDN controller shown in the application one exemplary embodiment and forwarding unit.The method of attachment of described trans-regional SDN controller and forwarding unit can be applied on the arbitrary SDN controller in multizone, includes following steps:
Step 101, obtains the area information of all SDN controllers and all forwarding units in described multizone, and described all SDN controllers comprise this equipment.
In the present embodiment; usually a SDN controller can be configured with in described trans-regional networking; using the leader as all SDN controllers; in this step; when the initialization of SDN controller, SDN controller can from as the area information obtaining all SDN controllers and all forwarding units in multizone the SDN controller of leader.
Step 102, determines the target forwarding unit mated with this equipment according to area information.
In the present embodiment, described area information can comprise one or more area attribute, one or more regions that SDN controller can be determined belonging to SDN controller according to the area information of SDN controller, according to the one or more regions belonging to the area information determination forwarding unit of forwarding unit, then can between the identical SDN controller in region and forwarding unit, the target forwarding unit that SDN controller mates is determined according to hash algorithm, and in the result of described coupling, determine the target forwarding unit mated with this equipment.
Step 103, connects with described target forwarding unit.
Described as can be seen from above, the application is when disposing the SDN of multizone, can be SDN controller and forwarding unit configuring area information respectively, make SDN controller can determine according to area information the target forwarding unit that mates with this equipment, avoid producing trans-regional control situation, reduction is controlled risk, thus strengthens the stability of system.
In one embodiment, data center can be described region; In a data center, also can mark off multiple described region as required.
Fig. 2 is the flow chart of the method for attachment of the trans-regional SDN controller of another kind shown in the application one exemplary embodiment and forwarding unit.
Please refer to Fig. 2, the method for the connection of described trans-regional SDN controller and forwarding unit can be applied on the arbitrary SDN controller in multizone, comprises the following steps:
Step 201, obtains the area information of all SDN controllers and all forwarding units in described multizone.
In the present embodiment; when configuring the SDN of multizone; administrative staff can select a SDN controller as the leader of these SDN controllers usually in all SDN controllers, and configure the area information of all SDN controllers and all forwarding units in multizone in as this SDN controller of leader.
In this step, during arbitrary SDN controller initialization in multizone, can from the described area information as obtaining all SDN controllers and all forwarding units in multizone the SDN controller of leader, wherein, the area information of the SDN controller got also includes the area information of this equipment.
Particularly, described area information can comprise one or more area attribute, and described area attribute can be positional information, and can be also the character mark representing positional information, the application make particular restriction to this.Comprise one or more positional information for described area information to be below described.
Administrative staff can according to nearby principle in for SDN controller and forwarding unit setting area attribute.Include a positional information for described area attribute, if a certain SDN controller be positioned at Beijing or distance Beijing nearer time, then the area attribute of this SDN controller can be set to Beijing.Include multiple positional information for described area attribute, if a certain SDN controller is between Beijing and Hangzhou, then the area attribute of this SDN controller can be set to Beijing-Hangzhou.
Step 202, determines the one or more regions belonging to SDN controller according to the area information of SDN controller.
Based on abovementioned steps 201, after the area information getting all SDN controllers in multizone, one or more region can determining belonging to described SDN controller according to the area information of described SDN controller.
For example, suppose that the area information of certain SDN controller is Beijing, then can determine that this region belonging to SDN controller is Beijing, suppose that the area information of certain SDN controller is Beijing-Hangzhou, then can determine that this region belonging to SDN controller is Beijing, also can determine that this region belonging to SDN controller is Hangzhou, can also determine that this region belonging to SDN controller is two, be respectively Beijing and Hangzhou.
Optionally, in another embodiment of the application, when including multiple area attribute in the area information of SDN controller, administrative staff can be described multiple area attribute configuration preference level information, then in this step, region that can be corresponding by area attribute the highest for described multiple area attribute medium priorities of SDN controller is defined as the region belonging to SDN controller.For example, suppose that the area information of certain SDN controller is Beijing-Hangzhou, then the priority in Hangzhou can be set to the highest by administrative staff, then in this step, the region belonging to this SDN controller can be defined as Hangzhou.Also the priority can giving tacit consent to the area attribute of first configuration in described multiple area attribute is the highest, and the priority of the area attribute of second configuration is secondary high, by that analogy.
Step 203, according to the one or more regions belonging to the area information determination forwarding unit of forwarding unit.
Based on abovementioned steps 201, after the area information getting all SDN controllers in multizone, can one or more regions belonging to the area information determination forwarding unit of described forwarding unit.
In this step, the mode that can be adopted as SDN controller determination affiliated area is come for forwarding unit determination affiliated area, and this is no longer going to repeat them for the application.
It should be noted that, the execution sequence of the application not conditioning step 202 and step 203, in actual applications, also first can perform step 203, then performs step 202, also can perform step 202 and step 203 simultaneously.
Step 204, between the identical SDN controller in region and forwarding unit, determines according to hash algorithm the target forwarding unit that SDN controller mates.
Based on abovementioned steps 202 and 203, after determining described region for the SDN controller in multizone and forwarding unit, between the identical SDN controller in region and forwarding unit, can determine according to hash algorithm the target forwarding unit that SDN controller mates.
For example, please refer to SDN controller and the areas case belonging to forwarding unit in the multizone shown in table 1 and table 2, in this step, can be Pekinese SDN controller in region: SDN controller A, SDN controller B, SDN controller C and region are Pekinese's forwarding unit: by hash algorithm between forwarding unit 1, forwarding unit 2, forwarding unit 3, determine the target forwarding unit that SDN controller A, SDN controller B and SDN controller C mates.
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 unit | Affiliated area |
Forwarding unit 1 | Beijing |
Forwarding unit 2 | Beijing |
Forwarding unit 3 | Beijing, Hangzhou |
Forwarding unit 4 | Hangzhou |
Table 2
Step 205, in the result of described coupling, determines the target forwarding unit mated with this equipment.
In matching result, the target forwarding unit mated with this equipment can be determined based on abovementioned steps 204, SDN controller.
For example, suppose between the identical SDN controller in region and forwarding unit, according to the matching result that hash algorithm is determined be: the target forwarding unit that SDN controller A mates is forwarding unit 2, the target forwarding unit that SDN controller B mates is the target forwarding unit that forwarding unit 1, SDN controller C mates is forwarding unit 3.In this step, if this equipment is SDN controller B, then the target forwarding unit mated with this equipment is forwarding unit 1.
Step 206, connects with described target forwarding unit.
In this step, the link information of self can be sent to target forwarding unit by SDN controller, and described target forwarding unit can connect with the SDN mated controller according to described link information.For the matching result of abovementioned steps 205, SDN controller B and target forwarding unit 1 connect.
In another embodiment of the application, based on abovementioned steps 202 and 203, one or multiple stage SDN controller that affiliated area is all not identical with all forwarding unit affiliated areas may be there is, in this application, SDN controller all not identical with all forwarding unit affiliated areas for affiliated area is called a SDN controller, in the present embodiment, between a described SDN controller and all forwarding units, the target forwarding unit of a described SDN controller coupling can be determined according to hash algorithm.Be understandable that, the quantity of a described SDN controller may be one, also may be multiple stage.For example, based on the SDN controller affiliated area situation shown in table 1, suppose also there is SDN controller E, region belonging to this SDN controller E is Shanghai, then between SDN controller E and all forwarding units (forwarding unit 1 to forwarding unit 4), can determine according to hash algorithm the target forwarding unit that SDN controller E mates.
Based on abovementioned steps 202 and 203, when there is affiliated area with the SDN controller that all forwarding unit affiliated areas are all not identical, also may there is one or multiple stage forwarding unit that affiliated area is all not identical with all SDN controller affiliated areas, in this application, forwarding unit all not identical with all SDN controller affiliated areas for affiliated area is called the first forwarding unit.In the present embodiment, between a described SDN controller and described first forwarding unit, can determine according to hash algorithm the target forwarding unit that a described SDN controller mates.For example, based on the SDN controller affiliated area situation shown in table 1, suppose also there is SDN controller E, region belonging to this SDN controller E is Shanghai, based on the forwarding unit affiliated area situation shown in table 2, suppose also there is forwarding unit 5 and forwarding unit 6, wherein, region belonging to forwarding unit 5 is Guangzhou, region belonging to forwarding unit 6 is Chengdu, then between SDN controller E and forwarding unit 5, forwarding unit 6, can determine according to hash algorithm the target forwarding unit that SDN controller E mates.
Based on abovementioned steps 202 and 203, one or multiple stage forwarding unit that affiliated area is all not identical with all SDN controller affiliated areas may be there is, in this application, forwarding unit all not identical with all SDN controller affiliated areas for affiliated area is called the first forwarding unit.In the present embodiment, between described all SDN controllers and described first forwarding unit, the SDN controller of described first forwarding unit coupling can be determined according to hash algorithm.For example, based on the forwarding unit affiliated area situation shown in table 2, suppose also there is forwarding unit 5 and forwarding unit 6, wherein, region belonging to forwarding unit 5 is Guangzhou, region belonging to forwarding unit 6 is Chengdu, then between all SDN controllers (SDN controller A to D) and forwarding unit 5, forwarding unit 6, can determine the SDN controller mated with forwarding unit 5, forwarding unit 6 according to hash algorithm respectively.
In another embodiment of the application, when the SDN controller that keeper needs adjustment forwarding unit controlled, can be realized by the area information adjusting described forwarding unit.Particularly, SDN controller can obtain the area information after the renewal of target forwarding unit from the SDN controller as leader, then can redefine one or more regions belonging to described target forwarding unit according to the area information after upgrading, so can according to hash algorithm with upgrade after the identical SDN controller in target forwarding unit region in redefine the SDN controller that described target forwarding unit mates.For example, based on the SDN controller shown in aforementioned table 1 and table 2 and forwarding unit affiliated area situation, suppose, the area information of forwarding unit 4 is updated to Beijing by Hangzhou, then can determine that the region belonging to forwarding unit 4 becomes Beijing from Hangzhou, and then can be Pekinese SDN controller in region according to hash algorithm: SDN controller A, SDN controller B, SDN controller C and the SDN controller redefining forwarding unit 4 between forwarding unit 4 and mate.Further, the SDN controller that the forwarding unit 4 before upgrading with area information is connected and forwarding unit 4 disconnect.
In another embodiment of the application, when the SDN controller be connected with target forwarding unit breaks down, upgrade the area information of SDN controller, the area information of the described SDN controller after renewal does not comprise the area information of described fault SDN controller, then according to hash algorithm, in the non-faulting SDN controller identical with described target forwarding unit region, the SDN controller that described target forwarding unit mates is redefined.Said process is roughly as follows: when breaking down, the configuration information (comprising area information) of this fault SDN controller on the leader of SDN controller is deleted (can be deleted by user, also can be that the leader of SDN controller deletes automatically), the configuration information (only referring to SDN controller) after deletion is synchronized on the SDN controller in multizone except fault SDN controller; On any one SDN controller, first the configuration information upgrading the SDN controller that self preserves is needed, the configuration information of fault SDN controller is not comprised in configuration information after renewal, then, in all non-faulting SDN controllers identical with described target forwarding unit affiliated area, redefine according to hash algorithm the SDN controller that described target forwarding unit mates.
In one embodiment, the SDN controller be connected with target forwarding unit has two, one is primary SDN controller, another is SDN controller for subsequent use, when primary SDN controller failure, SDN controller for subsequent use can upgrade to primary SDN controller, to avoid service disconnection, when primary SDN controller and SDN controller for subsequent use all break down, just need again for described target forwarding unit determines the SDN controller of coupling.
Described as can be seen from above, the application is when disposing the SDN of multizone, can be SDN controller and forwarding unit configuring area information respectively, make SDN controller can determine according to area information the target forwarding unit that mates with this equipment, avoid producing trans-regional control situation, reduction is controlled risk, thus strengthens the stability of system.
Corresponding with the embodiment of the method for attachment of aforementioned trans-regional SDN controller and forwarding unit, present invention also provides the embodiment of the jockey of trans-regional SDN controller and forwarding unit.
The embodiment of the jockey of the trans-regional SDN controller of the application and forwarding unit can be applied on the SDN controller in multizone.Device embodiment can pass through software simulating, also can be realized by the mode of hardware or software and hardware combining.For software simulating, as the device on a logical meaning, be by the processor of the SDN controller at its place, computer program instructions corresponding in nonvolatile memory is read operation in internal memory to be formed.Say from hardware view, as shown in Figure 3, for a kind of hardware structure diagram of the application SDN controller, except the processor shown in Fig. 3, internal memory, network interface and nonvolatile memory, in embodiment, the SDN controller at device place is usually according to the actual functional capability of this SDN controller, other hardware can also be comprised, this is repeated no more.
Please refer to Fig. 3 and Fig. 4, the jockey 300 of described trans-regional SDN controller and forwarding unit can comprise: information acquisition unit 301, target determination unit 302, connection establishment unit 303, area update unit 304, fault processing unit 305.
Wherein, described information acquisition unit 301, for obtaining the area information of all SDN controllers and all forwarding units in described multizone, described all SDN controllers comprise this equipment;
Described target determination unit 302, for the target forwarding unit determining to mate with this equipment according to described area information;
Described connection establishment unit 303, for connecting with described target forwarding unit.
Further, described area information comprises one or more area attribute;
Described target determination unit 303, specifically determine the one or more regions belonging to SDN controller according to the area information of SDN controller, according to the one or more regions belonging to the area information determination forwarding unit of forwarding unit, between the identical SDN controller in region and forwarding unit, the target forwarding unit that SDN controller mates is determined according to hash algorithm, in the result of described coupling, determine the target forwarding unit mated with this equipment.
Further, when there is affiliated area with the SDN controller that all forwarding unit affiliated areas are all not identical, described target determination unit 303, specifically between a described SDN controller and all forwarding units, determine according to hash algorithm the target forwarding unit that a described SDN controller mates;
Further, when there is affiliated area first forwarding unit all not identical with all SDN controller affiliated areas, described target determination unit 303, specifically between described first forwarding unit and all SDN controllers, determine according to hash algorithm the SDN controller that described first forwarding unit mates;
Further, when there is an affiliated area SDN controller all not identical with all forwarding unit affiliated areas and there is affiliated area first forwarding unit all not identical with all SDN controller affiliated areas, described target determination unit 303, specifically between a described SDN controller and described first forwarding unit, determine according to hash algorithm the target forwarding unit that a described SDN controller mates.
Further, when described area information comprises multiple area attribute, described target determination unit 303, specifically region corresponding for area attribute the highest for described multiple area attribute medium priorities of SDN controller is defined as the region belonging to SDN controller, region corresponding for area attribute the highest for described multiple area attribute medium priorities of forwarding unit is defined as the region belonging to forwarding unit.
Described area update unit 304, when area information for the target forwarding unit at this equipment connection upgrades, obtain the area information after the renewal of described target forwarding unit, determine the one or more regions belonging to described target forwarding unit according to the area information after renewal;
Described target determination unit 303, further according to hash algorithm, in the SDN controller identical with the target forwarding unit region after renewal, redefine the SDN controller that described target forwarding unit mates, and according to the result of mating, this equipment and described target forwarding unit disconnect.
Described fault processing unit 305, during for breaking down at the SDN controller be connected with target forwarding unit, upgrading the area information of SDN controller, not comprising the area information of described fault SDN controller in the area information of the described SDN controller after renewal; According to hash algorithm, in the non-faulting SDN controller identical with described target forwarding unit region, redefine the SDN controller that described target forwarding unit mates.
In said apparatus, the implementation procedure of the function and efficacy of unit specifically refers to the implementation procedure of corresponding step in said method, does not repeat them here.
For device embodiment, because it corresponds essentially to embodiment of the method, so relevant part illustrates see the part of embodiment of the method.Device embodiment described above is only schematic, the wherein said unit illustrated as separating component or can may not be and physically separates, parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of module wherein can be selected according to the actual needs to realize the object of the application's scheme.Those of ordinary skill in the art, when not paying creative work, are namely appreciated that and implement.
The foregoing is only the preferred embodiment of the application, not in order to limit the application, within all spirit in the application and principle, any amendment made, equivalent replacements, improvement etc., all should be included within scope that the application protects.
Claims (12)
1. a method of attachment for trans-regional SDN controller and forwarding unit, be applied on the arbitrary SDN controller in multizone, it is characterized in that, described method comprises:
Obtain the area information of all SDN controllers and all forwarding units in described multizone, described all SDN controllers comprise this equipment;
The target forwarding unit mated with this equipment is determined according to area information;
Connect with described target forwarding unit.
2. method according to claim 1, is characterized in that, described area information comprises one or more area attribute;
The described target forwarding unit determining to mate with this equipment according to area information, comprising:
The one or more regions belonging to SDN controller are determined according to the area information of SDN controller;
According to the one or more regions belonging to the area information determination forwarding unit of forwarding unit;
Between the identical SDN controller in region and forwarding unit, determine according to hash algorithm the target forwarding unit that SDN controller mates;
In the result of described coupling, determine the target forwarding unit mated with this equipment.
3. method according to claim 2, is characterized in that,
When there is affiliated area with the SDN controller that all forwarding unit affiliated areas are all not identical, describedly determine that the target forwarding unit mated with this equipment also comprises according to area information: between a described SDN controller and all forwarding units, determine according to hash algorithm the target forwarding unit that a described SDN controller mates;
When there is affiliated area first forwarding unit all not identical with all SDN controller affiliated areas, describedly determine that the target forwarding unit mated with this equipment also comprises according to area information: between described first forwarding unit and all SDN controllers, determine according to hash algorithm the SDN controller that described first forwarding unit mates;
When there is an affiliated area SDN controller all not identical with all forwarding unit affiliated areas and there is affiliated area first forwarding unit all not identical with all SDN controller affiliated areas, describedly determine that the target forwarding unit mated with this equipment also comprises according to area information: between a described SDN controller and described first forwarding unit, determine according to hash algorithm the target forwarding unit that a described SDN controller mates.
4. method according to claim 2, is characterized in that, when described area information comprises multiple area attribute,
The described area information according to SDN controller determines the one or more regions belonging to SDN controller, comprising:
Region corresponding for area attribute the highest for described multiple area attribute medium priorities of SDN controller is defined as the region belonging to SDN controller;
Described one or more regions belonging to the area information determination forwarding unit of forwarding unit, comprising:
Region corresponding for area attribute the highest for described multiple area attribute medium priorities of forwarding unit is defined as the region belonging to forwarding unit.
5. method according to claim 2, is characterized in that, when the area information of the target forwarding unit of this equipment connection upgrades, described method also comprises:
Obtain the area information after the renewal of described target forwarding unit, determine the one or more regions belonging to described target forwarding unit according to the area information after renewal;
According to hash algorithm, in the SDN controller identical with the target forwarding unit region after renewal, redefine the SDN controller that described target forwarding unit mates;
According to the result of coupling, this equipment and described target forwarding unit disconnect.
6. method according to claim 2, is characterized in that, when the SDN controller be connected with target forwarding unit breaks down, described method also comprises:
Upgrade the area information of SDN controller, in the area information of the described SDN controller after renewal, do not comprise the area information of described fault SDN controller;
According to hash algorithm, in the non-faulting SDN controller identical with described target forwarding unit region, redefine the SDN controller that described target forwarding unit mates.
7. a jockey for trans-regional SDN controller and forwarding unit, be applied on the arbitrary SDN controller in multizone, it is characterized in that, described device comprises:
Information acquisition unit, for obtaining the area information of all SDN controllers and all forwarding units in described multizone, described all SDN controllers comprise this equipment;
Target determination unit, for the target forwarding unit determining to mate with this equipment according to described area information;
Connection establishment unit, for connecting with described target forwarding unit.
8. device according to claim 7, is characterized in that, described area information comprises one or more area attribute;
Described target determination unit, specifically determine the one or more regions belonging to SDN controller according to the area information of SDN controller, according to the one or more regions belonging to the area information determination forwarding unit of forwarding unit, between the identical SDN controller in region and forwarding unit, the target forwarding unit that SDN controller mates is determined according to hash algorithm, in the result of described coupling, determine the target forwarding unit mated with this equipment.
9. device according to claim 8, is characterized in that,
When there is affiliated area with the SDN controller that all forwarding unit affiliated areas are all not identical, described target determination unit, specifically between a described SDN controller and all forwarding units, determine according to hash algorithm the target forwarding unit that a described SDN controller mates;
When there is affiliated area first forwarding unit all not identical with all SDN controller affiliated areas, described target determination unit, specifically between described first forwarding unit and all SDN controllers, determine according to hash algorithm the SDN controller that described first forwarding unit mates;
When there is an affiliated area SDN controller all not identical with all forwarding unit affiliated areas and there is affiliated area first forwarding unit all not identical with all SDN controller affiliated areas, described target determination unit, specifically between a described SDN controller and described first forwarding unit, determine according to hash algorithm the target forwarding unit that a described SDN controller mates.
10. device according to claim 8, it is characterized in that, when described area information comprises multiple area attribute, described target determination unit, specifically region corresponding for area attribute the highest for described multiple area attribute medium priorities of SDN controller is defined as the region belonging to SDN controller, region corresponding for area attribute the highest for described multiple area attribute medium priorities of forwarding unit is defined as the region belonging to forwarding unit.
11. devices according to claim 8, is characterized in that, described device also comprises:
Area update unit, when the area information for the target forwarding unit at this equipment connection upgrades, obtains the area information after the renewal of described target forwarding unit, determines the one or more regions belonging to described target forwarding unit according to the area information after renewal;
Described target determination unit, further according to hash algorithm, in the SDN controller identical with the target forwarding unit region after renewal, redefine the SDN controller that described target forwarding unit mates, and according to the result of mating, this equipment and described target forwarding unit disconnect.
12. devices according to claim 8, is characterized in that, described device also comprises:
Fault processing unit, during for breaking down at the SDN controller be connected with target forwarding unit, upgrading the area information of SDN controller, not comprising the area information of described fault SDN controller in the area information of the described SDN controller after renewal; According to hash algorithm, in the non-faulting SDN controller identical with described target forwarding unit region, redefine the SDN controller that described target forwarding unit mates.
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 true CN104901836A (en) | 2015-09-09 |
CN104901836B CN104901836B (en) | 2019-01-25 |
Family
ID=54034240
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510341734.0A Active 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) |
Cited By (3)
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 |
TWI687073B (en) * | 2017-09-06 | 2020-03-01 | 大陸商中國銀聯股份有限公司 | Regional interconnection controller, regional interconnection control method and computer storage medium |
CN111953787A (en) * | 2020-08-14 | 2020-11-17 | 浪潮电子信息产业股份有限公司 | Connection establishing method, device, equipment and readable storage medium |
Citations (3)
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 |
-
2015
- 2015-06-18 CN CN201510341734.0A patent/CN104901836B/en active Active
Patent Citations (3)
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 |
Cited By (3)
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 |
TWI687073B (en) * | 2017-09-06 | 2020-03-01 | 大陸商中國銀聯股份有限公司 | Regional interconnection controller, regional interconnection control method and computer storage medium |
CN111953787A (en) * | 2020-08-14 | 2020-11-17 | 浪潮电子信息产业股份有限公司 | Connection establishing method, device, equipment and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN104901836B (en) | 2019-01-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9161239B2 (en) | Network access point management | |
CN101325597B (en) | Method, apparatus and system for processing data | |
US8904055B2 (en) | Switching control device and switching control method | |
US7890617B2 (en) | Method, apparatus and system for serial attached SCSI (SAS) zoning management of a domain using end device grouping | |
CN105099789A (en) | Network element uploading method and equipment | |
US7003595B2 (en) | Information processing system and information processing method | |
US9319264B1 (en) | Networking systems with dynamically changing topologies | |
CN107589955B (en) | Method and system for upgrading double-CMC (carboxy methyl cellulose) firmware version | |
US20100115163A1 (en) | Method, apparatus and system for serial attached scsi (sas) zoning management of a domain using connector grouping | |
CN104486394B (en) | In-service Software Upgrade method and device | |
CN114650223B (en) | Network configuration method and device of Kubernetes cluster and electronic equipment | |
CN104901836A (en) | Cross-regional connection method and device for SDN controllers and forwarding equipment | |
JPWO2014128859A1 (en) | Switches and programs | |
EP2693343A1 (en) | Parallel processing system and parallel processing system operation method | |
US5764914A (en) | Network system for connecting to a network node from terminal | |
CN108536541B (en) | Process engine object processing method and device | |
US7330946B2 (en) | Data processing system | |
CN110851186A (en) | Network equipment restarting method and device, electronic equipment and readable storage medium | |
KR20150088462A (en) | Method for linking network device in cloud environment and apparatus therefor | |
EP3806350A1 (en) | Load control method, mobile platform, and computer readable storage medium | |
JPH0622028A (en) | Management system in communication network | |
EP3355480A1 (en) | Communication device, communication processing method, communication processing apparatus and communication system | |
US20170093957A1 (en) | Transmission apparatus and transmission method | |
JP6601198B2 (en) | Relay device, setting method, setting program, and information processing system | |
CN109343879A (en) | Control the method and server of application software upgrade |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No. Applicant after: Xinhua three Technology Co., Ltd. Address before: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No. Applicant before: Huasan Communication Technology Co., Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |