Resource Discovery in IoT: Current Trends, Gap Analysis ...€¦ · Soumya Kanti Datta Research...

17
Resource Discovery in IoT: Current Trends, Gap Analysis and Future Standardization Aspects Soumya Kanti Datta Research Engineer, EURECOM TF-DI Coordinator in W3C WoT IG Email: [email protected]

Transcript of Resource Discovery in IoT: Current Trends, Gap Analysis ...€¦ · Soumya Kanti Datta Research...

Page 1: Resource Discovery in IoT: Current Trends, Gap Analysis ...€¦ · Soumya Kanti Datta Research Engineer, EURECOM TF-DI Coordinator in W3C WoT IG Email: dattas@eurecom.fr. Roadmap

Resource Discovery in IoT: Current Trends, Gap Analysis and Future Standardization Aspects

Soumya Kanti DattaResearch Engineer, EURECOM

TF-DI Coordinator in W3C WoT IGEmail: [email protected]

Page 2: Resource Discovery in IoT: Current Trends, Gap Analysis ...€¦ · Soumya Kanti Datta Research Engineer, EURECOM TF-DI Coordinator in W3C WoT IG Email: dattas@eurecom.fr. Roadmap

Roadmap

� Introduction

� Current Discovery Landscape

� Gap Analysis from Standards Point-of-View

� Search Engine Based Resource Discovery

� Inputs to SDOs

� Conclusion

11-Dec-2015 Resource Discovery in IoT: Current Trends, Gap Analysis and Future Standardization Aspects

- p 2

Page 3: Resource Discovery in IoT: Current Trends, Gap Analysis ...€¦ · Soumya Kanti Datta Research Engineer, EURECOM TF-DI Coordinator in W3C WoT IG Email: dattas@eurecom.fr. Roadmap

Introduction: Discovery

11-Dec-2015 Resource Discovery in IoT: Current Trends, Gap Analysis and Future Standardization Aspects

- p 3

� Search functionalities provided to Humans

�Google

�Yahoo

�Bing

� Search Engine for things?

Source : www.iotdex.com

Page 4: Resource Discovery in IoT: Current Trends, Gap Analysis ...€¦ · Soumya Kanti Datta Research Engineer, EURECOM TF-DI Coordinator in W3C WoT IG Email: dattas@eurecom.fr. Roadmap

Two Main Aspects to Consider

� Discovery mechanism is incomplete without retrieving and ranking information.

� Retrieve

� Thing description (including properties and capabilities).

� Thing metadata.

� Rank

� Depending on context rank the retrieved information.

11-Dec-2015 Resource Discovery in IoT: Current Trends, Gap Analysis and Future Standardization Aspects

- p 4

� Discovery for humans

� Looking for a thing/M2M service providing offline map of Milan.

� Can be assisted by a search engine.

� M2M discovery

� With no human in the loop

� It is one of the challenges.

� E.g. - M2M gateway looking for actuators to set a room temperature (smart living service).

Page 5: Resource Discovery in IoT: Current Trends, Gap Analysis ...€¦ · Soumya Kanti Datta Research Engineer, EURECOM TF-DI Coordinator in W3C WoT IG Email: dattas@eurecom.fr. Roadmap

Category 1: Search around ME

11-Dec-2015 Resource Discovery in IoT: Current Trends, Gap Analysis and Future Standardization Aspects

- p 5

� This category of discovery includes technologies that allow to discover things around me (in a spatial sense)� NFC

� UriBeacon (Formerly known as Physical Web from Google)

� iBeacon (from Apple)

Sources -

https://www.w3.org/WoT/IG/wiki/Discovery_Categories_and_Tech_Landscape

https://github.com/w3c/wot/blob/master/TF-DI/Interactions.md

Page 6: Resource Discovery in IoT: Current Trends, Gap Analysis ...€¦ · Soumya Kanti Datta Research Engineer, EURECOM TF-DI Coordinator in W3C WoT IG Email: dattas@eurecom.fr. Roadmap

Category 2: Search on My Network

