A soil fertility three-dimensional point cloud reconstruction and fertilization scheme generation method and system

By combining the normal vector and local curvature of the surface geometric point cloud to generate a virtual underground point cloud layer, constructing an interpolation weight matrix and performing migration compensation correction, the problem of not considering the physical coupling relationship between terrain and nutrients in existing technologies is solved, and precise fertilization under complex terrain is realized.

CN123181778APending Publication Date: 2026-11-27SHAANXI TENGDA CROP PROTECTION SCI CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611405575.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-10
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing technologies fail to effectively combine the physical coupling of surface micro-geometry and underground nutrient spatial interpolation process when reconstructing three-dimensional distribution models of farmland soil fertility. This results in local spatial distortion and attribute bias in the three-dimensional fertility distribution models generated in complex terrain areas, affecting the accuracy of fertilization decisions.

Method used

By acquiring the normal vector and local curvature of the surface geometric point cloud, a virtual underground point cloud layer is generated. An interpolation weight matrix containing spatial distance and local curvature is constructed and weighted by combining the terrain compensation coefficient to generate a three-dimensional fertility point cloud. Furthermore, a surface runoff direction field is constructed for migration compensation correction to generate a precise fertilization plan.

Benefits of technology

It effectively reduces the attribute deviation of three-dimensional fertility point clouds in complex micro-topographic areas, reduces the risk of over- or under-fertilization, improves the accuracy and consistency of fertilization operations, and ensures that the fertilization plan is adapted to the actual terrain and nutrient flow patterns.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123181778A_ABST
    Figure CN123181778A_ABST
Patent Text Reader

Abstract

The application discloses a soil fertility three-dimensional point cloud reconstruction and fertilization scheme generation method and system, relates to the technical field of three-dimensional modeling, and has the technical features that surface geometric point clouds and multi-depth fertility sampling data of a target farmland are acquired; normal vectors and local curvatures of data points in the surface geometric point clouds are acquired; a plurality of virtual underground point cloud layers corresponding to a depth interval set are generated; spatial distances between virtual points in the virtual underground point cloud layers and corresponding coordinates of the multi-depth fertility sampling data are determined; an interpolation weight matrix containing the spatial distances and the local curvatures is constructed; target weights are obtained based on basic weights and a terrain compensation coefficient; soil nutrient values of the multi-depth fertility sampling data are weighted and summarized through the target weights; a three-dimensional fertility point cloud is generated; and a fertilization scheme is generated based on a spatial distribution gradient of a fertility scalar attribute of the three-dimensional fertility point cloud; and the application improves the accuracy of three-dimensional space representation of soil fertility under complex terrain.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of 3D modeling technology, specifically to a method and system for reconstructing 3D point clouds of soil fertility and generating fertilization schemes. Background Technology

[0002] Precision agriculture relies on high-precision farmland environment models to guide variable fertilization operations. Currently, when reconstructing a three-dimensional distribution model of farmland soil fertility, the execution logic of related technologies typically involves independently collecting three-dimensional morphological data of the land surface and sensor data at various discrete depths underground. Then, spatial interpolation algorithms are used to directly perform three-dimensional meshing and pure mathematical calculations on the underground sensor data. Finally, the calculated fertility distribution mesh is simply aligned with the three-dimensional surface model and overlaid for display. Because there is a strong physical coupling between the microscopic geometric topology of the land surface in the real environment and the water and fertilizer transport patterns of the soil below, traditional technologies completely sever the data interaction between the high-precision geometric features of the land surface and the spatial interpolation process of underground nutrients when constructing a three-dimensional distribution model. The microscopic undulations of the land surface are not introduced as physical boundary conditions into the underlying interpolation calculation logic. This results in a reliance solely on mathematical deduction of coordinate distances when reconstructing underground nutrient distribution. Consequently, the generated three-dimensional fertility distribution point cloud model suffers from severe local spatial distortion and attribute bias when dealing with complex terrain areas.

[0003] For example, in a citrus orchard in the red soil hilly area of ​​southern my country, the slope of the orchard varied dramatically and was covered with shallow gullies and ridges. When using the existing mainstream 3D fertility modeling system to guide variable fertilization in the orchard, the system only used inverse distance weighted interpolation based on surface lidar point cloud and soil sampling data from two layers of soil (0-20cm and 20-40cm). The resulting 3D fertility model showed that the nitrogen content in the middle of the slope was at a moderate level, and based on this, it provided a prescription map for conventional fertilization. However, during the rainy season monitoring after actual fertilization, it was found that because the model did not consider the fertilizer-carrying effect of surface runoff in the concave convergence area and the leaching loss in the convex loss area, the actual effective nitrogen concentration in the middle of the slope was 38% lower than the model prediction, while the actual nitrogen concentration at the bottom of the downstream gully was 52% higher than the prediction. This deviation directly led to obvious nitrogen deficiency and yellowing symptoms in citrus trees in the middle of the slope, while the plants at the bottom of the ditch suffered root burns and non-point source pollution risks due to excessive fertilization. The fruit yield in that season was reduced by about 17% compared to expectations, and the fertilizer utilization rate was less than 30%. This fully exposed the problem of three-dimensional reconstruction distortion and fertilization decision failure caused by the neglect of the geometric-nutrient physical coupling relationship of the surface in complex terrain. Summary of the Invention

[0004] To achieve the above objectives, the present invention provides the following technical solution: A method for reconstructing a three-dimensional point cloud of soil fertility and generating a fertilization plan includes: Acquire surface geometric point cloud and multi-depth fertility sampling data of the target farmland. The multi-depth fertility sampling data includes soil nutrient values ​​under different spatial coordinates. Obtain the normal vector and local curvature of each data point in the geometric point cloud of the ground surface. The local curvature reflects the degree of unevenness of the local surface where the data point is located. Based on a pre-defined set of depth intervals, each data point in the surface geometric point cloud is translated along the opposite direction of the corresponding normal vector to generate multiple virtual underground point cloud layers corresponding to the set of depth intervals. Determine the spatial distance between each virtual point in the virtual underground point cloud and the corresponding coordinates of the multi-depth fertility sampling data, and obtain the local curvature of the vertical projection point of the corresponding virtual point in the surface geometric point cloud; Construct an interpolation weight matrix that includes spatial distance and local curvature; In the interpolation weight matrix, the reciprocal of the spatial distance is used as the basic weight, and the local curvature is mapped to the terrain compensation coefficient. The target weight is obtained based on the basic weight and the terrain compensation coefficient. By weighting and summing the soil nutrient values ​​of multi-depth fertility sampling data using target weights, the scalar fertility attributes of the corresponding virtual points are obtained. The scalar fertility attribute is stitched into the feature direction of the corresponding virtual point in the virtual underground point cloud layer to generate a three-dimensional fertility point cloud. Fertilization schemes are generated based on the spatial distribution gradient of scalar fertility attributes of 3D fertility point cloud.

[0005] Furthermore, the normal vector and local curvature of each data point in the surface geometric point cloud are obtained, including: Obtain the set of neighboring data points within the neighborhood of a target data point in the geometric point cloud of the Earth's surface; Construct a covariance matrix based on the set of adjacent data points; obtain the eigenvector corresponding to the smallest eigenvalue of the covariance matrix as the normal vector of the target data point; Local curvature is determined based on the minimum eigenvalue and the sum of all eigenvalues ​​of the covariance matrix.

[0006] Furthermore, multiple virtual subsurface point cloud layers with corresponding depth intervals are generated, including: Obtain the target depth interval value from a pre-defined set of depth intervals; The coordinates of each data point in the surface geometric point cloud are translated along the opposite direction of the corresponding normal vector according to the target depth interval value to determine multiple first translation coordinates corresponding to the target depth interval value; Obtain the maximum sampling depth for multi-depth fertility sampling data; When the target depth interval value is less than or equal to the maximum sampling depth, all first translation coordinates are stitched together to form a virtual underground point cloud layer corresponding to the target depth interval value.

[0007] Furthermore, mapping local curvature to terrain compensation coefficients includes: Obtain the sign value of the local curvature; When the sign value is negative and the absolute value of the local curvature is not less than the preset concave threshold, the corresponding vertical projection point is determined to be in the concave convergence area. When the vertical projection point is in the concave convergence area, the first preset gain constant and the absolute value of the local curvature are combined to obtain the terrain compensation coefficient, so as to increase the target weight; When the sign value is positive and the absolute value of the local curvature is not less than the preset convexity threshold, the corresponding vertical projection point is determined to be in the convexity loss zone. When the vertical projection point is in the convex loss zone, the terrain compensation coefficient is obtained by subtracting the absolute value of the local curvature from the second preset reference constant to reduce the target weight, wherein the first preset gain constant is greater than the second preset reference constant.

[0008] Furthermore, fertilization schemes are generated based on the spatial distribution gradient of scalar fertility attributes from 3D fertility point clouds, including: Obtain the difference in scalar fertility attributes and spatial distance between the target virtual point and its adjacent virtual points in a 3D fertility point cloud; The spatial distribution gradient is obtained based on the difference in scalar fertility attributes and spatial distance; When the spatial distribution gradient is not less than the preset gradient threshold, a fertilization plan is generated to increase the amount of fertilizer in the corresponding area.

[0009] Furthermore, after combining the first preset gain constant with the absolute value of the local curvature to obtain the terrain compensation coefficient, the method also includes: Obtain the global gravity direction vector; Determine the angle between the normal vector of the corresponding vertical projection point in the geometric point cloud on the ground and the global gravity direction vector; The cosine of the included angle is used as the slope attenuation factor; The updated terrain compensation coefficient is obtained based on the slope attenuation factor and the terrain compensation coefficient.

