The content of the invention
Therefore, the technical problem to be solved in the present invention is to overcome and of the prior art both administrative section subdomain can not controlled
Device and directly administrative section network element defect, so as to provide a kind of route determining methods and controller based on layering multiple domain.
A kind of route determining methods based on layering multiple domain provided by the invention, it is characterised in that including:
Obtain the source node identification and destination node information in service request;
The type of the service request is determined according to the source node identification and destination node information;
The optimal path of route is determined according to the type of the service request.
Further, the type of the request includes same area service request and cross-domain service is asked.
It is described that route is determined most according to the type of the service request when the service request is same area service request
The step of shortest path, including:
It is determined that manage the controller of the source node and destination node;
The controller calculates at least one candidate road according to road construction demand, constraints and current network topological information
Footpath, and determine the path with minimum cost as optimal path from least one path candidate.
Further, when the source node and destination node directly manage by subdomain controller, the controller is controlled
At least one path candidate is calculated according to road construction demand, constraints and current network topological information, and from described at least one
The path with minimum cost is determined in bar path candidate as optimal path, including:
As the domain where top level control device determines the source node and destination node;
The subdomain controller in domain issues road construction signaling where the top level control device to the source node and destination node;
After the subdomain controller in domain receives road construction signaling where the source node and destination node, according to building for top level control device
Road demand, constraints and current network topological information calculate at least one path candidate;
The subdomain controller calculates the cost of at least one path candidate, and determines the path conduct of cost minimization
Optimal path, and return to the top level control device layer by layer recurrence to top layer global controller;
The optimal path is replied to access controller by the global controller.
Further, when the source node and destination node are directly managed by interlayer controller, the controller is according to building
Road demand, constraints and current network topological information calculate at least one path candidate, and from least one candidate
The path with minimum cost is determined in path as optimal path, including:
The controller of layer is according to road construction demand, constraints and current network topology where the source node and destination node
Information calculates at least one path candidate;
The controller of layer where the source node and destination node calculates the cost of at least one path candidate, and determines
The path of cost minimization as optimal path, and upwards layer by layer recurrence to top layer global controller;
The optimal path is replied to access controller by the global controller.
Further, when the service request is that cross-domain service is asked, the type according to the service request is true
Surely the step of optimal path routeing, including:
It is determined that manage the controller of the source node and destination node;
The border gateway nodes in domain where determining the source node and destination node, the controller is according to the borde gateway
Node and road construction demand, constraints and current network topological information calculate at least one path candidate, and from it is described to
Determine the path with minimum cost as optimal path in a few path candidate.
Further, when the source node and destination node directly manage by subdomain controller, the controller according to
Road construction demand, constraints and current network topological information calculate at least one path candidate, and are waited from described at least one
The step of path with minimum cost is as optimal path is determined in routing footpath, including:
The border gateway nodes GWs and GWd in domain where selecting the source node and destination node respectively by top level control device;
The top level control device determines the domain sequence between GWs and GWd border gateway nodes;
Border gateway nodes between selected traveled through adjacent domains are as the peer node for calculating road;
The subdomain controller in domain where the source node is sent to the top level control device calculates road request;
The top level control device is calculated extremely according to domain sequence and selected peer node based on current abstract network topology
A few path candidate, and issue road construction signaling to the subdomain controller of traversal;
After the subdomain controller of traversal receives road construction signaling, according to road construction demand, the constraints of the top level control device
Road construction in domain is carried out respectively with current network topological information;
The subdomain controller calculates the cost in institute's road construction footpath respectively, and returns to the top level control device recurrence is extremely layer by layer
The global controller of top layer;
The path cost information that the global controller is replied based on the subdomain controller that is traveled through, calculate described at least one
The cost of bar path candidate, and determine the path of cost minimization as optimal path;
The optimal path is replied to access controller by the global controller.
Further, when the source node and destination node directly manage by interlayer controller, the control control
Device processed according to road construction demand, constraints and current network topological information calculate at least one path candidate, and from it is described to
The step of path with minimum cost is as optimal path is determined in a few path candidate, including:
The border gateway nodes GWs and GWd in domain where selecting the source node and destination node respectively by top level control device;
The top level control device determines the domain sequence between GWs and GWd border gateway nodes;
Border gateway nodes between selected traveled through adjacent domains are as the peer node for calculating road;
The top level control device according to domain sequence and selected peer node, based on current part abstract network topology and
Part real network topology, calculates at least one path candidate, and issue road construction signaling to the subdomain controller of traversal;
After the subdomain controller of traversal receives road construction signaling, according to the road construction demand of top level control device, constraints and work as
Preceding network topological information carries out road construction in domain respectively;
The subdomain controller calculates the cost in institute's road construction footpath respectively, and returns to the top level control device recurrence is extremely layer by layer
The global controller of top layer;
The global controller is traveled through based on the path cost information that the subdomain controller traveled through is replied with when calculating road
The network element directly managed by top level control device cost information, calculate the cost of at least one path candidate, and determine
The path of cost minimization is as optimal path;
The optimal path is replied to access controller by the global controller.
Further, when one in the source node and destination node directly manages by subdomain controller, another is by upper
When layer controller directly manages, the control controller is believed according to road construction demand, constraints and current network topology
Breath calculates at least one path candidate, and determines the path with minimum cost as most from least one path candidate
The step of shortest path, including:
The border gateway nodes GWs and GWd in domain where selecting the source node and destination node respectively by top level control device;
The top level control device determines the domain sequence between GWs and GWd border gateway nodes;
Border gateway nodes between selected traveled through adjacent domains are as the peer node for calculating road;
The subdomain controller in domain where the source node is sent to the top level control device calculates road request;
The top level control device according to domain sequence and selected peer node, based on current part abstract network topology and
Part real network topology, calculates at least one path candidate, and issue road construction signaling to the subdomain controller of traversal;
After the subdomain controller of traversal receives road construction signaling, according to road construction demand, the constraints of the top level control device
Road construction in domain is carried out respectively with current network topological information;
The subdomain controller calculates the cost in institute's road construction footpath respectively, and returns to the top level control device recurrence is extremely layer by layer
The global controller of top layer;
The global controller is traveled through based on the path cost information that the subdomain controller traveled through is replied with when calculating road
The network element directly managed by top level control device cost information, calculate the cost of at least one path candidate, and determine
The path of cost minimization is as optimal path;
The optimal path is replied to access controller by the global controller.
Further, the optimal path of the cross-domain request is expressed as:
op(ns, nd)=op (ns, nbs)+op(nbs, nbd)+op(nbd,nd),
Wherein, op (ns, nd) represent source node nsWith destination node ndBetween optimal path, op (ns, nbs) represent source node
nsBorder gateway nodes n between adjacent domainsbsBetween optimal path, op (nbs, nbd) represent adjacent domains between borde gateway section
Point nbsBorder gateway nodes n between adjacent domainsbdBetween optimal path, op (nbd,nd) represent adjacent domains between borde gateway
Node nbdWith destination node ndBetween optimal path.
Correspondingly, the present invention also provides a kind of controller, it is characterised in that including:At least one processor and
The memory being connected with least one processor communication;Wherein, have can be by least one place for the memory storage
The instruction that device performs is managed, the instruction is by least one computing device, so that at least one computing device institute
The route determining methods based on layering multiple domain stated.
Technical solution of the present invention, have the following advantages that:By obtaining source node identification and destination node letter in service request
Breath, the type of service request is determined according to source node identification and destination node information, route is determined according to the type of service request
Optimal path, this method take into account the collaboration routing between multi-layer controller, can effectively improve the utilization rate of resource, reduce
The cost of controller.
Embodiment
Technical scheme is clearly and completely described below in conjunction with accompanying drawing, it is clear that described implementation
Example is part of the embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill
The every other embodiment that personnel are obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
In the description of the invention, it is necessary to which explanation, unless otherwise clearly defined and limited, term " connected ", " connects
Connect " it should be interpreted broadly, for example, it may be being fixedly connected or being detachably connected, or it is integrally connected;It can be machine
Tool connects or electrical connection;Can be joined directly together, can also be indirectly connected by intermediary, can also be two
The connection of element internal, can be wireless connection or wired connection.For the ordinary skill in the art,
The concrete meaning of above-mentioned term in the present invention can be understood with concrete condition.
As long as in addition, technical characteristic involved in invention described below different embodiments non-structure each other
It is be combined with each other into conflict can.
Fig. 1 shows the route system of a framework based on layering multiple domain SDON, and wherein top layer is global controller, the palm
Global abstract network view is held, control below includes N straton domain controllers, and N stratons domain controller manages respective domain respectively
Topology, subdomain controller only grasp the topology information of local domain, are realized and the control of other subdomains by being interacted with global controller
The information exchange of device, or the information exchange with other subdomain controllers is realized by interface.Network element node therein, both can be with
By subdomain controller management, can also directly be managed by its last layer manager.The present embodiment provides a kind of more based on being layered
The route determining methods in domain, are performed in unison with by controller noted above, as shown in Fig. 2 comprising the following steps:
S1:Obtain the source node identification and destination node information in service request;
When business, which arrives, carries out route calculation road, global controller obtains source node s and destination node d information first.
S2:The type of the service request is determined according to source node identification and destination node information;
The present embodiment multiple domain SDON network central controls device not only administrative section subdomain controller but also direct administrative section network element, root
Determine whether s and d nodes belong to same controller and directly manage according to source node s and destination node d information, judge that the business is
Belong to same area business or cross-domain service.Wherein, same area business is drawn according to whether s and d nodes are directly managed by interlayer controller
It is divided into two kinds of situations:1. s and d same areas and directly managed by subdomain controller;2. s is with d same areas and by N (N >=2) layer controller
Directly manage;Cross-domain service is divided into three kinds of situations according to whether s and d nodes are directly managed by interlayer controller:1. s and d across
Domain and directly managed by subdomain controller;2. s and d is cross-domain and is directly managed by interlayer controller;3. s is cross-domain with d, s (or
D) directly managed by subdomain controller, d (or s) is directly managed by interlayer controller.
S3:The optimal path of route is determined according to the type of service request.
According to the information of sourcesink node, determine that sourcesink node is direct by top level control device directly management or subdomain controller
Management, final to determine k bar path candidates, global controller selects the road of cost minimization by calculating the costs of k bar path candidates
Footpath is as optimal path.
The route determining methods based on layering multiple domain provided according to embodiments of the present invention, by obtaining in service request
Source node identification and destination node information, the type of service request is determined according to source node identification and destination node information, according to business
The type of request determines the optimal path of route, and this method take into account the collaboration routing between multi-layer controller, can be effective
The utilization rate of resource is improved, reduces the cost of controller.
The first situation, i.e., when service request is same area service request, above-mentioned steps S3 is specifically included:
S31:It is determined that manage the controller of the source node and destination node;
S32:The controller calculates at least one according to road construction demand, constraints and current network topological information and waited
Routing footpath, and determine the path with minimum cost as optimal path from least one path candidate.
Further, in same area service request when source node and destination node directly manage by subdomain controller, such as Fig. 3
Shown, above-mentioned steps S32 is specifically included:
S321a:As the domain where top level control device determines source node and destination node;
S321b:The subdomain controller in domain issues road construction signaling where top level control device to source node and destination node;
S321c:After the subdomain controller in domain receives road construction signaling where source node and destination node, according to top level control device
Road construction demand, constraints and current network topological information calculate at least one path candidate;
S321d:Subdomain controller calculates the cost of at least one path candidate, and determines the path of cost minimization as most
Shortest path, and return to top level control device layer by layer recurrence to top layer global controller;
S321e:Optimal path is replied to access controller by global controller.
Controller is the domain last layer manager where source node and destination node to the present embodiment at the middle and upper levels, for example, source node
It is N-1 layer controllers with the domain where destination node, then its top level control device is n-th layer controller, and top level control device is
N-th layer controller issues road construction signaling, the control of N-1 layers to the subdomain controller N-1 layer controllers in domain where s and d nodes
After device receives road construction signaling, according to the road construction demand, constraints and current network topological information of top level control device, control is utilized
Zhi Qisuan roads module calculates k bar path candidates;Subdomain controller can calculate the cost of k bar path candidates while road construction, lead to
The final path for determining cost minimization is as optimal path after crossing relatively.The controller in domain where access controller is included in s, directly
The controller of adapter reason s nodes, after determining optimal path, optimal path is replied to access controller by global controller.
With in domain request when source node and destination node are directly managed by interlayer controller, as shown in figure 4, above-mentioned steps
S32 is specifically included:
S322a:The controller of layer is opened up according to road construction demand, constraints and current network where source node and destination node
Flutter information and calculate at least one path candidate;
S322b:The controller of layer where source node and destination node calculates the cost of at least one path candidate, and determine into
This minimum path as optimal path, and upwards layer by layer recurrence to top layer global controller;
S322c:Optimal path is replied to access controller by global controller.
S and d nodes same area and directly managed by N (N >=2) layer controller, N (N >=2) layer controller in the present embodiment
According to road construction demand, constraints and current network topological information, directly perform controller and calculate road module, calculate k bars time
Routing footpath, the cost of k bar path candidates is calculated while road construction, the final path for determining cost minimization is as optimal path.
Second of situation, i.e., when service request is that cross-domain service is asked, above-mentioned steps S3 is specifically included:
S31’:It is determined that manage the controller of the source node and destination node;
S32’:The border gateway nodes in domain where determining source node and destination node, controller according to border gateway nodes with
And road construction demand, constraints and current network topological information calculate at least one path candidate, and from least one candidate
Determine the path with minimum cost as optimal path in path.
Further, in cross-domain request, when source node and destination node directly manage by subdomain controller, such as Fig. 5
Shown, above-mentioned steps S32 ' is specifically included:
S32’1a:The border gateway nodes GWs in domain where selecting source node and destination node respectively by top level control device and
GWd;
S32’1b:Top level control device determines the domain sequence between GWs and GWd border gateway nodes;
S32’1c:Border gateway nodes between selected traveled through adjacent domains are as the peer node for calculating road;
S32’1d:The subdomain controller in domain where source node is sent to upper strata controller calculates road request;
S32’1e:Top level control device is according to domain sequence and selected peer node, based on current abstract network topology meter
At least one path candidate is calculated, and road construction signaling is issued to the subdomain controller of traversal;
S32’1f:After the subdomain controller of traversal receives road construction signaling, according to the road construction demand of top level control device, constraint bar
Part and current network topological information carry out road construction in domain respectively;
S32’1g:Subdomain controller calculates the cost in institute's road construction footpath respectively, and returns to top level control device recurrence is extremely layer by layer
The global controller of top layer;
S32’1h:The path cost information that global controller is replied based on the subdomain controller traveled through, calculate at least one
The cost of bar path candidate, and determine the path of cost minimization as optimal path;
S32’1i:Optimal path is replied to access controller by global controller.
In the present embodiment, s nodes and d fathers of node controller are according to domain sequence and selected peer node, based on current
Abstract network topology, random to calculate k bar path candidates, the path cost information replied according to subdomain controller calculates k bars and waited
The cost in routing footpath, the minimum path of alternative costs is as optimal path.When cross-domain request finds optimal path, equity is utilized
Node improves the probability that selected path is optimal path, the border gateway nodes of so-called peer node, i.e. adjacent domains.Only
Suitable peer node can be found, it is possible to reach the result of global optimum.
In cross-domain request, when source node and destination node directly manage by interlayer controller, as shown in fig. 6, above-mentioned
Step S32 ' is specifically included:
S32’2a:The border gateway nodes GWs in domain where selecting source node and destination node respectively by top level control device and
GWd;
S32’2b:Top level control device determines the domain sequence between GWs and GWd border gateway nodes;
S32’2c:Border gateway nodes between selected traveled through adjacent domains are as the peer node for calculating road;
S32’2d:Top level control device is opened up according to domain sequence and selected peer node based on current part abstract network
, calculating at least one path candidate topological with part real network is flutterred, and road construction signaling is issued to the subdomain controller of traversal;
S32’2e:After the subdomain controller of traversal receives road construction signaling, according to the road construction demand of top level control device, constraint bar
Part and current network topological information carry out road construction in domain respectively;
S32’2f:Subdomain controller calculates the cost in institute's road construction footpath respectively, and returns to top level control device recurrence is extremely layer by layer
The global controller of top layer;
S32’2g:The path cost information and calculate road when institute time that global controller is replied based on the subdomain controller traveled through
The cost information for the network element directly managed by top level control device gone through, calculate at least one path candidate cost, and determine into
This minimum path is as optimal path;
S32’2h:Optimal path is replied to access controller by global controller.
In the present embodiment, because source node and destination node are directly managed by the manager of different layers, they are common
Last layer manager will be based on the part real network topology between the part abstract network topology inside current domain and network element
It is random to calculate k bar path candidates, and road construction signaling is issued to the subdomain controller of traversal, what the subdomain controller traveled through was replied
Path cost information and the cost information for calculating the network element directly managed by top level control device traveled through during road, calculate k bar candidates
The cost in path, the minimum path of alternative costs is as optimal path.
In cross-domain request, when one in source node and destination node directly manages by subdomain controller, another is by upper
When layer controller directly manages, as shown in fig. 7, above-mentioned steps S32 ' is specifically included:
S32’3a:The border gateway nodes GWs in domain where selecting the source node and destination node respectively by top level control device
And GWd;
S32’3b:Top level control device determines the domain sequence between GWs and GWd border gateway nodes;
S32’3c:Border gateway nodes between selected traveled through adjacent domains are as the peer node for calculating road;
S32’3d:The subdomain controller in domain where source node is sent to the top level control device calculates road request;
S32’3e:Top level control device is opened up according to domain sequence and selected peer node based on current part abstract network
, calculating at least one path candidate topological with part real network is flutterred, and road construction signaling is issued to the subdomain controller of traversal;
S32’3f:After the subdomain controller of traversal receives road construction signaling, according to the road construction demand of top level control device, constraint bar
Part and current network topological information carry out road construction in domain respectively;
S32’3g:Subdomain controller calculates the cost in institute's road construction footpath respectively, and returns to top level control device recurrence is extremely layer by layer
The global controller of top layer;
S32’3h:The path cost information and calculate road when institute time that global controller is replied based on the subdomain controller traveled through
The cost information for the network element directly managed by top level control device gone through, calculate at least one path candidate cost, and determine into
This minimum path is as optimal path;
S32’3i:Optimal path is replied to access controller by global controller.
S nodes (or d) are directly managed by subdomain controller in the present embodiment, and d nodes (or s) are directly managed by interlayer controller
During reason, the subdomain controller in domain is to upper strata controller from where s nodes, by their common upper level controllers based on current
Part abstract network topology and the random calculating k bar path candidates of part real network topology, based on the subdomain controller traveled through
The path cost information of reply and the cost information for calculating the network element directly managed by top level control device traveled through during road, calculate k
The cost of bar path candidate, the path of final choice cost minimization is as optimal path.
As a preferred embodiment, the optimal path of cross-domain request can be expressed as in the present embodiment:
op(ns, nd)=op (ns, nbs)+op(nbs, nbd)+op(nbd,nd),
Wherein, op (ns, nd) represent source node nsWith destination node ndBetween optimal path, op (ns, nbs) represent source node
nsBorder gateway nodes n between adjacent domainsbsBetween optimal path, op (nbs, nbd) represent adjacent domains between borde gateway section
Point nbsBorder gateway nodes n between adjacent domainsbdBetween optimal path, op (nbd,nd) represent adjacent domains between borde gateway
Node nbdWith destination node ndBetween optimal path.
If entrance domain includes m border gateway nodes, outlet domain includes n border gateway nodes, then at most existed
M*n peer node.When calculating road, each pair peer node can realize that the probability in global optimum path is 1/m*n, if selection k
K bar path candidates i.e. are established to peer node, then according to the cost function per paths, select optimal path, global optimum
Probability bring up to 1- (1-1/m*n)k, it is as a result bigger for the probability of global optimum so that with k increase, specifically calculated in domain
Roadbed calculates road module in controller.
Correspondingly, the present embodiment also includes a kind of controller, as shown in figure 8, including:At least one processor 210 and
The memory 220 being connected with least one processor communication;Wherein, have can be by least one computing device for memory storage
Instruction, is instructed by least one computing device, so that route determination side of at least one computing device based on layering multiple domain
Method.The system can also include:Input block 230.
Processor 210, memory 220, input block 230 can be connected by bus 200 or other modes, in Fig. 3
Exemplified by being connected by bus 200.
Memory 220 is used as a kind of non-transient computer readable storage medium storing program for executing, available for storing non-transient software program, non-
Transient computer executable program and module, as corresponding to the method for shortest path between the determination power equipment in the present embodiment
Programmed instruction/module.
Processor 210 is stored in non-transient software program, instruction and module in memory 220 by operation, so as to
Method in the various function application of execute server and data processing, i.e. the present embodiment.
Input block 230 can receive the numeral or character information of input, and produce the processing unit with list items operation
User set and function control it is relevant key signals input.
One or more of modules are stored in the memory 220, when by one or more of processors
During 210 execution, method as shown in Figure 2 is performed.
The said goods can perform the method that the embodiment of the present invention is provided, and possesses the corresponding functional module of execution method and has
Beneficial effect.The ins and outs of detailed description, the correlation that for details, reference can be made in embodiment as shown in Figure 2 are not retouched in the present embodiment
State.
Obviously, above-described embodiment is only intended to clearly illustrate example, and is not the restriction to embodiment.It is right
For those of ordinary skill in the art, can also make on the basis of the above description it is other it is various forms of change or
Change.There is no necessity and possibility to exhaust all the enbodiments.And the obvious change thus extended out or
Among changing still in the protection domain of the invention.