Skip to main content
Log in

When blockchain meets IoT: a comparison of the performance of communication protocols in a decentralized identity solution for IoT using blockchain

  • Published:
Cluster Computing Aims and scope Submit manuscript

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).

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13
Fig. 14

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

  1. 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

    Article  Google Scholar 

  2. 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)

    Article  Google Scholar 

  3. Niranjanamurthy, M., Nithya, B., Jagannatha, S.: Analysis of blockchain technology: pros, cons and SWOT. Clust. Comput. 22(6), 14743–14757 (2019)

    Article  Google Scholar 

  4. 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)

    Article  Google Scholar 

  5. 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

    Article  Google Scholar 

  6. 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)

    Article  Google Scholar 

  7. 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)

    Article  Google Scholar 

  8. Li, D., Luo, Z., Cao, B.: Blockchain-based federated learning methodologies in smart environments. Clust. Comput. 25(4), 2585–2599 (2022)

    Article  Google Scholar 

  9. Novo, O.: Blockchain meets IoT: an architecture for scalable access management in IoT. IEEE Internet Things J. 5(2), 1184–1195 (2018)

    Article  Google Scholar 

  10. 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

    Article  Google Scholar 

  11. 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)

  12. 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)

  13. 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)

  14. Miller, A.: Grid+ whitepaper. https://whitepaper.io/document/269/grid-whitepaper/download (2017). Accessed Dec 2022

  15. 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)

    Article  Google Scholar 

  16. 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)

  17. David, A.: Managing IoT data on hyperledger blockchain. Ph.D. dissertation, University of Nevada, Las Vegas (2019)

  18. 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

  19. 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)

  20. 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)

  21. 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)

  22. 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)

    Google Scholar 

  23. 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)

  24. Ç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)

  25. GitHub repository containing links and code related to this research paper. https://github.com/prakharsr/hyperledger-aries-iot (2021). Accessed Dec 2022

  26. Docker repository containing von-image for arm architecture. https://hub.docker.com/repository/docker/prakharsr/von-image-armv7l (2021). Accessed Dec 2022

  27. Docker repository containing aries cloud agent image for arm architecture. https://hub.docker.com/repository/docker/prakharsr/aca-py-armv7l (2021). Accessed Dec 2022

  28. IPFS cluster documentation. https://cluster.ipfs.io/documentation/ (2021). Accessed Dec 2022

  29. GitHub repo containing benchmarking code for MQTT, COAP and hyperledger aries communication protocol. https://github.com/prakharsr/benchmarks (2021). Accessed Dec 2022

Download references

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

Authors

Contributions

All of the credit for this article goes to the authors.

Corresponding author

Correspondence to W. Wilfred Godfrey.

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.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

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

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10586-022-03921-8

Keywords

Navigation