Next Article in Journal
Differentially Private Mobile Crowd Sensing Considering Sensing Errors
Next Article in Special Issue
Towards Attention-Based Convolutional Long Short-Term Memory for Travel Time Prediction of Bus Journeys
Previous Article in Journal
Investigation of Copper-Less Gas Electron Multiplier Detectors Responses to Soft X-rays
Previous Article in Special Issue
A Novel Point Cloud Encoding Method Based on Local Information for 3D Classification and Segmentation
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Two-Stage Service Migration Algorithm in Parked Vehicle Edge Computing for Internet of Things

1
Tianjin Key Laboratory of Advanced Networking (TANK), College of Intelligence and Computing, Tianjin University, Tianjin 300350, China
2
School of Information Science, Japan Advanced Institute of Science and Technology (JAIST), Nomi, Ishikawa 923-1292, Japan
3
School of Computerand Information, Anhui Normal University, Wuhu 241001, China
*
Author to whom correspondence should be addressed.
Sensors 2020, 20(10), 2786; https://doi.org/10.3390/s20102786
Submission received: 18 March 2020 / Revised: 2 May 2020 / Accepted: 12 May 2020 / Published: 14 May 2020
(This article belongs to the Special Issue Internet of Things, Big Data and Smart Systems)

Abstract

:
Parked vehicle edge computing (PVEC) utilizes both idle resources in parked vehicles (PVs) and roadside units (RSUs) as service providers (SPs) to improve the performance of vehicular internet of things (IoT). However, it is difficult to make optimal service migration decisions in PVEC networks due to the uncertain parking duration and resources heterogeneity of PVs. In this paper, we formulate the service migration of all the vehicles as an optimization problem with the objective of minimizing the average latency. We propose a two-stage service migration algorithm for PVEC networks, which divides the original problem into the service migration between SPs and the serving PV selection in parking lots. The service migration between SPs is transformed to an online problem based on Lyapunov optimization, where the expected parking duration of PVs is utilized. A modified Hungarian algorithm is proposed to select the PVs for migration. A series of simulation experiments based on the real-world vehicle traces are conducted to verify the superior performance of the proposed two-stage service migration (SEA) algorithm as compared with the state-of- art solutions.

1. Introduction

The development of the automotive industry and the popularity of private cars have led to various issues such as traffic congestion, accidents, air pollution, etc. [1,2]. To ensure the safety and quality of experience (QoE), many novel vehicular Internet of Things (IoT) services are designed to control vehicle behavior by collecting the data from on-board sensors, for example, surrounding vehicle perception and collision risk [3]. In order to cope with great demands for these services, roadside units (RSUs) that are generally located in different geographic regions can be deployed on an edge server to act as a service provider (SP) [4]. However, the RSUs are always overloaded with the rapidly increasing number of vehicles and various service requests [5]. As such, more available resources are on demand [6]. It has been observed that the idle resources in parked vehicles (PVs) can be explored to efficiently provide services to other vehicles [7]. Therefore, a new computing paradigm, called parked vehicle edge computing (PVEC), has emerged to improve the vehicular IoT performance [8].
Generally speaking, private cars usually spend most of the time in parking lots with their resources in idle states, where the average parking duration is approximately seven hours [9]. PVs may consume energy for providing services to other vehicles, a discount in parking fees can be an incentive to a PV [10]. PVEC can take the parking lots as SPs by managing and integrating the rich resources such as storage resources and computing resources of the PVs [11]. The access point of the parking lot determines which PV is suitable to provide services to other vehicles. Through the PVEC, a vehicle can request for service from the parking lot to improve QoE. As such, the load of RSUs will be reduced, which means RSUs can provide higher QoE for vehicles [12]. However, it is a complicated process to manage the vehicle services with involvement of the parking [13,14]. For example, when the PV providing the service to other vehicles leaves the parking lot or refuses to continue providing the service, the ongoing service will be interrupted and delayed [15]. It is the case that the PVs with longer parking duration will help the stability of QoE. Moreover, different available resources in PVs, e.g., energy, also effect the network performance. When the resources can not support the service requests, or the PVs enter and leave the parking lots, the service needs to be migrated into the optimal PV so that the service continuity can be maintained [16]. With the migration, the service resumes exactly where it stopped at the target serving node. Furthermore, the service migration is also triggered by the vehicle mobility, which requires that the service is migrated to the nearest SP, for instance, the next immediate vehicle [17].
A proper service migration strategy should make a trade-off between the service latency and energy consumption of PVs, which encounters two challenges [18,19]. One challenge is that the parking duration of PVs greatly affects the overall performance of the service migration strategy [4]. As the leaving time of a PV cannot be known in advance, the service which is migrated to the leaving PV will result in an invalid migration or frequent migrations. Another challenge is that different long-term energy constraints in PVs are coupled with the service migration decision over the time, where the decisions have to be made without future information [20]. If a myopic migration decision achieves an optimal performance in terms of latency with huge energy consumption of a PV, the PV would suffer from energy shortage in the near future [21].
To address these challenges, this paper investigates the dynamic service migration in PVEC. A novel two-stage service migration (SEA) algorithm is proposed to solve the formulated problem. The main contributions of this paper are summarized as follows:
  • We investigate the service migration problem in PVEC, and formulate the service migration process as a mixed integer nonlinear programming (MINP) to minimize the average service latency, where the QoE constraints and the available energy of PVs are taken into account. To our best knowledge, this is the first work that studies service migration in PVFC networks.
  • We propose an efficient SEA algorithm to solve the formulated problem, where the original problem is divided into service migration between SPs and the selection of PVs for migration in parking lots. Utilizing Lyapunov optimization, we perform service migration decision between SPs in an online fashion without requiring future information. Meanwhile, a modified Hungarian algorithm is proposed to effectively tackle the difficult in selection of PVs with different available energy.
  • The effectiveness of the proposed SEA algorithm is verified by simulation based on the real-world vehicle traces. Compared with three benchmarks, the simulation results demonstrate SEA algorithm has the superior performance in terms of average latency, utilization of PVs and energy consumption, especially with large total number of vehicles.
The rest of this paper is organized as follows. Section 2 reviews the relevant existing literature. The system model considered in the paper is presented in Section 3. Section 4 proposes SEA algorithm and conducts the complexity analysis. Section 5 discusses the performance of SEA algorithm. Section 6 concludes the paper.

2. Related Works

