Heavy metal input flux calculation system for agricultural land under flood influence

Through the calculation system, the impact index and change coefficient are obtained, and the traditional heavy metal input flux is adjusted, which solves the problem of inaccurate calculation of heavy metal input flux to agricultural land after floods, and achieves the accuracy of agricultural land pollution assessment and scientific management strategy. .

CN118503745BActive Publication Date: 2024-10-01TECH CENT FOR SOIL AGRI & RURAL ECOLOGY & ENVIRONMENT MINIST OF ECOLOGY & ENVIRONMENT
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410963492.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-18
Publication Date
2024-10-01
Estimated Expiration
2044-07-18

AI Technical Summary

Technical Problem

Traditional methods cannot accurately reflect heavy metal input fluxes after agricultural land experiences flooding, leading to inaccurate pollution assessment and management.

Method used

A heavy metal input flux calculation system for agricultural land under the influence of floods is proposed. By obtaining the flood impact time and upstream distance, combined with the vegetation coverage reduction rate, groundwater level increase index and weather impact index, the impact index and change coefficient are calculated, and the initial adjustment The heavy metal input flux accurately reflects the current heavy metal input flux.

Benefits of technology

It can accurately reflect the actual input flux of heavy metals after agricultural land experiences flooding, improve the accuracy of pollution assessment and management strategies, and protect agricultural production and the ecological environment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118503745B_ABST
    Figure CN118503745B_ABST
Patent Text Reader

Abstract

The present invention discloses a system for calculating the heavy metal input flux of agricultural land under the influence of floods, and specifically relates to the technical field of heavy metal input measurement. The present invention obtains the flood impact time and upstream distance of the target sub-agricultural land, and uses the flood impact time and upstream distance as the data points of the target sub-agricultural land to obtain a data set, clusters the data set to determine the impact index of the target sub-agricultural land, then obtains the vegetation coverage reduction rate, groundwater level increase index and weather impact index of each target sub-agricultural land and obtains the variation coefficient in combination with the impact index, obtains the final heavy metal input flux according to the initial heavy metal input flux of the target sub-agricultural land and in combination with the variation coefficient, and adds the final heavy metal input flux of each target sub-agricultural land to obtain the heavy metal input flux of the target agricultural land. In this way, after the agricultural land has experienced a flood, the actual input flux of heavy metals in the current agricultural land can be accurately reflected.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of heavy metal input measurement, and in particular to a heavy metal input flux calculation system for agricultural land under the influence of floods. Background Art

[0002] Heavy metals in agricultural land mainly come from industrial emissions, mining activities, traffic exhaust, pesticide and fertilizer use, sewage irrigation and atmospheric deposition. These pollution sources introduce heavy metals into the soil, resulting in excessive heavy metal content in the soil, which in turn affects the growth of crops and food safety. In order to manage agricultural land in a timely manner, the input flux of heavy metals in agricultural land is calculated to assess and manage the risk of heavy metal pollution in the soil. By calculating the input flux of heavy metals, the accumulation of heavy metals in farmland soil can be understood, and potential pollution sources and migration pathways can be identified, thereby providing a basis for formulating scientific pollution prevention and control measures and land use management strategies, protecting agricultural production safety and agricultural product quality, and safeguarding the ecological environment and public health.

[0003] The traditional way to calculate the input flux of heavy metals to agricultural land is to collect the main input sources of heavy metals to agricultural land and analyze and judge them to obtain the input flux of heavy metals to agricultural land. However, after the agricultural land has experienced a flood, the input flux of heavy metals to agricultural land calculated by the traditional method cannot accurately reflect the actual input flux of heavy metals to agricultural land at present. Summary of the invention

[0004] The purpose of the present invention is to solve the problem that the heavy metal input flux of agricultural land calculated by traditional methods cannot accurately reflect the actual input flux of heavy metals in the current agricultural land after the agricultural land has experienced a flood, and to propose a heavy metal input flux calculation system for agricultural land under the influence of floods.

[0005] The present invention proposes a system for calculating the heavy metal input flux of agricultural land under the influence of floods, which is used to calculate the heavy metal input flux of a target agricultural land, wherein the target agricultural land includes a plurality of sub-agricultural lands, and the target sub-agricultural land is any one of the plurality of sub-agricultural lands, wherein:

[0006] Impact index module: obtains the flood impact time and upstream distance of the target sub-agricultural land, and uses the flood impact time and upstream distance as data points of the target sub-agricultural land to obtain a data set, and clusters the data set to determine the impact index of the target sub-agricultural land;

[0007] Change coefficient module: obtain the overall change data of the target sub-agricultural land and obtain the change coefficient in combination with the impact index; the overall change data includes the vegetation coverage reduction rate, the groundwater level increase index and the weather impact index;

[0008] Adjustment module: obtain the initial heavy metal input flux of the target sub-agricultural land and combine it with the variation coefficient to obtain the final heavy metal input flux, and add the final heavy metal input flux of each target sub-agricultural land to obtain the heavy metal input flux of the target agricultural land.

[0009] Optionally, the impact index module includes:

[0010] The steps to cluster the data set according to the K-means clustering method are as follows:

[0011] Optimal Number of Clusters module: used to determine the optimal number of clusters for a data set using the elbow method;

[0012] The first initial clustering module is used to randomly select a corresponding number of data points as initial clusters according to the optimal number of clusters;

