基于安卓系统移动平台的传感器模块设计与实现
发布时间:2018-05-22 18:51
本文选题:安卓系统 + 设备控制 ; 参考:《哈尔滨工业大学》2017年硕士论文
【摘要】:随着移动互联网技术和智能终端设备的发展与普及,人们对智能手机或平板电脑的功能和性能的使用要求也进一步提高,对安卓系统进行分析可知,该系统主要由系统内核、后缀简介、硬件抽象层以及中介软件和安全权限机制构成称,通过系统内各模块之间的协调和运作,为用户提供便捷的智能终端服务。传感器作为Android移动智能终端的重要组成部分,在其中的应用情况直接决定了安卓系统的稳定性和智能终端的各项性能。对于传感器系统而言,其在智能终端中的应用能够使终端的功能得以进一步丰富,也正因如此,传感器系统成为了当前智能终端,特别是智能手机研发生产过程中不可或缺的重要组件。为了进一步发挥传感器在Android智能手机中的作用,丰富手机功能并使其能够对相关操作予以迅速反应,通过对安卓系统的基本框架与环境进行阐述,本文以博世传感器BMA020为例,详细说明传感器模块的工作原理与流程,在此基础上,分别从传感器设备检查初始化、设备ID注册、内存分碰、传感器数据采集与传输、设备控制与休眠、硬件抽象层设计等方面对基于安卓系统移动平台的传感器模块展开了详细设计和分析,并在高通MSM7227开发板中对所设计的传感器的驱动层以及硬件抽象层予以实现,其中内存分配是采用Linux slab分配器,数据采集是采用工作队列的方式对寄存器数据进行轮询采集,数据传输是采用input子系统进行传输,休眠设计是采用Early suspend机制,硬件抽象层以共享库的形式编入到案桌文件系统中,最终,基于上述设计和实现完成相关软、硬件的测试,并根据实际测试结果给出了验证性的图示。
[Abstract]:With the development and popularization of mobile Internet technology and intelligent terminal devices, the requirements for the function and performance of smart phone or tablet computer are further improved. The analysis of Android system shows that the system is mainly made up of the kernel of the system. A brief description of the suffix, the hardware abstraction layer, the mediation software and the security authority mechanism, which provides users with convenient intelligent terminal services through the coordination and operation of the various modules in the system. As an important part of Android mobile intelligent terminal, the application of sensor directly determines the stability of Android system and the performance of intelligent terminal. For the sensor system, its application in the intelligent terminal can further enrich the function of the terminal, which is why the sensor system has become the current intelligent terminal. In particular, smartphone R & D production process is an indispensable and important component. In order to further play the role of sensors in Android smartphones, enrich the functions of mobile phones and enable them to respond quickly to related operations, the basic framework and environment of Android system are expounded. This paper takes Bosch sensor BMA020 as an example. The working principle and flow of the sensor module are explained in detail. On this basis, the sensor device check initialization, device ID registration, memory sub-collision, sensor data acquisition and transmission, device control and hibernation are introduced respectively. The sensor module based on Android mobile platform is designed and analyzed in detail in hardware abstraction layer design, and the driver layer and hardware abstraction layer of the sensor are implemented in Qualcomm MSM7227 development board. Among them, memory is allocated by Linux slab distributor, data acquisition is done by polling register data by work queue, data transmission is transmitted by input subsystem, sleep design adopts Early suspend mechanism. The hardware abstraction layer is programmed into the case table file system in the form of shared library. Finally, based on the above design and implementation, the relevant software and hardware testing is completed, and the verifiability diagram is given according to the actual test results.
【学位授予单位】:哈尔滨工业大学
【学位级别】:硕士
【学位授予年份】:2017
【分类号】:TP316;TP212
【参考文献】
相关期刊论文 前10条
1 詹凯;;基于安卓操作系统的应用软件开发分析[J];通讯世界;2016年07期
2 关凯;吴水才;黄智生;;基于Android平台的健康物联网网关系统的设计与实现[J];中国医疗设备;2016年01期
3 冯陈伟;张t,
本文编号:1923225
本文链接:https://www.wllwen.com/kejilunwen/zidonghuakongzhilunwen/1923225.html