[0010] Furthermore, the reciprocal of the spatial distance is used as the basic weight, including: Obtain the sampling depth coordinates corresponding to the multi-depth fertility sampling data; determine the depth difference between the sampling depth coordinates and the zero plane of the ground surface; The depth confidence decay term is obtained based on a pre-set confidence constant and depth difference. The basic weights are derived from the reciprocal of the spatial distance and the depth confidence decay term.

[0011] Furthermore, before acquiring the difference in scalar fertility attributes and spatial distance between the target virtual point and its neighboring virtual points in the 3D fertility point cloud, the following steps are also included: A three-dimensional spherical sliding window with a preset radius is constructed with the target virtual point as the center. Obtain the scalar fertility properties of all virtual points within a 3D spherical sliding window; The scalar fertility properties of all virtual points within the three-dimensional spherical sliding window are averaged to obtain smoothed scalar fertility properties. Replace the fertility scalar attribute of the target virtual point with the smoothed fertility scalar attribute.

[0012] Furthermore, after generating fertilization schemes based on the spatial distribution gradient of fertility scalar attributes from 3D fertility point clouds, the process also includes: The surface slope and aspect values ​​of each virtual point at its projected location on the ground are obtained based on the surface geometric point cloud. A surface runoff orientation field is constructed based on surface slope and aspect values. The surface runoff orientation field reflects the flow direction and convergence trend of surface water and dissolved nutrients under rainfall conditions. A multi-step iterative migration simulation is performed on the scalar fertility attributes in the three-dimensional fertility point cloud along the surface runoff direction field. In each iteration, a portion of the scalar fertility attributes of each upstream virtual point is transferred to the adjacent downstream virtual point along the runoff direction according to a preset migration ratio, so as to obtain the predicted scalar fertility attribute distribution after simulation for a preset time period. The difference between the predicted scalar fertility attribute distribution and the current scalar fertility attribute distribution of the 3D fertility point cloud is determined to obtain the nutrient migration increment field. The nutrient migration increment field is superimposed on the fertilization plan. For virtual points in the nutrient accumulation area, the corresponding fertilizer amount is reduced according to the increment value in the nutrient migration increment field. For virtual points in the nutrient loss area, the corresponding fertilizer amount is increased according to the loss value in the nutrient migration increment field, resulting in the fertilization plan after migration compensation correction. Obtain the preset operating width dimensions of agricultural machinery equipment; project the fertilization plan after migration compensation correction onto a two-dimensional horizontal plane, and divide the two-dimensional horizontal plane into multiple operating grids according to the operating width dimensions; Obtain the amount of fertilizer applied to the corresponding virtual points within each work grid, and summarize them to obtain the total amount of fertilizer applied to the grid. The data sequence containing the spatial coordinates of the work grid and the total amount of fertilizer applied to the grid is encapsulated into control instructions to control the action of the fertilizer discharge actuator of the preset agricultural machinery.

[0013] A system for reconstructing three-dimensional point clouds of soil fertility and generating fertilization schemes includes: The data acquisition module acquires the surface geometric point cloud and multi-depth fertility sampling data of the target farmland. The multi-depth fertility sampling data includes soil nutrient values ​​under different spatial coordinates. The feature acquisition module acquires the normal vector and local curvature of each data point in the geometric point cloud of the ground surface. The local curvature reflects the degree of unevenness of the local surface where the data point is located. The virtual point cloud generation module, based on a pre-defined depth interval set, translates each data point in the surface geometric point cloud along the opposite direction of the corresponding normal vector to generate multiple virtual underground point cloud layers corresponding to the depth interval set. The spatial distance determination module determines the spatial distance between each virtual point in the virtual underground point cloud layer and the corresponding coordinates of the multi-depth fertility sampling data, and obtains the local curvature of the vertical projection point of the corresponding virtual point in the surface geometric point cloud. The matrix construction module constructs an interpolation weight matrix that includes spatial distance and local curvature; The target weight generation module uses the reciprocal of the spatial distance as the basic weight in the interpolation weight matrix, maps the local curvature to the terrain compensation coefficient, and obtains the target weight based on the basic weight and the terrain compensation coefficient. The fertility scalar attribute determination module uses target weights to weight and summarize the soil nutrient values ​​of multi-depth fertility sampling data to obtain the fertility scalar attribute of the corresponding virtual point. The 3D fertility point cloud generation module stitches fertility scalar attributes into the feature directions of corresponding virtual points in the virtual underground point cloud layer to generate a 3D fertility point cloud. The fertilization plan generation module generates fertilization plans based on the spatial distribution gradient of fertility scalar attributes of 3D fertility point cloud.

[0014] This invention provides a method and system for reconstructing three-dimensional point clouds of soil fertility and generating fertilization schemes, which has the following beneficial effects: 1. This invention extracts the local curvature of the surface geometric point cloud and maps it to a terrain compensation coefficient, which, together with the inverse of the spatial distance, constructs an interpolation weight matrix. This mechanism introduces the micro-concavity and convexity of the surface as a physical boundary condition into the underlying interpolation operation, giving higher neighbor sampling weights to concave convergence areas and lower weights to convex loss areas. This embeds the physical coupling relationship between terrain and nutrients into the mathematical deduction, effectively reducing the attribute bias of the three-dimensional fertility point cloud in complex micro-topographic regions. Addressing the problem of fertilization decision failure due to the lack of consideration for runoff-borne fertilizer and leaching losses, this invention, after generating an initial fertilization scheme based on spatial distribution gradients, further constructs a surface runoff direction field and performs multi-step iterative migration simulation to quantify and predict the redistribution trend of dissolved nutrients under rainfall conditions, and accordingly performs migration compensation correction on the fertilization amount. This step enables the final output fertilization scheme to actively adapt to the actual flow and convergence patterns of surface water and nutrients, reducing the risk of over- or under-fertilization caused by the disconnect between the static assumptions of the model and the actual dynamic transport.

[0015] 2. After completing the runoff migration compensation correction, the present invention directly divides the corrected fertilization scheme into grids according to the preset agricultural machinery operation width projection and encapsulates it into control commands. This avoids the information loss and operation delay caused by the need for manual secondary conversion between the three-dimensional fertility model and variable fertilization equipment in traditional technology. It ensures that the terrain compensation and migration correction results in the reconstructed model can be transmitted to the fertilizer discharge actuator without loss, thereby improving the consistency of precision fertilization operations. Attached Figure Description

[0016] Figure 1 This is a flowchart outlining the steps of the present invention. Figure 2 This is a system architecture diagram of the present invention; Figure 3 This is a schematic diagram of the overall process of the present invention. Detailed Implementation

[0017] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present invention.

