Irrigation demand prediction method, device and medium for irrigation area

By analyzing the crop, soil and meteorological characteristics of the irrigated area and adjusting the irrigation water prediction model, the problem of low accuracy of irrigation demand prediction is solved, more accurate irrigation water demand prediction and irrigation water arrangement are achieved, and crop yield and quality are improved.

CN118428703BActive Publication Date: 2024-10-08浪潮智慧科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Existing irrigation water volume prediction methods lack comprehensive consideration of the complex relationships among multiple factors in different irrigation areas, resulting in low accuracy in irrigation demand prediction.

Method used

By determining the correlation characteristics of the irrigation area, including crop characteristics, soil characteristics and meteorological characteristics, correlation analysis is performed, and the parameter weights of the universal irrigation water prediction network model are adjusted to generate more accurate irrigation water demand predictions.

Benefits of technology

It improves the prediction accuracy of irrigation water demand, rationally arranges irrigation water, promotes crop growth, and improves yield and quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118428703B_ABST
    Figure CN118428703B_ABST
Patent Text Reader

Abstract

The present application discloses a method, device and medium for predicting irrigation demand for irrigation areas. The method includes: determining the correlation characteristics of the irrigation area; the correlation characteristics include crop characteristics, soil characteristics, meteorological characteristics and irrigation water characteristics; obtaining historical characteristic data of the irrigation area within a preset historical period, performing correlation analysis on the historical characteristic data, and obtaining the correlation characteristic ranking of the irrigation area; the correlation characteristic ranking is related to the crop characteristics, soil characteristics and meteorological characteristics; adjusting the parameter weights of the general irrigation water quantity prediction network model through the correlation characteristic ranking, and obtaining the irrigation water quantity prediction network model of the irrigation area; obtaining the crop data, soil data and meteorological data of the irrigation area within a preset period in the future; inputting the crop data, soil data and meteorological data into the irrigation water quantity prediction network model to generate the irrigation water demand of the irrigation area. Improving the accuracy of irrigation water demand prediction.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a method, device and medium for predicting irrigation demand for an irrigation area. Background Art

[0002] As global climate change and population growth continue, water scarcity and management are becoming increasingly important. Accurate prediction of irrigation water demand is essential to improving agricultural production efficiency, protecting water resources, and achieving sustainable development.

[0003] At present, irrigation water volume prediction methods are often based on general statistical analysis or empirical formulas. However, different irrigation areas have different climate and soil conditions, and lack of comprehensive consideration of the complex relationship between multiple factors, resulting in inaccurate prediction results and low accuracy in irrigation demand prediction in irrigation areas. Summary of the invention

[0004] The embodiments of the present application provide a method, device and medium for predicting irrigation demand in an irrigation area, which are used to solve the problem of low accuracy in predicting irrigation demand in an irrigation area.

[0005] The present application embodiment adopts the following technical solutions:

[0006] On the one hand, an embodiment of the present application provides an irrigation demand prediction method for an irrigation area, the method comprising: determining correlation characteristics of the irrigation area; the correlation characteristics comprising crop characteristics, soil characteristics, meteorological characteristics and irrigation water characteristics; the crop characteristics comprising crop type, crop growth stage and planting density, the soil characteristics comprising soil type, soil water content and soil texture; the meteorological characteristics comprising rainfall and temperature; obtaining historical characteristic data of the irrigation area within a preset historical period, performing correlation analysis on the historical characteristic data, and obtaining a correlation characteristic ranking of the irrigation area; the correlation characteristic ranking is related to the crop characteristics, soil characteristics and meteorological characteristics; adjusting parameter weights of a pre-constructed universal irrigation water prediction network model through the correlation characteristic ranking, and obtaining an irrigation water prediction network model for the irrigation area; obtaining crop data, soil data and meteorological data of the irrigation area within a future period within a preset period; inputting the crop data, the soil data and the meteorological data into the irrigation water prediction network model to generate the irrigation water demand of the irrigation area.

