CN102662764B - A kind of dynamic cloud computational resource optimizing distribution method based on SMDP - Google Patents

A kind of dynamic cloud computational resource optimizing distribution method based on SMDP Download PDF

Info

Publication number
CN102662764B
CN102662764B CN201210123988.1A CN201210123988A CN102662764B CN 102662764 B CN102662764 B CN 102662764B CN 201210123988 A CN201210123988 A CN 201210123988A CN 102662764 B CN102662764 B CN 102662764B
Authority
CN
China
Prior art keywords
cloud computing
computing service
territory
mobile
state
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.)
Expired - Fee Related
Application number
CN201210123988.1A
Other languages
Chinese (zh)
Other versions
CN102662764A (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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201210123988.1A priority Critical patent/CN102662764B/en
Publication of CN102662764A publication Critical patent/CN102662764A/en
Application granted granted Critical
Publication of CN102662764B publication Critical patent/CN102662764B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of dynamic cloud computational resource optimizing distribution method based on SMDP, belong to computer communication technology field.This method is: 1) user satisfaction is divided into N class by cloud computing service domain system; 2) terminal user sends services request to cloud computing service territory, and application uses cloud computing service; 3) cloud computing service domain system sets up an action collection according to the services request received and current cloud computing service territory state; 4) for each action in action collection, the long-term gain in cloud computing service territory is calculated; 5) cloud computing service domain system determines whether to accept current service request according to the long-term gain calculated, if accepted, the VM Resource Allocation Formula choosing the maximum action correspondence of long-term gain is cloud computing service request dispatching VM.Compared with prior art, the present invention substantially increases user satisfaction and the service quality of mobile terminal.

Description