[0018] Example 1: Please refer to Figure 1 This embodiment provides a method for reconstructing a three-dimensional point cloud of soil fertility and generating a fertilization scheme, including: Step 101, acquiring the surface geometric point cloud of the target farmland and multi-depth fertility sampling data, wherein the multi-depth fertility sampling data contains soil nutrient values ​​under different spatial coordinates; scanning the target farmland using a drone equipped with a lidar or a ground-based three-dimensional scanning device to acquire a surface geometric point cloud containing three-dimensional spatial coordinates; the surface geometric point cloud consists of a large number of data points, each containing three-dimensional coordinate information, with the geographic coordinate system of the farmland area as a reference, the three-dimensional coordinates include the horizontal x-coordinate, y-coordinate and the vertical elevation coordinate; in the actual acquisition process, the drone flies at a fixed altitude along a preset route, the lidar emits a laser beam to the ground at a transmission frequency of not less than 500,000 pulses per second and receives the reflected echo, and calculates the three-dimensional coordinates of each reflection point by measuring the laser round-trip time; the ground-based three-dimensional scanning device is deployed at a fixed observation station at the edge of the farmland, and performs a full-angle scan of the farmland area by rotating the scanning mirror; the point cloud data acquired by both methods can be used as the surface geometric point cloud input of this method; Simultaneously, sampling points are set up in the farmland according to a pre-set grid. The spacing of the pre-set grid can be set according to the farmland area and accuracy requirements. For example, for farmland with an area of ​​less than ten acres, the grid spacing can be set to ten meters; for large farmland with an area of ​​more than one hundred acres, the grid spacing can be set to thirty to fifty meters. At each sampling point, soil samples are collected at multiple different depths using soil drilling equipment. The depth layers are divided according to pre-defined standards, such as dividing them into a surface layer of 0 to 20 cm, a middle layer of 20 to 40 cm, and a deep layer of 40 to 60 cm. Soil samples from each depth layer are individually packaged and labeled with the sampling point number and depth range. The packaged soil samples were sent to the laboratory for analysis to obtain soil nutrient values ​​at different depths from each sampling point. Soil nutrient values ​​included, but were not limited to, total nitrogen content, available phosphorus content, available potassium content, and organic matter content. The test results were recorded in numerical form, in milligrams per kilogram or grams per kilogram. The spatial coordinates of each sampling point, i.e., the x-axis and y-axis, were combined with the nutrient values ​​at the corresponding depth to form multi-depth fertility sampling data. The multi-depth fertility sampling data was stored in the form of a structured data table, with each row recording the nutrient information of a sampling point at a certain depth level, including the sampling point number, x-axis, y-axis, depth level identifier, and the values ​​of each nutrient. Step 102: Obtain the normal vector and local curvature of each data point in the surface geometric point cloud. The local curvature reflects the unevenness of the local surface where the data point is located. For each data point in the surface geometric point cloud, calculate its normal vector and local curvature as follows: First, take the data point as the center and select all adjacent data points within a preset search radius to form a neighborhood set. The preset search radius can be set according to the point cloud density. For example, when the point cloud density is more than ten points per square meter, the search radius is set to 0.5 meters. When the point cloud density is low, the search radius is appropriately increased to 1 meter to ensure that the neighborhood set contains a sufficient number of adjacent data points. Usually, it is required that the number of adjacent data points in the neighborhood set is not less than ten. Based on the 3D coordinates of each neighboring data point in the neighborhood set, the mean of the coordinates of all neighboring data points is calculated, and this mean is used as the coordinates of the neighborhood center point. Then, the coordinate deviation of each neighboring data point relative to the neighborhood center point is calculated, and the coordinate deviations are arranged in columns to form a deviation matrix. The number of rows in the deviation matrix is ​​equal to the number of neighboring data points in the neighborhood set, and the number of columns is three, corresponding to the x-coordinate deviation, y-coordinate deviation, and elevation coordinate deviation, respectively. The transpose of the deviation matrix is ​​multiplied by the deviation matrix, and then divided by the number of neighboring data points to obtain a three-row, three-column covariance matrix. Eigenvalue decomposition is performed on the covariance matrix to obtain three eigenvalues ​​and their corresponding eigenvectors. The three eigenvalues ​​are arranged in descending order and are denoted as the first, second, and third eigenvalues. The first eigenvalue is the largest and corresponds to the main extension direction of the local surface; the second eigenvalue is the next largest and corresponds to the secondary extension direction of the local surface; the third eigenvalue is the smallest and corresponds to the normal direction of the local surface. Therefore, the eigenvector corresponding to the third eigenvalue is the normal vector of that data point. The normal vector points outward from the surface, i.e., away from the ground. If the eigenvector obtained by decomposition points inward from the ground, it is inverted to ensure directional consistency. The local curvature is calculated as follows: the third eigenvalue is divided by the sum of the three eigenvalues, and the resulting ratio is taken as the local curvature of that data point. This ratio ranges from zero to one-third. The closer the ratio is to zero, the flatter the local surface, because the third eigenvalue is much smaller than the other two, indicating that the local region approximates a plane. The closer the ratio is to one-third, the greater the curvature of the local surface, because the three eigenvalues ​​tend to be equal, indicating that the local region approximates a sphere. The sign of the local curvature is determined by the angle between the normal vector and the global gravity direction. The global gravity direction is vertically downward. When the angle between the normal vector and the global gravity direction is less than 90 degrees, it indicates that the normal vector is pointing downwards, the local surface where the data point is located is concave, and the local curvature is negative. When the angle is greater than 90 degrees, it indicates that the normal vector is pointing upwards, the local surface is convex, and the local curvature is positive. Step 103: Based on a pre-defined depth interval set, translate each data point in the surface geometric point cloud along the opposite direction of the corresponding normal vector to generate multiple virtual underground point cloud layers corresponding to the depth interval set. A depth interval set is predefined, which contains multiple depth values, such as 10 cm, 20 cm, 30 cm, 40 cm, and 50 cm. Each depth value in the depth interval set represents the depth location of a virtual underground soil layer. The selection of depth values ​​should cover the main distribution range of crop roots. For most food crops, the roots are mainly distributed in the soil layer from 0 to 50 cm, so the maximum value of the depth interval set usually does not exceed 60 cm. For each target depth interval value in the depth interval set, perform the following translation operation: Traverse each data point in the surface geometric point cloud, and translate the 3D coordinates of the data point by the distance of the target depth interval value in the opposite direction of its normal vector; since the normal vector points outward from the surface, the opposite direction is the direction pointing underground; the specific calculation process of translation is as follows: multiply the three components of the normal vector by the target depth interval value to obtain the translation amount in the three directions; then subtract the translation amount in the three directions from the original 3D coordinates of the data point to obtain the new 3D coordinates after translation; the set of new 3D coordinates obtained after translating all data points forms a virtual underground point cloud layer corresponding to the target depth interval value; By traversing all depth values ​​in the depth interval set and repeating the above translation operation, multiple virtual subsurface point cloud layers with the same number of depth values ​​as in the depth interval set are generated. The number of virtual points in each virtual subsurface point cloud layer is the same as the number of data points in the original surface geometric point cloud, and there is a one-to-one correspondence between each virtual point and the original data point. These virtual subsurface point cloud layers simulate the spatial structure of soil at different depths in three-dimensional space, with each layer representing a subsurface soil cross-section at a specific depth.

[0019] Step 104: Determine the spatial distance between each virtual point in the virtual underground point cloud layer and the corresponding coordinates of the multi-depth fertility sampling data, and obtain the local curvature of the vertical projection point of the corresponding virtual point in the surface geometric point cloud. For each virtual point in the virtual underground point cloud, it is necessary to determine its spatial distance from each sampling point in the multi-depth fertility sampling data. The spatial distance is calculated using three-dimensional Euclidean distance. The calculation process is as follows: First, obtain the three-dimensional coordinates of the virtual point and the sampling point. The three-dimensional coordinates of the sampling point consist of the abscissa, ordinate, and sampling depth of the sampling point. The elevation coordinate of the sampling depth is the ground elevation minus the sampling depth value. Then, calculate the difference between the virtual point and the sampling point in the abscissa direction, the difference in the ordinate direction, and the difference in the elevation coordinate direction. Square the three differences respectively, add them together, and take the square root of the sum. The resulting value is the spatial distance between the virtual point and the sampling point. For each virtual point, calculate the spatial distance between it and the coordinates of all sampling points in the multi-depth fertility sampling data to obtain a set of spatial distance values. Simultaneously, for each virtual point, it is necessary to obtain the local curvature of the data point corresponding to its vertical projection position in the surface geometric point cloud; vertical projection means keeping the abscissa and ordinate of the virtual point unchanged, and finding the data point in the surface geometric point cloud that is closest to the abscissa and ordinate in the elevation direction; the specific operation is as follows: search for the data point in the surface geometric point cloud that is closest to the virtual point in abscissa and ordinate, take the data point as the vertical projection point of the virtual point, and read the local curvature value of the projection point calculated in step 102; Step 105: Construct an interpolation weight matrix that includes spatial distance and local curvature; For each virtual point in the virtual underground point cloud, a row weight vector is constructed. The length of this weight vector is equal to the total number of sampling points in the multi-depth fertility sampling data, and each element corresponds to a sampling point. The value of each element in the weight vector is determined by two parameters: the corresponding spatial distance and the local curvature. The weight vectors of all virtual points are arranged in rows to form an interpolation weight matrix. The number of rows in the interpolation weight matrix is ​​equal to the number of virtual points in the virtual underground point cloud, and the number of columns is equal to the total number of sampling points. Each element in the matrix represents the degree of dependence of the corresponding virtual point on the nutrient value of the corresponding sampling point during interpolation calculation. Step 106: In the interpolation weight matrix, the reciprocal of the spatial distance is used as the basic weight, and the local curvature is mapped to the terrain compensation coefficient. The target weight is obtained based on the basic weight and the terrain compensation coefficient. For each element in the interpolation weight matrix, the basic weight is first calculated. The basic weight is calculated as follows: take the reciprocal of the spatial distance between the virtual point corresponding to the element and the corresponding sampling point. The smaller the spatial distance, the larger the reciprocal, indicating that the sampling point is closer to the virtual point and should receive a higher weight in the interpolation calculation. To avoid the reciprocal approaching infinity when the spatial distance is zero, a very small positive constant is added to the value of the spatial distance before taking the reciprocal. This positive constant can be set to 0.001 meters. Then, the local curvature of the vertical projection point of the virtual point corresponding to the element is mapped to the terrain compensation coefficient; the mapping rule of the terrain compensation coefficient is described in detail in the specific embodiment of claim 4. Its core idea is: nutrients in concave areas tend to accumulate, so a higher compensation coefficient is given to increase the weight; nutrients in convex areas tend to be lost, so a lower compensation coefficient is given to reduce the weight. Finally, the base weight is multiplied by the terrain compensation coefficient to obtain the target weight of the element. The calculation process of the target weight can be described in words as follows: the target weight is equal to the inverse of the spatial distance multiplied by the terrain compensation coefficient. After the above calculation is performed on all elements in the interpolation weight matrix, the target weight of each row is normalized, that is, all target weights in each row are divided by the sum of the target weights in that row, so that the sum of the target weights in each row is equal to 1. The normalization process ensures that the result of the subsequent weighted summation calculation remains within a reasonable numerical range. Step 107: Weight the soil nutrient values ​​of the multi-depth fertility sampling data by using the target weight to obtain the scalar fertility attribute of the corresponding virtual point; For each virtual point in the virtual underground point cloud, the normalized target weight in its corresponding row is taken and multiplied one by one with the soil nutrient values ​​of each sampling point in the multi-depth fertility sampling data. Then, all the product results are added together to obtain the fertility scalar attribute of the virtual point. The fertility scalar attribute is a single value, which can represent the comprehensive fertility index or the content value of a specific nutrient. When it is necessary to generate a three-dimensional distribution of multiple nutrients, the above weighted summation calculation is performed on each nutrient separately, and each virtual point will obtain multiple fertility scalar attribute values. Step 108: Patch the scalar fertility attributes to the feature directions of the corresponding virtual points in the virtual underground point cloud layer to generate a three-dimensional fertility point cloud. For each virtual point in each virtual underground point cloud, its three-dimensional coordinates are concatenated with the calculated scalar fertility attribute to form a multidimensional feature vector. For example, when only one nutrient is considered, the multidimensional feature vector is four-dimensional, containing the horizontal coordinate, vertical coordinate, elevation coordinate, and scalar fertility attribute in sequence. When nitrogen, phosphorus, and potassium are considered, the multidimensional feature vector is six-dimensional, containing the horizontal coordinate, vertical coordinate, elevation coordinate, nitrogen content, phosphorus content, and potassium content in sequence. The multidimensional feature vectors of virtual points in the virtual underground point cloud layer corresponding to all depth interval sets are summarized together to form a three-dimensional fertility point cloud. The three-dimensional fertility point cloud contains the spatial location information and corresponding fertility attribute information of the target farmland at different underground depths, forming a complete three-dimensional fertility spatial distribution model. Step 109: Generate fertilization schemes based on the spatial distribution gradient of fertility scalar attributes from 3D fertility point cloud; The spatial distribution gradient is calculated as the ratio of the difference in scalar fertility attribute between adjacent virtual points in the 3D fertility point cloud to their spatial distance. Adjacent virtual points are determined as follows: for each target virtual point, several virtual points with the closest 3D spatial distance are searched in the 3D fertility point cloud as adjacent virtual points, typically selecting six to ten of the closest virtual points. For each adjacent virtual point, the absolute value of the difference in scalar fertility attribute between the target virtual point and that adjacent virtual point is calculated, and then divided by the 3D spatial distance between them to obtain the spatial distribution gradient in one direction. The average of the spatial distribution gradients in all directions is taken as the comprehensive spatial distribution gradient of the target virtual point. The spatial distribution gradient reflects the degree of fertility variation in three-dimensional space. The larger the gradient value, the more uneven the fertility distribution in the region, and there may be obvious low-value areas that need supplemental fertilization. A gradient threshold is preset. When the comprehensive spatial distribution gradient of the target virtual point is greater than or equal to the gradient threshold, a fertilization plan that increases the amount of fertilizer is generated at the spatial location corresponding to the virtual point. The amount of fertilizer increase is directly proportional to the gradient value; the larger the gradient value, the greater the increase. When the comprehensive spatial distribution gradient is less than the gradient threshold, a plan that maintains the current amount of fertilizer or appropriately reduces the amount of fertilizer is generated. The final output is a fertilization plan containing the recommended amount of fertilizer for each spatial location. This plan is stored in the form of structured data, with each record containing spatial coordinates and the corresponding recommended amount of fertilizer.

