数字电视数据轮播DSI-DII-DBB-DSMCC_第1页
数字电视数据轮播DSI-DII-DBB-DSMCC_第2页
数字电视数据轮播DSI-DII-DBB-DSMCC_第3页
数字电视数据轮播DSI-DII-DBB-DSMCC_第4页
数字电视数据轮播DSI-DII-DBB-DSMCC_第5页
已阅读5页,还剩6页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、数字电视 数据轮播DSI-DII-DBB-DSMCC231.1 Dow nloadServerl ni tiate(DSI)消息作者:日期:DownloadServerlnitiate消息用来建立超组,描述超组内组的内容,表? ?是它的语法定义。表1 数据滚动的Dow nl oadServerl ni tiate语法定义语法字节数系统赋值(AVIT赋值)Downl oadServerl nitiate() DsmccMessageHeader() ProtocolDiscriminator10x11DsmccType10x03MessageId20x1006Transactionld4变化Re

2、served10xFFAdaptationLength10x00 (无适配域)MessageLengthif(adaptatio nLen gth>0) DSMCCAdaptatio nH eader()2无ServerId200xFF (共 20Byte)CompatibilityDescriptor()20x0000PrivateDataLength Group Infoln dicati on() 2NumberOfGroupsfor(i=0; i< numberOfGroups; i+) 2GroupId4GroupSize4GroupCompatibility()20x0

3、000GroupInfoLength2for(i=0; i<N; i+) GroupInfoByte1PrivateDataLengthfor(i=0; i< privateDataLength; i+) 2privateDataByte1说明:serverld: this field shall be set to 20 bytes with the value of OxFF.compatibilityDescriptor(): this structure shall only con tai n the compatibilityDescriptorLe ngth fiel

4、d of the *compatibilityDescriptor() as defined in DSM-CC (see ISO/IEC 13818-6 5). It shall be set to the value of 0x0000.PrivateDataLength : GroupInfolndication 结构的字节数。numberOfGroups:定义组的个数。groupld: 个组的16-bit编号,应该等于 Downloadlnfolndication 消息中描述 该组的Transactionld。注意,其值应符合非顶层控制消息的Transactionld取值规定。grou

5、pSize: 32-bit数定义一个组中所有模块字节数的累加值,可多达4GB。groupCompatibility: the GroupCompatibility structure is equal to the CompatibilityDescriptor structure ofDSM-CC (see ISO/IEC 13818-6 5).groupInfoLength: 16-bit的组信息的字节数。groupInfoByte: 一组描述该组特性的描述字,可能的几中描述字在下一节中 解释。privateDataLength :定义接下来的私有数据字节数。privateDataByte

6、 :标准以外我们自己可定义的数据。 Downloadlnfolndication(Dll)消息Dow nl oadl nfoln dication消息用来建立组,描述组内模块的内容,表? ?是它的语法定义。句法字节数系统赋值(AVIT赋值)Downloadlnfolndication() DsmccMessageHeader() ProtocolDiscriminator10x11DsmccType10x03MessageId20x1002TransactionId4变化Reserved10xFFAdaptationLength10X00 (无适配域)MessageLengthi

7、f(adaptati onLen gth>0) DSMCCAdaptatio nH eader() 2无DownloadId4BlockSize (每个数据块的大小)2WindowSize?thh10x0AckPeriod10x0TCDownloadWindow40x00000000TCDownloadScenario4CompatibilityDescriptor()20x0000NumberOfModules2for(i=0;I< numberOfModules;i+) ModuleId2ModuleSize4ModuleVersion1ModulelnfoLength1for

8、(i=0; i<module In foLe ngth; i+) moduleInfoByte1PrivateDataLengthfor(i=0;I< privateDataLength;i+) 2privateDataByte1表2 数据滚动的Downloadlnfolndication语法定义说明:DsmccMessageHeader()的语法解释与 DSI中的相似。但应注意当DII为顶层控制消 息时,其Transactions的取值符合顶层控制消息的规定;否则,其 Transactions的取值 应符合非顶层控制消息的规定,且其值等于上层DSI中相应组的group_id。+d

9、ownloadld:是此消息的代号,对于Data Carousel在网络范围内是唯一的。这个代号也应该在 DownloadDataBlock消息中使用。+ BlockSize :规定了 DownloadDataBlock消息中除最后数据块的每个数据块字节长度,最后一个数据块的长度小于blockSize。+ Win dowSize: is the nu mber of blocks in the slidi ng win dow.滑动窗口的数据大小。A value of 0 means that the window is the size of the entire image and tha

