1、Information technology Open Connectivity Foundation(OCF)SpecificationPart 8:OCF resource to oneM2M resource mappingspecificationTechnologies de linformation Specification de la Fondation pour la connectivit ouverte(Fondation OCF)Partie 8:Spcification du mapping entre ressources OCF et ressources one
2、M2MINTERNATIONAL STANDARDISO/IEC 30118-8First edition 2021-10Reference number ISO/IEC 30118-8:2021(E)ISO/IEC 2021iiISO/IEC 30118-8:2021(E)COPYRIGHT PROTECTED DOCUMENT ISO/IEC 2021All rights reserved.Unless otherwise specified,or required in the context of its implementation,no part of this publicati
3、on may be reproduced or utilized otherwise in any form or by any means,electronic or mechanical,including photocopying,or posting on the internet or an intranet,without prior written permission.Permission can be requested from either ISO at the address below or ISOs member body in the country of the
4、 requester.ISO copyright officeCP 401 Ch.de Blandonnet 8CH-1214 Vernier,GenevaPhone:+41 22 749 01 11Email:copyrightiso.orgWebsite:www.iso.orgPublished in Switzerland ISO/IEC 2021 All rights reserved ISO/IEC 30118-8:2021(E)ISO/IEC 2021 All rights reserved iii Contents Page Foreword.ix Introduction.x
5、1 Scope.1 2 Normative references.1 3 Terms and definitions.2 3.1 Terms and definitions.2 4 Document conventions and organization.2 4.1 Conventions.2 4.2 Notation.2 5 Theory of operation.3 5.1 Interworking approach.3 5.2 Mapping syntax.3 5.2.1 Introduction.3 5.2.2 General.3 5.2.3 Value assignment.3 5
6、.2.4 Property naming.4 5.2.5 Arrays.4 5.2.6 Conditional mapping.4 6 oneM2M translation.4 6.1 Operational scenarios.4 6.2 Enabling oneM2M application access to OCF servers.4 6.3 Enabling OCF client access to oneM2M devices.4 6.4 On-the-fly translation.4 7 Device type mapping.5 7.1 Introduction.5 7.2
7、OneM2M device types to OCF device types.5 8 Resource to oneM2M module class equivalence.7 8.1 Introduction.7 8.2 OneM2M module classes to OCF resources.7 9 Detailed mapping APIs.9 9.1 Introduction.9 9.2 3D printer.9 9.2.1 Derived model.9 9.2.2 Property definition.9 9.2.3 Derived model definition.10
8、9.3 Acoustic sensor.11 9.3.1 Derived model.11 9.3.2 Property definition.12 9.3.3 Derived model definition.12 9.4 AirCon job mode.13 9.4.1 Derived model.13 9.4.2 Property definition.13 9.4.3 Derived model definition.16 ISO/IEC 30118-8:2021(E)iv ISO/IEC 2021 All rights reserved 9.5 Airflow.17 9.5.1 De
9、rived model.17 9.5.2 Property definition.17 9.5.3 Derived model definition.19 9.6 Air purifier job mode.21 9.6.1 Derived model.21 9.6.2 Property definition.21 9.6.3 Derived model definition.23 9.7 Air quality sensor.24 9.7.1 Derived model.24 9.7.2 Property definition.24 9.7.3 Derived model definitio
10、n.27 9.8 Alarm speaker.29 9.8.1 Derived model.29 9.8.2 Property definition.29 9.8.3 Derived model definition.30 9.9 Audio volume.31 9.9.1 Derived model.31 9.9.2 Property definition.31 9.9.3 Derived model definition.32 9.10 Auto document feeder.33 9.10.1 Derived model.33 9.10.2 Property definition.33
11、 9.10.3 Derived model definition.34 9.11 Battery.35 9.11.1 Derived model.35 9.11.2 Property definition.35 9.11.3 Derived model definition.37 9.12 Binary object.38 9.12.1 Derived model.38 9.12.2 Property definition.39 9.12.3 Derived model definition.40 9.13 Binary switch.41 9.13.1 Derived model.41 9.
12、13.2 Property definition.41 9.13.3 Derived model definition.41 9.14 Boiler.42 9.14.1 Derived model.42 9.14.2 Property definition.42 9.14.3 Derived model definition.42 9.15 Brewing.43 9.15.1 Derived model.43 9.15.2 Property definition.43 9.15.3 Derived model definition.44 9.16 Brightness.45 9.16.1 De
13、rived model.45 9.16.2 Property definition.45 9.16.3 Derived model definition.45 ISO/IEC 30118-8:2021(E)ISO/IEC 2021 All rights reserved v 9.17 Clock.46 9.17.1 Derived model.46 9.17.2 Property definition.46 9.17.3 Derived model definition.47 9.18 Clothes dryer job mode.48 9.18.1 Derived model.48 9.18
14、.2 Property definition.48 9.18.3 Derived model definition.51 9.19 Colour.52 9.19.1 Derived model.52 9.19.2 Property definition.52 9.19.3 Derived model definition.53 9.20 Colour saturation.54 9.20.1 Derived model.54 9.20.2 Property definition.54 9.20.3 Derived model definition.54 9.21 Credentials.55
15、9.21.1 Derived model.55 9.21.2 Property definition.55 9.21.3 Derived model definition.56 9.22 Dehumidifer job mode.56 9.22.1 Derived model.56 9.22.2 Property definition.56 9.22.3 Derived model definition.58 9.23 Door status.59 9.23.1 Derived model.59 9.23.2 Property definition.60 9.23.3 Derived mode
16、l definition.60 9.24 Electric vehicle connector.61 9.24.1 Derived model.61 9.24.2 Property definition.61 9.24.3 Derived model definition.62 9.25 Energy consumption.63 9.25.1 Derived model.63 9.25.2 Property definition.63 9.25.3 Derived model definition.65 9.26 Energy generation.67 9.26.1 Derived model.67 9.26.2 Property definition.67 9.26.3 Derived model definition.68 9.27 Filter info.69 9.27.1 Derived model.69 9.27.2 Property definition.69 9.27.3 Derived model definition.70 9.28 Foaming.71 9.28