Top Banner
The Web of Things Bridging the IoT Silos Interoperability across IoT platforms Dave Raggett W3C 26 May2016
30

Bridging the Silos - w3.org · a thing, allowing scripts to interact with a local proxy for a remote entity l Scripts can run on servers or as part of Web pages in Web browser for

Jun 21, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Bridging the Silos - w3.org · a thing, allowing scripts to interact with a local proxy for a remote entity l Scripts can run on servers or as part of Web pages in Web browser for

TheWebofThingsBridgingtheIoTSilos

Interoperability across IoT platforms

DaveRaggettW3C

26May2016

Page 2: Bridging the Silos - w3.org · a thing, allowing scripts to interact with a local proxy for a remote entity l Scripts can run on servers or as part of Web pages in Web browser for

TheInternetofThings– BridgingtheSilos

Stillveryimmature,butwithmassivepotential

Lackofinteroperabilityattheapplicationlevel

Manyplatformsandassociated standardsl Addressingbroadrangeofdifferentrequirementsl Endtoendsecuritychallengingacrossplatforms

FragmentationandSilosareholdingback thepotential

Openorclosedsystem?l Closedsystemsincentive:controll Opensystemsprompt:reducedcostsandincreasedmarketsize

l Needforwideadoptionofsharedopenstandards

2/30

Page 3: Bridging the Silos - w3.org · a thing, allowing scripts to interact with a local proxy for a remote entity l Scripts can run on servers or as part of Web pages in Web browser for

IoT Landscape

3/30

Page 4: Bridging the Silos - w3.org · a thing, allowing scripts to interact with a local proxy for a remote entity l Scripts can run on servers or as part of Web pages in Web browser for

4/30

TheIoT StandardisationChallenge 4

Page 5: Bridging the Silos - w3.org · a thing, allowing scripts to interact with a local proxy for a remote entity l Scripts can run on servers or as part of Web pages in Web browser for

5/30

Whatwewanttoavoid… 5

Page 6: Bridging the Silos - w3.org · a thing, allowing scripts to interact with a local proxy for a remote entity l Scripts can run on servers or as part of Web pages in Web browser for

WebofThings– Inter-Platformstandardsforinteroperability

TheWebwillenableatransitionfromcostlymonolithicsoftwaretoopenmarketsofapps

6/30

Page 7: Bridging the Silos - w3.org · a thing, allowing scripts to interact with a local proxy for a remote entity l Scripts can run on servers or as part of Web pages in Web browser for

Analogywithearlydaysofnetworking

BeforetheInternet,thereweremanynon-interoperablenetworktechnologies

l IPmadeitsimpletointerconnect networksandcreateinteroperable servicesindependent ofthenetworktechnologies

l TheInternet grewexponentially astheopportunities wererealisedl LikewisefortheWebwhichtookoverfromisolated information

services

Directanalogywithtoday’s IoT silosandtheirlackofinteroperability

l TheWebofThingsistheequivalentofIPforsemanticinteroperability andendtoendsecurity

l TheWebofThingswillenableexplosivegrowthasthebarriers tointeroperability aretorndown

7/30

Page 8: Bridging the Silos - w3.org · a thing, allowing scripts to interact with a local proxy for a remote entity l Scripts can run on servers or as part of Web pages in Web browser for

SensorDataStreams

l Atimesequence oftupleswherethetimeintervalisnon-negative(wikipedia)

l Manyapplicationareasl Winddirectionandspeedl Healthcare,e.g.electrocardiograml Racingcarenginedatal Rocketryl Oilandgasindustryl Smartcitiesl ....

l Metadata describingwhatisbeingmeasuredandhowitisbufferedandencodedfortransmission

Telemetryforremotesensors8/30

Page 9: Bridging the Silos - w3.org · a thing, allowing scripts to interact with a local proxy for a remote entity l Scripts can run on servers or as part of Web pages in Web browser for

SensorDataStreamsandtheCloud

l Device– Gateway– Cloudl IoTdeviceswithlocalconnectivityl Gatewaysthatstreamsensordatato thecloudl Powerfulscalablecloudbasedplatforms

l Opportunities forservices acrossmanyapplicationdomains

l Bigdata,streamanalyticsandadvancedAIl Machinelearningandpersonalisedservices

l Needforopenstandardstocreateopenmarketsofservicesthatspancloudplatformsoperatedbydifferentvendors

Google’s CloudPlatformfortheIoT

9/30

