You are currently viewing a new version of our website. To view the old version click .
Sensors
  • Article
  • Open Access

31 March 2022

Effective Safety Message Dissemination with Vehicle Trajectory Predictions in V2X Networks

,
,
and
1
School of Electronic and Information Engineering, Beihang University, Beijing 100190, China
2
Sensonic, 4780 Scharding, Austria
*
Author to whom correspondence should be addressed.
This article belongs to the Special Issue SDN Architecture and Fog Computing for Intelligent Vehicular Sensor Networks

Abstract

Exploring data connection information from vehicle-to-vehicle (V2V) and vehicle-to-infrastructure (V2I) communications using advanced machine learning approaches, an intelligent transportation system (ITS) can provide better safety services to mitigate the risk of road accidents and improve traffic efficiency. In this work, we propose an end-edge-cloud architecture to deploy machine learning-driven approaches at network edges to predict vehicles’ future trajectories, which is further utilized to provide an effective safety message dissemination scheme. With our approach, the traffic safety message will only be disseminated to relevant vehicles that are predicted to pass by accident areas, which can significantly reduce the network data transmission overhead and avoid unnecessary interference. Depending on the vehicle connectivity, our system adaptively chooses vehicle-to-vehicle (V2V) or vehicle-to-infrastructure (V2I) communications to disseminate safety messages. We evaluate the system by using a real-world VANET mobility dataset, and experimental results show that our system outperforms other mechanisms without considering any predicted vehicle trajectory density information.

1. Introduction

Intelligent transportation systems (ITS) refer to systems that fuse information processing, wireless communication and sensor technologies to vehicles and transportation infrastructure to provide real-time information for road users and transportation system operators to make better decisions. The main goals of ITS are to improve traffic safety and efficiency via intelligent vehicle-to-infrastructure (V2I) or vehicle-to-vehicle (V2V) communications.
The initial motivation behind the development of V2X communications was to develop a road safety application to provide efficient early warning information and assistance to road users in order to prevent road accidents and disseminate accident information to relevant road users. From this perspective, knowing the future trajectories of the vehicles plays an important role in designing the safety message dissemination schemes.
Many solutions have been proposed to estimate the vehicle’s trajectory and density [,,,,], which can be generally divided into two categories: infrastructure-based and infrastructure-less. The infrastructure-based approach requires some additional devices on the road networks, such as roadside magnetic loop detectors, surveillance cameras, wireless vehicle sensors, pressure pads, roadside radar and infrared counters, and so forth. Instead, the infrastructure-less approach requires only information obtained from the vehicle networks, such as vehicle to vehicle or vehicle to base station connection information or traffic flow information. Compared to infrastructure-based solutions, infrastructure-less solutions are more robust and reliable. Predicting the future trajectories of vehicles is important to support various types of ITS applications (e.g., improve communication capabilities and reduce vehicle congestion), but only a few efforts have been made to study how the estimated vehicle’s trajectory can be used to enhance wireless communications or improve traffic efficiency. In addition, few studies have focused on the combination of V2V and V2I communications to enhance the system performance or to overcome infrastructure failures without compromising system reliability.
In this work, we tackle the two problems of vehicle trajectory prediction and efficient safety message dissemination by integrating V2V and V2I communications simultaneously. We present a system that is able to predict the vehicle trajectory and explore the trajectory prediction information to improve the safety message dissemination mechanism in an efficient way. Our proposed vehicle trajectory prediction algorithm is based on a hybrid Markov chain approach, which is able to switch between the first or second order Markov chain according to the mobility trace quality. With the predicted future locations, road accident information will only be disseminated to vehicles that are predicted to pass by the accident areas. The message dissemination mechanism will select direct V2V communication to transmit safety messages if the end-to-end vehicle connection is available. In case the network is sparse and interested vehicles can not be reached via V2V communications, the system will automatically switch to V2I mode to inform the relevant vehicles to guarantee the timely delivery of the safety messages. The main contributions of this work can be summarized as follows:
  • We propose an end-edge-cloud architecture to deploy the machine learning-driven vehicle trajectory application on the network edge. The vehicle trajectory prediction scheme is based on a hybrid Markov chain approach with an inverted index model.
  • We present a hybrid early warning system together with a multi-hop data dissemination protocol for VANETs based on vehicle trajectory prediction to deliver alert messages to relevant vehicles in both sparse and dense scenarios. Our system can adaptively select either the V2V or V2I connections to disseminate the warning message based on the vehicle connectivity information to guarantee the timely delivery of the warning message.
  • We evaluate our trajectory predictor, hybrid early warning system, and multi-hop data dissemination protocol using a rich vehicle dataset collected from a real-world VANET testbed. Through comprehensive experiments, we obtain consistently satisfactory results.
This paper is organized as follows. Section 2 discusses existing work on vehicle trajectory prediction in VANETs and its application in VANETs. Section 3 explains the proposed system architecture, the vehicle trajectory prediction algorithm, as well as the trajectory prediction-based safety message dissemination scheme. Section 4 describes the experiments and evaluation methodology. Section 5 analyzes the experimental results. Finally, Section 6 presents the concluding remarks.

3. Safety Message Dissemination with Vehicle Trajectory Prediction

3.1. System Overview

