文档介绍:华中科技大学
硕士学位论文
机顶盒软件开发仿真平台的设计与实现
姓名:范梅仙
申请学位级别:硕士
专业:微电子学与固体电子学
指导教师:刘卫忠
20090526
华中科技大学硕士学位论文
摘要
目前随着数字电视的发展,数字电视机顶盒的应用越来越广泛。但是因为机顶盒
传统的软硬件协同开发和交叉编译方式存在很多的弊端,限制了机顶盒的开发进展速
度和效率。针对此种状况,本文采用仿真技术,提出了基于 PC 的机顶盒软件开发仿
真平台的设计思路和实现技术,以此来提高机顶盒应用程序的开发效率。
通过对机顶盒的功能模块和软件分层结构的分析,本文构建了仿真平台所需要
的模块和仿真平台的结构图。仿真平台的构建共需要六个模块,分别是 OS(操作系统)
模块、OSD(屏幕显示)模块、Demux(解复用)模块、Tuner(锁频)模块、Keyboard(遥控
器)模块和 Flash(闪存)模块。通过研究和分析机顶盒中相应模块的功能,本文利用 PC
的软件和硬件资源,实现了仿真平台各个模块所需要的功能。在其中,OSD 模块和
Demux 模块是整个仿真平台实现中的重点和难点。这些模块的任务之间通过消息队列
进行通信,或者通过接口函数调用其他模块,相互之间协同工作,以此来模拟机顶盒
的开发环境,可以用其来开发应用软件。
最后,为了测试机顶盒软件开发仿真平台的可行性,本文在仿真平台上创建一
个应用程序。通过将应用程序分别放在仿真平台和机顶盒上运行,可以发现两者具有
一样的效果,并且在仿真平台上开发的程序可以直接移植到机顶盒上。这证明了仿真
平台是可行的,并且通过仿真平台开发机顶盒应用程序,因其调试方便、直观,大大
提高了应用软件的开发效率。
关键词:机顶盒,嵌入式系统,软件开发,仿真平台
I
华中科技大学硕士学位论文
Abstract
As the development of digital TV, STB(Set Top Box) is used more and more
the tradional hardware to software development and piler mode have
lots of abuse ,which limit the speed and efficiency of the STB's this
current situation, this paper put forward the design and relization of a STB's simulation
platform for the software development , so that we can improve the efficiency of software
development.
According to analyse STB`s functions and layered structure, this paper built the
modules and layers of simulation platform. The simulation platform is consist of six
modules, which are OS(operation systerm), OSD, Demux, Tuner, Keyboard and Flash.
Taking use of the software and hardware of PC, pleted the function of each module.
Between the modules, OSD and Demux were the difficult and important points.
Communication between tasks by queues message and interface functions enabled them
organization as a team. This simulation platform can be used to develope our applications.
At the end ,so as to test feasibility of STB`s simulation platform, this paper created
an application program abount STB. We put the application