Countering Fragmentation with the Web of Things · The Internet of Things – Bridging the Silos...

35
Countering Fragmentation with the Web of Things Interoperability across IoT platforms Dave Raggett W3C 27 April 2016

Transcript of Countering Fragmentation with the Web of Things · The Internet of Things – Bridging the Silos...

Page 1: Countering Fragmentation with the Web of Things · The Internet of Things – Bridging the Silos Still very immature, but with massive potential Lack of interoperability at the application

CounteringFragmentationwiththeWebofThings

Interoperability across IoT platforms

DaveRaggettW3C

27April2016

Page 2: Countering Fragmentation with the Web of Things · The Internet of Things – Bridging the Silos Still very immature, but with massive potential Lack of interoperability at the application

TheInternetofThings– BridgingtheSilos

Stillveryimmature,butwithmassivepotential

Lackofinteroperabilityattheapplicationlevel

Manyplatformsandassociated standardsl Addressingbroadrangeofdifferentrequirements

l Endtoendsecuritychallengingacrossplatforms

FragmentationandSilosareholdingback thepotential

Openorclosedsystem?l Closedsystemsincentive:control

l Opensystemsprompt:reducedcostsandincreasedmarketsize

l Needforwideadoptionofsharedopenstandards

2/35

Page 3: Countering Fragmentation with the Web of Things · The Internet of Things – Bridging the Silos Still very immature, but with massive potential Lack of interoperability at the application

IoT Landscape

3/35

Page 4: Countering Fragmentation with the Web of Things · The Internet of Things – Bridging the Silos Still very immature, but with massive potential Lack of interoperability at the application

4/35

TheIoT StandardisationChallenge4

Page 5: Countering Fragmentation with the Web of Things · The Internet of Things – Bridging the Silos Still very immature, but with massive potential Lack of interoperability at the application

WorldWideWebConsortium

Mission: leadtheWebtoitsfullpotentiall TheWebistheworld'slargestvendor-neutraldistributedapplicationplatform

FoundedbySirTimBerners-Lee, inventoroftheWebl 400+Members

l Member-funded internationalorganisation

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

SemanticWebandLinkedDataetc.l Developeroriented,enablingcooperationbetween

organisationswithverydifferentbackgroundsl W3Cpatentpolicyforroyaltyfreestandards

l W3Cstaffofengineersactivelyparticipatinginstandardisationl Increasinglyinvolvedinverticals:Mobile,TV,Automotive,Digitalpublishing

5/35

Page 6: Countering Fragmentation with the Web of Things · The Internet of Things – Bridging the Silos Still very immature, but with massive potential Lack of interoperability at the application

6/35

Whatwewanttoavoid…6

Page 7: Countering Fragmentation with the Web of Things · The Internet of Things – Bridging the Silos Still very immature, but with massive potential Lack of interoperability at the application

WebofThings– Inter-Platformstandardsforinteroperability

TheWebwillenableatransitionfromcostlymonolithicsoftwaretoopenmarketsofapps

7/35

Page 8: Countering Fragmentation with the Web of Things · The Internet of Things – Bridging the Silos Still very immature, but with massive potential Lack of interoperability at the application

Analogywithearlydaysofnetworking

BeforetheInternet,thereweremanynon-interoperablenetworktechnologies

l IPmadeitsimpletointerconnect networksandcreateinteroperable servicesindependent ofthenetworktechnologies

l TheInternet grewexponentially astheopportunities wererealised

l LikewisefortheWebwhichtookoverfromisolated informationservices

Directanalogywithtoday’s IoT silosandtheirlackofinteroperability

l TheWebofThingsistheequivalentofIPforsemanticinteroperability andendtoendsecurity

l TheWebofThingswillenableexplosivegrowthasthebarriers tointeroperability aretorndown

8/35

Page 9: Countering Fragmentation with the Web of Things · The Internet of Things – Bridging the Silos Still very immature, but with massive potential Lack of interoperability at the application

WebofThings

Applicationsactonsoftwareobjectsthatstandforthings

l Local“things”l Remote“things

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

Thingsdon’tneedtobeconnectedl Abstractentitiesandunconnectedphysicalobjects

9/35

Page 10: Countering Fragmentation with the Web of Things · The Internet of Things – Bridging the Silos Still very immature, but with massive potential Lack of interoperability at the application

DistributedWebofThings

l Thingdescriptions canbeusedtocreateproxiesforathing,allowingscriptstointeractwithalocalproxyforaremoteentity

l ScriptscanrunonserversoraspartofWebpagesinWebbrowserforhumanmachineinterface

l Thingtopologiesl PeertoPeer,PeertoPeer

viaCloud,Star,Device toCloud,StartoCloud

10/35

Page 11: Countering Fragmentation with the Web of Things · The Internet of Things – Bridging the Silos Still very immature, but with massive potential Lack of interoperability at the application

CommunicationsStack– Cleanseparationofconcerns

Application 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, XMPPOthers, 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)

11/35

Page 12: Countering Fragmentation with the Web of Things · The Internet of Things – Bridging the Silos Still very immature, but with massive potential Lack of interoperability at the application

Scalability

12/35

Page 13: Countering Fragmentation with the Web of Things · The Internet of Things – Bridging the Silos Still very immature, but with massive potential Lack of interoperability at the application

WebofThingsfortheMakerCommunity

ArduinoEthernetShieldl 16KBRAM

l MicroSD cardslot

l ControlledthroughSPIbus

l PollingorH/Winterrupt

l Cost:4.75GBPoneBay

ArduinoUnowithATmega328PMCUl 2KBRAM

l 1KBEEPROM

l 32KBFLASH

l LotsofI/Opins

l Cost:2.33GBPoneBay

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

Opensourceprojectsareunderway,e.g.fortheArduinoandmorepowerfulMCUs

13/35

Page 14: Countering Fragmentation with the Web of Things · The Internet of Things – Bridging the Silos Still very immature, but with massive potential Lack of interoperability at the application

TheWebofThingsintheHome

Gateway CloudbasedServices

Firewall

Ambientorbatteryoperated IoT devices

Powered,multi-protocol

BrowserforHMI

14/35

Page 15: Countering Fragmentation with the Web of Things · The Internet of Things – Bridging the Silos Still very immature, but with massive potential Lack of interoperability at the application

Whatkindsofmetadatadoweneedforthis?

l Thinglifecycles,dataandinteractionmodelsl Asexposedtotheapplications

l Howtointeroperatewithanotherplatform?l Mappingfromthingdescriptions toplatform specificprotocols

l IPaddressandport forIPbasedprotocols

l PathsforRESTbasedprotocols suchasCoAP &HTTP

l Whatcommunicationpatternstouse?l Push,pull, pub-sub, peertopeer

l Real-timerequirementsl Transactional robustness&rollbacks

l Multiplexing andbuffering

l Sleepyambient&batterypowered devices

l Semanticmodelsofthingsandtheirconstraints

15/35

Page 16: Countering Fragmentation with the Web of Things · The Internet of Things – Bridging the Silos Still very immature, but with massive potential Lack of interoperability at the application

16/35

Data&InteractionModels

Mustberichenoughtocoverbroadrangeofusecasesandplatforms

l Properties,actionsandeventscarryvaluesl Actionsareasynchronousandcanbepassedavalue,

andmayreturnasequenceofvalues

l Valuesasbasictypesl Null,true,false,numbers,strings

l Compound valuesl Arraysl Setsofname/valuepairsl Thingsl Streams

l Integrityconstraintsl Onsinglevalues,e.g.

l min/max,integer/floatl Acrossmultiplevaluesl Cardinalityconstraintsl Needforpathexpressions

l Complicationsl Proxychainsl Earlyandlatebinding

l Partiallydefinedtypesl Cyclicdependenciesacrossthingsl Softwaredependencies

l Metadataconstraints(versioning)

16

Page 17: Countering Fragmentation with the Web of Things · The Internet of Things – Bridging the Silos Still very immature, but with massive potential Lack of interoperability at the application

Semantics

l Neededtoensurethatplatformssharethesamemeaningforthedatatheyexchange

l Simple approachistodefinesemantics aspartofthesystemspecificationsl Butthismakesiteasytolosetrackwhendataisstoredandpassedtoother systems,orwhen

asystemevolvestoaddresschangingrequirements

l Betterapproachistotagdataasbelonging toanontologythatdescribes therelationships betweenconceptsinamachineinterpretablewayl Whatkindofathingisit?

l e.g.atemperaturesensor

l Whatarethedomainconstraints?

l temperaturesensorsmustdescribetheirphysicalunits,whichmustbefromtheset{Kelvin,Celsius,Fahrenheit}

l Otherontologiescoulddescribethelocationofthesensorandwhatitismeasuring

17/35

Page 18: Countering Fragmentation with the Web of Things · The Internet of Things – Bridging the Silos Still very immature, but with massive potential Lack of interoperability at the application

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

18/35

Page 19: Countering Fragmentation with the Web of Things · The Internet of Things – Bridging the Silos Still very immature, but with massive potential Lack of interoperability at the application

OpenQuestions

l Whatneeds tobestandardised andhow?

l Whatarebestpracticesandhowcantheirusebeencouraged?

l W3Cisinagoodposition tostandardisecrossdomain ontologies

l Industryspecific groupsneedtostandardisedomainspecific ontologies

l Differentcontextsplacedifferentrequirementsondomainmodels

l Ideallytheontologies aremodularised toallowforeasyextension

l Furtherchallengesfromdivergencebetweenweaklycoupledcommunities

19/35

Page 20: Countering Fragmentation with the Web of Things · The Internet of Things – Bridging the Silos Still very immature, but with massive potential Lack of interoperability at the application

WhatcanwelearnfromtheWeb?

l TimBerners-Lee, inventoroftheWeb,waskeenforwebsitestoaddsemanticannotations

l Tim’soriginalhopesforwebsitestomarkuptheirdatafailedtogettraction

l Microformats,awidelytalkedaboutalternative toRDFa,alsofailedtogettraction

l Webdevelopersweren’tgettingenoughbenefitsfortheefforttheyinvested

l Searchenginevendorstotherescue!

l Simpleflatsemanticsdocumentedonschema.org

l Instantbenefitviahowyourwebsiteispresentedinwebsearchresults

l showingarestaurantonGooglemaps,alongwiththeopeningtimes

20/35

I
Page 21: Countering Fragmentation with the Web of Things · The Internet of Things – Bridging the Silos Still very immature, but with massive potential Lack of interoperability at the application

ImplicationsfortheWebofThings

l Weneedawaytosearchforservices basedupon theirnames, humanreadabledescriptions andmachineinterpretablesemanticdescriptions

l Weneedawaytocomposeserviceswiththeassurancethatagivencompositionwillworkasexpected.Thisimplies theneedtocheckforsemanticinteroperability

l Weneedtolook aftersecurity*andprivacy.l Endtoendsecuritynecessitatessharedassumptionsinrespecttotrustmodels,otherwise,platformswillonlybeableto

sharedatathatismarkedaspubliclyaccessible

l Privacyandconfidentialityareabout theagreementsbetweenconsentingparties.

l Thisrelatestoprivacypreferences,privacypolicies,stickypoliciesthatremainassociatedwithdataasitispassedthrough thenetwork,theneed totrackprovenance toensurethatdataishandledinaccordancewiththeagreementwiththedataowner,Servicelevelagreements,Machinereadableterms&conditions,Payments,andAutomatednegotiation.

*Inageneralsense,includingintegrity,safetyandresilience21/35

Page 22: Countering Fragmentation with the Web of Things · The Internet of Things – Bridging the Silos Still very immature, but with massive potential Lack of interoperability at the application

22/35

WebofThingsActivity

22

Page 23: Countering Fragmentation with the Web of Things · The Internet of Things – Bridging the Silos Still very immature, but with massive potential Lack of interoperability at the application

WhereNext?W3CWebofThingsActivity

l W3CischarteringaWebofThingsWorkingGrouptostandardisehorizontalmetadatavocabularies

l Thisgroupisexpectedtolaunchlaterthisyear

l W3CWebofThingsInterestGroupisre-chartering

l ExpectedtoboostitsworkonreachingouttoindustryalliancesandSDOs

l IncludingIndustrie 4.0

l Interoperabilitytestsacrossplatformsusingopensourceimplementations

l Furtherjointpapersplannedonsecurity,privacyandrequirementsforopenmarketsofservices

23/35

Page 24: Countering Fragmentation with the Web of Things · The Internet of Things – Bridging the Silos Still very immature, but with massive potential Lack of interoperability at the application

W3CWebofThingsInterestGroup

Workshop inBerlin(June 2014)l LaunchofWebofThingsIGin2015

l ChairedbyJörg Heuer,Siemens

l Taskforces

Thingdescriptions

APIsandprotocols

Discoveryandprovisioning

Security,privacyandresilience

Communicationsandcollaboration

Strongemphasis onimplementation experiencel Demosandplug-fests

l HelpstobuildasharedunderstandingMontrealFacetoFace,11-13April2016

24/35

Page 25: Countering Fragmentation with the Web of Things · The Internet of Things – Bridging the Silos Still very immature, but with massive potential Lack of interoperability at the application

MembersoftheWebofThingsInterestGroup

25/35

Page 26: Countering Fragmentation with the Web of Things · The Internet of Things – Bridging the Silos Still very immature, but with massive potential Lack of interoperability at the application

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

26/35

Page 27: Countering Fragmentation with the Web of Things · The Internet of Things – Bridging the Silos Still very immature, but with massive potential Lack of interoperability at the application

LiaisonsandCollaborations

Reachingouttoindustryalliances andSDO’stodriveconvergencetounleashthepotential

l Plattform Industrie 4.0

Especiallythe“semantics”subgroup

l IndustrialInternetConsortium

l OpenConnectivityFoundation

l OPCFoundation

l IETF/IRTF

l oneM2M

l AIOTI

AIOTI27/35

Page 28: Countering Fragmentation with the Web of Things · The Internet of Things – Bridging the Silos Still very immature, but with massive potential Lack of interoperability at the application

EnablingVerticalandHorizontalIntegrationforRealisingthePotentialforDigitalAutomation

Business Level

Field Level

integration alongthe supply chain

integration alongthe value chain*

high levelsof abstraction

low levelsof abstraction

Webof

Things

*value chain – the process or activities by which a company adds value to an article, including design, production, marketing, and the provision of after sales serviceIndustrie 4.0 AssetsThings = Industrie 4.0 Components

W3C and OPC collaborating on enabling integration across platforms through metadata standards for semantic interoperability and end to end security

28/35

Page 29: Countering Fragmentation with the Web of Things · The Internet of Things – Bridging the Silos Still very immature, but with massive potential Lack of interoperability at the application

WebofThingsWorkingGroup

TheInterestGroup(IG)isworkingonl Usecases,requirements,technologylandscapeandplansfor

launchingworkinggroups(WG)

l IGspreparethegroundforstandardsbutdon’tdevelopstandards

l WGsarecharteredtodevelopstandards(W3CRecommendations)

We’recollecting ideasforaWorkingGroupincludingl Horizontalmetadatavocabularies(things,security,

communications)l Serialisationsofmetadata,e.g.,asJSON-LD

l APIsandbindingstospecificprotocolsandplatformsincollaborationwiththeplatformowners

WebofThingsWorkingGrouptobelaunchedin2016

29/35

Page 30: Countering Fragmentation with the Web of Things · The Internet of Things – Bridging the Silos Still very immature, but with massive potential Lack of interoperability at the application

30/35

WebofThingsWhat,why,how,actions

30

Page 31: Countering Fragmentation with the Web of Things · The Internet of Things – Bridging the Silos Still very immature, but with massive potential Lack of interoperability at the application

31/35

C-levelcorporatedecisionmakers

What istheproblemtobeaddressed?FragmentationoftheIoT intomanynon-interoperable platforms

Whyisitimportant?Solving thiswillenableexponentialgrowthaswesawwiththeInternetandtheWeb

l Thenetworkeffect:Metcalfe’slaw

Howitistobesolved?Inter-platformstandardsthatplayananalogousroletoIPforconnectingpreviously incompatiblenetworks

l Decouplingapplicationsfromprotocolsl Enablingdifferentplatformstointeroperatel Complementing,notcompeting,withplatforms

Whatactionareweseeking?CommittojoinW3C&assignstafftoparticipateinWebofThingsgroups

Ensureyourcompanyisinthedrivingseatfortheopen IoT

31

Page 32: Countering Fragmentation with the Web of Things · The Internet of Things – Bridging the Silos Still very immature, but with massive potential Lack of interoperability at the application

32/35

SDO’sandIndustryAlliances

What istheproblemtobeaddressed?Difficultyofcreatingservices spanning differentplatformsduetoalackofsemanticinteroperabilityandamissmatchofassumptions aroundtrustandsecurity

Whyisitimportant?Solving thiswouldenableexponentialgrowthinservices likewesawforIPandtheWeb

Howitistobesolved?Inter-platformstandardsdefining aninterlinguaformetadata,andsharedassumptions inrespecttoendtoendsecurityacrossdifferentplatforms

Whatactionareweseeking?Activecollaboration onintegrationwiththeWebofThingsandalignmentofmarketingmessages

32

Page 33: Countering Fragmentation with the Web of Things · The Internet of Things – Bridging the Silos Still very immature, but with massive potential Lack of interoperability at the application

33/35

EngineersandDevelopers

Whatistheproblemtobeaddressed?FragmentationofplatformsandIoT technologies,andhighcostofintegrationwithapiecemealapproach

Barriersforsemanticinteroperabilityandendtoendsecurity

Whyisitimportant?Simpler,faster,moreflexibleapplicationdevelopment

LeveragingexistingservicesandcommunitiesintheWebecosystem

Bepartofthenextbigthing,stronggrowthinjobopportunities

Howitistobesolved?OpenstandardsforWebbasedabstractionlayer,complementingexistingplatformsandstandards,andenablingplatformstointeroperatesecurely

Whatactionareweseeking?Jointworkonexperimentalimplementationsthatexplorewhatitmeanstointegratewiththewebofthings– helptocreateevaluationkits,andspreadtheword

Jointworkonwhitepaperstoforgeasharedunderstandingacrosscompanies,alliancesandSDOs

33

Page 34: Countering Fragmentation with the Web of Things · The Internet of Things – Bridging the Silos Still very immature, but with massive potential Lack of interoperability at the application

TheBottomLine

TheWebisessentialforrealizingthefullpotentialoftheIoT

TheWebprovidesaunifying frameworkforsemanticinteroperability

TheWebactsasaglobalmarketplaceforsuppliersandconsumersofservices

34/35

Page 35: Countering Fragmentation with the Web of Things · The Internet of Things – Bridging the Silos Still very immature, but with massive potential Lack of interoperability at the application

35/35

FormoreinformationonW3Csee:

www.w3.org

WorkwithustobuildtheWebofThings!

Thankyou!