A kind of dynamic cloud computational resource optimizing distribution method based on SMDP
Technical field
The invention belongs to computer communication technology field, relate to the resource optimal distribution method of cloud computing system, particularly relate to the Optimal Configuration Method to the cloud computing resources in cloud computing service territory in mobile cloud computing system.
Background technology
Cloud computing is that one is distributed according to need with resource, pay-as-you-go, usefulness is calculated as the new calculation services pattern (Armbrust of feature, M., Fox, A., Griffith, R., Joseph, A., Katz, R., Konwinski, A., Lee, G., Patterson, D., Rabkin, A., Stoica, I., et al. " Above the clouds:A berkeley view of cloud computing " .EECS Department, University of California, Berkeley, Tech.Rep.UCB/EECS-2009-28 (2009)).Cloud computing is not only cloud computing service business simultaneously for personal user provides a kind of new computation schema yet, it can be divided into infrastructure-as-a-service (IaaS), platform-as-a-service (PaaS) and software-as-a-service (SaaS) three major types by broad sense.Along with the development of wireless communication technology and Internet technology, mobile terminal will replace PC gradually becomes global topmost internet access facility.Because mobile terminal (MD) has more advantage (such as movability compared with traditional wire terminal, dirigibility and perception etc.), therefore the nature that mobile computing and cloud computing technology combined just becomes the new method building Mobile solution, no matter has also attracted increasing concern in academia or industry member at present.Thus, a new research field-mobile cloud computing (Mobile Cloud Computing) is also just arisen at the historic moment.
In the former research about mobile cloud computing, what main research direction concentrated on calculation task uploads download, long-range operation and dynamic organization etc.Author is at (X.Li, H.Z, and Y.Zhang, " Deploying Mobile Computation in Cloud Service " in Proceedings of the First International Conference for Cloud Computing (CloudCom), 2009, p.301.) propose one can be run Mobile solution mobile cloud computing model at mobile terminal and high in the clouds in, thus calculating, transmission and store tasks can be uploaded to high in the clouds operation by the mobile terminal of resource-constrained.Author is at (B.Chun and P.Maniatis, " Augmented Smartphone Applications Through Clone Cloud Execution; " in Proceedings of USENIX HotOS XII, 2009.) in by increase perform number of times configure CloneCloud cloud resource, but do not consider the actual motion state of user terminal.The Resourse Distribute that mobile terminal is served flexible application by system for cloud computing is at (X.Zhang, J.Schiffman, S.Gibbs, A.Kunjithapatham, and S.Jeong, " Securing elastic applications on mobile devices for cloud computing, " in Proceedings of the 2009 ACM workshop on Cloud computing security, 2009, pp.127-134.) the inside done some preliminary researchs.At document (D.Huang, X.Zhang, M.Kang, and J.Luo, " Mobicloud:A secure mobile cloud framework for pervasive mobile computing and communication, " in Proceedings of 5th IEEE International Symposium on Service-Oriented System Engineering, 2010.) inner, the people such as Huang propose mobile cloud computing framework, the virtual machine (VM-Virtual Machine) that this model allows mobile terminal related application to be uploaded to high in the clouds runs.Author is at (X.Meng, V.Pappas, and L.Zhang, " Improving the scalability of data center networks with trafficaware virtual machine placement, " in IEEE INFOCOM, San Diego, CA, USA, March 2010.) in propose a kind of different flow according to different geographical and carry out configuring virtual machine, improved the new method of the utilization factor of network by the placement location of distributing virtual machine rationally.In fact, because these research and inquirement about the framework facility of mobile cloud computing are relatively more abundant, therefore, the Resourse Distribute of mobile cloud computing will become Next main direction of studying naturally.
In mobile system for cloud computing, based on the distributed placement of server group on geographic position, the cloud computing resources (such as CPU, internal memory and storage etc.) of system carrys out responsible distribution by multiple mobile cloud computing service territory respectively.Each moves cloud computing service territory and is made up of multiple virtual machine (VM-Virtual Machine), and each virtual machine (VM) is then made up of the minimum cloud computing resources that can process a cloud computing service.Although compared with mobile terminal, the cloud computing resources of mobile system for cloud computing is considered to unlimited usually, is still necessary very much to make full use of cloud computing resources in mobile cloud computing service territory to realize the low cost movement of mobile system for cloud computing.
Especially the research that the resources configuration optimization moving cloud computing to cloud computing at present carries out is also fewer.Document (H.Liang, D.Huang, and D.Peng, " On Economic Mobile Cloud Computing Model, " in Proceedings of the International Workshop on Mobile Computing and Clouds (MobiCloud in conjunction with MobiCASE), 2010.) an Eco-power mobile cloud computing resources apportion model is proposed, this model can when given system configuration, by optimizing the maximum return of distributing Mobile solution and obtaining mobile system for cloud computing beyond the clouds and between mobile terminal.Document (G.Wei, A.V.Vasilakos, Y.Zheng, and N.Xiong, " A game-theoretic method of fair resource allocation for cloud computing services; " 2009.) propose one based on game theoretic cloud computing resources apportion model, this model can distribute cloud computing resources according to the demand of mobile terminal to QoS of customer (QoS).In addition, also have some documents how to be optimized by the server of virtual machine or data center system for cloud computing to distribute cloud computing resources and be studied.At (K.Lorincz, B.r.Chen, J.Waterman, G.Werner-Allen, and M.Welsh, " Resource aware programming in the pixie os; " in SenSys ' 08, Raleigh, North Carolina, USA, November 2008.) in, author proposes a new cloud computing operation model, and this operation model can not only make user programme when grasping cloud computing resources, also can realize in system for cloud computing, cloud computing service reuses the allocation model of cloud computing resources simultaneously.Document (K.Lorincz, B.Chen, J.Waterman, G.Werner-Allen, and M.Welsh, " A stratified approach for supporting high throughput event processing applications; " in DEB S ' 09, Nashville, TN, USA, July2009.) the cloud computing resources distribution of event application in system for cloud computing is studied.At (G.Tesauro, N.K.Jong, R.Das, and M.N.Bennani, " A hybrid reinforcement learning approach to autonomic resource allocation; " in Proc.of ICAC-06, Dublin, Ireland, June 2006.) in, author proposes a resource allocator model based on enhancement mode self learning system and carries out dynamic assignment to the server in system for cloud computing, thus improves the income of system for cloud computing.At (K.Boloor, R.Chirkova, Y.Viniotis, and T.Salo, " Dynamic request allocation and scheduling for context aware applications subject to a percentile response time sla in a distributed cloud, " in 2 ndiEEE International Conference on Cloud Computing Technology and Science, Indianapolis, Indiana, USA, November 2010.) in, author proposes a general scheme of distributing cloud computing service request and planning, the program, while obtaining user's service quality of specifying, improves the income of cloud computing service provider.
Optimization for cloud computing resources distributes, and domesticly it is also proposed some solutions.Such as in patented claim 201110097395.8 (a kind of management controls system for cloud computing technological system), author (Cao Xuezhu) proposes a kind of invention managing control system for cloud computing technological system; In patented claim 201110138021.6 (a kind of cloud computing resource management system and method), author (Ji Xinhua, Nie Song, Du Hai and horse strong) proposes the invention of a kind of cloud computing resource management system and method; In patented claim 201110075410.9 (management method of system for configuration information in cloud computation operation and system), author's (Zhang Liqiang and Haitao Zhang) proposes a kind of management method of system for configuration information in cloud computation operation and the invention of system; In patented claim 201080005003.4 (system and method for automated management of virtual resources in cloud computing environment), author (SM You Mubaihaoke) proposes a kind of invention for the system of managing virtual resource in cloud computing environment; In patented claim 201110222073.1 (a kind of cloud computing management system based on virtual resources), author (Shen Lingyun, Ruan Minhui and Zhou Yongfeng) proposes the invention of a kind of cloud computing management system based on virtual resources (C2MS).A main advantage of mobile system for cloud computing is the Mobile solution service allowing mobile terminal to run them beyond the clouds.And a cloud computing service can also be assigned with the cloud computing resources of multiple VM to make the mobile terminal higher calculating of acquisition and storage capacity.When mobile cloud computing service territory receive one send over from mobile terminal cloud computing service request time, the current available cloud computing resources of system Water demand, and based on analysis result determine whether receive this cloud computing service request; If determine it is receive, so system also needs judgement to be further specially cloud computing service request dispatching how many cloud computing resources (i.e. the number of VM) of this mobile terminal.If cloud computing resources all in mobile cloud computing service territory is occupied, so due to the deficiency of cloud computing resources, system can refuse the cloud computing service request (we suppose in mobile cloud computing, do not have buffer queue) of this mobile terminal.Not only on the user satisfaction of mobile terminal and service quality, negative impact is brought to the refusal of mobile terminal cloud computing service request, and also greatly reduces the net proceeds of system.
The system income in mobile cloud computing service territory increases along with the increase of received cloud computing service number of requests usually.But then, along with the cloud computing service request of system acceptance is more, the cloud computing resources so distributing to each cloud computing service is also fewer, thus reduces the user satisfaction of mobile terminal and the system performance in mobile cloud computing service territory that accept to serve.And the existing income that only considered system about cloud computing resources distribution method major part, do not consider the expenditure that cloud computing resources is occupied brought, do not consider user satisfaction and the service quality (QoS) of mobile terminal yet.Therefore, in order to the comprehensive system benefit in mobile cloud computing service territory can be obtained, when calculating the system benefit in mobile cloud computing service territory, not only need the income considering mobile system for cloud computing, also need user satisfaction and the service quality (QoS) of expenditure and the mobile terminal considering that cloud computing resources is occupied brought.
Summary of the invention
For the Optimizing Allocation of the cloud computing resources in mobile system for cloud computing cloud computing service territory, the object of the present invention is to provide a kind of dynamic cloud computational resource optimization method based on SMDP.Present invention newly proposes the mobile cloud computing service territory dynamic cloud computational resource model of optimizing allocation based on semi-morkov decision processes (SMDP), the optimization Decision of Allocation strategy of the cloud computing resources in mobile cloud computing service territory is obtained by this model, and obtain the maximum return in mobile cloud computing service territory, this income not only considers the income receiving cloud computing service request and bring, have also contemplated that because cloud computing service takies the expenditure that cloud computing resources brings simultaneously, and the user satisfaction of mobile terminal and service quality (QoS).Therefore, this invention all has very important effect to the integral benefit of mobile cloud computing system and mobile terminal client to the raising of the satisfaction of mobile system for cloud computing, and this is also actual value place of the present invention.
Technical scheme of the present invention is:
Based on a dynamic cloud computational resource optimizing distribution method of SMDP, the steps include:
1) user satisfaction is divided into N class by cloud computing service domain system, and satisfaction classification is the virtual machine VM number that user's correspondence of i is distributed is k i; Wherein, 1≤k i≤ K, K are the VM sum in cloud computing service territory;
2) terminal user sends services request to cloud computing service territory, and application uses cloud computing service;
3) cloud computing service domain system sets up an action collection according to the services request received and current cloud computing service territory state;
4) for each action in described action collection, the long-term gain in cloud computing service territory is calculated;
5) cloud computing service domain system determines whether to accept current service request according to the long-term gain calculated, if accepted, the VM Resource Allocation Formula choosing the maximum action correspondence of long-term gain is cloud computing service request dispatching VM.
Further, the state s in cloud computing service territory is expressed as s=<n 1, n 2..., n n, e>; Wherein, n ifor satisfaction classification in cloud computing service territory is the number of users of i, e is the event in cloud computing service territory, e ∈ { R, D 1, D 2, D i...., D n, R is cloud computing service request, D ithe cloud computing service being i for satisfaction classification completes and releases the VM number shared by it.
Further, described action collection is A ( s ) = - 1 e &Element; { D 1 , D 2 , . . . , D N } { 0,1 , . . . , N } , e = R . ; Wherein, A (s)=-1 represents that cloud computing service terminates to run and discharges the state of shared cloud computing resources, A (s)=0 represents the refusal cloud computing service request of cloud computing service territory, and A (s)=i represents that cloud computing service territory receives cloud computing service request and the cloud computing resources distributing to this cloud computing service request is k iindividual VM; S represents the current state in cloud computing service territory.
Further, utilize formula z (s, a)=x (and s, a)-τ (s, a) y (s, a) calculate for each action a income z (s, a); Wherein, x (s, a) be state be s, the action of selection is when being a, the gross income that cloud computing service territory obtains, τ (s, a) represent state be s, the action chosen be a time, transfer to the service time desired by next state j; Y (s, a) represent state be s, the action chosen be a time cloud computing service territory expenditure.
Further, formula is utilized x ( s , a ) = - 1 , e = R , a = 0 U ( k i ) , e = R , a = i Calculate the gross income that cloud computing service territory obtains, U (k i) be Efficiency Function.
Further, formula is utilized the service time desired by next state is transferred to by current state in calculating cloud computing service territory; Wherein, α is the discount rate between two decision points under continuous time, and decision point refers to the time point that any one event e occurs, τ 1refer to the time experienced to the state that next event occurs from current state.
Further, time τ between two decision points (s, a) obeys index distribution, and mean speed γ that event occurs (s, a)=τ (s, a) -1.
Further, cloud computing service domain system utilizes formula v ( s ) = z ( s , a ) + &eta; &Sigma; j &Element; S p ( j | s , a ) v ( j ) , Calculate the long-term gain v (s) in cloud computing service territory during each action a in described action collection; Wherein, p (j|s, a) be state transition probability, j is the NextState in mobile cloud computing service territory, γ (s, a) be the mean speed that event occurs, α is the discount rate between two decision points under continuous time, and decision point refers to the time point that any one event e occurs, S is all possible state in cloud computing service territory, the overall long-term gain obtained when v (j) represents NextState j.
Further, adopt an Efficiency Function to measure the satisfaction of cloud computing user, user satisfaction is divided into N class.
Compared with prior art, good effect of the present invention is:
The present invention is based on semi-morkov decision processes (SMDP), first proposed a new mobile cloud computing service territory dynamic cloud computational resource model of optimizing allocation, the dynamic cloud computational resource that obtained by this model optimizes Decision of Allocation strategy can not only make the system benefit in mobile cloud computing service territory maximum, also can improve the utilization factor of mobile cloud computing service territory cloud computing resources and the user satisfaction of mobile terminal and service quality (QoS) simultaneously.With traditional greedy algorithm to compared with the allocative decision of Internet resources, the optimisation strategy that the mobile cloud computing service territory dynamic cloud computational resource model of optimizing allocation proposed according to us obtains, its system benefit and performance have all had and have significantly improved.From Fig. 5 and Fig. 6, along with the growth of cloud computing service request arriving rate, especially when the arrival rate of cloud computing service request is more than 5, efficiency earnings of the present invention improves more than at least 50% (as shown in Figure 5) compared with conventional greedy algorithm, and blocking rate of the present invention then at least reduced for more than 50% (as shown in Figure 6) compared with conventional greedy algorithm simultaneously.
The main contribution of the present invention is embodied in following three aspects:
1) the dynamic cloud computational resource optimization Decision of Allocation strategy in mobile cloud computing service territory is deduced based on semi-morkov decision processes (SMDP).
2) this model can based on the current available cloud computing resources in mobile cloud computing service territory, for cloud computing service request distributes different cloud computing resources adaptively, the cloud computing resources moving cloud computing service territory by making full use of this improves cloud computing resources utilization factor, and obtains the largest global income in mobile cloud computing service territory.
3) the maximum system income in the mobile cloud computing service territory of this model acquisition, both considered this to move cloud computing service territory and receive the income that cloud computing service request brings, have also contemplated that because of occupied the brought expenditure of cloud computing resources, also contemplate user satisfaction and the service quality (QoS) of mobile terminal.Therefore, the system benefit obtained by this model is comprehensive integral benefit.
Mobile cloud computing service territory dynamic cloud computational resource model of optimizing allocation proposed by the invention, not only can improve the utilization factor of the cloud computing resources in mobile system for cloud computing cloud computing service territory, also can improve the service quality (QoS) of mobile subscriber simultaneously.In order to verify the performance of mobile cloud computing service territory dynamic cloud computational resource model of optimizing allocation proposed by the invention, the performance of itself and conventional greedy algorithm (Greedy Algorithm) is compared (R.Ramjee by by experiment, D.Towsley, and R.Nagarajan, " On optimal call admission control in cellular networks, " Wireless Networks, vol.3, no.1, pp.29-41,1997).Our experimental result shows, the mobile cloud computing service territory dynamic cloud computational resource model of optimizing allocation that application the present invention proposes, the entire system income of mobile system for cloud computing improves more than 50% compared with greedy algorithm, the unaccepted probability of its cloud computing service request then decreases more than 50% compared with greedy algorithm, and performance and the service quality (QoS) of mobile cloud computing service territory dynamic cloud computational resource model of optimizing allocation also namely proposed by the invention all improve more than 50% compared with greedy algorithm.
Accompanying drawing explanation
Fig. 1 is the service model of mobile system for cloud computing;
Fig. 2 is method flow diagram of the present invention;
Fig. 3 is the Efficiency Function of multimedia service;
Fig. 4 is state transition diagram (N=2), and wherein, on the arrow line of connection two states, Section 1 (such as a=0) represents the action taked under current state, and on the arrow line of connection two states, Section 2 (such as ) represent under current state, after taking corresponding action, transfer to the transition probability of next state;
Fig. 5 efficiency earnings of the present invention and conventional greedy algorithm comparison diagram;
Fig. 6 blocking rate of the present invention and conventional greedy algorithm comparison diagram.
Embodiment
Below in conjunction with accompanying drawing, the present invention is explained in further detail.
1. move the arthmetic statement of cloud computing service territory dynamic cloud computational resource model of optimizing allocation:
The main advantage of mobile system for cloud computing compared with traditional Client-Server service mode is: when mobile terminal their application service uploaded to high in the clouds carry out computing time, mobile terminal can obtain more capacity and better performance (such as less processing time, the saving etc. of battery capacity of mobile terminal).Uploading of mobile terminal flexible application task can be realized by the Weblet connecting high in the clouds and mobile terminal.Weblet can use Java or .Net independent of platform or Python, also can usage platform programming language.At (B.Chun and P.Maniatis, " Augmented Smartphone Applications Through Clone Cloud Execution; " in Proceedings of USENIX HotOS XII, 2009.) have studied in Weblet is uploaded to the algorithm run in high in the clouds from mobile terminal.Upload flexible application by Weblet to serve high in the clouds and run, mobile terminal significantly can improve self computing power, storage capacity and the network bandwidth etc.Usually, mobile terminal determines whether task to be uploaded to high in the clouds and runs the state (such as, the electricity of the CPU processing power of mobile terminal, battery, network connection quality and mobile terminal are to factors such as the considerations of safety) depending on mobile terminal self.In the present invention, when mobile terminal determines that task being uploaded to high in the clouds runs, first it can send a services request to high in the clouds, if high in the clouds receives the services request of mobile terminal, so task will be uploaded to high in the clouds operation by mobile terminal subsequently, after end of run, operation result can be returned to mobile terminal by high in the clouds.
In the present invention, the computational resource in mobile system for cloud computing and the communication resource (comprise the CPU in server, memory device, internal memory etc., and other routing device and communication facilitiess etc.) be all carry out unified management by virtual machine (VM).As shown in Figure 1, a VM is in charge of Weblet uploading, unload and processing in mobile system for cloud computing.As previously mentioned, in mobile cloud computing service territory dynamic cloud computational resource model of optimizing allocation proposed by the invention, a VM is the minimum cloud computing resources (CPU of process needed for a cloud computing service in mobile cloud computing service territory, internal memory and storage etc.), the cloud computing resources assigned by each VM once can only process a cloud computing service request.Although we can think that the cloud computing resources in mobile system for cloud computing is unlimited, in mobile system for cloud computing, certain concrete mobile cloud computing service territory is again limited with the cloud computing resources that VM quantity counts.Therefore, in mobile cloud computing service territory, if the quantity of the cloud computing service request arrived has exceeded cloud computing resources VM number available in this service-domain, then the cloud computing service request arrived subsequently will have been refused by this service-domain.On the other hand, if the quantity of the cloud computing service request arrived is far below cloud computing resources VM number available in this service-domain, so this service-domain just can make full use of the cloud computing resources of this service-domain for the more VM number of each cloud computing service request dispatching, improves this move the cloud computing resources utilization factor in cloud computing service territory and the user satisfaction of mobile terminal and service quality (QoS) with this.
Therefore, the target of mobile cloud computing service territory dynamic cloud computational resource model of optimizing allocation proposed by the invention is exactly by making full use of cloud computing resources, make mobile cloud computing service territory can obtain largest global system benefit, also can improve the cloud computing resources utilization factor of this service-domain and user satisfaction and service quality (QoS).
In the present invention, we consider a mobile system for cloud computing only comprising a cloud computing service territory, if its cloud computing resources is total up to K virtual machine (VM).Represent the VM number of the cloud computing resources distributing to a mobile terminal with k, wherein k is a positive integer, and the 1≤k that satisfies condition≤K.In addition, we can with different Efficiency Function (J.W.Lee, R.R.Mazumdar, and N.B.Shroff, " Non-convex optimization and rate control for multi-class services in the Internet, " IEEE/ACM Transactions on Networking, 2005, vol.13, no.4, pp.827-840.) measure the satisfaction of mobile cloud computing user.Such as, the user satisfaction of mobile cloud computing mobile terminal can be described with similar Sigmoidal function,
U ( r ) = 1 - exp ( - &omega; 2 r 2 &omega; 1 + r ) , - - - ( 1 )
Wherein U (r) represents the user satisfaction of mobile system for cloud computing, and r is the cloud computing resources that mobile terminal is distributed in mobile cloud computing service territory, ω 1and ω 2be used to the parameter regulating U (r) waveform, the waveform of its function as shown in Figure 3.
Generally, parameter ω 1and ω 2selection be that the demand to service quality (QoS) decides by mobile cloud computing service and final user, effective Index selection distributes the cloud computing resources in mobile cloud computing service territory and has significant impact.From formula (1), in order to improve the user satisfaction of mobile system for cloud computing, need to distribute cloud computing resources as much as possible to mobile phone users.But, on the other hand, in order to improve the overall system income of mobile system for cloud computing, move the total available cloud computing resources in cloud computing service territory according to this and mobile subscriber uses cloud computing service to the demand of cloud computing resources, system can not distribute maximum cloud computing resources to separately each mobile phone users again.In order to Optimized model can be set up to the dynamic need of the cloud computing service of mobile system for cloud computing, we suppose that mobile terminal request accesses mobile system for cloud computing and uses the process of cloud computing service to obey Poisson distribution (Poisson), its average is λ, that also supposes mobile cloud computing terminal user is netting time obeys index distribution simultaneously, and its average is λ represents the speed of the cloud computing request reaching system for cloud computing with Poisson distribution, and μ represents that the user terminating service leaves the speed of system for cloud computing obeys index distribution.
2. the step as shown in Figure 2, setting up mobile cloud computing service territory dynamic cloud computational resource model of optimizing allocation is as follows:
1) system state is set
In order to semi-morkov decision processes can be used to characterize the model of optimizing allocation of mobile cloud computing service territory cloud computing resources, because user was inversely proportional to the time that the satisfaction of mobile system for cloud computing and its services request are processed, namely the satisfaction of time shorter then user to system that be processed of the services request of user is higher, obviously, if the cloud computing resources (i.e. VM number) distributing to this user is more, the time that then this user service of asking is processed then shorter (as a rule, cloud computing service can carry out parallel processing by the cloud computing resources of multiple VM, thus improve travelling speed).It can thus be appreciated that user is directly proportional to the cloud computing resources distributing to this user to the satisfaction of mobile system for cloud computing, the cloud computing resources namely distributing to user is more, then the satisfaction of this user is higher.The user satisfaction of mobile system for cloud computing is divided into N class by us.Therefore the system state that our definition the present invention is based on the mobile cloud computing service territory dynamic cloud computational resource model of optimizing allocation of Semi-Markov process is the cloud computing service quantity that has under each user satisfaction and moves the set of institute's event in cloud computing service territory at this.We also define k ifor distributing to the VM number that user satisfaction is the cloud computing resources of the user of i, i=1 here, 2 ..., N, and 0 < k 1< ... < k n≤ K.Use n irepresent that in mobile cloud computing service territory, user satisfaction is all numbers of users of i.Satisfaction is that the user of i should distribute k ithe cloud computing resources of individual VM.
In mobile cloud computing service territory, always have the event of two types:
1) a cloud computing service request of newly arriving, represents with R;
2) user satisfaction is that the cloud computing service of i completes operation, and releases the cloud computing resources shared by it, uses D irepresent.
Therefore move any event e in cloud computing service territory can use e ∈ { R, D at this 1, D 2...., D nrepresent, all possible states of system represent with S, thus the system state in mobile cloud computing service territory can represent with following formula:
S={s|s=<n 1,n 2,...,n N,e>}.
(2)
2) action collection is set
When an end-user request accesses mobile cloud computing service territory and applies for using cloud computing service (e=R), this moves cloud computing service territory needs to determine whether accept this user request, if accepted, distribute the cloud computing resources of how many VM so should to the user of this request service.For simple meter, with A (s)=0, we represent that this moves cloud computing service territory and refuses a cloud computing service request; Represent that mobile cloud computing service territory have received this cloud computing service request with A (s)=i, and the cloud computing resources distributing to this cloud computing service request is k iindividual VM, to the satisfaction of terminal user to this cloud computing service can be made to reach i, s represents current system state here.And on the other hand, we represent with A (s)=-1 and terminate to run and state (the event e=D here of cloud computing resources shared by discharging at a cloud computing service i) under action, namely add up the VM number of existing available cloud computing resources and wait for the generation of next event.Therefore, the action collection of this model is summarized as follows:
A ( s ) = - 1 e &Element; { D 1 , D 2 , . . . , D N } { 0,1 , . . . , N } , e = R . - - - ( 3 )
3) earnings pattern is set
Based on system state and corresponding action, we can estimate an obtainable income in mobile cloud computing service territory (with z (s, a) represent, a is the action that system is taked each event, comprises refusal cloud computing service request or the cloud computing resources for cloud computing service request dispatching i VM.Under the arrival state of cloud computing service request, a also can be understood as the VM number of the cloud computing resources distributing to each user; But under the state that mobile subscriber leaves after cloud computing service terminates, a=-1 represents the existing available cloud computing resources of statistics.), this income is made up of two parts, and one is the income of system, and another part is the expenditure of system, can represent with following formula,
z(s,a)=x(s,a)-τ(s,a)y(s,a) (4)
X (s, be a) that system is s in state, when the action of selection is a, the gross income that system obtains, can be expressed as,
x ( s , a ) = - 1 , e = R , a = 0 U ( k i ) , e = R , a = i - - - ( 5 )
Wherein, U (k i) be Efficiency Function, as shown in formula (1).(s, a) represents at current system conditions to be s, when the action chosen is a, transfers to the service time desired by next system state j τ; Y (s, a) represents to be s at current system conditions, the expenditure when action chosen is a, y (s, a) can measure by total number of the cloud computing resources VM shared by the cloud computing service run, be expressed from the next into:
y ( s , a ) = &Sigma; i = 1 N n i k i . - - - ( 6 )
The present invention determines whether determining this request according to the long-term expected revenus that earnings pattern obtains.Long-term gain model of the present invention can obtain the long-term gain of reception, refusal respectively according to earnings pattern, that action a (receiving or refusal) then selecting long-term gain maximum; If have received current request, system state can be upgraded.Can wait for next event, then determine action in that event, and again upgrade system state, the operation gone round and begun again like this is gone down simultaneously.
4) state transition probability is solved
Decision point refers to the time point when any one event occurs, a such as cloud computing service request arrives mobile cloud computing service territory, or one has completed and uses the mobile phone users of cloud computing service to leave this cloud computing service territory and cloud computing resources shared by release.In our system model, due between two decision points time τ (s, a) equal obeys index distribution, therefore, the mean speed γ that event occurs (s, a) can be expressed as,
&gamma; ( s , a ) = &tau; ( s , a ) - 1
= &lambda; + &Sigma; i = 1 N n i &mu; , e = R , a = 0 ore = D i &lambda; + ( &Sigma; i = 1 N n i + 1 ) &mu; , e = R , a = i - - - ( 7 )
Thus, time τ (s, expectation discount income z a) (s, a) can be expressed as,
z ( s , a ) = x ( s , a ) - y ( s , a ) E s a { &Integral; 0 &tau; 1 exp - &alpha;t dt }
= x ( s , a ) - y ( s , a ) E s a { 1 - exp - &alpha;&tau; 1 &alpha; } - - - ( 8 )
= x ( s , a ) - y ( s , a ) &alpha; + &gamma; ( s , a )
Wherein, E is under state s, when take action a time, to the average expected time that next event occurs, τ 1refer to the time experienced to the state that next event occurs from current state.X (s, a) with y (s, a) define at formula (5) and (6) respectively, because the time between two events is continuous print, and we are discrete at the time point doing decision-making, need by changing the income that just can obtain discrete time to the income of continuous time, therefore we represent the discount rate under continuous time with α.We allow p, and (j|s, a) represents that system is at state s, and when the action chosen is a, system transfers to the transition probability of state j.We can derive all state transition probabilities thus.Write to simplify, the symbol that we are defined as follows,
n ^ 1 = < n 1 , n 2 , . . , n i , . . , n N >
n ^ 2 , i = < n 1 , . . , n i - 1 , . . , n N >
n ^ 3 , i = < n 1 , . . , n i + 1 , . . , n N >
n ^ 4 , i , m = < n 1 , . . , n i + 1 , . . , n m - 1 , . . , n N > . - - - ( 9 )
When a new cloud computing service request arrives mobile cloud computing service territory, if the at this moment decision-making of system is refusal, so have there is a=0 simultaneously; Or the cloud computing service being i when a user satisfaction terminates to run, this mobile phone users leaves this when moving cloud computing service territory and discharge cloud computing resources, at this moment the number of users accepting cloud computing service inside system reduces and the increase of available cloud computing resources, therefore has in both cases, we can obtain transition probability and are,
p ( j | s , a ) = &lambda; &gamma; ( s , a ) , j = < n ^ 1 , R > n i , &mu; &gamma; ( s , a ) , j = < n ^ 2 , i , D i > , n i &GreaterEqual; 1 . - - - ( 10 )
When a new cloud computing service request arrives mobile cloud computing service territory, if system decision-making at this moment agrees to access and the cloud computing resources being prepared as this cloud computing service request dispatching is k iindividual VM, so now there is a=i, i=1,2 simultaneously ..., N, in this case, we can obtain transition probability and are,
p ( j | s , a ) = ( n i + 1 ) &mu; &gamma; ( s , a ) , j = < n ^ 1 , D i > &lambda; &gamma; ( s , a ) , j = < n ^ 3 , i , R > n m , &mu; &gamma; ( s , a ) , j = < n ^ 4 , i , m , D m > , n m &GreaterEqual; 1 , m &NotEqual; i . - - - ( 11 )
Fig. 4 gives the mobile system for cloud computing dynamic cloud computational resource proposed based on us and optimizes Decision of Allocation model, state transition diagram during N=2.
5) maximized entire system long-term gain is solved
Thus, according to the definition (SMDP) of semi-morkov decision processes, the maximum long-term discount income that we can obtain the mobile cloud computing service territory dynamic cloud computational resource model of optimizing allocation based on SMDP proposed by the invention is,
v ( s ) = max a &Element; A ( s ) { z ( s , a ) + &eta; &Sigma; j &Element; S p ( j | s , a ) v ( j ) } - - - ( 12 )
Wherein (s, a) (j|s, a) respectively in formula (8), obtain in (10) and (11), v (j) represents the overall long-term gain that system obtains when next state j to z with p.
6) optimized decision-making is found
According to the maximum system income that formula (12) obtains, we can find the system decision-making corresponding with this maximum return easily, this decision-making is the optimal decision-making current mobile cloud computing service territory dynamic cloud computational resource being optimized to distribution, and the strategy that the optimal decision-making distributed by the dynamic cloud computational resource optimization of all mobile cloud computing service territories forms is the optimal decision-making strategy of mobile cloud computing service territory dynamic cloud computational resource model of optimizing allocation.
According to step 5) each action is taked to event after obtain corresponding long-term gain respectively, then inside these long-term gains, the action (namely refuse cloud computing service request, or be the VM number of cloud computing service request dispatching cloud computing resources) selecting that maximum long-term gain corresponding.