[0007] In one example, the correlation analysis of the historical feature data to obtain the correlation feature ranking of the irrigation area specifically includes: calculating the correlation coefficient between each feature through the Pearson correlation coefficient and the historical feature data to construct a correlation matrix; the correlation matrix represents the degree of correlation between each feature; analyzing the correlation matrix to determine the features that are strongly correlated with the irrigation water volume features to obtain the crop feature group, the soil feature group and the meteorological feature group; determining the total crop correlation coefficient corresponding to the crop feature group and the irrigation water volume features, the total soil correlation coefficient corresponding to the soil feature group and the irrigation water volume features, and the total meteorological correlation coefficient corresponding to the meteorological feature group and the irrigation water volume features; and sorting the total crop correlation coefficient, the total soil correlation coefficient and the total meteorological correlation coefficient in order from high to low to obtain the correlation feature ranking of the irrigation area.

[0008] In one example, analyzing the correlation matrix to determine features that are strongly correlated with irrigation water volume characteristics specifically includes: determining the correlation coefficient between each feature and the irrigation water volume characteristic in the correlation matrix; determining a coefficient threshold of the correlation matrix based on a value range of the correlation coefficient; and when the absolute value of the correlation coefficient is greater than the coefficient threshold, determining that the corresponding feature is strongly correlated with the irrigation water volume characteristic.

[0009] In one example, the correlation feature ranking is used to adjust the parameter weights of a pre-built universal irrigation demand prediction network model to obtain an irrigation water volume prediction network model, specifically including: determining a standard parameter weight ranking of the universal irrigation water volume prediction network model; standard parameters include crop data, soil data and meteorological data; if the standard parameter weight ranking is the same as the correlation feature ranking, the universal irrigation water volume prediction network model is determined as the irrigation water volume prediction network model of the irrigation area; if the standard parameter weight ranking is inconsistent with the correlation feature ranking, determining a scaling factor group for the correlation feature ranking; according to the scaling factor group, scaling each standard parameter weight separately to obtain an adjusted parameter weight; according to the adjusted parameter weight, updating and training the universal irrigation water volume prediction network model to obtain an irrigation water volume prediction network model of the irrigation area.

[0010] In one example, determining the scaling factor group for ranking the correlation features specifically includes: calculating the total correlation coefficient difference between adjacent features according to the correlation feature ranking; adding 1 to the total correlation coefficient difference to obtain the relative importance coefficient of the top-ranked feature among the adjacent features, determining the top-ranked feature as the feature to be scaled, and determining the relative importance coefficient as the scaling factor of the feature to be scaled; and sorting the respective scaling factors according to the order of each feature to be scaled to obtain a scaling factor group.

[0011] In one example, the scaling of each standard parameter weight according to the scaling factor group to obtain an adjusted parameter weight specifically includes: determining the standard parameter weight value corresponding to the last correlation feature in the correlation feature sorting; multiplying the last scaling factor of the scaling factor group by the standard parameter weight value to obtain the adjusted parameter weight of the feature to be scaled corresponding to the last scaling factor; multiplying the adjacent scaling factors of the last scaling factor by the adjusted parameter weight to obtain the adjusted parameter weights of the feature to be scaled corresponding to the adjacent scaling factors.

[0012] In one example, after generating the irrigation water demand of the irrigation area, the method further includes: obtaining the historical irrigation time of the irrigation area; determining the irrigation time preference of the irrigation area based on the historical irrigation time; determining a rainfall interval in the time interval of the irrigation time preference; determining a non-rainfall interval other than the rainfall interval, and determining a non-high temperature interval in the non-rainfall interval; in the non-high temperature interval, the air temperature value of the irrigation area is lower than a preset high temperature threshold; and determining the non-high temperature interval as the recommended irrigation time interval for the irrigation area.

[0013] In one example, before the correlation feature sorting is used to adjust the parameter weights of the pre-built universal irrigation water volume prediction network model to obtain the irrigation water volume prediction network model of the irrigation area, the method also includes: obtaining sample training data of the sample irrigation area; the sample training data includes crop type, crop growth stage, planting density, soil type, soil moisture content, soil texture, rainfall, temperature and irrigation water volume; in the sample training data, data other than irrigation water volume is used as input data, and irrigation water volume is used as a sample label, and the initial network model is supervisedly trained to obtain the irrigation water volume prediction network model.

