CN109818865A - A kind of SDN enhancing path boxing apparatus and method - Google Patents

A kind of SDN enhancing path boxing apparatus and method Download PDF

Info

Publication number
CN109818865A
CN109818865A CN201910182584.1A CN201910182584A CN109818865A CN 109818865 A CN109818865 A CN 109818865A CN 201910182584 A CN201910182584 A CN 201910182584A CN 109818865 A CN109818865 A CN 109818865A
Authority
CN
China
Prior art keywords
business
network
path
particle
sdn
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
Application number
CN201910182584.1A
Other languages
Chinese (zh)
Other versions
CN109818865B (en
Inventor
王士昭
周睿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiangsu Junying Tianda Artificial Intelligence Research Institute Co Ltd
Original Assignee
Jiangsu Junying Tianda Artificial Intelligence Research Institute Co Ltd
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 Jiangsu Junying Tianda Artificial Intelligence Research Institute Co Ltd filed Critical Jiangsu Junying Tianda Artificial Intelligence Research Institute Co Ltd
Priority to CN201910182584.1A priority Critical patent/CN109818865B/en
Publication of CN109818865A publication Critical patent/CN109818865A/en
Priority to PCT/CN2019/107872 priority patent/WO2020181761A1/en
Application granted granted Critical
Publication of CN109818865B publication Critical patent/CN109818865B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models

Abstract

A kind of SDN enhancing path boxing apparatus and method, for solving based on the bin packing occurred in SDN controller path-calculating element.The present invention has comprehensively considered the relevant constraints such as bandwidth resources in communication network, disturbance, time delay, use particle swarm algorithm, in conjunction with SDN controller network topology planning module the relevant technologies, intelligent adjustment service path planning provides vanning scheme to purport in new business bandwidth resources deficiency situation in a network, belongs to telecommunication network intelligent algorithm optimization field.Main innovation point includes: 1, the layout scheme of network vanning business based on SDN technology;2, the network service scheduling based on SDN is introduced in vanning decision model;3, network global bandwidth utilization rate is improved using particle swarm algorithm model.

Description

A kind of SDN enhancing path boxing apparatus and method
Technical field
The invention belongs to telecommunication network intelligent algorithms to optimize field, and in particular to a kind of SDN enhancing path boxing apparatus and Method.
Background technique
Under present communications network environment, bandwidth resources are the resources of most critical in network.When network load is unbalanced, i.e., Localized network bandwidth utilization rate is excessively high in network, and rest part bandwidth utilization rate is too low, can cause unnecessary network congestion And the wasting of resources, and appearing in can not be legal to Added Business calculating in the current enough situations of overall network bandwidth resources Path.In order to realize the resource rational utilization of network, it can be used and be distributed by the resource of some intelligent algorithm regulating networks, and Optimal path allocation scheme is calculated, i.e. global optimization adjustment has disposed the communication link of business in a network, risen whole net New business is able to the Internet resources disposed out, and to the rate of excitation of whole network service minimum.
In traditional router solution, the calculating of service path mainly passes through hop count, delay, shared bandwidth resources With link cost be constraint under conditions of shortest-path first algorithm realize.The defect of traditional scheme is: if (1) from The flow of one source node to destination node has been more than the capacity of shortest path, and shortest path will become congestion, but simultaneously this two There may be a longer path not used sufficiently between point;(2) in the shortest path from not source node at one In the case that chain road is overlapped, if the total flow for passing through the link has been more than the capacity of the link, congestion will occur. With the increase of networking client, existing network size is skyrocketed through, and network congestion is also further serious.
Particle swarm algorithm (Particle swarm optimization, PSO) is the optimization algorithm based on population.It has Have fast convergence and it is easy to operate the features such as, be used widely in numerous areas such as engineering, economic managements, become intelligence computation The new hot spot of area research.Particle swarm optimization algorithm is that one kind is succinct with form, convergence is quick and parameter adjustment mechanism is flexible The advantages that evolution algorithm, and be successfully applied to single-object problem, it is considered to be solve multi-objective optimization question One of most potential method.
Summary of the invention
The present invention aiming at the shortcomings in the prior art, provides a kind of SDN enhancing path boxing apparatus and method, solve towards The technical issues of network load Added Business is cased in SDN communication network.
To achieve the above object, the invention adopts the following technical scheme:
A kind of SDN enhancing path boxing apparatus characterized by comprising network service control centre, the network service Control centre is that the module of Base communication and management function is provided for system, and core component is SDN controller;Network service tune The component interface at degree center includes: the northbound interface for transmitting customized parameter, for transmitting packet-in or packet- The packet interfaces of out message, for issuing flow table or forwarding the flow table interface of flow table, for obtaining the interface of network topology; The functional module of network service control centre includes: network topology identification module, business load evaluation module, network router-level topology Module;
The business load evaluation module is assessed the indication information entered in network, real by big data technology It is existing, a set of operational indicator large database concept is constructed in network service control centre, thus according to business information rapid evaluation business Index;
The routing calculation module is network-based topology information and Network Security Device information, calculates one from number According to traffic ingress to forwarding device, then the flow path exported to data traffic.
To optimize above-mentioned technical proposal, the concrete measure taken further include:
Further, the SDN controller uses Floodlight, POX or NOX;The indication information includes data flow Size, time delay, the transmission rate of amount.
Meanwhile the invention also provides a kind of packing method of SDN enhancing path boxing apparatus as described above, features It is, includes the following steps:
Step 1: the data traffic of Added Business needs to request the Internet resources in production environment in the network of work at present When, if the case where inadequate resource, sending newly-increased network service to network service control centre and loading request, network service scheduling After center receives business loading request, starting network service path vanning mechanism;
Step 2: after starting network service path vanning mechanism, OpenFlow interchanger is to network service control centre In business load evaluation module send data traffic mirror image, distinguishing indexes information;
Step 3: after the SDN controller in network service control centre receives business loading request by northbound interface, Traffic ingress, flowexit and carry Network switch nodes into network issue mirror image flow table;
Step 4: operation k shortest path first is every and the business disposed is needed to calculate a plurality of backup path, then will These backup paths run particle swarm algorithm as input again, calculate the preferred plan for placing new business into network, protect Demonstrate,proving new business can be added in SDN network, while small as far as possible to business disturbance has been disposed;
Step 5: after network service control centre calculates the scheduling routing of outflow, by SDN controller by flow table issuance On OpenFolw interchanger on to the routing, the data transfer equipment in routing is connected into a data link;
Step 6: after receiving flow table, data traffic is drained to corresponding switch device by OpenFlow interchanger On, interchanger adjustment is unsatisfactory for the path of desired Business Stream, modifies the flow entry for the SDN switch that the Business Stream is passed through, Simultaneously by newly added sending down service to the forwarding in the flow table of respective switch, allowing the interchanger to complete new business.
To optimize above-mentioned technical proposal, the concrete measure taken further include:
Further, the calculating backup path in the step 4, referring to increasing one or more business newly can not be straight When socket part is affixed one's name to, new business is cased into production network by the global adaptation based on particle swarm algorithm.
Further, the particle swarm algorithm in the step 4, specific as follows:
The coding mode of population uses natural number coding, and code length is only related to business number, spare with business Path number is unrelated in path set, and the backup path number of business is only related to solution space, the position x of a particleiIt is by each The backup path collection of a business selects a paths to constitute at random, in the position of i-th of particle representative of population, business k Select that backup path is concentratedA routing, then
In this D dimension space, m particle is shared, i.e. the scale of population is m;The position particle i:Particle i speed:1≤i≤m;The history desired positions that particle i is lived through:The desired positions that all particles are lived through in group:
There are two data fields of p array and v array in particle swarm algorithm in individual Position, respectively represents position and speed Degree, p array represent the position currently solved, Xie Wei n dimension, and n represents existing number of services;Reality of the particle swarm algorithm to bin packing It is now that global adaptation is carried out to the backup path in existing net, the length of solution is identical with the existing number of network service, solves corresponding position Numerical value refers to that the operating path of corresponding service chooses (0 ..., n), and algorithm steps are as follows:
Step 1) initializes population, and each position of array takes 0~n, n to indicate the quantity of current business at random, solution Dimension is determined by number of services;
Step 2) is according to the pBest of velocity location iterative formula more new individuali, gBest is updated further according to the overall situation, wherein pBestiIndicate individual particles i history optimal solution, gBest indicates current global optimal solution;
Step 3) enters iterative cycles, jumps out circulation when solving convergence;
Step 4) exports optimal solution gBest;
Final solution is exactly path sequence number in existing net, and fitness function is determined by disturbance number in iterative process.
Meanwhile the invention also provides a kind of packing method of SDN enhancing path boxing apparatus as described above, features It is, includes the following steps:
Step 101: new business enters system, when first data grouping of a new business enters SDN, reaches SDN Interchanger executes step 102;
The data grouping or data packet header are sent to SDN controller by step 102:SDN interchanger, execute step 104;
Step 103:SDN controller collects all business information and resource information in the network of its control, comprising: hands over The service condition of flow entry, network node resource, the bandwidth availability ratio of link, the topology of business and the money of business in changing planes Source demand, enters step 105;
Step 104:SDN controller starts PCE, calculates the road that the business needs to pass through by calculating or tactical management The routing information of the business is added in the flow entry of SDN switch by diameter if successfully calculating outbound path, completes the industry The deployment of business;If SDN controller can not find suitable routed path, step 103 is executed;
Step 105:SDN controller starts PCE, runs a plurality of backup path that genetic algorithm generates every business first, Then particle swarm algorithm is reused using these paths as input, calculates the best side being placed into these business in network Case, to guarantee that new business can be added in SDN network, and it is minimum to the disturbance of other business in network, realize load Equilibrium enters step 106;
Calculated new configuration information is transferred to the SDN switch in network by step 106:SDN controller, into step Rapid 107;
After step 107:SDN interchanger receives configuration information, adjustment is unsatisfactory for the path of desired Business Stream, modifies the industry The flow entry of passed through SDN switch is flowed in business, while newly added sending down service is allowed this in the flow table of respective switch The forwarding of interchanger completion new business;
Step 108: completing the deployment of new business and complete the load balancing of SDN network.
Meanwhile the invention also provides a kind of packing method of SDN enhancing path boxing apparatus as described above, features It is, includes the following steps:
Step 201: Added Business enters in network and requests Internet resources, firstly evaluates each item constraint item of Added Business Part and required resource situation;
Step 202: load evaluation, starting network service vanning before first determine whether current residual Internet resources whether Meet the direct calculating in Added Business path, if resource satisfaction enters step 203;
Step 203: path computing, operation ksp algorithm calculate the path of Added Business, are meeting all-network resource peace treaty Both Added Business path can be directly calculated when beam condition;
Step 204: incasement operation calls that is, when the resources supplIes of current network are not able to satisfy the demand of Added Business Bin packing algorithm adjusts the business disposed to meet the resource requirement of Added Business;
Step 205: network service path adjustment, adjustment finish all old business and for Added Business calculate it is all can After set of paths, starts the old business and newly-increased business that formal deployment needs to adjust, complete entire incasement operation.
To optimize above-mentioned technical proposal, the concrete measure taken further include:
Further, in the step 204, bin packing is solved using particle swarm algorithm, the specific steps are as follows:
Step 301: initialization a group particle, population size m, including random site p and speed v;
Step 302: evaluating the fitness fitness of each particle;
Step 303: to each particle, by its target function value compared with its desired positions passed through pBest, if compared with It is good, then as current desired positions pBest;
Step 304: finding the highest particle of target function value, i.e., best position gBest in current population;
Step 305: adjusting particle speed and position according to the following formula;
In formula, t indicates the number of iterations, and ω indicates inertia weight, c1、c2Indicate accelerator coefficient, respectively indicate individual study because Son and social learning's factor, ri、r2Indicate equally distributed random number, pBest on [0,1]iIndicate the history of individual particles i Optimal solution, gBest indicate current global optimal solution, vi(i) speed of particle i when the number of iterations is t, v are indicatedi(t+1) it indicates The speed of particle i, x when the number of iterations is t+1i(t) position of particle i when the number of iterations is t, x are indicatedi(t+1) iteration time is indicated The position of particle i when number is t+1;
Step 306: not up to termination condition then goes to step 302, and stopping criterion for iteration is selected as maximum according to particular problem and changes The optimal location that generation number or Particle Swarm search so far meets predetermined minimum adaptation threshold value;
It is solved in optimization problem with particle swarm algorithm, particle is made of position vector and velocity vector, according to objective function To calculate the adaptive value of current position;In each speed iteration, particle according to the history of oneself in addition to preferably recording Except being learnt, learnt also according to particle optimal in current population, is flown so that it is determined that how to adjust next time and change Capable speed, direction finally determine that the particle completes the position vector after an iteration;
In population bin packing algorithm, the quality between particle position is compared by target value, every generation population pBestiAnd it gBest and updates by comparing the target function value between particle;It is required under present networks problem model It can ask minimum by the ratio of disturbance business number and total business number, therefore choose following objective function:
In formula, θ is the rate of excitation that business is subject to;As ω > 1, indicate link bandwidth overload, i.e., current network resources without Method carries all business now netted, so such particle objective function is set as -1, when a particle target function value is -1 When, this particle is exactly infeasible solution.
The beneficial effects of the present invention are: proposing a kind of enhancing path based in SDN controller based on particle swarm algorithm Packing method obtains a kind of efficient path loading strategy, Neng Gou in conjunction with the flexible deployment ability of SDN path-calculating element In the complex network environment of multiple constraint, personalized service deployment service is provided, meanwhile, by calculating lower network cost most Shortest path improves the router-level topology efficiency and overall bandwidth resource utilization of network service.
Detailed description of the invention
Fig. 1 is SDN network enhancing path bin packing basic framework figure.
Fig. 2 is packing method flow chart.
Fig. 3 is the flow diagram that particle swarm algorithm solves bin packing.
Specific embodiment
In conjunction with the accompanying drawings, the present invention is further explained in detail.
A kind of SDN provided by the invention enhances path boxing apparatus, comprising:
Network service control centre refers to providing the module of Base communication and management function, core component for system It is SDN controller, such as Floodlight, POX, NOX.Component interface specifically includes that the 1, north orientation for transmitting customized parameter Interface;2, for transmitting the packet interfaces of packet-in packet-out message;3, for issuing flow table or forwarding flow The flow table interface of table;4, for obtaining the interface of network topology.Its main functional module includes: the identification of network topology, industry Business load evaluation, network router-level topology etc..
Business load assessment refers to commenting the indication informations such as size, the time delay of data traffic entered in network Estimate, which can realize using by technologies such as existing big datas, and a set of industry is constructed in network service control centre Business index large database concept, so as to according to business information rapid evaluation operational indicator.
Router-level topology refers to network-based topology information and Network Security Device information, calculates one from data Traffic ingress is to forwarding device, then the flow path exported to data traffic.
A kind of SDN provided by the invention enhances path packing method, comprising:
Step 1: the data traffic of Added Business needs to request the Internet resources in production environment in the network of work at present When, if the case where inadequate resource, newly-increased network service at this time being sent to network service control centre and loads request, network It, will starting network service path vanning mechanism after traffic scheduling center receives business loading request.
Step 2: after starting network service path vanning mechanism, OpenFlow interchanger will be into network service scheduling Business load evaluation module in the heart sends data traffic mirror image, identifies the indication informations such as size, the transmission rate of data traffic.
Step 3: after the SDN controller in network service control centre receives business loading request by northbound interface, Traffic ingress, flowexit and carry Network switch nodes into network issue mirror image flow table.
Step 4: operation k shortest path first is every and the business disposed is needed to calculate a plurality of backup path, then will These backup paths run particle swarm algorithm as input again, calculate the preferred plan for placing new business into network, protect Demonstrate,proving new business can be added in SDN network, while small as far as possible to business disturbance has been disposed.Wherein, spare road is calculated When diameter refers to that increasing one or more business newly can not directly dispose, by the global adaptation based on particle swarm algorithm by new industry Business vanning is into production network.
Step 5: after network service control centre calculates the scheduling routing of outflow, by SDN controller by flow table issuance On OpenFolw interchanger on to the routing, the data transfer equipment in routing is connected into a data link.
Step 6: after receiving flow table, data traffic is drained to corresponding switch device by OpenFlow interchanger On, interchanger adjustment is unsatisfactory for the path of desired Business Stream, modifies the flow entry for the SDN switch that the Business Stream is passed through, Simultaneously by newly added sending down service to the forwarding in the flow table of respective switch, allowing the interchanger to complete new business.
Before the above method, business load optimization is carried out, basic step is as follows:
A, Added Business data input: occurring new flow business demand in network, the measurement of Network status includes logarithm According to being pre-processed, such as the bandwidth resources of network, number of nodes, time delay etc.;On the other hand it will fill to having calculated outbound path It is loaded into the data analysis of the business into network, such as start node, the tool of the link bandwidth needed and hop count no more than etc. Body description.
B, optimization aim establishment, modeling and analysis: to actual network characteristic and flow business feature founding mathematical models, Where finding out the factor for influencing network performance, network performance, network operation control, network design are promoted.
C, optimum results are exported: on abstract and analysis foundation, controlling behavior pair is being passed through to current network and transmission demand Deployed service path is adjusted, and reaches the optimal target of global load balancing.
The path SDN enhancing packing method of the invention and device are extracted, deployment by Added Business request, business constraint Traffic scheduling issues triggering vanning mechanism;Then k shortest path first generates backup path, then calculates industry based on particle swarm algorithm Business flow loading strategy;Complete issuing for scheduling strategy in last traffic scheduling center.More than packing method direct in conventional method Further, the load disturbance degree that can more easily understand and compare business vanning front and back network, can accomplish balanced, low disturb Dynamic vanning.
The currently used coding techniques of the coding mode of population has a binary coding, natural number coding, floating-point encoding, Character code etc..Here gather bin packing proposed in this paper using natural number coding, code length and business number Correlation concentrates path number unrelated with the backup path of business, and the backup path number of business is only related to solution space.One grain The position x of soniIt is to select a paths to constitute at random by the backup path collection of each business, such as in i-th of particle of population In the position of representative, in the trim set of business k selection theA routing, then
In this D dimension space, m particle is shared, i.e. the scale of population is m;The position particle i:Particle i speed:The history desired positions that 1≤i≤m, particle i are lived through:The desired positions that all particles are lived through in group (or in field):
There are two data fields of p array and v array in particle swarm algorithm in individual Position, respectively represents position and speed Degree, p array represent the position currently solved, and solution is that n is tieed up in this algorithm, and n represents existing number of services;Particle swarm algorithm is to dress The realization of case problem is based on previously mentioned vanning model, is equally to carry out global adaptation to the backup path in existing net, solution Length is identical with the existing number of network service, and the numerical value for solving corresponding position refers to that the operating path of corresponding service chooses (0 ..., n), Algorithm steps are as follows:
Step 1) initializes population, and each position of array takes 0~n, n to indicate the quantity of current business at random, solution Dimension is determined by number of services.
Step 2) is according to the pBest of velocity location iterative formula more new individuali, gBest is updated further according to the overall situation, wherein pBestiIndicate individual particles i history optimal solution, gBest indicates current global optimal solution.
Step 3) enters iterative cycles, jumps out circulation when solving convergence.
Step 4) exports optimal solution gBest.
Final solution is exactly path sequence number in existing net, and fitness function is determined by disturbance number in iterative process.
Since rate of excitation is objective function in this problem, so the work at present routing information element of existing network service is set as 1.5, other backup paths are set as 1, can increase the probability for choosing work at present path in this way, can accelerate to restrain.
Fig. 1 gives SDN network enhancing path bin packing basic framework figure.As shown in the figure, a simplification is used Model be explicitly described the packing method in the present invention, SDN network enhances the execution of path bin packing basic framework Journey is divided into the following steps:
Step 101: new business enters system;When first data grouping of one new business enters SDN, SDN is reached Interchanger executes step 102.
The data grouping or data packet header are sent to SDN controller by step 102:SDN interchanger, execute step 104。
Step 103:SDN controller collects all business information and resource information in the network of its control: interchanger In flow entry, the service condition of network node resource, the bandwidth availability ratio of link, the topology of business and business resource need It asks.Enter step 105.
Step 104:SDN controller starts PCE, calculates the road that the business needs to pass through by calculating or tactical management The routing information of the business is added in the flow entry of SDN switch by diameter if successfully calculating outbound path, completes the industry The deployment of business;If SDN controller can not find suitable routed path, step 103 is executed.
Step 105:SDN controller starts PCE, runs a plurality of backup path that genetic algorithm generates every business first, Then particle swarm algorithm is reused using these paths as input, calculates the best side being placed into these business in network Case, to guarantee that new business can be added in SDN network, and it is minimum to the disturbance of other business in network, realize load Equilibrium enters step 106.
Calculated new configuration information is transferred to the SDN switch in network by step 106:SDN controller, into step Rapid 107.
After step 107:SDN interchanger receives configuration information, adjustment is unsatisfactory for the path of desired Business Stream, modifies the industry The flow entry of passed through SDN switch is flowed in business, while newly added sending down service is allowed this in the flow table of respective switch The forwarding of interchanger completion new business.
Step 108: completing the deployment of new business and complete the load balancing of SDN network.
Fig. 2 gives the flow chart of the packing method in the present invention, is specifically divided into the following steps:
Step 201: Added Business enters in network and requests Internet resources, firstly evaluates each item constraint item of Added Business Part and required resource situation.
Step 202: load evaluation, starting network service vanning before first determine whether current residual Internet resources whether Meet the direct calculating in Added Business path, if resource satisfaction enters step 203.
Step 203: path computing, operation ksp algorithm calculate the path of Added Business, are meeting all-network resource peace treaty Added Business path can be directly calculated when beam condition.
Step 204: incasement operation calls that is, when the resources supplIes of current network are not able to satisfy the demand of Added Business The bin packing algorithm of this paper adjusts the business disposed to meet the resource requirement of Added Business.
Step 205: network service path adjustment, adjustment finish all old business and for Added Business calculate it is all can After set of paths, starts the old business and newly-increased business that formal deployment needs to adjust, complete entire incasement operation.
Fig. 3 gives the flow diagram that particle swarm algorithm solves bin packing, is specifically divided into the following steps:
Step 301: initialization a group particle (population size m), including random site p and speed v.
Step 302: evaluating the fitness fitness of each particle.
Step 303: to each particle, by its target function value compared with its desired positions passed through pBest, if compared with It is good, then as current desired positions pBest.
Step 304: finding position gBest best in the i.e. current population of the highest particle of target function value.
Step 305: particle speed and position are adjusted according to formula:
In formula, t indicates the number of iterations, and ω indicates inertia weight, c1、c2Indicate accelerator coefficient, respectively indicate individual study because Son and social learning's factor, r1、r2Indicate equally distributed random number, pBest on [0,1]iIndicate individual particles i history most Excellent solution, gBest indicate current global optimal solution;vi(t) speed of particle i when the number of iterations is t, v are indicatedi(t+1) it indicates to change The speed of particle i when generation number is t+1;xi(t) position of particle i when the number of iterations is t, x are indicatedi(t+1) the number of iterations is indicated The position of particle i when for t+1.
Step 306: not up to termination condition then goes to step 302.
Stopping criterion for iteration according to particular problem is typically chosen as maximum number of iterations or Particle Swarm searches so far Optimal location meets predetermined minimum adaptation threshold value.
It is solved in optimization problem with particle swarm algorithm, particle is by position vector (particle is in the position of solution space) and speed Vector constitutes (direction and the speed that determine flight next time), and the adaptive value that current position is calculated according to objective function (can To be interpreted as distance of the small bird apart from food).In each speed iteration, particle according to the history of oneself in addition to can preferably record Except being learnt, it can also be learnt according to particle optimal in current population, so that it is determined that how next time adjusts and change The speed of flight, direction finally determine that the particle completes the position vector after an iteration.
In population bin packing algorithm, what the quality between particle position was compared by target value, every generation population PBestiAnd it gBest and updates by comparing the target function value between particle.Under present networks problem model It is required to ask minimum by the ratio of disturbance business number and total business number, therefore chooses following objective function:
In formula, θ is the rate of excitation that business is subject to.It is necessary to be noted that indicating that link bandwidth is super as ω > 1 It carries, i.e., current network resources can not carry all business of existing net, so such particle objective function is set as -1, when one When particle target function value is -1, this particle is exactly infeasible solution.
In this case, load balancing is not only met by PSO Algorithm out, but also is able to satisfy Added Business deployment Solution.Above-mentioned optimization problem is substantially NP-hard problem, and solution is extremely difficult, and is not had also at present There is suitable multinomial algorithm to solve this problem, generally tends to comprehensively consider efficiency of algorithm and optimum results in engineering, seek Seek the satisfactory solution of problem.The problem of this kind of multiple shot array of traditional Optimization Method such as branch-and-bound, Dynamic Programming, even if right In the lesser problem of scale, operation time is also to be difficult to receive, needless to say for fairly large practical problem.Cause This, people generally use heuritic approach to solve real-life complete problem.The characteristics of above-mentioned optimization problem is search Space is big, it is contemplated that using can be solved with the particle swarm algorithm of fast convergence.
The above is only the preferred embodiment of the present invention, protection scope of the present invention is not limited merely to above-described embodiment, All technical solutions belonged under thinking of the present invention all belong to the scope of protection of the present invention.It should be pointed out that for the art For those of ordinary skill, several improvements and modifications without departing from the principles of the present invention should be regarded as protection of the invention Range.