Claims (3)

1., based on a dynamic cloud computational resource optimizing distribution method of SMDP, the steps include:
1) user satisfaction is divided into N class by cloud computing service domain system, and satisfaction classification is the virtual machine VM number that user's correspondence of i is distributed is k i; Wherein, 1≤k i≤ K, K are the VM sum in cloud computing service territory;
2) terminal user sends services request to cloud computing service territory, and application uses cloud computing service;
3) cloud computing service domain system sets up an action collection according to the services request received and current cloud computing service territory state; Wherein, the state s in cloud computing service territory is s=<n 1, n 2... n i... n n, e>, n ifor satisfaction classification in cloud computing service territory is the number of users of i, e is the event in cloud computing service territory, e ∈ { R, D 1, D 2, D i., D n, R is cloud computing service request, D ithe cloud computing service being i for satisfaction classification completes and releases the VM number shared by it; Described action collection is A ( s ) = - 1 , e &Element; { D 1 , D 2 , . . . , D N } { 0,1 , . . . i , . . . , N } , e = R , A (s)=-1 represents that cloud computing service terminates to run and discharges the state of shared cloud computing resources, A (s)=0 represents the refusal cloud computing service request of cloud computing service territory, and A (s)=i represents that cloud computing service territory receives cloud computing service request and the cloud computing resources distributing to this cloud computing service request is k iindividual VM; S represents the current state in cloud computing service territory;
4) for each action in described action collection, the long-term gain in cloud computing service territory is calculated;
5) cloud computing service domain system determines whether to accept current service request according to the long-term gain calculated, if accepted, the VM Resource Allocation Formula choosing the maximum action correspondence of long-term gain is cloud computing service request dispatching VM;
Wherein, formula z (s, a)=x (s is utilized, a)-τ (s, a) y (s, a) calculate for each action a income z (s, a), x (s, a) be state be s, the action of selection is when being a, the gross income that cloud computing service territory obtains, τ (s, a) represent state be s, the action chosen be a time, transfer to the service time desired by next state j; Y (s, a) represent state be s, the action chosen be a time cloud computing service territory expenditure; x ( s , a ) = - 1 , e = R , a = 0 U ( k i ) , e = R , a = i , U (k i) be Efficiency Function; β is the discount rate between two decision points under continuous time, and decision point refers to the time point that any one event e occurs, τ 1refer to the time experienced to the state that next event occurs from current state; Utilize formula calculate the long-term gain ν (s) in cloud computing service territory during each action a in described action collection, (j|s, a) is state transition probability to p, and j is the NextState in mobile cloud computing service territory, γ (s, a) be the mean speed that event occurs, S is all possible state in cloud computing service territory, the overall long-term gain obtained when v (j) represents NextState j.
2. the method for claim 1, it is characterized in that time τ between two decision points (s, a) obeys index distribution, mean speed γ that event occurs (s, a)=τ (and s, a) -1.
3. the method for claim 1, is characterized in that employing one Efficiency Function is to measure the satisfaction of cloud computing user, is divided into N class by user satisfaction.
CN201210123988.1A 2012-04-25 2012-04-25 A kind of dynamic cloud computational resource optimizing distribution method based on SMDP Expired - Fee Related CN102662764B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210123988.1A CN102662764B (en) 2012-04-25 2012-04-25 A kind of dynamic cloud computational resource optimizing distribution method based on SMDP

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210123988.1A CN102662764B (en) 2012-04-25 2012-04-25 A kind of dynamic cloud computational resource optimizing distribution method based on SMDP

