资源预览内容
第1页 / 共7页
第2页 / 共7页
第3页 / 共7页
第4页 / 共7页
第5页 / 共7页
第6页 / 共7页
第7页 / 共7页
亲,该文档总共7页全部预览完了,如果喜欢就下载吧!
资源描述
2.3.1.1 DownloadServerInitiate(DSI)消息DownloadServerInitiate消息用来建立超组,描述超组内组的内容,表?是它的语法定义。表 1 数据滚动的DownloadServerInitiate语法定义语 法字节数系统赋值(AVIT赋值)DownloadServerInitiate() DsmccMessageHeader() ProtocolDiscriminator10x11DsmccType10x03MessageId20x1006TransactionId4变化Reserved10xFFAdaptationLength10x00(无适配域)MessageLength2if(adaptationLength0) DSMCCAdaptationHeader()无 ServerId200xFF(共20Byte) CompatibilityDescriptor() 20x0000PrivateDataLength2 GroupInfoIndication() NumberOfGroups2for(i=0; i numberOfGroups; i+) GroupId4GroupSize4GroupCompatibility()20x0000GroupInfoLength2for(i=0; iN; i+) GroupInfoByte1PrivateDataLength2for(i=0; i0) DSMCCAdaptationHeader()无 DownloadId4BlockSize(每个数据块的大小)2WindowSize?thh10x0AckPeriod10x0TCDownloadWindow40xTCDownloadScenario4CompatibilityDescriptor()20x0000NumberOfModules2for(i=0;I numberOfModules;i+) ModuleId2ModuleSize4ModuleVersion1ModuleInfoLength1for(i=0; imoduleInfoLength; i+) moduleInfoByte1PrivateDataLength2for(i=0;I privateDataLength;i+) privateDataByte1表 2 数据滚动的DownloadInfoIndication语法定义说明: DsmccMessageHeader()的语法解释与DSI中的相似。但应注意当DII为顶层控制消息时,其TransactionId的取值符合顶层控制消息的规定;否则,其TransactionId的取值应符合非顶层控制消息的规定,且其值等于上层DSI中相应组的group_id。 downloadId:是此消息的代号,对于Data Carousel在网络范围内是唯一的。 这个代号也应该在DownloadDataBlock消息中使用。 BlockSize:规定了DownloadDataBlock消息中除最后数据块的每个数据块字节长度, 最后一个数据块的长度小于blockSize。 WindowSize: is the number of blocks in the sliding window. 滑动窗口的数据大小。A value of 0 means that the window is the size of the entire image and that no acknowledgments are to be sent by the Client.当直为0时表示窗口是整个图象的大小,并且客户端没有发送任何承认书(标志)。 A window size of 0 may only be used in a downloadInfoResponse if the Client set the bufferSize to 0 in the DownloadInfoRequest message. 如果客户端DownloadInfoRequest message中的bufferSize=0,那么window size=0仅仅用在一个downloadInfoResponse中。This field is unused for non-flow-controlled download and data carousel scenarios and shall be set to 0 in these scenarios. 在没有流的下载控制和data carousel scenarios时不可用并设为0。 AckPeriod: Is the number of blocks the Client would normally be required to receive before sending a positive acknowledgment. The ackPeriod does not limit when a negative acknowledgment can be sent. The Client shall send a positive acknowledgment after successfully storing the last block in the image. This field is unused for non-flow-controlled download and data carousel scenarios and shall be set to 0 in these scenarios. TCDownloadWindow: field indicates the time out period in microseconds for each acknowledgment. This field is unused for non-flow-controlled download and data carousel scenarios and shall be set to 0 in these scenarios. TCDownloadScenario: 表示整个下载过程的超时时间长度,以毫秒为单位。 NumberOfModules:模块的数量,2字节最多可以表示65536个不同值。 ModuleId:是模块的代号,在downloadId范围内内是唯一的。 ModuleSize:模块的字节数。 ModuleVersion:描述模块的版本号,模块发生更新时它增1,到255后回到0,然后再如此循环。 ModuleInfoLength:描述模块信息的字节数。. ModuleInfoByte:包含一列描述字,每个描述字定义该模块的一个或多个特性。注意当moduleId是在0xFFF0到0xFFFF范围内时,这个地方包含的是由DAVIC定义的ModuleInfo结构。 PrivateDataLength:定义紧接着的私有数据的字节数。 PrivateDataByte:由用户定义。 2.3.1.3 DownloadDataBlock消息DownloadDataBlock消息用来携带模块的有效数据,表?是它的语法定义。表 3 数据滚动的DownloadDataBlock语法定义句 法字节数系统赋值(AVIT赋值) DownloadDataBlock() DsmccDownloadDataHeader() ProtocolDiscriminator10x11DsmccType10x03MessageId20x1006DownloadId4
收藏 下载该资源
网站客服QQ:2055934822
金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号