RCOS: Real Time Context Sharing Across a Fleet of Smart Mobile Devices

  • Julien Dhallenne
  • Prem Prakash Jayaraman
  • Arkady Zaslavsky
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 9870)


Sharing context is a key challenge and will be a requirement of future IoT systems and services. To this end, in this paper, we propose, develop, implement and validate a Real Time Context Sharing (RCOS) system. RCOS takes advantage of the widely used publish/subscribe paradigm embedding context-awareness. We also propose a new context-aware subscription language enabling publishers to express data with sufficient contextual information and subscribers to subscribe to data by matching publisher context to subscribers contextual preferences. Finally, as a proof of concept, we extend the Apache ActiveMQ Artemis software and create a client prototype. We evaluate our proof of concept for larger scale deployment.


Context aware publish/subscribe Context sharing Semantic web 


  1. 1.
    Klimova, A., Rondeau, E., Andersson, K., Porras, J., Rybin, A., Zaslavsky, A.: An international Master’s program in green ICT as a contribution to sustainable development. J. Clean. Prod. 135, 223–239 (2016)CrossRefGoogle Scholar
  2. 2.
    Eugster, P.T., Felber, P.A., Guerraoui, R., Kermarrec, A.M.: The many faces of publish/subscribe. ACM Comput. Surv. (CSUR) 35(2), 114–131 (2003)CrossRefGoogle Scholar
  3. 3.
    Oki, B., Pfluegl, M., Siegel, A., Skeen, D.: The Information Bus: an architecture for extensible distributed systems. ACM SIGOPS Oper. Syst. Rev. 27(5), 58–68 (1994)CrossRefGoogle Scholar
  4. 4.
    Rosenblum, D.S., Wolf, A.L.: A design framework for internet-scale event observation and notification. ACM SIGSOFT Softw. Eng. Notes 22(6), 344–360 (1997)CrossRefGoogle Scholar
  5. 5.
    Baldoni, R., Querzoni, L., Tarkoma, S., Virgillito, A.: Distributed event routing in publish/subscribe communication systems. In: Garbinato, B., Miranda, H., Rodrigues, L. (eds.) Middleware for Network Eccentric and Mobile Applications, pp. 219–244. Springer, Heidelberg (2009)CrossRefGoogle Scholar
  6. 6.
    Buchmann, A.P., Moody, K.: An active functionality service for open distributed heterogeneous environments. Shaker (2002)Google Scholar
  7. 7.
    Sporny, M., Longley, D., Kellogg, G., Lanthaler, M., Lindstrm, N.: JSON-LD 1.0, W3C Recommendation (2014)Google Scholar
  8. 8.
    Loke, S.W., Padovitz, A., Zaslavsky, A.: Context-based addressing: the concept and an implementation for large-scale mobile agent systems using publish-subscribe event notification. In: Stefani, J.-B., Demeure, I., Zhang, J. (eds.) DAIS 2003. LNCS, vol. 2893, pp. 274–284. Springer, Heidelberg (2003)CrossRefGoogle Scholar
  9. 9.
    Loke, S.W., Zaslavsky, A.: Communicative acts of Elvin-enhanced mobile agents. In: IEEE/WIC International Conference on Intelligent Agent Technology, pp. 446–449. IEEE (2003)Google Scholar
  10. 10.
    Padovitz, A., Loke, S.W., Zaslavsky, A.: The ECORA framework: a hybrid architecture for context-oriented pervasive computing. Pervasive Mob. Comput. 4(2), 182–215 (2008)CrossRefGoogle Scholar
  11. 11.
    Tarkoma, S., Lindholm, T., Kangasharju, J.: Collection and object synchronization based on context information. In: Magedanz, T., Karmouch, A., Pierre, S., Venieris, I.S. (eds.) MATA 2005. LNCS, vol. 3744, pp. 240–251. Springer, Heidelberg (2005)CrossRefGoogle Scholar
  12. 12.
    Cugola, G., Margara, A., Migliavacca, M.: Context-aware publish-subscribe: model, implementation, and evaluation. In: IEEE Symposium on Computers and Communications, pp. 875–881. IEEE (2009)Google Scholar
  13. 13.
    Zahariadis, T., Papadakis, A., Alvarez, F., Gonzalez, J., Lopez, F., Facca, F., Al-Hazmi, Y.: FIWARE lab: managing resources and services in a cloud federation supporting future internet applications. In: IEEE/ACM 7th International Conference on Utility and Cloud Computing (UCC), pp. 792–799. IEEE (2014)Google Scholar
  14. 14.
    Campailla, A., Chaki, S., Clarke, E., Jha, S., Veith, H.: Efficient filtering in publish-subscribe systems using binary decision diagrams. In: Proceedings of the 23rd International Conference on Software Engineering, pp. 443–452. IEEE Computer Society (2001)Google Scholar
  15. 15.
    Barker, P., Campbell, L.M.: What is schema.org? LRMI, vol. 21 (2014)Google Scholar
  16. 16.
    Castro, M., Druschel, P., Kermarrec, A.M., Rowstron, A.I.: SCRIBE: a large-scale and decentralized application-level multicast infrastructure. IEEE J. Sel. Areas Commun. 20(8), 1489–1499 (2002)CrossRefGoogle Scholar
  17. 17.
    Object Management Group: The Common Object Request Broker (CORBA): Architecture and Specification. Object Management Group (1995)Google Scholar
  18. 18.
    Parzyjegla, H., Graff, D., Schröter, A., Richling, J., Mühl, G.: Design and implementation of the Rebeca publish/subscribe middleware. In: Petrov, I., Guerrero, P., Sachs, K. (eds.) Buchmann Festschrift. LNCS, vol. 6462, pp. 124–140. Springer, Heidelberg (2010)CrossRefGoogle Scholar
  19. 19.
    Eugster, P.T., Guerraoui, R., Damm, C.H.: On objects and events. ACM SIGPLAN Not. 36(11), 254–269 (2001). ACMCrossRefGoogle Scholar
  20. 20.
    Prud’ Hommeaux, E., Seaborne, A.: SPARQL query language for RDF. W3C Recommendation 15 (2008)Google Scholar

Copyright information

© Springer International Publishing AG 2016

Authors and Affiliations

  • Julien Dhallenne
    • 1
  • Prem Prakash Jayaraman
    • 2
  • Arkady Zaslavsky
    • 3
    • 4
  1. 1.Lappeenranta University of TechnologyLappeenrantaFinland
  2. 2.Swinburne university of technologyMelbourneAustralia
  3. 3.Commonwealth Scientific and Industrial Research Organisation, Data61ClaytonAustralia
  4. 4.Saint Petersburg National Research University of ITMOSt. PetersburgRussia

Personalised recommendations