[0013] The second initial clustering module is used to calculate the distance between each data point and each initial cluster center using the Euclidean distance algorithm, and assign the data point to the cluster to which the nearest cluster center belongs. After traversing all data points, the initial cluster is obtained.

[0014] Cluster center module: used to calculate the average value of all data points for each initial cluster and use the average value as the new cluster center;

[0015] Final output module: used to determine whether the cluster center has changed. If so, return to the second initial cluster module and cluster center module until the cluster center no longer changes, and obtain the final cluster and final cluster center;

[0016] Impact index calculation module: used to map the final clusters and the final cluster centers to two-dimensional coordinates to obtain the impact index of the target sub-agricultural land.

[0017] Optionally, the impact index calculation module includes:

[0018] Weight coefficient module: Calculate the weight coefficient of each final cluster. The calculation formula is: ,in Expressed as The weight coefficients of the final clusters, Represented as the number of all data points in the dataset, Indicates The number of data points in the final clusters;

[0019] Actual coordinate distance module: Calculate the distance from each data point in each final cluster to the coordinate origin on the two-dimensional coordinate to obtain the preliminary coordinate distance of the data point, and multiply the preliminary coordinate distance of the data point by the weight coefficient corresponding to the final cluster in which the data point is located to obtain the actual coordinate distance of the data point;

[0020] Final determination module: The actual coordinate distance of each data point is used as the impact index of the corresponding target sub-agricultural land.

[0021] Optionally, the variation coefficient module includes:

[0022] Obtain satellite images of the target agricultural land before and after the flood, obtain the pre-target image and the post-target image, extract the reflectance data of the infrared band and the red band in the pre-target image and the post-target image, and calculate the normalized vegetation index of each pixel in the pre-target image and the post-target image. ; The calculation formula is:

[0023] ;

[0024] ;

[0025] In the formula, Refers to the Pixels before the flood value, After the flood value, It is The reflectivity of near-infrared band of each pixel before the flood; It is The reflectivity of the red band before the flood at each pixel; It is The reflectivity of near-infrared band of each pixel after flooding; It is The reflectivity of the red band after the flood at each pixel;

[0026] Calculate each pixel The change index is calculated by the formula: , Refers to the Pixels Change index;

[0027] All pixels The change indices are added together to obtain the vegetation cover reduction rate.

[0028] Optionally, the variation coefficient module further includes:

[0029] The groundwater level, soil permeability coefficient and groundwater flow velocity coefficient of the target sub-agricultural land before and after the flood are obtained to obtain the groundwater level increase index. The calculation formula is:

[0030] ;

[0031] In the formula, is the groundwater level increase index, is the soil permeability coefficient, is the groundwater flow velocity coefficient, is the groundwater level of the target agricultural land before the flood, is the groundwater level of the target agricultural land after the flood.

[0032] Optionally, the variation coefficient module further includes:

[0033] The current rainfall, temperature, wind speed and humidity of the target sub-agricultural land are obtained and calculated to obtain the weather impact index. The specific calculation formula is:

[0034] ;

[0035] In the formula, is the weather impact index, is the rainfall, is the wind speed, is the temperature, For humidity.

[0036] Optionally, the variation coefficient module further includes:

[0037] The coefficient of variation is obtained based on the impact index, vegetation coverage reduction rate, groundwater level increase index and weather impact index, which can be calculated using the following formula:

[0038] ;

[0039] In the formula, is the coefficient of variation, , , and They are impact index, vegetation coverage reduction rate, groundwater level increase index and weather impact index. and are the preset proportional coefficients of the impact index, vegetation cover reduction rate, groundwater level increase index and weather impact index, respectively, and and Both are greater than 0.

[0040] Beneficial effects of the present invention:

[0041] The present invention obtains the flood impact time and upstream distance of the target sub-agricultural land, and clusters according to the flood impact time and upstream distance to determine the impact index of the target sub-agricultural land, then obtains the vegetation coverage reduction rate, groundwater level increase index and weather impact index of each target sub-agricultural land and obtains the variation coefficient in combination with the impact index, obtains the final heavy metal input flux according to the initial heavy metal input flux of the target sub-agricultural land and in combination with the variation coefficient, and adds the final heavy metal input flux of each target sub-agricultural land to obtain the heavy metal input flux of the target agricultural land. In this way, after the agricultural land has experienced a flood, the actual input flux of heavy metals in the current agricultural land can be accurately reflected. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] The present invention will be further described below in conjunction with the accompanying drawings.

[0043] Figure 1 A system framework diagram of a system for calculating the input flux of heavy metals in agricultural land under the influence of floods provided by an embodiment of the present invention;

[0044] Figure 2 The specific processing flow chart of the affected index module;

[0045] Figure 3 This is a specific processing flow chart of the impact index calculation module. DETAILED DESCRIPTION

[0046] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0047] Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in the field without making any creative work shall fall within the scope of protection of the present invention.

[0048] The embodiment of the present invention provides a system for calculating the input flux of heavy metals in agricultural land under the influence of floods. Figure 1 , Figure 1 A framework diagram of a system for calculating the heavy metal input flux of agricultural land under the influence of floods provided in an embodiment of the present invention. The system is used to calculate the heavy metal input flux of a target agricultural land, the target agricultural land includes a plurality of sub-agricultural lands, and the target sub-agricultural land is any one of the plurality of sub-agricultural lands, wherein:

