[go: up one dir, main page]

CN104007726A - Fish pond control method based on wireless sensor network and Android mobile phone platform - Google Patents

Fish pond control method based on wireless sensor network and Android mobile phone platform Download PDF

Info

Publication number
CN104007726A
CN104007726A CN201410209231.3A CN201410209231A CN104007726A CN 104007726 A CN104007726 A CN 104007726A CN 201410209231 A CN201410209231 A CN 201410209231A CN 104007726 A CN104007726 A CN 104007726A
Authority
CN
China
Prior art keywords
fish pond
fish
control
data
water quality
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410209231.3A
Other languages
Chinese (zh)
Inventor
叶晓国
钟鹏
王汝传
周剑
孙力娟
肖甫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing Post and Telecommunication University
Original Assignee
Nanjing Post and Telecommunication University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanjing Post and Telecommunication University filed Critical Nanjing Post and Telecommunication University
Priority to CN201410209231.3A priority Critical patent/CN104007726A/en
Publication of CN104007726A publication Critical patent/CN104007726A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

本发明是一种基于无线传感网技术和安卓手机平台的鱼塘控制方法,该控制方法分为两个部分,第一是基于无线传感网的鱼塘环境监测和控制,包括对分块鱼塘水质参数数据的采集以及鱼塘控制中心的监测和控制;第二是基于安卓手机平台的员工实时控制,包括员工通过安卓手机软件去鱼塘控制中心的服务器端下载数据并实时更新数据,从而查询自己所管辖区域的鱼塘的各项水质参数,对鱼塘实时监测和管理。该方法能提高鱼塘产量、实现养鱼种类丰富性以及提高鱼塘管理效率等,真正实现大中型鱼塘的有效控制管理。

The present invention is a fish pond control method based on wireless sensor network technology and Android mobile phone platform. The control method is divided into two parts. The first is the monitoring and control of fish pond environment based on wireless sensor network, including The collection of fish pond water quality parameter data and the monitoring and control of the fish pond control center; the second is the real-time control of employees based on the Android mobile phone platform, including employees downloading data from the server of the fish pond control center through the Android mobile phone software and updating the data in real time. In order to query the various water quality parameters of the fish ponds in the area under its jurisdiction, monitor and manage the fish ponds in real time. The method can increase the output of fish ponds, realize the richness of fish species, improve the management efficiency of fish ponds, etc., and truly realize the effective control and management of large and medium-sized fish ponds.

Description

一种基于无线传感网和安卓手机平台的鱼塘控制方法A fish pond control method based on wireless sensor network and Android mobile phone platform

技术领域technical field

本发明为基于无线传感网技术和安卓手机平台的大中型鱼塘控制方法,主要用来实时监测鱼塘的水环境并对水质出现的问题及时解决,提高鱼塘的管理效率。对实现养鱼种类丰富性和鱼塘的高效管理有着十分重要的意义,该项目属于物联网和无线传感器网络的交叉领域。The invention is a control method for large and medium-sized fish ponds based on wireless sensor network technology and an Android mobile phone platform, and is mainly used for real-time monitoring of the water environment of fish ponds, timely solving of water quality problems, and improvement of management efficiency of fish ponds. It is of great significance to realize the richness of fish species and the efficient management of fish ponds. This project belongs to the intersection field of the Internet of Things and wireless sensor networks.

背景技术Background technique

由于大中型的鱼塘会根据养鱼的品种不同分成若干块小鱼塘,每种鱼对于水温,深度,含氧量,PH值的要求也不同。而目前大部分的鱼塘对于水环境的监测和管理主要是根据人工完成的,这就造成自动化程度不高,对于水环境的检测精度较低。对于鱼塘中突发的状况不能及时安排人员采取措施,而造成鱼大量死亡以及鱼被污染。随着人们对于食品安全的关注以及对于产量的需求,迫切需要开发一套可扩展性强、价格便宜、容易管理、操作简单、高效率的鱼塘智能控制方案。目前有部分鱼塘采用有线方式将鱼塘采集的数据传送给鱼塘控制中心,但价格较高、安装和维护困难、员工调度以及工作效率低并且没有一套完善的对于大中型鱼塘管理的系统。Because large and medium-sized fish ponds will be divided into several small fish ponds according to different fish species, each fish has different requirements for water temperature, depth, oxygen content, and PH value. At present, most of the fish ponds are mainly based on manual monitoring and management of the water environment, which results in a low degree of automation and low detection accuracy for the water environment. Unable to arrange personnel to take measures in time for the sudden situation in the fish pond, and cause a large number of fish to die and fish to be polluted. With people's concern about food safety and the demand for output, it is urgent to develop a set of intelligent control solutions for fish ponds with strong scalability, low price, easy management, simple operation and high efficiency. At present, some fish ponds use wired methods to transmit the data collected by fish ponds to the fish pond control center, but the price is high, installation and maintenance are difficult, staff scheduling and work efficiency are low, and there is no complete set of management systems for large and medium-sized fish ponds. system.

本发明在物联网的架构下,通过CC2530传感器将采集到的每块鱼塘的数据实时传送给鱼塘控制中心PC机上的后台软件。对于大中型鱼塘而言,本方案同时支持每个员工通过安卓手机与鱼塘控制中心进行交互。实现了一个比较完善的对于大中型鱼塘进行控制的系统。Under the framework of the Internet of Things, the present invention transmits the collected data of each fish pond to the background software on the PC of the fish pond control center in real time through the CC2530 sensor. For large and medium-sized fish ponds, this solution also supports each employee to interact with the fish pond control center through an Android phone. A relatively complete control system for large and medium-sized fish ponds has been realized.

