Skip to main content

A Blockchain-Based Secure Data Storage and Trading Model for Wireless Sensor Networks

  • Conference paper
  • First Online:

Part of the book series: Advances in Intelligent Systems and Computing ((AISC,volume 1151))

Abstract

Data storage on local devices provides fast, secure and complete access to the users. However, it needs sufficient storage, which is not feasible for light-weight clients’ environments. In such scenarios, the usage of external devices makes the system vulnerable to data tampering, privacy leakage, and other data security issues. Wireless Sensor Networks (WSNs) consist of resource constrained devices, where external storage is preferred due to the lack of storage capacity in local devices. Therefore, using a centralized storage mechanism in WSNs causes slow data retrieval, which affects further operations on data. Relying on trusted parties also cause certain privacy and trust issues. Various data trading mechanisms are introduced to efficiently utilize the stored data. However, they still lack in certain aspects as discussed above. Therefore, we propose and implement a Secure Incentive-based Data Storage and Trading Model (SIDSTM), which provides a secure and efficient distributed storage mechanism. The proposed scheme uses AES-128 encryption scheme to encrypt the data for privacy purposes. An elliptic curve Diffie-Hellman key exchange is used for securely exchanging the private keys among the network peers. In WSNs, there are fewer data trading models so far. Anyone can access the data if he has access to the hash provided by the IPFS in the InterPlanetary File System (IPFS). Thus, IPFS provides efficient data access and storage mechanism. However, it deletes the data after a certain time interval due to the limited storage. Therefore, the proposed model provides incentives to motivate IPFS’s peers for data storage. It also eliminates the need for the third-party involvement in data trading. The simulations are conducted to prove the effectiveness of the proposed model by evaluating its efficiency and scalability.

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

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   169.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   219.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

References

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

    Article  Google Scholar 

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

    Google Scholar 

  3. Nakamoto, S.: Bitcoin: A Peer-to-Peer Electronic Cash System, pp. 1–9 (2008). https://bitcoin.org/bitcoin.pdf

  4. Li, Z., Kang, J., Yu, R., Ye, D., Deng, Q., Zhang, Y.: Consortium blockchain for secure energy trading in industrial internet of things. IEEE Trans. Industr. Inf. 14(8), 3690–3700 (2017)

    Google Scholar 

  5. Mengelkamp, E., Notheisen, B., Beer, C., Dauer, D., Weinhardt, C.: A blockchain-based smart grid: towards sustainable local energy markets. Comput. Sci. Res. Dev. 33(1–2), 207–214 (2018)

    Article  Google Scholar 

  6. Huang, X., Zhang, Y., Li, D., Han, L.: An optimal scheduling algorithm for hybrid EV charging scenario using consortium blockchains. Future Gener. Comput. Syst. 91, 555–562 (2019)

    Article  Google Scholar 

  7. 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, 1–14 (2019)

    Google Scholar 

  8. Mohanty, S.N., Ramya, K.C., Rani, S.S., Gupta, D., Shankar, K., Lakshmanaprabu, S.K., Khanna, A.: An efficient Lightweight integrated Blockchain (ELIB) model for IoT security and privacy. Future Gener. Comput. Syst. 102, 1027–1037 (2020)

    Article  Google Scholar 

  9. Li, R., Song, T., Mei, B., Li, H., Cheng, X., Sun, L.: Blockchain for large-scale internet of things data storage and protection. IEEE Trans. Serv. Comput. 12, 1–14 (2018)

    Google Scholar 

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

    Article  Google Scholar 

  11. Samuel, O., Javaid, N., Awais, M., Ahmed, Z., Imran, M., Guizani, M.: A blockchain model for fair data sharing in deregulated smart grids. In: IEEE Global Communications Conference (GLOBCOM 2019), July 2019

    Google Scholar 

  12. Naz, M., Al-zahrani, F.A., Khalid, R., Javaid, N., Qamar, A.M., Afzal, M.A., Shafiq, M.: A secure data sharing platform using blockchain and interplanetary file system. Sustainability 11(24), 1–24 (2019)

    Article  Google Scholar 

  13. Rehman, M., Javaid, N., Awais, M., Imran, M., Naseer, N.: Cloud based secure service providing for IoTs using blockchain. In: IEEE Global Communications Conference (GLOBCOM 2019), pp. 1–7 (2019)

    Google Scholar 

  14. Saad, M.: Fog computing and its role in the internet of things: concept, security and privacy issues. Int. J. Comput. Appl. 975, 8887–8889 (2018)

    Google Scholar 

  15. Paar, C., Pelzl, J.: Understanding Cryptography: A Textbook for Students and Practitioners. Springer, Heidelberg (2009)

    MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Nadeem Javaid .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Ali, S., Javaid, N., Javeed, D., Ahmad, I., Ali, A., Badamasi, U.M. (2020). A Blockchain-Based Secure Data Storage and Trading Model for Wireless Sensor Networks. In: Barolli, L., Amato, F., Moscato, F., Enokido, T., Takizawa, M. (eds) Advanced Information Networking and Applications. AINA 2020. Advances in Intelligent Systems and Computing, vol 1151. Springer, Cham. https://doi.org/10.1007/978-3-030-44041-1_45

Download citation

Publish with us

Policies and ethics