SlideShare ist ein Scribd-Unternehmen logo
1 von 24
Downloaden Sie, um offline zu lesen
Searching in a Web-based
Infrastructure for Smart Things
3rd Int. Conf. on the Internet of Things, Wuxi, China, 2012


Simon Mayer, Dominique Guinard, Vlad Trifa
Distributed Systems Group, ETH Zurich, simon.mayer@inf.ethz.ch
The Web of Things




             + Internet Connection
                                                                  + Embedded Web server


                      + Resource-Oriented Modelling (REST)



                                J.W. Hui and D.E. Culler. IP is dead, long live IP for wireless sensor networks, 2008
10/26/2012                                IoT 2012, Wuxi, China                                                2
Example: RESTful Sun SPOTs

   Resources and Links between them




                                         28.5
                                         GET


Temperature Sensor:         http://host/[SpotName]/sensors/temperature
LED Switch:                 http://host/[SpotName]/actuators/leds/3/switch
                                                           PUT ‘on’
                                                                      OK




               M. Kovatsch, S. Mayer, and B. Ostermaier. Towards the Thin Server Architecture for the Internet of Things, 2012
  10/26/2012                                         IoT 2012, Wuxi, China                                              3
The Web of Things – Why?

     Great for open, interoperable APIs
            Greatly facilitates creation of mashups


     Web features for free
            Bookmark your devices and their functionality
            Caching for scalability, security mechanisms
            People are used to exploring the Web using a browser


     Seems to facilitate application development



D. Guinard, I. Ion, S. Mayer. In Search of an Internet of Things Service Architecture: REST or WS-*? A Developer’s Perspective, 2011
    10/26/2012                                             IoT 2012, Wuxi, China                                              4
The Web of Things – Why?

     Great for open, interoperable APIs
            Greatly facilitates creation of mashups


     Web features for free
            Bookmark your devices and their functionality
            Caching for scalability, security mechanisms
            People are used to exploring the Web using a browser


     Seems to facilitate application development



D. Guinard, I. Ion, S. Mayer. In Search of an Internet of Things Service Architecture: REST or WS-*? A Developer’s Perspective, 2011
    10/26/2012                                             IoT 2012, Wuxi, China                                              5
The Web of Things – Why?

 REST and SOAP on devices with limited resources
              Power Consumption [mW]          Completion Time [s]




 UDDI discontinued by IBM, Microsoft, SAP in 2006
        Functionality removed from Windows Server in 2010                                            [derekskeba.com]

        Google discontinued WS-* APIs in 2011



                            D. Yazar and A. Dunkels. Efficient Application Integration in IP-based Sensor Networks, 2009
10/26/2012                                     IoT 2012, Wuxi, China                                               6
The Web of Things – Community


 WoT Workshop Series:                                                   webofthings.org/wot
        2010 @ PerCom, Mannheim
        2011 @ Pervasive, San Francisco
        2012 @ Pervasive, Newcastle




 Community blog, LinkedIn Group, Twitter, ...




12/21/2012                       UbiRobots'12 Workshop, Pittsburgh, PA                         7
A Web-based Infrastructure for Smart Things
Overview & Requirements



 Increasing number of networked, smart devices
        More and more human-thing and thing-thing interactions


 Infrastructure to enable service discovery and
  brokerage in smart spaces

 Most frequent interaction with nearby devices:
  Interactions exhibit locality



10/26/2012                         IoT 2012, Wuxi, China          8
A Web-based Infrastructure for Smart Things
Overview & Requirements



 Exploit Locality of Interactions

 Scalability

 Self-Management

 User-friendliness
        Open, easily usable APIs




10/26/2012                          IoT 2012, Wuxi, China   9
To what extent can Web technologies and
patterns be applied in the design of a smart
           things infrastructure?
A Web-based Infrastructure for Smart Things
Hierarchy of Management Nodes




 Nodes are only aware of their direct neighbors
 Nodes can be virtual or embodied (e.g., on routers or NAS)

10/26/2012                      IoT 2012, Wuxi, China      11
A Web-based Infrastructure for Smart Things
Device Discovery & Registration



 Device Discovery
        Router is knowledgable of connected network devices
        IP addresses exposed via OpenWRT + LuCi


 Resource Discovery
        Interpret any accessible information (e.g., location)
        Multiple interpretation strategies
            (e.g., for HTML Microdata)
        Extensible at run time



                                  S. Mayer and D. Guinard. An Extensible Discovery Service for Smart Things, 2011
10/26/2012                                IoT 2012, Wuxi, China                                            12
A Web-based Infrastructure for Smart Things
Searching for Devices & Services – Query Types



 Search within the current subtree
        Exhaustive Query:            Full subtree
        Best-Effort Query:           Until first hit
        Cardinality Query:           Until k hits




10/26/2012                             IoT 2012, Wuxi, China   13
A Web-based Infrastructure for Smart Things
Searching for Devices & Services – Query Types




 Search outside current subtree
        Request For Query




