CN102291308A - Method and system for implementing network dynamic load balancing - Google Patents

Method and system for implementing network dynamic load balancing Download PDF

Info

Publication number
CN102291308A
CN102291308A CN2011102461850A CN201110246185A CN102291308A CN 102291308 A CN102291308 A CN 102291308A CN 2011102461850 A CN2011102461850 A CN 2011102461850A CN 201110246185 A CN201110246185 A CN 201110246185A CN 102291308 A CN102291308 A CN 102291308A
Authority
CN
China
Prior art keywords
parent
filial generation
regret value
value
population
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
CN2011102461850A
Other languages
Chinese (zh)
Other versions
CN102291308B (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.)
China General Nuclear Power Corp
China Nuclear Power Technology Research Institute Co Ltd
Original Assignee
China General Nuclear Power Corp
China Nuclear Power Technology 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 China General Nuclear Power Corp, China Nuclear Power Technology Research Institute Co Ltd filed Critical China General Nuclear Power Corp
Priority to CN201110246185.0A priority Critical patent/CN102291308B/en
Publication of CN102291308A publication Critical patent/CN102291308A/en
Application granted granted Critical
Publication of CN102291308B publication Critical patent/CN102291308B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the invention discloses a method and a system for implementing network dynamic load balancing. The method comprises the following steps of: dividing a large-scale distributed system network into a plurality of local areas, and initializing network topology groups inside the local areas; establishing multiple objective functions according to multiple constraint conditions in the local areas, computing the individual fitness of individuals of the network topology groups according to the multiple objective functions, and selecting the individuals with higher fitness as parents; executing genetic operators on the parents to form offspring; the substituting the offspring into the multiple objective functions to compute regret values of the offspring, and judging whether the regret values of the offspring are smaller than the regret values of the parents or not; if so, substituting the offspring for the parents to form new groups; and if not, abandoning the offspring. The system disclosed by the invention can be used for implementing the method disclosed by the invention. The invention has the advantages of distributed strategy, simple computation and good adaptability.

Description

