23
16/02/06 Internet based monitoring and control of embedded systems 1 EES.5413 February 16, 2005 Remi Bosman System Architecture & Networking Department of Mathematics & Computer Science Eindhoven University of Technology

EES.5413 February 16, 2005

Embed Size (px)

DESCRIPTION

EES.5413 February 16, 2005. Remi Bosman System Architecture & Networking Department of Mathematics & Computer Science Eindhoven University of Technology. Content. Introduction Applications in network Service orchestration Orchestration language Research questions Incompatibility - PowerPoint PPT Presentation

Citation preview

16/02/06 Internet based monitoring and control of embedded systems

1

EES.5413February 16, 2005

Remi Bosman

System Architecture & NetworkingDepartment of Mathematics & Computer Science

Eindhoven University of Technology

16/02/06 Internet based monitoring and control of embedded systems

2

Content

• Introduction• Applications in network• Service orchestration• Orchestration language• Research questions• Incompatibility• Conflicts• Conclusion

16/02/06 Internet based monitoring and control of embedded systems

3

Introduction

• About me

• Running example scenario

16/02/06 Internet based monitoring and control of embedded systems

4

AmI environment example

16/02/06 Internet based monitoring and control of embedded systems

5

Home surveillance application

orchestratorbinds

binds

16/02/06 Internet based monitoring and control of embedded systems

6

Home surveillance application

orchestrator

16/02/06 Internet based monitoring and control of embedded systems

7

Home surveillance application

orchestrator

knows

16/02/06 Internet based monitoring and control of embedded systems

8

Home surveillance application

orchestratorbinds

bindsbinds

16/02/06 Internet based monitoring and control of embedded systems

9

Home surveillance application

16/02/06 Internet based monitoring and control of embedded systems

10

Home surveillance application

16/02/06 Internet based monitoring and control of embedded systems

11

Home surveillance application

16/02/06 Internet based monitoring and control of embedded systems

12

Home surveillance application

16/02/06 Internet based monitoring and control of embedded systems

13

Home surveillance application

16/02/06 Internet based monitoring and control of embedded systems

14

Applications in the network

Service

ControlPoint Application11

1

*

Orchestrator

Service

*

*

1

*Application

16/02/06 Internet based monitoring and control of embedded systems

15

Service orchestration

• Create, destroy and change applications– Binding services– Configuring services

• Application change– Service removal– Context change– Manager services

• Context examples– Time– Location– Environment conditions (light / noise level)

16/02/06 Internet based monitoring and control of embedded systems

16

Orchestration language

• Script for the orchestrator• Guarded events (rules) • Goals:

– Simple to use– Yet expressive

• Needs testing against scenarios

16/02/06 Internet based monitoring and control of embedded systems

17

Example 1: a camera vieweron this.LIFECYCLE(START):

source = find(CAMERA) sink = find(DISPLAY)

on this.SUBSCRIBED:if (source is not None) and (sink is not None):

sink.Open(sink.HostName, 49000)source.Open(sink.HostName, 49000)sink.Start()source.Start()

on this.UNSUBSCRIBED:if source is not None:

source.Close()

if sink is not None:sink.Close()

on this.LIFECYCLE(STOP):if sink is not None:

sink.Close()

if source is not None:source.Close()

16/02/06 Internet based monitoring and control of embedded systems

18

Example 2: doorbell cameraon this.LIFECYCLE(START):

source = find(CAMERA)sink = find(DISPLAY)trigger = find(DOORBELL)

on this.SUBSCRIBED:if (source is not None) and (sink is not None) and (trigger is not None):

sink.Open(sink.HostName, 49000)source.Open(sink.HostName, 49000)sink.start()source.subscribe(trigger.PressedEvent, "Start(60)")

on this.UNSUBSCRIBED:if source is not None:

source.unsubscribe(trigger)source.Close()

if sink is not None:sink.Close()

on this.LIFECYCLE(STOP):if source is not None:

source.unsubscribe(trigger)source.Close()

if sink is not None:sink.Close()

16/02/06 Internet based monitoring and control of embedded systems

19

Research questions

• What is the minimal interface required in services for generic composition?

• What is a "good" instruction set for / what constructs are needed in a service composition language?

• What solutions are there for interface/protocol incompatibility?

• How can orchestration conflicts be resolved?

16/02/06 Internet based monitoring and control of embedded systems

20

Incompatibility

• How to connect services which do not speak each others language– Orchestrator ‘teaches’ which messages to send– Introduce translation service

+Show()

Camera

+Display()

Television

+Show()+Display()

Translator

1 1 1 1

Orchestrator1

-connects1

-connects and1

-configures1

1

-connects1

16/02/06 Internet based monitoring and control of embedded systems

21

Conflicts

• Orchestrator A– Showing a movie

• Orchestrator B– Show short camera capture

Orchestrator A Orchestrator B

DVD Player CameraTelevision

1

1

1

1

1 1

1

1

1

1

1 1

16/02/06 Internet based monitoring and control of embedded systems

22

Conclusion

• Orchestration of services in the network• Rule / event language for orchestration• Service interface compatibility• Orchestration conflict resolving

16/02/06 Internet based monitoring and control of embedded systems

23

Questions?