[0049] Impact index module: obtains the flood impact time and upstream distance of the target sub-agricultural land, and uses the flood impact time and upstream distance as the data points of the target sub-agricultural land to obtain a data set, and clusters the data set to determine the impact index of the target sub-agricultural land;

[0050] Change coefficient module: obtain the overall change data of the target sub-agricultural land and combine it with the impact index to obtain the change coefficient;

[0051] Adjustment module: obtain the initial heavy metal input flux of the target sub-agricultural land and combine it with the variation coefficient to obtain the final heavy metal input flux, and add the final heavy metal input flux of each target sub-agricultural land to obtain the heavy metal input flux of the target agricultural land.

[0052] Based on the system for calculating the input flux of heavy metals in agricultural land under the influence of floods provided in the embodiment of the present invention, the above-mentioned method can accurately reflect the actual input flux of heavy metals in the current agricultural land after the agricultural land has experienced a flood.

[0053] In one embodiment, the impact index module includes:

[0054] The steps to cluster the data set according to the K-means clustering method are as follows:

[0055] Optimal Number of Clusters module: used to determine the optimal number of clusters for a data set using the elbow method;

[0056] Initial clustering module: used to randomly select a corresponding number of data points as initial clusters according to the optimal number of clusters;

[0057] Initial cluster center module: for each data point, using the Euclidean distance algorithm, calculates the distance between the data point and each initial cluster center, and assigns the data point to the cluster to which the nearest cluster center belongs. After traversing all data points, the initial cluster center is obtained.

[0058] Cluster center module: used to calculate the average value of all data points for each initial cluster and use the average value as the new cluster center;

[0059] Final output module: used to determine whether the cluster center has changed. If so, return to the second initial cluster module and cluster center module until the cluster center no longer changes, and obtain the final cluster and final cluster center;

[0060] Impact index calculation module: used to map the final clusters and the final cluster centers to two-dimensional coordinates to obtain the impact index of the target sub-agricultural land.

[0061] In one implementation, according to the above method, the optimal clustering results of the data set can be obtained. These clustering results can be used to identify different clusters in the data set, as well as the center and characteristics of each cluster. Such clustering results are helpful for further data analysis and interpretation.

[0062] It should be noted that K-means clustering is a commonly used unsupervised learning algorithm used to divide a data set into K predefined clusters. The goal of this algorithm is to divide data points into K clusters so that each data point belongs to the cluster represented by its closest cluster center, and the data points within the cluster are as similar as possible, while the data points between different clusters may not be similar;

[0063] Cluster analysis can help evaluate the degree of impact of each target sub-agricultural land after being impacted by floods. By observing the clustering results, we can understand the degree of impact of each target sub-agricultural land after the accident, and then evaluate the degree to which the traditional method is not suitable for calculating the heavy metal input flux of each target sub-agricultural land; if the target sub-agricultural land is impacted by the flood for a longer time and the upstream distance is closer, it means that the target sub-agricultural land is more affected by the flood, and the traditional method is not suitable for calculating the heavy metal input flux. On the contrary, it means that the target sub-agricultural land is less affected by the flood, and the traditional method is not suitable for calculating the heavy metal input flux. Through cluster analysis, we can understand the degree of impact of each target sub-agricultural land by floods, so as to obtain the adjustment range of the calculation results of the heavy metal input flux of the target sub-agricultural land.

[0064] It should be noted that the time when the target sub-agricultural land is impacted by the flood can be obtained based on the storage data of the hydrological monitoring stations of the target sub-agricultural land during the flood period in the historical records; these stations usually record the duration of different target sub-agricultural lands impacted by the flood during the flood, and the duration of different target sub-agricultural lands impacted by the flood can be directly obtained; the longer the duration of the target sub-agricultural land being impacted by the flood, the greater the degree of impact of the flood on the target sub-agricultural land, which means that the traditional agricultural land heavy metal input flux calculated by collecting the main input of fixed agricultural land heavy metals cannot reflect the current target sub-agricultural land heavy metal input flux, because floods may introduce new heavy metal pollution sources into farmland by scouring the soil, submerging pollution sources, transporting waste, etc.; these new pollution sources may cause a short-term increase in the heavy metal input flux of agricultural land after the flood event, and the static data collected by traditional methods are difficult to capture these changes.

[0065] It should be noted that the upstream distance of the target sub-agricultural land can be determined by using the geographic information system (GIS) to determine the geographical coordinates of the flood source and the location of each target sub-agricultural land, and then calculated to obtain the upstream distance of the target sub-agricultural land. The specific calculation process is as follows:

[0066] Get the geographical coordinates of the flood source and mark it as , and mark the geographical coordinates of the target sub-agricultural land as ,in It is the index of the sub-farm fields;

[0067] The Euclidean distance formula is used to calculate the horizontal distance from the flood source to each target sub-farmland. The calculation formula is:

[0068] ;

[0069] In the formula, For the The horizontal distance from the target farmland to the flood source.

[0070] In the above way, the upstream distance of each target sub-agricultural land can be calculated. The closer the upstream distance of the target sub-agricultural land is, the greater the degree of impact of the flood on the target sub-agricultural land. The traditional agricultural land heavy metal input flux calculated by collecting the main input of heavy metals in fixed agricultural land cannot reflect the current target sub-agricultural land heavy metal input flux. The reason is that the impact of floods on farmland is closely related to its upstream distance from the flood source. The target sub-agricultural land with a shorter upstream distance is closer to the flood source and the flood arrives earlier. Therefore, these areas are more susceptible to longer floods, which may lead to soil siltation, erosion and increased input of heavy metal pollutants. Therefore, the longer the upstream distance, the closer the target sub-agricultural land is to the flood source and the greater the degree of impact of the flood, which may lead to higher heavy metal input flux.

