1、Information technology UPnP Device Architecture Part 30-10: IoT management and control device control protocol Data store service BS ISO/IEC 29341-30-10:2017 BSI Standards Publication WB11885_BSI_StandardCovs_2013_AW.indd 1 15/05/2013 15:06Information technology UPnP Device Architecture Part 30-10:
2、IoT management and control device control protocol Data store service Technologies de linformation Architecture de dispositif UPnP Partie 30-10: Protocole de contrle de dispositif de gestion et de contrle de lInternet des objets Service de stockage des donnes INTERNATIONAL STANDARD ISO/IEC 29341-30-
3、10 Reference number ISO/IEC 29341-30-10:2017(E) First edition 2017-06 ISO/IEC 2017 National foreword This British Standard is the UK implementation of ISO/IEC 29341-30-10:2017. The UK participation in its preparation was entrusted to Technical Committee ICT/-/1, Information systems co-ordination. A
4、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 responsible for its correct application. The British Standards Institution 2017 Published by BSI Standar
5、ds Limited 2017 ISBN 978 0 580 90903 0 ICS 35.200 Compliance with a British Standard cannot confer immunity from legal obligations. This British Standard was published under the authority of the Standards Policy and Strategy Committee on 31 July 2017. Amendments/corrigenda issued since publication D
6、ate Text affected BRITISH STANDARD BS ISO/IEC 29341-30-10:2017Information technology UPnP Device Architecture Part 30-10: IoT management and control device control protocol Data store service Technologies de linformation Architecture de dispositif UPnP Partie 30-10: Protocole de contrle de dispositi
7、f de gestion et de contrle de lInternet des objets Service de stockage des donnes INTERNATIONAL STANDARD ISO/IEC 29341-30-10 Reference number ISO/IEC 29341-30-10:2017(E) First edition 2017-06 ISO/IEC 2017 BS ISO/IEC 29341-30-10:2017 ii ISO/IEC 2017 All rights reserved COPYRIGHT PROTECTED DOCUMENT IS
8、O/IEC 2017, Published in Switzerland All rights 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 pe
9、rmission. Permission can be requested from either ISO at the address below or ISOs member body in the country of the requester. ISO copyright office Ch. de Blandonnet 8 CP 401 CH-1214 Vernier, Geneva, Switzerland Tel. +41 22 749 01 11 Fax +41 22 749 09 47 copyrightiso.org www.iso.org ISO/IEC 29341-3
10、0-10:2017(E) BS ISO/IEC 29341-30-10:2017 ii ISO/IEC 2017 All rights reserved COPYRIGHT PROTECTED DOCUMENT ISO/IEC 2017, Published in Switzerland All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized otherwise in any form or by any means, electroni
11、c 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 office Ch. de Blandonnet 8 CP 401 CH-1214 Vernier,
12、 Geneva, Switzerland Tel. +41 22 749 01 11 Fax +41 22 749 09 47 copyrightiso.org www.iso.org ISO/IEC 29341-30-10:2017(E) ISO/IEC 29341-30-10:2017(E) ISO/IEC 2017 All rights reserved iii CONTENTS 1 Scope 1 1.1 Introduction . 1 2 Normative References 1 3 Terms, Definitions and Abbreviations . 2 4 Nota
13、tions and conventions 2 4.1 Notation 2 4.2 Data Types 3 4.3 Vendor-defined Extensions 3 5 Service Modeling Definitions . 3 5.1 Service Type . 3 5.2 DataStore Service Architecture 3 5.3 Key Concepts 3 5.3.1 DataTables 4 5.3.2 DataTable Dictionary 4 5.3.3 DataTables GUID . 4 5.3.4 DataTable URN 4 5.3.
14、5 DataTable DataRecords . 5 5.3.6 DataTable DataItems . 5 5.3.7 DataItem Description Documents 5 5.3.8 DataItem formats . 6 5.3.9 DataTables Operations 6 5.3.10 DataTable HTTP/HTTPS Transport Protocol . 6 5.3.11 DataStore Groups 7 5.3.12 DataStore Events . 7 5.3.13 DataTable Permissions 7 5.3.14 Dat
15、aTable Actions 7 5.4 Device Protection 8 5.5 State Variables 9 5.5.1 State Variable Overview . 9 5.5.2 LastChange . 9 5.5.3 A_ARG_TYPE_DataRecordCount . 11 5.5.4 A_ARG_TYPE_DataRecordIndex . 11 5.5.5 A_ARG_TYPE_DataRecordFilter 12 5.5.6 A_ARG_TYPE_DataTableID . 13 5.5.7 A_ARG_TYPE_DataTableInfoEleme
16、nt 13 5.5.8 A_ARG_TYPE_DataTableKeyName . 13 5.5.9 A_ARG_TYPE_DataTableKeyValue 13 5.5.10 A_ARG_TYPE_DataStoreGroups . 13 5.5.11 A_ARG_TYPE_DataStoreInfo . 14 5.5.12 A_ARG_TYPE_DataTableInfo 15 5.5.13 A_ARG_TYPE_DataTableResetReq . 17 5.5.14 A_ARG_TYPE_DataRecordPropResolve 17 5.5.15 A_ARG_TYPE_Data
17、Records 17 5.5.16 A_ARG_TYPE_DataRecordsStatus 19 BS ISO/IEC 29341-30-10:2017ISO/IEC 29341-30-10:2017(E) iv ISO/IEC 2017 All rights reserved 5.5.17 A_ARG_TYPE_DataTransportURL . 19 5.6 Eventing and Moderation . 19 5.6.1 Eventing of LastChange . 20 5.7 Actions 20 5.7.1 CreateDataStoreGroups() . 21 5.
18、7.2 CreateDataStoreTable() . 21 5.7.3 DeleteDataStoreGroups() . 22 5.7.4 DeleteDataStoreTable() . 23 5.7.5 GetDataStoreTableKeyValue() . 24 5.7.6 GetDataStoreGroups() . 25 5.7.7 GetDataStoreInfo() . 26 5.7.8 GetDataStoreTableInfo() 27 5.7.9 GetDataStoreTransportURL() . 27 5.7.10 ModifyDataStoreTable
19、Info() 28 5.7.11 ReadDataStoreTableRecords() . 30 5.7.12 RemoveDataStoreTableKeyValue() 32 5.7.13 ResetDataStoreTable () . 32 5.7.14 SetDataStoreTableKeyValue() 33 5.7.15 WriteDataStoreTableRecords() . 34 5.7.16 Error Code Summary . 35 6 XML Service Description . 36 Table 1 State Variables 9 Table 2
20、 Allowed filter condition attribute values . 12 Table 3 Eventing and Moderation 19 Table 4 Actions 20 Table 5 Arguments for CreateDataStoreGroups() 21 Table 6 Error Codes for CreateDataStoreGroups() 21 Table 7 Arguments for CreateDataStoreTable() . 22 Table 8 Error Codes for CreateDataStoreTable() .
21、 22 Table 9 Arguments for DeleteDataStoreGroups() . 23 Table 10 Error Codes for DeleteDataStoreGroups() . 23 Table 11 Arguments for DeleteDataStoreTable() . 23 Table 12 Error Codes for DeleteDataStoreTable() . 24 Table 13 Arguments for GetDataStoreTableKeyValue() . 24 Table 14 Error Codes for GetDat
22、aStoreTableKeyValue() . 25 Table 15 Arguments for GetDataStoreGroups() . 25 Table 16 Error Codes for GetDataStoreGroups() . 26 Table 17 Arguments for GetDataStoreInfo() 26 Table 18 Error Codes for GetDataStoreInfo() 26 Table 19 Arguments for GetDataStoreTableInfo() 27 Table 20 Error Codes for GetDat
23、aStoreTableInfo() 27 Table 21 Arguments for GetDataStoreTransportURL() . 28 Table 22 Error Codes for GetDataStoreTransportURL() . 28 Table 23 Arguments for ModifyDataStoreTableInfo() . 29 BS ISO/IEC 29341-30-10:2017ISO/IEC 29341-30-10:2017(E) iv ISO/IEC 2017 All rights reserved 5.5.17 A_ARG_TYPE_Dat
24、aTransportURL . 19 5.6 Eventing and Moderation . 19 5.6.1 Eventing of LastChange . 20 5.7 Actions 20 5.7.1 CreateDataStoreGroups() . 21 5.7.2 CreateDataStoreTable() . 21 5.7.3 DeleteDataStoreGroups() . 22 5.7.4 DeleteDataStoreTable() . 23 5.7.5 GetDataStoreTableKeyValue() . 24 5.7.6 GetDataStoreGrou
25、ps() . 25 5.7.7 GetDataStoreInfo() . 26 5.7.8 GetDataStoreTableInfo() 27 5.7.9 GetDataStoreTransportURL() . 27 5.7.10 ModifyDataStoreTableInfo() 28 5.7.11 ReadDataStoreTableRecords() . 30 5.7.12 RemoveDataStoreTableKeyValue() 32 5.7.13 ResetDataStoreTable () . 32 5.7.14 SetDataStoreTableKeyValue() 3
26、3 5.7.15 WriteDataStoreTableRecords() . 34 5.7.16 Error Code Summary . 35 6 XML Service Description . 36 Table 1 State Variables 9 Table 2 Allowed filter condition attribute values . 12 Table 3 Eventing and Moderation 19 Table 4 Actions 20 Table 5 Arguments for CreateDataStoreGroups() 21 Table 6 Err
27、or Codes for CreateDataStoreGroups() 21 Table 7 Arguments for CreateDataStoreTable() . 22 Table 8 Error Codes for CreateDataStoreTable() . 22 Table 9 Arguments for DeleteDataStoreGroups() . 23 Table 10 Error Codes for DeleteDataStoreGroups() . 23 Table 11 Arguments for DeleteDataStoreTable() . 23 Ta
28、ble 12 Error Codes for DeleteDataStoreTable() . 24 Table 13 Arguments for GetDataStoreTableKeyValue() . 24 Table 14 Error Codes for GetDataStoreTableKeyValue() . 25 Table 15 Arguments for GetDataStoreGroups() . 25 Table 16 Error Codes for GetDataStoreGroups() . 26 Table 17 Arguments for GetDataStore
29、Info() 26 Table 18 Error Codes for GetDataStoreInfo() 26 Table 19 Arguments for GetDataStoreTableInfo() 27 Table 20 Error Codes for GetDataStoreTableInfo() 27 Table 21 Arguments for GetDataStoreTransportURL() . 28 Table 22 Error Codes for GetDataStoreTransportURL() . 28 Table 23 Arguments for Modify
30、DataStoreTableInfo() . 29 ISO/IEC 29341-30-10:2017(E) ISO/IEC 2017 All rights reserved v Table 24 Error Codes for ModifyDataStoreTableInfo() . 30 Table 25 Arguments for ReadDataStoreTableRecords() . 30 Table 26 Error Codes for ReadDataStoreTableRecords() . 31 Table 27 Arguments for RemoveDataStoreTa
31、bleKeyValue() 32 Table 28 Error Codes for RemoveDataStoreTableKeyValue() 32 Table 29 Arguments for ResetDataStoreTable() 32 Table 30 Error Codes for ResetDataStoreTable() 33 Table 31 Arguments for SetDataTableKeyValue() 34 Table 32 Error Codes for SetDataStoreTableKeyValue() 34 Table 33 Arguments fo
32、r WriteDataStoreTableRecords() . 34 Table 34 Error Codes for WriteDataStoreTableRecords() . 35 Table 35 Error Code Summary 36 BS ISO/IEC 29341-30-10:2017ISO/IEC 29341-30-10:2017(E) vi ISO/IEC 2017 All rights reserved Foreword ISO (the International Organization for Standardization) and IEC (the Inte
33、rnational 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 particular f
34、ields 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 established
35、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 noted. This docu
36、ment 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 for identifyin
37、g 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 convenience
38、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 Trade (TBT)
39、 see the following URL: Foreword Supplementary information . ISO/IEC 29341-30-10 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 all curre
40、ntly 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-10:2017ISO/IEC 29341-30-10:2017(E) vi ISO/IEC 2017 All rights reserved Foreword ISO (the International Organization for Standar
41、dization) and IEC (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 organizatio
42、n to deal with 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, IS
43、O and IEC have 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
44、 should be noted. 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
45、 responsible for 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
46、 given for the 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 Techni
47、cal Barriers to Trade (TBT) see the following URL: Foreword Supplementary information . ISO/IEC 29341-30-10 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
48、 IEC. The list of 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. ISO/IEC 29341-30-10:2017(E) ISO/IEC 2017 All rights reserved vii Introduction ISO and IEC draw attention to the fact tha
49、t 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 negotiate licenses under reasonable and non-discriminatory terms and conditions with appl