10、t no ack no wledgme nts are to be sent by the Clie nt.当直为0时表示窗口是整个图象的大小,并且客户端没有发送任何承认书(标志)。A window size of 0 may only be used in a dow nl oadl nfoResp onse if the Clie nt setthe bufferSize to 0 in the Downl oadl nfoRequest message.如果客户端 DownloadInfoRequest message 中的 bufferSize=0,那么 window size=0 仅

11、仅用在一个 downloadInfoResponse 中。This field is unu sed for non-flow-c on trolled dow nl oad and data carousel seen ariosand shall be set to 0 in these seen arios.在没有流的下载控制和data earousel seen arios时不可用并设为 0。+ AekPeriod:Is the number of blocks the Client would normally be required to receive before sendin

12、g a positive ack no wledgme nt.The ackPeriod does no t limit whe n a n egative ack no wledgme nt can be sent.The Clie nt shall send a positive ack no wledgme nt after successfully stori ng the last block in the image.This field is unu sed for non-flow-c on trolled dow nl oad and data carousel seen a

13、rios and shall be set to 0 in these seen arios.+TCDow nloadWi ndow:field in dicates the time out period in microsec onds for each ack no wledgme nt.This field is unu sed for non-flow-c on trolled dow nl oad and data carousel seen arios and shall be set to 0 in these seen arios.+TCDownloadScenario:表示

14、整个下载过程的超时时间长度,以毫秒为单位。+ NumberOfModules :模块的数量,2字节最多可以表示 65536个不同值。+ Moduleld :是模块的代号,在downloadld范围内内是唯一的。+ ModuleSize :模块的字节数。+ ModuleVersion :描述模块的版本号,模块发生更新时它增1,到255后回到0,然后再如此循环。+ModulelnfoLength :描述模块信息的字节数。ModulelnfoByte :包含一列描述字,每个描述字定义该模块的一个或多个特性。注意当 moduleld是在0xFFF0至U 0xFFFF范围内时,这个地方包含的是由DAVI

15、C 定义的Modulelnfo 结构。+PrivateDataLength :定义紧接着的私有数据的字节数。+ PrivateDataByte :由用户定义。 DownloadDataBlock 消息DownloadDataBlock消息用来携带模块的有效数据,表? ?是它的语法定义。表3 数据滚动的DownloadDataBlock语法定义系统赋值(AVIT赋值)字节数Dow nloadDataBlock() DsmccDow nl oadDataHeader() ModuleldModuleVersionReserved BlockNumber for(i=0;l<N;

16、l+) blockDataByte说明:ProtocolDiscriminatorDsmccType MessageId DownloadId Reserved AdaptationLength MessageLength for(adaptati onLen gth>0) DSMCCAdaptatio nH eader() 2112110x111 0x032 0x1006410xFF1 0x00 (无适配域)2无0xFFDownloadId :用来联系一个具体下载过程中下载数据消息和下载控制消息的代号。+MessageLe ngth :消息在此以下的字节数。+ moduleId :指示

17、数据块所属的模块代码。同一个文件的DDB的这个属性都相同。+ ModuleVersion :表示所属模块的版本号。+ BlockNumber :数据块在模块中的位置,从0开始连续递增计数。+ BlockDataByte :包含当前数据块的数据内容。 DSM-CC 消息在 MPEG-2 Section 中的封装当DSM-CC 下载消息以遵循 DSMCC_section 语法作封装,DSMCC_section 再遵循 MPEG-2 TS流语法被打包。DSMCC_section的结构实际上都是从 ISO/IEC 13818-1中的Private_section继承而来, 只是在 DSM

18、CC_section头结构中特别字域的编码上赋予了特殊语意。它的结构是与 private_section语法兼容的,因此可以使用MPEG-2系统解码器处理DSMCC_section。DSMCC_section到MPEG-2传输流包的转换以及 DSMCC_section的最大长度均由ISO/IEC 13818-1 定义的 Private_sections 确定。可以参考 ISO/IEC 13818-1 244节PSI关于 private_sections的结构和定义,包括 payload_unit_start_indicator 的设置,传输包 payload 中 pointer_field 的

19、使用,以及包的填充 字节的讨论。系统仅规定 DSM-CC表的table_id,对PID值不作规定。表? ?是 DSM-CC的Section语法定义。表4 数据滚动的DSMCC_Section 语法定义句法比特数系统赋值(AVIT赋值)表达方式DSMCC_sectio n() table_id80x3B ( DSI 或 DII) 或0x3C ( DDB)Uimsbfsection_syntax_indicator10x1Bslbfprivate_indicator10x1BslbfReserved20x3BslbfDSMCC_section_length12Uimsbftable_id_extension16DDB 中的 ModuleldUimsbf/DSI,DII 中的tran sacti on_Reserved20x3Bslbfversion_number5Uimsbf

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论