ISO / IEC JTC1/ SC25 WG1 N1392 WG1 (Beijing, Jeon) Date: 2009-10-08 Replaces: ISO/IEC JTC1 SC25 WG1 Interconnection of Information Technology Equipment Home Electronic System Document type: text for FCD ballot Title: ISO/IEC FCD 29104-3 Information technology – Centralized Management Protocol (CMP) for ubiquitous home network services - Part 3: Remote management of networked home devices by user terminals Source: WG1 - Ho-In Jeon – Project Editor Project: 1.25.01.15.03 Status: pending issuance by SC25 Secretariat for 4 month ballot Action ID: LB Due date: Requested Action: WG1 final review Medium: E Distribution: P-, L-, O- Members of SC25 WG1 Number of pages: 14 ISO/IEC JTC 1/SC 25 WG 1 N 16zz Final Committee Draft ISO/IEC CD 29104-3 Date: 2009-?? Reference number: ISO/IEC JTC 1/SC 25 N 16?? Supersedes document SC 25 N1339 THIS DOCUMENT IS STILL UNDER STUDY AND SUBJECT TO CHANGE. IT SHOULD NOT BE USED FOR REFERENCE PURPOSES. ISO/IEC JTC 1/SC 25 INTERCONNECTION OF INFORMATION TECHNOLOGY EQUIPMENT Secretariat: Germany (DIN) Circulated to P- and O-members, and to technical committees and organizations in liaison for: - voting by (P-members only) 2009-09-03 Please return all votes and comments in electronic form using the attached template directly to the SC 25 Secretariat by the due date indicated. ISO/IEC 29104-3 Title: Information technology – Centralized Management Protocol (CMP) for ubiquitous home network services - Part 3: Remote management of networked home devices by user terminals Project: 1.25.01.15.03 Introductory note: This FCD is distributed for approval as FDIS. The NWIP has been distributed with the SC 25 N 1210 and JTC 1 N 8176. It has been approved as recorded in SC 25 N 1243. The CD was distributed with SC 25 N 1339 and found substantial support as recorded in SC 25 N 1389. The comments received have been resolved as recorded in SC 25 N 16??. The document has been updated accordingly and is distributed for approval as FDIS. REQUESTED: National Member Bodies of ISO/IEC JTC 1/SC 25 are ACTION requested to vote on this document. Recipients of this draft are invited to submit, with their comments, notification of any relevant patent rights (not listed in the draft) of which they are aware and to provide supporting documentation. Medium: Defined this document consists of three files: 25N16zz.pdf, 25N16zzv.doc and 25 N 16zzx.doc No. of pages: 15 Address Reply to: Secretariat, ISO/IEC JTC 1/SC 25, Dr.-Ing. Walter P. von Pattay Member of ZVEI FV 7 & FV 8, Germany Tel.: +49/89/923 967 57 ¸ Tfx.: +49/89/923 967 59 (only on request) EM: Walter@Pattay.com Home page: “http://www.iec.ch/sc25” FINAL COMMITTEE DRAFT ISO/IEC 29104-3 Information technology – Centralized Management Protocol (CMP) for ubiquitous home network services - Part 3: Remote management of networked home devices by user terminals ISO/IEC JTC 1/SC 533568709 ISO/IEC FCD 29104-3 –2– ISO/IEC JTC 1/SC 25 16z:2009-?? CONTENTS Page 1 Scope ............................................................................................................................... 6 2 Normative references ....................................................................................................... 6 3 Terms, definitions, and abbreviations ............................................................................... 7 4 3.1 Definitions ............................................................................................................... 7 3.2 Abbreviations .......................................................................................................... 7 Conformance clauses ....................................................................................................... 7 5 Interfacing protocol between HOMS and user terminal ..................................................... 7 5.1 6 Overview ................................................................................................................. 7 5.1.1 HUIP manager ............................................................................................. 7 5.1.2 HUIP agent .................................................................................................. 7 5.2 HUIP manager ......................................................................................................... 8 5.2.1 General ....................................................................................................... 8 5.2.2 User authentication ..................................................................................... 8 5.2.3 Home device list search ............................................................................... 8 5.2.4 Home device control by user terminal .......................................................... 9 5.2.5 Home device state query ............................................................................. 9 5.2.6 Home device service event application/release .......................................... 10 5.3 HUIP Agent ........................................................................................................... 10 Security considerations .................................................................................................. 11 List of figures Figure 1 – CMP architecture based on HOMS ......................................................................... 5 Figure 2 – Relations between elements that take part in user terminal and HOMS interaction ............................................................................................................................... 6 List of tables Table 1 – Input parameter (authUser) ..................................................................................... 8 Table 2 – Output parameter (authUser) ................................................................................... 8 Table 3 – Output parameter (getDeviceListResponse) ............................................................ 8 Table 4 – Device ..................................................................................................................... 8 Table 5 – Input parameter (controlDevicebyUser) ................................................................... 9 Table 6 – Output parameter (controlDevicebyUser) ................................................................. 9 Table 7 – Argument ................................................................................................................ 9 Table 8 – Input parameter (getDeviceStateRequest) ............................................................... 9 Table 9 – Output parameter (getDeviceStateResponse) .......................................................... 9 Table 10 – Input parameter (subscribeEventRequest) ........................................................... 10 Table 11 – Output parameter (subscribeEventResponse) ...................................................... 10 Table 12 – Input parameter (getUserTerminalInfo) ................................................................ 10 Table 13 – Output parameter (getDeviceStatebyUser) .......................................................... 10 ISO/IEC JTC 1/SC 533568709 ISO/IEC FCD 29104-3 –3– ISO/IEC JTC 1/SC 25 16z:2009-?? Table 14 – Argument ............................................................................................................ 10 ISO/IEC JTC 1/SC 533568709 ISO/IEC FCD 29104-3 –4– ISO/IEC JTC 1/SC 25 2009-?? 1 2 3 4 5 INFORMATION TECHNOLOGY — HOME ELECTRONIC SYSTEM (HES) — CENTRALISED MANAGEMENT PROTOCOL (CMP) FOR UBIQUITOUS HOME NETWORK SERVICES — Part 3: Remote management of networked home devices by user terminals 6 FOREWORD 7 8 9 10 11 12 13 14 15 16 17 18 1) ISO (International Organization for Standardization) and IEC (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 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. 19 20 21 22 4) IEC, ISO and ISO/IEC publications have the form of recommendations for international use and are accepted by IEC and ISO member bodies in that sense. Why on all reasonable efforts are made to ensure that the technical content of IEC, ISO and ISO/IEC publications is accurate, IEC or ISO cannot be held responsible for the way in which they are used or for any misinterpretation by any end user. 23 24 25 26 5) In order to promote international uniformity, IEC and ISO member bodies undertake to apply IEC, ISO and ISO/IEC publications transparency to the maximum extent possible in their national and regional publications. Any divergence between any ISO/IEC publication and the corresponding national or regional publication should be clearly indicated in the latter. 27 28 6) ISO and IEC provide no marking procedure to indicate their approval and cannot be rendered responsible for any equipment declared to be in conformity with and ISO/IEC publication. 29 7) All users should ensure that they have the latest edition of this publication. 30 31 32 33 34 8) No liability shall attach to IEC or ISO or its directors, employees, servants or agents including individual experts and members of their technical committees and IEC or ISO member bodies for any personal injury, property damage or other damage of any nature whatsoever, whether direct or indirect, or for costs (including legal fees) and expenses arising out of the publication of, use of, or reliance upon, this ISO/IEC publication or any other IEC, ISO or ISO/IEC publications. 35 36 9) Attention is drawn to the normative references cited in this publication. Use of the referenced publications is indispensable for the correct application of this publication. 37 38 10) Attention is drawn to the possibility that some of the elements of this Intern ational Standard may be the subject of patent rights. ISO and IEC shall not be held responsible for identifying any or all such patent rights. 39 This publication has been drafted in accordance with the ISO/IEC Directives, Part 2. 40 41 42 ISO/IEC 29104 consists of the following parts, under the general title Information technology — Interconnection of information technology equipment — Centralized Management Protocol (CMP) for Ubiquitous Home Network Services: 43 44 45 Part 1: Remote Management of Residential Gateways Part 2: Remote Management of Application Servers Part 3: Remote Management of Networked Home Devices by User Terminals 2) In the field of information technology, ISO and IEC have established a joint technical committee, ISO/IEC JTC 1. Draft International Standards adopted by the joint technical committee are circulated to national bodies for voting. Publication as an International Standard requires approval by at least 75 % of the national bodies casting a vote. 3) The former decisions or agreements of IEC and ISO on technical matters express, as nearly as possible, an international consensus of opinion on the relevant subjects since each technical committee has representation from all interested IEC and ISO member bodies. 46 ISO/IEC JTC 1/SC 533568709 ISO/IEC FCD 29104-3 –5– ISO/IEC JTC 1/SC 25 2009-?? 47 INTRODUCTION 48 49 50 51 Home Network is an information infrastructure that connects all the home appliances and the server groups located outside the home (See ISO/IEC 15045-1) and thus can provide Home Automation services, Care services, Security services, Entertainment services, Telemetry services, and more. 52 53 54 55 56 Figure 1 shows the standardized home network infrastructure that allows the home network users to entertain and manage the various home network services that are provided in real time. These services are still available even when the users are outside of the home by using Web-PC or mobile terminals. For more detailed explanation on this introduction clause, refer to the introduction clause ISO/IEC 29104-1. 57 58 Figure 1 – CMP architecture based on HOMS 59 60 61 This part of standard specifies the interface protocol between Home Network Management Server (HOMS) and user terminals which enables the home network users to control and manage home appliances from remote locations. 62 63 The remote management and control of home networked devices via cellular phones or any user terminals are considered one of the most distinguishing features of this standard. 64 65 ISO/IEC JTC 1/SC 533568709 –6– ISO/IEC FCD 29104-3 ISO/IEC JTC 1/SC 25 2009-?? 66 67 68 Information technology — Home Electronic System — Centralized Management Protocol (CMP) for ubiquitous home network services — Part 3: Remote management of networked home devices by user terminals 69 1 70 71 72 73 This part of ISO/IEC 29104 specifies the communication protocol called HOMS-User Interface Protocol (HUIP) for ubiquitous home network services that specifies the protocol for communication between HOMS and user terminals, as shown in . The HUIP enables the home network users to control and manage home appliances from remote locations. 74 75 76 The scope of this standard is limited to interface protocols that can control networked home devices from remote locations. It does not define any interface between residential gateway and home devices or middleware standard. 77 78 79 The HUIP is running in the layers 3, 4 and 7 of the ISO OSI 7 Layers Reference Model (see ISO/IEC 7498) with sufficient details needed for the remote management of networked home devices by user terminals. Scope 80 81 82 83 84 85 86 87 Fig. 1 Users-HOMS Interface element 88 Figure 2 – Relations between elements that take part in user terminal and HOMS interaction 89 90 91 2 92 93 94 95 The following referenced documents are indispensable for the application of this document. For dated references, only the edition cited applies. For undated references, the latest edition of the referenced document, including any amendments, applies. 96 97 98 99 100 Normative references The provisions of the referenced specifications other than ISO/IEC, IEC, ISO and ITU documents, as identified in this clause, are valid within the context of this International Standard. The reference to such a specification within this International Standard does not give it any further status within ISO/IEC. In particular, it does not give the referenced specification the status of an International Standard. ISO/IEC JTC 1/SC 533568709 ISO/IEC FCD 29104-3 –7– ISO/IEC JTC 1/SC 25 2009-?? 101 102 103 104 105 ISO/IEC 15045-1, Information technology — Interconnection of Information technology Equipment — Home Electronic System (HES) — Part 1: A Residential gateway model for Home Electronic System 106 107 108 ISO/IEC 29104-1, Information technology — Home Electronic System (HES) — Centralised management protocol (CMP) for ubiquitous home network services — Part 1: Remote management of residential gateways 109 3 110 3.1 111 112 For the purposes of this International Standard, the definitions from ISO/IEC 29104-1 are applicable. 113 3.2 114 115 For the purposes of this International Standard, the abbreviations from ISO/IEC 29104-1 and ISO/IEC 29104-2 are applicable. 116 4 117 118 119 120 HOMS conforming to this standard shall implement the HUIP manager interface supporting the various functions as specified in Clause 5.2, when user terminal is connected to HOMS from remote locations. The HUIP manager interface shall be provided for service implementation in the HOMS. 121 122 123 User terminals conforming to this standard shall implement the HUIP agent interface supporting the various functions as spec ified in Clause 5.3. The HUIP agent interface shall be provided for service implementation in the user terminals. 124 5 125 5.1 126 127 128 This clause describes an interface protocol between user terminal and HOMS. This interface enables user terminal to control and manage networked home appliances from remote locations. It is also used to report control results and monitoring results to user terminal. 129 5.1.1 HUIP manager 130 131 HUIP Manager performs the following functions when user terminal is connected to HOMS from remote locations: 132 133 134 135 136 User access authentication processing Device list query by user processing Device control by user processing Device state query by user processing Device event subscription by user processing 137 5.1.2 HUIP agent 138 139 HUIP Agent queries user terminal for user terminal’s characteristics and types. HOMS needs to know the type of user terminal since data format is different for different user terminals ISO/IEC 7498, Information processing systems — Open Systems Interconnection — Basic Reference Model Terms, definitions, and abbreviations Definitions Abbreviations Conformance clauses Interfacing protocol between HOMS and user terminal Overview ISO/IEC JTC 1/SC 533568709 –8– ISO/IEC FCD 29104-3 ISO/IEC JTC 1/SC 25 2009-?? 140 141 connected through wireless or wired connection. The HUIP agent perfo rms the following functions: 142 143 5.2 144 5.2.1 145 146 147 HUIP interface provides service implementation methods for HOMS and user terminals. User terminal can manage and control home appliances through this inter face. Specific descriptions for each function are as follows. 148 5.2.2 149 150 151 User terminal uses this function to request HOMS for authentication. The input parameters (authUser), see Table 1, contain user ID and password. HOMS returns authentication result as specified in Table 2. 152 Table 1 – Input parameter (authUser) Provision for user terminal information processing HUIP manager General User authentication Parameter Data Type Description userID string Service user ID userPasswd string Service user password 153 154 Table 2 – Output parameter (authUser) 155 Parameter Data Type Description Service user authentication success: true result Boolean Service user authentication failure: false 156 5.2.3 157 158 159 160 161 The user terminal calls getDeviceList (the home device list search function that does not contain a parameter) of the residential gateway for home device list search. The residential gateway searches for a home device list and returns information (home device ID, home device type and a device description URL) about searched home devices to the HOMS as specified in Table 3 and Table 4. 162 Table 3 – Output parameter (getDeviceListResponse) Home device list search Parameter Data type Description home device list search success: true result Boolean home device list search failure: false deviceArray Array of device home device list information Table 4 – Device 163 Variable Data type Description deviceID string home device ID deviceType string home device type deviceDescriptionURL string home device description URL information ISO/IEC JTC 1/SC 533568709 –9– ISO/IEC FCD 29104-3 ISO/IEC JTC 1/SC 25 2009-?? 164 5.2.4 165 166 167 168 User terminal calls controlDevicebyUser function with home device ID, home device service name, home device control command and home device control command input parameter value as specified in Table 5. This function returns output value for command result, which can be a multiple values (see Table 6 and Table 7.). 169 Table 5 – Input parameter (controlDevicebyUser) Home device control by user terminal Parameter Data Type Description deviceID string home device ID serviceName string home device service name actionName string home device control command variableValue array of argument home device control command input parameter value Table 6 – Output parameter (controlDevicebyUser) 170 Parameter Data Type Description home device control success: true result Boolean home device control failure: false controlResultValue array of argument home device control command implementation result value Table 7 – Argument 171 Parameter Data Type Description Name string home device control result state variable name Value string home device control result state variable value 172 5.2.5 173 174 User terminals queries information of various service states, which is provided by home devices through the home device state query function. 175 176 177 178 The user terminal employs a home device ID, a home device service name and a home device state variable name as input values, and calls the home device state query function getDeviceState as specified in Table 8. The residential gateway returns the current value of a home device state variable requested by HOMS as specified in Table 9. 179 Table 8 – Input parameter (getDeviceStateRequest) Home device state query Parameter Description Data type deviceID string home device ID serviceName string home device service name stateVariable string service state variable name Table 9 – Output parameter (getDeviceStateResponse) 180 Parameter Data type Description service state query success: true Result string service state query failure: false ISO/IEC JTC 1/SC 533568709 – 10 – ISO/IEC FCD 29104-3 stateResultValue string ISO/IEC JTC 1/SC 25 2009-?? service state query result value 181 5.2.6 182 183 This function shall apply and release an event occurring in a service provided by home devices. 184 185 186 187 188 The user terminal employs a home device ID, a home device service name, a home device state variable name, and service event application and release information as input values, and calls the service event application/release function (subscri beEvent) as specified in Table 10. If the service event application and release processing has been normally terminated, the true value is returned. Otherwise, the false value is returned (see Table 11.). 189 Table 10 – Input parameter (subscribeEventRequest) Home device service event application/release Parameter Data type Description deviceID string home device ID serviceName string home device control service name stateVariable string service state variable name subscriptionFlag Boolean service event application: true service event release: false Table 11 – Output parameter (subscribeEventResponse) 190 Parameter Data type Description home device service event application/release success: true Result Boolean home device service event application/release failure: false 191 5.3 192 193 HUIP agent interface is implemented in user terminals, which respond to the HOMS query through corresponding interface (see Table 12, Table 13 and Table 14.). 194 Table 12 – Input parameter (getUserTerminalInfo) HUIP Agent Parameter Data Type Description UserID string home device ID TerminalName string home device service name TerminalValue array of argument service state variable name Table 13 – Output parameter (getDeviceStatebyUser) 195 Parameter Data Type Description service state query success: true Result string service state query failure: false Table 14 – Argument 196 Parameter Data Type Description Type string terminal type name Value string terminal type value ISO/IEC JTC 1/SC 533568709 ISO/IEC FCD 29104-3 197 6 198 See clause 6 of ISO/IEC 29104-1. Security considerations ISO/IEC JTC 1/SC 533568709 – 11 – ISO/IEC JTC 1/SC 25 2009-?? ISO/IEC FCD 29104-3 – 12 – ISO/IEC JTC 1/SC 25 2009-?? 199 Bibliography 200 201 202 ISO/IEC 15045-2, Information technology — Interconnection of Information technology Equipment — Home Electronic System (HES) — HES Gateway — Part 2: Modularity and Protocol 203 204 ISO/IEC 15044, Information technology — Home Electronic System (HES) Terminology for HES 205 206 207 ISO/IEC CD 18012-1, Information technology — Interconnection of information technology equipment — Home electronic system — Guidelines for product interoperability — Part 1: Introduction 208 209 210 211 ISO/IEC 8802-3, Information technology — Telecommunications and information exchange between systems — Local and metropolitan area networks — Specific requirements — Part 3: Carrier sense multiple access with collision detection (CSMA/CD) access method and physical layer specification 212 213 ISO/IEC 29363:2008, Information technology -- Web Services Interoperability -- WS-I Simple SOAP Binding Profile Version 1.0 214 215 ISO/IEC 25437, Information technology -- Telecommunications and information exchange between systems -- WS-Session -- Web Services for Application Session Services 216 ISO/IEC 29341, Universal Plug and Play Device Architecture 217 ISO/IEC TR-14543, Home Electronic System Architecture 218 219 OSGi Service Platform, The <http://www.osgi.org/Specification/HomePage> 220 221 TR-069, CPE WAN Management Protocol, Broadband <http://www.broadband-forum.org/technical/trlist.php> 222 223 TR-046, Auto-Configuration Architecture & Framework, Broadband Forum, available at <http://www.broadband-forum.org/technical/trlist.php> 224 225 226 TR-062, Auto-Configuration for the Connection between the DSL Broadband Network Termination (B-NT) and the Network using ATM, Broadband Forum, available at <http://www.broadband-forum.org/technical/trlist.php> 227 228 TR-044, Auto-Configuration for Basic Internet (IP-based) Services, Broadband Forum, available at <http://www.broadband-forum.org/technical/trlist.php> 229 230 231 RFC 5246, The Transport Layer <http://tools.ietf.org/html/rfc5246> 232 ISO/IEC JTC 1/SC 533568709 Security OSGi (TLS) Alliance, available Forum, Protocol, IETF, available available at at at