[0071] Therefore, by taking the inverse of the flood impact time and the upstream distance of the target sub-agricultural land as the data point of the target sub-agricultural land, a data set is obtained, and the data set is clustered to determine the impact index of the target sub-agricultural land; and the flood impact time and the inverse of the upstream distance of the target sub-agricultural land show a common linear relationship. When the flood impact time of the target sub-agricultural land is longer and the inverse of the upstream distance is larger, the corresponding target sub-agricultural land is more affected by the flood.

[0072] It should be noted that step 1: using the elbow method to determine the optimal number of clusters for the data set; the elbow method is one of the common methods used to determine the optimal number of clusters K in K-means clustering. The basic idea is to find an "elbow point" by observing the relationship between the number of clusters K and the total internal deviation square sum (WCSS) of the clustering results. The K value corresponding to the "elbow point" is the position where the rate of decrease of WCSS slows down significantly after the number of clusters increases to a certain extent. WCSS refers to the sum of the squares of the distances from each data point to the center of the cluster to which it belongs, which indicates the compactness of the clustering results.

[0073] Step 2: According to the optimal number of clusters, randomly select the corresponding number of data points from the data points as the initial cluster centers of clustering. The initial cluster centers refer to the K cluster centers randomly selected before starting the clustering process. These initial cluster centers are the starting points of the algorithm.

[0074] Step 3: For each data point in the data set, calculate the distance between it and each cluster center using the Euclidean distance. For example, calculate the data point and the initial cluster centers The distance between them is calculated as , and assign the data point to the cluster to which the nearest cluster center belongs. Euclidean distance refers to the distance between two points in Euclidean space, and is also one of the most commonly used distance metrics. In K-means clustering, Euclidean distance is usually used to calculate the distance between a data point and a cluster center.

[0075] Step 4: For each cluster, calculate the mean of all its data points and use the mean as the new cluster center. The calculation formula is: ,in Expressed as The set of data points in a cluster, Expressed as The new cluster centers of the clusters;

[0076] Step 5: Repeat steps 3 and 4 until the cluster center no longer changes, and obtain the final cluster and the final cluster center.

[0077] It should be specifically explained that the step of assigning a data point to the cluster to which the nearest cluster center belongs is to sort the distances between the data point and each cluster center from large to small, and select the smallest distance to assign the data point to the cluster to which it belongs.

[0078] In one embodiment, the impact index calculation module includes:

[0079] Weight coefficient module: calculates the weight coefficient of each final clustering cluster,

[0080] The calculation formula is: ,in Expressed as The weight coefficients of the final clusters, Represented as the number of all data points in the dataset, Indicates The number of data points in the final clusters;

[0081] Actual coordinate distance module: Calculate the distance from each data point in each final cluster to the coordinate origin on the two-dimensional coordinate to obtain the preliminary coordinate distance of the data point, and multiply the preliminary coordinate distance of the data point by the weight coefficient corresponding to the final cluster in which the data point is located to obtain the actual coordinate distance of the data point;

[0082] Final determination module: The actual coordinate distance of each data point is used as the impact index of the corresponding target sub-agricultural land.

[0083] In one implementation, according to the above method, the impact index of each target sub-agricultural land obtained is more accurate and can better reflect the impact degree of each target sub-agricultural land when it suffers an accident.

[0084] It should be noted that, because the longer flood impact time and the inverse of the upstream distance are selected as data points for clustering, these two data points can now be used as coordinates and mapped to the two-dimensional coordinate axis, and each target sub-agricultural land will be mapped as a point on the two-dimensional coordinate axis; after clustering is completed, all data points will be distributed in different final clustering clusters on the two-dimensional coordinate axis. The closer the final clustering cluster is to the original center and the actual target sub-agricultural land corresponding to the data points included in it is less affected, and vice versa; at the same time, the weight coefficient of each final clustering cluster is calculated to correct the distance from the data point to the original center. In this way, the different importance of each final clustering cluster can be ensured, and the influence of noise and outliers on the clustering results can be reduced to a certain extent, so that the final calculated target sub-agricultural land impact index is more accurate.

[0085] It should be noted that the larger the impact index is, the greater the overall change of the target sub-agricultural land is, and the greater the overall change coefficient of the target sub-agricultural land is; when the smaller the impact index is, the smaller the overall change of the target sub-agricultural land is, and the smaller the overall change coefficient of the target sub-agricultural land is.

[0086] In one embodiment, the coefficient of variation module includes:

[0087] Obtain satellite images of the target agricultural land before and after the flood, obtain the pre-target image and the post-target image, extract the reflectance data of the infrared band and the red band in the pre-target image and the post-target image, and calculate the normalized vegetation index of each pixel in the pre-target image and the post-target image. ; The calculation formula is:

[0088] ;

[0089] ;

[0090] In the formula, Refers to the Pixels before the flood value, After the flood value, It is The reflectivity of near-infrared band of each pixel before the flood; It is The reflectivity of the red band before the flood at each pixel; It is The reflectivity of near-infrared band of each pixel after flooding; It is The reflectivity of the red band after the flood at each pixel;

[0091] Calculate each pixel The change index is calculated by the formula: , Refers to the Pixels Change index;

