| In the agricultural process, temperature, humidity, light intensity and CO2 concentration and other factors affect the growth of crops. In traditional production process, it is not only a waste of manpower but also a challenge to the requirement of accuracy to adjust these environmental factors according to the criterion of experience judgment. With the development of science technology and wireless communication technology, intelligent management of agricultural production process has attracted more and more attention.To obtain accurate information about the living environment of crops and monitor the information intelligently, an intelligent wireless control system was designed and implemented based on Android system for the management of agricultural production process in the dissertation. The system is divided into the following three parts:(1) Hardware terminal subsystem. In order to collect real-time information of crop growth environment and execute of relevant instructions, a hardware terminal subsystem is designed. The system consists of sensors, microprocessors and cc2350 and so on. Sensor nodes are responsible for collecting information of crop growth environment. Microprocessor is responsible for receiving all kinds of data captured by sensors as well as the execution of the relevant instructions. cc2530 is mainly through ZigBee network to transmit data from the hardware terminal subsystem to the intelligent monitoring center.Intelligent wireless control system in agricultural production needs to monitor larger crop area, which leads to the limitation that hardware terminal system must be self-powered. The excessive energy consumption of the traditional wireless control system results in a waste of human, material and financial resources, which directly leads to higher production costs. Therefore, this paper proposes an algorithm named KDS (Kalman Data Sensor) which is based on Kalman filter algorithm. KDS runs on the hardware terminal systems. Compared with the traditional wireless control system, the intelligent wireless control system designed in this paper reduces the redundancy of information transmission and improves the accuracy of sensor-collected data so as to achieve the aim of reducing the consumption of energy of sensor nodes.(2) Intelligent monitoring center. The functions of the intelligent monitoring center are mainly realized through three modules:the foreground management module, the background management module and the server module. The foreground management module is composed of five parts, including system login, real-time display of crop environmental information, diagnosis of crop diseases and pests, equipment management, user management and monitoring point management. The background management module consists of three parts, including statistical analysis of historical data, expert knowledge base management, decision management. The server module comprises of a data receiving module, a data parsing module and a data pushing module. The server module is mainly responsible for receiving three aspects of data:the data sent by the serial ports from the hardware subsystem, the data sent by socket from the "micro-control" APP-side and the requested commands sent by WeChat public account. Once the server receives the data, it parses the XML and JSON files through the data parsing module. The data pushing module based on Android PN open source project will send the parsing data to the "micro-control" APP.(3) Mobile client. The main function of mobile client is to receive the real-time data from the intelligent monitoring center and send some related control commands. The mobile client includes self-developed "micro-control" APP and WeChat public account based on WeChat public platform, and these two mobile-side applications can be run independently.a) The self-developed "micro-control" APP. "micro-control" APP is a developed application based on Android platform. This program uses SQLite and SharedPreferences for data storage, design interface through the Archartengine technology, and use the Notification frame to achieve early warning notification function. The "micro-control" APP mainly comprises real-time data display module, threshold setting module, early warning data module, service control module, device operation module and mode control module.b) The WeChat public account based on WeChat public platform. This article uses the API function provided by WeChat platform to develop and design the WeChat public account of intelligent wireless control system. Users follow this WeChat public account by phone, and after verification they can intelligently monitor the agricultural production process.The system was tested in a laboratory environment and experimental results indicate that the system has a good reliability and stability. |