Revisiting SoA for the IoT A Middleware Perspective Valerie Issarny - - PowerPoint PPT Presentation

revisiting soa for the iot
SMART_READER_LITE
LIVE PREVIEW

Revisiting SoA for the IoT A Middleware Perspective Valerie Issarny - - PowerPoint PPT Presentation

ICSOC 2016 Revisiting SoA for the IoT A Middleware Perspective Valerie Issarny Joint work with Georgios Bouloukakis, MiMove Project Team Nikolaos Georgantas, Benjamin Billet, Inria Paris and many other colleagues Agenda 1. The IoT: An


slide-1
SLIDE 1

Revisiting SoA for the IoT

A Middleware Perspective

MiMove Project Team

Inria Paris Valerie Issarny Joint work with Georgios Bouloukakis, Nikolaos Georgantas, Benjamin Billet, and many other colleagues

ICSOC 2016

slide-2
SLIDE 2

Agenda

Revisiting Service-oriented Architecture for the IoT, Issarny et al.

  • 2
  • 1. The IoT: An Introduction
  • 2. A Service-Oriented IoT: Why & How
  • 3. SoA for the IoT: Some Middleware Insight
  • 4. Conclusion: What’s Next
slide-3
SLIDE 3

But what is the Internet of Things?

Revisiting Service-oriented Architecture for the IoT, Issarny et al.

  • 3

1

slide-4
SLIDE 4

The Internet of (Every)Things

  • 4

Revisiting Service-oriented Architecture for the IoT, Issarny et al.

slide-5
SLIDE 5

When the Virtual absorbs the Physical World

  • 5

Revisiting Service-oriented Architecture for the IoT, Issarny et al.

Not yet there… hopefully !

Matrix trailer

slide-6
SLIDE 6

When the Virtual & Physical Worlds Connect

  • 6

Revisiting Service-oriented Architecture for the IoT, Issarny et al.

Why bother? It’s already there!

slide-7
SLIDE 7

Revisiting Service-oriented Architecture for the IoT, Issarny et al.

  • 7

But the Physical World is Complex

And so is the IoT!

123RF Consuelo Barreto + Inria edition

slide-8
SLIDE 8

Revisiting Service-oriented Architecture for the IoT, Issarny et al.

  • 8

The Pollution Monitoring use Case

Mobile Crowdsensing Social Sensing Fixed Sensing High cost but accurate Low cost & high redundancy but low accuracy & high diversity Qualitative add-on but highly subjective

https://www.youtube.com/watch?v=Yw_Er8fMmMw Inria

slide-9
SLIDE 9

Revisiting Service-oriented Architecture for the IoT, Issarny et al.

  • 9

Challenges

  • Ultra-large scale
  • # Things
  • # Data
  • Deep heterogeneity
  • Technical
  • Functional
  • Social
  • Physical knowledge
  • Time-dependency
  • High dynamics
  • Privacy & security

[Teixeira et al., ServiceWave’2011]

slide-10
SLIDE 10
  • 10

What if…

Everything connects and contributes to urban knowledge

Fixed Sensors Mobile Sensors Citizens Social Networks

Urban middleware with hybrid sensing/actuation Middleware tames high heterogeneity, scale & dynamics And QoS @ large – cf Elisa’s keynote on security & privacy

Revisiting Service-oriented Architecture for the IoT, Issarny et al. [Hachem et al., BigDataService’2015]

slide-11
SLIDE 11

Revisiting Service-oriented Architecture for the IoT, Issarny et al.

  • 11

Learning from an Urban Scale Experiment

Ambiciti App informing about individual and collective exposure to urban pollution Noise pollution monitoring in Paris since summer 2015

[Issarny et al., Middleware’2016]

Scale, Heterogeneity, Physical, Dynamics, Privacy, …

Inria / photo C. Morel

slide-12
SLIDE 12
  • 12

The 2 Ends of the Spectrum

Fixed Sensors Mobile Sensors Citizens Social Networks

Revisiting Service-oriented Architecture for the IoT, Issarny et al.

slide-13
SLIDE 13
  • 13

The 2 Ends of the Spectrum

Fixed Sensors Mobile Sensors Citizens Social Networks

Revisiting Service-oriented Architecture for the IoT, Issarny et al.

Toward an open Internet of Things Connect Cooperate To bring new services

  • n the fly

SoA to the Rescue

slide-14
SLIDE 14

Revisiting Service-oriented Architecture for the IoT, Issarny et al.

Toward a Service-oriented IoT?

2

  • 14
slide-15
SLIDE 15

Service-oriented Architecture Meets the IoT

Revisiting Service-oriented Architecture for the IoT, Issarny et al.

  • 15
  • Service Abstraction

