1、 International Telecommunication Union ITU-T H.764TELECOMMUNICATION STANDARDIZATION SECTOR OF ITU (06/2012) SERIES H: AUDIOVISUAL AND MULTIMEDIA SYSTEMSIPTV multimedia services and applications for IPTV IPTV multimedia application frameworks IPTV services enhanced script language Recommendation ITU-
2、T H.764 ITU-T H-SERIES RECOMMENDATIONS AUDIOVISUAL AND MULTIMEDIA SYSTEMS CHARACTERISTICS OF VISUAL TELEPHONE SYSTEMS H.100H.199 INFRASTRUCTURE OF AUDIOVISUAL SERVICES General H.200H.219 Transmission multiplexing and synchronization H.220H.229 Systems aspects H.230H.239 Communication procedures H.24
3、0H.259 Coding of moving video H.260H.279 Related systems aspects H.280H.299 Systems and terminal equipment for audiovisual services H.300H.349 Directory services architecture for audiovisual and multimedia services H.350H.359 Quality of service architecture for audiovisual and multimedia services H.
4、360H.369 Supplementary services for multimedia H.450H.499 MOBILITY AND COLLABORATION PROCEDURES Overview of Mobility and Collaboration, definitions, protocols and procedures H.500H.509 Mobility for H-Series multimedia systems and services H.510H.519 Mobile multimedia collaboration applications and s
5、ervices H.520H.529 Security for mobile multimedia systems and services H.530H.539 Security for mobile multimedia collaboration applications and services H.540H.549 Mobility interworking procedures H.550H.559 Mobile multimedia collaboration inter-working procedures H.560H.569 BROADBAND, TRIPLE-PLAY A
6、ND ADVANCED MULTIMEDIA SERVICES Broadband multimedia services over VDSL H.610H.619 Advanced multimedia services and applications H.620H.629 Ubiquitous sensor network applications and Internet of Things H.640H.649 IPTV MULTIMEDIA SERVICES AND APPLICATIONS FOR IPTV General aspects H.700H.719 IPTV term
7、inal devices H.720H.729 IPTV middleware H.730H.739 IPTV application event handling H.740H.749 IPTV metadata H.750H.759 IPTV multimedia application frameworks H.760H.769IPTV service discovery up to consumption H.770H.779 Digital Signage H.780H.789 For further details, please refer to the list of ITU-
8、T Recommendations. Rec. ITU-T H.764 (06/2012) i Recommendation ITU-T H.764 IPTV services enhanced script language Summary Recommendation ITU-T H.764 describes an object-oriented programming language called “Internet protocol television services enhanced script language (IPTV SESL)“, which is based o
9、n LIME-Script of Recommendation ITU-T H.762, and includes enhanced functionalities. The language is used in IPTV services for performing computations and manipulating computational objects within an IPTV terminal device environment. There are two primary implementations of this Recommendation, the “
10、Core script profile“ and the “Extended script profile“. The core script profile is conformant with the LIME-Script of Recommendation ITU-T H.762 and is used for the objects for client-side computation. The extended script profile is necessary for the functional extensions required for IPTV services.
11、 History Edition Recommendation Approval Study Group 1.0 ITU-T H.764 2012-06-29 16 Keywords IPTV SESL, multimedia application framework (MAFR), script language, web-based. ii Rec. ITU-T H.764 (06/2012) FOREWORD The International Telecommunication Union (ITU) is the United Nations specialized agency
12、in the field of telecommunications, information and communication technologies (ICTs). The ITU Telecommunication Standardization Sector (ITU-T) is a permanent organ of ITU. ITU-T is responsible for studying technical, operating and tariff questions and issuing Recommendations on them with a view to
13、standardizing telecommunications on a worldwide basis. The World Telecommunication Standardization Assembly (WTSA), which meets every four years, establishes the topics for study by the ITU-T study groups which, in turn, produce Recommendations on these topics. The approval of ITU-T Recommendations
14、is covered by the procedure laid down in WTSA Resolution 1. In some areas of information technology which fall within ITU-Ts purview, the necessary standards are prepared on a collaborative basis with ISO and IEC. NOTE In this Recommendation, the expression “Administration“ is used for conciseness t
15、o indicate both a telecommunication administration and a recognized operating agency. Compliance with this Recommendation is voluntary. However, the Recommendation may contain certain mandatory provisions (to ensure, e.g., interoperability or applicability) and compliance with the Recommendation is
16、achieved when all of these mandatory provisions are met. The words “shall“ or some other obligatory language such as “must“ and the negative equivalents are used to express requirements. The use of such words does not suggest that compliance with the Recommendation is required of any party. INTELLEC
17、TUAL PROPERTY RIGHTS ITU draws attention to the possibility that the practice or implementation of this Recommendation may involve the use of a claimed Intellectual Property Right. ITU takes no position concerning the evidence, validity or applicability of claimed Intellectual Property Rights, wheth
18、er asserted by ITU members or others outside of the Recommendation development process. As of the date of approval of this Recommendation, ITU had not received notice of intellectual property, protected by patents, which may be required to implement this Recommendation. However, implementers are cau
19、tioned that this may not represent the latest information and are therefore strongly urged to consult the TSB patent database at http:/www.itu.int/ITU-T/ipr/. ITU 2013 All rights reserved. No part of this publication may be reproduced, by any means whatsoever, without the prior written permission of
20、 ITU. Rec. ITU-T H.764 (06/2012) iii Table of Contents Page 1 Scope 1 2 References. 1 3 Definitions 2 3.1 Terms defined elsewhere 2 3.2 Terms defined in this Recommendation . 3 4 Abbreviations and acronyms 3 5 Conventions 4 6 Overview 4 7 Core script profile . 5 7.1 Global . 5 7.2 Object . 5 7.3 Fun
21、ction 6 7.4 Array . 6 7.5 String 7 7.6 Boolean . 8 7.7 Number . 8 7.8 Date . 9 8 Extended script profile 11 8.1 MediaController object . 11 8.2 Event object 33 8.3 Service object . 36 8.4 XMLHttpRequest object 43 Annex A Data types 47 Annex B Content Metadata used by MediaController object . 48 Appe
22、ndix I Remote control key code . 50 Appendix II Informative text on extended script profile 52 II.1 MediaController object . 52 II.2 Event object 52 II.3 Service object . 62 Bibliography. 63 iv Rec. ITU-T H.764 (06/2012) List of tables Page Table 8-1 Data structure 33 Table 8-2 Event types . 34 Tabl
23、e 8-3 Definition of EVENT_GO_CHANNEL 34 Table 8-4 Definition of EVENT_MEDIA_END 34 Table 8-5 Definition of EVENT_MEDIA_BEGINNING 35 Table 8-6 Definition of EVENT_MEDIA_ERROR . 35 Table 8-7 Definition of EVENT_PLAYMODE_CHANGE 35 Table 8-8 Definition of PLAY_MODE 36 Table 8-9 Definition of PLAY_RATE 3
24、6 Table 8-10 Definition of EVENT_REMINDER 36 Table 8-11 Fields defined for serviceEntry . 39 Table A.1 Definition of data types 47 Table I.1 Key code list 50 List of figures Page Figure II.1 Example of the Event object controlling the media status 53 Figure II.2 State transition for Event object in
25、a VoD scenario 53 Figure II.3 State transition for Event object in a linear TV with trick mode scenario 59 Rec. ITU-T H.764 (06/2012) 1 Recommendation ITU-T H.764 IPTV services enhanced script language 1 Scope This Recommendation describes a script language for IPTV services, Internet protocol telev
26、ision services enhanced script language (IPTV SESL). This language is used to provide interoperability and harmonization among IPTV multimedia application frameworks. It is foreseeable that a combination of different standard multimedia application frameworks will be used to provide standard IPTV se
27、rvices globally. This Recommendation describes IPTV SESL, as one of these standard multimedia application frameworks for providing the interoperable use of IPTV services. The core script profile, as well as enhanced functionalities for IPTV services, are given. 2 References The following ITU-T Recom
28、mendations and other references contain provisions which, through reference in this text, constitute provisions of this Recommendation. At the time of publication, the editions indicated were valid. All Recommendations and other references are subject to revision; users of this Recommendation are th
29、erefore encouraged to investigate the possibility of applying the most recent edition of the Recommendations and other references listed below. A list of the currently valid ITU-T Recommendations is regularly published. The reference to a document within this Recommendation does not give it, as a st
30、and-alone document, the status of a Recommendation. ITU-T H.721 Recommendation ITU-T H.721 (2009), IPTV terminal devices: Basic model. ITU-T H.730 Recommendation ITU-T H.730 (2012), Web-based terminal middleware for IPTV services. ITU-T H.750 Recommendation ITU-T H.750 (2008), High-level specificati
31、on of metadata for IPTV services. ITU-T H.762 Recommendation ITU-T H.762 (2009), Lightweight interactive multimedia environment (LIME) for IPTV services. ITU-T Y.1901 Recommendation ITU-T Y.1901 (2009), Requirements for the support of IPTV services. IETF RFC 2326 IETF RFC 2326 (1998), Real time Stre
32、aming protocol (RTSP). IETF RFC 2616 IETF RFC 2616 (1999), Hypertext Transfer Protocol HTTP/1.1. ISO/IEC 8601 ISO/IEC 8601:2004, Data Elements and Interchange Formats Information Interchange Representation of dates and times. ISO/IEC 16262 ISO/IEC 16262:2011, Information technology Programming langu
33、ages, their environments and system software interfaces ECMAScript language specification. 2 Rec. ITU-T H.764 (06/2012) 3 Definitions 3.1 Terms defined elsewhere This Recommendation uses the following terms defined elsewhere: 3.1.1 ECMAScript ISO/IEC 16262: The programming language defined by ISO/IE
34、C 16262:2011. NOTE Edition 5.1 of ECMAScript b-ECMA-262 is fully aligned with ISO/IEC 16262 (third edition). 3.1.2 electronic programme guide (EPG) ITU-T Y.1901: A structured set of data, intended to provide information on available content that may be accessed by end users. NOTE In some traditional
35、 broadcast services, EPG is defined as an on-screen guide used to display information on scheduled live broadcast television programmes, allowing a viewer to navigate, select and discover programmes by time, title, channel, genre. This traditional definition does not cover “catalogues“ for on-demand
36、 and download services (sometimes called an electronic content guide (ECG) and broadband content guide (BCG) and bidirectional interactive services (sometimes called an interactive programme guide (IPG) for end-user interaction with a server or head-end. 3.1.3 end system ITU-T Y.1901: A single or se
37、t of consumer devices that support IPTV services (e.g., delivery network gateway, display). 3.1.4 end user ITU-T Y.1910: The actual user of the products or services. NOTE The end user consumes the product or service. An end user can optionally be a subscriber. 3.1.5 Internet protocol television (IPT
38、V) ITU-T Y.1901: Multimedia services such as television/video/audio/text/graphics/data delivered over IP-based networks that are managed to support the required level of QoS/QoE, security, interactivity and reliability. 3.1.6 IPTV terminal device ITU-T Y.1901: A terminal device which has ITF functio
39、nality, e.g., a STB. 3.1.7 IPTV terminal function (ITF) ITU-T Y.1901: The end-user function(s) associated with a) receiving and responding to network control channel messages regarding session set-up, maintenance, and teardown, and b) receiving the content of IP transport from the network and render
40、ing. 3.1.8 linear TV ITU-T Y.1901: A television service in which a continuous stream flows in real time from the service provider to the terminal device and where the user cannot control the temporal order in which contents are viewed. 3.1.9 metadata ITU-T Y.1901: Structured, encoded data that descr
41、ibe characteristics of information-bearing entities to aid in the identification, discovery, assessment and management of the described entities. NOTE EPG metadata has many applications and may vary in depth from merely identifying the content package title or information to populate an EPG to provi
42、ding a complete index of different scenes in a movie or providing business rules detailing how the content package may be displayed, copied or sold. 3.1.10 middleware ITU-T Y.1901: A layer of software between applications and resources, which consists of a set of service enablers that allow multiple
43、 functionalities running on one or more devices in an IPTV system to interact across a network. 3.1.11 network personal video recorder (nPVR) ITU-T Y.1901: This is the same as PVR except that the recording device is located at the service providers premises. 3.1.12 personal video record (PVR) ITU-T
44、Y.1901: An end-user controlled device that records, stores and plays back multimedia content. PVR is also known as personal digital recorder (PDR). 3.1.13 SCP ITU-T Y.1901: A combination of service protection and content protection. Rec. ITU-T H.764 (06/2012) 3 3.1.14 terminal device (TD) ITU-T Y.19
45、01: An end-user device which typically presents and/or processes the content, such as a personal computer, a computer peripheral, a mobile device, a TV set, a monitor, a VoIP terminal or an audiovisual media player. 3.1.15 time shifting ITU-T Y.1901: A function which allows playback of content after
46、 its initial transmission. 3.1.16 trick mode functionality ITU-T Y.1901: The ability to pause, rewind or forward stored content. 3.1.17 TV with trick mode ITU-T Y.1901: TV service with trick mode functionality. 3.1.18 user agent b-W3C WebArch: One type of Web agent; a piece of software acting on beh
47、alf of a person. 3.1.19 video-on-demand (VoD) ITU-T Y.1901: A service in which the end user can, on demand, select and view video content and where the end user can control the temporal order in which the video content is viewed (e.g., the ability to start the viewing, pause, fast forward, rewind, e
48、tc.). NOTE The viewing may occur sometime after the selection of the video content. 3.2 Terms defined in this Recommendation This Recommendation defines the following terms: 3.2.1 application: A functional implementation realized as software running in one or spread over several interplaying hardwar
49、e entities. 3.2.2 resource-constrained TD: An IPTV terminal device with a basic set of capabilities, such as those given in ITU-T H.721. 4 Abbreviations and acronyms This Recommendation uses the following abbreviations and acronyms: DOM Document Object Module DRM Digital Rights Management FFW Fast Forward FRW Fast Rewind HTML Hypertext Markup Language HTTP Hypertext Transport Protocol HTTPS Hypertext Transport Protocol over