Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Semantic Tuple Spaces for Constrained Devices: A Web-compliant Vision

Semantic Tuple Spaces for Constrained Devices: A Web-compliant Vision

Presentation of my PhD thesis.

Aitor Gómez-Goiri

June 02, 2014
Tweet

More Decks by Aitor Gómez-Goiri

Other Decks in Science

Transcript

  1. Outline 1. Introduction 2. Hypothesis 3. Space model 4. Search

    architecture 5. Actuation 6. Conclusions
  2. UbiComp, challenge 2: heterogeneity Introduction The IEEE defines interoperability as

    The ability of two or more systems or components to exchange information and to use the information that has been exchanged.
  3. UbiComp, challenge 2: heterogeneity Introduction The IEEE defines interoperability as

    The ability of two or more systems or components to exchange information and to use the information that has been exchanged.
  4. UbiComp, challenge 2b: exchange info Introduction The IEEE defines interoperability

    as The ability of two or more systems or components to exchange information and to use the information that has been exchanged.
  5. Hypothesis The alignment of the TSC paradigm with the web's

    principles together with the consideration of its energy and computational impact, leads to UbiComp environments where heterogeneous devices communicate autonomously in an uncoupled and interoperable fashion.
  6. Hypothesis The alignment of the TSC paradigm with the web's

    principles together with the consideration of its energy and computational impact, leads to UbiComp environments where heterogeneous devices communicate autonomously in an uncoupled and interoperable fashion.
  7. Hypothesis The alignment of the TSC paradigm with the web's

    principles together with the consideration of its energy and computational impact, leads to UbiComp environments where heterogeneous devices communicate autonomously in an uncoupled and interoperable fashion.
  8. Outline 1- Introduction 2- Hypothesis 3 - Space model 4-

    Search architecture 5- Actuation 6- Conclusions
  9. Space model [CHB2014] Lightweight semantic framework for interoperable ambient intelligence

    applications [WoT2012] RESTful Triple Spaces of Things [IEEESensors2011] Collaboration of Sensors and Actuators through Triple Spaces. [WoT2011] On the complementarity of Triple Spaces and the Web of Things.
  10. Space model s1 p1 o1 . s2 p2 o2 .

    s3 p3 o3 . s1 p1 o1 . s2 p2 o2 . s3 p3 o3 . s1 p1 o1 . s2 p2 o2 . s3 p3 o3 . s1 p1 o1 . s2 p2 o2 . s3 p3 o3 . TSC HTTP API s1 p1 o1 . s2 p2 o2 . s3 p3 o3 . s1 p1 o1 . s2 p2 o2 . s3 p3 o3 . asteroid 1 s1 p1 o1 . s2 p2 o2 . s3 p3 o3 . s1 p1 o1 . s2 p2 o2 . s3 p3 o3 . asteroid N OSAPI Outer space Coordination space OSAPI ... coordinator Analysis: Networking properties Coordination properties Is it for limited devices?
  11. Time uncoupling Coordination space ✔ ✔ Outer space ✔ X

    Coordination properties Space model Space uncoupling
  12. Outline 1- Introduction 2- Hypothesis 3 - Space model 4-

    Search architecture 5- Actuation 6- Conclusions
  13. Energy-aware search architecture [IJWGS2014] Energy-aware architecture for information search in

    the semantic web of things. [IMIS2012] Assessing data dissemination strategies within triple spaces on the web of things.
  14. Problem: in the context of this PhD Energy-aware search architecture

    How to search in the outer space? s1 p1 o1 . s2 p2 o2 . s3 p3 o3 . s1 p1 o1 . s2 p2 o2 . s3 p3 o3 . s1 p1 o1 . s2 p2 o2 . s3 p3 o3 . s1 p1 o1 . s2 p2 o2 . s3 p3 o3 . TSC HTTP API s1 p1 o1 . s2 p2 o2 . s3 p3 o3 . s1 p1 o1 . s2 p2 o2 . s3 p3 o3 . asteroid 1 s1 p1 o1 . s2 p2 o2 . s3 p3 o3 . s1 p1 o1 . s2 p2 o2 . s3 p3 o3 . asteroid N OSAPI Outer space Coordination space OSAPI ... coordinator
  15. Discovery Energy-aware search architecture Using a discovery mechanism each node

    shares: 1. the Spaces it belongs to, 2. whether it is White Page (+ its setup version) 3. information for the White Page selection process
  16. Experimental environment: simulation inputs Energy-aware search architecture AEMET metereological dataset

    University of Luebeck Wisebed Sensor Readings Kno.e.sis Linked Sensor Data Bizkaisense
  17. Summary Energy-aware search architecture The presented search architecture cares about

    computation (C) and energy (E), because: Management tasks are delegated to the most powerful devices in the space (C+E) The search is improved avoiding many unnecessary requests (C+E) If the Provider cannot process the aggregated clue, it can delegate it on the WP (C) The WP selection process prioritizes cases where less providers are forced to resend their last clue version (E).
  18. Outline 1- Introduction 2- Hypothesis 3 - Space model 4-

    Search architecture 5- Actuation 6- Conclusions
  19. HTTP API Actuation P O S T / b l

    a d e s H T T P / 1 . 1 H o s t : s m a r t f a n . e u t r u e
  20. RESTdesc Actuation O P T I O N S /

    d e u s t o t e c h / l i g h t s H T T P / 1 . 1 H o s t : d e u s t o . e u H T T P / 1 . 0 2 0 0 O K D a t e : S a t , 1 4 J u n 2 0 1 4 2 1 : 2 2 : 0 1 G M T C o n t e n t - t y p e : t e x t / n 3 ; c h a r s e t = U T F - 8 C o n t e n t - L e n g t h : 5 1 2 { a c t u a t o r s : l i g h t s s n : m a d e O b s e r v a t i o n ? l i g h t _ o b s . } = > { _ : r e q u e s t h t t p : m e t h o d N a m e " G E T " ; h t t p : r e q u e s t U R I ? l i g h t _ o b s ; h t t p : r e s p [ h t t p : b o d y ? l i g h t _ o b s ] . ? l i g h t _ o b s a s s n : O b s e r v a t i o n ; s s n : o b s e r v e d P r o p e r t y s w e e t : L i g h t ; . . .
  21. Comparison Actuation Actuation Communication style Benefits Required features Space-based Indirect

    Decoupling Subscriptions REST-based Direct Reuse Rule-based reasoning
  22. Comparison Actuation Actuation Communication style Benefits Required features Space-based Indirect

    Decoupling Subscriptions REST-based Direct Reuse Rule-based reasoning
  23. Comparison Actuation Actuation Communication style Benefits Required features Space-based Indirect

    Decoupling Subscriptions REST-based Direct Reuse Rule-based reasoning
  24. Comparison Actuation Platform Raspberry Pi (model B) RAM Memory 512

    MB CPU 700 MHz Low Power ARM1176JZ-F Applications Processor
  25. Comparison Actuation Actuation Perspective Activity Networking Computation Space-based Provider Proactive,

    limited Limited Consumer Proactive, limited Limited Space Reactive, high Varies REST-based Provider Reactive, limited Limited Consumer Proactive, high Demanding
  26. Comparison Actuation Actuation Perspective Activity Networking Computation Space-based Provider Proactive,

    limited Limited Consumer Proactive, limited Limited Space Reactive, high Varies REST-based Provider Reactive,limited Limited Consumer Proactive, high Demanding
  27. Comparison Actuation Actuation Perspective Activity Networking Computation Space-based Provider Proactive,

    limited Limited Consumer Proactive, limited Limited Space Reactive, high Varies REST-based Provider Reactive, limited Limited Consumer Proactive, high Demanding
  28. Discussion Actuation Further investigation with more complex scenarios is needed:

    Is the translation between the subscriptions and the goal always possible? If the plan has 2 or more paths to achieve a goal, which one should we chose? What if two different actuators from space-based and rest-based actuation can be activated?
  29. Outline 1- Introduction 2- Hypothesis 3 - Space model 4-

    Search architecture 5- Actuation 6- Conclusions
  30. Hypothesis The alignment of the TSC paradigm with the web's

    principles together with the consideration of its energy and computational impact, leads to UbiComp environments where heterogeneous devices communicate autonomously in an uncoupled and interoperable fashion.
  31. Hypothesis The alignment of the TSC paradigm with the web's

    principles together with the consideration of its energy and computational impact, leads to UbiComp environments where heterogeneous devices communicate autonomously in an uncoupled and interoperable fashion.
  32. Hypothesis The alignment of the TSC paradigm with the web's

    principles together with the consideration of its energy and computational impact, leads to UbiComp environments where heterogeneous devices communicate autonomously in an uncoupled and interoperable fashion.
  33. Hypothesis The alignment of the TSC paradigm with the web's

    principles together with the consideration of its energy and computational impact, leads to UbiComp environments where heterogeneous devices communicate autonomously in an uncoupled and interoperable fashion.
  34. Hypothesis The alignment of the TSC paradigm with the web's

    principles together with the consideration of its energy and computational impact, leads to UbiComp environments where heterogeneous devices communicate autonomously in an uncoupled and interoperable fashion.
  35. Scientific contributions: space model [CHB2014] Lightweight semantic framework for interoperable

    ambient intelligence applications [WoT2012] RESTful Triple Spaces of Things [IEEESensors2011] Collaboration of Sensors and Actuators through Triple Spaces. [WoT2011] On the complementarity of Triple Spaces and the Web of Things.
  36. Scientific contributions: search architecture [IJWGS2014] Energy-aware architecture for information search

    in the semantic web of things. [IMIS2012] Assessing data dissemination strategies within triple spaces on the web of things.
  37. Scientific contributions: related Lightweight user access control for limited devices.

    [JUCS2013] Enabling user access control in energy-constrained wireless smart environments. [CISIS2013] Extending a user access control proposal for wireless network services with hierarchical user credentials. [UCAmI2012] Lightweight user access control in energy- constrained wireless network services.
  38. Scientific contributions: related Use of TSC middleware in a number

    of different domains: [IWAAL2011] Easing the mobility of disabled people in supermarkets using a distributed solution. In Ambient Assisted Living, n. 6693 in LNCS, pp. 41–48, January 2011. [Robot2011] Distributed semantic middleware for social robotic services [IWAAL2011] Distributed tracking system for patients with cognitive impairments.
  39. Technical contributions As a result of my PhD, I have

    open-sourced the following software: A parametrizable simulation environment https://github.com/gomezgoiri/Semantic-WoT-Environment-Simulation The three different implementations of the same basic actuation scenario presented before https://github.com/gomezgoiri/reusingWebActuatorsFromSemanticSpace A TSC-based middleware: Otsopack https://github.com/gomezgoiri/otsopack
  40. Technical contributions Otsopack has been used in the following research

    projects: THOFU (CEN-20101019), funded by the Spanish Centro para el Desarrollo Tecnológico Industrial (CDTI) and supported by the the Spanish Ministry of Science and Innovation. ACROSS (TSI-020301-2009-27), funded by the Spanish Ministerio de Industria, Turismo y Comercio. TALIS+ENGINE (TIN2010-20510-C04-03), funded by the Spanish Ministry of Science and Innovation. ISMED (PC2008-28), funded by the Department of Education, Universities and Research of the Basque Government for the period 2008-10.
  41. Technical contributions These projects used it in different domains... Residences

    Hospitals Supermarkets Hotels and homes environments.
  42. Future work Are limited devices just dumb devices unable to

    manage semantic annotations? Do we really need the Semantic Web? Will true-REST-architectures ever prevail?
  43. All rights of images are reserved by the original owners*,

    the rest of the content is licensed under a Creative Commons by-sa 3.0 license. * leogg, rduris, williamtheaker and cibo00.