Comparison of the CUPUS middleware and MQTT protocol for smart city services

Publish/subscribe messaging pattern is often used as a communication mechanism in data-oriented applications and is becoming wide-spread, especially due to the expansion of the Internet of Things (IoT) services and applications. In addition to MQTT, which is one of the commonly used publish/subscribe protocols in the context of IoT, there are a number of other message queuing solutions, either open or proprietary. We have designed a CloUd-based PUblish/Subscribe (CUPUS) middleware solution within the framework of the FP7 project OpenIoT1 that has developed an open-source cloud platform for the IoT. CUPUS is one of the core OpenIoT components which enables flexible integration of wearable sensors and mobile devices as data sources within the OpenIoT platform. In this paper we compare MQTT and CUPUS in the context of smart city application scenarios. Smart city services pose different key-requirements on IoT publish/subscribe solutions and thus we propose a taxonomy to identify vital features of IoT publish/subscribe middleware. The comparison shows that CUPUS is more appropriate for mobile environments with frequent context changes, while it can filter out unrequired data on devices prior to being reported to backend cloud servers. The MQTT protocol proves to be suitable for Wireless Sensor Networks (WSNs) and heterogeneous environments due to its small code footprint, low bandwidth usage and standardized interfaces. Finally we evaluate the two solutions in terms of message footprint in a real-world scenario, latency and delivery semantics.

[1]  Shariq Haseeb,et al.  Rapid development of smart parking system with cloud-based platforms , 2014, The 5th International Conference on Information and Communication Technology for The Muslim World (ICT4M).

[2]  Marimuthu Palaniswami,et al.  Internet of Things (IoT): A vision, architectural elements, and future directions , 2012, Future Gener. Comput. Syst..

[3]  Andrea Zanella,et al.  Internet of Things for Smart Cities , 2014, IEEE Internet of Things Journal.

[4]  Koen Langendoen,et al.  Pogo, a Middleware for Mobile Phone Sensing , 2012, Middleware.

[5]  Hong Linh Truong,et al.  MQTT-S — A publish/subscribe protocol for Wireless Sensor Networks , 2008, 2008 3rd International Conference on Communication Systems Software and Middleware and Workshops (COMSWARE '08).

[6]  Lea Skorin-Kapov,et al.  The OpenIoT Approach to Sensor Mobility with Quality-Driven Data Acquisition Management , 2014, OpenIoT@SoftCOM.

[7]  Edith C. H. Ngai,et al.  A Ubiquitous Publish/Subscribe Platform for Wireless Sensor Networks with Mobile Mules , 2012, 2012 IEEE 8th International Conference on Distributed Computing in Sensor Systems.

[8]  Lida Xu,et al.  The internet of things: a survey , 2014, Information Systems Frontiers.

[9]  Dhiren Patel,et al.  A Survey on Internet of Things: Security and Privacy Issues , 2014 .

[10]  Samuel Kounev,et al.  Benchmarking Publish/Subscribe-Based Messaging Systems , 2010, DASFAA Workshops.

[11]  Lea Skorin-Kapov,et al.  Urban crowd sensing demonstrator: Sense the Zagreb Air , 2014, 2014 22nd International Conference on Software, Telecommunications and Computer Networks (SoftCOM).

[12]  Chunquan Du,et al.  Research on Urban Public Safety Emergency Management Early Warning System based on Technologies for the Internet of Things , 2012 .

[13]  Antonio Iera,et al.  The Internet of Things: A survey , 2010, Comput. Networks.

[14]  Sandeep Kumar,et al.  Improved Onlooker Bee Phase in Artificial Bee Colony Algorithm , 2014, ArXiv.

[15]  Noel Crespi,et al.  The Internet of Things - Concept and Problem Statement , 2012 .

[16]  Jiang Zhu,et al.  MobiSens: A Versatile Mobile Sensing Platform for Real-World Applications , 2013, Mob. Networks Appl..

[17]  Ramachandran Ramjee,et al.  Nericell: rich monitoring of road and traffic conditions using mobile smartphones , 2008, SenSys '08.

[18]  Ivana Podnar Zarko,et al.  Publish/subscribe middleware for energy-efficient mobile crowdsensing , 2013, UbiComp.

[19]  Eleonora Borgia,et al.  The Internet of Things vision: Key features, applications and open issues , 2014, Comput. Commun..

[20]  Cecilia Mascolo,et al.  Socially-aware routing for publish-subscribe in delay-tolerant mobile ad hoc networks , 2008, IEEE Journal on Selected Areas in Communications.

[21]  Carlos André Guimarães Ferraz,et al.  Mires: a publish/subscribe middleware for sensor networks , 2005, Personal and Ubiquitous Computing.

[22]  Paolo Bellavista,et al.  Quality of Service in Wide Scale Publish—Subscribe Systems , 2014, IEEE Communications Surveys & Tutorials.

[23]  Anne-Marie Kermarrec,et al.  The many faces of publish/subscribe , 2003, CSUR.

[24]  O. Saeed,et al.  Towards Internet of Things: Survey and Future Vision , 2013 .

[25]  Ivana Podnar Zarko,et al.  A Mobile Crowdsensing Ecosystem Enabled by a Cloud-Based Publish/Subscribe Middleware , 2014, 2014 International Conference on Future Internet of Things and Cloud.

[26]  Fan Ye,et al.  Mobile crowdsensing: current state and future challenges , 2011, IEEE Communications Magazine.

[27]  Karl Aberer,et al.  Continuous query evaluation over distributed sensor networks , 2010, 2010 IEEE 26th International Conference on Data Engineering (ICDE 2010).

[28]  Christian Fertner,et al.  City-ranking of European Medium-Sized Cities , 2007 .