Implementation method of intelligent irrigation district data monitoring system
The smart irrigation district data monitoring system utilizes an optimized data transmission mechanism involving controllers, access nodes, and sensing devices to solve the problems of high power consumption and long latency in traditional systems. This enables real-time data monitoring and precise irrigation of the irrigation district, ensuring the healthy growth of crops.
Patent Information
- Application Number
- CN202511016562.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-23
- Publication Date
- 2025-11-04
- Estimated Expiration
- 2045-07-23
AI Technical Summary
Traditional irrigation district data monitoring systems use broadcast transmission, resulting in high power consumption, long latency, and an inability to provide comprehensive data. This leads to low data accuracy, long response time, and increased monitoring costs and delays.
The smart irrigation district data monitoring system, which employs controllers, access nodes, and sensing devices, optimizes the data transmission process by establishing device tables and irrigation district information tables. This includes a forwarding mechanism for push, request, and response messages, and utilizes clock and identifier variables to control message forwarding, thereby reducing latency and costs.
It enables real-time data monitoring of irrigation areas, ensuring the healthy growth of crops, providing an efficient and accurate monitoring solution, reducing monitoring costs and delays, and improving data accuracy and response speed.
Smart Images

Figure CN120528946B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The application belongs to the technical field of intelligent irrigation monitoring, and particularly relates to an implementation method of an intelligent irrigation area data monitoring system. BACKGROUND
[0002] In modern agricultural production, real-time data monitoring of irrigation areas is of great significance to ensure the healthy growth of crops, improve yield, and enhance the stability and sustainability of agricultural production. However, traditional irrigation area data monitoring systems have many problems, such as using broadcast mode to transmit data, resulting in high power consumption, long delay, and inability to provide comprehensive data, which further increases monitoring cost and delay.
[0003] Therefore, it is necessary to design an implementation method of an intelligent irrigation area data monitoring system to solve these problems. SUMMARY
[0004] The purpose of the present application is to solve the problem of high power consumption, long delay and inability to provide comprehensive data in traditional irrigation area data monitoring systems by providing an implementation method of an intelligent irrigation area data monitoring system, which can realize real-time data monitoring of irrigation areas, ensure the healthy growth of crops in irrigation areas, and effectively solve the shortcomings of traditional systems, providing an efficient and accurate monitoring solution for modern agricultural production.
[0005] According to an aspect of the present application, an implementation method of an intelligent irrigation area data monitoring system is provided, comprising:
[0006] The system comprises a controller, an access node and a sensing device; the method comprises:
[0007] The sensing device establishes a device table by sending a device message; the sensing device sends an upload message to create an irrigation area information table;
[0008] The access node sends a push message; if the destination device ID in the push message is 0, and the distance between the sensing device receiving the push message and the push message irrigation area table table name is greater than R1x e1, R1 is the communication radius of the controller and the access node, and e1 is an adjustment coefficient, then a clock is set, the initial value of the clock is a preset time, and an identification variable is set, the value of the identification variable is 0; if the clock decays to 0 and the identification variable is equal to 0, the push message is forwarded;
[0009] The sensing device sends a request message; if the access node receiving the request message has a table name equal to the irrigation area information table in the request message, a response message is sent, otherwise, if the access node does not have a monitoring table item with coordinates equal to the coordinates of the request message, a monitoring table item is created, and the request message is forwarded;
[0010] If the controller receives the request message, a response message is sent; the access node or the sensing device receiving the response message deletes the monitoring table item if there is a table item with the same coordinate as the irrigation area information table name in the response message, and forwards the response message;
[0011] If the sensing device sending the request message receives the response message, the sensing device saves the irrigation area information table in the response message.
[0012] Further, the method further comprises:
[0013] If the destination device ID in the push message is not 0, the device ID of the sensing device is not equal to the destination device ID in the push message, the distance between the coordinate of the sensing device and the irrigation area information table name in the push message is greater than the distance between the coordinate of the device table item DE1 and the irrigation area information table name in the push message, the distance between the coordinate of the sensing device and the coordinate of the device table item DE2 is greater than the communication radius R2, wherein the device table item DE1 is a device table item with a device ID equal to the source device ID in the push message, and the device table item DE2 is a device table item with a device ID equal to the destination device ID in the push message, a clock is set, and an identification variable is set to 0;
[0014] If the clock decays to 0 and the identification variable is equal to 0, the sensing device forwards the push message.
[0015] Further, the method further comprises:
[0016] The push message contains a message ID, an irrigation area information table, a source device ID and a destination device ID;
[0017] In the push message sent by the access node, the message ID is 3, the irrigation area information table is the irrigation area information table of the access node, the source device ID is equal to the device ID of the access node, and the destination device ID is 0;
[0018] The sensing device receiving the push message sets a table name variable, and the value of the table name variable is equal to the table name of the irrigation area information table in the push message;
[0019] If the sensing device receives a push message within the time set by the clock, and the table name of the irrigation area information table in the push message is equal to the table name variable, the table name variable is set to 1;
[0020] In the push message forwarded by the sensing device, the destination device ID is set to the device ID of the device table item with the farthest distance between the coordinate and the table name of the irrigation area information table in the push message, and the source device ID is set to the device ID of the sensing device.
[0021] Further, the method further comprises:
[0022] Each access node and sensing device maintains a monitoring table respectively, and a table entry contains a coordinate and a life cycle;
[0023] The request message contains a message ID, a coordinate, a target device ID and a source device ID;
[0024] The response message contains a message ID and a region information table;
[0025] If the sensing device receiving the request message has a region information table with a table name equal to the coordinate of the request message, the sensing device sends a response message; otherwise, if the device ID of the sensing device is equal to the destination device ID in the request message and there is no monitoring table entry with a coordinate equal to the coordinate in the request message, the sensing device creates a monitoring table entry and forwards the request message.
[0026] Further, the method further comprises:
[0027] If the destination device ID in the push message is not 0 and the device ID of the sensing device is equal to the device ID in the push message, the sensing device forwards the push message.
[0028] Further, the method further comprises:
[0029] In the request message sent by the sensing device, the message ID is 4, the coordinate is the table name of the region information table to be acquired, and the source device ID is the device ID of the sensing device; if the distance between the access node of the cluster where the sensing device is located and the sensing device is less than the communication radius R2, the destination device ID of the request message is the device ID of the access node; otherwise, the sensing device selects a device table entry with the closest distance between the coordinate of the device table entry and the coordinate of the access node, and sets the destination device ID as the device ID of the device table entry.
[0030] Further, the method further comprises:
[0031] In the response message sent by the sensing device, the access node or the controller receiving the request message, the message ID is 5, and the table name of the region information table is equal to the region information table with the coordinate of the request message;
[0032] In the monitoring table entry created by the access node or the sensing device receiving the request message, the coordinate is equal to the coordinate in the request message, and the life cycle is set to the maximum value.
[0033] Further, the method further comprises:
[0034] If the distance between the sensing device coordinates and the cluster head node coordinates is less than or equal to the communication radius R2, the target device ID of the request message is set as the device ID of the cluster head node, and the source device ID is set as the device ID of the sensing device; otherwise, a device table item with the closest distance between the device table item coordinates and the cluster head node coordinates is selected, the target device ID of the request message is set as the device ID in the device table item, and the source device ID is set as the device ID of the sensing device.
[0035] Further, the method further comprises:
[0036] In the request message forwarded by the access node, the source device ID is equal to the device ID of the access node, and the target device ID is equal to the device ID of the controller.
[0037] Compared with the prior art, the present application has the following beneficial effects:
[0038] 1. The present application enables the staff to quickly obtain accurate real-time data of the irrigation area through data acquisition and transmission among the controller, the access node and the sensing device, and take effective measures such as accurate irrigation and soil improvement to create a suitable growth environment for crops.
[0039] 2. The present application provides an implementation method of the intelligent irrigation area data monitoring system, which can monitor the real-time data of the irrigation area, such as humidity, temperature, illuminance, soil pH, drought degree and other parameters, to ensure the healthy growth of crops and the sustainability of crop production. BRIEF DESCRIPTION OF DRAWINGS
[0040] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or prior art description. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.
[0041] Figure 1 The flowchart of the implementation method of the intelligent irrigation area data monitoring system in the embodiment of the present application;
[0042] Figure 2 The flowchart of the device table establishment in the embodiment of the present application;
[0043] Figure 3 The flowchart of the uploading of the irrigation area data in the embodiment of the present application;
[0044] Figure 4 The flowchart of the pushing of the irrigation area data in the embodiment of the present application;
[0045] Figure 5 A monitoring irrigation data flow chart in the embodiment of the present application. DETAILED DESCRIPTION
[0046] The technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work fall within the scope of protection of the present application.
[0047] As shown in Figure 1 The embodiment of the present application provides an implementation method of a smart irrigation area data monitoring system. The system is composed of one controller, multiple access nodes and multiple sensing devices distributed in an irrigation area. The communication radius of the controller and the access nodes is R1, the communication radius of the sensing devices is R2, the relationship between the radius R1 and the radius R2 is shown in formula (1), and the value range of n is 2 to 10.
[0048] R1=n×R2 (1)
[0049] Specifically, the sensing devices are linked with one access node or sensing device, the controller is linked with the access nodes, and the access nodes are linked with the controller, other access nodes or sensing devices. All the access nodes are within the communication range of the controller, that is, the distance from the controller is less than R1. One access node and the sensing devices constitute a cluster, the cluster head node is the access node, and the sensing devices in the cluster are closest to the access node among all the access nodes. Each type of data is identified by a name. The coordinates of the controller, each access node and sensing device are unique. The controller, each access node and sensing device have a unique device ID. The device ID of the controller and the access nodes is the coordinate of itself, and the device ID of the sensing device can be the coordinate of itself or a pre-set address. The sensing device pre-configures the coordinates of each access node in the system. The access node pre-configures the coordinates of each access node in the system. The controller pre-configures the coordinates of each access node in the system. In the system, the controller, the access nodes or the sensing devices cannot receive the messages sent by themselves. Each sensing device saves a device table, and one device table entry contains a device ID, a coordinate and a life cycle.
[0050] Specifically, as shown in Figure 2 The embodiment of the present application provides a device table establishment flow chart. One message is uniquely identified by a message ID. The device message contains a message ID, a device ID and a coordinate. The sensing device DV1 periodically performs the following operations.
[0051] Step 101: start;
[0052] Step 102: the sensing device DV1 sends a device message, the message ID of which is 1, the device ID of which is the device ID of itself, and the coordinates of which are the current coordinates of itself;
[0053] Step 103: the sensing device receiving the device message judges whether there is a device table entry whose device ID is equal to the device ID in the device message, if there is, sets the coordinates of the table entry as the coordinates in the device message, and sets the life cycle as the maximum value, otherwise, creates a device table entry whose device ID is equal to the device ID in the device message, sets the coordinates of the table entry as the coordinates in the device message, and sets the life cycle as the maximum value;
[0054] Step 104: end.
[0055] The sensing device sends the device message through steps 101-103 to create a device table, so that the sensing device can obtain the coordinates of the neighbor sensing devices through the device table, thereby creating the shortest path to the access node, and meanwhile, the sensing device can create the optimal path to other destination sensing nodes through the coordinates of the device table, thereby reducing the communication delay and cost of monitoring the data of the irrigation area.
[0056] Specifically, the embodiment of the application further provides a flow of uploading the data of the irrigation area, as shown in Figure 3 The table name of the irrigation area information table of the access node is the coordinates of itself, and the table name of the irrigation area information table of the sensing device is the coordinates of the access node (cluster head node) of the cluster where the sensing device is located; in the initial state, the irrigation area information table is an empty table; the coordinates of the access node AP1 is CO1, which is the cluster head node of the cluster CL1, and the table name of the irrigation area information table is the coordinates CO1; the uploading message comprises a message ID, a device ID and an irrigation area information table; the sensing device DV1 is located in the cluster CL1, the table name of the irrigation area information table is the coordinates of the cluster head node AP1 of the cluster where the sensing device is located, and after the sensing device DV1 creates a data set DS1, the data set comprises various irrigation area data parameters, such as illumination, humidity and the like, and the following operations are performed:
[0057] Step 201: start;
[0058] Step 202: for each data DA1 in the data set DS1, the sensing device DV1 performs the following operation: creating an irrigation area information table entry, the data of which is DA1, the name of which is the name defined for the data DA1, the coordinates of which are the current coordinates of itself, and the life cycle of which is the maximum life cycle;
[0059] Step 203: The sensing device DV1 selects a device table entry whose coordinate is closest to the coordinate CO1, sends an upload message whose message ID is 2, whose device ID is equal to the device ID of the device table entry, and whose irrigation information table is its own irrigation information table whose table name is the coordinate CO1;
[0060] Step 204: If the access node AP1 receives the upload message, step 209 is executed, otherwise step 205 is executed;
[0061] Step 205: The sensing device receiving the upload message judges whether its device ID is equal to the device ID in the upload message. If yes, step 206 is executed, otherwise step 212 is executed;
[0062] Step 206: The sensing device receiving the upload message judges whether the distance between its coordinate and the table name of the irrigation information table in the upload message is less than or equal to the communication radius R2. If yes, step 207 is executed, otherwise step 208 is executed;
[0063] Step 207: The sensing device receiving the upload message sets the device ID in the upload message as the device ID of the cluster access node where it is located, forwards the upload message, and executes step 204;
[0064] Step 208: The sensing device receiving the upload message selects a device table entry whose coordinate is closest to the table name of the irrigation information table in the upload message, sets the device ID in the upload message as the device ID in the device table entry, forwards the upload message, and executes step 204;
[0065] Step 209: After the access node AP1 receives the upload message, for each irrigation information table entry CE1 in the irrigation information table in the upload message, the following operation is performed: it is judged whether there is an irrigation information table entry in its own irrigation information table whose name and coordinate are respectively equal to the name and coordinate in the irrigation information table entry CE1. If yes, the data of the irrigation information table entry is updated as the data in the irrigation information table entry CE1, and the life cycle is set as the maximum value. Otherwise, an irrigation information table entry is created whose name, data and coordinate are respectively equal to the name, data and coordinate in the irrigation information table entry CE1, and the life cycle is set as the maximum value;
[0066] Step 210: The access node AP1 updates the irrigation area information table in the upload message to its own irrigation area information table, the table name of the irrigation area information table is its own coordinate CO1, sets the device ID in the upload message as the controller device ID, and sends the upload message; after the controller receives the upload message, it judges whether there is an irrigation area information table with the table name equal to the table name of the irrigation area information table in the upload message; if there is, it empties the irrigation area information table, otherwise, it creates an irrigation area information table with the table name equal to the table name of the irrigation area information table in the upload message;
[0067] Step 211: The controller selects an irrigation area information table with the table name equal to the table name of the irrigation area information table in the upload message, and adds each irrigation area information table item of the irrigation area information table in the upload message to the selected irrigation area information table.
[0068] Step 212: End.
[0069] The sensing device sends all the generated data to the access node through steps 201-212, and the innovation points include: (1) the access node fuses the data collected by all the sensing devices in the cluster to construct an irrigation area information table, and uploads the irrigation area information table to the controller; (2) the controller can obtain the data set collected by all the sensing devices in the system; (3) the sensing device can obtain the irrigation area information table of any specific area through the access node or the controller, so as to realize real-time monitoring and early warning of the irrigation area.
[0070] Specifically, the embodiment of the application also provides a process of pushing irrigation area data, as shown in Figure 4 The push message includes a message ID, an irrigation area information table, a source device ID and a destination device ID; the coordinate of the access node AP1 is CO1, which is the cluster head node of the cluster CL1, and the access node AP1 regularly performs the following operations:
[0071] Step 301: Start;
[0072] Step 302: The access node AP1 sends a push message, the message ID of the message is 3, the irrigation area information table is its own irrigation area information table, the table name of the irrigation area information table is the coordinate CO1, the source device ID is equal to its own device ID, and the destination device ID is 0;
[0073] Step 303: If the sensing device receiving the push message belongs to the cluster CL1 of the access node with the same table name as the table name of the irrigation area information table in the push message, if yes, step 304 is executed, otherwise, step 314 is executed;
[0074] Step 304: the sensing device receiving the push message saves the irrigation area information table in the push message, the table name of the saved irrigation area information table is equal to the table name of the irrigation area information table in the push message, and it is judged whether the destination device ID in the push message is 0. If yes, step 305 is executed, otherwise step 306 is executed;
[0075] Step 305: the sensing device receiving the push message judges whether the distance between itself and the table name of the push message irrigation area information table is greater than R1 x e1. e1 is an adjustment coefficient, and the value range is 0.7-0.95. If yes, step 308 is executed, otherwise step 314 is executed;
[0076] Step 306: the sensing device receiving the push message judges whether the device ID of itself is equal to the destination device ID in the push message. If yes, step 313 is executed, otherwise step 307 is executed;
[0077] Step 307: the sensing device receiving the push message selects a device table item DE1, the device ID of which is equal to the source device ID in the push message, and selects a device table item DE2, the device ID of which is equal to the destination device ID in the push message. If the distance between the coordinates of itself and the table name of the push message irrigation area information table is greater than the distance between the coordinates of the device table item DE1 and the table name of the push message irrigation area information table, and the distance between the coordinates of itself and the device table item DE2 is greater than R2, step 308 is executed, otherwise step 314 is executed;
[0078] Step 308: the sensing device receiving the push message sets a clock, the initial value of which is time T0 / d1, d1 is the distance between the coordinates of the sensing device and the table name of the irrigation area information table in the message, sets a table name variable v1, the value of which is equal to the table name of the irrigation area information table in the push message, and sets an identification variable f1, the value of which is 0;
[0079] Step 309: the sensing device receiving the push message judges whether the clock decays to 0. If yes, step 312 is executed, otherwise step 310 is executed;
[0080] Step 310: the sensing device receiving the push message judges whether a push message is received, the table name of the irrigation area information table in the message being equal to the table name variable v1. If yes, step 311 is executed, otherwise step 309 is executed;
[0081] Step 311: the sensing device receiving the push message sets the table name variable f1 to 1;
[0082] Step 312: the sensing device receiving the push message judges whether the table name variable f1 is 1. If yes, step 314 is executed, otherwise step 313 is executed;
[0083] Step 313: The perception device receiving the push message selects a device table item whose coordinate is farthest from the distance between the table name of the push message irrigation area information table, sets the destination device ID of the push message as the device ID of the device table item, sets the source device ID of the push message as the device ID of the perception device, forwards the push message, and executes step 303;
[0084] Step 314: End.
[0085] The access node forwards its own irrigation area information table to all perception devices in the cluster by sending the push message through steps 301-314, so as to realize early warning. Since the number of perception devices forwarding the push message is controlled through steps 301-314 by using parameters such as clock and distance, the data push delay and cost are reduced, and real-time data monitoring of the irrigation area is realized. The main innovation point is that the perception device farther from the access node AP1 has a smaller initial clock value. Therefore, if the perception device farthest from the access node AP1 does not receive the push message forwarded by the destination perception device (i.e., the device ID is equal to the destination device ID in the push message) when the clock decays to 0, the perception device will forward the received push message. If the other perception devices receive the forwarded push message, they will set the identification variable f1 to 1 and will not forward the push message again. Therefore, the irrigation area monitoring cost is greatly reduced, network congestion is avoided, and the monitoring real-time performance and success rate are improved.
[0086] Specifically, the embodiment of the present application also provides a process for monitoring irrigation area data, as shown in Figure 5 The perception device DV2 is located in the cluster CL1, the access node of the cluster CL1 is AP1, the coordinate of the access node AP1 is CO1, the coordinate of the access node AP2 is CO2, and the controller saves the irrigation information table with the table name CO2. The perception device DV2 executes the following process to obtain the irrigation area information table with the table name CO2:
[0087] Step 401: Start;
[0088] Step 402: The sensing device DV2 sends a request message, the message ID of which is 4, the coordinate of which is CO2, the source device ID of which is its own device ID, and the destination device ID of which is the device ID of the access node AP1 if the distance between the access node AP1 and its own device is less than the communication radius R2, otherwise, a device table entry is selected, the coordinate of which is closest to the coordinate of the access node AP1, and the destination device ID is set as the device ID of the device table entry;
[0089] Step 403: If the access node receives the request message, step 410 is performed, otherwise step 404 is performed;
[0090] Step 404: If the controller receives the request message, step 414 is performed, otherwise step 405 is performed;
[0091] Step 405: The sensing device receiving the request message performs step 406 if it saves the irrigation area information table whose table name is equal to the coordinate of the request message, otherwise step 407 is performed;
[0092] Step 406: The sensing device receiving the request message sends a response message, the message ID of which is 5, and the table name of the irrigation area information table of which is equal to the irrigation area information table of the coordinate of the request message, and step 415 is performed;
[0093] Step 407: The sensing device receiving the request message judges whether its own device ID is equal to the destination device ID in the request message, and if yes, step 408 is performed, otherwise step 418 is performed;
[0094] Step 408: The sensing device receiving the request message judges whether there is a monitoring table entry whose coordinate is equal to the coordinate in the request message, and if yes, step 415 is performed, otherwise step 409 is performed;
[0095] Step 409: The sensing device receiving the request message creates a monitoring table entry, the coordinate of which is equal to the coordinate in the request message, and the life cycle is set as the maximum value, and if the distance between its own coordinate and the coordinate of the cluster head node in the cluster is less than or equal to R2, the destination device ID of the request message is set as the device ID of the cluster head node in the cluster, the source device ID is set as its own device ID, and the request message is forwarded, otherwise, a device table entry is selected, the coordinate of which is closest to the coordinate of the cluster head node (i.e. the access node AP1), the destination device ID of the request message is set as the device ID in the device table entry, the source device ID is set as its own device ID, the request message is forwarded, and step 403 is performed;
[0096] Step 410: The access node receiving the request message judges whether it has an irrigation area information table with the table name equal to the coordinate of the request message, if yes, step 411 is executed, otherwise step 412 is executed;
[0097] Step 411: The access node receiving the request message sends a response message, the message ID of the message is 5, and the table name of the irrigation area information table is equal to the coordinate of the request message, and step 415 is executed;
[0098] Step 412: The access node receiving the request message judges whether there is a monitoring table item with the coordinate equal to the coordinate in the request message, if yes, step 415 is executed, otherwise step 413 is executed;
[0099] Step 413: The access node receiving the request message creates a monitoring table item, the coordinate of the table item is equal to the coordinate in the request message, the life cycle is set to the maximum value, the source device ID of the request message is set to the device ID of the access node, the target device ID is set to the device ID of the controller, the request message is forwarded, and step 403 is executed;
[0100] Step 414: The controller receiving the request message sends a response message, the message ID of the message is 5, and the table name of the irrigation area information table is equal to the coordinate of the request message;
[0101] Step 415: The access node or the sensing device receiving the response message saves the irrigation area information table in the response message, the saved irrigation area information table has the table name equal to the table name of the irrigation area information table in the response message, if the sensing device DV2 receives the response message, step 418 is executed, otherwise step 416 is executed;
[0102] Step 416: The access node or the sensing device receiving the response message judges whether there is a monitoring table item with the coordinate equal to the table name of the irrigation area information table in the response message, if yes, step 417 is executed, otherwise step 418 is executed;
[0103] Step 417: The access node or the sensing device receiving the response message selects a monitoring table item with the coordinate equal to the table name of the irrigation area information table in the response message, deletes the monitoring table item, forwards the response message, and executes step 415;
[0104] Step 418: End.
[0105] The perception device obtains the irrigation area information table of all perception devices in a certain area through steps 401-418, and the innovations include: (1) the perception device obtains the irrigation area information table perceived by all perception devices in a certain area from the closest perception device, access node or controller; (2) multiple perception devices can simultaneously obtain the irrigation area information table through one data communication process by monitoring the table, without establishing a route, thereby greatly reducing the irrigation area data monitoring cost and delay, and realizing real-time monitoring and early warning of smart irrigation area data.
[0106] Table 1 simulation parameters
[0107]
[0108] Specifically, based on the simulation parameters in Table 1, the embodiment of the present application further provides an implementation method for simulating a smart irrigation area data monitoring system, and the performance analysis is as follows: when the perception device is far away from the perception device, access node or controller providing data, the success rate of obtaining real-time irrigation area data decreases, and when the perception device is close to the perception device, access node or controller providing data, the success rate of obtaining real-time irrigation area data increases, and the average success rate of obtaining irrigation area monitoring data is 99.2%.
[0109] Finally, it should be noted that the above specific embodiments are only representative examples of the present application. Obviously, the present application is not limited to the above specific embodiments, and can have many variations. Any simple modification, equivalent change and modification made in accordance with the technical essence of the present application to the above specific embodiments shall be considered as falling within the protection scope of the present application.
Claims
1. An implementation method of a smart irrigation district data monitoring system, characterized in that, The system comprises a controller, an access node and a sensing device; the method comprises: The sensing device establishes a device table by sending a device message; the sensing device sends an upload message to create a region information table; one region information table entry contains data, name, coordinates and life cycle; the table name of the region information table of the access node is the coordinates of the access node itself, and the table name of the region information table of the sensing device is the coordinates of the access node of the cluster in which the sensing device is located; The access node sends a push message; if the destination device ID in the push message is 0, and the distance between the sensing device receiving the push message and the table name of the push message region information table is greater than R1×e1, R1 is the communication radius of the controller and the access node, and e1 is an adjustment coefficient, then a clock is set, the initial value of the clock is a preset time, and an identification variable is set, the value of the identification variable is 0; if the clock decays to 0 and the identification variable is equal to 0, the push message is forwarded; If the destination device ID in the push message is not 0, and the device ID of the sensing device is not equal to the destination device ID in the push message, and the distance between the coordinates of the sensing device and the table name of the push message region information table is greater than the distance between the coordinates of a device table entry DE1 and the table name of the push message region information table, and the distance between the coordinates of the sensing device and a device table entry DE2 is greater than the communication radius R2, wherein the device table entry DE1 is a device table entry with a device ID equal to the source device ID in the push message, and the device table entry DE2 is a device table entry with a device ID equal to the destination device ID in the push message, then a clock is set, and an identification variable is set, the value of the identification variable is 0; if the clock decays to 0 and the identification variable is equal to 0, the sensing device forwards the push message; Each access node and sensing device respectively maintains a monitoring table, and a monitoring table entry contains coordinates and life cycle; the sensing device sends a request message; if the access node receiving the request message exists a region information table with a table name equal to the coordinates of the request message, a response message is sent, otherwise, if the access node does not exist a monitoring table entry with coordinates equal to the coordinates of the request message, a monitoring table entry is created, and the request message is forwarded; If the controller receives the request message, a response message is sent; if the access node or the sensing device receiving the response message exists a monitoring table entry with coordinates equal to the table name of the region information table in the response message, the monitoring table entry is deleted, and the response message is forwarded; If the sensing device sending the request message receives the response message, the region information table in the response message is saved.
2. The implementation method of the intelligent irrigation district data monitoring system according to claim 1, characterized in that, The method further comprises: The push message contains a message ID, a region information table, a source device ID and a destination device ID; In the push message sent by the access node, the message ID is 3, the region information table is the region information table of the access node itself, the source device ID is equal to the device ID of the access node itself, and the destination device ID is 0; The sensing device receiving the push message sets a table name variable, and the value of the table name variable is equal to the table name of the region information table in the push message; If the perception device receives a push message in the time set by the clock, and the table name in the push message is equal to the table name variable, the table name variable is set to 1; In the push message forwarded by the perception device, the destination device ID is set to the device ID of the device table entry with the farthest distance between the coordinates and the table name of the push message, and the source device ID is set to the device ID of the perception device.
3. The implementation method of the intelligent irrigation district data monitoring system according to any one of claims 1-2, characterized in that, The method further comprises: The request message comprises a message ID, coordinates, a target device ID, and a source device ID; The response message comprises a message ID and a flood region information table; If the perception device receiving the request message has a flood region information table with a table name equal to the coordinates of the request message, the perception device sends a response message; otherwise, if the device ID of the perception device is equal to the destination device ID in the request message, and there is no monitoring table entry with coordinates equal to the coordinates in the request message, the perception device creates a monitoring table entry and forwards the request message.
4. The implementation method of the intelligent irrigation district data monitoring system according to any one of claims 1-2, characterized in that, The method further comprises: If the destination device ID in the push message is not 0, and the device ID of the perception device is equal to the device ID in the push message, the perception device forwards the push message.
5. The implementation method of the intelligent irrigation district data monitoring system according to any one of claims 1-2, characterized in that, The method further comprises: In the request message sent by the perception device, the message ID is 4, the coordinates are the table name of the flood region information table to be obtained, and the source device ID is the device ID of the perception device; if the distance between the access node of the cluster in which the perception device is located and the perception device is less than the communication radius R2, the destination device ID of the request message is the device ID of the access node; otherwise, the perception device selects a device table entry with the closest distance between the coordinates of the device table entry and the coordinates of the access node, and sets the destination device ID to the device ID of the device table entry.
6. The implementation method of the intelligent irrigation district data monitoring system according to any one of claims 1-2, characterized in that, The method further comprises: In the response message sent by the perception device, the access node, or the controller receiving the request message, the message ID is 5, and the table name of the flood region information table is equal to the flood region information table with the coordinates of the request message; In the monitoring table entry created by the access node or the perception device receiving the request message, the coordinates are equal to the coordinates in the request message, and the life cycle is set to the maximum value.
7. The implementation method of the intelligent irrigation district data monitoring system according to any one of claims 1-2, characterized in that, The method further comprises: In the request message forwarded by the perception device, if the distance between the coordinates of the perception device and the coordinates of the cluster head node of the cluster in which the perception device is located is less than or equal to the communication radius R2, the target device ID of the request message is set to the device ID of the cluster head node of the cluster in which the perception device is located, and the source device ID is set to the device ID of the perception device; otherwise, a device table entry with the closest distance between the coordinates of the device table entry and the coordinates of the cluster head node of the cluster in which the perception device is located is selected, the target device ID of the request message is set to the device ID in the device table entry, and the source device ID is set to the device ID of the perception device.
8. The implementation method of the intelligent irrigation district data monitoring system according to any one of claims 1-2, characterized in that, The method further comprises: In the request message forwarded by the access node, the source device ID is equal to the device ID of the access node, and the target device ID is equal to the device ID of the controller.
Citation Information
Patent Citations
Implementation method of intelligent irrigation management system
CN118355847A
Implementation method of irrigation area environment monitoring and early warning system
CN118570989A
Implementation method of irrigation area real-time data acquisition and monitoring system
CN119521047A