11-Dec-2015 Resource Discovery in IoT: Current Trends, Gap Analysis and Future Standardization Aspects

- p 6

� It covers technologies enabling discovery of things on the network.

� mDNS

� SSDP

Page 7: Resource Discovery in IoT: Current Trends, Gap Analysis ...€¦ · Soumya Kanti Datta Research Engineer, EURECOM TF-DI Coordinator in W3C WoT IG Email: dattas@eurecom.fr. Roadmap

Category 3: Searching in a Directory

11-Dec-2015 Resource Discovery in IoT: Current Trends, Gap Analysis and Future Standardization Aspects

- p 7

� A central directory is used for discovery of things and resources

� Discovery requests are sent to the directory.� CoRE Resource

Directory� XMPP IoT Discovery� SPARQL Endpoints

Page 8: Resource Discovery in IoT: Current Trends, Gap Analysis ...€¦ · Soumya Kanti Datta Research Engineer, EURECOM TF-DI Coordinator in W3C WoT IG Email: dattas@eurecom.fr. Roadmap

Category 4: Search Across Peers

� In P2P style discovery, the directory is essentially distributed across the peers.

� Distributed hash tables (DHT) is often used to map the search space into a numeric range and then allocates servers to parts of that range.

� Observation: the technique works well for scale free networks.

11-Dec-2015 Resource Discovery in IoT: Current Trends, Gap Analysis and Future Standardization Aspects

- p 8

Page 9: Resource Discovery in IoT: Current Trends, Gap Analysis ...€¦ · Soumya Kanti Datta Research Engineer, EURECOM TF-DI Coordinator in W3C WoT IG Email: dattas@eurecom.fr. Roadmap

Category 5: Search for Thing Metadata

11-Dec-2015 Resource Discovery in IoT: Current Trends, Gap Analysis and Future Standardization Aspects

- p 9

� Once a “thing" has been discovered with mentioned mechanisms� next "resources" (thing

metadata) access at thing level

needs to be performed

� Examples� CoAP + CoRE Link Format (for

thing metadata)

� Sensor Observation Service

(SOS): it is a web service which

allows querying sensor

metadata.

Page 10: Resource Discovery in IoT: Current Trends, Gap Analysis ...€¦ · Soumya Kanti Datta Research Engineer, EURECOM TF-DI Coordinator in W3C WoT IG Email: dattas@eurecom.fr. Roadmap

Category 6: Semantic Based Search

11-Dec-2015 Resource Discovery in IoT: Current Trends, Gap Analysis and Future Standardization Aspects

- p 10

� Semantic Enhanced Service Proxy Framework for Internet of Things * � A semantic based framework using the concept of service

advertisement of a smart thing & eases service registration

� The advertisement contains a service metadata including name, id, endpoint, location and semantic annotation link.

� An evaluation of semantic service discovery of a U-city middleware **� It proposes a middleware which performs SD using semantic web

technologies on the contextual information inferred from sensor data.

* http://ieeexplore.ieee.org/xpl/articleDetails.jsp?arnumber=5724875

** http://ieeexplore.ieee.org/xpl/articleDetails.jsp?arnumber=5440391

Page 11: Resource Discovery in IoT: Current Trends, Gap Analysis ...€¦ · Soumya Kanti Datta Research Engineer, EURECOM TF-DI Coordinator in W3C WoT IG Email: dattas@eurecom.fr. Roadmap

Gap Analysis

� No common catalogue to describe the resources, units and domains.

� Synonyms are often not recognized. (Rain and Precipitation sensors)

� Therefore, searching for a resource using a synonym might not discover the

resource.

� No uniform ranking of discovered resources.

� Secure Discovery: how to integrate security mechanisms and access control functions into a discovery framework.

� Lack of uniform mechanism for resource discovery.

� Semantic based discovery is not studied in depth yet.� Extract contexts or key words to be used in discovery.

� How semantics could play a role in maintaining interoperability across IoT platforms.

11-Dec-2015 Resource Discovery in IoT: Current Trends, Gap Analysis and Future Standardization Aspects

- p 11

