A method of irrigation area allocation based on big data

By collecting and analyzing the soil time series data of the irrigation area plots, and using clustering algorithms and remote sensing image data, the precise allocation of irrigation water is achieved, which solves the problems of inaccurate irrigation demand and insufficient response to changes in water demand in the existing technology. Improve the scientificity and efficiency of irrigation management.

CN118587030BActive Publication Date: 2024-10-22ANHUI JINHAI DEER INFORMATION TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411070427.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-06
Publication Date
2024-10-22
Estimated Expiration
2044-08-06

AI Technical Summary

Technical Problem

The existing irrigation district allocation system based on big data fails to fully collect and analyze the key soil characteristics of individual plots, resulting in the inability to accurately allocate the irrigation needs of each plot, and lacks the ability to respond to environmental changes and dynamic changes in actual crop water requirements. .

Method used

Collect time series data of soil temperature, humidity and electrical conductivity in each plot in the irrigation area, classify the soil property change data through a clustering algorithm, generate a plot type index, and combine it with crop coverage data obtained from remote sensing images to accurately allocate irrigation water. .

Benefits of technology

It achieves refined management of the irrigation needs of each plot, improves water resource utilization efficiency, and enhances the ability to respond to environmental changes and dynamic changes in crop water demand.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118587030B_ABST
    Figure CN118587030B_ABST
Patent Text Reader

Abstract

The present invention provides an irrigation area allocation method based on big data, and relates to the technical field of irrigation area allocation. The present invention collects and analyzes the time series data of soil temperature, humidity and conductivity of each plot in a specific time period, uses a clustering algorithm to classify the soil characteristic change data of each plot, classifies the plots with similar soil characteristic change patterns into one category, and generates a plot type index. The irrigation demand differences of different plots can be identified through classification. By analyzing the crop coverage data obtained by remote sensing images, the irrigation water can be allocated for each plot according to the crop coverage data, plot type index and area of ​​the plot. By comprehensively using time series data analysis, clustering algorithm and remote sensing image analysis and other technologies, accurate monitoring and analysis of soil characteristics and crop growth conditions of each plot is achieved, so that accurate irrigation water allocation can be performed according to the actual needs of each plot.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of irrigation area allocation, and in particular to an irrigation area allocation method based on big data. Background Art

[0002] An irrigation area refers to a specific area used for agricultural production. It obtains water resources through a certain irrigation system to ensure the moisture required for crop growth. The irrigation area includes multiple farmland plots, which obtain water through artificial channels, pipelines or other irrigation facilities. In order to improve the management efficiency and crop yield of the irrigation area, one or several crops may be mainly planted in the irrigation area. The main reasons for planting the same crop are: market conditions for crop demand, soil and climatic conditions in the area are particularly suitable for the growth of a certain crop, and to simplify agricultural management and improve the productivity of specific crops. For example, if the soil and climatic conditions in an area are particularly suitable for rice growth, then the area may choose to mainly plant rice.

[0003] Although the crops planted in the irrigation area are the same, due to differences in soil type and soil structure and other factors, even the same crop may have different water requirements in different plots. For example, plots with coarse soil texture may be easier to drain than plots with fine soil texture, thus requiring more frequent irrigation. Areas with low terrain may accumulate water, while areas with high terrain may require more irrigation water. Therefore, in an irrigation area, if there is no rainfall for a long time, irrigation facilities within the irrigation area need to be used for irrigation.

[0004] In the prior art, publication number CN116805197A provides an irrigation area allocation system and method based on big data, which predicts the total irrigation volume by collecting irrigation area data, and intelligently adjusts the corresponding irrigation method according to the collected data, so as to achieve the purpose of reducing water evaporation in branch canals when weather conditions are not good enough, thereby improving the utilization rate of water resources. However, the shortcomings of the prior art are that it mainly focuses on the collection of overall environmental data of the irrigation area and basic information of the zoning. Although this method provides basic data support for irrigation, it fails to fully collect and analyze the key soil characteristics of individual plots, resulting in the inability to accurately allocate the irrigation needs of each plot. In addition, although the prior art can adjust the irrigation method according to the soil moisture content, it lacks the ability to respond to environmental changes and dynamic changes in actual crop water requirements. Summary of the invention

[0005] The purpose of the present invention is to provide an irrigation area allocation method based on big data to solve the problems raised in the above background technology.

[0006] To achieve the above object, the present invention provides the following technical solutions:

[0007] A method for allocating irrigation areas based on big data, the specific steps comprising:

[0008] Step 1: The collection time is The time series data of soil temperature, humidity and conductivity at the same depth of each plot in the irrigation area during the time period constitute the soil characteristic data set of each plot, and the time series data of temperature, humidity and conductivity within the soil characteristic data set of each plot are divided into time intervals of equal length;

[0009] Step 2: Analyze the time series data of temperature, humidity and conductivity in each time interval to generate soil property change rate data for each time interval, process the soil property change rate data of all intervals corresponding to each plot, and generate soil property change data for each plot, wherein the soil property change rate data includes temperature change rate, humidity change rate and conductivity change rate, and the soil property change data includes temperature fluctuation rate, humidity fluctuation rate and conductivity fluctuation rate;

