Slide 1

Slide 1 text

Reusing Web-enabled Actuators from a Semantic Space-based Perspective Aitor Gómez Goiri, Iñigo Goiri, Diego López-de-Ipiña July 2, 2014

Slide 2

Slide 2 text

Outline 1 - Introduction 2 - Baseline actuation techniques 3 - Comparison 4 - Hybrid actuation 5 - Conclusions

Slide 3

Slide 3 text

Introduction

Slide 4

Slide 4 text

Background Introduction

Slide 5

Slide 5 text

Background Introduction

Slide 6

Slide 6 text

Background Introduction

Slide 7

Slide 7 text

Background Introduction

Slide 8

Slide 8 text

Background Introduction

Slide 9

Slide 9 text

Heterogeneity challenge Introduction

Slide 10

Slide 10 text

Interoperability Introduction > Heterogeneity 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.

Slide 11

Slide 11 text

Interoperability Introduction > Heterogeneity 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.

Slide 12

Slide 12 text

Interoperability: use info Introduction > Heterogeneity

Slide 13

Slide 13 text

Interoperability: use info (solution) Introduction > Heterogeneity

Slide 14

Slide 14 text

Interoperability: exchange info Introduction > Heterogeneity 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.

Slide 15

Slide 15 text

Exchange info 1: the Web Introduction > Heterogeneity

Slide 16

Slide 16 text

Exchange info 1: the Web Introduction > Heterogeneity

Slide 17

Slide 17 text

Exchange info 1: the Web Introduction > Heterogeneity

Slide 18

Slide 18 text

Exchange info 2: Tuple Spaces Introduction > Heterogeneity

Slide 19

Slide 19 text

Exchange info 2: Tuple Spaces Introduction > Heterogeneity

Slide 20

Slide 20 text

Baseline actuation techniques How to make a change in the environment? (2/5)

Slide 21

Slide 21 text

Patterns for Tuple Spaces Baseline actuation techniques

Slide 22

Slide 22 text

Patterns for Tuple Spaces Baseline actuation techniques

Slide 23

Slide 23 text

Patterns for Tuple Spaces Baseline actuation techniques

Slide 24

Slide 24 text

Patterns for Tuple Spaces Baseline actuation techniques

Slide 25

Slide 25 text

Patterns for Tuple Spaces Baseline actuation techniques

Slide 26

Slide 26 text

Patterns for Tuple Spaces Baseline actuation techniques

Slide 27

Slide 27 text

Patterns for Tuple Spaces Baseline actuation techniques

Slide 28

Slide 28 text

Patterns for Tuple Spaces Baseline actuation techniques

Slide 29

Slide 29 text

Patterns for Tuple Spaces Baseline actuation techniques

Slide 30

Slide 30 text

Patterns for Tuple Spaces Baseline actuation techniques

Slide 31

Slide 31 text

Patterns for Tuple Spaces in UbiComp Baseline actuation techniques

Slide 32

Slide 32 text

Patterns for Tuple Spaces in UbiComp Baseline actuation techniques

Slide 33

Slide 33 text

Patterns for Tuple Spaces in UbiComp Baseline actuation techniques

Slide 34

Slide 34 text

Patterns for Tuple Spaces in UbiComp Baseline actuation techniques

Slide 35

Slide 35 text

HTTP API Baseline actuation techniques 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

Slide 36

Slide 36 text

REST/Hypermedia-driven HTTP API Baseline actuation techniques

Slide 37

Slide 37 text

REST/Hypermedia-driven HTTP API Baseline actuation techniques

Slide 38

Slide 38 text

REST/Hypermedia-driven HTTP API Baseline actuation techniques

Slide 39

Slide 39 text

RESTdesc Baseline actuation techniques

Slide 40

Slide 40 text

RESTdesc Baseline actuation techniques

Slide 41

Slide 41 text

RESTdesc Baseline actuation techniques

Slide 42

Slide 42 text

RESTdesc Baseline actuation techniques

Slide 43

Slide 43 text

RESTdesc Baseline actuation techniques 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 ; . . .

Slide 44

Slide 44 text

RESTdesc Baseline actuation techniques

Slide 45

Slide 45 text

RESTdesc Baseline actuation techniques

Slide 46

Slide 46 text

RESTdesc Baseline actuation techniques

Slide 47

Slide 47 text

RESTdesc Baseline actuation techniques

Slide 48

Slide 48 text

RESTdesc Baseline actuation techniques

Slide 49

Slide 49 text

Motivation Baseline actuation techniques

Slide 50

Slide 50 text

Comparison (3/5)

Slide 51

Slide 51 text

General properties and requirements Comparison Actuation Communication style Benefits Required features Space-based Indirect Decoupling Subscriptions REST-based Direct Reuse Rule-based reasoning

Slide 52

Slide 52 text

General properties and requirements Comparison Actuation Communication style Benefits Required features Space-based Indirect Decoupling Subscriptions REST-based Direct Reuse Rule-based reasoning

Slide 53

Slide 53 text

General properties and requirements Comparison Actuation Communication style Benefits Required features Space-based Indirect Decoupling Subscriptions REST-based Direct Reuse Rule-based reasoning

Slide 54

Slide 54 text

Driving scenario Comparison

Slide 55

Slide 55 text

Networking activity Comparison

Slide 56

Slide 56 text

Experimental environment Comparison Platform Raspberry Pi (model B) RAM Memory 512 MB CPU 700 MHz Low Power ARM1176JZ-F Applications Processor

Slide 57

Slide 57 text

Computing activity Comparison seconds

Slide 58

Slide 58 text

Summary Comparison 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

Slide 59

Slide 59 text

Summary Comparison 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

Slide 60

Slide 60 text

Summary Comparison 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

Slide 61

Slide 61 text

Hybrid actuation Could we seamlessly reuse web actuators from space- based perspective? (4/5)

Slide 62

Slide 62 text

Interoperation Hybrid actuation

Slide 63

Slide 63 text

Interoperation Hybrid actuation

Slide 64

Slide 64 text

Interoperation Hybrid actuation

Slide 65

Slide 65 text

Proposed solution Hybrid actuation

Slide 66

Slide 66 text

Proposed solution Hybrid actuation

Slide 67

Slide 67 text

Proposed solution Hybrid actuation

Slide 68

Slide 68 text

Discussion Hybrid actuation 1. Obtaining background knowledge 2. Triggering REST actuation 3. From a subscription to result to goal More general from task to result.

Slide 69

Slide 69 text

Conclusions

Slide 70

Slide 70 text

Conclusions and Future Work Seamless reuse in simple scenario github.com/gomezgoiri /reusingWebActuatorsFromSemanticSpace 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?

Slide 71

Slide 71 text

Questions? Aitor Gómez Goiri aitor.gomez (at) deusto (dot) es

Slide 72

Slide 72 text

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.

Slide 73

Slide 73 text

Backup slides

Slide 74

Slide 74 text

Space uncoupling Tuple Spaces

Slide 75

Slide 75 text

Space uncoupling Tuple Spaces

Slide 76

Slide 76 text

Time uncoupling Tuple Spaces

Slide 77

Slide 77 text

Time uncoupling Tuple Spaces

Slide 78

Slide 78 text

Time uncoupling Tuple Spaces

Slide 79

Slide 79 text

Time uncoupling Tuple Spaces