16/02/06Internet based monitoring and control of embedded systems 1 EES.5413 February 16, 2005 Remi...
-
Upload
justus-passon -
Category
Documents
-
view
215 -
download
0
Transcript of 16/02/06Internet based monitoring and control of embedded systems 1 EES.5413 February 16, 2005 Remi...
![Page 1: 16/02/06Internet based monitoring and control of embedded systems 1 EES.5413 February 16, 2005 Remi Bosman System Architecture & Networking Department.](https://reader035.fdocuments.net/reader035/viewer/2022070308/551c5472550346a66a8b4d98/html5/thumbnails/1.jpg)
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
![Page 2: 16/02/06Internet based monitoring and control of embedded systems 1 EES.5413 February 16, 2005 Remi Bosman System Architecture & Networking Department.](https://reader035.fdocuments.net/reader035/viewer/2022070308/551c5472550346a66a8b4d98/html5/thumbnails/2.jpg)
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
![Page 3: 16/02/06Internet based monitoring and control of embedded systems 1 EES.5413 February 16, 2005 Remi Bosman System Architecture & Networking Department.](https://reader035.fdocuments.net/reader035/viewer/2022070308/551c5472550346a66a8b4d98/html5/thumbnails/3.jpg)
16/02/06 Internet based monitoring and control of embedded systems
3
Introduction
• About me
• Running example scenario
![Page 4: 16/02/06Internet based monitoring and control of embedded systems 1 EES.5413 February 16, 2005 Remi Bosman System Architecture & Networking Department.](https://reader035.fdocuments.net/reader035/viewer/2022070308/551c5472550346a66a8b4d98/html5/thumbnails/4.jpg)
16/02/06 Internet based monitoring and control of embedded systems
4
AmI environment example
![Page 5: 16/02/06Internet based monitoring and control of embedded systems 1 EES.5413 February 16, 2005 Remi Bosman System Architecture & Networking Department.](https://reader035.fdocuments.net/reader035/viewer/2022070308/551c5472550346a66a8b4d98/html5/thumbnails/5.jpg)
16/02/06 Internet based monitoring and control of embedded systems
5
Home surveillance application
orchestratorbinds
binds
![Page 6: 16/02/06Internet based monitoring and control of embedded systems 1 EES.5413 February 16, 2005 Remi Bosman System Architecture & Networking Department.](https://reader035.fdocuments.net/reader035/viewer/2022070308/551c5472550346a66a8b4d98/html5/thumbnails/6.jpg)
16/02/06 Internet based monitoring and control of embedded systems
6
Home surveillance application
orchestrator
![Page 7: 16/02/06Internet based monitoring and control of embedded systems 1 EES.5413 February 16, 2005 Remi Bosman System Architecture & Networking Department.](https://reader035.fdocuments.net/reader035/viewer/2022070308/551c5472550346a66a8b4d98/html5/thumbnails/7.jpg)
16/02/06 Internet based monitoring and control of embedded systems
7
Home surveillance application
orchestrator
knows
![Page 8: 16/02/06Internet based monitoring and control of embedded systems 1 EES.5413 February 16, 2005 Remi Bosman System Architecture & Networking Department.](https://reader035.fdocuments.net/reader035/viewer/2022070308/551c5472550346a66a8b4d98/html5/thumbnails/8.jpg)
16/02/06 Internet based monitoring and control of embedded systems
8
Home surveillance application
orchestratorbinds
bindsbinds
![Page 9: 16/02/06Internet based monitoring and control of embedded systems 1 EES.5413 February 16, 2005 Remi Bosman System Architecture & Networking Department.](https://reader035.fdocuments.net/reader035/viewer/2022070308/551c5472550346a66a8b4d98/html5/thumbnails/9.jpg)
16/02/06 Internet based monitoring and control of embedded systems
9
Home surveillance application
![Page 10: 16/02/06Internet based monitoring and control of embedded systems 1 EES.5413 February 16, 2005 Remi Bosman System Architecture & Networking Department.](https://reader035.fdocuments.net/reader035/viewer/2022070308/551c5472550346a66a8b4d98/html5/thumbnails/10.jpg)
16/02/06 Internet based monitoring and control of embedded systems
10
Home surveillance application
![Page 11: 16/02/06Internet based monitoring and control of embedded systems 1 EES.5413 February 16, 2005 Remi Bosman System Architecture & Networking Department.](https://reader035.fdocuments.net/reader035/viewer/2022070308/551c5472550346a66a8b4d98/html5/thumbnails/11.jpg)
16/02/06 Internet based monitoring and control of embedded systems
11
Home surveillance application
![Page 12: 16/02/06Internet based monitoring and control of embedded systems 1 EES.5413 February 16, 2005 Remi Bosman System Architecture & Networking Department.](https://reader035.fdocuments.net/reader035/viewer/2022070308/551c5472550346a66a8b4d98/html5/thumbnails/12.jpg)
16/02/06 Internet based monitoring and control of embedded systems
12
Home surveillance application
![Page 13: 16/02/06Internet based monitoring and control of embedded systems 1 EES.5413 February 16, 2005 Remi Bosman System Architecture & Networking Department.](https://reader035.fdocuments.net/reader035/viewer/2022070308/551c5472550346a66a8b4d98/html5/thumbnails/13.jpg)
16/02/06 Internet based monitoring and control of embedded systems
13
Home surveillance application
![Page 14: 16/02/06Internet based monitoring and control of embedded systems 1 EES.5413 February 16, 2005 Remi Bosman System Architecture & Networking Department.](https://reader035.fdocuments.net/reader035/viewer/2022070308/551c5472550346a66a8b4d98/html5/thumbnails/14.jpg)
16/02/06 Internet based monitoring and control of embedded systems
14
Applications in the network
Service
ControlPoint Application11
1
*
Orchestrator
Service
*
*
1
*Application
![Page 15: 16/02/06Internet based monitoring and control of embedded systems 1 EES.5413 February 16, 2005 Remi Bosman System Architecture & Networking Department.](https://reader035.fdocuments.net/reader035/viewer/2022070308/551c5472550346a66a8b4d98/html5/thumbnails/15.jpg)
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)
![Page 16: 16/02/06Internet based monitoring and control of embedded systems 1 EES.5413 February 16, 2005 Remi Bosman System Architecture & Networking Department.](https://reader035.fdocuments.net/reader035/viewer/2022070308/551c5472550346a66a8b4d98/html5/thumbnails/16.jpg)
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
![Page 17: 16/02/06Internet based monitoring and control of embedded systems 1 EES.5413 February 16, 2005 Remi Bosman System Architecture & Networking Department.](https://reader035.fdocuments.net/reader035/viewer/2022070308/551c5472550346a66a8b4d98/html5/thumbnails/17.jpg)
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()
![Page 18: 16/02/06Internet based monitoring and control of embedded systems 1 EES.5413 February 16, 2005 Remi Bosman System Architecture & Networking Department.](https://reader035.fdocuments.net/reader035/viewer/2022070308/551c5472550346a66a8b4d98/html5/thumbnails/18.jpg)
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()
![Page 19: 16/02/06Internet based monitoring and control of embedded systems 1 EES.5413 February 16, 2005 Remi Bosman System Architecture & Networking Department.](https://reader035.fdocuments.net/reader035/viewer/2022070308/551c5472550346a66a8b4d98/html5/thumbnails/19.jpg)
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?
![Page 20: 16/02/06Internet based monitoring and control of embedded systems 1 EES.5413 February 16, 2005 Remi Bosman System Architecture & Networking Department.](https://reader035.fdocuments.net/reader035/viewer/2022070308/551c5472550346a66a8b4d98/html5/thumbnails/20.jpg)
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
![Page 21: 16/02/06Internet based monitoring and control of embedded systems 1 EES.5413 February 16, 2005 Remi Bosman System Architecture & Networking Department.](https://reader035.fdocuments.net/reader035/viewer/2022070308/551c5472550346a66a8b4d98/html5/thumbnails/21.jpg)
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
![Page 22: 16/02/06Internet based monitoring and control of embedded systems 1 EES.5413 February 16, 2005 Remi Bosman System Architecture & Networking Department.](https://reader035.fdocuments.net/reader035/viewer/2022070308/551c5472550346a66a8b4d98/html5/thumbnails/22.jpg)
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
![Page 23: 16/02/06Internet based monitoring and control of embedded systems 1 EES.5413 February 16, 2005 Remi Bosman System Architecture & Networking Department.](https://reader035.fdocuments.net/reader035/viewer/2022070308/551c5472550346a66a8b4d98/html5/thumbnails/23.jpg)
16/02/06 Internet based monitoring and control of embedded systems
23
Questions?