[0014] On the other hand, an embodiment of the present application provides an irrigation demand prediction device for an irrigation area, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute any one of the above-described methods for predicting irrigation demand for an irrigation area.

[0015] On the other hand, an embodiment of the present application provides a non-volatile computer storage medium for predicting irrigation demand for an irrigation area, storing computer executable instructions, and the computer executable instructions can execute any of the above-mentioned methods for predicting irrigation demand for an irrigation area.

[0016] At least one of the above technical solutions adopted in the embodiments of the present application can achieve the following beneficial effects:

[0017] By considering the differences in crop characteristics, soil characteristics and climate characteristics in different irrigation areas, which lead to differences in irrigation water volume in the planting area, the correlation between crop characteristics, soil characteristics, meteorological characteristics and irrigation water volume characteristics in the irrigation area can be analyzed, and the characteristics that are relatively important to the irrigation water demand in the irrigation area can be found. The parameter weights of the universal irrigation water volume prediction network model can be adjusted, which can more accurately predict the irrigation water demand of the irrigation area and reasonably arrange the irrigation water volume, which will help provide suitable moisture conditions, promote crop growth, and ultimately improve crop yield and quality. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the technical solution of the present application, some embodiments of the present application will be described in detail below in conjunction with the accompanying drawings, in which:

[0019] Figure 1 A schematic diagram of a flow chart of a method for predicting irrigation demand for an irrigation area provided in an embodiment of the present application;

[0020] Figure 2 A schematic diagram of the structure of an irrigation demand prediction device for an irrigation area provided in an embodiment of the present application. DETAILED DESCRIPTION

[0021] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in conjunction with specific embodiments and corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.

[0022] Some embodiments of the present application are described in detail below with reference to the accompanying drawings.

[0023] Figure 1 A schematic diagram of a flow chart of a method for predicting irrigation demand for an irrigation area provided in an embodiment of the present application. Certain input parameters or intermediate results in the flow chart allow manual intervention and adjustment to help improve accuracy.

[0024] The analysis method involved in the embodiments of the present application can be implemented by a terminal device or a server, and the present application does not impose any special restrictions on this. For the convenience of understanding and description, the following embodiments are described in detail by taking a server as an example.

[0025] It should be noted that the server may be a single device or a system consisting of multiple devices, that is, a distributed server, and this application does not make any specific limitation on this.

[0026] Figure 1 The process in includes the following steps:

[0027] S101: Determine correlation characteristics of the irrigation area; the correlation characteristics include crop characteristics, soil characteristics, meteorological characteristics and irrigation water characteristics; the crop characteristics include crop type, crop growth stage and planting density, the soil characteristics include soil type, soil moisture content and soil texture; the meteorological characteristics include rainfall and temperature.

[0028] In some embodiments of the present application, different types of soil have different water retention capacities and permeabilities, which affect the crop's ability to absorb water. The soil water retention capacity of the irrigation area is related to factors such as soil type, soil texture, and water content. Therefore, the water demand for irrigation will also vary.

[0029] In addition, the water requirement for crop growth is related to factors such as crop type, crop growth stage and planting density. Different crops consume different amounts of water at different stages, and different crop types also have different water requirements. For example, rice requires a lot of water, while wheat requires less water.

[0030] In addition, the climate of different regions varies greatly, including rainfall, temperature, humidity, etc. Climate conditions will directly affect the irrigation water demand. For example, the irrigation demand in arid areas is generally higher, while the irrigation demand in humid areas is relatively lower.

[0031] Furthermore, different irrigation areas may have different characteristics that are most relevant to irrigation water requirements. By calculating the correlation between crop characteristics, soil characteristics, meteorological characteristics and irrigation water characteristics, it is possible to determine which characteristics are most closely related to irrigation water requirements in different planting areas.

[0032] For example, in an arid region, rainfall may have a high correlation with irrigation water requirements because rainfall is low and crops rely mainly on irrigation to meet their water needs. However, in a humid region, rainfall is abundant and other factors such as soil water retention capacity and crop type may be more relevant to irrigation water requirements.

[0033] In addition, different crops may have different water requirements. Some crops may be more sensitive to specific soil conditions, temperature or humidity. For example, wheat has a deeper root system and can absorb more water from the soil. In wheat-growing areas, soil texture and water retention may be more relevant to irrigation water requirements.

