RDF Provisioning for the Internet of Things. Henning Hasemann, Alexander Kröller, Max Pagel TU Braunschweig



Similar documents
Internet of Things based approach to Agriculture Monitoring

Secure data aggregation in mobile sink wireless sensor networks

Exam 1 Review Questions

TUM & Siemens Corporate Technology. The "Internet of Things" for industrial applications

Using IPv6 and 6LoWPAN for Home Automation Networks

Thingsquare Technology

IoT for surveillance applications!

Key requirements for Interoperable IoT systems

Making Sense of Internet of Things Protocols and Implementations

observing nodes behavior in IoT validation platforms

Tiny Web Services: Design and Implementation of Interoperable and Evolvable Sensor Networks (Priyantha, Kansal, Goraczko, Zhao, 2008)

Internet of Things 2015/2016

Symantec Enterprise Firewalls. From the Internet Thomas Jerry Scott

Connecting IPv6 capable Bluetooth Low Energy sensors with the Internet of Things

6LoWPAN Technical Overview

6LoWPAN: An Open IoT Networking Protocol

Internet of Things (IoT): Middleware. Roch Glitho, PhD Associate Professor and Canada Research Chair My URL -

Internet of things (IOT) applications covering industrial domain. Dev Bhattacharya

Future Directions for Internet of Things Work

IoTivity Connecting Things in IoT. Ashok Subash

Session Announcement (SAP, RFC 2974) Session Description (SDP, RFC 2327) (SDP, draft-ietf-mmusic-sdp-new-11)

Edge Gateway and virtualization for IoT connectivity

The fabryq IoT prototyping platform

Secure, Efficient, and Open Standard Internet of Things

Tiny Web Services: Design and Implementation of Interoperable and Evolvable Sensor Networks

ARM mbed IoT Device Platform. November 3 rd, 2014

A Case for Overlays in DCN Virtualization Katherine Barabash, Rami Cohen, David Hadas, Vinit Jain, Renato Recio and Benny Rochwerger IBM

IPv6 Challenges for Embedded Systems István Gyürki

Digital Audio and Video Data

Communication Protocol

IoT concepts Andrea Acquaviva EDA group Politecnico di Torino, Italy

Smart Cities are the Internet of Things

Web of Things Framework

IP Interface for the Somfy Digital Network (SDN) & RS485 URTSII

Technische Universiteit Eindhoven Department of Mathematics and Computer Science

Secure and Semantic Web of Automation

BS1000 command and backlog protocol

Embedded Security: From Sensor Networks to Internet of Things (IoT)

Easy-Flow: Comparing and integrating Wireless and PLC Medium Access Control Protocols.

End-to-End Security in Wireless Sensor Networks (WSNs) Talk by Claudio Anliker Supervised by Dr. Corinna Schmitt University of Zurich

IoT Data Management (IoTDM) Supported onem2m functionalities. Table of Contents

Mobile and Embedded/IoT market Overview and Trends. June 2014

INTERNET OF THINGS 1

Intel Internet of Things (IoT) Developer Kit

Guide to TCP/IP, Third Edition. Chapter 3: Data Link and Network Layer TCP/IP Protocols

A Semantic Engine for Internet of Things: Cloud, Mobile Devices and Gateways

7.7 Ethernet Communication (AFPX-COM5)

SMART IoT PROTOCOLS. Creating the Living Network. Chonggang Wang Innovation Lab, InterDigital Communications. December 8, 2014

THE SNMP PROTOCOL THE SNMP REQUEST MIB SATELLAR 2DS/20DS SIMPLE NETWORK MANAGEMENT PROTOCOL SATELLAR MANAGEMENT WITH SNMP GET AND SET SMART RADIO

AdRadionet to IBM Bluemix Connectivity Quickstart User Guide

A Transport Protocol for Multimedia Wireless Sensor Networks

IPv6 Based Sensor Home Networking

Mobile IP Network Layer Lesson 02 TCP/IP Suite and IP Protocol

Networking issues for the Internet of Things

Device Management for Internet of Things Constrained Devices OMA Lightweight M2M. Duncan Purves Connect2 Systems

Solar Powered Outdoor Siren Manual

SmartSantander Open Data access using FI-WARE G.E. [ORION]

Implementing Existing Management Protocols on Constrained Devices. IETF 81, Quebec,

The Lagopus SDN Software Switch. 3.1 SDN and OpenFlow. 3. Cloud Computing Technology

IPThermo206G. Offline/online data collector, SMS alarm sender, watchdog terminal for IPThermo Pro network

