1、 ETSI TS 102 523 V1.1.1 (2006-09)Technical Specification Digital Video Broadcasting (DVB);Portable Content Format (PCF) specification 1.0European Broadcasting Union Union Europenne de Radio-Tlvision EBUUER ETSI ETSI TS 102 523 V1.1.1 (2006-09) 2 Reference DTS/JTC-DVB-173 Keywords broadcasting, digit
2、al, DVB, TV, 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 notice Individual copies of the pre
3、sent 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 Portable Document Format (PDF). In case
4、 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. Information on the current status of this and
5、 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 may be reproduced except as authorize
6、d by written permission. The copyright and the foregoing restriction extend to reproduction in all media. European Telecommunications Standards Institute 2006. European Broadcasting Union 2006. All rights reserved. DECTTM, PLUGTESTSTM and UMTSTM are Trade Marks of ETSI registered for the benefit of
7、its Members. TIPHONTMand the TIPHON logo are Trade Marks currently being registered by ETSI 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 523 V1.1.1 (2006-09) 3 Contents Intellectual
8、Property Rights16 Foreword.16 Introduction 16 1 Scope 18 2 References 18 3 Definitions and abbreviations.19 3.1 Definitions19 3.2 Abbreviations .23 4 Conventions23 5 Service author guide (informative).23 5.1 Introduction 23 5.2 An overview of a PCF service description .24 5.3 Components25 5.3.1 The
9、Service component 25 5.3.2 The Scene component.25 5.3.3 Layout components.26 5.3.3.1 Explicit layout .26 5.3.3.2 Flow layout .26 5.3.4 Return path components .27 5.3.5 Custom components28 5.4 Content .28 5.5 Behaviour .28 5.5.1 Events .29 5.5.2 Action language 29 5.6 Structuring a PCF service descri
10、ption 30 5.6.1 The href.30 5.6.2 Copy30 5.7 Managing differences between target platforms.31 5.7.1 Degrees of freedom.31 5.7.2 Profiles31 5.8 Transport and packaging 32 6 Architecture33 6.1 Introduction 33 6.1.1 Strong typing 33 6.1.2 Static and active description .34 6.1.3 Service representation.35
11、 6.1.4 Referencing model35 6.1.5 Data partitioning and reuse .36 6.2 Data types.37 6.2.1 Data type description 37 6.2.1.1 Data type model 37 6.2.1.2 Description space 38 6.2.1.3 Value items .39 6.2.2 Primitive types 40 6.2.2.1 Boolean .40 6.2.2.2 Integer .40 6.2.2.3 Enumeration40 6.2.2.4 String.41 6
12、.2.3 Core types .42 6.2.3.1 Colour .42 6.2.3.2 Currency42 6.2.3.3 Date.43 ETSI ETSI TS 102 523 V1.1.1 (2006-09) 4 6.2.3.4 Date and time 44 6.2.3.5 Font family45 6.2.3.6 Font size 45 6.2.3.7 Marked up text 46 6.2.3.8 Name .46 6.2.3.9 Position .47 6.2.3.10 Proportion .47 6.2.3.11 Size48 6.2.3.12 Time
13、49 6.2.3.13 Timecode.49 6.2.3.14 URI50 6.2.3.15 User keys.50 6.2.4 Octet data items 51 6.2.4.1 Octet data introduction51 6.2.4.2 Octet data model .51 6.2.4.3 Octet data containers .52 6.2.4.3.1 Portable MIME types 52 6.2.4.3.2 Meta property items.53 6.2.4.3.3 Embedded plain text data 53 6.2.4.3.4 Em
14、bedded binary data .54 6.2.4.3.5 Embedded base64 data 54 6.2.4.3.6 Embedded hexadecimal binary data 54 6.2.4.3.7 Embedded quoted printable data .54 6.2.4.3.8 External body items.54 6.2.4.3.9 Multipart data item 55 6.2.4.4 Octet data item types.56 6.2.4.4.1 String octet data items .56 6.2.4.4.2 Marke
15、d up text octet data items.56 6.2.4.4.3 Image octet data items .56 6.2.4.4.4 Stream octet data items57 6.2.5 Compound types .57 6.2.5.1 Compound data type .57 6.2.5.2 Map type and item.58 6.2.5.3 Typed array data type and array items 59 6.3 Service description structure 60 6.3.1 Description items 60
16、 6.3.2 Component items 61 6.3.3 Collection items 61 6.3.4 PCF container .61 6.3.5 Scene items .61 6.3.6 Service items.62 6.3.7 Scoping rules 62 6.4 Reference and navigation .63 6.4.1 Referencing model64 6.4.2 Typed reference 64 6.4.2.1 PCF item references 64 6.4.2.2 Reference path format and resolut
17、ion .64 6.4.3 Contextual resolution66 6.4.4 Map reference items67 6.4.5 Parameter items 68 6.4.6 Navigation reference items .69 6.5 Uniform Resource Identifiers .70 6.5.1 General usage70 6.5.2 URN syntax in the PCF 70 6.6 Marked up text representation71 7 General component specification .72 7.1 Over
18、view 72 7.2 Component specification model.72 7.2.1 Overview 72 7.2.2 Interface definition73 7.2.2.1 Groups.74 ETSI ETSI TS 102 523 V1.1.1 (2006-09) 5 7.2.2.2 Property specifications 76 7.2.2.3 Enumeration specifications .76 7.2.2.4 Handled event specifications.77 7.2.2.5 Generated event specificatio
19、ns78 7.2.2.6 Handled action specifications78 7.2.2.7 Generated error specifications.79 7.2.2.8 Intended implementation.79 7.2.2.9 Overview item.79 7.2.3 Textual description .79 7.2.4 Behaviour specification 80 7.3 Component instantiation model80 7.3.1 Component81 7.3.2 Properties 81 7.3.3 Cascaded p
20、roperties 82 7.3.4 Component implementation tolerance 82 7.4 Component behaviour 83 7.4.1 Behaviour overview83 7.4.2 Accessing component properties 83 7.4.3 Handled events84 7.4.4 Handled actions 84 7.4.5 Generated events.84 7.4.6 Generated errors85 7.4.7 Component scope85 7.5 Defined PCF component
21、classes 85 7.5.1 Overview 85 7.5.2 Visual components86 7.5.3 Non visual components.88 7.5.3.1 Functional components .88 7.5.3.2 Variable and cookie components 88 7.5.4 Container components 89 7.6 Custom components .90 7.7 Schema components .91 8 Layout specification .91 8.1 Introduction 91 8.2 Expli
22、cit layout 93 8.2.1 Introduction.93 8.2.2 Explicit layout container elements and characteristics .93 8.3 Flow layout.95 8.3.1 Introduction.95 8.3.2 Flow layout elements96 8.3.3 The flow layout box model.97 8.3.4 Flow layout box types.97 8.3.4.1 Overview.97 8.3.4.2 Containing blocks .98 8.3.4.3 Block
23、-level elements.99 8.3.4.4 Block formatting context.99 8.3.4.5 Inline-level elements .100 8.3.4.6 Inline formatting context.100 8.3.5 Layout properties 101 8.3.5.1 General properties .101 8.3.5.2 Side-specific properties.102 8.4 TextFlow 103 8.5 Table layout103 8.5.1 Introduction.103 8.5.2 Table lay
24、out algorithms 103 8.5.2.1 Fixed table layout103 8.5.2.2 Automatic table layout (optional) .104 8.5.2.3 Table height algorithm 105 8.5.2.4 Row height algorithm105 8.5.2.5 Cell height algorithm.105 8.5.2.6 Intra-cell content alignment 106 ETSI ETSI TS 102 523 V1.1.1 (2006-09) 6 8.5.2.6.1 Horizontal a
25、lignment .106 8.5.2.6.2 Vertical alignment .107 8.5.3 Borders107 8.6 Flow layout container components.108 8.7 Reference screen model109 8.7.1 The reference screen .109 8.7.2 Mapping the reference screen to a target device.109 8.7.2.1 Target device display resolution same as reference screen .109 8.7
26、.2.2 Target device display resolution different to reference screen109 8.7.2.3 Scaling the reference screen (informative)110 8.8 Registration of video and graphics .111 8.9 Display stack model .111 8.9.1 Initializing the display stack .111 8.9.2 Manipulating the display stack .112 8.10 Font selectio
27、n .113 9 Behaviour specification113 9.1 Introduction 114 9.1.1 Intrinsic component behaviour .114 9.1.2 Independent behaviour114 9.2 Events.115 9.2.1 Run-time event model.115 9.2.2 Event access declaration .115 9.3 Event propagation model115 9.3.1 Introduction.115 9.3.1.1 Object model.115 9.3.1.2 Co
28、mponent containment hierarchy .116 9.3.1.3 Event propagation .117 9.3.2 System events .117 9.3.2.1 Overview.117 9.3.2.2 System event propagation rules.117 9.3.3 User input events 118 9.3.3.1 Overview.118 9.3.3.2 Focus control.118 9.3.3.3 User input event propagation rules119 9.3.4 Component events 1
29、20 9.3.4.1 Overview.120 9.3.4.2 Component event propagation rules121 9.3.5 Error Events122 9.3.5.1 Execution error levels and default responses 122 9.3.5.2 Error types.122 9.4 Action language123 9.4.1 Introduction.123 9.4.2 Representation and execution .123 9.4.3 Valid action language .125 9.4.4 Act
30、ion language data type and action language items 125 9.4.5 Run-time data mapping.126 9.4.5.1 Execution context126 9.4.5.2 Run-time data types.127 9.4.6 Run-time execution model128 9.4.6.1 Statements .128 9.4.6.2 Assignment statement .128 9.4.6.3 Declaration statement129 9.4.6.4 Action call statement
31、.130 9.4.6.5 Conditional statement131 9.4.6.6 Loop statement and loop control.131 9.4.6.7 Execution errors 132 9.4.7 Expressions and conditions.132 9.4.7.1 Evaluation .132 9.4.7.2 Arithmetic operators133 9.4.7.3 Logical operators.134 9.4.7.4 Relative operators .134 ETSI ETSI TS 102 523 V1.1.1 (2006-
32、09) 7 9.4.8 System action library 134 9.4.9 Expression function library.134 9.5 Action language shortcuts 134 9.6 Statemachines.135 9.6.1 Introduction.135 9.6.1.1 State definition 135 9.6.1.2 PCF state types135 9.6.1.3 Object model.136 9.6.1.4 Transition and onevent object model 138 9.6.2 Statemachi
33、ne.138 9.6.3 Transition collection .139 9.6.3.1 Transition 139 9.6.3.2 Trigger.140 9.6.3.3 Guard.140 9.6.3.4 Action140 9.6.4 Top state .140 9.6.4.1 Initial state.141 9.6.4.2 Final state 142 9.6.4.3 History state 142 9.6.5 State collection145 9.6.5.1 State.145 9.6.5.1.1 State entry146 9.6.5.1.2 State
34、 exit 147 9.6.5.1.3 Internal transitions .147 9.6.5.2 Junction state.148 9.6.5.3 Choice state.150 9.7 OnEvent - statemachine shortcut152 9.8 User-defined behaviour 153 9.8.1 Scope of user-defined behaviour 153 9.8.2 Event propagation involving user-defined behaviour .153 10 Return path .155 10.1 Int
35、roduction 155 10.2 Return path components.155 10.2.1 Returnpath component155 10.2.2 Transfer collection 157 10.2.3 Transaction component.157 10.2.4 Indicate component.158 10.2.5 Securereturnpath component 159 10.3 Return path transfer process .159 10.4 Return path object model .160 10.5 Security of
36、return path data 160 10.5.1 Introduction.160 10.5.2 Signed data161 10.5.3 Secure data transfer.161 10.6 Return Path Transaction Format (RPTF)161 10.7 Connection usage display to viewer .162 11 Profiles .162 11.1 Introduction 162 11.2 Profile definition 163 11.3 Profile association 164 12 Service dig
37、est .164 12.1 Introduction 164 12.2 Digest definition.164 12.3 Profile alias definition 165 12.4 Example PCF service digests .166 13 Mechanism for transport and packaging (optional)166 13.1 PCF data exchange model 166 13.1.1 Assets, transactions and acceptability.166 13.1.2 Push update model167 ETSI
38、 ETSI TS 102 523 V1.1.1 (2006-09) 8 13.1.3 Pull update model .167 13.1.4 Online update model.167 13.1.5 Asset lifetime 167 13.1.6 Service packaging and references.167 13.1.7 Service coherence .168 13.1.8 Transcoder hints168 13.2 Detailed model specification 169 13.2.1 PCFTranscoder .169 13.2.2 Servi
39、ceRegistration.170 13.2.3 ServiceTransaction170 13.2.4 PCFService .171 13.2.5 PCFAsset and specializations .171 13.2.6 ExternalResource172 13.2.7 Hint and specializations 172 13.3 PCF data exchange sequence for transcoder input .173 Annex A (normative): Component specifications174 A.1 Container comp
40、onents174 A.1.1 Layout components 174 A.1.1.1 Service 174 A.1.1.2 Scene.175 A.1.1.3 Static explicit layout container specification 176 A.1.1.4 Explicit layout container specification176 A.1.1.5 Flow layout container component specifications176 A.1.1.5.1 TruncateFlowContainer component176 A.1.1.5.2 S
41、crollFlowContainer component.178 A.1.1.5.3 PFC component.179 A.1.2 Flow components .181 A.1.2.1 Flow181 A.1.2.1.1 Introduction.181 A.1.2.1.2 The content property .182 A.1.2.1.3 The directionality property182 A.1.2.2 TextFlow.182 A.1.2.2.1 Introduction.182 A.1.2.2.2 The content property .183 A.1.2.2.
42、3 The directionality property183 A.1.2.3 Table components.183 A.1.2.3.1 The Table component183 A.1.2.3.1.1 The table-layout property 184 A.1.2.3.1.2 The caption property184 A.1.2.3.1.3 The table-columns property.184 A.1.2.3.1.4 The row-height property184 A.1.2.3.1.5 The columnwidth property 184 A.1.
43、2.3.2 Table row group components185 A.1.2.3.2.1 The TH component185 A.1.2.3.2.2 The TB component 185 A.1.2.3.2.3 The TF component 185 A.1.2.3.3 Table column group components 186 A.1.2.3.3.1 The TC component 186 A.1.2.3.3.2 The TCG component .186 A.1.2.3.4 The TR component187 A.1.2.3.5 The TD compone
44、nt .187 A.1.2.3.5.1 The rowspan property188 A.1.2.3.5.2 The colspan property .188 A.1.2.3.5.3 The wrap property .188 A.2 Visual components .188 A.2.1 Background 188 A.2.2 Basic shapes .189 A.2.2.1 Notes on basic shapes in general (informative) 189 A.2.2.2 AxisLine .189 A.2.2.3 Ellipse .189 ETSI ETSI
45、 TS 102 523 V1.1.1 (2006-09) 9 A.2.2.4 Line.190 A.2.2.5 Pixel190 A.2.2.6 Polygon.190 A.2.2.7 Rectangle 191 A.2.3 Clock 191 A.2.4 ConnectStatusImage.193 A.2.4.1 Introduction.193 A.2.5 HintTextBox.193 A.2.5.1 Introduction.193 A.2.5.2 Properties defined elsewhere 194 A.2.6 Image194 A.2.7 ImageAnimated
46、195 A.2.8 ImageScalable 197 A.2.9 TextBox199 A.2.10 Ticker .200 A.2.11 Input components .202 A.2.11.1 Button .202 A.2.11.2 PickList.205 A.2.11.3 RadioButtonGroup207 A.2.11.4 SpinControl.207 A.2.11.5 TextInput 209 A.2.12 Menu 212 A.2.12.1 Introduction.212 A.2.12.2 Properties defined elsewhere 213 A.2
47、.12.3 The labelArray property214 A.2.12.4 The targetArray property 214 A.2.12.5 The initialLabel property 214 A.2.12.6 The index property214 A.2.12.7 The target property214 A.2.12.8 The menuAlign property.214 A.2.12.9 The menuLoop property .214 A.2.12.10 The selectmode property.214 A.2.12.11 The ima
48、ge property.214 A.2.12.12 The imageAlign property214 A.2.12.13 Behaviour specification 215 A.2.13 NumericNavigator216 A.2.13.1 Introduction.216 A.2.13.2 Properties defined elsewhere 217 A.2.13.3 The value property217 A.2.13.4 The valueSize property .217 A.2.13.5 The valueArray property.217 A.2.13.6
49、The targetArray property 217 A.2.13.7 The descriptionArray property217 A.2.13.8 The target property217 A.2.13.9 The invalidMessage property218 A.2.13.10 The description property.218 A.2.13.11 Behaviour specification 218 A.2.14 Subtitles219 A.2.15 Video219 A.3 Non-visual components221 A.3.1 Audio221 A.3.2 Cookie variables.222 A.3.2.1 BooleanCookie .222 A.3.2.2 DateTimeCookie.222 A.3.2.3 IntegerCookie .223 A.3.2.4 String cookie.223 A.3.3 CurrentTime .223 A.3.4 Random 224 A.3.5 Return path components.224 A.3.5.1 Indicate .224 A.3.5.2 ReturnPath 225 ETSI ETSI TS 102 523 V1.1.1