CN103581037B - A kind of level and smooth suppressing method of load based on power communication soft switch gateway - Google Patents

A kind of level and smooth suppressing method of load based on power communication soft switch gateway Download PDF

Info

Publication number
CN103581037B
CN103581037B CN201310552868.8A CN201310552868A CN103581037B CN 103581037 B CN103581037 B CN 103581037B CN 201310552868 A CN201310552868 A CN 201310552868A CN 103581037 B CN103581037 B CN 103581037B
Authority
CN
China
Prior art keywords
solution vector
business
speed control
gateway
cycle
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.)
Active
Application number
CN201310552868.8A
Other languages
Chinese (zh)
Other versions
CN103581037A (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.)
LIAONING MEDICAL DEVICE TESTING
Liaoning Planning And Designing Institute Of Posts And Telecommunication Co Ltd
State Grid Corp of China SGCC
State Grid Liaoning Electric Power Co Ltd
Original Assignee
LIAONING MEDICAL DEVICE TESTING
Liaoning Planning And Designing Institute Of Posts And Telecommunication Co Ltd
State Grid Corp of China SGCC
State Grid Liaoning Electric Power 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 LIAONING MEDICAL DEVICE TESTING, Liaoning Planning And Designing Institute Of Posts And Telecommunication Co Ltd, State Grid Corp of China SGCC, State Grid Liaoning Electric Power Co Ltd filed Critical LIAONING MEDICAL DEVICE TESTING
Priority to CN201310552868.8A priority Critical patent/CN103581037B/en
Publication of CN103581037A publication Critical patent/CN103581037A/en
Application granted granted Critical
Publication of CN103581037B publication Critical patent/CN103581037B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

A kind of level and smooth suppressing method of load based on power communication soft switch gateway of the present invention, belong to load balancing and the resource optimization technical field of powerline network, by considering fairness and the validity of load suppressing method, with soft switch gateway traffic overload for rejection condition, detect cpu busy percentage and the service spatial cache utilance of soft switch gateway, determine whether soft switch gateway is in traffic overload, and set up Model for Multi-Objective Optimization, utilize the optimization of ant group swarm intelligence to obtain the optimal feasible solution of this model, realize the level and smooth suppression to different business; The optimal feasible solution that the present invention proposes to be obtained by ant colony intelligence optimization multiple target efficiency Optimized model innovatively may carry out the effectively suppression of justice by overloaded traffic to different; The present invention proposes to adopt the level and smooth mode suppressed to prevent soft switch gateway load from occurring catastrophe, thus effectively can improve systematic function.

Description

A kind of level and smooth suppressing method of load based on power communication soft switch gateway
Technical field
The invention belongs to load balancing and the resource optimization technical field of powerline network, be specifically related to a kind of level and smooth suppressing method of load based on power communication soft switch gateway.
Background technology
Along with the development of power system telecommunications technology, powerline network of future generation has developed into business-driven type, opening, distributivity and the many data transmission networks of comprehensive multi-service.Powerline network of future generation is separated with Call-Control1, calls out and be separated with carrying due to business, its business can really independent of bearer network, and powerline network of future generation itself also can provide multi-service most certificate flexibly effectively, thus third party service provider is joined in the middle of the definition of new business, design and operation.As the support platform for business development, operation and management that powerline network of future generation provides, the network that oneself runs by soft switch gateway opens to third party service provider, and new business can develop independent of network-external and run.Soft switch gateway, as the important component part of powerline network architecture of future generation, while the call request of different entities processes in network, also will provide service processing function to the application demand of third party service provider.So a large amount of Business Processing requests is easy to cause soft switch gateway to occur that high capacity even occurs traffic overload, thus reduce the traffic handing capacity of soft switch gateway.Therefore, effective control of soft switch gateway load has become the focus theme of research both at home and abroad.
Existing a large amount of researcher controls to expand research to the load of soft switch gateway now, the people such as Zhang propose a kind of adaptive control algorithm based on soft switch gateway server, service request is processed by utilizing priority treatment principle the earliest, and utilize token bucket algorithm service control arrival rate, judge whether overload by the queue wait time of up-to-date business, thus make this algorithm simple possible.The people such as Liu have studied the fairness that load controls, and propose and effectively can solve the method that soft exchanging network closes premature beats fairness.The people such as Deng, using soft exchanging network Central Shanxi Plain cpu busy percentage as load overload threshold, propose the overload control algorithms based on bank money controlling mechanism, by considering the fairness of premature beats, have studied the effective control method controlling different overloaded traffic.
These methods are effective for solution high capacity or traffic overload to a certain extent above, certain fairness and validity can be met, but it is larger to service impact that it controls result, processed service request is usually caused to fluctuate larger, load control effects is unsatisfactory, and does not consider the practical problem of the high energy consumption of soft switch gateway, poor efficiency and low-energy-efficiency.
Summary of the invention
For the deficiencies in the prior art, the present invention proposes a kind of level and smooth suppressing method of load based on power communication soft switch gateway, to reach the object improving soft switch gateway efficiency in existing powerline network.
Based on the level and smooth suppressing method of load of power communication soft switch gateway, comprise the following steps:
Step 1, according to the arrival rate of number of services, different business in this sense cycle and processing speed, obtain the utilance of CPU, and according to the free space in services cache space, obtain services cache space availability ratio;
Step 2, judge whether soft switch gateway transships, namely judge whether the utilance of CPU is greater than threshold value set according to demand, judge whether services cache space availability ratio is greater than threshold value set according to demand simultaneously, if above-mentioned, both are greater than threshold value simultaneously, then soft switch gateway overload, stop the business in next cycle of reception and perform step 3, otherwise, extend sense cycle and also return execution step 1;
Step 3, according to the total throughout of gateway with process the total energy consumption that whole business consumes, in conjunction with the restrictive condition of different business speed control, adopt ant group algorithm obtain efficiency maximum time different business speed control;
Step 3-1, be set in the qualifications of different business speed control in premature beats process, comprise the lower limit that different business speed control is greater than its speed control, cpu busy percentage is less than or equal to set threshold value;
Step 3-2, according to number of services in Business Processing cycle of this gateway and this cycle, set up the relation of this gateway total throughout and different business speed control;
Step 3-3, according to basal energy expenditure power proportion in number of services, this gateway link capacity and link in Business Processing cycle of this gateway, this cycle, set up the relation of total energy consumption that all business of this gateway processes consume and different business speed control;
The relation of the relation of step 3-4, restrictive condition, gateway total throughout and different business speed control in conjunction with different business speed control, total energy consumption that all business of this gateway processes consume and different business speed control, sets up efficiency Optimized model;
Different business speed control when step 3-5, employing ant group algorithm acquisition efficiency are maximum;
Step 3-6, different business speed control when adopting level and smooth suppressing method maximum to efficiency carry out premature beats, obtain the final speed control of different business;
Step 4, according to the final speed control of different business obtained, counter is set, namely sets the quantity of reception business in next cycle, realize the control that actual gateway is transshipped;
Step 5, judge that in this cycle, whether all business have all processed, and if so, then shorten sense cycle, wait-receiving mode new business, and return and perform step 1; Otherwise continue to process surplus lines.
The arrival rate according to number of services, different business described in step 1 and processing speed, obtain the utilance of CPU;
Cpu busy percentage ρ formula is as follows:
ρ = Σ i = 1 n ( v i A / v i P ) - - - ( 1 )
Wherein, n represents number of services, represent the arrival rate of business i in this cycle, A represents Arrive, 1≤i≤n, the processing speed of expression business i, P represents process;
The described free space according to services cache space, obtain services cache space availability ratio η, formula is as follows:
η=(P o-P c)/P o(2)
Wherein, P ofor services cache queue total length; P crepresent the free space in services cache space.
Set up efficiency Optimized model described in step 3-4, formula is as follows:
v i C = arg max J ( v i C ) s . t . v i C ≥ v i _ min C Σ i = 1 n v i C / v i P ≤ ρ * 1 ≤ i ≤ n - - - ( 3 )
Wherein, the speed control of expression business i, C represents Control, the minimum speed control of expression business i; N represents number of services; ρ *represent cpu busy percentage threshold value, the processing speed of expression business i, P represents process; J = P total / / E total = &Sigma; i = 1 n v i C / ( n&beta;c e + &Sigma; i = 1 n ( 1 - &beta; ) v i C ) , P tatalthe total throughout of gateway in indication cycle, E totalrepresent the total energy consumption that process this cycle all business consume; c erepresent link capacity, β represents basal energy expenditure power proportion in link, 0 < β < 1.
Different business speed control when employing ant group algorithm acquisition efficiency described in step 3-5 is maximum, specifically comprises the following steps:
Step 3-5-1, carry out initialization to ant group algorithm, namely arrange the number M that total iterations is A, solution vector, described each solution vector is made up of the processing speed of all business in certain iteration;
Arrange iterations a=1, meeting under the restrictive condition in efficiency Optimized model, draw the initial solution of speed control vector as algorithm of one group of different business at random, solution vector matrix is be expressed as:
V M &times; n C _ a = V 1 C _ a . . . V m C _ a . . . V M C _ a = v 1 _ 1 C _ a . . . v 1 _ i C _ a . . . v 1 _ n C _ a . . . . . . . . . . . . . . . v m _ 1 C _ a . . . v m _ i C _ a . . . v m _ n C _ a . . . . . . . . . . . . . . . v M _ 1 C _ a . . . v M _ i C _ a . . . v M _ n C _ a - - - ( 4 )
Wherein, represent the first to the M group solution vector; represent in a time iteration, the control rate of first group of solution vector, first business is to the speed control of M group solution vector n-th business, and n represents number of services;
The pheromones intensity arranging M solution vector is Q, initial information prime matrix Plist afor:
Wherein, ρ 1..., ρ m.., ρ mrepresent the pheromones of first solution vector to M solution vector respectively;
The efficiency matrix J of homography afor:
J a = [ J ( V 1 C _ a ) , J ( V 2 C _ a ) , . . . , J ( V M C _ a ) ] - - - ( 6 )
Now iterations a is 1;
Speed control in step 3-5-2, selection efficiency matrix corresponding to efficiency minimum value, Gaussian mutation is carried out to remaining M-1 group solution in solution vector matrix, if the solution vector gained energy valid value after variation is greater than the energy valid value of former solution vector, then solution vector matrix is upgraded, the solution vector after variation is replaced former solution vector; If the solution vector gained energy valid value after variation is less than or equal to the energy valid value of original solution vector, then solution vector is upgraded by setting probability according to roulette algorithm, the value that even roulette algorithm draws is less than or equal to setting probability, then carry out renewal to solution vector matrix to replace, if be greater than setting probability, do not carry out renewal and replace, finally obtain the solution vector matrix after upgrading;
Step 3-5-3, according to efficiency matrix J amiddle efficiency maximum and efficiency minimum value, obtain the Pheromone update coefficient μ in each solution vector m, the pheromones ρ of M solution vector after renewal m' be:
ρ m′=ρ m(1-Rho)+Qμ m(7)
Wherein, μ m=(J (V m)-J min)/(J max-J min), J (V m) represent solution vector V mcorresponding energy valid value, J maxrepresent efficiency maximum, J minrepresent efficiency minimum value, Rho represents pheromones volatility coefficient, 0 < Rho < 1; And to Pheromone Matrix Plist aupgrade, obtain the Pheromone Matrix after upgrading, efficiency matrix is upgraded simultaneously, obtain the efficiency matrix after upgrading;
In step 3-5-4, solution vector matrix in the updated, random selecting x group solution vector makes a variation:
Group number x formula is as follows:
x=M×(A+a)/2A(8)
Select pheromones in x group solution vector to be worth the speed control corresponding to maximum solution vector according to the Pheromone Matrix after upgrading, according to following formula, the x a chosen solution vector made a variation:
V m ' C _ a = ( 1 - w ) V m C _ a + w &times; V max _ x C _ a - - - ( 9 )
Wherein, 0 < w < 1; represent the solution vector after variation, represent that in x group solution vector, pheromones is worth the speed control corresponding to maximum solution vector;
If the solution vector gained energy valid value after variation is greater than the energy valid value of former solution vector, then the solution vector matrix after renewal is upgraded again, the solution vector be about to after variation replaces former solution vector, if the solution vector gained energy valid value after variation is less than the energy valid value of original solution vector, then adopt roulette algorithm to upgrade by probability, and the efficiency matrix after renewal and the Pheromone Matrix after upgrading are upgraded again;
Step 3-5-5, judge whether iterations reaches set point, if so, then obtain final efficiency matrix and perform step 2-5-6; Otherwise return and perform step 2-5-2;
Step 3-5-6, in final efficiency matrix, select can valid value maximum time corresponding different business speed control, namely obtain the different business speed control that this gateway efficiency is maximum formula is as follows:
V max C = arg ( max ( J a ( V m C _ a ) ) ) = [ v 1 C _ max , . . . , v i C _ max , . . . , v n C _ max ] - - - ( 10 )
Different business speed control when the level and smooth suppressing method of employing described in step 3-6 is maximum to efficiency carries out premature beats, and formula is as follows:
v i C = v i A &times; ( 1 - e ) - - - ( 11 )
Wherein, the speed control of expression business i, C represents Control, represent the arrival rate of business i in this cycle, A represents Arrive, and 1≤i≤n, n represents number of services, and e represents level and smooth rejection coefficient,
Sense cycle described in step 1 is α T 0, α ∈ [1, T m/ T 0], wherein, T 0for the least measuring time cycle, T mfor the maximum measuring time cycle.
Prolongation sense cycle described in step 2, namely sense cycle maximum is regulated, be specially: sense cycle maximum is multiplied by adjustment factor, obtain new sense cycle maximum, the span of adjustment factor is 1 ~ 2, if the sense cycle maximum after regulating is greater than sense cycle maximum higher limit, then sense cycle maximum is extended for sense cycle maximum higher limit.
Shortening sense cycle described in step 5, namely regulates sense cycle maximum, is specially: sense cycle maximum is multiplied by adjustment factor, obtains new sense cycle maximum, and the span of adjustment factor is T 0/ T m~ 1, wherein, T 0for the least measuring time cycle, T mfor the maximum measuring time cycle.
Advantage of the present invention:
A kind of level and smooth suppressing method of load based on power communication soft switch gateway of the present invention, by considering fairness and the validity of load suppressing method, with soft switch gateway traffic overload for rejection condition, detect cpu busy percentage and the service spatial cache utilance of soft switch gateway, determine whether soft switch gateway is in traffic overload, and set up Model for Multi-Objective Optimization, utilize the optimization of ant group swarm intelligence to obtain the optimal feasible solution of this model, realize the level and smooth suppression to different business; The optimal feasible solution that the present invention proposes to be obtained by ant colony intelligence optimization multiple target efficiency Optimized model innovatively may carry out the effectively suppression of justice by overloaded traffic to different; The present invention proposes to adopt the level and smooth mode suppressed to prevent soft switch gateway load from occurring catastrophe, thus effectively can improve systematic function.
Accompanying drawing explanation
Fig. 1 is the level and smooth suppressing method flow chart of the load based on power communication soft switch gateway of an embodiment of the present invention;
Fig. 2 is that the load of an embodiment of the present invention smoothly suppresses system block diagram;
Fig. 3 is that the load of an embodiment of the present invention smoothly suppresses iterations on the impact of efficiency;
Fig. 4 is that the load of an embodiment of the present invention smoothly suppresses cpu busy percentage;
Fig. 5 is that the load of an embodiment of the present invention smoothly suppresses multi-service Energy Efficiency Analysis.
Embodiment
Below in conjunction with accompanying drawing, a kind of embodiment of invention is described further.
Based on the level and smooth suppressing method of load of power communication soft switch gateway, method flow diagram as shown in Figure 1, comprises the following steps:
Step 1, according to the arrival rate of number of services, different business in this sense cycle and processing speed, obtain the utilance of CPU, and according to the free space in services cache space, obtain services cache space availability ratio;
As shown in Figure 2, for soft switch gateway in the embodiment of the present invention, server is processed by the service request of soft switch gateway to different business; Wherein at server end, services cache queue total length is 200; In 160 traffic handling time units T (T=1s), carry out Service control to the different business of soft switch gateway in embodiment, there is overload in the business in cycle 20T ~ 100T that is arranged on, arranges T 0=100ms, arranges T mscope be 1 ~ 3s, initial T m=2s; Three different business S are set 1, S 2, S 3carry out premature beats, be all 5/second in the arrival rate of time period three business of nonoverload, in the time period 20T ~ 100T of overload, the arrival rate of three business is all 100/second, and its processing speed is respectively the arrival rate arranging three kinds of business for the condition that meets fairness and validity when premature beats is all satisfied v i a &GreaterEqual; 10,1 &le; i &le; 3 .
In the embodiment of the present invention, dynamic sampling is adopted to measure soft switch gateway cpu busy percentage ρ and service spatial cache utilance η; To measure step-length α T 0dynamic random measures the cpu busy percentage ρ of soft switch gateway, measures the free space P between services cache queue empty simultaneously c, and draw services cache space availability ratio η;
Cpu busy percentage ρ formula is as follows:
&rho; = &Sigma; i = 1 3 ( v i A / v i P ) - - - ( 1 )
Obtain services cache space availability ratio η, formula is as follows:
η=(P o-P c)/P o(2)
Step 2, judge whether soft switch gateway transships, namely judge whether the utilance of CPU is greater than threshold value set according to demand, judge whether services cache space availability ratio is greater than threshold value set according to demand simultaneously, if above-mentioned, both are greater than threshold value simultaneously, then soft switch gateway overload, stop the business in next cycle of reception and perform step 3, otherwise, extend sense cycle and also return execution step 1;
In the embodiment of the present invention, setting corresponds to the utilance ρ of CPU, the overload threshold ρ of services cache space availability ratio η *and η *, ρ *=0.9, η *=0.9; Initializing variable l ρ=0 and l η=0, perform following full load degree deterministic process: if ρ *≤ ρ, soft switch gateway cpu load transships, then l ρ=1; If η *≤ η, the load of services cache space is transshipped, then l η=1.Finally, following judgement is done: if (l ρaMP.AMp.Amp l η)=1, then soft switch gateway overload;
In the embodiment of the present invention, extend sense cycle, namely sense cycle maximum regulated, be specially:
T m′=βT m(12)
Wherein, T m' represent the rear sense cycle maximum of adjustment; β is regulating system, and 1 < β < 2; If T m' > T u, wherein, T ufor maximum measuring time upper cycle limit, make T m'=T u, wherein T u=3;
Step 3, according to the total throughout of gateway with process the total energy consumption that whole business consumes, in conjunction with the restrictive condition of different business speed control, adopt ant group algorithm obtain efficiency maximum time different business speed control;
Step 3-1, be set in the qualifications of different business speed control in premature beats process, comprise different business speed control and be greater than minimum speed control, cpu busy percentage is less than or equal to set threshold value;
The span of different business speed control in load process of inhibition is set according to fair principle:
v i C &GreaterEqual; 10 - - - ( 13 )
According to validity principle, cpu busy percentage must be had can not to be greater than its threshold value, so the speed control of different business also demand fulfillment:
&Sigma; i = 1 3 v i C / v i P &le; 0.9 - - - ( 14 )
Step 3-2, according to number of services in Business Processing cycle of this gateway and this cycle, set up the relation of this gateway total throughout and different business speed control;
Formula is as follows:
P total = T &Sigma; i = 1 3 v i C - - - ( 15 )
Wherein, T is process service period;
Step 3-3, according to basal energy expenditure power proportion in number of services, this gateway link capacity and link in Business Processing cycle of this gateway, this cycle, set up the relation of total energy consumption that all business of this gateway processes consume and different business speed control;
E total = T ( 3 &beta;c e + &Sigma; i = 1 3 ( 1 - &beta; ) v i C ) - - - ( 16 )
The relation of the relation of step 3-4, restrictive condition, gateway total throughout and different business speed control in conjunction with different business speed control, total energy consumption that all business of this gateway processes consume and different business speed control, sets up efficiency Optimized model;
Efficiency Optimized model formula is as follows:
v i C = arg max J ( v i C ) s . t . v i C &GreaterEqual; 10 &Sigma; i = 1 n v i C / v i P &le; 0.9 1 &le; i &le; 3 - - - ( 3 )
Wherein, J = P total / E total = &Sigma; i = 1 n v i C / ( n&beta;c e + &Sigma; i = 1 n ( 1 - &beta; ) v i C )
Different business speed control when step 3-5, employing ant group algorithm acquisition efficiency are maximum, specifically comprises the following steps:
Step 3-5-1, carry out initialization to ant group algorithm, namely arrange the number M that total iterations is A, solution vector, described each solution vector is made up of the processing speed of all business in certain iteration;
In the embodiment of the present invention, arranging total iterations is 25 times, and ant (solution vector) number is 20, so the solution vector of 20 of correspondence ants is 20 × 3 matrixes;
Arrange iterations a=1, meeting under the restrictive condition in efficiency Optimized model, draw the initial solution of speed control vector as algorithm of one group of different business at random, solution vector matrix is be expressed as:
V 20 &times; 3 C _ a = v 1 _ 1 C _ a v 1 _ 2 C _ a v 1 _ 3 C _ a . . . . . . . . . v m _ 1 C _ a v m _ 2 C _ a v m _ 3 C _ a . . . . . . . . . v 20 _ 1 C _ a v 20 _ 2 C _ a v 20 _ 3 C _ a - - - ( 4 )
Wherein, represent in a time iteration, the control rate of first group of solution vector, first business is to the speed control of the 20th group of solution vector the 3rd business;
The pheromones intensity arranging M solution vector is Q=1, initial information prime matrix Plist afor:
The efficiency matrix J of homography afor:
J a = [ J ( V 1 C _ a ) , J ( V 2 C _ a ) , . . . , J ( V 20 C _ a ) ] - - - ( 6 )
Now iterations a is 1;
Step 3-5-2, selection efficiency matrix J aspeed control corresponding to middle efficiency minimum value, to solution vector matrix in remaining M-1 group solution carry out Gaussian mutation, if the solution vector gained energy valid value after variation is greater than the energy valid value of former solution vector, then to solution vector matrix upgrade, the solution vector after variation is replaced former solution vector; If the solution vector gained energy valid value after variation is less than or equal to the energy valid value of original solution vector, then press probability P according to roulette algorithm m(0 < P m< 0.1) solution vector is upgraded, P in the present embodiment m=0.08, the value that even roulette algorithm draws is less than or equal to P m, then to solution vector matrix carry out renewal to replace, if be greater than P mthen do not carry out renewal to replace, finally obtain the solution vector matrix after upgrading;
Step 3-5-3, according to efficiency matrix J amiddle efficiency maximum and efficiency minimum value, obtain the Pheromone update coefficient μ in each solution vector m, the pheromones ρ of M solution vector after renewal m' be:
ρ m′=ρ m(1-Rho)+Qμ m(7)
Wherein, pheromones volatility coefficient is Rho=0.5; And to Pheromone Matrix Plist aupgrade, obtain the Pheromone Matrix after upgrading, efficiency matrix is upgraded simultaneously, obtain the efficiency matrix after upgrading;
In step 3-5-4, solution vector matrix in the updated, random selecting x group solution vector makes a variation:
Group number x formula is as follows:
x=M×(A+a)/2A(8)
During a=1, namely during first time iteration, from the solution vector matrix after renewal, Stochastic choice goes out x=10 group solution vector, select pheromones in these 10 groups of solution vectors according to the Pheromone Matrix after renewal and be worth the speed control corresponding to maximum solution vector, according to following formula, these 10 solution vectors chosen are made a variation:
V m ' C _ a = ( 1 - w ) V m C _ a + w &times; V max _ x C _ a - - - ( 9 )
Wherein, w=0.6;
If the solution vector gained energy valid value after variation is greater than the energy valid value of former solution vector, then the solution vector matrix after renewal is upgraded again, the solution vector be about to after variation replaces former solution vector, if the solution vector gained energy valid value after variation is less than the energy valid value of original solution vector, then adopt roulette algorithm to upgrade by probability, and the efficiency matrix after renewal and the Pheromone Matrix after upgrading are upgraded again;
Step 3-5-5, judge whether iterations reaches set point, if so, then obtain final efficiency matrix and perform step 2-5-6; Otherwise return and perform step 2-5-2;
Step 3-5-6, in final efficiency matrix, select can valid value maximum time corresponding different business speed control, namely obtain the different business speed control that this gateway efficiency is maximum formula is as follows:
V max C = arg ( max ( J a ( V m C - a ) ) ) = [ v 1 C _ max v 2 C _ max v 3 C _ max ] - - - ( 10 )
Step 3-6, different business speed control when adopting level and smooth suppressing method maximum to efficiency carry out premature beats, obtain the final speed control of different business; Formula is as follows:
v i C = v i A &times; ( 1 - e ) - - - ( 11 )
Wherein, represent the arrival rate of business i in this cycle, A represents Arrive, and 1≤i≤n, n represents number of services, and e represents level and smooth rejection coefficient, through the iteration in multiple premature beats cycle, level and smooth rejection coefficient e levels off to zero, the value that the arrival rate of business also levels off in formula (10);
Judging whether level and smooth rejection coefficient meets e < 0, as met, then stopping suppressing and performing step 4; Otherwise, return and perform the level and smooth suppression of step 3-6 continuation execution.
Step 4, according to the final speed control of different business obtained, counter is set, namely sets the quantity of reception business in next cycle, realize the control that actual gateway is transshipped;
The final speed control of different business feeds back to the counter in the soft exchanging network Central Shanxi Plain, counter can enter the quantity of the different business of soft switch gateway according to the corresponding often kind of business of speed control value setting that these feed back, thus speed control is carried out to different business: when the value of certain business in corresponding counter is non-vanishing, just allow this service request from soft switch gateway by and processed by server, and often subtract one by value corresponding a traffic meter with regard to corresponding from soft switch gateway, if when the value in the counter of certain business in correspondence is zero, in this treatment cycle, soft switch gateway can not continue to receive this business,
Step 5, judge that in this cycle, whether all business have all processed, and if so, then shorten sense cycle, wait-receiving mode new business, and return and perform step 1; Otherwise continue to process surplus lines.
Shorten sense cycle, namely sense cycle maximum is regulated, be specially: sense cycle maximum is multiplied by adjustment factor T m=zT m, wherein z is regulating system, and T 0/ T m< z < 1, obtains new sense cycle maximum.
As shown in Figure 3, the level and smooth suppressing method of this load only needs iteration about 25 times, just can draw the optimal solution of energetic efficiency objectives function, has good convergence in this way.
As shown in Figure 4, the level and smooth suppressing method of this load has good validity, can meet the restrictive condition of its nonoverload; And can find out and utilize this level and smooth suppressing method, when premature beats, cpu busy percentage slowly rises until its threshold value, plays a very good protection like this to server.
As shown in Figure 5, the efficiency change in the level and smooth process of inhibition of load of three kinds of business, under the principle meeting fairness, the efficiency of three kinds of business all reaches optimum, is similar to the effect that Fig. 4 smoothly suppresses and is also represented in Figure 5.