Page 10: Bridging the Silos - w3.org · a thing, allowing scripts to interact with a local proxy for a remote entity l Scripts can run on servers or as part of Web pages in Web browser for

HomeHubsasPlatformsforSmartHomeApps

l Webstandardscancreateopportunitiesforvendorneutralplatformsforamarketforappsyoucaninstallonyourhomehub

l Yoursmartphoneprovidesthehumanmachine interfacefortheseapps

l Improvedsenseofprivacycomparedwithhavingyourpersonaldatabeingsenttothecloud

l Appsbaseduponyoursocial connectionsl Peertopeerwithyourfriend’shomehubs

Samsung’s SmartThings

10/30

Page 11: Bridging the Silos - w3.org · a thing, allowing scripts to interact with a local proxy for a remote entity l Scripts can run on servers or as part of Web pages in Web browser for

TheWebofThingsintheHome

Gateway CloudbasedServices

Firewall

Ambientorbatteryoperated IoT devices

Powered,multi-protocol

BrowserforHMI

11/30

Page 12: Bridging the Silos - w3.org · a thing, allowing scripts to interact with a local proxy for a remote entity l Scripts can run on servers or as part of Web pages in Web browser for

SmartManufacturing

l Greater flexibility toaddressthetrendtohighlypersonalisedproducts

l Reacting fastertochangingmarketconditions

l Vertical integrationfromtheproductioncells totheboardroom

l Horizontalintegrationacrossthesupplychainandthevaluechainwithinabusiness

RobotsmanufacturingTesla’s electriccars

12/30

Page 13: Bridging the Silos - w3.org · a thing, allowing scripts to interact with a local proxy for a remote entity l Scripts can run on servers or as part of Web pages in Web browser for

WebofThings

Applicationsactonsoftwareobjectsthatstandforphysicalorabstractthings

l Local“things”l Remote“things

Richdescriptionsforevery“thing”l Datamodels,semantics,metadatal Ontologiesthatdescribe“things”

Thingsdon’tneedtobeconnectedl Abstractentitiesandunconnectedphysicalobjects

13/30

Page 14: Bridging the Silos - w3.org · a thing, allowing scripts to interact with a local proxy for a remote entity l Scripts can run on servers or as part of Web pages in Web browser for

DistributedWebofThingswhereeverythinghasaURI

l Thingdescriptions canbeusedtocreateproxiesforathing,allowingscriptstointeractwithalocalproxyforaremoteentity

l ScriptscanrunonserversoraspartofWebpagesinWebbrowserforhumanmachineinterface

l Thingtopologiesl PeertoPeer,PeertoPeer

viaCloud,Star,Device toCloud,StartoCloud

14/30

Page 15: Bridging the Silos - w3.org · a thing, allowing scripts to interact with a local proxy for a remote entity l Scripts can run on servers or as part of Web pages in Web browser for

CommunicationsStack– CleanseparationofconcernsApplication Scripts that define thing behaviour in terms of their properties, actions

and events, using APIs for control of sensor and actuator hardware

Things Software objects that hold their stateAbstract thing to thing messagesSemantics and Metadata, Data models and Data

Transfer Bindings of abstract messages to mechanisms provided by each protocol, including choice of communication pattern, e.g. pull, push, pub-sub, peer to peer, etc.

Transport REST based protocols, e.g. HTTP, CoAPPub-Sub protocols, e.g. MQTT, XMPP, AMQPOthers, including non IP transports, e.g. Bluetooth

Network Underlying communication technology with support for exchange of simple messages (packets)Many technologies designed for different requirements

ApplicationDeveloper(WoT focus)

PlatformDeveloper(IoT focus)

15/30

Page 16: Bridging the Silos - w3.org · a thing, allowing scripts to interact with a local proxy for a remote entity l Scripts can run on servers or as part of Web pages in Web browser for

Scalability

16/30

Page 17: Bridging the Silos - w3.org · a thing, allowing scripts to interact with a local proxy for a remote entity l Scripts can run on servers or as part of Web pages in Web browser for

WebofThingsfortheMakerCommunity

ArduinoEthernetShieldl 16KBRAMl MicroSD cardslotl ControlledthroughSPIbusl PollingorH/Winterruptl Cost:4.75GBPoneBay

ArduinoUnowithATmega328PMCUl 2KBRAMl 1KBEEPROMl 32KBFLASHl LotsofI/Opinsl Cost:2.33GBPoneBay

https://github.com/w3c/wot-arduino

