基于蓝牙自配对的Android遥控系统的设计与实现
发布时间:2018-01-24 02:54
本文关键词: Android uinput 蓝牙自动配对 传感器 事件注入 出处:《电子科技大学》2014年硕士论文 论文类型:学位论文
【摘要】:这是一个IT技术飞速发展的时代,智能设备已经渗透进人们普通生活的方方面面,成为移动信息时代人们居家旅行工作娱乐必备之物。Android系统是一个以Linux为内核的开源操作系统,当前发展如火如荼,基于Android系统的嵌入式设备呈百家争鸣之势,只有做到更人性化的体验才能赢得市场。市场上基于Android系统的各种控制系统产品已有不少,但是都存在一些缺陷和不足,如连接繁琐,控制事件类型不多,不支持传感器控制等,因为这些短板而导致产品无法鹤立鸡群,让用户使用感受大打折扣。基于此,本课题研究正应了这种市场的需求,当然也不仅仅止于这种需求。本课题来源于实验室项目,在国产瑞芯公司最新芯片RK3066的开发板上,定制Android系统,通过开发板蓝牙模块与Android智能手机自配对连接,采集与注入控制事件如触摸控制事件,键盘输入控制事件,各种传感器事件等,达到手机遥控这个智能电视盒的控制系统。论文首先介绍了Android系统,蓝牙框架,Android事件注入,linux输入子系统等相关技术研究背景、国内外研究状况、本课题研究的目的和意义。然后对Android系统框架、Android的传感器框架与驱动平台、Android蓝牙自动配对,Linux内核的input输入子系统、Android事件输入系统做了详细的研究和分析,接着对本课题所研究的系统进行了功能性需求和非功能性需求的阐述。接着重点对整个控制端和被控端的控制系统进行了总体设计,包括对控制系统的总体流程图,控制端和被控制端硬件连接,控制端的软件、蓝牙自动配对、被控端数据缓冲、被控端控制事件注入内核方案、系统控制测试方法。在此基础上对整个系统做了编码实现测试的详细介绍。最后对论文所有工作进行了总结,并展望后续工作的方向。本论文的研究成果与创新点如下:(1)设计并实现了基于蓝牙自配对的Android遥控系统。(2)支持蓝牙零操作自动配对连接控制端和被控端,连接更便捷。(3)通过对linux input子系统和Android事件输入系统的分析,设计出一条新的传感器控制路径,控制传感器开发更方便,且传感器数据对被控端上层应用更通用。
[Abstract]:This is an era of rapid development of IT technology, intelligent devices have penetrated into all aspects of people's ordinary life. Android system is an open source operating system with Linux as its kernel, and it is developing in full swing. Embedded devices based on Android system are in the trend of a hundred schools of thought contending. Only to achieve a more humane experience to win the market. There are many control system products based on Android system in the market, but there are some defects and shortcomings, such as cumbersome connection. There are not many types of control events, do not support sensor control, etc., because of these short boards, the products can not stand out from the crowd, so that users can not use feelings greatly discount. Based on this, the research of this topic is to meet the needs of this kind of market. Of course, it is not just this demand. This topic comes from the laboratory project, customizing Android system on the development board of the latest chip RK3066 of Rui Shing Co., Ltd. Through the development board Bluetooth module and Android smart phone self-paired connection, acquisition and injection control events such as touch control events, keyboard input control events, various sensor events. The paper first introduces the Android system and the Bluetooth framework. Linux input subsystem and other related technology research background, domestic and foreign research status, the purpose and significance of this study. Then the Android system framework. Android sensor framework and driver platform Android Bluetooth automatically match the input input subsystem of the kernel. The Android event input system is studied and analyzed in detail. Then the functional requirements and non-functional requirements of the system are described. Then the overall design of the control system of the whole control end and the controlled end is carried out. It includes the overall flow chart of the control system, the hardware connection between the control end and the controlled end, the software of the control end, the Bluetooth automatic matching, the data buffer of the controlled end, and the controlled control event injection kernel scheme. System control test method. On this basis, the whole system code implementation of the test is introduced in detail. Finally, all the work of the paper is summarized. The research results and innovations of this thesis are as follows: 1) Design and implementation of Android remote control system based on Bluetooth self-pairing. Support Bluetooth zero operation automatic pair connection control end and controlled end. Through the analysis of linux input subsystem and Android event input system, a new sensor control path is designed, and the development of control sensor is more convenient. And the sensor data is more common to the upper layer of the controlled terminal.
【学位授予单位】:电子科技大学
【学位级别】:硕士
【学位授予年份】:2014
【分类号】:TP872;TN925
【参考文献】
相关期刊论文 前1条
1 王善发;吴道荣;;Java语言的反射机制[J];保山学院学报;2011年05期
相关硕士学位论文 前1条
1 吴茂安;基于I2C总线协议的几种传感器在Android系统中的底层软件设计与实现[D];西安电子科技大学;2012年
,本文编号:1458973
本文链接:https://www.wllwen.com/kejilunwen/wltx/1458973.html