10/26/2012                             IoT 2012, Wuxi, China   14
A Web-based Infrastructure for Smart Things
Searching for Devices & Services – Query Handling




10/26/2012                             IoT 2012, Wuxi, China   15
A Web-based Infrastructure for Smart Things
Searching for Devices & Services – Query Handling




10/26/2012                             IoT 2012, Wuxi, China   16
A Web-based Infrastructure for Smart Things
Searching for Devices & Services – Query Handling



                         .../Floor5/queries/{queryID}

                              - Query representation
                              - # received answers
             Floor5/          - Pending nodes




501/                              502/




10/26/2012                               IoT 2012, Wuxi, China   17
A Web-based Infrastructure for Smart Things
Searching for Devices & Services – Query Caching



                         .../Floor5/queries/{queryID}

                              - Query representation
                              - # received answers
             Floor5/          - Pending nodes




501/                              502/




10/26/2012                               IoT 2012, Wuxi, China   18
Simulation Environment

 9 Nodes, 600 sensors registered to room-level nodes
 4 query types, 1000 queries each, varying concurrency
 Strong decrease of answering time with increasing
  concurrency level                       CAQ (30)   CAQ (200)




                                                   BEQ    EXQ


 Query Caching works!


10/26/2012                 IoT 2012, Wuxi, China                 19
A Web-based Infrastructure for Smart Things
Searching for Devices & Services – Automatic Load Balancing



                             .../Floor5/queries/{queryID}

                                 - Query representation
                                 - # received answers
             Floor5/             - Pending nodes




501/                   BEQ           502/




10/26/2012                                  IoT 2012, Wuxi, China   20
Simulation Environment

 9 Nodes, 600 sensors registered to room-level nodes
 BEQs to /MainBuilding

 Baseline:               > 90% of answers from /Floor5
 Flooding of /Floor5:    > 96% of answers from /Floor6




 Load Balancing works!


10/26/2012                IoT 2012, Wuxi, China           21
Conclusions


 Web patterns to create a smart things infrastructure

 “All you need is HTTP”?!

 “Resource-oriented Querying” scales, reduces
  response time, and enables automatic load balancing




10/26/2012                   IoT 2012, Wuxi, China       22
Future Work


 Integrate with relative indoor localization system

 Extend resources with semantic descriptions for M2M
  service provisioning

 Enhance current keyword-based searching
  mechanism




10/26/2012                  IoT 2012, Wuxi, China       23
Acknowledgements


 Matthias Kovatsch, Dominique Guinard, Vlad Trifa




10/26/2012                IoT 2012, Wuxi, China      24

Weitere ähnliche Inhalte

Was ist angesagt?

IRJET- Enhancing Security Features for IoT Devices Connected to Cloud Service...
IRJET- Enhancing Security Features for IoT Devices Connected to Cloud Service...IRJET- Enhancing Security Features for IoT Devices Connected to Cloud Service...
IRJET- Enhancing Security Features for IoT Devices Connected to Cloud Service...IRJET Journal
 
5 Years of Web of Things Workshops
5 Years of Web of Things Workshops5 Years of Web of Things Workshops
5 Years of Web of Things WorkshopsDominique Guinard
 
IRJET- An Approach to Authenticating Devise in IoT using Blockchain
IRJET-  	  An Approach to Authenticating Devise in IoT using BlockchainIRJET-  	  An Approach to Authenticating Devise in IoT using Blockchain
IRJET- An Approach to Authenticating Devise in IoT using BlockchainIRJET Journal
 
Web of things introduction
Web of things introductionWeb of things introduction
Web of things introduction承翰 蔡
 
December 2021: Top 10 Read Articles in Network Security and Its Applications
December 2021: Top 10 Read Articles in Network Security and Its ApplicationsDecember 2021: Top 10 Read Articles in Network Security and Its Applications
December 2021: Top 10 Read Articles in Network Security and Its ApplicationsIJNSA Journal
 
Three mustketeers-swcs-2014-autoidlab-kaist-daeyoungkim
Three mustketeers-swcs-2014-autoidlab-kaist-daeyoungkimThree mustketeers-swcs-2014-autoidlab-kaist-daeyoungkim
Three mustketeers-swcs-2014-autoidlab-kaist-daeyoungkimDaeyoung Kim
 
EPC Cloud: Using the Web to Simplify the Global RFID Network
EPC Cloud: Using the Web to Simplify the Global RFID NetworkEPC Cloud: Using the Web to Simplify the Global RFID Network
EPC Cloud: Using the Web to Simplify the Global RFID NetworkDominique Guinard
 
RPL AND COAP PROTOCOLS, EXPERIMENTAL ANALYSIS FOR IOT: A CASE STUDY
RPL AND COAP PROTOCOLS, EXPERIMENTAL ANALYSIS FOR IOT: A CASE STUDYRPL AND COAP PROTOCOLS, EXPERIMENTAL ANALYSIS FOR IOT: A CASE STUDY
RPL AND COAP PROTOCOLS, EXPERIMENTAL ANALYSIS FOR IOT: A CASE STUDYijasuc
 
