基于安卓系統(tǒng)移動(dòng)平臺的傳感器模塊設(shè)計(jì)與實(shí)現(xiàn)
發(fā)布時(shí)間:2018-05-22 18:51
本文選題:安卓系統(tǒng) + 設(shè)備控制; 參考:《哈爾濱工業(yè)大學(xué)》2017年碩士論文
【摘要】:隨著移動(dòng)互聯(lián)網(wǎng)技術(shù)和智能終端設(shè)備的發(fā)展與普及,人們對智能手機(jī)或平板電腦的功能和性能的使用要求也進(jìn)一步提高,對安卓系統(tǒng)進(jìn)行分析可知,該系統(tǒng)主要由系統(tǒng)內(nèi)核、后綴簡介、硬件抽象層以及中介軟件和安全權(quán)限機(jī)制構(gòu)成稱,通過系統(tǒng)內(nèi)各模塊之間的協(xié)調(diào)和運(yùn)作,為用戶提供便捷的智能終端服務(wù)。傳感器作為Android移動(dòng)智能終端的重要組成部分,在其中的應(yīng)用情況直接決定了安卓系統(tǒng)的穩(wěn)定性和智能終端的各項(xiàng)性能。對于傳感器系統(tǒng)而言,其在智能終端中的應(yīng)用能夠使終端的功能得以進(jìn)一步豐富,也正因如此,傳感器系統(tǒng)成為了當(dāng)前智能終端,特別是智能手機(jī)研發(fā)生產(chǎn)過程中不可或缺的重要組件。為了進(jìn)一步發(fā)揮傳感器在Android智能手機(jī)中的作用,豐富手機(jī)功能并使其能夠?qū)ο嚓P(guān)操作予以迅速反應(yīng),通過對安卓系統(tǒng)的基本框架與環(huán)境進(jìn)行闡述,本文以博世傳感器BMA020為例,詳細(xì)說明傳感器模塊的工作原理與流程,在此基礎(chǔ)上,分別從傳感器設(shè)備檢查初始化、設(shè)備ID注冊、內(nèi)存分碰、傳感器數(shù)據(jù)采集與傳輸、設(shè)備控制與休眠、硬件抽象層設(shè)計(jì)等方面對基于安卓系統(tǒng)移動(dòng)平臺的傳感器模塊展開了詳細(xì)設(shè)計(jì)和分析,并在高通MSM7227開發(fā)板中對所設(shè)計(jì)的傳感器的驅(qū)動(dòng)層以及硬件抽象層予以實(shí)現(xiàn),其中內(nèi)存分配是采用Linux slab分配器,數(shù)據(jù)采集是采用工作隊(duì)列的方式對寄存器數(shù)據(jù)進(jìn)行輪詢采集,數(shù)據(jù)傳輸是采用input子系統(tǒng)進(jìn)行傳輸,休眠設(shè)計(jì)是采用Early suspend機(jī)制,硬件抽象層以共享庫的形式編入到案桌文件系統(tǒng)中,最終,基于上述設(shè)計(jì)和實(shí)現(xiàn)完成相關(guān)軟、硬件的測試,并根據(jù)實(shí)際測試結(jié)果給出了驗(yàn)證性的圖示。
[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.
【學(xué)位授予單位】:哈爾濱工業(yè)大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2017
【分類號】:TP316;TP212
【參考文獻(xiàn)】
相關(guān)期刊論文 前10條
1 詹凱;;基于安卓操作系統(tǒng)的應(yīng)用軟件開發(fā)分析[J];通訊世界;2016年07期
2 關(guān)凱;吳水才;黃智生;;基于Android平臺的健康物聯(lián)網(wǎng)網(wǎng)關(guān)系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)[J];中國醫(yī)療設(shè)備;2016年01期
3 馮陳偉;張t,
本文編號:1923225
本文鏈接:http://sikaile.net/kejilunwen/zidonghuakongzhilunwen/1923225.html
最近更新
教材專著