Claims (5)

1., based on the level and smooth suppressing method of load of power communication soft switch gateway, it is characterized in that, comprise the following steps:
Step 1, according to the arrival rate of number of services, different business in sense cycle and processing speed, obtain the utilance of CPU, and according to the free space in services cache space, obtain services cache space availability ratio;
Step 2, judge whether soft switch gateway transships, namely judge whether the utilance of CPU is greater than threshold value set according to demand, judge whether services cache space availability ratio is greater than threshold value set according to demand simultaneously, if above-mentioned, both are greater than threshold value simultaneously, then soft switch gateway overload, stop the business in next cycle of reception and perform step 3, otherwise, extend sense cycle and also return execution step 1;
Step 3, according to the total throughout of gateway with process the total energy consumption that whole business consumes, in conjunction with the restrictive condition of different business speed control, adopt ant group algorithm obtain efficiency maximum time different business speed control;
Step 3-1, be set in the qualifications of different business speed control in premature beats process, comprise the lower limit that different business speed control is greater than its speed control, cpu busy percentage is less than or equal to set threshold value;
Step 3-2, according to number of services in Business Processing cycle of this gateway and this cycle, set up the relation of this gateway total throughout and different business speed control;
Step 3-3, according to basal energy expenditure power proportion in number of services, this gateway link capacity and link in Business Processing cycle of this gateway, this cycle, set up the relation of total energy consumption that all business of this gateway processes consume and different business speed control;
The relation of the relation of step 3-4, restrictive condition, gateway total throughout and different business speed control in conjunction with different business speed control, total energy consumption that all business of this gateway processes consume and different business speed control, sets up efficiency Optimized model;
Set up efficiency Optimized model, formula is as follows:
Wherein, the speed control of expression business i, C represents Control, the minimum speed control of expression business i; N represents number of services; ρ *represent cpu busy percentage threshold value, the processing speed of expression business i, P represents process; p tatalthe total throughout of gateway in indication cycle, E totalrepresent the total energy consumption that process this cycle all business consume; c erepresent link capacity, β represents basal energy expenditure power proportion in link, 0 < β < 1;
Different business speed control when step 3-5, employing ant group algorithm acquisition efficiency are maximum; Specifically comprise the following steps:
Step 3-5-1, carry out initialization to ant group algorithm, namely arrange the number M that total iterations is A, solution vector, each solution vector is made up of the processing speed of all business in certain iteration;
Arrange iterations a=1, meeting under the restrictive condition in efficiency Optimized model, draw the initial solution of speed control vector as algorithm of one group of different business at random, solution vector matrix is be expressed as:
Wherein, represent the first to the M group solution vector; represent in a time iteration, the control rate of first group of solution vector, first business is to the speed control of M group solution vector n-th business, and n represents number of services;
The pheromones intensity arranging M solution vector is Q, initial information prime matrix Plist afor:
Wherein, ρ 1..., ρ m..., ρ mrepresent the pheromones of first solution vector to M solution vector respectively;
The efficiency matrix J of homography afor:
Now iterations a is 1;
Step 3-5-2, selection efficiency matrix J aspeed control corresponding to middle efficiency minimum value, to solution vector matrix in remaining M-1 group solution carry out Gaussian mutation, if the solution vector gained energy valid value after variation is greater than the energy valid value of former solution vector, then to solution vector matrix upgrade, the solution vector after variation is replaced former solution vector; If the solution vector gained energy valid value after variation is less than or equal to the energy valid value of original solution vector, then upgrade solution vector by probability P m according to roulette algorithm, the value that even roulette algorithm draws is less than or equal to Pm, then to solution vector matrix carry out renewal to replace, if be greater than Pm, do not carry out renewal and replace, finally obtain the solution vector matrix after upgrading;
Step 3-5-3, according to efficiency matrix J amiddle efficiency maximum and efficiency minimum value, obtain the Pheromone update coefficient μ in each solution vector m, the pheromones ρ of M solution vector after renewal m' be:
ρ′ m=ρ m(1-Rho)+Qμ m(7)
Wherein, μ m=(J (V m)-J min)/(J max-J min), J maxrepresent efficiency maximum, J minrepresent efficiency minimum value, J (V m) represent solution vector V mcorresponding energy valid value, Rho represents pheromones volatility coefficient, 0 < Rho < 1; And to Pheromone Matrix Plist aupgrade, obtain the Pheromone Matrix after upgrading, efficiency matrix is upgraded simultaneously, obtain the efficiency matrix after upgrading;
In step 3-5-4, solution vector matrix in the updated, random selecting x group solution vector makes a variation:
Group number x formula is as follows:
x=M×(A+a)/2A(8)
Select pheromones in x group solution vector to be worth the speed control corresponding to maximum solution vector according to the Pheromone Matrix after upgrading, according to following formula, the x a chosen solution vector made a variation:
Wherein, 0 < w < 1; represent the solution vector after variation, represent that in x group solution vector, pheromones is worth the speed control corresponding to maximum solution vector;
If the solution vector gained energy valid value after variation is greater than the energy valid value of former solution vector, then the solution vector matrix after renewal is upgraded again, the solution vector be about to after variation replaces former solution vector, if the solution vector gained energy valid value after variation is less than the energy valid value of original solution vector, then adopt roulette algorithm to upgrade by probability, and the efficiency matrix after renewal and the Pheromone Matrix after upgrading are upgraded again;
Step 3-5-5, judge whether iterations reaches set point, if so, then obtain final efficiency matrix and perform step 3-5-6; Otherwise return and perform step 3-5-2;
Step 3-5-6, in final efficiency matrix, select can valid value maximum time corresponding different business speed control, namely obtain the different business speed control that this gateway efficiency is maximum formula is as follows:
Step 3-6, different business speed control when adopting level and smooth suppressing method maximum to efficiency carry out premature beats, obtain the final speed control of different business; Formula is as follows:
Wherein, the speed control of expression business i, C represents Control, represent the arrival rate of business i in this cycle, A represents Arrive, and 1≤i≤n, n represents number of services, and e represents level and smooth rejection coefficient, λ > 1;
Step 4, according to the final speed control of different business obtained, counter is set, namely sets the quantity of reception business in next cycle, realize the control that actual gateway is transshipped;
Step 5, judge that in this cycle, whether all business have all processed, and if so, then shorten sense cycle, wait-receiving mode new business, and return and perform step 1; Otherwise continue to process surplus lines.
2. the level and smooth suppressing method of load based on power communication soft switch gateway according to claim 1, is characterized in that, the arrival rate according to number of services, different business described in step 1 and processing speed, obtains the utilance of CPU;
Cpu busy percentage ρ formula is as follows:
Wherein, n represents number of services, represent the arrival rate of business i in this cycle, A represents Arrive, 1≤i≤n, the processing speed of expression business i, P represents process;
The described free space according to services cache space, obtain services cache space availability ratio η, formula is as follows:
η=(P o-P c)/P o(2)
Wherein, P ofor services cache queue total length; P crepresent the free space in services cache space.
3. the level and smooth suppressing method of load based on power communication soft switch gateway according to claim 1, it is characterized in that, the sense cycle described in step 1 is α T 0, α ∈ [1, T m/ T 0], wherein, T 0for the least measuring time cycle, T mfor the maximum measuring time cycle.
4. the level and smooth suppressing method of load based on power communication soft switch gateway according to claim 1, it is characterized in that, prolongation sense cycle described in step 2, namely sense cycle maximum is regulated, be specially: sense cycle maximum is multiplied by adjustment factor, obtain new sense cycle maximum, the span of adjustment factor is 1 ~ 2, if the sense cycle maximum after regulating is greater than sense cycle maximum higher limit, then sense cycle maximum is extended for sense cycle maximum higher limit.
5. the level and smooth suppressing method of load based on power communication soft switch gateway according to claim 1, it is characterized in that, shortening sense cycle described in step 5, namely sense cycle maximum is regulated, be specially: sense cycle maximum is multiplied by adjustment factor, obtain new sense cycle maximum, the span of adjustment factor is T 0/ T m~ 1, wherein, T 0for the least measuring time cycle, T mfor the maximum measuring time cycle.
CN201310552868.8A 2013-11-08 2013-11-08 A kind of level and smooth suppressing method of load based on power communication soft switch gateway Active CN103581037B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310552868.8A CN103581037B (en) 2013-11-08 2013-11-08 A kind of level and smooth suppressing method of load based on power communication soft switch gateway

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310552868.8A CN103581037B (en) 2013-11-08 2013-11-08 A kind of level and smooth suppressing method of load based on power communication soft switch gateway

