21
uBox: A Distributed Resource Management Architecture for the Web-of-Things Naoya Namatame*, Till Riedel , Takashi Miyaki, Yong Ding, Hideyuki Tokuda*, Michael Beigl *HT Labs@Keio, TecO@KIT

uBox A Distributed Resource Management Architecture for the Web-of-Things

Embed Size (px)

DESCRIPTION

Although there are many smart devices and networked embedded object applications usingWorld WideWeb technologies, it is still a big step to go towards a true Web of Things. It is e.g. difficult to build ubiquitous WoT applications that work in and accross multiple environments. Approaches which aggregate WoT ressources by centralizing all the resource information, have problems: total dependency on external infrasture, lack of private WoT management, inflexible communication patterns and limited dynamic ressource discovery and mapping. To solve these problems, we propose uBox, a localWoT platform which can be a stand-alone server to make your WoT environment, with interfaces to connect the other local WoT platforms. This way, which we call uBoXing, we can create World Wide WoT platform with a distributed architecture. This paper describes the concept of a distributed resource management architecture, and how we implement the concept into software. Also, we will discuss the platform with the example application in SmartTecO environment.

Citation preview

Page 1: uBox A Distributed Resource Management Architecture for the Web-of-Things

uBox: A Distributed Resource Management Architecture

for the Web-of-ThingsNaoya Namatame*, Till Riedel, Takashi Miyaki, Yong Ding, Hideyuki Tokuda*, Michael Beigl*HT Labs@Keio, TecO@KIT

Page 2: uBox A Distributed Resource Management Architecture for the Web-of-Things

Keio Media Space Family

Vision: A Sensing Cloud

WoT Platform that enables and accelerates Personal and Shared Use.

Page 3: uBox A Distributed Resource Management Architecture for the Web-of-Things

Keio Media Space Family

Current Situation for Sensor/Actuator Networks

Aims only Private UseDifficult to make Shared Use happen

Current

Ideal

Page 4: uBox A Distributed Resource Management Architecture for the Web-of-Things

13.04.2023 4

UrbanIoT / IoT 2010 or why I am here

Tokyo Hacker Space

What is still needed for the Web Of ThingsInterconnection of WoT “islands”Vendor discoveryIncentives why you should share your data

Beginning 2011 @TecO we wanted to: (re-)implement our ubicomp apps on a common platformdeploy our sensors around (still had 500+ unused uparts left…)

uBox@WoT 2011

Page 5: uBox A Distributed Resource Management Architecture for the Web-of-Things

uBox@WoT 201113.04.2023 5

Naoya: [email protected]

Just married……so he cannot be here today

Research visit to Jan-March 2011His previous work: SensingCloudMost of the stuff you see is implemented by him

Including most slides today

Page 6: uBox A Distributed Resource Management Architecture for the Web-of-Things

uBox@WoT 201113.04.2023 6

Web-of-Things

A Web-Technology based approach (e.g. RESTful)

Many Research has been done in this field.Web-Based Middleware for Home Entertainment

Daiki Ueno et. al. 2002Efficient Application Integration in IP-Based Sensor Networks

Dogan Yazar et. al. 2009

WoT are often also islandsand even like the of web for documents.

Everybody wants to sell their platform…

Till Riedel
Kenn isch nisch
Page 7: uBox A Distributed Resource Management Architecture for the Web-of-Things

uBox@WoT 201113.04.2023 7

SensorWeb applications

Collecting sensor data of rain amount from a certain area and plot on a map. (see Japan radiation map on pachube)

Page 8: uBox A Distributed Resource Management Architecture for the Web-of-Things

uBox@WoT 201113.04.2023 8

Ubiquitous applications

Calculating context using sensors around you and change your phone mode.

Page 9: uBox A Distributed Resource Management Architecture for the Web-of-Things

uBox@WoT 201113.04.2023 9

Enabling portability of applications:

Page 10: uBox A Distributed Resource Management Architecture for the Web-of-Things

uBox@WoT 201113.04.2023 10

Challenges

DiscoveryAsynchronous MessagingPrivacy

Our answer:

Keep it simpleKeep it localShare resources

Page 11: uBox A Distributed Resource Management Architecture for the Web-of-Things

uBox@WoT 201113.04.2023 11

1st step:Local Web-of-Things using uBox

In home, office or school, users should place uBox and create their own Web-of-Things by registering http-based devices.

This enables users to control variety of devices with an unified API.

People create applications privately in a sandbox

Page 12: uBox A Distributed Resource Management Architecture for the Web-of-Things

uBox@WoT 201113.04.2023 12

uBoxes are interconnected to other uBoxes over P2P network.

Users can connect not only their local devices but also global devices as well from their uBox as an entry point.

People share sensors and applications

2nd step:Large Scale Web-of-Things using uBox

Page 13: uBox A Distributed Resource Management Architecture for the Web-of-Things

uBox@WoT 201113.04.2023 13

smartTecO Hardware

uBox

fs20 plugwise

uPart

?

dinamite

Till Riedel
dinamite/dbridge picture
Page 14: uBox A Distributed Resource Management Architecture for the Web-of-Things

uBox@WoT 201113.04.2023 14

Live Demo

Page 15: uBox A Distributed Resource Management Architecture for the Web-of-Things

uBox@WoT 201113.04.2023 15

URL Structure for Device Access

URL Structure for Access, Discovery, and Processing.server side javascript !

Browse-able URL

structure

Page 16: uBox A Distributed Resource Management Architecture for the Web-of-Things

uBox@WoT 201113.04.2023 16

Separation of Resource Manager and Global Gateway

This way, you can publish your device data with everything under control.

Device Discovery Cloud

Global Gateway

Resource Manager

Resources

uBox

Application

Global Gateway

Resource Manager

Resources

uBox

Application

teco.edu ht.sfc.keio.ac.jp

HTTP/PUT

HTTP/GET

HTTP/GET

HTTP/GET

HTTP/PUT HTTP/PUT HTTP/PUT

HTTP/GET

HTTP/GET

HTTP/GET HTTP/GET

Page 17: uBox A Distributed Resource Management Architecture for the Web-of-Things

uBox@WoT 201113.04.2023 17

Registering sensors and actuators (reverse http like)

Page 18: uBox A Distributed Resource Management Architecture for the Web-of-Things

uBox@WoT 201113.04.2023 18

Retrieving sensor data

Page 19: uBox A Distributed Resource Management Architecture for the Web-of-Things

uBox@WoT 201113.04.2023 19

Why else should I use the uBox?multicast PUT routing

One to many communicationasynchronous communication important for your

http GEThttp PUT eventing via asynchronous http GET (ajax, [webhooks] style)REST emulation on GET only interfacesHTTP cache control

Integrationcan be used together w/ existing stuffSimple REST style discovery and communication proxy

content negotiation (w-i-p)xmljsonhtmlbinary XML (e.g. EXI)

it helps us a lot…

Page 20: uBox A Distributed Resource Management Architecture for the Web-of-Things

uBox@WoT 201113.04.2023 20

Some outlookMore work on efficient p2p networking

TelehashPubsubhububMulti-tier architecture

clickscript.ch (thanks Lukas)Made first contact saving clickscript programsdownloadable code (see Fielding 2000)execute on uBox!

as soon things are reorganized at KeioSoftware release Deployable distribution (vmware_image/app engine/cloud)

Page 21: uBox A Distributed Resource Management Architecture for the Web-of-Things

uBox@WoT 201113.04.2023 21

thank you…

[email protected]