Discovery, Composition BUT Ultra-large scale Continuous data streams Multi-paradigm interactions

[Issarny et al., JISA’2011]

& Access

slide-16
SLIDE 16

A Rich State of the Art

Revisiting Service-oriented Architecture for the IoT, Issarny et al.

  • 16
  • Ultra-large scale
  • Cloud of Things, In-network processing
  • Continuous processing, Map-reduce
  • Heterogeneity
  • SoA, WoT, Virtualization
  • Ontology, Semantic WoT
  • Physical knowledge
  • Sensor data streams
  • Dynamics
  • Dynamic discovery
  • Privacy & security

[Razzaque et al., IOT Journal ’2016]

slide-17
SLIDE 17

A Thing-based SoA

Revisiting Service-oriented Architecture for the IoT, Issarny et al.

  • 17

Service abstraction for Things

  • Connect with the physical

world

  • Semantic knowledge
  • Functional & non-functional
  • Discrete & continuous
slide-18
SLIDE 18

A Thing-based SoA

Revisiting Service-oriented Architecture for the IoT, Issarny et al.

  • 18

Output port access diffusion Data producer Data consumer Client Operation invocation Discrete result Service provider Service consumer Client Discrete service Continuous service

slide-19
SLIDE 19

A Thing-based SoA

Revisiting Service-oriented Architecture for the IoT, Issarny et al.

  • 19

Thing discovery

  • Query for real-world

phenomena

  • Mobile and fixed things
  • Diversity of the connected

things

  • Redundancy

Things Abstraction

slide-20
SLIDE 20

A Thing-based SoA

Revisiting Service-oriented Architecture for the IoT, Issarny et al.

  • 20

Things Abstraction, Discovery

  • Thing composition
  • Complexity of the physical

world

  • Diversity of the connected

things

  • Sense & actuate

continuous real-world phenomena

slide-21
SLIDE 21

A Thing-based SoA

Revisiting Service-oriented Architecture for the IoT, Issarny et al.

  • 21

Thing access

  • Resource-constraints
  • Proxy/gateway
  • Thing node
  • Diversity of access

protocols for the tiny to the wealthy things Things Abstraction, Discovery, Composition

slide-22
SLIDE 22

A Thing-based SoA

Revisiting Service-oriented Architecture for the IoT, Issarny et al.

  • 22
  • Tame the #

Tame the heterogeneity Discrete & continuous

slide-23
SLIDE 23

Middleware for a Service-oriented IoT

Revisiting Service-oriented Architecture for the IoT, Issarny et al.

  • 23

3

slide-24
SLIDE 24

Middleware Solutions for a Thing-based SOA Sensing the Physical World

Revisiting Service-oriented Architecture for the IoT, Issarny et al.

  • 24

" Discovery in the ultra- large scale IoT " Composition in the Dynamic resource- constrained IoT " Access in the Heterogeneous IoT

slide-25
SLIDE 25

Service Discovery in the Ultra-large Scale IoT

Revisiting Service-oriented Architecture for the IoT, Issarny et al.

  • 25
  • [Hachem et al., PerCom’2013]

Probabilistic discovery for the mobile IoT

slide-26
SLIDE 26

Probabilistic Discovery for the Mobile IoT

Revisiting Service-oriented Architecture for the IoT, Issarny et al.

  • 26

More likely to not register Enough coverage

Design Rationale

  • Do not register

redundant Things to reduce number

  • Leverage user

mobility knowledge

Jardin des Tuileries

[Hachem et al., PMC’2014]

slide-27
SLIDE 27

Probabilistic Discovery: How

Revisiting Service-oriented Architecture for the IoT, Issarny et al.

  • 27

Jardin des Tuileries

Centralized Approach

  • Compute decision on

Registry as search problem

  • Using global

displacement knowledge

  • But computation time

increases linearly

[Hachem et al., PMC’2014]

slide-28
SLIDE 28

Probabilistic Discovery: How

Revisiting Service-oriented Architecture for the IoT, Issarny et al.

  • 28

Jardin des Tuileries

Distributed Approach

  • Compute decision
  • n Thing
  • Estimate

displacements

  • f registered

Things using mobility models (e.g., TLW)

[Hachem et al., PMC’2014]

slide-29
SLIDE 29

Service Discovery in the Ultra-large Scale IoT

Revisiting Service-oriented Architecture for the IoT, Issarny et al.

  • 29
  • Probabilistic registration & lookup

for the mobile IoT Composing the discovered things

slide-30
SLIDE 30

Service Composition in the Resource-constrained IoT

Revisiting Service-oriented Architecture for the IoT, Issarny et al.

  • 30

