Android平台在机顶盒上的移植与设计
发布时间:2018-08-05 10:30
【摘要】:随着信息技术的不断发展进步,数字电视机顶盒已经不单是数字电视接收设备,它逐步演化出各种业务功能,并有成为家庭媒体中心的趋势。与此同时,移动终端的Android开源操作系统凭借其开放、良好的开发环境,吸引着越来越多的应用工程师投入其中,使其占据了移动市场的最大份额,有着数以万计的扩展应用,深受用户喜欢。将Android系统应用到机顶盒上,为机顶盒引入丰富的应用程序和开放的开发环境,将极大深化机顶盒的媒体中心功能。本文首先对Android平台进行了研究,分别从静态和动态的角度分析了Android平台的系统架构,解剖了Android的代码结构;同时对移植的目标——数字电视机顶盒的相关标准、接收流程、以及软硬件构成等进行了分析,为后面Android的移植工作打下基础。由于机顶盒兼具嵌入式系统和数字电视终端的功能,本文将Android平台的移植内容分为基础性移植和机顶盒功能移植。其中,基础性移植工作包括:AAndroid开发环境的搭建,移植策略的制定等,并按从下往上的原则,逐步移植Android系统到机顶盒上,包括引导程序、内核及文件系统的修改移植等过程。而机顶盒的功能移植工作则包括:数字电视机顶盒的功能分析、符合Android软件架构的数字电视功能框架的设计,针对DVB设备功能模块的详细设计,以及针对部分辅助模块的功能设计等。本文在移植AAndroid的机顶盒功能时,给出了DVB设备模块在设备驱动层、硬件抽象层和应用程序框架层等的具体实现方法。提出了使用配置文档的方法进行设备管理,包括设备的驱动加载以及设备节点的添加,提升了AAndroid机顶盒内核的通用性,减少了版本控制的代价。同时,本文也给出了遥控、面板等辅助模块的实现方法。并同样使用了配置文档的方法管理遥控、面板设备,实现遥控、面板的自由按键映射。之后针对机顶盒的应用特点,并结合Android的电源管理机制,提出了比较节省功耗的Android机顶盒待机策略方案。最后,对本文所设计的DVB设备模块及遥控面板的辅助模块进行了功能性测试;针对各个模块编写了相应的测试程序进行测试,逐步地测试各个模块、各个部分的功能,有效地排除问题。实际测试结果表明,本文所设计的DVB设备模块及辅助模块的功能基本运行正常,达到了预期的目的。
[Abstract]:With the development of information technology, digital TV set-top box is not only a digital TV receiver, but also a variety of business functions, and it has become a home media center. At the same time, the Android open source operating system of mobile terminal has attracted more and more application engineers with its open and good development environment, making it occupy the largest share of the mobile market and has tens of thousands of expanded applications. Deeply liked by users. Applying Android system to set-top box, introducing rich application program and open development environment for set-top box will greatly deepen the function of media center of set-top box. Firstly, this paper studies the Android platform, analyzes the system architecture of the Android platform from the static and dynamic point of view, dissects the code structure of Android, and receives the relevant standards of the transplanted target, the digital TV set-top box. The software and hardware structure were analyzed, which laid the foundation for the transplantation of Android. Because set-top box has the functions of embedded system and digital TV terminal, the transplant content of Android platform is divided into basic transplantation and set-top box function transplantation. Among them, the basic transplanting work includes the construction of the development environment of the: a Android, the formulation of the transplant strategy and so on. According to the principle from the bottom up, the Android system is transplanted to the set-top box step by step, including the boot program, the modification and transplantation of the kernel and file system and so on. The function transplantation of set-top box includes: function analysis of digital TV set-top box, design of function frame of digital TV in accordance with Android software architecture, and detailed design of function module of DVB equipment. As well as the function design of some auxiliary modules and so on. In this paper, when transplanting the set-top box function of AAndroid, the implementation method of DVB device module in device driver layer, hardware abstract layer and application frame layer is given. This paper proposes a configuration document method for device management, including device driver loading and device node addition, which improves the generality of AAndroid set-top box kernel and reduces the cost of version control. At the same time, this paper also gives the implementation of remote control, panel and other auxiliary modules. It also uses the method of configuration document to manage remote control, panel equipment, remote control and free key mapping of panel. Then, according to the application characteristics of STB and the power management mechanism of Android, a Android set-top box standby strategy with less power consumption is proposed. Finally, the functional test of the DVB device module and the auxiliary module of the remote control panel is carried out, and the corresponding test program is written for each module to test the function of each module, and the function of each part is tested step by step. Eliminate problems effectively. The actual test results show that the functions of the DVB equipment module and the auxiliary module are running normally and the expected purpose has been achieved.
【学位授予单位】:福州大学
【学位级别】:硕士
【学位授予年份】:2014
【分类号】:TN949.197
[Abstract]:With the development of information technology, digital TV set-top box is not only a digital TV receiver, but also a variety of business functions, and it has become a home media center. At the same time, the Android open source operating system of mobile terminal has attracted more and more application engineers with its open and good development environment, making it occupy the largest share of the mobile market and has tens of thousands of expanded applications. Deeply liked by users. Applying Android system to set-top box, introducing rich application program and open development environment for set-top box will greatly deepen the function of media center of set-top box. Firstly, this paper studies the Android platform, analyzes the system architecture of the Android platform from the static and dynamic point of view, dissects the code structure of Android, and receives the relevant standards of the transplanted target, the digital TV set-top box. The software and hardware structure were analyzed, which laid the foundation for the transplantation of Android. Because set-top box has the functions of embedded system and digital TV terminal, the transplant content of Android platform is divided into basic transplantation and set-top box function transplantation. Among them, the basic transplanting work includes the construction of the development environment of the: a Android, the formulation of the transplant strategy and so on. According to the principle from the bottom up, the Android system is transplanted to the set-top box step by step, including the boot program, the modification and transplantation of the kernel and file system and so on. The function transplantation of set-top box includes: function analysis of digital TV set-top box, design of function frame of digital TV in accordance with Android software architecture, and detailed design of function module of DVB equipment. As well as the function design of some auxiliary modules and so on. In this paper, when transplanting the set-top box function of AAndroid, the implementation method of DVB device module in device driver layer, hardware abstract layer and application frame layer is given. This paper proposes a configuration document method for device management, including device driver loading and device node addition, which improves the generality of AAndroid set-top box kernel and reduces the cost of version control. At the same time, this paper also gives the implementation of remote control, panel and other auxiliary modules. It also uses the method of configuration document to manage remote control, panel equipment, remote control and free key mapping of panel. Then, according to the application characteristics of STB and the power management mechanism of Android, a Android set-top box standby strategy with less power consumption is proposed. Finally, the functional test of the DVB device module and the auxiliary module of the remote control panel is carried out, and the corresponding test program is written for each module to test the function of each module, and the function of each part is tested step by step. Eliminate problems effectively. The actual test results show that the functions of the DVB equipment module and the auxiliary module are running normally and the expected purpose has been achieved.
【学位授予单位】:福州大学
【学位级别】:硕士
【学位授予年份】:2014
【分类号】:TN949.197
【相似文献】
相关期刊论文 前10条
1 林耕宇;;观摩50名Google Android程序开发竞赛作品[J];电子与电脑;2008年08期
2 树子;;Android中文版不完全体验[J];互联网天地;2009年04期
3 Jason Whitmire;;产业软件专家如何协助解决Android的分裂困境[J];电子与电脑;2010年02期
4 蒋彬;;10款Android手机必备应用——Android操作系下的软件评测[J];微电脑世界;2010年04期
5 ;PCWorld Windows Phone 7挑战Android 毅然崛起的AndroidⅠ洗心革面的Windows Phone 7[J];微电脑世界;2010年08期
6 韩青;;Android平台发展的动力与挑战[J];中国电子商情(基础电子);2010年09期
7 方智勇;;Android手机这样用[J];电脑迷;2010年15期
8 缺少浪漫;;Android的另一面[J];电脑迷;2010年13期
9 ;ZTE and Three Release Android ,
本文编号:2165524
本文链接:https://www.wllwen.com/kejilunwen/wltx/2165524.html