Skip to main content

Blockchain and IPFS Based Service Model for the Internet of Things

Part of the Lecture Notes in Networks and Systems book series (LNNS,volume 278)

Abstract

In this paper, blockchain and InterPlanetary File System (IPFS) based service model is proposed for Internet of Things (IoT). In the IoT, nodes’ credentials and generated data are stored on the IPFS in a hashed format. In order to ensure the security of data, encrypted hash is stored on the blockchain. However, blockchain is very expensive for storing the large amount of data. While, in the case of centralized database, there is a possibility of data tampering and information leakage. Moreover, a service model is proposed for sharing the services from the service providers to the consumers. In addition, a product consensus mechanism is performed between admin and user which is replaced with a blockchain service model. Due to this, consumers send the request to the service provider through blockchain for the required services. Though, peer and minor nodes’ involvement in consensus mechanisms, hinder in finding the service provider. Moreover, existing scheme is computationaly expensive and delay occurs due to the lengthy procedure of verification and consensus. Here, blockchain is used to record the evidence of the services. Also, a service verification scheme is designed using the Secure Hash Algorithm-256 (SHA-256). Furthermore, the smart contract is utilized to settle disputes between consumers and service providers. The simulation results show that Proof of Authority consumes less gas and has low latency as compared to Proof of Work, which represents the efficiency and effectiveness of the proposed solution.

Keywords

  • Internet of Things
  • Blockchain
  • InterPlanetary file system
  • Smart contract
  • Consensus mechanism
  • Service model

This is a preview of subscription content, access via your institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • DOI: 10.1007/978-3-030-79725-6_25
  • Chapter length: 12 pages
  • Instant PDF download
  • Readable on all devices
  • Own it forever
  • Exclusive offer for individuals only
  • Tax calculation will be finalised during checkout
eBook
USD   269.00
Price excludes VAT (USA)
  • ISBN: 978-3-030-79725-6
  • Instant PDF download
  • Readable on all devices
  • Own it forever
  • Exclusive offer for individuals only
  • Tax calculation will be finalised during checkout
Softcover Book
USD   349.99
Price excludes VAT (USA)
Fig. 1.
Fig. 2.
Fig. 3.

References

  1. Rathore, S., Kwon, B.W., Park, J.H.: BlockSecIoTNet: blockchain-based decentralized security architecture for IoT network. J. Netw. Comput. Appl. 143, 167–177 (2019)

    CrossRef  Google Scholar 

  2. Alghamdi, T.A., Ali, I., Javaid, N., Shafiq, M.: Secure service provisioning scheme for lightweight IoT devices with a fair payment system and an incentive mechanism based on blockchain. IEEE Access 8, 1048–1061 (2019)

    CrossRef  Google Scholar 

  3. Xu, Y., Ren, J., Wang, G., Zhang, C., Yang, J., Zhang, Y.: A blockchain-based nonrepudiation network computing service scheme for industrial IoT. IEEE Trans. Ind. Inf. 15(6), 3632–3641 (2019)

    CrossRef  Google Scholar 

  4. Moinet, A., Darties, B., Baril, J.L.: Blockchain based trust and authentication for decentralized sensor networks. arXiv preprint arXiv:1706.01730 (2017)

  5. Sultana, T., Almogren, A., Akbar, M., Zuair, M., Ullah, I., Javaid, N.: Data sharing system integrating access control mechanism using blockchain-based smart contracts for IoT devices. Appl. Sci. 10(2), 488 (2020)

    CrossRef  Google Scholar 

  6. Javed, M.U., Javaid, N., Aldegheishem, A., Alrajeh, N., Tahir, M., Ramzan, M.: Scheduling charging of electric vehicles in a secured manner by emphasizing cost minimization using blockchain technology and IPFS. Sustainability 12(12), 5151 (2020)

    CrossRef  Google Scholar 

  7. Cui, Z., et al.: A hybrid BlockChain-based identity authentication scheme for multi-WSN. IEEE Trans. Serv. Comput. 13(2), 241–251 (2020)

    Google Scholar 

  8. Kim, T.H., et al.: A novel trust evaluation process for secure localization using a decentralized blockchain in wireless sensor networks. IEEE Access 7, 184133–184144 (2019)

    CrossRef  Google Scholar 

  9. Yang, J., He, S., Xu, Y., Chen, L., Ren, J.: A trusted routing scheme using blockchain and reinforcement learning for wireless sensor networks. Sensors 19(4), 970 (2019)

    CrossRef  Google Scholar 

  10. Hong, S.: P2P networking based internet of things (IoT) sensor node authentication by blockchain. Peer-to-Peer Netw. Appl. 13(2), 579–589 (2019). https://doi.org/10.1007/s12083-019-00739-x

    CrossRef  Google Scholar 

  11. Ramezan, G., Leung, C.: A blockchain-based contractual routing protocol for the internet of things using smart contracts. Wirel. Commun. Mobile Comput. (2018)

    Google Scholar 

  12. Tian, Y., Wang, Z., Xiong, J., Ma, J.: A blockchain-based secure key management scheme with trustworthiness in DWSNs. IEEE Trans. Ind. Inf. 16(9), 6193–6202 (2020)

    CrossRef  Google Scholar 

  13. Uddin, M.A., Stranieri, A., Gondal, I., Balasurbramanian, V.: A lightweight blockchain based framework for underwater IoT. Electronics 8(12), 1552 (2019)

    CrossRef  Google Scholar 

  14. Sergii, K., Prieto-Castrillo, F.: A rolling blockchain for a dynamic WSNs in a smart city. arXiv preprint arXiv:1806.11399 (2018)

  15. Kolumban-Antal, G., Lasak, V., Bogdan, R., Groza, B.: A secure and portable multi-sensor module for distributed air pollution monitoring. Sensors 20(2), 403 (2020)

    CrossRef  Google Scholar 

  16. Liu, M., Yu, F.R., Teng, Y., Leung, V.C., Song, M.: Computation offloading and content caching in wireless blockchain networks with mobile edge computing. IEEE Trans. Veh. Technol. 67(11), 11008–11021 (2018)

    CrossRef  Google Scholar 

  17. Mori, S.: Secure caching scheme by using blockchain for information-centric network-based wireless sensor networks. J. Signal Process. 22(3), 97–108 (2018)

    CrossRef  Google Scholar 

  18. Ren, Y., Liu, Y., Ji, S., Sangaiah, A.K., Wang, J.: Incentive mechanism of data storage based on blockchain for wireless sensor networks. Mobile Inf. Syst. (2018)

    Google Scholar 

  19. Jia, B., Zhou, T., Li, W., Liu, Z., Zhang, J.: A blockchain-based location privacy protection incentive mechanism in crowd sensing networks. Sensors 18(11), 3894 (2018)

    CrossRef  Google Scholar 

  20. Kumar, M.H., Mohanraj, V., Suresh, Y., Senthilkumar, J., Nagalalli, G.: Trust aware localized routing and class based dynamic block chain encryption scheme for improved security in WSN. J. Ambient Intell. Human. Comput. 12, 5287–5295 (2020). https://doi.org/10.1007/s12652-020-02007-w

    CrossRef  Google Scholar 

  21. Goyat, R., Kumar, G., Rai, M.K., Saha, R., Thomas, R., Kim, T.H.: Blockchain powered secure range-free localization in wireless sensor networks. Arab. J. Sci. Eng. 45(8), 6139–6155 (2020). https://doi.org/10.1007/s13369-020-04493-8

    CrossRef  Google Scholar 

  22. Rathee, G., Balasaraswathi, M., Chandran, K.P., Gupta, S.D., Boopathi, C.S.: A secure IoT sensors communication in Industry 4.0 using blockchain technology. J. Ambient Intell. Human. Comput. 12, 533–545 (2020). https://doi.org/10.1007/s12652-020-02017-8

    CrossRef  Google Scholar 

  23. She, W., Liu, Q., Tian, Z., Chen, J.S., Wang, B., Liu, W.: Blockchain trust model for malicious node detection in wireless sensor networks. IEEE Access 7, 38947–38956 (2019)

    CrossRef  Google Scholar 

  24. Liu, Y., Wang, K., Lin, Y., Xu, W.: LightChain: a lightweight blockchain system for industrial internet of things. IEEE Trans. Ind. Inform. 15(6), 3571–3581 (2019)

    CrossRef  Google Scholar 

  25. Feng, H., Wang, W., Chen, B., Zhang, X.: Evaluation on frozen shellfish quality by blockchain based multi-sensors monitoring and SVM algorithm during cold storage. IEEE Access 8, 54361–54370 (2020)

    CrossRef  Google Scholar 

  26. Haseeb, K., Islam, N., Almogren, A., Din, I.U.: Intrusion prevention framework for secure routing in WSN-based mobile Internet of Things. IEEE Access 7, 185496–185505 (2019)

    CrossRef  Google Scholar 

  27. Sharma, P.K., Park, J.H.: Blockchain based hybrid network architecture for the smart city. Future Gener. Comput. Syst. 86, 650–655 (2018)

    CrossRef  Google Scholar 

  28. Rovira-Sugranes, A., Razi, A.: Optimizing the age of information for blockchain technology with applications to IoT sensors. IEEE Commun. Lett. 24(1), 183–187 (2019)

    CrossRef  Google Scholar 

  29. Gayoso Martínez, V., Hernández Encinas, L., Sánchez Ávila, C.: A survey of the elliptic curve integrated encryption scheme (2010)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and Permissions

Copyright information

© 2021 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Verify currency and authenticity via CrossMark

Cite this paper

Zareen, H., Awan, S., E Sajid, M.B., Baig, S.M., Faisal, M., Javaid, N. (2021). Blockchain and IPFS Based Service Model for the Internet of Things. In: Barolli, L., Yim, K., Enokido, T. (eds) Complex, Intelligent and Software Intensive Systems. CISIS 2021. Lecture Notes in Networks and Systems, vol 278. Springer, Cham. https://doi.org/10.1007/978-3-030-79725-6_25

Download citation