[0020] In some embodiments, obtaining the normal vector and local curvature of each data point in the surface geometric point cloud includes: Step 201: Obtain the set of neighboring data points within the neighborhood of the target data point in the surface geometric point cloud; For any target data point in the surface geometric point cloud, a neighborhood set is selected using one of the following two methods: The first method is a fixed radius search: a spherical search area is constructed with the 3D coordinates of the target data point as the center and a preset search radius as the radius. All data points falling within this spherical area are considered as neighboring data points, forming a neighboring data point set. The preset search radius is determined based on the average density of the point cloud. The average density of the point cloud refers to the average number of data points per unit area, which can be estimated by dividing the total number of data points in the point cloud by the total area covered by the point cloud. When the average density of the point cloud is greater than ten points per square meter, the preset search radius is set to 0.5 meters; when the average density of the point cloud is less than ten points per square meter, the preset search radius is set to 0.5 meters. When the number of points is between five and ten, the preset search radius is set to 0.8 meters; when the average density of the point cloud is less than five points per square meter, the preset search radius is set to 1.2 meters. The second method is nearest neighbor search: calculate the three-dimensional spatial distance between the target data point and all other data points in the point cloud, sort them in ascending order of distance, and select the K nearest data points to form a set of neighboring data points; the value of K is usually set to an integer between 15 and 30, preferably 20; when the point cloud density is high, the value of K can be appropriately increased to 30 to obtain a more stable local geometric feature estimation; when the point cloud density is low, the value of K can be appropriately decreased to 15 to avoid the neighborhood range being too large, which would cause the local features to be over-smoothed. Step 202: Construct a covariance matrix based on the set of adjacent data points; obtain the eigenvector corresponding to the smallest eigenvalue of the covariance matrix as the normal vector of the target data point; First, calculate the arithmetic mean of the 3D coordinates of all adjacent data points in the set of adjacent data points, and use this mean as the 3D coordinate of the neighborhood center point. The x-coordinate of the neighborhood center point is equal to the sum of the x-coordinates of all adjacent data points divided by the number of adjacent data points. The y-coordinate and elevation coordinates are calculated in the same way. Then, calculate the deviation between the 3D coordinates of each adjacent data point and the 3D coordinates of the neighborhood center point, generating a 3D deviation vector for each adjacent data point. Arrange the 3D deviation vectors of all adjacent data points in rows to form a deviation matrix. The number of rows in this matrix is ​​equal to the number of adjacent data points, and the number of columns is three. Multiply the transpose of the deviation matrix by the deviation matrix itself to obtain a 3x3 matrix. Then divide each element of this matrix by the number of adjacent data points minus one to obtain the covariance matrix. The covariance matrix is ​​a symmetric matrix. The three elements on the main diagonal represent the variances in the x-coordinate, y-coordinate, and elevation coordinates, respectively, while the off-diagonal elements represent the covariances between different coordinate directions. Eigenvalue decomposition is performed on the covariance matrix. Eigenvalue decomposition is implemented using the Jacobi iteration method or the QR decomposition algorithm. After decomposition, three eigenvalues ​​and the corresponding eigenvectors of each eigenvalue are obtained. The three eigenvalues ​​are arranged in descending order of value and are denoted as the first eigenvalue, the second eigenvalue, and the third eigenvalue. The third eigenvalue is the smallest of the three eigenvalues. The eigenvector corresponding to the third eigenvalue is the direction of the minimum principal component of the covariance matrix. This direction is perpendicular to the local surface, which is the normal vector of the target data point.

[0021] Step 203: Determine the local curvature based on the minimum eigenvalue and the sum of all eigenvalues ​​of the covariance matrix; The quotient obtained by dividing the third eigenvalue (the smallest eigenvalue) by the sum of the first, second, and third eigenvalues ​​is taken as the absolute value of the local curvature of the target data point. The quotient ranges from zero to one-third. When the quotient is close to zero, it indicates that the third eigenvalue is much smaller than the other two eigenvalues, and the energy of the covariance matrix is ​​mainly concentrated in the directions of the first two principal components. The local surface is approximately a plane with very little curvature. When the quotient is close to one-third, it indicates that the three eigenvalues ​​tend to be equal, and the energy of the covariance matrix is ​​evenly distributed in the three directions. The local surface is approximately a sphere with a large degree of curvature.

[0022] In some embodiments, generating multiple virtual subsurface point cloud layers corresponding to a set of depth intervals includes: Step 301: Obtain the target depth interval value from the pre-defined depth interval set; The depth interval set is an ordered list containing multiple preset depth values, arranged in ascending order. For example, the depth interval set can be set to include five depth values: 10 cm, 20 cm, 30 cm, 40 cm, and 50 cm. The number and interval of depth values ​​can be adjusted according to actual agronomic needs. For crops with shallow root systems, such as vegetables, the depth interval set can be set to include four depth values: 5 cm, 10 cm, 15 cm, and 20 cm. For crops with deep root systems, such as corn and cotton, the depth interval set can be set to include six depth values: 10 cm, 20 cm, 30 cm, 40 cm, 50 cm, and 60 cm. A depth value is sequentially selected from the depth interval set as the target depth interval value for the current processing. Step 302: Translate the coordinates of each data point in the surface geometric point cloud along the opposite direction of the corresponding normal vector according to the target depth interval value to determine multiple first translation coordinates corresponding to the target depth interval value; For each data point in the surface geometric point cloud, perform the following translation calculation: First, obtain the 3D coordinates and corresponding unit normal vector of the data point. The unit normal vector is a normal vector with a length of 1. If the length of the original normal vector is not 1, it needs to be normalized. The normalization process is as follows: calculate the square root of the sum of the squares of the three components of the normal vector as the modulus of the normal vector, divide each component of the normal vector by the modulus to obtain the unit normal vector. Then, multiply the three components of the unit normal vector by the target depth interval value, which is in meters, to obtain the translation increments in the three directions. Since the translation direction is the opposite direction of the normal vector, subtract the corresponding translation increment from each component of the original 3D coordinates of the data point to obtain the new 3D coordinates after translation. The new 3D coordinates are the first translation coordinates corresponding to the data point. After performing the above calculation on all data points in the surface geometric point cloud, multiple first translation coordinates with the same number as the original data points are obtained. Step 303: Obtain the maximum sampling depth of the multi-depth fertility sampling data; Traverse all records in the multi-depth fertility sampling data, extract the depth level identifier in each record, and determine the maximum sampling depth value from it; Step 304: When the target depth interval value is less than or equal to the maximum sampling depth, stitch all the first translation coordinates together to form a virtual underground point cloud layer corresponding to the target depth interval value. The current target depth interval is compared with the maximum sampling depth. If the target depth interval is less than or equal to the maximum sampling depth, it means that the depth layer is within the coverage of the actual sampled data. All first translation coordinates are used as virtual points of the depth layer and combined to form a virtual underground point cloud layer corresponding to the target depth interval. Each virtual point retains the index relationship between itself and its corresponding original surface data point for subsequent querying of the local curvature of the vertical projection point. If the target depth interval is greater than the maximum sampling depth, it means that the depth layer exceeds the coverage of the actual sampled data. In this case, the depth value is skipped, and the corresponding virtual underground point cloud layer is not generated, or it is marked as an invalid layer and not processed in subsequent calculations. This judgment mechanism ensures that the virtual underground point cloud layer is generated only within the depth range supported by measured data, avoiding meaningless interpolation calculations in deep areas without data, thereby ensuring the data quality of the 3D fertility point cloud.