[0010] Step 3: Take the temperature fluctuation rate, humidity fluctuation rate and conductivity fluctuation rate of each plot as a data node and randomly select The data nodes are used as the initial centroids, and the temperature fluctuation rate, humidity fluctuation rate and conductivity fluctuation rate of each plot are used as the feature vectors of the data nodes. The distance from the data node to each centroid is calculated, and it is assigned to the nearest centroid for clustering. The feature vector data of the centroid is updated until the feature vector change of the centroid is less than the centroid change threshold, and clustering is completed.

[0011] Step 4: Classify all plots according to the clustering results, analyze the final feature vector data of the centroid of each clustering result, generate the plot type index of each clustering result, and map the plot type index of each cluster to the plots within it one by one;

[0012] Step 5: Collect remote sensing images of each plot, and adjust the image size of all remote sensing images to 224*224 and then grayscale them to obtain the first recognition image. Analyze the first recognition images corresponding to all plots to generate crop coverage data for each plot;

[0013] Step 6: Allocate irrigation water to each plot based on the crop coverage data and plot type index of each plot, combined with the area of ​​the plot.

[0014] Furthermore, when collecting the time series data of soil temperature, humidity and conductivity, the soil depth of the collection point ranges from 10 cm to 60 cm. The logic of dividing the temperature, humidity and conductivity time series data of each plot into equal time intervals is:

[0015] In chronological order, The width is The time series data of temperature, humidity and conductivity are divided into continuous time intervals to ensure that all continuous time intervals can completely cover the time series data, that is:

[0016] in, is the time period length of the time series data, is the number of time intervals, is the width of the time interval;

[0017] The time series data of soil temperature, humidity and conductivity corresponding to the generated time interval are calibrated as follows: , and ,in , and Respectively represent the irrigation district Plot, Time series data of soil temperature, humidity and conductivity in time intervals;

[0018] in, is the number of the plot in the irrigation area, is a positive integer, and , is the number of plots in the irrigation area, is the number of the time interval, is a positive integer, and .

[0019] Furthermore, the formula for generating the temperature change rate, humidity change rate and conductivity change rate data for each time interval is:

[0020] in, , and Respectively represent the irrigation district Plot, The temperature change rate, humidity change rate and conductivity change rate in each time interval, , and Respectively represent the irrigation district Plot, In the time series data of time intervals Temperature, humidity and conductivity values ​​at the moment, , and Respectively represent the irrigation district Plot, In the time series data of time intervals Temperature, humidity and conductivity values ​​at the moment, and Respectively represent the irrigation district Plot, The start and end timestamps of the time series data for a time interval.

[0021] Furthermore, the logic for generating soil property change data for each plot is as follows:

[0022] in, , and Respectively represent the irrigation district The temperature fluctuation rate, humidity fluctuation rate and conductivity fluctuation rate of each plot.

[0023] Furthermore, the steps of clustering the data nodes in step 3 are:

[0024] Random Selection data nodes as the initial centroid, represents the number of categories after clustering, is a positive integer, where The initial centroid is expressed as: , , and Respectively represent The temperature fluctuation rate, humidity fluctuation rate and conductivity fluctuation rate of the data node as the initial centroid, is a positive integer, and ;

[0025] For each plot’s feature vector, calculate its distance to each initial centroid and assign it to the cluster represented by the nearest centroid. The distance to the initial centroid is calculated based on the formula:

[0026] in, Indicates The initial centroid and The distance between data nodes, , and Respectively represent The temperature fluctuation rate, humidity fluctuation rate and conductivity fluctuation rate of the plot corresponding to each data node;

[0027] For each cluster, after each clustering is completed, the mean of all points in the cluster is recalculated and used as the feature data of the new centroid. The update formula for the centroid feature data is:

[0028] in, Indicates that the The number of data nodes of the centroid, , and Indicates that the The temperature fluctuation rate, humidity fluctuation rate and conductivity fluctuation rate of the plot corresponding to the data node of the centroid, , and representing the updated temperature fluctuation rate, humidity fluctuation rate and conductivity fluctuation rate data of the centroid;

[0029] Based on the updated feature vector of the centroid, clustering is performed again until the change of all centroid positions is less than the threshold, then the clustering is considered stable and the clustering is terminated.

[0030] Furthermore, the formula for analyzing the feature vector data of the final centroid to generate the plot type index of each clustering result is:

[0031] in, Indicates that in the final clustering result, The plot type index of each cluster, , and They represent the final clustering results. The temperature fluctuation rate, humidity fluctuation rate and conductivity fluctuation rate data of each centroid, , and denote the temperature weight coefficient, humidity weight coefficient and conductivity weight coefficient respectively, and , ;

[0032] When mapping the plot type index of each cluster to the plots within it one by one, the plot type index of the cluster is assigned to each plot in the cluster, that is, all plots in a cluster will share the same plot type index.

[0033] Furthermore, the first recognition images corresponding to all plots are analyzed to generate crop coverage data of the plots. The number of all pixel points in the first recognition image corresponding to each plot is collected, and the grayscale value of the pixel points is selected. The formula for calculating crop coverage is:

[0034] in, Indicates the irrigation area The crop coverage of the plots, and Indicates The gray value of the first recognition image corresponding to the plot is located at The number of pixels and the total number of pixels.

[0035] Furthermore, the method for allocating the amount of water for irrigation to each plot is as follows:

[0036] The total amount of irrigation water in an irrigation area and the area of ​​each plot in the irrigation area are counted. The amount of irrigation water for each plot is generated based on the crop coverage rate and plot type index corresponding to each irrigation area. The specific formula is as follows:

[0037] in, Indicates the irrigation area The water demand coefficient of a plot of land, , and Respectively represent the irrigation district Crop coverage, plot type index and area of ​​each plot, Indicates The amount of water for irrigation of each plot of land, It represents the total amount of irrigation water in the irrigation area. is the number of the plot in the irrigation area, is a positive integer, and , is the number of plots in the irrigation district.

[0038] Compared with the prior art, the present invention has the following beneficial effects:

[0039] The present invention collects and analyzes the time series data of soil temperature, moisture and conductivity of each plot in a specific time period, not only capturing the static state of soil properties, but also focusing on the dynamic changes of these properties over time. The soil property change data of each plot is classified by using a clustering algorithm, and plots with similar soil property change patterns are classified into one category, and a plot type index is generated. Through classification, the differences in irrigation requirements of different plots can be identified, thereby achieving more refined irrigation management.

[0040] The present invention can also adjust the irrigation water for each plot according to the crop coverage data, plot type index and area of ​​the plot by analyzing the crop coverage data obtained from the remote sensing image, taking into account not only the soil characteristics but also the actual growth conditions of the crops, thereby ensuring that the allocation of irrigation water is both scientific and efficient. By comprehensively using time series data analysis, clustering algorithms, remote sensing image analysis and other technologies, accurate monitoring and analysis of the soil characteristics and crop growth conditions of each plot is achieved, so that accurate irrigation water allocation can be carried out according to the actual needs of each plot, thereby improving the utilization efficiency of water resources and enhancing the response capability to environmental changes and dynamic changes in crop water demand. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 It is a schematic diagram of the overall method flow of the present invention;

[0042] Figure 2 Schematic diagram of the soil property data set of the plot in the present invention. DETAILED DESCRIPTION

[0043] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with specific embodiments.

[0044] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the present invention should be understood by people with ordinary skills in the field to which the present invention belongs. The words "first", "second" and similar words used in the present invention do not indicate any order, quantity or importance, but are only used to distinguish different components. "Include" or "comprise" and similar words mean that the elements or objects appearing before the word include the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0045] Example

[0046] See also Figure 1-Figure 2 , the present invention provides a technical solution:

[0047] A method for allocating irrigation areas based on big data, the specific steps comprising:

[0048] Step 1: The collection time is The time series data of soil temperature, humidity and conductivity at the same depth of each plot in the irrigation area during the time period constitute the soil characteristic data set of each plot, and the time series data of temperature, humidity and conductivity within the soil characteristic data set of each plot are divided into time intervals of equal length.

[0049] Use sensors installed at the same depth in each plot of the irrigation area, such as temperature sensors, humidity sensors and conductivity sensors, to continuously collect soil temperature, humidity and conductivity data to ensure data continuity and real-time performance. The temperature sensor used is model DS18B20, the humidity sensor is model DHT11, and the conductivity sensor is model EC-5. The units of measured temperature, humidity and conductivity are degrees Celsius, relative humidity and micro-Siemens per centimeter, respectively. The collected time series data of soil temperature, humidity and conductivity is an application example of big data. The amount of these data is large because they are collected continuously and cover multiple time periods and depths of all plots in the irrigation area. By analyzing these data, we can understand how soil conditions change over time.

[0050] In this embodiment, when collecting time series data of soil temperature, humidity and conductivity, the soil depth range of the collection point is 10 cm to 60 cm. The root systems of most crops are mainly distributed in the depth range of 10 cm to 60 cm. The root system is the main part for crops to absorb water and nutrients. Therefore, monitoring the soil status within this depth range can better guide irrigation. In addition, the shallower soil layer is more affected by climate and surface evaporation, while the deeper soil layer is relatively stable and more affected by the groundwater level and soil structure. By monitoring this depth range, the changes in soil characteristics at different depths can be obtained, which helps to understand the vertical distribution and dynamic changes of soil moisture. The most important thing is that the infiltration and drainage of irrigation water mainly occur within this depth range. Understanding the soil moisture status within this depth range can help optimize irrigation strategies.

[0051] Furthermore, the length is The time period is between 8:00 and 18:00. The logic for dividing the temperature, humidity and conductivity time series data of each plot into time intervals of equal length is:

[0052] In chronological order, The width is The time series data of temperature, humidity and conductivity are divided into continuous time intervals to ensure that all continuous time intervals can completely cover the time series data, that is:

[0053] in, is the time period length of the time series data, is the number of time intervals, is the width of the time interval.

[0054] By dividing the time series data into time intervals of equal length, standardized data processing can be achieved, which facilitates unified data analysis and comparison. Data collected in different plots or at different time points can be divided into time intervals of equal length to facilitate horizontal and vertical comparisons.

[0055] The time series data of soil temperature, humidity and conductivity corresponding to the generated time interval are calibrated as follows: , and ,in , and Respectively represent the irrigation district Plot, Time series data of soil temperature, humidity and conductivity in time intervals;

[0056] in, is the number of the plot in the irrigation area, is a positive integer, and , is the number of plots in the irrigation area, is the number of the time interval, is a positive integer, and Each plot and each time interval has only a unique number, which will be used to index and identify the data of each time interval. By assigning a unique number to the data of each plot and time interval, the data can be highly structured, facilitating efficient data retrieval and analysis.

[0057] Step 2: Analyze the time series data of temperature, humidity and conductivity in each time interval to generate soil property change rate data for each time interval, process the soil property change rate data of all intervals corresponding to each plot of land, and generate soil property change data for each plot of land, wherein the soil property change rate data includes temperature change rate, humidity change rate and conductivity change rate, and the soil property change data includes temperature fluctuation rate, humidity fluctuation rate and conductivity fluctuation rate.

[0058] By calculating the soil property change rate data and soil property change data, the dynamic changes of soil properties can be quantified, the changing trends and periodicity of soil properties can be revealed, the in-depth understanding of soil status can be enhanced, and the dynamic changes of soil properties can be described more accurately.

[0059] In this embodiment, the formula for generating the temperature change rate, humidity change rate and conductivity change rate data for each time interval is:

[0060] in, , and Respectively represent the irrigation district Plot, The temperature change rate, humidity change rate and conductivity change rate in each time interval, , and Respectively represent the irrigation district Plot, In the time series data of time intervals Temperature, humidity and conductivity values ​​at the moment, , and Respectively represent the irrigation district Plot, In the time series data of time intervals Temperature, humidity and conductivity values ​​at the moment, and Respectively represent the irrigation district Plot, The start and end timestamps of the time series data for a time interval.

[0061] By using the above formula, the rate of change of soil properties in each time interval can be accurately calculated, which reflects the The actual changes in soil properties within a time interval can be more effectively utilized by calculating the rate of change to extract the changing trend and speed of soil properties using time series data. Existing technologies may rely more on average values ​​or static data analysis, while this step provides a more detailed description of the dynamic changes in soil properties by calculating the rate of change. By calculating the rate of change in real time, changes in soil properties can be responded to more quickly. This embodiment targets scenarios where individual plots in an irrigation area have no external water source, such as rainfall, for irrigation for a long time.

[0062] In this embodiment, the temperature change rate, humidity change rate and conductivity change rate of the time interval reflect the change rate of soil temperature, humidity and conductivity within a given time interval, and can quantify the dynamic changes of soil properties. The larger the change rate, the more significant the change in soil temperature, humidity or conductivity in a short period of time. If the temperature change rate is larger, it indicates that the soil temperature rises significantly in a short period of time, resulting in faster evaporation of soil moisture, thereby increasing the water demand during irrigation. Under high temperature conditions, the transpiration of crops will also be enhanced, further increasing the demand for water. A small temperature change rate indicates that the soil temperature is relatively stable, the evaporation rate is low, and the transpiration of plants is relatively stable. In this case, the water demand during irrigation does not need to be significantly increased because the loss of soil moisture is slow and the crop's demand for water is relatively stable.

[0063] The smaller the humidity change rate, the more significant the drop in soil moisture in a short period of time, which means that soil moisture is being lost rapidly, indicating that evaporation or crop absorption is strong. At this time, the water demand for irrigation will increase to replenish the lost moisture and maintain the moisture conditions required for crop growth. The larger the humidity change rate, the more soil moisture is increasing, and the loss or replenishment of soil moisture is relatively balanced, indicating that soil moisture is well maintained and that plants have a high efficiency in absorbing and utilizing moisture. Therefore, the water demand for irrigation does not need to be significantly increased.

[0064] The change in conductivity is related to the change in the concentration of dissolved salts in the soil. If the conductivity change rate is larger, it means that the salt concentration in the soil has increased significantly in a short period of time, affecting the soil's water retention capacity and the plant's absorption of water. In addition, high conductivity indicates that the soil salt content is too high and irrigation is needed to dilute the salt. The water demand during irrigation needs to be increased. A small conductivity change rate indicates that the salt dilution may be caused by external water replenishment such as rainfall. Therefore, the water demand during irrigation does not need to be significantly increased.

[0065] Furthermore, the logic for generating soil property change data for each plot is as follows:

[0066] in, , and Respectively represent the irrigation district The temperature fluctuation rate, humidity fluctuation rate and conductivity fluctuation rate of each plot.

[0067] No. The temperature fluctuation rate, humidity fluctuation rate and conductivity fluctuation rate of each plot are essentially The distribution variance of the temperature change rate, humidity change rate and conductivity change rate in each time interval within a plot. The variance is the average of the squares of the differences between each value in a set of data and its average value. Therefore, the temperature fluctuation rate, humidity fluctuation rate and conductivity fluctuation rate are used to measure the volatility of soil properties such as temperature, humidity and conductivity in different time intervals.

[0068] In this embodiment, since this embodiment is directed to a method for allocating water to each plot in an irrigation area when there is no rain outside to irrigate the plot, the temperature and conductivity will increase with the evaporation of water and the transpiration of crops over time, so the temperature change rate and the conductivity change rate are positive numbers, and the humidity will decrease over time, so the humidity change rate is a negative value. A large temperature fluctuation rate usually means a drastic temperature change. When the temperature rises significantly, the high temperature will increase the evaporation rate of soil moisture and the transpiration of plants, causing moisture to be lost from the soil and crops more quickly. In order to replenish the lost moisture, the irrigation amount needs to be increased. A large humidity fluctuation rate indicates that the soil moisture has changed significantly in a short period of time. Since the humidity has decreased significantly, it means that the soil moisture is being lost rapidly. In order to maintain a suitable soil moisture, the irrigation amount needs to be increased. A large conductivity fluctuation rate reflects a significant change in the concentration of dissolved salts in the soil. A significant increase in conductivity indicates that the soil salt concentration has increased, which will affect the absorption of water and nutrients by crops. In order to dilute the salt in the soil, the irrigation amount needs to be increased to help wash away excess salt and protect crops from salt damage.

