首页 | 官方网站   微博 | 高级检索  
     

农业生产环境监测系统软件设计
引用本文:文小玲,邹艳华,周洵.农业生产环境监测系统软件设计[J].武汉工程大学学报,2014,0(7):68-72.
作者姓名:文小玲  邹艳华  周洵
作者单位:武汉工程大学电气信息学院,湖北 武汉 430205
基金项目:国家自然科学基金项目(51207117)
摘    要:针对农业生产环境的智能化管理需求,采用VC++6.0和MySQL数据库技术设计了信息远程监测系统.将传感器节点数据通过紫蜂(ZigBee)无线网络传至网关节点,再由串口上传至本地个人计算机(PC机),实现农业生产环境信息的远程监测;采用客户机/服务器体系结构模型,在VC++6.0开发平台上结合C++语言和MySQL数据库技术设计监测系统的实时数据监测、动态分析、历史查询和异常报警功能;利用MSComm控件设计PC机与下位机之间的串行通信程序,采用结构化查询语言操作数据库,通过开放数据源互联配置实现与MySQL数据库之间的互联.在终端节点接入温湿度传感器,将采样时间设置为20 min,系统上位机能够稳定地接收和显示下位机上传的温湿度值;通过设置温湿度异常标准值,当监测数据超出阀值时,系统能及时报警并记录异常信息和状态.实验结果表明系统实现了农业生产多元环境信息的实时、有效的监测,具有较好的稳定性、实用性、安全性和可维护性.

关 键 词:结构查询语言  客户机/服务器  农业生产环境信息  远程监测

Software design of agricultural production environment monitoring system
Authors:WEN Xiao-ling  ZOU Yan-hua  ZHOU Xun
Affiliation:School of Electrical and Information Engineering,Wuhan Institute of Technology,Wuhan 430205,China
Abstract:To meet the intelligent management needs of agricultural production environment, the remote monitoring system was presented using VC++6.0 and MySQL database technology. In the system, the monitored data of sensor nodes were transmitted to the gateway node through ZigBee wireless network, and then uploaded to the local PC by a serial port,so that the remote monitoring information of agricul- tural production environment was implemented ; based on the client/server structure mode,a monitoring system with real-time data monitoring,dynamic analysis,historical inquiry and abnormal alarm was designed by combining C++ language with the MySQL database technology on the VC++6.0 develop- ment platform; the serial communication was programmed based on MSComm,and the interconnection between the MySQL database and VC++ was achieved by configuring open database connectivity data source. Stable values of temperature and humidity were received and showed from the terminal nodes by setting the acquisition time to 20 minutes. Meanwhile, the system alarmed and recorded abnormalities after setting the standard values of temperature and humidity. Experiment results show that the system realizes monitoring the information of agricultural production environment in real-time and efficiently, and has good stability, practicality, safety and maintainability.
Keywords:structured query language  client/server  agricultural production environment information remote monitoring
本文献已被 CNKI 维普 等数据库收录!
点击此处可从《武汉工程大学学报》浏览原始摘要信息
点击此处可从《武汉工程大学学报》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号