distributed smart space orchestration system
play

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


  1. System Orchestration Distributed Smart Space Orchestration System 2pace Marc-Oliver Pahl Distributed Smart ds2os.org/

  2. Architectural Components of PerCom Distributed Smart 2pace Orchestration System

  3. Interface Devices People Interface Devices Service UI Service Service Service Orchestration Workflows, etc. Physical World Knowledge Agent Devices Services Smart Space Context Context Management (VSL) Level of Abstraction Context Manager Context Repository Bidirectional Adaptation Adaptation Adaptation Adaptation Heterogeneous Smart Devices Sensor Actuator Physical World

  4. Context Analysis Design abstract (Descriptive) (Conceptional) Upper Ontology Meta Model Context Models Domain Ontology Real World Objects Virtual Objects concrete Legend: Correspondence Entity Inheritance (“is-a”) Uses

  5. System Middleware Orchestration • Access Transparency • Location Transparency • Concurrency Transparency 2pace • Migration Transparency Distributed Smart • Relocation Transparency • Failure Transparency • Persistence Transparency Context Repository

  6. 6 Adaptation Interface Devices People Interface Devices Service UI Service Service Service Orchestration subscribe notify set Workflows, etc. get Knowledge Agent Physical World Devices Services virtual nodes Context Context Management Level of Abstraction Context Manager Context Repository Bidirectional subscribe notify set Adaptation get Gateway Gateway Gateway Heterogeneous Smart Devices Sensor Actuator Physical World

  7. 7 Architecture Global DS2OS Site Local Services User Interface Orchestration Advanced Reasoning Gateway CentralModel Repository ... App Store VSL Overlay Knowledge Agent Logical Connectivity Hardware Underlay Physical Connectivity Gateway Services Other Services Sensor Actuator

  8. System Autonomous Management Orchestration Configura4on'Change' Autonomic'Element' Autonomic Manager a b s t r a c t i o n Plan Analyze 23°C 23°C < 28°C 2pace Is: 23°C Knowledge Want: 28°C Distributed Smart 1.251556f heat! Monitor Execute Sensor Actuator Managed'Element'

  9. java -jar ds2os.jar —console serviceTemplate.tar.gz PlainOldJavaObject Setup Knowledge Agent ... User Interface Actuator Orchestration Sensor Advanced Reasoning Gateway AREF GND 3 2 1 0 9 8 7 6 5 4 3 2 1 0 1 1 1 1 DIGITAL RX TX L TX PWR RX ADRUINO 1 PWR SEL USB EXT ICSP www.adruino.cc RESET ANALOG IN POWER 3V3 5V Gnd Vin 0 1 2 3 4 5

  10. Service Template ServiceTemplate.java ds2os.jar IConnector ServiceHandler.java ServiceTemplate Connector Handler Knowledge Agent “Wiring” Functionality Context Repository Service Service Service VSL Service

  11. Connector Setup Connector ServiceTem plate Knowledge Agent public ServiceTemplate() { try { Context Repository demoSvc c = new Connector(); c.registerService(myServiceIdentifier, myServiceModelId); myKnowledgeRoot = c.getKORSubtree(); h = new ServiceTemplateHandler(c, myKnowledgeRoot); } catch (Exception e) { e.printStackTrace(); } }

  12. Subscription “/x/y/z changed” c.subscribe(myKnowledgeRoot + "/tickle", new ISubscriber() { @Override public void notificationCallback(String address) { Context Repository // read the node's data if (c.get(myKnowledgeRoot + "/tickle").equals("1")) { // Someone is tickling us h.tickleHandler(); } }

  13. Virtual Node “{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) { Context Repository 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(); } });

  14. Why is DIY Software Making Relevant?

  15. + = Pervasive Computing becomes Reality

  16. System Orchestration Hands-On GAME 2pace Marc-Oliver Pahl, Philipp Härtinger, Felix Kuperjans, Andreas Hubel Distributed Smart ds2os.org/

Recommend


More recommend