[0034] S102: Acquire historical characteristic data of the irrigation area within a preset historical period, perform correlation analysis on the historical characteristic data, and obtain a correlation characteristic ranking of the irrigation area; the correlation characteristic ranking is related to crop characteristics, soil characteristics and meteorological characteristics.

[0035] The historical characteristic data include crop type, crop growth stage, planting density, soil type, soil moisture content, soil texture, rainfall, temperature and irrigation water volume. For example, the preset historical period is within the past year.

[0036] In some embodiments of the present application, the process of performing correlation analysis on historical feature data is as follows:

[0037] First, the correlation coefficients between the features are calculated through the Pearson correlation coefficient and the historical feature data to construct a correlation matrix, where the correlation matrix represents the degree of correlation between the features.

[0038] The correlation coefficient can range from -1 to 1, where -1 indicates a complete negative correlation, 1 indicates a complete positive correlation, and 0 indicates no correlation.

[0039] It should be noted that the historical feature data needs to be quantified to convert non-numerical data into numerical data, and then the correlation coefficient of each feature to other features is calculated by using the Pearson correlation coefficient formula. Finally, all the calculated correlation coefficients are combined into a correlation matrix.

[0040] For example, the Pearson correlation coefficient formula is used to calculate the correlation coefficient between crop type and irrigation water amount.

[0041] It should be noted that the Pearson correlation coefficient is a linear correlation coefficient, which is used to measure the degree of linear correlation between two variables. The main process is: first, calculate the covariance matrix of the variables, and then use the covariance matrix to calculate the correlation coefficient.

[0042] Among them, the covariance matrix can be obtained by calculating the mean of each variable and the covariance between the variable and other variables.

[0043] For example, we can calculate the mean of rainfall and the mean of irrigation water. For example, the mean can be obtained by dividing the sum of rainfall in a period of time by the number of observations.

[0044] The covariance process is as follows: first, calculate the difference between the first rainfall observation and the mean rainfall, and the difference between the first irrigation water observation and the mean irrigation water, multiply the two differences to get the product of the first observation, and so on, calculate the second, third, and last observation products, add these products together, and finally, divide the addition result by the number of observations to get the covariance of rainfall and irrigation water.

[0045] It should be noted that the data in the same time period are determined as the same observation value. For example, if the unit is month, historical feature data will be generated once every month.

[0046] Covariance represents the overall error of two variables. If the changing trends of the two variables are consistent, that is, if one of them is greater than its expected value and the other is also greater than its expected value, then the covariance between the two variables is positive.

[0047] On the contrary, if the changing trends of the two variables are opposite, that is, when one variable is greater than its expected value, while the other is less than its expected value, then the covariance between the two variables is negative.

[0048] In an example, the correlation matrix can be shown in Table 1:

[0049] Table 1, Correlation Matrix

[0050]

[0051] By observing the correlation coefficient, it can be concluded that there is a strong positive correlation between air temperature and irrigation water volume (correlation coefficient is 0.7), indicating that as temperature rises, irrigation water volume may increase; there is a weak negative correlation between rainfall and irrigation water volume (correlation coefficient is -0.2), indicating that as rainfall increases, irrigation water volume may decrease; there is a moderate positive correlation between soil moisture content and irrigation water volume (correlation coefficient is 0.4), indicating that as soil moisture content increases, irrigation water volume may increase.

[0052] Then, the correlation matrix was analyzed to determine the features that were strongly correlated with the irrigation water quantity features to obtain the crop feature group, soil feature group, and meteorological feature group.

[0053] For example, the crop feature group includes crop type and planting density, the soil feature group is empty, and the meteorological feature group includes rainfall. At this time, the crop planted in the irrigated area is likely to be rice.

[0054] The process of determining the features that are strongly correlated with the irrigation water quantity features is as follows:

[0055] First, in the correlation matrix, the correlation coefficient between each feature and the irrigation water quantity feature is determined, and the coefficient threshold of the correlation matrix is ​​determined according to the value range of the correlation coefficient. When the absolute value of the correlation coefficient is greater than the coefficient threshold, it is determined that the corresponding feature has a strong correlation with the irrigation water quantity feature.

[0056] For example, if the value range is between -1 and 1, the coefficient threshold is determined to be 0.5.

[0057] Then, the total crop correlation coefficients corresponding to the crop feature group and the irrigation water quantity characteristics, the total soil correlation coefficients corresponding to the soil feature group and the irrigation water quantity characteristics, and the total meteorological correlation coefficients corresponding to the meteorological feature group and the irrigation water quantity characteristics are determined.

[0058] It should be noted that the total crop correlation coefficient, the total soil correlation coefficient and the total meteorological correlation coefficient are obtained by adding the absolute values ​​of the coefficients of the corresponding characteristics.

[0059] For example, if there are multiple features in the crop feature group, the absolute value of the coefficient of each feature is added to obtain the total correlation coefficient. If the soil feature group is empty, the total soil correlation coefficient is 0.

[0060] Finally, the total crop correlation coefficient, the total soil correlation coefficient and the total meteorological correlation coefficient are sorted in order from high to low to obtain the correlation feature sorting of the irrigation area.

[0061] It should be noted that the ranking of correlation features refers to the ranking of crop features, soil features and meteorological features. For example, the ranking is crop features, meteorological features and soil features.

[0062] S103: adjusting parameter weights of a pre-constructed universal irrigation water volume prediction network model by sorting the correlation features to obtain an irrigation water volume prediction network model for the irrigation area.

[0063] It should be noted that the construction process of the general irrigation water volume prediction network model is as follows:

[0064] First, sample training data of sample irrigation areas are obtained, including crop type, crop growth stage, planting density, soil type, soil moisture content, soil texture, rainfall, temperature and irrigation water volume.

[0065] Then, in the sample training data, data other than irrigation water volume is used as input data, and irrigation water volume is used as sample label to perform supervised training on the initial network model to obtain an irrigation water volume prediction network model.

[0066] Among them, the architecture of the initial network model can be set according to actual needs, for example, as shown below:

[0067] Input layer: Receives sample characteristic data, including crop type, crop growth stage, planting density, soil type, soil moisture content, soil texture, rainfall and temperature, etc.

[0068] Embedding layer: Embedding operations are performed on categorical features (such as crop type and soil type) to convert them into low-dimensional vector representations for better processing and learning by the model.

[0069] Convolutional or recurrent layers: Depending on the characteristics of the dataset, you can choose convolutional layers to process spatial features, such as soil texture and planting density; or recurrent layers to process sequence features, such as temperature and rainfall in time series data.

[0070] Fully connected layer: fuses and maps the features learned in the previous layers to generate the final prediction output.

[0071] Output layer: Output the predicted value of irrigation water volume.

[0072] In some embodiments of the present application, firstly, the weight ranking of standard parameters of the universal irrigation water volume prediction network model is determined. The standard parameters include crop data, soil data and meteorological data.

[0073] If the standard parameter weight ranking is the same as the correlation feature ranking, the universal irrigation water quantity prediction network model is determined as the irrigation water quantity prediction network model for the irrigation area.

[0074] That is to say, when the rankings of the two are the same, it can be considered that the degree of importance between different standard parameters is in line with the irrigation needs of the irrigation area.

[0075] If the standard parameter weight ranking is inconsistent with the correlation feature ranking, determine the scaling factor group for the correlation feature ranking.

[0076] The process of determining the scaling factor group is as follows:

[0077] First, the features are sorted according to their correlation, and the difference in total correlation coefficients between adjacent features is calculated.

[0078] The total correlation coefficient difference is added by 1 to obtain the relative importance coefficient of the top-ranked feature among the adjacent features, the top-ranked feature is determined as the feature to be scaled, and the relative importance coefficient is determined as the scaling factor of the feature to be scaled.

[0079] For example, the ranking is crop characteristics, meteorological characteristics and soil characteristics, the difference between crop characteristics and meteorological characteristics is 0.4, and the difference between meteorological characteristics and soil characteristics is 0.2. The relative importance coefficient of crop characteristics is 1.4, and the relative importance coefficient of meteorological characteristics is 1.2. The scaling factor group is 1.4 and 1.2.

[0080] Finally, each standard parameter weight is scaled individually according to the scaling factor group to obtain the adjusted parameter weight.

[0081] For example, the scaling factor group is 1.4 and 1.2, and the standard parameter weights of crop characteristics, meteorological characteristics and soil characteristics are 0.5, 0.2 and 0.4 respectively. In order to reflect the change of relative importance coefficient, the scaling factor of meteorological characteristics is multiplied by the standard parameter weight of soil characteristics, that is, the adjustment parameter weight of meteorological characteristics is 0.48. The scaling factor of crop characteristics is multiplied by the adjustment parameter weight of meteorological characteristics, and the adjustment weight of crop characteristics becomes 0.672.

[0082] Finally, according to the adjusted parameter weights, the universal irrigation water volume prediction network model is updated and trained to obtain the irrigation water volume prediction network model for the irrigation area.

[0083] Therefore, by generating a group of scaling factors, the range of adjustment of the standard parameter weights can be better measured, thereby improving the prediction accuracy of subsequent irrigation water volume.

[0084] S104: within a preset period, obtaining crop data, soil data and meteorological data of the irrigation area in the future.

[0085] For example, the preset cycle is two weeks and the future duration is three days. That is, the irrigation water demand of the irrigation area is predicted every two weeks.

[0086] S105: Inputting the crop data, the soil data and the meteorological data into the irrigation water volume prediction network model to generate the irrigation water demand of the irrigation area.

[0087] Among them, in the actual application based on irrigation water demand, the accuracy of irrigation water demand can be referred to, and the irrigation water quantity prediction network model can be updated in time when the requirements are not met.

[0088] In some embodiments of the present application, the next irrigation time is automatically recommended to the user in combination with the user's convenient time.

[0089] First, the historical irrigation time of the irrigation area is obtained. Then, the irrigation time preference of the irrigation area is determined according to the historical irrigation time. Then, the rainfall interval is determined in the time interval of the irrigation time preference. A non-rainfall interval other than the rainfall interval is determined, and a non-high temperature interval is determined in the non-rainfall interval, wherein the temperature value of the irrigation area in the non-high temperature interval is lower than a preset high temperature threshold. For example, the preset high temperature threshold is 35 degrees Celsius. Finally, the non-high temperature interval is determined as the recommended irrigation time interval for the irrigation area.

[0090] For example, the irrigation time preference interval is between 7am and 10am, and between 2pm and 4pm. For the meteorological data in the future, the rainfall interval is from 7am to 8am, and the non-rainfall interval is from 8am to 10am, and from 2pm to 4pm. In addition, since the temperature between 2pm and 3pm exceeds 35 degrees, the non-high temperature interval is from 8am to 10am, and from 3pm to 4pm.

[0091] It should be noted that when determining the irrigation time preference of the irrigation area based on the historical irrigation time, the historical irrigation time can be input into the constructed time preference network model to output the irrigation time preference. The construction process of the time preference network model is as follows:

[0092] The sample irrigation time series of the sample irrigation area is obtained, the sample irrigation time series is used as input data, the irrigation time preference is used as the sample label, and the original network model is supervisedly trained to obtain the time preference network model.

[0093] It should be noted that the structure of the original network model can be set according to actual needs, for example, referring to the initial network model structure of the irrigation water volume prediction network model.

[0094] This allows irrigation to be avoided during rainfall periods and high temperatures, and allows irrigation to be performed at a time that is convenient for the user.

[0095] In some embodiments of the present application, since the correlation characteristic data of the irrigation area is dynamically changing and has uncertainty, predicting the uncertainty of water demand in the irrigation area can help decision makers formulate more reasonable irrigation plans and water resource management strategies.

[0096] Based on this, firstly, a probability distribution is generated for each correlation characteristic data according to the historical characteristic data. Then, a large number of random samples are drawn from the probability distribution through a random number generator. Then, each random sample is input into the irrigation water quantity prediction network model to generate multiple simulated irrigation water requirements. Then, a statistical analysis is performed on the multiple simulated irrigation water requirements to obtain the degree of uncertainty in the irrigation area. Finally, the fluctuation range of the irrigation water demand is determined according to the degree of uncertainty.

[0097] For example, the generated probability distribution can be set according to actual needs, for example, rainfall follows a normal distribution.

