1、I NTE R NAT I O N AL STANDARD ISO/IEC 1381 816 First edition 1998-09-01 Information technology - Generic coding of moving pictures and associated audio information - Part 6: Extensions for DSM-CC Technologies de linformation - Codage gnrique des images animes et des informations sonores associes - P
2、artie 6: Extensions pour DSM-CC Adopted by INCITS (InterNational Committee for Information Technology Standards) as an American National Standard. Date of ANSI Approval: 11/15/00 Published by American National Standards Institute, 25 West 43rd Street, New York, New York 10036 Copyright 2002 by Infor
3、mation Technology Industry Council (ITI). All rights reserved. These materials are subject to copyright claims of International Standardization Organization (ISO), International Electrotechnical Commission (IEC), American National Standards Institute (ANSI), and Information Technology Industry Counc
4、il (ITI). Not for resale. No part of this publication may be reproduced in any form, including an electronic retrieval system, without the prior written permission of ITI. All requests pertaining to this standard should be submitted to ITI, 1250 Eye Street NW, Washington, DC 20005. Printed in the Un
5、ited States of America Reference number ISOAEC 1381 8-6:1998(E) ISO/IEC 13818-6: 1998(E) CONTENTS O. INTRODUCTION XIX o. 1 0.2 0.3 0.3.1 0.3.2 0.4 0.5 0.6 0.7 0.8 0.9 0.9.1 0.9.2 0.9.3 0.9.4 0.9.5 Guiding Factors in the Formulation of DSM-CC . xix DSM-CC Client-Network-Server Model . xx Outline of t
6、he DSM-CC Specification . xx User-to-User . . xxi Supported Network Technologies xxi Supported Connection Types . xxi DSM-CC Interfaces xxi DSM-CC Interface Protocols . XXIII Communications Requirements . xxv Methods of Specification . Message Flow Diagram Scenarios xxvi Specification and Descriptio
7、n Language. Interface Definition Language (IDL) xxviii User-to-Network . . . xxv Messages . xxv xxvi Remote Procedure Call (RPC) xxviii 0.9.5.1 Independence of RPC xxix 0.9.5.2 Preferred and Default RPC . . xxix . xxix 0.9.5.3 Local Equivalent Functions . 1. GENERAL . 1 1.1 Scope . 1 1.2 Profiles an
8、d Compliance Functional Categories of the DSM-CC protocols 1 User-to-Network Session Messages 2 1.2.2.1 U-N Core Session Message Functional Groups . 2 1.2.2.2 U-N Extended Session Message Functional Groups . 2 1.2.3 User-User Interfaces 2 1.2.3.1 U-U Core Interfaces . 2 1.2.1 1.2.2 1.2.3.2 U-U Exten
9、ded Interfaces .3 1.3 Definitions 3 1.4 Acronyms . 4 1.5 Normative References . 6 2. DSM-CC MESSAGE HEADER 7 2.1 DSM-CC Adaptation Header Format . 2.1.1 2.1.2 DSM-CC Conditional Access Adaptation Format . 9 DSM-CC User ID Adaptation Format . 9 3.1 Overview and the General Message Format . 10 User-to
10、-Network configuration parameters . 10 3.2.1 DSM-CC specific configuration parameters . 10 3.2.2 Network specific configuration parameters 11 User defined configuration parameters 12 3. USER-TO-NETWORK CONFIGURATION MESSAGES . 10 3.2 3.2.3 Q ISOflEC 1998 All rights reserved. Unless otherwise specifi
11、ed, 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 the publisher. Printed in Switzerland ISOflEC Copyright Office Case postale 56 CH- 12 I 1 Genve 20 Switzerland
12、 11 O ISO/IEC ISO/IEC 13818-6:1998(E) 3.3 3.3.1 3.3.2 3.3.3 3.3.4 3.4 3.5 3.6 3.7 3.8 3.9 3.10 User to Network Configuration Messages . 12 UNConfigRequest message definition . 13 UNConfigConfirm message definition 13 UNConfigIndication message definition . 14 UNConfigResponse message definition 14 U
13、ser Initiated UNConfigRequest message Sequence 15 Network Initiated UNConfigIndication message Sequence . 16 User-to-Network Configuration Reason Codes . 17 User-to-Network Configuration Message Field Data Types . 15 Broadcasting of UNConfigIndication messages . 16 Mixed User/Network Initiated Confi
14、guration Sequences 17 User-to-Network Configuration Response Codes 17 4. 4.1 Overview and the General Message Format 19 4.2 Session Messages 19 USER-TO-NETWORK SESSION MESSAGES 19 4.2.1 4.2.1.1 4.2.1.2 4.2.2 4.2.3 4.2.4 4.2.4.1 4.2.4.2 4.2.4.3 4.2.4.4 4.2.5.1 4.2.5.2 4.2.5.3 4.2.5.4 4.2.5.5 4.2.5.6
15、4.2.5.7 4.2.5.8 4.2.6.1 4.2.6.2 4.2.6.3 4.2.6.4 4.2.7.1 4.2.7.2 4.2.7.3 4.2.7.4 4.2.8.1 4.2.8.2 4.2.9.1 4.2.9.2 4.2.9.3 4.2.9.4 4.2.9.5 4.2.9.6 4.2.9.7 4.2.9.8 4.2.5 4.2.6 4.2.7 4.2.8 4.2.9 .+ U-N Functional groups U-N Core Group . Extended Functional groups . . 24 24 25 25 Use of UserData() structu
16、re in session messages Use of Resources() structure in session messages Session Set-up group message definitions . ClientSessionSetUpRequest . .25 ClientSessionSetUpConfirm . 26 ServerSessionSetUpIndication . 27 ClientSessionReleaseRequest . . 28 ClientSessionReleaseConfirm . 29 ClientSessionRelease
17、Indication . . . 29 ClientSessionReleaseResponse . .29 ServerSessionReleaseRequest . 30 ServerSessionReleaseConfirm . 30 ServerSessionReleaseIndication . . 31 ServerSessionReleaseResponse . 31 .32 ClientAddResourceIndication 32 ClientAddResourceResponse . 32 ServerAddResourceRequest . 33 Server AddR
18、esour ceConfirm . Delete Resource group message definitions 34 ClientDeleteResourceIndication . . . 34 ClientDeleteResourceResponse . . , . 35 ServerDeleteResourceRequest .35 ServerDeleteResourceConfirm 36 Continuous Feed Session group message definitions 36 ServerContinuousFee ServerContinuousFeedS
19、essionConfirm . Status group message de ServerSessionSetUpResponse . 27 Session Release group message definitions Add Resource group message definitions 37 ClientStatusRequest . 37 ClientStatusConfirm . ClientStatusIndication . ClientStatusResponse Servers tat usconfirm ServerStatusIndication . Serv
20、erStatusRequest . 39 ServerStatusResponse . 40 39 . 111 ISO/IEC 13818-6:1998(E) O ISO/IEC 4.2.10 Reset group message definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . , . . . . . . . . . . . . . . . . . . . .
21、 . . . .4 1 4.2.10.1 ClientResetRequest 41 4.2.10.2 ClientResetConfirm . . . . . . . 41 4.2.10.3 ClientResetIndication .42 4.2.10.4 ClientResetResponse 42 4.2.10.5 ServerResetRequest . , . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
22、 . . . .42 4.2.10.6 ServerResetConfirm 43 4.2.10.7 ServerResetIndication 4.2.10.8 ServerResetResponse . . . 43 e definitions . 44 4.2.1 1.1 CiientSessionProceedi . .44 ServerSessionProceedingIndication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
23、. . . . . . . . . . , . . . . . . . . . . . . .44 . . . . 44 4.2.12.2 ServerConnectIndication 45 Session Transfer group message definitions 45 4.2.13.1 ClientSessionTransferIndication . . . 45 4.2.13.2 ClientSessionTransferResponse . 4.2.13.3 ServerSessionTransferRequest 4.2.13.4 ServerSessionTransf
24、erConfirm 4.2.13.5 ServerSessionTransferIndication . . . . . . . . 47 4.2.13.6 ServerSessionTransferResponse . . . . . . . . . . 48 4.2.14.1 ClientSessionInProgress . 49 4.2.14.2 ServerSessionInProgress 49 4.2.1 1 Session Proceeding group 4.2.1 1.2 4.2.12 Connect group message definitions. 4.2.12.1
25、ClientConnectRequest . . . . , 4.2.13 4.2.14 Session In Progress group message definitions 4.3 User-to-Network Session Message Field Data Types . 49 4.4 Reason Codes . 4.5 Response Codes 4.6 WEG-2 DSM-CC statusTypes . . , . 4.7 Resource Descriptors . . ,. ,. . , . , . 56 62 4.7.1 4.7.2 4.7.3 4.7.5 S
26、pecifying Ranges and Lists of values in resource 4.7.4 Vertical Resource Sharing . . 4.7.5.1 4.7.5.2 4.7.5.3 4.7.5.4 4.7.5.5 4.7.5.6 4.7.5.7 4.7.5.8 4.7.5.9 4.7.5.10 4.7.5.1 1 4.7.5.12 4.7.5.13 4.7.5.14 4.7.5.15 4.7.5.16 4.7.5.17 4.7.5.18 4.7.5.19 4.7.5.20 4.7.5.2 1 ContinuousFeedSession resource de
27、scriptor definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .66 AtmConnection resource descriptor definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . , . , . . .67 MpegProgram r
28、esource descriptor definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .67 Physical Channel resource descriptor definition . . . . . . 68 TSUpstreamBandwidth resource descriptor definition . . . . . TSDownstream
29、Bandwidth resource descriptor definition . . . . . . . . . . AtmSvcConnection resource descriptor definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .70 ConnectionNotify resource descriptor definition . . . . . . . . . . . . . . .
30、 . 70 IP resource descriptor definition . 70 ClientTdmaAssignment resource descriptor definition . . . . . . . . . . . . . . 7 1 PSTNSetup resource descriptor definition . . . . . . . . . . . . . . . . . 7 1 NISDNSetup resource descriptor definition 71 NISDNConnection resource descriptor definition
31、. 72 Q922Connections resource descriptor definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .72 SharedResource resource descriptor definition . 72 HeadEndList resource descriptor definition . . . . . . . , . . . . AtmVcC
32、onnection resource descriptor definitio 73 SdbContinuousFeed resource descriptor definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .74 74 75 SharedRequestId resource descriptor definition . SdbAssociations resource descriptor definit
33、ion SdbEntitlement resource descriptor definition . . . . . . . 4.8 Client Initiated Command Sequences . . . . . . . . . . . . . . 75 iv O ISO/IEC ISO/IEC 13818-6:1998(E) 4.8.1 Client Session Set-up Command Sequence 76 4.8.1.1 Client Initiates Session Set-up Request . 76 4.8.1.2 Network Rejects Clie
34、nt Session Request . . 78 Client Has Final UserData() 79 Client Initiates Early Release . 79 4.8.1.3 Server Rejects Server Session Indication . 78 4.8.1.4 4.8.1.5 4.8.1.6 4.8.1.7 4.8.1.8 4.8.2.1 4.8.2.2 4.8.2.3 Server Does not respond to serverSessionSetUpIndication . 80 Network Rejects Servers Reso
35、urce AllocationStep 7 (Network): 80 Client Unable to Use Resources 80 Client Session Release Command Sequence . 81 Client Initiates Release Request 81 Network Rejects Client Release Request . 82 Server Rejects Server Release Indication 82 Server Initiated Command Sequences . 83 Server Continuous Fee
36、d Session Set-up Command Sequence 83 Server Initiates Continuous Feed Session Set-up 84 Server Add Resource Command Sequence . 84 Server Initiates Add Resource Request . 85 Server Session Delete Resource Command Sequence . 86 Server Session Release Command Sequence . 87 4.9.4.2 Network Rejects Serve
37、r Release Request . . 88 4.9.4.3 Client Rejects Client Release Indication 88 Server Continuous Feed Session Release Command Sequence . 88 4.9.5.1 Server Initiates Continuous Feed Session Release Request . 89 4.9.5.2 Network Rejects Server Release Request . 90 4.9.5.3 Client Rejects Client Release In
38、dication 90 Server Status Command Sequence 90 4.9.7.1 Client Initiates Session Set-up . 92 4.9.7.2 Network Rejects Forward . 93 Server Session Transfer Command Sequence . 93 4.9.8. I Server A Initiates Session Transfer . 94 4.8.2 4.8.3 Client Initiated Status Command Sequence . . 82 4.9 4.9.1 4.9.2
39、4.9.3 4.9.4 4.9.1.1 4.9.2.1 4.9.4.1 Server Initiates Release Request . 87 4.9.5 4.9.6 4.9.7 Server Session Forward Command Sequence . . 91 4.9.8 4.9.8.2 Network Rejects Transfer Request . . 95 4.9.8.3 Server B Rejects the Transfer Request . 95 4.9.8.4 4.9.8.5 4.9.9.1 4.9.9.2 Server B Unable to Alloc
40、ate Resources for Transfer . 96 Client Rejects Transfer 96 4.9.9 Transferred Session Release . . 96 SRM is Selecting sessionIds . Server is Selecting sessionId Network Initiated Command Sequences 97 Network Initiated Session Release Command Sequence . 98 4.10 4.10.1 4.10.1.1 Network Initiates Sessio
41、n Release 4.10.2 Network Initiated Continuous Feed S Command Sequence 4.10.2.1 Network Initiates Continuous Feed Session Release 99 4.10.3 Network Initiated Client Status Command Sequence . 100 4.10.4 Network Initiated Server Status Command Sequence . 101 Network Initiates Server Status command sequ
42、ence 101 4.1 1 Reset Procedures . . 101 4.1 1.1.1 Client Init 102 Server Initiated Reset Command Sequence . 102 4.11.2.1 Server Initiates Reset command sequence 103 Network Initiated Reset Command Sequence 103 4.11.3.1 Network Initiates Reset command sequence 103 4.10.3.1 Network Initiates Client St
43、atus command sequence 100 4.10.4.1 4.11.1 Client Initiated Reset Command Sequenc . 102 4.11.2 4.1 1.3 V ISO/IEC 13818-6:1998(E) 5 . USER-TO-USER INTERFACES . 105 5.1 Introduction . . . 105 5.1.1 Contents . . . 5.1.2 Intended Usage 105 5.2 The User-to-User System Environment . 107 5.2.1 U-U System Ha
44、rdware User Entities . 107 U-U System Logical Entities . 107 Application and Service Interfaces 109 Categorization of Client Library Interface Sets . 110 5.2.2 5.2.3 5.2.4 5.2.4.1 Consumer Client 110 5.2.4.2 Producer Client 111 5.2.4.3 Client Library Profiles . 111 5.2.5 Core Interfaces . . 112 5.2.
45、5.1 Core Client A ion Portability Library 113 5.2.5.2 5.2.6 Extended Interfaces . 116 Core Client Service Inter-operability Library 115 5.2.6.1 Extended Client Application Portability Library 117 Extended Client Service-interoperability Library . 5.2.6.2 5.3 Overview of the Interface Definition Lang
46、uage(1DL) . 118 5.3.1 Operations . 120 5.3.2 5.3.4 Encoding 5.3.5 5.3.6 5.4.1 5.4.2 Entity Identification . 123 5.4.3 Interface Identification 124 5.4.4.1 Syntax for Access Control . . 126 5.4.5 Exceptions . 127 Application Portability Interfaces(AP1) . 131 5.5.1 Core Interfaces . 131 5.5.1.1 Base 1
47、32 5.5.1.1.1 Summary of Base Primitives . 132 5.5.1.1.2 DSM Base close . . 133 5.5.1.1.3 DSM Base destroy 133 5.5.1.2 Access . 133 5.5.1.2.1 Setting Permissions 134 5.5.1.2.2 Access Definitions . . 135 5.5.1.3 Stream . 136 5.5.1.3.1 Stream Definitions, Exceptions . 137 5.5.1.3.2 Normal Play Time Tem
48、poral Positioning 137 Application NPT Values 138 5.5.1.3.3 Summary of Stream Primitives . . 138 5.5.1.3.4 Stream State Machine 139 5.5.1.3.4.1 State Machine . 139 5.5.1.3.4.2 Basic State Ma 5.5.1.3.4.3 Complete state machine . 5.3.3 Language Mapping 121 5.4 5.4.4 Access Roles for Operations . 126 5.
49、4.6 Stream and Event Synchronization . . 130 5.5 5.5.1.3.2.1 5.5.1.3.5 DSM Stream pause . 143 5.5.1.3.6 DSM Stream resum 5.5.1.3.7 DSM Stream status 5.5.1.3.8 DSM Stream reset 5.5.1.3.9 DSM Stream jump . O ISO/IEC vi O ISO/IEC ISODEC 13818-6:1998(E) 5.5.1.3.10 DSM Stream play. . 147 5.5.1.4 File . . 148 5.5.1.4.1 File Definitions, Exceptions 148 . 149 5.5.1.4.2 Summary of File Primitives . 5.5.1.4.3 DSM File read . 149 DSM File write 150 5.5.1.4.4 5.5.1.5.1 Directory Definitions, Exceptions . 5.5.1.5.2 Summary of Directory Primitive 5.5.1 S.4 5.5.1.5.5 D