发明内容Contents of the invention

技术问题:本发明的内容是提供一种基于无线传感网和安卓手机平台的鱼塘控制方法,针对传统的对于大中型鱼塘水环境的监测和管理成本高、安装维护困难、员工工作效率低、问题处理不及时等缺点来进行设计,其目的是提高鱼塘产量、实现养鱼种类丰富性以及提高鱼塘管理效率等,真正实现大中型鱼塘的有效控制管理。Technical problem: The content of the present invention is to provide a fish pond control method based on a wireless sensor network and an Android mobile phone platform, aiming at the traditional monitoring and management of large and medium-sized fish pond water environments with high costs, difficult installation and maintenance, and employee work efficiency. The purpose is to increase the production of fish ponds, realize the richness of fish species and improve the management efficiency of fish ponds, so as to truly realize the effective control and management of large and medium-sized fish ponds.

技术方案:为了实现以上目的,本发明提出一种基于无线传感网技术和安卓手机平台的大中型鱼塘的控制系统。它包括基于无线传感网的鱼塘环境监测系统和基于安卓手机平台的员工实时控制系统。Technical solution: In order to achieve the above objectives, the present invention proposes a control system for large and medium-sized fish ponds based on wireless sensor network technology and an Android mobile phone platform. It includes a fish pond environment monitoring system based on a wireless sensor network and an employee real-time control system based on an Android phone platform.

本发明中基于无线传感网的鱼塘环境监测系统和基于安卓手机平台的员工实时控制系统,二者的具体描述如下:In the present invention, the fish pond environment monitoring system based on the wireless sensor network and the staff real-time control system based on the Android mobile phone platform are described in detail as follows:

1.所述基于无线传感网的鱼塘环境监测系统包括对分块鱼塘水质数据的采集系统以及鱼塘控制中心对鱼塘的监测和控制系统。1. The fish pond environment monitoring system based on the wireless sensor network includes a system for collecting water quality data of the block fish ponds and a fish pond control center for the monitoring and control system of the fish ponds.

1)所述对分块鱼塘水质数据的采集系统包括无线通信模块和传感器模块。1) The system for collecting water quality data of block fish ponds includes a wireless communication module and a sensor module.

2)所述无线通信模块选用CC2530芯片,利用基于IEEE802.15.4标准的低功耗无线个域网协议的Zigbee技术,通过节点之间的自组网,形成类星型路由网络,终端节点将数据传送路由节点,路由节点通过多跳将数据传送给协调器节点。协调器节点与鱼塘控制中心的PC机通过串口相连,将数据传送给PC机,实现水环境各参数的实时感知。2) The wireless communication module selects the CC2530 chip, utilizes the Zigbee technology based on the low-power wireless personal area network protocol of the IEEE802. Transmit routing node, the routing node transmits data to the coordinator node through multiple hops. The coordinator node is connected with the PC of the fish pond control center through a serial port, and transmits data to the PC to realize real-time perception of various parameters of the water environment.

3)所述传感器模块包含含氧量传感器、水温传感器、水压传感器、PH值传感器。这几种传感器采集数据输出电压,终端节点对其进行A/D转换,然后通过路由节点将数据传送给协调器节点。3) The sensor module includes an oxygen sensor, a water temperature sensor, a water pressure sensor, and a pH sensor. These kinds of sensors collect data and output voltage, and the terminal node performs A/D conversion on it, and then transmits the data to the coordinator node through the routing node.

4)所述鱼塘控制中心对鱼塘的监测和控制系统:鱼塘控制中心的PC机将协调器节点发来的各块鱼塘的水质参数数据,上传到服务器端进行分析和处理。鱼塘控制中心可以对指定区域的鱼塘进行查询,若发现鱼塘的异常状况后,就通知管理相应区域的员工进行处理,以减少损失。鱼塘控制中心同时可以与员工进行实时交互。考虑到由于外界各种因素以及因节点自身能量消耗导致节点死亡,鱼塘控制中心可以实时查询各个节点的状况,若出现死亡节点,软件就通过串口向协调器节点发送指令,选取最优的路由路径更改相应的路由表,使得整个系统可以稳定的运行。4) The fish pond monitoring and control system of the fish pond control center: the PC in the fish pond control center uploads the water quality parameter data of each fish pond sent by the coordinator node to the server for analysis and processing. The fishpond control center can inquire about the fishponds in the designated area, and if it finds abnormal conditions in the fishponds, it will notify the staff who manage the corresponding area to deal with it, so as to reduce losses. The fish pond control center can also interact with employees in real time. Considering that nodes die due to various external factors and their own energy consumption, Yupond Control Center can query the status of each node in real time. If there is a dead node, the software will send instructions to the coordinator node through the serial port to select the optimal route. The path changes the corresponding routing table, so that the entire system can run stably.

2.所述基于安卓手机平台的员工实时控制系统:编写一个基于安卓手机平台的鱼塘员工控制软件。员工可以通过软件去鱼塘控制中心的服务器端下载数据并实时更新,从而查询自己所管辖区域的鱼塘的各项水质参数,对鱼塘实时监测和控制。出现突发状况向鱼塘控制中心报告相关情况并寻求处理办法。2. The employee real-time control system based on the Android mobile phone platform: write a fish pond employee control software based on the Android mobile phone platform. Employees can use the software to download data from the server of the fish pond control center and update it in real time, so as to query the various water quality parameters of the fish ponds in the area under their jurisdiction, and monitor and control the fish ponds in real time. In case of emergencies, report the relevant situation to the fish pond control center and seek solutions.

方法流程Method flow

本发明的基于无线传感网技术和安卓手机平台的鱼塘控制方法实现步骤如下:The fish pond control method based on wireless sensor network technology and Android mobile phone platform of the present invention realizes steps as follows:

该控制方法分为两个部分,第一是基于无线传感网的鱼塘环境监测和控制,包括对分块鱼塘水质参数数据的采集以及鱼塘控制中心的监测和控制;第二是基于安卓手机平台的员工实时控制,包括员工通过安卓手机软件去鱼塘控制中心的服务器端下载数据并实时更新数据,从而查询自己所管辖区域的鱼塘的各项水质参数,对鱼塘实时监测和管理;具体包括如下步骤:The control method is divided into two parts. The first is the monitoring and control of the fish pond environment based on the wireless sensor network, including the collection of water quality parameter data of the block fish ponds and the monitoring and control of the fish pond control center; the second is based on The real-time control of employees on the Android mobile phone platform includes employees downloading data from the server of the fish pond control center through the Android mobile phone software and updating the data in real time, so as to query the various water quality parameters of the fish ponds in the area under their jurisdiction, and monitor and control the fish ponds in real time. Management; specifically include the following steps:

步骤1)基于无线传感网技术的鱼塘水质参数采集系统的搭建:按照每个分块鱼塘的大小布置若干终端节点,同时布置若干个路由节点,鱼塘控制中心内布置一个协调器节点,与鱼塘控制中心的PC机进行串口连接,用来接收鱼塘发来的水环境参数数据;Step 1) Build a fish pond water quality parameter collection system based on wireless sensor network technology: arrange several terminal nodes according to the size of each block fish pond, arrange several routing nodes at the same time, and arrange a coordinator node in the fish pond control center , to connect with the PC in the fish pond control center through a serial port to receive the water environment parameter data sent by the fish pond;

步骤2)鱼塘控制中心的监测和控制系统的搭建:采用用于鱼塘监测和控制的软件,实现对协调器节点传送过来的数据的接收并将数据上传到服务器端,对水质参数数据进行分类和处理分析,并能对员工进行实时调控,具有实时查询每块鱼塘的水质参数、对于鱼塘异常进行警告、可以与员工进行实时交互以及更改路由表功能;Step 2) Construction of the monitoring and control system of the fish pond control center: use the software for fish pond monitoring and control to realize the reception of the data transmitted by the coordinator node and upload the data to the server, and monitor the water quality parameter data Classification, processing and analysis, and real-time control of employees. It has the functions of real-time query of water quality parameters of each fish pond, warning of abnormal fish ponds, real-time interaction with employees and change of routing table;

步骤3)基于安卓手机平台的员工实时控制系统的搭建:采用基于安卓的员工鱼塘控制软件,给每个员工配备一个安装有员工鱼塘控制软件的安卓手机,用于员工对自己所管辖区域的水质进行实时监测和控制,并对突发情况进行及时上报并寻求解决方法;Step 3) Construction of an employee real-time control system based on the Android mobile phone platform: use the Android-based employee fish pond control software, and equip each employee with an Android mobile phone installed with the employee fish pond control software, which is used for employees to control the area under their jurisdiction Real-time monitoring and control of water quality, and timely reporting of emergencies and seeking solutions;

步骤4)基于无线传感网技术的鱼塘水质参数采集系统的实现:位于鱼塘的节点首先通过自组网建立类星型网络,自组网完成后,位于每个分块鱼塘的终端节点通过相关传感器采集数据,每隔1秒钟将采集的数据进行A/D转换后,将自己的节点号放在报文段的第一位并加上水质参数数据发送给离自己最近的路由节点,路由节点之间通过多次转发将数据传送给位于鱼塘控制中心的协调器节点;Step 4) Realization of the fish pond water quality parameter collection system based on wireless sensor network technology: the nodes located in the fish pond first establish a quasi-star network through an ad hoc network, and after the ad hoc network is completed, the terminals located in each block fish pond The node collects data through relevant sensors, and after A/D conversion of the collected data every 1 second, puts its own node number in the first place of the message segment and sends it to the nearest router with water quality parameter data Nodes, routing nodes transmit data to the coordinator node located in the fish pond control center through multiple forwarding;

步骤5)鱼塘控制中心的监测和控制系统的实现:当协调器节点接收到传送的水质参数时,协调器节点通过串口将数据传送给位于鱼塘控制中心的PC机上的控制软件,控制软件接收到数据后,按照节点号对水质参数数据进行汇总分析,并产生路由的拓扑结构以便节点死亡进行路由表更改;鱼塘控制中心的工作人员通过软件实时对于每块鱼塘的数据进行查询和管理,当遇到某块鱼塘的水质参数出现异常时,系统会发出警告,鱼塘控制中心在出现警告后就通知管理该块鱼塘的管理人员对其进行查看并做相应的处理;Step 5) Realization of the monitoring and control system of the fish pond control center: when the coordinator node received the transmitted water quality parameters, the coordinator node sent the data to the control software on the PC located in the fish pond control center through the serial port, and the control software After receiving the data, the water quality parameter data is summarized and analyzed according to the node number, and the topology structure of the routing is generated so that the routing table can be changed when the node dies; the staff of the fish pond control center can query and analyze the data of each fish pond in real time through the software. Management, when the water quality parameters of a certain fish pond are abnormal, the system will issue a warning, and the fish pond control center will notify the management personnel of the fish pond to check it and deal with it accordingly after the warning occurs;

