Lightweight, Scalable and Secure Middleware for Service-Centric Context-Aware Applications

  • Veeramuthu Venkatesh
  • Pethuru Raj
  • P. BalakrishnanEmail author
Conference paper
Part of the Advances in Intelligent Systems and Computing book series (AISC, volume 1089)


Wireless sensor networks (WSNs) play a vital role in the Internet of things (IoT)-based application. IoT environment contains monitoring and collaboration from a wide number of remote or local sensor actuators, a device such as smartphones, robots and computers. In this paper, an efficient REST-based lightweight scalable and security approach proposed for providing secure data exchange without compromising the public quality issues. The communication scheme purely centred on the Extensible Messaging and Presence Protocol (XMPP) protocol. XMPP supports push-based notification that will be more proper functionality for any event-driven model for any sensor-based application. Based on these features, XMPP protocol, which integrated with the proposed approach, assures a scalable real-time event notification scheme. The framework is also adopting the light and portable Representational State Transfer (REST) web support features and consequently integrates sensor and intelligent things with the web. Here, the use of convention JavaScript Object Notation (JSON) format which will be the alternative for the verbose XML for data exchange. It also provides an encryption and data authentication required during transmission. The JSON is used along with the XMPP to support remote web services over wireless sensor networks. Further, the proposed approach is used to realize a secured event-driven smarter environment. The proposed approach validated by simulating the number of concurrent requests, and this measures their corresponding CPU and memory utilization along with the additional overhead because of encryption. The proposed approach consumes 54% less CPU and five times more memory (i.e. because of encryption) than the traditional HTTP requests. Besides, the proposed encryption mechanism REST-JSON with Bcrypt consumes 7% more time than REST-JSON MD5/SHA1 to serve the requests and provide improvised security against dictionary attacks which is common in MD5/SHA1.


RESTful web service Notification service XMPP Scalability Security 


  1. 1.
    Alemdar, H., Ersoy, C.: Wireless sensor networks for healthcare: a survey. Comput. Netw. (2010)Google Scholar
  2. 2.
    Chen, H., Perrig, A.: Security and privacy in sensor networks. IEEE Comput. 36(10), 103–105 (2003)CrossRefGoogle Scholar
  3. 3.
    Hornsby, A., Belimpasakis, P., Defee, I.: XMPP-based wireless sensor network and its integration into the extended home environment. In: 13th IEEE International Symposium on Consumer Electronics, pp. 794–797 (2009)Google Scholar
  4. 4.
    Bendel, S., Springer, T., Schuster, D., Schill, A., Ackermann, R., Ameling, M.: A service infrastructure for the Internet of things based on XMPP. In: 2013 IEEE International Conference on Pervasive Computing and Communications Workshops (PERCOM Workshops), pp. 385–388. San Diego, CA (2013)Google Scholar
  5. 5.
    Trilles, S., Belmonte, O., Diaz, L., Huerta, J.: Mobile access to sensor networks by using GIS standards and restful services. Sens. J. IEEE. 14(12), 4143–4153 (2014)Google Scholar
  6. 6.
    Pautasso, C., Wilde, E.: Push-enabling RESTful business processes. In: Proceedings of the International Conference on Service-Oriented Computing. ICSOC’11, pp. 32–46 (2011)Google Scholar
  7. 7.
    Mesbah, A., van Deursen, A.: A component and push-based architectural style for Ajax applications. J. Syst. Softw. 81(12), 2194–2209 (2008)Google Scholar
  8. 8.
    Pohja, M.: Server push with instant messaging. In: Proceedings of the 2009 ACM symposium on Applied Computing, pp. 653–658. ACM (2009)Google Scholar
  9. 9.
    Eugster, P.T., Felber, P.A., Guerraoui, R., Kermarrec, A.: The many faces of publish/subscribe. ACM Comput. Surv. 35(2):114–131 (2003)Google Scholar
  10. 10.
    Serme, G., Oliveira, A.S., Massiera, J., Roudier, Y.: Enabling message security for RESTful services. In: Proc. IEEE ICWS, pp. 114–121 (2012)Google Scholar
  11. 11.
    Choudhary, P., Aaseri, R., Roberts, N.: HTTPI based web service security over SOAP. Int. J. Netw. Secur. Appl. 55–65Google Scholar
  12. 12.
    Lin, J., Yu, W., Zhang, N., Yang, X., Zhang, H., Zhao, W.: A survey on internet of things: architecture, enabling technologies, security and privacy, and applications. IEEE Internet Things J. 4(5), 1125–1142 (2017)CrossRefGoogle Scholar

Copyright information

© Springer Nature Singapore Pte Ltd. 2020

Authors and Affiliations

  • Veeramuthu Venkatesh
    • 1
  • Pethuru Raj
    • 2
  • P. Balakrishnan
    • 3
    Email author
  1. 1.Embedded Systems Design Laboratory (ESDL)SASTRA Deemed UniversityThanjavurIndia
  2. 2.Reliance Jio Cloud Services (JCS)BangaloreIndia
  3. 3.SCOPE, Department of AnalyticsVIT University Vellore CampusVelloreIndia

Personalised recommendations