Six Days in the Network Security Trenches at SC14. A Cray Graph Analytics Case Study

The Future of IoT. Zach Shelby VP Marketing, IoT Feb 3 rd, 2015

Implementation of Wireless Gateway for Smart Home

Verifying Detection of Asset Tags in WLAN Controllers

Performance Evaluation of VoIP Services using Different CODECs over a UMTS Network

Internet of Things. Laurent Toutain. June 11, Caen () IPv6 opérateur June 11, / 14

EITF25 Internet Techniques and Applications L5: Wide Area Networks (WAN) Stefan Höst

SERVICE DISCOVERY AND MOBILITY MANAGEMENT

Software Version

M2M, IoT, DEVICE MANAGEMENT: ONE PROTOCOL TO RULE THEM ALL? Julien Vermillard, Sierra Wireless

ENHANCEMENTS TO SQL SERVER COLUMN STORES. Anuhya Mallempati #

Using Received Signal Strength Indicator to Detect Node Replacement and Replication Attacks in Wireless Sensor Networks

Service and Resource Discovery in Smart Spaces Composed of Low Capacity Devices

VisorALARM-Manager Application Quick Guide. (Ver. 1.3) Dm 380-I. V:3.0

Nokia for Business. Nokia and Nokia Connecting People are registered trademarks of Nokia Corporation

Switched Interconnect for System-on-a-Chip Designs

Oct 15, Internet : the vast collection of interconnected networks that all use the TCP/IP protocols

IOTIVITY AND EMBEDDED LINUX SUPPORT. Kishen Maloor Intel Open Source Technology Center

Getting Started Guide with WIZ550web

RT-QoS for Wireless ad-hoc Networks of Embedded Systems

Questions from The New SensorTag - IoT Made Easy Webinar

Raima Database Manager Version 14.0 In-memory Database Engine

Streaming Stored Audio & Video

F453. TiF453. User guide 10/11-01 PC

Performance Analysis of IPv4 v/s IPv6 in Virtual Environment Using UBUNTU

Computer Networks CS321

Development of a data acquisition system for remote monitoring of renewable energy systems

Protocols. Packets. What's in an IP packet

6PANview: A Network Monitoring System for the Internet of Things

Domain knowledge Interoperability to build the Semantic Web of Things

Transcription:

RDF Provisioning for the Internet of Things Henning Hasemann, Alexander Kröller, Max Pagel TU Braunschweig

RDF Provisioning for the Internet of Things Henning Hasemann, Alexander Kröller, Max Pagel TU Braunschweig

The world as it should be 2

The world as it should be sensor 2

The world as it should be sensor Application / Appliance 2

The world as it should be sensor 6LowPAN, CoAP access point, gateway IPv6, HTTP, REST Application / Appliance 2

The world as it should be sensor 6LowPAN, CoAP access point, gateway IPv6, HTTP, REST Application / Appliance RDF (e.g., W3C SSN-XG) 2

The world as it should be sensor 6LowPAN, CoAP access point, gateway IPv6, HTTP, REST Application / Appliance RDF (e.g., W3C SSN-XG) Linked Data Cloud 2

The world as it should be sensor 6LowPAN, CoAP access point, gateway IPv6, HTTP, REST Application / Appliance RDF (e.g., W3C SSN-XG) This talk: RDF on the sensor Linked Data Cloud 2

RDF? SSN-XG? RDF represents facts as subject predicate object triples: sensor01 hasvalue 22.7 W3C SSN-XG ontology for sensors (SensorML superset) Plus: Data can be linked to arbitrary other datasets. Works with closed data too! Goal: Sensor is a self-rewriting RDF document: 3

Problem Space Typical sensor (Jennic-based isense): Specialized firmware (or Contiki, TinyOS etc) IEEE 802.15.4 radio (no direct IP connectivity) ~100kB of RAM shared for code, heap, data No external flash. No filesystem. 4

Problem Space Typical sensor (Jennic-based isense): Specialized firmware (or Contiki, TinyOS etc) IEEE 802.15.4 radio (no direct IP connectivity) ~100kB of RAM shared for code, heap, data No external flash. No filesystem. Solution needs to be 4

Problem Space Typical sensor (Jennic-based isense): Specialized firmware (or Contiki, TinyOS etc) IEEE 802.15.4 radio (no direct IP connectivity) ~100kB of RAM shared for code, heap, data No external flash. No filesystem. Solution needs to be efficient (code size) 4

Problem Space Typical sensor (Jennic-based isense): Specialized firmware (or Contiki, TinyOS etc) IEEE 802.15.4 radio (no direct IP connectivity) ~100kB of RAM shared for code, heap, data No external flash. No filesystem. Solution needs to be efficient (code size) efficient (communications) 4

Problem Space Typical sensor (Jennic-based isense): Specialized firmware (or Contiki, TinyOS etc) IEEE 802.15.4 radio (no direct IP connectivity) ~100kB of RAM shared for code, heap, data No external flash. No filesystem. Solution needs to be efficient (code size) efficient (communications) efficient (data storage) 4

Problem Space Typical sensor (Jennic-based isense): Specialized firmware (or Contiki, TinyOS etc) IEEE 802.15.4 radio (no direct IP connectivity) ~100kB of RAM shared for code, heap, data No external flash. No filesystem. Solution needs to be efficient (code size) efficient (communications) efficient (data storage) platform-independent 4

The Wiselib RDF Provider Sensor Data Provider RDF Sensor Data Serializer notifies Wiselib TupleStore RDF Documents RDF Service Broker CoAP B2B notifies Client 5

The Wiselib RDF Provider Based on the Wiselib: compiles for 10+ platforms, efficient C++ Sensor Data Provider RDF Sensor Data Serializer notifies Wiselib TupleStore RDF Documents RDF Service Broker CoAP B2B notifies Client 5

The Wiselib RDF Provider Based on the Wiselib: compiles for 10+ platforms, efficient C++ Sensor Data Provider RDF Sensor Data Serializer notifies Wiselib TupleStore RDF Documents CoAP B2B notifies RDF Service Broker Client Wiselib TupleStore Stores RDF triples Multiple documents Optional compression Configurable code vs. RAM vs. energy trade-offs 5

The Wiselib RDF Provider Based on the Wiselib: compiles for 10+ platforms, efficient C++ Sensor Data Provider Sensor Data Provider Updates sensor data in the TS RDF Sensor Data Serializer notifies Wiselib TupleStore RDF Documents CoAP B2B notifies RDF Service Broker Client Wiselib TupleStore Stores RDF triples Multiple documents Optional compression Configurable code vs. RAM vs. energy trade-offs 5

The Wiselib RDF Provider Based on the Wiselib: compiles for 10+ platforms, efficient C++ Sensor Data Provider Sensor Data Provider Updates sensor data in the TS RDF Sensor Data Serializer notifies Wiselib TupleStore RDF Documents Service Broker Provides documentlevel access Manages notifications CoAP B2B notifies RDF Service Broker Client Wiselib TupleStore Stores RDF triples Multiple documents Optional compression Configurable code vs. RAM vs. energy trade-offs 5

Application - Documents Represent device with multiple RDF documents (TupleStore handles repetition) 6

Application - Documents Represent device with multiple RDF documents (TupleStore handles repetition) Documents per device: NODE (device description).well-known (list of documents, services) 6

Application - Documents Represent device with multiple RDF documents (TupleStore handles repetition) Documents per device: NODE (device description).well-known (list of documents, services) Documents per sensor: MINIMAL (just the reading) INTRINSIC ( + basic info) COMPLETE (all available info) 6

Broker Protocols I: B2B Command Interface Simplest access: Command Interface, tailored for broker-tobroker communication Addresses problem: Tuples usually > 1 MTU Element-wise transmission + Command (insert/delete), with transaction logic Transaction table TS Dictionary Subject Predicate Object Operation 0x2304 0xac48 INSERT 0xab80 0x16c0 0x30b4 0x2304 0xac48 0x1074 <http://www.ibr.cs.de..> <http://www.w3.org/...> Wiselib RDF Provider 7

Broker Protocols II: Document-Level Interface Document-Level Interface operates on RDF documents usually CoAP service requests from Internet Operations: GET [documentid] POST [documentids] [tuples] DELETE [documentid] [tuple] SUBSCRIBE [documentid] [callback] UNSUBSCRIBE [subscriptionid] Can use different serializations, for now: Google ProtoBuf and SHDT... (RDF-XML too heavy?) 8

Streaming HDT HDT [Fernandez et al. 10] Header (General meta information) Dictionary 0 <http://www.tu-bs.de/kroeller/> 1 <http://www.w3.org/1999/02/22-rdf...> 297 <http://www.w3.org/people/em/...> Triples Subjects Predicates Objects 33 72 5 17 29 5 53 91 Header-Dictionary-Triples (HDT) Standard RDF serialization Highly efficient encoding Drawback: Requires full assembly of document before transmission ˆ= halving usable capacity 75 29 11 9

