OCF Smart Home SpecificationWord下载.docx
《OCF Smart Home SpecificationWord下载.docx》由会员分享,可在线阅读,更多相关《OCF Smart Home SpecificationWord下载.docx(24页珍藏版)》请在冰豆网上搜索。
THEINFORMATIONCONTAINEDHEREINISPROVIDEDONAN"
ASIS"
BASIS,ANDTOTHEMAXIMUMEXTENTPERMITTEDBYAPPLICABLELAW,THEAUTHORSANDDEVELOPERSOFTHISSPECIFICATIONHEREBY
DISCLAIMALLOTHERWARRANTIESANDCONDITIONS,EITHEREXPRESSORIMPLIED,STATUTORYORATCOMMONLAW,INCLUDING,BUTNOTLIMITEDTO,IMPLIEDWARRANTIESOFMERCHANTABILITYORFITNESSFORAPARTICULARPURPOSE.
OPENCONNECTIVITYFOUNDATION,INC.FURTHERDISCLAIMSANYANDALLWARRANTIESOFNON-INFRINGEMENT,ACCURACYORLACKOFVIRUSES.
TheOCFlogoisatrademarkofOpenConnectivityFoundation,Inc.intheUnitedStatesorothercountries.
*Othernamesandbrandsmaybeclaimedasthepropertyofothers.
Copyright©
2016OpenConnectivityFoundation,Inc.
Allrightsreserved.
Copyingorotherformofreproductionand/ordistributionoftheseworksarestrictlyprohibited
CONTENTS
1Scope5
2Normativereferences5
3Terms,definitionssymbolsandabbreviations5
3.1Termsanddefinitions5
3.2Symbolsandabbreviations6
3.3Conventions6
4Documentconventionsandorganization6
4.1Notation6
4.2Datatypes7
4.3Documentstructure7
5OperationalScenarios8
5.1SpecificationVersion8
6CoreResourcemodel8
6.1Introduction8
6.2DeviceType8
6.3ProfileofOICCoreSpecification9
7Discovery10
7.1EndpointDiscovery10
7.2ResourceDiscovery10
8SmartHomeBridgeDevice10
9Security13
10DeviceTypes13
10.1Standardizeddevicetypes13
10.2Standardizedenumerationvalues15
10.3Alphabeticallistofstandardizedenumerationtypes16
10.4StandardizedlistofsupportedvaluesforModeResourceType(oic.r.mode)17
10.5StandardizedlistofsupportedvaluesforOperationalStateResourceType(oic.r.operational.state)18
10.6CameraMediaFormat(oic.r.media)20
Figures
Figure1SmartHomedevicebuildingblocks.8
Figure2SchematicoverviewofaSmartHomeBridgeDevicebridgingnon-OICdevices11
Figure3RequestingdifferentdevicetypeswithinaSmartHomeBridge13
Tables
Table61RequiredResourcesforSmartHomeDevices9
Table62RequiredPropertiesinResource9
Table101Alphabeticallistofdevicetypes(“rt”),includingrequiredResources.13
Table102listofrequiredoic.r.modesupportedvaluesperdevicetype(“rt”)17
Table103listofrequiredoic.r.operational.statesupportedvaluesperDeviceType(“rt”)19
Table104Recommendedmediaprofiles.20
2Scope
TheOICSmartHomeDevicespecificationisanApplicationProfilespecification.
TheSmartHomeDevicespecificationspecifiestheSmartHomedevices.TheSmartHomeDevicedefinitionsuseResourcedefinitionsfromtheOICResourceTypeSpecification
TheSmartHomeDeviceSpecificationisbuiltontopoftheCoreSpecification.TheCoreSpecificationspecifiesthecorearchitecture,interfacesprotocolsandservicestoenabletheimplementationofprofilesforIoTusagesandecosystems.TheCorespecificationalsodefinesthemainarchitecturalcomponentsofnetworkconnectivity,discovery,datatransmission,device&
servicemanagementandID&
security.Thecorearchitectureisscalabletosupportsimpledevices(constraineddevice)andmorecapabledevices(smartdevice).
3Normativereferences
Thefollowingdocuments,inwholeorinpart,arenormativelyreferencedinthisdocumentandareindispensableforitsapplication.Fordatedreferences,onlytheeditioncitedapplies.Forundatedreferences,thelatesteditionofthereferenceddocument(includinganyamendments)applies.
OICCoreSpecification,OpenInterconnectConsortiumCoreSpecification,Version1.1.
OICResourceTypeSpecification,OpenInterconnectConsortiumResourceTypeSpecification,Version1.1.
OICSecuritySpecification,
OpenInterconnectConsortiumSecurityCapabilities,Version1.1
IETFRFC7049,ConciseBinaryObjectRepresentation(CBOR),October2013http:
//www.ietf.org/rfc/rfc7049.txt
IETFRFC7159,TheJavaScriptObjectNotation(JSON)DataInterchangeFormat,March2014http:
//www/ietf.org/rfc/rfc7159.txt
RAML,RestfulAPImodellinglanguage,Version0.8.
IETFRFC4566,SDP:
SessionDescriptionProtocol,July2006https:
//www.ietf.org/rfc/rfc4566.txt
4Terms,definitionssymbolsandabbreviations
Termsanddefinitions
4.1.1
Actuator
ResourcewithsupportoftheUPDATEoperation.
4.1.2
SmartHomeBridgeDevice
ASmartHomeDevicethatiscapableofrepresentingotherdevicesthatexistonthenetwork.
4.1.3
SmartHomeDe