CN105225016A - A kind of in the cloud computing system of renewable energy supply based on the energy distributing method of cooperative game - Google Patents

A kind of in the cloud computing system of renewable energy supply based on the energy distributing method of cooperative game Download PDF

Info

Publication number
CN105225016A
CN105225016A CN201510725103.9A CN201510725103A CN105225016A CN 105225016 A CN105225016 A CN 105225016A CN 201510725103 A CN201510725103 A CN 201510725103A CN 105225016 A CN105225016 A CN 105225016A
Authority
CN
China
Prior art keywords
energy
delta
server
beta
alpha
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
CN201510725103.9A
Other languages
Chinese (zh)
Other versions
CN105225016B (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.)
East China Normal University
Original Assignee
East China Normal University
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 East China Normal University filed Critical East China Normal University
Priority to CN201510725103.9A priority Critical patent/CN105225016B/en
Publication of CN105225016A publication Critical patent/CN105225016A/en
Application granted granted Critical
Publication of CN105225016B publication Critical patent/CN105225016B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Supply And Distribution Of Alternating Current (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a kind of in the cloud computing system of renewable energy supply the energy distributing method based on cooperative game, mainly comprise the following steps: the time interval calculating this energy distribution; Predict the utilisable energy in this time interval; Judge that whether energy is sufficient; Theory based on cooperative game carries out modeling to energy distribution problem, and changes into the optimization problem of a belt restraining; This optimization problem is changed into its dual problem; By this dual problem of gradient projection method solution.In the present invention, role is mainly divided into user and cloud service provider, with conventional cloud calculate unlike, service provider will consider the singularity of energy supply while providing service.It is unstable for transforming by collection outside energy the electric energy obtained, and how energy reasonable distribution is given each user when the electric energy transformed is not enough by the present invention's consideration.In this case, cloud service provider needs the demand taking into account each user, and also will consider the cost of oneself, the present invention's cooperative game carries out modeling to this simultaneously, and being converted into the optimization problem of a belt restraining, namely the solution of this optimization problem is corresponding energy distribution scheme.

Description

A kind of in the cloud computing system of renewable energy supply based on the energy distributing method of cooperative game
Technical field
The present invention relates to cloud computing, game theory relevant knowledge, particularly relate to a kind of energy distribution scheme considering fairness and harmony; Specifically a kind of in the cloud computing system of renewable energy supply based on the energy distributing method of cooperative game.
Background technology
Regenerative resource can be used as the power supply source of computer system, but can series of problems be produced like this, whether comprise the abundance of electricity, whether stablizing of electric energy, whether the operation of computer system is influenced etc., and domestic and international expert has carried out deep research with regard to these problems.JingChen devises one and considers the characteristic of task and processor by the real-time system of regenerative resource energy supply, and author proposes a Static and dynamic algorithm respectively to miss rate closing time of the energy consumption and task that reduce system.LongboHuang proposes a networking by regenerative resource energy supply, the stored energy that the external world collects is in the battery of a finite capacity, and author proposes algorithm on a line and manages the energy that collects and be reasonably allocated to by energy on each node in networking.ShaoboLiu proposes one is selected (DVFS) energy management algorithm based on dynamic voltage frequency, is intended to the service quality that the extraneous energy collected of Appropriate application improves system simultaneously.JingYang studies a communication system by renewable energy energy supply, and owing to needing when communicating the speed considering information transmission, therefore, author designed algorithm, minimizes call duration time under the prerequisite of finite energy.
Cloud computing is as a novel business prototype of computer realm, and become the important means changing computing machine use-pattern, each large IT giant is building the Cloud Server of oneself.Cloud computing model comprises the service of following level: namely infrastructure serve (IaaS), and namely platform serves (PaaS) and namely software serve (SaaS).IaaS (Infrastructure-as-a-Service): namely infrastructure serve, consumer can obtain service from perfect computer based Infrastructure by Internet; In fact PaaS (Platform-as-a-Service): namely platform serves, PaaS refer to using the platform of research and development of software as one service, submit to user with the pattern of SaaS, and therefore, PaaS is also the one application of SaaS pattern; SaaS (Software-as-a-Service): namely software serve, it is a kind of pattern being provided software by Internet, and user without the need to buying software, but rents the software of sing on web to provider, carry out management enterprise business activities.
Summary of the invention
The object of the invention is propose consider the demand of user and the cost of service provider when carrying out energy distribution for the energy distribution problem in the cloud computing system by regenerative resource energy supply, make every effort to not only a justice but also efficient allocative decision, namely a kind of in the cloud computing system of renewable energy supply based on the energy distribution scheme of cooperative game.In the process exploring the program, carry out modeling, and be converted into the optimization problem of a belt restraining with cooperative game to energy distribution, namely the solution of this optimization problem is corresponding energy distribution scheme.
The object of the present invention is achieved like this:
Based on an energy distributing method for cooperative game in the cloud computing system of renewable energy supply, feature is that the method comprises the following steps:
Step one: the time interval determining this energy distribution;
Step 2: predict the utilisable energy in this time interval, this utilisable energy is as the energy source of system;
Step 3: judge that whether energy is sufficient, go to step four time inadequate, turns distribution according to need energy time sufficient, and goes to step six;
Step 4: modeling is carried out to energy distribution with game theory, and change into the optimization problem of belt restraining, then convert it into dual problem;
Step 5: solve dual problem by gradient projection method, and the Global Optimality separated is asked in checking;
Step 6: distribute and terminate.
Described step one specifically comprises:
Steps A 1: the minimum energy required for computing system:
E min(Δt)=M*min{δ is i 2c*N i|,i=1,2,…,M}
Wherein: M is the number of server, s ifor the frequency of server, N ifor the number of task on server, c is the execution frequency of task, δ ifor circuit efficiency factor;
Steps A 2: the maximum energy required for computing system:
E max(Δt)=M*max{δ is i 2c*N i|,i=1,2,…,M}
Wherein: M is the number of server, s ifor the frequency of server, N ifor the number of task on server, c is the execution frequency of task, δ ifor circuit efficiency factor;
Steps A 3: the energy distribution time interval, Δ t was defined as E harv(Δ t) is in E min(Δ t) and E maxtime between (Δ t):
Δt=min{Δt|E harv(t+Δt)∈[E min(Δt),E max(Δt)]}。
Described step 2 specifically comprises:
Step B1: the utilisable energy in this time interval predicted is:
E h a r v ( Δ t ) = ∫ t t + Δ t P h a r v ( t ) d t , P h a r v ( Δ t )
Wherein, P harvt () is energy acquisition power.
Described step 3 specifically comprises:
Step C1: the energy that computing system needs altogether:
E d e m a n d ( Δ t ) = Σ i = 1 M E c o n s , i
E cons,i=N i*E cons(τ,S i)
E c o n s ( τ , s i ) = δ i * s i 3 * c s i = δ i * s i 2 * c
Wherein, E demand(Δ t) gross energy required for M server, E cons, ibe the energy that i-th server needs, E cons(τ, s i) energy that consumes for each task, when task is s in frequency iserver on when running; N iit is the number of task on i-th server;
Step C2: judge that whether energy is sufficient
Work as E harv(Δ t) > E demandtime (Δ t), system capacity is sufficient, otherwise system capacity is inadequate.
Described step 4 specifically comprises:
Step D1: modeling is carried out to energy distribution problem with game theory, and be converted into the optimization problem of a belt restraining, that is:
m a x : Π i = 1 , 2 , ... , M ( E a l o c , i δ i s i 2 c - μ i 0 )
s.t:∑ i=1,2,…,ME aloc,i=E avl(Δt)
E a l o c , i &delta; i s i 2 c < N i , i = 1 , 2 , ... , M
&mu; i 0 &le; E a l o c , i &delta; i s i 2 c , i = 1 , 2 , ... , M
Wherein, E aloc, ibe the energy that i-th server distributes, μ i 0be the handling capacity that i-th server subsistence level meets, M is the number of server, s ifor the frequency of server, N ifor the number of task on server, c is the execution frequency of task, δ ifor circuit efficiency factor;
Step D2: Lagrangian function corresponding to this optimization problem is:
L ( E , &alpha; , &beta; , &gamma; ) = - &Sigma; i = 1 M ln ( E a l o c , i &delta; i * s i 2 * c - &mu; i 0 ) + &alpha; ( &Sigma; i = 1 M E a l o c , i - E a l o c , i ( &Delta; t ) ) + &Sigma; i = 1 M &beta; i ( E a l o c , i &delta; i * s i 2 * c - N i ) + &Sigma; i = 1 M &gamma; i ( &mu; i 0 - E a l o c , i &delta; i * s i 2 * c )
Ask local derviation to Lagrangian function, and make local derviation equal 0, obtaining allocative decision is: known allocative decision is Lagrange multiplier (α, β i, γ i) function, ask these variablees by its dual problem;
Step D3: will substitute into Lagrangian function, obtaining its dual problem is:
min - &Sigma; i = 1 M ln ( &delta; i * &alpha; * s i 2 * c + &beta; i ) + &alpha;E a v l ( &Delta; t ) + &Sigma; i = 1 M &beta; i * N i - &Sigma; i = 1 M &alpha; * E a l o c , i 0 - &Sigma; i = 1 M &beta; i * E a l o c , i 0 &delta; i * s i 2 * c + M
s.t.β i≥0,i=1,2,…,M
&delta; i s i 2 c &alpha;&delta; i s i 2 c + &beta; i - &gamma; i + E a l o c , i 0 &le; s i 2 * c * N i .
Described step 5 specifically comprises:
Step e 1: solve dual problem by gradient projection method.First provide the initial value of algorithm, the solution of dual problem can be obtained after algorithm convergence, α *, β i *, γ i *, substituted into E a l o c , i = &delta; i s i 2 c &alpha;&delta; i s i 2 c + &beta; i - &gamma; i + E a l o c , i 0 , Obtain final energy distribution scheme;
Step e 2: the Global Optimality separated is asked in checking
First, the gloomy matrix in sea of dual problem objective function is obtained, i.e. function - &Sigma; i = 1 M l n ( &delta; i * &alpha; * s i 2 * c + &beta; i ) + &alpha;E a v l ( &Delta; t ) + &Sigma; i = 1 M &beta; i * N i - &Sigma; i = 1 M &alpha; * E a l o c , i 0 - &Sigma; i = 1 M &beta; i * E a l o c , i 0 &delta; i * s i 2 * c + M The gloomy matrix in sea; In the gloomy matrix in sea, each is calculated as follows:
&part; d * 2 &part; &alpha; 2 = &Sigma; i = 1 M &delta; i 2 c 2 s i 4 ( c&delta; i &alpha;s i 2 + &beta; i ) 2 &GreaterEqual; 0 , i = 1 , 2 , ... , M
&part; d * 2 &part; &alpha; &part; &beta; i = cs i 2 ( c&alpha;&delta; i s i 2 + &beta; i ) 2 > 0 , i = 1 , 2 , ... , M
&part; d * 2 &part; &beta; i &part; &alpha; = cs i 2 ( c&alpha;&delta; i s i 2 + &beta; i ) 2 > 0 , i = 1 , 2 , ... , M
&part; d * 2 &part; &beta; i 2 = 1 ( c&alpha;&delta; i s i 2 + &beta; i ) 2 > 0 , i = 1 , 2 , ... , M
&part; d * 2 &part; &beta; i &part; &beta; j = 0 , i , j = 1 , 2 , ... , M
Visible, in extra large gloomy matrix, each is all more than or equal to 0, extra large gloomy matrix positive semidefinite, and in dual problem, objective function is convex function, therefore, and the solution α asked by gradient projection *, β i *, γ i *global optimum, therefore final energy distribution scheme E a l o c , i = &delta; i s i 2 c &alpha;&delta; i s i 2 c + &beta; i - &gamma; i + E a l o c , i 0 Ye Shi global optimum.
The present invention considers energy abundance or supplements the situation of foot.When energy is sufficient, distribute corresponding energy according to the actual needs of each server; When energy is inadequate, adopt cooperative game to carry out energy distribution, final energy distribution scheme has not only considered user's health check-up but also has looked after the cost of cloud service provider, meets the demand of user and service provider both sides to a certain extent simultaneously.
Accompanying drawing explanation
Fig. 1 is process flow diagram of the present invention;
Energy distribution schematic diagram when Fig. 2 is 3 servers;
Energy distribution schematic diagram when Fig. 3 is 5 servers;
Energy distribution schematic diagram when Fig. 4 is 8 servers;
When Fig. 5 is 3 servers and changes utilisable energy, the present invention and the naive method contrast schematic diagram in fairness and harmony;
When Fig. 6 is 5 servers and changes utilisable energy, the present invention and the naive method contrast schematic diagram in fairness and harmony;
When Fig. 7 is 8 servers and changes utilisable energy, the present invention and the naive method contrast schematic diagram in fairness and harmony;
When Fig. 8 is 3 servers and changes load, the present invention and the naive method contrast schematic diagram in fairness and harmony;
When Fig. 9 is 5 servers and changes load, the present invention and the naive method contrast schematic diagram in fairness and harmony;
When Figure 10 is 8 servers and changes load, the present invention and the naive method contrast schematic diagram in fairness and harmony;
Figure 11 is the present invention and the contrast schematic diagram of MT scheme in handling capacity;
Figure 12 is the present invention and the contrast schematic diagram of MT scheme in fairness.
Embodiment
Below in conjunction with drawings and the specific embodiments, the present invention is described in further detail.
The present invention adopts sun power as energy source, and following formula presents the time dependent characteristic of solar panels capacitation:
P h ( t ) = | 10 * N ( t ) * c o s ( t 70 &pi; ) * c o s ( t 100 &pi; ) |
Wherein, N (t) is a stochastic variable of obeying 0-1 Gaussian distribution.
Task in the present invention arrives has randomness, unpredictability, therefore the load on each server is random generation, in test, also the load constantly changed on each server carrys out the validity of proof scheme, experiment shows, how to change regardless of the load on server, the allocative decision carried can take into account cloud service provider and user preferably.In addition, task in the present invention has the identical average performance period, do not change in test the validity of tasks carrying cycle verification algorithm, because the performance period of all tasks is the same, it is not very necessary for changing this parameter, however, the performance period of task can be set to realistic any value.
In the present invention, server is also random, here be embodied in two aspects at random.The first, the number of server is random, and cloud service provider decides the quantity of the virtual server that can externally provide according to one's own hardware resource situation.The second, the frequency of server is random, and in actual cloud service system, the expense that the frequency of virtual server is paid by user determines, therefore the frequency of server can process as a random value.Constantly change the validity that the quantity of server and frequency verify allocative decision in test, result shows, when number of servers and frequency shift, the allocative decision proposed in article has met expected effect preferably.
The distribution mechanism proposed in the present invention is intended to consider the handling capacity on the handling capacity of high in the clouds entirety and the server of each user oneself simultaneously, namely a good allocative decision takes into account the scheme of performance and fairness, how to represent that a scheme has " efficiency ", how to represent a scheme be " justice ", how to weigh the degree that a scheme takes into account performance and fairness.
A scheme has the throughput ratio of the expression high in the clouds whole system of " efficiency " higher, namely the summation of Servers-all handling capacity is larger, and under the prerequisite of limited utilisable energy, entire system handling capacity is higher, scheme selected by expression is more efficient, also more meets the wish of service provider.
A scheme " " should be showed by the handling capacity of all users, if the handling capacity difference between user is comparatively large, then can cause that user's is discontented, this also illustrates that the fairness of the program is poor to fairness.Therefore, " fairness " can represent by the variance of user throughput, and the less explanation fairness of variance is better, and variance larger explanation fairness is poorer.
Represent that a scheme takes into account degree to fairness and harmony by fairness/efficiency in the present invention, this value is less, then take into account better is described, the larger explanation scheme of this value does not well take into account service provider and user.
In order to the advantage of the allocative decision proposed in the present invention is described, experimental section will carry out according to following steps:
1. checking is at different utilisable energies, and when different load, the method for proposition can converge to a globally optimal solution, namely can obtain a unique solution based on the allocative decision of cooperative game.
2. the load in fixed server, changes utilisable energy, and in different processor number, when different task scale, checking proposes the validity of distribution method.
3. fixing utilisable energy, changes server load, and in different processor number, when different task scale, the validity of checking put forward the methods scheme.
4. the method for proposition and the scheme with maximum throughput are contrasted.
Embodiment
Step one: determine this energy distribution time interval.In the invention process process, adopt 8 servers, 50-150 task carrys out presentation process.
Frequency on server is:
Server1 Server2 Server3 Server4 Server5 Server6 Server7 Server8
2.2 2.3 2.1 2.5 2.4 2.5 2.6 2.8
Circuit factor delta on server ifor:
δ 1 δ 2 δ 3 δ 4 δ 5 δ 6 δ 7 δ 8
13*10 -9 12*10 -9 11*10 -9 11*10 -9 14*10 -9 15*10 -9 11*10 -9 13*10 -9
Load in service, namely task number is:
Load1 Load2 Load3 Load4 Load5 Load6 Load7 Load8
70 80 100 120 130 110 90 80
By E min(Δ t)=M*min{ δ is i 2c*N i|, i=1,2 ..., the minimum energy required for M} calculates, by E max(Δ t)=M*max{ δ is i 2c*N i|, i=1,2 ..., the maximum energy required for M} calculates, and by Δ t=min{ Δ t|E harv(t+ Δ t) ∈ [E min(Δ t), E max(Δ t)] } to calculate this energy distribution time interval be 130 minutes.
Step 2: use formula predict that this utilisable energy is 14580J.
Step 3: use formula the energy calculating actual needs is 18500J, and therefore, utilisable energy is inadequate, adopts and distributes based on game theoretic allocative decision.
Step 4: solve dual problem and basis by gradient projection method calculating final allocative decision is: 1250J, 2500J, 2100J, 2500J, 1000J, 2500J, 1750J, 990J.
Step 5: the uniqueness of checking allocative decision
First, the number of stochastic generation server, the load on each server and utilisable energy are also given at random, and constantly change these parameters, and constantly change the initial value of algorithm, whether verification algorithm converges to an optimum solution.
Respectively different when: three servers, task scale is 0-20; Five servers, task scale is 20-50; Eight servers, task scale is 50-150, observes the relation of different initial values and gradient projection iterations.
Table 1
As shown in table 1, when server is 3, change the initial value of gradient projection, iterations there occurs change, but final energy distribution scheme is consistent, as shown in Figure 2.
When server number is 5,8, change the initial value of gradient projection, final energy distribution scheme is also unique, respectively as shown in Figure 3 and Figure 4.
Visible, the allocative decision proposed in the present invention is the scheme of a global optimum.
Step 6: change energy estimate methods load, the validity of the allocative decision proposed in checking the present invention
First, the load on stochastic generation server number and server, and the load in fixed server, change extraneous utilisable energy, and compare with demand assigned naive method, verifies the validity proposed a plan.When contrasting each time, respectively the number of server is fixed as 3,5,8, and keeps the load on each server not change, change extraneous utilisable energy simultaneously.
Fig. 5 is three servers, and time task scale is 0-20, extraneous utilisable energy is respectively 100J, distributes when 110J, 120J, 130J, 140J, 150J to energy, and ordinate represents the ratio of fairness/efficiency.After being assigned, calculate the ratio of justice/efficiency, in figure, light bar post is naive method, and dark bars post is allocative decision of the present invention, can find out, the scheme proposed strictly is better than naive method.
Fig. 6 is five servers, task scale is 20-50, outside energy is respectively 650J, 700J, 750J, 800J, carry out distribute energy by naive method and the present invention respectively when 850J, 900J, ordinate represents the ratio of fairness/efficiency, can significantly find out, the scheme that the present invention proposes will strictly be better than naive method to the degree of taking into account of fairness and harmony.
Fig. 7 is eight servers, task scale is 50-150, and extraneous utilisable energy is respectively 3500J, 4000J, 4500J, when 5000J, 5500J, 6000J, energy distribution is carried out respectively by the scheme that naive method and the present invention propose, ordinate represents the ratio of fairness/efficiency, is not difficult to find out, energy distribution scheme of the present invention has good effect.
As can be seen from Fig. 5, Fig. 6, Fig. 7, when number of servers and task scale are fixed, when outside energy changes, the allocation algorithm based on cooperative game well can take into account performance and fairness.
Step 7: change load fixed energies, the validity of the allocative decision proposed in checking the present invention
First, stochastic generation server number and utilisable energy, constantly change the load on server, and when system has the server of varying number, " validity " and " fairness " of proof scheme.
Fig. 8 is 3 servers, and respectively in different loads situation (load as shown in FIG.), the contrast situation of two schemes, from figure, in the present invention, allocative decision is strictly better than naive method.
Fig. 9 is 5 servers, the contrast under different loads situation, and because load data is more, can not show in figure, therefore load data is enumerated in table 2.From in figure, the allocative decision in the present invention is better than naive method.
Table 25 server, different loads
Load1 Load2 Load3 Load4 Load5 Load6
20,25,30,33,40 20,28,32,25,45 23,30,35,38,50 20,32,40,45,50 22,34,42,41,48 24,33,39,40,45
Figure 10 is 8 servers, and the contrast under different loads situation, load data is enumerated in table 3.From in figure, be better than naive method based on game theoretic allocative decision.
Table 38 server, different loads
Step 8: contrast with the scheme (MT) with maximum throughput, the validity of allocative decision in checking the present invention
The scheme (maximumthroughputstrategy, MT) that scheme in the present invention and one have maximum throughput is contrasted; Due to square being directly proportional of the energy consumption of individual task and the length of task and frequency, and all task length is identical in the present invention, therefore, if energy priority is assigned on the server of low frequency, then system can obtain higher handling capacity, because same energy will support more task run.Two schemes will contrast respectively in validity and fairness.
Figure 11 is the contrast diagram of handling capacity (contrast of validity) corresponding to two schemes, and horizontal ordinate is utilisable energy, and ordinate represents handling capacity, E needfor completing the minimum energy that all required by task are wanted.As can be seen from Figure, when utilisable energy is less than E needtime, handling capacity outline of the present invention is lower than MT scheme, and its reason provides at the preceding paragraph.When utilisable energy increases gradually, throughput of system also can increase, and when utilisable energy is more than or equal to E needtime, handling capacity corresponding to two kinds of energy distribution schemes is equal.
Figure 12 is the contrast diagrams of two kinds of allocative decisions in fairness, and represent fairness when contrasting by standard deviation, because the numerical value of variance is excessive, ordinate represents standard deviation.Compared with MT scheme, scheme in the present invention has good fairness, this is because when carrying out energy distribution at every turn, all more fair by energy distribution on each server, and energy priority is only just assigned to above the server of low frequency by MT scheme, therefore, MT scheme can not guarantee fairness.When utilisable energy is more than or equal to E needtime, both have identical fairness, because now both allocative decisions are identical.
Energy, under the prerequisite of finite energy, is reasonably allocated to each processor by the present invention, makes the handling capacity of single process higher, and simultaneously overall handling capacity is also higher.

Claims (6)

1. in the cloud computing system of renewable energy supply based on an energy distributing method for cooperative game, it is characterized in that the method comprises the following steps:
Step one: the time interval determining this energy distribution;
Step 2: predict the utilisable energy in this time interval, this utilisable energy is as the energy source of system;
Step 3: judge that whether energy is sufficient, go to step four time inadequate, turns distribution according to need energy time sufficient, and goes to step six;
Step 4: modeling is carried out to energy distribution with game theory, and change into the optimization problem of belt restraining, then convert it into dual problem;
Step 5: solve dual problem by gradient projection method, and the Global Optimality separated is asked in checking;
Step 6: distribute and terminate.
2. energy distributing method as claimed in claim 1, is characterized in that described step one specifically comprises:
Steps A 1: the minimum energy required for computing system:
E min(Δt)=M*min{δ is i 2c*N i|,i=1,2,…,M}
Wherein: M is the number of server, s ifor the frequency of server, N ifor the number of task on server, c is the execution frequency of task, δ ifor circuit efficiency factor;
Steps A 2: the maximum energy required for computing system:
E max(Δt)=M*max{δ is i 2c*N i|,i=1,2,...,M}
Wherein: M is the number of server, s ifor the frequency of server, N ifor the number of task on server, c is the execution frequency of task, δ ifor circuit efficiency factor;
Steps A 3: the energy distribution time interval, Δ t was defined as E harv(Δ t) is in E min(Δ t) and E maxtime between (Δ t):
Δt=min{Δt|E harv(t+Δt)∈[E min(Δt),E max(Δt)]}。
3. energy distributing method as claimed in claim 1, is characterized in that described step 2 specifically comprises:
Step B1: the utilisable energy in this time interval predicted is:
E h a r v ( &Delta; t ) = &Integral; t t + &Delta; t P h a r v ( t ) d t , P h a r v ( &Delta; t )
Wherein, P harvt () is energy acquisition power.
4. energy distributing method as claimed in claim 1, is characterized in that described step 3 specifically comprises:
Step C1: the energy that computing system needs altogether:
E d e m a n d ( &Delta; t ) = &Sigma; i = 1 M E c o n s , i
E cons,i=N i*E cons(τ,s i)
E c o n s ( &tau; , s i ) = &delta; i * s i 3 * c s i = &delta; i * s i 2 * c
Wherein, E demand(Δ t) gross energy required for M server, E cons, ibe the energy that i-th server needs, E cons(τ, s i) energy that consumes for each task, when task is s in frequency iserver on when running; N iit is the number of task on i-th server;
Step C2: judge that whether energy is sufficient
Work as E harv(Δ t) > E demandtime (Δ t), system capacity is sufficient, otherwise system capacity is inadequate.
5. energy distributing method as claimed in claim 1, is characterized in that described step 4 specifically comprises:
Step D1: modeling is carried out to energy distribution problem with game theory, and be converted into the optimization problem of a belt restraining, that is:
m a x : &Pi; i = 1 , 2 , ... , M ( E a l o c , i &delta; i s i 2 c - &mu; i 0 )
s.t:∑ i=1,2,…,ME aloc,i=E avl(Δt)
E a l o c , i &delta; i s i 2 c < N i , i = 1 , 2 , ... , M
&mu; i 0 &le; E a l o c , i &delta; i s i 2 c , i = 1 , 2 , ... , M
Wherein, E aloc, ibe the energy that i-th server distributes, μ i 0be the handling capacity that i-th server subsistence level meets, M is the number of server, s ifor the frequency of server, N ifor the number of task on server, c is the execution frequency of task, δ ifor circuit efficiency factor;
Step D2: Lagrangian function corresponding to this optimization problem is:
L ( E , &alpha; , &beta; , &gamma; ) = - &Sigma; i = 1 M ln ( E a l o c , i &delta; i * s i 2 * c - &mu; i 0 ) + &alpha; ( &Sigma; i = 1 M E a l o c , i - E a l o c , i ( &Delta; t ) ) + &Sigma; i = 1 M &beta; i ( E a l o c , i &delta; i * s i 2 * c - N i ) + &Sigma; i = 1 M &gamma; i ( &mu; i 0 - E a l o c , i &delta; i * s i 2 * c )
Ask local derviation to Lagrangian function, and make local derviation equal 0, obtaining allocative decision is: known allocative decision is Lagrange multiplier (α, β i, γ i) function, ask these variablees by its dual problem;
Step D3: will substitute into Lagrangian function, obtaining its dual problem is:
min - &Sigma; i = 1 M ln ( &delta; i * &alpha; * s i 2 * c + &beta; i ) + &alpha;E a v l ( &Delta; t ) + &Sigma; i = 1 M &beta; i * N i - &Sigma; i = 1 M &alpha; * E a l o c , i 0 - &Sigma; i = 1 M &beta; i * E a l o c , i 0 &delta; i * s i 2 * c + M
s.t.β i≥0,i=1,2,…,M
&delta; i s i 2 c &alpha;&delta; i s i 2 c + &beta; i - &gamma; i + E a l o c , i 0 &le; s i 2 * c * N i .
6. energy distributing method as claimed in claim 1, is characterized in that described step 5 specifically comprises:
Step e 1: solve dual problem by gradient projection method.First provide the initial value of algorithm, the solution of dual problem can be obtained after algorithm convergence, α *, β i *, γ i *, substituted into obtain final energy distribution scheme;
Step e 2: the Global Optimality separated is asked in checking
First, the gloomy matrix in sea of dual problem objective function is obtained, i.e. function the gloomy matrix in sea; In the gloomy matrix in sea, each is calculated as follows:
&part; d * 2 &part; &alpha; 2 = &Sigma; i = 1 M &delta; i 2 c 2 s i 4 ( c&delta; i &alpha;s i 2 + &beta; i ) 2 &GreaterEqual; 0 , i = 1 , 2 , ... , M
&part; d * 2 &part; &alpha; &part; &beta; i = cs i 2 ( c&alpha;&delta; i s i 2 + &beta; i ) 2 > 0 , i = 1 , 2 , ... , M
&part; d * 2 &part; &beta; i &part; &alpha; = cs i 2 ( c&alpha;&delta; i s i 2 + &beta; i ) 2 > 0 , i = 1 , 2 , ... , M
&part; d * 2 &part; &beta; i 2 = 1 ( c&alpha;&delta; i s i 2 + &beta; i ) 2 > 0 , i = 1 , 2 , ... , M
&part; d * 2 &part; &beta; i &part; &beta; j = 0 , i , j = 1 , 2 , ... , M
Visible, in extra large gloomy matrix, each is all more than or equal to 0, extra large gloomy matrix positive semidefinite, and in dual problem, objective function is convex function, therefore, and the solution α asked by gradient projection *, β i *, γ i *global optimum, therefore final energy distribution scheme E a l o c , i = &delta; i s i 2 c &alpha;&delta; i s i 2 c + &beta; i - &gamma; i + E a l o c , i 0 Ye Shi global optimum.
CN201510725103.9A 2015-10-29 2015-10-29 Based on the energy distributing method of cooperative game in the cloud computing system of renewable energy supply Expired - Fee Related CN105225016B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510725103.9A CN105225016B (en) 2015-10-29 2015-10-29 Based on the energy distributing method of cooperative game in the cloud computing system of renewable energy supply

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510725103.9A CN105225016B (en) 2015-10-29 2015-10-29 Based on the energy distributing method of cooperative game in the cloud computing system of renewable energy supply

Publications (2)

Publication Number Publication Date
CN105225016A true CN105225016A (en) 2016-01-06
CN105225016B CN105225016B (en) 2019-03-01

Family

ID=54993972

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510725103.9A Expired - Fee Related CN105225016B (en) 2015-10-29 2015-10-29 Based on the energy distributing method of cooperative game in the cloud computing system of renewable energy supply

Country Status (1)

Country Link
CN (1) CN105225016B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106100893A (en) * 2016-07-05 2016-11-09 合肥工业大学 Service opening and the security control appraisal procedure of cloud service environment based on dynamic game
CN108415763A (en) * 2018-02-11 2018-08-17 中南大学 A kind of distribution method of edge calculations system
CN109116730A (en) * 2018-07-11 2019-01-01 南京航空航天大学 A kind of energy-optimised management method of mixing executing agency based on TU cooperative game
CN109657861A (en) * 2018-12-20 2019-04-19 北京航空航天大学 A kind of selective method for maintaining of the multistage continuous duty equipment cluster based on sequence game

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101827418A (en) * 2010-05-07 2010-09-08 北京科技大学 Energy optimization-based cognitive radio multicast routing method
CN102413473A (en) * 2011-11-01 2012-04-11 东南大学 Cooperative game-based frequency spectrum allocation method in cognitive sensor network cluster
WO2013164775A1 (en) * 2012-05-02 2013-11-07 Vespasiani Francesco Maria System and method for managing the consumption of power generated from renewable and environmentally friendly sources
CN104410995A (en) * 2014-10-29 2015-03-11 上海交通大学 Task optimal allocation method in a participatory perception system
CN104794557A (en) * 2015-03-09 2015-07-22 南京理工大学 Load dispatching method of terminal user system based on uncertainty of real-time electricity price
CN104934970A (en) * 2015-06-08 2015-09-23 上海交通大学 Connected micro-grid economic scheduling method based on cooperation gaming dynamic alliance structure dividing
CN104969437A (en) * 2012-12-19 2015-10-07 罗伯特·博世有限公司 System and method for energy distribution

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101827418A (en) * 2010-05-07 2010-09-08 北京科技大学 Energy optimization-based cognitive radio multicast routing method
CN102413473A (en) * 2011-11-01 2012-04-11 东南大学 Cooperative game-based frequency spectrum allocation method in cognitive sensor network cluster
WO2013164775A1 (en) * 2012-05-02 2013-11-07 Vespasiani Francesco Maria System and method for managing the consumption of power generated from renewable and environmentally friendly sources
CN104969437A (en) * 2012-12-19 2015-10-07 罗伯特·博世有限公司 System and method for energy distribution
CN104410995A (en) * 2014-10-29 2015-03-11 上海交通大学 Task optimal allocation method in a participatory perception system
CN104794557A (en) * 2015-03-09 2015-07-22 南京理工大学 Load dispatching method of terminal user system based on uncertainty of real-time electricity price
CN104934970A (en) * 2015-06-08 2015-09-23 上海交通大学 Connected micro-grid economic scheduling method based on cooperation gaming dynamic alliance structure dividing

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
TONGQUAN WEI: "《Quasi-static fault-tolerant scheduling schemes for energy-efficient hard》", 《THE JOURNAL OF SYSTEMS AND SOFTWARE》 *
周鲜华: "合同能源管理项目下融资租赁参与方博弈分析", 《建筑经济》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106100893A (en) * 2016-07-05 2016-11-09 合肥工业大学 Service opening and the security control appraisal procedure of cloud service environment based on dynamic game
CN108415763A (en) * 2018-02-11 2018-08-17 中南大学 A kind of distribution method of edge calculations system
CN108415763B (en) * 2018-02-11 2020-12-11 中南大学 Distribution method of edge computing system
CN109116730A (en) * 2018-07-11 2019-01-01 南京航空航天大学 A kind of energy-optimised management method of mixing executing agency based on TU cooperative game
CN109116730B (en) * 2018-07-11 2021-10-12 南京航空航天大学 Hybrid execution mechanism energy optimization management method based on TU cooperative game
CN109657861A (en) * 2018-12-20 2019-04-19 北京航空航天大学 A kind of selective method for maintaining of the multistage continuous duty equipment cluster based on sequence game
CN109657861B (en) * 2018-12-20 2021-06-08 北京航空航天大学 Sequential game based selective maintenance method for multi-stage continuous task equipment cluster

Also Published As

Publication number Publication date
CN105225016B (en) 2019-03-01

Similar Documents

Publication Publication Date Title
CN109947567B (en) Multi-agent reinforcement learning scheduling method and system and electronic equipment
WO2017071230A1 (en) Method for short-term optimal scheduling of multi-agent hydropower station group
CN105225016A (en) A kind of in the cloud computing system of renewable energy supply based on the energy distributing method of cooperative game
CN105719091B (en) A kind of parallel Multiobjective Optimal Operation method of Hydropower Stations
CN105740051A (en) Cloud computing resource scheduling realization method based on improved genetic algorithm
CN102790698B (en) Large-scale computing cluster task scheduling method based on energy-saving tree
Oxley et al. Makespan and energy robust stochastic static resource allocation of a bag-of-tasks to a heterogeneous computing system
CN111900719B (en) Power grid adequacy evaluation method, device and system considering flexible controllable load
CN105843679A (en) Adaptive many-core resource scheduling method
CN103685492B (en) Dispatching method, dispatching device and application of Hadoop trunking system
CN103455131B (en) A kind of based on method for scheduling task energy consumption minimized in the embedded system of probability
CN102541622B (en) Method for placing load-related virtual machine
CN104821906A (en) Efficient energy-saving virtual network node mapping model and algorithm
Wang et al. Coordinated optimal scheduling of integrated energy system for data center based on computing load shifting
Jia et al. On distributed event-based optimization for shared economy in cyber-physical energy systems
Li et al. Load prediction-based automatic scaling cloud computing
CN103325012A (en) Parallel computing dynamic task distribution method applicable to grid security correction
CN109767120A (en) A kind of production stream Parallel Task Scheduling method based on hydrological distribution model
CN112039058A (en) Unit combination method, system, medium and device based on wind power prediction interval
Hoogsteen et al. On the scalability of decentralized energy management using profile steering
Jiang et al. A Resource scheduling strategy in cloud computing based on multi-agent genetic algorithm
CN104298536A (en) Dynamic frequency modulation and pressure adjustment technology based data center energy-saving dispatching method
CN115185651A (en) Workflow optimization scheduling algorithm based on cloud computing
Tan et al. A fast and stable forecasting model to forecast power load
CN104166593A (en) Method for computing asynchronous and concurrent scheduling of multiple application functions

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190301

Termination date: 20211029