Farmland prescription map generation method and system, electronic device and readable storage medium
Patent Information
- Application Number
- CN202611290412.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-25
- Publication Date
- 2026-10-30
- Estimated Expiration
- 2046-08-25
AI Technical Summary
[0003]本发明的目的在于解决在变量施肥处方图生成过程中,地块内部养分空间分布与地块级养分水平难以统一参与图斑计算,且处方图斑对目标地块作业范围覆盖不完整的技术问题,提供一种农田处方图生成方法、系统、电子设备及可读存储介质
本发明提供的农田处方图生成方法,将表征地块内部养分空间分布的第一养分空间数据和表征地块级养分水平的第二养分空间数据叠加至地块空间数据中,使生成的养分图斑同时携带内部养分属性和地块级养分属性,为后续按变量原则确定目标养分的养分取值提供了统一的数据基础。作业范围与养分图斑覆盖范围作差后形成空隙图斑,并将配置养分属性后的空隙图斑并入空间底图,使空间底图由养分图斑和空隙图斑共同构成,能够减少处方图生成过程中因覆盖范围不完整而产生的空白图斑。施肥参数数据关联至各底图图斑后,按照处方类型对应的施肥计算规则确定纯养分量,并经小图斑并入、处方属性融合及商品肥换算生成处方图,使处方图同时包含处方图斑及供变量施肥机读取的下肥量信息。解决了在变量施肥处方图生成过程中,地块内部养分空间分布与地块级养分水平难以统一参与图斑计算,且处方图斑对目标地块作业范围覆盖不完整的技术问题。
Smart Images