Page 12: Resource Discovery in IoT: Current Trends, Gap Analysis ...€¦ · Soumya Kanti Datta Research Engineer, EURECOM TF-DI Coordinator in W3C WoT IG Email: dattas@eurecom.fr. Roadmap

Search Engine Based Discovery Framework

11-Dec-2015 Resource Discovery in IoT: Current Trends, Gap Analysis and Future Standardization Aspects

- p 12

Page 13: Resource Discovery in IoT: Current Trends, Gap Analysis ...€¦ · Soumya Kanti Datta Research Engineer, EURECOM TF-DI Coordinator in W3C WoT IG Email: dattas@eurecom.fr. Roadmap

The Three Layers (1/2)

� Proxy layer

� Enable discovery and interaction with smart and legacy things regardless of

communication technology and protocols.

� Discovery layer

� Configuration registry: manages registration, un-registration of things and

provides storage of configurations.

� Indexing API: registered things are indexed to expedite the search

operation.

� Search engine

– Receives the discovery request (keywords/parameters) from clients

– Extracts indices

– Provides look up facility (discovers the matching things)

– Ranks the results based on relevance, availability, access control policies.

� Lifetime: A time period through which resources remain discoverable

11-Dec-2015 Resource Discovery in IoT: Current Trends, Gap Analysis and Future Standardization Aspects

- p 13

Page 14: Resource Discovery in IoT: Current Trends, Gap Analysis ...€¦ · Soumya Kanti Datta Research Engineer, EURECOM TF-DI Coordinator in W3C WoT IG Email: dattas@eurecom.fr. Roadmap

The Three Layers (2/2)

� Service enablement layer

�Exposes discovery layer functionalities through RESTful

web services.

�Enforces strict access control policies.

�Provides subscription and notification facilities.

� Includes semantic components for discovery.

� Incorporate security mechanisms

11-Dec-2015 Resource Discovery in IoT: Current Trends, Gap Analysis and Future Standardization Aspects

- p 14

Page 15: Resource Discovery in IoT: Current Trends, Gap Analysis ...€¦ · Soumya Kanti Datta Research Engineer, EURECOM TF-DI Coordinator in W3C WoT IG Email: dattas@eurecom.fr. Roadmap

Suggestions to SDOs

� Examine how semantics can solve interoperability issues.

� Need uniform and technology independent discovery for higher layer applications.

� Provide guidelines for binding to APIs and protocols for efficient interaction with things.

� Utilize a uniform catalogue of descriptions (as defined in things description) for discovery of things and their metadata.

� Provide means of ranking the discovery results

� When presented to end users or other M2M applications.

� Integrate strong access control policies and security mechanisms.

11-Dec-2015 Resource Discovery in IoT: Current Trends, Gap Analysis and Future Standardization Aspects

- p 15

Page 16: Resource Discovery in IoT: Current Trends, Gap Analysis ...€¦ · Soumya Kanti Datta Research Engineer, EURECOM TF-DI Coordinator in W3C WoT IG Email: dattas@eurecom.fr. Roadmap

Conclusion

� In a nutshell,

� Categorization of discovery mechanisms & interaction patterns.

� Gap analysis from standards perspective

� A search engine based discovery framework

� Suggestions to SDOs.

� A peek into the future works

� Deploying at a cloud to be used in a smart city framework

� Deploy in my soon-to-be smart apartment.

11-Dec-2015 Resource Discovery in IoT: Current Trends, Gap Analysis and Future Standardization Aspects

- p 16

Page 17: Resource Discovery in IoT: Current Trends, Gap Analysis ...€¦ · Soumya Kanti Datta Research Engineer, EURECOM TF-DI Coordinator in W3C WoT IG Email: dattas@eurecom.fr. Roadmap

Thank you!

� Email: [email protected]

� Telephone: +33658194342

� Twitter: @skdatta2010

� Webpage: http://www.eurecom.fr/en/people/datta-soumya-kanti

11-Dec-2015 Resource Discovery in IoT: Current Trends, Gap Analysis and Future Standardization Aspects

- p 17