作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

›› 2004, Vol. 30 ›› Issue (22): 67-.

• 论文 • 上一篇    下一篇

DSM-CC编解码的C++实现

谷志奇,余松煜   

  1. 上海交通大学图像通信与信息处理研究所,上海交通大学图像通信与信息处理研究所 上海 200030
  • 发布日期:2004-11-25

Implementation in C++ Language of Encoding and Decoding of DSM-CC Protocol in DTV System

GU Zhiqi, YU Songyu   

  1. ( Institute of Image and Information Processing, Shanghai Jiaotong University,Shanghai 200030 )
  • Published:2004-11-25

摘要: 利用面向对象的方法,提出了在数字电视发送和接收系统中实现DSM-CC中数据下载协议的一种规律化的伪C代码到C++语言的映射规则。这一规则利用C++面向对象的语言特点,结合DSM-CC协议栈语义定义有很大相似性的特点,充分利用了多态和继承等面向对象的思想。利用这一规则,给出了一种自顶向下的DSM-CC的C++语言实现。这一实现具有对数据转盘(DC)和对象转盘(OC)兼容、可扩展性强、发送端(编码端)与接收端(解码端)通用的特点。

关键词: 机顶盒, 数据转盘, 对象转盘

Abstract: By imposing object oriented (OO) method, the paper introduces a regularized mapping rule from pseudo C code of DSM-CC data download protocol syntax to C++ language in DTV transmission and receiving system. Using object oriented programming (OOP) character of C++ language, with the consideration of syntax similarity of DSM-CC protocol stack, this rule can fully employ the idea of polymorphism and inheritance of OOP. With this rule, it gaves an top down C++ implementation of DSMCC. This implementation is highly expansible, compatible for both data carousel (DC) and object carousel (OC), and applicable to both encoding and decoding.

中图分类号: