Blockchain Based Smart Contracts for Internet of Medical Things in e-Healthcare
Abstract
:1. Introduction
- Why use Blockchain-based smart contracts for IoMT applications?
- What is the novel way to transition to such system with respect to IoMT infrastructure?
- How will the front-end of the application maintain the data and process requests without compromising security?
- How to handle heterogeneity of devices and data before it is sent to smart contracts?
- How to balance the centralization and decentralization aspects of IoMT application with respect to the demands?
Organization
2. Literature Review
3. Proposed Architecture
- There are two types of models that can be used to implement smart contracts. One is a transaction based model whereby the prime focus is on executing transactions to which variables are fed as input. The second one is an account based model where the smart contract itself has an account and can take custody of the assets it is dealing with on the Blockchain.
- All possible outcomes of the smart contract should be properly coded so that it becomes full proof and also avoids the possibility of falling into a hung state.
- A smart contract has to be deterministic, i.e., it should always reach the same output given the same set of inputs.
- Every node has the ability to crosscheck the transactions and the state of the system, which leads us to maintain consistency in the system.
- Any code or transaction once executed cannot be reverted; however, we can make the changes by executing more code. This maintains a state of security in the system as it becomes tamper-proof and thus makes the overall chain more secure.
- The transactions are signed messages, which let others know about who did what at what point of time.
Working of Blockchain Based Smart Contracts for IoMT in e-Healthcare
Algorithm 1: for Blockchain-based smart contracts for IoMT in e-healthcare |
|
Begin { |
|
} End |
4. Results and Discussion
4.1. Average Packet Delivery Ratio (Throughput)
4.2. Average Latency
4.3. Average Energy Efficiency
5. Conclusions
6. Future Direction and Integration of Other Technologies
Author Contributions
Funding
Conflicts of Interest
References
- Satoshi, N.; Nakamoto, S. Bitcoin: A Peer-to-Peer Electronic cash system. Bitcoin 2008, 9. Available online: https://bitcoin.org/bitcoin (accessed on 24 February 2020).
- Ahram, T.; Sargolzaei, A.; Sargolzaei, S.; Daniels, J.; Amaba, B. Blockchain technology innovations. In Proceedings of the 2017 IEEE Technology & Engineering Management Conference (TEMSCON), Santa Clara, CA, USA, 8–10 June 2017; pp. 137–141. [Google Scholar]
- Wang, S.; Ouyang, L.; Yuan, Y.; Ni, X.; Han, X.; Wang, F.Y. Blockchain-Enabled Smart Contracts: Architecture, Applications, and Future Trends. IEEE Trans. Syst. Man Cybern. Syst. 2019, 49, 2266–2277. [Google Scholar] [CrossRef]
- Restuccia, F.; Kanhere, S.D.; Melodia, T.; Das, S.K. Blockchain for the Internet of Things: Present and Future. arXiv 2019, arXiv:1903.07448. [Google Scholar]
- Zheng, Z.; Xie, S.; Dai, H.; Chen, X.; Wang, H. An Overview of Blockchain Technology: Architecture, Consensus, and Future Trends. In Proceedings of the 2017 IEEE 6th International Congress on Big Data (BigData Congress), Honolulu, HI, USA, 25–30 June 2017; pp. 557–564. [Google Scholar]
- Schuh, F.; Larimer, D. Bitshares 2.0: General Overview. Cryptonomex 2017, 3268, 16. Available online: http://docs.bitshares.org/downloads/bitshares-general (accessed on 24 February 2020).
- Szabo, N. Smart contracts: Building blocks for digital markets. EXTROPY J. Transhumanist Thought 1996, 18. Available online: http://www.fon.hum.uva.nl/rob/Courses/InformationInSpeech/CDROM/Literature/LOTwinterschool2006/szabo.best.vwh.net/smart_contracts_2 (accessed on 24 February 2020).
- Salimitari, M.; Chatterjee, M. An Overview of Blockchain and Consensus Protocols for IoT Networks. arXiv 2018, arXiv:1809.05613. [Google Scholar]
- Alphand, O.; Amoretti, M.; Claeys, T.; Dall’Asta, S.; Duda, A.; Ferrari, G.; Rousseau, F.; Tourancheau, B.; Veltri, L.; Zanichelli, F. To cite this version: HAL Id: Hal-01705455. IoTChain: A Blockchain Security Architecture for the Internet of Things. In Proceedings of the 2018 IEEE Wireless Communications and Networking Conference (WCNC), Barcelona, Spain, 15–18 April 2018; pp. 1–7. [Google Scholar]
- Umeh, J. Blockchain Double Bubble or Double Trouble? ITNOW. Available online: https://academic.oup.com/itnow/article/58/1/58/2392029 (accessed on 15 January 2020).
- Huh, S.; Cho, S.; Kim, S. Managing IoT Devices using Blockchain Platform. In Proceedings of the 2017 19th International Conference on Advanced Communication Technology (ICACT), Bongpyeong, Korea, 19–22 February 2017; pp. 464–467. [Google Scholar]
- Founder, G.W.; Gavin, E. Ethereum: A secure decentralised generalised transaction ledger. Ethereum Proj. Yellow Pap. 2014, 151, 1–32. [Google Scholar]
- Gatteschi, V.; Lamberti, F.; Demartini, C.; Pranteda, C.; Santamaría, V. Blockchain and smart contracts for insurance: Is the technology mature enough? Future Internet 2018, 10, 20. [Google Scholar] [CrossRef] [Green Version]
- Atlam, H.F.; Alenezi, A.; Alassafi, M.O.; Wills, G.B. Blockchain with Internet of Things: Benefits, Challenges, and Future Directions. Int. J. Intell. Syst. Appl. 2018, 10, 40–48. [Google Scholar] [CrossRef]
- Reyna, A.; Martín, C.; Chen, J.; Soler, E.; Díaz, M. On blockchain and its integration with IoT. Challenges and opportunities. Future Gener. Comput. Syst. 2018, 88, 173–190. [Google Scholar] [CrossRef]
- Singh, D.; Jara, A.J. A survey of Internet-of-Things: Future Vision, Architecture, Challenges and Services. In Proceedings of the 2014 IEEE World Forum on Internet of Things (WF-IoT), Seoul, Korea, 6–8 March 2014; pp. 287–292. [Google Scholar]
- Internet of Things Forecast–Ericsson Mobility Report. Available online: https://www.ericsson.com/en/mobility-report/internet-of-things-forecast (accessed on 2 April 2019).
- Panarello, A.; Tapas, N.; Merlino, G.; Longo, F.; Puliafito, A. Blockchain and IoT Integration: A Systematic Survey. Sensors 2018, 18, 2575. [Google Scholar] [CrossRef] [PubMed] [Green Version]
- Christidis, K.; Devetsikiotis, M. Blockchains and Smart Contracts for the Internet of Things. IEEE Access 2016, 4, 2292–2303. [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]
- Singhal, A.; Sarishma; Tomar, R. Intelligent accident management system using IoT and cloud computing. In Proceedings of the 2016 2nd International Conference on Next Generation Computing Technologies (NGCT), Dehradun, India, 14–16 October 2016; pp. 89–92. [Google Scholar]
- Pustišek, M.; Kos, A. Approaches to Front-End IoT Application Development for the Ethereum Blockchain. Procedia Comput. Sci. 2018, 129, 410–419. [Google Scholar] [CrossRef]
- Huang, Z.; Su, X.; Zhang, Y.; Shi, C.; Zhang, H.; Xie, L. A decentralized solution for IoT data trusted exchange based-on blockchain. In Proceedings of the 2017 3rd IEEE International Conference on Computer and Communications (ICCC), Chengdu, China, 13–16 December 2017; pp. 1180–1184. [Google Scholar]
- Park, J.H.; Park, J.H. SS symmetry Blockchain Security in Cloud Computing: Use Cases, Challenges, and Solutions. Symmetry 2017, 9, 164. [Google Scholar] [CrossRef] [Green Version]
- Khanna, A.; Sarishma. RAS: A novel approach for dynamic resource allocation. In Proceedings of the 2015 1st International Conference on Next Generation Computing Technologies (NGCT), Dehradun, India, 4–5 September 2015; pp. 25–29. [Google Scholar]
- Yang, R.; Yu, F.R.; Si, P.; Yang, Z.; Zhang, Y. Integrated blockchain and edge computing systems: A survey, some research issues and challenges. IEEE Commun. Surv. Tutor. 2019, 21, 1508–1532. [Google Scholar] [CrossRef]
- Bonomi, F.; Milito, R.; Zhu, J.; Addepalli, S. Fog Computing and Its Role in the Internet of Things Characterization of Fog Computing. In Proceedings of the First Edition of the MCC Workshop on Mobile Cloud Computing, Helsinki, Finland, 17 August 2012; pp. 13–15. Available online: https://cse.buffalo.edu/faculty/tkosar/cse710_spring19/bonomi-bdiot14 (accessed on 2 April 2019).
- Koo, D.; Piratla, K.; Matthews, C.J. Towards Sustainable Water Supply: Schematic Development of Big Data Collection Using Internet of Things (IoT). Procedia Eng. 2015, 118, 489–497. [Google Scholar] [CrossRef] [Green Version]
- Fotiou, N.; Siris, V.A.; Voulgaris, S.; Polyzos, G.C. Bridging the Cyber and Physical Worlds Using Blockchains and Smart Contracts. 2019. Available online: https://www.ndss-symposium.org/wp-content/uploads/diss2019_02_Fotiou_paper (accessed on 2 April 2019).
- Giungato, P.; Rana, R.; Tarabella, A.; Tricase, C. Current Trends in Sustainability of Bitcoins and Related Blockchain Technology. Sustainability 2017, 9, 2214. [Google Scholar] [CrossRef] [Green Version]
- Zhu, X.; Badr, Y. Identity Management Systems for the Internet of Things: A Survey Towards Blockchain Solutions. Sensors 2018, 18, 4215. [Google Scholar] [CrossRef] [Green Version]
- Xu, R.; Chen, Y. BlendCAC: A Smart Contract Enabled Decentralized Capability-Based Access Control Mechanism for the IoT. Computers 2018, 7, 39. [Google Scholar] [CrossRef] [Green Version]
- Chang, C.; Kuo, C.; Chen, J.; Wang, T. Design and Implementation of an IoT Access Point for Smart Home. Appl. Sci. 2015, 5, 1882–1903. [Google Scholar] [CrossRef]
- Kshetri, N. Can blockchain strengthen the internet of things? IT Prof. 2017, 19, 68–72. [Google Scholar] [CrossRef] [Green Version]
- Liu, B.; Yu, X.L.; Chen, S.; Xu, X.; Zhu, L. Blockchain based Data Integrity Service Framework for IoT data. In Proceedings of the 2017 IEEE International Conference on Web Services (ICWS), Honolulu, HI, USA, 25–30 June 2017. [Google Scholar]
- Tzafestas, S.G.; Porter, J.; Coraggio, G. Ethics and Law in the Internet of Things World. Smart Cities 2018, 1, 6. [Google Scholar] [CrossRef] [Green Version]
- Ferrag, M.A.; Derdour, M.; Mukherjee, M.; Derhab, A. Blockchain Technologies for the Internet of Things: Research Issues and Challenges. IEEE Internet Things J. 2018, 6, 2188–2204. [Google Scholar] [CrossRef] [Green Version]
- Lin, J.; Shen, Z.; Miao, C. Using Blockchain Technology to Build Trust in Sharing LoRaWAN IoT. In Proceedings of the 2nd International Conference on Crowd Science and Engineering, Beijing, China, 6–9 July 2017; pp. 1–6. [Google Scholar]
- Rachkidi, E.; Agoulmine, N.; Taher, N.C.; Background, A. Towards Using Blockchain Technology for IoT data access protection. In Proceedings of the 2017 IEEE 17th International Conference on Ubiquitous Wireless Broadband (ICUWB), Salamanca, Spain, 12–15 September 2017. [Google Scholar]
- Ouaddah, A.; Elkalam, A.A.; Ouahman, A.A. Towards a Novel Privacy-Preserving Access Control Model Based on Blockchain Technology in IoT. In Europe and MENA Cooperation Advances in Information and Communication Technologies; Springer: Cham, Switzerland, 2017; pp. 523–533. [Google Scholar]
- Sun, Y.; Zhang, L.; Member, S.; Feng, G.; Member, S.; Yang, B. Blockchain-enabled Wireless Internet of Things: Performance Analysis and Optimal Communication Node Deployment. IEEE Internet Things J. 2019, 6, 5791–5802. [Google Scholar] [CrossRef] [Green Version]
- Polyzos, G.C.; Fotiou, N. Blockchain-assisted Information Distribution for the Internet of Things. In Proceedings of the 2017 IEEE International Conference on Information Reuse and Integration (IRI), San Diego, CA, USA, 4–6 August 2017; pp. 75–78. [Google Scholar]
- Moin, S.; Karim, A.; Safdar, Z.; Safdar, K.; Ahmed, E.; Imran, M. Securing IoTs in distributed blockchain: Analysis, requirements and open issues Abstract. Future Gener. Comput. Syst. 2019, 100, 325–343. [Google Scholar] [CrossRef]
- Swan, M. Blockchain Temporality: Smart Contract Time Speci fi ability with Blocktime. In International Symposium on Rules and Rule Markup Languages for the Semantic Web; Springer: Cham, Switzerland, 2016; pp. 184–196. [Google Scholar]
- Atzori, M. Blockchain technology and decentralized governance: Is the state still necessary? SSRN 2017, 6, 45–62. Available online: https://papers.ssrn.com/sol3/papers.cfm?abstract_id=2709713 (accessed on 24 February 2020). [CrossRef]
- Hsu, I.Y.Y.; Wódczak, M.; White, R.G.; Zhang, T.; Hsing, T.R. Challenges, approaches, and solutions in intelligent transportation systems. In Proceedings of the 2010 Second International Conference on Ubiquitous and Future Networks (ICUFN), Jeju, Korea, 16–18 June 2010; pp. 366–371. [Google Scholar]
- Sharma, P.K.; Moon, S.Y.; Park, J.H. Block-VN: A distributed blockchain based vehicular network architecture in smart city. J. Inf. Process. Syst. 2017, 13, 184–195. [Google Scholar]
- Lu, Z.; Wang, Q.; Qu, G.; Liu, Z. BARS: A Blockchain-Based Anonymous Reputation System for Trust Management in VANETs. In Proceedings of the 2018 17th IEEE International Conference on Trust, Security And Privacy in Computing and Communications/12th IEEE International Conference on Big Data Science And Engineering (TrustCom/BigDataSE), New York, NY, USA, 1–3 August 2018; pp. 98–103. [Google Scholar]
- Misbahuddin, S.; Zubairi, J.A.; Saggaf, A.; Basuni, J.; Sulaiman, A.; Al-Sofi, A. IoT Based Dynamic Road Traffic Management for Smart Cities. In Proceedings of the 2015 12th International Conference on High-capacity Optical Networks and Enabling/Emerging Technologies (HONET), Islamabad, Pakistan, 21–23 December 2015; pp. 142–146. [Google Scholar]
- Li, Y. An Integrated Platform for the Internet of Things Based on an Open Source Ecosystem. Future Internet 2018, 10, 105. [Google Scholar] [CrossRef] [Green Version]
- Lin, Y.; Petway, J.R.; Anthony, J.; Mukhtar, H.; Liao, S. Blockchain: The Evolutionary Next Step for ICT e-agriculture. Environments 2017, 4, 50. [Google Scholar] [CrossRef]
- Zhou, J.; Leppänen, T.; Harjula, E.; Yu, C.; Jin, H.; Yang, L.T. CloudThings: A Common Architecture for Integrating the Internet of Things with Cloud Computing. In Proceedings of the 2013 IEEE 17th International Conference on Computer Supported Cooperative Work in Design (CSCWD), Whistler, BC, Canada, 27–29 June 2013; pp. 651–6573. [Google Scholar]
- Ren, Q.; Man, K.L.; Li, M.; Gao, B. Using Blockchain to Enhance and Optimize IoT-based Intelligent Traffic System. In Proceedings of the 2019 International Conference on Platform Technology and Service (PlatCon), Jeju, Korea, 28–30 January 2019; pp. 1–4. [Google Scholar]
- Talari, S.; Shafie-Khah, M.; Siano, P.; Loia, V.; Tommasetti, A.; Catalão, J.P. A Review of Smart Cities Based on the Internet of things concept. Energies 2017, 10, 421. [Google Scholar] [CrossRef] [Green Version]
- Ganchev, I.; Ji, Z. A Generic IoT Architecture for Smart Cities. 2014. Available online: https://www.semanticscholar.org/paper/A-generic-IoT-architecture-for-smart-cities-Ganchev-Ji/b720fb72af9b729de523a5db36d1e915db339741 (accessed on 24 February 2020).
- Fernández-Caramés, T.M.; Fraga-Lamas, P. Towards The Internet of Smart Clothing: A Review on IoT Wearables and Garments for Creating Intelligent Connected e-Textiles. Electronics 2018, 7, 405. [Google Scholar] [CrossRef] [Green Version]
- Singh, S.; Ra, I.; Meng, W.; Kaur, M. SH-BlockCC: A secure and efficient Internet of things smart home architecture based on cloud computing and blockchain technology. Int. J. Distrib. Sens. Netw. 2019, 15, 1550147719844159. [Google Scholar] [CrossRef]
- Qi, R.; Feng, C.; Liu, Z.; Mrad, N. Blockchain-Powered Internet of Things e-Governance and e-Democracy; Springer: Singapore, 2017; pp. 509–520. [Google Scholar]
- Wang, B.; Sun, J.; He, Y.; Pang, D.; Lu, N. Large-scale Election Based On Blockchain. Procedia Comput. Sci. 2018, 129, 234–237. [Google Scholar] [CrossRef]
- Laplante, P.A.; Amaba, B. Blockchain and the Internet of Things in the Industrial Sector. IT Prof. 2018, 20, 15–18. [Google Scholar] [CrossRef]
- Dobrovnik, M.; Herold, D.M.; Kummer, S. Blockchain for and in Logistics: What to Adopt and Where to Start. Logistics 2018, 2, 18. [Google Scholar] [CrossRef] [Green Version]
- Betti, Q.; Khoury, R.; Hallé, S.; Montreuil, B. Improving Hyperconnected Logistics with Blockchains and Smart Contracts. IT Prof. 2019, 21, 25–32. [Google Scholar] [CrossRef] [Green Version]
- Sharma, A.; Rathee, G.; Kumar, R.; Saini, H.; Varadarajan, V.; Nam, Y.; Chilamkurti, N. A Secure, Energy-and SLA-Efficient (SESE) E-Healthcare Framework for Quickest Data Transmission Using Cyber-Physical System. Sensors 2019, 19, 2119. [Google Scholar] [CrossRef] [Green Version]
Features | Iot Based Smart Contracts | Blockchain |
---|---|---|
Network structure | Demands centralization | Demands decentralization |
Transparency | Low, depends on the accessibility defined in the contract for individual classes of nodes | High in most of the cases, but can be restricted to application level |
Cost | High as constant mediation is needed depending upon states of data | Low as it is self-executing and independent in nature |
Security | Less secure, can be easily tampered | Very secure and tamper-proof |
Scalability | Low, needs intervention and is expensive | Highly scalable as anyone can join anytime |
Resource consumption | Low for data communication, high for sensing | High for communication and processing |
Bandwidth consumption | Nodes have limited bandwidth | Demands high bandwidth amongst decision making nodes |
Latency | Demands lower latency | Needs time for information processing, validating and mining |
Sr. No. | List of Network Attributes | Attribute Values |
---|---|---|
1 | Total nodes (blocks) | 100, 200 and 300 |
2 | Total links (chains) formulated | 4600, 18,500 and 41,500 |
3 | Network size | 1000 m × 1000 m |
4 | Information traffic | 1024 bits |
5 | Simulation time | 120 s |
6 | Energy associated with nodes (blocks) | 10 |
Network with Different Nodes (Blocks) | Malicious Nodes (Blocks) | Miner Nodes (Blocks) |
---|---|---|
100 | 5 | 10 |
200 | 25 | 50 |
500 | 50 | 100 |
© 2020 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 (http://creativecommons.org/licenses/by/4.0/).
Share and Cite
Sharma, A.; Sarishma; Tomar, R.; Chilamkurti, N.; Kim, B.-G. Blockchain Based Smart Contracts for Internet of Medical Things in e-Healthcare. Electronics 2020, 9, 1609. https://doi.org/10.3390/electronics9101609
Sharma A, Sarishma, Tomar R, Chilamkurti N, Kim B-G. Blockchain Based Smart Contracts for Internet of Medical Things in e-Healthcare. Electronics. 2020; 9(10):1609. https://doi.org/10.3390/electronics9101609
Chicago/Turabian StyleSharma, Ashutosh, Sarishma, Ravi Tomar, Naveen Chilamkurti, and Byung-Gyu Kim. 2020. "Blockchain Based Smart Contracts for Internet of Medical Things in e-Healthcare" Electronics 9, no. 10: 1609. https://doi.org/10.3390/electronics9101609
APA StyleSharma, A., Sarishma, Tomar, R., Chilamkurti, N., & Kim, B. -G. (2020). Blockchain Based Smart Contracts for Internet of Medical Things in e-Healthcare. Electronics, 9(10), 1609. https://doi.org/10.3390/electronics9101609