文档介绍:湖南大学
硕士学位论文
数字电视条件接收系统适配层的研究与实现
姓名:郑思娴
申请学位级别:硕士
专业:软件工程
指导教师:程京;王如龙
20051226
工程硕士学位论文
摘要
数字电视接收系统是指能够接收数字电视广播信号并播放的系统。它主要
包括 MEPG2 解调模块、数字视音频编码器和条件接收模块等。条件接收模块是
由条件接收系统开发公司研制开发,再移植到数字电视接收系统中。地方广电局
可以自己选择条件接收系统进行节目加密。所以开发数字电视接收系统,需要针
对地区移植不同的条件接收系统,这样移植条件接收系统的开发周期对于整个系
统的开发周期起到决定性作用。本课题研究了一种新的移植条件接收系统的方法
即在移植时添加一个新的软件适配层,主要的工作包括:
分析条件接收系统的工作原理和过程;通过移植几种不同的条件接收系统
到数字电视接收系统中,分析移植过程需要编写的代码;结合条件接收系统的工
作原理和过程,针对以往移植条件接收系统只能使一个条件接收系统正常工作的
移植方法。提出了一个新的 CA 软件适配层;并根据条件接收系统的功能设计了
七个适配模块,对每个模块需要实现的功能进行了分析。
研究实现了读写智能卡的适配,在适配层中,实现了对协议的兼容和对协
议类型的判断。适配层通过对协议参数和读写命令进行判断,使得几种不同的智
能卡都能通过适配层与数字电视接收系统的其他模块进行通讯。
研究实现了设置解扰器的适配方法,在适配层中,解决了加扰层不同的问
题。通过适配层对加扰层进行判断并统一数据接口,使不同的条件接收系统都能
成功提取解扰字对解扰器进行设置。
研究实现了适配层的跟踪监测系统,能适配不同的条件接收系统。这个模
块的实现是在检测系统中内部定义跟踪函数,然后在移植的条件接收系统中调用
这些跟踪函数,这样就避免了在跟踪检测过程中条件接收系统因为工作方法或参
数名称类型不同而带来的差异。
关键字:条件接收;数字电视接收系统;适配层;移植
I
数字电视条件接收系统适配层的研究与实现
Abstract
The digital television receiving system refers the system which can receive and
broadcast the digital television signal. It includes the MEPG2 demodulation module,
the numeral regards the audio frequency coder and the conditional access module and
so on. The conditional access system modules are developed specially then transplants
to the digital television receiving system. Different district will choose the conditional
access system to carry on the program encryption, to develop a digital television
receiving system, transplantation of different conditional access systems are needed for
the different district. Therefore, the transplant conditional access system development
cycle plays the decisive role to the overall system development cycle, this article
studies on a new method of transplant access system to add a new software adapter
level during the process of transplant, the main work includes:
After analyzed the principle of work and process of conditional accessing system,
transplants the various conditional accessi