Publications (2)

Publication Number Publication Date
CN103581037A CN103581037A (en) 2014-02-12
CN103581037B true CN103581037B (en) 2016-04-13

Family

ID=50051998

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310552868.8A Active CN103581037B (en) 2013-11-08 2013-11-08 A kind of level and smooth suppressing method of load based on power communication soft switch gateway

Country Status (1)

Country Link
CN (1) CN103581037B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113572591B (en) * 2020-04-28 2023-09-29 北京科东电力控制***有限责任公司 Real-time high concurrency safety access device and access method for intelligent energy service system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102868161A (en) * 2012-10-23 2013-01-09 四川大学 Optimization method of network variable structure with distributed type power supply distribution system
CN103281245A (en) * 2013-04-26 2013-09-04 广东电网公司电力调度控制中心 Method and device for determining routing path of service

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110231320A1 (en) * 2009-12-22 2011-09-22 Irving Gary W Energy management systems and methods

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102868161A (en) * 2012-10-23 2013-01-09 四川大学 Optimization method of network variable structure with distributed type power supply distribution system
CN103281245A (en) * 2013-04-26 2013-09-04 广东电网公司电力调度控制中心 Method and device for determining routing path of service

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"软交换中媒体网关负载控制算法研究";章瑜;《中国优秀硕士学位论文全文数据库 信息科技辑》;20120415;全文 *