[0098] It should be noted that although the embodiments of the present application are based on Figure 1 Steps S101 to S105 are described in sequence, but this does not mean that steps S101 to S105 must be performed in a strict order. Figure 1 The order shown in the figure is to introduce and explain step S101 to step S105 in sequence, in order to facilitate those skilled in the art to understand the technical solution of the embodiment of the present application. In other words, in the embodiment of the present application, the order between step S101 to step S105 can be appropriately adjusted according to actual needs.

[0099] pass Figure 1 The method can consider the differences in irrigation water volume in planting areas caused by different crop characteristics, soil characteristics and climate characteristics in different irrigation areas. For the irrigation area, the correlation between crop characteristics, soil characteristics, meteorological characteristics and irrigation water volume characteristics is analyzed, and the characteristics that are relatively important to the irrigation water demand for the irrigation area are found. Therefore, the parameter weights of the universal irrigation water volume prediction network model can be adjusted, which can more accurately predict the irrigation water demand of the irrigation area, reasonably arrange the irrigation water volume, help provide suitable moisture conditions, promote crop growth, and ultimately improve crop yield and quality.

[0100] Based on the same idea, some embodiments of the present application also provide devices and non-volatile computer storage media corresponding to the above methods.

[0101] Figure 2 A schematic diagram of a structure of an irrigation demand prediction device for an irrigation area provided in an embodiment of the present application includes:

[0102] at least one processor; and,

[0103] a memory communicatively connected to the at least one processor; wherein,

[0104] The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute any one of the above-mentioned methods for predicting irrigation demand for an irrigation area.

[0105] Some embodiments of the present application provide a non-volatile computer storage medium for predicting irrigation demand for an irrigation area, which stores computer executable instructions, and the computer executable instructions can execute any of the above-mentioned methods for predicting irrigation demand for an irrigation area.

[0106] Each embodiment in this application is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device and medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.

[0107] The devices and media provided in the embodiments of the present application correspond one-to-one to the methods. Therefore, the devices and media also have similar beneficial technical effects as the corresponding methods. Since the beneficial technical effects of the methods have been described in detail above, the beneficial technical effects of the devices and media will not be repeated here.

[0108] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0109] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0110] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0111] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0112] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0113] Memory may include non-permanent storage in a computer-readable medium, in the form of random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.

[0114] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0115] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0116] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the technical principle of the present application should all fall within the protection scope of the present application.

Claims

