A Communication Model to Integrate the Request-Response and the Publish-Subscribe Paradigms into Ubiquitous Systems

The Request-Response (RR) paradigm is widely used in ubiquitous systems to exchange information in a secure, reliable and timely manner. Nonetheless, there is also an emerging need for adopting the Publish-Subscribe (PubSub) paradigm in this kind of systems, due to the advantages that this paradigm offers in supporting mobility by means of asynchronous, non-blocking and one-to-many message distribution semantics for event notification. This paper analyzes the strengths and weaknesses of both the RR and PubSub paradigms to support communications in ubiquitous systems and proposes an abstract communication model in order to enable their seamless integration. Thus, developers will be focused on communication semantics and the required quality properties, rather than be concerned about specific communication mechanisms. The aim is to provide developers with abstractions intended to decrease the complexity of integrating different communication paradigms commonly needed in ubiquitous systems. The proposal has been applied to implement a middleware and a real home automation system to show its applicability and benefits.

[1]  Gordon S. Blair,et al.  SeDiM: A Middleware Framework for Interoperable Service Discovery in Heterogeneous Networks , 2011, TAAS.

[2]  Gordon S. Blair,et al.  A reflective framework for discovery and interaction in heterogeneous mobile environments , 2005, MOCO.

[3]  H. S. Wolff,et al.  iRun: Horizontal and Vertical Shape of a Region-Based Graph Compression , 2022, Sensors.

[4]  Carlos Rodríguez-Domínguez,et al.  A Model-Driven Approach to Requirements Engineering in Ubiquitous Systems , 2012, ISAmI.

[5]  Michael Philippsen,et al.  Multiparadigm communications in Java for grid computing , 2001, CACM.

[6]  Pablo A. Haya,et al.  Towards a Ubiquitous End-User Programming System for Smart Spaces , 2010, J. Univers. Comput. Sci..

[7]  Ernesto Damiani,et al.  Toward Sensor-Based Context Aware Systems , 2012, Sensors.

[8]  Umar Saif,et al.  Communication primitives for ubiquitous systems or RPC considered harmful , 2001, Proceedings 21st International Conference on Distributed Computing Systems Workshops.

[9]  Felix C. Freiling,et al.  Supporting Mobility in Content-Based Publish/Subscribe Middleware , 2003, Middleware.

[10]  Gregory R. Andrews,et al.  Foundations of Multithreaded, Parallel, and Distributed Programming , 1999 .

[11]  Steffen Becker,et al.  A pattern-based performance completion for Message-oriented Middleware , 2008, WOSP '08.

[12]  Andrew S. Tanenbaum,et al.  A Critique of the Remote Procedure Call Paradigm , 1988 .

[13]  Guofei Jiang,et al.  Semantic message oriented middleware for publish/subscribe networks , 2004, SPIE Defense + Commercial Sensing.

[14]  Ludger Fiege,et al.  Security aspects in publish/subscribe systems , 2004, ICSE 2004.

[15]  B. R. Badrinath,et al.  Reworking the RPC Paradigm for Mobile Clients , 1996, Mob. Networks Appl..

[16]  Henry M. Levy,et al.  Modules, objects and distributed programming: Issues in RPC and remote object invocation , 1990 .

[17]  Antonio Corradi,et al.  Dynamic reconfiguration of middleware for ubiquitous computing , 2009, ADAMUS 09.

[18]  Jesús Fontecha,et al.  Awareness marks: adaptive services through user interactions with augmented objects , 2011, Personal and Ubiquitous Computing.

[19]  Wei Cai,et al.  A Reflective Middleware Approach to the Provision of Grid Middleware , 2003, Middleware Workshops.

[20]  Fabio Kon,et al.  Reflective Middleware: From Your Desk to Your Hand , 2001, IEEE Distributed Syst. Online.

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

[22]  José A. Pino,et al.  Towards a reference architecture for the design of mobile shared workspaces , 2011, Future Gener. Comput. Syst..

[23]  Eiko Yoneki,et al.  Pronto: Mobile Gateway With Publish-Subscribe Paradigm Over Wireless Network , 2003 .

[24]  Carlos Rodríguez-Domínguez,et al.  Dynamic Ontology-Based Redefinition of Events Intended to Support the Communication of Complex Information in Ubiquitous Computing , 2010, Netw. Protoc. Algorithms.

[25]  Tomasz Imielinski,et al.  Handling mobile clients: a case for indirect interaction , 1993, Proceedings of IEEE 4th Workshop on Workstation Operating Systems. WWOS-III.

[26]  Bill Segall,et al.  Supporting disconnectedness - transparent information delivery for mobile and invisible computing , 2001, Proceedings First IEEE/ACM International Symposium on Cluster Computing and the Grid.

[27]  Ashish B. Shah,et al.  Common Object Request Broker Architecture (CORBA) , 2015 .

[28]  José A. Pino,et al.  Building Real-World Ad-Hoc Networks to Support Mobile Collaborative Applications: Lessons Learned , 2009, CRIWG.

[29]  Emin Gün Sirer,et al.  Corona: A High Performance Publish-Subscribe System for the World Wide Web , 2006, NSDI.

[30]  Angelo CORSARO,et al.  Quality of service in publish/subscribe middleware , 2012 .

[31]  Javier Bajo,et al.  SYLPH: An Ambient Intelligence based platform for integrating heterogeneous Wireless Sensor Networks , 2010, International Conference on Fuzzy Systems.

[32]  Domenico Cotroneo,et al.  Reliable Event Dissemination over Wide-Area Networks without Severe Performance Fluctuations , 2010, 2010 13th IEEE International Symposium on Object/Component/Service-Oriented Real-Time Distributed Computing.

[33]  Andrew Birrell,et al.  Implementing remote procedure calls , 1984, TOCS.

[34]  Lidia Fuentes,et al.  Development of Ambient Intelligence Applications using Components and Aspects , 2006, J. Univers. Comput. Sci..

[35]  Andreas Savvides,et al.  The BehaviorScope framework for enabling ambient assisted living , 2010, Personal and Ubiquitous Computing.

[36]  Christof Bornhövd,et al.  Dealing with heterogeneous data in pub/sub systems : the concept-based approach , 2004, ICSE 2004.

[37]  Calton Pu,et al.  Fast, optimized Sun RPC using automatic program specialization , 1998, Proceedings. 18th International Conference on Distributed Computing Systems (Cat. No.98CB36183).

[38]  Hai-gang Gong,et al.  A Community-Based Event Delivery Protocol in Publish/Subscribe Systems for Delay Tolerant Sensor Networks , 2009, Sensors.