2015 TVT Zhang
2015 TVT Zhang
Abstract—Mobile cloud computing is an emerging technology the application performance of mobile devices. As the comput-
for facilitating complex application execution on smartphones. ing capability of smartphones increases, mobile cloud comput-
Cloud services are utilized not only to speed up the running of ing can organize and make use of computation resources on
mobile applications but to save energy for smartphones as well.
In this paper, we propose to combine the vehicular cloud with surrounding smartphones to form the ad hoc virtual cloud [2].
the infrastructure-based cloud to expand the current available In addition to the ad hoc virtual cloud, cloud service providers
resources for task requests from smartphones. In our proposed also include a central cloud and a cloudlet that are referred to as
architecture, the vehicular cloud acts as a cloud service provider the infrastructure-based cloud. Cloudlets [3] are deployed near
for smartphones. Moreover, we propose a flexible offloading strat- Wi-Fi access points (APs) and cellular base stations to provide
egy (FOS) to carry out task migration. The vehicular cloud is
able to discover and utilize the underutilized resources in vehicles cloud services efficiently and decrease the network delay be-
to accomplish application offloading for smartphones. The FOS tween mobile users and the central cloud. Vehicles as mobile
estimates the efficiency of various cloud service providers based on devices can be also served by mobile cloud computing [4], [5].
current resource conditions and then selects the suitable cloud ser- For vehicles, cloud service providers include the central cloud,
vice provider to perform the requested task. Experimental results the roadside cloud, and the vehicular cloud [6]. Vehicular cloud
show that the proposed approach can improve the performance of
mobile applications on smartphones in terms of task response time is defined as [7] a group of largely autonomous vehicles whose
and energy consumption. corporate computing, sensing, communication, and physical
resources can be coordinated and dynamically allocated to au-
Index Terms—Cloudlet, mobile cloud computing, task migra-
tion, vehicular cloud. thorized users. Vehicles traveling on the road may meet various
events such as traffic congestion and traffic accidents. In such
I. I NTRODUCTION situations, the vehicular cloud has the potential to cooperate
with various authorities to solve problems that otherwise cannot
integrate various usable resources to enhance the scalability time is decided by the data size and the bandwidth. The work
of cloud services for smartphones. Once various computation argues that when the data size is large, offloading may not
resources are integrated and utilized, there will be multiple save energy. However, the problem of how to process the data-
cloud nodes to provide cloud services. When one of the cloud intensive task was not discussed. Moreover, the performance
nodes cannot satisfy the offloading requirements, other cloud metric of task response time was not analyzed.
nodes may be available for cloud services. Thus, the cloud ser- An optimization framework for energy-optimal application
vices are still useful for smartphones. In addition, there may execution [16] is proposed to optimally execute mobile ap-
be a situation where several cloud nodes satisfy the offloading plications in either the mobile device or the cloud clone. The
requirements. Then, how to select an optimal cloud node to corresponding model contains the mobile phone and a central
execute the application needs to be studied. cloud. The proposed method can calculate the minimum com-
In this paper, we propose to combine the vehicular cloud putation energy consumption and the minimum transmission
with the fixed central cloud and cloudlet to expand the current energy consumption with a time deadline on the mobile phone.
available resources for task requests from smartphones. In the The proposed framework decides on where to execute the
proposed cloud computing architecture, vehicular cloud near application according to the energy consumption conditions of
the cloudlet acts as a cloud service provider for smartphones. local execution and cloud clone. However, when the task is
When infrastructure-based cloud does not satisfy the offloading data intensive, the data transmission time may exceed the time
requirements, the proposed flexible offloading strategy (FOS) deadline due to wide area network (WAN) delay. The work did
discovers and utilizes the underutilized resources in vehicles to not consider this situation.
accomplish mobile application offloading. If both the central Cloudlet is designed to obtain the resource benefits of cloud
cloud and cloudlet satisfy the offloading requirements, the computing without incurring WAN delays and jitter corre-
FOS selects the optimal cloud node (central cloud or cloudlet) sponding to the central cloud [13]. A cloudlet can be viewed as
according to the energy consumption of the smartphone and the a cluster of multicore computers with Internet connectivity and
task response time. a high-bandwidth wireless local area network (WLAN), and
The rest of this paper is organized as follows. Section II the corresponding communication range is one hop. The com-
introduces the related work. Section III presents the system putation and storage resources in the cloudlet can be utilized
model and states the problem. Section IV describes the pro- to perform application offloading by nearby mobile computers.
posed flexible application offloading strategy for smartphones. However, if no cloudlet is available nearby, a mobile user cannot
Section V presents the numerical performance evaluation, and migrate the data-intensive task efficiently. The performance
Section VI concludes this paper. metric of energy consumption of smartphones was not analyzed.
Moreover, when many users have requests, the resources in
a cloudlet may be insufficient. This situation was not discussed.
II. R ELATED W ORK
A unified elastic computing platform [2] is proposed to sup-
Mobile application offloading and the corresponding offload- port application offloading for mobile devices and reduce en-
ing strategy have been investigated by researchers. Currently, ergy consumption of smartphones based on [16]. The proposed
the central cloud and cloudlet are cloud service providers most model consists of an infrastructure-based cloud and an ad hoc vir-
commonly used by smartphone users. Researchers have mainly tual cloud formed by a cluster of smartphones. The researchers
focussed on the analysis of energy consumption and data trans- presented an offloading policy to decide on where each task
mission time when a smartphone migrates a computationally of the application should be executed (i.e., on the standalone
intensive task to the cloud side. Our work considers the tasks smartphone, in the ad hoc virtual cloud, or in the infrastructure-
corresponding to different cases of data communication and based cloud). The offloading performance of the ad hoc virtual
computation workload. Furthermore, we analyze the offloading cloud was not analyzed and discussed. There is no comparison
performance corresponding to the central cloud and cloudlet between the infrastructure-based cloud and the ad hoc virtual
based on the related work. Finally, we select the suitable cloud in terms of energy consumption of smartphones and task
cloud node to perform the requested task using our proposed response time. The offloading policy only implemented the selec-
offloading strategy. Hence, we first introduce the related work tion between the infrastructure-based cloud and local execution.
on the analysis of offloading performance and the correspond- Most of the current work considered a single cloud service
ing offloading strategy. Then, we give the comparison between provider for smartphones. It is very possible that the single
our work and current methods. cloud service provider becomes useless because its resource
An analysis [15] on the energy saving of cloud computing for conditions are unsuitable for the requested task. For example,
mobile users is proposed. The researchers point out that cloud the central cloud is unsuitable for a data-intensive task, consid-
computing can potentially save energy for mobile users. How- ering the low data transmission rate of a WAN. In particular,
ever, not all applications are energy efficient when migrated to if the data-intensive task belongs to a real-time application,
the cloud. The corresponding model contains the mobile device the transmission delay of a WAN is possibly unacceptable
and a central cloud. The work focuses on the energy analysis for users. Although the cloudlet makes cloud services better
for mobile application offloading. When a smartphone uses for the data-intensive task, it also has limitations. Since the
application offloading, its energy consumption is mostly caused computation and storage resources in the cloudlet are limited,
by wireless transmission. Hence, the time to transmit data is a when a large number of users have requests, it is possible
key factor for energy consumption. Moreover, the transmission that the cloudlet does not have sufficient resources to provide
5612 IEEE TRANSACTIONS ON VEHICULAR TECHNOLOGY, VOL. 64, NO. 12, DECEMBER 2015
In VACC, the vehicular cloud plays an assistant role in cloud a bus, and the smartphone can directly connect to the vehicle
computing for smartphones. The vehicular cloud is exploited through Wi-Fi technology. In the first situation, the network be-
to relieve the limitation of the infrastructure-based cloud, in- tween the smartphone and the vehicular cloud is intermittently
cluding the WAN delay of the central cloud and the limited connected; hence, VACC needs to select a reliable worker node
available resources of the cloudlet. Hence, the offload scenar- (i.e., the lifetime of the connection between the smartphone
ios in VACC can be divided into two categories. In the first and the requested vehicle is long enough to receive the task) to
category, either the central cloud or the cloudlet can satisfy the implement task migration. Meanwhile, a reliable worker node
offloading requirements, and the requested task is migrated to also needs to satisfy the offloading requirements. In the second
one of them based on the offloading performance. In the second situation, the network connection between the smartphone and
category, both the central cloud and the cloudlet cannot satisfy the vehicle is relatively stable. If the vehicle satisfies both the
the offloading requirements, and the task is migrated to the offloading requirements and the connection requirement, VACC
vehicular cloud. For the central cloud, the FOS calculates the will employ it to execute the task.
energy consumption values of a smartphone and task response In the following sections, we analyze the offloading per-
time. For the cloudlet, the FOS judges whether the current avail- formance of the central cloud and the cloudlet. Moreover, we
able resources in the cloudlet satisfy the resource requirement design an algorithm to select the reliable worker node in the ve-
of the requested task. If yes, the FOS continues to calculate the hicular cloud. Table I shows the notation definition in the FOS.
energy consumption values of a smartphone and task response
time corresponding to the cloudlet. Then, the FOS determines A. Offloading Performance Analysis of the Central Cloud and
whether the central cloud and the cloudlet satisfy the require- the Cloudlet
ments of task response time and energy consumption. If both
The offloading performance of the central cloud and the
the central cloud and the cloudlet satisfy the offloading require-
cloudlet can be calculated as follows. The energy consumption
ments, the FOS will select the optimal cloud node (central cloud
by local execution is
or cloudlet) to execute the task. When only the central cloud
or the cloudlet satisfies the offloading requirements, the task Cu
Eu = Puc × . (1)
will be executed by the corresponding cloud node. If both the Su
central cloud and the cloudlet cannot satisfy the offloading The energy consumption of the smartphone corresponding to
requirements, the FOS will discover and utilize the vehicular the central cloud is
cloud to accomplish application offloading. Du Dr
The vehicular cloud in VACC contains two situations. A
c
Ecc = Ptx × c + Prx c
× c . (2)
Btx Brx
request from a smartphone should be processed in the corre-
sponding situation. In the first situation, the user is not on a The energy consumption of the smartphone corresponding to
bus, but rather, he/she may be walking on a street. His/her the cloudlet is
smartphone needs to connect to the cloudlet to discover and Du Dr
c
Ecl = Ptx × l + Prxc
× l . (3)
utilize a vehicular cloud. In the second situation, the user is on Btx Brx
5614 IEEE TRANSACTIONS ON VEHICULAR TECHNOLOGY, VOL. 64, NO. 12, DECEMBER 2015
The task response time corresponding to the central cloud is duration of the connection will be greater than the estimated
value; hence, this situation does not destroy the normal task
Du Cu Dr
Tcc = c + + c . (4) migration. When a vehicle accelerates, the actual duration of the
Btx Scc Brx connection is close to the estimated value. If the task is executed
The task response time corresponding to the cloudlet is by a worker node in the vehicular cloud, the corresponding
energy consumption of the smartphone is
Du Cu Dr Du Dr
Tcl = + + l . (5) × v + Prx × B v .
c c
l
Btx Scl Brx Evc = Ptx (7)
Btx rx
If the central cloud can satisfy the conditions of Ecc < Eu Equation (7) denotes the energy consumption when the smart-
and Tcc ≤ T at the same time, it is considered to be available to phone uses 3G/4G networks to connect to the vehicular cloud.
perform application offloading. If the smartphone uses the Wi-Fi AP to connect to the nearby
If the current available resources in the cloudlet are sufficient vehicular cloud, the corresponding energy consumption is
for the requested task and the cloudlet can satisfy the conditions
Du Dr
of Ecl < Eu and Tcl ≤ T at the same time, it is considered to w
Evc = Ptx × v
w
+ Prx × v . (8)
be available to perform application offloading. Btx Brx
When there are two available cloud nodes (i.e., central cloud The task response time corresponding to vehicle i can be
and cloudlet), the FOS needs to select the optimal cloud node. If calculated as follows:
Ecc ≤ Ecl , then the central cloud is selected to execute the re-
Du Cu Dr
v + S i + B v + m × Tv
quested task. Otherwise, the optimal cloud node is the cloudlet. i
Tvc = (9)
When there is only one available cloud node (i.e., central cloud Btx vc rx
or cloudlet), the corresponding cloud node is selected. where Tv denotes the time to establish the connection between
When both the central cloud and the cloudlet are unavailable a vehicle and the cloudlet.
for the requested task, the FOS will discover and utilize the Based on the offloading requirements and the estimated
vehicular cloud to execute the task. duration of the connection between the vehicular cloud and the
smartphone, we design Algorithm 1 to select a reliable worker
B. Worker Node Selection in Vehicular Cloud node, and the selected worker node will execute the task. In the
first situation of the vehicular cloud, if the time to transfer the
In the first situation of the vehicular cloud, first, a smartphone input data to a worker node is less than the estimated duration
sends a request to the cloudlet and then utilizes the AP con- of the connection, we consider that the worker node satisfies
nected with the cloudlet to discover the vehicular cloud. The the connection requirement. After the task has been finished,
request from a smartphone contains the energy consumption if the worker node is out of the communication range of the AP,
Eu , the required response time T , the required memory size the result can be transferred to the cloudlet through multihop
M , and the set {Du , Cu , Dr }. The total number of nodes in the vehicular networks. Then, the cloudlet can return the result to
vehicular cloud is n. The cloudlet randomly selects m vehicles the smartphone through 3G/4G networks or Wi-Fi technology.
in the communication range of APs as candidate worker nodes. The values of energy consumption and task response time in
Then, some status information of m vehicles is transferred to Algorithm 1 can be calculated by (7)–(9). For brevity, the
the cloudlet. The status information of vehicle i consists of the equations do not appear in Algorithm 1.
current speed Vi , the direction θi , the available memory Mvi , the
i
CPU clock frequency Svc , and the coordinate (Xi , Yi ). After Algorithm 1
the status information of a vehicle is received by the cloudlet,
the corresponding connection is successfully established. INPUT: W : {w1 , w2 , . . . , wm }, S : {t1 , t2 , . . . , tm }, T , Eu ,
Next, the cloudlet estimates the duration of the connection Du , Cu , Dr , Svc : {Svc1
, Svc2 m
, . . . , Svc }, Mv :
between the smartphone and the vehicular cloud. Because the {Mv , Mv , . . . , Mv }
1 2 m
network connection between the smartphone and the cloudlet 1: for (i = 1; i <= m − 1; i + +)
is stable, the previously estimated duration is equal to the du- 2: Ts = ti ;
ration of the connection between the cloudlet and the candidate 3: k = 0;
worker node in the vehicular cloud. For vehicle i, the estimated 4: for (j = 1; j <= m − i; j + +)
duration can be obtained by the following equation: 5: if (Ts < tj+1 )
6: Ts = tj+1 ;
2
R = (Xi + ti × Vix − Xs )2 + (Yi + ti × Viy − Ys ) . (6) 7: k = j + 1;
8: endif
In (6), Vix = (Vi +Vm ) sin θi /2, and Viy = (Vi +Vm ) cos θi /2. 9: endfor
Vm represents the permitted maximum speed on the road. 10: if (Ts > ti )
(Xs , Ys ) denotes the coordinate of the AP. R denotes the 11: switch (ti , tk );
communication range of the AP. We use the average value of the 12: switch (wi , wk );
i k
current speed and maximum speed to calculate time ti . When 13: switch (Svc , Svc );
a vehicle decelerates or keeps the current speed, the actual 14: switch (Mv , Mkv );
i
ZHANG et al.: TOWARD VEHICLE-ASSISTED CLOUD COMPUTING FOR SMARTPHONES 5615
Fig. 2. Task response time evaluation for case 1. (a) Central cloud is powerful. (b) Cloudlet is powerful.
Fig. 4. Performance evaluation for case 2. (a) Task response time. (b) Energy consumption of the smartphone.
Fig. 5. Task response time evaluation for case 3. (a) Central cloud is powerful. (b) Cloudlet is powerful.
VI. C ONCLUSION
In this paper, we have proposed combining the vehicular
cloud with the fixed central cloud and the cloudlet to expand the
current available resources for task requests from smartphones.
In the proposed VACC, the vehicular cloud acts as a cloud
service provider for smartphones. To gain the energy saving of
smartphones and accomplish tasks in the required time, an FOS
is proposed. If both the central cloud and the cloudlet do not
Fig. 6. Energy consumption evaluation for case 3. satisfy the offloading requirements, then the FOS utilizes the
underutilized resources in vehicles to accomplish application
In case 4, the workload of data transmission is heavier than offloading. If both the central cloud and the cloudlet satisfy
in case 3. The available memory space of the cloudlet is not the offloading requirements, the FOS selects the optimal cloud
sufficient. As shown in Fig. 7, the vehicular cloud has a shorter node (central cloud or cloudlet) to execute the task. Numerical
response time than the required time, but the response time experimental results show that the FOS can employ the vehicu-
of the central cloud is longer than the required time due to lar cloud to accomplish application offloading for smartphones
5618 IEEE TRANSACTIONS ON VEHICULAR TECHNOLOGY, VOL. 64, NO. 12, DECEMBER 2015
Fig. 7. Performance evaluation for case 4. (a) Task response time. (b) Energy consumption of the smartphone.
when the infrastructure-based cloud does not satisfy the [17] D. Huang, P. Wang, and D. Niyato, “A dynamic offloading algorithm
offloading requirements. Therefore, energy savings can be for mobile computing,” IEEE Trans. Wireless Commun., vol. 11, no. 6,
pp. 1991–1995, Jun. 2012.
achieved smartphones. [18] W. Zhang, Y. Wen, J. Wu, and D. Wu, “Energy-efficient scheduling policy
for collaborative execution in mobile cloud computing,” in Proc. IEEE
Infocom, 2013, pp. 190–94.
R EFERENCES
[1] D. Huang, T. Xing, and H. Wu, “Mobile cloud computing service mod-
els: A user-centric approach,” IEEE Netw., vol. 27, no. 5, pp. 6–11, Hongli Zhang received the B.S. degree in computer
Sep./Oct. 2013. science from Sichuan University, Chengdu, China, in
[2] W. Zhang, Y. Wen, J. Wu, and H. Li, “Toward a unified elastic computing 1994 and the Ph.D. degree in computer science from
platform for smartphones with cloud support,” IEEE Netw., vol. 27, no. 5, Harbin Institute of Technology (HIT), Harbin, China,
pp. 34–40, Sep./Oct. 2013. in 1999.
[3] M. Felemban, S. Basalamah, and A. Ghafoor, “A distributed cloud ar- She is a Professor with the Department of Com-
chitecture for mobile multimedia services,” IEEE Netw., vol. 27, no. 5, puter Science and Technology, HIT, and the Vice
pp. 20–27, Sep./Oct. 2013. Director of the National Computer Information Con-
[4] R. Hussain, J. Son, H. Eun, S. Kim, and H. Oh, “Rethinking vehicular tent Security Key Laboratory. Her research interests
communications: Merging VANET with cloud computing,” in Proc. IEEE include network and information security, network
4th Int. Conf. Cloud Comput. Technol. Sci., 2012, pp. 606–609. measurement, and cloud computing.
[5] M. Gerla, “Vehicular cloud computing,” in Proc. 11th Annu. Med-Hoc-
Net, 2012, pp. 152–155.
[6] R. Yu, Y. Zhang, W. Xia, and K. Yang, “Toward cloud-based vehicu-
Qiang Zhang received the B.E. degree in informa-
lar networks with efficient resource management,” IEEE Netw., vol. 27,
tion security from Harbin Institute of Technology
no. 5, pp. 48–55, Sep./Oct. 2013.
(HIT), Harbin, China, in 2009 and the M.S. de-
[7] S. Olariu, M. Eltoweissy, and M. Younis, “Towards autonomous vehicular
gree from Harbin Engineering University in 2012.
clouds,” ICST Trans. Mobile Commun. Appl., vol. 11, no. 7–9, pp. 1–11,
He is currently working toward the Ph.D. degree
2011.
with the Department of Computer Science and Tech-
[8] S. Olariu, I. Khalil, and M. Abuelela, “Taking VANET to the clouds,” Int.
nology, HIT.
J. Pervasive Comput. Commun., vol. 7, no. 1, pp. 7–21, 2011.
His research interests include cloud computing
[9] M. Whaiduzzaman, M. Sookhak, A. Gani, R. Buyya, “A survey on vehicu-
and wireless networks.
lar cloud computing,” J. Netw. Comput. Appl., vol. 40, no. 1, pp. 325–344,
Apr. 2014.
[10] E. Tilevich and Y. Kwon, “Cloud-based execution to improve mobile appli-
cation energy efficiency,” Computer, vol. 47, no. 1, pp. 75–77, Jan. 2014.
[11] S. Ou, K. Yang, and A. Liotta, “An adaptive multi-constraint partition-
ing algorithm for offloading in pervasive systems,” in Proc. IEEE 4th Xiaojiang Du received the B.E. degree from
Annu. Int. Conf. Pervasive Comput. Commun., Mar. 2006, Pisa, Italy, Tsinghua University, Beijing, China, in 1996 and
pp. 116–125. the M.S. and Ph.D. degrees from the University of
[12] B. Chun, S. Ihm, P. Maniatis, M. Naik, and A. Patti, “Clonecloud: Elastic Maryland, College Park, MD, USA, in 2002 and
execution between mobile device and cloud,” in Proc. 6th Conf. Comput. 2003, respectively, all in electrical engineering.
Syst., New York, NY, USA, 2011, pp. 301–314. He is currently an Associate Professor with the
[13] M. Satyanarayanan, R. C. P. Bahl, and N. Davies, “The case for VM-based Department of Computer and Information Sciences,
cloudlets in mobile computing,” IEEE Pervasive Comput., vol. 8, no. 4, Temple University, Philadelphia, PA, USA. He has
pp. 14–23, Oct.–Dec. 2009. published over 160 journal and conference papers in
[14] E. Cuervo et al., “MAUI: Making smartphones last longer with code his areas of interest. His research interests include
offload,” in Proc. Int. Conf. Mobile Syst., Appl., Serv., 2010, pp. 49–62. security, systems, wireless networks, and computer
[15] K. Kumar and Y. Lu, “Cloud computing for mobile users: Can offloading networks.
computation save energy?” Computer, vol. 43, no. 4, pp. 51–56, Apr. 2010. Dr. Du has been awarded more than $4M in research grants from the
[16] Y. WenW. Zhang, K. Guan, D. Kilper, and H. Luo, “Energy-optimal exe- National Science Foundation, the Army Research Office, and the Air Force
cution policy for a cloud-assisted mobile application platform,” Nanyang Research Laboratory. He serves on the Editorial Board of four international
Technol. Univ., Singapore, Tech. Rep., Sep. 2011. journals.