wot runtime scripting bindings

WoT Runtime, Scripting, Bindings Zoltan Kis, Intel WoT Runtime WoT - PowerPoint PPT Presentation

WoT Runtime, Scripting, Bindings Zoltan Kis, Intel WoT Runtime WoT RT Script 1 Things Things Process view WoT RT: one process Bindings: separate processes TDs System APIs / OS Kernel Script n System APIs Socket


  1. WoT Runtime, Scripting, Bindings Zoltan Kis, Intel

  2. WoT Runtime WoT RT Script 1 Things Things Process view ● WoT RT: one process ● Bindings: separate processes TDs ● System APIs / OS Kernel Script n System APIs ● Socket → protocol stack Scripting API (client, server, discovery) (CoAP/UDP, BLE, etc) ● file system Things ● secure storage manager ● local sensors. Runtime implementation (process) System Scripting access Use the Scripting API to ● Interact with remote Things ● ...and services (e.g. fetch TD) plugin iface plugin iface plugin iface ● Access System APIs, via Protocol Protocol System Thing + bindings) system binding binding ● Manage Things (create, delete, run, stop, …), via ManagerThing + bindings System API

  3. Request to run script WoT RT Script 1 Things Things network→ system/socket→ TDs binding→ runtime→ Script n manager/action → run script → API→ runtime (eval) → Scripting API (client, server, discovery) [ fetch TD: system APIs→ bindings→ socket→ runtime→ API→ TD] → Things impl (create Things+bindings)→ manager manager/reply Runtime implementation (process) System → bindings→ system/socket→ network. access plugin iface plugin iface plugin iface Protocol Protocol system binding binding System API

  4. Request to access Thing WoT RT Script 1 Things Things TDs Script n network→ socket→ binding→ runtime→ Thing (process, reply) → Scripting API (client, server, discovery) API → binding→ Things system/socket→ network manager Runtime implementation (process) System access plugin iface plugin iface plugin iface Protocol Protocol system binding binding System API

Recommend


More recommend


Explore More Topics

Stay informed with curated content and fresh updates.