摘要
针对汽车偷油问题,提出基于Android平台的汽车油量监控报警系统。系统主要由油量实时采集通信车载终端、Web服务器、安卓手机客户端三大部分组成。油量实时采集通信终端以STM32为主控制器,实时采集处理油量传感器的油量值,并通过GPRS将实时油量数据发送至Web服务器。安卓手机客户端与Web服务器之间采用WebSocket进行通信,报警信息由服务器向安卓手机客户端主动推送。结果表明,系统能在汽车偷油的情况下及时在手机客户端上以震动和警铃的方式通知车主,对于解决汽车偷油问题具有较大的应用价值。
Aiming at the automobile oil theft problem, an automobile oil monitoring and alarming system based on Android platform is proposed. The system is mainly composed of real-time acquisition and communication terminal, Web server, Android mobile phone client. The real-time acquisition and communication terminal treating STM32 as the main controller acquires and processes the value of oil sensor and transmits the real-time oil data to the Web server through the GPRS. Android mobile phone client and Web server communicate with each other through the WebSocket, and Web servers proactively push the alarm information to the Android mobile phone client. Results showed that the system could realize the function that the mobile client will notify its owner by vibration and alarm when the oil of the automobile is being stolen, which is of great application value to solve the problem of automobile oil stealing.
作者
曾剑锋
苏娟
Zeng Jianfeng Su Juan(College of Electrical and Information Engineering, Hunan University, Changsha 410000, Hunan, China)
出处
《计算机应用与软件》
2017年第3期324-328,共5页
Computer Applications and Software
基金
湖南省科技项目(2014GK3007)