Towards the Web of Things: Web Mashups for the Real-World @ MEM 2009
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Towards the Web of Things: Web Mashups for the Real-World @ MEM 2009

on

  • 6,586 views

Towards the Web of Things: Web Mashups for the Real-World @ MEM 2009

Towards the Web of Things: Web Mashups for the Real-World @ MEM 2009

Statistics

Views

Total Views
6,586
Views on SlideShare
5,884
Embed Views
702

Actions

Likes
5
Downloads
189
Comments
0

19 Embeds 702

http://www.webofthings.com 293
http://www.webofthings.org 162
http://radar.oreilly.com 122
http://blogs.oreilly.com 40
http://integror.net 29
http://intive.com 16
http://abava.blogspot.com 9
http://www.slideshare.net 9
http://abava.blogspot.ru 4
http://radar.oreilly.com.cn 3
http://www.integror.net 3
http://sorekara20.blogspot.jp 2
http://www.hanrss.com 2
http://zootool.com 2
https://www.webofthings.org 2
http://translate.googleusercontent.com 1
http://www.linkedin.com 1
http://www.cleeki.com 1
http://webofthings.org 1
More...

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Towards the Web of Things: Web Mashups for the Real-World @ MEM 2009 Presentation Transcript

  • 1. Towards the Web of Things: Web Mashups for Embedded Devices Dominique Guinard and Vlad Trifa Institute for Pervasive Computing, ETH Zurich and SAP Research Zurich [email_address] www.guinard.org
  • 2. Discussing the Web of Things Dominique Guinard, ETH / SAP Research Zurich, webofthings.com [http://www.flickr.com/photos/sharynmorrow/ ] MEM @ WWW 2009, Madrid
  • 3. Embedded Devices Invade us! Dominique Guinard, ETH / SAP Research Zurich, webofthings.com
    • Emergence of the physical Web
      • Embedded devices get more powerful .
      • They are also getting connected to the Web.
    MEM @ WWW 2009, Madrid
  • 4. From a Large Ecosystem to a Large Playground
    • Huge eco-system of devices.
      • About 1000 smart objects / person:
      • and… about 1000 systems to use them and build applications on top of them.
    • How do we enable people to create applications on top of this great eco-system?
    Dominique Guinard, ETH / SAP Research Zurich, webofthings.com “ re-think the way we design computing systems in order to take into account the >1000 smart objects per people we will soon have to deal with.” David Orban MEM @ WWW 2009, Madrid
  • 5. Web 2.0 Mashups
    • Mashups are a nice example of « easily » building new applications on top of a virtual eco-system of services.
    • Not the universal answer but seemingly adapted to dynamic and moderately big use-cases involving end-users.
    • How about creating real-world mashups?
    Dominique Guinard, ETH / SAP Research Zurich, webofthings.com MEM @ WWW 2009, Madrid
  • 6. Web of Things (WOT) in a Nutshell
    • Fully integrating embedded devices to the Web, by designing “web-oriented” APIs for embedded devices:
      • A Web-page for each “service”.
      • A RESTful API to access and consume them.
    • As a result:
      • Embedded devices are easier to build upon.
      • We get the goodies of the web almost for free (caching, linking, searching, authenticating, etc.)
      • And enable physical mashups, i.e. small, ad-hoc composite applications involving real-world embedded devices.
    MEM @ WWW 2009, Madrid Dominique Guinard, ETH / SAP Research Zurich, webofthings.com
  • 7. Our 5 Courses Menu
    • Discussing the Web of Things
    • A Web Oriented Architecture for the Real-World
      • Building RESTful APIs for Real-World Devices
      • Integration Patterns: Gateway vs Direct Integration
    • Implementation and Prototypes
      • RESTful Sun SPOTs
      • RESTful Ploggs
    • Real-World Mashups
      • Energie Visible Google Web Toolkit UI
      • Ambient Meter
    Dominique Guinard, ETH / SAP Research Zurich, webofthings.com MEM @ WWW 2009, Madrid
  • 8. A Web Oriented Architecture for the Real-World Dominique Guinard, ETH / SAP Research Zurich, webofthings.com [ http://www.flickr.com/photos/julianbleecker ] MEM @ WWW 2009, Madrid
  • 9. Our 5 Courses Menu
    • Discussing the Web of Things
    • A Web Oriented Architecture for the Real-World
      • Building RESTful APIs for Real-World Devices
      • Integration Patterns: Gateway vs Direct Integration
    • Implementation and Prototypes
      • RESTful Sun SPOTs
      • RESTful Ploggs
    • Real-World Mashups
      • Energie Visible Google Web Toolkit UI
      • Ambient Meter
    Dominique Guinard, ETH / SAP Research Zurich, webofthings.com MEM @ WWW 2009, Madrid
  • 10. 1. Resource Design
    • Thanks to their atomicity services on embedded devices are quite adapted to Resource-Oriented Architectures.
    • Root: http://webofthings.com/
    • Resources:
      • Spots: http://webofthings.com/spots
      • Spot 2: http://webofthings.com/spots/2
      • Light Sensor: http://webofthings.com/spots/2/sensors/light
      • Led Actuator: http://webofthings.com/spots/2/actuators/led/
    Dominique Guinard, ETH / SAP Research Zurich, webofthings.com MEM @ WWW 2009, Madrid
  • 11.
    • XHTML as default, ideal for browsing:
      • http://webofthings.com/spots
    • JSON, ideal for parsing:
      • http://webofthings.com/spots.json
    • XML, ideal for integration
      • http://webofthings.com/spots.xml
    2. Representation Design Dominique Guinard, ETH / SAP Research Zurich, webofthings.com MEM @ WWW 2009, Madrid
  • 12. 3. Uniform Interface Dominique Guinard, ETH / SAP Research Zurich, webofthings.com [ HTTP: http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol] MEM @ WWW 2009, Madrid
  • 13. 3. Uniform Interface
    • HTTP Verbs: What do you want to do?
      • GET: retrieve the representation of a resource.
      • PUT: create or update a resource.
      • DELETE: remove a resource.
      • POST: create a subordinate (or custom: RPC!)
    • HTTP Headers: What type of data are you sending me?
      • Metadata:
        • Content type: application/json, text/html, etc.
      • Status:
        • 200 OK, 201 Create, 400 Bad Request, 401 Unauthorized
    • HTTP Body: The actual data.
      • The content in its representation.
    Dominique Guinard, ETH / SAP Research Zurich, webofthings.com MEM @ WWW 2009, Madrid
  • 14. Integration Patterns: Gateway vs Direct Dominique Guinard, ETH / SAP Research Zurich, webofthings.com Web Cloud Smart Gateway RESTful API BT Zigbee … API1 API2 Web Cloud Web Server Eventing MEM @ WWW 2009, Madrid IPv6 (lowpan) Compose Visualize Search Physical Mashups Compose Visualize Search Physical Mashups RESTful API Web Server RESTful API Web Server
  • 15. Implementation and Prototypes Dominique Guinard, ETH / SAP Research Zurich, webofthings.com [http://www.flickr.com/photos/sharynmorrow/47086098/ ] MEM @ WWW 2009, Madrid
  • 16. Our 5 Courses Menu
    • Discussing the Web of Things
    • A Web Oriented Architecture for the Real-World
      • Building RESTful APIs for Real-World Devices
      • Integration Patterns: Gateway vs Direct Integration
    • Implementation and Prototypes
      • RESTful Sun SPOTs
      • RESTful Ploggs
    • Real-World Mashups
      • Energie Visible Google Web Toolkit UI
      • Ambient Meter
    Dominique Guinard, ETH / SAP Research Zurich, webofthings.com MEM @ WWW 2009, Madrid
  • 17. Direct Integration Dominique Guinard, ETH / SAP Research Zurich, webofthings.com Web Cloud Smart Gateway RESTful API BT Zigbee … API1 API2 Web Cloud Web Server Eventing MEM @ WWW 2009, Madrid IPv6 (lowpan) Compose Visualize Search Physical Mashups Compose Visualize Search Physical Mashups RESTful API Web Server RESTful API Web Server
  • 18. The RESTful SunSPOTs Project
    • Create a « SmartLogger » that can be attached to shipments.
    • www.webofthings.com/ tag/smartlogger/
    Dominique Guinard, ETH / SAP Research Zurich, webofthings.com MEM @ WWW 2009, Madrid
  • 19. Architecture MEM @ WWW 2009, Madrid Dominique Guinard, ETH / SAP Research Zurich, webofthings.com
  • 20. Integration using Gateways Dominique Guinard, ETH / SAP Research Zurich, webofthings.com Web Cloud Smart Gateway RESTful API BT Zigbee … API1 API2 Web Cloud Web Server Eventing MEM @ WWW 2009, Madrid IPv6 (lowpan) Compose Visualize Search Physical Mashups Compose Visualize Search Physical Mashups RESTful API Web Server RESTful API Web Server
  • 21. The « Energie Visible » Project Dominique Guinard, ETH / SAP Research Zurich, webofthings.com
    • Aim:
      • Monitor and control your energy consumption at home.
      • Fully integrate the monitoring and control to the web.
    • www.webofthings.com/energievisible/
    Gateway and Mini Webserver Sensors (Ploggs) Devices Web / Mobile Interface MEM @ WWW 2009, Madrid
  • 22. RESTful Plogg Gateway Dominique Guinard, ETH / SAP Research Zurich, webofthings.com MEM @ WWW 2009, Madrid
  • 23. Talk to devices: The WEB Way Dominique Guinard, ETH / SAP Research Zurich, webofthings.com MEM @ WWW 2009, Madrid
  • 24. Demo Dominique Guinard, ETH / SAP Research Zurich, webofthings.com MEM @ WWW 2009, Madrid
  • 25. Examples of Real-World Mashups Dominique Guinard, ETH / SAP Research Zurich, webofthings.com [http://www.flickr.com/photos/kevlar ] MEM @ WWW 2009, Madrid
  • 26. Our 5 Courses Menu
    • Motivation
    • Discussing Real-World Integration Schemes
      • WS-* Web Services
      • RESTful APIs
    • A Web Oriented Architecture for the Real-World
      • Building RESTful APIs for Real-World Devices
      • Integration Patterns: Gateway vs Direct Integration
    • Implementation and Prototypes
      • RESTful Sun SPOTs
      • RESTful Ploggs
    • Real-World Mashups
      • Energie Visible Google Web Toolkit UI
      • Ambient Meter
    Dominique Guinard, ETH / SAP Research Zurich, webofthings.com MEM @ WWW 2009, Madrid
  • 27. Enable Real-World Mashups Dominique Guinard, ETH / SAP Research Zurich, webofthings.com URL URL URL URL MEM @ WWW 2009, Madrid
  • 28. Physical-Virtual Mashup: Energy Visualizer for RESTful Ploggs Dominique Guinard, ETH / SAP Research Zurich, webofthings.com MEM @ WWW 2009, Madrid
  • 29. Physical-Physical Mashup: Ambient Energy Meter
    • Create an ambient device that can assess the energy consumption of the current place it is in.
    • Mashup of:
      • The RESTful Ploggs
      • The RESTful Sun Spots
      • The Smart Gateways.
    Dominique Guinard, ETH / SAP Research Zurich, webofthings.com MEM @ WWW 2009, Madrid
  • 30. Outlook
    • REST is quite suitable for composing small, ad-hoc applications [1], why not for small embedded applications?
    • Need to go beyond REST:
      • Need for asynchronous mechanisms.
      • Currently exploring systems such as XMPP and Twitter.
    • Need to provide mashup editors for physical mashups (à la “yahoo pipes” or “rooftop”).
    MEM @ WWW 2009, Madrid Dominique Guinard, ETH / SAP Research Zurich, webofthings.com [1] Pautasso, Cesare, Olaf Zimmermann, and Frank Leymann. “Restful web services vs. "big"' web services: making the right architectural decision.” In WWW '08: Proceeding of the 17th international conference on World Wide Web , 805―814. New York, NY, USA: ACM, 2008.
  • 31. Thanks a lot for your attention Dominique Guinard, ETH / SAP Research Zurich, webofthings.com www.webofthings.com MEM @ WWW 2009, Madrid