1、 IEC 62481-6-1 Edition 1.0 2017-07 INTERNATIONAL STANDARD Digital living network alliance (DLNA) home networked device interoperability guidelines Part 6-1: Remote User Interface HTML5 IEC 62481-6-1:2017-07(en) colour inside THIS PUBLICATION IS COPYRIGHT PROTECTED Copyright 2017 IEC, Geneva, Switzer
2、land All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from either IEC or IECs member National Committee in the country
3、of the requester. If you have any questions about IEC copyright or have an enquiry about obtaining additional rights to this publication, please contact the address below or your local IEC member National Committee for further information. IEC Central Office Tel.: +41 22 919 02 11 3, rue de Varemb F
4、ax: +41 22 919 03 00 CH-1211 Geneva 20 infoiec.ch Switzerland www.iec.ch About the IEC The International Electrotechnical Commission (IEC) is the leading global organization that prepares and publishes International Standards for all electrical, electronic and related technologies. About IEC publica
5、tions The technical content of IEC publications is kept under constant review by the IEC. Please make sure that you have the latest edition, a corrigenda or an amendment might have been published. IEC Catalogue - webstore.iec.ch/catalogue The stand-alone application for consulting the entire bibliog
6、raphical information on IEC International Standards, Technical Specifications, Technical Reports and other documents. Available for PC, Mac OS, Android Tablets and iPad. IEC publications search - www.iec.ch/searchpub The advanced search enables to find IEC publications by a variety of criteria (refe
7、rence number, text, technical committee,). It also gives information on projects, replaced and withdrawn publications. IEC Just Published - webstore.iec.ch/justpublished Stay up to date on all new IEC publications. Just Published details all new publications released. Available online and also once
8、a month by email. Electropedia - www.electropedia.org The worlds leading online dictionary of electronic and electrical terms containing 20 000 terms and definitions in English and French, with equivalent terms in 16 additional languages. Also known as the International Electrotechnical Vocabulary (
9、IEV) online. IEC Glossary - std.iec.ch/glossary 65 000 electrotechnical terminology entries in English and French extracted from the Terms and Definitions clause of IEC publications issued since 2002. Some entries have been collected from earlier publications of IEC TC 37, 77, 86 and CISPR. IEC Cust
10、omer Service Centre - webstore.iec.ch/csc If you wish to give us your feedback on this publication or need further assistance, please contact the Customer Service Centre: csciec.ch. IEC 62481-6-1 Edition 1.0 2017-07 INTERNATIONAL STANDARD Digital living network alliance (DLNA) home networked device
11、interoperability guidelines Part 6-1: Remote User Interface HTML5 INTERNATIONAL ELECTROTECHNICAL COMMISSION ICS 33.160; 35.100.05; 35.110 ISBN 978-2-8322-4628-3 Registered trademark of the International Electrotechnical Commission Warning! Make sure that you obtained this publication from an authori
12、zed distributor. colour inside 2 IEC 62481-6-1:2017 IEC 2017 CONTENTS FOREWORD . 4 INTRODUCTION . 6 1 Scope 7 2 Normative references 7 3 Terms, definitions and conventions 9 3.2 Conventions 9 4 Networking architecture, device models and guideline conventions . 9 4.1 DLNA home networking architecture
13、 . 9 4.2 Document conventions and conventions . 9 4.3 Guideline structure and layout 9 5 DLNA Device Model. 10 5.1 General . 10 5.2 HTML5 RUI Device Functions . 10 5.3 Device Capabilities . 10 5.4 System usages . 11 5.4.1 General . 11 5.4.2 2-box RUI-H Pull with/without A/V system usage . 12 5.4.3 3
14、-box UI-only system usage . 13 5.4.4 3-box UI with A/V system usage 16 6 HTML5 RUI guideline 17 6.1 General . 17 6.2 Architecture and protocols 17 6.3 HTML5 Remote User Interfaces 18 6.3.1 General . 18 6.3.2 Discovery of HTML5 Remote UI devices 18 6.3.3 RUI-H transport . 21 6.3.4 Media Formats and A
15、V metadata . 23 6.3.5 Media Transport and control 27 6.3.6 Content Protection guidelines 31 6.3.7 HTML5 presentation and control: General 31 6.3.8 HTML5 presentation and control: HTML and DOM . 32 6.3.9 HTML5 presentation and control: CSS . 33 6.3.10 HTML5 presentation and control: Image and Font Fo
16、rmats 35 6.3.11 HTML5 presentation and control: JavaScript and JavaScript APIs . 36 6.3.12 HTML5 presentation and control: Cross Origin Resource Sharing 41 6.3.13 Quality of Service 42 6.3.14 Presentation of MPEG-2 TS Elementary Streams 42 6.3.15 DLNA-HTML5-1.0 protocolInfo value 45 6.3.16 RUI-H ser
17、vice location caching 47 Annex A (informative) HTML5 RUI client capability detection . 49 A.1 HTML5 client capability detection 49 A.2 CSS client capability detection 49 Annex B (informative) RUI-H updates . 51 Annex C (informative) Web content authoring guidelines 52 C.1 General . 52 IEC 62481-6-1:
18、2017 IEC 2017 3 C.2 Subtitles . 52 C.3 Ad insertion 52 C.4 Media synchronized web content 52 C.5 Alternate audio program 52 C.6 Descriptive video service 52 C.7 Discovery of DLNA devices . 53 C.8 In order to support 3-box AV scenario . 53 C.9 Filtering DLNA AV content in the UI page 53 Annex D (info
19、rmative) Combining RUI-H with AV 54 D.1 2-box AV scenario using 2-box HTML5 RUI 54 D.2 3-box AV scenario using 2-box HTML5 RUI 54 Annex E (informative) HTML5 input events . 55 E.1 General . 55 E.2 Key input 55 E.2.1 General . 55 E.2.2 Key values set . 56 E.3 Mouse . 56 E.3.1 General . 56 E.3.2 Event
20、 synthesis . 56 E.3.3 Mouse order 56 E.3.4 Wheel 57 E.4 Touch . 57 Annex F (normative) DLNA-HTML5-1.0 Extended XSD Schema 58 Annex G (informative) Examples of DLNA RUI-H service UIListing . 59 G.1 Example of tw o RUI-H services 59 G.2 Example of single RUI-H service . 60 G.3 Example of single RUI-H
21、service with two URIs 60 Bibliography 62 Figure 1 Relationship of RUI-H components . 11 Figure 2 RUI-H Pull without A/V system usage interaction model . 12 Figure 3 RUI-H Pull with A/V system usage interaction model 13 Figure 4 3-box UI-only system usage interaction model . 14 Figure 5 Physical conf
22、iguration for 3-box UI-only system usage model 14 Figure 6 Physical configuration for 3-box UI-only system usage model 15 Figure 7 Combining 2 instances of 3-box UI-only system usage . 15 Figure 8 3-box UI with 3-box A/V system usage interaction model . 17 Table 1 Collocation possibilities of +RUIHP
23、L + and +RUIHSRC + capabilities for A/V. 13 Table 2 Collocation possibilities of +RUIHSRC+ and +RUIHSINK+ capabilities for A/V16 Table A.1 HTML5 client capability detection . 49 Table A.2 CSS client capability detection . 50 4 IEC 62481-6-1:2017 IEC 2017 INTERNATIONAL ELECTROTECHNICAL COMMISSION _ D
24、IGITAL LIVING NETWORK ALLIANCE (DLNA) HOME NETWORKED DEVICE INTEROPERABILITY GUIDELINES Part 6-1: Remote User Interface HTML5 FOREWORD 1) The International Electrotechnical Commission (IEC) is a worldwide organization for standardization comprising all national electrotechnical committees (IEC Natio
25、nal Committees). The object of IEC is to promote international co-operation on all questions concerning standardization in the electrical and electronic fields. To this end and in addition to other activities, IEC publishes International Standards, Technical Specifications, Technical Reports, Public
26、ly Available Specifications (PAS) and Guides (hereafter referred to as “IEC Publication(s)”). Their preparation is entrusted to technical committees; any IEC National Committee interested in the subject dealt with may participate in this preparatory work. International, governmental and non-governme
27、ntal organizations liaising with the IEC also participate in this preparation. IEC collaborates closely with the International Organization for Standardization (ISO) in accordance with conditions determined by agreement between the two organizations. 2) The formal decisions or agreements of IEC on t
28、echnical 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 National Committees. 3) IEC Publications have the form of recommendations for international use and are accepted b
29、y IEC National Committees in that sense. While all reasonable efforts are made to ensure that the technical content of IEC Publications is accurate, IEC cannot be held responsible for the way in which they are used or for any misinterpretation by any end user. 4) In order to promote international un
30、iformity, IEC National Committees undertake to apply IEC Publications transparently to the maximum extent possible in their national and regional publications. Any divergence between any IEC Publication and the corresponding national or regional publication shall be clearly indicated in the latter.
31、5) IEC itself does not provide any attestation of conformity. Independent certification bodies provide conformity assessment services and, in some areas, access to IEC marks of conformity. IEC is not responsible for any services carried out by independent certification bodies. 6) All users should en
32、sure that they have the latest edition of this publication. 7) No liability shall attach to IEC or its directors, employees, servants or agents including individual experts and members of its technical committees and IEC National Committees for any personal injury, property damage or other damage of
33、 any nature whatsoever, whether direct or indirect, or for costs (including legal fees) and expenses arising out of the publication, use of, or reliance upon, this IEC Publication or any other IEC Publications. 8) Attention is drawn to the Normative references cited in this publication. Use of the r
34、eferenced publications is indispensable for the correct application of this publication. 9) Attention is drawn to the possibility that some of the elements of this IEC Publication may be the subject of patent rights. IEC shall not be held responsible for identifying any or all such patent rights. In
35、ternational Standard IEC 62481-6-1 has been prepared under technical area 8: Multimedia home systems and applications for end-user network, of IEC technical committee 100: Audio, video and multimedia systems and equipment. The text of this International Standard is based on the following documents:
36、CDV Report on voting 100/2740/CDV 100/2887/RVC Full information on the voting for the approval of this International Standard can be found in the report on voting indicated in the above table. This document has been drafted in accordance with the ISO/IEC Directives, Part 2. A list of all parts of IE
37、C 62481 series, published under the general title Digital Living Network Alliance (DLNA) home networked device interoperability guidelines, can be found on the IEC website. IEC 62481-6-1:2017 IEC 2017 5 The committee has decided that the contents of this document will remain unchanged until the stab
38、ility date indicated on the IEC website under “http:/webstore.iec.ch“ in the data related to the specific document. At this date, the document will be reconfirmed, withdrawn, replaced by a revised edition, or amended. A bilingual version of this publication may be issued at a later date. IMPORTANT T
39、he colour inside logo on the cover page of this publication indicates that it contains colours which are considered to be useful for the correct understanding of its contents. Users should therefore print this document using a colour printer. 6 IEC 62481-6-1:2017 IEC 2017 INTRODUCTION Consumers are
40、acquiring, viewing, and managing an increasing amount of digital media (photos, music, and video) on devices in the consumer electronics (CE), mobile, and personal computer (PC) domains. As such, they want to conveniently enjoy the content, regardless of the source, across different devices and loca
41、tions in the home. The digital home vision integrates the Internet, mobile, and broadcast networks through a seamless, interoperable network, which will provide a unique opportunity for manufacturers and consumers alike. In order to deliver on this vision, a common set of industry design guidelines
42、is needed that allows vendors to participate in a growing marketplace, leading to more innovation, simplicity, and value for consumers. This document serves that purpose and provides vendors with the information needed to build interoperable networked platforms and devices for the digital home. IEC
43、62481-6-1:2017 IEC 2017 7 DIGITAL LIVING NETWORK ALLIANCE (DLNA) HOME NETWORKED DEVICE INTEROPERABILITY GUIDELINES Part 6-1: Remote User Interface HTML5 1 Scope This part of IEC 62481-6 specifies guidelines that define HTML5 Remote User Interface (RUI-H). HTML5 allows operators to develop “write onc
44、e, play anywhere“ content applications across a broad range of browsers and platforms. Through native integration, HTML5 enables the repurposing of single codebases, resulting in reduced development costs and the provision of a unique UI for every device. 2 Normative references The following documen
45、ts are referred to in the text in such a way that some or all of their content constitutes requirements 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. IEC 62481-1-1:2017
46、, Digital living network alliance (DLNA) home networked device interoperability guidelines Part 1-1: Architecture and protocols IEC 62481-2:2017, Digital living network alliance (DLNA) home networked device interoperability guidelines Part 2: Media Format Profiles IEC 62481-3:2017, Digital living ne
47、twork alliance (DLNA) guidelines Part 3: Link protection ISO/IEC 14496-22, Information technology Coding of audio-visual objects Part 22: Open Font Format http:/www.iso.org/iso/catalogue_detail.htm?csnumber=52136 ISO/IEC 29341-1, Information Technology UPnP Device Architecture Part 1-1: UPnP Device
48、Architecture ISO/IEC 29341-12-1, Information Technology UPnP Device Architecture Part 12-1: Remote User Interface Device Control Protocol Remote User Interface Client Device ISO/IEC 29341-12-2, Information Technology UPnP Device Architecture Part 12-2: Remote User Interface Device Control Protocol R
49、emote User Interface Server Device ISO/IEC 29341-12-11, Information Technology UPnP Device Architecture Part 12-11: Remote User Interface Device Control Protocol Remote User Interface Server Service ISO/IEC 29341-12-10, Information Technology UPnP Device Architecture Part 12-10: Remote User Interface Device Control Protocol Remote User Interface Client Service ANSI/SCTE 35, Digital Program Insertion Cueing Message for Cable http:/www.scte.org