March 2022 - Top 10 Read Articles in Network Security and Its Applications
March 2022 - Top 10 Read Articles in Network Security and Its ApplicationsMarch 2022 - Top 10 Read Articles in Network Security and Its Applications
March 2022 - Top 10 Read Articles in Network Security and Its ApplicationsIJNSA Journal
 
INTEROPERABILITY, FLEXIBILITY AND INDUSTRIAL DESIGN REQUIREMENTS IN THE IoT
INTEROPERABILITY, FLEXIBILITY AND INDUSTRIAL DESIGN REQUIREMENTS IN THE IoTINTEROPERABILITY, FLEXIBILITY AND INDUSTRIAL DESIGN REQUIREMENTS IN THE IoT
INTEROPERABILITY, FLEXIBILITY AND INDUSTRIAL DESIGN REQUIREMENTS IN THE IoTMuhammad Ahad
 
bhide_connected_raleigh2016 (1)
bhide_connected_raleigh2016 (1)bhide_connected_raleigh2016 (1)
bhide_connected_raleigh2016 (1)sandhibhide
 
Inria | White paper Internet of Things (November 2021)
Inria | White paper Internet of Things (November 2021)Inria | White paper Internet of Things (November 2021)
Inria | White paper Internet of Things (November 2021)Inria
 
Web of Things - Connecting People and Objects on the Web
Web of Things - Connecting People and Objects on the WebWeb of Things - Connecting People and Objects on the Web
Web of Things - Connecting People and Objects on the WebDominique Guinard
 
An Event-based Middleware for Syntactical Interoperability in Internet of Th...
An Event-based Middleware for Syntactical Interoperability  in Internet of Th...An Event-based Middleware for Syntactical Interoperability  in Internet of Th...
An Event-based Middleware for Syntactical Interoperability in Internet of Th...IJECEIAES
 
A MIDDLEWARE FOR THE INTERNET OF THINGS
A MIDDLEWARE FOR THE INTERNET OF THINGSA MIDDLEWARE FOR THE INTERNET OF THINGS
A MIDDLEWARE FOR THE INTERNET OF THINGSIJCNCJournal
 
The Web of Things
The Web of ThingsThe Web of Things
The Web of ThingsFrank Greco
 
Understanding Architecture of Internet of Things
Understanding Architecture of Internet of ThingsUnderstanding Architecture of Internet of Things
Understanding Architecture of Internet of ThingsIJSRED
 
Getting Started with the Internet of Things - Allianz Hackrisk Hackathon 29/...
Getting Started with the Internet of Things  - Allianz Hackrisk Hackathon 29/...Getting Started with the Internet of Things  - Allianz Hackrisk Hackathon 29/...
Getting Started with the Internet of Things - Allianz Hackrisk Hackathon 29/...The Internet of Things Methodology
 

Was ist angesagt? (19)

IRJET- Enhancing Security Features for IoT Devices Connected to Cloud Service...
IRJET- Enhancing Security Features for IoT Devices Connected to Cloud Service...IRJET- Enhancing Security Features for IoT Devices Connected to Cloud Service...
IRJET- Enhancing Security Features for IoT Devices Connected to Cloud Service...
 
WoT framework and use cases
WoT framework and use casesWoT framework and use cases
WoT framework and use cases
 
5 Years of Web of Things Workshops
5 Years of Web of Things Workshops5 Years of Web of Things Workshops
5 Years of Web of Things Workshops
 
IRJET- An Approach to Authenticating Devise in IoT using Blockchain
IRJET-  	  An Approach to Authenticating Devise in IoT using BlockchainIRJET-  	  An Approach to Authenticating Devise in IoT using Blockchain
IRJET- An Approach to Authenticating Devise in IoT using Blockchain
 
Web of things introduction
Web of things introductionWeb of things introduction
Web of things introduction
 
December 2021: Top 10 Read Articles in Network Security and Its Applications
December 2021: Top 10 Read Articles in Network Security and Its ApplicationsDecember 2021: Top 10 Read Articles in Network Security and Its Applications
December 2021: Top 10 Read Articles in Network Security and Its Applications
 
Three mustketeers-swcs-2014-autoidlab-kaist-daeyoungkim
Three mustketeers-swcs-2014-autoidlab-kaist-daeyoungkimThree mustketeers-swcs-2014-autoidlab-kaist-daeyoungkim
Three mustketeers-swcs-2014-autoidlab-kaist-daeyoungkim
 
EPC Cloud: Using the Web to Simplify the Global RFID Network
EPC Cloud: Using the Web to Simplify the Global RFID NetworkEPC Cloud: Using the Web to Simplify the Global RFID Network
EPC Cloud: Using the Web to Simplify the Global RFID Network
 