[0023] In some embodiments, mapping local curvature to terrain compensation coefficients includes: Step 401: Obtain the sign value of the local curvature; Read the local curvature value calculated in step 102 and determine its sign; when the local curvature is positive, the sign is positive, indicating that the local surface where the data point is located is convex, that is, the surface rises outward; when the local curvature is negative, the sign is negative, indicating that the local surface is concave, that is, the surface sinks inward; when the local curvature is zero, it indicates that the local surface is approximately flat, and the terrain compensation coefficient is set to 1, that is, no terrain compensation is performed. Step 402: When the sign value is negative and the absolute value of the local curvature is not less than the preset concave threshold, the corresponding vertical projection point is determined to be in the concave convergence area. The preset concave threshold is used to distinguish between a significant concave surface and an approximate plane. The preset concave threshold is set as follows: First, the absolute values ​​of curvature of all data points with negative local curvature in the entire surface geometric point cloud are counted, and the median of these absolute values ​​is calculated. The median is multiplied by 0.3 to obtain the preset concave threshold. For example, if the median of the absolute values ​​of curvature of all negative curvature data points is 0.15, then the preset concave threshold is 0.15 multiplied by 0.3, which equals 0.045. By adopting the adaptive method of multiplying the median by a coefficient, the threshold can be automatically adjusted according to the terrain complexity of different farmlands, avoiding the problem of inconsistent performance of a fixed threshold under different terrain conditions. When the sign value of the local curvature is negative and the absolute value of the local curvature is greater than or equal to the preset concave threshold, the vertical projection point corresponding to the data point is determined to be in the concave convergence area. The concave convergence area refers to an area with obvious topographic depression. Under natural conditions, the surface runoff generated by rainfall will carry dissolved nutrients to converge in such areas, resulting in relatively high soil nutrient content in the area. Step 403: When the vertical projection point is in the concave convergence area, the first preset gain constant and the absolute value of the local curvature are combined to obtain the terrain compensation coefficient, so as to increase the target weight. The first preset gain constant is set as follows: Calculate the average of the absolute values ​​of curvature of all negative curvature data points, take the reciprocal of this average value, and multiply it by 0.5 to obtain the first preset gain constant. For example, if the average of the absolute values ​​of curvature of all negative curvature data points is 0.12, then the first preset gain constant is 1 divided by 0.12 and multiplied by 0.5, which is approximately equal to 4.17. This adaptive setting method correlates the first preset gain constant with the actual terrain undulation of the farmland: the greater the terrain undulation, the larger the average absolute value of curvature, and the smaller the first preset gain constant, avoiding over-amplification; the smaller the terrain undulation, the larger the first preset gain constant, ensuring that even small concave surfaces can be effectively identified. The terrain compensation coefficient is calculated as follows: multiply the first preset gain constant by the absolute value of the local curvature, and then add 1 to obtain the terrain compensation coefficient; that is, the terrain compensation coefficient is equal to 1 plus the first preset gain constant multiplied by the absolute value of the local curvature; since the absolute value of the local curvature is positive and the first preset gain constant is positive, the terrain compensation coefficient is greater than 1, which increases the target weight; the larger the absolute value of the local curvature, that is, the deeper the concavity, the larger the terrain compensation coefficient and the greater the target weight. Step 404: When the sign value is positive and the absolute value of the local curvature is not less than the preset convexity threshold, determine that the corresponding vertical projection point is in the convexity loss zone. The method for setting the preset convex threshold is similar to that for setting the preset concave threshold: count the absolute values ​​of curvature of all data points with positive local curvature in the entire surface geometric point cloud, calculate the median of these absolute values, and multiply the median by 0.3 to obtain the preset convex threshold; for example, if the median of the absolute values ​​of curvature of all data points with positive curvature is 0.18, then the preset convex threshold is 0.18 multiplied by 0.3, which equals 0.054; When the sign of the local curvature is positive and the absolute value of the local curvature is greater than or equal to the preset convexity threshold, the vertical projection point corresponding to the data point is determined to be in the convexity loss zone. The convexity loss zone refers to an area with obvious topographic elevation. Under natural conditions, the surface runoff generated by rainfall will flow from such areas to the surrounding low-lying areas, carrying away dissolved nutrients, resulting in relatively low soil nutrient content in the area. Step 405: When the vertical projection point is in the convex loss zone, the terrain compensation coefficient is obtained by subtracting the absolute value of the local curvature from the second preset reference constant to reduce the target weight, wherein the first preset gain constant is greater than the second preset reference constant. The second preset reference constant is set as follows: its value is 1; the second preset reference constant serves as the reference value for the terrain compensation coefficient of the convex area; the terrain compensation coefficient is calculated by subtracting the product of the absolute value of the local curvature and the second preset reference constant from the second preset reference constant; that is, the terrain compensation coefficient equals 1 minus the absolute value of the local curvature; since the absolute value of the local curvature is positive, the terrain compensation coefficient is less than 1, which reduces the target weight; the larger the absolute value of the local curvature, the higher the convexity, the smaller the terrain compensation coefficient, and the smaller the target weight. To ensure that the terrain compensation coefficient is always positive and to avoid calculation anomalies caused by negative weights, when the terrain compensation coefficient is less than 0.1, it is truncated to 0.1; that is, the minimum value of the terrain compensation coefficient is 0.1. The significance of the constraint that the first preset gain constant is greater than the second preset reference constant is that the weight amplification effect of the concave convergence area is stronger than the weight reduction effect of the convex loss area. This is because in the actual farmland environment, the degree of nutrient convergence on the concave surface is usually greater than the degree of loss on the convex surface, and the influence range of the convergence effect is also wider.

[0024] In some embodiments, generating a fertilization scheme based on the spatial distribution gradient of scalar fertility attributes of a three-dimensional fertility point cloud includes: Step 501: Obtain the difference in scalar fertility attributes and spatial distance between the target virtual point and its adjacent virtual points in the 3D fertility point cloud; For each target virtual point in the 3D fertility point cloud, the nearest neighbor search algorithm is used to determine its neighboring virtual points. The search method is to search for the target virtual point in 3D space for the few virtual points with the closest Euclidean distance to it, and the number of selections is set to eight. The search process can be accelerated by using KD tree, i.e., K-dimensional tree index. First, a KD tree index structure is established for the 3D coordinates of all virtual points in the 3D fertility point cloud. Then, the nearest neighbor query operation is performed on each target virtual point to obtain the eight nearest neighboring virtual points. For each adjacent virtual point, calculate the absolute value of the difference in fertility scalar attribute between the target virtual point and the adjacent virtual point, as the fertility scalar attribute difference; at the same time, calculate the Euclidean distance of the three-dimensional coordinates between the target virtual point and the adjacent virtual point, as the spatial distance; the Euclidean distance calculation process is as follows: calculate the coordinate difference between the two virtual points in the three directions of horizontal coordinate, vertical coordinate and elevation coordinate respectively, square the three differences respectively and sum them, and then take the square root of the summation result; Step 502: Obtain the spatial distribution gradient based on the difference in scalar fertility attributes and spatial distance; For each adjacent virtual point, the corresponding scalar difference in fertility attribute is divided by the corresponding spatial distance to obtain the spatial distribution gradient value in that direction; the arithmetic mean of the spatial distribution gradient values ​​calculated for all adjacent virtual points of the target virtual point is taken as the comprehensive spatial distribution gradient of the target virtual point; the comprehensive spatial distribution gradient is a scalar value that reflects the overall degree of drastic change in fertility distribution around the virtual point; Step 503: When the spatial distribution gradient is not less than the preset gradient threshold, generate a fertilization plan that increases the amount of fertilizer in the corresponding area. The preset gradient threshold is set as follows: First, calculate the comprehensive spatial distribution gradient value of all virtual points in the 3D fertility point cloud. Arrange these gradient values ​​in ascending order and take the 75th percentile, which is the value at the 75th percentile of all gradient values, as the preset gradient threshold. The threshold is adaptively set using the percentile method, so that the threshold can be automatically adjusted according to the fertility distribution characteristics of different farmlands. For example, if the fertility distribution of a farmland is relatively uniform and the gradient values ​​of all virtual points are generally small, then the 75th percentile will also be relatively small, thus being able to identify relatively small fertility differences. Conversely, if the fertility distribution of a farmland has large differences, the threshold will also be increased accordingly to avoid over-responding to fluctuations within the normal range. When the comprehensive spatial distribution gradient of the target virtual point is greater than or equal to the preset gradient threshold, a fertilization plan with increased fertilization amount is generated at the spatial location corresponding to the virtual point. The calculation method for the increased fertilization amount is as follows: First, calculate the portion of the comprehensive spatial distribution gradient that exceeds the preset gradient threshold, that is, the comprehensive spatial distribution gradient minus the preset gradient threshold to obtain the excess amount; then divide the excess amount by the preset gradient threshold to obtain the relative excess ratio; finally, multiply the relative excess ratio by the basic fertilization amount of the area, which is determined by the agronomic regulations according to the crop type and target yield to obtain the increased fertilization amount. When the overall spatial distribution gradient is less than the preset gradient threshold, the recommended fertilization amount for the area where the virtual point is located will remain at the basic fertilization amount without any additional adjustment.