1. A method for predicting irrigation demand for an irrigation area, characterized in that: The method comprises: Determine the correlation characteristics of the irrigation area; the correlation characteristics include crop characteristics, soil characteristics, meteorological characteristics and irrigation water characteristics; the crop characteristics include crop type, crop growth stage and planting density, the soil characteristics include soil type, soil water content and soil texture; the meteorological characteristics include rainfall and temperature; Acquire historical characteristic data of the irrigation area within a preset historical time period, perform correlation analysis on the historical characteristic data, and obtain correlation characteristic ranking of the irrigation area; the correlation characteristic ranking is related to crop characteristics, soil characteristics and meteorological characteristics; the historical characteristic data includes crop type, crop growth stage, planting density, soil type, soil moisture content, soil texture, rainfall, temperature and irrigation water volume; By sorting the correlation features, adjusting the parameter weights of the pre-built universal irrigation water volume prediction network model to obtain the irrigation water volume prediction network model of the irrigation area; Acquiring crop data, soil data and future weather data of the irrigation area within a preset period; Inputting the crop data, the soil data and the meteorological data into the irrigation water quantity prediction network model to generate the irrigation water demand of the irrigation area; The performing correlation analysis on the historical characteristic data to obtain the correlation characteristic ranking of the irrigation area specifically includes: The correlation coefficients between the various features are calculated by using the Pearson correlation coefficient and the historical feature data to construct a correlation matrix; the correlation matrix represents the degree of correlation between the various features; Analyzing the correlation matrix to determine the features that are strongly correlated with the irrigation water quantity features, so as to obtain a crop feature group, a soil feature group, and a meteorological feature group; Determine the total coefficient of crop correlation between the crop feature group and the irrigation water feature, the total coefficient of soil correlation between the soil feature group and the irrigation water feature, and the total coefficient of meteorological correlation between the meteorological feature group and the irrigation water feature; Sorting the crop total correlation coefficient, the soil total correlation coefficient and the meteorological total correlation coefficient in order from high to low to obtain the correlation characteristic ranking of the irrigation area; The method of adjusting parameter weights of the pre-built universal irrigation demand prediction network model by sorting the correlation features to obtain an irrigation water volume prediction network model specifically includes: Determine the weight ranking of standard parameters of the universal irrigation water volume prediction network model; the standard parameters include crop data, soil data and meteorological data; If the standard parameter weight ranking is the same as the correlation feature ranking, the universal irrigation water volume prediction network model is determined as the irrigation water volume prediction network model for the irrigation area; If the standard parameter weight ranking is inconsistent with the correlation feature ranking, determining a scaling factor group for the correlation feature ranking; scaling each standard parameter weight according to the scaling factor group to obtain an adjusted parameter weight; According to the adjusted parameter weights, updating and training the universal irrigation water volume prediction network model to obtain the irrigation water volume prediction network model of the irrigation area; The scaling factor group for determining the correlation feature ranking specifically includes: According to the sorting of the correlation features, the difference of the total correlation coefficients between adjacent features is calculated; Add 1 to the total correlation coefficient difference to obtain the relative importance coefficient of the top-ranked feature among the adjacent features, determine the top-ranked feature as the feature to be scaled, and determine the relative importance coefficient as the scaling factor of the feature to be scaled; According to the order of each feature to be scaled in the correlation feature sorting, sort the respective scaling factors to obtain a scaling factor group; The step of scaling each standard parameter weight according to the scaling factor group to obtain the adjusted parameter weight specifically includes: In the correlation feature sorting, determining the standard parameter weight value corresponding to the last correlation feature; Multiplying the last scaling factor of the scaling factor group by the standard parameter weight value to obtain an adjustment parameter weight of the feature to be scaled corresponding to the last scaling factor; The adjacent scaling factors of the last scaling factor are multiplied by the adjustment parameter weight to obtain the adjustment parameter weight of the feature to be scaled corresponding to the adjacent scaling factors.

2. The method according to claim 1, characterized in that The analysis of the correlation matrix to determine the features that are strongly correlated with the irrigation water volume features specifically includes: In the correlation matrix, determining the correlation coefficient between each feature and the irrigation water quantity feature; Determining a coefficient threshold of the correlation matrix according to a value range of the correlation coefficient; When the absolute value of the correlation coefficient is greater than the coefficient threshold, it is determined that the corresponding feature has a strong correlation with the irrigation water quantity feature.

3. The method according to claim 1, characterized in that: After generating the irrigation water requirement of the irrigation area, the method further comprises: Obtaining historical irrigation time of the irrigation area; Determining an irrigation time preference for the irrigation area based on the historical irrigation time; Determining a rainfall interval within the time interval of the irrigation time preference; Determine a non-rainfall interval other than the rainfall interval, and determine a non-high temperature interval in the non-rainfall interval; in the non-high temperature interval, the temperature value of the irrigation area is lower than a preset high temperature threshold; The non-high temperature interval is determined as a recommended irrigation time interval for the irrigation area.

4. The method according to claim 1, characterized in that: Before adjusting parameter weights of the pre-built universal irrigation water volume prediction network model by sorting the correlation features to obtain the irrigation water volume prediction network model for the irrigation area, the method further includes: Obtain sample training data of a sample irrigation area; the sample training data includes crop type, crop growth stage, planting density, soil type, soil moisture content, soil texture, rainfall, temperature and irrigation water volume; In the sample training data, data other than the irrigation water volume is used as input data, and the irrigation water volume is used as a sample label, and supervised training is performed on the initial network model to obtain the irrigation water volume prediction network model.

5. An irrigation demand prediction device for an irrigation area, characterized in that: include: at least one processor; as well as, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the irrigation demand prediction method for an irrigation area as described in any one of claims 1 to 4.

6. A non-volatile computer storage medium storing computer executable instructions for predicting irrigation demand for an irrigation area, characterized in that: The computer executable instructions can execute the irrigation demand prediction method for an irrigation area as described in any one of claims 1 to 4 above.