RPL AND COAP PROTOCOLS, EXPERIMENTAL ANALYSIS FOR IOT: A CASE STUDY
RPL AND COAP PROTOCOLS, EXPERIMENTAL ANALYSIS FOR IOT: A CASE STUDYRPL AND COAP PROTOCOLS, EXPERIMENTAL ANALYSIS FOR IOT: A CASE STUDY
RPL AND COAP PROTOCOLS, EXPERIMENTAL ANALYSIS FOR IOT: A CASE STUDY
 
March 2022 - Top 10 Read Articles in Network Security and Its Applications
March 2022 - Top 10 Read Articles in Network Security and Its ApplicationsMarch 2022 - Top 10 Read Articles in Network Security and Its Applications
March 2022 - Top 10 Read Articles in Network Security and Its Applications
 
INTEROPERABILITY, FLEXIBILITY AND INDUSTRIAL DESIGN REQUIREMENTS IN THE IoT
INTEROPERABILITY, FLEXIBILITY AND INDUSTRIAL DESIGN REQUIREMENTS IN THE IoTINTEROPERABILITY, FLEXIBILITY AND INDUSTRIAL DESIGN REQUIREMENTS IN THE IoT
INTEROPERABILITY, FLEXIBILITY AND INDUSTRIAL DESIGN REQUIREMENTS IN THE IoT
 
bhide_connected_raleigh2016 (1)
bhide_connected_raleigh2016 (1)bhide_connected_raleigh2016 (1)
bhide_connected_raleigh2016 (1)
 
Inria | White paper Internet of Things (November 2021)
Inria | White paper Internet of Things (November 2021)Inria | White paper Internet of Things (November 2021)
Inria | White paper Internet of Things (November 2021)
 
Web of Things - Connecting People and Objects on the Web
Web of Things - Connecting People and Objects on the WebWeb of Things - Connecting People and Objects on the Web
Web of Things - Connecting People and Objects on the Web
 
An Event-based Middleware for Syntactical Interoperability in Internet of Th...
An Event-based Middleware for Syntactical Interoperability  in Internet of Th...An Event-based Middleware for Syntactical Interoperability  in Internet of Th...
An Event-based Middleware for Syntactical Interoperability in Internet of Th...
 
A MIDDLEWARE FOR THE INTERNET OF THINGS
A MIDDLEWARE FOR THE INTERNET OF THINGSA MIDDLEWARE FOR THE INTERNET OF THINGS
A MIDDLEWARE FOR THE INTERNET OF THINGS
 
The Web of Things
The Web of ThingsThe Web of Things
The Web of Things
 
Understanding Architecture of Internet of Things
Understanding Architecture of Internet of ThingsUnderstanding Architecture of Internet of Things
Understanding Architecture of Internet of Things
 
Getting Started with the Internet of Things - Allianz Hackrisk Hackathon 29/...
Getting Started with the Internet of Things  - Allianz Hackrisk Hackathon 29/...Getting Started with the Internet of Things  - Allianz Hackrisk Hackathon 29/...
Getting Started with the Internet of Things - Allianz Hackrisk Hackathon 29/...
 

Ähnlich wie Searching in a Web-based Infrastructure for Smart Things

Cloud of things (IoT + Cloud Computing)
Cloud of things (IoT + Cloud Computing)Cloud of things (IoT + Cloud Computing)
Cloud of things (IoT + Cloud Computing)Zakaria Hossain
 
T1 a 2-iot2012 presentation
T1 a 2-iot2012 presentationT1 a 2-iot2012 presentation
T1 a 2-iot2012 presentationTuan Đặng
 
TUW-ASE Summer 2015: IoT Cloud Systems
TUW-ASE Summer 2015:  IoT Cloud SystemsTUW-ASE Summer 2015:  IoT Cloud Systems
TUW-ASE Summer 2015: IoT Cloud SystemsHong-Linh Truong
 
Io t standard_bis_arpanpal
Io t standard_bis_arpanpalIo t standard_bis_arpanpal
Io t standard_bis_arpanpalArpan Pal
 
Using Web Service Gateways and Code Generation for Sustainable IoT System Dev...
Using Web Service Gateways and Code Generation for Sustainable IoT System Dev...Using Web Service Gateways and Code Generation for Sustainable IoT System Dev...
Using Web Service Gateways and Code Generation for Sustainable IoT System Dev...Till Riedel
 
INTRODUCTION TO INTERNET OF THINGS
INTRODUCTION TO INTERNET OF THINGSINTRODUCTION TO INTERNET OF THINGS
INTRODUCTION TO INTERNET OF THINGSVikram Nandini
 
Giving RFID a REST: Web-enabled EPCIS
Giving RFID a REST: Web-enabled EPCISGiving RFID a REST: Web-enabled EPCIS
Giving RFID a REST: Web-enabled EPCISDominique Guinard
 
Iot presentation
Iot presentationIot presentation
Iot presentationhuma742446
 
Io t a_de_techgigwebinar_04nov2016
Io t a_de_techgigwebinar_04nov2016Io t a_de_techgigwebinar_04nov2016
Io t a_de_techgigwebinar_04nov2016Dr. Aloknath De
 
