BEST—Blockchain-Enabled Secure and Trusted Public Emergency Services for Smart Cities Environment
Abstract
:1. Introduction
- A three-layered BEST framework architecture is presented, consisting of smart homes, IoT controllers, service controllers, and blockchain nodes.
- The IoT controller and service controller behave as edge computing servers. The IoT controller manages a set of smart homes that belong to its area and sends a PES request (i.e., fire brigade service request) under uncertain environmental conditions using a smart contract. Furthermore, it manages an access control list to keep the information of registered IoT devices that belong to smart homes to protect the PES department from receiving the wrong information. The service controller controls numerous PES departments (i.e., fire brigade departments) and uses the queue model to balance PES requests fairly among PES departments.
- The various smart contracts are designed to register the smart home, IoT controller, and service controller. The other smart contract, such as request PES and allocate PES, automatically invokes and handles the PES request on the blockchain network. Further, the service controller generates a final reputation value for a PES department after fulfilling the PES request using smart contract logic on the blockchain network.
- The proposed BEST framework is designed on the Hyperledger Fabric platform to bring trust and transparency to the overall framework architecture. The simulation results are evaluated in terms of waiting time, utilisation, actual reaching time, expected reaching time, final reputation value, and end-to-end delay to show the effectiveness of the proposed framework.
2. Related work
2.1. Blockchain for Smart Cities Environment
2.2. Blockchain for Emergency Services
3. Preliminaries on Blockchain
3.1. Smart Contract
3.2. Block
3.3. Private Blockchain
- (a)
- Membership service provider: The MSP provides a digital certificate to the Certificate Authority (CA) in the private blockchain network. The MSP keeps the information of generated digital certificates in a certificate list to authenticate a CA when required. The MSP also gives authority to the CA to distribute digital certificates within its organisation.
- (b)
- Certificate authority: The CA resides within an organisation and provides digital certificates during the creation of peers and a client.
- (c)
- Peer: The peer is categorised into two types: endorsing peer and committing peer. The endorsing peer performs a transaction endorsement to achieve the consensus in the private blockchain network. In contrast, the committing peer validates and manages a set of transactions through a block in the private blockchain network.
- (d)
- Client: The client interacts with the private blockchain network using smart contracts to generate transactions.
- (e)
- Orderer: The orderer bundles the endorsed transactions and arranges them in a timestamped order to create a valid block in the private blockchain network and broadcast it to the committing peer.
- (f)
- Channel: The channel is a medium to connect multiple organisations to receive the same set of transaction information in the private blockchain network to manage consistency.
4. BEST—Blockchain-Enabled Secure and Trusted Framework for Public Emergency Services
4.1. System Architecture
4.2. Queue Model for Public Emergency Service Department
Algorithm 1: Queue model for PES departments |
Input: Threshold values:; service queue length:; smart home sub-area:; PES department sub-area:; Output: Select the PES department; Begin For p = 1 to For i = 1 to If(temperature && smoke && humidity) IoT controller call smart contract; Else Record the IoT device data; End If End For End For For j = 1 to Service controller evaluates and ; Retrieve sub-area information; For i = 1 to If( If( Select ESP of same sub-area; Else Select ESP of different sub-area; End If Else Do nothing; End If End For End For End |
4.3. Reputation Model for Public Emergency Service Department
Algorithm 2: Reputation model for PES departments. |
Input: Smart home location: ; PES department location: ; Expected reaching time: ; Average speed: ; Output: Final reputation value for the PES department Begin For j = 1 to For i = 1 to Evaluate ; ; ;;; If() Evaluate ; Else Evaluate End If End For Evaluate ; End For End |
4.4. Working of Private Blockchain Network
4.4.1. Private Blockchain Network Setup
4.4.2. Smart Contracts
Algorithm 3: Smart Contracts |
Begin For p = 1 to Callsmart contract; Enter necessary details; Receive ; End For For i = 1 to For p = 1 to 1 to If() Call API of Enter necessary details; Receive; Else Do nothing; End If End For End For For j = 1 to Callsmart contract; Enter necessary details; Receive ; End For For i = 1 to Call API ofsmart contract; Enter necessary details; Call Algorithm 1 End For For p = 1 to 1 to Call smart contract; Enter necessary detail; Call Algorithm 2; End For For j = 1 to Service controller Call smart contract; Call Algorithm 2 Return End For End |
Registration of IoT Controller Smart Contract
Registration of Service Controller Smart Contract
Registration of Smart Home Smart Contract
Registration of Public Emergency Service Department Smart Contract
Call Public Emergency Service Department Service Provider Smart Contract
Reputation Generation for Public Emergency Service Department Smart Contract
Final Reputation Update for Public Emergency Service Department Smart Contract
5. Simulation Results and Discussion
5.1. Simulation Settings
5.2. Result Analysis
6. Conclusions and Future Work
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Syed, A.S.; Sierra-Sosa, D.; Kumar, A.; Elmaghraby, A. Making Cities Smarter—Optimisation Problems for the IoT Enabled Smart City Development: A Mapping of Applications, Objectives, Constraints. Sensors 2022, 22, 4380. [Google Scholar] [CrossRef] [PubMed]
- Kumar, K.; Kumar, S.; Kaiwartya, O.; Cao, Y.; Lloret, J.; Aslam, N. Cross-Layer Energy Optimization for IoT Environments: Technical Advances and Opportunities. Energies 2017, 10, 2073. [Google Scholar] [CrossRef] [Green Version]
- Aanchal; Kumar, S.; Kaiwartya, O.; Abdullah, A.H. Green computing for wireless sensor networks: Optimisation and Huffman coding approach. Peer Peer Netw. Appl. 2017, 10, 592–609. [Google Scholar] [CrossRef]
- Hassan, A.N.; Abdullah, A.H.; Kaiwartya, O.; Cao, Y.; Sheet, D.K. Multi-metric geographic routing for vehicular ad hoc networks. Wirel. Netw. 2018, 24, 2763–2779. [Google Scholar] [CrossRef]
- Kaiwartya, O.; Kumar, S. Geocast routing: Recent advances and future challenges in vehicular adhoc networks. In Proceedings of the 2014 International Conference on Signal Processing and Integrated Networks (SPIN), Noida, India, 20–21 February 2014; pp. 291–296. [Google Scholar]
- Number of Internet of Things (IoT) Connected Devices Worldwide from 2019 to 2030. Statista Report. 2022. Available online: https://www.statista.com/statistics/802690/worldwide-connected-devices-by-access-technology (accessed on 1 March 2022).
- Yu, Y.; Li, Y.; Tian, J.; Liu, J. Blockchain-Based Solutions to Security and Privacy Issues in the Internet of Things. IEEE Wirel. Commun. 2018, 25, 12–18. [Google Scholar] [CrossRef]
- Khatri, A.; Kumar, S.; Kaiwartya, O.; Aslam, N.; Meena, N.; Abdullah, A.H. Towards green computing in wireless sensor networks: Controlled mobility-aided balanced tree approach. Int. J. Commun. Syst. 2018, 31, e3463. [Google Scholar] [CrossRef]
- Cruz-Piris, L.; Rivera, D.; Marsa-Maestre, I.; Velasco, J.R.; De la Hoz, E. Access Control Mechanism for IoT Environments Based on Modelling Communication Procedures as Resources. Sensors 2018, 18, 917. [Google Scholar] [CrossRef] [Green Version]
- AlJarullah, A.; El-Masri, S. A Novel System Architecture for the National Integration of Electronic Health Records: A Semi-Centralised Approach. J. Med. Syst. 2013, 37, 9953. [Google Scholar] [CrossRef]
- Fernandez-Carames, T.M.; Fraga-Lamas, P. A Review on the Use of Blockchain for the Internet of Things. IEEE Access 2018, 6, 32979–33001. [Google Scholar] [CrossRef]
- Kumar, S.; Singh, K.; Kumar, S.; Kaiwartya, O.; Cao, Y.; Zhou, H. Delimitated Anti Jammer Scheme for Internet of Vehicle: Machine Learning Based Security Approach. IEEE Access 2019, 7, 113311–113323. [Google Scholar] [CrossRef]
- Zhang, Y.; Xu, X.; Liu, A.; Lu, Q.; Xu, L.; Tao, F. Blockchain-based trust mechanism for IoT-based intelligent manufacturing system. IEEE Trans. Comput. Soc. Syst. 2019, 6, 1386–1394. [Google Scholar] [CrossRef]
- Wan, J.; Li, J.; Imran, M.; Li, D.; Amin, F.-E. A Blockchain-Based Solution for Enhancing Security and Privacy in Smart Factory. IEEE Trans. Ind. Inform. 2019, 15, 3652–3660. [Google Scholar] [CrossRef]
- Iftikhar, M.Z.; Iftikhar, M.S.; Jawad, M.; Chand, A.; Khan, Z.; Khan, A.B.M.; Javaid, N. Efficient Resource Utilization Using Blockchain Network for IoT Devices in Smart City. In International Conference on Broad-Band and Wireless Computing, Communication and Applications, Antwerp, Belgium, 7–9 November 2019; Springer: Cham, Switzerland, 2019; pp. 521–534. [Google Scholar]
- Rahman, M.A.; Rashid, M.M.; Hossain, M.S.; Hassanain, E.; Alhamid, M.F.; Guizani, M. Blockchain and IoT-based cognitive edge framework for sharing economy services in a smart city. IEEE Access 2019, 7, 18611–18621. [Google Scholar] [CrossRef]
- Tang, F.; Ma, S.; Xiang, Y.; Lin, C. An Efficient Authentication Scheme for Blockchain-Based Electronic Health Records. IEEE Access 2019, 7, 41678–41689. [Google Scholar] [CrossRef]
- Dwivedi, A.D.; Srivastava, G.; Dhar, S.; Singh, R. A Decentralized Privacy-Preserving Healthcare Blockchain for IoT. Sensors 2019, 19, 326. [Google Scholar] [CrossRef] [Green Version]
- Wang, Y.; Zhang, A.; Zhang, P.; Wang, H. Cloud-Assisted EHR Sharing With Security and Privacy Preservation via Consortium Blockchain. IEEE Access 2019, 7, 136704–136719. [Google Scholar] [CrossRef]
- Chen, C.-L.; Deng, Y.-Y.; Tsaur, W.-J.; Li, C.-T.; Lee, C.-C.; Wu, C.-M. A Traceable Online Insurance Claims System Based on Blockchain and Smart Contract Technology. Sustainability 2021, 13, 9386. [Google Scholar] [CrossRef]
- Novo, O. Blockchain Meets IoT: An Architecture for Scalable Access Management in IoT. IEEE Internet Things J. 2018, 5, 1184–1195. [Google Scholar] [CrossRef]
- Aung, Y.N.; Tantidham, T. Ethereum-based Emergency Service for Smart Home System: Smart Contract Implementation. In Proceedings of the 2019 21st International Conference on Advanced Communication Technology (ICACT), PyeongChang, Korea, 17–20 February 2019; pp. 147–152. [Google Scholar]
- Xue, J.; Xu, C.; Zhang, Y. Private Blockchain-Based Secure Access Control for Smart Home Systems. KSII Trans. Internet Inf. Syst. 2018, 12, 6057–6078. [Google Scholar] [CrossRef]
- Lin, C.; He, D.; Kumar, N.; Huang, X.; Vijayakumar, P.; Choo, K.-K.R. HomeChain: A Blockchain-Based Secure Mutual Authentication System for Smart Homes. IEEE Internet Things J. 2019, 7, 818–829. [Google Scholar] [CrossRef]
- Wu, H.-T.; Tsai, C.-W. An intelligent agriculture network security system based on private blockchains. J. Commun. Netw. 2019, 21, 503–508. [Google Scholar] [CrossRef]
- Gong, S.; Tcydenova, E.; Jo, J.; Lee, Y.; Park, J.H. Blockchain-Based Secure Device Management Framework for an Internet of Things Network in a Smart City. Sustainability 2019, 11, 3889. [Google Scholar] [CrossRef] [Green Version]
- Pieroni, A.; Scarpato, N.; Di Nunzio, L.; Fallucchi, F.; Raso, M. Smarter City: Smart Energy Grid based on Blockchain Technology. Int. J. Adv. Sci. Eng. Inf. Technol. 2018, 8, 298–306. [Google Scholar] [CrossRef]
- Khalid, R.; Javaid, N.; Almogren, A.; Javed, M.U.; Javaid, S.; Zuair, M. A Blockchain-Based Load Balancing in Decentralized Hybrid P2P Energy Trading Market in Smart Grid. IEEE Access 2020, 8, 47047–47062. [Google Scholar] [CrossRef]
- Iyer, V.; Shah, K.; Rane, S.; Shankarmani, R. Decentralised Peer-to-Peer Crop Insurance. In Proceedings of the 3rd ACM International Symposium on Blockchain and Secure Critical Infrastructure (ASIA CCS 2021), Hong Kong, China, 7 June 2021; pp. 3–12. [Google Scholar] [CrossRef]
- Nguyen, T.Q.; Das, A.K.; Tran, L.T. NEO Smart Contract for Drought-Based Insurance. In Proceedings of the 2019 IEEE Canadian Conference of Electrical and Computer Engineering (CCECE), Edmonton, AB, Canada, 5–8 May 2019; pp. 1–4. [Google Scholar]
- Oham, C.; Jurdak, R.; Kanhere, S.S.; Dorri, A.; Jha, S. B-FICA: BlockChain based Framework for Auto-Insurance Claim and Adjudication. In Proceedings of the 2018 IEEE International Conference on Internet of Things (iThings) and IEEE Green Computing and Communications (GreenCom) and IEEE Cyber, Physical and Social Computing (CPSCom) and IEEE Smart Data (SmartData), Halifax, NS, Canada, 30 July–3 August 2018; pp. 1–10. [Google Scholar]
- Demir, M.; Turetken, O.; Ferworn, A. Blockchain Based Transparent Vehicle Insurance Management. In Proceedings of the 2019 Sixth International Conference on Software Defined Systems (SDS), Rome, Italy, 10–13 June 2019; pp. 213–220. [Google Scholar]
- Wright, C.S. Bitcoin: A Peer-to-Peer Electronic Cash System. SSRN J. 2008, 1–9. [Google Scholar] [CrossRef]
- Szabo, N. Smart contracts: Building blocks for digital markets. EXTROPY J. Transhumanist Thought 1996, 8, 50–53, 61–63. [Google Scholar]
- Gilcrest, J.; Carvalho, A. Smart Contracts: Legal Considerations. In Proceedings of the 2018 IEEE International Conference on Big Data (Big Data), Seattle, WA, USA, 10–13 December 2018; pp. 3277–3281. [Google Scholar]
- Zhou, E.; Sun, H.; Pi, B.; Sun, J.; Yamashita, K.; Nomura, Y. Ledgerdata Refiner: A Powerful Ledger Data Query Platform for Hyperledger Fabric. In Proceedings of the 2019 Sixth International Conference on Internet of Things: Systems, Management and Security (IOTSMS), Granada, Spain, 22–25 October 2019; pp. 433–440. [Google Scholar] [CrossRef] [Green Version]
- Hyperledger—Open Source Blockchain Technologies. Available online: https://www.hyperledger.org/ (accessed on 20 February 2022).
- Tahir, J.; Javaid, N. Smart Ambulance: Blockchain Technology in Health-Care for Emergency Patients. Available online: https://www.researchgate.net/profile/Nadeem_Javaid/publication/334696607_Smart_Ambulance_Blockchain_technology_in_health-care_for_emergency_patients/links/5d3aa87a299bf1995b4b0ed4/Smart-Ambulance-Blockchain-technology-in-health-care-for-emergency-patients (accessed on 10 March 2022).
- Gosavi, A. Tutorial for Use of Basic Queueing Formulas; Department of Engineering Management and Systems Engineering, Missouri University of Science and Technology: Rolla, MO, USA, 2020; Available online: https://web.mst.edu/~gosavia/queuing_formulas.pdf (accessed on 21 January 2022).
- Jayeshkumar, J. Patel, Analysis Of The Sales Checkout Operation in Big Bazar Using Queuing Simulation. Planetary Scientific Research Centre Conference 2012, Phuket (Thailand). 2012. Available online: https://authorzilla.com/1qqOO/analysis-of-the-sales-checkout-operation-in-big-bazar-using.html (accessed on 15 February 2022).
- Memon, R.A.; Li, J.; Ahmed, J.; Khan, A.; Nazir, M.I.; Mangrio, M.I. Modeling of blockchain-based systems using queuing theory simulation. In Proceedings of the 2018 15th International Computer Conference on Wavelet Active Media Technology and Information Processing (ICCWAMTIP), Chengdu, China, 14–16 December 2018; pp. 107–111. [Google Scholar]
- Yang, Z.; Yang, K.; Lei, L.; Zheng, K.; Leung, V.C.M. Blockchain-Based Decentralised Trust Management in Vehicular Networks. IEEE Internet Things J. 2018, 6, 1495–1505. [Google Scholar] [CrossRef]
Symbols | Abbreviations |
---|---|
Utilisation of PES department | |
Arrival time of PES requests at PES department | |
Service rate of PES department | |
Service queue length of PES department | |
Probability of idleness of PES department | |
Number of PES departments | |
Number of smart homes | |
Number of IoT controllers | |
Sub-area of smart home | |
Sub-area of PES department | |
Distance between smart home and PES department | |
Reaching time for PES department to smart home | |
Reputation value for PES department generated from smart home | |
Expected reaching time for PES department to smart home | |
Time duration consumed by department to reach smart home | |
Positive reputation value for PES department obtained from smart home | |
Negative reputation value for PES department obtained from smart home | |
Negative reputation value for PES department |
Parameters | Value |
---|---|
Sub-areas in a smart city | 7 |
Smart homes in each sub-area | 50 |
IoT Controllers | 7 |
Service Controller | 1 |
PES departments | 7 |
PES provider in each PES department | 10 |
Maximum service queue length of each PES department | 10 |
0.5 | |
0.014 | |
60 °C, 120 ppm, 65% | |
Distance between thesmart home andPES department | 5 to 50 km |
Time durationforPES department in high traffic to reach smart home | 15 to 30 min |
Time interval T | 24 h |
Average speedofPES department | 50 to 60 km/h |
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2022 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Bhawana; Kumar, S.; Rathore, R.S.; Mahmud, M.; Kaiwartya, O.; Lloret, J. BEST—Blockchain-Enabled Secure and Trusted Public Emergency Services for Smart Cities Environment. Sensors 2022, 22, 5733. https://doi.org/10.3390/s22155733
Bhawana, Kumar S, Rathore RS, Mahmud M, Kaiwartya O, Lloret J. BEST—Blockchain-Enabled Secure and Trusted Public Emergency Services for Smart Cities Environment. Sensors. 2022; 22(15):5733. https://doi.org/10.3390/s22155733
Chicago/Turabian StyleBhawana, Sushil Kumar, Rajkumar Singh Rathore, Mufti Mahmud, Omprakash Kaiwartya, and Jaime Lloret. 2022. "BEST—Blockchain-Enabled Secure and Trusted Public Emergency Services for Smart Cities Environment" Sensors 22, no. 15: 5733. https://doi.org/10.3390/s22155733
APA StyleBhawana, Kumar, S., Rathore, R. S., Mahmud, M., Kaiwartya, O., & Lloret, J. (2022). BEST—Blockchain-Enabled Secure and Trusted Public Emergency Services for Smart Cities Environment. Sensors, 22(15), 5733. https://doi.org/10.3390/s22155733