Also Published As

Publication number Publication date
CN103581037A (en) 2014-02-12

Similar Documents

Publication Publication Date Title
CN110099384A (en) Resource regulating method is unloaded based on side-end collaboration more MEC tasks of multi-user
CN103036974B (en) Cloud computing resource scheduling method based on hidden Markov model and system
CN106817499B (en) A kind of resources for traffic dispatching method and forecast dispatching device
JP5289588B2 (en) Method and system for calculating charges online based on user service volume
CN107465708A (en) A kind of CDN bandwidth scheduling systems and method
CN113615137B (en) CDN optimization platform
CN109831522A (en) A kind of vehicle connection cloud and mist system dynamic resource Optimal Management System and method based on SMDP
CN110519783A (en) 5G network based on enhancing study is sliced resource allocation methods
WO2020134133A1 (en) Resource allocation method, substation, and computer-readable storage medium
Yi et al. Balancing cost and dissatisfaction in online EV charging under real-time pricing
Keon et al. A new pricing model for competitive telecommunications services using congestion discounts
Bhattarai et al. Optimum aggregation of geographically distributed flexible resources in strategic smart-grid/microgrid locations
CN109543890A (en) Power grid based on load estimation equilibrium takes control Optimization Scheduling, apparatus and system
CN109992392A (en) A kind of calculation resource disposition method, device and Resource Server
Schoenen et al. Green communications by demand shaping and User-in-the-Loop tariff-based control
Bartolini et al. Optimal dynamic replica placement in content delivery networks
CN103580922A (en) Overload control method for electric power communication network application server based on hybrid optimization
CN103581037B (en) A kind of level and smooth suppressing method of load based on power communication soft switch gateway
CN111092827A (en) Power communication network resource allocation method and device
Tong et al. VNF dynamic scaling and deployment algorithm based on traffic prediction
Fan et al. Energy management of renewable based power grids using artificial intelligence: Digital twin of renewables
CN112092670B (en) Charging pile queuing and charging management method
CN108664318A (en) Computation migration method and server-side, boundary server-side for computation migration
CN102724100A (en) Board resource distribution system and method aiming at combination service
JP2022550648A (en) Control architecture for power distribution networks with distributed energy resources

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CI01 Correction of invention patent gazette