Cloud computingjun28
Cloud computingjun28Cloud computingjun28
Cloud computingjun28korusamol
 
RPL AND COAP PROTOCOLS, EXPERIMENTAL ANALYSIS FOR IOT: A CASE STUDY
RPL AND COAP PROTOCOLS, EXPERIMENTAL ANALYSIS FOR IOT: A CASE STUDYRPL AND COAP PROTOCOLS, EXPERIMENTAL ANALYSIS FOR IOT: A CASE STUDY
RPL AND COAP PROTOCOLS, EXPERIMENTAL ANALYSIS FOR IOT: A CASE STUDYijasuc
 
RPL AND COAP PROTOCOLS, EXPERIMENTAL ANALYSIS FOR IOT: A CASE STUDY
RPL AND COAP PROTOCOLS, EXPERIMENTAL ANALYSIS FOR IOT: A CASE STUDYRPL AND COAP PROTOCOLS, EXPERIMENTAL ANALYSIS FOR IOT: A CASE STUDY
RPL AND COAP PROTOCOLS, EXPERIMENTAL ANALYSIS FOR IOT: A CASE STUDYijasuc
 
IOT UNIT 1 INTRODUCTION TO INTERNET OF THINGS
IOT UNIT 1 INTRODUCTION TO INTERNET OF THINGSIOT UNIT 1 INTRODUCTION TO INTERNET OF THINGS
IOT UNIT 1 INTRODUCTION TO INTERNET OF THINGSbinuvijay1
 
IoTbed: A Generic Architecture for Testbed as a Service for Internet of Thing...
IoTbed: A Generic Architecture for Testbed as a Service for Internet of Thing...IoTbed: A Generic Architecture for Testbed as a Service for Internet of Thing...
IoTbed: A Generic Architecture for Testbed as a Service for Internet of Thing...Mahmud Hossain
 
SAVI-IoT: A Self-managing Containerized IoT Platform
SAVI-IoT: A Self-managing Containerized IoT PlatformSAVI-IoT: A Self-managing Containerized IoT Platform
SAVI-IoT: A Self-managing Containerized IoT PlatformYork University
 
The IBM Research Compute Cloud (RC2): Innovation, Best Practices and Lessons ...
The IBM Research Compute Cloud (RC2): Innovation, Best Practices and Lessons ...The IBM Research Compute Cloud (RC2): Innovation, Best Practices and Lessons ...
The IBM Research Compute Cloud (RC2): Innovation, Best Practices and Lessons ...Society of Women Engineers
 
UNIT I INTRODUCTION TO INTERNET OF THINGS
UNIT I INTRODUCTION TO INTERNET OF THINGSUNIT I INTRODUCTION TO INTERNET OF THINGS
UNIT I INTRODUCTION TO INTERNET OF THINGSbinuvijay1
 

Ähnlich wie Searching in a Web-based Infrastructure for Smart Things (20)

Cloud of things (IoT + Cloud Computing)
Cloud of things (IoT + Cloud Computing)Cloud of things (IoT + Cloud Computing)
Cloud of things (IoT + Cloud Computing)
 
T1 a 2-iot2012 presentation
T1 a 2-iot2012 presentationT1 a 2-iot2012 presentation
T1 a 2-iot2012 presentation
 
TUW-ASE Summer 2015: IoT Cloud Systems
TUW-ASE Summer 2015:  IoT Cloud SystemsTUW-ASE Summer 2015:  IoT Cloud Systems
TUW-ASE Summer 2015: IoT Cloud Systems
 
WoT @ Oracle-Labs
WoT @ Oracle-LabsWoT @ Oracle-Labs
WoT @ Oracle-Labs
 
Io t standard_bis_arpanpal
Io t standard_bis_arpanpalIo t standard_bis_arpanpal
Io t standard_bis_arpanpal
 
Using Web Service Gateways and Code Generation for Sustainable IoT System Dev...
Using Web Service Gateways and Code Generation for Sustainable IoT System Dev...Using Web Service Gateways and Code Generation for Sustainable IoT System Dev...
Using Web Service Gateways and Code Generation for Sustainable IoT System Dev...
 
INTRODUCTION TO INTERNET OF THINGS
INTRODUCTION TO INTERNET OF THINGSINTRODUCTION TO INTERNET OF THINGS
INTRODUCTION TO INTERNET OF THINGS
 
Giving RFID a REST: Web-enabled EPCIS
Giving RFID a REST: Web-enabled EPCISGiving RFID a REST: Web-enabled EPCIS
Giving RFID a REST: Web-enabled EPCIS
 
Iot presentation
Iot presentationIot presentation
Iot presentation
 
IOT System.pptx
IOT System.pptxIOT System.pptx
IOT System.pptx
 
Io t a_de_techgigwebinar_04nov2016
Io t a_de_techgigwebinar_04nov2016Io t a_de_techgigwebinar_04nov2016
Io t a_de_techgigwebinar_04nov2016
 