Claims (8)

1. a kind of SDN enhances path boxing apparatus characterized by comprising network service control centre, the network service tune Degree center is that the module of Base communication and management function is provided for system, and core component is SDN controller;Network service scheduling The component interface at center includes: the northbound interface for transmitting customized parameter, for transmitting packet-in or packet-out The packet interfaces of message, for issuing flow table or forwarding the flow table interface of flow table, for obtaining the interface of network topology;Network The functional module at traffic scheduling center includes: network topology identification module, business load evaluation module, network router-level topology mould Block;
The business load evaluation module is assessed the indication information entered in network, is realized by big data technology, A set of operational indicator large database concept is constructed in network service control centre, thus according to business information rapid evaluation operational indicator Property;
The routing calculation module is network-based topology information and Network Security Device information, calculates one from data flow Entrance is measured to forwarding device, then the flow path exported to data traffic.
2. a kind of SDN as described in claim 1 enhances path boxing apparatus, it is characterised in that: the SDN controller uses Floodlight, POX or NOX;The indication information includes the size, time delay, transmission rate of data traffic.
3. a kind of packing method of SDN enhancing path boxing apparatus as described in claim 1, which is characterized in that including as follows Step:
Step 1: when the data traffic of Added Business needs to request the Internet resources in production environment in the network of work at present, If the case where inadequate resource, newly-increased network service loading is sent to network service control centre and is requested, in network service scheduling After the heart receives business loading request, starting network service path vanning mechanism;
Step 2: after starting network service path vanning mechanism, OpenFlow interchanger is into network service control centre Business load evaluation module sends data traffic mirror image, distinguishing indexes information;
Step 3: after the SDN controller in network service control centre receives business loading request by northbound interface, to net Traffic ingress, flowexit and carry Network switch nodes in network issue mirror image flow table;
Step 4: operation k shortest path first is every and the business disposed is needed to calculate a plurality of backup path, then by these Backup path runs particle swarm algorithm as input again, calculates the preferred plan for placing new business into network, guarantees new Business can be added in SDN network, while to disposed business disturbance it is small as far as possible;
Step 5: network service control centre calculate outflow scheduling routing after, by SDN controller by flow table issuance arrive this On OpenFolw interchanger in routing, the data transfer equipment in routing is connected into a data link;
Step 6: after receiving flow table, data traffic is drained on corresponding switch device by OpenFlow interchanger, is handed over Adjustment of changing planes is unsatisfactory for the path of desired Business Stream, modifies the flow entry for the SDN switch that the Business Stream is passed through, and simultaneously will Newly added sending down service is to the forwarding in the flow table of respective switch, allowing the interchanger to complete new business.
4. packing method as claimed in claim 3, it is characterised in that: the calculating backup path in the step 4 refers to When increasing one or more business newly can not directly dispose, new business vanning is arrived by the global adaptation based on particle swarm algorithm It produces in network.
5. packing method as claimed in claim 4, it is characterised in that: the particle swarm algorithm in the step 4, specific as follows:
The coding mode of population uses natural number coding, code length, backup path with business related to business number Concentrate path number unrelated, the backup path number of business is only related to solution space, the position x of a particleiIt is by each industry The backup path collection of business selects a paths to constitute at random, in the position of i-th of particle representative of population, business k selection Backup path concentrate theA routing, then
In this D dimension space, m particle is shared, i.e. the scale of population is m;The position particle i:Grain Sub- i speed:The history desired positions that particle i is lived through:Group The desired positions that interior all particles are lived through:
There are two data fields of p array and v array in particle swarm algorithm in individual Position, respectively represents position and speed, p number Group represents the position currently solved, Xie Wei n dimension, and n represents existing number of services;Particle swarm algorithm is pair to the realization of bin packing Now the backup path in net carries out global adaptation, and the length of solution is identical with the existing number of network service, and the numerical value for solving corresponding position is Refer to that the operating path of corresponding service chooses (0 ..., n), algorithm steps are as follows:
Step 1) initializes population, and each position of array takes 0~n, n to indicate the quantity of current business, the dimension of solution at random It is determined by number of services;
Step 2) is according to the pBest of velocity location iterative formula more new individuali, gBest is updated further according to the overall situation, wherein pBesti Indicate individual particles i history optimal solution, gBest indicates current global optimal solution;
Step 3) enters iterative cycles, jumps out circulation when solving convergence;
Step 4) exports optimal solution gBest;
Final solution is exactly path sequence number in existing net, and fitness function is determined by disturbance number in iterative process.
6. a kind of packing method of SDN enhancing path boxing apparatus as described in claim 1, which is characterized in that including as follows Step:
Step 101: new business enters system, when first data grouping of a new business enters SDN, reaches SDN exchange Machine executes step 102;
The data grouping or data packet header are sent to SDN controller by step 102:SDN interchanger, execute step 104;
Step 103:SDN controller collects all business information and resource information in the network of its control, comprising: interchanger In flow entry, the service condition of network node resource, the bandwidth availability ratio of link, the topology of business and business resource need It asks, enters step 105;
Step 104:SDN controller starts PCE, calculates the path that the business needs to pass through by calculating or tactical management, such as Fruit successfully calculates outbound path, then the routing information of the business is added in the flow entry of SDN switch, completes the portion of the business Administration;If SDN controller can not find suitable routed path, step 103 is executed;
Step 105:SDN controller starts PCE, runs a plurality of backup path that genetic algorithm generates every business first, then Particle swarm algorithm is reused using these paths as input, calculates and these business is placed into the preferred plan in network, is come Guarantee that new business can be added in SDN network, and minimum to the disturbance of other business in network, realize load balancing, Enter step 106;
Calculated new configuration information is transferred to the SDN switch in network by step 106:SDN controller, is entered step 107;
After step 107:SDN interchanger receives configuration information, adjustment is unsatisfactory for the path of desired Business Stream, modifies the Business Stream The flow entry for the SDN switch passed through, while by newly added sending down service in the flow table of respective switch, allowing the exchange The forwarding of machine completion new business;
Step 108: completing the deployment of new business and complete the load balancing of SDN network.
7. a kind of packing method of SDN enhancing path boxing apparatus as described in claim 1, which is characterized in that including as follows Step:
Step 201: Added Business enters in network and requests Internet resources, firstly evaluate Added Business every constraint condition and Required resource situation;
Step 202: load evaluation first determines whether the Internet resources of current residual meet before starting network service vanning The direct calculating in Added Business path, if resource satisfaction enters step 203;
Step 203: path computing, operation ksp algorithm calculate the path of Added Business, are meeting all-network resource and constraint item Both Added Business path can be directly calculated when part;
Step 204: incasement operation calls vanning that is, when the resources supplIes of current network are not able to satisfy the demand of Added Business Algorithm adjusts the business disposed to meet the resource requirement of Added Business;
Step 205: the adjustment of network service path, adjustment finish all old business and calculate all available roads for Added Business After diameter set, starts the old business and newly-increased business that formal deployment needs to adjust, complete entire incasement operation.
8. packing method as claimed in claim 7, it is characterised in that: in the step 204, solve to fill using particle swarm algorithm Case problem, the specific steps are as follows:
Step 301: initialization a group particle, population size m, including random site p and speed v;
Step 302: evaluating the fitness fitness of each particle;
Step 303: to each particle, by its target function value compared with its desired positions passed through pBest, if preferably, As current desired positions pBest;
Step 304: finding the highest particle of target function value, i.e., best position gBest in current population;
Step 305: adjusting particle speed and position according to the following formula;
In formula, t indicates the number of iterations, and ω indicates inertia weight, c1、c2Indicate accelerator coefficient, respectively indicate individual Studying factors and Social learning's factor, r1、r2Indicate equally distributed random number, pBest on [0,1]iIndicate that the history of individual particles i is optimal Solution, gBest indicate current global optimal solution, vi(t) speed of particle i when the number of iterations is t, v are indicatedi(t+1) iteration is indicated The speed of particle i, x when number is t+1i(t) position of particle i when the number of iterations is t, x are indicatedi(t+1) indicate that the number of iterations is The position of particle i when t+1;
Step 306: not up to termination condition then goes to step 302, and stopping criterion for iteration is selected as greatest iteration time according to particular problem The optimal location that several or Particle Swarm searches so far meets predetermined minimum adaptation threshold value;
It is solved in optimization problem with particle swarm algorithm, particle is made of position vector and velocity vector, is counted according to objective function The adaptive value of current position;In each speed iteration, particle is in addition to preferably recording progress according to the history of oneself Except study, learnt also according to particle optimal in current population, so that it is determined that how next time adjusts and change of flight Speed, direction finally determine that the particle completes the position vector after an iteration;
In population bin packing algorithm, the quality between particle position is compared by target value, the pBest of every generation populationi And it gBest and updates by comparing the target function value between particle;It is required to ask under present networks problem model It is minimum by the ratio of disturbance business number and total business number, therefore choose following objective function:
In formula, θ is the rate of excitation that business is subject to;As ω > 1, link bandwidth overload is indicated, i.e., current network resources can not be held All business now netted are carried, so such particle objective function is set as -1, when a particle target function value is -1, this Particle is exactly infeasible solution.
CN201910182584.1A 2019-03-11 2019-03-11 SDN enhanced path boxing device and method Active CN109818865B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910182584.1A CN109818865B (en) 2019-03-11 2019-03-11 SDN enhanced path boxing device and method
PCT/CN2019/107872 WO2020181761A1 (en) 2019-03-11 2019-09-25 Sdn enhanced path allocation device and method employing bin-packing technique

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910182584.1A CN109818865B (en) 2019-03-11 2019-03-11 SDN enhanced path boxing device and method

