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