Edge MC
Edge MC
Article
Moisture Computing-Based Internet of Vehicles (IoV)
Architecture for Smart Cities
Ali Tufail 1, *, Abdallah Namoun 1 , Adnan Ahmed Abi Sen 1 , Ki-Hyung Kim 2 , Ahmed Alrehaili 1
and Arshad Ali 1
1 Faculty of Computer and Information Systems, Islamic University of Madinah, Madinah 42351, Saudi Arabia;
[email protected] (A.N.); [email protected] (A.A.A.S.); [email protected] (A.A.);
[email protected] (A.A.)
2 Department of Cyber Security, Ajou University, Suwon 16499, Korea; [email protected]
* Correspondence: [email protected]
Abstract: Recently, the concept of combining ‘things’ on the Internet to provide various services
has gained tremendous momentum. Such a concept has also impacted the automotive industry,
giving rise to the Internet of Vehicles (IoV). IoV enables Internet connectivity and communication
between smart vehicles and other devices on the network. Shifting the computing towards the edge
of the network reduces communication delays and provides various services instantly. However,
both distributed (i.e., edge computing) and central computing (i.e., cloud computing) architectures
suffer from several inherent issues, such as high latency, high infrastructure cost, and performance
degradation. We propose a novel concept of computation, which we call moisture computing (MC) to
be deployed slightly away from the edge of the network but below the cloud infrastructure. The MC-
based IoV architecture can be used to assist smart vehicles in collaborating to solve traffic monitoring,
road safety, and management issues. Moreover, the MC can be used to dispatch emergency and
Citation: Tufail, A.; Namoun, A.; Abi roadside assistance in case of incidents and accidents. In contrast to the cloud which covers a
Sen, A.A.; Kim, K.-H.; Alrehaili, A.; broader area, the MC provides smart vehicles with critical information with fewer delays. We argue
Ali, A. Moisture Computing-Based that the MC can help reduce infrastructure costs efficiently since it requires a medium-scale data
Internet of Vehicles (IoV) Architecture center with moderate resources to cover a wider area compared to small-scale data centers in edge
for Smart Cities. Sensors 2021, 21, computing and large-scale data centers in cloud computing. We performed mathematical analyses to
3785. https://doi.org/10.3390/ demonstrate that the MC reduces network delays and enhances the response time in contrast to the
s21113785
edge and cloud infrastructure. Moreover, we present a simulation-based implementation to evaluate
the computational performance of the MC. Our simulation results show that the total processing
Academic Editor: Dimitrios Moshou
time (computation delay and communication delay) is optimized, and delays are minimized in the
MC as apposed to the traditional approaches.
Received: 22 March 2021
Accepted: 24 May 2021
Published: 30 May 2021
Keywords: smart vehicles; Internet of Vehicles; IoV; sensors; cloud computing; MEC; IoT; smart
cities; fog computing
Publisher’s Note: MDPI stays neutral
with regard to jurisdictional claims in
published maps and institutional affil-
iations. 1. Introduction
Our dependency on the Internet has increased significantly over the last two decades.
This transformative technology has empowered accessibility to information and a myriad of
services with a few clicks. Moreover, the Internet of Things (aka IoT) has taken the concept
Copyright: © 2021 by the authors. of Internet to another level where “things” or physical objects are interconnected within a
Licensee MDPI, Basel, Switzerland. communication network in which data are transferred seamlessly between these things.
This article is an open access article The so-called things can be thought of as various hardware technologies, e.g., sensors,
distributed under the terms and embedded systems, and wearable devices, and software technologies, e.g., applications and
conditions of the Creative Commons real-time analytics [1]. The interconnection of the things enables collecting and analyzing
Attribution (CC BY) license (https:// diverse data to deliver information and services in a more contextualized and efficient
creativecommons.org/licenses/by/ way for the people. The actual applications of IoT can be observed in multiple fields; for
4.0/).
instance, the whole process of diagnosis can be performed remotely, and home automation
can be realized to create smart homes [2].
Humans are highly reliant on vehicles for their day-to-day commuting and trans-
portation of goods and services. The Internet revolution has impacted the automobile
industry by shifting the focus on realizing the concept and theories related to smart cars
and intelligent vehicular communication based on IoT. The introduction of the Internet
and related infrastructure into vehicles has evolved the vehicular ad hoc network (i.e.,
VANET) into the newly emerged concept of Internet of Vehicles (i.e., IoV). In effect, IoV
deploys sensors to collect data related to several traffic-related events (like congestion,
accidents, weather information, etc.) by utilizing diverse heterogenous networks [3]. Ad-
vanced sensors enable vehicles to sense, communicate, report, and react to the surrounding
environment to achieve multiple benefits for the drivers, commuters, other vehicles, and
law enforcement authorities. The main services that profit directly from such a concept
include, but are not limited to, roadside assistance, emergency services, efficient navigation,
traffic management and monitoring, traffic congestion reduction, pollution control, etc. [4].
IoV-based technology is finding wider acceptability among consumers and is making
its way into the industry. The availability of high-speed Internet and related infrastructure
increased the demand by drivers to stay connected while commuting. Drivers anticipate
staying updated about the events in their surroundings to empower them to make smart
driving decisions. According to McKinsey & Company Global Institute [5], the economic
value of the IoT-based automotive industry is expected to range between $3.9 trillion
and $11.1 trillion and the value of the intelligent vehicles sector is predicted to reach
approximately between $210 billion and $740 billion by the year 2025 [5].
Several renowned companies like Apple, Google, and Nvidia have started to imple-
ment IoV technologies so that they can tailor-make their applications-specific integrated
chips to fulfill specific requirements, such as the deployment of cutting-edge sensors, latest
technologies for displays, real-time computing capabilities, provision of in-vehicle oper-
ating systems, artificial intelligence, and machine learning support for decision making
etc. [4]. IoV-enabled vehicles bring about several benefits to business processes such as
automation, supply chain management (SCM), and logistics. For example, businesses can
track several services such as productivity, safety, fuel consumption, and rules compliance,
using connected vehicles. Moreover, deliveries could be tracked easily throughout each
phase (Raconteur-Content for business decisions).
IoV services can be provided using the vehicular cloud computing paradigm [6],
which delivers dynamic applications to commuters while on the go. For instance, trav-
elers may be informed about real-time traffic information (e.g., incidents, delays, jams).
However, IoV is a fast-evolving field, so the frameworks and protocols related to this
domain are constantly changing. One of the critical factors to supplying effective IoV-based
services is latency. Typically, the cloud computing paradigm plays a vital role in providing
such services. Cloud computing is the traditional approach that implements a central
infrastructure for fast processing. However, its distance from the end-user devices inflicts
additional delays [7]. To combat this drawback, several works attempted to shift the com-
putation towards the end-user to reduce the response time and quickly deliver the critical
services. Concepts like Fog Computing (i.e., FC), Mobile Edge Computing (i.e., MEC), and
Cloudlets were introduced, where processing is performed close to the user equipment
(i.e., UE) [8]. All of these computing paradigms operate based on the concept of distributed
or decentralized computing. However, there is a delicate balance between the proximity
of computation with the UE and the cost and other management issues related to the
distributed computing. Although cloud computing provides much-needed infrastructure
and can help save costs, it inflicts additional network latency. Fog/mobile edge computing
(i.e., FEC, MEC) reduces the latency but implicates cost, distributed resource management,
reliability, congestion control, performance degradation for dense networks, and mobility
issues [9].
Sensors 2021, 21, 3785 3 of 26
Several attempts were made to deploy a hybrid architecture with the combination of
IoV/Fog and software-defined network (i.e., SDN)/network function virtualization (i.e.,
NFV) to improve QoS for IoV. With the help of network slicing, requirements for different
applications requiring varying bandwidth can be fulfilled, whereas task offloading to fog
servers can reduce the latency significantly [10]. However, it is still an evolving field, and
the complexity of appropriate resource allocation, network slicing, and task offloading are
open research challenges [11].
Our motivation behind our work is flared by various research gaps, particularly:
1. Gap One [12]: Cloud computing infrastructure placed at a long distance may be
tens of kilometers away from the end device and may incur high latency and slower
response time.
2. Gap Two [12]: Mobile edge computing infrastructure placed closer may be tens of
meters away from the end device and incurs high infrastructure cost since more com-
puting infrastructure points will be required to cover a particular geographical area.
3. Gap Three [9]: Mobile edge computing infrastructure cannot support varying traffic
density; latency increases manifold once the load increases on the limited comput-
ing infrastructure.
4. Gap Four [11]: Although SDN/NFV and fog computing-based approaches provide
better QoS requirements for IoV applications, task offloading to MEC servers can
degrade performance with regards to latency, especially in dense networks.
To mitigate the above research gaps, our research proposes a novel computing
paradigm, which we call moisture computing (aka MC). Moreover, we propose a new com-
munication architecture comprising a mechanism for IoV that could achieve the following:
(a) minimize latency overhead;
(b) cover a wide geographical area to deliver the required information and services, such
as collision or congestion updates, to the drivers promptly;
(c) mitigate shortcomings of existing approaches, i.e., Cloud Computing (centralized
computing) and Edge Computing (distributed computing), by placing the comput-
ing infrastructure at an appropriate distance from the UE to give better latency in
various scenarios;
(d) reduce the infrastructure-related cost through the deployment of a middle layer hardware.
Overall, the suggested architecture implements a semi-distributed computing paradigm
to reduce end-to-end latency while improving the reliability of the information processed
through computations and analytics closer to the UE. We coined the term ’moisture com-
puting’ since we want to bring the necessary processing capabilities as close as possible to
the users. The term ‘moisture’ is borrowed from meteorology, where moisture signifies the
vapor that stays in the atmosphere, typically between the clouds and earth surface. There-
fore, the computation infrastructure will be made available below cloud infrastructure but
above the edge of the network. The moisture computing paradigm combines the strengths
of the two existing paradigms, i.e., cloud computing, which is central, and edge computing,
which is highly distributed. It is important to note that fog computing is a concept that
suggests shifting the computation, storage, and other infrastructure towards the edge of
the network and closer to the UE to enhance performance in various ways. Depending
upon the proximity of the infrastructure to the UE, a unique name has been assigned to
that computing paradigm, including MEC, cloudlet, and mist computing [13]. The concept
of our proposed paradigm, i.e., the MC, supports the fog computing narrative of pushing
the computation towards the UE; however, the infrastructure has been suggested to be
placed a couple of hops away from the UE, unlike other fog-based paradigms such as MEC
which is one hop away and mist where the computation is performed inside the UE [13].
In [14] authors present cloud computing-based architectures for mobile vehicles that
typically have three layers, i.e., onboard, communication, and cloud computing. However,
most of these architectures suffer from high latency and other issues, such as security and
data management challenges [15], although latency issues have been solved to a certain
Sensors 2021, 21, 3785 4 of 26
extent in MEC due to closer proximity to the end devices. However, the performance
degrades significantly due to the increasing number of end devices in a particular area
served by a single MEC. Additionally, scalability is also an essential issue for MEC-enabled
solutions [16].
In our architecture, once an event is detected by a smart vehicle (SV) it is instantly
reported to the moisture computing layer (MCL) with the help of a roadside unit (i.e.,
RSU). The MCL performs all necessary processing instead of the RSU. Next, the resulting
instructions are forwarded to all RSUs of the vicinity. The RSUs assume the responsibility
of transferring these instructions to their SVs to empower them to take precautionary
measures and decisions.
The remainder of the paper is divided into six sections. Section 2 reviews the latest
works in the area of IoV architectures, such as mobile edge computing. Section 3 presents
the concept of smart vehicles and their characteristics. Section 4 details the moisture
computing architecture and highlights its key components. Section 5 presents a benchmark
study to showcase the advantages of the MCL over existing IoV architectures. Section 6
presents a computational comparison of MC, MEC, and cloud architectures. Section 7
concludes the implications of the proposed architecture for the smart transportation field.
2. Related Work
In this section, we summarize the previous works conducted in the relevant field of
study. The focus is on exploring the latest studies presented by the research community in
solving issues pertaining to the Internet of Vehicles.
Authors in [17] state that the IoV is playing a crucial role in developing intelligent
transportation systems for smart cities. However, they claim that the traditional routing
protocol-based methods cannot be used for these delay-sensitive IoV applications. They
propose to utilize MEC along with Software Defined Networks to enhance the performance
of IoV-based communication. In order to minimize the delay, they use several techniques,
including placement and optimization algorithm for controllers. However, they do not talk
about the cost-effectiveness of their proposed solution nor do they test the behavior of their
proposed solution in varying network densities.
In another study [10], authors argue that fog computing can solve latency-related
issues that are prevalent in cloud computing. However, the distributed and complex
fog computing network structure can serve as a bottleneck for the performance of IoV-
based applications. Therefore, they propose a 5G IoV architecture based on SDN and fog
computing. They claim that their proposed architecture can help to allocate heterogenous
computing resources with a QoS guarantee.
In [18] authors talk about bringing flexibility and better network management using
SDN and network function virtualization (NFV) in IoV-related scenarios. They claim that
the use of SDN/NFV can help IoV in improving communication, caching, and computing
capabilities. However, they state that to effectively utilize concepts related to MEC with
the combination of SDN/NFV techniques, several challenges such as joint resource slicing
and access control should be addressed.
Authors in [19] talk about 5G and fog computing architectures from a security per-
spective. They propose a scheme based on ciphertext-policy attribute-based encryption.
They also incorporate the concept of user revocation in order to support dynamicity in
vehicles. With the help of analysis and experiments, they claim that their proposed scheme
is robust and secure against various threats in the IoV environment.
In another study [20], authors discuss multimedia collection in IoV environments.
They argue that the use of MEC servers can negatively impact the performance because
of the unpredictable nature of the IoV network. Therefore, they present a traffic flow
prediction-based resource reservation method. They deploy a deep spatiotemporal residual
network to predict the traffic flow. They claim that their proposed method improves the
performance manifold.
Sensors 2021, 21, 3785 5 of 26
3. Smart Vehicles
The idea of smart vehicles is becoming a reality now. Several manufacturers are
interested in designing a smart vehicle that would suit the everyday commute and make
the whole journey a unique experience for the passengers. A typical smart vehicle will be
equipped with the latest technological equipment to serve the needs of the passengers on
the go. Figure 1 highlights the important technological components of a smart vehicle:
A smart vehicle should have the capability to communicate with a variety of nodes.
For this, it must be equipped with a heterogeneous set of technologies. It must allow the
passengers to communicate with the help of WiFi, cellular technologies, Bluetooth, etc. The
smart vehicle should also be able to communicate with the satellite for precise navigation
services. Another important component of the smart vehicle is the sensor and actuators.
Each smart vehicle should be equipped with a wide range of sensors, for example, in order
to monitor the road conditions, temperature, humidity, fire, etc. The Machine to Machine
(M2M) communication capability should be inbuilt in these smart vehicles where they
should communicate with other nodes without human intervention, for example, in case
of an accident or an emergency.
Google was the first to introduce a smart vehicle (i.e., driverless car) in the year 2010.
Although smart vehicles are not very common at the moment, by 2025 the global market
size of smart cars will be 166 billion USD [31].
It is expected that these smart vehicles will enhance the safety of passengers on the
roads. With the help of onboard smart devices, a smart vehicle can send the crash site to
the emergency services. Moreover, it can broadcast crash alerts to other vehicles heading
towards the crash site. It can help to save time and, most notably, many lives. The IoV is
Sensors 2021, 21, 3785 8 of 26
evolving fast, and with the launch of 5G, it is expected that smart vehicles will be seen on
the road in huge numbers with a fancy set of applications for passengers.
A smart vehicle can be involved in various ways of communication. Therefore, we
have summarized some of the communication models below [32]:
1. V2V: This type of communication takes place between vehicle to vehicle directly.
2. V2I: This type of communication takes place between vehicle and road side infrastructure.
3. V2R: This type of communication takes place between a vehicle and roadside unit.
4. V2N: This type of communication takes place between a vehicle and network.
5. V2P: This type of communication takes place between a vehicle and pedestrian.
6. V2D: This type of communication takes place between a vehicle and device.
7. V2G: This type of communication takes place between a vehicle and gateway.
8. V2X: This shows a generic way for showing communication between a vehicle and
any other entity
Smart vehicles can support a wide array of applications that will be beneficial in as-
sisting drivers by providing real-time traffic and road condition information and providing
an immersive experience for all travelers by providing entertainment and other services on
the go. Typically, we can broadly divide IoV applications into the following categories [29]:
1. On-road safety applications;
2. Entertainment and onboard passenger applications;
3. Comfort and convenience-related applications;
4. Traffic management applications;
5. Emergency services.
Figure 2. The proposed moisture computing Internet of vehicle (IoV) communication architecture.
Sensors 2021, 21, 3785 9 of 26
infrastructure compared to deploying the infrastructure at the edge of the network (i.e., the
case of MEC).
Table 2. The required infrastructure for the proposed moisture computing (MC) architecture.
In effect, our MC IoV-based communication comprises three layers, where each layer
is responsible for a different set of tasks, as depicted in Figure 3. This setup will help
minimize the complexity and facilitate the management of the overall network.
Moreover, SVs can use other interfaces like 3G/4G/5G in specific scenarios. The
interface selection will depend on the available signal strength, the application requirement,
and the type of information required [32]. In our proposed architecture, the SVs can connect
to the nearest available BS, which is connected to the MCL and mobile switching center.
The MCL in this layer acts as the backbone connecting the roadside infrastructure
with the Internet, cloud, or mobile switching centers. Each computing point in the MCL
manages the BSs and RSUs of a particular geographical region.
Figure 5 shows the flow of information and interaction between sensing, reporting
and processing layers of our propsed MC architecture. It also distinctly defines the flow of
information for emergency and non-emergency events.
Figure 5. The interaction flowchart of the sensing layer, reporting layer, and processing layer.
Sensors 2021, 21, 3785 13 of 26
Table 3. The key criteria of mobile edge computing (MEC), cloud computing, and MC architecture.
A vital factor in saving lives, time, and resources on roads is to promptly provide
traffic news and guidelines to drivers to enable them to make appropriate decisions that
avoid potentially disastrous consequences. With the help of semi-distributed computing,
our proposed architecture aims to deliver this critical information to the drivers reliably.
Figure 6 shows a potential scenario of an urban/semi-urban setting. For simplicity
reasons, just the SVs and the RSUs are depicted in Figure 6. The approximated ranges of
both SVs and RSUs have been indicated as well. Although the SVs can employ one-hop
communication to send information to other SVs, the information cannot be distributed to
a wide area due to their limited communication range. However, our architecture uses the
resources almost at the edge of the network to process and distribute information to a large
geographical area. The MCL uses all of the RSUs of an area simultaneously to propagate
information to the drivers and affected SV(s).
Sensors 2021, 21, 3785 14 of 26
Figure 6. An urban/semi-urban environment, with communication ranges of SVs and road side units (RSUs).
We compared our approach, i.e., MC, with two renowned approaches, namely (1)
cloud computing and (2) mobile edge computing (MEC). Cloud equipment is usually
placed approximately tens of kilometers away from the user equipment, whereas MEC
nodes are typically placed tens of meters away from the user equipment [35]. However,
the MCL will be located hundreds of meters away from the end-user devices. To achieve a
reasonable comparison, we benchmarked our results against the findings reported in [36]
and [37]. Table 4 highlights various analysis parameters that are derived from the bench-
marked studies.
Table 4. Analysis parameters used for comparing the moisture computing layer (MCL), cloud
computing, and mobile edge computing architecture; ms = milliseconds, MB = megabytes.
of time it takes an SV to report an event to the connected RSU and to receive the relevant
notifications or instructions from the RSU. This also includes processing and forwarding
time at RSU and beyond.”
where TSV is the time taken by a particular RSU to serve the connected SVs, and TRsu is the
time taken by a particular RSU to serve the one-hop connected RSUs. We can deduce that:
TSV ∝ β (4)
TRsu ∝ δ (5)
We can introduce the constants c and d for the relationship defined above as follows:
TSV = c β (6)
TRsu = d δ (7)
where c and d represent the time spent to process a message at a particular RSU for a single
SV and a single RSU, respectively. The higher the density of SVs or RSUs in a particular
area, the longer the latency and delay.
We can therefore rewrite Equation (1) as follows:
Ti1m = µm + γm (10)
Trm = µmm + 2γmm (11)
where Ttm represents the total estimated time where the MCL performs the computation
and disperses the information, Tvm represents the time it takes the affected SV to sense
and report the event to the nearest RSU and one-hop SVs with the help of a broadcast
message, Ti1m represents the time it takes an RSU to receive and forward data to the MCL.
It is worth noting that the RSU time depends on two factors, i.e., processing delay, which
we call µm, and propagation delay, which we call γm . In this case, we assume that the
only functionality of the RSU is to receive and forward the messages to and from the SVs.
Therefore, we can assume that the processing delay is negligible with minimal queuing
time. However, the processing delay time might increase slightly depending on the number
of connected SVs. We can assume the following equation:
µm = f ρ (12)
where ‘f’ represents the time it takes to process a single message at an RSU for a single SV,
and ρ represents the density of SVs in a specific neighborhood. More SVs in a particular
area will result in longer delays. We assume that all communication occurs via the MCL
instead of RSU–to–RSU communication.
Trm , in Equation (9), refers to the time taken by the MCL to process and send the data
to all RSUs of the affected area. The amount of time it takes to process data at MCL will be
much less than that of the RSU because of the available resources. This processing time
will also depend on the connected RSUs and SVs; for example, connecting more RSUs and
SVs is likely to produce more queries for the cloud infrastructure to handle, eventually
increasing the processing delay at the MCL. For comparison purposes, the number of SVs
is considered for one RSU that is connected to the affected SV. Therefore, we can write:
where ‘e’ represents the time needed to process a single message at the MCL for a sin-
gle RSU, υr represents the density of RSUs, and υs represents the density of SVs. In
Equation (11), we assume double the propagation time to cover the total round-trip time.
The MCL can send messages to the emergency response services to provide on-road
assistance to the affected SVs on time. Equation (9) can be rewritten as follows:
Ti1c = µc + γc (16)
Sensors 2021, 21, 3785 17 of 26
µc = g σ (18)
where ‘g’ represents the time taken by an RSU to process a single message for a single SV
and ‘σ’ represents the density of SVs.
Trc , in Equation (15), is the time spent by the cloud infrastructure to process and
send the data to all RSUs of the affected area. It is important to note that the information
processing time taken by the cloud infrastructure will be less than that of the MCL and
RSUs. However, the propagation delay will be greater than both the MCL and RSU-based
approaches due to the infrastructure placement in the network architecture, i.e., far away
from the RSUs and SVs. Equation (17) highlights that the total delay at the cloud will
depend on the processing delay (µcc ) and propagation delay (γcc ). The processing delay
will depend on several factors, including the load on the cloud infrastructure and the traffic
density. Traffic density is measured by the number of connected SVs as well as connected
RSUs. Therefore, we can write:
µcc = h (υr + υs) (19)
where ‘h’ is the time required by the cloud to process a single message for a single RSU, υr
is the density of RSUs, and υs is the density of SVs. In Equation (17), we consider doubling
the propagation time to cover the total round-trip time, since we measure the total time it
will take the message to reach the cloud and come back to the SVs.
The cloud can also send messages to the emergency response services to provide
on-road assistance to the disaster-stricken SVs on time.
Therefore, Equation (15) can be rewritten as follows:
Upon inspection of Equations (1), (9), and (15), one might think that Ttm is greater
than Ttr and Ttc. However, the following observations are worth noting:
1. The time Tvr , Tvm , and Tvc will be similar since the affected SV will take the same
amount of time to sense and report the event to the nearest RSU in all three cases.
2. The time Ti1m and Ti1c will be the same; however, these two times will differ from Ti1r
and will vary significantly. This is because the RSU’s main job in the second and third
cases will be to receive and forward the data, unlike the first case, where they will be
responsible for processing and forwarding the information to first-hop neighboring
RSUs. The RSU–to–MCL and RSU–to–cloud connections will use a high-speed trans-
mission medium, such as optical fiber; however, RSU–to–RSU communications will
be slower and less reliable since they will rely on a wireless communication medium.
Moreover, the delay will be significantly longer than the other two cases (Equations (6)
and (7)). Therefore, we can easily assume that,
In the first case, there is no MCL or cloud, so there will be no Trm or Trc . However,
the MCL and cloud infrastructure are resource-rich in comparison to RSUs. Therefore, the
time it will take to process data in the MCL and cloud infrastructure will be considerably
smaller than the RSUs processing time. We can conclude from Equation (21) that removing
Trm or Trc from the first case will not reduce the overall delay time.
1. Trm will be smaller than Trc because of the added propagation delay. The cloud
infrastructure is usually deployed away from the end devices, i.e., SVs and RSUs,
compared to the MCL scenario. The deployment of the MCL will be towards the
edge of the network so the propagation delay will be much less than that of the cloud
infrastructure. Therefore, we can easily assume that:
Similar observations can be seen in Figures 9 and 10. The density of the network is a
major factor for an increase or decrease in latency. With an average density, which usually
will be the case, the MCL outperforms the other computing paradigms since it reduces the
latency significantly. The increase in the number of RSUs causes a surge in the number
of messages and requests and puts more strain on the computing resources in all three
paradigms. The increase in response time due to added processing is visible in MEC right
away. However, this is evident in the MCL and cloud after a particular threshold since
the MCL and cloud are rich in resources in comparison to the MEC. Therefore, we can
conclude that the MCL provides an appropriate solution in terms of latency and cost by
placing medium-scale computing infrastructure towards the edge of the network.
Sensors 2021, 21, 3785 20 of 26
Figure 10. Network Latency with Fixed SVs and variable RSUs.
Sensors 2021, 21, 3785 21 of 26
Parameter Value
Task size 200 MB
Packet size 100 KB
Server nodes in MEC 1
Server nodes in the MCL 4
Server nodes in Cloud 8
Server load balancing Round robin
Task processing time per server node 100 ms per unit time
MEC processing delay (ms) 800
MCL processing delay (ms) 200
Cloud processing delay (ms) 100
RSU–MEC propagation delay (ms) 40
RSU–MCL propagation delay (ms) 100
RSU–Cloud propagation delay (ms) 500
The parameters outlined in Table 5 are configurable as depicted in the interface of our
simulation tool (see Figure 11). We relied on the previous works and experimental setup
Sensors 2021, 21, 3785 22 of 26
to set our parameters, i.e., [36] and [37]. Other researchers may access the source code
and implementation and tweak the parameters to test their scenarios as required. Once
the computational parameters are set for the three architectures, the researcher should
input the data generated from the SVs, as a series, to generate the charts. Our simulation
provides the possibility to draw the charts instantly and export the results into an excel
spreadsheet for further exploration and manipulation.
Simulation Results
One of the critical performance metrics to measure the efficiency of the MCL approach
is computation delay. This metric refers to the time taken by the nodes to complete a
computational process (i.e., processing the messages received from the RSUs). Figure 12
was generated based on the assumption that each 200 MB task requires approximately
100 ms at the cloud, 200 ms at the MCL, and 800 ms at the MEC. Evidently, the MEC takes a
significantly longer time to process the received messages. However, the MCL architecture
provides acceptable results when compared to the cloud.
Our second performance metric is communication delay which, in our case, refers
to the latency taken by the messages to travel from the origin smart vehicles through
the network (e.g., cloud) and back to the other smart vehicles. Figure 13 compares the
communication delay between the three architectures. It shows that the communication
delay is highest at the cloud, followed by the MCL and MEC. This result is anticipated
since the MEC is closest to the smart vehicles. More events (i.e., events and data) cause
significant communication delays for the cloud.
The third important metric we investigated is the total processing time, which in-
corporates all delays involved from the point a traffic event is detected (Td) and sent, as
a message, by a smart vehicle till the time (Tr) it is received by all smart vehicles in the
smart environment. In other words, the total processing time represents the total dissemi-
nation delay considering the computation time and communication delay inflicted by the
infrastructure. This chart is the most interesting graph in our comparison quest since it
Sensors 2021, 21, 3785 23 of 26
empowers us to draw a final verdict about the performance of our proposed architecture.
Figure 14 shows that our approach outperforms MEC and Cloud. Although the difference
between the MCL and MEC is subtle, we believe that adding more server nodes to the
MCL will dramatically improve its overall performance in contrast to the MEC. Moreover,
substantially bigger tasks (e.g., those involving videos, etc.) will result in significant delays
in the MEC.
Figure 12. The computation time of MEC, the MCL, and Cloud.
Figure 13. The communication delay of MEC, the MCL, and Cloud.
Figure 14. The total processing time of the MCL, MEC, and Cloud.
Sensors 2021, 21, 3785 24 of 26
Author Contributions: Conceptualization, A.T. and A.N.; Data curation, A.T.; Methodology, A.T.
and A.N.; Software, A.N. and A.A.A.S.; Validation, A.T., A.N. and A.A.A.S.; Writing—original draft,
A.T.; Writing—review & editing, A.T., A.N., and A.A. (Ahmed Alrehaili); Funding acquisition, A.T.
and K.-H.K.; Resources, K.-H.K., A.A. (Ahmed Alrehaili) and A.A. (Arshad Ali). All authors have
read and agreed to the published version of the manuscript.
Funding: This work was supported in part by Institute of Information & communications Tech-
nology Planning & Evaluation(IITP) grant funded by the Korea government(MSIT) (No.2021-0-
00590,Decentralized High Performance Consensus for Large-Scale Blockchains), in part by the Basic
Science Research Program through the National Research Foundation of Korea (NRF) funded by the
Ministry of Education, Science and Technology under Grant 2018R1D1A1B07048697, and in part by
the Korea Institute for Advancement of Technology (KIAT) grant funded by the Korea Government
Ministry of Trade, Industry and Energy (MOTIE) (The Competency Development Program for Indus-
try Specialist) under Grant P0008703. This research was also partly supported by the Deanship of
Research, Islamic University of Madinah, Madinah, Saudi Arabia.
Institutional Review Board Statement: Not applicable.
Informed Consent Statement: Not applicable.
Data Availability Statement: GitHub repository (https://github.com/anamoun/mcl.git, accessed
on 28 May 2021).
Sensors 2021, 21, 3785 25 of 26
References
1. Zhang, J.; Letaief, K.B. Mobile edge intelligence and computing for the Internet of vehicles. Proc. IEEE 2019, 108, 246–261.
[CrossRef]
2. Zhou, H.; Xu, W.; Chen, J.; Wang, W. Evolutionary V2X technologies toward the Internet of vehicles: Challenges and opportunities.
Proc. IEEE 2020, 108, 308–323. [CrossRef]
3. Evariste, T.; Kasakula, W.; Rwigema, J.; Datta, R. Optimal Exploitation of On-Street Parked Vehicles as Roadside Gateways for
Social IoV—A Case of Kigali City. J. Open Innov. Technol. Mark. Complex. 2020, 6, 73. [CrossRef]
4. Stanford Management Science and Engineering. Available online: https://mse238blog.stanford.edu/2017/07/ramdev10/
internet-of-vehicles-groundbreaking-trends-transforming-auto-industry/ (accessed on 4 January 2021).
5. Raconteur. Available online: https://www.raconteur.net/business-innovation/internet-of-things-for-vehicles-is-driving-
business (accessed on 14 January 2021).
6. Hou, X.; Ren, Z.; Wang, J.; Cheng, W.; Ren, Y.; Chen, K.C.; Zhang, H. Reliable Computation Offloading for Edge-Computing-
Enabled Software-Defined IoV. IEEE Internet Things J. 2020, 7, 7097–7111. [CrossRef]
7. Dai, C.; Liu, X.; Chen, W.; Lai, C.F. A low-latency object detection algorithm for the edge devices of IoV systems. IEEE Trans. Veh.
Technol. 2020, 69, 11169–11178. [CrossRef]
8. Dolui, K.; Datta, S.K. Comparison of edge computing implementations: Fog computing, cloudlet and mobile edge computing. In
Proceedings of the Global Internet of Things Summit (GIoTS), Geneva, Switzerland, 6–9 June 2017; IEEE: Piscataway, NJ, USA,
2017; pp. 1–6.
9. Pham, Q.V.; Fang, F.; Ha, V.N.; Piran, M.J.; Le, M.; Le, L.B.; Hwang, W.J.; Ding, Z. A survey of multi-access edge computing in 5G
and beyond: Fundamentals, technology integration, and state-of-the-art. IEEE Access 2020, 8, 116974–117017. [CrossRef]
10. Cao, B.; Sun, Z.; Zhang, J.; Gu, Y. Resource Allocation in 5G IoV Architecture Based on SDN and Fog-Cloud Computing. IEEE
Trans. Intell. Transp. Syst. 2021. [CrossRef]
11. Alomari, A.; Subramaniam, S.K.; Samian, N.; Latip, R.; Zukarnain, Z. Resource Management in SDN-Based Cloud and SDN-Based
Fog Computing: Taxonomy Study. Symmetry 2021, 13, 734. [CrossRef]
12. Hu, X.; Wang, L.; Wong, K.K.; Tao, M.; Zhang, Y.; Zheng, Z. Edge and central cloud computing: A perfect pairing for high energy
efficiency and low-latency. IEEE Trans. Wirel. Commun. 2019, 19, 1070–1083. [CrossRef]
13. Yousefpour, A.; Fung, C.; Nguyen, T.; Kadiyala, K.; Jalali, F.; Niakanlahiji, A.; Kong, J.; Jue, J.P. All one needs to know about fog
computing and related edge computing paradigms: A complete survey. J. Syst. Archit. 2019, 98, 289–330. [CrossRef]
14. Boukerche, A.; Robson, E. Vehicular cloud computing: Architectures, applications, and mobility. Comput. Netw. 2018, 135, 171–189.
[CrossRef]
15. Siegel, J.E.; Erb, D.C.; Sarma, S.E. A survey of the connected vehicle landscape—Architectures, enabling technologies, applications,
and development areas. IEEE Trans. Intell. Transp. Syst. 2017, 19, 2391–2406. [CrossRef]
16. Mehrabi, M.; You, D.; Latzko, V.; Salah, H.; Reisslein, M.; Fitzek, F.H. Device-enhanced MEC: Multi-access edge computing (MEC)
aided by end device computation and caching: A survey. IEEE Access 2019, 7, 166079–166108. [CrossRef]
17. Li, B.; Deng, X.; Deng, Y. Mobile-edge computing-based delay minimization controller placement in SDN-IoV. Comput. Netw.
2021, 193, 108049. [CrossRef]
18. Zhuang, W.; Ye, Q.; Lyu, F.; Cheng, N.; Ren, J. SDN/NFV-empowered future IoV with enhanced communication, computing, and
caching. Proc. IEEE 2019, 108, 274–291. [CrossRef]
19. Zhang, J.; Li, T.; Obaidat, M.S.; Lin, C.; Ma, J. Enabling Efficient Data Sharing With Auditable User Revocation for IoV Systems.
IEEE Syst. J. 2021. [CrossRef]
20. Xu, X.; Fang, Z.; Qi, L.; Zhang, X.; He, Q.; Zhou, X. Tripres: Traffic flow prediction driven resource reservation for multimedia iov
with edge computing. ACM Trans. Multimed. Comput. Commun. Appl. 2021, 17, 41. [CrossRef]
21. Darwish, T.S.; Bakar, K.A. Fog based intelligent transportation big data analytics in the Internet of vehicles environment:
Motivations, architecture, challenges, and critical issues. IEEE Access 2018, 6, 15679–15701. [CrossRef]
22. Aadil, F.; Ahsan, W.; Rehman, Z.U.; Shah, P.A.; Rho, S.; Mehmood, I. Clustering algorithm for Internet of vehicles (IoV) based on
dragonfly optimizer (CAVDO). J. Supercomput. 2018, 74, 4542–4567. [CrossRef]
23. El-Sayed, H.; Chaqfeh, M. Exploiting mobile edge computing for enhancing vehicular applications in smart cities. Sensors 2019,
19, 1073. [CrossRef] [PubMed]
24. Sherazi, H.H.R.; Khan, Z.A.; Iqbal, R.; Rizwan, S.; Imran, M.A.; Awan, K. A heterogeneous IoV architecture for data forwarding
in vehicle to infrastructure communication. Mob. Inf. Syst. 2019, 2019. [CrossRef]
25. Zia, K.; Muhammad, A.; Khalid, A.; Din, A.; Ferscha, A. Towards exploration of social in social Internet of vehicles using an
agent-based simulation. Complexity 2019, 2019. [CrossRef]
26. Qiao, G.; Leng, S.; Zhang, K.; He, Y. Collaborative task offloading in vehicular edge multi-access networks. IEEE Commun. Mag.
2018, 56, 48–54. [CrossRef]
27. Tao, M.; Wei, W.; Huang, S. Location-based trustworthy services recommendation in cooperative-communication-enabled Internet
of vehicles. J. Netw. Comput. Appl. 2019, 126, 1–11. [CrossRef]
Sensors 2021, 21, 3785 26 of 26
28. Sadio, O.; Ngom, I.; Lishou, C. Rethinking intelligent transportation systems with Internet of Vehicles: Proposition of sensing as a
service model. In Proceedings of the 3rd IEEE International Conference on Computer and Communications (ICCC), Chengdu,
China, 13–16 December 2017; IEEE: Piscataway, NJ, USA, 2017; pp. 2791–2796.
29. Sadiku, M.N.; Tembely, M.; Musa, S.M. Internet of vehicles: An introduction. Int. J. Adv. Res. Comput. Sci. Softw. Eng. 2018, 8, 11.
[CrossRef]
30. Asian-Pacific Economic Cooperation. White paper of Internet of Vehicles. In Proceedings of the 50th Telecommun. and
Information Working Group Meeting, Brisbane, Australia, 29 September–3 October 2014.
31. Statista. Available online: https://www.statista.com/topics/1918/connected-cars/ (accessed on 4 February 2021).
32. Arena, F.; Pau, G. An overview of vehicular communications. Future Internet 2019, 11, 27. [CrossRef]
33. Shrestha, R.; Bajracharya, R.; Nam, S.Y. Challenges of future VANET and cloud-based approaches. Wirel. Commun. Mob. Comput.
2018, 2018. [CrossRef]
34. Patel, A.; Kaushik, P. Improve QoS of IEEE 802.11 p using average connected coverage and adaptive transmission power scheme
for VANET applications. Wirel. Pers. Commun. 2017, 95, 3829–3855. [CrossRef]
35. Mao, Y.; You, C.; Zhang, J.; Huang, K.; Letaief, K.B. A survey on mobile edge computing: The communication perspective. IEEE
Commun. Surv. Tutor. 2017, 19, 2322–2358. [CrossRef]
36. Li, G.; Wang, J.; Wu, J.; Song, J. Data processing delay optimization in mobile edge computing. Wirel. Commun. Mob. Comput.
2018, 2018. [CrossRef]
37. Moubayed, A.; Shami, A.; Heidari, P.; Larabi, A.; Brunner, R. Edge-enabled V2X service placement for intelligent transportation
systems. IEEE Trans. Mob. Comput. 2020, 20, 1380–1392. [CrossRef]