Figure CN122798941B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the fields of precision agriculture and agricultural spatial data technology, and in particular to a method, system, electronic device, and readable storage medium for generating farmland prescription maps. Background Technology
[0002] In existing technologies, variable fertilization typically generates prescription maps with spatial location and fertilizer application attributes based on soil sampling, remote sensing inversion, yield data, or basic plot information. These maps are then imported into variable fertilization equipment after format conversion. Current prescription map generation methods often employ sampling point interpolation, regular grid assignment, or geographic information system overlay processing. In practical applications, this can easily lead to issues such as incomplete prescription map coverage, numerous fragmented patches, and inconsistencies between fertilizer application attributes and the equipment's read format, thus affecting the usability of prescription maps in variable fertilization operations. Summary of the Invention
[0003] The purpose of this invention is to solve the technical problems that, in the process of generating variable fertilization prescription maps, it is difficult to unify the spatial distribution of nutrients within the plot and the nutrient level at the plot level in the calculation of the plot, and the prescription plots do not completely cover the target plot's operating range. The invention provides a method, system, electronic device, and readable storage medium for generating farmland prescription maps.
[0004] The first aspect of this invention provides a method for generating farmland prescription maps, comprising: acquiring plot spatial data, first nutrient spatial data, second nutrient spatial data, fertilization parameter data, and prescription type of a target plot; wherein the first nutrient spatial data is used to characterize the nutrient spatial distribution within the target plot, the second nutrient spatial data is used to characterize the plot-level nutrient level of the target plot, and the prescription type is a basal fertilizer type or a topdressing type; performing spatial overlay of the plot spatial data with the first nutrient spatial data and the second nutrient spatial data to obtain nutrient patches, wherein the nutrient patches include internal nutrient attributes inherited from the first nutrient spatial data and plot-level nutrient attributes inherited from the second nutrient spatial data; subtracting the coverage area of the nutrient patches from the operating range to obtain gap patches; configuring nutrient attributes for the gap patches; and merging the gap patches with the configured nutrient attributes with the nutrient patches to obtain a spatial base map, wherein the operating range is determined by... The spatial data of the plots is determined, and the base map patches in the spatial base map are composed of nutrient patches and void patches configured with nutrient attributes. The fertilization parameter data is associated with each of the base map patches. For at least one target nutrient, the nutrient value of each target nutrient is determined from candidate values including the values of the internal nutrient attributes and the values of the plot-level nutrient attributes, according to the variable principle corresponding to each target nutrient in the fertilization parameter data. According to the fertilization calculation rules corresponding to the prescription type, the pure nutrient content of each of the base map patches is determined based on the nutrient value and the fertilization parameter data. Patches with an area smaller than a preset threshold in each of the base map patches are merged into adjacent patches, and patches with the same prescription attributes are merged to obtain prescription patches. Based on the pure nutrient content of the prescription patches, commercial fertilizer conversion is performed to generate a prescription map containing the prescription patches and their fertilization amount attributes. The fertilization amount attributes include fertilizer application information for the variable fertilizer applicator to read.
[0005] In one embodiment of the present invention, the step of superimposing the land parcel spatial data with the first nutrient spatial data and the second nutrient spatial data to obtain a nutrient patch includes: intersecting the land parcel spatial data with the first nutrient spatial data execution space to obtain a first intersecting patch; and intersecting the first intersecting patch with the second nutrient spatial data execution space to obtain the nutrient patch.
[0006] In one embodiment of the present invention, the operating range is a target plot buffer generated based on the plot spatial data; the step of subtracting the operating range from the coverage area of the nutrient patch to obtain a gap patch includes: determining the geometric union of all nutrient patches belonging to the same target plot; subtracting the target plot buffer from the geometric union to obtain the gap patch; wherein, the gap patch includes at least one of boundary gaps, attribute-free stripes, and invalid geometric gaps.
[0007] In one embodiment of the present invention, configuring nutrient attributes for void patches and merging the void patches with nutrient patches after configuring nutrient attributes to obtain a spatial base map includes: configuring the nutrient attributes of the void patches to preset nutrient attribute values; merging the void patches with nutrient patches after configuring nutrient attributes to the nutrient patches; and performing geometric validity repair, empty geometry filtering, and area filtering on the merged patches to obtain the spatial base map.
[0008] In one embodiment of the present invention, the fertilization parameter data includes variable principles corresponding to each target nutrient, wherein the variable principle corresponding to any target nutrient is an internal variable principle or a plot-level variable principle; wherein, when the variable principle corresponding to the target nutrient is an internal variable principle, the value of the internal nutrient attribute is determined as the nutrient value of the target nutrient; when the variable principle corresponding to the target nutrient is a plot-level variable principle, the value of the plot-level nutrient attribute is determined as the nutrient value of the target nutrient.
[0009] In one embodiment of the present invention, determining the pure nutrient content of each base map patch according to the fertilization calculation rules corresponding to the prescription type, based on the nutrient values and the fertilization parameter data, includes: when the prescription type is a basal fertilizer type, determining the pure nutrient content of the target nutrient based on the nutrient values, the target fertilizer requirement corresponding to the basal fertilizer type, the correction coefficient, the fertilizer utilization rate, and the basal fertilizer ratio; when the prescription type is a topdressing type, determining the pure nutrient content of the target nutrient based on the nutrient values, the target fertilizer requirement corresponding to the topdressing type, the correction coefficient, and the fertilizer utilization rate.
[0010] In one embodiment of the present invention, the step of merging patches with areas smaller than a preset threshold in each of the base map patches into adjacent patches, and fusing patches with the same prescription attributes to obtain prescription patches, includes: calculating the patch area of each of the base map patches; identifying base map patches with patch areas smaller than the preset threshold as patches to be merged; identifying target adjacent patches from adjacent patches that border the patches to be merged and whose patch areas are not smaller than the preset threshold; merging the patches to be merged into the target adjacent patches; fusing the merged patches according to the prescription attributes, and redetermining the patch area based on the fused geometry.
[0011] A second aspect of the present invention provides a farmland prescription map generation system, comprising: a data acquisition module, configured to acquire plot spatial data, first nutrient spatial data, second nutrient spatial data, fertilization parameter data, and prescription type of a target plot, wherein the first nutrient spatial data characterizes the nutrient spatial distribution within the target plot, the second nutrient spatial data characterizes the plot-level nutrient level of the target plot, and the prescription type is either a basal fertilizer type or a topdressing type; a spatial fusion module, configured to perform spatial overlay of the plot spatial data with the first nutrient spatial data and the second nutrient spatial data to obtain nutrient patches, wherein the nutrient patches include internal nutrient attributes inherited from the first nutrient spatial data and plot-level nutrient attributes inherited from the second nutrient spatial data; and to subtract the coverage area of the nutrient patches from the operating range to obtain gap patches, configure nutrient attributes for the gap patches, and merge the configured gap patches with the nutrient map. The system merges patches to obtain a spatial base map; a parameter association module is used to associate the fertilization parameter data with each base map patch, and for at least one target nutrient, determines the nutrient value of each target nutrient from candidate values including the values of the internal nutrient attributes and the values of the plot-level nutrient attributes, based on the variable principles corresponding to each target nutrient in the fertilization parameter data; a fertilization calculation module is used to determine the pure nutrient content of each base map patch according to the fertilization calculation rules corresponding to the prescription type, based on the nutrient value and the fertilization parameter data; a patch processing module is used to merge patches with an area smaller than a preset threshold into adjacent patches, and merge patches with the same prescription attributes to obtain prescription patches; a fertilizer conversion module is used to perform commercial fertilizer conversion based on the pure nutrient content of the prescription patches, and generate a prescription map containing the prescription patches and their fertilization amount attributes, wherein the fertilization amount attributes include fertilizer application information for the variable fertilizer applicator to read.
[0012] A third aspect of the present invention provides an electronic device, including a processor and a memory, wherein the memory stores a computer program, and the processor executes the computer program to implement the farmland prescription map generation method described in the first aspect.
[0013] A fourth aspect of the present invention provides a computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program, which, when executed by a processor, implements the farmland prescription map generation method described in the first aspect.
[0014] Compared with the prior art, the technical effects achieved by the present invention are as follows: The farmland prescription map generation method provided by this invention superimposes first nutrient spatial data, representing the spatial distribution of nutrients within a plot, and second nutrient spatial data, representing the nutrient level at the plot level, onto the plot spatial data. This allows the generated nutrient patches to simultaneously carry internal nutrient attributes and plot-level nutrient attributes, providing a unified data foundation for subsequently determining the nutrient values of target nutrients according to variable principles. The difference between the operating range and the coverage area of the nutrient patches forms gap patches, which are then incorporated into the spatial base map after configuring nutrient attributes. This ensures the spatial base map is composed of both nutrient patches and gap patches, reducing blank patches generated during prescription map generation due to incomplete coverage. After fertilization parameter data is associated with each base map patch, the pure nutrient content is determined according to the fertilization calculation rules corresponding to the prescription type. The prescription map is then generated through small patch incorporation, prescription attribute fusion, and commercial fertilizer conversion, ensuring the prescription map simultaneously contains prescription patches and fertilizer application information for variable fertilizer application machines. This solves the technical problem that, during the generation of variable fertilization prescription maps, it is difficult to unify the spatial distribution of nutrients within the plot with the plot-level nutrient level in the calculation of the plot, and the prescription plot does not completely cover the target plot's operating range. Attached Figure Description
[0015] Figure 1 This is a flowchart of a method for generating farmland prescription maps according to an embodiment of the present invention; Figure 2 This is a framework diagram of a farmland prescription map generation system according to an embodiment of the present invention; Figure 3 This is a framework diagram of an electronic device according to an embodiment of the present invention. Detailed Implementation
[0016] Unless otherwise expressly stated, throughout the specification and claims, the term "comprising" or its variations such as "including" or "comprises" shall be understood to include the stated elements or components without excluding other elements or other components.
[0017] The technical solution of the present invention is illustrated below through specific embodiments. It should be understood that the one or more steps mentioned in the present invention do not preclude the existence of other methods and steps before or after the combined steps, or that other methods and steps may be inserted between these explicitly mentioned steps. It should also be understood that these examples are for illustrative purposes only and are not intended to limit the scope of the present invention. Unless otherwise stated, the numbering of each method step is only for the purpose of identifying each method step, and not for limiting the order of each method or limiting the scope of the present invention. Changes or adjustments to their relative relationships, without substantial changes to the technical content, can also be considered as within the scope of the present invention.
[0018] In one embodiment of the present invention, a method for generating farmland prescription maps is provided. This method can be executed by an agricultural management platform, a geographic information processing server, or an electronic device deployed with geospatial computing programs. The spatial data of the target plot is used to represent the spatial extent of the target plot, and may include plot boundaries, plot identifiers, and areal geometric data corresponding to the plot boundaries. First nutrient spatial data is used to characterize the spatial distribution of nutrients within the target plot, and second nutrient spatial data is used to characterize the plot-level nutrient level of the target plot. Fertilization parameter data is used to participate in the determination of nutrient values and calculation of fertilizer application rates during the prescription map generation process, and the prescription type is used to distinguish whether the currently generated prescription map is a basal fertilizer type prescription map or a topdressing type prescription map.
[0019] S101, Obtain the target plot's spatial data, first nutrient spatial data, second nutrient spatial data, fertilization parameter data, and prescription type.
[0020] In this embodiment, the spatial data of the target plot is first determined based on its identifier or spatial range, and the first nutrient spatial data, second nutrient spatial data, and fertilization parameter data corresponding to the target plot are read simultaneously. Both the first and second nutrient spatial data have spatial location attributes, enabling spatial calculations with the plot spatial data. The prescription type is either a basal fertilizer type or a top dressing type, used to determine the fertilization calculation rules used for subsequent pure nutrient calculations.
[0021] Optionally, the first nutrient spatial data can correspond to the nutrient differences in different areas within the target plot, while the second nutrient spatial data can correspond to the nutrient level of the target plot as a whole or at the plot-level statistical scale. Both can be areal spatial data or datasets that have undergone spatial processing and can participate in spatial overlay.
[0022] In one specific implementation, when the prescription type is basal fertilizer, the first nutrient spatial data includes data characterizing the spatial distribution of available nitrogen, available phosphorus, and available potassium in the soil within the target plot, and the second nutrient spatial data includes data characterizing the plot-level soil levels of available nitrogen, available phosphorus, and available potassium in the target plot. When the prescription type is topdressing, the first nutrient spatial data includes data characterizing the spatial distribution of total nitrogen, total phosphorus, and total potassium in the leaves within the target plot, and the second nutrient spatial data includes data characterizing the plot-level leaves levels of total nitrogen, total phosphorus, and total potassium in the target plot. The basal fertilizer and topdressing types share the same spatial overlay, gap patch completion, and patch processing workflows, and the corresponding nutrient spatial data and fertilization parameter data are retrieved according to the prescription type.
[0023] S102, perform spatial overlay of the plot spatial data with the first nutrient spatial data and the second nutrient spatial data to obtain nutrient patches.
[0024] In this embodiment, the land parcel spatial data is used to define the land parcel range for generating the prescription map, and the first nutrient spatial data and the second nutrient spatial data provide nutrient attributes at different spatial scales. After spatial overlay, the generated nutrient patch is located within the spatial range corresponding to the target land parcel, and includes internal nutrient attributes inherited from the first nutrient spatial data and land parcel-level nutrient attributes inherited from the second nutrient spatial data.
[0025] It should be noted that spatial overlay is used to bring nutrient data from different sources and at different spatial scales into the same patch system. A nutrient patch can be understood as a planar unit carrying spatial geometric boundaries and nutrient attributes. Each nutrient patch can be used as a processing object for subsequent fertilization parameter association, nutrient value determination, and pure nutrient calculation.
[0026] S103, subtract the coverage area of the nutrient patch from the operating area to obtain the void patch, configure the nutrient attribute for the void patch and merge it with the nutrient patch to obtain the spatial base map.
[0027] In this embodiment, the work area is determined by the land parcel spatial data, representing the spatial range that the prescription map needs to cover. After calculating the difference between the work area and the coverage area of the nutrient patches, the void patches not covered by the nutrient patches can be obtained. Subsequently, nutrient attributes are configured for the void patches, and the void patches with configured nutrient attributes are merged with the nutrient patches, so that the base map patches in the spatial base map are composed of both the nutrient patches and the void patches with configured nutrient attributes.
[0028] In this embodiment, the void patch, as part of the spatial base map, participates in subsequent processing and also possesses patch geometry and nutrient attributes. The spatial base map obtained by merging the nutrient patch and the void patch is used to carry patch data in the processes of fertilization parameter association, pure nutrient calculation, small patch processing, commercial fertilizer conversion, and prescription map output.
[0029] S104, associate the fertilization parameter data with each base map patch, and for at least one target nutrient, determine the nutrient value of each target nutrient from the candidate values, including the values of internal nutrient attributes and the values of plot-level nutrient attributes, based on the variable principle corresponding to each target nutrient in the fertilization parameter data.
[0030] In this embodiment, the base map patches have geometric boundaries and nutrient attributes derived from the spatial base map. After the fertilization parameter data is associated with the base map patches, each base map patch can obtain parameter information corresponding to the prescription type and target nutrient. For any target nutrient, the nutrient value used for calculation is selected from the candidate values according to the variable principle corresponding to the target nutrient.
[0031] The target nutrient can be at least one of nitrogen, phosphorus, and potassium, or other nutrient items related to prescription map generation. Candidate values include at least internal nutrient attribute values and plot-level nutrient attribute values, enabling the same base map patch to select nutrient data at different spatial scales for calculation based on variable principles.
[0032] S105, according to the fertilization calculation rules corresponding to the prescription type, based on nutrient values and fertilization parameter data, determine the pure nutrient content of each base map patch.
[0033] In this embodiment, when the prescription type is basal fertilizer, the fertilization calculation rules corresponding to the basal fertilizer type are adopted; when the prescription type is topdressing, the fertilization calculation rules corresponding to the topdressing type are adopted. For each base map patch, the corresponding pure nutrient content is calculated using the nutrient values of the target nutrient determined in the previous step and the fertilization parameter data associated with that base map patch.
[0034] This pure nutrient component represents nutrient application data at the base map patch level, used to characterize the fertilization requirements of the target nutrient in the corresponding base map patch. For cases involving multiple target nutrients, the pure nutrient component of each target nutrient in each base map patch can be determined separately.
[0035] S106, merge the patches with areas smaller than a preset threshold in each base map patch into adjacent patches, and fuse patches with the same prescription attributes to obtain prescription patches.
[0036] In this embodiment, patches with areas smaller than a preset threshold are first identified based on the area of the base map patches, and these patches are merged into adjacent patches. Subsequently, patches with the same prescription attributes are fused. After the above processing, prescription patches used to generate the prescription map are obtained.
[0037] The prescription attributes characterize the attribute information of the patch in the prescription map generation process, which can include prescription type, net nutrient content of the target nutrient, and attributes related to fertilizer application rate generation. The prescription patch retains the fused spatial geometry and the corresponding fertilizer calculation results for subsequent commercial fertilizer conversion.
[0038] S107, Based on the pure nutrient content of the prescription patch, perform commercial fertilizer conversion to generate a prescription map containing the prescription patch and its fertilizer application rate attributes.
[0039] In this embodiment, the pure nutrient content corresponding to the prescription patch is converted into the application rate of commercial fertilizer, and the conversion result is written into the fertilizer application rate attribute of the prescription patch. The generated prescription map includes the spatial geometry of each prescription patch and the corresponding fertilizer application rate attribute, which includes fertilizer application rate information for the variable fertilizer applicator to read.
[0040] After generating the prescription map, each prescription patch in the prescription map serves as a spatial operation unit, and the fertilizer application rate attribute serves as the data content read by the variable fertilizer applicator. The prescription map can be output as a vector file, a spatial data table, or other data formats that can express the geometry of the patches and the fertilizer application rate attribute.
[0041] In this embodiment, first nutrient spatial data representing the spatial distribution of nutrients within a plot and second nutrient spatial data representing the plot-level nutrient level are superimposed onto the plot spatial data. This allows the generated nutrient patches to simultaneously carry both internal nutrient attributes and plot-level nutrient attributes, providing a unified data foundation for subsequently determining the nutrient values of target nutrients according to the variable principle. The difference between the operating range and the coverage area of the nutrient patches forms gap patches, which are then incorporated into the spatial base map after configuring nutrient attributes. This ensures the spatial base map is composed of both nutrient patches and gap patches, reducing blank patches generated during prescription map generation due to incomplete coverage. After fertilization parameter data is associated with each base map patch, the pure nutrient content is determined according to the fertilization calculation rules corresponding to the prescription type. This is then processed through small patch incorporation, prescription attribute fusion, and commercial fertilizer conversion to generate a prescription map. This ensures the prescription map simultaneously contains prescription patches and fertilizer application information for the variable fertilizer applicator to read. This solves the technical problem that, during the generation of variable fertilization prescription maps, it is difficult to unify the spatial distribution of nutrients within the plot with the plot-level nutrient level in the calculation of the plot, and the prescription plot does not completely cover the target plot's operating range.
[0042] In an optional embodiment of the present invention, the land parcel spatial data is superimposed with the first nutrient spatial data and the second nutrient spatial data in an execution space to obtain a nutrient patch, including but not limited to: intersecting the land parcel spatial data with the first nutrient spatial data in an execution space to obtain a first intersecting patch; and intersecting the first intersecting patch with the second nutrient spatial data in an execution space to obtain a nutrient patch.
[0043] Specifically, using land parcel spatial data as the spatially defined object, the land parcel spatial data is first spatially intersected with the first nutrient spatial data, so that the portion of the first nutrient spatial data falling within the target land parcel area is extracted as the first intersecting patch. The geometric boundary of the first intersecting patch is determined by the overlapping area of the land parcel spatial data and the first nutrient spatial data, and its attribute data includes at least the land parcel attributes corresponding to the target land parcel and the internal nutrient attributes from the first nutrient spatial data.
[0044] Furthermore, the first intersecting patch is used as the input for another spatial overlay, and spatial intersection is performed with the second nutrient spatial data to obtain nutrient patches. The second nutrient spatial data is used to characterize the plot-level nutrient level of the target plot. Through this spatial intersection, the first intersecting patch is further subdivided or preserved as a patch unit that can simultaneously associate internal nutrient attributes and plot-level nutrient attributes. The resulting nutrient patch has spatial geometric boundaries and serves as the base patch for subsequent gap patch completion, fertilization parameter association, and pure nutrient calculation.
[0045] For example, the first nutrient spatial data can correspond to the nutrient spatial distribution in different areas within the target plot, while the second nutrient spatial data can correspond to the nutrient level at the overall statistical scale of the target plot. By processing the data in the order of first intersecting with the first nutrient spatial data and then intersecting with the second nutrient spatial data, a correspondence between internal nutrient attributes and plot-level nutrient attributes can be formed in the same nutrient patch.
[0046] In an optional embodiment of the present invention, the working range is a target plot buffer generated based on plot spatial data; the difference between the working range and the coverage range of the nutrient patch is used to obtain the gap patch, including but not limited to: calculating the geometric union of all nutrient patches belonging to the same target plot; the difference between the target plot buffer and the geometric union is used to obtain the gap patch; Specifically, after obtaining nutrient patches, using the same target plot as the processing unit, geometric merging is performed on all nutrient patches belonging to that target plot to obtain the corresponding geometric union. This geometric union represents the range of patches that have been superimposed and covered by the first and second nutrient spatial data, and its geometric boundary is jointly determined by the boundaries of each nutrient patch.
[0047] In one example, the buffer distance of the target plot buffer zone can be configured to 10 meters. The buffer distance can be determined based on at least one of the variable fertilizer applicator's operating width, positioning error, and field-end turning radius. For example, the operating width is six times the standard ridge width of 1.1 meters, i.e., 6.6 meters; the operating deviation of the variable fertilizer applicator when traveling to the edge or end of the field is no greater than 0.5 meters; and the field-end turning radius is no greater than one operating width. In this scenario, the buffer distance is set to be no less than the operating width, so 10 meters can be taken as the buffer distance of the target plot buffer zone. Thus, the operating range can cover the prescription map reading range corresponding to the area near the plot boundary and the field-end turning area.
[0048] Further, the operational scope of the target plot is determined based on the plot spatial data. In this embodiment, the operational scope can be a target plot buffer zone, which is formed by extending outward or in a preset direction from the plot boundary corresponding to the plot spatial data, and is used to represent the spatial range that the prescription map needs to cover during the operation. Subsequently, the target plot buffer zone is subtracted from the above-mentioned geometric union execution space to obtain the area not covered by the nutrient patch, and this area is used as the gap patch.
[0049] The void patch includes at least one of boundary voids, attribute-free stripes, and invalid geometric voids. In specific implementation, the void patch may include boundary voids formed between the target plot boundary and the nutrient patch boundary, attribute-free stripes formed by overlaying different nutrient spatial data, and invalid geometric voids generated during spatial geometric processing. For batch plot processing, geometric union calculation and difference processing can be performed on each target plot individually, so that each target plot forms a void patch corresponding to its operating range.
[0050] In an optional embodiment of the present invention, after configuring nutrient attributes for the void patches, they are merged with nutrient patches to obtain a spatial base map, including but not limited to: configuring the nutrient attributes of the void patches to preset nutrient attribute values; merging the void patches with configured nutrient attributes with nutrient patches; and performing geometric validity repair, empty geometry filtering, and area filtering on the merged patches to obtain a spatial base map.
[0051] Specifically, after obtaining the void patches, a nutrient attribute structure consistent with that of the nutrient patches is established for them, enabling the void patches to participate as base map patches in subsequent fertilization parameter association and pure nutrient calculation. This nutrient attribute structure may include internal nutrient attributes corresponding to the first nutrient spatial data, and plot-level nutrient attributes corresponding to the second nutrient spatial data. For void patches lacking actual nutrient observations, their nutrient attributes are configured to preset nutrient attribute values to ensure data structure consistency between the void patches and the nutrient patches.
[0052] For example, the preset nutrient attribute values can be pre-configured default values. In cases where internal nutrient attributes and plot-level nutrient attributes each contain multiple nutrient fields, corresponding preset nutrient attribute values can be written for each nutrient field. Thus, after the void patches are merged into the spatial base map, they still have complete attribute fields, avoiding interruptions in subsequent calculations due to missing fields.
[0053] In one specific implementation, the nutrient attributes of the void patch include internal nutrient attributes corresponding to the first nutrient spatial data and plot-level nutrient attributes corresponding to the second nutrient spatial data. The internal nutrient attributes may include ANshp, APshp, and AKshp, and the plot-level nutrient attributes may include ANplot, APplot, and AKplot. For void patches obtained by subtracting the coverage area of the nutrient patch from the operating range, ANshp, APshp, AKshp, ANplot, APplot, and AKplot are all assigned a value of 0.0. Through this assignment process, the void patch maintains consistency with the nutrient patch in terms of attribute field structure and can serve as a base map patch for subsequent fertilization parameter association and pure nutrient calculation.
[0054] Furthermore, the void patches configured with nutrient attributes are merged with the nutrient patches to form a set of patches covering the target plot's operational area. The merged set of patches includes both nutrient patches obtained through spatial overlay and void patches configured with nutrient attributes; together, they constitute the base map patches of the spatial base map.
[0055] Before forming the spatial base map, geometric validity repair, empty geometry filtering, and area filtering can be performed on the merged patches. Geometric validity repair is used to handle cases such as patch self-intersection, boundary anomalies, or geometric type anomalies; empty geometry filtering is used to remove patches that do not have a valid spatial extent; and area filtering is used to remove patches with an area smaller than the preset filtering conditions. After the above processing, the resulting spatial base map has both geometric boundaries and nutrient attributes that can be used for calculation.
[0056] In an optional embodiment of the present invention, the pure nutrient content of each base map patch is determined according to the fertilization calculation rules corresponding to the prescription type, based on nutrient values and fertilization parameter data. This includes, but is not limited to: when the prescription type is a basal fertilizer type, the pure nutrient content of the target nutrient is determined based on nutrient values, the target fertilizer requirement corresponding to the basal fertilizer type, the correction coefficient, the fertilizer utilization rate, and the proportion of basal fertilizer; when the prescription type is a topdressing type, the pure nutrient content of the target nutrient is determined based on nutrient values, the target fertilizer requirement corresponding to the topdressing type, the correction coefficient, and the fertilizer utilization rate.
[0057] Specifically, for any target nutrient X in any base map patch, X can be one of nitrogen, phosphorus, or potassium. When the prescription type is basal fertilizer, the nutrient value V_X participating in the basal fertilizer calculation is first determined according to the variable principle corresponding to the target nutrient X. When the variable principle corresponds to the internal variable principle, V_X is the value of the internal nutrient attribute of the base map patch; when the variable principle corresponds to the plot-level variable principle, V_X is the value of the plot-level nutrient attribute of the base map patch. For the invariant principle, V_X is not determined by the value of the internal nutrient attribute or the plot-level nutrient attribute, but by calling the default pure nutrient component corresponding to the crop to participate in the determination of the pure nutrient component.
[0058] In one implementation, the base fertilizer correction coefficient jf_adj_X is determined according to the following formula: jf_adj_X=[jf_tar_X-default_X×jf_rate_X÷(jf_ratio_X×15×0.01)]÷[mean(V_X_shp)×α].
[0059] Wherein, `default_X` is the default pure nutrient component corresponding to the crop type and basal fertilizer type, `jf_rate_X` is the fertilizer utilization rate corresponding to the target nutrient X under the basal fertilizer type, `jf_ratio_X` is the application ratio of the target nutrient X in the basal fertilizer stage, and `mean(V_X_shp)` is the average value of the target nutrient X in the soil nutrient layer within the target plot. This formula is used to ensure that the pure nutrient component obtained according to the basal fertilizer application calculation rules corresponds to the default pure nutrient component when the nutrients within the target plot are at the average level.
[0060] Specifically, the statistical range of mean(V_X_shp) is the effective patch corresponding to the target nutrient X in the soil nutrient layer within the target plot boundary and the base fertilizer area. When X is N, P, or K, the ANshp, APshp, and AKshp fields are used respectively. The statistical range does not include other plots, the target plot buffer zone, void backfill patches, or plot-level nutrient fields. The mean(V_X_shp) is obtained by weighting the area of each effective patch within the target plot.
[0061] When determining the valid patches, patches with field values of Null, NaN, infinite, non-positive, or exceeding the preset effective range of soil nutrients are not included in the statistics.
[0062] If no valid patches are found after filtering, and the resulting mean(V_X_shp) is 0, NaN, or infinite, jf_ratio_X is 0, or α is 0, the above division formula is not used. Instead, the preset default correction coefficient for basal fertilizer is read according to the crop type. If the default correction coefficient for basal fertilizer is still unavailable, automatic calculation stops and a data anomaly message is given. The above anomalies and the default parameter rollback process are recorded.
[0063] Under the basal fertilizer type, when the variable principle is the internal variable principle or the plot-level variable principle, the basal fertilizer requirement corresponding to the target nutrient X is determined according to the following formula: jf_amo_X=jf_tar_X-V_X×α×jf_adj_X.
[0064] Wherein, jf_amo_X is the basal fertilizer requirement corresponding to the target nutrient X, jf_tar_X is the target nutrient requirement corresponding to the target nutrient X, V_X is the nutrient value determined according to the variable principle, α is the nutrient conversion coefficient, and jf_adj_X is the correction coefficient corresponding to the target nutrient X under the basal fertilizer type. For example, α can be 0.15, or it can be configured according to crop type, regional fertilization system, or fertilization parameter data.
[0065] When jf_amo_X is greater than zero and V_X is non-zero, the temporary pure nutrient component of the basal fertilizer corresponding to the target nutrient X is determined according to the following formula: Xtemp=jf_amo_X÷jf_rate_X×jf_ratio_X×15×0.01.
[0066] Where Xtemp is the temporary pure nutrient content corresponding to the target nutrient X, jf_rate_X is the fertilizer utilization rate corresponding to the target nutrient X under the basal fertilizer type, and jf_ratio_X is the application ratio of the target nutrient X in the basal fertilizer stage. The 15 in the formula is used for area unit conversion between hectares and mu (unit of land area), and 0.01 is used to convert the percentage form of basal fertilizer ratio into a calculation ratio.
[0067] When jf_amo_X is greater than zero and V_X is zero, the default pure nutrient component corresponding to the crop is used as the pure nutrient component corresponding to the target nutrient X; when jf_amo_X is less than or equal to zero, the temporary pure nutrient component corresponding to the target nutrient X is set to zero. For the invariant principle, the pure nutrient component corresponding to the target nutrient X is directly determined based on the default pure nutrient component corresponding to the crop.
[0068] When the prescription type is topdressing, for any target nutrient X in any base map patch, first determine the nutrient value V_X participating in the topdressing calculation according to the variable principle corresponding to the target nutrient X, and then read the fertilization parameters corresponding to the topdressing type. The fertilization parameters corresponding to the topdressing type may include at least one of the following: target fertilizer requirement, topdressing correction coefficient, fertilizer utilization rate, and default pure nutrient content.
[0069] In one implementation, the topdressing correction coefficient zf_adj_X is determined according to the following formula: zf_adj_X=(zf_tar_X-default_X×zf_rate_X÷15)÷mean(V_X_shp).
[0070] Where zf_tar_X is the target fertilizer requirement corresponding to the target nutrient X under the topdressing type, default_X is the default pure nutrient content corresponding to the crop type and topdressing type, zf_rate_X is the fertilizer utilization rate corresponding to the target nutrient X under the topdressing type, and mean(V_X_shp) is the average leaf nutrient value corresponding to the target plot. The 15 in the formula is used for area unit conversion between hectares and mu (unit of land area) to unify the units of default_X and zf_tar_X; the unit of mean(V_X_shp) is consistent with the unit of the input leaf nutrient field.
[0071] Specifically, the statistical range of mean(V_X_shp) is the effective patch corresponding to the target nutrient X in the leaf nutrient layer within the target plot boundary and inside the topdressing area. When X is N, P, or K, the ANshp, APshp, and AKshp fields are used respectively. The statistical range does not include other plots, the target plot buffer zone, gap backfill patches, or plot-level nutrient fields. The mean(V_X_shp) is obtained by weighting the area of each effective patch within the target plot.
[0072] When determining the valid patches, patches with field values of Null, NaN, infinity, non-positive, or exceeding the preset effective range of leaf nutrients are not included in the statistics.
[0073] When the statistical range of valid map patches cannot be determined due to missing plot numbers, the following default correction coefficient rollback rules shall apply.
[0074] If no valid patches are found after filtering, or if the resulting mean(V_X_shp) is 0, NaN, or infinite, the above division formula is not used. Instead, a preset default correction coefficient is read based on the crop type and either root fertilization or foliar fertilization type. If the default correction coefficient is still unavailable, automatic calculation stops and a data anomaly message is displayed. The above anomalies and the default parameter rollback process are recorded.
[0075] Under the topdressing type, when the variable principle is the internal variable principle or the plot-level variable principle, the topdressing requirement corresponding to the target nutrient X is determined according to the following formula: zf_amo_X=zf_tar_X-V_X×zf_adj_X.
[0076] Where zf_amo_X is the topdressing requirement corresponding to the target nutrient X, zf_tar_X is the target nutrient requirement corresponding to the target nutrient X under the topdressing type, V_X is the nutrient value determined according to the variable principle, and zf_adj_X is the correction coefficient corresponding to the target nutrient X under the topdressing type.
[0077] When zf_amo_X is greater than zero and V_X is non-zero, the temporary pure nutrient component corresponding to the target nutrient X is determined according to the following formula: Xtemp=zf_amo_X÷zf_rate_X×15.
[0078] Where zf_rate_X represents the fertilizer utilization rate corresponding to the target nutrient X under the topdressing type, and 15 in the formula is used for area unit conversion between hectares and mu (unit of land area). When zf_amo_X is greater than zero and V_X is missing or zero, the default pure nutrient component corresponding to the crop type and topdressing type is used as the pure nutrient component corresponding to the target nutrient X; when zf_amo_X is less than or equal to zero, the temporary pure nutrient component corresponding to the target nutrient X is set to zero. For the invariant principle, the pure nutrient component corresponding to the target nutrient X is directly determined based on the default pure nutrient component corresponding to the crop type and topdressing type.
[0079] For example, fertilization parameter data can include basal fertilizer parameters and topdressing parameters, and each parameter is configured in the order of nitrogen, phosphorus, and potassium. For basal fertilizer type, the basal fertilizer utilization rate jf_rate_N / P / K for soybeans can be 0.3 / 0.2 / 0.25, and the basal fertilizer utilization rate jf_rate_N / P / K for corn can be 0.3 / 0.25 / 0.35; the basal fertilizer ratio jf_ratio_N / P / K for soybeans can be 60 / 100 / 80, and the basal fertilizer ratio jf_ratio_N / P / K for corn can be 40 / 100 / 80, with the basal fertilizer ratio in percentage; the default pure nutrient content default_N / P / K for soybeans can be 48 / 69 / 20 kg / ha, and the default pure nutrient content default_N / P / K for corn can be 82 / 92 / 38 kg / ha.
[0080] For topdressing types, the fertilizer utilization rates (zf_rate_N / P / K) for soybean foliar application, maize rhizosphere application, and maize foliar application can be 0.3 / 0.2 / 0.25, 0.3 / 0.25 / 0.35, and 0.35 / 0.25 / 0.35, respectively; the corresponding default pure nutrient amounts (default_N / P / K) can be 1.15 / 1.2 / 0.38, 115 / 120 / 38, and 4.6 / 4.78 / 1.52 kg / ha, respectively. The above parameters are only feasible configuration examples; actual values can be configured according to crop type, fertilization stage, topdressing type, and regional fertilization regime.
[0081] In an optional embodiment of the present invention, patches with areas smaller than a preset threshold in each base map patch are merged into adjacent patches, and patches with the same prescription attributes are fused to obtain prescription patches, including but not limited to: calculating the patch area of each base map patch; identifying base map patches with patch areas smaller than a preset threshold as patches to be merged; identifying target adjacent patches from adjacent patches that border the patches to be merged and whose patch areas are not smaller than the preset threshold; merging the patches to be merged into the target adjacent patches; fusing the merged patches according to the prescription attributes, and redetermining the patch area based on the fused geometry; and converting commercial fertilizer based on the pure nutrient content of the prescription patches, including: determining the unit dosage of commercial fertilizer based on the pure nutrient content of the prescription patches, and determining the total amount of commercial fertilizer for the patches based on the unit dosage of commercial fertilizer before rounding and the patch area of the prescription patches.
[0082] Specifically, after determining the pure nutrient components of each base map patch, the area of each patch is first calculated. The patch area is used to determine whether the base map patch meets the spatial scale required for prescription map execution. Base map patches with an area less than a preset threshold are identified as patches to be merged. The preset threshold can be pre-configured according to the prescription map generation requirements and is used to distinguish between patches that need to be retained and patches that need to be merged into adjacent patches.
[0083] Furthermore, for any patch to be merged, adjacent patches bordering the patch to be merged are searched within the range of the base map patch corresponding to the same target land parcel, and patches with an area not less than a preset threshold are selected as candidate adjacent patches from the adjacent patches. The candidate adjacent patches are large patches that can receive the patch to be merged.
[0084] When at least one candidate adjacent polygon exists, the shared boundary length between the polygon to be merged and each candidate adjacent polygon is calculated, and the candidate adjacent polygon with the longest shared boundary length is determined as the target adjacent polygon. Subsequently, the polygon to be merged is incorporated into the target adjacent polygon, so that the spatial extent of the polygon to be merged is included in the spatial extent of the target adjacent polygon.
[0085] When there are no adjacent candidate patches for a patch to be merged, the patch to be merged is retained and the merging process is not performed.
[0086] In one example, the small patch merging process is executed in a two-stage batch processing manner: first, based on the adjacency relationship and shared boundary length between each patch to be merged and its candidate neighboring patches, the target neighboring patches corresponding to each patch to be merged are determined; then, the patch merging process is performed in batches based on the determined target neighboring patches. During this process, the spatial geometry of the base map patches is not changed during the target neighboring patch determination stage.
[0087] After the merging of the plots to be merged is completed, the merged plots are then fused according to prescription attributes. Prescription attributes are used to limit the allowed combinations of plot attributes to be merged; only plots with identical prescription attributes undergo geometric fusion. For basal fertilizer types, prescription attributes may include plot identifier, crop type, basal fertilizer gradient, basal fertilizer variable principle, default pure nutrient component, and pure nutrient component; for topdressing types, prescription attributes may include plot identifier, crop type, topdressing gradient, topdressing variable principle, default pure nutrient component, and pure nutrient component.
[0088] In one example, the prescription attributes for the basal fertilizer type include plot_name, crop_name, jf_N_grad, jf_P_grad, jf_K_grad, jf_vari_N, jf_vari_P, jf_vari_K, default_N, default_P, default_K, PureN, PureP, and PureK. The prescription attributes for the topdressing fertilizer type include plot_name, crop_name, zf_N_grad, zf_P_grad, zf_K_grad, zf_vari_N, zf_vari_P, zf_vari_K, default_N, default_P, default_K, PureN, PureP, and PureK. Patches with identical fields can be merged as patches with the same prescription attributes.
[0089] After fusion, the area of the prescription patch is recalculated based on the fused geometry, and this area is denoted as final_area. The fused prescription patch does not directly inherit the original patch area, total amount of commercial fertilizer, and fertilizer application information of the merged patch; after obtaining final_area, the unit application rate of commercial fertilizer, the total amount of commercial fertilizer in the patch, and the fertilizer application information for the variable fertilizer applicator are re-determined based on the fused prescription patch.
[0090] After determining the pure nutrient content of the prescription plots, commercial fertilizer conversion is performed based on the corresponding PureN, PureP, and PureK. The units for PureN, PureP, and PureK are kg / ha, with PureP using the phosphorus pentoxide effective ingredient standard and PureK using the potassium oxide effective ingredient standard. The commercial fertilizer unit dosage indicates the application rate of the corresponding commercial fertilizer per unit area, and its unit is kg / ha.
[0091] For example, the commercial fertilizer includes urea, diammonium phosphate, and potassium sulfate. The nitrogen content of urea is assumed to be 46%, the nitrogen content of diammonium phosphate is assumed to be 18%, the phosphorus pentoxide content is assumed to be 46%, and the potassium oxide content of potassium sulfate is assumed to be 50%. Based on the above proportions of active ingredients, the unit dosage of the commercial fertilizer before rounding is determined according to the following formula: UREA_raw=max((PureN-PureP×0.180÷0.460)÷0.460,0); DAP_raw = PureP ÷ 0.460; SOP_raw = PureK ÷ 0.500.
[0092] Where UREA_raw represents the unit dosage of urea before rounding, DAP_raw represents the unit dosage of diammonium phosphate before rounding, and SOP_raw represents the unit dosage of potassium sulfate before rounding. The calculation of the unit dosage of urea deducts the amount of nitrogen introduced by diammonium phosphate, and the maximum value is used to ensure that the unit dosage of urea is not less than zero.
[0093] Furthermore, UREA_raw, DAP_raw, and SOP_raw can be processed according to preset integerization rules to obtain the unit dosages of fertilizer UREA, DAP, and SOP used for writing into the prescription map attributes. The preset integerization rules can be rounding, rounding up, rounding down, or rounding according to a preset step size; this invention does not specifically limit these rules.
[0094] When calculating the total amount of commercial fertilizer for a given prescription patch, the unit application rate of the commercial fertilizer before rounding is used in the calculation. For any prescription patch, if its area is denoted as final_area, and the unit of final_area is hectares, then the total amount of commercial fertilizer corresponding to that prescription patch is determined according to the following formula: sum_UREA=round(UREA_raw×final_area); sum_DAP=round(DAP_raw×final_area); sum_SOP=round(SOP_raw×final_area).
[0095] Wherein, sum_UREA is the total amount of urea corresponding to the prescription patch, sum_DAP is the total amount of diammonium phosphate corresponding to the prescription patch, and sum_SOP is the total amount of potassium sulfate corresponding to the prescription patch. The units of the three are kilograms.
[0096] Furthermore, when generating the prescription map, the unit dosage of commercial fertilizer is written into the fertilizer application rate attribute of the prescription map patch, and fertilizer application rate information is generated for the variable fertilizer applicator to read. The fertilizer application rate information may include at least one of N, P, K, and mixNPK. Specifically, N represents nitrogen fertilizer application rate information, P represents phosphorus fertilizer application rate information, K represents potassium fertilizer application rate information, and mixNPK represents mixed fertilizer application rate information.
[0097] In one specific implementation, N, P, and K correspond to UREA, DAP, and SOP in the unit dosage of commercial fertilizer, respectively. mixNPK is determined based on N, P, and K, i.e.: N = UREA; P = DAP; K = SOP; mixNPK = N + P + K. The units of N, P, K, and mixNPK are all kilograms per hectare, and the data type can be floating-point. For example, N, P, K, and mixNPK are retained to one decimal place when written to the prescription map attributes.
[0098] For variable-rate fertilizer applicators with multiple independent fertilizer tanks or multiple independent actuators, the applicator can read the field values of N, P, and K separately and map N, P, and K to the nitrogen fertilizer actuator, phosphate fertilizer actuator, and potash fertilizer actuator, respectively. For applications using mixed fertilizer application, the variable-rate fertilizer applicator can read the field value of mixNPK and map mixNPK to the mixed fertilizer actuator.
[0099] Another embodiment of the present invention relates to a farmland prescription map generation system, such as Figure 2 As shown, the system includes: The data acquisition module 20 is used to acquire the plot spatial data, first nutrient spatial data, second nutrient spatial data, fertilization parameter data and prescription type of the target plot. The first nutrient spatial data is used to characterize the nutrient spatial distribution inside the target plot, the second nutrient spatial data is used to characterize the plot-level nutrient level of the target plot, and the prescription type is either a base fertilizer type or a top dressing type. The spatial fusion module 21 is used to perform spatial overlay on the plot spatial data with the first nutrient spatial data and the second nutrient spatial data to obtain nutrient patches. The nutrient patches include internal nutrient attributes inherited from the first nutrient spatial data and plot-level nutrient attributes inherited from the second nutrient spatial data. The module also calculates the difference between the operation range and the coverage range of the nutrient patches to obtain gap patches, configures nutrient attributes for the gap patches, and merges the configured gap patches with the nutrient patches to obtain a spatial base map. The parameter association module 22 is used to associate the fertilization parameter data with each base map patch, and for at least one target nutrient, determine the nutrient value of each target nutrient from candidate values that include at least the values of the internal nutrient attributes and the values of the plot-level nutrient attributes, based on the variable principle corresponding to each target nutrient in the fertilization parameter data. The fertilization calculation module 23 is used to determine the pure nutrient content of each of the base map patches according to the fertilization calculation rules corresponding to the prescription type, based on the nutrient values and the fertilization parameter data; The patch processing module 24 is used to merge patches with an area smaller than a preset threshold into adjacent patches in each of the base map patches, and to fuse patches with the same prescription attributes to obtain prescription patches; The fertilizer conversion module 25 is used to convert commercial fertilizer based on the pure nutrient content of the prescription patch, and generate a prescription map containing the prescription patch and its fertilizer application rate attributes. The fertilizer application rate attributes include fertilizer application rate information for the variable fertilizer applicator to read.
[0100] In an optional embodiment of the present invention, the spatial fusion module 21 includes a spatial overlay submodule, which is used to perform spatial intersection of land parcel spatial data and first nutrient spatial data to obtain a first intersecting patch; and to perform spatial intersection of the first intersecting patch and second nutrient spatial data to obtain a nutrient patch. Thus, the spatial overlay submodule can generate nutrient patches for subsequent spatial base map construction by following the processing order of first intersecting the land parcel spatial data with the first nutrient spatial data, and then intersecting with the second nutrient spatial data.
[0101] In an optional embodiment of the present invention, the spatial fusion module 21 further includes a gap patch generation submodule. The gap patch generation submodule includes a geometric union calculation unit and a difference processing unit. The geometric union calculation unit is used to calculate the geometric union of all nutrient patches belonging to the same target plot; the difference processing unit is used to subtract the target plot buffer from the geometric union to obtain gap patches. The target plot buffer serves as the working area and is generated from plot spatial data; the gap patches include at least one of boundary gaps, attribute-free stripes, and invalid geometric gaps.
[0102] In an optional embodiment of the present invention, the spatial fusion module 21 further includes a spatial base map generation submodule. The spatial base map generation submodule includes an attribute configuration unit, a patch merging unit, and a geometry processing unit. The attribute configuration unit configures the nutrient attributes of the void patches to preset nutrient attribute values; the patch merging unit merges the void patches with the nutrient patches after configuring the nutrient attributes; the geometry processing unit performs geometric validity repair, empty geometry filtering, and area filtering on the merged patches to obtain the spatial base map. After the above processing, the base map patches in the spatial base map include nutrient patches and void patches after configuring the nutrient attributes.
[0103] In an optional embodiment of the present invention, the parameter association module 22 includes a variable principle determination submodule and a nutrient value determination submodule. The variable principle determination submodule is used to determine the variable principles corresponding to each target nutrient from the fertilization parameter data, wherein the variable principle corresponding to any target nutrient is an internal variable principle or a plot-level variable principle. The nutrient value determination submodule is used to determine the value of the internal nutrient attribute as the nutrient value of the target nutrient when the variable principle corresponding to the target nutrient is an internal variable principle; and to determine the value of the plot-level nutrient attribute as the nutrient value of the target nutrient when the variable principle corresponding to the target nutrient is a plot-level variable principle.
[0104] In an optional embodiment of the present invention, the fertilization calculation module 23 includes a basal fertilizer calculation submodule and a topdressing calculation submodule. The basal fertilizer calculation submodule is used to determine the pure nutrient content of the target nutrient when the prescription type is basal fertilizer, based on the nutrient values, the target fertilizer requirement corresponding to the basal fertilizer type, the correction coefficient, the fertilizer utilization rate, and the proportion of basal fertilizer. The topdressing calculation submodule is used to determine the pure nutrient content of the target nutrient when the prescription type is topdressing, based on the nutrient values, the target fertilizer requirement corresponding to the topdressing type, the correction coefficient, and the fertilizer utilization rate.
[0105] In an optional embodiment of the present invention, the patch processing module 24 includes an area calculation submodule, a patch determination submodule, a target adjacent patch determination submodule, a patch merging submodule, and a prescription attribute fusion submodule. The area calculation submodule calculates the patch area of each base map patch; the patch determination submodule identifies base map patches with areas less than a preset threshold as patches to be merged; the target adjacent patch determination submodule identifies target adjacent patches from adjacent patches that border the patch to be merged and whose areas are not less than the preset threshold; the patch merging submodule merges the patch to be merged into the target adjacent patch; and the prescription attribute fusion submodule fuses the merged patches according to prescription attributes and redetermines the patch area based on the fused geometry to obtain prescription patches.
[0106] In an optional embodiment of the present invention, the fertilizer conversion module 25 includes a commercial fertilizer unit dosage determination submodule and a commercial fertilizer total dosage determination submodule. The commercial fertilizer unit dosage determination submodule is used to determine the commercial fertilizer unit dosage based on the pure nutrient content of the prescription patch; the commercial fertilizer total dosage determination submodule is used to determine the total commercial fertilizer dosage of the patch based on the commercial fertilizer unit dosage before rounding and the patch area of the prescription patch. The fertilizer conversion module 25 may further include a fertilizer application information generation submodule, which is used to generate fertilizer application information for the variable fertilizer applicator to read based on the commercial fertilizer unit dosage, and write the fertilizer application information into the fertilizer application attribute of the prescription patch.
[0107] Another embodiment of the present invention relates to an electronic device, such as Figure 3 As shown, it includes: at least one processor 301; and a memory 302 communicatively connected to the at least one processor 301; wherein the memory 302 stores instructions executable by the at least one processor 301, the instructions being executed by the at least one processor 301 to enable the at least one processor 301 to perform the farmland prescription map generation method in the above embodiments.
[0108] The memory and processor are connected via a bus, which can include any number of interconnecting buses and bridges, connecting various circuits of one or more processors and memories. The bus can also connect various other circuits, such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and will not be described further herein. The bus interface provides an interface between the bus and the transceiver. The transceiver can be a single element or multiple elements, such as multiple receivers and transmitters, providing a unit for communicating with various other devices over a transmission medium. Data processed by the processor is transmitted over the wireless medium via an antenna, which further receives data and transmits it to the processor.
[0109] The processor manages the bus and general processing, and also provides various functions, including timing, peripheral interfaces, voltage regulation, power management, and other control functions. Memory is used to store data used by the processor during operation.
[0110] Another embodiment of the present invention relates to a computer-readable storage medium storing a computer program. When executed by a processor, the computer program implements the method embodiments described above.
[0111] That is, those skilled in the art will understand that all or part of the steps in the methods of the above embodiments can be implemented by a program instructing related hardware. This program is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0112] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0113] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0114] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit it. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that modifications or equivalent substitutions can still be made to the specific implementation of the present invention. Any modifications or equivalent substitutions that do not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.
Claims
1. A method for generating farmland prescription maps, characterized in that, include: Acquire the plot spatial data, first nutrient spatial data, second nutrient spatial data, fertilization parameter data and prescription type of the target plot. The first nutrient spatial data is used to characterize the nutrient spatial distribution within the target plot, the second nutrient spatial data is used to characterize the plot-level nutrient level of the target plot, and the prescription type is either a base fertilizer type or a top dressing type. The land parcel spatial data is spatially overlaid with the first nutrient spatial data and the second nutrient spatial data to obtain a nutrient patch. The nutrient patch includes internal nutrient attributes inherited from the first nutrient spatial data and land parcel-level nutrient attributes inherited from the second nutrient spatial data. The difference between the working area and the coverage area of the nutrient patch is used to obtain the void patch. Nutrient attributes are configured for the void patch, and the void patch with configured nutrient attributes is merged with the nutrient patch to obtain the spatial base map. The working area is determined by the land parcel spatial data, and the base map patch in the spatial base map is composed of the nutrient patch and the void patch with configured nutrient attributes. The fertilization parameter data is associated with each of the base map patches. For at least one target nutrient, the nutrient value of each target nutrient is determined from the candidate values, including the values of the internal nutrient attributes and the values of the plot-level nutrient attributes, according to the variable principle corresponding to each target nutrient in the fertilization parameter data. According to the fertilization calculation rules corresponding to the prescription type, the pure nutrient content of each of the base map patches is determined based on the nutrient values and the fertilization parameter data; Patches with an area smaller than a preset threshold in each of the base map patches are merged into adjacent patches, and patches with the same prescription attributes are fused to obtain prescription patches; Based on the pure nutrient content of the prescription patch, commercial fertilizer conversion is performed to generate a prescription map containing the prescription patch and its fertilizer application rate attribute. The fertilizer application rate attribute includes fertilizer application rate information for the variable fertilizer applicator to read. The step of determining the pure nutrient content of each base map patch according to the fertilization calculation rules corresponding to the prescription type, based on the nutrient values and the fertilization parameter data, includes: when the prescription type is a basal fertilizer type, determining the pure nutrient content of the target nutrient based on the nutrient values, the target fertilizer requirement corresponding to the basal fertilizer type, the correction coefficient, the fertilizer utilization rate, and the proportion of basal fertilizer; when the prescription type is a topdressing type, determining the pure nutrient content of the target nutrient based on the nutrient values, the target fertilizer requirement corresponding to the topdressing type, the correction coefficient, and the fertilizer utilization rate. The step of merging patches with areas smaller than a preset threshold in each of the base map patches into adjacent patches, and fusing patches with the same prescription attributes to obtain prescription patches, includes: calculating the patch area of each of the base map patches; identifying base map patches with patch areas smaller than the preset threshold as patches to be merged; identifying target adjacent patches from adjacent patches that border the patches to be merged and whose patch areas are not smaller than the preset threshold; merging the patches to be merged into the target adjacent patches; fusing the merged patches according to the prescription attributes; and redetermining the patch area based on the fused geometry.
2. The method according to claim 1, characterized in that, The step of performing spatial overlay of the land parcel spatial data with the first nutrient spatial data and the second nutrient spatial data to obtain nutrient patches includes: The spatial data of the land parcel is intersected with the spatial data of the first nutrient space to obtain the first intersecting patch; The first intersecting patch is intersected with the second nutrient space data to obtain the nutrient patch.
3. The method according to claim 1, characterized in that, The scope of the operation is the target plot buffer zone generated based on the plot spatial data; The step of subtracting the coverage area of the nutrient patch from the operating area to obtain the gap patch includes: Determine the geometric union of all nutrient patches belonging to the same target plot; The gap patch is obtained by subtracting the target plot buffer from the geometric union. The void patch includes at least one of boundary voids, attribute-free stripes, and invalid geometric voids.
4. The method according to claim 1, characterized in that, Configure nutrient attributes for the void patches and merge the void patches with the nutrient patches after configuring the nutrient attributes to obtain a spatial base map, including: Configure the nutrient properties of the void patches to preset nutrient property values; Merge the void patch with the nutrient patch after configuring the nutrient attributes; The merged polygons are subjected to geometric validity repair, empty geometry filtering, and area filtering to obtain the spatial base map.
5. The method according to claim 1, characterized in that, The fertilization parameter data includes variable principles corresponding to each target nutrient, where the variable principle corresponding to any target nutrient is either an internal variable principle or a plot-level variable principle; wherein... When the variable principle corresponding to the target nutrient is the internal variable principle, the value of the internal nutrient attribute is determined as the nutrient value of the target nutrient; When the variable principle corresponding to the target nutrient is the plot-level variable principle, the value of the plot-level nutrient attribute is determined as the nutrient value of the target nutrient.
6. A farmland prescription map generation system, characterized in that, include: The data acquisition module is used to acquire the plot spatial data, first nutrient spatial data, second nutrient spatial data, fertilization parameter data and prescription type of the target plot. The first nutrient spatial data is used to characterize the nutrient spatial distribution inside the target plot, the second nutrient spatial data is used to characterize the plot-level nutrient level of the target plot, and the prescription type is either a base fertilizer type or a top dressing type. The spatial fusion module is used to perform spatial overlay on the plot spatial data with the first nutrient spatial data and the second nutrient spatial data to obtain nutrient patches. The nutrient patches include internal nutrient attributes inherited from the first nutrient spatial data and plot-level nutrient attributes inherited from the second nutrient spatial data. The module also calculates the difference between the operation range and the coverage range of the nutrient patches to obtain gap patches, configures nutrient attributes for the gap patches, and merges the configured gap patches with the nutrient patches to obtain a spatial base map. The parameter association module is used to associate the fertilization parameter data with each base map patch, and for at least one target nutrient, determine the nutrient value of each target nutrient from candidate values including the values of the internal nutrient attributes and the values of the plot-level nutrient attributes, based on the variable principle corresponding to each target nutrient in the fertilization parameter data. The fertilization calculation module is used to determine the pure nutrient content of each of the base map patches according to the fertilization calculation rules corresponding to the prescription type, based on the nutrient values and the fertilization parameter data; The patch processing module is used to merge patches with an area smaller than a preset threshold into adjacent patches in each of the base map patches, and to fuse patches with the same prescription attributes to obtain prescription patches; The fertilizer conversion module is used to convert commercial fertilizer based on the pure nutrient content of the prescription patch, and generate a prescription map containing the prescription patch and its fertilizer application rate attributes. The fertilizer application rate attributes include fertilizer application rate information for the variable fertilizer applicator to read. The fertilization calculation module includes: a basal fertilizer calculation submodule, used to determine the pure nutrient content of the target nutrient based on nutrient values, the target fertilizer requirement corresponding to the basal fertilizer type, correction coefficient, fertilizer utilization rate, and basal fertilizer ratio when the prescription type is basal fertilizer; and a topdressing calculation submodule, used to determine the pure nutrient content of the target nutrient based on nutrient values, the target fertilizer requirement corresponding to the topdressing type, correction coefficient, and fertilizer utilization rate when the prescription type is topdressing. The patch processing module includes: an area calculation submodule for calculating the patch area of each base map patch; a patch to be merged determination submodule for identifying base map patches with areas less than a preset threshold as patches to be merged; a target adjacent patch determination submodule for identifying target adjacent patches from adjacent patches that border the patch to be merged and whose areas are not less than the preset threshold; a patch merging submodule for merging the patch to be merged into the target adjacent patches; and a prescription attribute fusion submodule for fusing the merged patches according to prescription attributes and redetermining the patch area based on the fused geometry to obtain prescription patches.
7. An electronic device, characterized in that, It includes a processor and a memory, the memory storing a computer program, and the processor executing the computer program to implement the farmland prescription map generation method according to any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the farmland prescription map generation method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Partitioned management method of soil nutrients
CN103081624A
Method for making soil fertilization prescription diagram, soil accurate fertilization prescription diagram and application
CN109829589A
