1、 Reference number ISO/IEC 23007-3:2011(E) ISO/IEC 2011INTERNATIONAL STANDARD ISO/IEC 23007-3 First edition 2011-07-15 Information technology Rich media user interfaces Part 3: Conformance and reference software Technologies de linformation Interfaces dutilisateur au support riche Partie 3: Conformit
2、 et logiciel de rfrence ISO/IEC 23007-3:2011(E) COPYRIGHT PROTECTED DOCUMENT ISO/IEC 2011 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 pe
3、rmission in writing from either ISO at the address below or 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 2011 All right
4、s reservedISO/IEC 23007-3:2011(E) ISO/IEC 2011 All rights reserved iiiContents Page Foreword iv Introduction.v 1 Scope1 2 Normative references1 3 Terms and definitions .1 4 Conformance of Widgets1 4.1 Introduction1 4.2 Conformance of manifests .1 4.3 Conformance of packages2 4.4 Conformance of conte
5、xt information 2 4.5 Conformance of the MPEG-U widget scripts2 5 Conformance of Widget Managers2 6 Conformance Sequences.3 6.1 Introduction3 6.2 Sequences3 6.3 Coverage of MPEG-U features .4 7 Reference software description.7 7.1 Overview and architecture7 7.2 Reference software description.8 Biblio
6、graphy11 ISO/IEC 23007-3:2011(E) iv ISO/IEC 2011 All rights reservedForeword ISO (the International Organization for Standardization) and IEC (the International Electrotechnical Commission) form the specialized system for worldwide standardization. National bodies that are members of ISO or IEC part
7、icipate 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, government
8、al 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 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.
9、 The main task of the joint technical committee is to prepare International Standards. 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 bodi
10、es casting a vote. 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 identifying any or all such patent rights. ISO/IEC 23007-3 was prepared by Joint Technical Committee ISO/IEC JTC 1, I
11、nformation technology, Subcommittee SC 29, Coding of audio, picture, multimedia and hypermedia information. ISO/IEC 23007 consists of the following parts, under the general title Information technology Rich media user interfaces: Part 1: Widgets Part 2: Advanced user interaction (AUI) interfaces Par
12、t 3: Conformance and reference software ISO/IEC 23007-3:2011(E) ISO/IEC 2011 All rights reserved vIntroduction User interfaces represent 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 graphi
13、cs and have become rich media user interfaces. User interfaces are also moving towards a collection of small dedicated applications, called Widgets. Additionally, more and more devices are capable of displaying rich media user interfaces, from desktop computers, to mobile devices, to home appliances
14、 including TV sets. In this heterogeneous environment, users expect a homogeneous, unified experience when interacting with their devices. In ISO/IEC 23007, Widgets can be processed by entities running on different devices, called Widget Managers, in charge of processing and managing the life cycle
15、of the widgets supporting communications with other entities locally or remotely deployed and enabling widget mobility across devices. The objective of ISO/IEC 23007 is to provide normative interfaces between Widgets and Widget Managers, to allow Widgets from different service providers to run, comm
16、unicate and be transferred within a unique framework. ISO/IEC 23007, rich media user interfaces is also known as MPEG-U. ISO/IEC 23007-1 addresses the normative aspects of the MPEG-U Widgets. In particular, it specifies widget packaging formats, aspects for widget communications with external entiti
17、es and for widget mobility. It also contains a technical annex describing a list of use cases and examples to address such use cases. ISO/IEC 23007-2 addresses advanced user interaction (AUI) interfaces. This part of ISO/IEC 23007 addresses reference software and conformance aspects. INTERNATIONAL S
18、TANDARD ISO/IEC 23007-3:2011(E) ISO/IEC 2011 All rights reserved 1Information technology Rich media user interfaces Part 3: Conformance and reference software 1 Scope This part of ISO/IEC 23007 specifies how to test whether data and decoders meet requirements specified by ISO/IEC 23007-1. It also de
19、scribes the procedures for testing the conformance of widgets and widget managers to the requirements defined in ISO/IEC 23007-1. In this part of ISO/IEC 23007, widget generators are not addressed specifically. A generator can be said to be an ISO/IEC 23007 generator if it generates widgets complian
20、t with the syntactic and semantic requirements specified in ISO/IEC 23007-1. 2 Normative references 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 refer
21、enced document (including any amendments) applies. ISO/IEC 23007-1, Information technology Rich media user interfaces Part 1: Widgets 3 Terms and definitions For the purposes of this document, the terms and definitions given in ISO/IEC 23007-1 apply. 4 Conformance of Widgets 4.1 Introduction Widgets
22、 use standard representations for describing manifests, W3C WPC packages, ISOFF packages and context information. This clause describes how to check conformance of all these representations. 4.2 Conformance of manifests The first step for checking conformance of the MPEG-U XML manifest syntax is to
23、validate the XML document against the relax NG for the configuration document (http:/www.w3.org/TR/widgets/#relax-ng-for-the- configuration-document) provided by the W3C WPC specification. If this step fails, the widget manifest is considered a non-conformant MPEG-U manifest. The second step is to c
24、heck conformance according to the MPEG-U syntax. The electronic attachments of ISO/IEC 23007-1 provide an XML Schema for that purpose. A conformant W3C WPC configuration document is a valid MPEG-U manifest if the XML schema validation succeeds. ISO/IEC 23007-3:2011(E) 2 ISO/IEC 2011 All rights reser
25、vedThe next step is to verify that the scene constructs referenced in the manifest are present in the scene description pointed to by the manifest. This verification is specific to the scene description language used. 4.3 Conformance of packages A widget package is conformant to ISO/IEC 23007 if it
26、is conformant to the W3C WPC specification or if it is a conformant ISOFF-based widget package. An ISOFF-based widget package is conformant to ISO/IEC 23007 if the following rules are validated: it is a compliant ISO/IEC 14496-12 file or a compliant ISO/IEC 21000-9 file; it uses the brand declared i
27、n ISO/IEC 23007-1 either in the list of compatible brand or in the major brand; it contains a conformant manifest as a primary item and stored in an XML box, with a internet MediaType and handler type as defined in ISO/IEC 23007-1; all resources declared in the manifest with IRI relative to the mani
28、fest are described in the item location box. 4.4 Conformance of context information A widget context information document is conformant to ISO/IEC 23007 if it is a valid XML file according to the XML Schema provided as an electronic attachment to ISO/IEC 23007-1. 4.5 Conformance of the MPEG-U widget
29、 scripts Scripts of MPEG-U widgets shall obey the constraints specified in Clause 9 of ISO/IEC 23007-1:2010, as well as constraints specified in the WAE specification. 5 Conformance of Widget Managers Widget managers are responsible for the processing widgets, e.g. for providing MPEG-U communication
30、 capabilities to widgets and for managing context information. Normative behaviours of Widgets managers are demonstrated by the Reference Software. The following behaviours are defined as non normative: Composition and presentation of the scene description language used in the widget; Presentation o
31、f available widgets to the user and use of a selection mechanism for activation of the full or simplified representation; Transitions between the full and simplified representation; Management of Communication privileges; Widget communication activation and deactivation. For some of these non-normat
32、ive behaviours, utility software is provided. Conformant MPEG-U widget managers shall be W3C Widgets-compliant user agents, and obey constraints specified in ISO/IEC 23007-1 as well. ISO/IEC 23007-3:2011(E) ISO/IEC 2011 All rights reserved 36 Conformance Sequences 6.1 Introduction Electronic attachm
33、ents are organized in the following fashion: - directory mp4: widgets packaged in MP4 files (extension .mgt) - directory wgts: widgets packaged in ZIP files (extension .wgt) - directory widgets: unpackaged widgets Widgets are implemented in SVG and ECMA-Script unless specified otherwise. 6.2 Sequenc
34、es 6.2.1 animatedIcon This widget has an active icon, animated with scripting. Directory: widgets/animatedIcon 6.2.2 c1 This c1 widget and its component c1comp test many features of MPEG-U, including activation and deactivation of a component, binding of multiple interfaces, exchanging various kinds
35、 of messages c1 displays success messages numbered from 000 to 023. One message appears twice as 0-. Any number missing in the sequence means there is a bug. Directory: widgets/c1 & widgets/c1comp 6.2.3 c2 This c2 widget and its component c1comp test some features of MPEG-U, in particular the saving
36、 and restoring of a preference. c1 displays success messages numbered from 000. One message appears twice as 0-. Any number missing in the sequence means there is a bug. Directory: widgets/c2 & widgets/c1comp 6.2.4 core This core widget and its component comp test the predefined messages from the co
37、re interfaces specifically. Directory widgets/core/main & widgets/core/comp 6.2.5 upnp_light_switch Tests the connection with an UPNP service. Intended for use with the Intel Network Light. Directory: widgets/upnp_light_switch 6.2.6 light_switch_pair These two widgets test the connection of two widg
38、ets in local or remote mode. One acts as a switch and the other as a light bulb. Directory: widgets/light_switch_pair/comwidin and widgets/light_switch_pair/comwidout ISO/IEC 23007-3:2011(E) 4 ISO/IEC 2011 All rights reserved6.2.7 clock This widget is a digital clock implemented in BIFS. It uses pre
39、ferences and localization. Directory: widgets/clock 6.2.8 dlnaplayercontrol and simpleplayercontrol These two widgets control an UPnP AVRenderer, the first with scripting, and the second with a purely declarative scene and limited functionality. Directory: widgets/dlnaplayercontrol and widgets/simpl
40、eplayercontrol 6.2.9 internet_radio and internet_radio_control These two widgets implement a radio playing streamed audio from the Internet, and a very simple control panel for the radio. The radio widget uses preferences to reload its previous execution context. Directory: widgets/internet_radio an
41、d widgets/internet_radio_control 6.2.10 widget_spy This widget defines interfaces of 4 other widgets above and of GPAC renderers and shows the binding status of these interfaces, thus implementing a test for the presence/absence of the other widgets. Directory: widgets/widget_spy 6.3 Coverage of MPE
42、G-U features Feature Sequence Positive test ZIP packaging mp4/animatedIcon.wgt Y ZIP packaged widget without manifest special/z1.wgt N ISO-FF packaging wgts/animatedIcon.mgt Y unpackaged widgets/animatedIcon Y unpackaged widget without manifest special/z1/ N Communication: input messages widgets/lig
43、ht_switch_pair Y Communication: output messages widgets/light_switch_pair Y Communication: reply messages widgets/light_switch_pair Y Multiple instances widgets/light_switch_pair/comwidin Y Localization widgets/clock Y Widgets with invalid manifest W3C invalid widgets from the W3C sequences N invali
44、d Widgets in ZIP packages W3C invalid widgets from the W3C sequences N ISO/IEC 23007-3:2011(E) ISO/IEC 2011 All rights reserved 5valid widgets (display of metadata of the widget) any valid widget Y widget Life Cycle Events widgets/core/comp Y matching interfaces (Testing dynamic matching of interfac
45、es by adding, removing, adding one of the widget in a pair of compatible widgets) widgets/light_switch_pair Y bindAction widgets/widget_spy Y unbindAction widgets/widget_spy Y multiple bindings true widgets/upnp_light_switch Y multiple bindings false widgets/light_switch/comwidin Y API MPEGWidget.on
46、InterfaceBind widgets/MPEGWidgetInterfaceTesting Y API MPEGWidget.onInterfaceUnbind widgets/MPEGWidgetInterfaceTesting Y API MPEGWidget.onActivation widgets/MPEGWidgetInterfaceTesting Y API MPEGWidget.activateComponentWidget widgets/MPEGWidgetInterfaceTesting Y API MPEGWidget.deactivateComponentWidg
47、et widgets/MPEGWidgetInterfaceTesting Y API MPEGWidget.getInterfaceHandlersByType widgets/c1 Y API InterfaceHandler.bound widgets/MPEGWidgetInterfaceTesting Y API InterfaceHandler.type widgets/MPEGWidgetInterfaceTesting Y API InterfaceHandler.invoke widgets/c1 Y API InterfaceHandler.msgHandlerFactor
48、y widgets/c1 Y API InterfaceHandler.invokeReply widgets/c1comp Y API MsgHandler.msgName widgets/c1comp Y API MsgHandler.interfaceHandler widgets/c1comp Y discardable widget widgets/c1comp Y widget manifest with multiple content elements widgets/animatedIcon Y contextConfiguration widgets/internet_ra
49、dio Y overriden preferences widgets/internet_radio Y serviceProvider widgets/light_switch_pair/comwidin Y component widgets/c1 Y component with connectTo widgets/c1 Y required Interfaces widgets/c1 Y ISO/IEC 23007-3:2011(E) 6 ISO/IEC 2011 All rights reservedinputAction with a node widgets/light_switch_pair/comwidout Y inputAction with a function widgets/c1 Y outputTrigger with a node widgets/light_switch_pair/comwidout Y outputTrigger with an event widgets/core/comp Y default input widgets/simplepla