Streaming HDT HDT [Fernandez et al. 10] Header (General meta information) Dictionary 0 <http://www.tu-bs.de/kroeller/> 1 <http://www.w3.org/1999/02/22-rdf...> 297 <http://www.w3.org/people/em/...> Triples Subjects Predicates Objects 33 75 72 5 17 29 5 53 91 29 11 Streaming HDT (SHDT) Header (General meta information) ID bitwidth ID space size Stream * 121 <http://www.tu-bs.de/kroeller/> * 23 <http://xmlns.com/foaf/0.1/name> * 45 Alexander Kröller 121 23 45 * 78 <http://xmlns.com/foaf/0.1/title> * 23 Mr. 121 78 23... 10

Streaming HDT Document usually transmitted from IoT device (constrained) to Internet host (unconstrained) SHDT exploits asymmetry Sender has freedom to decide ID space, mix dictionary/triples, reuse IDs. Allows for encoding on-the-fly, needs buffer for 1 packet plus hash table (any size) Streaming HDT (SHDT) Header (General meta information) ID bitwidth ID space size Stream * 121 <http://www.tu-bs.de/kroeller/> * 23 <http://xmlns.com/foaf/0.1/name> * 45 Alexander Kröller 121 23 45 * 78 <http://xmlns.com/foaf/0.1/title> * 23 Mr. 121 78 23... 11

Evaluation Streaming HDT Serialization size <http://spitfire-project.eu/sensor/sensor1234> <http://www.w3.org/2000/01/rdf-schema#type> <http://purl.oclc.org/net/ssnx/ssn#sensor>. <http://spitfire-project.eu/sensor/sensor1234> <http://purl.oclc.org/net/ssnx/ssn#observedproperty> <http://spitfire-project.eu/property/ Temperature>. <http://spitfire-project.eu/sensor/sensor1234> <http://spitfire-project.eu/cc/spitfirecc_n3.owl#uominuse> <http://spitfire-project.eu/uom/ Centigrade>. <http://spitfire-project.eu/sensor/sensor1234> <http://www.loa-cnr.it/ontologies/dul.owl#hasvalue> "10.2". <http://spitfire-project.eu/sensor/sensor1234> <http://purl.org/dc/terms/date> "12-04-02T12:48Z". <http://spitfire-project.eu/property/temperature> <http://www.w3.org/2000/01/rdf-schema#type> <http://purl.oclc.org/net/ssnx/ssn#property>. <http://spitfire-project.eu/property/temperature> <http://purl.oclc.org/net/muo/muo#measuredin> <http://spitfire-project.eu/uom/centigrade>. <http://spitfire-project.eu/uom/centigrade> <http://www.w3.org/2000/01/rdf-schema#type> <http://purl.oclc.org/net/muo/ muo#unitofmeasurement>. <http://spitfire-project.eu/uom/centigrade> <http://purl.oclc.org/net/muo/muo#prefsymbol> "C". <http://spitfire-project.eu/sensor/sensor1234> <http://purl.oclc.org/net/ssnx/ssn#detects> <http://spitfire-project.eu/sensor_stimulus/ silver_expansion>. 12

Evaluation Code Size 25.5k PB 3.1k 24.2k SHDT 1.8k CoAP 11.1k TS & RDF Broker 11.3k 15.6k B2B 4.3k isense 5139 15.8k PB 1.6k SHDT 1.4k CoAP 8.2k 15.6k TS & RDF Broker 6.0k 8.5k B2B 2.5k isense 5148 13

Evaluation Code Size 21.6k PB 2.9k 20.4k SHDT 1.7k CoAP 9.6k 13.1k B2B 4.0k 21.1k PB 2.9k 19.8k SHDT 1.6k CoAP 9.0k 12.9k B2B 3.7k 15.4k PB 1.5k CoAP 7.6k 14.9k SHDT 1.0k 8.5k B2B 2.2k TS & RDF Broker 9.1k TS & RDF Broker 9.2k TS & RDF Broker 6.3k Contiki MicaZ TinyOS MicaZ TinyOS TelosB 14

Contributions & Summary NODE Node as RDF document Seri Modular & platform-independent RDF Provider Configurable protocols Configurable serialization, + new SHDT format Upcoming: External memory data structures (e.g., Flash, SD) 15

Contributions & Summary NODE Node as RDF document Seri Modular & platform-independent RDF Provider Configurable protocols Configurable serialization, + new SHDT format Upcoming: External memory data structures (e.g., Flash, SD) The End. Thank You! 15