[0092] All pixels The change indices are added together to obtain the vegetation cover reduction rate.

[0093] In one implementation, according to the above method, the calculated vegetation coverage reduction rate has the advantage that the reflectivity of vegetation in the near-infrared band and the red band has obvious differences. Vegetation has a higher reflectivity in the near-infrared band and a lower reflectivity in the red band. This difference can be used to distinguish different vegetation coverage levels, making the calculated vegetation coverage reduction rate more accurate. In addition, infrared and red bands are common bands in satellite images, with high spatial resolution and spectral resolution. This makes it relatively easy and accurate to obtain reflectivity data of these bands from satellite images, which is suitable for large-scale land cover change monitoring and analysis.

[0094] It should be noted that the satellite images of the target sub-agricultural land before and after the flood can be directly downloaded through Landsat, Sentinel, MODIS and other satellite images at different periods before and after the flood; the reflectivity of the infrared band and the red band can be extracted by using remote sensing image processing software. The specific operation is the existing technology and will not be repeated here.

[0095] It should be noted that the greater the vegetation coverage reduction rate, the more the traditional method of calculating the heavy metal input flux cannot accurately reflect the current heavy metal input flux of agricultural land, and the larger the coefficient of variation; the smaller the vegetation coverage reduction rate, the more the traditional method of calculating the heavy metal input flux can accurately reflect the current heavy metal input flux of agricultural land, and the smaller the coefficient of variation.

[0096] It should be noted that the vegetation coverage reduction rate refers to the reduction degree of the vegetation coverage rate of each target sub-agricultural land compared with the vegetation coverage rate before the flood. If the reduction degree is greater, it means that the traditional method of calculating the heavy metal input flux cannot accurately reflect the current agricultural land heavy metal input flux, so the result of evaluating the impact of heavy metal pollution on the farmland environment and ecosystem is inaccurate, and measures cannot be taken in time, causing serious impacts on agricultural land and agricultural activities and agricultural products. The reasons are:

[0097] Reduced heavy metal interception by vegetation: Vegetation can intercept and fix heavy metals through leaf adsorption, root absorption and soil fixation. Reduced vegetation cover means a reduction in these natural barriers, resulting in more heavy metals entering the soil directly.

[0098] Increased soil erosion and heavy metal release: Vegetation reduction reduces the stability of the surface, increases soil erosion and the loss of surface soil particles. These processes can cause heavy metals in the soil to be released into surface water and groundwater, increasing the mobility and input flux of heavy metals.

[0099] Changes in soil structure and heavy metal dynamics: Reduced vegetation cover will lead to a decrease in soil organic matter and change the physical and chemical properties of the soil. This will affect the soil's ability to adsorb and fix heavy metals, making it easier for heavy metals to be carried away by water, increasing the input flux of heavy metals.

[0100] Therefore, the greater the vegetation cover reduction rate, the more serious the damage to vegetation caused by floods, and the greater the impact on heavy metal input flux. Traditional methods lack consideration of these dynamic changes and the comprehensive impact of floods, and it is difficult to accurately reflect the current heavy metal input flux, resulting in inaccurate assessments of farmland environments and ecosystems, delaying the implementation of response measures, and ultimately causing serious impacts on farmland, agricultural activities, and agricultural products.

[0101] In one embodiment, the coefficient of variation module further includes:

[0102] The groundwater level, soil permeability coefficient and groundwater flow velocity coefficient of the target sub-agricultural land before and after the flood are obtained to obtain the groundwater level increase index. The calculation formula is:

[0103] ;

[0104] In the formula, is the groundwater level increase index, is the soil permeability coefficient, is the groundwater flow velocity coefficient, is the groundwater level of the target agricultural land before the flood, is the groundwater level of the target agricultural land after the flood.

[0105] It should be noted that groundwater level change data can be obtained in the following ways: groundwater level data is frequently recorded and published through hydrological monitoring stations. These stations can be operated and maintained by research institutions or water resources management departments. The data may include groundwater level monitoring values ​​in different time periods, such as data before and after floods. In addition, some areas use real-time or near-real-time groundwater level monitoring systems, which collect data through sensors and automatic recording devices and transmit them to the data center in real time through the network. Other specific acquisition methods will not be described in detail.

[0106] In addition, it should be noted that the soil permeability coefficient Indicates the effect of soil on water permeability, which is generally obtained from the local soil physics laboratory. The specific details are not given in detail. Groundwater flow velocity coefficient It reflects the speed at which groundwater moves in the groundwater system and can generally be obtained from local water quality research institutions. The details will not be elaborated here.

[0107] In one implementation, the water level increase index of the target sub-agricultural land after the flood can be obtained more accurately through the above method, which is more convenient for subsequent calculations.

[0108] It should be noted that the larger the water level rise index is, the more the traditional method of calculating the heavy metal input flux cannot accurately reflect the current heavy metal input flux of agricultural land, and the larger the coefficient of variation is; the smaller the water level rise index is, the more the traditional method of calculating the heavy metal input flux can accurately reflect the current heavy metal input flux of agricultural land, and the smaller the coefficient of variation is.

[0109] It should be noted that the groundwater level increase index refers to the increase in the groundwater level of each target sub-agricultural land compared to before the flood. If the increase is greater, it means that the traditional method of calculating the heavy metal input flux cannot accurately reflect the current agricultural land heavy metal input flux, so the result of evaluating the impact of heavy metal pollution on the farmland environment and ecosystem is inaccurate, and measures cannot be taken in time, causing serious impacts on agricultural land and agricultural activities and agricultural products. The reasons are:

[0110] Impact of hydrogeological processes: A significant rise in groundwater levels may lead to an increase in the migration and transfer rates of heavy metals in the soil. Traditional methods usually evaluate heavy metal input fluxes based on fixed sampling points and sampling times, assuming the stability of groundwater levels and hydrogeological conditions. If the groundwater level rises, these assumptions may no longer hold, causing the calculated results to deviate from the actual situation.

[0111] Accelerated migration of heavy metals: Rising groundwater levels increase the mobility of water in the soil, which may cause heavy metals originally fixed on soil particles to be washed out, or enter the groundwater system or surface water faster through water migration. This accelerated migration process will cause changes in the temporal and spatial distribution of heavy metal inputs on agricultural land, and traditional static sampling methods are difficult to capture such changes.

[0112] Decreased assessment accuracy: Data collected using traditional methods usually reflect the average situation over a period of time and cannot capture the dramatic fluctuations in groundwater levels in the short term and their immediate impact on the transport of heavy metals in the soil. Therefore, when the groundwater level rises significantly, the heavy metal input flux results obtained using traditional methods may not accurately reflect the current situation, resulting in a decrease in the accuracy of the assessment results.

[0113] Ecological and environmental impacts: Rising groundwater levels may have direct and indirect negative impacts on farmland ecosystems and environmental quality, such as increased heavy metal pollution in soil and deterioration of groundwater quality. Traditional methods cannot reflect these changes in a timely manner, which may delay response measures to agricultural activities and agricultural product safety.

[0114] In summary, the increase in the groundwater level rise index may lead to a decrease in the accuracy of traditional methods for calculating the input flux of heavy metals to agricultural land, thereby affecting the results of the impact assessment of heavy metal pollution on the farmland environment and ecosystem, and may also delay the adoption of effective measures to deal with these impacts, thereby causing serious impacts on agricultural land and its related agricultural activities and agricultural products.

[0115] In one embodiment, the coefficient of variation module further includes:

[0116] The current rainfall, temperature, wind speed and humidity of the target sub-agricultural land are obtained and calculated to obtain the weather impact index. The specific calculation formula is:

[0117] ;

[0118] In the formula, is the weather impact index, is the rainfall, is the wind speed, is the temperature, For humidity.

[0119] It should be noted that precipitation directly affects the migration and dissolution of heavy metals in the soil. Large amounts of precipitation can cause heavy metals in the soil to be washed into water bodies or dissolved in water, thereby increasing the risk of heavy metal input. Therefore, the greater the precipitation, the greater its impact on the weather impact index.

[0120] Temperature has a significant impact on biogeochemical processes and chemical reactions in the soil. High temperatures accelerate the chemical reaction rates and release rates of heavy metals in the soil, especially when the soil moisture content is high. Therefore, the higher the temperature, the greater its impact on the weather impact index.

[0121] Wind speed and direction can affect the spread and deposition of heavy metal particles or dust in the air and on the soil surface. Higher wind speeds may increase the lift and transport distance of heavy metal particles, and higher wind speeds usually lead to higher weather impact indexes, indicating that farmland may be more extensively affected by heavy metal pollution.

[0122] Humidity and dew affect the dissolution of heavy metals in soil and the rate of water transport. High humidity and dew may increase the dissolution rate of heavy metals in soil and accelerate the transport of heavy metals in water. Therefore, the higher the humidity, the greater its impact on the weather impact index.

[0123] It should be noted that the current rainfall, temperature, wind speed and humidity of the target sub-agricultural land can be directly obtained from the local meteorological department, and the details will not be repeated here.

[0124] It should be noted that the larger the water level rise index is, the more the traditional method of calculating the heavy metal input flux cannot accurately reflect the current heavy metal input flux of agricultural land, and the larger the coefficient of variation is; the smaller the water level rise index is, the more the traditional method of calculating the heavy metal input flux can accurately reflect the current heavy metal input flux of agricultural land, and the smaller the coefficient of variation is.

[0125] It should be noted that the weather impact index refers to the degree of weather impact on each target sub-agricultural land; if the degree of weather impact is greater, it means that the traditional method of calculating heavy metal input flux cannot accurately reflect the current heavy metal input flux of agricultural land, thus the results of assessing the impact of heavy metal pollution on farmland environment and ecosystem are inaccurate, and timely measures cannot be taken, causing serious impacts on agricultural land, agricultural activities, and agricultural products.

[0126] In one implementation, the weather impact index of the target sub-agricultural land after the flood can be obtained more accurately through the above method, which is more convenient for subsequent calculations.

[0127] In one embodiment, the coefficient of variation module further includes:

[0128] The coefficient of variation is obtained based on the impact index, vegetation coverage reduction rate, groundwater level increase index and weather impact index, which can be calculated using the following formula:

[0129] ;

[0130] In the formula, is the coefficient of variation, , , and They are impact index, vegetation coverage reduction rate, groundwater level increase index and weather impact index. and are the preset proportional coefficients of the impact index, vegetation cover reduction rate, groundwater level increase index and weather impact index, respectively, and The sum is greater than 0.

[0131] In one implementation, according to the above method, the obtained coefficient of variation of each target sub-agricultural land is more accurate, and the overall state of each target sub-agricultural land after the impact of the flood can be more accurately evaluated.

[0132] It should be noted that, when the coefficient of variation is larger, it means that the traditional method of calculating the heavy metal input flux of the target sub-agricultural land cannot accurately reflect the current heavy metal input flux of agricultural land, so that the result of evaluating the impact of heavy metal pollution on farmland environment and ecosystem is inaccurate, and timely measures cannot be taken, causing serious impact on agricultural land and agricultural activities and agricultural products; similarly, when the coefficient of variation is smaller, it means that the overall state of the target sub-agricultural land is better, it means that the traditional method of calculating the heavy metal input flux of the target sub-agricultural land can more accurately reflect the current heavy metal input flux of agricultural land, so that the result of evaluating the impact of heavy metal pollution on farmland environment and ecosystem is more accurate, timely measures can be taken, and the impact on agricultural land and agricultural activities and agricultural products is smaller.

[0133] It should be noted that the reason why the impact index, vegetation cover reduction rate, groundwater level increase index and weather impact index are selected to calculate the change coefficient of each target sub-agricultural land instead of other data is:

[0134] Comprehensiveness and comprehensiveness: The impact index, vegetation cover reduction rate, groundwater level increase index and weather impact index cover different aspects of flood influencing factors. The impact index reflects the exposure and damage of farmland in floods; the vegetation cover reduction rate reflects the changes in vegetation recovery capacity and soil retention capacity; the groundwater level increase index reflects the changes in the groundwater system; and the weather impact index reflects the impact of weather conditions on the farmland ecosystem after the flood. Taking these factors into consideration can comprehensively evaluate the overall state changes of farmland.

[0135] Timeliness of reflecting disaster impacts: After a flood event, the impact index, vegetation cover reduction rate, groundwater level increase index, and weather impact index can quickly reflect changes in farmland, especially in assessing heavy metal pollution and ecosystem restoration needs. These indicators provide flexible assessment tools that can adjust management strategies and measures in a timely manner.

[0136] Real-time and operability:

[0137] These indicators can usually be obtained through real-time monitoring or historical data, and can provide real-time or near-real-time decision support. Compared with static fixed data collection methods, these dynamic indicators can better reflect the actual situation and changing trends of farmland, and help to take effective management and restoration measures in a timely manner.

[0138] Importance of influencing factors: The impact index, vegetation cover reduction rate, groundwater level increase index and weather impact index are influencing factors, and their degree of change directly affects the final coefficient of change. These factors were selected because they can comprehensively consider the multi-faceted impacts of post-flood farmland ecosystems to a certain extent, which is crucial for accurately evaluating heavy metal input fluxes and ecosystem recovery status.

[0139] Therefore, these specific impact indices were selected to calculate the coefficient of variation in order to improve the accurate assessment of the state of farmland after flooding, so that management strategies and protection measures can be formulated more effectively to reduce the potential impacts of heavy metal pollution on the farmland environment and agricultural products.

[0140] In one embodiment, the initial heavy metal input flux of the target sub-agricultural land is obtained and combined with the variation coefficient to obtain the final heavy metal input flux, and the final heavy metal input flux of each target sub-agricultural land is added to obtain the heavy metal input flux of the target agricultural land.

[0141] It should be noted that the initial heavy metal input flux is calculated based on the traditional method of calculating the heavy metal input flux of agricultural land. The calculation method is to collect the main input sources of heavy metals in fixed agricultural land and analyze and judge them to obtain the heavy metal input flux of agricultural land. However, due to the different degree of impact on each target sub-agricultural land after the flood, the traditional heavy metal input flux can be adjusted appropriately using the variation coefficient. For example, each major source of heavy metal input (such as pesticide use, fertilizer application, wastewater discharge, etc.) is multiplied by the corresponding variation coefficient to reflect the degree of impact of the actual situation after the flood on these input sources. The input source corresponding to a larger variation coefficient should have a larger adjustment weight.

[0142] Alternatively, the initial data used to calculate the heavy metal input flux in the traditional calculation can be modified according to the size of the coefficient of variation. For example, if the vegetation cover reduction rate is large, its impact weight in the traditional calculation can be reduced; if the groundwater level increase index is large, its adjustment ratio for the heavy metal input flux can be increased.

[0143] Alternatively, a dynamic model can be constructed based on the coefficient of variation to adjust the calculation of heavy metal input flux according to different flood impact levels and coefficients of variation. The dynamic model can be adjusted based on real-time or regularly updated coefficient of variation data, thereby achieving a more accurate assessment of heavy metal input flux.

[0144] Alternatively, the coefficient of variation can be applied to the estimation of spatially distributed heavy metal input fluxes by combining geographic information systems (GIS) and remote sensing data. Through spatial analysis and modeling, the spatial heterogeneity of flood impacts in different regions can be considered to further improve the spatial precision and accuracy of heavy metal input fluxes.

[0145] The specific adjustment method can be set by professionals according to the actual conditions of the agricultural land, and will not be elaborated here.

[0146] The above is a detailed description of an embodiment of the present invention, but the content is only a preferred embodiment of the present invention and cannot be considered to limit the scope of implementation of the present invention. All equivalent changes and improvements made within the scope of the present invention should still fall within the scope of the patent coverage of the present invention.

Claims