Opensourceprojectsareunderway,e.g.fortheArduinoandmorepowerfulMCUs

17/30

Page 18: Bridging the Silos - w3.org · a thing, allowing scripts to interact with a local proxy for a remote entity l Scripts can run on servers or as part of Web pages in Web browser for

Whatkindsofmetadatadoweneedforthis?

l Thinglifecycles,dataandinteractionmodelsl Asexposedtotheapplications

l Howtointeroperatewithanotherplatform?l Mappingfromthingdescriptions toplatform specificprotocols

l IPaddressandport forIPbasedprotocolsl PathsforRESTbasedprotocols suchasCoAP &HTTP

l Whatcommunicationpatternstouse?l Push,pull, pub-sub, peertopeerl Real-timerequirementsl Transactional robustness&rollbacksl Multiplexing andbufferingl Sleepyambient&batterypowered devices

l Semanticmodelsofthingsandtheirconstraints

18/30

Page 19: Bridging the Silos - w3.org · a thing, allowing scripts to interact with a local proxy for a remote entity l Scripts can run on servers or as part of Web pages in Web browser for

19/30

Data&InteractionModels

Mustberichenoughtocoverbroadrangeofusecasesandplatforms

l Properties,actionsandeventscarryvaluesl Actionsareasynchronousandcanbepassedavalue,

andmayreturnasequenceofvalues

l Valuesasbasictypesl Null,true,false,numbers,strings

l Compound valuesl Arraysl Setsofname/valuepairsl Things(awebofrelatedthings)l Streams(e.g.windspeedanddirection)

l Integrityconstraintsl Onsinglevalues,e.g.

l min/max,integer/floatl Acrossmultiplevaluesl Cardinalityconstraintsl Needforpathexpressions

l Complicationsl Proxychainsl Earlyandlatebinding

l Partiallydefinedtypesl Cyclicdependenciesacrossthingsl Softwaredependencies

l Metadataconstraints(versioning)

19

Page 20: Bridging the Silos - w3.org · a thing, allowing scripts to interact with a local proxy for a remote entity l Scripts can run on servers or as part of Web pages in Web browser for

Semantics

l Needed toensurethatplatformssharethesamemeaningforthedatatheyexchange

l Simpleapproachistodefinesemantics aspartofthesystemspecifications

l Betterapproachistotagdataasbelongingtoanontologythatdescribestherelationshipsbetweenconcepts inamachineinterpretablewayl Whatkindofathingisit?

l e.g.atemperaturesensorl Whatarethedomainconstraints?

l temperaturesensorsmustdescribetheirphysicalunits,whichmustbefromtheset{Kelvin,Celsius,Fahrenheit}

l Otherontologiescoulddescribethelocationofthesensorandwhatitismeasuring

20/30

Page 21: Bridging the Silos - w3.org · a thing, allowing scripts to interact with a local proxy for a remote entity l Scripts can run on servers or as part of Web pages in Web browser for

Semantics

l Ontologiesallowinformationtobeexchangedmeaningfully inawaythat isindependentofthedataformatsusedforitstransmission

l Ontologiesfurtherallowforchecksthattheinformationisconsistentwiththedomainmodels

l Thiscancoverricherconstraints,e.g. temporalconstraintsacrossactionsandproperties

l W3ChasasuiteofstandardsfortheSemanticWebandLinkedDatal RDF,XML,SPARQL,RDF-S,OWL,RIF,JSON-LD,RDFinCSV,...

l Enablesemantic basedsearchandcompositionofservicesl Ensurethatcompositionswilluseinteroperableservices

21/30

Page 22: Bridging the Silos - w3.org · a thing, allowing scripts to interact with a local proxy for a remote entity l Scripts can run on servers or as part of Web pages in Web browser for

22/30

WebofThingsActivity

22

Page 23: Bridging the Silos - w3.org · a thing, allowing scripts to interact with a local proxy for a remote entity l Scripts can run on servers or as part of Web pages in Web browser for

W3CWebofThingsInterestGroup

Workshop inBerlin(June 2014)l LaunchofWebofThingsIGin2015l ChairedbyJörg Heuer,Siemensl Taskforces

ThingdescriptionsAPIsandprotocolsDiscoveryandprovisioningSecurity,privacyandresilienceCommunicationsandcollaboration

Strongemphasis onimplementation experiencel Demosandplug-festsl Helpstobuildasharedunderstanding

MontrealFacetoFace,11-13April201623/30