PVEC is an extension of edge network to relieve the high load pressure of RSUs in IoT. According to [22,23], the total number of PVs tend to remain stable with an average parking duration of around 6 h in North America. Many existing works design a incentive mechanism to encourage PVs to share its idle resources [18]. Malandrino et al. [24] leverages optimization model, where PVs serve as relay nodes, to maximize both freshness of the content that download retrieve and the efficiency in the utilization of radio resources. Balen et al. [25] utilize PVs that are near to passing vehicles to distribute messages. The objective of these methods is minimizing the download delay by choosing optimal PVs. Tonguz et al. [26] design a local rule to cache services in PVs, which are selected by biologically inspired self-organizing network approach, and thus achieve low latency of download updates. Li et al. [4] classify PVs into different types according to their parking duration. They design a contract-based incentive mechanism to motivate PVs with long parking duration to contribute their idle resources, and thus maximize the utility of the SP. However, these methods did not fully utilize the resources of PVs.
Recently, the majority of the literature on PVEC have focused on allocating the resources of PVs [7,27]. Gu et al. [13] propose a two-tier data center architecture that leverages the excessive storage resources in parking lots. They design three management policies for data center, i.e., non-replication, simple replication and network coding based replication, which aim to minimize the total communication cost in a closed form. Zhang et al. [28] study task assignment problem in PVs based on Stackelberg game. Through the game between PVs and tasks, it decide the serving PV for each task, and thus minimize the overall cost of a task publisher and subjective dissatisfaction caused by un-offloaded workloads. Huang et al. [29] minimize the service latency by introducing a machine learning framework, which allocates the heterogeneous resources of PVs based on the requirements of the services. Ouyang et al. [30] introduce a scheme based on Lyapunov optimization to minimize the system costs over time in compliance with the time-varying resources of SPs. Zhu et al. [31] make a trade-off between the average service latency and the overall quality loss by designing an event-triggered dynamic allocation scheme based on particle swarm optimization. However, these methods did not take the mobility of vehicles into account. As the vehicle moves, the SP of the vehicle changes constantly, therefore the latency performance obtained by these resource allocation schemes can not be maintained.
To tackle the mobility of vehicles, service migration has been extensively studied in edge networks to reduce the service latency [32,33]. Ksentini et al. [34] assume the user makes the rectilinear translation, and build a one-dimension (1D) MDP model to predict the trajectory. According to the predicted trajectory, the users determine the target serving node of the service migration. Nadembeg et al. [35] select optimal serving node by predicting the throughput in the target node. The service request is assumed to be split into several parts, and the service can be served by many servers at the same time. To be closer to the real scenes, Wang et al. [33] build a 2D Markov Decision Process (MDP) model to predict the user movement behavior in cellular networks, and further make the service migration to achieve the lowest system cost. Yu et al. [36] study a single-user service migration algorithm to select a fraction of the services according to the priority queue, and only migrates these services to reduce the negative effect of trajectory prediction error. Although these service migration strategies have a good performance in edge networks, it can not be directly applied to PVEC networks due to the uncertain parking duration and resources heterogeneity of PVs.

3. System Model

3.1. System Overview

In this paper, we consider a PVEC networks consisting V vehicles and N SPs, as shown in Figure 1. As vehicle A moves along the main road, it connects to SP 1, SP 2 and SP 3 sequentially. Initially, a service is deployed on SP 1 which can be accessed by vehicle A directly. As vehicle A approaches SP 2 and SP 3, a proper service migration decision will be made to decide whether to migrate the service by considering both the migration cost and response delay. As shown in the Figure 1, the service is migrated to SP 2 when vehicle A is near SP 2, and is not migrated to SP 3 when vehicle A is near SP 3. In the latter case, vehicle A gets access to the service by request routing. We divide the total time into T time slots, where each time slot lasts for π seconds. In time slot t [ 0 , T 1 ] , the vehicles move among the coverage regions. In general, a vehicle connects to the SP with the largest indicator of received signal strength. As the vehicle moves, each vehicle v [ 1 , V ] generates its service request randomly to SP n [ 1 , N ] . In each time slot, the operator decides whether and where to migrate the services for the vehicles.
By deploying the vehicular services, SPs can provide services to the vehicles within their radio ranges. When the corresponding service is deployed by the SP which the vehicle is connected with, the service request can be served locally with and minimized latency. These SPs are connected to each other via Ethernet so that any vehicle is able to access all the services along the request routing once it is in the coverage region of a SP.
Assume the SPs contain I RSUs and J parking lots (I + J = N), where SPs i [ 1 , I ] are RSUs with an edge server and other SPs j [ I + 1 , I + J ] are the parking lots equipped with a access point which is used to communicate with the PVs. The parking lots use the idle resources (e.g., storage capacity) of PVs to serve the vehicles. Let K t j denote the set of PVs in parking lot j, which is updated by
K t + 1 j = K t j K t , i n j K t , o u t j ,
where K t , i n j and K t , o u t j are the set of the PVs which enter the parking lot j in time slot t, and the set of the PVs which leave the parking lot j in time slot t, respectively. Thus, we have
K t , i n j K t j = Ø , K t , o u t j K t j .
Each PV k K t j provides its idle resources to get a discount for its parking fees.
There are M different vehicular services that the vehicles may request for. We use a 5-tuple < λ m , γ m , D m , f m , v , θ m , v > to describe service m, where the five coordinates denote the request data size, the computation intensity (i.e., CPU cycles/bit), the response deadline, computing capacity and storage requirement of service m for vehicle v, respectively. What a vehicle requests for multiple services is the same as that multiple vehicles request for a service. We assume each vehicle v continuously requests for one service m ( v ) [ 1 , M ] in this paper. Table 1 summarizes the key parameter notations in our paper.

3.2. Service Placement