步骤6)基于安卓手机平台的员工实时控制系统的实现:分管各块鱼塘的工作人员在各自负责的鱼塘巡查时,通过安卓手机查询各块鱼塘的水质参数数据,同时实时接收来自鱼塘控制中心的命令,当发现水质异常时,向鱼塘控制中心进行报告并采取相应的措施,同时负责查询所负责区域的节点的情况,一旦出现节点死亡的情况立即通知鱼塘控制中心,鱼塘控制中心在接收到节点死亡消息时,立即通过串口更改相应的路由表并通知人员及时修复。Step 6) Realization of the staff real-time control system based on the Android mobile phone platform: when the staff in charge of each fish pond inspects the fish ponds they are responsible for, they can query the water quality parameter data of each fish pond through the Android mobile phone, and at the same time receive data from the fish ponds in real time. When the water quality is found to be abnormal, report to the fish pond control center and take corresponding measures. At the same time, it is responsible for inquiring about the status of the nodes in the area in charge. Once a node dies, it will immediately notify the fish pond control center. When the pond control center receives the node death message, it immediately changes the corresponding routing table through the serial port and notifies personnel to repair it in time.

所述无线传感网技术是利用基于IEEE802.15.4标准的低功耗无线个域网协议的Zigbee技术,通过传感器节点之间的自组网,形成类星型网络,以多跳的方式进行数据传播。The wireless sensor network technology utilizes the Zigbee technology based on the IEEE802.15.4 standard low-power wireless personal area network protocol to form a quasi-star network through an ad hoc network between sensor nodes, and perform data transfer in a multi-hop manner. spread.

所述的水质参数数据包括水温、PH值、水深、水含氧量数据。The water quality parameter data includes data of water temperature, pH value, water depth, and water oxygen content.

有益效果:本发明提出的基于无线传感网技术和安卓手机平台的大中型鱼塘控制系统具有以下优点:Beneficial effects: the large and medium-sized fish pond control system based on wireless sensor network technology and Android mobile phone platform proposed by the present invention has the following advantages:

1)对于大中型分块管理的鱼塘来说,可以满足各种鱼类的生存环境,并实时对其监测,对于出现的异常可以立即处理,避免不必要的损失。1) For large and medium-sized fish ponds managed in blocks, it can meet the living environment of various fishes and monitor them in real time. Any abnormalities can be dealt with immediately to avoid unnecessary losses.

2)相对于传统的鱼塘控制而言,此系统对于水质参数的检测更加精确。2) Compared with traditional fish pond control, this system is more accurate in detecting water quality parameters.

3)基于安卓手机平台的控制管理使得对于鱼塘的信息化控制管理不再局限于室内,更加方便。3) The control and management based on the Android mobile phone platform makes the information control and management of fish ponds no longer limited to indoors, which is more convenient.

4)实现了控制中心和各分块管理人员的实时交互,提高了效率,同时操作简单。4) The real-time interaction between the control center and the management personnel of each block is realized, the efficiency is improved, and the operation is simple at the same time.

5)提供了对于由于外界环境因素和节点自身能量消耗而死亡的节点的处理办法。5) Provides a method for dealing with nodes that die due to external environmental factors and energy consumption of the nodes themselves.

6)减少了人员成本。6) Reduced personnel costs.

附图说明Description of drawings

图1所示为节点间组网及数据传输的示意图。FIG. 1 is a schematic diagram of networking and data transmission between nodes.

图2所示为鱼塘环境监测系统采集及传送数据的流程图。Figure 2 shows the flow chart of collecting and transmitting data by the fish pond environmental monitoring system.

图3所示为鱼塘控制中心对于鱼塘的监测和控制的流程图。Fig. 3 is a flow chart showing the monitoring and control of the fish pond by the fish pond control center.

图4所示为基于安卓手机平台的员工实时控制系统对于鱼塘的实时监测和控制的流程图。Figure 4 shows the flow chart of the real-time monitoring and control of fish ponds by the employee real-time control system based on the Android mobile phone platform.

图5所示为员工和鱼塘控制中心的PC机及服务器实时交互的示意图。Figure 5 is a schematic diagram of real-time interaction between employees and the PC and server in the fish pond control center.

具体实施方式Detailed ways

下面结合附图和具体实施例,进一步阐明发明。The invention will be further explained below in conjunction with the accompanying drawings and specific embodiments.

基于无线传感网技术和安卓手机平台的鱼塘控制系统的控制过程如下:首先协调器节点先通过自组网建立网络,然后路由节点和终端节点加入网络,形成如图1所示的类星型网络。如图2所示,自组网完成后,布置在每个分块鱼塘的终端节点通过相关传感器采集水温、PH值、水深、水含氧量等数据,每隔1秒钟将实时的数据进行A/D转换后,并将自己的节点号放在报文段的第一位再加上水质参数信息发送给离自己最近的路由节点。路由节点首先判断自己的下一跳是否为协调器节点。如果是协调器节点则路由节点就将数据传送给协调器节点,否则路由节点通过多次转发将数据传送给位于鱼塘控制中心的协调器节点。协调器节点在接收到数据后给予协调器节点一个响应告知其自己已收到数据并实时将数据通过串口传送给鱼塘控制中心的PC机。The control process of the fish pond control system based on wireless sensor network technology and Android mobile phone platform is as follows: First, the coordinator node establishes a network through an ad hoc network, and then routing nodes and terminal nodes join the network to form a quasar as shown in Figure 1. type network. As shown in Figure 2, after the self-organizing network is completed, the terminal nodes arranged in each block fish pond collect data such as water temperature, pH value, water depth, water oxygen content, etc. After A/D conversion, put your own node number in the first part of the message segment and send it to the nearest routing node along with the water quality parameter information. The routing node first judges whether its next hop is the coordinator node. If it is a coordinator node, the routing node will transmit the data to the coordinator node, otherwise the routing node will transmit the data to the coordinator node located in the fish pond control center through multiple forwarding. After receiving the data, the coordinator node gives a response to the coordinator node to inform itself that it has received the data and transmits the data to the PC in the fish pond control center through the serial port in real time.

