Conference PaperPDF Available

A Blockchain based Distributed Vehicular Network Architecture for Smart Cities

Authors:

Abstract

In this paper, we propose a blockchain-based data sharing mechanism for Vehicular Network. We introduce edge service providers placed near to ordinary vehicle nodes to fulfill their requests. Smart vehicles generate a huge amount of data which is stored in the Interplanetary File System (IPFS). IPFS is a distributed file storage system that overcomes the limitations of centralized architecture. Monetary incentive is given to edge vehicle nodes for providing services to ordinary nodes. Ordinary nodes give reviews against services provided by the edge nodes that are stored in a blockchain. A smart contract is used to automate system processes without third party involvement and checking reviews of the edge node. To optimize gas consumption, we used Proof of Authority (PoA) as a consensus mechanism for transaction validation. PoA enhances overall system performance and optimized gas consumption. The caching server is introduced to store frequently used services in memory and provided to ordinary vehicles upon request. Moreover, we have used symmetric key cryptographic mechanism which ensures data security and privacy. A trust management system is proposed, which ensures the reputation of nodes. The trust value is stored in a blockchain, which determines the authenticity of nodes involved in a network. From simulation results, it is shown that our proposed system is efficient for the vehicular network.
A Blockchain based Distributed Vehicular
Network Architecture for Smart Cities
Mubariz Rehman, Zahoor Ali Khan, Muhammad Umar Javed, Muhammad Zohaib
Iftikhar, Usman Majeed, Imam Bux, and Nadeem Javaid
Abstract In this paper, we propose a blockchain-based data sharing mechanism for
Vehicular Network. We introduce edge service providers placed near to ordinary ve-
hicle nodes to fulfill their requests. Smart vehicles generate a huge amount of data
which is stored in the Interplanetary File System (IPFS). IPFS is a distributed file
storage system that overcomes the limitations of centralized architecture. Monetary
incentive is given to edge vehicle nodes for providing services to ordinary nodes.
Ordinary nodes give reviews against services provided by the edge nodes that are
stored in a blockchain. A smart contract is used to automate system processes with-
out third party involvement and checking reviews of the edge node. To optimize
gas consumption, we used Proof of Authority (PoA) as a consensus mechanism for
transaction validation. PoA enhances overall system performance and optimized gas
consumption. The caching server is introduced to store frequently used services in
memory and provided to ordinary vehicles upon request. Moreover, we have used
symmetric key cryptographic mechanism which ensures data security and privacy.
A trust management system is proposed, which ensures the reputation of nodes. The
trust value is stored in a blockchain, which determines the authenticity of nodes in-
volved in a network. From simulation results, it is shown that our proposed system
is efficient for the vehicular network.
Mubariz Rehman, Muhammad Umar Javed, Muhammad Zohaib Iftikhar, Usman Majeed, Imam
Bux, and Nadeem Javaid (Corresponding Author)
COMSATS University Islamabad, Pakistan; email: nadeemjavaid@comsats.edu.pk
Zahoor Ali Khan
Faculty of Computer Information Science, Higher Colleges of Technology, Fujairah 4114, United
Arab Emirate, email: zkhan1@hct.ac.ae
1
2 Mubariz et al.
1 Introduction
With the advancement in vehicular technologies, a large number of smart vehicles
are part of the Internet of Vehicle (IoV) network. The vehicular network is used for
various purposes such as traffic control, prevention of accidents and critical message
sharing between vehicles [1]. Nowadays, electric car manufacturers are developing
driverless vehicles. In recent years, smart vehicles are growing rapidly and some
studies predict that market size will be increased more than tenfolds from 2019 to
2020 [2]. The market value of autonomous vehicles will grow from $54.23 billion
to $556.67 billion. Smart vehicles are equipped with different sensors and wireless
communication module that allows a vehicle to sense information such as road con-
dition, traffic rate, and accident report, etc. This sensory information is shared with
other smart vehicles and Road Side Units (RSUs). This type of communication is
called a vehicle to vehicle communication and vehicle to roadside communication.
With respect to time, smart vehicles are increasing rapidly due to their excellent fea-
ture and capabilities. However, many issues arise due to open environment in wire-
less network. Smart vehicles generate a large amount of data in real time scenario.
To handle huge data and provide secure communication channel is a huge callenge
in vehicular network. In vehicular network data generation is continuous, to handle
large amount of data and provide real time response is not possible for centralized
system. To overcome these limitation, there is need of decentralized architecture
which fulfills vehicular network requirement. From literature, we conclude there is
need of mechanism which ensures security in vehicular network.
In this paper, we proposed a secure data sharing architecture for a vehicular net-
work using blockchain. Each ordinary vehicle communicates with edge node ve-
hicle for the required service. There are predefined service charges against service
requests. Whenever ordinary node request a service a predefined amount is deducted
from ordinary node accounts. For the storage of data generated by vehicles, we used
a distributed data storage mechanism. For each vehicle, the trust value is calculated
to determine the reputation of each vehicle. Crypto Id is assigned to each vehicle,
this reduces the risk of malicious activities in a network. A smart contract enhances
system performance as well as the throughput of the system. The reputation value of
vehicles is stored in blockchain against the id of the vehicle. These features enhance
the performance of the proposed system.
With the invention of blockchain technologies, a secure service provisioning
mechanism for Internet of Thing (IoT) became possible. Authors in [3] proposed a
blockchain-based secure service provisioning mechanism for IoTs using blockchain.
Due to blockchain, service codes are protected from untrustworthy edge servers in-
volved in edge transparent computing network. The effectiveness of a system is
evaluated for resource constraint devices through simulation results. However, no
service charging mechanism and cryptographic mechanism for secure communica-
tion are considered. In [4], authors also proposed an edge transparent computing net-
work for smart transportation in which both centralized and distributed architecture
are used for efficient and cost-effective communication. Edge servers are placed in a
distributed manner to provide essential services and achieve localization. However,
A Blockchain based Distributed Vehicular Network Architecture for Smart Cities 3
efficient deployment of edge servers, enabling caching techniques and data moneti-
zation among IoT are not considered. With the increase in population, smart vehicles
are increasing day to day. In [5], the authors proposed a blockchain-based vehicu-
lar network, which allows the development of the distributed network of large scale
vehicles more efficiently and effectively. However, reliable communication among
vehicles and for efficient data storage, there is a need for a trust management sys-
tem and distributed file system. In vehicle to vehicle (V2V) communication, mostly
vehicle identification number is used for communication. However, the privacy leak-
age problem arises while using an identification number used for communication.
To prevent issues of biasness and for encouragement purpose, incentive mechanism
is used. However, no incentive mechanism for vehicles is introduced in [5].
2 Literature Review
In this section, we present a literature review of blockchain existing work. Pardip in
[4] presents a blockchain-based hybrid architecture for smart cities. By beneficial
from both centralized and distributed architecture, the author proposed hybrid net-
work architecture. Software-Defined Networking (SDN) and blockchain are used
together. The author divides the network into two main parts: the core network and
edge network. Argon2 based PoW consensus mechanism is used to ensure security
and privacy. However, efficient deployment of edge node and caching techniques ar
edge node is still not considered. In [5], the author proposed a blockchain-based ad
hoc vehicular network which allows the scalable vehicular network for large scale
vehicles. With the blockchain, a secure environment is proposed for both end-users
and the machine side. In this model, vehicles are also able to share their resources for
revenue generation. In the future, the author wants to extend the system for wearable
technologies.
In [6], the author proposed a blockchain-based secure service provisioning mech-
anism for IoT. Edge servers are placed in a network to provide efficient services for
resource constraint devices. To minimize the computation cost, PoA is used as a
consensus mechanism. From the simulation results, the effectiveness of the pro-
posed system is evaluated. However, service charing is not considered. With the
advancement in IoT technologies, security, privacy and credibility issues are need
to be handled. In [7], the author proposed a blockchain-based credibility verifica-
tion method for IoT. The authors proposed a self-organization blockchain structure
(BCS) in which blockchain is used for organization. The effectiveness of a system
is evaluated using response time and storage efficiency. However, complete decen-
tralization is not achieved by Manage Server (MS). In [8], the author proposed a
framework for data sharing in a distributed system with a fine-grained access control
mechanism. To overcome the limitations of centralized architecture, the author pro-
posed a distributed system with Ethereum blockchain and Attribute-based Encryp-
tion (ABE). The feasibility of a system is analyzed through experimental analysis.
However, access policy updates and user attribute revocation are not considered.
4 Mubariz et al.
In [9], the author proposed a novel attribute-based access control mechanism for
IoT. The authors proposed a decentralized access control mechanism that ensures
the scalability and robustness of a system. IoT devices are not used for the consen-
sus mechanism due to which communication overhead is significantly decreased.
However, the real-time scenario is not considered. In [10], the author proposed a
blockchain-based data sharing mechanism while using fine-grained access control
and artificial intelligence. Two blockchains are proposed for the data-sharing mech-
anism named as Data chain and Behaviour chain. The proposed system is based on
hyper ledger Fabric. However, the scope of the proposed system is limited. The eco-
nomic impact is also not considered. In [11], author proposed an E-business model
for IoT using blockchain. The author discussed four stages of traditional E-business
according to the transactions. The author proposed a peer to peer (P2P) model for
blockchain. Distributed Autonomous Corporation (DAC) is used for P2P trading.
DAC is based on Machine Learning Algorithms which make it intelligent. DAC can
perform trade through Person-to-Machine (P2M). However, the system is designed
for only two commodities. The scope of work is limited.
In [12], the author proposed a framework for Intelligent Vehicle (IV) using
blockchain. The author solved the problems of authentication and trust using block-
chain technologies. The dynamic traffic rate is considered for simulation. A concept
of IVTP is introduced for accessing the trustworthiness of other vehicles. With the
help of blockchain, a large number of the vehicle is handled in a real-time sce-
nario. The performance of the proposed system is well when there is a heavy traffic
scenario. In [13], the author proposed a blockchain-based crowdsensing network in
which privacy preservation is achieved through an incentive mechanism. Blockchain
ensures the integrity of the data. With the incentive mechanism, issues of low user
participants can be tackled. However, the scope of proposed work is limited due to
which results obtained may be one-sided.
In [14], the author proposed a blockchain-based distributed network architecture
for the Internet of Vehicles (IoV). To overcome challenges of real-time response in a
vehicular network, a distributed architecture is proposed for the vehicular network.
The secure storage of big data is the main concern of blockchain-based vehicular
network system. However, the real-time traffic rate is not considered by IoV. Oscar
in [15] presents a scalable access management system for IoT using blockchain.
Proof of Concept architecture is followed for the proposed system. The system per-
formance is evaluated by comparing it with other state-of-the-art systems. When
a single management system is used, the performance of the proposed system is
less efficient than the existing system. However, a proposed system model is sig-
nificantly scalable when the load is distributed. From the experimental results, we
conclude the system is designed for multiple management hubs. Similar works are
also presented in [16]-[20].
A Blockchain based Distributed Vehicular Network Architecture for Smart Cities 5
3 Proposed System Model
In this section, we propose a blockchain-based vehicular network in which trusted
service sharing between machine to machine is enabled. The proposed system en-
ables a vehicle to vehicle communication in a secure environment. In this section,
we present a system model in which various challenges of the vehicular network is
considered.
3.1 Architecture Overview
By getting motivation from a system model in [5], a vehicular network model is pro-
posed. Our proposed system model allows the development of the distributed vehic-
ular network in an efficient manner. Fig. 1 illustrates the blockchain-based vehicular
network architecture to meet requirements and challenges. RSU are placed in a dis-
tributed manner for efficiently providing services. In Fig. 1, there are three types of
nodes: Ordinary nodes which act as smart vehicles, edge nodes having more compu-
tational power than ordinary nodes shown in a green circle. Ordinary nodes are re-
source constraint nodes having low storage, computation and low battery life. RSUs
act as static nodes in a network. Edge nodes handle service requests/responses. An
ordinary node requests a service to edge nodes in a distributed way. Due to the place-
ment of the edge node and RSU in a distributed way, scalability and availability of
the system are achieved. For reliable communication, the cryptographic mechanism
is proposed.
Whenever a new vehicle joins the network, a unique crypto ID is issued to the
vehicle by an intelligent vehicle trust point organization. Each vehicle in a vehicu-
lar network has its unique crypto ID. During communication, the vehicle provides
crypto ID to build trust in a communication network. IVTP consider as a trust value
which ensures reputation of a vehicle. Greater the IVTP value, higher will be its
request and honor. All the RSU primarily contain neccessary information which are
required by ordinary nodes. All RSU have a peer to peer (P2P) relation among them.
The proposed system model is shown in Fig. 1.
3.2 Edge Node Model Overview
Each edge node has three types of computation assets: computing, sensors, and data
storage. Depending on these resources, edge nodes are distinguished from controller
nodes. These edge servers get the vehicle information and transfer to controller
nodes. Controller nodes use the IPFS to store the vehicle data. Various types of
services are provided by the edge nodes such as road accidents, traffic blockage,
sensor data of smart vehicles and service sharing, etc. Depending on the service
given by edge nodes, ordinary nodes give a rating. Depending on the rating value,
6 Mubariz et al.
R
SU 1
RSU 3 RSU N
RSU 2
Blockchain Interplanetary File
System
Vehicular Network Vehicular Network
Vehicular Networ Vehicular Network N
...
1
2
1
2
1
2
1
2
Intelligent Vehicle Trust
Point Organization
Vehicle ID Transaction ID
IV-1
IV-2
7634uhy87f9
6439gfd981
Unique Crypto ID
Unique Crypto ID
Ordinary Node
Edge Node
Road Side Unit
(RSU)
1
2Request / Response
Unique Crypto ID
One Way
Communication
Two Way
Communication
P2P RSUs
Communication
Reviews
Reviews
ache Serve
ache Serv ache Server
ache Server
Fig. 1: Proposed System Model.
the behavior of edge nodes is determined. The proposed system work as if smart
vehicles want the data about road traffic, edge node check cache storage. If the re-
quired service is available then service is transfer to ordinary nodes. Otherwise, the
edge node communicates with RSU to give responses against service requests. Edge
nodes stores frequent used services in cache memory.
3.3 Incentive Mechanism In Vehicular Network
In a vehicular network, smart vehicles are part of the whole network through which
information is collected and stored in IPFS for further usage. Whenever a smart
vehicle requests a service, edge nodes communicate with the RSU for responding
to the service requested. RSU checks the blockchain and gives a response against
a service request. Some smart vehicles are not involved in service sharing process
due to selfishness or some other reason. Due to this, system performance is compro-
mised. To overcome this limitation, the incentive mechanism is proposed. Whenever
sensory information is given by smart vehicle, after validation of sensory informa-
tion incentive is given to the ordinary node. This incentive amount is given in the
form of cryptocurrency. The incentive amount is also converted to local currency for
getting benefit from it. In our proposed system, the incentive is given as a reward
after valid service sharing. By the involvement of incentive mechanism, a problem
of selfishness and low user participation is also tackled.
A Blockchain based Distributed Vehicular Network Architecture for Smart Cities 7
3.4 Road Side Unit Overview
All RSU are connected to edge nodes in a distributed manner and placement is in
a static manner to provide services like road information, traffic rate, road accident
details and near located charging stations. All the RSU are connected in P2P manner.
To overcome the limitations of a centralized storage system, IPFS is used for data
storage in a distributed manner. With the use of IPFS, a problem like high latency,
excess bandwidth usage and a single point of failure is resolved. As in real-time
vehicular environments, data generated by smart vehicles are large in quantity. To
handle a huge volume of data, a decentralized system is required. PoA consensus
mechanism is used for validation of the transactions. PoA is used as a consensus
mechanism instead of PoW because of there less resource consuming abilities.
3.5 Autentication of Vehicular Network
For authentication of vehicles involved in a network and preventing malicious activ-
ities, IVTP organization is used. In IVTP a unique crypto-ID is assigned to each ve-
hicle in a network. IVTP-ID is used as an identification of the vehicle. The record of
assigning crypto-ID is stored in the IVTP organization. Whenever malicious nodes
want to participate in a network. Their identity is detected due to the lack of crypto-
ID. For, each vehicle, trust value is calculated by the IVTP organization. More the
trust value more will be honor and respect. Based on service sharing, trust value is
determined.
3.6 Caching and IPFS
Whenever a vehicular network is built, smart vehicles communicate with edge nodes
for the service request. Edge node communicates with RSU for the fulfillment of
user requests. This whole process requires a large execution time. However, the real-
time vehicular network is time-sensitive systems. To optimize the gas consumption
we introduce a cache memory at the edge node. Frequent used sensory information
is stored in cache memory. This process optimized the execution time and enhance
overall system performance. IPFS is used for distributed data storage while consid-
ering the issues of centralized systems. In IPFS data integrity is also achieved while
considering hashes of the data. If the data tamper, a complete hash will be changed.
IPFS also provides security to the data stored in a blockchain.
8 Mubariz et al.
3.7 WorkFlow of Proposed Sytem
In the proposed blockchain-based vehicular network, smart vehicles are registered
in a network via blockchain. IVTP provides a unique crypto id to each vehicle.
This unique crypto id used as an identity of a vehicle. A list of all register vehi-
cles is stored in a blockchain. Blockchain is secure, tamper-proof, and immutable
technology used for vehicle to vehicle communication. Among ordinary vehicles,
edge node vehicle is also placed. The edge node vehicle communicates with RSU to
entertain the request of ordinary vehicles. In the proposed system, the vehicle gen-
erates a large amount of data so, it is impossible to handle a huge amount of data.
To overcome this issue, we proposed IPFS fo data storage. IPFS generates a hash
of the data, which is stored. These hashes are stored in blockchain which ensures
security and data integrity. For making a system efficient in terms of resource uti-
lization, we use PoA as a consensus mechanism. We introduced the cache server at
the edge node vehicle. Frequently used services are stored in a cache server. With
the use of a cache server, communication time is optimized. If the service given by
the edge server node is valid, then an incentive is given by ordinary vehicles. The
incentive is considered as a reward given to the edge server node by ordinary ve-
hicles. However, there are pre-defined service charges against each service. All the
financial transactions are stored in blockchain.
In the proposed system, ordinary vehicles send a request to edge node vehicles
for the required service. Edge node communicates with RSUs. RSUs are static nodes
and have sufficient computation resources. Blockchain is implemented between the
RSUs. RSUs respond against service requested and request for service charges
against the service requested. After the successful payment of service charges, ser-
vice is delivered to an ordinary node. For each valid service, an incentive is given
to edge node vehicles. All communication in a network is in encrypted form which
ensures the privacy of data. RSUs stores all the transaction history in IPFS. Hashes
of the data stored in a blockchain. With IVTP, trust value is calculated. Based on the
trust value, the behavior of smart vehicles is determined. Frequently used services
are stored in a cache server of the edge server node. Whenever ordinary vehicle
requests for service. Edge node vehicle checks their cache server. If the required
service is present at the cache server, then the required service transferred by edge
node vehicle itself. With the use of the cache server, the overall communication time
of a system is optimized.
4 Simulations and Results
In this section, we discuss the tools used for simulation and results of proposed
system model.
Simulation Environment: For proposed work, Ethereum is used for conducting
simulations. Ethereum provides user friendly environment as compared to bitcoin
platform. Ethereum supports Decentralized Applications (DApps) with in term of
A Blockchain based Distributed Vehicular Network Architecture for Smart Cities 9
transaction validation process. Ethereum is efficient than bitcoin network in terms
of transactions validated in one second. In Ethereum, we used PoA as a consen-
sus mechanism. Turing complete scripting language called as solidity is used for
implementing smart contract.
Remix Integrated Development Environment (IDE): Remix IDE is used for
simulation of smart contracts based on solidity language. Remix IDE is web browser
based development environment through which deployement and execution of smart
contracts is possible.
Ganache: is blockchain based software which provides virtual accounts for exe-
cuting smart contracts. For each account there is unique address stored in ganache.
Ganache also perform mining process through which transaction is validated and
added to blockchain. In each account, predefined amount of virtual ethers are stored.
These ethers are used as a cryptocurrency in blockchain environment.
MetaMask: Metamask is the browser extension used for ganache and remix con-
nectivity. Metamask also provide facility of connectivity with local host and other
blockchain network such as rinkeby and ropsten network.
System Specification:The specification of system used are: Intel(R) Core(TM)
i5-4300U, CPU @ 1.90GHz, 8GB RAM, 500GB hard disk, 64-bit Operating System
with x64 based processor.
4.1 Results and Discussions
In this subsection, we evaluate performance of our proposed system. Gas is consid-
ered as a unit to calculate the cost of transaction executed and validated. Any action
performed in a ethereum environment is considered as a transaction. For each trans-
action, there is pre defined as consumption amount. The predefined gas consumption
amount is mentioned in ethereum yellow paper [21].
1 gas unit = 4 gwei (1 Ether = 1000000000 gwei)
In Fig. 2 we calculate the total gas consumption based on two different consensus
mechanism. Two smart contracts are designed for a proposed system. One contract
is of IPFS, a distributed storage system and the other is a smart contract based on
the vehicular network. From the experimental analysis, we conclude PoA consensus
mechanism is more efficient than PoW in terms of gas consumption. PoW is more
resource consuming consensus mechanism in which all the miners are participating
in the complex mathematical puzzle-solving process. This process requires a large
execution time as well as excess resource consumption. From the simulation results,
it is shown that PoA is efficient for resource constraint devices.
In Fig. 3, gas consumption of main functions of IPFS is presented. Add Data(),
consumed more gas than other functions. This function depends on the size of file
which is to be uploaded and network conditions. Once the data is uploaded, the
gas consumption is not too much high which shows the effectiveness of system.
IPFS is used for secure data storing and sharing mechanism which supports the data
10 Mubariz et al.
Fig. 2: Comparision of Smart Contract Deployement Cost.
integrity mechanism. We proposed modular contract based system in which impact
of attacks is minimum.
Fig. 3: Gas Consumption for IPFS Functions.
In Fig 4, gas consumption of function used in IPFS such as Return Hash,Set Ac-
cess Rights,Set Recipient and Set Blacklist is pesented. From the simulation results,
we conclude gas consumption of these functions are not very high. Our proposed
system is efficient and flexible for resource limited devices.
A Blockchain based Distributed Vehicular Network Architecture for Smart Cities 11
Fig. 4: Gas Consumption for IPFS Smart Contract.
IIn Fig. 5 we evaluate the gas consumption analysis of vehicular network smart
contract.There are five functions which vehicular network performs, i.e., registerVe-
hicle(), requestService(), response(), and SC deployement(). Transaction and execu-
tion cost of each functions are presented. Transaction cost is always high because
it stores different operational data to execute and sends the data to the blockchain.
While execution cost is the cost of operational function.
Fig. 5: Gas Consumption for Vehicular Network Smart Contract.
12 Mubariz et al.
5 Conclusion and Future Work
In this research work, we propose a blockchain based resource efficient and secure
data sharing mechanism for Vehicular Network. In proposed system, we consider
distributed file storage system known as IPFS for data storage. By the use of IPFS,
issues of centralized storage system are eliminated. Smart contract is introduced to
maintain trust value of vehicles and to ensure fair payment against given service.
For each service, there is pre-defined amount of charges. We introduce blockchain
to optimize the resource utilization and to ensure secure data sharing environment.
Incentive mechanism and review system are introduced for edge vehicle node. De-
pending on reviews, the reputation of each edge vehicle node is determined. Review
given by ordinary node is considered as a feedback against service delivered by edge
vehicle node. From the simulation results, it is analyzed that our proposed system
is efficient for data sharing mechanism. However, cost of proposed system depends
on size of data.
In future, fake review detection system is considered for ordinary vehicle. This
will verify the reputation of ordinary vehicles.
References
1. Hartenstein, Hannes, and Kenneth Laberteaux. “VANET: vehicular applications and inter-
networking technologies.”Vol. 1. Chichester: Wiley, 2010.
2. Allied Market Research. (2018). Autonomous Vehicle Market by Level of
Automation. Accessed: Nov. 18, 2019. [Online]. Available: https://www.
alliedmarketresearch.com/autonomous-vehicle-market
3. Xu, Yang, Guojun Wang, Jidian Yang, Ju Ren, Yaoxue Zhang, and Cheng Zhang. “Towards
Secure Network Computing Services for Lightweight Clients Using Blockchain.”Wireless
Communications and Mobile Computing 2018 (2018).
4. Sharma, Pradip Kumar, and Jong Hyuk Park. “Blockchain based hybrid network architecture
for the smart city.”Future Generation Computer Systems 86 (2018): 650-655.
5. Sharma, Pradip Kumar, Seo Yeon Moon, and Jong Hyuk Park. “Block-VN: A distributed
blockchain based vehicular network architecture in smart City.”JIPS 13, no. 1 (2017): 184-
195.
6. Xu, Yang, Guojun Wang, Jidian Yang, Ju Ren, Yaoxue Zhang, and Cheng Zhang. “Towards
secure network computing services for lightweight clients using blockchain.”Wireless Com-
munications and Mobile Computing 2018 (2018).
7. Qu, Chao, Ming Tao, Jie Zhang, Xiaoyu Hong, and Ruifen Yuan. “Blockchain based credibil-
ity verification method for IoT entities.”Security and Communication Networks 2018 (2018).
8. Wang, Shangping, Yinglong Zhang, and Yaling Zhang. “A blockchain-based framework for
data sharing with fine-grained access control in decentralized storage systems.”IEEE Access
6 (2018): 38437-38450.
9. Ding, Sheng, Jin Cao, Chen Li, Kai Fan, and Hui Li. “A Novel Attribute-Based Access Con-
trol Scheme Using Blockchain for IoT.”IEEE Access 7 (2019): 38431-38441.
10. Zhang, Guozhen, Tong Li, Yong Li, Pan Hui, and Depeng Jin. “Blockchain-based data shar-
ing system for ai-powered network operations.”Journal of Communications and Information
Networks 3, no. 3 (2018): 1-8.
A Blockchain based Distributed Vehicular Network Architecture for Smart Cities 13
11. Zhang, Yu, and Jiangtao Wen. “The IoT electric business model: Using blockchain technology
for the internet of things.”Peer-to-Peer Networking and Applications 10, no. 4 (2017): 983-
994.
12. Singh, Madhusudan, and Shiho Kim. “Branch based blockchain technology in intelligent
vehicle.”Computer Networks 145 (2018): 219-231.
13. Jia, Bing, Tao Zhou, Wuyungerile Li, Zhenchang Liu, and Jiantao Zhang. “A Blockchain-
Based Location Privacy Protection Incentive Mechanism in Crowd Sensing Net-
works.”Sensors 18, no. 11 (2018): 3894.
14. Jiang, Tigang, Hua Fang, and Honggang Wang. “Blockchain-based internet of vehicles: Dis-
tributed network architecture and performance analysis.”IEEE Internet of Things Journal
(2018).
15. Novo, Oscar. “Scalable Access Management in IoT using Blockchain: a Performance Evalu-
ation.”IEEE Internet of Things Journal (2018).
16. Samuel, Omaji, Nadeem Javaid, Muhammad Awais, Zeeshan Ahmed, Muhammad Imran, and
Mohsen Guizani. “A blockchain model for fair data sharing in deregulated smart grids.”In
IEEE Global Communications Conference (GLOBCOM 2019). 2019.
17. Mubariz Rehman, Nadeem Javaid, Muhammad Awais, Muhammad Imran and Nidal Naseer,
“Cloud based Secure Service Providing for IoTs using Blockchain”, in IEEE Global Com-
munications Conference (GLOBCOM 2019).
18. Sultana, Tanzeela, Ahmad Almogren, Mariam Akbar, Mansour Zuair, Ibrar Ullah, and
Nadeem Javaid. “Data Sharing System Integrating Access Control Mechanism using
Blockchain-Based Smart Contracts for IoT Devices.”Applied Sciences 10, no. 2 (2020): 488.
19. Naz, Muqaddas, Fahad A. Al-zahrani, Rabiya Khalid, Nadeem Javaid, Ali Mustafa Qamar,
Muhammad Khalil Afzal, and Muhammad Shafiq. “A Secure Data Sharing Platform Using
Blockchain and Interplanetary File System.”Sustainability 11, no. 24 (2019): 7054.
20. Alghamdi, Turki Ali, Ishtiaq Ali, Nadeem Javaid, and Muhammad Shafiq. “Secure Service
Provisioning Scheme for Lightweight IoT Devices with a Fair Payment System and an Incen-
tive Mechanism based on Blockchain.”IEEE Access (2019).
21. Wood, Gavin. “Ethereum: A secure decentralised generalised transaction ledger.”Ethereum
project yellow paper 151 (2014): 1-32.
... ... This research work is an extension of [6]. In this paper, a secure blockchain-based data sharing architecture is proposed for VNs. ...
... 1 Initialization 2 Inputs: Ordinary node O n , Sensory information 3 Outputs: Provisioning of sensory information file 4 for All ordinary nodes, O n do 5 Retrieve the information 6 Sends the information to IPFS 7 IPFS stores the information in distributed hash table 8 IPFS assigns hash to the information file stored 9 Sends the hash information to blockchain ...
Article
Full-text available
In this paper, a blockchain-based secure data sharing mechanism is proposed for Vehicular Networks (VNs). Edge service providers are introduced along with ordinary nodes to efficiently manage service provisioning. The edge service providers are placed in the neighborhood of the ordinary nodes to ensure smooth communication between them. The huge amount of data generated by smart vehicles is stored in a distributed file storage system, known as Interplanetary File System (IPFS). It is used to tackle the issues related to data storage in centralized architectures, such as data tampering, lack of privacy, vulnerability to hackers, etc. Monetary incentives are given to edge vehicle nodes to motivate them for accurate and timely service provisioning to ordinary nodes. In response, ordinary nodes give reviews to the edge nodes against the services provided by them, which are further stored in a blockchain to ensure integrity, security and transparency. Smart contracts are used to automate the system processes without the inclusion of an intermediate party and to check the reviews given to the edge nodes. To optimize gas consumption and to enhance the system performance, a Proof of Authority (PoA) consensus mechanism is used to validate the transactions. Moreover, a caching system is introduced at the edge nodes to store frequently used services. Furthermore, both security and privacy are enhanced in the proposed system by incorporating a symmetric key cryptographic mechanism. A trust management mechanism is also proposed in this work to calculate the nodes’ reputation values based upon their trust values. These values determine the authenticity of the nodes involved in the network. Eventually, it is concluded from the simulation results that the proposed system is efficient for VNs.
Chapter
In 2008 bitcoin was born, based on blockchain technology. Soon after various blockchain frameworks came out, offering unparallel security and supporting rule-based logic. At their core two concepts are prominent, identity and rule-based transactions. These two inherent characteristics are cornerstone in any process. Cities can benefit from programmatically facilitating their own internal processes to achieve efficiencies at scale, securing their citizens’ personal data, and eventually creating their own individual identities. It is a long road ahead, where calculated steps must be taken in integrating the promise of blockchain technology in the quest of building the smart cities of tomorrow.
Thesis
Full-text available
This thesis examines the use of blockchain technology with the Electric Vehicles (EVs) to tackle different issues related to the existing systems like privacy, security, lack of trust, etc., and to promote transparency, data immutability and tamper proof nature. Moreover, in this study, a new and improved charging strategy, termed as Mobile vehicle-to-Vehicle (M2V) charging strategy, is used to charge the EVs. It is further compared with conventional Vehicle-to-Vehicle (V2V) and Grid-to-Vehicle (G2V) charging strategies to prove its efficacy. In the proposed work, the charging of vehicles is done in a Peer-to-Peer (P2P) manner to remove the intermediary parties and deal with the issues related to them. Moreover, to store the data related to traffic, roads and weather conditions, a Transport System Information Unit (TSIU) is used, which helps in reducing road congestion and minimizing road side accidents. In TSIU, InterPlanetary File System (IPFS) is utilized to store the data in a secured manner. Furthermore, mathematical formulation of the total charging cost, the shortest distance between EVs and charging entities, and the time taken to traverse the shortest distance and to charge the vehicles is done using real time data of EVs. The phenomena of range anxiety and coordination at the crossroads are also dealt with in the study. Moving ahead, edge service providers are introduced to ensure efficient service provisioning. These nodes ensure smooth communication with EVs for successful service provisioning. A caching system is also introduced at the edge nodes to store frequently used services. The power flow and the related energy losses for G2V, V2V and M2V charging strategies are also discussed in this work. In addition, an incentive provisioning mechanism is proposed on the basis of timely delivery of credible messages, which further promotes users’ participation. Furthermore, a hybrid blockchain based vehicular announcement scheme is proposed through which secure and reliable announcement dissemination is realized. In addition, IOTA Tangle is used, which ensures decentralization of the system. The real identities of the vehicles are hidden using the pseudo identities generated through an Elliptic Curve Cryptography (ECC) based pseudonym update mechanism. Moreover, the lightweight trustworthiness verification of vehicles is performed using a Cuckoo Filter (CF). It also prevents revealing the reputation values given to the vehicles upon information dissemination. To reduce the delays caused due to inefficient digital signature verification, transactions are verified in the form of batches. Furthermore, a blockchain based revocation transparency enabled data-oriented trust model is proposed. Password Authenticated Key Exchange by Juggling (J-PAKE) scheme is used in the proposed model to enable mutual authentication. To prevent collusion attacks, message credibility check is performed using Real-time Message Content Validation (RMCV) scheme. Furthermore, K-anonymity algorithm is used to anonymize the reputation data and prevent privacy leakage by restricting the identification of the predictable patterns present in the reputation data. To enable revocation transparency, a Proof of Revocation (PoR) is designed for the revoked vehicles. The vehicle records are stored in IPFS. To enhance the chances of correct information dissemination, incentives are provided to the vehicles using a reputation based incentive mechanism. To check the robustness of the proposed model, attacker models are designed and tested against different attacks including selfish mining attack, double spending attack, etc. To prove the efficiency of the proposed work, extensive simulations are performed. The simulation results prove that the proposed study achieves high success in making EVs energy efficient, secure and robust. Furthermore, the security analysis of the smart contracts used in the proposed work is performed using Oyente, which exhibits the secure nature of the proposed work.
Article
Full-text available
Smart cities would depend on digital technologies that have the potential ahead where Blockchains would perform significantly. Blockchains has become popular because it offers adequate security than other solutions for a wide range of purpose. Blockchains can support the growth of smart cities due to their robust features like transparent, reliable, authenticate, and decentralized features. At present, big cities are utilizing sophisticated technologies with knowledge platforms to evaluate the quality of life of their residents. Society participation and dedication grow when humans are even more committed to responding with and being adaptable at some stage in their metropolis authorities and responding in an established way to personal problems. Big data, IoT, and Blockchain would accelerate and extend its government services, capacity, and even reduces costs and provides exciting opportunities like transportation services, exchanging services, healthcare services, etc. This study shows the reviews and importance of Blockchain in futuristic smart cities.
Research Proposal
Full-text available
In this work, an encyclopedic study of the blockchain based energy trading, data trading and sharing, and incentive mechanisms, used in various fields of life like energy, finance, business, data trading, healthcare, etc., is presented. The study critically analyzes different survey papers and ranks them using a recency score. This work also presents major blockchain related future research perspectives, which provide solid working directions to the research community. The use of blockchain technology with the Electric Vehicles (EVs) is also discussed to tackle different issues related to existing systems, such as privacy, security, lack of trust, etc., and to promote transparency, data immutability and tamper proof nature. Moreover, in this study, a new and improved charging strategy, termed as Mobile vehicle-to-Vehicle (M2V) charging strategy, is used to charge the EVs. It is further compared with conventional Vehicle-to-Vehicle (V2V) and Grid-to-Vehicle (G2V) charging strategies to prove its efficacy. In the proposed work, the charging of vehicles is done in a Peer-to-Peer (P2P) manner to remove the intermediary parties and deal with the issues related to them. Moreover, to store the data related to traffic, roads and weather conditions, a Transport System Information Unit (TSIU) is used, which helps in reducing road congestion and minimizing road side accidents. In TSIU, the data is stored in InterPlanetary File System (IPFS). Furthermore, mathematical formulation of the total charging cost, the shortest distance between EVs and charging entities, time taken to traverse the shortest distance and to charge the vehicles is done using real time data of EVs. The phenomena of range anxiety and coordination at the crossroads are also dealt with in the study. Moving ahead, edge service providers (edge nodes) are introduced to ensure efficient service provisioning. A caching system is also introduced at the edge nodes to store frequently used services. The power flow and the related energy losses for G2V, V2V and M2V charging strategies are also discussed in this work. In addition, an incentive provisioning mechanism is proposed on the basis of timely delivery of credible messages, which further promotes users’ participation. To check the robustness of the proposed model, an attacker model is designed and tested against different attacks including selfish mining attack. In future, the proposed model robustness will be tested against more attacks. To prove the efficiency of the proposed work, simulations will be performed. Moreover, the security analysis of the proposed work will also be done using Oyente.
Article
Full-text available
In this paper, a blockchain-based data sharing and access control system is proposed, for communication between the Internet of Things (IoT) devices. The proposed system is intended to overcome the issues related to trust and authentication for access control in IoT networks. Moreover, the objectives of the system are to achieve trustfulness, authorization, and authentication for data sharing in IoT networks. Multiple smart contracts such as Access Control Contract (ACC), Register Contract (RC), and Judge Contract (JC) are used to provide efficient access control management. Where ACC manages overall access control of the system, and RC is used to authenticate users in the system, JC implements the behavior judging method for detecting misbehavior of a subject (i.e., user). After the misbehavior detection, a penalty is defined for that subject. Several permission levels are set for IoT devices' users to share services with others. In the end, performance of the proposed system is analyzed by calculating cost consumption rate of smart contracts and their functions. A comparison is made between existing and proposed systems. Results show that the proposed system is efficient in terms of cost. The overall execution cost of the system is 6,900,000 gas units and the transaction cost is 5,200,000 gas units.
Article
Full-text available
The Internet of Things (IoT) industry is growing very fast to transform factories, homes, farms and practically everything else to make them efficient and intelligent. IoT is applied in different resilient scenarios and applications. IoT faces lots of challenges due to lack of computational power, battery and storage resources. Fortunately, the rise of blockchain technology facilitates IoT in many security solutions. Using blockchain, communication between IoT and emerging computing technologies is made efficient. In this work, we propose a secure service provisioning scheme with a fair payment system for Lightweight Clients (LCs) based on blockchain. Furthermore, an incentive mechanism based on reputation is proposed. We use consortium blockchain with the Proof of Authority (PoA) consensus mechanism. Furthermore, we use Smart Contracts (SCs) to validate the services provided by the Service Providers (SPs) to the LCs, transfer cryptocurrency to the SPs and maintain the reputation of the SPs. Moreover, the Keccak256 hashing algorithm is used for converting the data of arbitrary size to the hash of fixed size. AES128 encryption technique is used to encrypt service codes before sending to the LCs. The simulation results show that the LCs receive validated services from the SPs at an affordable cost. The results also depict that the participation rate of SPs is increased because of the incentive mechanism.
Article
Full-text available
In a research community, data sharing is an essential step to gain maximum knowledge from the prior work. Existing data sharing platforms depend on trusted third party (TTP). Due to the involvement of TTP, such systems lack trust, transparency, security, and immutability. To overcome these issues, this paper proposed a blockchain-based secure data sharing platform by leveraging the benefits of interplanetary file system (IPFS). A meta data is uploaded to IPFS server by owner and then divided into n secret shares. The proposed scheme achieves security and access control by executing the access roles written in smart contract by owner. Users are first authenticated through RSA signatures and then submit the requested amount as a price of digital content. After the successful delivery of data, the user is encouraged to register the reviews about data. These reviews are validated through Watson analyzer to filter out the fake reviews. The customers registering valid reviews are given incentives. In this way, maximum reviews are submitted against every file. In this scenario, decentralized storage, Ethereum blockchain, encryption, and incentive mechanism are combined. To implement the proposed scenario, smart contracts are written in solidity and deployed on local Ethereum test network. The proposed scheme achieves transparency, security, access control, authenticity of owner, and quality of data. In simulation results, an analysis is performed on gas consumption and actual cost required in terms of USD, so that a good price estimate can be done while deploying the implemented scenario in real set-up. Moreover, computational time for different encryption schemes are plotted to represent the performance of implemented scheme, which is shamir secret sharing (SSS). Results show that SSS shows the least computational time as compared to advanced encryption standard (AES) 128 and 256.
Conference Paper
Full-text available
The emergence of smart homes appliances has generated a high volume of data on smart meters belonging to different customers which, however, can not share their data in deregulated smart grids due to privacy concern. Although, these data are important for the service provider in order to provide an efficient service. To encourage customers participation, this paper proposes an access control mechanism by fairly compensating customers for their participation in data sharing via blockchain and the concept of differential privacy. We addressed the computational issues of existing ethereum blockchain by proposing a proof of authority consensus protocol through the Pagerank mechanism in order to derive the reputation scores. Experimental results show the efficiency of the proposed model to minimize privacy risk, maximize aggregator profit. In addition, gas consumption, as well as the cost of the computational resources, is reduced. Index Terms-Blockchain, consensus mechanism, proof of authority, privacy preserving and smart grid. I. INTRODUCTION Presently, because of the rapid growth of the world population and the technological innovations, a lot of energy is needed in a short period of time and during peak hours, and its effect increases the cost of production. Customers can, therefore, optimize their utilization based on the current energy demand and supply. As a result, demand response and dynamic pricing proposal are subject to privacy issues. In a smart grid, customers will share their hourly information load profile with a service provider only to allow a certain level of privacy to be maintained, which is a major barrier for customer participation. In order to efficiently aggregate customer data, while preserving their privacy, Liu et al. [1] propose a privacy-preserving mechanism for data aggregation. The proposed solution minimizes the cost of communication and computational overhead. However, a trusted environment is not considered. To achieve a trusted environment, several studies in [2]-[8] used blockchain as privacy-preserving mechanism for data aggregation; privacy protection and energy storage; secure classification of multiple data; incentive announcement network for smart vehicle; crowdsensing applications; dynamic tariff decision and payment mechanism for vehicle-to-grid. A survey concerning privacy protection using blockchain is discussed in [9]. The survey highlights all the existing
Article
Full-text available
Crowd sensing is a perception mode that recruits mobile device users to complete tasks such as data collection and cloud computing. For the cloud computing platform, crowd sensing can not only enable users to collaborate to complete large-scale awareness tasks but also provide users for types, social attributes, and other information for the cloud platform. In order to improve the effectiveness of crowd sensing, many incentive mechanisms have been proposed. Common incentives are monetary reward, entertainment & gamification, social relation, and virtual credit. However, there are rare incentives based on privacy protection basically. In this paper, we proposed a mixed incentive mechanism which combined privacy protection and virtual credit called a blockchain-based location privacy protection incentive mechanism in crowd sensing networks. Its network structure can be divided into three parts which are intelligence crowd sensing networks, confusion mechanism, and blockchain. We conducted the experiments in the campus environment and the results shows that the incentive mechanism proposed in this paper has the efficacious effect in stimulating user participation.
Article
Full-text available
The emerging network computing technologies have significantly extended the abilities of the resource-constrained IoT devices through the network-based service sharing techniques. However, such a flexible and scalable service provisioning paradigm brings increased security risks to terminals due to the untrustworthy exogenous service codes loading from the open network. Many existing security approaches are unsuitable for IoT environments due to the high difficulty of maintenance or the dependencies upon extra resources like specific hardware. Fortunately, the rise of blockchain technology has facilitated the development of service sharing methods and, at the same time, it appears a viable solution to numerous security problems. In this paper, we propose a novel blockchain-based secure service provisioning mechanism for protecting lightweight clients from insecure services in network computing scenarios. We introduce the blockchain to maintain all the validity states of the off-chain services and edge service providers for the IoT terminals to help them get rid of untrusted or discarded services through provider identification and service verification. In addition, we take advantage of smart contracts which can be triggered by the lightweight clients to help them check the validities of service providers and service codes according to the on-chain transactions, thereby reducing the direct overhead on the IoT devices. Moreover, the adoptions of the consortium blockchain and the proof of authority consensus mechanism also help to achieve a high throughput. The theoretical security analysis and evaluation results show that our approach helps the lightweight clients get rid of untrusted edge service providers and insecure services effectively with acceptable latency and affordable costs.
Article
Full-text available
The rise of the Internet of Things (IoT) implies new technical challenges such as managing a universally vast number of IoT devices. Despite the fact that there are already a variety of secure management frameworks for IoT, they are based on centralized models, which limits their applicability in scenarios with a large number of IoT devices. In order to overcome those limitations, we have developed a distributed IoT management system based on blockchain. In this paper, we compare the performance of our solution with the existing access management solutions in IoT. We study the delays and the throughput rate associated with the systems and analyze different configurations of our solution to maximize its scalability. The objective of the paper is to find out whether our solution can scale as well as the existing management systems in IoT.
Article
Full-text available
The explosive development of mobile communications and networking has led to the creation of an extremely complex system, which is difficult to manage. Hence, we propose an AI-powered network framework that uses AI technologies to operate the network automatically. However, due to the separation between different mobile network operators, data barriers between diverse operators become bottlenecks to exploit the full power of AI. In this paper, we establish a mutual trust data sharing framework to break these data barriers. The framework is based on the distributed and temper-proof attributes of blockchain. We implement a prototype based on Hyperledger Fabric. The proposed system combines supervision and fine-grained data access control based on smart contracts, which provides a secure and trustless environment for data sharing. We further compare our system with existing data sharing schemes, and we find that our system provides a better functionality.
Article
With the sharp increase in the number of intelligent devices, the Internet of Things (IoT) has gained more and more attention and rapid development in recent years. It effectively integrates the physical world with the Internet over existing network infrastructure to facilitate sharing data among intelligent devices. However, its complex and large-scale network structure brings new security risks and challenges to IoT systems. To ensure the security of data, traditional access control technologies are not suitable to be directly used for implementing access control in IoT systems because of their complicated access management and the lack of credibility due to centralization. In this paper, we proposed a novel attribute-based access control scheme for IoT systems that greatly simplifies the access management. We use blockchain technology to record the distribution of attributes in order to avoid single point failure and data tampering. The access control process has also been optimized to meet the need of high efficiency and lightweight calculation for IoT devices. Security and performance analysis show that our scheme could effectively resist multiple attacks and be efficiently implemented in IoT systems.
Article
The rapid growth of Internet of Vehicles (IoV) has brought huge challenges for large data storage, intelligent management, and information security for the entire system. The traditional centralized management approach for IoV faces the difficulty in dealing with real time response. The blockchain, as an effective technology for decentralized distributed storage and security management, has already showed great advantages in its application of Bitcoin. In this paper, we investigate how the blockchain technology could be extended to the application of vehicle networking, especially with the consideration of the distributed and secure storage of big data. We define several types of nodes such as vehicle and roadside for vehicle networks and form several sub-blockchain networks. In the paper, we present a model of the outward transmission of vehicle blockchain data, and then give detail theoretical analysis and numerical results. Our study has shown the potential to guide the application of Blockchain for future vehicle networking.