Publications (2)

Publication Number Publication Date
CN102662764A CN102662764A (en) 2012-09-12
CN102662764B true CN102662764B (en) 2015-07-29

Family

ID=46772263

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210123988.1A Expired - Fee Related CN102662764B (en) 2012-04-25 2012-04-25 A kind of dynamic cloud computational resource optimizing distribution method based on SMDP

Country Status (1)

Country Link
CN (1) CN102662764B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020041883A1 (en) * 2018-08-29 2020-03-05 Carleton University Enabling wireless network personalization using zone of tolerance modeling and predictive analytics

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103002053B (en) * 2012-12-25 2016-06-08 深圳先进技术研究院 The profit maximization dispatching method of cloud computing and system
CN103077438A (en) * 2012-12-27 2013-05-01 深圳先进技术研究院 Control method and system for scheduling multiple robots
CN104754063B (en) * 2015-04-17 2018-02-16 北京邮电大学 Local cloud computing resource scheduling method
CN105045648B (en) * 2015-05-08 2018-03-30 北京航空航天大学 Physical host resource state prediction method under IaaS cloud environment
US10374930B2 (en) 2016-01-28 2019-08-06 Microsoft Technology Licensing, Llc Off-peak patching for enterprise stability
CN107832140B (en) * 2017-10-10 2021-01-01 武汉斗鱼网络科技有限公司 RPC request control method, storage medium, electronic device and system
CN108449411B (en) * 2018-03-19 2020-09-11 河南工业大学 Cloud resource scheduling method for downward heterogeneous cost under random demand
US11736973B2 (en) 2018-08-29 2023-08-22 Carleton University Enabling wireless network personalization using zone of tolerance modeling and predictive analytics
CN111711666B (en) * 2020-05-27 2022-07-26 华录易云科技有限公司 Internet of vehicles cloud computing resource optimization method based on reinforcement learning
CN111970167B (en) * 2020-08-04 2022-04-01 广州大学 End-to-end cloud service delay calculation method
CN112637822B (en) * 2020-12-26 2023-01-20 北京工业大学 Cellular network safe transaction platform based on block chain

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102185708A (en) * 2011-04-18 2011-09-14 武汉理工大学 Grid resource distribution method based on Nash equilibrium
CN102185713A (en) * 2011-05-04 2011-09-14 浙江大学 Global optimization method of internet service resource distribution

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102185708A (en) * 2011-04-18 2011-09-14 武汉理工大学 Grid resource distribution method based on Nash equilibrium
CN102185713A (en) * 2011-05-04 2011-09-14 浙江大学 Global optimization method of internet service resource distribution

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Resource Allocation for Security Services in Mobile Cloud Computing;Hongbin Liang 等;《IEEE INFOCOM 2011Workshop on M2MCN-2011》;20111231;第191页至第195页 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020041883A1 (en) * 2018-08-29 2020-03-05 Carleton University Enabling wireless network personalization using zone of tolerance modeling and predictive analytics