如图3所示,当鱼塘控制中心的PC机接收到协调器节点发送来的水温、PH值、水深、水含氧量等数据时,首先将水质参数传送到后台服务器端,管理软件从数据库中提取数据,按照节点号对水质参数数据进行汇总分析。并产生路由的拓扑结构以便节点死亡进行路由表更改。管理软件实时查询是否有员工发现水质异常以及是否有死亡节点。如果有员工报告异常情况,就立即告知员工处理方案并进行处理,如果有死亡节点则按最优原则更新路由表,将新路由表通过串口传送给协调器节点进行重组网。鱼塘控制中心的工作人员通过软件实时对于每块鱼塘的数据进行查询和管理。当遇到某块鱼塘的水质参数出现异常时,系统会发出警告。鱼塘控制中心出现警告后就通知管理该块鱼塘的管理人员对问题做出相应的处理。As shown in Figure 3, when the PC in the fish pond control center receives data such as water temperature, PH value, water depth, and water oxygen content sent by the coordinator node, it first transmits the water quality parameters to the background server, and the management software starts from The data is extracted from the database, and the water quality parameter data is summarized and analyzed according to the node number. And generate routing topology for node death to make routing table changes. The management software checks in real time whether any employee finds abnormal water quality and whether there is a dead node. If an employee reports an abnormal situation, immediately inform the employee of the solution and deal with it. If there is a dead node, the routing table is updated according to the optimal principle, and the new routing table is sent to the coordinator node through the serial port for reorganization. The staff of the fish pond control center query and manage the data of each fish pond in real time through software. When the water quality parameters of a certain fish pond are abnormal, the system will issue a warning. After a warning occurs in the fish pond control center, the manager who manages the fish pond will be notified to deal with the problem accordingly.

如图4,5所示,分管各块鱼塘管理的工作人员在各自负责的鱼塘巡查时,首先实时接收来自鱼塘控制中心的命令,有命令则处理。若没有相关命令则通过安装在安卓手机上的管理软件从后台服务器端的数据库中下载最新数据,查询各块鱼塘的水温、PH值、水深、水含氧量等数据,同时实时接收来自鱼塘控制中心的命令。当发现水质异常时,向鱼塘控制中心进行报告并对采取相应的措施。As shown in Figures 4 and 5, when the staff in charge of the management of each fish pond inspect their respective fish ponds, they first receive orders from the fish pond control center in real time, and process them if there are orders. If there is no relevant command, download the latest data from the database on the background server through the management software installed on the Android phone, query the water temperature, PH value, water depth, water oxygen content and other data of each fish pond, and receive data from the fish pond in real time command from the control center. When abnormal water quality is found, report to the pond control center and take corresponding measures.

具体步骤为:The specific steps are:

步骤1)基于无线传感网技术的鱼塘水质参数采集系统的搭建:按照每个分块鱼塘的大小布置若干终端节点,同时布置若干个路由节点,鱼塘控制中心内布置一个协调器节点,与鱼塘控制中心的PC机进行串口连接,用来接收鱼塘发来的水环境参数数据;Step 1) Build a fish pond water quality parameter collection system based on wireless sensor network technology: arrange several terminal nodes according to the size of each block fish pond, arrange several routing nodes at the same time, and arrange a coordinator node in the fish pond control center , to connect with the PC in the fish pond control center through a serial port to receive the water environment parameter data sent by the fish pond;

步骤2)鱼塘控制中心的监测和控制系统的搭建:采用用于鱼塘监测和控制的软件,实现对协调器节点传送过来的数据的接收并将数据上传到服务器端,对水质参数数据进行分类和处理分析,并能对员工进行实时调控,具有实时查询每块鱼塘的水质参数、对于鱼塘异常进行警告、可以与员工进行实时交互以及更改路由表功能;Step 2) Construction of the monitoring and control system of the fish pond control center: use the software for fish pond monitoring and control to realize the reception of the data transmitted by the coordinator node and upload the data to the server, and monitor the water quality parameter data Classification, processing and analysis, and real-time control of employees. It has the functions of real-time query of water quality parameters of each fish pond, warning of abnormal fish ponds, real-time interaction with employees and change of routing table;

步骤3)基于安卓手机平台的员工实时控制系统的搭建:采用基于安卓的员工鱼塘控制软件,给每个员工配备一个安装有员工鱼塘控制软件的安卓手机,用于员工对自己所管辖区域的水质进行实时监测和控制,并对突发情况进行及时上报并寻求解决方法;Step 3) Construction of an employee real-time control system based on the Android mobile phone platform: use the Android-based employee fish pond control software, and equip each employee with an Android mobile phone installed with the employee fish pond control software, which is used for employees to control the area under their jurisdiction Real-time monitoring and control of water quality, and timely reporting of emergencies and seeking solutions;

步骤4)基于无线传感网技术的鱼塘水质参数采集系统的实现:位于鱼塘的节点首先通过自组网建立类星型网络,自组网完成后,位于每个分块鱼塘的终端节点通过相关传感器采集数据,每隔1秒钟将采集的数据进行A/D转换后,将自己的节点号放在报文段的第一位并加上水质参数数据发送给离自己最近的路由节点,路由节点之间通过多次转发将数据传送给位于鱼塘控制中心的协调器节点;Step 4) Realization of the fish pond water quality parameter collection system based on wireless sensor network technology: the nodes located in the fish pond first establish a star-like network through an ad hoc network, and after the ad hoc network is completed, the terminals located in each block fish pond The node collects data through relevant sensors, and after A/D conversion of the collected data every 1 second, puts its own node number in the first place of the message segment and sends it to the nearest router with water quality parameter data Nodes, routing nodes transmit data to the coordinator node located in the fish pond control center through multiple forwarding;

步骤5)鱼塘控制中心的监测和控制系统的实现:当协调器节点接收到传送的水质参数时,协调器节点通过串口将数据传送给位于鱼塘控制中心的PC机上的控制软件,控制软件接收到数据后,按照节点号对水质参数数据进行汇总分析,并产生路由的拓扑结构以便节点死亡进行路由表更改;鱼塘控制中心的工作人员通过软件实时对于每块鱼塘的数据进行查询和管理,当遇到某块鱼塘的水质参数出现异常时,系统会发出警告,鱼塘控制中心在出现警告后就通知管理该块鱼塘的管理人员对其进行查看并做相应的处理;Step 5) Realization of the monitoring and control system of the fish pond control center: when the coordinator node received the transmitted water quality parameters, the coordinator node sent the data to the control software on the PC located in the fish pond control center through the serial port, and the control software After receiving the data, the water quality parameter data is summarized and analyzed according to the node number, and the topology structure of the routing is generated so that the routing table can be changed when the node dies; the staff of the fish pond control center can query and analyze the data of each fish pond in real time through the software. Management, when the water quality parameters of a certain fish pond are abnormal, the system will issue a warning, and the fish pond control center will notify the management personnel of the fish pond to check it and deal with it accordingly after the warning occurs;

步骤6)基于安卓手机平台的员工实时控制系统的实现:分管各块鱼塘的工作人员在各自负责的鱼塘巡查时,通过安卓手机查询各块鱼塘的水质参数数据,同时实时接收来自鱼塘控制中心的命令,当发现水质异常时,向鱼塘控制中心进行报告并采取相应的措施,同时负责查询所负责区域的节点的情况,一旦出现节点死亡的情况立即通知鱼塘控制中心,鱼塘控制中心在接收到节点死亡消息时,立即通过串口更改相应的路由表并通知人员及时修复。Step 6) Realization of the staff real-time control system based on the Android mobile phone platform: when the staff in charge of each fish pond inspects the fish ponds they are responsible for, they can query the water quality parameter data of each fish pond through the Android mobile phone, and at the same time receive data from the fish ponds in real time. When the water quality is found to be abnormal, report to the fish pond control center and take corresponding measures. At the same time, it is responsible for inquiring about the status of the nodes in the area in charge. Once a node dies, it will immediately notify the fish pond control center. When the pond control center receives the node death message, it immediately changes the corresponding routing table through the serial port and notifies personnel to repair it in time.

Claims (3)

1.一种基于无线传感网技术和安卓手机平台的鱼塘控制方法,其特征在于:该控制方法分为两个部分,第一是基于无线传感网的鱼塘环境监测和控制,包括对分块鱼塘水质参数数据的采集以及鱼塘控制中心的监测和控制;第二是基于安卓手机平台的员工实时控制,包括员工通过安卓手机软件去鱼塘控制中心的服务器端下载数据并实时更新数据,从而查询自己所管辖区域的鱼塘的各项水质参数,对鱼塘实时监测和管理;具体包括如下步骤:1. a fish pond control method based on wireless sensor network technology and Android mobile phone platform, is characterized in that: this control method is divided into two parts, the first is the fish pond environment monitoring and control based on wireless sensor network, including The collection of water quality parameter data of block fish ponds and the monitoring and control of the fish pond control center; the second is the real-time control of employees based on the Android mobile phone platform, including employees downloading data from the server side of the fish pond control center through the Android mobile phone software and real-time Update the data, so as to query the various water quality parameters of the fish ponds in the area under its jurisdiction, and monitor and manage the fish ponds in real time; the specific steps include the following: 步骤1)基于无线传感网技术的鱼塘水质参数采集系统的搭建:按照每个分块鱼塘的大小布置若干终端节点,同时布置若干个路由节点,鱼塘控制中心内布置一个协调器节点,与鱼塘控制中心的PC机进行串口连接,用来接收鱼塘发来的水环境参数数据;Step 1) Build a fish pond water quality parameter collection system based on wireless sensor network technology: arrange several terminal nodes according to the size of each block fish pond, arrange several routing nodes at the same time, and arrange a coordinator node in the fish pond control center , to connect with the PC in the fish pond control center through a serial port to receive the water environment parameter data sent by the fish pond; 步骤2)鱼塘控制中心的监测和控制系统的搭建:采用用于鱼塘监测和控制的软件,实现对协调器节点传送过来的数据的接收并将数据上传到服务器端,对水质参数数据进行分类和处理分析,并能对员工进行实时调控,具有实时查询每块鱼塘的水质参数、对于鱼塘异常进行警告、可以与员工进行实时交互以及更改路由表功能;Step 2) Construction of the monitoring and control system of the fish pond control center: use the software for fish pond monitoring and control to realize the reception of the data transmitted by the coordinator node and upload the data to the server, and monitor the water quality parameter data Classification, processing and analysis, and real-time control of employees. It has the functions of real-time query of water quality parameters of each fish pond, warning of abnormal fish ponds, real-time interaction with employees and change of routing table; 步骤3)基于安卓手机平台的员工实时控制系统的搭建:采用基于安卓的员工鱼塘控制软件,给每个员工配备一个安装有员工鱼塘控制软件的安卓手机,用于员工对自己所管辖区域的水质进行实时监测和控制,并对突发情况进行及时上报并寻求解决方法;Step 3) Construction of an employee real-time control system based on the Android mobile phone platform: use the Android-based employee fish pond control software, and equip each employee with an Android mobile phone installed with the employee fish pond control software, which is used for employees to control the area under their jurisdiction Real-time monitoring and control of water quality, and timely reporting of emergencies and seeking solutions; 步骤4)基于无线传感网技术的鱼塘水质参数采集系统的实现:位于鱼塘的节点首先通过自组网建立类星型网络,自组网完成后,位于每个分块鱼塘的终端节点通过相关传感器采集数据,每隔1秒钟将采集的数据进行A/D转换后,将自己的节点号放在报文段的第一位并加上水质参数数据发送给离自己最近的路由节点,路由节点之间通过多次转发将数据传送给位于鱼塘控制中心的协调器节点;Step 4) Realization of the fish pond water quality parameter collection system based on wireless sensor network technology: the nodes located in the fish pond first establish a quasi-star network through an ad hoc network, and after the ad hoc network is completed, the terminals located in each block fish pond The node collects data through relevant sensors, and after A/D conversion of the collected data every 1 second, puts its own node number in the first place of the message segment and sends it to the nearest router with water quality parameter data Nodes, routing nodes transmit data to the coordinator node located in the fish pond control center through multiple forwarding; 步骤5)鱼塘控制中心的监测和控制系统的实现:当协调器节点接收到传送的水质参数时,协调器节点通过串口将数据传送给位于鱼塘控制中心的PC机上的控制软件,控制软件接收到数据后,按照节点号对水质参数数据进行汇总分析,并产生路由的拓扑结构以便节点死亡进行路由表更改;鱼塘控制中心的工作人员通过软件实时对于每块鱼塘的数据进行查询和管理,当遇到某块鱼塘的水质参数出现异常时,系统会发出警告,鱼塘控制中心在出现警告后就通知管理该块鱼塘的管理人员对其进行查看并做相应的处理;Step 5) Realization of the monitoring and control system of the fish pond control center: when the coordinator node received the transmitted water quality parameters, the coordinator node sent the data to the control software on the PC located in the fish pond control center through the serial port, and the control software After receiving the data, the water quality parameter data is summarized and analyzed according to the node number, and the topology structure of the routing is generated so that the routing table can be changed when the node dies; the staff of the fish pond control center can query and analyze the data of each fish pond in real time through the software. Management, when the water quality parameters of a certain fish pond are abnormal, the system will issue a warning, and the fish pond control center will notify the management personnel of the fish pond to check it and deal with it accordingly after the warning occurs; 步骤6)基于安卓手机平台的员工实时控制系统的实现:分管各块鱼塘的工作人员在各自负责的鱼塘巡查时,通过安卓手机查询各块鱼塘的水质参数数据,同时实时接收来自鱼塘控制中心的命令,当发现水质异常时,向鱼塘控制中心进行报告并采取相应的措施,同时负责查询所负责区域的节点的情况,一旦出现节点死亡的情况立即通知鱼塘控制中心,鱼塘控制中心在接收到节点死亡消息时,立即通过串口更改相应的路由表并通知人员及时修复。Step 6) Realization of the staff real-time control system based on the Android mobile phone platform: when the staff in charge of each fish pond inspects the fish ponds they are responsible for, they can query the water quality parameter data of each fish pond through the Android mobile phone, and at the same time receive data from the fish ponds in real time. When the water quality is found to be abnormal, report to the fish pond control center and take corresponding measures. At the same time, it is responsible for inquiring about the status of the nodes in the area in charge. Once a node dies, it will immediately notify the fish pond control center. When the pond control center receives the node death message, it immediately changes the corresponding routing table through the serial port and notifies personnel to repair it in time. 2.根据权利要求1所述的基于无线传感网技术和安卓手机平台的鱼塘控制方法,其特征在于:所述无线传感网技术是利用基于IEEE802.15.4标准的低功耗无线个域网协议的Zigbee技术,通过传感器节点之间的自组网,形成类星型网络,以多跳的方式进行数据传播。2. the fishpond control method based on wireless sensor network technology and Android mobile phone platform according to claim 1, is characterized in that: described wireless sensor network technology utilizes the low-power consumption wireless domain based on IEEE802.15.4 standard The Zigbee technology of network protocol, through the ad hoc network between sensor nodes, forms a quasar network, and transmits data in a multi-hop manner. 3.根据权利要求1所述的基于无线传感网技术和安卓手机平台的鱼塘控制方法,其特征在于所述的水质参数数据包括水温、PH值、水深、水含氧量数据。3. the fishpond control method based on wireless sensor network technology and Android mobile phone platform according to claim 1, is characterized in that described water quality parameter data comprises water temperature, pH value, depth of water, water oxygen content data.
CN201410209231.3A 2014-05-16 2014-05-16 Fish pond control method based on wireless sensor network and Android mobile phone platform Pending CN104007726A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410209231.3A CN104007726A (en) 2014-05-16 2014-05-16 Fish pond control method based on wireless sensor network and Android mobile phone platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410209231.3A CN104007726A (en) 2014-05-16 2014-05-16 Fish pond control method based on wireless sensor network and Android mobile phone platform

Publications (1)

Publication Number Publication Date
CN104007726A true CN104007726A (en) 2014-08-27

Family

ID=51368432

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410209231.3A Pending CN104007726A (en) 2014-05-16 2014-05-16 Fish pond control method based on wireless sensor network and Android mobile phone platform

Country Status (1)