A kind of implementation method of network dynamic load balancing and system
Technical field
The present invention relates to internet arena, relate in particular to a kind of implementation method and system of network dynamic load balancing.
Background technology
Along with the fast development of computer and network technologies, the application of large-scale distributed system more and more widely all belongs to large-scale distributed system such as network flow-medium program request, game on line in many ways, long-distance education, online medical treatment etc.Large-scale distributed system is because characteristics such as its number of users is huge, position dispersion when in the face of bigger system's visit capacity and complicated service processing demands, when causing offered load unbalanced, problems such as system's operation is slow, efficient is low occur easily.At present, the conventional method that solves the low problem of large-scale distributed running efficiency of system is: according to actual needs, constantly improve the performance of the webserver.Yet the performance of the raising webserver will inevitably significantly increase system operation cost, makes that the cost performance of system is more and more lower, is unfavorable for applying.In addition, also have a kind of research method to point out: to utilize overall dynamic physical load-balancing algorithm, make up a kind of centralized optimization network topology structure, to improve large-scale distributed running efficiency of system.Its advantage is the operating cost that need not increase system, and shortcoming is that its algorithm complex is higher, has the defective of single point failure, and can't be applicable to dynamic, real-time environment, and adaptability is relatively poor.
Summary of the invention
The purpose of the embodiment of the invention is, a kind of implementation method and system of network dynamic load balancing is provided, and this method adopts distributed strategy, has avoided the problem of centralized algorithm complexity height and single point failure, and has had good adaptability.
To achieve these goals, the embodiment of the invention provides a kind of implementation method of network dynamic load balancing, it is characterized in that, comprising:
Large-scale distributed grid is divided into several regional areas, the network topology structure in the described regional area of initialization, and the individuality of selecting the described network topology structure of even number at random is as initial population;
In described regional area, make up multiple objective function, calculate ideal adaptation degree individual in the population, and select the higher individuality of fitness as parent according to described multiple objective function according to a plurality of constraintss;
Described parent is carried out genetic operator, form filial generation;
Will be in the described multiple objective function of described filial generation substitution calculate and regret value thereafter, and whether the regret value of judging described filial generation is less than the regret value of described parent;
When judged result is the regret value of the regret value of described filial generation less than described parent, then replace described parent and form new population with described filial generation, and judge whether to satisfy end condition, if, then export described filial generation as optimal result, if not, then return and calculate ideal adaptation degree individual in the population, and select the step of the higher individuality of fitness as parent;
When judged result is the regret value that the regret value of described filial generation is not less than described parent, then give up described filial generation, and judge whether to satisfy end condition, if, then export described parent as optimal result, if not, then return described parent is carried out genetic operator, form the step of filial generation.
Further, described a plurality of constraints is respectively: resource cost, communication delay, network jitter value and transmission packet loss.
Further, the step according to a plurality of constraintss structure multiple objective functions also comprises in described regional area: the regret value that the multiple objective function that makes up is calculated turns to same magnitude by method for normalizing.
Further, described genetic operator comprises that single-point intersects and the exchange variation.
Further, individual ideal adaptation degree in the described calculating population, and select the higher individuality of fitness to be specially as the step of parent: calculate the ideal adaptation degree, and adopt the roulette mode to select the higher individuality of fitness as parent.
Accordingly, the invention provides a kind of realization system of network dynamic load balancing, described system comprises:
Preparation unit is used for large-scale distributed grid is divided into several regional areas, the network topology structure in the described regional area of initialization, and the individuality of selecting the described network topology structure of even number at random is as initial population;
Construction unit is used for making up multiple objective function according to a plurality of constraintss in described regional area;
Selected cell is used for calculating the individual ideal adaptation degree of population according to described multiple objective function, and selects the higher individuality of fitness as parent;
Computing unit is used for described parent is carried out genetic operator, forms filial generation;
Judging unit is used for the described multiple objective function of described filial generation substitution calculated and regrets value thereafter, and whether the regret value of judging described filial generation is less than the regret value of described parent;
Control unit, the regret value that is used for judged result when judging unit and is described filial generation is during less than the regret value of described parent, control is replaced described parent with described filial generation and is formed new population, and judge whether to satisfy end condition, if, then export described filial generation as optimal result, if not, then control by described selected cell and calculate ideal adaptation degree individual in the population, and select the higher individuality of fitness as parent;
When the judged result of judging unit is that the regret value of described filial generation is when being not less than the regret value of described parent, described filial generation is given up in control, and judge whether to satisfy end condition, if, then export described parent as optimal result, if not, then control by described computing unit described parent is carried out genetic operator, form filial generation.
Further, described a plurality of constraints is respectively: resource cost, communication delay, network jitter value and transmission packet loss.
Further, the regret value that calculates of the described construction unit multiple objective function that also is used for making up turns to same magnitude by method for normalizing.
Further, described genetic operator comprises that single-point intersects and the exchange variation.
Further, described selected cell adopts the roulette mode to select the higher individuality of fitness as parent.
Implement the embodiment of the invention, have following beneficial effect:
1, use distributed strategy, each network node both can be worked in coordination with executable operations, again can be mutually the running of interfering with an opponent not, avoided the high problem with single point failure of centralized algorithm complexity.
2, use genetic algorithm, the approximate optimal solution that the assurance scheme can must go wrong in rational time range.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the flow chart of an embodiment of the implementation method of network dynamic load balancing of the present invention;
Fig. 2 is the structured flowchart of an embodiment of the realization system of network dynamic load balancing of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
Fig. 1 is the flow chart of an embodiment of the implementation method of network dynamic load balancing of the present invention, as shown in Figure 1, said method comprising the steps of:
Step S100: large-scale distributed grid is divided into several regional areas, the network topology structure in the described regional area of initialization, and the individuality of selecting the described network topology structure of even number at random is as initial population.
Concrete, establishing whole large-scale distributed grid is that G=(V, E), G is the complete graph in the two dimensional surface.Wherein, V={ v 1, v 2..., v nBe the vertex set of G, the network node in the expression system; E={ e 1, e 2..., e mBe the limit set of G, the link between the expression network node; Every limit e iBe associated with q weight, be expressed as Ω i={ ω I1, ω I2..., ω Iq(i=1,2 ..., m).The single-hop route maximum delay threshold value of setting node communication again is t MaxWith node v iBe example, definition v iRegional area for figure G in v iBe the center of circle, t MaxTwo-dimentional disc for radius is designated as G i=(V i, E i), and G iIn all nodes of network are coupled together but the connection branch road collection that do not constitute the loop constitute to generate tree, described generation tree is designated as T i, so whole network G is divided into several regional areas G i
It should be noted that total n in a complete graph that comprises n node N-2Tree, thereby the arrangement of available n-2 number comes unique expression one tree, wherein each number all is the integer between 1 to n, this arrangement is called the Prufer number, this coded system can the only table diagrammatic sketch in all possible generation tree, and after any intersection or mutation operation, still represent one tree.
Network topology structure in the described regional area of initialization, promptly make up and all nodes in the regional area are coupled together but do not constitute the connection branch road collection in loop, it also is the Prufer number that described generation tree is represented in initialization, and select even number Prufer number at random as initial population, simultaneously, the various parameters that need use in the cycle-index calculated, the computational process are carried out initialization.
Step S101: in described regional area, make up multiple objective function, calculate ideal adaptation degree individual in the population, and select the higher individuality of fitness as parent according to described multiple objective function according to a plurality of constraintss.
Concrete, it is as follows to make up the multiple objective function process according to a plurality of constraintss in described regional area:
If make X=(x 1, x 2... x m) linking status of arbitrary generation tree T of expression G, then X is defined as follows:
Figure 2011102461850100002DEST_PATH_IMAGE001
(1)
All generate the set of tree among S (T) the presentation graphs G if make, and for n rank complete graph, must have so | S (T) | and=n N-2
Make f again i(X) (i=1,2 ..., q) expression target function, then based on above definition, the multiple target minimum spanning tree problem can be expressed as follows:
Figure 185162DEST_PATH_IMAGE002
(2)
For arbitrary regional area G i, if V i={ v I1, v I2..., v In, Ei={ e I1, e I2..., e Im, X i=(x I1, x I2..., x Im), then, target function can be defined as follows according to the form of formula (2):
Figure 2011102461850100002DEST_PATH_IMAGE003
(3)
Wherein, ω J1=deg (x j), expression link e jThe end system resource cost sum of two ends institute connected node; ω J2=time (x j), expression link e jCommunication delay; ω J3=jet (x j), expression link e jThe network jitter value; ω J4=loss (x j), the network packet loss rate of expression transfer of data.
When above-mentioned a plurality of target functions are optimized, need carry out balance and compromise between a plurality of targets, this programme adopts regret function to describe:
Figure 351570DEST_PATH_IMAGE004
(4)
Wherein, q is the target number, and is described suc as formula (2); P is the norm parameter; z jIt is the value of j target; z j* the ideal value of representing j target, its expression formula are z j*=z j Min
The parameter p representative is to the degree of attentiveness of big regret value, and the big more then degree of attentiveness to big regret value of its value is high more.
Further, described step according to a plurality of constraintss structure multiple objective functions also comprises: the regret value that the multiple objective function that makes up is calculated turns to same magnitude by method for normalizing.
For the regret value that makes each target all can be taken into account, by method for normalizing each regret value is turned to same magnitude earlier, make its all value between [0,1], select suitable parameter p again.In view of the above, formula (3) is as follows according to the regret function of formula (4) formal definition:
Figure 2011102461850100002DEST_PATH_IMAGE005
(5)
Wherein, parameter γ is the arithmetic number between (0,1), except that avoiding formula (5) to produce by 0 except that mistake, selection mode can also be adjusted to purely and select at random.For many challenges, seek relatively difficulty of ideal point, therefore Z* is converted into and acts on behalf of ideal point and substitute ideal point.Act on behalf of the ideal point that ideal point is not given problem, but work as corresponding ideal point in the former generation.If establishing P represents current population, the account form of then acting on behalf of ideal point is as follows:
Figure 68990DEST_PATH_IMAGE006
(6)
Obviously, z j Min=min { z j(X) | X ∈ P, j=1,2,3,4}, z j Max=max { z j(X) | X ∈ P, j=1,2,3,4}.
It is as follows to spend journey according to individual ideal adaptation in the described multiple objective function calculating population:
Above-mentioned regret function (5) is converted into fitness function has bigger adaptive value to guarantee excellent individual.The definition fitness function is as follows:
Figure 2011102461850100002DEST_PATH_IMAGE007
(7)
Wherein, r MaxAnd r MinMaximum regret value and the minimum regret value in the former generation worked as in expression respectively.
Adopt the roulette mode to select the higher individuality of fitness as parent, concrete, described roulette mode is a prior art, repeats no more herein.
Step S102: described parent is carried out genetic operator, form filial generation.
Concrete, described genetic operator comprises crossover operator and mutation operator, and is concrete, comprises that single-point intersects and the exchange variation.Crossover operator is a genetic operator the most essential in the genetic algorithm, can play the effect of acceleration search in evolution.Single-point intersects, and promptly produces a crosspoint at random, with the whole exchange of the gene of the parents crosspoint right-hand member in the parent, forms two new individualities.The purpose of mutation operator is to carry out local random search, and when approaching optimal solution, but also accelerating ated test of variation makes the offspring population have diversity.The exchange variation, the coded strings that is about to the parents in the parent selects two positions to exchange the new filial generation of back formation at random.
Step S103: will be in the described multiple objective function of described filial generation substitution calculate and regret value thereafter, and whether the regret value of judging described filial generation is less than the regret value of described parent.
Concrete, calculate in the described regret function formula (5) that described filial generation substitution is transformed by described multiple objective function and regret value thereafter, and compare with the regret value of described parent.
Step S104: when judged result is the regret value of the regret value of described filial generation less than described parent, then replace described parent and form new population with described filial generation, and execution in step S106.
Step S105: when judged result is the regret value that the regret value of described filial generation is not less than described parent, then give up described filial generation, and execution in step S107.
Step S106: judge whether to satisfy end condition, if then execution in step S108 if not, then returns step S101.
Concrete, described end condition is the cycle-index of the calculating set in step S100.When reaching maximum cycle, stop calculating execution in step S108.
Step S107: judge whether to satisfy end condition, if then execution in step S109 if not, then returns step S102.
Concrete, described end condition is the cycle-index of the calculating set in step S100.When reaching maximum cycle, stop calculating execution in step S109.
Step S108: export described filial generation as optimal result.
Step S109: export described parent as optimal result.
The false code major part of said method is as follows:
WHILE(v i?∈?V)?{
Init (); // parameter and initialization of population
for(k?=?1;?k?<=?Maxgen;?k?=?k?+1)?{
Evaluate (); // calculating fitness
for(j?=?2;?j?<=?size;?j?=?j?+?2)?{
f 1=selection (); f 2=selection (); // selection operator
Crossover (f 1, f 2); // hybridization operator
Mutation (); // mutation operator
}
if(Zmin(X)?<?Zmin(X 0))
X 0=X; // X 0Be noninferior solution
}
}
Implement the embodiment of the invention, have following beneficial effect:
1, use distributed strategy, each network node both can be worked in coordination with executable operations, again can be mutually the running of interfering with an opponent not, avoided the high problem with single point failure of centralized algorithm complexity.
2, use genetic algorithm, the approximate optimal solution that the assurance scheme can must go wrong in rational time range.
3, can be by the value of setup parameter, at the optimization of different network environments and the adaptation of application demand do.
Accordingly, the invention also discloses a kind of realization system of network dynamic load balancing.See also Fig. 2, be the structured flowchart of an embodiment of the realization system of network dynamic load balancing of the present invention.Described system 1 comprises continuous preparation unit 11, construction unit 12, selected cell 13, computing unit 14, judging unit 15 and control unit 16.
Described preparation unit 11 is used for large-scale distributed grid is divided into several regional areas, the network topology structure in the described regional area of initialization, and the individuality of selecting the described network topology structure of even number at random is as initial population.
Concrete, establishing whole large-scale distributed grid is that G=(V, E), G is the complete graph in the two dimensional surface.Wherein, V={ v 1, v 2..., v nBe the vertex set of G, the network node in the expression system; E={ e 1, e 2..., e mBe the limit set of G, the link between the expression network node; Every limit e iBe associated with q weight, be expressed as Ω i={ ω I1, ω I2..., ω Iq(i=1,2 ..., m).The single-hop routing delay threshold value of setting node communication again is t MaxWith node v iBe example, define its regional area for scheming among the G with v iBe the center of circle, t MaxTwo-dimentional disc for radius is designated as G i=(V i, E i), and G iIn all nodes of network are coupled together but the connection branch road collection that do not constitute the loop constitute to generate tree, described generation tree is designated as T i, so whole network G is divided into several regional areas G i
It should be noted that total n in a complete graph that comprises n node N-2Tree, thereby the arrangement of available n-2 number comes unique expression one tree, wherein each number all is the integer between 1 to n, this arrangement is called the Prufer number, this coded system can the only table diagrammatic sketch in all possible generation tree, and after any intersection or mutation operation, still represent one tree.
Network topology structure in the described regional area of initialization, promptly make up and all nodes in the regional area are coupled together but do not constitute the connection branch road collection in loop, it also is the Prufer number that described generation tree is represented in initialization, and select even number Prufer number at random as initial population, simultaneously, the various parameters that need use in the cycle-index calculated, the computational process are carried out initialization.
Described construction unit 12 is used for making up multiple objective function according to a plurality of constraintss in described regional area.
Concrete, it is as follows to make up the multiple objective function process according to a plurality of constraintss in described regional area:
If make X=(x 1, x 2... x m) linking status of arbitrary generation tree T of expression G, then X is defined as follows:
Figure 841030DEST_PATH_IMAGE001
(1)
All generate the set of tree among S (T) the presentation graphs G if make, and for n rank complete graph, must have so | S (T) | and=n N-2
Make f again i(X) (i=1,2 ..., q) expression target function, then based on above definition, the multiple target minimum spanning tree problem can be expressed as follows:
Figure 530769DEST_PATH_IMAGE002
(2)
For arbitrary regional area G i, if V i={ v I1, v I2..., v In, Ei={ e I1, e I2..., e Im, X i=(x I1, x I2..., x Im), then, target function can be defined as follows according to the form of formula (2):
Figure 664816DEST_PATH_IMAGE003
(3)
Wherein, ω J1=deg (x j), expression link e jThe end system resource cost sum of two ends institute connected node; ω J2=time (x j), expression link e jCommunication delay; ω J3=jet (x j), expression link e jThe network jitter value; ω J4=loss (x j), the network packet loss rate of expression transfer of data.
When above-mentioned a plurality of target functions are optimized, need carry out balance and compromise between a plurality of targets, this programme adopts regret function to describe:
Figure 807215DEST_PATH_IMAGE004
(4)
Wherein, q is the target number, and is described suc as formula (2); P is the norm parameter; z jIt is the value of j target; z j* the ideal value of representing j target, its expression formula are z j*=z j Min
The parameter p representative is to the degree of attentiveness of big regret value, and the big more then degree of attentiveness to big regret value of its value is high more.
Further, the regret value that calculates of the described construction unit multiple objective function that also is used for making up turns to same magnitude by method for normalizing.
For the regret value that makes each target all can be taken into account, by method for normalizing each regret value is turned to same magnitude earlier, make its all value between [0,1], select suitable parameter p again.In view of the above, formula (3) is as follows according to the regret function of formula (4) formal definition:
Figure 68432DEST_PATH_IMAGE005
(5)
Wherein, parameter γ is the arithmetic number between (0,1), except that avoiding formula (5) to produce by 0 except that mistake, selection mode can also be adjusted to purely and select at random.For many challenges, seek relatively difficulty of ideal point, therefore Z* is converted into and acts on behalf of ideal point and substitute ideal point.Act on behalf of the ideal point that ideal point is not given problem, but work as corresponding ideal point in the former generation.If establishing P represents current cluster, the account form of then acting on behalf of ideal point is as follows:
Figure 114142DEST_PATH_IMAGE006
(6)
Obviously, z j Min=min { z j(X) | X ∈ P, j=1,2,3,4}, z j Max=max { z j(X) | X ∈ P, j=1,2,3,4}.
Described selected cell 13 is used for calculating the ideal adaptation degree according to described multiple objective function, and selects the higher individuality of fitness as parent.
Concrete, the above-mentioned regret function that is transformed by multiple objective function (5) is converted into fitness function, have bigger adaptive value to guarantee excellent individual.The definition fitness function is as follows:
(7)
Wherein, r MaxAnd r MinMaximum regret value and the minimum regret value in the former generation worked as in expression respectively.
Adopt the roulette mode to select the higher individuality of fitness, concrete, described roulette mode is a prior art, repeats no more herein.
Described computing unit 14 is used for described parent is carried out genetic operator, forms filial generation.
Concrete, described genetic operator comprises crossover operator and mutation operator, more specifically, comprises that single-point intersects and the exchange variation.Crossover operator is a genetic operator the most essential in the genetic algorithm, can play the effect of acceleration search in evolution.Single-point intersects, and promptly produces a crosspoint at random, with the whole exchange of the gene of parents crosspoint right-hand member, forms two new individualities.The purpose of mutation operator is to carry out local random search, and when approaching optimal solution, but also accelerating ated test of variation makes the offspring population have diversity.The exchange variation, the coded strings that is about to parental generation selects two positions to exchange the new filial generation of back formation at random.
Described judging unit 15 is used for the described multiple objective function of described filial generation substitution calculated and regrets value thereafter, and whether the regret value of judging described filial generation is less than the regret value of described parent.
Concrete, calculate in the described regret function formula (5) that described filial generation substitution is transformed by described multiple objective function and regret value thereafter, and compare with the regret value of described parent.
Described control unit 16, the regret value that is used for judged result when judging unit and is described filial generation is during less than the regret value of described parent, control is replaced described parent with described filial generation and is formed new population, and judge whether to satisfy end condition, if, then export described filial generation as optimal result, if not, then control by described selected cell and calculate ideal adaptation degree individual in the population, and select the higher individuality of fitness as parent;
When the judged result of judging unit is that the regret value of described filial generation is when being not less than the regret value of described parent, described filial generation is given up in control, and judge whether to satisfy end condition, if, then export described parent as optimal result, if not, then control by described computing unit described parent is carried out genetic operator, form filial generation.
Concrete, described end condition is the cycle-index of the calculating of setting in preparation unit 11.When reaching maximum cycle, stop calculating, exporting current result is optimal result.
Implement the embodiment of the invention, have following beneficial effect:
1, use distributed strategy, each network node both can be worked in coordination with executable operations, again can be mutually the running of interfering with an opponent not, avoided the high problem with single point failure of centralized algorithm complexity.
2, use genetic algorithm, the approximate optimal solution that the assurance scheme can must go wrong in rational time range.
3, can be by the value of setup parameter, at the optimization of different network environments and the adaptation of application demand do.
One of ordinary skill in the art will appreciate that all or part of flow process that realizes in the foregoing description method, be to instruct relevant hardware to finish by computer program, described program can be stored in the computer read/write memory medium, this program can comprise the flow process as the embodiment of above-mentioned each side method when carrying out.Wherein, described storage medium can be magnetic disc, CD, read-only storage memory body (Read-Only Memory, ROM) or at random store memory body (Random Access Memory, RAM) etc.
Above disclosed only is preferred embodiment of the present invention, certainly can not limit the present invention's interest field with this, one of ordinary skill in the art will appreciate that all or part of flow process that realizes the foregoing description, and, still belong to the scope that invention is contained according to the equivalent variations that claim of the present invention is done.

Claims (10)

1. the implementation method of a network dynamic load balancing is characterized in that, comprising:
Large-scale distributed grid is divided into several regional areas, the network topology structure in the described regional area of initialization, and the individuality of selecting the described network topology structure of even number at random is as initial population;
In described regional area, make up multiple objective function, calculate ideal adaptation degree individual in the population, and select the higher individuality of fitness as parent according to described multiple objective function according to a plurality of constraintss;
Described parent is carried out genetic operator, form filial generation;
Will be in the described multiple objective function of described filial generation substitution calculate and regret value thereafter, and whether the regret value of judging described filial generation is less than the regret value of described parent;
When judged result is the regret value of the regret value of described filial generation less than described parent, then replace described parent and form new population with described filial generation, and judge whether to satisfy end condition, if, then export described filial generation as optimal result, if not, then return and calculate ideal adaptation degree individual in the population, and select the step of the higher individuality of fitness as parent;
When judged result is the regret value that the regret value of described filial generation is not less than described parent, then give up described filial generation, and judge whether to satisfy end condition, if, then export described parent as optimal result, if not, then return described parent is carried out genetic operator, form the step of filial generation.
2. method according to claim 1 is characterized in that, described a plurality of constraintss comprise: resource cost, communication delay, network jitter value and transmission packet loss.
3. method according to claim 1 is characterized in that, when making up multiple objective function according to a plurality of constraintss in described regional area: the regret value that the multiple objective function that makes up is calculated turns to same magnitude by the normalization mode.
4. method according to claim 1 is characterized in that, described genetic operator comprises single-point crossover algorithm and exchange variation algorithm.
5. method according to claim 1, it is characterized in that, individual ideal adaptation degree in the described calculating population, and select the higher individuality of fitness to be specially: to calculate ideal adaptation degree individual in the population, and adopt the roulette mode to select the higher individuality of fitness as parent as the step of parent.
6. the realization system of a network dynamic load balancing is characterized in that, described system comprises:
Preparation unit is used for large-scale distributed grid is divided into several regional areas, the network topology structure in the described regional area of initialization, and the individuality of selecting the described network topology structure of even number at random is as initial population;
Construction unit is used for making up multiple objective function according to a plurality of constraintss in described regional area;
Selected cell is used for calculating the individual ideal adaptation degree of population according to described multiple objective function, and selects the higher individuality of fitness as parent;
Computing unit is used for described parent is carried out genetic operator, forms filial generation;
Judging unit is used for the described multiple objective function of described filial generation substitution calculated and regrets value thereafter, and whether the regret value of judging described filial generation is less than the regret value of described parent;
Control unit, the regret value that is used for judged result when judging unit and is described filial generation is during less than the regret value of described parent, control is replaced described parent with described filial generation and is formed new population, and judge whether to satisfy end condition, if, then export described filial generation as optimal result, if not, then control by described selected cell and calculate ideal adaptation degree individual in the population, and select the higher individuality of fitness as parent;
When the judged result of judging unit is that the regret value of described filial generation is when being not less than the regret value of described parent, described filial generation is given up in control, and judge whether to satisfy end condition, if, then export described parent as optimal result, if not, then control by described computing unit described parent is carried out genetic operator, form filial generation.
7. system according to claim 6 is characterized in that, described a plurality of constraintss are respectively: resource cost, communication delay, network jitter value and transmission packet loss.
8. system according to claim 7 is characterized in that: the regret value that the multiple objective function that described construction unit also is used for making up calculates turns to same magnitude by method for normalizing.
9. system according to claim 7 is characterized in that: described genetic operator comprises that single-point intersects and the exchange variation.
10. system according to claim 7 is characterized in that: described selected cell adopts the roulette mode to select the higher individuality of fitness as parent.
CN201110246185.0A 2011-08-25 2011-08-25 A kind of implementation method of network dynamic load balancing and system Active CN102291308B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110246185.0A CN102291308B (en) 2011-08-25 2011-08-25 A kind of implementation method of network dynamic load balancing and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110246185.0A CN102291308B (en) 2011-08-25 2011-08-25 A kind of implementation method of network dynamic load balancing and system

Publications (2)

Publication Number Publication Date
CN102291308A true CN102291308A (en) 2011-12-21
CN102291308B CN102291308B (en) 2016-05-11

Family

ID=45337426

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110246185.0A Active CN102291308B (en) 2011-08-25 2011-08-25 A kind of implementation method of network dynamic load balancing and system

Country Status (1)

Country Link
CN (1) CN102291308B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103118136A (en) * 2013-02-28 2013-05-22 杭州电子科技大学 Load balancing optimizing method based on block level cloud storage
CN106127304A (en) * 2016-06-30 2016-11-16 国网山东省电力公司无棣县供电公司 One is applicable to power distribution network Network Topology Design method
CN106161270A (en) * 2015-04-22 2016-11-23 北京邮电大学 A kind of network deployment method
CN106789641A (en) * 2016-11-18 2017-05-31 华北电力大学(保定) The topology design method of centralized wide area protection communication network in intelligent grid
CN107770096A (en) * 2017-12-11 2018-03-06 国网河南省电力公司信息通信公司 A kind of SDN/NFV network dynamic resource allocation algorithms based on load balancing
CN108465244A (en) * 2018-03-30 2018-08-31 腾讯科技(深圳)有限公司 AI method for parameter configuration, device, equipment and storage medium for racing class AI models

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101854293A (en) * 2010-03-29 2010-10-06 中科华核电技术研究院有限公司 Method for balancing resource load and enterprise resource planning device
CN102063339A (en) * 2010-12-21 2011-05-18 北京高森明晨信息科技有限公司 Resource load balancing method and equipment based on cloud computing system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101854293A (en) * 2010-03-29 2010-10-06 中科华核电技术研究院有限公司 Method for balancing resource load and enterprise resource planning device
CN102063339A (en) * 2010-12-21 2011-05-18 北京高森明晨信息科技有限公司 Resource load balancing method and equipment based on cloud computing system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
MARC H. WILLEBEEK-LEMAIR: "Strategies for Dynamic Load Balancing", 《SC 2006 CONFERENCE,PROCEEDINGS OF THE ACM/IEEE》, vol. 4, no. 9, 17 November 2006 (2006-11-17) *
刘滨等: "多目标迁移机制的动态负载平衡算法", 《哈尔滨工程大学学报》, vol. 29, no. 8, 31 August 2008 (2008-08-31) *

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103118136A (en) * 2013-02-28 2013-05-22 杭州电子科技大学 Load balancing optimizing method based on block level cloud storage
CN103118136B (en) * 2013-02-28 2015-08-12 杭州电子科技大学 A kind of method based on block rank cloud memory load balance optimizing
CN106161270B (en) * 2015-04-22 2019-05-10 北京邮电大学 A kind of network deployment method
CN106161270A (en) * 2015-04-22 2016-11-23 北京邮电大学 A kind of network deployment method
CN106127304B (en) * 2016-06-30 2017-10-27 国网山东省电力公司无棣县供电公司 One kind is applied to power distribution network Network Topology Design method
CN106127304A (en) * 2016-06-30 2016-11-16 国网山东省电力公司无棣县供电公司 One is applicable to power distribution network Network Topology Design method
CN106789641A (en) * 2016-11-18 2017-05-31 华北电力大学(保定) The topology design method of centralized wide area protection communication network in intelligent grid
CN107770096A (en) * 2017-12-11 2018-03-06 国网河南省电力公司信息通信公司 A kind of SDN/NFV network dynamic resource allocation algorithms based on load balancing
US10848428B2 (en) 2017-12-11 2020-11-24 State Grid Henan Information & Telecommuncation Company Method for dynamically allocating resources in an SDN/NFV network based on load balancing
CN107770096B (en) * 2017-12-11 2021-07-30 国网河南省电力公司信息通信公司 SDN/NFV network dynamic resource allocation method based on load balancing
CN108465244A (en) * 2018-03-30 2018-08-31 腾讯科技(深圳)有限公司 AI method for parameter configuration, device, equipment and storage medium for racing class AI models
CN108465244B (en) * 2018-03-30 2019-05-07 腾讯科技(深圳)有限公司 AI method for parameter configuration, device, equipment and storage medium for racing class AI model
WO2019184777A1 (en) * 2018-03-30 2019-10-03 腾讯科技(深圳)有限公司 Method, device, and apparatus for configuring ai parameter of racing ai model, and storage medium
US11911702B2 (en) 2018-03-30 2024-02-27 Tencent Technology (Shenzhen) Company Limited AI parameter configuration method and apparatus for racing AI model, AI parameter configuration device, and storage medium

Also Published As

Publication number Publication date
CN102291308B (en) 2016-05-11

Similar Documents

Publication Publication Date Title
CN102291308A (en) Method and system for implementing network dynamic load balancing
CN103345657B (en) Method for scheduling task based on heredity and ant group under cloud computing environment
CN105449675B (en) The electric power networks reconstructing method of Optimum distribution formula energy access point and access ratio
CN101777990B (en) Method for selecting multi-objective immune optimization multicast router path
CN109451012B (en) End cloud collaborative load balancing scheduling method, system and storage medium
CN107017618A (en) A kind of active power distribution network division of the power supply area method and device
CN109599894A (en) A kind of grid-connected Optimal Configuration Method of DG based on improved adaptive GA-IAGA
CN101677286A (en) Optimization method of carrier network
CN113723807B (en) Energy storage and information system double-layer collaborative planning method, device and medium
CN101616074B (en) Multicast routing optimization method based on quantum evolution
CN109217284A (en) A kind of reconstruction method of power distribution network based on immune binary particle swarm algorithm
CN110350605A (en) A kind of planing method of multistage alternating current-direct current mixed connection power distribution network direct current upgrading
CN102394812B (en) Self-feedback dynamic self-adaption resource distribution method of cognitive network
CN111885493A (en) Micro-cloud deployment method based on improved cuckoo search algorithm
CN111047040A (en) Web service combination method based on IFPA algorithm
CN110460043A (en) The distribution network structure reconstructing method of particle swarm algorithm is improved based on multiple target
CN104410529B (en) A kind of minimum vertex-covering dispositions method of software definition data center network controller
CN103279796A (en) Method for optimizing genetic algorithm evolution quality
CN108537369A (en) Improvement population algorithm for distribution network reconfiguration based on local search
CN108734349A (en) Distributed generation resource addressing constant volume optimization method based on improved adaptive GA-IAGA and system
CN107169561A (en) Towards the hybrid particle swarm impulsive neural networks mapping method of power consumption
CN110390395A (en) Improved genetic algorithm suitable for self-adaptive mutation crossing of SDN multi-controller deployment problem
CN102158413A (en) Multi-agent multicast routing method based on adjacent immune clonal selection
CN114094574A (en) Power distribution network optimization reconstruction method based on non-cooperative game
CN113326135B (en) Cloud resource scheduling method under multiple targets

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address

Address after: 518000 Guangdong province Futian District Shangbu Road West of the city of Shenzhen Shenzhen science and technology building 15 layer (1502-1504, 1506)

Co-patentee after: China Guangdong Nuclear Power Group Co., Ltd.

Patentee after: CHINA NUCLEAR POWER TECHNOLOGY RESEARCH INSTITUTE

Address before: 518000 Guangdong city of Shenzhen province Futian District science and technology building, Shangbu Road 15

Co-patentee before: China Guangdong Nuclear Power Group Co., Ltd.

Patentee before: Zhongkehua Nuclear Power Technology Institute Co., Ltd.

CP03 Change of name, title or address