Publications (2)

Publication Number Publication Date
CN109818865A true CN109818865A (en) 2019-05-28
CN109818865B CN109818865B (en) 2020-09-18

Family

ID=66608708

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910182584.1A Active CN109818865B (en) 2019-03-11 2019-03-11 SDN enhanced path boxing device and method

Country Status (2)

Country Link
CN (1) CN109818865B (en)
WO (1) WO2020181761A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110247845A (en) * 2019-06-26 2019-09-17 深圳市中航比特通讯技术有限公司 Protection method for routing is generated in a kind of communication network
CN110351145A (en) * 2019-07-18 2019-10-18 重庆电子工程职业学院 A kind of radio network functions method of combination of the virtualization based on economic benefit
CN111200566A (en) * 2019-12-17 2020-05-26 北京邮电大学 Network service flow information grooming method and electronic equipment
CN111598210A (en) * 2020-04-30 2020-08-28 浙江工业大学 Anti-attack defense method based on artificial immune algorithm
WO2020181761A1 (en) * 2019-03-11 2020-09-17 江苏君英天达人工智能研究院有限公司 Sdn enhanced path allocation device and method employing bin-packing technique
CN112615763A (en) * 2020-12-28 2021-04-06 广州西麦科技股份有限公司 Network time delay arrangement system and method based on SPFA algorithm
CN112714062A (en) * 2020-12-07 2021-04-27 山东省计算中心(国家超级计算济南中心) Multi-path routing method and device for ultra-computation user experience quality

