1、Information technology UPnP Device ArchitecturePart 30-12: IoT management and control device control protocol IoT management and control transport generic serviceBS ISO/IEC 29341-30-12:2017BSI Standards PublicationWB11885_BSI_StandardCovs_2013_AW.indd 1 15/05/2013 15:06Information technology UPnP De
2、vice Architecture Part 30-12:IoT management and control device control protocol IoT management and control transport generic serviceTechnologies de linformation Architecture de dispositif UPnP Partie 30-12: Protocole de contrle de dispositif de gestion et de contrle de lInternet des objets Service d
3、e transport gnrique de gestion et de contrle de lInternet des objetsINTERNATIONALSTANDARDISO/IEC29341-30-12Reference numberISO/IEC 29341-30-12:2017(E)First edition2017-06 ISO/IEC 2017National forewordThis British Standard is the UK implementation of ISO/IEC 29341-30-12:2017.The UK participation in i
4、ts preparation was entrusted to Technical Committee ICT/-/1, Information systems co-ordination.A list of organizations represented on this committee can be obtained on request to its secretary.This publication does not purport to include all the necessary provisions of a contract. Users are responsi
5、ble for its correct application. The British Standards Institution 2017 Published by BSI Standards Limited 2017ISBN 978 0 580 90905 4ICS 35.200Compliance with a British Standard cannot confer immunity from legal obligations. This British Standard was published under the authority of the Standards Po
6、licy and Strategy Committee on 31 July 2017.Amendments/corrigenda issued since publicationDate Text affectedBRITISH STANDARDBS ISO/IEC 29341-30-12:2017Information technology UPnP Device Architecture Part 30-12: IoT management and control device control protocol IoT management and control transport g
7、eneric serviceTechnologies de linformation Architecture de dispositif UPnP Partie 30-12: Protocole de contrle de dispositif de gestion et de contrle de lInternet des objets Service de transport gnrique de gestion et de contrle de lInternet des objetsINTERNATIONAL STANDARDISO/IEC 29341-30-12Reference
8、 numberISO/IEC 29341-30-12:2017(E)First edition2017-06 ISO/IEC 2017BS ISO/IEC 29341-30-12:2017ii ISO/IEC 2017 All rights reservedCOPYRIGHT PROTECTED DOCUMENT ISO/IEC 2017, Published in SwitzerlandAll rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utiliz
9、ed 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
10、officeCh. de Blandonnet 8 CP 401CH-1214 Vernier, Geneva, SwitzerlandTel. +41 22 749 01 11Fax +41 22 749 09 47copyrightiso.orgwww.iso.orgISO/IEC 29341-30-12:2017(E)BS ISO/IEC 29341-30-12:2017ii ISO/IEC 2017 All rights reservedCOPYRIGHT PROTECTED DOCUMENT ISO/IEC 2017, Published in SwitzerlandAll righ
11、ts reserved. Unless otherwise specified, 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 ei
12、ther ISO at the address below or ISOs member body in the country of the requester.ISO copyright officeCh. de Blandonnet 8 CP 401CH-1214 Vernier, Geneva, SwitzerlandTel. +41 22 749 01 11Fax +41 22 749 09 47copyrightiso.orgwww.iso.orgISO/IEC 29341-30-12:2017(E)ISO/IEC 29341-30-12:2017(E) ISO/IEC 2017
13、All rights reserved iii CONTENTS 1 Scope 1 2 Normative References . 1 3 Terms, Definitions and Abbreviations . 2 4 Notations and conventions . 2 4.1 Notation . 2 4.2 Data Types . 3 4.3 Vendor-defined Extensions . 3 5 Service Modelling Definitions . 3 5.1 Service Type 3 5.2 SensorTransportGeneric Ser
14、vice Architecture . 3 5.3 Key Concepts . 3 5.3.1 Sensor Connectivity 3 5.3.2 Sensor HTTP/HTTPS Transport Protocol . 4 5.4 State Variables. 5 5.4.1 State Variable Overview 5 5.4.2 A_ARG_TYPE_SensorID . 5 5.4.3 A_ARG_TYPE_SensorURN . 5 5.4.4 A_ARG_TYPE_SensorClientID 5 5.4.5 A_ARG_TYPE_DataRecords . 5
15、 5.4.6 A_ARG_TYPE_DataRecordCount 7 5.4.7 A_ARG_TYPE_TransportURL 7 5.4.8 A_ARG_TYPE_SensorDataTypeEnable . 7 5.4.9 A_ARG_TYPE_SensorRecordInfo . 7 5.4.10 A_ARG_TYPE_TransportConnectionID 8 5.4.11 A_ARG_TYPE_TransportConnections . 8 5.5 Actions . 9 5.5.1 ConnectSensor() . 9 5.5.2 DisconnectSensor()
16、12 5.5.3 ReadSensor() 13 5.5.4 WriteSensor() . 14 5.5.5 GetSensorTransportConnections() 15 5.5.6 Error Code Summary 16 6 XML Service Description . 17 Table 1 State Variables . 5 Table 2 Actions . 9 Table 3 Arguments for ConnectSensor() . 9 Table 4 Error Codes for ConnectSensor() 11 Table 5 Arguments
17、 for DisconnectSensor() . 12 Table 6 Error Codes for DisconnectSensor() . 12 Table 7 Arguments for ReadSensor() 13 Table 8 Error Codes for ReadSensor() 14 Table 9 Arguments for WriteSensor() 14 BS ISO/IEC 29341-30-12:2017ISO/IEC 29341-30-12:2017(E) iv ISO/IEC 2017 All rights reserved Table 10 Error
18、Codes for WriteSensor() 15 Table 11 Arguments for GetSensorTransportConnections() . 16 Table 12 Error Codes for GetSensorTransportConnections() . 16 Table 13 Error Code Summary 16 BS ISO/IEC 29341-30-12:2017ISO/IEC 29341-30-12:2017(E) iv ISO/IEC 2017 All rights reserved Table 10 Error Codes for Writ
19、eSensor() 15 Table 11 Arguments for GetSensorTransportConnections() . 16 Table 12 Error Codes for GetSensorTransportConnections() . 16 Table 13 Error Code Summary 16 ISO/IEC 29341-30-12:2017(E) ISO/IEC 2017 All rights reserved v Foreword ISO (the International Organization for Standardization) and I
20、EC (the International Electrotechnical Commission) form the specialized system for worldwide standardization. National bodies that are members of ISO or IEC participate in the development of International Standards through technical committees established by the respective organization to deal with
21、particular fields of technical activity. ISO and IEC technical committees collaborate in fields of mutual interest. Other international organizations, governmental and non-governmental, in liaison with ISO and IEC, also take part in the work. In the field of information technology, ISO and IEC have
22、established a joint technical committee, ISO/IEC JTC 1. The procedures used to develop this document and those intended for its further maintenance are described in the ISO/IEC Directives, Part 1. In particular the different approval criteria needed for the different types of document should be note
23、d. This document was drafted in accordance with the editorial rules of the ISO/IEC Directives, Part 2 (see http:/www.iso.org/directives). Attention is drawn to the possibility that some of the elements of this document may be the subject of patent rights. ISO and IEC shall not be held responsible fo
24、r identifying any or all such patent rights. Details of any patent rights identified during the development of the document will be in the Introduction and/or on the ISO list of patent declarations received (see www.iso.org/patents). Any trade name used in this document is information given for the
25、convenience of users and does not constitute an endorsement. For an explanation on the voluntary nature of Standards, the meaning of the ISO specific terms and expressions related to conformity assessment, as well as information about ISOs adherence to the WTO principles in the Technical Barriers to
26、 Trade (TBT) see the following URL: Foreword Supplementary information ISO/IEC 29341-30-12 was prepared by UPnP Forum and adopted, under the PAS procedure, by joint technical committee ISO/IEC JTC 1, Information technology, in parallel with its approval by national bodies of ISO and IEC. The list of
27、 all currently available parts of ISO/IEC 29341 series, under the general title Information technology UPnP Device Architecture, can be found on the ISO web site. BS ISO/IEC 29341-30-12:2017ISO/IEC 29341-30-12:2017(E) vi ISO/IEC 2017 All rights reserved Introduction ISO and IEC draw attention to the
28、 fact that it is claimed that compliance with this document may involve the use of patents as indicated below. ISO and IEC take no position concerning the evidence, validity and scope of these patent rights. The holders of -these patent rights have assured ISO and IEC that they are willing to negoti
29、ate licenses under reasonable and non-discriminatory terms and conditions with applicants throughout the world. In this respect, the statements of the holders of these patent rights are registered with ISO and IEC. Intel Corporation has informed IEC and ISO that it has patent applications or granted
30、 patents. Information may be obtained from: Intel Corporation Standards Licensing Department 5200 NE Elam Young Parkway MS: JFS-98 USA Hillsboro, Oregon 97124 Microsoft Corporation has informed IEC and ISO that it has patent applications or granted patents as listed below: 6101499 / US; 6687755 / US
31、; 6910068 / US; 7130895 / US; 6725281 / US; 7089307 / US; 7069312 / US; 10/783 524 /US Information may be obtained from: Microsoft Corporation One Microsoft Way USA Redmond WA 98052 Philips International B.V. has informed IEC and ISO that it has patent applications or granted patents. Information ma
32、y be obtained from: Philips International B.V. IP 6 170 007 / US; 6 139 177 / US; 6 529 936 / US; 6 470 339 / US; 6 571 388 / US; 6 205 466 / US BS ISO/IEC 29341-30-12:2017ISO/IEC 29341-30-12:2017(E) vi ISO/IEC 2017 All rights reserved Introduction ISO and IEC draw attention to the fact that it is c
33、laimed that compliance with this document may involve the use of patents as indicated below. ISO and IEC take no position concerning the evidence, validity and scope of these patent rights. The holders of -these patent rights have assured ISO and IEC that they are willing to negotiate licenses under
34、 reasonable and non-discriminatory terms and conditions with applicants throughout the world. In this respect, the statements of the holders of these patent rights are registered with ISO and IEC. Intel Corporation has informed IEC and ISO that it has patent applications or granted patents. Informat
35、ion may be obtained from: Intel Corporation Standards Licensing Department 5200 NE Elam Young Parkway MS: JFS-98 USA Hillsboro, Oregon 97124 Microsoft Corporation has informed IEC and ISO that it has patent applications or granted patents as listed below: 6101499 / US; 6687755 / US; 6910068 / US; 71
36、30895 / US; 6725281 / US; 7089307 / US; 7069312 / US; 10/783 524 /US Information may be obtained from: Microsoft Corporation One Microsoft Way USA Redmond WA 98052 Philips International B.V. has informed IEC and ISO that it has patent applications or granted patents. Information may be obtained from
37、: Philips International B.V. IP 6 170 007 / US; 6 139 177 / US; 6 529 936 / US; 6 470 339 / US; 6 571 388 / US; 6 205 466 / US ISO/IEC 29341-30-12:2017(E) ISO/IEC 2017 All rights reserved vii Information may be obtained from: Hewlett Packard Company 1501 Page Mill Road USA Palo Alto, CA 94304 Samsun
38、g Electronics Co. Ltd. has informed IEC and ISO that it has patent applications or granted patents. Information may be obtained from: Digital Media Business, Samsung Electronics Co. Ltd. 416 Maetan-3 Dong, Yeongtang-Gu, KR Suwon City 443-742 Huawei Technologies Co., Ltd. has informed IEC and ISO tha
39、t it has patent applications or granted patents. Information may be obtained from: Huawei Technologies Co., Ltd. Administration Building, Bantian Longgang District Shenzhen China 518129 Qualcomm Incorporated has informed IEC and ISO that it has patent applications or granted patents. Information may
40、 be obtained from: Qualcomm Incorporated 5775 Morehouse Drive San Diego, CA USA 92121 Telecom Italia S.p.A.has informed IEC and ISO that it has patent applications or granted patents. Information may be obtained from: Telecom Italia S.p.A. Via Reiss Romoli, 274 Turin - Italy 10148 Cisco Systems info
41、rmed IEC and ISO that it has patent applications or granted patents. Information may be obtained from: Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA USA 95134 Attention is drawn to the possibility that some of the elements of this document may be the subject of patent rights other than thos
42、e identified above. ISO and IEC shall not be held responsible for identifying any or all such patent rights. BS ISO/IEC 29341-30-12:2017ISO/IEC 29341-30-12:2017(E) viii ISO/IEC 2017 All rights reserved Original UPnP Document Reference may be made in this document to original UPnP documents. These re
43、ferences are retained in order to maintain consistency between the specifications as published by ISO/IEC and by UPnP Implementers Corporation and later by UPnP Forum. The following table indicates the original UPnP document titles and the corresponding part of ISO/IEC 29341: UPnP Document Title ISO
44、/IEC 29341 Part UPnP Device Architecture 1.0 ISO/IEC 29341-1:2008 UPnP Device Architecture Version 1.0 ISO/IEC 29341-1:2011 UPnP Device Architecture 1.1 ISO/IEC 29341-1-1:2011 UPnP Device Architecture 2.0 ISO/IEC 29341-1-2 UPnP Basic:1 Device ISO/IEC 29341-2 UPnP AV Architecture:1 ISO/IEC 29341-3-1:
45、2008 UPnP AV Architecture:1 ISO/IEC 29341-3-1:2011 UPnP AVTransport:1 Service ISO/IEC 29341-3-10 UPnP ConnectionManager:1 Service ISO/IEC 29341-3-11 UPnP ContentDirectory:1 Service ISO/IEC 29341-3-12 UPnP RenderingControl:1 Service ISO/IEC 29341-3-13 UPnP MediaRenderer:1 Device ISO/IEC 29341-3-2 UPn
46、P MediaRenderer:2 Device ISO/IEC 29341-3-2:2011 UPnP MediaServer:1 Device ISO/IEC 29341-3-3 UPnP AVTransport:2 Service ISO/IEC 29341-4-10:2008 UPnP AVTransport:2 Service ISO/IEC 29341-4-10:2011 UPnP ConnectionManager:2 Service ISO/IEC 29341-4-11:2008 UPnP ConnectionManager:2 Service ISO/IEC 29341-4-
47、11:2011 UPnP ContentDirectory:2 Service ISO/IEC 29341-4-12 UPnP RenderingControl:2 Service ISO/IEC 29341-4-13:2008 UPnP RenderingControl:2 Service ISO/IEC 29341-4-13:2011 UPnP ScheduledRecording:1 ISO/IEC 29341-4-14 UPnP ScheduledRecording:2 ISO/IEC 29341-4-14:2011 UPnP MediaRenderer:2 Device ISO/IE
48、C 29341-4-2 UPnP MediaServer:2 Device ISO/IEC 29341-4-3 UPnP AV Datastructure Template:1 ISO/IEC 29341-4-4:2008 UPnP AV Datastructure Template:1 ISO/IEC 29341-4-4:2011 UPnP DigitalSecurityCamera:1 Device ISO/IEC 29341-5-1 UPnP DigitalSecurityCameraMotionImage:1 Service ISO/IEC 29341-5-10 UPnP Digita
49、lSecurityCameraSettings:1 Service ISO/IEC 29341-5-11 UPnP DigitalSecurityCameraStillImage:1 Service ISO/IEC 29341-5-12 UPnP HVAC_System:1 Device ISO/IEC 29341-6-1 UPnP ControlValve:1 Service ISO/IEC 29341-6-10 UPnP HVAC_FanOperatingMode:1 Service ISO/IEC 29341-6-11 UPnP FanSpeed:1 Service ISO/IEC 29341-6-12 UPnP HouseStatus:1 Service ISO/IEC 29341-6-13 UPnP HVAC_SetpointSchedule:1 Service ISO/IEC 29341-6-14 UPnP TemperatureSensor