Study and Development of the Software Relevant to DVB-CI in Digital TV
- Author
- ZhouQingXi
- Advisor
- LiuQiang , ChenKe
- School
- Tsinghua University
- Major
- Software Engineering
- Classification
- TN949.197 Digital TV
- Degree
- Master's thesis
- Year
- 2005
- Downloads
- 233
- Citations
- 0
Abstract
Digital TV based on the DVB-CI relevant international standards is consideredto be a major solution to the digital broadcasting system of China. According to theDVB-CI standards, the host and module (CAM, Conditional Access Module) can beproduced by different manufactures, and be connected through PCMCIA interface. Sothe host must have the ability to work with different modules issued by their producer,and the quality of the host’s software will affect the promotion and adoption of thehost.Three parts of host software that are directly relevant to the CI are introduced inthis paper, which are the DVB-CI device driver, the DVB-CI protocol and the hostresources.Firstly, a method to develop device driver in embedded system is introduced inthis paper. It is demonstrated in this method that how to use device driver toencapsulate the complex control of the concrete device so as to provide an abstractdevice to the up-layer software. An example based on STB02500 Set-Top BoxIntegrated Controller and Hardhat Linux system is given in this paper to reveal thegeneral controlling procedure of the CAM. This can be a reference when developingDVB-CI device driver on other platforms.Secondly, the design of the DVB-CI protocol is introduced. In the protocoldesign, function disassemble can reduce the complexity of the protocol and improveits stability. This protocol adopts layer structure and message driven mechanism. Eachprotocol layer includes a task that retrieves message from the message queue,disposes it according to the state of the protocol layer object and changes the state ofthe protocol layer object if necessary. Zero copy technique is used to improve theperformance, timer is adopted to reduce the system resource consumption, portinginterface is admitted to increase the portability, and several macro definitions areincluded to config the DVB-CI protocol.Last, the design of the host resource is desmontrated in this paper. Host resource,which stands for a specified function unit, interacts with the application in the CAMthrough DVB-CI protocol. There are several host resources in the host, each of whichincludes two interfaces. One interface is required by the DVB-CI protocol, the otherinterface is defined according to the host resource’s functionality, through which thehost resource can interact with the host’s supporting program. Based on this design,the host resource can be managed efficiently in the host resource list and can beextended easily.The host that adopts the DVB-CI device driver, the DVB-CI protocol and thehost resources works well with several modules issued by different manufactures. Thedesign requirements are fulfilled, and the DVB-CI protocol has been ported to otherplatform successfully.
Table of contents
Chapter Introduction 10-16
1.1 paper background and significance 10-12
1.1.1 Digital TV 's current development status 10-11 <br / > 1.1.2 digital TV content protection 11
1.1.3 set-top boxes and integrated digital TVs 11-12
1.1.4 papers purpose and significance of 12
1.2 current digital TV content protection related technologies 12-14
1.2.1 ATSC configuration point technique (POD) 13
1.2.2 DVB Simulcrypt technology 13
1.2.3 DVB multi- secret technology (DVB-CI) 13-14
1.3 thesis main content 14-15 < br /> 1.4 paper is organized 15-16
Chapter PDT2 system architecture 16-22
2.1 overall structure of software and hardware platforms 16-17
2.2 hardware platform to introduce 17-19
2.3 software platform to introduce 19-20
2.3.1 preemptive Linux kernel 19 <br / > 2.3.2 real-time scheduler 19-20
2.4 DVB-CI related software framework 20-22
Chapter DVB-CI device driver design 22-29
3.1 embedded system device driver features 22
3.2 STB02500 hardware platform CAM card control 22-24
3.3 HARDHAT LINUX system the device driver 24
3.4 device driver design and implementation 24-27
3.4.1 command Definition 24-25
3.4 .2 EBIU interface configuration method 25-26
3.4.3 file manipulation functions 26-27
3.4.4 driver loading , unloading correlation function 27 < br /> 3.5 DVB-CI driver Design Summary 27-29
Chapter DVB-CI protocol stack design 29-83
4.1 protocol stack hierarchy 30-33
4.1.1 Interface Device 31
4.1.2 physical layer 31
4.1.3 link Layer 31-32
4.1.4 transport Layer 32
4.1.5 session layer 32
4.1.6 resource program 32-33
4.2 protocol stack configuration items 33-34
4.3 zero memory copy 34-39
4.3.1 pSOS embedded operating system zero-copy data transmission 35
4.3.2 DVB-CI protocol data unit format 35-37
4.3.3 zero memory copy designed 37-39
4.3.4 zero memory copy methods realization 39
4.4 transplant Interface 39-44
4.4.1 abstract device Interface 39-41
4.4.2 operating System Interface 41-42
4.4.3 host Resource program Interface 42-43
4.4.4 transplantation Interface Summary 43-44
4.5 clock module 44-47
4.5.1 clock operation function 44-45
4.5.2 clock module design 45-47
4.6 protocol layer design 47-82
4.6.1 physical layer design 50-59
4.6.2 link layer design 59-65
4.6.3 transport Layer design 65-75
4.6.4 session layer design 75-82
4.7 DVB-CI protocol stack Summary 82-83
first chapters host resource program design 83-97
5.1 host resources program module overview 83-84
5.2 resource manager RM (RESOURCE MANAGER) 84-86
5.2.1 RM interface 84
5.2.2 RM working process 84-86
5.3 application information AI (APPLICATION INFORMATION) 86-89
5.3.1 AI interface 86-87
5.3.2 AI working process 87-89
5.4 conditional support CAS (CONDITIONAL ACCESS SUPPORT) 89-91
5.4.1 CAS interface 89
5.4.2 CAS working process 89-91
5.5 Date Time DT (DATE TIME) 91-93
5.5.1 DT interface 91
5.5.2 DT working process 91-93
5.6 people machine Interface MMI (MAN MACHINE INTERFACE) 93-96
5.6.1 MMI interface 93-94
5.6.2 MMI working process 94-96
5.7 host Resource program design Summary 96-97
Chapter DVB-CI -related software applications 97-103
6.1 DVB-CI -related software development platform operation 97-99
6.2 DVB-CI related software products in the actual application 99-101
6.3 transplant workload 101 - 102
6.4 DVB-CI -related software applications summary 102-103
Chapter Summary and Outlook 103-105
7.1 results of the work 103
7.2 follow-up work 103-105
References 105-107
Thanks 107
statement 107 - 108
resume, papers published during the study period and research 108
Related dissertations
- Research and Implementation of Cable Digital Television Conditional Access System
- Design and Implementation of Software Update and Conditional Access on DVB-C Set-Top-Box
- SOA, CAS - based front-end research and realization of
- Trident SoC digital-to-analog TV integrated machine design and Implementation
- Improvement and Implementation of Four_layer Encryption Mechanism in Digital Television Conditional Access System
- The Research and Implementation of Head End of Digital Television Conditional Access System
- Digital TV conditional access system
- Digital TV conditional access system
- Video-on-demand system in the radio and television online
- Research on key technologies of the digital TV conditional access system
- Research and Development in a Kind of Set Top Box Software Module
- The Hardware Design and Verification of OOB Mode(A) Transport System in CableCARD
- Research and Implement of the PCTV System Based on Condition Access Technology and the Security
- Research on Government Regulation of Cable Television
- The Study of Android Porting Technolgies on New Generation of Digital TV Chip
- Information Hiding Algorithms Based on Digital Television Conditional Access System
- Design and Implementation of VOD System in Digital Television
- Research and Realization of Information Interactive Platform Base on Midware of Digital TV Technology
- Emergency Troubleshooting and Procedure Optimization for Digital TV Front-end System
- The Research and Design for Voucher Card Management Platform of Broadcast Television in Digital Business