Soil big data analysis method and device based on physical and chemical condition correction

By setting up observation points in the target area, acquiring soil data in real time and performing image comparison identification and correction factor generation, the problem of deviation caused by sample transportation in soil analysis is solved, efficient and accurate soil data analysis is achieved, and detection costs are reduced.

CN114067113BActive Publication Date: 2024-10-29GUANGXI FORESTRY RES INST
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111313464.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-08
Publication Date
2024-10-29
Estimated Expiration
2041-11-08

AI Technical Summary

Technical Problem

The existing technology in soil analysis can easily lead to result deviation due to the soil sample collection and transportation process, and due to changes in regional and physical and chemical conditions, the detection cost is high and the accuracy is low.

Method used

By setting up multiple observation points in the target area, the physical/chemical parameters and image data of the soil are obtained in real time, and image comparison and identification are performed and correction factors are generated to achieve soil data analysis without soil sample transportation and improve processing efficiency and accuracy.

Benefits of technology

It achieves efficient soil data analysis without touching soil samples, reduces detection costs, improves analysis accuracy, and performs corrections based on changes in physical and chemical conditions, significantly improving soil detection results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114067113B_ABST
    Figure CN114067113B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of big data technology, and in particular to a soil big data analysis method and device based on physical and chemical condition correction. The method performs the following steps: Step 1: multiple observation points are set in the target area, and each observation point obtains a certain physical / chemical parameter of the soil at the location at a set time period, and sends the obtained parameter to a remote end; the types of physical / chemical parameters obtained by each observation point are different; Step 2: each observation point obtains image data of the soil at the location in real time at a set time period, and sends the obtained image data to a remote end. By setting observation points on site and obtaining image data of the soil through the observation points, it is not necessary to transport soil samples and then perform soil analysis. In the analysis process, it is not necessary to measure and analyze each observation point, but to perform normalized analysis and processing, thereby improving processing efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0002] In order to improve the productivity of agricultural products, it is necessary to properly understand the fertility of the soil. As indicators of soil fertility, there are soil fertility characteristics such as available nitrogen, available phosphoric acid, total phosphorus, total carbon, total nitrogen, K, Ca, Mg, Fe, Al, Na, CN ratio, CEC (cation exchange capacity) contained in the soil. For example, in order to analyze the amount of available nitrogen, a method of performing visible absorption spectroscopy or ultraviolet absorption spectroscopy on an extract of organic matter extracted from the soil using a phosphate buffer, or using near-infrared reflected light spectroscopy has been proposed.

[0003] Soil is formed and evolved under the combined effects of multiple soil-forming factors such as parent material, climate, biology, topography, and time. The composition of soil is very complex. Generally speaking, it is composed of solid, liquid, and gas phases, including minerals, organic matter produced by the decomposition of plant and animal residues, water, and air. The evaluation of soil environmental quality involves evaluation factors, evaluation standards, and evaluation models. The number of evaluation factors and project types depends on the purpose of monitoring and the actual economic and technical conditions. The evaluation standards often adopt national soil environmental quality standards, regional soil background values, or departmental soil quality standards. The evaluation model often uses the pollution index method or related evaluation methods.

[0004] However, the existing technology often analyzes soil by collecting soil samples. Although this technology has a high accuracy rate, the soil cost may change during the collection or transportation of soil samples, which may lead to deviations between the analysis results and the actual conditions of the original soil. In addition, due to the regional nature of soil, it often takes a lot of time and cost to collect soil from one target site and then transport it to another target site, which increases the cost of soil testing. Therefore, a method is developed to analyze soil data without contacting soil samples, and to correct the results of data analysis based on the results of a large number of soil analyses to improve accuracy. In addition, further corrections based on changes in physical and chemical conditions can greatly improve the effect of soil testing.

[0005] The patent document with publication number CN106097131A discloses an agricultural precision planting method based on big data, and specifically discloses that the big data used in the agricultural precision planting system includes four modules: soil big data, crop growth law big data, water and fertilizer big data, and agricultural product market big data. First, select the category of crops suitable for planting based on the previous market sales volume and price big data of agricultural products. Then, arrange the sowing time of crops according to the big data of the crop growth stage, and select the soil suitable for planting crops according to the soil temperature and humidity data and the big data of crops suitable for soil growth. However, when performing big data analysis, no physical and chemical condition correction is performed on the soil data, resulting in a low accuracy rate. Summary of the invention

[0006] In view of this, the main purpose of the present invention is to provide a soil big data analysis method and device based on physical and chemical condition correction. By setting observation points on site and obtaining soil image data through the observation points, there is no need to transport soil samples for soil analysis. During the analysis process, there is no need to measure and analyze each observation point, but normalized analysis and processing are performed, thereby improving processing efficiency.

[0007] To achieve the above object, the technical solution of the present invention is achieved as follows:

[0008] A soil big data analysis method based on physical and chemical condition correction, the method performs the following steps:

[0009] Step 1: Set up multiple observation points in the target area. Each observation point obtains a physical / chemical parameter of the soil at the location at a set time period and sends the obtained parameter to the remote end. The type of physical / chemical parameter obtained by each observation point is different.

[0010] Step 2: Each observation point acquires the image data of the soil at the location in real time at a set time period, and sends the acquired image data to the remote end;

[0011] Step 3: Perform image comparison and recognition based on the acquired image data, evaluate soil quality based on the image comparison and recognition results, and obtain soil data analysis results;

[0012] Step 4: Generate a correction factor based on the physicochemical parameters of each observation point obtained within a set time range in step 1;

[0013] Step 5: Use the generated correction factor to correct the soil data analysis results to obtain the corrected soil data analysis results;

[0014] Step 6: Conduct soil quality big data analysis based on the corrected data analysis results.

[0015] Furthermore, the physical / chemical parameters of the soil obtained in step 1 include: soil pH value, soil electrical conductivity, soil carbonate content, soil water content, soil porosity, soil particle density, soil bulk density and the content of various heavy metals in the soil.

[0016] Furthermore, when the observation points obtain the contents of multiple heavy metals in the soil, each observation point only obtains the content of one heavy metal.

[0017] Furthermore, in step 3, image comparison and recognition are performed based on the acquired image data, and soil quality evaluation is performed based on the image comparison and recognition results to obtain the method of soil data analysis results by performing the following steps:

[0018] Step 3.1: Based on the acquired image data, construct a soil image grayscale histogram, perform histogram equalization mapping on the grayscale histogram to obtain a histogram mapping set, and then arrange the elements in the histogram mapping set in a matrix in order to obtain a histogram mapping matrix;

[0019] Step 3.2: Obtain the rank of the histogram mapping matrix as the identification cardinality;

[0020] Step 3.3: Based on the recognition cardinality, the soil image grayscale histogram is segmented to obtain a plurality of sub-grayscale histograms;

[0021] Step 3.4: Obtain the membership matrix of each sub-grayscale histogram and the spatial information of the pixel neighborhood to construct an objective function, and perform image comparison and recognition on each sub-grayscale histogram according to the objective function;

[0022] Step 3.5: Based on the recognition results of each sub-grayscale histogram, sum and average them to obtain the final recognition result;

[0023] Step 3.6: Based on the final identification results, soil quality evaluation is performed to obtain soil data analysis results.

[0024] Furthermore, the step 3.3: based on the recognition cardinality, the soil image grayscale histogram is segmented to obtain multiple sub-grayscale histograms, and the method performs the following steps: if the recognition cardinality is ≥18, the soil image grayscale histogram is segmented into 4*4 sub-grayscale histograms; if the recognition cardinality is ≥11 and <18, the soil image grayscale histogram is segmented into 3*4 sub-grayscale histograms; if the recognition cardinality is >7 and <11, the soil image grayscale histogram is segmented into 3*3 sub-grayscale histograms.