Families Citing this family (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112231705B (en) * 2020-09-23 2023-07-28 四川中电启明星信息技术有限公司 Information system reliability improving method based on secondary division
CN112183893B (en) * 2020-10-29 2024-02-02 东北大学 Two-stage dynamic reactive power optimization method based on PSO-SCA and graph theory assistance
CN112448946B (en) * 2020-11-09 2024-03-19 北京工业大学 Log auditing method and device based on block chain
CN112637066B (en) * 2020-12-15 2023-01-24 南瑞集团有限公司 Network slicing and path selection optimization method and system for power internet of things
CN112835559B (en) * 2021-01-28 2023-08-11 北银金融科技有限责任公司 Design and implementation method of micro front end in north-silver financial scene construction
CN113157431B (en) * 2021-02-02 2022-09-20 天津理工大学 Computing task copy distribution method for edge network application environment
CN113065310B (en) * 2021-03-30 2022-06-14 福州大学 Particle swarm algorithm-based high-level comprehensive design method for continuous microfluid biochip
CN113315715B (en) * 2021-04-07 2024-01-05 北京邮电大学 Distributed intra-network congestion control method based on QMIX
CN113691956B (en) * 2021-04-13 2024-01-09 成都天软信息技术有限公司 Internet of vehicles mobility management method based on SDN and MEC
CN113191080B (en) * 2021-04-26 2024-02-09 辽宁省交通高等专科学校 Heating furnace billet temperature field prediction model optimization method based on HMPSO algorithm
CN113676357B (en) * 2021-08-30 2022-07-29 国网内蒙古东部电力有限公司 Decision method for edge data processing in power internet of things and application thereof
CN114024894B (en) * 2021-11-03 2023-04-25 苏州全时空信息技术有限公司 Dynamic calculation method and system in software-defined heaven-earth integrated network
CN114116211B (en) * 2021-11-22 2024-04-16 中通服咨询设计研究院有限公司 Service flow distribution optimization method and system for mobile edge calculation
CN114205300B (en) * 2021-12-02 2023-09-22 南开大学 Flow scheduling method capable of guaranteeing coflow transmission deadline under condition of incomplete flow information
CN114244720A (en) * 2021-12-17 2022-03-25 湘潭大学 Multi-controller deployment method based on improved particle swarm algorithm in SDN environment
CN114629860B (en) * 2022-03-17 2024-01-30 北京恒安嘉新安全技术有限公司 Data transmission method, device, service line card and storage medium
CN114465945B (en) * 2022-03-25 2023-12-08 江苏省未来网络创新研究院 SDN-based identification analysis network construction method
CN114785730B (en) * 2022-04-13 2023-12-01 东北大学 Multipath generation method of application layer multipath relay transmission cloud service system
CN115002022B (en) * 2022-04-29 2023-10-13 中国航空无线电电子研究所 Route configuration generation method for rapidIO network
CN115314355B (en) * 2022-06-30 2023-10-03 国网河南省电力公司信息通信公司 Deterministic network-based power communication network architecture system and method
CN115277350A (en) * 2022-07-26 2022-11-01 湘潭大学 Multi-controller deployment method based on improved spectral clustering algorithm in SDN environment
CN115412485A (en) * 2022-08-22 2022-11-29 中国电信股份有限公司 Disaster recovery backup method and device, computer storage medium and electronic equipment
CN116032778B (en) * 2023-03-29 2023-06-06 南京大学 Cloud data center intelligent monitoring application task deployment method, device and system
CN116720638B (en) * 2023-04-13 2024-03-26 广东工业大学 Method and system for adjusting inverse shortest path weight based on improved evolutionary algorithm

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105119830A (en) * 2015-09-14 2015-12-02 珠海赞同科技有限公司 Load balancing software defined networking routing aggregation method based on packing optimization
CN105429877A (en) * 2015-11-10 2016-03-23 中山大学 Optimal path searching method based on particle swarm optimization
CN106100990A (en) * 2016-06-06 2016-11-09 中国电子科技集团公司第三十研究所 A kind of communication network various dimensions resources regulation method and system based on SDN framework
US20170104670A1 (en) * 2014-06-11 2017-04-13 Hangzhou H3C Technologies Co., Ltd. Establishing Instance In Software Defined Network
CN107040605A (en) * 2017-05-10 2017-08-11 安徽大学 Cloud platform scheduling of resource and management system and its application process based on SDN
WO2017215378A1 (en) * 2016-06-15 2017-12-21 中兴通讯股份有限公司 Software-defined network, node, path calculation method and device, and storage medium
CN108400890A (en) * 2018-01-30 2018-08-14 天津城建大学 A kind of software defined network multi-controller dispositions method
CN108809857A (en) * 2018-05-23 2018-11-13 中国石油大学(华东) A method of the traffic monitoring based on SDN and service quality securing strategy

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101980470B (en) * 2010-10-03 2013-12-04 鲁东大学 Chaotic particle swarm optimization-based OFDM system resource allocation algorithm
US20160294699A1 (en) * 2015-03-30 2016-10-06 Alcatel-Lucent Usa, Inc. Traffic oblivious offline optimization for traffic engineering with segment routing
CN105071947B (en) * 2015-07-06 2019-03-08 山东超越数控电子有限公司 A kind of link optimizing method of SDN network
CN106789707B (en) * 2016-11-28 2019-10-29 北京邮电大学 A kind of software definition Packet Transport Network overall situation service dynamic optimization method and device
CN108521375B (en) * 2018-04-17 2020-12-15 中国矿业大学 SDN-based network multi-service flow QoS transmission and scheduling method
CN109818865B (en) * 2019-03-11 2020-09-18 江苏君英天达人工智能研究院有限公司 SDN enhanced path boxing device and method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170104670A1 (en) * 2014-06-11 2017-04-13 Hangzhou H3C Technologies Co., Ltd. Establishing Instance In Software Defined Network
CN105119830A (en) * 2015-09-14 2015-12-02 珠海赞同科技有限公司 Load balancing software defined networking routing aggregation method based on packing optimization
CN105429877A (en) * 2015-11-10 2016-03-23 中山大学 Optimal path searching method based on particle swarm optimization
CN106100990A (en) * 2016-06-06 2016-11-09 中国电子科技集团公司第三十研究所 A kind of communication network various dimensions resources regulation method and system based on SDN framework
WO2017215378A1 (en) * 2016-06-15 2017-12-21 中兴通讯股份有限公司 Software-defined network, node, path calculation method and device, and storage medium
CN107040605A (en) * 2017-05-10 2017-08-11 安徽大学 Cloud platform scheduling of resource and management system and its application process based on SDN
CN108400890A (en) * 2018-01-30 2018-08-14 天津城建大学 A kind of software defined network multi-controller dispositions method
CN108809857A (en) * 2018-05-23 2018-11-13 中国石油大学(华东) A method of the traffic monitoring based on SDN and service quality securing strategy

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
SLAVICA TOMOVIC等: ""Fast and efficient bandwidth-delay constrained routing algorithm for SDN networks"", 《2016 IEEE NETSOFT CONFERENCE AND WORKSHOPS (NETSOFT)》 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020181761A1 (en) * 2019-03-11 2020-09-17 江苏君英天达人工智能研究院有限公司 Sdn enhanced path allocation device and method employing bin-packing technique
CN110247845A (en) * 2019-06-26 2019-09-17 深圳市中航比特通讯技术有限公司 Protection method for routing is generated in a kind of communication network
CN110247845B (en) * 2019-06-26 2021-10-29 深圳市中航比特通讯技术股份有限公司 Method for generating protection route in communication network
CN110351145A (en) * 2019-07-18 2019-10-18 重庆电子工程职业学院 A kind of radio network functions method of combination of the virtualization based on economic benefit
CN111200566A (en) * 2019-12-17 2020-05-26 北京邮电大学 Network service flow information grooming method and electronic equipment
CN111598210A (en) * 2020-04-30 2020-08-28 浙江工业大学 Anti-attack defense method based on artificial immune algorithm
CN111598210B (en) * 2020-04-30 2023-06-02 浙江工业大学 Anti-attack defense method for anti-attack based on artificial immune algorithm
CN112714062A (en) * 2020-12-07 2021-04-27 山东省计算中心(国家超级计算济南中心) Multi-path routing method and device for ultra-computation user experience quality
CN112615763A (en) * 2020-12-28 2021-04-06 广州西麦科技股份有限公司 Network time delay arrangement system and method based on SPFA algorithm

Also Published As

Publication number Publication date
WO2020181761A1 (en) 2020-09-17
CN109818865B (en) 2020-09-18

Similar Documents

Publication Publication Date Title
CN109818865A (en) A kind of SDN enhancing path boxing apparatus and method
CN113328938B (en) Network autonomous intelligent management and control method based on deep reinforcement learning
Mao et al. Learning agent communication under limited bandwidth by message pruning
CN106464593B (en) A kind of system and method for optimization routing data flow
CN106789190B (en) Vulnerability assessment and route optimization method for power communication network
CN108566663A (en) SDWSN energy consumption balance routing algorithms based on disturbance particle group optimizing
CN109039942A (en) A kind of Network Load Balance system and equalization methods based on deeply study
CN105185163B (en) Flight path system of selection and device, aircraft and air traffic control system (ATCS)
CN105515987B (en) A kind of mapping method based on SDN framework Virtual optical-fiber networks
CN103346922A (en) Controller for determining network state based on SDN (Software Defined Networking) and determination method thereof
CN109831320A (en) A kind of auxiliary flow forecast Control Algorithm, storage medium and electronic equipment
AU2020100816A4 (en) Online rechargeable sensor network charging scheduling system
CN106936645B (en) The optimization method of tree network topology structure based on queueing theory
CN111106999A (en) IP-optical network communication service joint distribution method and device
CN112146673A (en) Expressway multi-point collaborative rescue path planning method based on improved ant colony algorithm
CN106941456B (en) The load-balancing method and system of plane are controlled in a kind of software defined network
CN109862532B (en) Rail transit state monitoring multi-sensor node layout optimization method and system
CN105871724A (en) Method and system for optimizing power communication network circuit
CN104901886A (en) Wide-area protection communication circuitous channel reconstruction algorithm in view of delay and traffic balance
CN103139069A (en) Multi-measurement-parameter communication network route method based on analytic hierarchy process (AHP)
CN104219319A (en) Method for distributed network flow self-organizing scheduling
CN114726743A (en) Service function chain deployment method based on federal reinforcement learning
CN114786236A (en) Method and device for heuristic learning of routing protocol of wireless sensor network
CN107689884A (en) A kind of method of half network plan simulation in kind of power communication
Kumar et al. ChaseMe: A heuristic scheme for electric vehicles mobility management on charging stations in a smart city scenario

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant