ETSI TS 118 123-2016 oneM2M Home Appliances Information Model and Mapping (V2 0 0 oneM2M TS-0023 version 2 0 0 Release 2)《OneM2M(物联网协议联盟) 家庭信息模型和映射(V2 0 0 oneM2M TS-0023版本2 0 0 发行版.pdf

上传人:confusegate185 文档编号:740256 上传时间:2019-01-11 格式:PDF 页数:46 大小:393.09KB
下载 相关 举报
ETSI TS 118 123-2016 oneM2M Home Appliances Information Model and Mapping (V2 0 0 oneM2M TS-0023 version 2 0 0 Release 2)《OneM2M(物联网协议联盟) 家庭信息模型和映射(V2 0 0 oneM2M TS-0023版本2 0 0 发行版.pdf_第1页
第1页 / 共46页
ETSI TS 118 123-2016 oneM2M Home Appliances Information Model and Mapping (V2 0 0 oneM2M TS-0023 version 2 0 0 Release 2)《OneM2M(物联网协议联盟) 家庭信息模型和映射(V2 0 0 oneM2M TS-0023版本2 0 0 发行版.pdf_第2页
第2页 / 共46页
ETSI TS 118 123-2016 oneM2M Home Appliances Information Model and Mapping (V2 0 0 oneM2M TS-0023 version 2 0 0 Release 2)《OneM2M(物联网协议联盟) 家庭信息模型和映射(V2 0 0 oneM2M TS-0023版本2 0 0 发行版.pdf_第3页
第3页 / 共46页
ETSI TS 118 123-2016 oneM2M Home Appliances Information Model and Mapping (V2 0 0 oneM2M TS-0023 version 2 0 0 Release 2)《OneM2M(物联网协议联盟) 家庭信息模型和映射(V2 0 0 oneM2M TS-0023版本2 0 0 发行版.pdf_第4页
第4页 / 共46页
ETSI TS 118 123-2016 oneM2M Home Appliances Information Model and Mapping (V2 0 0 oneM2M TS-0023 version 2 0 0 Release 2)《OneM2M(物联网协议联盟) 家庭信息模型和映射(V2 0 0 oneM2M TS-0023版本2 0 0 发行版.pdf_第5页
第5页 / 共46页
点击查看更多>>
资源描述

1、 ETSI TS 118 123 V2.0.0 (2016-09) oneM2M; Home Appliances Information Model and Mapping (oneM2M TS-0023 version 2.0.0 Release 2) TECHNICAL SPECIFICATION ETSI ETSI TS 118 123 V2.0.0 (2016-09)2oneM2M TS-0023 version 2.0.0 Release 2Reference DTS/oneM2M-000023 Keywords information model, IoT, M2M ETSI 6

2、50 Route des Lucioles F-06921 Sophia Antipolis Cedex - FRANCE Tel.: +33 4 92 94 42 00 Fax: +33 4 93 65 47 16 Siret N 348 623 562 00017 - NAF 742 C Association but non lucratif enregistre la Sous-Prfecture de Grasse (06) N 7803/88 Important notice The present document can be downloaded from: http:/ww

3、w.etsi.org/standards-search The present document may be made available in electronic versions and/or in print. The content of any electronic and/or print versions of the present document shall not be modified without the prior written authorization of ETSI. In case of any existing or perceived diffe

4、rence in contents between such versions and/or in print, the only prevailing document is the print of the Portable Document Format (PDF) version kept on a specific network drive within ETSI Secretariat. Users of the present document should be aware that the document may be subject to revision or cha

5、nge of status. Information on the current status of this and other ETSI documents is available at https:/portal.etsi.org/TB/ETSIDeliverableStatus.aspx If you find errors in the present document, please send your comment to one of the following services: https:/portal.etsi.org/People/CommiteeSupportS

6、taff.aspx Copyright Notification No part may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm except as authorized by written permission of ETSI. The content of the PDF version shall not be modified without the written authorizatio

7、n of ETSI. The copyright and the foregoing restriction extend to reproduction in all media. European Telecommunications Standards Institute 2016. All rights reserved. DECTTM, PLUGTESTSTM, UMTSTMand the ETSI logo are Trade Marks of ETSI registered for the benefit of its Members. 3GPPTM and LTE are Tr

8、ade Marks of ETSI registered for the benefit of its Members and of the 3GPP Organizational Partners. GSM and the GSM logo are Trade Marks registered and owned by the GSM Association. ETSI ETSI TS 118 123 V2.0.0 (2016-09)3oneM2M TS-0023 version 2.0.0 Release 2Contents Intellectual Property Rights 5g3

9、Foreword . 5g31 Scope 6g32 References 6g32.1 Normative references . 6g32.2 Informative references 6g33 Definitions 7g34 Conventions 7g35 Home Appliance Information Model . 7g35.1 Introduction 7g35.2 Design Principle of the Home Appliance Information Model 7g35.2.1 Basic design principle of informati

10、on modelling 7g35.2.2 Description rules for Module Classes and Device models 8g35.3 ModuleClasses . 9g35.3.1 alarmSpeaker 9g35.3.2 audioVideoInput . 9g35.3.3 audioVolume. 9g35.3.4 battery . 10g35.3.5 binarySwitch . 10g35.3.6 bioElectricalImpedanceAnalysis . 10g35.3.7 boiler . 11g35.3.8 brightness 11

11、g35.3.9 clock 11g35.3.10 colour 11g35.3.11 colourSaturation 12g35.3.12 doorStatus . 12g35.3.13 electricVehicleConnector 12g35.3.14 energyConsumption 13g35.3.15 energyGeneration 13g35.3.16 faultDetection . 13g35.3.17 height 14g35.3.18 hotWaterSupply 14g35.3.19 keypad . 14g35.3.20 motionSensor 14g35.3

12、.21 oximeter 15g35.3.22 powerSave. 15g35.3.23 pushButton 15g35.3.24 recorder . 15g35.3.25 refrigeration 16g35.3.26 relativeHumidity . 16g35.3.27 rinseLevel . 16g35.3.28 runMode 16g35.3.29 signalStrength . 17g35.3.30 smokeSensor . 17g35.3.31 spinLevel 17g35.3.32 televisionChannel . 17g35.3.33 tempera

13、ture . 18g35.3.34 temperatureAlarm . 18g35.3.35 timer 18g35.3.36 turbo 19g35.3.37 waterFlow . 20g35.3.38 waterLevel 20g35.3.39 waterSensor. 20g35.3.40 weight . 20g3ETSI ETSI TS 118 123 V2.0.0 (2016-09)4oneM2M TS-0023 version 2.0.0 Release 25.3.41 wind 20g35.4 Device models 21g35.5 Enumeration type d

14、efinitions . 25g35.5.1 hd:deviceType . 25g35.5.2 hd:supportedInputSources 25g35.5.3 hd:liquidLevel . 26g35.5.4 hd:spinLevelStrength 26g35.5.5 hd:doorState 26g35.5.6 hd:tone 26g35.5.7 hd:supportedModes . 27g35.5.8 hd:alertColourCode . 27g35.5.9 hd:waterFlowStrength . 27g35.5.10 hd:windStrength 28g35.

15、6 Universal and Common Properties for Device models 28g36 The Principle of Resource Mapping for Home Appliance Information Model 29g36.1 Introduction 29g36.2 The Resource Mapping Rules 29g36.2.1 Introduction. 29g36.2.2 Resource mapping for Device model 29g36.2.3 Resource mapping for ModuleClass . 30

16、g36.2.4 Resource mapping for Action . 30g36.2.5 Resource mapping for Property 30g36.2.6 Resource mapping for DataPoint 30g36.3 Short names 31g36.3.1 Introduction. 31g36.3.2 Resource types 31g36.3.3 Resource attributes for properties and data points 32g36.4 containerDefinition values 35g36.4.1 Introd

17、uction. 35g36.4.2 Device models 35g36.4.3 ModuleClasses 35g36.4.4 Actions 36g36.5 XSD definitions 36g36.5.1 Introduction. 36g36.5.2 XSD definitions for Device models 37g36.5.3 XSD definitions for ModuleClass . 37g36.5.4 XSD definitions for Action . 38g37 Mapping with Other Information Models from Ex

18、ternal Organizations 38g38 Ontology for the Home Appliance Information Model aligned with oneM2M Base Ontology 39g3Annex A (informative): Resource Mapping Examples 40g3A.1 Introduction 40g3A.2 Example for Device model deviceAirConditioner . 40g3A.3 Example of ModuleClass binarySwitch 43g3A.4 Example

19、 of Action toggle . 44g3History 46g3ETSI ETSI TS 118 123 V2.0.0 (2016-09)5oneM2M TS-0023 version 2.0.0 Release 2Intellectual Property Rights IPRs essential or potentially essential to the present document may have been declared to ETSI. The information pertaining to these essential IPRs, if any, is

20、publicly available for ETSI members and non-members, and can be found in ETSI SR 000 314: “Intellectual Property Rights (IPRs); Essential, or potentially Essential, IPRs notified to ETSI in respect of ETSI standards“, which is available from the ETSI Secretariat. Latest updates are available on the

21、ETSI Web server (https:/ipr.etsi.org/). Pursuant to the ETSI IPR Policy, no investigation, including IPR searches, has been carried out by ETSI. No guarantee can be given as to the existence of other IPRs not referenced in ETSI SR 000 314 (or the updates on the ETSI Web server) which are, or may be,

22、 or may become, essential to the present document. Foreword This Technical Specification (TS) has been produced by ETSI Partnership Project oneM2M (oneM2M). ETSI ETSI TS 118 123 V2.0.0 (2016-09)6oneM2M TS-0023 version 2.0.0 Release 21 Scope The present document describes the oneM2M defined informati

23、on model for home appliances, including the description of how it is mapped with other information models from external organizations. It also explains the ontology for the home domain information model. 2 References 2.1 Normative references References are either specific (identified by date of publ

24、ication and/or edition number or version number) or non-specific. For specific references, only the cited version applies. For non-specific references, the latest version of the referenced document (including any amendments) applies. Referenced documents which are not found to be publicly available

25、in the expected location might be found at https:/docbox.etsi.org/Reference/. NOTE: While any hyperlinks included in this clause were valid at the time of publication, ETSI cannot guarantee their long term validity. The following referenced documents are necessary for the application of the present

26、document. 1 Home Gateway Initiative Smart Device Template. NOTE: Available at https:/ 2 Java coding rule. NOTE: Available at http:/ 2.2 Informative references References are either specific (identified by date of publication and/or edition number or version number) or non-specific. For specific refe

27、rences, only the cited version applies. For non-specific references, the latest version of the referenced document (including any amendments) applies. The following referenced documents are not necessary for the application of the present document but they assist the user with regard to a particular

28、 subject area. i.1 oneM2M Drafting Rules. NOTE: Available at http:/www.onem2m.org/images/files/oneM2M-Drafting-Rules.pdf. i.2 oneM2M TR-0017: “Home Domain Abstract Information Model“. i.3 ETSI TS 118 101: “Functional Architecture (oneM2M TS-0001)“. i.4 IEEE 802.15.4: “IEEE Standard for Local and met

29、ropolitan area networks-Part 15.4: Low-Rate Wireless Personal Area Networks (LR-WPANs)“. i.5 ETSI TS 118 112: “Base Ontology (oneM2M TS-0012)“. ETSI ETSI TS 118 123 V2.0.0 (2016-09)7oneM2M TS-0023 version 2.0.0 Release 23 Definitions For the purposes of the present document, the following terms and

30、definitions apply: Device Class ID: URN to identify the Device model definition. ModuleClass ID: URN to identify the ModuleClass model definition 4 Conventions The key words “Shall“, “Shall not“, “May“, “Need not“, “Should“, “Should not“ in the present document are to be interpreted as described in

31、the oneM2M Drafting Rules i.1. 5 Home Appliance Information Model 5.1 Introduction The present document intends to provide the unified means in the oneM2M system by defining a home appliance information model for the home domain devices such as TV, refrigerator, air conditioner, clothes washer, oven

32、, and robot cleaner. For the reasons of interworking with external technologies and efficiency, the principle of the home appliance information model is designed based on HGI SDT 3.0 1. The principle of defining the home appliance information model is introduced in clause 5.2. ModuleClasses which on

33、eM2M systems support are explained in clause 5.3. In the subsequent clause 5.4, Device models are defined. 5.2 Design Principle of the Home Appliance Information Model 5.2.1 Basic design principle of information modelling The design principle of the oneM2M abstract information model of home applianc

34、e, is to use SDT 3.0 as introduced in oneM2M TR-0017 i.2. Note that those terms starting with a capital letter in this clause are SDT terms and are explained in 1. Domain is a unique name which acts like a namespace (e.g. “org.oneM2M.home.modules“). It is set by the organization creating the SDT, al

35、lowing reference to a package of definitions for the contained ModuleClasses and Device models. ModuleClasses specifies a single service (e.g. audioVolume, powerOn/Off) with one or more Actions, Properties, DataPoints and Events. Each service which is described as a ModuleClass can be re-used in man

36、y Devices. Device model is a physical, addressable, identifiable appliance, sensor and actuator with one or more Modules, Properties and SubDevices. SubDevice is a device which may be embedded in a Device and/or is addressed via another Device. Module is an instantiation of a ModuleClass for a speci

37、fic Device or SubDevice. Figure 5.2.1-1 depicts the basic structure of SDT 3.0. ETSI ETSI TS 118 123 V2.0.0 (2016-09)8oneM2M TS-0023 version 2.0.0 Release 2Figure 5.2.1-1: Design Structure of the Home Appliance Information Model using SDT 3.0 5.2.2 Description rules for Module Classes and Device mod

38、els When the Home Appliances Information Model is described based on SDT, the following rules shall be applied: Rule 1: CamelCase rule: - When naming each element, lowerCamelCase shall be used as the Java coding rules 2. Rule 2: Rule for description of Action, DataPoint: - DataPoint shall be used to

39、 represent stateless operations (e.g. powerState of binarySwitch for on/off operations). - Action shall be used when describing stateful condition, handling unknown internal state conditions (e.g. upVolume/downVolume by increasing/decreasing the audioVolume in steps, handling transactional procedure

40、s, or checking integrity using username plus password at the same time). Rule 3: Rule for description of DataPoint and Property: - Non-functional information shall be described as a Property. Functional information shall be described as a DataPoint (e.g. non-functional information: version, id; func

41、tional information: targetTemperature, targetVolume). Rule 4: Definition of the Domain: - The Domain, in the case of the Home Appliance Information Model, is specified as “org.onem2m.home“. - The sub-domain for Device and ModuleClass shall be specified as “org.onem2m.home.devices“ and “org.onem2m.ho

42、me.moduleclasses“ respectively. Rule 5: Naming rule for the element: - the name of each element should be concise and avoid repeating its parent element name; but - it may include the name of its parent element for readability. (e.g. lightDimmerUp, lightDimmerDown under lightDimmer). Rule 6: Criteri

43、a for marking elements as optional or mandatory: - An element shall only be defined as mandatory if its foreseen to be universally mandatory to all implementing technologies. Rule 7: Enumeration type: - When describing the meaning of values for enumeration type elements, they may be described in ano

44、ther clause. ETSI ETSI TS 118 123 V2.0.0 (2016-09)9oneM2M TS-0023 version 2.0.0 Release 2The enumeration types for Home Appliance Information Model are based on , and the numeric values are interpreted as specified in clause 5.5. 5.3 ModuleClasses 5.3.1 alarmSpeaker This ModuleClass provides the cap

45、ability to initiate an alarm. Table 5.3.1-1: DataPoints of alarmSpeaker ModuleClass Name Type Readable Writable Optional Documentation tone hd:tone true true true Representing the tones of the alarm light hd: alertColourCode true true true Representing the lighting mode of the alarm. alarmStatus xs:

46、boolean true true false “True“ indicates the alarm start while “False“ indicates the alarm stop. 5.3.2 audioVideoInput This ModuleClass provides capabilities to control and monitor audio video input source of device such as TV or SetTopBox. Table 5.3.2-1: DataPoints of audioVideoInput ModuleClass Na

47、me Type Readable Writable Optional Documentation inputSourceID xs:integer true true false Activated input source ID in the supported input source list, supportedInputSources. supportedInputSources list of hd:supportedInputSource true false false List of supported input sources for the given device (

48、see clause 5.5.2). 5.3.3 audioVolume This ModuleClass provides capabilities to control and monitor volume. Table 5.3.3-1: Actions of audioVolume Return Type Name Argument Optional Documentation none upVolume none true Increase volume by the amount of the stepValue up to the maxValue. none downVolume

49、 none true Decrease volume by the amount of the stepValue down to 0. Table 5.3.3-2: DataPoints of audioVolume Name Type Readable Writable Optional Documentation volumePercentage xs:integer true true false The rounded percentage of the current volume in the range of 0, maxValue. 0 percentage shall mean no sound produced. stepValue xs:integer true false true Step value used by UpV

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 标准规范 > 国际标准 > 其他

copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
备案/许可证编号:苏ICP备17064731号-1