Correction item: Third applicant name

Correct: Liaoning Planning and Designing Institute of Posts and Telecommunication Co., Ltd.

False: LIAONING PLANNING AND DESIGNING INSTITUTE OF POST AND TELECOMMUNICATION CO., LTD.

Number: 07

Volume: 30

CI02 Correction of invention patent application

Correction item: Third applicant name

Correct: Liaoning Planning and Designing Institute of Posts and Telecommunication Co., Ltd.

False: LIAONING PLANNING AND DESIGNING INSTITUTE OF POST AND TELECOMMUNICATION CO., LTD.

Number: 07

Page: The title page

Volume: 30

ERR Gazette correction

Free format text: CORRECT: 3RD NAME OF APPLICANT; FROM: LIAONING PROVINCE PLANNING AND DESIGNING INSTITUTE OF POSTS AND TELECOMMUNICATION CO., LTD. TO: LIAONING PLANNING AND DESIGNING INSTITUTE OF POSTS AND TELECOMMUNICATION CO., LTD.

RECT Rectification
ASS Succession or assignment of patent right

Owner name: STATE GRID LIAONING ELECTRIC POWER CO., LTD. STATE

Free format text: FORMER OWNER: STATE GRID LIAONING ELECTRIC POWER CO., LTD. BENXI POWER SUPPLY COMPANY LIAONING PLANNING AND DESIGNING INSTITUTE OF POSTS AND TELECOMMUNICATION CO., LTD. LIAONING MEDICAL DEVICE TESTING

Effective date: 20141118

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20141118

Address after: 100761 West Chang'an Avenue, Beijing, No. 86, No.

Applicant after: State Grid Corporation of China

Applicant after: State Grid Liaoning Electric Power Co., Ltd.

Applicant after: Benxi Power Supply Company of State Grid Liaoning Electric Power Co., Ltd.

Applicant after: Liaoning Planning and Designing Institute of Posts and Telecommunication Co., Ltd.

Applicant after: LIAONING MEDICAL DEVICE TESTING

Address before: 100761 West Chang'an Avenue, Beijing, No. 86, No.

Applicant before: State Grid Corporation of China

Applicant before: Benxi Power Supply Company of State Grid Liaoning Electric Power Co., Ltd.

Applicant before: Liaoning Planning and Designing Institute of Posts and Telecommunication Co., Ltd.

Applicant before: LIAONING MEDICAL DEVICE TESTING

C14 Grant of patent or utility model
GR01 Patent grant