[0025] In some embodiments, after combining the first preset gain constant with the absolute value of the local curvature to obtain the terrain compensation coefficient, the method further includes: Step 601: Obtain the global gravity direction vector; The global gravity direction vector is a unit vector pointing towards the Earth's center. In a coordinate system with the positive direction of elevation as the vertical upward, the three components of the global gravity direction vector are zero in the horizontal direction, zero in the vertical direction, and negative one in the elevation direction. This vector represents the direction of gravity and is also the flow trend of rainfall runoff under ideal conditions. Step 602: Determine the angle between the normal vector of the corresponding vertical projection point in the geometric point cloud on the ground and the global gravity direction vector; Take the normal vector of the data point corresponding to the vertical projection point in the geometric point cloud on the ground surface. This normal vector has been calculated in step 102. Calculate the angle between this normal vector and the global gravity direction vector. The angle is calculated as follows: First, calculate the dot product of the normal vector and the global gravity direction vector. The dot product is equal to the sum of the product of the three components of the normal vector with the corresponding components of the global gravity direction vector. Since the x-coordinate and y-coordinate components of the global gravity direction vector are both zero, the dot product is actually equal to the elevation coordinate component of the normal vector multiplied by negative one. Then, divide the dot product by the magnitude of the normal vector, which is the square root of the sum of the squares of the three components of the normal vector, to obtain the cosine value of the angle. Finally, perform an inverse cosine operation on the cosine value to obtain the radian value of the angle. Step 603: Use the cosine of the included angle as the slope attenuation factor; In step 602, the cosine value of the angle has been calculated, and this cosine value is directly used as the slope attenuation factor. The cosine value ranges from zero to one because the normal vector points upwards, and the angle between it and the downward direction of gravity is between zero and ninety degrees. When the slope is zero, i.e., the ground surface is completely horizontal, the normal vector points vertically upwards, and the angle between it and the direction of gravity is 180 degrees. However, since the normal vector has been uniformly treated as pointing upwards, in actual calculations, the angle between the normal vector and the opposite direction of gravity is taken, which is zero, the cosine value is 1, and the slope attenuation factor is 1, indicating that no attenuation is performed. When the slope increases, the normal vector deviates from the vertical direction, the angle increases, the cosine value decreases, and the slope attenuation factor decreases. When the slope is close to ninety degrees, i.e., close to a vertical cliff face, the angle is close to ninety degrees, the cosine value is close to zero, and the slope attenuation factor is close to zero. Step 604: Obtain the updated terrain compensation coefficient based on the slope attenuation factor and the terrain compensation coefficient; Multiply the terrain compensation coefficient calculated in step 403 (i.e., the compensation coefficient for the concave convergence area) by the slope attenuation factor obtained in step 603 to obtain the updated terrain compensation coefficient; the updated terrain compensation coefficient is equal to the original terrain compensation coefficient multiplied by the slope attenuation factor.

[0026] In some embodiments, the method according to claim 1, using the reciprocal of the spatial distance as the basic weight, includes: Step 701: Obtain the sampling depth coordinates corresponding to the multi-depth fertility sampling data; determine the depth difference between the sampling depth coordinates and the zero plane of the ground surface; each record in the multi-depth fertility sampling data contains the depth level identifier of the sampling point; The zero-plane of the Earth's surface is defined as the horizontal plane corresponding to the average elevation coordinates of all data points in the Earth's surface geometric point cloud. The elevation value of the zero-plane is calculated by summing the elevation coordinates of all data points in the Earth's surface geometric point cloud and then dividing by the total number of data points to obtain the average elevation value. The depth difference is the difference between the sampled depth coordinate value and zero, because the depth coordinate value itself is the depth relative to the Earth's surface and is equal to the absolute value of the sampled depth coordinate value. For example, if the sampled depth coordinate value is 30 centimeters, then the depth difference is 30 centimeters, or 0.3 meters. Step 702: Obtain the depth confidence decay term based on the preset confidence constant and depth difference. The preset reliability constant is a parameter that controls the rate of decay. It is set as follows: half of the maximum sampling depth value in the multi-depth fertility sampling data is taken as the preset reliability constant. This adaptive setting method makes the decay rate match the sampling depth range: the larger the sampling depth range, the larger the preset reliability constant, and the slower the decay of deep data; the smaller the sampling depth range, the smaller the preset reliability constant, and the faster the decay of deep data. The depth confidence decay term is calculated as follows: the depth difference is negative and divided by a preset confidence constant to obtain an exponential parameter; then, the exponential function value corresponding to this exponential parameter is calculated with the natural constant e as the base, which is the depth confidence decay term; when the depth difference is zero, that is, the sampling point is located on the ground surface, the exponential parameter is zero, and the depth confidence decay term is 1, indicating no decay; as the depth difference increases, the exponential parameter becomes negative and its absolute value increases, and the depth confidence decay term gradually approaches zero, indicating that the confidence of the deep sampling data gradually decreases; Step 703: Obtain the basic weights based on the reciprocal of the spatial distance and the depth confidence decay term; Multiply the reciprocal of the spatial distance calculated in step 106 by the depth confidence attenuation term obtained in step 702 to obtain the base weight; the base weight is equal to the reciprocal of the spatial distance multiplied by the depth confidence attenuation term; this calculation method considers the influence of both horizontal spatial distance and vertical depth dimensions: the closer the sampling point is to the virtual point and the shallower the sampling depth, the greater the base weight is obtained; the farther the sampling point is from the virtual point and the deeper the sampling depth, the smaller the base weight is obtained.

[0027] In some embodiments, before obtaining the difference in scalar fertility attributes and spatial distance between the target virtual point and its neighboring virtual points in the 3D fertility point cloud, the method further includes: Step 801: Construct a three-dimensional spherical sliding window with a preset radius, centered on the target virtual point; The preset radius is set as follows: Calculate the average spatial distance between all adjacent virtual points in the 3D fertility point cloud, and multiply this average spatial distance by 2 to obtain the preset radius; for example, if the average spatial distance between all adjacent virtual points is 1.5 meters, then the preset radius is 3 meters; an adaptive setting method is adopted to match the size of the sliding window with the point cloud density: the higher the point cloud density, the smaller the average distance between adjacent virtual points, the smaller the sliding window, and the more local details are preserved; the lower the point cloud density, the larger the sliding window, and the more obvious the smoothing effect; construct a spherical region with the 3D coordinates of the target virtual point as the center and the preset radius as the radius, and this spherical region is the 3D spherical sliding window; Step 802: Obtain the fertility scalar properties of all virtual points within the three-dimensional spherical sliding window; Traverse all virtual points in the 3D fertility point cloud and calculate the 3D spatial distance between each virtual point and the target virtual point. If the spatial distance is less than or equal to the preset radius, determine that the virtual point is located within the 3D spherical sliding window and read its fertility scalar attribute value. Summarize the fertility scalar attribute values ​​of all virtual points located within the window into a numerical list. Step 803: Average the fertility scalar properties of all virtual points within the three-dimensional spherical sliding window to obtain smoothed fertility scalar properties; The summation of all fertility scalar attribute values ​​in the numerical list is then divided by the number of values ​​in the numerical list, which is the total number of virtual points in the window, to obtain the arithmetic mean. This arithmetic mean is the smoothed fertility scalar attribute. The purpose of averaging is to fuse the fertility information of the local area around the target virtual point and eliminate the situation where the fertility scalar attribute value of individual virtual points is abnormally high or low due to sampling error or interpolation calculation error. Step 804: Replace the fertility scalar attribute of the target virtual point with the smoothed fertility scalar attribute; Replace the original fertility scalar attribute value of the target virtual point with the smoothed fertility scalar attribute calculated in step 803; perform smoothing processing steps 801 to 804 sequentially on all virtual points in the 3D fertility point cloud; it should be noted that during the smoothing process, the smoothing calculation of each virtual point should be based on the original fertility scalar attribute value rather than the replaced value. Therefore, a copy of the original fertility scalar attribute needs to be made before processing, and all smoothing calculations are based on the original value in the copy.