[0025] Furthermore, the objective function constructed in step 3.4 is expressed using the following formula:

[0026]

[0027] Among them, J is the objective function, x i is the gray value of the i-th pixel, is the median gray value of the i-th pixel, n is the number of pixels, c is the number of recognition bases, u ij is the probability vector, m is the set value, ranging from 1 to 2; v j is the pixel value of each pixel point of the sub-grayscale histogram, α is the adjustment coefficient, and its value range is 0.2~0.5.

[0028] Furthermore, in step 4, the method for generating the correction factor based on the physicochemical parameters of each observation point obtained within the set time range in step 1 performs the following steps:

[0029] Step 4.1: Discretize the physicochemical parameters of each observation point obtained within the set time range and mark them in the coordinate system;

[0030] Step 4.2: Based on the annotation results in the coordinate system, a correction factor is generated using a linear regression-based method, so that the generated correction factor satisfies the set constraint conditions.

[0031] Furthermore, the constraint condition is that the number of correction factors on both sides of the linear regression function is equal.

[0032] Furthermore, the difference in the number of correction factors on both sides of the linear regression function is within a set threshold range.

[0033] Soil big data analysis device based on physicochemical condition correction.

[0034] Compared with the traditional method, the soil big data analysis method and device based on physicochemical condition correction of the present invention sets up observation points on site and obtains soil image data through the observation points. There is no need to transport soil samples for soil analysis. During the analysis process, it is not necessary to measure and analyze each observation point, but normalized analysis and processing are performed, which improves processing efficiency.

[0035] This is mainly achieved through the following processes:

[0036] 1. Setting of observation points: The present invention sets multiple observation points, each of which obtains soil physicochemical parameters in real time, but each observation point only obtains one physicochemical parameter, which simplifies the function of the observation point on the one hand, and improves the efficiency of parameter acquisition on the other hand; at the same time, the obtained physicochemical parameters are not directly used as soil analysis parameters, but are processed as correction parameters. The purpose of this is that, on the one hand, if the obtained physicochemical parameters are directly used, the accuracy of soil analysis will be reduced, because there are differences in physicochemical parameters at different locations, and if all physicochemical parameters are used for analysis, the error caused by such differences will be magnified. On the other hand, using physicochemical parameters as correction parameters is to correct other analysis results to a certain extent, which can avoid the problem of reduced accuracy caused by multiple differences;

[0037] 2. Data correction. The present invention analyzes soil quality through image matching analysis. This analysis process can be described as performing image recognition on the soil image and then performing matching recognition based on a preset matching template. The soil quality is judged through this recognition. However, this recognition often has a large deviation due to the unclear grayscale change of the soil image. The present invention handles this deviation through two processes. One is to optimize the recognition algorithm and use grayscale-based multi-sub-image image recognition to improve the grayscale change of the soil image, thereby improving the recognition accuracy; the other is to correct the recognition result by generating a correction factor. In this way, the combination of physicochemical parameters and soil image recognition can be achieved. The combination of the two can further improve the accuracy. At the same time, the efficiency is improved because traditional soil analysis methods are not used. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 A schematic diagram of a method flow of a soil big data analysis method based on physicochemical condition correction provided by an embodiment of the present invention;

[0039] Figure 2 A schematic diagram of setting observation points for a soil big data analysis method and device based on physicochemical condition correction provided by an embodiment of the present invention;

[0040] Figure 3 A schematic diagram of generating correction factors for a soil big data analysis method and device based on physicochemical condition correction provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0041] The method of the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments of the present invention.

[0042] Example 1

[0043] like Figure 1 As shown, the soil big data analysis method based on physical and chemical condition correction performs the following steps:

[0044] Step 1: Set up multiple observation points in the target area. Each observation point obtains a physical / chemical parameter of the soil at the location at a set time period and sends the obtained parameter to the remote end. The type of physical / chemical parameter obtained by each observation point is different.

[0045] Step 2: Each observation point acquires the image data of the soil at the location in real time at a set time period, and sends the acquired image data to the remote end;

[0046] Step 3: Perform image comparison and recognition based on the acquired image data, evaluate soil quality based on the image comparison and recognition results, and obtain soil data analysis results;

[0047] Step 4: Generate a correction factor based on the physicochemical parameters of each observation point obtained within a set time range in step 1;

[0048] Step 5: Use the generated correction factor to correct the soil data analysis results to obtain the corrected soil data analysis results;

[0049] Step 6: Conduct soil quality big data analysis based on the corrected data analysis results.

[0050] refer to Figure 2 , Figure 2 The setting of observation points in should ensure that the number of observation points is greater than the number of partitions of the target area.

[0051] refer to Figure 3 , Figure 3 The correction factors generated in should satisfy the constraints.

[0052] Example 2

[0053] Based on the previous embodiment, the physical / chemical parameters of the soil obtained in step 1 include: soil pH value, soil conductivity, soil carbonate content, soil water content, soil porosity, soil particle density, soil bulk density and the content of various heavy metals in the soil.

[0054] Specifically, soil pollutants can be roughly divided into two categories: inorganic pollutants and organic pollutants. Inorganic pollutants mainly include acids, alkalis, heavy metals, salts, compounds of radioactive elements cesium and strontium, compounds containing arsenic, selenium, and fluorine. Organic pollutants mainly include organic pesticides, phenols, cyanide, petroleum, synthetic detergents, 3,4-benzopyrene, and harmful microorganisms brought by urban sewage, sludge, and manure. When there are too many harmful substances in the soil, exceeding the self-purification capacity of the soil, it will cause changes in the composition, structure, and function of the soil, and microbial activity will be inhibited. Harmful substances or their decomposition products gradually accumulate in the soil and are indirectly absorbed by the human body through "soil → plant → human body" or through "soil → water → human body", reaching a level that endangers human health. This is soil pollution.

[0055] Example 3

[0056] On the basis of the previous embodiment, when the observation points obtain the contents of multiple heavy metals in the soil, each observation point only obtains the content of one heavy metal.

[0057] Specifically, soil analysis is the qualitative and quantitative determination of soil composition and (or) physical and chemical properties. It is the basic work for conducting research on soil formation and development, fertility evolution, soil resource evaluation, soil improvement and rational fertilization, and is also an important means of environmental quality evaluation in environmental science.

[0058] Example 4

[0059] On the basis of the previous embodiment, in step 3, image comparison and recognition are performed based on the acquired image data, and soil quality evaluation is performed based on the image comparison and recognition results to obtain the method of soil data analysis results by performing the following steps:

[0060] Step 3.1: Based on the acquired image data, construct a soil image grayscale histogram, perform histogram equalization mapping on the grayscale histogram to obtain a histogram mapping set, and then arrange the elements in the histogram mapping set in a matrix in order to obtain a histogram mapping matrix;

[0061] Step 3.2: Obtain the rank of the histogram mapping matrix as the identification cardinality;

[0062] Step 3.3: Based on the recognition cardinality, the soil image grayscale histogram is segmented to obtain a plurality of sub-grayscale histograms;

[0063] Step 3.4: Obtain the membership matrix of each sub-grayscale histogram and the spatial information of the pixel neighborhood to construct an objective function, and perform image comparison and recognition on each sub-grayscale histogram according to the objective function;

[0064] Step 3.5: Based on the recognition results of each sub-grayscale histogram, sum and average them to obtain the final recognition result;

[0065] Step 3.6: Based on the final identification results, soil quality evaluation is performed to obtain soil data analysis results.

[0066] Specifically, because the grayscale changes of soil images are not obvious, it is very difficult to obtain accurate recognition results of soil images simply through image recognition. Therefore, the grayscale histogram of the soil image is segmented before image recognition, and the objective function is constructed based on the membership matrix of each sub-grayscale histogram and the spatial information of the pixel neighborhood, which can improve the difference in each sub-image and thus improve the recognition accuracy.

[0067] Example 5

[0068] Based on the previous embodiment, the step 3.3: based on the recognition cardinality, the soil image grayscale histogram is segmented to obtain multiple sub-grayscale histograms, and the method performs the following steps: if the recognition cardinality is ≥18, the soil image grayscale histogram is segmented into 4*4 sub-grayscale histograms; if the recognition cardinality is ≥11 and <18, the soil image grayscale histogram is segmented into 3*4 sub-grayscale histograms; if the recognition cardinality is >7 and <11, the soil image grayscale histogram is segmented into 3*3 sub-grayscale histograms.

[0069] Example 6

[0070] Based on the previous embodiment, the objective function constructed in step 3.4 is expressed using the following formula: Among them, J is the objective function, x i is the gray value of the i-th pixel, is the median gray value of the i-th pixel, n is the number of pixels, c is the number of recognition bases, u ij is the probability vector, m is the set value, ranging from 1 to 2; v j is the pixel value of each pixel point of the sub-grayscale histogram, α is the adjustment coefficient, and its value range is 0.2~0.5.

[0071] Example 7

[0072] On the basis of the previous embodiment, the method for generating the correction factor in step 4 based on the physicochemical parameters of each observation point obtained within the set time range in step 1 performs the following steps:

[0073] Step 4.1: Discretize the physicochemical parameters of each observation point obtained within the set time range and mark them in the coordinate system;

[0074] Step 4.2: Based on the annotation results in the coordinate system, a correction factor is generated using a linear regression-based method, so that the generated correction factor satisfies the set constraint conditions.

[0075] Specifically, the correction factors that meet the constraints will better reflect the characteristics of all physical and chemical parameters, and the linear regression method can also make all physical and chemical parameters have a normalized result.

[0076] Example 8

[0077] Based on the previous embodiment, the constraint condition is that the number of correction factors on both sides of the linear regression function is equal.

[0078] Example 9

[0079] Based on the previous embodiment, the difference between the numbers of the correction factors on both sides of the linear regression function is within a set threshold range.

[0080] Example 10

[0081] Soil big data analysis device based on physicochemical condition correction.

[0082] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process and related instructions of the storage device and processing device described above can refer to the corresponding process in the aforementioned method embodiment and will not be repeated here.

[0083] Those skilled in the art should be able to appreciate that the units and method steps of each example described in conjunction with the embodiments disclosed herein can be implemented with electronic hardware, computer software or a combination of the two, and the programs corresponding to the software units and method steps can be placed in random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disks, removable disks, CD-ROMs, or any other form of storage medium known in the technical field. In order to clearly illustrate the interchangeability of electronic hardware and software, the composition and steps of each example have been generally described in the above description according to the function. Whether these functions are performed in electronic hardware or software depends on the specific application and attribute constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present invention.

[0084] The terms “first”, “another part” and the like are used to distinguish similar objects but are not used to describe or indicate a specific sequence or order.

[0085] The term "comprise" or any other similar term is intended to cover non-exclusive inclusion, such that a process, method, article, or unit / apparatus that includes a list of elements includes not only those elements but also other elements not explicitly listed, or also includes elements inherent to such process, method, article, or unit / apparatus.

[0086] So far, the technical solutions of the present invention have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical marks, and the technical solutions after these changes or substitutions will fall within the protection scope of the present invention.

[0087] The above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention.

Claims