Consumer ______________ _ +consume(item) Storage ___________________ __ +store(item) +produce(query):item- list Processor ________________ __ +initialize() +work(item):item-list +finalize():item-list store Transform Consume Producer ______________ _ +produce():item

[Billet et al., JISA’2014]

slide-31
SLIDE 31

Logical Mashup Graph

Revisiting Service-oriented Architecture for the IoT, Issarny et al.

  • 31

Producer Processor Processor Processor Consumer

Transformateur Transformateur

[Billet et al., MASS’2014]

slide-32
SLIDE 32

Logical Mashup Graph Example

Revisiting Service-oriented Architecture for the IoT, Issarny et al.

  • 32

4 3 6

Speed Limiter

8

Control Center (GUI)

7 5

s4 s3 s5 s6 s7 Component Stream

2

NO2 Sensor

1

Particle Sensor s2 s1

[Billet et al., MASS’2014]

slide-33
SLIDE 33

Deploying the Graph

Revisiting Service-oriented Architecture for the IoT, Issarny et al.

  • 33

Energy, Resource-constraints, Load balancing, Timeliness

[Billet et al., MASS’2014]

slide-34
SLIDE 34

Modeling Tasks and Things for Physical Mapping

Revisiting Service-oriented Architecture for the IoT, Issarny et al.

  • 34

!!!

Solving the problem optimally & approximately

[Billet et al., MASS’2014]

slide-35
SLIDE 35

Physical Composition of the Resource-constrained Things Example

Revisiting Service-oriented Architecture for the IoT, Issarny et al.

  • 35

4 3 6

Speed Limiter

8

Control Center (GUI)

7 5

s4 s3 s5 s6 s7 Component Stream

2

NO2 Sensor

1

Particle Sensor s2 s1

[Billet et al., MASS’2014]

slide-36
SLIDE 36

Dioptase Middleware for Things

Revisiting Service-oriented Architecture for the IoT, Issarny et al.

  • 36

Service Layer

Component Manager

Storage

Interpreter

Remote Connector

Driver Manager Storage Driver Thing Driver Network Driver

Streaming Services

Service Registry Management Services User-defined Services Compression Plugin Cryptography Plugin Streaming Plugin

Web Server

Local Connector Producer Interpreted Task Instruction Registry Processor Operator Registry

[Billet et al., JISA’2014]

Dioptase is one solution…

slide-37
SLIDE 37

Revisiting Service-oriented Architecture for the IoT, Issarny et al.

  • 37

Service Access in the Heterogeneous IoT

Dioptase DPWS MQTT CoAP … Streaming Discrete Sync Async … Pus/sub

[Georgantas et al., ESOCC’2013]

slide-38
SLIDE 38

Revisiting Service-oriented Architecture for the IoT, Issarny et al.

  • 38

Service Bus for the IoT

4 basic operations:

One-way sender operation One-way receiver operation Two-way asynchronous client operation Two-way asynchronous server operation Two-way synchronous client operation Two-way synchronous server operation Stream consumer operation Stream producer operation each operation represented as combination of post and get primitives post and get primitives mapped to each protocol: SOAP, REST, CoAP, MQTT, etc.

Reconciling multi-paradigm interactions

[Kattepur et al., ICSOC’2015]

slide-39
SLIDE 39

Revisiting Service-oriented Architecture for the IoT, Issarny et al.

  • 39

VSB: The eVolution Service Bus

slide-40
SLIDE 40

Revisiting Service-oriented Architecture for the IoT, Issarny et al.

  • 40

VSB Development & Run-time Environments

slide-41
SLIDE 41

Revisiting Service-oriented Architecture for the IoT, Issarny et al.

  • 41

An Urban Middleware Leveraging the IoT?

slide-42
SLIDE 42

What’s next?

Revisiting Service-oriented Architecture for the IoT, Issarny et al.

  • 42

4

slide-43
SLIDE 43

Contributions so far…

  • 43

Revisiting Service-oriented Architecture for the IoT, Issarny et al.

A perspective on SoA for the IoT A flavor of SoA but… Middleware solutions to tame the complex IoT Scale, heterogeneity, … But the centralized approach remains the winner…

slide-44
SLIDE 44
  • Security & Privacy
  • Reliability & Dependability
  • Usability, Management, Interoperability
  • Software architecture
  • Information-centric networking
  • Closed-loop operation
  • Testing & Evaluation
  • 44

Revisiting Service-oriented Architecture for the IoT, Issarny et al.

http://anrg.usc.edu/ngiot16/

What’s next… Next generation Internet of Things

slide-45
SLIDE 45

Thank you!

MiMove Project Team - https://mimove.inria.fr CityLab@Inria- https://citylab.inria.fr Inria Paris - http://www.inria.fr