摘要
广泛运行于移动终端的操作系统Android,因对底层硬件特性统一的抽象,具有优良的跨平台特性.但在实际应用中,因缺乏如何有效利用硬件特性的规范,Android现有设计框架无法高效使用底层硬件资源.本文基于北大众志Unicore硬件平台,为Android显示系统设计硬件加速层,通过利用硬件通道,减少了跨层函数的调用开销和数据在主存和显存间的交换次数,提升了Android显示系统中窗体绘制的性能,从而增强了用户体验.相关实验表明,本方案令Android光标操作在正常使用时CPU占用率下降约88%,摄像预览得到了83%的加速.
As an operating system widely applying on the mobile devices,because of the good Abstraction and encapsulation for characteristics of hardware platform,Android has well transplantation.But in practice,for lack of the specification about how to effectively use the hardware,Android design framework can′t efficiently explore the underlying hardware resources.Based on this,we design the Hardware Acceleration Layer for Android display system upon the platform of MPRC.The solution reduces the overhead of cross-layer function call,and the data swapping between main memory and video memory by utilizing the hardware channel.The experiment result illustrates that it brings 83% speed up for Android Camera,and it reduces the occupancy rate of CPU about 88% in common cases.
出处
《小型微型计算机系统》
CSCD
北大核心
2012年第7期1546-1550,共5页
Journal of Chinese Computer Systems
基金
国家"核高基"重大专项(2009ZX01036-001-003)资助