1. A system for calculating the input flux of heavy metals in agricultural land under the influence of floods, characterized in that: The system is used to calculate the heavy metal input flux of a target agricultural land, wherein the target agricultural land includes a plurality of sub-agricultural lands, and the target sub-agricultural land is any one of the plurality of sub-agricultural lands, wherein: Impact index module: obtain the flood impact time and upstream distance of the target sub-agricultural land, and use the flood impact time and upstream distance as the data point of the target sub-agricultural land to obtain a data set, cluster the data set to determine the impact index of the target sub-agricultural land; the upstream distance of the target sub-agricultural land uses the geographic information system to determine the geographical coordinate position of the flood source and the position of each target sub-agricultural land, and calculate to obtain the upstream distance of the target sub-agricultural land; Change coefficient module: obtain the overall change data of the target sub-agricultural land and obtain the change coefficient in combination with the impact index; the overall change data includes the vegetation coverage reduction rate, the groundwater level increase index and the weather impact index; Adjustment module: obtain the initial heavy metal input flux of the target sub-agricultural land and combine it with the variation coefficient to obtain the final heavy metal input flux, and add the final heavy metal input flux of each target sub-agricultural land to obtain the heavy metal input flux of the target agricultural land; The flood impact time and upstream distance are selected as data points for clustering, and these two data points are used as coordinates to be mapped to the two-dimensional coordinate axis. Each target sub-agricultural land will be mapped as a point on the two-dimensional coordinate axis; after clustering is completed, all data points will be distributed in different final clusters on the two-dimensional coordinate axis; the weight coefficient of each final cluster is calculated; the distance of each data point in each final cluster to the coordinate origin on the two-dimensional coordinate is calculated to obtain the preliminary coordinate distance of the data point, and the preliminary coordinate distance of the data point is multiplied by the weight coefficient corresponding to the final cluster where the data point is located to obtain the actual coordinate distance of the data point; the actual coordinate distance of each data point is used as the impact index of the corresponding target sub-agricultural land; The variation coefficient module also includes: The coefficient of variation is obtained based on the impact index, vegetation coverage reduction rate, groundwater level increase index and weather impact index, which can be calculated using the following formula: In the formula, is the coefficient of variation, , , and They are impact index, vegetation coverage reduction rate, groundwater level increase index and weather impact index. and are the preset proportional coefficients of the impact index, vegetation cover reduction rate, groundwater level increase index and weather impact index, respectively, and and Both are greater than 0.

2. The system for calculating the heavy metal input flux of agricultural land under the influence of flood according to claim 1, characterized in that: The impact index module includes: The steps to cluster the data set according to the K-means clustering method are as follows: Optimal Number of Clusters module: used to determine the optimal number of clusters for a data set using the elbow method; Initial clustering module: used to randomly select a corresponding number of data points as initial clusters according to the optimal number of clusters; Initial cluster center module: for each data point, using the Euclidean distance algorithm, calculates the distance between the data point and each initial cluster center, and assigns the data point to the cluster to which the nearest cluster center belongs. After traversing all data points, the initial cluster center is obtained. Cluster center module: used to calculate the average value of all data points for each initial cluster and use the average value as the new cluster center; Final output module: used to determine whether the cluster center has changed. If so, return to the second initial cluster module and cluster center module until the cluster center no longer changes, and obtain the final cluster and final cluster center; Impact index calculation module: used to map the final clusters and the final cluster centers to two-dimensional coordinates to obtain the impact index of the target sub-agricultural land.

3. The system for calculating the heavy metal input flux of agricultural land under the influence of flood according to claim 2, characterized in that: The impact index calculation module includes: Weight coefficient module: Calculate the weight coefficient of each final cluster. The calculation formula is: ,in Expressed as The weight coefficients of the final clusters, Represented as the number of all data points in the dataset, Indicates The number of data points in the final clusters.

4. The system for calculating the heavy metal input flux of agricultural land under the influence of flood according to claim 1, characterized in that: The variation coefficient module includes: Obtain satellite images of the target agricultural land before and after the flood, obtain the pre-target image and the post-target image, extract the reflectance data of the infrared band and the red band in the pre-target image and the post-target image, and calculate the normalized vegetation index of each pixel in the pre-target image and the post-target image. ; The calculation formula is: ; In the formula, Refers to the Pixels before the flood value, After the flood value, It is The reflectivity of near-infrared band of each pixel before the flood; It is The reflectivity of the red band before the flood at each pixel; It is The reflectivity of near-infrared band of each pixel after flooding; It is The reflectivity of the red band after the flood at each pixel; Calculate each pixel The change index is calculated by the formula: , Refers to the Pixels Change index; All pixels The change indices are added together to obtain the vegetation cover reduction rate.

5. The system for calculating the heavy metal input flux of agricultural land under the influence of flood according to claim 1, characterized in that: The variation coefficient module also includes: The groundwater level, soil permeability coefficient and groundwater flow velocity coefficient of the target sub-agricultural land before and after the flood are obtained to obtain the groundwater level increase index. The calculation formula is: In the formula, is the groundwater level increase index, is the soil permeability coefficient, is the groundwater flow velocity coefficient, is the groundwater level of the target agricultural land before the flood, is the groundwater level of the target agricultural land after the flood.

6. The system for calculating the heavy metal input flux of agricultural land under the influence of flood according to claim 1, characterized in that: The variation coefficient module also includes: The current rainfall, temperature, wind speed and humidity of the target sub-agricultural land are obtained and calculated to obtain the weather impact index. The specific calculation formula is: In the formula, is the weather impact index, is the rainfall, is the wind speed, is the temperature, For humidity.