Abstract
Internet of Things (IoT) is a rapidly expanding technology composed of devices embedded with sensors, specialized hardware, and software to connect with other devices and servers on the internet. With this rapid expansion, it faces some major hurdles in data secrecy, privacy, and device integrity, and perhaps, in general, digital identity has been a major problem on the internet. The World Wide Web Consortium (W3C) has provided a standardized format through which one can specify his identity called Decentralised Identifiers (DIDs). Blockchain technology, alongside decentralized identifiers and public-key cryptography, offers a peer-to-peer identity and credential management model through self-sovereign identity. Combining the decentralized identity and blockchains provides us with verifiable credentials through which one can verify the identities of transacting peers by decentralized registration and discovery of public keys needed to verify digital signatures. This combined framework is trusted, permissioned, supports device registration and verification along with revocation of device credentials, is secure, respects the privacy of the participating nodes, and maintains the integrity of their data. With several new communication protocols being developed for IoT and leveraging the Blockchain protocols in the domain of IoT, this paper quantitatively compares the performance of the well-known IoT communication protocols such as CoAP, MQTT, and DIDComm in real-time testbed on various parameters, and the results are tabulated. Device data has also been replicated across multiple peers using decentralized storage such as InterPlanetary File System (IPFS).
Similar content being viewed by others
Data availability
The datasets generated during and/or analysed during the current study are available in the benchmarks repository on GitHub at https://github.com/prakharsr/benchmarks.
Code availability
All code used and written during this study is included in this article and is available at https://github.com/prakharsr/hyperledger-aries-iot.
References
Sober, M., Sigwart, M., Frauenthaler, P., Spanring, C., Kobelt, M., Schulte, S.: Decentralized cross-blockchain asset transfers with transfer confirmation. Clust. Comput. (2022). https://doi.org/10.1007/s10586-022-03737-6
Alfandi, O., Khanji, S., Ahmad, L., Khattak, A.: A survey on boosting IoT security and privacy through blockchain. Clust. Comput. 24(1), 37–55 (2021)
Niranjanamurthy, M., Nithya, B., Jagannatha, S.: Analysis of blockchain technology: pros, cons and SWOT. Clust. Comput. 22(6), 14743–14757 (2019)
Mathew, S.S., Hayawi, K., Dawit, N.A., Taleb, I., Trabelsi, Z.: Integration of blockchain and collaborative intrusion detection for secure data transactions in industrial IoT: a survey. Clust. Comput. 25, 4129–4149 (2022)
Shafay, M., Ahmad, R.W., Salah, K., Yaqoob, I., Jayaraman, R., Omar, M.: Blockchain for deep learning: review and open challenges. Clust. Comput. (2022). https://doi.org/10.1007/s10586-022-03582-7
Zarrin, J., Wen Phang, H., Babu Saheer, L., Zarrin, B.: Blockchain for decentralization of internet: prospects, trends, and challenges. Clust. Comput. 24(4), 2841–2866 (2021)
Makani, S., Pittala, R., Alsayed, E., Aloqaily, M., Jararweh, Y.: A survey of blockchain applications in sustainable and smart cities. Clust. Comput. 25, 3915–3936 (2022)
Li, D., Luo, Z., Cao, B.: Blockchain-based federated learning methodologies in smart environments. Clust. Comput. 25(4), 2585–2599 (2022)
Novo, O.: Blockchain meets IoT: an architecture for scalable access management in IoT. IEEE Internet Things J. 5(2), 1184–1195 (2018)
Qu, C., Tao, M., Zhang, J., Hong, X., Yuan, R.: Blockchain based credibility verification method for IoT entities. Secur. Commun. Netw. (2018). https://doi.org/10.1155/2018/7817614
Guin, U., Cui, P., Skjellum, A.: Ensuring proof-of-authenticity of IoT edge devices using blockchain technology. In: 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), vol. 2018, pp. 1042–1049. IEEE (2018)
Makhdoom, I., Abolhasan, M., Ni, W.: Blockchain for IoT: the challenges and a way forward. In: ICETE 2018-Proceedings of the 15th International Joint Conference on e-Business and Telecommunications (2018)
Klaokliang, N., Teawtim, P., Aimtongkham, P., So-In, C., Niruntasukrat, A.: A novel IoT authorization architecture on hyperledger fabric with optimal consensus using genetic algorithm. In: Seventh ICT International Student Project Conference (ICT-ISPC), vol. 2018, pp. 1–5. IEEE (2018)
Miller, A.: Grid+ whitepaper. https://whitepaper.io/document/269/grid-whitepaper/download (2017). Accessed Dec 2022
Lee, Y., Rathore, S., Park, J.H., Park, J.H.: A blockchain-based smart home gateway architecture for preventing data forgery. Hum.-centric. Comput. Inf. Sci. 10(1), 1–14 (2020)
Ansey, R., Kempf, J., Berzin, O., Xi, C., Sheikh, I.: Gnomon: decentralized identifiers for securing 5G IoT device registration and software update. In: IEEE Globecom Workshops (GC Wkshps), vol. 2019, pp. 1–6. IEEE (2019)
David, A.: Managing IoT data on hyperledger blockchain. Ph.D. dissertation, University of Nevada, Las Vegas (2019)
Dittmann, G., Jelitto, J.: SDK proxy: hyperledger fabric identities for lightweight IoT devices, IBM research. https://static.sched.com/hosted_files/hgf18/c4/FabricSDKProxy_IBM.pdf (2018). Accessed Dec 2022
Bandyopadhyay, S., Bhattacharyya, A.: Lightweight internet protocols for web enablement of sensors using constrained gateway devices. In: 2013 International Conference on Computing, Networking and Communications (ICNC), pp. 334–340. IEEE (2013)
Thangavel, D., Ma, X., Valera, A., Tan, H.-X., Tan, C.K.-Y.: Performance evaluation of MQTT and COAP via a common middleware. In: IEEE Ninth International Conference on Intelligent Sensors, Sensor Networks and Information Processing (ISSNIP), vol. 2014, pp. 1–6. IEEE (2014)
Chen, Y., Kunz, T.: Performance evaluation of IoT protocols under a constrained wireless access network. In: 2016 International Conference on Selected Topics in Mobile & Wireless Networking (MoWNeT), pp. 1–7. IEEE (2016)
Anusha, M., Babu, E.S., Reddy, L.S.M., Krishna, A.V., Bhagyasree, B.: Performance analysis of data protocols of internet of things: a qualitative review. Int. J. Pure Appl. Math. 115(6), 37–47 (2017)
Kayal, P., Perros, H.: A comparison of IoT application layer protocols through a smart parking implementation. In: 2017 20th Conference on Innovations in Clouds, Internet and Networks (ICIN), pp. 331–336. IEEE (2017)
Çorak, B.H., Okay, F.Y., Güzel, M., Murt, Ş, Ozdemir, S.: Comparative analysis of IoT communication protocols. In: International Symposium on Networks, Computers and Communications (ISNCC), vol. 2018, pp. 1–6. IEEE (2018)
GitHub repository containing links and code related to this research paper. https://github.com/prakharsr/hyperledger-aries-iot (2021). Accessed Dec 2022
Docker repository containing von-image for arm architecture. https://hub.docker.com/repository/docker/prakharsr/von-image-armv7l (2021). Accessed Dec 2022
Docker repository containing aries cloud agent image for arm architecture. https://hub.docker.com/repository/docker/prakharsr/aca-py-armv7l (2021). Accessed Dec 2022
IPFS cluster documentation. https://cluster.ipfs.io/documentation/ (2021). Accessed Dec 2022
GitHub repo containing benchmarking code for MQTT, COAP and hyperledger aries communication protocol. https://github.com/prakharsr/benchmarks (2021). Accessed Dec 2022
Acknowledgements
The author would like to thank the Science and Research Engineering Board (SERB) for funding the research project titled “Industrial and Domestic monitoring and control using a decentralized cyber-physical system.” associated with Project File No. CRG/2019/000883.
Funding
The study was supported by Science and Engineering Research Board (Grant No. CRG/2019/000883).
Author information
Authors and Affiliations
Contributions
All of the credit for this article goes to the authors.
Corresponding author
Ethics declarations
Conflict of interest
The authors have no conflicts of interest to declare that are relevant to the content of this article.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Sharma, P., Wilfred Godfrey, W. & Trivedi, A. When blockchain meets IoT: a comparison of the performance of communication protocols in a decentralized identity solution for IoT using blockchain. Cluster Comput 27, 269–284 (2024). https://doi.org/10.1007/s10586-022-03921-8
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10586-022-03921-8