1. A soil big data analysis method based on physical and chemical condition correction, characterized in that: The method performs the following steps: Step 1: Set up multiple observation points in the target area. Each observation point obtains a physical / chemical parameter of the soil at the location at a set time period and sends the obtained parameter to the remote end. The type of physical / chemical parameter obtained by each observation point is different. Step 2: Each observation point acquires the image data of the soil at the location in real time at a set time period, and sends the acquired image data to the remote end; Step 3: Perform image comparison and recognition based on the acquired image data, evaluate soil quality based on the image comparison and recognition results, and obtain soil data analysis results; Step 4: Generate a correction factor based on the physicochemical parameters of each observation point obtained within a set time range in step 1; Step 5: Use the generated correction factor to correct the soil data analysis results to obtain the corrected soil data analysis results; Step 6: Conduct soil quality big data analysis based on the corrected data analysis results; In step 3, image comparison and recognition are performed based on the acquired image data, and soil quality evaluation is performed based on the image comparison and recognition results. The method for obtaining soil data analysis results performs the following steps: Step 3.1: Based on the acquired image data, construct a soil image grayscale histogram, perform histogram equalization mapping on the grayscale histogram to obtain a histogram mapping set, and then arrange the elements in the histogram mapping set in a matrix in order to obtain a histogram mapping matrix; Step 3.2: Obtain the rank of the histogram mapping matrix as the identification cardinality; Step 3.3: Based on the recognition cardinality, the soil image grayscale histogram is segmented to obtain a plurality of sub-grayscale histograms; Step 3.4: Obtain the membership matrix of each sub-grayscale histogram and the spatial information of the pixel neighborhood to construct an objective function, and perform image comparison and recognition on each sub-grayscale histogram according to the objective function; Step 3.5: Based on the recognition results of each sub-grayscale histogram, sum and average them to obtain the final recognition result; Step 3.6: Based on the final identification results, soil quality evaluation is performed to obtain soil data analysis results.

2. The method according to claim 1, characterized in that The physical / chemical parameters of the soil obtained in step 1 include: soil pH value, soil electrical conductivity, soil carbonate content, soil water content, soil porosity, soil particle density, soil bulk density and the content of various heavy metals in the soil.

3. The method according to claim 2, characterized in that When the observation points obtain the contents of multiple heavy metals in the soil, each observation point only obtains the content of one heavy metal.

4. The method according to claim 1, characterized in that The step 3.3: based on the recognition cardinality, the soil image grayscale histogram is segmented to obtain multiple sub-grayscale histograms, and the method performs the following steps: if the recognition cardinality is ≥18, the soil image grayscale histogram is segmented into 4*4 sub-grayscale histograms; if the recognition cardinality is ≥11 and <18, the soil image grayscale histogram is segmented into 3*4 sub-grayscale histograms; if the recognition cardinality is >7 and <11, the soil image grayscale histogram is segmented into 3*3 sub-grayscale histograms.

5. The method according to claim 4, characterized in that The objective function constructed in step 3.4 is expressed using the following formula: ; in, is the objective function, For the The gray value of a pixel, For the The median gray value of pixels. is the number of pixels, To identify the number of cardinalities, is the probability vector, is the set value, the value range is 1~2; is the pixel value of each pixel point in the sub-grayscale histogram, It is the adjustment coefficient, and its value range is 0.2~0.

5.

6. The method according to claim 5, characterized in that In step 4, the method for generating a correction factor based on the physicochemical parameters of each observation point obtained within a set time range in step 1 performs the following steps: Step 4.1: Discretize the physicochemical parameters of each observation point obtained within the set time range and mark them in the coordinate system; Step 4.2: Based on the annotation results in the coordinate system, a correction factor is generated using a linear regression-based method, so that the generated correction factor satisfies the set constraint conditions.

7. The method according to claim 6, characterized in that The constraint condition is that the number of correction factors on both sides of the linear regression function is equal.

8. The method according to claim 6, characterized in that The difference between the numbers of the correction factors on both sides of the linear regression function is within a set threshold range.

9. A soil big data analysis device based on physicochemical condition correction used in the method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Rapid diagnosis method of soil fertility grade based on hyperspectral data

    AU2021102567A4

  • Agricultural precise planting method based on big data

    CN106097131A