[0069] Step 3: Take the temperature fluctuation rate, humidity fluctuation rate and conductivity fluctuation rate of each plot as a data node and randomly select The data nodes are used as the initial centroids, and the temperature fluctuation rate, humidity fluctuation rate and conductivity fluctuation rate of each plot are used as the feature vectors of the data nodes. The distance from the data node to each centroid is calculated and assigned to the nearest centroid for clustering. The feature vector data of the centroid is updated until the feature vector change of the centroid is less than the centroid change threshold, and clustering is completed.

[0070] In this embodiment, the number of initial centroids The value of , is the number of plots in the irrigation area, since the number of initial centroids needs to be guaranteed is a positive integer, so if If it is not a positive integer, it will be rounded off to ensure is a positive integer, is a pre-set number of clusters. The clustering method in this embodiment is driven by data and can better reflect the intrinsic structure and pattern of the data. By iteratively updating the centroid, the algorithm can dynamically adjust the clustering results to adapt to data changes. Through cluster analysis, the plots can be classified according to their environmental conditions such as temperature, humidity and conductivity fluctuations. The clustering results are used to reflect and identify the irrigation needs of different plots.

[0071] In this embodiment, the step of clustering the data nodes in step 3 is:

[0072] Random Selection data nodes as the initial centroid, represents the number of categories after clustering, is a positive integer, where The initial centroid is expressed as: , , and Respectively represent The temperature fluctuation rate, humidity fluctuation rate and conductivity fluctuation rate of the data node as the initial centroid, is a positive integer, and ;

[0073] For each plot’s feature vector, calculate its distance to each initial centroid and assign it to the cluster represented by the nearest centroid. The distance to the initial centroid is calculated based on the formula:

[0074]

[0075] in, Indicates The initial centroid and The distance between data nodes, , and Respectively represent The temperature fluctuation rate, humidity fluctuation rate and conductivity fluctuation rate of the plot corresponding to each data node;

[0076] For each cluster, after each clustering is completed, the mean of all points in the cluster is recalculated and used as the feature data of the new centroid. The update formula for the centroid feature data is:

[0077] in, Indicates that the The number of data nodes of the centroid, , and Indicates that the The temperature fluctuation rate, humidity fluctuation rate and conductivity fluctuation rate of the plot corresponding to the data node of the centroid, , and representing the updated temperature fluctuation rate, humidity fluctuation rate and conductivity fluctuation rate data of the centroid;

[0078] Based on the updated feature vector of the centroid, clustering is performed again until the change of all centroid positions is less than the threshold, then the clustering is considered stable and the clustering is terminated.

[0079] Clustering data nodes is a typical implementation process of the K-means clustering algorithm. This process not only helps to group plots with similar environmental parameters, so that more customized irrigation strategies can be adopted, but the purpose of selecting the centroid is to start the clustering process, but the optimal clustering result can be found through iterative updates.

[0080] For each data node of a plot, the distance between it and all centroids is calculated using the Euclidean distance formula. Each data node is assigned to the cluster represented by its nearest centroid. This process is based on the assumption that data points that are closer are more similar in the feature space. After clustering is completed, in order to more accurately reflect the center of the cluster, the centroid of each cluster is updated based on the average value of the feature vectors of all data nodes in the cluster. This is the key to the algorithm iteration process because it will adjust the cluster center based on the latest clustering data, thereby more accurately reflecting the actual situation of the cluster.

[0081] After updating the centroids, the algorithm will use the new centroids for re-clustering. This process will be repeated until the position change of all centroids is less than the predetermined threshold, which means that the clustering has reached a stable state and further iterations will not significantly change the clustering results. By effectively grouping the plots according to the similarity of environmental parameters, more accurate irrigation strategies can be implemented for different cluster groups, thereby optimizing the allocation and use of water resources. Accurate clustering can better understand the specific needs of each plot, and can also formulate more scientific management and irrigation plans based on this information.

[0082] In this embodiment, the positions of the new and old centroids are compared. If the position change of all centroids is less than a preset threshold, the clustering is considered stable and the clustering is terminated. The convergence condition for terminating the clustering is:

[0083]

[0084] in, Threshold indicating the change in centroid position.

[0085] Step 4: Classify all plots according to the clustering results, analyze the final feature vector data of the centroid of each clustering result, generate the plot type index of each clustering result, and map the plot type index of each cluster to the plots within it one by one.

[0086] The centroid feature vectors of each cluster are analyzed in detail. These feature vectors represent the center of each cluster, that is, the typical environmental parameters of this type of plot, namely temperature fluctuation rate, humidity fluctuation rate and conductivity fluctuation rate. The plot type index generated based on the centroid feature vector is used to reflect the environmental characteristics of the plots in the cluster. Each plot will be marked with the plot type index of the cluster to which it belongs, thereby realizing the classification and marking of the plots.

[0087] By simplifying complex environmental data into several key plot type indexes, the characteristics of different plots can be quickly identified, so that more customized irrigation strategies can be implemented. Compared with traditional experience- and rule-based classification methods, this method is more data-driven and can more accurately reflect the actual environmental characteristics of the plot. As environmental data changes, the plot type index can be dynamically updated to ensure that classification and management strategies are always based on the latest data.

[0088] In this embodiment, the formula for analyzing the feature vector data of the final centroid to generate the plot type index of each clustering result is:

[0089] in, Indicates that in the final clustering result, The plot type index of each cluster, , and They represent the final clustering results. The temperature fluctuation rate, humidity fluctuation rate and conductivity fluctuation rate data of each centroid, , and denote the temperature weight coefficient, humidity weight coefficient and conductivity weight coefficient respectively, and , ;

[0090] When mapping the plot type index of each cluster to the plots within it one by one, the plot type index of the cluster is assigned to each plot in the cluster, that is, all plots in a cluster will share the same plot type index.

[0091] The plot type index reflects the environmental characteristics of the plots within the cluster. This index is obtained by weighted summation of temperature fluctuation, humidity fluctuation and conductivity fluctuation, reflecting the water demand per unit area in the plot. Temperature fluctuation affects the growth rate and physiological activities of crops; humidity fluctuation affects soil moisture and crop water demand; conductivity fluctuation reflects the soil salinity level, affecting crop nutrient absorption and growth.

[0092] A lower humidity fluctuation rate means that the humidity of the plot changes less, a higher humidity fluctuation rate indicates that the humidity of the plot changes more, which will lead to an increase in crop water demand. A lower temperature fluctuation rate means that the temperature of the plot changes less, which helps to reduce additional water evaporation caused by temperature fluctuations, thereby possibly reducing crop water demand. A lower conductivity fluctuation rate indicates that the soil salt level is stable, which helps maintain soil structure and water retention capacity, thereby reducing crop water demand.

[0093] In agricultural production, humidity fluctuation is usually directly related to water demand, so it is given a higher weight. Although temperature fluctuation and conductivity fluctuation do not directly reflect water demand, they can indirectly affect crop water demand by affecting evaporation rate and soil moisture retention capacity. Humidity affects crop water use efficiency and soil moisture conditions, and obtains the second largest weight. Although conductivity has an impact on water demand, its impact is smaller and obtains the smallest weight. This weight distribution reflects the importance and impact of different environmental parameters on agricultural production.

[0094] The larger the plot type index is, the more water the plot requires when irrigating. The smaller the plot type index is, the smaller the water required when irrigating. The lower the temperature fluctuation rate is, the smaller the temperature change of the plot is. The lower the humidity fluctuation rate is, the smaller the humidity change of the plot is, which is conducive to maintaining soil moisture and crop moisture requirements. The lower the conductivity fluctuation rate is, the more stable the soil salinity level is.

[0095] Step 5: Collect remote sensing images of each plot, and adjust the image size of all remote sensing images to 224*224 and then perform grayscale processing to obtain the first recognition image. Analyze the first recognition images corresponding to all plots to generate crop coverage data for each plot.

[0096] In this embodiment, adjusting the size of the remote sensing image to 224*224 means adjusting the width and height of the image to the same fixed size, i.e., 224 pixels. Adjusting the images to the same size can ensure that each image has the same size when the method is used for inference recognition, thereby simplifying the inference process. Image resizing may introduce certain distortion or information loss. Adjusting the image to the common size of 224*224 can avoid excessive distortion and retain important features in the image.

[0097] In this embodiment, the remote sensing image obtained is a color RGB image, and the remote sensing image is grayed to obtain a first recognition image. The specific formula based on the graying processing method used in this embodiment is:

[0098] in, is the gray value of the pixel in the first recognition image, , , They are respectively the pixel red component value, green component value and blue component value of the remote sensing image after image scaling.

[0099] In this embodiment, the first recognition images corresponding to all plots are analyzed to generate crop coverage data of the plots. The number of all pixel points in the first recognition image corresponding to each plot is collected, and the grayscale value of the pixel points is filtered out. The formula for calculating crop coverage is:

[0100] in, Indicates the irrigation area The crop coverage of the plots, and Indicates The gray value of the first recognition image corresponding to the plot is located at The number of pixels and the total number of pixels.

[0101] The grayscale value interval of 120 to 170 was selected as the basis for green crop coverage analysis, and this interval was used to calculate crop coverage based on the following key points:

[0102] In grayscale images, objects of different colors are converted into grays with different grayscale values. This conversion is based on the visual brightness of the object's color. Green crops show a specific range of grayscale values ​​in grayscale images due to their specific reflective properties. Due to the presence of chlorophyll, green crops have strong absorption of the blue and red spectra in sunlight, and reflect more green light. When converting color images into grayscale images, this characteristic causes green crops to show a specific grayscale range. The grayscale range reflects the brightness of green crops relative to other landforms (such as soil, water bodies, non-green vegetation, etc.). In most cases, the grayscale values ​​of green crops are concentrated in the range of 120 to 170. This range can better distinguish green crops from other types of landforms or backgrounds, such as arid land, buildings or water bodies.

[0103] Therefore, by screening the number of pixels with grayscale values ​​between 120 and 170 to represent the area of ​​green crops, and comparing it with the total number of pixels in the image, the crop coverage can be obtained.

[0104] Step 6: Allocate irrigation water to each plot based on the crop coverage data and plot type index of each plot, combined with the area of ​​the plot.

[0105] In this embodiment, the unit of the area of ​​the plot is square kilometers, the unit of the irrigation water volume is cubic meters, and the method for allocating the irrigation water volume for each plot is:

[0106] The total amount of irrigation water in an irrigation area and the area of ​​each plot in the irrigation area are counted. The amount of irrigation water for each plot is generated based on the crop coverage rate and plot type index corresponding to each irrigation area. The specific formula is as follows:

[0107] in, Indicates the irrigation area The water demand coefficient of a plot of land, , and Respectively represent the irrigation district Crop coverage, plot type index and area of ​​each plot, Indicates The amount of water for irrigation of each plot of land, It represents the total amount of irrigation water in the irrigation area. is the number of the plot in the irrigation area, is a positive integer, and , is the number of plots in the irrigation district.

[0108] The crop coverage rate reflects the density and distribution of crops on the plot. Plots with high coverage rates usually require more water because areas with dense vegetation have stronger transpiration and greater water consumption. The plot type index reflects the water demand per unit area within the plot. By multiplying these two factors, the water demand coefficient of a plot relative to other plots can be obtained. The larger the water demand coefficient, the greater the water demand for irrigation of the corresponding plot.

[0109] The correctness of the water demand coefficient and irrigation water allocation formula is based on its ability to comprehensively consider the specific environmental and crop conditions of the plot and reasonably allocate irrigation resources based on these conditions. These formulas basically combine theory and practical needs to ensure that each plot of land receives the amount of water it actually needs. The following step-by-step explanation of why these formulas are correct and effective:

[0110] This embodiment obtains the proportion of each plot in the total irrigation water volume, ensuring that each plot obtains the corresponding amount of water according to the proportion of its water demand, and multiplies it by the total available irrigation water volume to allocate the actual irrigation water volume to each plot, ensuring that water resources in the irrigation area are allocated on demand without exceeding the total resource limit.

[0111] By considering the crop coverage rate and plot type index of each plot, the water demand of each plot can be assessed more accurately. Allocating the total irrigation water according to the water demand ratio of each plot can ensure that water resources are used most efficiently, avoid the "one-size-fits-all" irrigation method, and enable water resources to be allocated according to actual needs.

[0112] In this embodiment, by collecting and analyzing the time series data of soil temperature, moisture and conductivity of each plot in a specific time period, not only the static state of soil characteristics is captured, but also the dynamic changes of these characteristics over time are paid attention to. The soil characteristic change data of each plot is classified by using a clustering algorithm, and the plots with similar soil characteristic change patterns are grouped together, and a plot type index is generated. Through classification, the differences in irrigation requirements of different plots can be identified, thereby achieving more refined irrigation management.

[0113] This embodiment also analyzes the crop coverage data obtained from remote sensing images, and can allocate irrigation water for each plot according to the crop coverage data, plot type index and area of ​​the plot, taking into account not only the soil characteristics but also the actual growth conditions of the crops, ensuring that the allocation of irrigation water is both scientific and efficient. By comprehensively using time series data analysis, clustering algorithms, remote sensing image analysis and other technologies, accurate monitoring and analysis of soil characteristics and crop growth conditions of each plot is achieved, so that accurate irrigation water allocation can be carried out according to the actual needs of each plot, thereby improving the utilization efficiency of water resources and enhancing the ability to respond to environmental changes and dynamic changes in crop water demand.

[0114] The above formulas are all dimensionless and numerical calculations. The formula is a formula for the most recent real situation obtained by collecting a large amount of data and performing software simulation. The preset parameters in the formula are set by technicians in this field according to actual conditions.

[0115] The above embodiments may be implemented in whole or in part by software, hardware, firmware or any other combination thereof. When implemented by software, the above embodiments may be implemented in whole or in part in the form of a computer program product. Those skilled in the art may appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein may be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed by hardware or software methods depends on the specific application and design constraints of the technical solution.

[0116] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, and may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0117] The above description is only a specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application.

Claims

