Abstract
Over the last decade, smart sensors known as Things are used to collect data from resources to provide real-time services that could be crucial by systems. These sensors are connected to the Internet for efficient data dissemination from anywhere and anytime so that it is called Internet of Things (IoT). Data can be processed in Cloud Computing (CC) for analysis and comparison. To reduce the latency of retrieving data from sensitive applications, Fog Computing (FC) plays a vital role. However, these technologies IoT, CC, and FC are a single point of failure which the systems may fail suddenly. On the other hand, traffic from Things has been increasing in the last few years. Due to a lot of patients suffer from a lack of medical services capabilities, IoT aids healthcare systems to improve the quality of life. However, IoT has several limitations and vulnerable to security threats. Blockchain technology enhances IoT challenges in a peer-to-peer network in terms of security and availability. This chapter proposes IoT based blockchain architecture, including five layers: Things, gateway, Fog, Cloud, and application for healthcare to enhance data sharing in a decentralized manner using Ethereum platform. Smart contract is programmed using Solidity to allow Things to communicate between each other automatically without intermediary and to store data in public/private blockchain. Three consensus algorithms, namely: Proof of Work (PoW), Proof of Stake (PoS), and Proof of Authority (PoA), are compared and evaluated of the proposed architecture in terms of CPU utilization, memory usage, and cost. PoA is most lightweight and suitable for IoT application due to energy-saving and its election process.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
E. de Matos, R. T. Tiburski, C. R. Moratelli, S. Johann Filho, L. A. Amaral, G. Ramachandran, B. Krishnamachari, and F. Hessel, “Context information sharing for the Internet of Things: A survey”, Computer Networks, vol. 166, p. 106988, 2020. https://doi.org/10.1016/j.comnet.2019.106988
P. Escamilla-Ambrosio, A. Rodríguez-Mota, E. Aguirre-Anaya, R. Acosta-Bermejo, M. Salinas-Rosales, Distributing computing in the internet of things: cloud, fog and edge computing overview. NEO 2016, 87–115 (2017). https://doi.org/10.1007/978-3-319-64063-1_4
M. Ferrag, M. Derdour, M. Mukherjee, A. Derhab, L. Maglaras, H. Janicke, Blockchain technologies for the internet of things: research issues and challenges. IEEE Internet Things J. 6(2), 2188–2204 (2019). https://doi.org/10.1109/jiot.2018.2882794
L. Tseng, L. Wong, S. Otoum, M. Aloqaily, J. Othman, Blockchain for managing heterogeneous internet of things: a perspective architecture. IEEE Netw. 34(1), 16–23 (2020). https://doi.org/10.1109/mnet.001.1900103
A. Rejeb, J. Keogh, H. Treiblmaier, Leveraging the internet of things and blockchain technology in supply chain management. Future Internet 11(7), 161 (2019). https://doi.org/10.3390/fi11070161
O. Novo, Blockchain meets IoT: an architecture for scalable access management in IoT. IEEE Internet Things J. 5(2), 1184–1195 (2018). https://doi.org/10.1109/jiot.2018.2812239
H. Dai, Z. Zheng, Y. Zhang, Blockchain for internet of things: a survey. IEEE Internet Things J. 6, 8076–8094 (2019). https://doi.org/10.1109/JIOT.2019.2920987
Y. Zhang, S. Kasahara, Y. Shen, X. Jiang, J. Wan, Smart contract-based access control for the internet of things. IEEE Internet Things J. 6(2), 1594–1605 (2019). https://doi.org/10.1109/jiot.2018.2847705
L. Gao, Building of smart home medical system based on internet of things. Internet Things Cloud Comput. 4(3), 34 (2016). https://doi.org/10.11648/j.iotcc.20160403.14
Jrbedard, What is wei?, http://forum.ethereum.org/discussion/304/ what-is-wei. Last accessed 2020/8/6
H.D. Zubaydi, Y.-W. Chong, K. Ko, S.M. Hanshi, S. Karuppayah, A review on the role of blockchain technology in the healthcare domain. Electronics 8(6), 679 (2019). https://doi.org/10.3390/electronics8060679
C. Natoli, J. Yu, V. Gramoli, P. Esteves-Verissimo, Deconstructing Blockchains: A Comprehensive Survey on Consensus, Membership and Structure. ArXiv. DOI: abs/1908.08316 (2019)
P. Cui, U. Guin, A. Skjellum, D. Umphress, Blockchain in IoT: current trends, challenges, and future roadmap. J. Hardware Syst. Secur. 3(4), 338–364 (2019). https://doi.org/10.1007/s41635-019-00079-5
V. Buterin, On Stake, https://blog.ethereum.org/2014/07/05/stake/. Last accessed 2020/8/6
F. Saleh, Blockchain without waste: proof-of-stake. SSRN Electron. J. (2018). https://doi.org/10.2139/ssrn.3183935
T. Ali Syed, A. Alzahrani, S. Jan, M. Siddiqui, A. Nadeem, T. Alghamdi, A comparative analysis of blockchain architecture and its applications: problems and recommendations. IEEE Access 7, 176838–176869 (2019) https://doi.org/10.1109/access.2019.2957660
Y. Xiao, N. Zhang, W. Lou, Y. Hou, A survey of distributed consensus protocols for blockchain networks. IEEE Commun. Surv. Tutorials 22(2), 1432–1465 (2020). https://doi.org/10.1109/comst.2020.2969706
J. Hathaliya, P. Sharma, S. Tanwar, R. Gupta, Blockchain-based remote patient monitoring in healthcare 4.0, in 2019 IEEE 9th International Conference on Advanced Computing (IACC) (2019). https://doi.org/10.1109/iacc48062.2019.8971593
A. Omar, M. Bhuiyan, A. Basu, S. Kiyomoto, M. Rahman, Privacy-friendly platform for healthcare data in cloud based on blockchain environment. Future Gener. Comput. Syst. 95, 511–521 (2019). https://doi.org/10.1016/j.future.2018.12.044
A. Azaria, A. Ekblaw, T. Vieira, A. Lippman, MedRec: using blockchain for medical data access and permission management, in 2016 2nd International Conference on Open and Big Data (OBD) (2016). https://doi.org/10.1109/obd.2016.11
Q. Xia, E. Sifah, K. Asamoah, J. Gao, X. Du, M. Guizani, MeDShare: trust-less medical data sharing among cloud service providers via blockchain. IEEE Access 5, 14757–14767 (2017). https://doi.org/10.1109/access.2017.2730843
X. Liang, J. Zhao, S. Shetty, J. Liu, D. Li, Integrating blockchain for data sharing and collaboration in mobile healthcare applications, in 2017 IEEE 28th Annual International Symposium on Personal, Indoor, and Mobile Radio Communications (PIMRC) (2017). https://doi.org/10.1109/pimrc.2017.8292361
K. Griggs, O. Ossipova, C. Kohlios, A. Baccarini, E. Howson, T. Hayajneh, Healthcare blockchain system using smart contracts for secure automated remote patient monitoring. J. Med. Syst. 42(7) (2018). https://doi.org/10.1007/s10916-018-0982-x
K. Azbeg, O. Ouchetto, S. Andaloussi, L. Fetjah, A. Sekkaki, Blockchain and IoT for security and privacy: a platform for diabetes self-management, in 2018 4th International Conference on Cloud Computing Technologies and Applications (Cloudtech) (2018). https://doi.org/10.1109/cloudtech.2018.8713343
A. Khatoon, A blockchain-based smart contract system for healthcare management. Electronics 9(1), 94 (2020). https://doi.org/10.3390/electronics9010094
A. Celesti, A. Ruggeri, M. Fazio, A. Galletta, M. Villari, A. Romano, Blockchain-based healthcare workflow for tele-medical laboratory in federated hospital IoT clouds. Sensors 20(9), 2590 (2020). https://doi.org/10.3390/s20092590
Workstation Pro-VMware Products: Windows Virtualization for Everyone, https://www.vmware.com/products/workstation-pro.html. Last accessed 2020/8/6
ethereum/go-ethereum, https://github.com/ethereum/go-ethereum. Last accessed 2020/8/6
Sweet Tools for Smart Contracts|Truffle Suite, https://www.trufflesuite.com/. Last accessed 2020/8/6
Ganache|Truffle Suite, https://www.trufflesuite.com/ganache. Last accessed 2020/8/6
Ethereum API|IPFS API Gateway|ETH Nodes as a Service|Infura, https://infura.io/. Last accessed 2020/8/6
MetaMask, https://metamask.io/. Last accessed 2020/8/6
Remix—Ethereum IDE, https://remix.ethereum.org/. Last accessed 2020/8/6
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2021 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this chapter
Cite this chapter
Al-Joboury, I.M., Al-Hemiary, E.H. (2021). Automated Decentralized IoT Based Blockchain Using Ethereum Smart Contract for Healthcare. In: Marques, G., Kumar Bhoi, A., de la Torre Díez, I., Garcia-Zapirain, B. (eds) Enhanced Telemedicine and e-Health. Studies in Fuzziness and Soft Computing, vol 410. Springer, Cham. https://doi.org/10.1007/978-3-030-70111-6_9
Download citation
DOI: https://doi.org/10.1007/978-3-030-70111-6_9
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-70110-9
Online ISBN: 978-3-030-70111-6
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)