The vehicle states are composed of its connected SP information, its serving node information in each time slot t, and the migration decision made by the networks operator.
For each vehicle v, we use c v ( t ) to denote the number of its connected SP. Thus, we have
c t ( v ) { 1 , 2 , , N } , t , v .
Let b t ( v ) denote the serving node of vehicle v for service m ( v ) in time slot t, where b t ( v ) = n means vehicle v requests for service from SP n in time slot t. In addition, we use b t ( v ) to represent the migration decision, where the b t ( v ) = n means the service m ( v ) of vehicle v migrates to SP n in time slot t. Thus, the SP in the next time slot is updated by
b t + 1 ( v ) = b t ( v ) .
Similar to (3), we have
{ b t ( v ) { 1 , , N } , b t ( v ) { 1 , , N } , t , v .
Moreover, the service request to SP j will be further allocated to the PVs. We define a p t ( v ) , where p t ( v ) = k represents PV k in parking lot j which provides the service to vehicle v in time slot t. Meanwhile, we use p t ( v ) to represent the migration decision, where p t ( v ) = k represents the service of vehicle v is migrated to PV k in parking lot j at time slot t. The PV for migration in the next time slot is updated by
p t + 1 ( v ) = p t ( v ) .
Thus, we have
{ p t ( v ) = 0 , b v ( t ) I , p t ( v ) K t j , otherwise .

3.3. Service Latency

The service latency is composed of transmission latency, computing latency and migration latency. The transmission latency refers to the time it takes to send a request to the service node. The mobile edge network state in time slot t is described by an N-by-N matrix denoted by R t . The ( a , b ) th ( a [ 1 , N ] , b [ 1 , N ] ) element R t ( a , b ) denotes the available channel resources between SP a and SP b in time slot t. When a = b , element R t ( a , b ) is the positive infinity. Otherwise, it is randomly distributed in ( η m i n , η m a x ) .
Meanwhile, we use R ¯ t ( a , b ) , ( a ( I , N ] , b K t j ) to denote the transmission rate between the access point in parking lot a and PV b in time slot t, which is randomly distributed in ( η m i n , η ¯ m a x ) . As the distance from the access point and the PV is short, η ¯ m a x is much higher than η m a x .
Moreover, since the transmission latency between the vehicle and SP is hard to calculate precisely due to the movement of the vehicles, we use a constant C to approximate it. Assuming vehicle v generates a request to service m ( v ) at the beginning of time slot t, the request transmission latency includes the transmission latency between vehicle v and SP b t ( v ) in time slot t
l 1 T ( v , t ) = λ m ( v ) R t ( c t ( v ) , b t ( v ) ) + C ,
and the transmission latency between SP b t ( v ) and PV p t ( v ) in time slot t
l 2 T ( v , t ) = { λ m ( v ) R ¯ t ( b t ( v ) , p t ( v ) ) , b t ( v ) > I . 0 , otherwise .
The total transmission latency is
L T ( v , t ) = l 1 T ( v , t ) + l 2 T ( v , t ) .
The computation latency of vehicle v for service m ( v ) is
L C ( v , t ) = λ m ( v ) γ m ( v ) f m ( v ) , v .
Note that service m ( v ) may be migrated from p t ( v ) in SP b t ( v ) to p t ( v ) in SP b t ( v ) in time slot t. The migration latency includes the migration latency between SP b t ( v ) and SP b t ( v )
l 1 M ( v , t ) = θ m ( v ) , v R t ( b t ( v ) , b t ( v ) ) ,
the migration latency between SP b t ( v ) and PV p t ( v )
l 2 M ( v , t ) = { θ m ( v ) , v R ¯ t ( b t ( v ) , p t ( v ) ) , b t ( v ) > I 0 , otherwise
and the migration latency between SP b t ( v ) and PV p t ( v )
l 3 M ( v , t ) = { θ m ( v ) , v R ¯ t ( b t ( v ) , p t ( v ) ) , b t ( v ) > I 0 , otherwise
The total migration latency is
L M ( v , t ) = { 0 , b t ( v ) = b t ( v ) , p t ( v ) = p t ( v ) l 1 M ( v , t ) + l 2 M ( v , t ) + l 3 M ( v , t ) , otherwise .
Thus, the service latency for vehicle v in time slot t is
L ( v , t ) = L T ( v , t ) + L C ( v , t ) + L M ( v , t ) .

3.4. Energy Consumption

When entering the parking lot, PV k messages its available energy e ^ ( k , j ) to the access point in parking lot j. The energy consumption in PV must satisfy this available energy constraint. The transmission energy consumption of PV k for vehicle v in parking lot j at time slot t is
e T ( v , k , j , t ) = P π ( b t ( v ) , j ) π ( p t ( v ) , k ) l 2 T ( v , t ) , k K t j ,
where
π ( x , y ) = { 1 , x = y 0 , otherwise ,
where P is the communication power. The computing energy consumption of PV k for vehicle v in parking lot at time slot t is
e C ( v , k , j , t ) = π ( b t ( v ) , j ) π ( p t ( v ) , k ) κ f m ( v ) , v 3 L C ( v , t ) k K t j ,
where κ is the unit energy consumption per CPU cycle. The migration energy consumption of PV k for vehicle v in parking lot j at time slot t is
e M ( v , k , j , t ) = P [ π ( b t ( v ) , j ) π ( p t ( v ) , k ) l 2 M ( v , t ) + π ( b t ( v ) , j ) π ( p t ( v ) , k ) l 3 M ( v , t ) ] , k K t j .
The total energy consumption in PV k for vehicle v in parking lot j at time slot t is
e ( v , k , j , t ) = e T ( v , k , j , t ) + e C ( v , k , j , t ) + e M ( v , k , j , t ) , k K t j .
Thus, the available energy of PV k in parking lot j at the beginning of time slot t is
E ( k , j , t ) = { e ^ ( k , j ) , t = τ ( k ) , k K t j E ( k , j , t 1 ) v = 1 V e ( v , k , j , t 1 ) , t ( τ ( k ) , τ ¯ ( k ) ] , k K t j ,
where τ ( k ) and τ ¯ ( k ) are the enter time of PV k and the corresponding leaving time, respectively.

4. Two-Stage Service Migration Algorithm

4.1. Problem Formulation

Our goal is to minimize the long-term average latency with the energy consumption constraint in PVs by selecting the optimal migration strategy b v ( t ) and p v ( t ) , which can be expressed as
P 1 : min b v , p v lim T 1 T t = 0 T 1 v = 1 V L ( v , t )
s . t . L ( v , t ) D m ( v ) , v , t ,
v = 1 V e ( v , k , j , t ) E ( k , j , t ) , k , j , t , ( 3 ) , ( 5 ) , ( 7 ) .
Constraint (23) ensures the service request can be completed before its response deadline. Constraint (24) denotes the energy of PV k in parking lot j can support the service request. The lack of future information is the difficulty in deriving the optimal solution to the above problem as solving P 1 optimally requires the complete information. Moreover, P 1 is an MINP problem that is proven to be NP-hard.
To solve P 1 , first we decouple P 1 into two sub-problems, service migration between SPs problem and serving PV selection problem. Then we propose a two-stage algorithm, SEA, to solve these two sub-problems. In the first stage, we solve the service migration between SPs problem, i.e., deciding the serving SP for each vehicle. We utilize the Lyapunov optimization to convert this problem to per-slot optimization problem, which can be solved in an online style requiring only the current slot information. In the second stage, we solve the serving PV selection problem, i.e., deciding the serving PVs for vehicles whose serving SP is parking lot. We propose a modified Hungarian algorithm to choose the suitable PVs for vehicles, which fully utilizes the resources of all the PVs.

4.2. Problem Decomposition

The difference between RSUs and parking lots is that the parking lot needs to allocate its received service request from the vehicles to PVs with the energy constraint. Thus, we first consider parking lot j as a special RSU, which produces a extra latency during the request process. Replacing the transmission rate R ¯ ( b t ( v ) , p t ( v ) ) in (9) and (13), and the transmission rate R ¯ ( b t ( v ) , p t ( v ) ) in (14) with a constant η ¯ m a x 2 , we can obtain a new total latency L ¯ 1 ( v , t ) . Meanwhile, the available energy in parking lot j at the beginning of time slot t is
E ¯ ( j , t ) = k K t j E ( k , j , t ) .
Note that this energy only can be used before the PVs leave the parking lots. The first stage can be described by
P 2 : min b v t = 0 T 1 v = 1 V L ¯ 1 ( v , t )
s . t . L ¯ 1 ( v , t ) D m ( v ) , v ,
k K t j v = 1 V e ( v , k , j , t ) E ¯ ( j , t ) , ( 3 ) , ( 5 ) .
After obtaining the solution of P 2 , solving the original problem P 1 only needs to select the serving PV for the received migrated service in each parking lot j at time slot t. The total service latency in parking lot j is
L ¯ 2 j ( v , t ) = π ( b t ( v ) , j ) [ l 2 T ( v , t ) + l C ( v , t ) + l 2 M ( v , t ) ] + π ( b t ( v ) , j ) l 3 M ( v , t ) .
Let V t j denote the set of the vehicles, which migrate the service to parking lot j at time slot t, i.e., b t ( v ) = j . In this way, the second stage problem for parking lot j in time slot t can be represented by
P 3 : min p v , v V t j v V t j L ¯ 2 j ( v , t ) s . t . ( 5 ) , ( 24 ) .
The detail of the SEA algorithm is shown in Algorithm 1. In each time slot t, we obtain the migration decision b v , i.e., the SP of each vehicle by solving the first stage problem (Line 2). Based on this, we obtain the migration decision p v ( t ) , i.e., actual serving PV of the vehicle which migrates the service to the PV in parking lot j by solving the second stage problem (Lines 3–5).
Algorithm 1 Two-stage service migration (SEA) algorithm.
Input : c v ( t ) , b v , b v ;
Output : Service migration decision b v , p v ;
 1: for t = 0 to T 1 do
 2:  Obtain b v ( t ) by solving P 2 according to Algorithm 2;
 3:  for j = I + 1 to N do
 4:   Obtain p v ( t ) , v V t j by solving P 3 according to Algorithm 3;
 5:  end for
 6: end for

4.3. Service Migration between SPs

In this subsection, we transform the P 2 to per-slot optimization problems based on Lyapunov optimization.

4.3.1. Expected Parking Duration

The energy consumption under a certain migration decision greatly influences the available energy in the future, e.g., the parking lot needs to store the energy to attend frequent requests. We predict the average parking duration to ensure the energy consumption in each time slot is reasonable, in order to avoid rapidly running out of energy and lack of energy in the future, and also avoid using too little energy and compromising, the current latency performance.
Firstly, we identify the type of the PVs based on the parking duration. The parking duration is sorted in an ascending order and classified into N ¯ types { δ 1 , δ 2 , , δ N ¯ } , given by
δ 1 < < δ n ¯ < < δ N ¯ , n ¯ { 1 , 2 , · , N ¯ } .
However, the information asymmetry between the SP and the PVs causes the SP can not realize the type of PVs. We generate the probability distribution of PV types through the historical data statistics. The probability that a PV belongs to type- n ¯ in parking lot j is denoted by Pr ( δ n ¯ ) , and
n ¯ = 1 N ¯ Pr ( j , δ n ¯ ) = 1 .
The expected parking duration of PVs in parking lot j is
E { τ ( j ) } = n ¯ = 1 N ¯ Pr ( j , δ n ¯ ) δ n ¯ .

4.3.2. Algorithm for the Service Migration between SPs

As discussed in Section 4.1, to solve P 2 online, we need to convert P 2 to per-slot optimization problems requiring only current slot information. Thus, according to the expected parking duration of PVs, we leverage the Lyapunov optimization technique and build a virtual queue to guide the migration decisions with the energy constraint.
Q j ( t + 1 ) = [ Q j ( t ) + k K t j v = 1 V e ( v , k , j , t ) E ¯ ( j , t ) E { τ ( j ) } ] + ,
where Q j ( t ) is the queue backlog for parking lot j in time slot t, indicating the deviation of the current energy consumption from the energy constraint. The Lyapunov function is defined as L ( ξ ( t ) ) , representing the “congestion level” in energy deficit queue, which is
L ( ξ ( t ) ) 1 2 j = I + 1 N Q ¯ j 2 ( t ) .
A small value of L ( ξ ( t ) ) implies that the queue backlog is small, i.e., the virtual queue has strong stability. To keep the energy deficit queue stable, i.e., to enforce the energy consumption constraints by persistently pushing the Lyapunov function towards a lower value, let Δ ( t ) denote the one-slot Lyapunov drift, which is Δ ( t ) = L ( ξ ( t + 1 ) ) L ( ξ ( t ) ) , and we have
Δ ( t ) = 1 2 j = I + 1 N [ Q j 2 ( t + 1 ) Q j 2 ( t ) ] 1 2 j = I + 1 N [ k K t j v = 1 V e ( v , k , j , t ) E ¯ ( j , t ) E { τ ( j ) } ] 2 + j = I + 1 N Q j ( t ) [ k K t j v = 1 V e ( v , k , j , t ) E ¯ ( j , t ) E { τ ( j ) } ] J U + j = I + 1 N Q j ( t ) [ k K t j v = 1 V e ( v , k , j , t ) E ¯ ( j , t ) E { τ ( j ) } ] ,
where
U sup 1 2 j = I + 1 N [ k K t j v = 1 V e ( v , k , j , t ) E ¯ ( j , t ) E { τ ( j ) } ] 2 .
Under the Lyapunov optimization framework, the underlying objective of our optimal control decision is to minimize a supremum bound on the following drift-plus-cost expression in each time slot.
Δ ( t ) + μ v = 1 V L ¯ ( v , t ) J U + j = I + 1 N Q j ( t ) k K t j v = 1 V e ( v , k , j , t ) + μ v = 1 V L ¯ ( v , t ) ,
where the parameter μ > 0 can make the trade-off between the service latency and the energy consumption of SPs.
Under the Lyapunov optimization framework, the underlying migration decision of P 2 is made by solving the optimization problem P 4
P 4 : min b v μ v = 1 V L ¯ 1 ( v , t ) j = I + 1 N Q j ( t ) k K t j e ( k , j , t ) s . t . ( 26 ) , ( 3 ) , ( 5 ) .
Note that P 4 only requires the current available information. By considering the additional term j = I + 1 N Q j ( t ) k K t j v = 1 V e ( v , k , j , t ) , the energy deficit of SPs during the current slot is taken into account. A high value of E ¯ ( j , t ) means it is critical to minimize the energy deficit. The detail of solving the service migration between SPs is shown in Algorithm 2. We first initialize the PV set as a null set (Line 1). At the beginning of the time slot t, the parking lots update its PVs set (Line 3). After this step, we can obtain b v by solving P 4 in an iterative manner (Line 4). Next, we calculate the available energy in the next time slot, and update the energy queue (Lines 5, 6). Finally, the solution in the time slot t of P 4 becomes the initial state in the next time slot t + 1 (Line 7).
Algorithm 2 Service migration between the service providers (SPs) algorithm.
Input : Q j ( t ) 0 , E ¯ ( j , 0 ) 0 , c v ( t ) , b v , b v ;
Output : Service migration decision b v ;
 1: initialize the PV set K 0 j = Ø ;
 2: for t = 0 to T 1 do
 3: Update the PV set K t j according to (1);
 4: Obtain b t by solving P 4 ;
 5: Update Q j ( t + 1 ) according to (32);
 6: Update E ¯ ( j , t + 1 ) according to (25),
 7: Update b v ( t + 1 ) according to (5);
 8: end for
According to [21], we find that the average latency satisfies
lim T 1 T t = 0 T 1 v = 1 V L ¯ 1 ( v , t ) J U μ + O * .
where O * is the optimal value of P 2 . Meanwhile, the energy consumption in parking lot j satisfies
k K t j v = 1 V e ( v , k , j , t ) E ¯ ( j , t ) E { τ ( j ) } + U ϵ * + μ J ϵ * ( O m a x O * ) ,
where O m a x represents the long-term latency achieved by no migration strategy. It demonstrates an [ O ( 1 / μ ) , O ( μ ) ] latency-energy trade-off. The latency performance of P 4 improves with μ . However, it also results in the large energy deficit queue. That is, the energy consumption in PVs grows linearly when μ increases.

4.4. Serving PV Selection

After solving P 2 , we can know the vehicles which request service from parking lots. In each time slot t, we need to select the serving PVs for these vehicles according to the service latency and available energy in PVs. A possible solution is to randomly choose a PV for each vehicle. However, the latency performance may not be optimal. Thus, we propose a modified Hungarian algorithm, which can fully utilize the resources of PVs in each parking lot, to solve P 3 .
First of all, we build a cost function F ( v , k , j , t ) to calculate the fitness of a migration decision p t ( v ) (i.e., k = p t ( v ) ). A low value of F ( v , k , j , t ) means the vehicle gains a big benefit when it is served by PV k.
F ( v , k , j , t ) = α L ¯ 2 j ( v , t ) [ E ( k , j , t ) Δ k e ( v , k , j , t ) ] ,
where Δ k is the number of service requests that PV k offers. α > 0 is the weight parameter. The modified Hungarian algorithm is shown in Algorithm 3. It works as follows.
  • Compare the the number of service requests of vehicles S ( V t j ) with the number of available PVs S ( K t j ) , and let Z = max { S ( V t j ) , S ( K t j ) } (Line 1).
  • Z > S ( K t j ) means the PVs are not enough to achieve one-to-one service. We generate a expanded set K t j * , which size is equal to Z. When Z = S ( K t j ) , K t j * = K t j (Lines 2–10).
  • If Z > S ( V t j ) , we generate a expanded vehicle set V t j * , V t j * = V t j otherwise (Lines 11–14).
  • Next, we initialize a S ( V t j ) -by- S ( K t j ) cost matrix F , where each element F ( v , k ) , v V t j * , k K t j * is the cost value F ( v , k , j , t ) (Line 15). In this way, we can obtain the migration decision p v ( t ) by traditional Hungarian algorithm (Line 16).
Algorithm 3 Modified Hungarian algorithm.
Input : V t j , K t j ;
Output : Service migration decision p v ;
 1: Initialize Z = max { S ( V t j ) , S ( K t j ) } ;
 2: Let K t j * = K t j ;
 3: while Z > k K t j Δ k * do
 4: Find the maximum E ( k * , j , t ) Δ k * ;
 5:  Δ k * = Δ k * + 1 ;
 6: end while
 7: for k K t j do
 8: Make Δ k copies of the the PV k;
 9: Add the copies of PV k into K t j * ;
 10: end for
 11: Let S ( V t j * ) = S ( V t j )
 12: while Z > S ( V t j ) do
 13: Add Z S ( V t j ) virtual vehicles v * into S ( V t j * ) , which the cost function F ( v * , k , j , t ) = 0 ;
 14: end while
 15: Initialize cost matrix F according to (37) based on V t j * , K t j * ;
 16: Obtain p t ( v ) according to traditional Hungarian algorithm;
The time-complexity of the modified Hungarian algorithm relies on the difference between cost function of PVs for the vehicles. When the cost function values are same, the time-complexity becomes higher, which is at most O ( S 3 ( V t j * ) ) .

5. Performance Evaluation

In order to evaluate the performance of SEA algorithm, we conduct simulation experiments. We build a PVEC system with 10 RSUs and 5 parking lots, deployed in the map. PVs behavior is formulated based on a real dataset which are collected by SmartParking App [37]. Figure 2 shows the cumulative distribution function of the parking duration for PVs. The vehicle trajectories are collected from the real-world Rome taxi traces obtained in 2014 [38]. Four typical vehicular services, i.e., emergency stop, collision risk, accident report and parking, are used as the service that the vehicles may request for. The parameters of the services are listed in Table 2. The other major parameters are listed in Table 3.
We compare SEA with three benchmarks.
  • Never-migrate scheme (NM): The service is deployed in the original SP and never migrates to other SPs. Note that all the service in PVs randomly migrate to other PVs when the PV leaves the parking lot.
  • Always Migration (AM): the service is always migrated to the nearest SP, while the service in the parking lot is assigned to the PVs that can provide best latency performance regardless of the energy consumption constraint in PVs.
  • Dynamic Markov Decision Process (DMDP) [33]: This is a single-user service migration algorithm, where the serving RSU or PV is predicted using the MDP model. The optimal service migration decision is made to minimize the energy consumption. DMDP were applied to each of the users independently in our simulations.

5.1. Impact of Different Total Number of Vehicles

Figure 3 shows the average latency with different total number of vehicles. It was observed that the average latency with NM is the highest, which is owing to a significant amount of latency for request transmission. On the other hand, the lowest average latency is achieved by AM, as AM always migrate service to the nearest SPs and further migrate service to PV that can provide best latency performance. Since the objective of DMDP is to minimize the energy cost, the average latency of DMDP is higher than that of AM and of SEA. Meanwhile, with the total number of vehicles increases from 100 to 1000, the average latency greatly increases to reduce the migration energy consumption. The average latency of SEA is quite close to that of AM when the total number of vehicles is smaller than 500. When the total number of vehicles exceeds 500, SEA slowly grows with the limited energy of PVs. However, it is still very close to AM.
Figure 4 shows the average utilization rate of PVs with different total number of vehicles. As can be seen from the figure, the utilization rate of PVs for NM is lowest. This is expected as the services were only migrated when the serving PV was leaving the parking lot. Due to the service requests concentrating on PVs that can provide best latency performance, the utilization rate of PVs of AM is near-minimal. Meanwhile, the utilization rate of PVs of DMDP maintain a second highest performance. It was observed that the highest average utilization rate is achieved by SEA as the modified Hungarian algorithm takes the advantage of available energy of PVs. The average utilization rate of PVs with SEA improves by up to 22.2%, as compared with the state-of-the-art solution.
Figure 5 shows the average additional energy consumption, which is the sum of the energy consumption exceeding the available energy in PVs divided by total number of PVs, with different total number of vehicles. The highest average additional energy consumption is achieved by AM, where increases exponentially with the total number of vehicles increases from 100 to 1000. This is because too many service requests are concentrated on a PV, resulting in the rapid depletion of energy in this PV. Meanwhile, the average additional energy consumption of NM is near to highest, which is caused by a significant amount of energy being required for requesting transmissions. The average additional energy of DMDP is near to optimal with the MDP model can not predict the parking duration of PV. The average additional energy consumption of SEA is near to zero when the vehicle number below 600. Even with the total number of vehicles increases from 600 to 1000, the average additional energy consumption grow slowly.
Figure 6 shows the average surplus energy in PVs, which is the sum of the residual energy in PVs divided by total number of PVs, with different total number of vehicles. Note that if the energy consumption in PV exceeds the available energy, the surplus energy is zero. The performance of NM, AM and DMDP are consistent with those in Figure 5. The highest utilization rate of PVs of SEA lead the energy in PVs is fully exploited. Thus, the average surplus energy of SEA reduce rapidly to 36.4 mJ with the total number of vehicles increase from 100 to 1000. Such observations above indicate that SEA algorithm is suitable for PVEC networks.

5.2. Impact of the Weight Parameter in the Cost Function

Figure 7 shows the average latency and average additional energy consumption with different α , while the total number of vehicle is 1000. By increasing α from 0 . 01 to 100, SEA algorithm puts more emphasis on the average latency, i.e., the average latency decreases and the average additional energy consumption increases. By adjusting the value of α , we can achieve a balance between these two. In our simulation experiments, we set α = 10 .

6. Conclusions

In this paper, we investigated a service migration problem in PVEC networks. We formulated the service migration process as an MINP optimization problem to minimize the average service latency while satisfying the energy constraints of PVs. A two-stage algorithm, called the SEA algorithm, was proposed to solve the MINP problem, which divides the original problem into the service migration between SPs and the selection of PVs for migration in parking lots sub-problems. Utilizing Lyapunov optimization, we perform service migration decision between SPs in an online fashion without requiring future information. Meanwhile, a modified Hungarian algorithm is proposed to effectively tackle the difficult in selection of PVs with different available energy and services. A series of simulation experiments based on the real-world traces were conducted to verify the superior performance in reducing the average latency with the energy constraint of PVs by our proposed SEA algorithm. It demonstrated that the proposed solution can reduce average latency by up to 17.2% and improve the average utilization rate of PVs by up to 22.2%, as compared with the state-of-the-art solution DMDP. It indicated that SEA algorithm is suitable for PVEC networks. Besides the available energy, storage and computing resources also affect the migration decision, which will be taken into account in future studies.

Author Contributions

Investigation, S.G.; X.H. and X.Z.; methodology, S.G.; Project administration, M.C. and X.Z.; Resources, M.C. and X.H.; Visualization, S.G.; Writing-original draft, S.G. and X.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This work is supported by the Natural Science Foundation of Tianjin under Grant No. 17JCQNJC00700, 18ZXZNGX00040 and 18ZXJMTG00290.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Wang, R.; Zhang, J.; Song, S.H.; Letaief, K.B. Mobility-Aware Caching in D2D Networks. IEEE Trans. Wirel. Commun. 2017, 16, 5001–5015. [Google Scholar] [CrossRef] [Green Version]
  2. Qiu, T.; Li, B.; Qu, W.; Ahmed, E.; Wang, X. TOSG: A Topology Optimization Scheme With Global Small World for Industrial Heterogeneous Internet of Things. IEEE Trans. Ind. Inform. 2019, 15, 3174–3184. [Google Scholar] [CrossRef]
  3. Zhang, Y.; Li, C.; Luan, T.H.; Fu, Y.; Shi, W.; Zhu, L. A Mobility-Aware Vehicular Caching Scheme in Content Centric Networks: Model and Optimization. IEEE Trans. Veh. Technol. 2019, 68, 3100–3112. [Google Scholar] [CrossRef]
  4. Li, C.; Wang, S.; Huang, X.; Li, X.; Yu, R.; Zhao, F. Parked Vehicular Computing for Energy-Efficient Internet of Vehicles: A Contract Theoretic Approach. IEEE Internet Things J. 2019, 6, 6079–6088. [Google Scholar] [CrossRef]
  5. Shah, S.A.A.; Ahmed, E.; Imran, M.; Zeadally, S. 5G for Vehicular Communications. IEEE Commun. Mag. 2018, 56, 111–117. [Google Scholar] [CrossRef]
  6. Wei, H.; Luo, H.; Sun, Y. Mobility-Aware Service Caching in Mobile Edge Computing for Internet of Things. Sensors 2020, 20, 610. [Google Scholar] [CrossRef] [Green Version]
  7. Zhang, Y.; Wang, C.; Wei, H. Parked Vehicle Assisted VFC System with Smart Parking: An Auction Approach. In Proceedings of the 2018 IEEE Global Communications Conference (GLOBECOM), Abu Dhabi, UAE, 9–13 December 2018; pp. 1–7. [Google Scholar]
  8. Sun, G.; Yu, M.; Liao, D.; Chang, V. Analytical Exploration of Energy Savings for Parked Vehicles to Enhance VANET Connectivity. IEEE Trans. Intell. Transp. Syst. 2019, 20, 1749–1761. [Google Scholar] [CrossRef]
  9. Morency, C.; Trépanier, M. Characterizing Parking Spaces Using Travel Survey Data; Tech. Rep. CIRRELT-2008-15; Cirrelt: Montréal, QC, Canada, 2008. [Google Scholar]
  10. Elsayed, S.A.; Abdelhamid, S.; Hassanein, H.S. Proactive Caching at Parked Vehicles for Social Networking. In Proceedings of the IEEE International Conference on Communications, Kansas City, MO, USA, 20–24 May 2018; pp. 1–6. [Google Scholar]
  11. Zhang, Y.; Wang, C.; Wei, H. Parking Reservation Auction for Parked Vehicle Assistance in Vehicular Fog Computing. IEEE Trans. Veh. Technol. 2019, 68, 3126–3139. [Google Scholar] [CrossRef]
  12. Yang, L.; Yao, H.; Wang, J.; Jiang, C.; Benslimane, A.; Liu, Y. Multi-UAV Enabled Load-Balance Mobile Edge Computing for IoT Networks. IEEE Internet Things J. 2020. to appear. [Google Scholar] [CrossRef]
  13. Gu, L.; Zeng, D.; Guo, S.; Ye, B. Leverage parking cars in a two-tier data center. In Proceedings of the 2013 IEEE Wireless Communications and Networking Conference (WCNC), Shanghai, China, 7–10 April 2013; pp. 4665–4670. [Google Scholar]
  14. Chen, N.; Qiu, T.; Zhou, X.; Li, K.; Atiquzzaman, M. An Intelligent Robust Networking Mechanism for the Internet of Things. IEEE Commun. Mag. 2019, 57, 91–95. [Google Scholar] [CrossRef]
  15. Maia, A.M.; Ghamri-Doudane, Y.; Vieira, D.; de Castro, M.F. Optimized Placement of Scalable IoT Services in Edge Computing. In Proceedings of the IFIP/IEEE International Symposium on Integrated Network Management, IM, Washington, DC, USA, 8–12 April 2019; pp. 189–197. [Google Scholar]
  16. He, W.; Yan, G.; Xu, L.D. Developing Vehicular Data Cloud Services in the IoT Environment. IEEE Trans. Ind. Inform. 2014, 10, 1587–1595. [Google Scholar] [CrossRef]
  17. Taleb, T.; Ksentini, A.; Frangoudis, P.A. Follow-Me Cloud: When Cloud Services Follow Mobile Users. IEEE Trans. Cloud Comput. 2019, 7, 369–382. [Google Scholar] [CrossRef] [Green Version]
  18. Qiu, T.; Liu, J.; Si, W.; Wu, D.O. Robustness Optimization Scheme With Multi-Population Co-Evolution for Scale-Free Wireless Sensor Networks. IEEE/ACM Trans. Netw. 2019, 27, 1028–1042. [Google Scholar] [CrossRef]
  19. Sun, Y.; Zhou, S.; Xu, J. EMM: Energy-Aware Mobility Management for Mobile Edge Computing in Ultra Dense Networks. IEEE J. Sel. Areas Commun. 2017, 35, 2637–2646. [Google Scholar] [CrossRef] [Green Version]
  20. Baek, M.; Jeong, D.; Choi, D.; Lee, S. Vehicle Trajectory Prediction and Collision Warning via Fusion of Multisensors and Wireless Vehicular Communications. Sensors 2020, 20, 288. [Google Scholar] [CrossRef] [Green Version]
  21. Xu, J.; Chen, L.; Zhou, P. Joint Service Caching and Task Offloading for Mobile Edge Computing in Dense Networks. In Proceedings of the IEEE Conference on Computer Communications, INFOCOM, Honolulu, HI, USA, 15–19 April 2018; pp. 207–215. [Google Scholar] [CrossRef] [Green Version]
  22. Litman, T.A. Parking Management: Strategies, Evaluation and Planning; Tech. Rep. 37074029; Victoria Transp. Policy Inst.: Victoria, BC, Canada, 2006. [Google Scholar]
  23. Liu, N.; Liu, M.; Lou, W.; Chen, G.; Cao, J. PVA in VANETs: Stopped cars are not silent. In Proceedings of the INFOCOM, Shanghai, China, 10–15 April 2011; pp. 431–435. [Google Scholar]
  24. Malandrino, F.; Casetti, C.; Chiasserini, C.F.; Sommer, C.; Dressler, F. Content downloading in vehicular networks: Bringing parked cars into the picture. In Proceedings of the 2012 IEEE 23rd International Symposium on Personal, Indoor and Mobile Radio Communications—(PIMRC), Sydney, Australia, 9–12 September 2012; pp. 1534–1539. [Google Scholar]
  25. Balen, J.; Martinovic, G.; Paridel, K.; Berbers, Y. PVCM: Assisting multi-hop communication in vehicular networks using parked vehicles. In Proceedings of the IV International Congress on Ultra Modern Telecommunications and Control Systems, St. Petersburg, Russia, 3–5 October 2012; pp. 119–122. [Google Scholar]
  26. Tonguz, O.K.; Viriyasitavat, W. Cars as roadside units: A self-organizing network solution. IEEE Commun. Mag. 2013, 51, 112–120. [Google Scholar] [CrossRef]
  27. Qiu, T.; Li, B.; Zhou, X.; Song, H.; Lee, I.; Lloret, J. A Novel Shortcut Addition Algorithm with Particle Swarm for Multisink Internet of Things. IEEE Trans. Ind. Inform. 2020, 16, 3566–3577. [Google Scholar] [CrossRef]
  28. Zhang, J.; Huang, X.; Yu, R. Optimal Task Assignment with Delay Constraint for Parked Vehicle Assisted Edge Computing: A Stackelberg Game Approach. IEEE Commun. Lett. 2020, 24, 598–602. [Google Scholar] [CrossRef]
  29. Xiong, K.; Leng, S.; Hu, J.; Chen, X.; Yang, K. Smart Network Slicing for Vehicular Fog-RANs. IEEE Trans. Veh. Technol. 2019, 68, 3075–3085. [Google Scholar] [CrossRef]
  30. Ouyang, T.; Zhou, Z.; Chen, X. Follow Me at the Edge: Mobility-Aware Dynamic Service Placement for Mobile Edge Computing. IEEE J. Sel. Areas Commun. 2018, 36, 2333–2345. [Google Scholar] [CrossRef] [Green Version]
  31. Zhu, C.; Tao, J.; Pastor, G.; Xiao, Y.; Ji, Y.; Zhou, Q.; Li, Y.; Ylä-Jääski, A. Folo: Latency and Quality Optimized Task Allocation in Vehicular Fog Computing. IEEE Internet Things J. 2019, 6, 4150–4161. [Google Scholar] [CrossRef] [Green Version]
  32. Chen, Y.; Tsai, Y. A Mobility Management Using Follow-Me Cloud-Cloudlet in Fog-Computing-Based RANs for Smart Cities. Sensors 2018, 18, 489. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  33. Wang, S.; Urgaonkar, R.; Zafer, M.; He, T.; Chan, K.; Leung, K.K. Dynamic Service Migration in Mobile Edge Computing Based on Markov Decision Process. IEEE Trans. Netw. 2019, 27, 1272–1288. [Google Scholar] [CrossRef] [Green Version]
  34. Ksentini, A.; Taleb, T.; Chen, M. A Markov Decision Process-based service migration procedure for follow me cloud. In Proceedings of the IEEE International Conference on Communications, ICC, Sydney, Australia, 10–14 June 2014; pp. 1350–1354. [Google Scholar] [CrossRef]
  35. Nadembega, A.; Hafid, A.S.; Brisebois, R. Mobility prediction model-based service migration procedure for follow me cloud to support QoS and QoE. In Proceedings of the IEEE International Conference on Communications, ICC, Kuala Lumpur, Malaysia, 22–27 May 2016; pp. 1–6. [Google Scholar] [CrossRef]
  36. Yu, X.; Guan, M.; Liao, M.; Fan, X. Pre-Migration of Vehicle to Network Services Based on Priority in Mobile Edge Computing. IEEE Access 2019, 7, 3722–3730. [Google Scholar] [CrossRef]
  37. ACT Government Open Data Portal dataACT. Available online: https://www.data.act.gov.au/Transport/SmartParkingHistory/grth-myzs (accessed on 5 March 2020).
  38. Bracciale, L.; Bonola, M.; Loreti, P.; Bianchi, G.; Amici, R.; Rabuffi, A. CRAWDAD Dataset roma/taxi (v. 2014-07-17). Available online: https://crawdad.org/roma/taxi/20140717 (accessed on 18 December 2019).
Figure 1. System overview.
Figure 1. System overview.
Sensors 20 02786 g001
Figure 2. The cumulative distribution function of the parking duration for parked vehicles (PVs).
Figure 2. The cumulative distribution function of the parking duration for parked vehicles (PVs).
Sensors 20 02786 g002
Figure 3. The average latency with different total number of vehicles.
Figure 3. The average latency with different total number of vehicles.
Sensors 20 02786 g003
Figure 4. The average utilization rate of PVs with different total number of vehicles.
Figure 4. The average utilization rate of PVs with different total number of vehicles.
Sensors 20 02786 g004
Figure 5. The average additional energy with different total number of vehicles.
Figure 5. The average additional energy with different total number of vehicles.
Sensors 20 02786 g005
Figure 6. The average surplus energy with different total number of vehicles.
Figure 6. The average surplus energy with different total number of vehicles.
Sensors 20 02786 g006
Figure 7. The average latency and average additional energy consumption with different α , while the total number of vehicles is 1000.
Figure 7. The average latency and average additional energy consumption with different α , while the total number of vehicles is 1000.
Sensors 20 02786 g007
Table 1. Definitions of notations.
Table 1. Definitions of notations.
NotationDefinition
K t + 1 j the set of PVs in parking lot j
c t v the connected SP of the vehicle v in time slot t
b t ( v ) the SP of the request of vehicles v in time slot t
b t ( v ) the migration decision of SP for vehicle v in time slot t
p t ( v ) the serving PV of the request of vehicles v in time slot t
p t ( v ) the migration decision of PV for vehicle v in time slot t
λ m the input data size of service m
γ m the computation intensity of service m
D m the response deadline of service m
Ω m the priority of service m
f m , v the CPU cycle requirements of a service m request from vehicle v
θ m , v the storage requirements of a service m request from vehicle v
R t ( i , j ) The transmit rate between SP i and SP j in time slot t
L ( v , t ) the total latency of vehicle v in time slot t
Pthe communication power
E ( k , j , t ) the total energy consumption of PV k in parking lot j at time slot t
τ ( k ) , τ ¯ ( k ) the enter time and leaving time of PV k
Table 2. Service parameters.
Table 2. Service parameters.
Type D m λ m γ m (KB) f m , v (GHz) θ m , v (MB)
emergency stop0.1320036[1.6, 3.2][1, 3]
collision risk0.1480040[2.4, 4.8][1, 3]
accident report0.5480028[2.4, 4.8][2, 3]
parking0.1120080[0.6, 1.2][3, 5]
Table 3. Experimental parameters.
Table 3. Experimental parameters.
NotationValue
η m i n 5 Mbps
η m a x 10 Mbps
η ¯ m a x 20 Mbps
κ 10 26
P0.5 W

Share and Cite

MDPI and ACS Style

Ge, S.; Cheng, M.; He, X.; Zhou, X. A Two-Stage Service Migration Algorithm in Parked Vehicle Edge Computing for Internet of Things. Sensors 2020, 20, 2786. https://doi.org/10.3390/s20102786

AMA Style

Ge S, Cheng M, He X, Zhou X. A Two-Stage Service Migration Algorithm in Parked Vehicle Edge Computing for Internet of Things. Sensors. 2020; 20(10):2786. https://doi.org/10.3390/s20102786

Chicago/Turabian Style

Ge, Shuxin, Meng Cheng, Xin He, and Xiaobo Zhou. 2020. "A Two-Stage Service Migration Algorithm in Parked Vehicle Edge Computing for Internet of Things" Sensors 20, no. 10: 2786. https://doi.org/10.3390/s20102786

APA Style

Ge, S., Cheng, M., He, X., & Zhou, X. (2020). A Two-Stage Service Migration Algorithm in Parked Vehicle Edge Computing for Internet of Things. Sensors, 20(10), 2786. https://doi.org/10.3390/s20102786

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop