A forest pest remote monitoring system

CN122524801APending Publication Date: 2026-08-07覃恒强
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
覃恒强
Filing Date
2025-11-27
Publication Date
2026-08-07

AI Technical Summary

Technical Problem

[0002]为了克服数据滞后、人力成本大、发现森林病虫害不及时的问题,本发明提供了一种森林病虫害远程监测系统

Benefits of technology

[0007]与现有技术相比,本发明的有益效果是:本发明通过电脑上的客户端发送特定指令即可实时得到各种传感器检测到的实时信息,解决了数据滞后、人工成本大、发现不及时的问题。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122524801A_ABST
    Figure CN122524801A_ABST
Patent Text Reader

Abstract

A forest pest remote monitoring system, including the detection end placed in the mountain forest and the monitoring end installed in the computer, the detection end is connected with the monitoring end through the telecom GPRS, the central processing unit, the pest characteristic sensor and the GPRS module are configured in the detection end, the monitoring end can be installed in the common computer, and the computer should be networked; the detection end detects the forest pest characteristics in real time, and when receiving the instruction sent by the monitoring end, the current real-time data can be sent to the monitoring end through the GPRS network. The client on the computer sends specific instructions to obtain the real-time information detected by various sensors in real time, and solves the problems of data lag, high labor cost and untimely discovery.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field This invention relates to the field of remote monitoring of forest pests and diseases, and more particularly to a forest pest and disease monitoring system. Background Technology

[0001] Traditional forest pest and disease control relies mainly on organizing personnel for on-site inspections. This method is relatively outdated and requires significant manpower. Furthermore, it cannot provide real-time information on the current state of forest pests and diseases. Although satellite observation has been adopted in recent years, it is primarily used to observe pests and diseases that have already reached a considerable scale. It is difficult to detect initial signs of pests and diseases in forests. Summary of the Invention

[0002] To overcome the problems of data lag, high labor costs, and untimely detection of forest pests and diseases, this invention provides a remote monitoring system for forest pests and diseases.

[0003] A remote monitoring system for forest pests and diseases includes a detection terminal placed in the forest and a monitoring terminal installed on a computer. The detection terminal and the monitoring terminal are connected via GPRS. The detection terminal is equipped with a central processing unit, pest and disease characteristic sensors, and a GPRS module. The monitoring terminal should be able to be installed on a commonly used computer, and the computer should be connected to the network for operation. The detection terminal detects forest pest and disease characteristics in real time, and when it receives instructions from the monitoring terminal, it should be able to send the current real-time data to the monitoring terminal via the GPRS network.

[0004] Nine sensors are provided.

[0005] The central processing unit can detect sensor information in real time and receive instructions sent by the monitoring terminal in real time.

[0006] The monitoring terminal can be installed on a regular Windows computer.

[0007] Compared with the prior art, the beneficial effects of the present invention are: the present invention can obtain real-time information detected by various sensors by sending specific instructions through a client on a computer, thus solving the problems of data lag, high labor costs, and untimely detection. Attached Figure Description

[0008] Figure 1 is the flowchart of the detection end program of the present invention; Figure 1.1 is the connection diagram of the sensor and the single-chip microcomputer AT89S52 of the present invention; Figure 1.2 is the connection diagram of the LCD12864 and the single-chip microcomputer of the present invention; Figure 1.3 is the connection circuit diagram of the key and the single-chip microcomputer of the present invention; Figure 1.4 is the DC power supply filter circuit diagram of the present invention; Figure 1.5 is the oscillation circuit diagram of the present invention; Figure 1.6 is the schematic diagram of the connection between the key reset and the single-chip microcomputer of the present invention; Figure 2 is the flowchart of the monitoring end program of the present invention; Figure 3 is the schematic diagram of the detection end of the present invention; Figure 4 is the debugging effect diagram of the detection end program of the present invention; Figure 5 is the debugging effect diagram of the monitoring end program of the present invention. Specific embodiments

[0009] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of the embodiments.

[0010] Working principle: According to the design process, the system can be divided into two parts, namely the detection end placed in the forest and the monitoring end server part. 1. The detection end part uses a "rice" - shaped data collection method, displays the current data on the LCD, and transmits and receives data through GPRS, with functions such as data clearing and display screen paging. 2. The monitoring end server has functions such as setting the IP address and port number, data sending and receiving areas, establishing and disconnecting connections, clearing the data in the receiving area, displaying the remote client IP address and sending port number, remotely controlling the data clearing of the detection end, and displaying the number of detection ends connected to the server.

[0011] The monitoring end part first needs to establish a connection with the server part through GPRS (a fixed public network IP address is required in this process, and data transmission and reception are mainly forwarded through the IP address and port number). Then it circularly detects the situation of forest pests and diseases and displays it on the LCD12864. At the same time, it also detects the control instructions sent from the monitoring end and whether the hardware keys are pressed, so as to determine functions such as whether to send user data and whether to clear the data. (Please refer to the following parts for the detailed working principle).

[0012] The general working principle of the detection end part: First, collect microscopic data representing direct or indirect characteristics of pests and diseases and macroscopic data of the physiological state of vegetation through P0.0 - P0.3 of the AT89S52 single-chip microcomputer.

[0013] After processing, historical micro and macro data are calculated and compared. The results are then displayed on an LCD12864 via serial communication using the P2.0 and P2.1 pins of an AT89S52 microcontroller. Simultaneously, control commands sent from the server and whether hardware buttons are pressed determine whether to send user data, reset data, etc. When the monitoring terminal sends the number 1, the detection terminal in the forest sends the pest and disease detection information of tree 1 to the monitoring terminal's server via GPRS; when the monitoring terminal sends the number 2, the detection terminal sends the pest and disease detection information of tree 2 to the monitoring terminal's server via GPRS; when the monitoring terminal sends the number 3, the detection terminal sends the pest and disease detection information of tree 3 to the monitoring terminal's server via GPRS; when the monitoring terminal sends the number 4, the detection terminal sends the pest and disease detection information of tree 4 to the monitoring terminal's server via GPRS; when the monitoring terminal sends the number 5, the detection terminal sends the pest and disease detection information of tree 5 to the monitoring terminal's server via GPRS; when the monitoring terminal sends the number 6, the detection terminal sends the number 7, the number 8, the number 9, the number 10, the number 11, the number 12, the number 12, the number 13, the number 14, the number 15, the number 16, the number 17, the number 18, the number 19, the number 10 ... When the monitoring terminal sends the pest and disease detection information of tree 6 to the monitoring terminal's server via GPRS, when the monitoring terminal sends the number 7, the monitoring terminal sends the pest and disease detection information of tree 7 to the monitoring terminal's server via GPRS; when the monitoring terminal sends the number 8, the monitoring terminal sends the pest and disease detection information of tree 8 to the monitoring terminal's server via GPRS; when the monitoring terminal sends the number 9, the monitoring terminal sends the pest and disease detection information of tree 9 to the monitoring terminal's server via GPRS; when button 1 on the monitoring terminal hardware is pressed, the LCD12864 flips to display the data of the previous tree; when button 2 on the monitoring terminal hardware is pressed, the LCD12864 flips to display the data of the next tree.

[0014] The sensor used in this system to characterize pests and diseases can send the spectral values ​​of the target area displayed by the hyperspectral image to the central processor microcontroller via pulse signals. By comparing the initial values, the current status of the forest affected by pests and diseases can be determined.

[0015] The wireless transmission circuit uses the Siemens SIM300 module, which supports GPRS functionality for mobile phone cards. Communication is achieved simply by connecting the SIM300's serial ports GTX and GRX to the microcontroller's RX and TX.

[0016] The LCD12864 has two communication modes: serial communication and parallel communication. It also integrates a Chinese character library [6]. Using the LCD12864 interface, it can communicate with a microcontroller via serial or parallel communication to form a fully Chinese human-machine interactive graphical interface. It can display 8×4 lines of 16×16 dot matrix Chinese characters and can also complete graphic display.

[0017] This detection terminal uses serial communication. The microcontroller's P2.0 and P2.1 ports are connected to the LCD12864's serial ports RS and R / W, while P2.2 is connected to the LCD12864's E port as a clock control signal. The serial connection method reduces the number of wires by six compared to the parallel connection method, significantly decreasing the overall wiring complexity. The LCD12864 circuitry also features contrast adjustment for clear text display.

[0018] The microcontroller detects whether a button is pressed by detecting a low-level signal, thereby controlling the corresponding function. One end of the button is grounded, and the other end is connected to ports P1.2-P1.6 respectively. When the button is pressed, the port level is set low. When the microcontroller detects that the port level corresponding to the button is low, it executes the button's internal function. The connection circuit diagram between the button and the microcontroller is shown below. Figure 1.3 As shown

[0019] The DC power supply filtering circuit of this system uses the LM7805 voltage regulator module, which can regulate a DC voltage of 5V~36V to a 5V output for system use, providing a very wide voltage range. Both the input and output terminals of the LM7805 are connected to 100uF electrolytic capacitors, which serve a filtering function.

[0020] The oscillation circuit uses an 11.0592MHz crystal oscillator and a 30pF ceramic capacitor, which can stably start oscillation.

[0021] The reset circuit used in this system is a button reset circuit. The reset condition is that the RST pin of the AT89S52 microcontroller is held high for more than two machine cycles.

[0022] The entire system's functionality is achieved through the detection-end hardware circuitry and the monitoring-end software installed on the computer. Once the basic hardware design is complete, the software's functions are largely determined. The microcontroller's main program is the core of the entire control system, specifically used to coordinate the relationships between various modules and the server-side operator. The microcontroller's subroutines are used to perform various substantive functions such as measurement, calculation, display, and communication. After the execution modules are planned, the monitoring-end program can be planned.

[0023] 5.2 Software Design of the Detection Terminal Hardware The main functions of the detection end program are: to connect to the monitoring end; to continuously detect the status of the sensor and calculate the difference between the sensor and the original data, and display the result on the LCD12864; to detect whether the function button is pressed, and if so, to perform the corresponding function; to continuously monitor whether the monitoring end has sent control words, and if a control word is received, to send the corresponding data to the server or to perform the corresponding function on the detection end, such as the zeroing function; in addition, it also needs to detect whether the connection is disconnected, and if so, to reconnect.

[0024] The procedure for determining whether a connection to the monitoring terminal is established is as follows: while(1) / / Wait for a successful connection message; the loop will exit once the connection is successful. { if(GsmAtFlag == 1&&strstr(GsmRcvAt, "CONNECT OK")) { LED=0; break } } The program for acquiring data from sensor A and displaying it on the LCD12864 is as follows (the program principle is the same for other sensors): if (p10 == 0) { delay(1); if (p10 == 1) { t1++; u1 = t1 / 10; if (u1 == 1) { m1++; zongliang1++; qushu(zongliang1); writezongliang(); benyue1++; qushu(benyue1); writebenyue(); feiyong1 = feiyong1 + temp * m1; qushu(feiyong1); writefeiyong(); t1=0; u1=0; m1=0; } } } To navigate to the previous or next user and have the LCD12864 display the following program: if(key3==0) / / Push up the page { delay(30); if(key3==1) { delay(5); if(key3==1) { write(0,0x01); / / clear screen fanye = fanye + 1; if (fanye > 4) / / Return to the first page after turning to the fourth page fanye=1; } } } if (key4 == 0) / / Scroll down { delay(30); if(key4==1) { delay(5); if(key4==1) { write(0,0x01); / / clear screen fanye = fanye - 1; if (fanye < 1) / / Return to the first page after turning to the fourth page fanye=4; } } } The program that continuously monitors whether the remote monitoring terminal has sent control words, and if a control word is received, sends the corresponding data to the monitoring terminal is as follows: The server sends 1, which is received as +IPD3:1. The LED is then turned on, and data is sent back to the server. else if(GsmAtFlag == 1&&strstr(GsmRcvAt, "+IPD3:1")) { qushu2(zongliang1); GsmAtFlag = 0; Uart1Sends("AT+CIPSEND\r"); / / Sends the GPRS command. Uart1Sends("A sensor:"); / / Send data to the server Uart1Sends(table1); / / Send data to the server qushu2(benyue1); Uart1Sends("Change status:"); / / Send data to the server Uart1Sends(table1); / / Send data to the server LED=1; } The program waits for the network connection to be reconnected after it is lost. if(GsmAtFlag == 1&&(strstr(GsmRcvAt, "IP INITIAL") || strstr(GsmRcvAt, "IP CLOSE") || strstr(GsmRcvAt, "TCP CONNECTING"))) { GsmAtFlag = 0; break }

[0025] The monitoring server portion is implemented using Visual Basic programming, specifically Visual Basic 6.0. Visual Basic 6.0 is a very simple and convenient human-computer interaction editing software. After creating the project, you can draw the desired functional interface diagram by selecting different controls, similar to the operation of MFC in VC++ 6.0.

[0026] After drawing the human-computer interface diagram using different controls in Visual Basic 6.0, no functionality can be achieved. Once the human-computer interface diagram is complete, double-clicking the corresponding control will enter the programming interface. By writing the corresponding control function programs, the corresponding control functions can be implemented. However, connecting to the Internet cannot be achieved simply by writing control function programs; programs with Internet-related technologies must also be added.

[0027] First, listen for incoming client connections. When a client connects, the number of "Connected Clients" will be non-zero. The execution procedure is as follows: Private Sub Form_Load() Label5.Caption = "Disconnected" Label7.Caption = Str(ClientNum) 'WSK_Server(0).LocalPort = 1001 Listen when the program starts ' WSK_Server(0).Listen End Sub Private Sub WSK_Server_ConnectionRequest(Index As Integer, ByValrequestID As Long) Dim i As Integer ClientNum = ClientNum + 1 Load WSK_Server(ClientNum) 'Load a new socket control' WSK_Server(ClientNum).Accept requestID 'Accept client requests. End Sub Secondly, it determines whether there is data to be sent. If there is data to be sent, it waits for the data to be sent. If there is no data to be sent, it enters the data receiving mode and waits for the data to be sent.

[0028] The procedure for sending data is as follows: Private Sub Command1_Click() Dim i As Integer Dim j As Integer For i = 1 To ClientNum If Not WSK_Server(i) Is Nothing Then DoEvents j = WSK_Server(i).State If j = 7 Then ' WSK_Server(i).SendData "Server:"&Text1.Text WSK_Server(i).SendData Text1.Text Else WSK_Server(i).Close End If End If Next End Sub Finally, once data reception is complete, the data is sent to the receiving display area.

[0029] The procedure for receiving data and writing data to the receiving area is as follows: Private Sub WSK_Server_DataArrival(Index As Integer, ByVal bytesTotalAs Long) Dim myData As String Label8.Caption = WSK_Server(Index).RemoteHostIP Label9.Caption = WSK_Server(Index).RemotePort WSK_Server(Index).GetData myData Text2.Text = Text2.Text + myData + vbCrLf End Sub The above description is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any equivalent substitutions or modifications made by those skilled in the art within the scope of the technology disclosed in the present invention, based on the technical solution and inventive concept of the present invention, should be covered within the scope of protection of the present invention.

Claims

1. A remote monitoring system for forest pests and diseases, characterized in that: It includes a detection end placed in the mountain forest and a monitoring end installed on a computer. The detection end and the monitoring end are connected via telecom GPRS. A central processing unit, a pest and disease characteristic sensor, and a GPRS module are configured at the detection end. The monitoring end should be able to be installed on a common computer, and the computer should be connected to the network for operation. The detection end detects the characteristics of forest pests and diseases in real time, and should be able to send the current real-time data to the monitoring end via the GPRS network when receiving an instruction sent by the monitoring end.

2. The forest pest and disease remote monitoring system according to claim 1, characterized in that: There are 9 pest and disease characteristic sensors, and the sensor detection positions are installed in a "meter" - shaped distribution.

3. The forest pest and disease remote monitoring system according to claim 1, characterized in that: The central processing unit can detect sensor information in real time and receive instructions sent by the monitoring end in real time.

4. The forest pest and disease remote monitoring system according to claim 1, characterized in that: The monitoring end is provided with a sending instruction input window, a sending button, a receiving information display window, and a link status display window with the detection end, and can be installed on a common Windows computer.