In this section we provide an overview of the proposed system, which is designed to deliver reliable traffic warning messages to relevant vehicles using V2V multi-hop data dissemination or infrastructure-based V2I forwarding whenever V2V connections are not available. The system includes a vehicle trajectory and density prediction mechanism, which estimates future locations and densities of vehicles such that only vehicles that are predicted to pass the accident areas will be informed about the en-route unexpected traffic incident.
As shown in Figure 1, the system is based on a hybrid architecture composed of vehicles as OBUs, edge servers as RSUs, and centralized cloud servers. OBUs are responsible for detecting unexpected incidents, notifying nearby edge servers, and disseminating warning messages. RSUs, which are working as edge servers, are responsible for running vehicle trajectory and density predictions using pre-built models, and deciding whether to deliver the warning messages to relevant vehicles using V2V or V2I approaches. The cloud servers are responsible for managing global network information and performing complex data analyses, such as building machine learning models that will be used by edge servers to make real-time trajectory and density predictions.
Figure 1. V2X Safety Message Dissemination System overview.
Whenever an OBU detects an unexpected traffic incident (e.g., such as engine damage, air bag activation, hard breaking), it sends an unexpected traffic incident notification to the nearest RSU either using the cellular network or the IEEE 802.11p protocol. In this way, the trajectory and density prediction functions running in edge or cloud servers will be triggered such that the RSUs can identify vehicles that will pass the detected traffic incident area and should receive the early warning. Additionally, from the trajectory and density prediction the system can know vehicles’ future locations and consequently the connectivity among vehicles. This enables the system to transmit the early warning messages to relevant vehicles using either a V2V multi-hop data dissemination approach or a V2I solution when the V2V connectivity is not available.
On the one hand, for the vehicles that can receive the early warning through V2V communication, the RSU notifies the source vehicle (the one that sent the massage to the RSU) to start the multi-hop data dissemination using an efficient algorithm (described later) that selects the best relay vehicles towards the destination based on density predictions. On the other hand, for those vehicles that should receive the message (they are predicted to pass the accident areas) through the infrastructure, two cases can occur: (i) the target vehicle is within the coverage area of another RSU; and (ii) the target vehicle is not within the coverage area of any RSU. In the first case, the early warning is forwarded to that RSU and delivered to the vehicle. In the latter case, we rely on the mobility prediction to know which are the next RSUs that the target vehicle will pass. These are the RSUs that will receive the early notification to increase the delivery rates and as soon as the target vehicles are connected to them, they will be notified immediately. Finally, when the early warning message is delivered to the target vehicle, it can change its route using a re-routing algorithm to avoid that particular area (e.g., the unexpected incident location).
Therefore, the proposed system includes three main components: (i) vehicle trajectory density prediction; (ii) a hybrid early warning system; and (iii) an intelligent multi-hop message dissemination protocol, as described in the next sections. Figure 2 shows the flow chart of the proposed system. It is worth noticing that the proposed system is built on top of the dataset collected from real-world VANET testbed deployed in Porto, Portugal [,].
Figure 2. Flow chart of the proposed system.

3.2. Vehicle Trajectory and Density Prediction

