1、 Reference number ISO/IEC 23007-1:2010(E) ISO/IEC 2010INTERNATIONAL STANDARD ISO/IEC 23007-1 First edition 2010-11-01 Information technology Rich media user interfaces Part 1: Widgets Technologies de linformation Interfaces dutilisateur au support riche Partie 1: Widgets ISO/IEC 23007-1:2010(E) PDF
2、disclaimer This PDF file may contain embedded typefaces. In accordance with Adobes licensing policy, this file may be printed or viewed but shall not be edited unless the typefaces which are embedded are licensed to and installed on the computer performing the editing. In downloading this file, part
3、ies accept therein the responsibility of not infringing Adobes licensing policy. The ISO Central Secretariat accepts no liability in this area. Adobe is a trademark of Adobe Systems Incorporated. Details of the software products used to create this PDF file can be found in the General Info relative
4、to the file; the PDF-creation parameters were optimized for printing. Every care has been taken to ensure that the file is suitable for use by ISO member bodies. In the unlikely event that a problem relating to it is found, please inform the Central Secretariat at the address given below. COPYRIGHT
5、PROTECTED DOCUMENT ISO/IEC 2010 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 ISO at the address below o
6、r ISOs member body in the country of the requester. ISO copyright office Case postale 56 CH-1211 Geneva 20 Tel. + 41 22 749 01 11 Fax + 41 22 749 09 47 E-mail copyrightiso.org Web www.iso.org Published in Switzerland ii ISO/IEC 2010 All rights reservedISO/IEC 23007-1:2010(E) ISO/IEC 2010 All rights
7、reserved iiiContents Page Foreword .v Introductionvi 1 Scope1 2 Normative references1 3 Terms and definitions .1 4 Abbreviations and symbols .3 5 Conventions.3 6 Architectures .3 6.1 Widget manager architecture.3 6.2 Widget architecture.4 7 Widget management .5 7.1 Widget composition 5 7.2 Widget li
8、fe cycle 5 7.3 Widget communication.7 7.4 Widget context.8 8 Widget packaging and delivery9 8.1 Overview.9 8.2 Unpackaged delivery.9 8.3 Packaged delivery using the ISOFF 9 9 Widget API10 9.1 Overview.10 9.2 The MPEGwidget interface .10 9.3 The InterfaceHandler interface.11 10 Widget manifest syntax
9、 13 10.1 Overview.13 10.2 The element.13 10.3 The element.13 10.4 The element.13 10.5 The element .14 10.6 The element 14 10.7 The element.14 10.8 The element 14 10.9 The element14 10.10 The element14 10.11 The element .14 10.12 The element.15 10.13 The element 16 10.14 The element 16 10.15 The elem
10、ent 17 10.16 The element 18 10.17 The element .20 10.18 The element 22 10.19 The element22 10.20 The element23 10.21 The element24 10.22 Predefined interfaces and communications.25 10.23 Connection between scene and interface constructs.27 ISO/IEC 23007-1:2010(E) iv ISO/IEC 2010 All rights reserved1
11、1 Widget context information syntax. 28 11.1 Overview 28 11.2 The element. 28 12 Security considerations . 29 12.1 Widget security . 29 12.2 Communication security 29 Annex A (normative) MIME type registration for application/mw-manifest+xml. 30 Annex B (normative) MIME type registration for applica
12、tion/mw-context+xml. 32 Annex C (informative) Widget manifest example 34 Annex D (informative) MPEG-U Use Cases and Implementation 36 Annex E (informative) Relationship with W3C 40 Bibliography. 41 ISO/IEC 23007-1:2010(E) ISO/IEC 2010 All rights reserved vForeword ISO (the International Organization
13、 for Standardization) 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
14、 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. In the field of information te
15、chnology, ISO and IEC have established a joint technical committee, ISO/IEC JTC 1. International Standards are drafted in accordance with the rules given in the ISO/IEC Directives, Part 2. The main task of the joint technical committee is to prepare International Standards. Draft International Stand
16、ards 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. Attention is drawn to the possibility that some of the elements of this document may be the s
17、ubject of patent rights. ISO and IEC shall not be held responsible for identifying any or all such patent rights. ISO/IEC 23007-1 was prepared by Joint Technical Committee ISO/IEC JTC 1, Information technology, Subcommittee SC 29, Coding of audio, picture, multimedia and hypermedia information. ISO/
18、IEC 23007 consists of the following parts, under the general title Information technology Rich media user interfaces: Part 1: Widgets Part 3: Conformance and reference software Advanced user interaction interface will form the subject of a future Part 2. ISO/IEC 23007-1:2010(E) vi ISO/IEC 2010 All r
19、ights reservedIntroduction User interface represents a crucial feature for many consumer devices and services. User interfaces have recently evolved to support more media types including audio, video, 2D or 3D graphics and rich media functionalities. User interfaces are also evolving towards flexibl
20、e and composite collections of small dedicated applications retrieved from different sources and aggregated into an effective and user friendly interface. Such applications are generally called widgets, a widget being a self-contained entity, with an interactive and dynamic visualization. Additional
21、ly, more and more devices are capable of displaying rich media user interfaces, from desktop computers, to mobile devices, to home appliances, including TV sets. In this heterogeneous environment, users expect a homogeneous, unified experience when interacting with their devices. The objective of th
22、is part of ISO/IEC 23007 is to provide normative interfaces between widgets and widget managers, to allow widgets from different service providers to run, communicate and be transferred within a unique framework. In this part of ISO/IEC 23007, widgets can be processed by entities running on differen
23、t devices, called widget managers, in charge of processing and managing the life cycle of the widgets supporting communications with other entities locally or remotely deployed and enabling widget mobility across devices. This part of ISO/IEC 23007 is also known as “MPEG-U”. This part of ISO/IEC 230
24、07 addresses the normative aspects of the MPEG-U widgets. In particular, it specifies widget packaging formats, aspects for widget communications with external entities and for widget mobility. It also contains a technical annex describing a list of use cases and examples to address such use cases.
25、ISO/IEC 23007-2 will specify advanced user interaction interfaces to support various advanced user interaction devices. ISO/IEC 23007-3 addresses reference software and conformance aspects. This part of ISO/IEC 23007 builds upon the W3C specification for widgets, packaging and configuration: to ensu
26、re that the widget packaging format and configuration documents are compatible with the MPEG media types which can be used to describe widgets (e.g. 2D or 3D content, MPEG-4 BIFS or MPEG-4 LASeR). For restricted profiles of these languages, this implies in particular the ability to create meaningful
27、 widgets which do not rely on scripting languages. to ensure that widgets can be transported on any existing transport mechanisms, in particular those defined by MPEG (e.g. ISO base media file format and the MPEG-2 Transport Stream). to ensure that it is targeted for domains in addition to Web-conne
28、cted devices, e.g. broadcast, mobile or home networking domains. to enable interoperable communications between a widget and other entities (including widgets), these entities being remote (e.g. UPnP services 4) or local services, or other widgets running in the same environment. to enable MPEG-spec
29、ific requirements, such as the ability to dynamically update the widget presentation or to display a widget in a dynamic and interactive simplified representation. to enable widgets, mobility across devices while maintaining the state of the widget. A general description of the architectures of this
30、 part of ISO/IEC 23007 is provided first, to clearly identify normative and non-normative entities. ISO/IEC 23007-1:2010(E) ISO/IEC 2010 All rights reserved viiThis is followed by descriptions of behaviour and syntax of the normative elements, and syntax and examples of the normative elements for wh
31、ich a definition of new XML syntax is needed, namely widget manifest and widget API. Annex A and Annex B provide registration forms for two media types defined within this part of ISO/IEC 23007. A complete example of the standardized technology can be found in Annex C. Examples of use cases which ca
32、n be realized using MPEG-U are provided in Annex D. Finally, a description of the relationship of this specification with the W3C widgets family of specifications is provided in Annex E. INTERNATIONAL STANDARD ISO/IEC 23007-1:2010(E) ISO/IEC 2010 All rights reserved 1Information technology Rich medi
33、a user interfaces Part 1: Widgets 1 Scope This part of ISO/IEC 23007 defines a specification for the exchange, the control and the communication of widgets with other entities, a widget being a self-contained living entity, with an interactive and dynamic visualization. 2 Normative references The fo
34、llowing 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. ISO/IEC 14496-12, Information technology Coding of audi
35、o-visual objects Part 12: ISO base media file format (technically identical with ISO/IEC 15444-12) W3C WPC “Widgets 1.0: Packaging and Configuration”, W3C Working Draft 24 February 2009, available at http:/dev.w3.org/2006/waf/widgets 3 Terms and definitions For the purposes of this document, the fol
36、lowing terms and definitions apply. 3.1 communication entity device or widget, local or remote to a widget manager, providing services 3.2 context information set of data needed to reproduce a state and preferences of a widget, should it be deactivated and reactivated, possibly in a different widget
37、 manager 3.3 device combination of hardware and software or just an instance of software that allows a user to perform actions 3.3 full representation description of the widget appearance and behaviour given in a scene description language which represents the complete version of the widget with its
38、 maximum complexity and behaviour ISO/IEC 23007-1:2010(E) 2 ISO/IEC 2010 All rights reserved3.4 icon interactive, possibly animated and/or scripted, raster image or vector graphics that can be used to graphically represent the widget before the full representation is loaded 3.5 iconic representation
39、 NOTE See simplified representation. 3.6 locale set of information which defines local variants of widgets, elements for a particular country or region or language 3.7 manifest XML description of the widget containing all the information necessary for the widget manager to process the widget 3.8 pre
40、sentation engine entity processing the scene description of the widget to provide its animated and interactive behaviour through composition and rendering 3.9 resource part of a widget, in the form of either a file or a stream, which is needed by the widget manager or presentation engine to process
41、and present the widget 3.10 scene description description defining an audiovisual presentation for the widget in terms of spatiotemporal layout, and interactions by using text, graphics, animations, images, videos, sounds, etc. 3.11 service system supporting interaction, local or over a network, by
42、means of message exchanges (e.g. UPnP service or Web service) 3.12 simplified representation description of the widget appearance and behaviour given in a scene description language which represents a version of the widget with a reduced complexity and/or behaviour compared to the full representatio
43、n 3.13 widget self-contained entity, with extensive communication capabilities, within a rich media user interface, composed of a manifest and associated resources, including scene descriptions for the full and simplified representations and context information 3.14 widget manager user agent, proces
44、sing widgets, in particular for communication between the widget and other entities 3.15 widget package collection of the widget manifest and associated resources in a particular format used for delivery and storage ISO/IEC 23007-1:2010(E) ISO/IEC 2010 All rights reserved 34 Abbreviations and symbol
45、s ISOFF ISO Base Media File Format BIFS BInary Format for Scene LASeR Lightweight application scene representation SVG Scalable Vector Graphics UPnP Universal Plug and Play W3C WPC Widgets 1.0: Packaging and Configuration W3C WAE The widget Interface WLC Widget life cycle WM Widget manager XML eXten
46、sible Markup Language 5 Conventions XML element and attribute names are written using this style in the text. XML examples are written as follows: Script code examples are described as follows: function myFunction 6 Architectures 6.1 Widget manager architecture The architecture of the different elem
47、ents specified in this part of ISO/IEC 23007 is depicted in Figure 1. ISO/IEC 23007-1:2010(E) 4 ISO/IEC 2010 All rights reservedWidget A Widget B Widget C Widget D Widget EFigure 1 Architecture of the rich media user interface standard On client devices, an entity, called widget manager, shall provi
48、de the following functionalities: Processing widget packages, as defined in W3C WPC, Managing the life cycle of widgets, as described in 7.2, Managing the communication between widgets and external entities, as described in 7.3, And managing context information for widget, as described in 7.4. Addit
49、ionally, widget managers may support one or more of the widget delivery mechanisms described in Clause 8. The presentation of a scene description of a widget is demanded to a presentation engine, running on the client device, supporting the scene description language. The presentation engine is an external entity interfaced with the widget manager. The widget manager may provide support for the API defined in Clause 9 to the presentation engine. 6.2 Widget architecture In this part of ISO/IEC