Page 24: Bridging the Silos - w3.org · a thing, allowing scripts to interact with a local proxy for a remote entity l Scripts can run on servers or as part of Web pages in Web browser for

MembersoftheWebofThingsInterestGroup

24/30

Page 25: Bridging the Silos - w3.org · a thing, allowing scripts to interact with a local proxy for a remote entity l Scripts can run on servers or as part of Web pages in Web browser for

JointWhitePaperonSemanticInteroperability

l Contributorsareindividualsfromarangeofindustryalliancesandstandardsdevelopmentorganisationsl Editors fromW3C,oneM2M,IEEEP2413

l Inspirationfrommanyofthepapersonsemanticinteroperability

l Illustratetheconceptintermsofsomeusecases,alongwiththerequirements,andviewsonhowtoenablesemanticinteroperabilitywithinandacrossIoT platforms

l Discussbestpracticesforontologydesignanddistinguishcrossdomain(horizontal)metadataanddomainspecific(vertical)metadata

l Oncewehaveastableversionwewillinvitewiderexpertreviewandupdatethedocumentaccordingly

l WewillseekbroaddisseminationofthedocumentandwillpublishunderaCreativeCommonsLicense

l Wehope thatthedevelopmentprocesswillhelpshapeacommonperspectiveacrosscontributorsandthatthewhitepaperwillinfluencetheagendasofworkinggroupsacrosstheindustry

25/30

Page 26: Bridging the Silos - w3.org · a thing, allowing scripts to interact with a local proxy for a remote entity l Scripts can run on servers or as part of Web pages in Web browser for

LiaisonsandCollaborations

Reachingouttoindustryalliances andSDO’stodriveconvergencetounleashthepotential

l Plattform Industrie 4.0Especiallythe“semantics”subgroup

l IndustrialInternetConsortiuml OpenConnectivityFoundationl OPCFoundationl IETF/IRTFl oneM2Ml AIOTI

AIOTI26/30

Page 27: Bridging the Silos - w3.org · a thing, allowing scripts to interact with a local proxy for a remote entity l Scripts can run on servers or as part of Web pages in Web browser for

WebofThingsWorkingGroup

TheInterestGroup(IG)isworkingonl Usecases,requirements,technologylandscapeandplansfor

launchingworkinggroups(WG)l IGspreparethegroundforstandardsbutdon’tdevelop

standardsl WGsarecharteredtodevelopstandards(W3C

Recommendations)

We’recollecting ideasforaWorkingGroupincludingl Horizontalmetadatavocabularies(things,security,

communications)l Serialisationsofmetadata,e.g.,asJSON-LDl APIsandbindingstospecificprotocolsandplatformsin

collaborationwiththeplatformowners

WebofThingsWorkingGrouptobelaunchedin2016

27/30

Page 28: Bridging the Silos - w3.org · a thing, allowing scripts to interact with a local proxy for a remote entity l Scripts can run on servers or as part of Web pages in Web browser for

TheBottomLine

TheWebisessentialforrealizingthefullpotentialoftheIoT

TheWebprovidesaunifying frameworkforsemanticinteroperability

TheWebactsasaglobalmarketplaceforsuppliersandconsumersofservices

28/30

Page 29: Bridging the Silos - w3.org · a thing, allowing scripts to interact with a local proxy for a remote entity l Scripts can run on servers or as part of Web pages in Web browser for

WorldWideWebConsortium

Mission: leadtheWebtoitsfullpotentiall TheWebistheworld'slargestvendor-neutraldistributedapplicationplatform

FoundedbySirTimBerners-Lee, inventoroftheWebl 400+Membersl Member-funded internationalorganisation

DevelopsstandardsforWebandsemantic technologiesl HTML,CSS,scriptingAPIs,XML,SVG,VoiceXML,

SemanticWebandLinkedDataetc.l Developeroriented,enablingcooperationbetween

organisationswithverydifferentbackgroundsl W3Cpatentpolicyforroyaltyfreestandardsl W3Cstaffofengineersactivelyparticipatinginstandardisationl Increasinglyinvolvedinverticals:Mobile,TV,Automotive,Digitalpublishing

29/30

Page 30: Bridging the Silos - w3.org · a thing, allowing scripts to interact with a local proxy for a remote entity l Scripts can run on servers or as part of Web pages in Web browser for

30/30

FormoreinformationonW3Csee:

www.w3.org

WorkwithustobuildtheWebofThings!

Thankyou!