Cloud computingjun28
Cloud computingjun28Cloud computingjun28
Cloud computingjun28
 
Cloud computingjun28
Cloud computingjun28Cloud computingjun28
Cloud computingjun28
 
RPL AND COAP PROTOCOLS, EXPERIMENTAL ANALYSIS FOR IOT: A CASE STUDY
RPL AND COAP PROTOCOLS, EXPERIMENTAL ANALYSIS FOR IOT: A CASE STUDYRPL AND COAP PROTOCOLS, EXPERIMENTAL ANALYSIS FOR IOT: A CASE STUDY
RPL AND COAP PROTOCOLS, EXPERIMENTAL ANALYSIS FOR IOT: A CASE STUDY
 
RPL AND COAP PROTOCOLS, EXPERIMENTAL ANALYSIS FOR IOT: A CASE STUDY
RPL AND COAP PROTOCOLS, EXPERIMENTAL ANALYSIS FOR IOT: A CASE STUDYRPL AND COAP PROTOCOLS, EXPERIMENTAL ANALYSIS FOR IOT: A CASE STUDY
RPL AND COAP PROTOCOLS, EXPERIMENTAL ANALYSIS FOR IOT: A CASE STUDY
 
IOT UNIT 1 INTRODUCTION TO INTERNET OF THINGS
IOT UNIT 1 INTRODUCTION TO INTERNET OF THINGSIOT UNIT 1 INTRODUCTION TO INTERNET OF THINGS
IOT UNIT 1 INTRODUCTION TO INTERNET OF THINGS
 
IoTbed: A Generic Architecture for Testbed as a Service for Internet of Thing...
IoTbed: A Generic Architecture for Testbed as a Service for Internet of Thing...IoTbed: A Generic Architecture for Testbed as a Service for Internet of Thing...
IoTbed: A Generic Architecture for Testbed as a Service for Internet of Thing...
 
SAVI-IoT: A Self-managing Containerized IoT Platform
SAVI-IoT: A Self-managing Containerized IoT PlatformSAVI-IoT: A Self-managing Containerized IoT Platform
SAVI-IoT: A Self-managing Containerized IoT Platform
 
The IBM Research Compute Cloud (RC2): Innovation, Best Practices and Lessons ...
The IBM Research Compute Cloud (RC2): Innovation, Best Practices and Lessons ...The IBM Research Compute Cloud (RC2): Innovation, Best Practices and Lessons ...
The IBM Research Compute Cloud (RC2): Innovation, Best Practices and Lessons ...
 
UNIT I INTRODUCTION TO INTERNET OF THINGS
UNIT I INTRODUCTION TO INTERNET OF THINGSUNIT I INTRODUCTION TO INTERNET OF THINGS
UNIT I INTRODUCTION TO INTERNET OF THINGS
 

Mehr von Simon Mayer

Autonomous Agents for Flexible Hypermedia Systems
Autonomous Agents for Flexible Hypermedia Systems Autonomous Agents for Flexible Hypermedia Systems
Autonomous Agents for Flexible Hypermedia Systems Simon Mayer
 
WoT 2016 - Seventh International Workshop on the Web of Things
WoT 2016 - Seventh International Workshop on the Web of ThingsWoT 2016 - Seventh International Workshop on the Web of Things
WoT 2016 - Seventh International Workshop on the Web of ThingsSimon Mayer
 
Semantics for the Web of Things
Semantics for the Web of ThingsSemantics for the Web of Things
Semantics for the Web of ThingsSimon Mayer
 
Configuration of Smart Environments Made Simple
Configuration of Smart Environments Made SimpleConfiguration of Smart Environments Made Simple
Configuration of Smart Environments Made SimpleSimon Mayer
 
Semantic Metadata to Support Device Interaction in Smart Environments
Semantic Metadata to Support Device Interaction in Smart EnvironmentsSemantic Metadata to Support Device Interaction in Smart Environments
Semantic Metadata to Support Device Interaction in Smart EnvironmentsSimon Mayer
 
Service Integration in the Web of Things
Service Integration in the Web of ThingsService Integration in the Web of Things
Service Integration in the Web of ThingsSimon Mayer
 
A Computational Space for the Web of Things
A Computational Space for the Web of ThingsA Computational Space for the Web of Things
A Computational Space for the Web of ThingsSimon Mayer
 
In Search of an Internet of Things Service Architecture: REST or WS-*? A Deve...
In Search of an Internet of Things Service Architecture: REST or WS-*? A Deve...In Search of an Internet of Things Service Architecture: REST or WS-*? A Deve...
In Search of an Internet of Things Service Architecture: REST or WS-*? A Deve...Simon Mayer
 
Service Integration - A Web of Things Perspective
Service Integration - A Web of Things PerspectiveService Integration - A Web of Things Perspective
Service Integration - A Web of Things PerspectiveSimon Mayer
 