Also Published As

Publication number Publication date
CN102662764A (en) 2012-09-12

Similar Documents

Publication Publication Date Title
CN102662764B (en) A kind of dynamic cloud computational resource optimizing distribution method based on SMDP
CN109379727B (en) MEC-based task distributed unloading and cooperative execution scheme in Internet of vehicles
CN110113195B (en) Method for joint unloading judgment and resource allocation in mobile edge computing system
Rashidi et al. A hybrid heuristic queue based algorithm for task assignment in mobile cloud
CN102857548B (en) A kind of mobile cloud computing resources distributes method rationally
CN109167671A (en) A kind of adapted communication system equally loaded dispatching algorithm towards quantum key distribution business
CN109862592A (en) Resource management and dispatching method under a kind of mobile edge calculations environment based on multi-base station cooperative
CN111866601B (en) Cooperative game-based video code rate decision method in mobile marginal scene
CN111953510A (en) Smart grid slice wireless resource allocation method and system based on reinforcement learning
Kim et al. Dual-side dynamic controls for cost minimization in mobile cloud computing systems
CN115421930B (en) Task processing method, system, device, equipment and computer readable storage medium
CN114938372B (en) Federal learning-based micro-grid group request dynamic migration scheduling method and device
CN113542002A (en) Slice scheduling method, device, equipment and storage medium for 5G wireless access network
CN112804361A (en) Edge alliance game method for content cooperation cache
CN113747450B (en) Service deployment method and device in mobile network and electronic equipment
Yao et al. Encounter probability aware task assignment in mobile crowdsensing
CN110290539A (en) Resource allocation device and its working method based on the application of the mobile augmented reality of user&#39;s mobile awareness and resource reservation
CN108664318A (en) Computation migration method and server-side, boundary server-side for computation migration
CN113032146A (en) Robust service supply method for multi-access edge computing environment
CN106874108B (en) Technology for minimizing number of micro clouds in mobile cloud computing
CN114615705B (en) Single-user resource allocation strategy method based on 5G network
Zhang et al. Cost-and energy-aware multi-flow mobile data offloading under time dependent pricing
Kim et al. Multi-flow management for mobile data offloading
CN112738247B (en) Cloud computing resource distribution system and method based on multi-layer space scheduling
CN114466023A (en) Computing service dynamic pricing method and system for large-scale edge computing system

Legal Events

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

Granted publication date: 20150729

Termination date: 20210425

CF01 Termination of patent right due to non-payment of annual fee