[0028] In some embodiments, after generating a fertilization scheme based on the spatial distribution gradient of fertility scalar attributes of a three-dimensional fertility point cloud, the method further includes: Step 901: Obtain the surface slope and aspect values ​​of each virtual point at its projected location on the ground based on the surface geometric point cloud; For each virtual point in the 3D fertility point cloud, determine its vertical projection point in the surface geometric point cloud. The method for determining the vertical projection point is the same as described in step 104, that is, searching for data points in the surface geometric point cloud whose horizontal and vertical coordinates are closest to the virtual point. After obtaining the normal vector of the vertical projection point, calculate the angle between the normal vector and the global vertical upward direction. This angle is the surface slope value. The slope aspect value is calculated as follows: take the projection of the normal vector on the horizontal plane, that is, the two-dimensional vector obtained by setting the elevation coordinate component of the normal vector to zero, and calculate the clockwise angle between this two-dimensional vector and the due north direction. This angle is the slope aspect value, which ranges from zero to 360 degrees. Zero degrees represents the slope facing north, ninety degrees represents the slope facing east, one hundred and eighty degrees represents the slope facing south, and two hundred and seventy degrees represents the slope facing west. Step 902: Construct a surface runoff direction field based on surface slope and aspect values. The surface runoff direction field reflects the flow direction and convergence trend of surface water and dissolved nutrients under rainfall conditions. The surface runoff direction field is a two-dimensional vector field covering the entire horizontal plane of the target farmland. For each location on the horizontal plane, the runoff direction is determined by the slope aspect value, which is the direction of water flowing downhill along the slope after adding 180 degrees to the slope aspect value. The runoff velocity is determined by the surface slope value; the steeper the slope, the faster the runoff velocity. Specifically, the runoff velocity is calculated as follows: the runoff velocity equals the sine of the surface slope value multiplied by an empirical velocity constant, which can be set to 0.5 meters per second. The runoff direction and runoff velocity at all locations are combined to form the surface runoff direction field. Step 903: Perform multi-step iterative migration simulation on the scalar fertility attributes in the three-dimensional fertility point cloud along the surface runoff direction field. In each iteration, according to the preset migration ratio, a part of the scalar fertility attributes of each upstream virtual point is transferred to the downstream adjacent virtual point along the runoff direction to obtain the predicted scalar fertility attribute distribution after simulation for a preset time period. The preset migration ratio is set to 5% of the current fertility scalar attribute in each iteration; the preset number of iterations is determined based on the length of the simulated rainfall period. For example, if we simulate a two-hour rainfall event and each iteration represents a ten-minute time interval, then the preset number of iterations is twelve. The calculation process for each iteration is as follows: For each virtual point in the 3D fertility point cloud as an upstream virtual point, the runoff direction is determined based on the surface runoff direction field at its location; the nearest downstream adjacent virtual point is searched along the runoff direction; the migration amount is calculated, which is equal to the current fertility scalar attribute value of the upstream virtual point multiplied by a preset migration ratio of 5%; the migration amount is subtracted from the fertility scalar attribute value of the upstream virtual point, and the migration amount is added to the fertility scalar attribute value of the downstream adjacent virtual point; after performing the above migration operation on all virtual points in the 3D fertility point cloud simultaneously, one iteration is completed; after repeating the preset number of iterations, the predicted fertility scalar attribute distribution is obtained; Step 904: Determine the difference between the predicted scalar fertility attribute distribution and the current 3D fertility point cloud scalar fertility attribute distribution to obtain the nutrient migration increment field; For each virtual point in the 3D fertility point cloud, its original fertility scalar attribute value in the current 3D fertility point cloud is subtracted from its fertility scalar attribute value in the predicted fertility scalar attribute distribution. The difference is obtained by subtracting the original fertility scalar attribute value in the current 3D fertility point cloud from its fertility scalar attribute value in the predicted fertility scalar attribute distribution. If the difference is positive, it means that the virtual point has received nutrient migration from upstream during the simulation and is located in the nutrient accumulation region. If the difference is negative, it means that the virtual point has lost nutrients downstream during the simulation and is located in the nutrient loss region. The differences of all virtual points constitute the nutrient migration increment field. Step 905: Overlay the nutrient migration increment field onto the fertilization plan. For virtual points in the nutrient accumulation area, reduce the corresponding fertilization amount according to the increment value in the nutrient migration increment field. For virtual points in the nutrient loss area, increase the corresponding fertilization amount according to the loss value in the nutrient migration increment field. This will result in the fertilization plan after migration compensation correction. For virtual points in the nutrient migration increment field with positive differences, i.e. nutrient aggregation regions, divide the difference by the original fertility scalar attribute value of the virtual point to obtain the aggregation ratio; multiply the aggregation ratio by the original recommended fertilization amount generated in step 109 for the virtual point to obtain the fertilization reduction amount; subtract the fertilization reduction amount from the original recommended fertilization amount to obtain the corrected recommended fertilization amount. For virtual points in the nutrient migration increment field with negative differences, i.e. nutrient loss areas, the absolute value of the difference is divided by the original fertility scalar attribute value of the virtual point to obtain the loss ratio; the loss ratio is multiplied by the original recommended fertilization amount generated in step 109 to obtain the fertilization increase; the fertilization increase is added to the original recommended fertilization amount to obtain the corrected recommended fertilization amount. Step 906: Obtain the preset operating width dimensions of the agricultural machinery equipment; project the fertilization plan after migration compensation correction onto a two-dimensional horizontal plane, and divide the two-dimensional horizontal plane into multiple operating grids according to the operating width dimensions; The pre-set agricultural machinery is an intelligent variable displacement fertilizer applicator. Its operating width refers to the lateral width covered by the fertilizer applicator in a single operation. This parameter is determined by the equipment model; for example, the operating width of a certain model of fertilizer applicator is 3.6 meters. The elevation coordinates of all virtual points in the 3D coordinates of the fertilization scheme after migration compensation are removed, leaving only the horizontal and vertical coordinates to achieve projection onto a two-dimensional horizontal plane. Then, using the boundary of the target farmland as the range, the two-dimensional horizontal plane is divided into equally spaced rectangular operating grids according to the operating width. The side length of each operating grid is equal to the operating width; for example, when the operating width is 3.6 meters, each operating grid is a square area of ​​3.6 meters by 3.6 meters. Step 907: Obtain the amount of fertilizer applied to the corresponding virtual points within each work grid, and summarize them to obtain the total amount of fertilizer applied to the grid. For each work grid, its spatial range is determined, which is defined by the x and y coordinates of the four corner points of the grid. All virtual points in the fertilization plan after migration compensation correction are traversed, and it is determined whether the x and y coordinates of each virtual point fall within the spatial range of the work grid. The corrected recommended fertilization amounts of all virtual points that fall within the grid are summed to obtain the total fertilization amount of the grid. If no virtual points fall within a grid, the total fertilization amount of the grid is set to the base fertilization amount of the area multiplied by the grid area. Step 908: Encapsulate the data sequence containing the spatial coordinates of the work grid and the total amount of fertilizer applied to the grid into control instructions to control the action of the fertilizer discharge actuator of the preset agricultural machinery equipment; Following the sequential order of the agricultural machinery's travel path, all work grids are arranged into an ordered sequence. For each work grid in the sequence, the x and y coordinates of its center point are extracted as spatial coordinates, along with the corresponding total fertilizer application amount. The spatial coordinates and the total fertilizer application amount are encapsulated into a control command according to the data format specified in the agricultural machinery's communication protocol. The communication protocol can adopt the ISOBUS standard, i.e., ISO11783. The data structure of the control command includes a command header identifier, grid number, center point x and y coordinates, center point y and y coordinates, total fertilizer application amount, and command tail check code. The control commands corresponding to all work grids are arranged in the order of the travel path to form a complete control command sequence. The control command sequence is written into the storage medium of the agricultural machinery's control terminal or transmitted to the control terminal in real time via a wireless network. When the agricultural machinery is operating in the field, the control terminal matches the current work grid based on the real-time location information provided by the positioning system, reads the corresponding control command, and drives the fertilizer application actuator to perform variable fertilization according to the total fertilizer application amount of the grid.

[0029] Example 2: Refer to Figure 2 As shown, based on Example 1, this embodiment also provides a soil fertility three-dimensional point cloud reconstruction and fertilization scheme generation system, including: The data acquisition module acquires the surface geometric point cloud and multi-depth fertility sampling data of the target farmland. The multi-depth fertility sampling data includes soil nutrient values ​​under different spatial coordinates. The feature acquisition module acquires the normal vector and local curvature of each data point in the geometric point cloud of the ground surface. The local curvature reflects the degree of unevenness of the local surface where the data point is located. The virtual point cloud generation module, based on a pre-defined set of depth intervals, translates each data point in the surface geometric point cloud along the opposite direction of the corresponding normal vector to generate multiple virtual underground point cloud layers corresponding to the set of depth intervals. The spatial distance determination module determines the spatial distance between each virtual point in the virtual underground point cloud layer and the corresponding coordinates of the multi-depth fertility sampling data, and obtains the local curvature of the vertical projection point of the corresponding virtual point in the surface geometric point cloud. The matrix construction module constructs an interpolation weight matrix that includes spatial distance and local curvature; The target weight generation module uses the reciprocal of the spatial distance as the basic weight in the interpolation weight matrix, maps the local curvature to the terrain compensation coefficient, and obtains the target weight based on the basic weight and the terrain compensation coefficient. The fertility scalar attribute determination module uses target weights to weight and summarize the soil nutrient values ​​of multi-depth fertility sampling data to obtain the fertility scalar attribute of the corresponding virtual point. The 3D fertility point cloud generation module stitches fertility scalar attributes to the feature directions of corresponding virtual points in the virtual underground point cloud layer to generate a 3D fertility point cloud. The fertilization plan generation module generates fertilization plans based on the spatial distribution gradient of fertility scalar attributes of 3D fertility point cloud.

[0030] The above embodiments can be implemented, in whole or in part, by software, hardware, firmware, or any other combination thereof. When implemented in software, the above embodiments can be implemented, in whole or in part, as a computer program product. Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution.

[0031] Reference Figure 3 As shown, Figure 3 This demonstrates the complete execution flow of the method: First, geometric point cloud and multi-depth fertility sampling data of the target farmland surface are collected; then, the normal vector and local curvature of each point in the surface point cloud are calculated to obtain the surface topographic features; next, according to the preset depth interval, the surface points are translated in the opposite direction of the normal vector to generate multiple layers of virtual underground point cloud; then, the spatial distance between the virtual points and the sampling points is calculated, and an interpolation weight matrix is ​​constructed by combining the local curvature of the surface, and the distance weight and the terrain compensation coefficient are fused to obtain the target weight; the target weight is used to perform weighted interpolation on the soil nutrient sampling data, and each virtual point is assigned a scalar fertility attribute to construct a three-dimensional fertility point cloud model of the farmland; finally, based on the fertility spatial distribution gradient inside the three-dimensional fertility point cloud, a variable fertilization scheme for the corresponding location is generated; furthermore, Figure 3The system also demonstrates optional optimization processes: spherical window smoothing and noise reduction can be performed on the fertility point cloud, slope and aspect can be introduced to construct a surface runoff field, the nutrient migration process under rainfall can be simulated, migration compensation corrections can be made to the fertilization plan, and then the operation grid can be divided according to the width of the agricultural machinery operation, and agricultural machinery control commands conforming to the ISOBUS protocol can be output to drive the variable fertilization equipment to complete the field operation.

[0032] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment, depending on actual needs.

[0033] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application.

Claims