1. A method for irrigation area allocation based on big data, characterized in that: The specific steps include: Step 1: The collection time is The time series data of soil temperature, humidity and conductivity at the same depth of each plot in the irrigation area during the time period constitute the soil characteristic data set of each plot, and the time series data of temperature, humidity and conductivity within the soil characteristic data set of each plot are divided into time intervals of equal length; Step 2: Analyze the time series data of temperature, humidity and conductivity in each time interval to generate soil property change rate data for each time interval, process the soil property change rate data of all intervals corresponding to each plot, and generate soil property change data for each plot, wherein the soil property change rate data includes temperature change rate, humidity change rate and conductivity change rate, and the soil property change data includes temperature fluctuation rate, humidity fluctuation rate and conductivity fluctuation rate; Step 3: Take the temperature fluctuation rate, humidity fluctuation rate and conductivity fluctuation rate of each plot as a data node and randomly select The data nodes are used as the initial centroids, and the temperature fluctuation rate, humidity fluctuation rate and conductivity fluctuation rate of each plot are used as the feature vectors of the data nodes. The distance from the data node to each centroid is calculated, and it is assigned to the nearest centroid for clustering. The feature vector data of the centroid is updated until the feature vector change of the centroid is less than the centroid change threshold, and clustering is completed. Step 4: Classify all plots according to the clustering results, analyze the final feature vector data of the centroid of each clustering result, generate the plot type index of each clustering result, and map the plot type index of each cluster to the plots within it one by one; Step 5: Collect remote sensing images of each plot, and adjust the image size of all remote sensing images to 224*224 and then grayscale them to obtain the first recognition image. Analyze the first recognition images corresponding to all plots to generate crop coverage data for each plot; Step 6: Allocate irrigation water to each plot based on the crop coverage data and plot type index of each plot, combined with the area of ​​the plot; When collecting time series data of soil temperature, humidity, and conductivity, the soil depth of the collection point ranges from 10 cm to 60 cm. The logic of dividing the temperature, humidity, and conductivity time series data of each plot into equal time intervals is: In chronological order, The width is The time series data of temperature, humidity and conductivity are divided into continuous time intervals to ensure that all continuous time intervals can completely cover the time series data, that is: in, is the time period length of the time series data, is the number of time intervals, is the width of the time interval; The time series data of soil temperature, humidity and conductivity corresponding to the generated time interval are calibrated as follows: , and ,in , and Respectively represent the irrigation areas Plot, Time series data of soil temperature, humidity and conductivity in time intervals; in, is the number of the plot in the irrigation area, is a positive integer, and , is the number of plots in the irrigation area, is the number of the time interval, is a positive integer, and ; The formulas used to generate the temperature change rate, humidity change rate, and conductivity change rate data for each time interval are: in, , and Respectively represent the irrigation areas Plot, The temperature change rate, humidity change rate and conductivity change rate in each time interval, , and Respectively represent the irrigation areas Plot, In the time series data of time intervals Temperature, humidity and conductivity values ​​at the moment, , and Respectively represent the irrigation areas Plot, In the time series data of time intervals Temperature, humidity and conductivity values ​​at the moment, and Respectively represent the irrigation areas Plot, The start and end timestamps of the time series data for a time interval; The logic for generating soil property change data for each plot is as follows: in, , and Respectively represent the irrigation areas Temperature fluctuation rate, humidity fluctuation rate and conductivity fluctuation rate of each plot; The steps for clustering data nodes in step 3 are: Random Selection data nodes as the initial centroid, represents the number of categories after clustering, is a positive integer, where The initial centroid is expressed as: , , and Respectively represent The temperature fluctuation rate, humidity fluctuation rate and conductivity fluctuation rate of the data node as the initial centroid, is a positive integer, and ; For each plot’s feature vector, calculate its distance to each initial centroid and assign it to the cluster represented by the nearest centroid. The distance to the initial centroid is calculated based on the formula: in, Indicates The initial centroid and The distance between data nodes, , and Respectively represent The temperature fluctuation rate, humidity fluctuation rate and conductivity fluctuation rate of the plot corresponding to each data node; For each cluster, after each clustering is completed, the mean of all points in the cluster is recalculated and used as the feature data of the new centroid. The update formula of the centroid feature data is: in, Indicates that the The number of data nodes of the centroid, , and Indicates that the The temperature fluctuation rate, humidity fluctuation rate and conductivity fluctuation rate of the plot corresponding to the data node of the centroid, , and representing the updated temperature fluctuation rate, humidity fluctuation rate and conductivity fluctuation rate data of the centroid; Based on the updated centroid feature vector, clustering is performed again until the change in the position of all centroids is less than the threshold, then the clustering is considered stable and the clustering is terminated; The formula for analyzing the feature vector data of the final centroid to generate the plot type index of each clustering result is: in, Indicates that in the final clustering result, The plot type index of each cluster, , and They represent the final clustering results. The temperature fluctuation rate, humidity fluctuation rate and conductivity fluctuation rate data of each centroid, , and denote the temperature weight coefficient, humidity weight coefficient and conductivity weight coefficient respectively, and , ; When mapping the plot type index of each cluster to the plots within it one by one, the plot type index of the cluster is assigned to each plot in the cluster, that is, all plots in a cluster will share the same plot type index.

2. The irrigation area allocation method based on big data according to claim 1 is characterized in that:The first recognition images corresponding to all plots are analyzed to generate crop coverage data of the plots. The number of all pixels in the first recognition image corresponding to each plot is collected, and the pixels with gray values ​​in the range of The formula for calculating crop coverage is: in, Indicates the irrigation area The crop coverage of the plots, and Indicates The gray value of the first recognition image corresponding to the plot is located at The number of pixels and the total number of pixels.

3. The irrigation area allocation method based on big data according to claim 1 is characterized in that: The method for allocating irrigation water to each plot is as follows: The total amount of irrigation water in an irrigation area and the area of ​​each plot in the irrigation area are counted. The amount of irrigation water for each plot is generated based on the crop coverage rate and plot type index corresponding to each irrigation area. The specific formula is as follows: in, Indicates the irrigation area The water demand coefficient of a plot of land, , and Respectively represent the irrigation areas Crop coverage, plot type index and area of ​​each plot, Indicates The amount of water for irrigation of each plot of land, It represents the total amount of irrigation water in the irrigation area. is the number of the plot in the irrigation area, is a positive integer, and , is the number of plots in the irrigation district.