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

wot runtime scripting bindings
SMART_READER_LITE
LIVE PREVIEW

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


slide-1
SLIDE 1

WoT Runtime, Scripting, Bindings

Zoltan Kis, Intel

slide-2
SLIDE 2

Script 1 Script n Things Things TDs Scripting API (client, server, discovery) WoT RT Runtime implementation (process) Things manager System access plugin iface Protocol binding System API plugin iface Protocol binding plugin iface system Process view

  • WoT RT: one process
  • Bindings: separate processes
  • System APIs / OS Kernel

System APIs

  • Socket → protocol stack

(CoAP/UDP, BLE, etc)

  • file system
  • secure storage
  • local sensors.

Scripting Use the Scripting API to

  • Interact with remote Things
  • ...and services (e.g. fetch TD)
  • Access System APIs, via

System Thing + bindings)

  • Manage Things

(create, delete, run, stop, …), via ManagerThing + bindings

WoT Runtime

slide-3
SLIDE 3

network→ system/socket→ binding→ runtime→ manager/action → run script → API→ runtime (eval) → [fetch TD: system APIs→ bindings→ socket→ runtime→ API→ TD] → impl (create Things+bindings)→ manager/reply → bindings→ system/socket→ network.

Request to run script

Script 1 Script n Things Things TDs Scripting API (client, server, discovery)

WoT RT

Runtime implementation (process) Things manager System access plugin iface Protocol binding

System API

plugin iface Protocol binding plugin iface system

slide-4
SLIDE 4

network→ socket→ binding→ runtime→ Thing (process, reply) → API → binding→ system/socket→ network

Request to access Thing

Script 1 Script n Things Things TDs Scripting API (client, server, discovery)

WoT RT

Runtime implementation (process) Things manager System access plugin iface Protocol binding

System API

plugin iface Protocol binding plugin iface system