吉林大学学报(信息科学版)

• 论文 • 上一篇    

基于 Android 平台的信息采集与远程显示系统研究

吴祥坤, 章梦彪, 徐灵佳, 宋占伟   

  1. 吉林大学 电子科学与工程学院, 长春 130012
  • 收稿日期:2016-04-22 出版日期:2017-03-27 发布日期:2017-06-07
  • 作者简介:吴祥坤(1992— ), 男, 河南信阳人, 吉林大学硕士研究生, 主要从事嵌入式系统研究, (Tel)86-18744024728(E-mail) 337360287@ qq. com; 宋占伟(1962— ), 男, 长春人, 吉林大学教授, 硕士生导师, 主要从事数字信号处理、 图像处理、 智能交通和嵌入式系统研究, (Tel)86-13504473223(E-mail)songzw@ jlu. edu. cn。
  • 基金资助:
     长春市物联网重大科技专项基金资助项目(2011144)

Research of Android Platform Information Acquisition and#br# Diversified Display System Based on LAMP Server

WU Xiangkun, ZHANG Mengbiao, XU Lingjia, SONG Zhanwei   

  1. College of Electronic Science and Engineering, Jilin University, Changchun 130012, China
  • Received:2016-04-22 Online:2017-03-27 Published:2017-06-07

摘要: 为提高农场主对温室集群信息的准确性和实时性, 提出了基于 Android 平台的信息采集与远程显示系统,
在 Android 平台上实现对温室大棚温度信息的采集与上传至远程服务器, 用户再通过 Android 客户端程序或者浏
览器实现对温度信息的观测, 从而大大提高了获取温度信息途径的便捷性, 用户可以做到随时随地实时获取。 该
系统首先将嵌入式 Android 平台通过 JNI(Java Native Interface)调用读取外置温度传感器数据, 并通过 Internet 将
采集数据上传至 LAMP(Linux Apache MySQL PHP)服务器; 再将运行 Android 客户端或浏览器访问 Web 网页, 通
过 Internet 从服务器获取数据显示给用户。 程序运行测试证明, 该系统运行稳定, 并具有很好的用户交互效果,
同时, 对信息采集端网络情况不佳时数据上传程序进行了优化处理, 实现了断网后在网络恢复时续传的功能。

关键词: 远程服务器, 网页,  Android 平台, JNI 接口

Abstract: In the rapid development of Internet and mobile terminals today, greenhouse traditional access to
environmental information obviously should follow the footsteps of Internet+era, namely access to data through the
mobile terminal to replace the traditional way, this satisfies the user needs for efficient, fast and so on. This
paper presents a system based on Android platform realizing information acquisition and remote display. Android
platform is used to achieve the greenhouse temperature information collection and upload to the remote server.
Users through the Android client program or browser to achieve the temperature of the information. It greatly
improves the convenience of access to temperature information, users can do anytime, anywhere real-time. The
system’s workflow is as follows. First, embedded Android platform through JNI (Java Native Interface) call to
read the external temperature sensor data. Upload the collected data to the LAMP (Linux Apache MySQL PHP)
server via the Internet. Then, run the Android client or browser to access the Web page. Through the Internet
from the server to obtain data to the user. After running the test program proves that the system is stable and has
a good user interaction effect. When the information collection terminal is under poor network state, data upload
program is optimized to achieve the continual transfer after the network recovery.

Key words: android, java native interface(JNI), remote server, Web page

中图分类号: 

  • TP319