A vehicle’s trajectory is defined as the route from one location to another one in an urban area []. Vehicles can take multiple routes to move among different locations. To discover the trajectories, we explored a rich vehicle dataset collected from a real-world VANET testbed deployed in the city of Porto, Portugal [,]. The testbed consists of 600 OBUs and 120 RSUs. This dataset includes the actual OBU–RSU connectivity from October 2016 until August 2017, which enabled us to discover the vehicles’ trajectories. The set of discovered paths of each single vehicle among two R S U I D i and R S U I D j was recorded in T i , j = [ t 1 , t 2 , , t n ] . The raw data collected from the VANET testbed includes a large amount of information. However, for OBU’s trajectory extraction, we only needed the list of sequentially connected RSUs, global positioning system (GPS) coordinates of each connected RSU and the time stamps of the connections. Therefore, we had to generate a file with all the connected RSU IDs as well as timestamp information for every OBU. The data points were received at a sampling rate of 20 to 40 s, and the maximum distance between two sequential location points was 15 m. The first five fields indicated the timestamps of the connections, the sixth field indicated the connected RSU ID, and the last two fields indicated the latitude and longitude of the connected RSU. After generating the trace files for each OBU, the next step was to discover the trajectories. We used the Google Maps API Direction Service (https://cloud.google.com/maps-platform/ (accessed on 1 January 2022)) to discover all possible routes between two consecutive RSUs. By specifying a starting RSU (connected RSU at time t), a destination RSU (connected RSU at time t + 2 ) and a way-point RSU (connected RSU at time t + 1 ), the Direction Service can return the route using the way-point. By determining a way-point, the Direction Service can calculate a more accurate path between origin and destination. After discovering the routes, the next step was to partition the geographical space into grid cells, for which we used the Python Google S2 Geometry Library (http://s2geometry.io/ (accessed on 1 January 2022)). Each grid cell was a four-corner cell, which covers a specific region. Generated grid cells were accumulated into a set of Cell = { c 1 , c 2 , …, c m }. Each observed path t k was partitioned into a sub-list of l visited grid cells. The resulting partitioned path can be shown as t k : { c 1 , c 2 , , c l } . Given the GPS coordinates, the location of any moving object at a specific time can be mapped to a grid cell. In this work, we defined a grid cell with of a size of 300 m2. Each grid cell was identified by a 64-bit Cell ID. As shown in Figure 3, the discovered trajectory for the OBU ID 2007 among two locations (RSU ID 811 and 981) using way-points in the city center of Porto was partitioned by successive grid cells.
Figure 3. Partitioned trajectory between two locations for OBU-ID = 2007.
Collected mobility traces of vehicles during their movement could be used to explore some regularities in their travels in the city. This knowledge was used by a density predictor to forecast the number of vehicles that may take the same trajectories in the future. The two key aspects for density prediction in trajectories are: (i) predicting the vehicles’ future locations over time (connected RSU); and (ii) estimating the future trajectories between predicted RSUs for multiple vehicles during the same time interval (e.g., next 1 min). The collected mobility trace, which includes connected RSU IDs and timestamps for each vehicle, was used to train our mobility predictor to predict the next connected RSU. The implemented mobility predictor constantly chooses the first order or the second order Markov chain, based on the quality of mobility trace to forecast future locations of the vehicle [,]. The mobility predictor has a tunable time threshold, which enables the algorithm to determine the next connected RSU ID of each vehicle in scales of minutes or hours. After predicting the next movement of each vehicle, our trajectory predictor attempted to estimate the future trajectory that each vehicle was going to take.
As shown before, each trajectory was partitioned as a series of grid cells between two sequential RSUs. The trajectory predictor was introduced in our previous work [], in which the sequence of visited grid cells by each moving object was the input of the model. The first order and the second order Markov based algorithms are available predictors. The proposed model can adapt its behavior continuously based on the availability of grid cells and the behavior in the city to maximize the prediction performance. By storing and aggregating the predicted trajectories for multiple vehicles, we could estimate the OBUs that will meet each other in a certain grid cell. To do so, we used an inverted index model to store the predicted trajectories of multiple vehicles during the same time interval. The model includes n rows, where n refers to the number of unique grid cells in all predicted trajectories for a specific time slot. Figure 4 depicts the proposed vehicle’s trajectory density predictor, which consists of three main units: hybrid Markov chain as the mobility predictor, adaptive Markov chain as the trajectory predictor, and the model, which is based on an inverted index model. The next four steps enabled us to estimate the density of vehicles along the trajectories.
Figure 4. Vehicle trajectory density predictor.
(1)
Input for our model: mobility trace of each single vehicle with the connected RSU IDs and connection time.
(2)
Output of our model: after finishing the training step, the hybrid Markov chain generates a 4-item tuple ( R S U I D i + 1 , P i , i + 1 , t s t a r t , t e n d ), where R S U I D i + 1 is the predicted RSU that the OBU is going to connect, P i , i + 1 represents the transition probability to move from R S U I D i to R S U I D i + 1 , t s t a r t and t e n d are the timestamps to indicate when the vehicle was connected to current RSU ( R S U I D i ) and when the vehicle will arrive at the next RSU ( R S U I D i + 1 ), respectively. The connection time to a future RSU is estimated by the hybrid Markov chain.
(3)
Using the current R S U I D i , which can be easily obtained from the trace for each vehicle and the estimated R S U I D i + 1 from Step 2, the trajectory between these two RSUs can be predicted using the adaptive Markov chain. The output of the algorithm is an ordered list of grid cells, which the OBU will pass through when moving from R S U I D i to R S U I D i + 1 .
(4)
As soon as the predicted trajectory among two RSUs is identified, the inverted index should be updated. To do so, first, each row in the inverted index model is indexed by each grid cell ID of the predicted trajectory. Then, the tuple ( O B U I D , P i , i + 1 , t s t a r t , t e n d ) is stored in the corresponding row of the inverted index model. Expired tuples for each vehicle are deleted from the rows. Finally, by summing up the number of tuples stored at each row, we can estimate the number of vehicles that may pass through the respective grid cell from t s t a r t to t e n d .
The output of the proposed trajectory density predictor is stored in T D p i , j = {( c 1 , P- O B U s ), ( c 2 , P- O B U s ),…, ( c l , P- O B U s )}. The set includes two item tuples, where the c l ∈ { c 1 , c 2 , …, c m } demonstrate grid cells on the predicted trajectory that is passing from R S U I D i to R S U I D i + 1 , and P- O B U s store the OBU IDs that we estimated to meet each other on the specific grid cell of the predicted trajectory.

3.3. Effective Safety Message Dissemination

With the trajectory density prediction, the system knows in advance the future position of each OBU and OBU densities. This enables it to identify: (i) the communication scenario (e.g., connected or partitioned); (ii) the set of vehicles that will pass a traffic incident location whenever this occurs; (iii) the most suitable way to send the warning to each vehicle that needs to receive it, considering multi-hop data forwarding and infrastructure-based forwarding; and (iv) the set of the most suitable relay OBUs to perform multi-hop data forwarding.
Thus, whenever an OBU detects an accident, it notifies the closest RSU, such that the RSU can start the procedures to send the early warning to vehicles that need to be informed. Algorithm 1 describes the main procedures of the early warning mechanism. In this scenario, based on the current position of the OBU that has detected the incident, the system can extract its location (e.g., its current cell c i ) (Line 2). Therefore, to identify the communication scenario (e.g., connected or partitioned), the system needs to create an undirected graph G = ( V , E ) representing the communication network based on the trajectory density prediction T D p (Line 3), in which the set V represents the OBUs while the set E represents the communication links between them. In other words, considering the position of each OBU, the system can identify the set of OBUs that are connected together and can communicate to each other by means of multi-hop data forwarding. This identification is based on the communication range of each OBU and the distance among them (e.g., the distance between two OBUs is smaller than the their communication range). Therefore, to identify the set of vehicles that needs to receive the early warning O B U T a r g e t s , the system predicts the trajectory T i , j of each OBU and checks if they will pass by the accident location (e.g., c i n c i d e n t T i , j ) (Lines 5–8). With the set of target vehicles ( O B U T a r g e t s ) available, the system can determine how to deliver the early warning to each target OBU. In this case, if there is a path in the communication graph from the source OBU to any target OBU, the system will forward the early warning using a V2V multi-hop data dissemination (Lines 11–13). Otherwise, the early warning is sent using the RSUs. Thus, the system needs to predict the set of RSUs that each target vehicle will pass by to forward the early warning to them to increase the delivery probability (Lines 15–17).
Algorithm 1: Hybrid early warning system.
Sensors 22 02686 i001
Algorithm 2 describes the efficient multi-hop data dissemination based on mobility and density predictions. Considering the origin O B U s o u r c e , the destination O B U d e s t i n a t i o n and the communication graph G, the system is able to select the best path (e.g., the best set of relay OBUs) to deliver the early warning. To do so, it builds a sub-graph L i n k s based on the k-Shortest Paths [] from O B U s o u r c e and O B U d e s t i n a t i o n to identify the set of possible paths that the warning message can be sent using multi-hop forwarding (Line 3). In this way, the system selects the next OBU based on the set of neighbors in the L i n k s sub-graph and the distance to the destination of each neighbor to determine the set of relay OBUs. Therefore, the next OBU will be the neighboring OBU that is closest to the destination. The set of relay OBUs is computed iteratively from O B U s o u r c e towards O B U d e s t i n a t i o n (Lines 6–9). The distance-based approach maximizes the progress of every forwarding operation and reduces the number of transmissions to guarantee the effective warning message delivery.
Algorithm 2: Data dissemination algorithm based on the trajectory and density prediction.
Sensors 22 02686 i002
Finally, whenever a target vehicle receives an early warning, it can employ a re-routing algorithm to change its route and avoid the incident area to improve its mobility. A new route changing algorithm is out of the scope of this paper. Therefore, we have implemented the efficient route changing mechanism employed by our previous work []. This route changing approach considers the ongoing traffic conditions (e.g., based on the density of each road) and the location of the unexpected incident to compute an alternative route. In addition, to avoid the problem of creating another congestion spot by computing the same alternative route for many vehicles with the same origin and destination (limitation presented in deterministic re-routing approaches), it uses a probabilistic approach to select a route in a set of possible alternative routes.

4. Experiment Setup

In this section, we describe the experiment details and evaluation methodology to examine the performance of the proposed trajectory density predictor and its impacts on the safety message dissemination mechanism.

4.1. VANET Mobility Dataset

As described in Section 3.2, the proposed trajectory density predictor for this work integrates both mobility and trajectory predictors to estimate the number of vehicles that may meet each other in grid-cells. In order to train and also test our hybrid and adaptive Markov chains, we need mobility trace datasets. In this research, we used a real-world VANET testbed deployed in the city of Porto, Portugal [,]. This large-scale dataset consists of 600+ networked OBUs using IEEE 802.11p, WiFi or 4G as well as 120+ RSUs scattered along the city. The dataset includes different pieces of information, such as RSUs information (RSU location, RSU ID, volume of the download/upload traffic via 4G, WiFi, DSRC, etc.) and OBU information (connected RSUs, OBU ID, timestamps, transmitted 4G/DSRC traffic, etc.). However, for trajectory density prediction, only RSU IDs, GPS coordinates of connected RSUs and timestamps are required. To evaluate the prediction performance of our mobility predictor, we split the trace data as 70% for learning and 30% for testing. To train our adaptive Markov chain to estimate future trajectories for every single OBU, the 10-fold cross validation was performed.

4.2. Evaluation of Vehicle Trajectory Density Prediction

To evaluate the effectiveness of the proposed vehicle density predictor, we used the accuracy metric. This metric is commonly used as an evaluation measure in information retrieval [], which indicates the relationship between the numbers of True Positive (TP), True Negative (TN), False Positive (FP), and False Negative (FN), which are defined in Equations (1)–(4), respectively.
T P = c i T D p i , j c i T D r i , j ,
T N = c i T D p i , j c i T D r i , j ,
F P = c i T D p i , j c i T D r i , j ,
F N = c i T D p i , j c i T D r i , j ,
where T D p i , j , T D r i , j are the predicted density of vehicles in a trajectory by the density predictor and the real density, which are extracted directly from the dataset, according to the vehicles that take the partitioned trajectory to move from the location of R S U - I D i to the location of R S U - I D j , respectively. We introduce the function Accuracy( T D p i , j , T D r i , j ) to quantify the prediction performance of the proposed algorithm, in (5).
A c c u r a c y ( T D p i , j , T D r i , j ) = T P ( T D p i , j , T D r i , j ) + T N ( T D p i , j , T D r i , j ) ( T P ( T D p i , j , T D r i , j ) + F N ( T D p i , j , T D r i , j ) + F P ( T D p i , j , T D r i , j ) + T N ( T D p i , j , T D r i , j ) ) .

4.3. Evaluation of Traffic Accident Message Dissemination

To evaluate the proposed hybrid early warning system, first we need to produce a simulation platform based on the real-world VANET dataset. The simulation platform is composed of: (i) the mobility simulator SUMO [], which provides the urban mobility and vehicular traffic management using a Traffic Command Interface (TraCI) framework; (ii) the network simulator OMNeT++ [], which is a discrete event-based simulator that provides a set of tools for developing network applications; and (iii) the vehicular network framework Veins [], which implements the IEEE 802.11p standard and extends SUMO and OMNeT++ simulators to offer a comprehensive suite of models for developing ITS and VANET application and protocols. To produce the same characteristics of the real-world VANET dataset, we extracted the Porto city map using the OpenStreetMap (OSM) tool and converted it into a SUMO scenario. Moreover, to produce the same traffic presented in the dataset we used the predicted trajectories, i.e., based on the centroid coordinates of each c i that composes the OBU trajectory we mapped it to the closest road present in the scenario. In this case, we were able to employ the proposed hybrid early warning system and evaluate its performance considering traffic and network based metrics. For the sake of clarity, Figure 5 and Figure 6 show the extracted SUMO scenario using OSM and its traffic density for one week, all day long, considering the trajectories exported from the dataset.
Figure 5. SUMO scenario of Porto map extracted using OSM.
Figure 6. Scenario density along each day of trajectories extracted from the dataset.(a) Monday; (b) Tuesday; (c) Wednesday; (d) Thursday; (e) Friday; (f) Saturday; (g) Sunday.
With the simulation platform, we analyzed the system’s performance by randomly introducing a set of 100 unexpected traffic incidents into the scenario considering different days and periods. To produce an unexpected traffic incident, for each day and period chosen, we randomly selected an OBU from the mobility trace. Thus, we randomly selected a g r i d - c e l l (e.g., c i ) from its trajectory in which the OBU will make an unexpected stop, thus the vehicle in the simulation stays stopped in that c i closing the entire road for one hour, and, after that, the road is released []. Therefore, as soon as the unexpected traffic incident occurs, we trigger the proposed hybrid early warning. As simulation parameters, we set the bitrate to 18 Mbit/s at the MAC layer and the transmission power to 2.2 mW, resulting in a communication range of approximately 300 m under a two-ray ground propagation model. Table 1 summarizes the main simulation parameters used in our assessment.
Table 1. Simulation parameters.
In this dataset, we observed that there are potentially two communication scenarios for all weekdays, which can be broadly organized as connected and partitioned. Figure 7 shows a heatmap representing the OBUs density in the city for different periods of different days. As can be seen, both communication scenarios can occur. For instance, on Saturday at 8:00 we potentially have a connected scenario in the city center, while at 22:00 the OBUs are more spread out, characterizing a partitioned scenario. More detailed analysis of the OBU heat map can be found in the experiment evaluation section. Therefore, to analyze the multi-hop data dissemination algorithm and the infrastructure-based forwarding mechanism, we consider the following scenarios:
Figure 7. Trajectory density prediction at different times of different days.
  • Connected: the scenario in which it is possible to deliver the early warning messages using only V2V communications;
  • Partitioned: the scenario in which it is not possible to deliver the early warning message promptly using the V2V communication;
To evaluate the network performance, we measure the following metrics:
  • Delivery ratio: the percentage of warning messages successfully delivered to the target vehicles. It is desired that an efficient system delivers about 100% of its generated messages for managing traffic efficiently;
  • Transmitted messages: the total number of messages transmitted by the system to guarantee its service. A high number of transmitted messages is an indication of redundant and unnecessary transmissions;
  • Latency: time to deliver the warning message to a target vehicle. High latency degrades the system efficiency when dealing with traffic management.
For the end users who receive the early warning messages, they will adapt their routing decisions. The following metrics were used to analyze the efficiency of the system for improving end users’ travel experiences. In the calculation of the time loss, CO2 emission and fuel consumption, we used the model EMIT, integrated into the OMNeT++/SUMO simulation framework. The EMIT model integrated into SUMO was employed to calculate CO emissions and fuel consumption. The EMIT model is a simple statistical model for estimating the instantaneous emissions and fuel consumption of vehicles based on speed and acceleration and is derived from the Handbook Emission Factors for Road Transport (HBEFA) formula []. In general, they are all linearly dependent on the travel distances.
  • Travel time: the total time that each OBU takes to travel a trajectory.
  • Time loss: the total time spent in some traffic congestion and/or traffic bottleneck.
  • Travelled distance: the total distance travelled by each OBU.
  • Fuel consumption: the total fuel consumed by each OBU to travel its trajectory.
  • CO2 emissions: the total CO2 emitted by each OBU to travel its trajectory.

5. Evaluation Results

In this section, we present and discuss the results of both the trajectory density predictor as well as the hybrid early warning system. To examine our density predictor, we mainly focus on prediction accuracy, whereas to evaluate the performance of the hybrid early warning system, we evaluate its network cost and traffic efficiency.

5.1. Trajectory Density Prediction Results

To verify the trajectory density predictor, we conduct extensive experiments using a real-world VANET dataset. We use time granularity of 1 min ( λ d e n s i t y = 1 ) to estimate the density of vehicles in trajectories for different time slots of each day. Figure 8 presents the accuracy of the proposed density predictor, for 100 OBUs on different days. As we can see, for most of the time slots on different days, our trajectory density predictor can deliver a satisfactory prediction accuracy of around 60 % to 68 % and the highest obtained prediction accuracy is around 75 % . To clearly show the prediction performance of the proposed model, we calculate the average density prediction accuracy over different time slots for each single day. As we can see in Figure 9, for weekdays (Monday to Thursday), we reach an average prediction accuracy of 60% to 71%. However, for weekends (Saturday and Sunday), the prediction performance of the algorithm is slightly decreased (52% to 56%). This situation arises typically because during weekends road users and vehicles do not follow their daily movement patterns. Usually, they are taking different routes to travel among various locations, which shows the difficulty in exploring uncertain mobility patterns []. Therefore, our trajectory density predictor cannot make more accurate predictions on weekends. While during weekdays, road users move more regularly among frequently visited places, which makes it easier to generate accurate trajectory predictions.
Figure 8. Trajectory density prediction accuracy of different days and time slots. (a) Monday; (b) Tuesday; (c) Wednesday; (d) Thursday; (e) Friday; (f) Saturday; (g) Sunday.
Figure 9. Average trajectory density prediction accuracy per each day.
In addition to obtaining the accuracy of predicted trajectory density for vehicles, we are also interested in identifying the number of OBUs that may take the same route to travel at a specific time slot of a day in the city of Porto. As shown in Figure 6, through experiments that we have conducted in the VANET dataset, we found that during weekdays vehicles are following almost the same traffic pattern. However, during weekends, traffic flows are different. Therefore, to predict the density of all OBUs, we randomly selected Monday and Thursday as weekdays, and Saturday as a weekend, and then we estimated the traffic pattern of all vehicles for different time slots per each selected day. As described before, Figure 7 presents the predicted density of vehicles for different time intervals of days. We discover that, in the early morning (4:00 a.m.), most vehicles are traveling in the south-west part of the city center. We observed that in the morning (8:00 a.m.) vehicles tend to take most of the trajectories that are passing through the city center. Besides, the predicted density area is more extensive than the area that is detected at 4:00 a.m. According to our predictions, during mid-day (12:00 p.m.) most vehicles are still traveling along the routes that are passing through the city center. However, in the evening (10:00 p.m.), most vehicles’ flows are scattered among the touristic center (west side of the city) and the city center.

5.2. Network Performance Results

To evaluate the network performance of the proposed hybrid early warning system we compared its results with Flooding and ICARUS []. Figure 10 shows the average results considering all assessed metrics in both scenarios partitioned and connected. As can be seen, all solutions present a delivery ratio higher than 90 % . However, as our proposal considers the density predictions to perform the data dissemination, in the case of mis-predictions it potentially cannot deliver the warning message accurately, which will decrease the delivery ratio by approximately 5 % when compared to Flooding and ICARUS in both scenarios (as shown in Figure 10a). This is because when mis-prediction happens, the warning message will be disseminated to wrong locations, while the delay of this mis-dissemination will not be affected, as far as the network connectivity of V2V or V2I is not changed. Therefore, we observe that the early warning message is not delayed, but rather be delivered to the wrong locations, which leads to the reduced delivery ratio of 5 % .
Figure 10. Network performance results for both sparse and dense scenarios. (a) Delivery ratio; (b) Transmitted messages; (c) Latency.
Yet, we can see the efficiency of the proposed system when analyzing the transmitted messages (Figure 10b) and the latency (Figure 10c) for delivering the traffic incident messages. As expected, Flooding has the highest number of transmissions because all OBUs that receive the warning message rebroadcast it, consequently producing a high number of redundant and unnecessary transmissions. Therefore, in partitioned scenarios, in which Flooding needs to replicate the transmission of the incident message periodically to ensure the delivery to all relevant vehicles (e.g., the set of OBUs predicted to pass the incident location), the number of transmissions dramatically increases.
On the other hand, considering latency results, Flooding presents low latency in connected scenarios because it does not introduce any additional delay in the multi-hop data forwarding, thus the vehicles rebroadcast the incident message as soon as they receive it. However, in partitioned scenarios, an undesired latency is introduced; since the multi-hop dissemination is not possible, the source OBU (e.g., the OBU involved in the unexpected traffic incident) needs to wait for the relevant vehicles to be within its coverage to forward the warning message. In particular, in connected scenarios, Flooding presents an average latency of 300 milliseconds, while in partitioned scenarios Flooding presents an average latency of approximately 200 s.
Unlike Flooding, ICARUS employs an efficient broadcast suppression mechanism to avoid that all OBUs that receive the warning rebroadcast it. Hence, ICARUS reduces the number of transmissions by 70 % when compared to Flooding. However, as ICARUS only relies on V2V communications to deliver the warning messages, in partitioned scenarios the source OBU also needs to rebroadcast the warning periodically, consequently increasing the number of transmissions (see Figure 10b). Therefore, the latency results for partitioned scenarios in ICARUS potentially has the same behavior as Flooding (e.g., it increases the latency because the multi-hop dissemination is not possible). However, for connected scenarios, ICARUS presents a higher latency than Flooding because it introduces a small delay in each hop to enable the broadcast suppression (see Figure 10c). This delay is based on the distance between the transmitting and receiving OBU, allowing the OBUs that received the warning message to wait for a few milliseconds to know whether or not the rebroadcast of the incident message is necessary.
Finally, different from ICARUS and Flooding, our proposal can use the multi-hop and infrastructure-based forwarding. Hence, it can decrease the number of transmissions and the latency even in partitioned scenarios. Besides, due to the efficient data dissemination algorithm based on vehicles’ trajectories and traffic density predictions, our proposal selects the most efficient set of relay OBUs that will promptly rebroadcast it as soon as they receive the incident message, consequently providing a low latency in connected scenarios. On the other hand, in partitioned scenarios, the system forwards the incident message to the next RSU that the relevant vehicle will pass, decreasing the latency. Moreover, the proposed data dissemination algorithm only sends the warning message towards the relevant vehicles’ direction (since the system knows where each relevant vehicle is located based on predictions), thus reducing the number of necessary transmissions to deliver the warning accurately. However, Flooding and ICARUS need to disseminate the message in all directions to find the relevant vehicles, increasing the number of transmissions. In particular, our proposal can reduce the number of transmissions and the latency by 95 % and 98 % when compared to Flooding and ICARUS, respectively, in partitioned scenarios.

5.3. Traffic Efficiency Results

To evaluate the traffic efficiency of the proposed system, we have compared its results with ICARUS []. Figure 11 shows the results of the assessed metrics as relative values (e.g., the ratio between the mobility with a solution to avoid the unexpected traffic incident and the mobility of real mobility extracted from the dataset) in a Cumulative Distribution Function (CDF).
Figure 11. Traffic efficiency results. (a) Travel time; (b) Time loss; (c) Traveled distance; (d) Fuel consumption; (e) CO emission.
As expected, both ICARUS and the proposed system present better results for all assessed metrics when compared to the real mobility extracted from the dataset. This is a result of the knowledge about the unexpected traffic incident delivered to the vehicles and also to the re-routing mechanism employed by them to avoid the incident area. Therefore, the vehicles will not become stuck in the congestion produced by the traffic incident, consequently decreasing their travel time as well as time loss (see values smaller than 1 in Figure 11a,b). To avoid the incident location, the vehicles increase their traveled distance by approximately 5 % (see Figure 11c values greater than 1). However, such increasing in the traveled distance is not an issue, since it not only improves the overall traffic efficiency, but also decreases fuel consumption and CO2 emissions (see Figure 11d,e).
The slight improvement in the assessed metrics achieved by the proposed system in comparison to ICARUS is because our system can deliver the warning messages earlier than ICARUS even in partitioned scenarios, consequently enabling the relevant vehicles to change their route and improve their mobility within an appropriate amount of time. However, due to the limited performance of ICARUS in partitioned scenarios, in some cases, the vehicles can be informed too late about the traffic incident, not allowing them to perform a detour to avoid the traffic incident location. In this context, due to the lower overhead produced by the proposed system and to its traffic efficiency, we can conclude that knowing in advance the vehicle’s trajectory and the road density can provide substantial improvements for ITS applications, not only for improving traffic efficiency, but also for improving network performance.

6. Conclusions

This work proposes an effective safety message dissemination system by using machine learning-empowered vehicle trajectory density prediction information. With the proposed system, the traffic safety alarming message will only be disseminated to relevant vehicles that are predicted to pass through the accident areas. Depending on the network connectivity, the system adaptively chooses either the V2V or V2I approach to disseminate the message to relevant vehicles to ensure timely message delivery. We evaluate the system by using a real-world VANET mobility dataset. Simulation results showed that our system outperforms other dissemination mechanisms without considering the predicted vehicle trajectory density information.
For future work, we will investigate the following two aspects: (1) model the trajectories of urban traffic as a graph and define a traffic graph convolution operation to capture spatial and temporal features from the traffic network; and (2) further improvements of the message dissemination mechanism together with the predicted trajectories’ traffic flow.

Author Contributions

Conceptualization, H.L. and Z.Z.; methodology, H.L. and Z.Z.; software, H.L. and M.K.; validation, H.L. and M.K.; formal analysis, H.L. and M.K.; investigation, Z.Z. and F.L.; writing, H.L. and Z.Z.; supervision, Z.Z. and F.L.; funding acquisition, Z.Z. and F.L. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by Beihang grant number KH54235002 and ZG216S2019.

Institutional Review Board Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Sanguesa, J.A.; Fogue, M.; Garrido, P.; Martinez, F.J.; Cano, J.; Calafate, C.T.; Manzoni, P. Real-time density estimation in urban environments by using vehicular communications. In Proceedings of the 2012 IFIP Wireless Days, Dublin, Ireland, 21–23 November 2012; pp. 1–6. [Google Scholar]
  2. Balcilar, M.; Sonmez, A.C. Extracting vehicle density from background estimation using Kalman filter. In Proceedings of the 2008 23rd International Symposium on Computer and Information Sciences, Istanbul, Turkey, 27–29 October 2008; pp. 1–5. [Google Scholar]
  3. Jeong, Y.; Byon, Y.; Castro-Neto, M.M.; Easa, S.M. Supervised Weighting-Online Learning Algorithm for Short-Term Traffic Flow Prediction. IEEE Trans. Intell. Transp. Syst. 2013, 14, 1700–1707. [Google Scholar] [CrossRef]
  4. Wu, Z.; Zhang, Y.; Tan, G.; Hu, J. The research of traffic density extraction method under vehicular ad hoc network environment. J. Intell. Connect. Veh. 2019, 2, 25–32. [Google Scholar] [CrossRef] [Green Version]
  5. Guo, S.; Lin, Y.; Feng, N.; Song, C.; Wan, H. Attention based spatial-temporal graph convolutional networks for traffic flow forecasting. Proc. AAAI Conf. Artif. Intell. 2019, 33, 922–929. [Google Scholar] [CrossRef] [Green Version]
  6. Tokuda, K. Applications of Wireless Communication Technologies for Intelligent Transport Systems. Wirel. Pers. Commun. 2001, 17, 343–353. [Google Scholar] [CrossRef]
  7. Tyagi, V.; Kalyanaraman, S.; Krishnapuram, R. Vehicular Traffic Density State Estimation Based on Cumulative Road Acoustics. IEEE Trans. Intell. Transp. Syst. 2012, 13, 1156–1166. [Google Scholar] [CrossRef]
  8. Shirani, R.; Hendessi, F.; Gulliver, T.A. A Store-Carry-Forward based Message Dissemination Approach with Local Density Estimation in Vehicular Ad-Hoc Networks. In Proceedings of the 2009 IEEE 70th Vehicular Technology Conference Fall, Anchorage, AK, USA, 20–23 September 2009. [Google Scholar]
  9. Bastani, S.; Landfeldt, B.; Libman, L. A traffic density model for radio overlapping in urban Vehicular Ad hoc Networks. In Proceedings of the 2011 IEEE 36th Conference on Local Computer Networks, Bonn, Germany, 4–7 October 2011; pp. 85–92. [Google Scholar]
  10. Bengio, Y. Learning Deep Architectures for AI. Found. Trends Mach. Learn. 2009, 2, 1–127. [Google Scholar] [CrossRef]
  11. Huang, W.; Song, G.; Hong, H.; Xie, K. Deep Architecture for Traffic Flow Prediction: Deep Belief Networks with Multitask Learning. IEEE Trans. Intell. Transp. Syst. 2014, 15, 2191–2201. [Google Scholar] [CrossRef]
  12. Lv, Y.; Duan, Y.; Kang, W.; Li, Z.; Wang, F. Traffic Flow Prediction With Big Data: A Deep Learning Approach. IEEE Trans. Intell. Transp. Syst. 2015, 16, 865–873. [Google Scholar] [CrossRef]
  13. Li, L.; Lin, W.; Liu, H. Type-2 fuzzy logic approach for short-term traffic forecasting. IEEE Proc. Intell. Transp. Syst. 2006, 153, 33–40. [Google Scholar] [CrossRef]
  14. Sun, S.; Xu, X. Variational Inference for Infinite Mixtures of Gaussian Processes With Applications to Traffic Flow Prediction. IEEE Trans. Intell. Transp. Syst. 2011, 12, 466–475. [Google Scholar] [CrossRef]
  15. Ran, B. Using traffic prediction models for providing predictive traveler information. Int. J. Technol. Manag. 2000, 20, 326–339. [Google Scholar] [CrossRef]
  16. de Souza, A.M.; Villas, L.A. A Fully-distributed Traffic Management System to Improve the Overall Traffic Efficiency. In Proceedings of the ACM International Conference on Modeling, Analysis and Simulation of Wireless and Mobile Systems (MSWiM’16), Valletta, Malta, 13–17 November 2016; pp. 19–26. [Google Scholar]
  17. Wang, M.; Shan, H.; Lu, R.; Zhang, R.; Shen, X.; Bai, F. Real-Time Path Planning Based on Hybrid-VANET-Enhanced Transportation System. IEEE Trans. Veh. Technol. 2015, 64, 1664–1678. [Google Scholar] [CrossRef]
  18. Hawas, Y.E.; El-Sayed, H. Autonomous real time route guidance in inter-vehicular communication urban networks. Veh. Commun. 2015, 2, 36–46. [Google Scholar] [CrossRef]
  19. El-Sayed, H.; Thandavarayan, G. Congestion detection and propagation in urban areas using histogram models. IEEE Internet Things J. 2017, 5, 3672–3682. [Google Scholar] [CrossRef]
  20. de Souza, A.M.; Yokoyama, R.; Boukerche, A.; Maia, G.; Cerqueira, E.; Loureiro, A.A.; Villas, L.A. ICARUS: Improvement of traffic Condition through an Alerting and Re-routing System. Comput. Netw. 2016, 110, 118–132. [Google Scholar] [CrossRef]
  21. Wang, S.; Djahel, S.; Zhang, Z.; McManis, J. Next Road Rerouting: A Multiagent System for Mitigating Unexpected Urban Traffic Congestion. IEEE Trans. Intell. Transp. Syst. 2016, 17, 2888–2899. [Google Scholar] [CrossRef] [Green Version]
  22. Guidoni, D.L.; Maia, G.; Souza, F.S.; Villas, L.A.; Loureiro, A.A. Vehicular traffic management based on traffic engineering for vehicular ad hoc networks. IEEE Access 2020, 8, 45167–45183. [Google Scholar] [CrossRef]
  23. de Souza, A.M.; Yokoyama, R.S.; Maia, G.; Loureiro, A.; Villas, L. Real-time path planning to prevent traffic jam through an intelligent transportation system. In Proceedings of the IEEE Symposium on Computers and Communication (ISCC’16), Messina, Italy, 27–30 June 2016; pp. 726–731. [Google Scholar]
  24. Pan, J.; Popa, I.S.; Borcea, C. DIVERT: A Distributed Vehicular Traffic Re-Routing System for Congestion Avoidance. IEEE Trans. Mob. Comput. 2017, 16, 58–72. [Google Scholar] [CrossRef]
  25. Doolan, R.; Muntean, G.M. EcoTrec: A Novel VANET-Based Approach to Reducing Vehicle Emissions. IEEE Trans. Intell. Transp. Syst. 2017, 18, 608–620. [Google Scholar] [CrossRef] [Green Version]
  26. Ahmad, A.; Din, S.; Paul, A.; Jeon, G.; Aloqaily, M.; Ahmad, M. Real-time route planning and data dissemination for urban scenarios using the Internet of Things. IEEE Wirel. Commun. 2019, 26, 50–55. [Google Scholar] [CrossRef]
  27. Available online: http://www.inrix.com (accessed on 1 January 2022).
  28. Garip, M.T.; Gursoy, M.E.; Reiher, P.; Gerla, M. Scalable reactive vehicle-to-vehicle congestion avoidance mechanism. In Proceedings of the IEEE Consumer Communications and Networking Conference (CCNC’15), Las Vegas, NV, USA, 9–12 January 2015; pp. 943–948. [Google Scholar]
  29. Djahel, S.; Doolan, R.; Muntean, G.M.; Murphy, J. A Communications-Oriented Perspective on Traffic Management Systems for Smart Cities: Challenges and Innovative Approaches. IEEE Commun. Surv. Tutor. 2015, 17, 125–151. [Google Scholar] [CrossRef]
  30. de Souza, A.M.; Brennand, C.A.R.L.; Yokoyama, R.S.; Donato, E.A.; Madeira, E.R.M.; Villas, L.A. Traffic management systems: A classification, review, challenges, and future perspectives. Int. J. Distrib. Sens. Netw. 2017, 13, 1550147716683612. [Google Scholar] [CrossRef]
  31. Ameixieira, C.; Cardote, A.; Neves, F.; Meireles, R.; Sargento, S.; Coelho, L.; Afonso, J.; Areias, B.; Mota, E.; Costa, R.; et al. Harbornet: A real-world testbed for vehicular networks. IEEE Commun. Mag. 2014, 52, 108–114. [Google Scholar] [CrossRef] [Green Version]
  32. FutureCities Project. Living Lab: Vehicular Adhoc Networking. Available online: http://futurecities.up.pt/site/vehicular-ad-hoc-networking-testbed/ (accessed on 1 January 2022).
  33. Karimzadeh, M.; Gerber, F.; Zhao, Z.; Braun, T.I. Pedestrians Trajectory Prediction in Urban Environments. In Proceedings of the 2019 International Conference on Networked Systems (NetSys) (NetSys’19), Munich, Germany, 18–21 March 2019. [Google Scholar]
  34. Monteiro, R.; Guedes, L.; Condeixa, T.; Neves, F.; Sargento, S.; Guardalben, L.; Steenkiste, P. Lessons learned from a real vehicular network deployment of delay-tolerant networking. In Proceedings of the 2015 IEEE International Conference on Communication Workshop (ICCW), London, UK, 8–12 June 2015; pp. 2489–2494. [Google Scholar]
  35. Zhao, Z.; Guardalben, L.; Karimzadeh, M.; Silva, J.; Braun, T.; Sargento, S. Mobility Prediction-Assisted Over-the-Top Edge Prefetching for Hierarchical VANETs. IEEE J. Sel. Areas Commun. 2018, 36, 1786–1801. [Google Scholar] [CrossRef]
  36. Karimzadeh, M.; Zhao, Z.; Gerber, F.; Braun, T. Pedestrians Complex Behavior Understanding and Prediction with Hybrid Markov Chain. In Proceedings of the 2018 14th International Conference on Wireless and Mobile Computing, Networking and Communications (WiMob), Limassol, Cyprus, 15–17 October 2018; pp. 200–207. [Google Scholar]
  37. Joksch, H.C. The shortest route problem with constraints. J. Math. Anal. Appl. 1966, 14, 191–197. [Google Scholar] [CrossRef]
  38. Moffat, A.; Zobel, J. Rank-biased Precision for Measurement of Retrieval Effectiveness. ACM Trans. Inf. Syst. 2008, 27, 2:1–2:27. [Google Scholar] [CrossRef]
  39. Behrisch, M.; Bieker, L.; Erdmann, J.; Krajzewicz, D. SUMO—Simulation of Urban MObility: An Overview. In Proceedings of the International Conference on Advances in System Simulation (SIMUL’11), Barcelona, Spain, 23–28 October 2011; pp. 63–68. [Google Scholar]
  40. Varga, A.; Hornig, R. An overview of the OMNeT++ simulation environment. In Proceedings of the International Conference on Simulation Tools and Techniques for Communications, Networks and Systems & Workshops (Simutools’08), Marseille, France, 3–7 March 2008; pp. 1–10. [Google Scholar]
  41. Sommer, C.; German, R.; Dressler, F. Bidirectionally Coupled Network and Road Traffic Simulation for Improved IVC Analysis. IEEE Trans. Mob. Comput. 2011, 10, 3–15. [Google Scholar] [CrossRef] [Green Version]
  42. de Souza, A.M.; Yokoyama, R.S.; Maia, G.; Loureiro, A.A.F.; Villas, L.A. Minimizing traffic jams in urban Centers using vehicular ad hoc networks. In Proceedings of the 2015 7th International Conference on New Technologies, Mobility and Security (NTMS), Paris, France, 27–29 July 2015; pp. 1–5. [Google Scholar] [CrossRef]
  43. The Handbook Emission Factors for Road Transport. Available online: http://www.hbefa.net (accessed on 1 January 2022).
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.