Web-based Smart Things Ecosystems
Web-based Smart Things EcosystemsWeb-based Smart Things Ecosystems
Web-based Smart Things EcosystemsSimon Mayer
 
DiscoWoT - Extensible Discovery for Smart Things
DiscoWoT - Extensible Discovery for Smart ThingsDiscoWoT - Extensible Discovery for Smart Things
DiscoWoT - Extensible Discovery for Smart ThingsSimon Mayer
 

Mehr von Simon Mayer (11)

Autonomous Agents for Flexible Hypermedia Systems
Autonomous Agents for Flexible Hypermedia Systems Autonomous Agents for Flexible Hypermedia Systems
Autonomous Agents for Flexible Hypermedia Systems
 
WoT 2016 - Seventh International Workshop on the Web of Things
WoT 2016 - Seventh International Workshop on the Web of ThingsWoT 2016 - Seventh International Workshop on the Web of Things
WoT 2016 - Seventh International Workshop on the Web of Things
 
Semantics for the Web of Things
Semantics for the Web of ThingsSemantics for the Web of Things
Semantics for the Web of Things
 
Configuration of Smart Environments Made Simple
Configuration of Smart Environments Made SimpleConfiguration of Smart Environments Made Simple
Configuration of Smart Environments Made Simple
 
Semantic Metadata to Support Device Interaction in Smart Environments
Semantic Metadata to Support Device Interaction in Smart EnvironmentsSemantic Metadata to Support Device Interaction in Smart Environments
Semantic Metadata to Support Device Interaction in Smart Environments
 
Service Integration in the Web of Things
Service Integration in the Web of ThingsService Integration in the Web of Things
Service Integration in the Web of Things
 
A Computational Space for the Web of Things
A Computational Space for the Web of ThingsA Computational Space for the Web of Things
A Computational Space for the Web of Things
 
In Search of an Internet of Things Service Architecture: REST or WS-*? A Deve...
In Search of an Internet of Things Service Architecture: REST or WS-*? A Deve...In Search of an Internet of Things Service Architecture: REST or WS-*? A Deve...
In Search of an Internet of Things Service Architecture: REST or WS-*? A Deve...
 
Service Integration - A Web of Things Perspective
Service Integration - A Web of Things PerspectiveService Integration - A Web of Things Perspective
Service Integration - A Web of Things Perspective
 
Web-based Smart Things Ecosystems
Web-based Smart Things EcosystemsWeb-based Smart Things Ecosystems
Web-based Smart Things Ecosystems
 
DiscoWoT - Extensible Discovery for Smart Things
DiscoWoT - Extensible Discovery for Smart ThingsDiscoWoT - Extensible Discovery for Smart Things
DiscoWoT - Extensible Discovery for Smart Things
 