Country Link
CN (1) CN104007726A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105900912A (en) * 2016-04-15 2016-08-31 上海工程技术大学 Multi-aerator linkage smart control device for large-scale aquaculture pond
CN105988492A (en) * 2015-03-05 2016-10-05 王水林 Human factor engineering realizing method and frame based on a sensor
CN106525132A (en) * 2016-11-26 2017-03-22 福州微启迪物联科技有限公司 NB-IoT-based water resource grid supervision system and implementation method thereof
CN108279722A (en) * 2018-01-19 2018-07-13 深圳森阳环保材料科技有限公司 Forest frog culture canopy environmental control system
CN108415318A (en) * 2018-02-06 2018-08-17 南京邮电大学 Water monitoring device based on high in the clouds platform
CN109073623A (en) * 2016-08-05 2018-12-21 丹麦蓝单元公司 Centralized water monitoring system and method in fishing ground

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101943907A (en) * 2010-09-20 2011-01-12 江苏兴航智控科技股份有限公司 ZigBee technology-based fishpond water quality real-time monitoring system
CA2699372A1 (en) * 2010-04-09 2011-10-09 Kuo-Hung Tseng Aquacultural remote control system
CN103197656A (en) * 2013-04-19 2013-07-10 中国水产科学研究院淡水渔业研究中心 Aquaculture things networking service system based on Android platform
CN103268105A (en) * 2013-05-13 2013-08-28 江苏大学 Aquaculture remote monitoring system based on the Android platform of the Internet of Things

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2699372A1 (en) * 2010-04-09 2011-10-09 Kuo-Hung Tseng Aquacultural remote control system
CN101943907A (en) * 2010-09-20 2011-01-12 江苏兴航智控科技股份有限公司 ZigBee technology-based fishpond water quality real-time monitoring system
CN103197656A (en) * 2013-04-19 2013-07-10 中国水产科学研究院淡水渔业研究中心 Aquaculture things networking service system based on Android platform
CN103268105A (en) * 2013-05-13 2013-08-28 江苏大学 Aquaculture remote monitoring system based on the Android platform of the Internet of Things

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
刘艳: "基于无线传感器网络的水产养殖监测系统研究", 《中国优秀硕士学位论文全文数据库信息科技辑》 *
王朝霞: "Zigbee无线传感器网络节点硬件与组网协议设计", 《中国优秀硕士学位论文全文数据库信息科技辑》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105988492A (en) * 2015-03-05 2016-10-05 王水林 Human factor engineering realizing method and frame based on a sensor
CN105900912A (en) * 2016-04-15 2016-08-31 上海工程技术大学 Multi-aerator linkage smart control device for large-scale aquaculture pond
CN109073623A (en) * 2016-08-05 2018-12-21 丹麦蓝单元公司 Centralized water monitoring system and method in fishing ground
CN109073623B (en) * 2016-08-05 2022-06-21 丹麦蓝单元公司 Centralized water monitoring system and method in fishing ground
US11408879B2 (en) 2016-08-05 2022-08-09 Blue Unit A/S System and method for centralized water monitoring in a fish farm
CN106525132A (en) * 2016-11-26 2017-03-22 福州微启迪物联科技有限公司 NB-IoT-based water resource grid supervision system and implementation method thereof
CN108279722A (en) * 2018-01-19 2018-07-13 深圳森阳环保材料科技有限公司 Forest frog culture canopy environmental control system
CN108415318A (en) * 2018-02-06 2018-08-17 南京邮电大学 Water monitoring device based on high in the clouds platform

Similar Documents

Publication Publication Date Title
CN102665249B (en) Atmospheric pollution monitoring system based on wireless sensor network
CN202886979U (en) Agricultural production remote monitoring and intelligent decision making system based on Internet of Things
CN102098805B (en) Multi-parameter modular distributed aquaculture water environment wireless monitoring system and method
CN202720001U (en) Air pollution real-time monitoring system based on wireless sensor network
CN104007726A (en) Fish pond control method based on wireless sensor network and Android mobile phone platform
CN202512124U (en) Water quality monitoring early warning system based on radio frequency identification (RFID) and wireless sensing network
CN203117769U (en) Closed type intelligent plant factory monitoring and management system based on wireless sensor network (WSN) technology
CN105005234B (en) The remote measurement of intelligent greenhouse environment and control system based on zigbee
CN101969613A (en) Wireless sensor network-based greenhouse group control system and control method thereof
CN204347601U (en) A kind of life staying idle at home environmental monitoring terminal based on Internet of Things and cloud computing
CN201845232U (en) Wireless sensor network monitoring system for grain conditions in grain depot
CN106198866B (en) Farm air-quality monitoring system based on wireless sensor network
CN106161646A (en) A kind of intelligent agricultural system based on Internet of Things
CN201947452U (en) Poultry house environment monitoring system based on wireless sensor network
CN102053138A (en) Pond culture water multi-parameter acquisition system and method
CN204331419U (en) A kind of plant factor's automatic monitored control system based on Internet of Things
CN107071022A (en) Biogas real-time monitoring system
CN106982243A (en) Internet of Things greenhouse based on Wireless MESH sensor network technique
Ding et al. Environment monitoring and early warning system of facility agriculture based on heterogeneous wireless networks
CN202818381U (en) Agricultural spray and drip irrigation system based on wireless sensing network and cloud computing
CN205541369U (en) An Underwater Environment Monitoring System Based on Wireless Sensor Network
CN104483936A (en) Wireless network information collection platform of wireless data access system
CN201837878U (en) Greenhouse group wireless sensor network control system
CN110113438A (en) A kind of heavy construction environmental monitoring system based on LoRa
CN204028651U (en) A kind of monitoring of the industrialized agriculture based on Internet of Things and service system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20140827