The document discusses integrating data and services in the Web of Things from a representational state transfer (REST) perspective. It describes representing physical devices as web resources that can be accessed via HTTP requests and addressed with URIs. Properties and actions of devices are represented as addressable sub-resources that can be manipulated via RESTful operations. Semantic annotations like microformats are proposed to enable service discovery and facilitate mashing up IoT services. Several European Union-funded research projects are summarized that aim to develop open platforms and techniques for integrating smart devices and their data on the Web.
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Service Integration - A Web of Things Perspective
1. Service Integration – A Web of Things Perspective
W3C Workshop on Data and Services Integration [Bedford / MA, October 2011]
Simon Mayer [simon.mayer@inf.ethz.ch]
Distributed Systems Group, ETH Zurich
2. The Web of Things: Quick rundown
+ Internet Connection* + Embedded Web server
+ Resource-Oriented Modelling (REST)
* Hui, J.W., and Culler, D.E.: IP is dead, long live IP for wireless sensor networks. (2008)
Thursday, 20.10.2011 W3C Workshop on Data and Services Integration / Bedford, MA 2
3. Representational State Transfer (REST)
Addressable, linked resources
[http://vs.inf.ethz.ch/wot/sunspots/spot1/sensors/temperature]
Defined set of operations
[PUT «true» /sunspots/spot1/actuators/leds/led1/switch]
Representations & Content Negotiation
[HTML for humans, JSON for machines,…]
Fielding, R.T.: Architectural Styles and the Design of Network-based Software Architectures
Richardson, L., and Ruby, S.: RESTful Web Services
Thursday, 20.10.2011 W3C Workshop on Data and Services Integration / Bedford, MA 3
4. The Web of Things: REST benefits
Great for open, interoperable APIs
Greatly facilitates building of physical mashups [http://derekskeba.com]
Web features for free
It scales!
Caching, security mechanisms
Bookmarking your devices and their functionality
Seems to facilitate application development
People are used to the Web and its resources and links!
Wednesday, 20th July 2011 ICiS Physical Computing Workshop [Park City, July 2011] 4
5. The Web of Things: REST benefits
Great for open, interoperable APIs
Greatly facilitates building of physical mashups [http://derekskeba.com]
Web features for free
It scales!
Caching, security mechanisms
Bookmarking your devices and their functionality
Seems to facilitate application development
People are used to the Web and its resources and links!
Wednesday, 20th July 2011 ICiS Physical Computing Workshop [Park City, July 2011] 5
6. The Web of Things: RESTful Sun SPOTs
[http://www.sunspotworld.com] Demo
Thursday, 20.10.2011 W3C Workshop on Data and Services Integration / Bedford, MA 6
7. Next step in Web-based smart things
environments: Physical mashups
Thursday, 20.10.2011 W3C Workshop on Data and Services Integration / Bedford, MA 7
8. Service Discovery: Smarter Things?
Adding semantics for service discovery
RDF, Microformats, Microdata
Microdata: www.schema.org, data-vocabulary.org
...and tell others!
Make things just smart enough to know what they can (basically) do…
Syntactic level (e.g. data types)
Semantic level?
Goal: Support users in mashing up services in smart things
ecosystems!
Thursday, 20.10.2011 W3C Workshop on Data and Services Integration / Bedford, MA 8
9. Now...
3 Applications in need of smart things data/services
integration...
InterWoTions
And how we solved the problem for each of them...
Thursday, 20.10.2011 W3C Workshop on Data and Services Integration / Bedford, MA 9
10. The Friends and Things Project
Sharing of physical and digital artifacts based on social networks
Guinard, D., Fischer, M., Trifa, V.,: Sharing Using Social Networks in a Composable Web of Things
Thursday, 20.10.2011 W3C Workshop on Data and Services Integration / Bedford, MA 10
11. The Friends and Things Project
@home Sharing your energy consumption
Encouraging energy savings…
@work Laboratory automation
“You may monitor my mass spectrometer”
@business Sharing the trace of tagged products
RESTful EPCIS
Thursday, 20.10.2011 W3C Workshop on Data and Services Integration / Bedford, MA 11
12. Crawling the Web of Things
Using simple HTTP operations
GET, HEAD, OPTIONS
Sufficient for Friends and Things Application!
Demo
Thursday, 20.10.2011 W3C Workshop on Data and Services Integration / Bedford, MA 12
13. The InfraWoT Project
Management infrastructure for smart things
Allows to find services offered by Web-enabled resources
Globally, but with emphasis on nearby things!
Things have to be registered first!
Calls for thing-embedded semantic information (name, type, services, location,…)
Trifa, V., Guinard, D., Mayer, S.: Leveraging the Web for a Distributed Location-aware Infrastructure for the Real World
Thursday, 20.10.2011 W3C Workshop on Data and Services Integration / Bedford, MA 13
14. Composite Microformats
Idea: Combine multiple Microformats to annotate resources
hProduct: Product information
hReview: Smart Thing Reviews
Geo: Location
hRESTS: Service descriptions
label, data format, REST method, output
Worked well for searching for resources
Demo
Hong, S.: Mobile Discovery in a Web of Things. Master’s Thesis.
Thursday, 20.10.2011 W3C Workshop on Data and Services Integration / Bedford, MA 14
15. The InterWoTions Project
InterWoTions
Model-based user interface generation for smart things
Requirement: User-friendlyness
enable any developer to annotate smart things...
...without requiring prior training!
Mayer, S., Tschofen, A.: Composable Interaction Descriptions for Smart Things. Submitted.
Thursday, 20.10.2011 W3C Workshop on Data and Services Integration / Bedford, MA 15
16. Microdata
InterWoTions
Human- and machine-readable volume controller interaction markup.
Demo
Thursday, 20.10.2011 W3C Workshop on Data and Services Integration / Bedford, MA 16
17. Environments of smart things...
Temperature: 24˚C Please configure
forecast data source
Human-readable and understandable
Your fridge currently
consumes 45W
Forecast: Rain
I’m located in Zurich!
Thursday, 20.10.2011 W3C Workshop on Data and Services Integration / Bedford, MA 17
18. ...and multiple semantic annotation formats...
…<div itemscope><div ...
Temperature: 24˚C Please configure
itemprop=“tag=“>Illumination</div><div
forecast data source
itemprop=“value”>150</div></div>…
{“consumption”:”45”,
{“data”:[{“weather- “unit”:”Watts”,
forecast”:”Rain”}], Your fridge currently
“appliance”:”fridge”}
“name”:”MyNabaztag”} consumes 45W
Forecast: Rain <div class="geo">GEO: <span
class="latitude">8.549902</span>,
<span class="longitude">-
I’m located in Zurich!
47.378088</span></span></div>
Thursday, 20.10.2011 W3C Workshop on Data and Services Integration / Bedford, MA 18
20. Given the representation of a (Web) resource, extract interesting
information about that resource regardless of the annotation format
used
Approach Discovery based on a runtime-dynamic set of
Strategies (e.g. Microformats-, Microdata-Strategy,...)
Mayer, S., Guinard, D.: An Extensible Discovery Service for Smart Things
Thursday, 20.10.2011 W3C Workshop on Data and Services Integration / Bedford, MA 20
21. The DiscoWoT Project
GET /analyze?thing.wot.org
Information on thing.wot.org
Apply every strategy to all information accessible about submitted data
Can handle protected resources and resources behind firewalls
Great help for decoupling service providers and consumers
Demo
Thursday, 20.10.2011 W3C Workshop on Data and Services Integration / Bedford, MA 21
22. Announcing WoT 2012
Third International Workshop on the Web of Things
Stay tuned: http://www.webofthings.com/wot
Thursday, 20.10.2011 W3C Workshop on Data and Services Integration / Bedford, MA 22
23. Acknowledgements
Web of Things team @ ETH Zurich
Dominique Guinard, Vlad Trifa, Matthias Kovatsch, Benedikt Ostermaier
Thursday, 20.10.2011 W3C Workshop on Data and Services Integration / Bedford, MA 23