Searching in a Web-based Infrastructure for Smart Things

  • 1. Searching in a Web-based Infrastructure for Smart Things 3rd Int. Conf. on the Internet of Things, Wuxi, China, 2012 Simon Mayer, Dominique Guinard, Vlad Trifa Distributed Systems Group, ETH Zurich, simon.mayer@inf.ethz.ch
  • 2. The Web of Things + Internet Connection + Embedded Web server + Resource-Oriented Modelling (REST) J.W. Hui and D.E. Culler. IP is dead, long live IP for wireless sensor networks, 2008 10/26/2012 IoT 2012, Wuxi, China 2
  • 3. Example: RESTful Sun SPOTs  Resources and Links between them 28.5 GET Temperature Sensor: http://host/[SpotName]/sensors/temperature LED Switch: http://host/[SpotName]/actuators/leds/3/switch PUT ‘on’ OK M. Kovatsch, S. Mayer, and B. Ostermaier. Towards the Thin Server Architecture for the Internet of Things, 2012 10/26/2012 IoT 2012, Wuxi, China 3
  • 4. The Web of Things – Why?  Great for open, interoperable APIs  Greatly facilitates creation of mashups  Web features for free  Bookmark your devices and their functionality  Caching for scalability, security mechanisms  People are used to exploring the Web using a browser  Seems to facilitate application development D. Guinard, I. Ion, S. Mayer. In Search of an Internet of Things Service Architecture: REST or WS-*? A Developer’s Perspective, 2011 10/26/2012 IoT 2012, Wuxi, China 4
  • 5. The Web of Things – Why?  Great for open, interoperable APIs  Greatly facilitates creation of mashups  Web features for free  Bookmark your devices and their functionality  Caching for scalability, security mechanisms  People are used to exploring the Web using a browser  Seems to facilitate application development D. Guinard, I. Ion, S. Mayer. In Search of an Internet of Things Service Architecture: REST or WS-*? A Developer’s Perspective, 2011 10/26/2012 IoT 2012, Wuxi, China 5
  • 6. The Web of Things – Why?  REST and SOAP on devices with limited resources Power Consumption [mW] Completion Time [s]  UDDI discontinued by IBM, Microsoft, SAP in 2006  Functionality removed from Windows Server in 2010 [derekskeba.com]  Google discontinued WS-* APIs in 2011 D. Yazar and A. Dunkels. Efficient Application Integration in IP-based Sensor Networks, 2009 10/26/2012 IoT 2012, Wuxi, China 6
  • 7. The Web of Things – Community  WoT Workshop Series: webofthings.org/wot  2010 @ PerCom, Mannheim  2011 @ Pervasive, San Francisco  2012 @ Pervasive, Newcastle  Community blog, LinkedIn Group, Twitter, ... 12/21/2012 UbiRobots'12 Workshop, Pittsburgh, PA 7
  • 8. A Web-based Infrastructure for Smart Things Overview & Requirements  Increasing number of networked, smart devices  More and more human-thing and thing-thing interactions  Infrastructure to enable service discovery and brokerage in smart spaces  Most frequent interaction with nearby devices: Interactions exhibit locality 10/26/2012 IoT 2012, Wuxi, China 8
  • 9. A Web-based Infrastructure for Smart Things Overview & Requirements  Exploit Locality of Interactions  Scalability  Self-Management  User-friendliness  Open, easily usable APIs 10/26/2012 IoT 2012, Wuxi, China 9
  • 10. To what extent can Web technologies and patterns be applied in the design of a smart things infrastructure?
  • 11. A Web-based Infrastructure for Smart Things Hierarchy of Management Nodes  Nodes are only aware of their direct neighbors  Nodes can be virtual or embodied (e.g., on routers or NAS) 10/26/2012 IoT 2012, Wuxi, China 11
  • 12. A Web-based Infrastructure for Smart Things Device Discovery & Registration  Device Discovery  Router is knowledgable of connected network devices  IP addresses exposed via OpenWRT + LuCi  Resource Discovery  Interpret any accessible information (e.g., location)  Multiple interpretation strategies (e.g., for HTML Microdata)  Extensible at run time S. Mayer and D. Guinard. An Extensible Discovery Service for Smart Things, 2011 10/26/2012 IoT 2012, Wuxi, China 12
  • 13. A Web-based Infrastructure for Smart Things Searching for Devices & Services – Query Types  Search within the current subtree  Exhaustive Query: Full subtree  Best-Effort Query: Until first hit  Cardinality Query: Until k hits 10/26/2012 IoT 2012, Wuxi, China 13
  • 14. A Web-based Infrastructure for Smart Things Searching for Devices & Services – Query Types  Search outside current subtree  Request For Query 10/26/2012 IoT 2012, Wuxi, China 14
  • 15. A Web-based Infrastructure for Smart Things Searching for Devices & Services – Query Handling 10/26/2012 IoT 2012, Wuxi, China 15
  • 16. A Web-based Infrastructure for Smart Things Searching for Devices & Services – Query Handling 10/26/2012 IoT 2012, Wuxi, China 16
  • 17. A Web-based Infrastructure for Smart Things Searching for Devices & Services – Query Handling .../Floor5/queries/{queryID} - Query representation - # received answers Floor5/ - Pending nodes 501/ 502/ 10/26/2012 IoT 2012, Wuxi, China 17
  • 18. A Web-based Infrastructure for Smart Things Searching for Devices & Services – Query Caching .../Floor5/queries/{queryID} - Query representation - # received answers Floor5/ - Pending nodes 501/ 502/ 10/26/2012 IoT 2012, Wuxi, China 18
  • 19. Simulation Environment  9 Nodes, 600 sensors registered to room-level nodes  4 query types, 1000 queries each, varying concurrency  Strong decrease of answering time with increasing concurrency level CAQ (30) CAQ (200) BEQ EXQ  Query Caching works! 10/26/2012 IoT 2012, Wuxi, China 19
  • 20. A Web-based Infrastructure for Smart Things Searching for Devices & Services – Automatic Load Balancing .../Floor5/queries/{queryID} - Query representation - # received answers Floor5/ - Pending nodes 501/ BEQ 502/ 10/26/2012 IoT 2012, Wuxi, China 20
  • 21. Simulation Environment  9 Nodes, 600 sensors registered to room-level nodes  BEQs to /MainBuilding  Baseline: > 90% of answers from /Floor5  Flooding of /Floor5: > 96% of answers from /Floor6  Load Balancing works! 10/26/2012 IoT 2012, Wuxi, China 21
  • 22. Conclusions  Web patterns to create a smart things infrastructure  “All you need is HTTP”?!  “Resource-oriented Querying” scales, reduces response time, and enables automatic load balancing 10/26/2012 IoT 2012, Wuxi, China 22
  • 23. Future Work  Integrate with relative indoor localization system  Extend resources with semantic descriptions for M2M service provisioning  Enhance current keyword-based searching mechanism 10/26/2012 IoT 2012, Wuxi, China 23
  • 24. Acknowledgements  Matthias Kovatsch, Dominique Guinard, Vlad Trifa 10/26/2012 IoT 2012, Wuxi, China 24