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


Published on

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.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

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

  1. 1. uBox: A Distributed Resource Management Architecturefor the Web-of-Things<br />NaoyaNamatame*, Till Riedel, Takashi Miyaki, Yong Ding, Hideyuki Tokuda*, Michael Beigl<br />*HT Labs@Keio, TecO@KIT<br />
  2. 2. Vision: A Sensing Cloud<br />WoT Platform that enables and accelerates Personal and Shared Use.<br />Keio Media Space Family<br />
  3. 3. Aims only Private Use<br />Difficult to make Shared Use happen <br />Current Situation for Sensor/Actuator Networks<br />Keio Media Space Family<br />Current<br />Ideal<br />
  4. 4. UrbanIoT / IoT 2010 or why I am here<br />Tokyo Hacker Space<br />What is still needed for the Web Of Things<br />Interconnection of WoT “islands”<br />Vendor discovery<br />Incentives why you should share your data<br />Beginning 2011 @TecO we wanted to:<br /> (re-)implement our ubicomp apps on a common platform<br />deploy our sensors around (still had 500+ unused uparts left…)<br />uBox@WoT 2011<br />12.06.2011<br />4<br />
  5. 5. Naoya: namachan@ht.sf.keio.ac.jp<br />Just married…<br />…so he cannot be here today<br />Research visit to Jan-March 2011<br />His previous work: SensingCloud<br />Most of the stuff you see is implemented by him<br />Including most slides today<br />uBox@WoT 2011<br />11.06.2011<br />5<br />
  6. 6. Web-of-Things<br />A Web-Technology based approach (e.g. RESTful)<br />Many Research has been done in this field.<br />Web-Based Middleware for Home Entertainment<br />Daiki Ueno et. al. 2002<br />Efficient Application Integration in IP-Based Sensor Networks<br />DoganYazar et. al. 2009<br />WoTare often also islandsand even like the of web for documents.<br />Everybody wants to sell their platform…<br />uBox@WoT 2011<br />12.06.2011<br />6<br />
  7. 7. SensorWeb applications<br />Collecting sensor data of rain amount from a certain area and plot on a map. (see Japan radiation map on pachube)<br />uBox@WoT 2011<br />12.06.2011<br />7<br />
  8. 8. Ubiquitous applications<br />Calculating context using sensors around you and change your phone mode.<br />uBox@WoT 2011<br />12.06.2011<br />8<br />
  9. 9. Enabling portability of applications: <br />uBox@WoT 2011<br />12.06.2011<br />9<br />
  10. 10. Challenges<br />Discovery<br />Asynchronous Messaging<br />Privacy<br />Our answer:<br />Keep it simple<br />Keep it local<br />Share resources<br />uBox@WoT 2011<br />12.06.2011<br />10<br />
  11. 11. 1st step:Local Web-of-Things using uBox <br />In home, office or school, users should place uBox and create their own Web-of-Things by registering http-based devices. <br />This enables users to control variety of devices with an unified API.<br />People create applications privately in a sandbox<br />uBox@WoT 2011<br />12.06.2011<br />11<br />
  12. 12. uBoxes are interconnected to other uBoxes over P2P network. <br />Users can connect not only their local devices but also global devices as well from their uBox as an entry point.<br />People share sensors and applications<br />uBox@WoT 2011<br />2nd step:Large Scale Web-of-Things using uBox <br />12.06.2011<br />12<br />
  13. 13. smartTecO Hardware<br />uBox@WoT 2011<br />?<br />uPart<br />uBox<br />fs20<br />plugwise<br />12.06.2011<br />13<br />dinamite<br />
  14. 14. Live Demo<br />uBox@WoT 2011<br />12.06.2011<br />14<br />
  15. 15. URL Structure for Device Access<br />uBox@WoT 2011<br />URL Structure for Access, Discovery, and Processing.<br />server side javascript !<br />Browse-able URL structure<br />12.06.2011<br />15<br />
  16. 16. Separation of Resource Manager and Global Gateway<br />This way, you can publish your device data with everything under control.<br />uBox@WoT 2011<br />Device Discovery Cloud<br />HTTP/GET<br />HTTP/GET<br />HTTP/GET<br />Global Gateway<br />Global Gateway<br />HTTP/GET<br />HTTP/GET<br />Resource Manager<br />Resource Manager<br />uBox<br />uBox<br />HTTP/PUT<br />HTTP/PUT<br />HTTP/PUT<br />HTTP/PUT<br />HTTP/GET<br />HTTP/GET<br />Resources<br />Application<br />Resources<br />Application<br />teco.edu<br />ht.sfc.keio.ac.jp<br />12.06.2011<br />16<br />
  17. 17. Registering sensors and actuators (reverse http like)<br />uBox@WoT 2011<br />12.06.2011<br />17<br />
  18. 18. Retrieving sensor data<br />uBox@WoT 2011<br />12.06.2011<br />18<br />
  19. 19. Why else should I use the uBox?<br />multicast PUT routing<br />One to many communication<br />asynchronous communication important for your <br />http GET<br />http PUT eventing via asynchronous http GET (ajax, [webhooks] style)<br />REST emulation on GET only interfaces<br />HTTP cache control<br />Integration<br />can be used together w/ existing stuff<br />Simple REST style discovery and communication proxy<br />content negotiation (w-i-p)<br />xml<br />json<br />html<br />binary XML (e.g. EXI)<br />it helps us a lot…<br />uBox@WoT 2011<br />12.06.2011<br />19<br />
  20. 20. Some outlook<br />More work on efficient p2p networking<br />Telehash<br />Pubsubhubub<br />Multi-tier architecture<br />clickscript.ch (thanks Lukas)<br />Made first contact <br />saving clickscript programs<br />downloadable code (see Fielding 2000)<br />execute on uBox!<br />as soon things are reorganized at Keio<br />Software release <br />Deployable distribution (vmware_image/app engine/cloud)<br />uBox@WoT 2011<br />12.06.2011<br />20<br />
  21. 21. uBox@WoT 2011<br />namachan@ht.sf.keio.ac.jp<br />thank you…<br />12.06.2011<br />21<br />