Upload
others
View
3
Download
0
Embed Size (px)
Citation preview
Crowd-SourcingSmart Spaces today?Virtual State Layer
http://static.fashion4home.net/r17/catalog/image/show/product/38499/type/image/dim/x/name/2-sitzer-sofa-hudson-semianilin-leder-rot-50474da01b9ec.jpg
The Missing Layer - Virtualizing Smart SpacesMarc-Oliver Pahl and Georg Carle
[email protected] [email protected]
Technische Universität München
[email protected] | The Missing Layer - Virtualizing Smart Spaces 2
4 Xyologic, USA market, August 2011 5 Xyologic, USA market, August 2011
Dev
ices
sol
d du
ring
qua
rter
(00
0’s) Apps available at end of quarter
Lots of developers produce lots of applications
Wouldn’t it be cool to have crowd-sourced development
for smart spaces too?
[email protected] | The Missing Layer - Virtualizing Smart Spaces
http://static.fashion4home.net/r17/catalog/image/show/product/38499/type/image/dim/x/name/2-sitzer-sofa-hudson-semianilin-leder-rot-50474da01b9ec.jpg
3
Simple Development of Services4
1 Homogeneous API2 Portable Applications3 Dynamic Extensibility
[email protected] | The Missing Layer - Virtualizing Smart Spaces
Research questions?
• How can a homogeneous API to heterogeneous devices in smart spaces look like?
• How can the portability (instance-comprehensive use) of applications be supported?
• How can dynamic extensibility be realized?
• How can the development of applications for smart spaces be supported to facilitate it?
4
2
4
1
3
[email protected] | The Missing Layer - Virtualizing Smart Spaces
Services/ Applications
Gateways
Physical World
Sensors/ Actuators
5
Ontologies
? : ?
centralized orchestration
supported by gateways
abstraction via ontologies
What kind of support for software orchestration do we have today?
[11] Y.-D. Bromberg, P. Grace, L. Reveillere, and G. S. Blair, “Bridging the interoperability gap: overcoming combined ap- plication and middleware heterogeneity,” in Middleware’11: Proceedings of the 12th ACM/IFIP/USENIX international conference on Middleware. Springer-Verlag, Dec. 2011.
[9] C. Bettini, O. Brdiczka, K. Henricksen, J. Indulska, D. Nick- las, A. Ranganathan, and D. Riboni, “A survey of context modelling and reasoning techniques,” Pervasive and Mobile Computing, vol. 6, no. 2, pp. 161–180, Apr. 2010.
[email protected] | The Missing Layer - Virtualizing Smart Spaces
Dyn. Extensibility
App Portability
Service Simplicity
API Homogeneity
centralized orchestration supported by gateways abstraction
via ontologies
+o-
oo-
6
+---
oo-
Control-, Gateway- +/o +/o
[email protected] | The Missing Layer - Virtualizing Smart Spaces
Which could be a good abstraction?
7
perception cognition action
event condition action
<L*, luminance < 1000Lx, light_on()> State!
[email protected] | The Missing Layer - Virtualizing Smart Spaces
Gateways Gateway Service3
Virtual State Layer4
Services/ Applications5
Service
Physical World1
Sensors/ Actuators Sensor Actuator Sensor/ Actuator2
Advanced Reasoning
State Virtualization
Knowledge AgentKnowledge Tree
Orchestration LogicIntroducing Virtual State
8
0x42
GW
S 5000Lx
5000Lx
It is DAY
Knowledge Brokerage
[email protected] | The Missing Layer - Virtualizing Smart Spaces
Tuple Space
9
Producer
Consumer
Tuple Space
<String address, String typeID, String value>
<address, typeID, String>
queries
E.g.: Linda, JavaSpaces, TSpaces, ...
subscribes
[email protected] | The Missing Layer - Virtualizing Smart Spaces
Virtual State Layer Tuple Space• Full spatial and temporal decoupling• Data-type-based search• Unified interface: search, get/set, subscribe
• Hierarchically structured tuples• Semantical locator/ID split
via type-based search• Multi-inheritance• Shared global data-type repository
for convergence (Model Store)• Dynamically extensible data model
• Address-based subscriptions
10
Gateway Service
Virtual State
Service
Sensor/ Actuator
Knowledge Tree
Model StoreGlobal
HomogeneousAPI
Portable Apps
Dynamic Extensibility
LocalKnowledge
Store
RemoteKnowledge Directory
get
set
subs
crib
eKnowledge Agent
sear
ch
Gat
eway
Ser
vice
Con
trol
Ser
vice
UI S
ervi
ce
...
ActuatorSensor
Har
dwar
eU
nder
lay
Kno
wle
dge
Age
ntO
verl
ay (
VSL
)
Logical ConnectivityPhysical Connectivity
TCP, OSGI, XMPP
Alive Ping,KOR Update
[email protected] | The Missing Layer - Virtualizing Smart Spaces
Dyn. Extensibility
App Portability
Service Simplicity
API Homogeneity
centralized orchestration supported by gateways abstraction
via ontologies
+
o
o
o
-
-
12
+
+
+--- ++
oo- ++
VirtualState Layer
Control-, Gateway- +/o +/o +/+
[email protected] | The Missing Layer - Virtualizing Smart Spaces
How do orchestration tasks look like?
13
with the VSL
V i r t u a l S t a t e L a y e r
L*-NotificationHandler:If (luminance < 1000Lx) then
light = on;<L*, luminance < 1000Lx, light_on()>
[email protected] | The Missing Layer - Virtualizing Smart Spaces 14
with the VSL
V i r t u a l S t a t e L a y e r
We have a sm
art
spaceand
WE DEVELOP
software
!
[email protected] | The Missing Layer - Virtualizing Smart Spaces
The Virtual State Layer is part of the Distributed Smart Space Orchestration System (DS2OS)
• Provides autonomous knowledge storage and brokerage
• Written in Java
• Simple API: get/ set & publish/ subscribe
• Can be used via TCP socket, (OSGI, XMPP)
• GIT repository at http://www.ds2os.org/, http://dssos.net.in.tum.de/
15
Crowd-SourcingSmart Spaces today?Virtual State Layer
http://static.fashion4home.net/r17/catalog/image/show/product/38499/type/image/dim/x/name/2-sitzer-sofa-hudson-semianilin-leder-rot-50474da01b9ec.jpg
to-d
evel
op
Easy
Simple Development of Services4
1 Homogeneous API2 Portable Applications3 Dynamic Extensibility
The Missing Layer - Virtualizing Smart SpacesMarc-Oliver Pahl and Georg Carle
[email protected] [email protected]
Technische Universität München
Thank you for your attention!Questions?
http://ds2os.org/