1. A method for reconstructing three-dimensional point clouds of soil fertility and generating fertilization schemes, characterized in that, The method includes: Acquire surface geometric point cloud and multi-depth fertility sampling data of the target farmland. The multi-depth fertility sampling data includes soil nutrient values ​​under different spatial coordinates. Obtain the normal vector and local curvature of each data point in the geometric point cloud of the ground surface. The local curvature reflects the degree of unevenness of the local surface where the data point is located. Based on a pre-defined set of depth intervals, each data point in the surface geometric point cloud is translated along the opposite direction of the corresponding normal vector to generate multiple virtual underground point cloud layers corresponding to the set of depth intervals. Determine the spatial distance between each virtual point in the virtual underground point cloud and the corresponding coordinates of the multi-depth fertility sampling data, and obtain the local curvature of the vertical projection point of the corresponding virtual point in the surface geometric point cloud; Construct an interpolation weight matrix that includes spatial distance and local curvature; In the interpolation weight matrix, the reciprocal of the spatial distance is used as the basic weight, and the local curvature is mapped to the terrain compensation coefficient. The target weight is obtained based on the basic weight and the terrain compensation coefficient. By weighting and summing the soil nutrient values ​​of multi-depth fertility sampling data using target weights, the scalar fertility attributes of the corresponding virtual points are obtained. The scalar fertility attribute is stitched into the feature direction of the corresponding virtual point in the virtual underground point cloud layer to generate a three-dimensional fertility point cloud. Fertilization schemes are generated based on the spatial distribution gradient of scalar fertility attributes of 3D fertility point cloud.

2. The method for reconstructing three-dimensional point clouds of soil fertility and generating fertilization schemes according to claim 1, characterized in that, Obtain the normal vector and local curvature of each data point in the surface geometric point cloud, including: Obtain the set of neighboring data points within the neighborhood of a target data point in the geometric point cloud of the Earth's surface; Construct a covariance matrix based on the set of adjacent data points; obtain the eigenvector corresponding to the smallest eigenvalue of the covariance matrix as the normal vector of the target data point; Local curvature is determined based on the minimum eigenvalue and the sum of all eigenvalues ​​of the covariance matrix.

3. The method for reconstructing three-dimensional point clouds of soil fertility and generating fertilization schemes according to claim 1, characterized in that, Generate multiple virtual subsurface point cloud layers with corresponding depth intervals, including: Obtain the target depth interval value from a pre-defined set of depth intervals; The coordinates of each data point in the surface geometric point cloud are translated along the opposite direction of the corresponding normal vector according to the target depth interval value to determine multiple first translation coordinates corresponding to the target depth interval value; Obtain the maximum sampling depth for multi-depth fertility sampling data; When the target depth interval value is less than or equal to the maximum sampling depth, all first translation coordinates are stitched together to form a virtual underground point cloud layer corresponding to the target depth interval value.

4. The method for reconstructing three-dimensional point clouds of soil fertility and generating fertilization schemes according to claim 1, characterized in that, Mapping local curvature to terrain compensation coefficients includes: Obtain the sign value of the local curvature; When the sign value is negative and the absolute value of the local curvature is not less than the preset concave threshold, the corresponding vertical projection point is determined to be in the concave convergence area. When the vertical projection point is in the concave convergence area, the first preset gain constant and the absolute value of the local curvature are combined to obtain the terrain compensation coefficient, so as to increase the target weight; When the sign value is positive and the absolute value of the local curvature is not less than the preset convexity threshold, the corresponding vertical projection point is determined to be in the convexity loss zone. When the vertical projection point is in the convex loss zone, the terrain compensation coefficient is obtained by subtracting the absolute value of the local curvature from the second preset reference constant to reduce the target weight, wherein the first preset gain constant is greater than the second preset reference constant.

5. The method for reconstructing three-dimensional point clouds of soil fertility and generating fertilization schemes according to claim 1, characterized in that, Fertilization schemes are generated based on the spatial distribution gradient of scalar fertility attributes from 3D fertility point clouds, including: Obtain the difference in scalar fertility attributes and spatial distance between the target virtual point and its adjacent virtual points in a 3D fertility point cloud; The spatial distribution gradient is obtained based on the difference in scalar fertility attributes and spatial distance; When the spatial distribution gradient is not less than the preset gradient threshold, a fertilization plan is generated to increase the amount of fertilizer in the corresponding area.

6. The method for reconstructing a three-dimensional point cloud of soil fertility and generating a fertilization scheme according to claim 4, characterized in that, After combining the first preset gain constant with the absolute value of the local curvature to obtain the terrain compensation coefficient, the following is also included: Obtain the global gravity direction vector; Determine the angle between the normal vector of the corresponding vertical projection point in the geometric point cloud on the ground and the global gravity direction vector; The cosine of the included angle is used as the slope attenuation factor; The updated terrain compensation coefficient is obtained based on the slope attenuation factor and the terrain compensation coefficient.

7. The method for reconstructing three-dimensional point clouds of soil fertility and generating fertilization schemes according to claim 1, characterized in that, Using the reciprocal of spatial distance as the basic weight, including: Obtain the sampling depth coordinates corresponding to the multi-depth fertility sampling data; determine the depth difference between the sampling depth coordinates and the zero plane of the ground surface; The depth confidence decay term is obtained based on a pre-set confidence constant and depth difference. The basic weights are derived from the reciprocal of the spatial distance and the depth confidence decay term.

8. The method for reconstructing a three-dimensional point cloud of soil fertility and generating a fertilization scheme according to claim 5, characterized in that, Before acquiring the difference in scalar fertility attributes and spatial distance between the target virtual point and its neighboring virtual points in the 3D fertility point cloud, the following steps are also included: A three-dimensional spherical sliding window with a preset radius is constructed with the target virtual point as the center. Obtain the scalar fertility properties of all virtual points within a 3D spherical sliding window; The scalar fertility properties of all virtual points within the three-dimensional spherical sliding window are averaged to obtain smoothed scalar fertility properties. Replace the fertility scalar attribute of the target virtual point with the smoothed fertility scalar attribute.

9. The method for reconstructing three-dimensional point clouds of soil fertility and generating fertilization schemes according to claim 1, characterized in that, After generating fertilization schemes based on the spatial distribution gradient of fertility scalar attributes from 3D fertility point clouds, the following steps are also included: The surface slope and aspect values ​​of each virtual point at its projected location on the ground are obtained based on the surface geometric point cloud. A surface runoff orientation field is constructed based on surface slope and aspect values. The surface runoff orientation field reflects the flow direction and convergence trend of surface water and dissolved nutrients under rainfall conditions. A multi-step iterative migration simulation is performed on the scalar fertility attributes in the three-dimensional fertility point cloud along the surface runoff direction field. In each iteration, a portion of the scalar fertility attributes of each upstream virtual point is transferred to the adjacent downstream virtual point along the runoff direction according to a preset migration ratio, so as to obtain the predicted scalar fertility attribute distribution after simulation for a preset time period. The difference between the predicted scalar fertility attribute distribution and the current scalar fertility attribute distribution of the 3D fertility point cloud is determined to obtain the nutrient migration increment field. The nutrient migration increment field is superimposed on the fertilization plan. For virtual points in the nutrient accumulation area, the corresponding fertilizer amount is reduced according to the increment value in the nutrient migration increment field. For virtual points in the nutrient loss area, the corresponding fertilizer amount is increased according to the loss value in the nutrient migration increment field, resulting in the fertilization plan after migration compensation correction. Obtain the preset operating width dimensions of agricultural machinery equipment; project the fertilization plan after migration compensation correction onto a two-dimensional horizontal plane, and divide the two-dimensional horizontal plane into multiple operating grids according to the operating width dimensions; Obtain the amount of fertilizer applied to the corresponding virtual points within each work grid, and summarize them to obtain the total amount of fertilizer applied to the grid. The data sequence containing the spatial coordinates of the work grid and the total amount of fertilizer applied to the grid is encapsulated into control instructions to control the fertilizer discharge actuator of the preset agricultural machinery.

10. A system for reconstructing three-dimensional point clouds of soil fertility and generating fertilization schemes, characterized in that, A method for reconstructing a three-dimensional point cloud of soil fertility and generating a fertilization scheme according to any one of claims 1-9 includes: The data acquisition module acquires the surface geometric point cloud and multi-depth fertility sampling data of the target farmland. The multi-depth fertility sampling data includes soil nutrient values ​​under different spatial coordinates. The feature acquisition module acquires the normal vector and local curvature of each data point in the geometric point cloud of the ground surface. The local curvature reflects the degree of unevenness of the local surface where the data point is located. The virtual point cloud generation module, based on a pre-defined depth interval set, translates each data point in the surface geometric point cloud along the opposite direction of the corresponding normal vector to generate multiple virtual underground point cloud layers corresponding to the depth interval set. The spatial distance determination module determines the spatial distance between each virtual point in the virtual underground point cloud layer and the corresponding coordinates of the multi-depth fertility sampling data, and obtains the local curvature of the vertical projection point of the corresponding virtual point in the surface geometric point cloud. The matrix construction module constructs an interpolation weight matrix that includes spatial distance and local curvature; The target weight generation module uses the reciprocal of the spatial distance as the basic weight in the interpolation weight matrix, maps the local curvature to the terrain compensation coefficient, and obtains the target weight based on the basic weight and the terrain compensation coefficient. The fertility scalar attribute determination module uses target weights to weight and summarize the soil nutrient values ​​of multi-depth fertility sampling data to obtain the fertility scalar attribute of the corresponding virtual point. The 3D fertility point cloud generation module stitches fertility scalar attributes to the feature directions of corresponding virtual points in the virtual underground point cloud layer to generate a 3D fertility point cloud. The fertilization plan generation module generates fertilization plans based on the spatial distribution gradient of fertility scalar attributes of 3D fertility point cloud.