ds2os.org/
Orchestration Distributed Smart 2pace System
Distributed Smart Space Orchestration System
Marc-Oliver Pahl
Distributed Smart Space Orchestration System 2pace Marc-Oliver - - PowerPoint PPT Presentation
System Orchestration Distributed Smart Space Orchestration System 2pace Marc-Oliver Pahl Distributed Smart ds2os.org/ Architectural Components of PerCom Distributed Smart 2pace Orchestration System Interface Devices People Interface
ds2os.org/
Orchestration Distributed Smart 2pace System
Marc-Oliver Pahl
Orchestration Distributed Smart 2pace System
Knowledge Agent
Context Repository
Context Manager
Adaptation
Actuator Sensor
Adaptation Adaptation Service UI Service Service Service
Heterogeneous Smart Devices Bidirectional Adaptation Context Management (VSL) Orchestration Workflows, etc. People
Interface Devices
Interface Devices Physical World
Level of Abstraction
Physical World Devices Services Context
Real World Objects Virtual Objects Domain Ontology Context Models Upper Ontology Meta Model
Analysis (Descriptive) Design (Conceptional)
abstract concrete
Legend: Correspondence Entity Inheritance (“is-a”) Uses
Orchestration Distributed Smart 2pace System
Context Repository
Knowledge Agent
6 Context Repository
Context Manager
Gateway
Actuator Sensor
Gateway Gateway
subscribe notify get set
Service UI Service Service Service
subscribe notify get set virtual nodes
Heterogeneous Smart Devices Bidirectional Adaptation Context Management Orchestration Workflows, etc. People
Interface Devices
Interface Devices Physical World
Level of Abstraction
Physical World Devices Services Context
7
Services VSL Overlay Hardware Underlay
Other Services Gateway Services Logical Connectivity Physical Connectivity
Knowledge Agent
Gateway
Advanced Reasoning
Orchestration User Interface ...
Actuator Sensor
DS2OS Site Local Global
CentralModel Repository App Store
Orchestration Distributed Smart 2pace System
Managed'Element' abstraction 1.251556f heat! 23°C
Is: 23°C
Want: 28°C Monitor Execute Analyze Plan Knowledge
Autonomic Manager
Actuator Sensor Autonomic'Element' 23°C < 28°C Configura4on'Change'
Knowledge Agent
Gateway
Advanced Reasoning
Orchestration User Interface ...
Actuator Sensor
AREF GND RESET 3V3 L TX RX USB EXT PWR SEL PWR ICSP TX RX 3 1 2 1 1 1 1 9 8 DIGITAL 7 6 5 4 3 2 1 0 1 5V Gnd POWER www.adruino.cc ANALOG IN Vin 1 2 3 4 5 ADRUINOjava -jar ds2os.jar —console serviceTemplate.tar.gz PlainOldJavaObject
Knowledge Agent
Connector
ServiceTemplate
Handler
ds2os.jar IConnector ServiceTemplate.java ServiceHandler.java
Service
Service Service Service
VSL
“Wiring” Functionality
Context Repository
public ServiceTemplate() { try { c = new Connector(); c.registerService(myServiceIdentifier, myServiceModelId); myKnowledgeRoot = c.getKORSubtree(); h = new ServiceTemplateHandler(c, myKnowledgeRoot); } catch (Exception e) { e.printStackTrace(); } }
Knowledge Agent
Connector
ServiceTem plate Context Repository
demoSvc
Context Repository
“/x/y/z changed”
c.subscribe(myKnowledgeRoot + "/tickle", new ISubscriber() { @Override public void notificationCallback(String address) { // read the node's data if (c.get(myKnowledgeRoot + "/tickle").equals("1")) { // Someone is tickling us h.tickleHandler(); } }
Context Repository
“{get,set} /x/y/z/fooBar”
c.registerVirtualNode(myKnowledgeRoot + "/greet", new IVirtualNodeHandler() { // Greet the posted name to the std::out. Ignore added suffixes. @Override public void set(String address, byte[] value, String writerID) { h.greetConsole(value.toString() + "!"); } // Greet the suffixed name by returning the greeting. @Override public byte[] get(String address, String readerID) { String suffix = address.substring((myKnowledgeRoot + "/greet/").length()); return h.greetBack(suffix).getBytes(); } });
ds2os.org/
Orchestration Distributed Smart 2pace System
Marc-Oliver Pahl, Philipp Härtinger, Felix Kuperjans, Andreas Hubel