1、 ETSI TS 102 819 V1.4.1 (2008-05)Technical Specification Digital Video Broadcasting (DVB);Globally Executable MHP version 1.0.3(GEM 1.0.3)European Broadcasting Union Union Europenne de Radio-Tlvision EBUUER ETSI ETSI TS 102 819 V1.4.1 (2008-05) 2 Reference RTS/JTC-DVB-220 Keywords API, broadcasting,
2、 digital, DVB, interaction, multimedia, profile, video ETSI 650 Route des Lucioles F-06921 Sophia Antipolis Cedex - FRANCE Tel.: +33 4 92 94 42 00 Fax: +33 4 93 65 47 16 Siret N 348 623 562 00017 - NAF 742 C Association but non lucratif enregistre la Sous-Prfecture de Grasse (06) N 7803/88 Important
3、 notice Individual copies of the present document can be downloaded from: http:/www.etsi.org The present document may be made available in more than one electronic version or in print. In any case of existing or perceived difference in contents between such versions, the reference version is the Por
4、table Document Format (PDF). In case of dispute, the reference shall be the printing on ETSI printers of the PDF version kept on a specific network drive within ETSI Secretariat. Users of the present document should be aware that the document may be subject to revision or change of status. Informati
5、on on the current status of this and other ETSI documents is available at http:/portal.etsi.org/tb/status/status.asp If you find errors in the present document, please send your comment to one of the following services: http:/portal.etsi.org/chaircor/ETSI_support.asp Copyright Notification No part m
6、ay be reproduced except as authorized by written permission. The copyright and the foregoing restriction extend to reproduction in all media. European Telecommunications Standards Institute 2008. European Broadcasting Union 2008. All rights reserved. DECTTM, PLUGTESTSTM, UMTSTM, TIPHONTM, the TIPHON
7、 logo and the ETSI logo are Trade Marks of ETSI registered for the benefit of its Members. 3GPPTM is a Trade Mark of ETSI registered for the benefit of its Members and of the 3GPP Organizational Partners. ETSI ETSI TS 102 819 V1.4.1 (2008-05) 3 Contents Intellectual Property Rights10 Foreword.10 1 S
8、cope 11 2 References 11 2.1 Normative references .11 2.2 Informative references12 2.3 Superseding references.13 3 Definitions and abbreviations.13 3.1 Definitions13 3.1.1 Definitions from MHP 13 3.1.2 Definitions introduced by GEM13 3.2 Abbreviations .14 4 General considerations and conventions 14 4
9、.1 General considerations .14 4.1.1 Purpose .14 4.1.2 Format.15 4.1.3 Inclusion of MHP features15 4.1.3.1 Subsetting prohibited 15 4.1.3.2 Supersetting permitted 15 4.1.4 Addition of non-GEM interfaces 15 4.1.4.1 DVB-J enumerations.16 4.1.4.2 Competitive APIs16 4.1.4.2.1 Illustration of Complementar
10、y Functional Equivalents.16 4.1.4.2.2 Illustration of Competitive APIs17 4.1.5 Application areas 17 4.1.6 Profiles17 4.1.7 Full conformance with the present document .17 4.2 Conventions18 4.2.1 References within the MHP specification.18 4.2.2 Terminology in the MHP specification.18 4.2.2.1 MHP18 4.2
11、.2.2 Resident navigator.18 4.2.2.3 DVB service18 4.2.3 Inclusion of clauses of the MHP specification18 4.2.4 Conventions within the present document 19 5 Basic architecture .19 6 Transport protocols.19 6.1 Introduction 19 6.2 Broadcast channel protocols.19 6.2.1 MPEG-2 transport stream .19 6.2.2 MPE
12、G-2 sections 19 6.2.3 DSM-CC private data .20 6.2.4 DSM-CC data carousel .20 6.2.5 Object carousel .20 6.2.5.1 DVB-J class files.20 6.2.5.2 DVB-HTML document files .20 6.2.5.3 Loss of carousel behaviour20 6.2.6 Protocol for delivery of IP multicast over the broadcast channel .20 6.2.7 Internet Proto
13、col (IP) 20 6.2.8 User Datagram Protocol (UDP)21 6.2.9 Service information.21 6.2.10 IP signalling21 6.3 Interaction channel protocols .21 ETSI ETSI TS 102 819 V1.4.1 (2008-05) 4 6.3.1 Network Dependent Protocols 21 6.3.2 Internet Protocol .22 6.3.3 Transmission Control Protocol .22 6.3.4 UNO-RPC.22
14、 6.3.5 UNO-CDR 22 6.3.6 DSM-CC User to User22 6.3.7 Hypertext Transfer Protocol (HTTP)22 6.3.7.1 HTTP 1.1.22 6.3.8 Service Specific 22 6.3.9 User Datagram Protocol22 6.3.10 DNS 22 7 Content formats22 7.1 Static formats23 7.1.1 Bitmap image formats.23 7.1.1.1 Image encoding restrictions 23 7.1.1.2 JP
15、EG .23 7.1.1.3 PNG.23 7.1.1.4 GIF 23 7.1.2 MPEG-2 I-Frames 23 7.1.3 MPEG-2 Video “drips“.23 7.1.4 Monomedia format for audio clips .23 7.1.5 Monomedia format for text.23 7.2 Broadcast streaming formats 23 7.2.1 Audio 23 7.2.2 Video 24 7.2.3 Subtitles 24 7.3 Resident fonts.24 7.4 Downloadable fonts24
16、 7.5 Colour representation .24 7.6 MIME types24 8 DVB-HTML.25 9 Application model25 9.1 Broadcast GEM applications25 9.2 DVB-J model25 9.3 DVB-HTML model26 9.4 Inter-application resource management26 10 Application signalling 26 10.1 Introduction 26 10.1.1 Summary of requirements on common signallin
17、g 26 10.1.2 Summary of additional signalling for DVB-J applications.26 10.2 Program specific information.27 10.3 Locators within an application description.27 10.4 Application description 27 10.4.1 Application description transmission and monitoring 27 10.4.2 Visibility of application description an
18、d Tuning 27 10.4.3 Content of the application description 28 10.4.4 Applications from previously selected services29 10.5 DVB-J specific application description29 10.5.1 General29 10.5.2 Content of DVB-J application description29 10.6 Constant Values30 11 DVB-J platform30 11.1 The virtual machine30
19、11.2 General issues.30 11.3 Fundamental DVB-J APIs31 11.4 Presentation APIs .31 11.5 Data access APIs 32 11.5.1 Broadcast Transport Protocol Access API32 11.5.2 Support for Multicast IP over the Broadcast Channel.33 ETSI ETSI TS 102 819 V1.4.1 (2008-05) 5 11.5.3 Support for IP over the Return Channe
20、l33 11.5.4 MPEG-2 Section Filter API33 11.5.5 Mid-Level Communications API33 11.5.6 Persistent Storage API 33 11.6 Service information and selection APIs .33 11.6.1 Signalling-bound service information API .33 11.6.2 Service selection API33 11.6.3 Tuning API .33 11.6.4 Conditional access API.34 11.6
21、.5 Protocol independent SI API 34 11.7 Common infrastructure APIs34 11.7.1 APIs to support DVB-J application lifecycle34 11.7.2 Application discovery and launching APIs.34 11.7.3 Inter-application communication API.35 11.7.4 Basic MPEG concepts 35 11.7.5 Resource notification 35 11.7.6 Content refer
22、encing.35 11.7.7 Common error reporting .36 11.8 Security 36 11.8.1 Basic Security .36 11.8.2 APIs for return channel security .36 11.8.3 Additional permissions classes .37 11.8.4 General Security Issues.37 11.9 Other APIs37 11.9.1 Timer support37 11.9.2 User settings and preferences API 37 11.9.3 P
23、rofile and version properties .37 11.10 Java permissions.38 11.11 Content referencing 38 11.11.0 General38 11.11.1 Transport stream .39 11.11.2 Network 39 11.11.3 Bouquet.39 11.11.4 Service 39 11.11.4.1 MPEG/GEM specific service39 11.11.4.2 Generic service39 11.11.6 MPEG elementary stream.40 11.11.7
24、 File40 11.11.8 Directory.40 11.11.9 Drip feed decoder .40 11.11.10 Irrelevant.41 11.11.11 Methods working on many locator types41 11.11.12 Support for the HTTP Protocol in DVB-J 41 12 Security.41 12.1 Introduction 41 12.1.1 Overview of the security framework for applications.42 12.1.2 Overview of r
25、eturn channel security.42 12.1.3 Extensions to MHP application signing framework .42 12.2 Authentication of applications42 12.3 Message transport.42 12.4 Detail of application authentication messages43 12.5 Profile of X.509 certificates for authentication of applications43 12.6 Security policy for a
26、pplications43 12.6.1 General principles.43 12.6.2 Permission request file43 12.6.2.1 File encoding.44 12.6.2.2 File integrity44 12.6.2.3 Example 44 12.6.2.4 Permission request file name and location44 12.6.2.5 Permission Request file.44 12.6.2.6 Credentials 44 ETSI ETSI TS 102 819 V1.4.1 (2008-05) 6
27、 12.6.2.7 File Access 44 12.6.2.8 CA API45 12.6.2.9 Application lifecycle control policy45 12.6.2.10 Return channel access policy 45 12.6.2.11 Tuning access policy.45 12.6.2.12 Service selection policy.45 12.6.2.13 Media API access policy.45 12.6.2.14 Inter-application communication policy .45 12.6.
28、2.15 User Setting and Preferences access policy 45 12.6.2.16 Network permissions.45 12.7 Example of creating an application that can be authenticated45 12.8 GEM/MHP certification procedures.46 12.9 Certificate management46 12.9.1 Certificate Revocation Lists46 12.9.2 Root certificate management 46 1
29、2.9.2.1 Introduction.46 12.9.2.2 Security of the root certificate replacement message 46 12.9.2.3 Format of RCMM .46 12.9.2.4 Distribution of root certificate replacement messages 47 12.9.2.5 RCMM Processing47 12.9.2.6 Example: Renewal of a root certificate .47 12.9.3 Test certificates.47 12.10 Secu
30、rity on the return channel47 12.11 The internet profile of X.509 (informative)47 12.12 Platform minima.48 13 Graphics reference model.48 13.0 General .48 13.1 Supported graphics resolutions.48 13.2 Aspect Ratio Support48 13.3 Broadcast streaming formats 48 13.4 Subtitles48 14 System integration aspe
31、cts .49 14.1 Namespace mapping.49 14.2 Reserved names49 14.3 XML notation.49 14.4 Network signalling (error behaviour).49 14.5 Text encoding of application identifiers.49 14.6 Filename requirements .49 14.7 Files and file names49 14.8 Locators and content referencing .50 14.9 Service identification5
32、0 14.10 CA system 51 15 Detailed platform profile definitions51 15.0 General .51 15.1 PNG - restrictions.52 15.2 Minimum media formats supported by DVB-J APIs .52 15.3 JPEG - restrictions53 15.4 Locale support53 15.5 Video raster format dependencies 53 15.5.1 Standard Definition (PAL/SECAM or NTSC r
33、esolution).53 15.5.1.1 Logical pixel resolution.53 15.6 Functional Equivalents .53 15.6.1 Modifications to MHP Definitions of Functional Equivalents .56 15.6.1.1 Carousel 56 15.6.1.1.1 NSAP Address.56 15.6.1.1.2 Content type descriptor56 15.6.1.1.3 Application Icons Descriptor.56 15.6.1.2 Applicatio
34、n Signalling 56 15.6.1.2.1 Transport protocol descriptor 56 15.6.1.3 Application Name Descriptor56 ETSI ETSI TS 102 819 V1.4.1 (2008-05) 7 16 Registry of constants 57 16.1 System constants 57 16.2 DVB-J constants.57 Annex A (normative): External references; errata, clarifications and exemptions .58
35、A.1 Errata to MHP 58 A.1.1 MHP Errata Document.58 A.1.2 Application name descriptor.59 A.1.3 Java TV Overview - Enumerated Types.59 A.1.4 org.dvb.io.persistent.FileAttributes class .59 A.1.5 org.davic.media.LanguageControl class.60 A.1.6 application_id range for unsigned applications .60 A.1.7 DripF
36、eedPermission name parameter.60 A1.8 Data rate for return channel interface .60 A.2 Errata to DAVIC 60 A.2.1 org.davic.media.MediaTimeEventControl - deregistering listeners .60 A.2.2. org.davic.resources.ResourceClient.requestRelease.61 A.3 Additional MHP requirements on Java TV61 A.3.1 javax.tv.uti
37、l.TVTimerSpec .61 Annex B (normative): Broadcast filesystem and trigger transport.63 B.0 General .63 B.1 Service domain.63 B.2 Filesystem requirements.63 B.2.1 Static requirements.63 B.2.1.1 Caching behaviour 64 B.2.2 Filesystem updates .64 B.3 Stream description64 B.4 Trigger signalling .65 B.4.0 G
38、eneral .65 B.4.1 Trigger object .65 B.4.2 Trigger event 65 B.4.2.1 Extrapolation of timebase values 66 B.4.2.2 Monitoring of trigger events .66 Annex C (informative): References.67 C.1 Informative references from MHP .67 C.2 Other informative references67 Annex D (normative): Text presentation .68 D
39、.1 Font Technology 68 D.2 Horizontal resolution68 D.3 Text wrapping setting is true68 Annex E (normative): Character set 69 Annex F (informative): Authoring and implementation guidelines 70 Annex G (normative): Minimum platform capabilities71 G.1 Graphics .71 G.1.1 Device resolution for Standard Def
40、inition71 G.1.2 Device Resolution for Standard Definition 71 G.1.3 Minimum Colour Lookup Table 71 G.2 Audio71 ETSI ETSI TS 102 819 V1.4.1 (2008-05) 8 G.3 Video 71 G.4 Resident fonts and text rendering.71 G.5 Input events 72 G.6 Memory 72 G.7 Other resources.72 Annex H (normative): Extensions.73 Anne
41、x I (normative): DVB-J fundamental classes.74 Annex J (normative): DVB-J event API75 Annex K (normative): DVB-J persistent storage API.76 Annex L (normative): User settings and preferences API77 Annex M (normative): SI Access API .78 Annex N (normative): Streamed media API extensions .79 N.1 Active
42、Format Definition .79 N.1.1 MHP Signalling for Active Format Definition.79 Annex O (normative): Integration of the JavaTV SI API 80 Annex P (normative): Broadcast transport protocol access 81 P.1 Overview 81 P.2 The org.dvb.dsmcc package .82 P.2.0 General .82 P.2.1 DSMCCObject .82 P.2.1.1 DSMCCObjec
43、t.getSigners() .83 P.2.1.2 DSMCCObject.getSigners(boolean known_root).83 P.2.2 DSMCCStream.83 P.2.2.1 isAudio() method 83 P.2.2.2 isData() method 83 P.2.2.3 isMPEGProgram() method .83 P.2.2.4 isVideo() method 83 P.2.3 DSMCCStreamEvent .83 P.2.3.1 Lightweight binding of trigger API 84 P.2.3.1.1 DSMCC
44、StreamEvent.getEventList() 84 P.2.3.1.2 StreamEvent.getEventId().84 P.2.3.1.3 DSMCCStreamEvent.unsubscribe(int, StreamEventListener)84 P.2.4 InvalidFormatException.84 P.2.5 ServiceDomain .84 P.2.5.1 ServiceDomain.attach(byte).84 P.2.5.2 ServiceDomain.attach.84 P.2.5.2.1 ServiceDomain.attach(Locator)
45、 84 P.2.5.2.2 ServiceDomain.attach(Locator, int) 85 P.2.5.3 ServiceDomain.getLocator().85 P.2.5.4 ServiceDomain.getNSAPAddress()85 P.2.5.5 ServiceDomain.getURL(Locator).85 P.2.5.6 ServiceDomain.isNetworkConnectionAvailable()85 P.2.6 ServiceXFRErrorEvent 85 P.2.7 ServiceXFRException86 P.2.8 ServiceXF
46、RReference 86 P.2.9 StreamEvent .86 Annex Q (normative): Datagram socket buffer control87 ETSI ETSI TS 102 819 V1.4.1 (2008-05) 9 Annex R (normative): DVB-J return channel connection management API .88 Annex S (normative): Application listing and launching.89 S.1 Additional database filter types89 A
47、nnex T (normative): Permissions.90 Annex U (normative): Extended graphics APIs 91 U.1 .tuning.DvbNetworkInterfaceSIUtil .91 U.2 org.dvb.ui.DVBGraphics.setXORMode()91 Annex V: Void 92 Annex W (informative): DVB-J examples.93 W.1 DVB-J examples from MHP 93 W.2 Example of enumeration extension 93 W.3 E
48、xample of testing for optional APIs .94 W.4 Example of lightweight trigger API .95 Annex X (normative): Test support97 Annex Y (normative): Inter-application and Inter-Xlet communication API98 Annex Z (informative): Services, service contexts and applications in an MHP environment .99 History 100 ET
49、SI ETSI TS 102 819 V1.4.1 (2008-05) 10Intellectual Property Rights IPRs essential or potentially essential to the present document may have been declared to ETSI. The information pertaining to these essential IPRs, if any, is publicly available for ETSI members and non-members, and can be found in ETSI SR 000 314: “Intellectual Property Rights (IPRs); Essential, or potentially Essential, IPRs notified to ETSI in respect of ETSI standards“, which is available from the ETSI Secretariat. Latest updates are available on the ETSI Web server (http:/webapp.etsi.org/I