Connected vehicular system has been envisioned as one of the key enablers critical for next generation cloud/fog-supported autonomous driving vehicles. Compared to the traditional self-driving vehicular systems which mostly rely on the on-board computer for driving behavior processing and decision making, connected vehicles can receive real-time information from the Internet as well as other vehicles periodically or on-demand for improved safety and driving experience. This enables a multitude of novel applications such as real-time situation awareness, coordinated lane changing, and joint path planning for congestion avoidance. Connected vehicles can also upload computationally intensive tasks to the cloud data center (CDC) for intelligent driving decisions such as path planning, vulnerable road user discovery, traffic monitoring and early warning of potential dangerous events.
Many connected vehicle-enabled applications require frequent status updating and the updated information must be successfully delivered to the targeted servers or vehicles in a timely manner. A relevant metric for quantifying the timeliness and freshness of the information/status delivery is Age-of-Information (AoI) which is defined as the time elapsed since the last received update of status information has been generated by the source . Guaranteeing a tolerable AoI in safety-related event broadcasting and information exchanging is of critical importance for vehicular networking systems.
One way to reduce AoI is to allow connected vehicles to be supported by fog computing. Fog computing network in a holistic framework for supporting computationally intensive applications that require low latency, high reliability, local context-awareness, and security. It consists of a large number of low-cost and often decentralized mini-servers performing computing, storage, and control closer to end users (i.e., connected vehicles). Fog computing has been commonly recognized as one of the most important components for future smart vehicular systems. To accelerate its adoption and commercial application, the European Telecommunications Standards Institute (ETSI) has formed an Industry Specifications Group (ISG) to standardize fog computing . OpenFog , an industry-academia consortium, has also been created to promote standardization and dissemination of fog computing. Fog computing has also been embraced by mobile network operators (MNOs) as a way to create new business opportunities, increase revenues, and reduce costs. Major MNOs, including AT&T, Deutsche Telekom, and China Mobile, have announced plans to integrate fog computing into their network infrastructure to support emerging services such as robotic manufacturing, autonomous cars, and augmented/virtual reality (AR/VR) applications. Due to its cost and space limitation compared to CDC, fog computing is not intended to replace the cloud data center but to complement it. In particular, fog nodes can handle localized low-latency context-aware services, while relying on remote large-scale CDCs to support more computationally intensive but latency-tolerant services.
Despite its great promise, cloud/fog computing-supported vehicular system is being hindered by several challenges. First of all, fog nodes are typically resource-limited devices. How to dynamically distribute users’ workload between CDC and fog nodes according to the supported services and the corresponding service requirement is a very challenging task. Second, AoI of the wireless connection between vehicles and fog nodes can exhibit strong temporal and spatial variation. Finally, AoI is also closely related to the driving behavior such as driving speed and routes.
In this paper, we introduce a novel proactive and data-driven approach for optimizing the driving route with the main objective to guarantee the confidence of AoI. We begin our work with an empirical analysis of AoI recorded on a vehicular system. Particularly we report a three-month measurement campaign on a multi-vehicle campus shuttle system connected with fog/cloud server through a commercially available LTE network with over 1,000,000 number of samples. We evaluate the impact of three main factors: update frequency, choice of cloud and fog servers, and processing delay at fog/cloud servers, on the empirical PDFs of AoI in a vehicular system. We observe that compared to other elements such as time of measurement and driving speed, the location diversity plays a major role in the statistics of AoI. In addition, although the instantaneous AoI value varies substantially from second to second at each given location, the empirical PDF of AoIs in each specific location can be considered as stationary. By evaluating and comparing empirical PDF recorded at different location. We observe that the PDF of AoIs exhibits strong spatial correlation. We then introduce a modified K-means-based approach to classify the empirical PDF of AoI measured at different locations throughout our considered area into a limited number of distribution function each of which corresponds to a set of regions that experience similar empirical PDFs of AoI. We investigate the driving route planning problem for the campus shuttles to maximize the confidence level of AoI when driving through different routes between the starting and finish points. We observe that since each fog node can only be connected with a limited number of vehicles at each time and therefore, the driving routes of all the vehicles must be carefully planned to avoid network congestion as well as traffic overload at some fog nodes coverage area. To address this problem, we propose a Deep Q-Network (DQN)-based algorithm for deciding the optimal driving routes for each vehicle with maximized confidence level during the entire driving route. Extensive simulations have been conducted and numerical results show a significant improvement on the AoI confidence for various types of connected vehicular services supported.
Ii Related Works
AoI of Connected Systems: Most existing works focused on optimizing the resource allocation schemes for wireless networks to minimize AoI. In particular, the authors in  studied the relationship between AoI and queueing delay and found that increasing the waiting time between consecutive data transmission will improve the AoI performance. In , the authors studied the tradeoff between the network resource utilization and the instantaneous AoI and analyzed the transmission policy under various situations. In this paper, we focus on the performance of AoI in connected vehicular systems. We studied various factors that can influence AoI of connected vehicles when driving into different locations.
Fog Computing-based Vehicular Systems: Fog computing is a promising solution to reduce the service latency, especially for computationally intensive services. Therefore, most existing works focused on how to improve the utilization efficiency of the limited computational resources at fog nodes. For example, the authors in  proposed a threshold-based policy for dynamically switching between cloud and fog nodes to minimize the latency when driving. In , the authors considered a model with three policies to allocate fog resource for each task. A policy for improving the quality of experience by applying fog computing was established in . In this paper, We consider the AoI in a hybrid system consisting of both cloud and fog. We evaluate the AoI performance supported by cloud and fog based on a long-term measurement study on a commercially available LTE network.
DQN for Dynamic Vehicular Systems: DQN has been widely used in solving wireless communication problems. For example, the authors in  proposed a network slicing approach to dynamically allocate computing resources with DQN. In , the authors applied DQN to find an optimal transmission policy that minimizes the communication cost. In , the authors indicated that there exists a temporal connectivity in a traffic network. In this paper, we consider a path-planning model to dynamically schedule the driving route with DQN.
Iii Architecture Overview
A cloud/fog computing-supported vehicular network consists of the following elements:
Vehicles: a set of connected vehicles each of which drives from one location to another following the topological limitations of the road. Each vehicle can connect to the servers at the fog nodes or CDC via wireless service offered by an MNO. Each vehicle can generate a sequence of state updates to be uploaded and processed by servers at fog nodes or CDC and wait for the response/calculation results from the selected servers.
Fog nodes: a set of mini-servers deployed close to the end users (e.g. vehicles) and can be accessed via a commercial wireless networks, e.g., a LTE network. Fog computing networks have typically been carefully planned by the MNO and each fog node can only serve end users within an exclusive area. Each fog node has a limited computational capacity and can only serve a limited number of vehicles at the same time.
Cloud data center (CDC): CDC consists of high-performance servers that can offer high speed computational services at an affordable price, especially compared to the fog computing network. CDC typically provides service through the Internet and can serve vehicles located in a much wider service area than a fog node. However, It is often deployed in remote areas and therefore has much higher communication latency compared to the fog computing networks.
Iv AoI for Cloud/Fog Computing-Supported System
In this paper, we focus on optimizing the AoI of a cloud/fog computing-supported vehicular system. Let be the time points for the vehicle to generate and send its state update. Each vehicle will send its update to the intended server immediately after generation. Once the update is received, fog nodes and CDC will process the update time duration, and , respectively before sending back the processed result to the vehicle. We can then write the total service time of update from the update generated by a vehicle till the reception of the processed result as and for CDC and fog nodes, respectively, where and are round-trip time (RTT) for sending update and receiving result to and from CDC and fog nodes respectively. The result reception time points for the -th update processed by fog node and CDC are given by and , respectively. We follow the same line as  and define the AoI as the freshness of the most recently processed result received by the vehicle. More specifically, suppose the first update signal 0 is generated by the vehicle at time and the corresponding result will be processed and received at . The most recently received result by the vehicle in time will be time-stamped at , where
We can then define AoI as:
It can be observed that the AoI is a stochastic process that is closely related to the signal generation frequency, round-trip-time, processing delay, driving behavior, and the choice of cloud/fog servers. In this paper, we focus on empirical analysis and optimizing AoI via path planning for a cloud/fog-supported connected vehicular system. In fact, we observed that due to the random nature of wireless connection, AoI of a connected vehicle may exhibit significant temporal and spatial fluctuations. In other words, instead of optimizing the instantaneous AoI at each given time and location, it is more realistic to optimize the confidence/probability that a certain AoI requirement can be met. Therefore, in this paper, we use confidence level, defined as the probability that the AoI experienced by a vehicle can be guaranteed to be no greater than a given value, as the main performance metric for a connected vehicular system. We assume each vehicle can only access either fog server or CDC server when driving to a given location denoted as. Let be the decision for vehicle to submit its workload to fog or CDC . We define the confidence level of a connected vehicle when driving to location with the maximum tolerance level of AoI (ms) as:
Iv-a Empirical Modeling and Analysis
To evaluate the performance of AoI, we need to substitute our observed RTTs into (1) and generate the empirical AoI under different settings. According to (1), in addition to RTTs, AoI can be affected by three main factors:
1) Update generation frequency
2) Workload processing delay at fog node and CDC
3) Choice of servers (fog node or CDC).
We give a more detailed discussion as follows:
Update generation frequency: Generally speaking, different connected vehicular services could require different update generation frequencies. For example, some infotainment services such as video streaming may require
frames per second of updating frequency while highway road warning service requested an update every 2 seconds. In Fig. 1(b), we present the empirical PDFs of AoI under different update generation frequencies. We can observe that the variance of AoIs increases with the update generation frequencies. This is because the AoI only counts the most recent results received by the vehicle and if the processing result of the next update is received earlier than the result of the previous update, the previous result will be ignored. In other words, AoI ignores the result when the RTT plus the processing delay is much higher than the update generation interval.
Process Delay: To evaluate the impact of processing delay on the AoI, we present the confidence level of AoI with update generation interval at 20ms under different services latency requirements. We can observe that the confidence level drops substantially when the processing delay plus the RTT exceeds the maximum tolerable latency of each supported service.
Choice of cloud/fog servers: To evaluate the impact of the choice of cloud/fog servers on the AoI, we consider two scenarios as follows:
Low Update Generation Frequency (): In this case, choosing cloud and fog servers will result in different AoI updating frequency. The difference between AoI offered by fog nodes and AoI offered by CDC corresponds to the size of shadowed parallelogram shown in Fig. 2(a).
High Update Generation Frequency (): There are two possible cases if the next updated signal is generated before reception of the processed result of the current update. If choosing the servers at fog or CDC for processing the update does not offer the sequence of signal updates, i.e., , difference between AoI for choosing fog and cloud servers will be the same as that of Low update generation frequency scenario shown in the shadowed parallelogram in the left most triangle in Fig. 2(b). However, if switching from the cloud server to fog server causes update being received earlier than the feedback result of update , the AoI difference caused by the vehicle to switch between fog and cloud server will result in two parallelogram areas in AoI. This is because if update can be received earlier than update , the AoI will no longer be affected by update , resulting in two parts of reduction caused by latency reduction for choosing fog and cloud server to process update .
Iv-B Measurement Campaign
As observed in (1), the AoI of a connected vehicle is closely related to back-and-forth communication delay for workload submission and result feedback. We therefore begin by collecting traces to evaluate the communication latency between multiple connected vehicles and the fog/cloud servers. One straightforward way to measure the back-and-forth communication latency is to test the RTT between vehicles and networks. We develop an Android App to periodically ping different networks and record the RTT. Motivated by the 5GAA whitepaper  that most safety-related vehicular applications require updating information with a limited packet size smaller than 996 byte, we set the size of data package in ping command as 996 byte. Except for the RTT, our developed APP also records other vehicle-related information such as location, speed, altitude and connected network as well. To evaluate RTT between vehicles and the fog server, we follow the same line as  and assume the IP address of service-gateway (S-GW) as the fog node server location. For the RTT between vehicles and the CDC, we use the IP address of a cloud server deployed by a major cloud service provider in China. In order to measure the RTT in different situations, 6 smart phones installed with our APP is mounted on 6 campus shuttles for three months of measurement and over 1,000,000 traces were collected when driving throughout the campus.
Iv-C Empirical PDF Classification & Region Segmentation
It has been observed that although the instantaneous value of RTT varies significantly between consecutive time slots and neighboring location points, the empirical PDFs of RTTs show strong temporal and spatial correlation. Due to the close relationship between AoI and RTT, the empirical PDF of AoI should exhibit similar correlations at different time across various locations. In particular, in Fig. 3(a), we present the average AoIs measured at different location points under a given source generating frequency. We can observe that the statistic feature of AoI measured at neighboring locations shows strong correlations. In addition, the empirical PDFs can be classified into a limited number of clusters. Vehicles driving within each region will experience similar latency PDF.
More formally, we can extend the K-means-based clustering approach by adopting the distance function of PDFs. In this paper, we follow a commonly adopted setting and use K-R distance to measure the distance between two empirical PDFs and measured at two different regions, i.e., we have
We present the detailed region segmentation algorithm in Algorithm 1.
V DQN for multi-vehicles path planning
In this section, we propose a novel architecture of multi-vehicle path planning. We consider confidence of AoI and focus on maximizing the guaranteed probability that a certain AoI constraint can be satisfied when multiple connected vehicles are driving within a given area.
V-a Problem formulation
Consider a vehicular network with multiple vehicles driving within the same location covered by a set of fog nodes and a remote CDC. We assume each vehicle is driving from a given starting location and can choose different routes to its intended destination. We consider a slotted process and assume the driving behavior of each vehicle can be considered as a Markov decision process (MDP) with finite horizon, in which its current location and AoI performance only depends on its location in the previous time slot.
State space : Suppose the vehicle can dynamically switching between different driving routes at each intersection. We define the state as a finite set of all the possible routes between the source and destination. Each instance of state in time slot as can be written as
Action space : is a finite set of all the possible direction choices for the vehicle at each intersection, such as right and left. We write the action choice in time slot as for all .
State Transition Function : The choice of action determines the next state with certainty. We define a mapping , from to . Then we can write the probability of state transferred from state to when taking action as:
Utility Function: The main objective is to maximize the general confidence of AoI during the driving process. We define the AoI confidence during the process from time slot to time slot as . Suppose the vehicle getting to the destination at time slot . Then we calculate the general AoI confidence as:
To maximize the long-term reward, the current and future payoff must be jointly considered. We define the value function when action is taken at state as
We define the optimal value function for state as
Hence, the optimal policy is given by
V-B Deep Q-learning
Q-learning is a effective approach for solving MDP problem when the sizes of state and action spaces are small. However, for problem with a large number of states and actions, the convergence rate will become slower. In this paper, we focus on path planning problem, where the state space is large. We adopt deep Q-learning approach proposed by Deepmind to find the optimal solution with large state-space.
Feature set: Feature is the input of neural network. In this problem, we determine the routes between the source and destination as the feature.
Experience replay pool: The transition observed after each performance is stored in the experience replay pool. The labeled sample for learning process is selected from the experience replay pool. The dependency of samples are eliminated by applying stochastic method.
Predict network: For each state, the algorithm selects an action through the predict network. The predict network evaluates the value after each possible action, then the best action based on predicting result will be taken with possibility .
Target network: After state transition, the value of the next state is evaluated by the target network. In order to improve the stabilization of algorithm, the parameter of target network updates to the predict network slowly, which eliminates the dependency between choosing action and evaluating value and reduces the network vibration.
The structure of DQN is given in Fig.4, and more details are shown in Algorithm 2.
V-C Simulation result and analysis
In Figure 5, we compare the convergence performance of Q-learning and DQN when being applied to maximize the long-term confidence level of AoI for a connected vehicle using the setting described in the previous subsections. We can observe that both Q-learning and DQN are able to reduce the driving cost and improve the AoI performance. In Figure 5(a), we observe that compared to Q-learning, DQN converge in a faster speed and can approach to a minimized error in around 10 training times. To evaluate the improvement that can be achieved by different policies with different training time, we present the AoI confidence defined in (5) for various driving routes selected by the vehicle using different policies with different training time. We can observe that DQN converges to the highest overall confidence of AoI after two to three times of training.
This paper studies the AoI for fog/cloud-supported vehicular systems. We report an empirical study of AoI on a multi-vehicular campus shuttle system. The impact of update generation frequency, processing delay, and choice of fog/cloud servers on the confidence of AoI have been investigated. Motivated by the observation that the empirical PDF of AoI exhibits strong spatial correlation, we propose a modified K-mean-based clustering approach to categorize the empirical PDF at different location points throughout our considered area into a limited number of probability distributions. Finally, we investigate driving route planning with the main objective to optimize the confidence of AoI. A DQN-based approach is introduced to find the optimal driving policy. Numerical results show that our proposed algorithm can significantly reduce the driving cost and improve the average AoI performance.
The authors would like to thank Ericsson (China) Hubei Branch and China Mobile Hubei 5G Joint-innovation Lab for help in the data collection.
-  (Jun. 2019) 5GAA C-V2X use cases methodology, examples and service level requirements. Cited by: §IV-B.
-  (Honolulu, HI, Apr. 2018) Temporal reachability in vehicular networks. In IEEE INFOCOM, Cited by: §II.
-  (March 2015) Spatial spectrum and energy efficiency of random cellular networks. IEEE Transactions on Communications 63 (3), pp. 1019–1030. Cited by: §I.
-  (March 2016) User mobility evaluation for 5g small cell networks based on individual mobility model. IEEE Journal on Selected Areas in Communications 34 (3), pp. 528–541. Cited by: §I.
-  (Feb. 2017) OpenFog reference architecture for fog computing. OPFRA001 20817. Cited by: §I.
-  (2015) Mobile edge computing-a key technology towards 5G. ETSI white paper 11 (11), pp. 1–16. Cited by: §I.
-  (Sydney, NSW, Mar. 2016) Analysis of fog model considering computing and communication latency in 5g cellular networks. In IEEE PerCom Workshops, Cited by: §II.
-  (Mar. 2016) Effect of message transmission path diversity on status age. IEEE Transactions on Information Theory 62 (3), pp. 1360–1374. Cited by: §II.
-  (Salt Lake City, UT, Jun. 2011) Minimizing age of information in vehicular networks. In IEEE SECON, Cited by: §I, §IV.
-  (Oct. 2019) Quality of experience (qoe)-aware placement of applications in fog computing environments. Journal of Parallel and Distributed Computing 132, pp. 190–203. Cited by: §II.
-  (Nov. 2017) Update or wait: how to keep your data fresh. IEEE Transactions on Information Theory 63 (11), pp. 7492–7508. Cited by: §II.
-  (1998) The asymptotic convergence-rate of q-learning. In Advances in Neural Information Processing Systems, pp. 1064–1070. Cited by: §V-B.
-  (Nov. 2016) What is a fog node a tutorial on current concepts towards a common definition. arXiv preprint arXiv:1611.09193. Cited by: §IV-B.
(Orlando, Florida, Apr. 2016)
Deep reinforcement learning with double q-learning. In AAAL, Cited by: §V-B.
-  (Jun. 2019) Optimal and fast real-time resource slicing with deep dueling neural networks. IEEE Journal on Selected Areas in Communications 37 (6), pp. 1455–1470. Cited by: §II.
-  (Boston, MA, Jun. 2019) Driving in the fog: latency measurement, modeling, and optimization of lte-based fog computing for smart vehicles. In IEEE SECON, Cited by: §II.
-  (Nov. 2018) Distributed optimization for energy-efficient fog computing in the tactile internet. IEEE J. Sel. Areas Commun. 36 (11), pp. 2390–2400. Cited by: §II.
-  (Kansas City, MO, May, 2018) Deep reinforcement learning for resource allocation in v2v communications. In 2018 IEEE International Conference on Communications (ICC), Cited by: §II.