温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,汇文网负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。
网站客服:3074922707
ISO_IEC_30118
_2021
Information technology Open Connectivity Foundation(OCF)SpecificationPart 1:CorespecificationTechnologies de linformation Specification de la Fondation pour la connectivit ouverte(Fondation OCF)Partie 1:Spcification du coeurINTERNATIONAL STANDARDISO/IEC 30118-1Second edition 2021-10Reference number ISO/IEC 30118-1:2021(E)ISO/IEC 2021iiISO/IEC 30118-1: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 publication 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 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-1:2021(E)ISO/IEC 2021 All rights reserved iii Contents Page Foreword.vii Introduction.viii 1 Scope.1 2 Normative references.1 3 Terms,definitions and abbreviated terms.3 3.1 Terms and definitions.3 3.2 Symbols and abbreviated terms.7 4 Document conventions and organization.8 4.1 Conventions.8 4.2 Notation.8 4.3 Data types.9 4.4 Resource notation syntax.10 5 Architecture.11 5.1 Overview.11 5.2 Principle.11 5.3 Functional block diagram.12 5.4 Framework.14 6 Identification and addressing.14 6.1 Introduction.14 6.2 Identification.15 6.2.1 Device and Platform identification.15 6.2.2 Resource identification and addressing.15 6.3 Namespace:.16 6.4 Network addressing.16 7 Resource model.17 7.1 Introduction.17 7.2 Resource.17 7.3 Property.18 7.3.1 Introduction.18 7.3.2 Common Properties.19 7.4 Resource Type.21 7.4.1 Introduction.21 7.4.2 Resource Type Property.21 7.4.3 Resource Type definition.21 7.4.4 Multi-value rt Resource.23 7.5 Device Type.23 7.6 OCF Interface.24 7.6.1 Introduction.24 7.6.2 OCF Interface Property.24 7.6.3 OCF Interface methods.25 7.7 Resource representation.42 7.8 Structure.42 7.8.1 Introduction.42 7.8.2 Resource relationships(Links).42 7.8.3 Collections.48 ISO/IEC 30118-1:2021(E)iv ISO/IEC 2021 All rights reserved 7.8.4 Atomic Measurement.50 7.9 Query Parameters.52 7.9.1 Introduction.52 7.9.2 Use of multiple parameters within a query.52 7.9.3 Application to multi-value rt Resources.53 7.9.4 OCF Interface specific considerations for queries.53 8 CRUDN.54 8.1 Overview.54 8.2 CREATE.54 8.2.1 Overview.54 8.2.2 CREATE request.55 8.2.3 Processing by the Server.55 8.2.4 CREATE response.55 8.3 RETRIEVE.56 8.3.1 Overview.56 8.3.2 RETRIEVE request.56 8.3.3 Processing by the Server.56 8.3.4 RETRIEVE response.56 8.4 UPDATE.57 8.4.1 Overview.57 8.4.2 UPDATE request.57 8.4.3 Processing by the Server.57 8.4.4 UPDATE response.58 8.5 DELETE.58 8.5.1 Overview.58 8.5.2 DELETE request.59 8.5.3 Processing by the Server.59 8.5.4 DELETE response.59 8.6 NOTIFY.59 8.6.1 Overview.59 8.6.2 NOTIFICATION response.59 9 Network and connectivity.60 9.1 Introduction.60 9.2 Architecture.60 9.3 IPv6 network layer requirements.61 9.3.1 Introduction.61 9.3.2 IPv6 node requirements.62 10 OCF Endpoint.62 10.1 OCF Endpoint definition.62 10.2 OCF Endpoint information.63 10.2.1 Introduction.63 10.2.2 ep.63 10.2.3 pri.64 10.2.4 lat.64 10.2.5 OCF Endpoint information in eps Parameter.64 10.3 OCF Endpoint discovery.65 10.3.1 Introduction.65 10.3.2 Implicit discovery.65 ISO/IEC 30118-1:2021(E)ISO/IEC 2021 All rights reserved v 10.3.3 Explicit discovery with/oic/res response.65 11 Functional interactions.67 11.1 Introduction.67 11.2 Resource discovery.68 11.2.1 Introduction.68 11.2.2 Resource based discovery:mechanisms.68 11.2.3 Resource based discovery:Finding information.69 11.2.4 Resource discovery using/oic/res.76 11.2.5 Multicast discovery using/oic/res.77 11.3 Notification.78 11.3.1 Overview.78 11.3.2 Observe.78 11.4 Introspection.79 11.4.1 Overview.79 11.4.2 Usage of Introspection.83 11.5 Semantic Tags.84 11.5.1 Introduction.84 11.5.2 Semantic Tag definitions.85 12 Messaging.87 12.1 Introduction.87 12.2 Mapping of CRUDN to CoAP.87 12.2.1 Overview.87 12.2.2 URIs.88 12.2.3 CoAP method with request and response.88 12.2.4 Content-Format negotiation.89 12.2.5 OCF-Content-Format-Version information.90 12.2.6 Content-Format policy.91 12.2.7 CRUDN to CoAP response codes.92 12.2.8 CoAP block transfer.92 12.2.9 Generic requirements for CoAP multicast.92 12.2.10 Setting timeout on response to a confirmable request.93 12.3 Mapping of CRUDN to CoAP serialization over TCP.93 12.3.1 Overview.93 12.3.2 URIs.93 12.3.3 CoAP method with request and response.93 12.3.4 Content-Format negotiation.93 12.3.5 OCF-Content-Format-Version information.94 12.3.6 Content-Format policy.94 12.3.7 CRUDN to CoAP response codes.94 12.3.8 CoAP block transfer.94 12.3.9 Keep alive(connection health).94 12.3.10 CoAP using a proxy.94 12.4 Payload Encoding in