A soil environmental pollution online detection method and detection device

Through the online detection method of soil environmental pollution, we use spectral data and automatic samplers to extract the spectral characteristics and non-characteristic bands of soil samples, calculate the diffusion intensity and density vector of heavy metal elements, and solve the impact of the complex pore structure of soil on the diffusion trend of pollutants. , improving detection accuracy and pollution source tracking capabilities.

CN118464716BActive Publication Date: 2024-09-13陕西省环境监测中心站
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410935673.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-12
Publication Date
2024-09-13
Estimated Expiration
2044-07-12

AI Technical Summary

Technical Problem

Existing online detection technology for soil environmental pollution is difficult to accurately predict the diffusion trend of heavy metal pollutants in soil, mainly due to the complex pore structure of soil, which results in complex and changeable diffusion paths.

Method used

Collect spectral data of soil samples by remotely controlling the automatic soil sampler, divide the bands to determine spectral characteristics and non-characteristic bands, extract the migration amount and trend characteristics of heavy metal elements, calculate the diffusion flow and density vector based on the pollution concentration information, and conduct online detection To reduce the influence of pore structure on diffusion trend.

Benefits of technology

It improves the detection accuracy of the diffusion trend of heavy metal pollutants in the soil environment, can predict the diffusion range of pollutants and trace the source of pollution, providing a basis for pollution source control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118464716B
    Figure CN118464716B
Patent Text Reader

Abstract

The present application provides an online detection method and detection device for soil environmental pollution, which obtains the spectral data of soil samples; then obtains the spectral characteristic bands and spectral non-characteristic bands; in addition, determines the migration amount of heavy metal elements in the soil sample in the vertical direction, and then determines the trend characteristics of the heavy metal element diffusion, and then determines the pollution diffusion intensity of the heavy metal element in the vertical direction; obtains the heavy metal pollution concentration information, and then determines the diffusion flow of the pollution concentration of the soil sample in the horizontal direction, so as to determine the pollution density vector of the soil sample at different sampling points during online detection; based on all the pollution density vectors, the soil pollution trend at different sampling points is diffused and detected, and the online detection of soil pollution in the target environment is completed. The scheme of the present application can reduce the influence of the complex pore structure in the soil on the diffusion trend of heavy metal pollutants, thereby improving the accuracy of online detection of the diffusion trend of heavy metal pollutants in the soil environment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of environmental detection technology, and more specifically, to an online detection method and detection device for soil environmental pollution. Background Art

[0002] Environmental monitoring is used to monitor and assess environmental conditions, aiming to provide accurate and real-time data to support environmental management and protection. These technologies cover a wide range of areas, including the atmosphere, water, soil and biodiversity. In terms of atmospheric environment, common technologies include air quality monitoring systems, which assess air quality by monitoring the concentration of pollutants in the air. Water environment monitoring technology is used to detect pollutants and microorganisms in water bodies, as well as to monitor changing trends in water quality. Soil environment monitoring technology is mainly used to assess the degree of pollution in the soil, including indicators such as heavy metals, organic matter and soil pH. Biodiversity monitoring technology involves monitoring and assessing biological communities and ecosystems to understand the status and changes of biodiversity. These technologies usually use sensors, sampling equipment, laboratory analysis and data processing to collect, process and interpret data to achieve comprehensive monitoring and assessment of environmental conditions. Environmental monitoring technology plays an important role in environmental management, policy making, industrial production and public health, and provides important support for protecting and improving environmental quality.

[0003] Online detection of soil environmental pollution is based on near-infrared spectral analysis using spectral technology. By measuring the absorption and reflection characteristics of soil samples to near-infrared light and combining mathematical models to identify the diffusion trend of various heavy metal pollutants in the soil to the surrounding area, however, in existing technologies, the soil composed of particles of different particle sizes has an extremely complex pore structure, which causes the diffusion path of heavy metal pollutants in the soil to become complex and changeable, making it difficult to predict the diffusion trend of heavy metal pollutants in the soil. Therefore, how to reduce the impact of the complex pore structure in the soil on the diffusion trend of heavy metal pollutants, thereby improving the accuracy of online detection of the diffusion trend of heavy metal pollutants in the soil environment, has become a difficult problem faced by the industry. Summary of the invention

[0004] The present application provides a soil environmental pollution online detection method and detection device, which can reduce the influence of the complex pore structure in the soil on the diffusion trend of heavy metal pollutants, thereby improving the accuracy of online detection of the diffusion trend of heavy metal pollutants in the soil environment.

[0005] In a first aspect, the present application provides a method for online detection of soil environmental pollution, comprising the following steps:

[0006] Initiate online detection of soil environmental pollution, remotely control the automatic soil sampler to collect soil samples from a central sampling point under the target environment online, and obtain spectral data of the soil samples;

[0007] Dividing the spectral data into bands to obtain spectral characteristic bands and spectral non-characteristic bands of the soil sample;

[0008] Determine the migration amount of the heavy metal elements of the soil sample in the vertical direction according to the characteristic band of the spectrum, extract the trend characteristics of the diffusion of the heavy metal elements of the soil sample from the non-characteristic band of the spectrum, and determine the pollution diffusion intensity of the heavy metal elements of the soil sample in the vertical direction during online detection through the migration amount and the trend characteristics;

[0009] Collect soil samples at different sampling points under the target environment, and obtain heavy metal pollution concentration information of the soil samples at all different sampling points, and then determine the diffusion flow rate of the pollution concentration of the soil samples at each sampling point in the horizontal direction according to the heavy metal pollution concentration information, and determine the pollution density vector of the soil samples at different sampling points under the target environment during online detection through all the diffusion flows and the pollution diffusion intensity;

[0010] Based on all pollution density vectors, the soil pollution trend of different sampling points in the target environment is diffused and detected to complete the online detection of soil pollution in the target environment.

[0011] In some embodiments, dividing the spectral data into bands to obtain the spectral characteristic bands and spectral non-characteristic bands of the soil sample specifically includes:

[0012] Determine the spectral band region of the soil sample according to all element data in the spectral data;

[0013] Initialize the band regression model;

[0014] The spectral data is characterized according to the spectral band region and the band regression model to obtain spectral characteristic bands and spectral non-characteristic bands of the soil sample.

[0015] In some embodiments, determining the migration amount of the heavy metal element of the soil sample in the vertical direction according to the spectral characteristic band specifically includes:

[0016] determining a filtering window for heavy metal elements in the soil sample;

[0017] Determine a spectral intensity sequence and a spectral width sequence of the soil sample according to the spectral characteristic band;

[0018] Determine the vertical intensity distribution value of the heavy metal elements of the soil sample in the vertical direction through the filter window and the spectral intensity sequence;

[0019] Determine the vertical width distribution value of the heavy metal elements of the soil sample in the vertical direction according to the filter window and the spectrum width sequence;

[0020] The migration amount of the heavy metal elements of the soil sample diffused in the vertical direction is determined by the vertical intensity distribution value and the vertical width distribution value.

[0021] In some embodiments, extracting the trend characteristics of the diffusion of heavy metal elements in the soil sample from the non-characteristic band of the spectrum specifically includes:

[0022] Linearly fitting the wavelength values, width values ​​and intensity values ​​of all element data in the non-characteristic band of the spectrum to obtain a wavelength fitting curve, a width fitting curve and an intensity fitting curve;

[0023] The trend characteristics of the heavy metal element diffusion of the soil sample are determined according to the wavelength fitting curve, the width fitting curve and the intensity fitting curve.

[0024] In some embodiments, determining the diffusion flow rate of the pollution concentration of the soil sample at each sampling point in the horizontal direction according to the heavy metal pollution concentration information specifically includes:

[0025] Extracting the boundary diffusion amount of the soil sample at each sampling point from the heavy metal pollution concentration information;

[0026] The horizontal diffusion flow rate of the pollution concentration of the soil sample at each sampling point is determined based on all boundary diffusion amounts.

[0027] In some embodiments, determining the contamination density vector of soil samples at different sampling points under the target environment during online detection by using all diffusion flows and the contamination diffusion intensity specifically includes:

[0028] Obtain the vertical width distribution value of heavy metal elements in the soil sample at the central sampling point in the target environment in the vertical direction;

[0029] Determine the pollution distribution diffusion sequence of heavy metals in soil samples at different sampling points under the target environment during online detection according to the vertical width distribution value and all diffusion flows;

[0030] The pollution density vectors of soil samples at different sampling points in the target environment during online detection are determined through the pollution diffusion intensity and all pollution distribution diffusion sequences.

[0031] In some embodiments, the soil pollution trend of different sampling points in the target environment is diffusely detected based on all pollution density vectors, and the online detection of soil pollution in the target environment is completed, specifically including:

[0032] Initialize the soil pollution diffusion model;

[0033] Determine the diffusion trend values ​​of heavy metals at different sampling points according to the soil pollution diffusion model and all pollution density vectors;

[0034] The soil pollution trend of different sampling points in the target environment is detected through all diffusion trend values, thereby completing the online soil detection of the target environment.

[0035] In a second aspect, the present application provides an online detection device for soil environmental pollution, the online detection device for soil environmental pollution comprising an online detection unit, the online detection unit comprising:

[0036] An acquisition module is used to remotely control the automatic soil sampler to collect soil samples from a central sampling point under a target environment online after starting the online detection of soil environmental pollution, and to obtain spectral data of the soil samples;

[0037] A processing module, used for dividing the spectral data into bands to obtain spectral characteristic bands and spectral non-characteristic bands of the soil sample;

[0038] The processing module is further used to determine the migration amount of the heavy metal elements of the soil sample in the vertical direction according to the spectral characteristic band, extract the trend characteristics of the heavy metal element diffusion of the soil sample from the spectral non-characteristic band, and determine the pollution diffusion intensity of the heavy metal elements of the soil sample in the vertical direction during online detection through the migration amount and the trend characteristics;

[0039] The processing module is also used to collect soil samples at different sampling points under the target environment, and obtain heavy metal pollution concentration information of the soil samples at all different sampling points, and then determine the diffusion flow of the pollution concentration of the soil samples at each sampling point in the horizontal direction according to the heavy metal pollution concentration information, and determine the pollution density vector of the soil samples at different sampling points under the target environment during online detection through all the diffusion flows and the pollution diffusion intensity;

[0040] The execution module is used to perform diffusion detection of soil pollution trends at different sampling points in the target environment based on all pollution density vectors, and complete online detection of soil pollution in the target environment.

[0041] In a third aspect, the present application provides a computer device, comprising a memory and a processor, wherein the memory stores a code, and the processor is configured to obtain the code and execute the above-mentioned online detection method for soil environmental pollution.

[0042] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the above-mentioned online detection method for soil environmental pollution is implemented.

[0043] The technical solution provided by the embodiments disclosed in this application has the following beneficial effects:

[0044] In the online detection method and detection device of soil environmental pollution provided by the present application, the online detection of soil environmental pollution is started, and the automatic soil sampler is remotely controlled to collect soil samples at the central sampling point under the target environment online, and the spectral data of the soil sample is obtained; the spectral data is divided into bands to obtain the spectral characteristic bands and spectral non-characteristic bands of the soil sample; the migration amount of the heavy metal elements of the soil sample in the vertical direction is determined according to the spectral characteristic bands, and the trend characteristics of the heavy metal elements of the soil sample are extracted from the spectral non-characteristic bands, and the pollution diffusion intensity of the heavy metal elements of the soil sample in the vertical direction during online detection is determined by the migration amount and the trend characteristics; soil samples at different sampling points under the target environment are collected, and the heavy metal pollution concentration information of the soil samples at all different sampling points is obtained, and then the diffusion flow of the pollution concentration of the soil samples at each sampling point in the horizontal direction is determined according to the heavy metal pollution concentration information, and the pollution density vectors of the soil samples at different sampling points under the target environment during online detection are determined by all the diffusion flow rates and the pollution diffusion intensity; the soil pollution trend of different sampling points under the target environment is diffused and detected based on all the pollution density vectors, and the online detection of soil pollution in the target environment is completed.

[0045] It can be seen that in this application, the pollution density vector of the soil samples at different sampling points in the target environment during online detection can be determined by all the diffusion flow rates and the pollution diffusion intensity; wherein, firstly, the migration amount and trend characteristics of the diffusion distribution of heavy metal elements in the process of heavy metal elements migrating from the surface layer of the soil sample to the deeper layer in the vertical direction are used to obtain the pollution diffusion intensity used to evaluate the heavy metal pollutants in the soil sample with a complex pore structure in the process of diffusing from the surface layer of the soil sample to the deeper layer in the vertical direction, and the diffusion intensity can be used to predict the diffusion range of pollutants in the soil sample; secondly, the diffusion flow rate describing the diffusion rate of the pollution concentration of the soil sample with a complex pore structure at each sampling point in the horizontal direction is extracted from the heavy metal pollution concentration information By analyzing the direction and magnitude of the diffusion flow, the source of the metal pollutants can be traced, which helps to improve the accuracy of predicting the diffusion trend of metal pollutants, and thus provide a basis for pollution source control; then, the pollution diffusion intensity is used to quantify all the diffusion flows, and a pollution density vector is obtained to measure the horizontal change in the pollution density of heavy metals in soil samples at different sampling points; finally, based on all the pollution density vectors, the soil pollution trend at different sampling points in the target environment is diffused and detected, and the online detection of soil pollution in the target environment is completed; in summary, the scheme of the present application can reduce the influence of the complex pore structure in the soil on the diffusion trend of heavy metal pollutants, thereby improving the accuracy of online detection of the diffusion trend of heavy metal pollutants in the soil environment. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] Figure 1 is an exemplary flow chart of an online soil environmental pollution detection method according to some embodiments of the present application;

[0047] Figure 2 is a schematic diagram of a process for determining a spectral characteristic band and a spectral non-characteristic band in some embodiments of the present application;

[0048] Figure 3 is a schematic diagram of a process for determining a pollution density vector in some embodiments of the present application;

[0049] Figure 4 is a schematic diagram of exemplary hardware and / or software of an online detection unit according to some embodiments of the present application;

[0050] Figure 5 It is a structural schematic diagram of a computer device for implementing an online soil environmental pollution detection method according to some embodiments of the present application. DETAILED DESCRIPTION

[0051] The core of the present application is to start online detection of soil environmental pollution, remotely control the automatic soil sampler to collect soil samples at the central sampling point under the target environment online, and obtain the spectral data of the soil samples; divide the spectral data into bands to obtain the spectral characteristic bands and spectral non-characteristic bands of the soil samples; determine the migration amount of the heavy metal elements of the soil sample in the vertical direction according to the spectral characteristic bands, extract the trend characteristics of the heavy metal elements of the soil sample from the spectral non-characteristic bands, and determine the pollution diffusion intensity of the heavy metal elements of the soil sample in the vertical direction during online detection through the migration vector and the trend characteristics; collect soil samples at different sampling points under the target environment, and obtain the heavy metal pollution concentration information of the soil samples at all different sampling points, and then determine the diffusion flow of the pollution concentration of the soil samples at each sampling point in the horizontal direction according to the heavy metal pollution concentration information, and determine the pollution density vectors of the soil samples at different sampling points under the target environment during online detection through all the diffusion flows and the pollution diffusion intensity; perform diffusion detection on the soil pollution trend of different sampling points under the target environment based on all the pollution density vectors to complete the online detection of soil pollution in the target environment. The solution of the present application can reduce the influence of the complex pore structure in the soil on the diffusion trend of heavy metal pollutants, thereby improving the accuracy of online detection of the diffusion trend of heavy metal pollutants in the soil environment.

[0052] In order to better understand the above technical solution, the above technical solution will be described in detail below in conjunction with the accompanying drawings and specific implementation methods. Figure 1 , which is an exemplary flow chart of an online soil environmental pollution detection method according to some embodiments of the present application. The online soil environmental pollution detection method 100 mainly includes the following steps:

[0053] In step 101, online detection of soil environmental pollution is started, and an automatic soil sampler is remotely controlled to collect soil samples from a central sampling point under a target environment online, and spectral data of the soil samples is obtained.

[0054] In specific implementation, after starting the online detection of soil environmental pollution, a soil sample at a central sampling point in the target environment is collected through a remotely controlled automatic soil sampler. The soil sample usually has a complex pore structure, that is, there are pores of different sizes, shapes and connectivity in the soil sample. Then, a spectrometer is used to obtain spectral data of the soil sample. It should be noted that the automatic soil sampler described in the present application can be pre-programmed to automatically collect soil samples at specific time intervals or trigger conditions. The automatic soil sampler usually has a controller, a sampling head and a sample collection container, which can accurately control the sampling depth and position to ensure that representative soil samples are collected.

[0055] It should be noted that in the present application, the soil area under the target environment is divided into grids, and sampling points are set at each grid intersection to obtain multiple sampling points, wherein the central sampling point refers to the sampling point in the middle of the entire soil area, and the soil sample collected at the central sampling point is a sample collected by a vertical profile, wherein vertical profile collection refers to collecting soil samples from the surface downward to obtain soil samples at different depths in the vertical direction.

[0056] In addition, it should be noted that the spectral data described in the present application is composed of multiple element data, wherein the element data in the spectral data is composed of the type, wavelength, intensity, and width of the element, wherein the type represents the type of element in the soil sample, the wavelength represents the wavelength of the element in the soil sample in the spectral signal, the intensity represents the relative intensity of the element in the soil sample in the spectral signal, and the width represents the bandwidth of the energy level transition of the element in the soil sample in the spectral signal.

[0057] In step 102, the spectral data is divided into bands to obtain spectral characteristic bands and spectral non-characteristic bands of the soil sample.

[0058] In some embodiments, reference Figure 2 As shown, this figure is a schematic diagram of the process of determining the spectral characteristic band and the spectral non-characteristic band in some embodiments of the present application. In this embodiment, the spectral data is divided into bands to obtain the spectral characteristic band and the spectral non-characteristic band of the soil sample, which can be achieved by the following steps:

[0059] First, in step 1021, the spectral band region of the soil sample is determined according to all element data in the spectral data;

[0060] Secondly, in step 1022, the band regression model is initialized;

[0061] Then, in step 1023, the spectral data is characterized according to the spectral band region and the band regression model to obtain spectral characteristic bands and spectral non-characteristic bands of the soil sample.

[0062] It should be noted that the band regression model described in the present application can be constructed using algorithms such as partial least squares regression, support vector regression and random forest. Historical spectral data is obtained from historical soil samples at the central sampling point, and the intensity data and width data in the historical spectral data are used as independent variables. The wavelength data in the historical spectral data is used as the dependent variable. The historical spectral data is then used to train the model, and the model after training is used as the band regression model. Other methods can also be used to implement it in other embodiments, which will not be repeated here.

[0063] In specific implementation, determining the spectral band area of ​​the soil sample based on all the element data in the spectral data can be achieved in the following manner, namely: first, selecting the maximum wavelength value and the minimum wavelength value from the wavelengths of all the element data in the spectral data, subtracting the minimum wavelength value from the maximum wavelength value, and then dividing the value obtained by the subtraction by 2, so as to use the value obtained by the division as the fluctuation equilibrium value; secondly, calculating the mean of the wavelengths of all the element data, and using the sum of the obtained mean and the fluctuation equilibrium value as the upper limit of the spectral band, and using the difference between the obtained mean and the fluctuation equilibrium value as the lower limit of the spectral band; then, using the interval formed by the spectral band lower limit and the spectral band upper limit as the spectral band area of ​​the soil sample. Other methods can also be used in other embodiments, which are not limited here.

[0064] It should be noted that the spectral band region described in the present application represents a specific wavelength range selected in the spectrum of a soil sample, and the spectral band region can help extract characteristic information of the soil sample and highlight the spectral characteristics of the substance within a specific wavelength range.

[0065] In specific implementation, the spectral data is characterized according to the spectral band area and the band regression model, and the spectral characteristic band and spectral non-characteristic band of the soil sample can be obtained in the following manner, namely: first, the intensity and width of all element data in the spectral data are calculated using the band regression model, and the calculated values ​​are all used as wavelength regression values. If the wavelength regression value is in the spectral band area, the set of element data corresponding to all wavelength regression values ​​is used as the spectral characteristic band of the soil sample. If the wavelength regression value is not in the spectral band area, the set of element data corresponding to all wavelength regression values ​​is used as the spectral non-characteristic band of the soil sample. In other embodiments, other methods can also be used for implementation, which are not limited here.

[0066] It should be noted that the spectral characteristic band described in the present application is the band data with significant characteristics extracted from the entire spectral data; the spectral non-characteristic band is the band data with insignificant characteristics extracted from the entire spectral data.

[0067] In step 103, the migration amount of the heavy metal elements of the soil sample in the vertical direction is determined according to the spectral characteristic band, the trend characteristics of the diffusion of the heavy metal elements of the soil sample are extracted from the spectral non-characteristic band, and the pollution diffusion intensity of the heavy metal elements of the soil sample in the vertical direction during online detection is determined through the migration amount and the trend characteristics.

[0068] In some embodiments, determining the migration amount of the heavy metal elements of the soil sample in the vertical direction according to the spectral characteristic band can be achieved by using the following steps:

[0069] determining a filtering window for heavy metal elements in the soil sample;

[0070] Determine a spectral intensity sequence and a spectral width sequence of the soil sample according to the spectral characteristic band;

[0071] Determine the vertical intensity distribution value of the heavy metal elements of the soil sample in the vertical direction through the filter window and the spectral intensity sequence;

[0072] Determine the vertical width distribution value of the heavy metal elements of the soil sample in the vertical direction according to the filter window and the spectrum width sequence;

[0073] The migration amount of the heavy metal elements of the soil sample diffused in the vertical direction is determined by the vertical intensity distribution value and the vertical width distribution value.

[0074] Specifically, determining the filtering window of the heavy metal elements in the soil sample can be achieved in the following manner, namely: first, select a sequence, then obtain the total number of element data in the spectral characteristic band, take the square root of the total number and round it down, and then use the value obtained after rounding down as the length of the sequence, then set the value of the first position in the sequence to 1, the value of the second position to 1 / 2, the value of the third position to 1 / 3, and so on, until all the values ​​in the sequence are set, and finally, use the sequence after setting the values ​​as the filtering window of the heavy metal elements in the soil sample. It should be noted that the filtering window described in the present application can effectively highlight the abnormal distribution pattern of heavy metal elements in soil samples; determining the spectral intensity sequence and spectral width sequence of the soil sample according to the spectral characteristic band can be achieved in the following manner, namely: sorting the intensities of all element data in the spectral characteristic band in ascending order, and using the sequence obtained after sorting as the spectral intensity sequence of the soil sample; sorting the widths of all element data in the spectral characteristic band in ascending order, and using the sequence obtained after sorting as the spectral width sequence of the soil sample. Other methods can also be used in other embodiments, which are not limited here.

[0075] In specific implementation, the vertical intensity distribution value of the heavy metal elements of the soil sample in the vertical direction is determined by the filter window and the spectral intensity sequence, which can be achieved in the following manner, namely: first, aligning the first position in the filter window with the first position in the spectral intensity sequence, multiplying all the values ​​in the filter window with the intensity values ​​in the spectral intensity sequence accordingly, and then summing them, and then using the summed value as the intensity distribution value of the first position in the spectral intensity sequence; secondly, aligning the first position in the filter window with the second position in the spectral intensity sequence, multiplying all the values ​​in the filter window with the intensity values ​​in the spectral intensity sequence accordingly, and then summing them, and then using the summed value as the intensity distribution value of the second position in the spectral intensity sequence; then, repeating the above steps to determine the intensity distribution values ​​of the remaining positions in the spectral intensity sequence in turn; finally, averaging all the intensity distribution values, and using the value obtained after averaging as the vertical intensity distribution value of the heavy metal elements of the soil sample in the vertical direction; other methods can also be used in other embodiments, which will not be repeated here.

[0076] It should be noted that the vertical intensity distribution value described in the present application reflects the uniformity of the distribution of the relative intensity of the overall spectral signal of the heavy metal elements in the soil sample collected in the vertical section. The larger the vertical intensity distribution value, the more uneven the distribution of the relative intensity of the overall spectral signal of the heavy metal elements in the soil sample collected in the vertical section. Conversely, the distribution of the relative intensity of the overall spectral signal of the heavy metal elements in the soil sample collected in the vertical section is more uniform.

[0077] In specific implementation, the vertical width distribution value of the heavy metal elements of the soil sample in the vertical direction is determined according to the filter window and the spectrum width sequence. The following method is adopted, namely: first, the first position in the filter window is aligned with the first position in the spectrum width sequence, all the numerical values ​​in the filter window are correspondingly multiplied with the intensity values ​​in the spectrum width sequence, and then the sum is taken as the width distribution value of the first position in the spectrum width sequence; secondly, the first position in the filter window is aligned with the second position in the spectrum width sequence, all the numerical values ​​in the filter window are correspondingly multiplied with the intensity values ​​in the spectrum width sequence, and then the sum is taken as the width distribution value of the second position in the spectrum width sequence; then, the above steps are repeated to determine the width distribution values ​​of the remaining positions in the spectrum width sequence in turn; finally, the average of all the width distribution values ​​is taken, and the value obtained by taking the average is taken as the vertical width distribution value of the heavy metal elements of the soil sample in the vertical direction; other methods can also be adopted in other embodiments, which are not limited here.

[0078] It should be noted that the vertical width distribution value described in the present application reflects the uniformity of the distribution of the overall spectral signal energy level transition bandwidth of the heavy metal elements in the soil samples collected in the vertical section. The larger the vertical width distribution value, the more uneven the distribution of the overall spectral signal energy level transition bandwidth of the heavy metal elements in the soil samples collected in the vertical section. Conversely, the more uniform the distribution of the overall spectral signal energy level transition bandwidth of the heavy metal elements in the soil samples collected in the vertical section.

[0079] In specific implementation, determining the migration amount of the heavy metal elements of the soil sample in the vertical direction by the vertical intensity distribution value and the vertical width distribution value can be achieved in the following manner, namely: multiplying the vertical intensity distribution value by the vertical width distribution value, and using the multiplied value as the migration amount of the heavy metal elements of the soil sample in the vertical direction. Other methods can also be used in other embodiments, which will not be repeated here.

[0080] It should be noted that the migration amount described in the present application represents the total amount of diffusion of heavy metal elements in the soil sample during the vertical migration from the surface layer of the soil sample to the deeper layer.

[0081] In some embodiments, extracting the trend characteristics of the heavy metal element diffusion of the soil sample from the non-characteristic band of the spectrum can be achieved by using the following steps:

[0082] Linearly fitting the wavelength values, width values ​​and intensity values ​​of all element data in the non-characteristic band of the spectrum to obtain a wavelength fitting curve, a width fitting curve and an intensity fitting curve;

[0083] The trend characteristics of the heavy metal element diffusion of the soil sample are determined according to the wavelength fitting curve, the width fitting curve and the intensity fitting curve.

[0084] In specific implementation, linear fitting is performed on the wavelength values, width values ​​and intensity values ​​of all element data in the non-characteristic band of the spectrum to obtain a wavelength fitting curve, a width fitting curve and an intensity fitting curve, which can be implemented in the following manner, namely: the wavelength values, width values ​​and intensity values ​​of all element data in the non-characteristic band of the spectrum can be fitted using a least squares support vector machine algorithm, and the curves obtained by fitting are respectively used as the wavelength fitting curve, the width fitting curve and the intensity fitting curve. In other embodiments, other fitting algorithms can also be used, which are not limited here.

[0085] In specific implementation, the trend characteristics of the diffusion of heavy metal elements in the soil sample are determined according to the wavelength fitting curve, the width fitting curve and the intensity fitting curve, which can be achieved in the following manner, namely: respectively obtaining the position with the largest derivative and the position with the smallest derivative at each position on the wavelength fitting curve, the width fitting curve and the intensity fitting curve, and then respectively obtaining the absolute value of the slope between the position with the largest derivative and the position with the smallest derivative on the three curves, and then averaging the three values ​​obtained after taking the absolute values, and using the obtained average as the trend characteristics of the diffusion of heavy metal elements in the soil sample.

[0086] It should be noted that the trend characteristics described in the present application represent the parameter values ​​of the overall diffusion trend of heavy metal elements in soil samples in the vertical direction from the surface of the soil sample to the deeper layer. Abnormal diffusion conditions can be discovered through the trend characteristics. For example, the diffusion rate of heavy metal elements is abnormally accelerated over a period of time, indicating the emergence of new pollution sources or changes in environmental conditions.

[0087] In some embodiments, determining the pollution diffusion intensity of the heavy metal elements of the soil sample in the vertical direction during online detection by using the migration amount and the trend characteristics can be achieved by the following steps:

[0088] Get vertical intensity distribution value;

[0089] The pollution diffusion intensity of the heavy metal elements in the soil sample in the vertical direction during online detection is determined according to the vertical intensity distribution value, the migration amount and the trend characteristic.

[0090] It should be noted that the pollution diffusion intensity described in the present application represents the intensity of diffusion of heavy metal pollutants in a soil sample with a complex pore structure in the vertical direction from the surface of the soil sample to a deeper layer. The diffusion intensity can be used to predict the diffusion range of metal pollutants in the soil sample. As a preferred embodiment, the pollution diffusion intensity of the heavy metal elements in the soil sample in the vertical direction during online detection is determined according to the vertical intensity distribution value, the migration amount and the trend characteristic. It can be achieved in the following way, namely: dividing the vertical intensity distribution value by the migration amount and taking the inverse of the exponential function with the natural logarithm as the base, then multiplying the value obtained by taking the inverse of the exponential function with the natural logarithm as the base by the trend characteristic, and finally, using the multiplied value as the pollution diffusion intensity of the heavy metal elements in the soil sample in the vertical direction during online detection.

[0091] In step 104, soil samples at different sampling points under the target environment are collected, and heavy metal pollution concentration information of the soil samples at all different sampling points is obtained, and then the diffusion flow rate of the pollution concentration of the soil samples at each sampling point in the horizontal direction is determined based on the heavy metal pollution concentration information, and the pollution density vector of the soil samples at different sampling points under the target environment during online detection is determined through all the diffusion flow rates and the pollution diffusion intensity.

[0092] In a specific implementation, inductively coupled plasma mass spectrometry is used to obtain heavy metal pollution concentration information of soil samples at different sampling points in the soil area under the target environment. The soil samples often have a complex pore structure, that is, there are pores of different sizes, shapes and connectivity in the soil samples. It should be noted that the heavy metal pollution concentration information described in the present application is composed of elemental pollution data of heavy metals in soil samples at multiple sampling points, wherein the elemental pollution data in the heavy metal pollution concentration information is composed of the concentrations of a series of heavy metal elements.

[0093] In some embodiments, determining the horizontal diffusion flow of the pollution concentration of the soil sample at each sampling point according to the heavy metal pollution concentration information can be achieved by using the following steps:

[0094] Extracting the boundary diffusion amount of the soil sample at each sampling point from the heavy metal pollution concentration information;

[0095] The horizontal diffusion flow rate of the pollution concentration of the soil sample at each sampling point is determined based on all boundary diffusion amounts.

[0096] In specific implementation, the boundary diffusion amount of the soil sample at each sampling point is extracted from the heavy metal pollution concentration information and can be achieved in the following manner, namely: the elemental pollution data of the heavy metal at a sampling point is selected from the heavy metal pollution concentration information; first, the gradient at each concentration value in the elemental pollution data is calculated using the numerical calculation method in the prior art (for example, the finite difference method, the automatic differentiation method, etc., which are not limited here) for the elemental pollution data of the heavy metal at the sampling point; secondly, the gradient value with the largest gradient value is selected from the gradients at all concentration values, and the largest gradient value is used as the boundary diffusion amount of the soil sample at the sampling point; the above steps are repeated to obtain the boundary diffusion amount of the soil samples at the remaining sampling points; other methods can also be used in other embodiments, which will not be repeated here.

[0097] It should be noted that the boundary diffusion amount described in this application represents the parameter of the degree of reduction of the concentration of heavy metal pollution in the soil at the sampling point. The boundary diffusion amount can reflect the range of horizontal propagation of heavy metals in the soil. At the same time, one boundary diffusion amount corresponds to one sampling point.

[0098] In specific implementation, the following method can be used to determine the diffusion flow rate of the pollution concentration of the soil sample at each sampling point in the horizontal direction according to all the boundary diffusion amounts, namely: first, calculate the mean of all the boundary diffusion amounts, and use the obtained mean as the boundary diffusion amount equilibrium value; secondly, select the largest boundary diffusion amount and the smallest boundary diffusion amount from all the boundary diffusion amounts, subtract the smallest boundary diffusion amount from the largest boundary diffusion amount, and take the reciprocal of the exponential function with the natural logarithm as the base of the subtraction value, and then take the reciprocal of the exponential function with the natural logarithm as the base as the boundary diffusion amount coefficient; then, select a boundary diffusion amount from all the boundary diffusion amounts, multiply the boundary diffusion amount by the boundary diffusion amount coefficient and divide it by the boundary diffusion amount equilibrium value, and use the value obtained by the division as the diffusion flow rate of the pollution concentration of the soil sample at the sampling point corresponding to the boundary diffusion amount in the horizontal direction; finally, repeat the above steps to obtain the diffusion flow rate of the pollution concentration of the soil sample at the sampling point corresponding to the remaining boundary diffusion amounts in the horizontal direction. In other embodiments, other methods can also be used to implement, which will not be repeated here.

[0099] It should be noted that the diffusion flux described in the present application reflects the horizontal diffusion rate of heavy metals in the soil. The larger the diffusion flux, the faster the horizontal diffusion rate of heavy metals in the soil. By analyzing the direction and magnitude of the diffusion flux, the source of metal pollutants can be traced, which helps to improve the prediction of the diffusion trend of metal pollutants and provide a basis for pollution source control.

[0100] In some embodiments, reference Figure 3 As shown, this figure is a schematic diagram of the process of determining the pollution density vector in some embodiments of the present application. In this embodiment, the pollution density vector of the soil sample at different sampling points in the target environment during online detection is determined by all diffusion flow rates and the pollution diffusion intensity, which can be achieved by the following steps:

[0101] First, in step 1041, the vertical width distribution value of the heavy metal elements in the soil sample at the central sampling point in the target environment in the vertical direction is obtained;

[0102] Secondly, in step 1042, the pollution distribution diffusion sequence of heavy metals in the soil samples at different sampling points in the target environment during online detection is determined according to the vertical width distribution value and all diffusion flows;

[0103] Then, in step 1043, the pollution density vectors of the soil samples at different sampling points in the target environment during online detection are determined by using the pollution diffusion intensity and all pollution distribution diffusion sequences.

[0104] It should be noted that the vertical width distribution value here can be obtained by referring to the aforementioned step 103, which will not be described in detail here.

[0105] In specific implementation, the pollution distribution diffusion vector of heavy metals in soil samples at different sampling points under the target environment during online detection is determined according to the vertical width distribution value and all diffusion flows, which can be implemented in the following manner, namely: first, a diffusion flow is selected from all diffusion flows, and then all remaining diffusion flows are sorted in ascending order to obtain a transition diffusion flow sequence; secondly, the diffusion flow is divided by the vertical width distribution value, and the value obtained by the division is used as the diffusion distribution threshold, and then the diffusion distribution threshold is inserted into the position after the first diffusion flow greater than the transition diffusion flow sequence, and then the new sequence obtained after the insertion value is used as the pollution distribution diffusion sequence of heavy metals in the soil sample at the sampling point corresponding to the diffusion flow under the target environment during online detection; finally, the above steps are repeated to obtain the pollution distribution diffusion sequence of heavy metals in the soil sample at the sampling point corresponding to the remaining diffusion flow under the target environment during online detection. In other embodiments, other methods can also be used for implementation, which are not limited here.

[0106] It should be noted that the pollution distribution diffusion sequence described in this application represents the sequence data composed of the distribution of the heavy metal diffusion rate at a specific sampling point relative to the heavy metal diffusion rate at other sampling points. In addition, one pollution distribution diffusion sequence corresponds to one sampling point.

[0107] In specific implementation, the pollution density vectors of soil samples at different sampling points in the target environment during online detection are determined by the pollution diffusion intensity and all pollution distribution diffusion sequences, which can be implemented in the following manner, namely: select a pollution distribution diffusion sequence, divide all diffusion flow rates after the diffusion distribution threshold in the pollution distribution diffusion sequence by the pollution diffusion intensity, and then replace the divided values ​​at the positions corresponding to the diffusion flow rates, and then convert the pollution distribution diffusion sequence after the replacement values ​​into a one-dimensional column vector, and then use the obtained column vector as the pollution density vector of the soil samples at the sampling points corresponding to the pollution distribution diffusion sequence in the target environment during online detection, repeat the above steps to obtain the pollution density vectors of the soil samples at the sampling points corresponding to the remaining pollution distribution diffusion sequences in the target environment during online detection. Other methods can also be used in other embodiments, which will not be repeated here.

[0108] It should be noted that the pollution density vector described in the present application represents the vector of the horizontal change of the pollution density of heavy metals in soil samples at different sampling points. The pollution density vector can be used to quantitatively describe the horizontal distribution and degree of the heavy metal pollution density in the soil sample. In addition, each pollution density vector corresponds to a sampling point.

[0109] In step 105, diffusion detection is performed on soil pollution trends at different sampling points in the target environment based on all pollution density vectors to complete online detection of soil pollution in the target environment.

[0110] In some embodiments, based on all pollution density vectors, the soil pollution degree of different sampling points in the target environment is diffusely detected, and the online detection of the soil in the target environment can be completed by the following steps:

[0111] Initialize the soil pollution diffusion model;

[0112] Determine the diffusion trend values ​​of heavy metals at different sampling points according to the soil pollution diffusion model and all pollution density vectors;

[0113] The soil pollution trend of different sampling points in the target environment is detected through all diffusion trend values, thereby completing the online soil detection of the target environment.

[0114] It should be noted that the soil pollution diffusion model in this application is a mathematical model used to describe the propagation and diffusion process of heavy metals in the soil. It quantitatively predicts and analyzes the propagation and changes of soil pollution based on the basic principles of soil physics, chemistry and biological processes, the properties of heavy metal elements, the characteristics of soil media and the influence of environmental factors.

[0115] In specific implementation, the diffusion trend values ​​of heavy metals at different sampling points are determined according to the soil pollution diffusion model and all pollution density vectors. The following method is used, namely: first, a pollution density vector is selected, and the pollution density vector is used as a parameter for diffusion prediction in the soil pollution diffusion model. Then, the output result of the soil pollution diffusion model is used as the diffusion trend value of the heavy metals at the sampling point corresponding to the pollution density vector. Then, the above steps are repeated to obtain the diffusion trend values ​​of the heavy metals at the sampling points corresponding to the remaining pollution density vectors. In other embodiments, other methods can also be used for implementation, which are not limited here.

[0116] It should be noted that the diffusion trend value described in this application represents a parameter value for predicting the diffusion trend of soil pollution at each sampling point in the future. The larger the diffusion trend value, the greater the tendency of the soil pollution degree at the sampling point to spread to other places.

[0117] In specific implementation, the soil pollution trend of different sampling points under the target environment is detected through all diffusion trend values, and then the online detection of the soil in the target environment can be completed in the following way, namely: first, all the diffusion trend values ​​are sorted in ascending order and then divided into three equal parts according to the size of the diffusion trend values, so as to obtain three diffusion trend sequences, namely, a low-pollution diffusion trend sequence, a medium-pollution diffusion trend sequence and a high-pollution diffusion trend sequence; then, the soil at the sampling points corresponding to all diffusion trend values ​​in the low-pollution diffusion trend sequence can be regularly detected to ensure that the pollution trend remains stable or shows a downward trend; for the soil at the sampling points corresponding to the diffusion trend values ​​in the medium-pollution diffusion trend sequence and the high-pollution diffusion trend sequence, it is necessary to take timely and effective measures to control the pollution sources corresponding to the above-mentioned sampling points, and it is necessary to perform continuous detection at irregular intervals to ensure that the pollution trend of the soil at the sampling points shows a downward trend.

[0118] In addition, in another aspect of the present application, in some embodiments, the present application provides an online detection device for soil environmental pollution, the device comprising an online detection unit, referring to Figure 4 , which is a schematic diagram of exemplary hardware and / or software of an online detection unit according to some embodiments of the present application, the online detection unit 400 includes: an acquisition module 401, a processing module 402 and an execution module 403, which are described as follows:

[0119] Acquisition module 401, in the present application, the acquisition module 401 is mainly used to remotely control the automatic soil sampler to collect soil samples at the central sampling point under the target environment online after starting the online detection of soil environmental pollution, and to obtain the spectral data of the soil samples;

[0120] Processing module 402, in the present application, the processing module 402 is used to divide the spectral data into bands to obtain spectral characteristic bands and spectral non-characteristic bands of the soil sample;

[0121] It should be noted that the processing module 402 in the present application is also used to determine the migration amount of the heavy metal elements of the soil sample in the vertical direction according to the spectral characteristic band, extract the trend characteristics of the heavy metal element diffusion of the soil sample from the spectral non-characteristic band, and determine the pollution diffusion intensity of the heavy metal elements of the soil sample in the vertical direction during online detection through the migration vector and the trend characteristics;

[0122] In addition, the processing module 402 in the present application is also used to collect soil samples at different sampling points under the target environment, and obtain the heavy metal pollution concentration information of the soil samples at all different sampling points, and then determine the diffusion flow rate of the pollution concentration of the soil samples at each sampling point in the horizontal direction according to the heavy metal pollution concentration information, and determine the pollution density vector of the soil samples at different sampling points under the target environment during online detection through all the diffusion flows and the pollution diffusion intensity;

[0123] Execution module 403. In the present application, execution module 403 is mainly used to perform diffusion detection on soil pollution trends at different sampling points in the target environment based on all pollution density vectors, and complete online detection of soil pollution in the target environment.

[0124] In addition, the present application also provides a computer device, which includes a memory and a processor, the memory stores a code, and the processor is configured to obtain the code and execute the above-mentioned online detection method for soil environmental pollution.

[0125] In some embodiments, reference Figure 5 , which is a schematic diagram of the structure of a computer device for applying an online soil environmental pollution detection method according to some embodiments of the present application. The online soil environmental pollution detection method in the above embodiment can be Figure 5 The computer device 500 shown in the figure is implemented, and the computer device 500 includes at least one processor 501, a communication bus 502, a memory 503 and at least one communication interface 504.

[0126] The processor 501 may be a general-purpose central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more processors for controlling the execution of the online detection method for soil environmental pollution in the present application.

[0127] The communication bus 502 may be used to transmit information between the above-mentioned components.

[0128] The memory 503 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, an optical disc storage (including a compressed optical disc, a laser disc, an optical disc, a digital versatile disc, a Blu-ray disc, etc.), a magnetic disk or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of an instruction or data structure and can be accessed by a computer, but is not limited thereto. The memory 503 may exist independently and be connected to the processor 501 via the communication bus 502. The memory 503 may also be integrated with the processor 501.

[0129] The memory 503 is used to store the program code for executing the solution of the present application, and the execution is controlled by the processor 501. The processor 501 is used to execute the program code stored in the memory 503. The program code may include one or more software modules. The method described in the above method embodiment can be implemented by the processor 501 and one or more software modules in the program code in the memory 503.

[0130] The communication interface 504 uses any transceiver or other device for communicating with other devices or communication networks, such as Ethernet, radio access network (RAN), wireless local area networks (WLAN), etc.

[0131] In a specific implementation, as an embodiment, a computer device may include multiple processors, each of which may be a single-CPU processor or a multi-CPU processor. The processor here may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).

[0132] The above-mentioned computer device may be a general-purpose computer device or a special-purpose computer device. In a specific implementation, the computer device may be a desktop computer, a portable computer, a network server, a personal digital assistant (PDA), a mobile phone, a tablet computer, a wireless terminal device, a communication device or an embedded device. The embodiment of the present application does not limit the type of computer device.

[0133] In addition, the present application also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the above-mentioned soil environmental pollution online detection method is implemented.

[0134] In summary, in the online detection method and detection device for soil environmental pollution disclosed in the embodiments of the present application, online detection of soil environmental pollution is started, and an automatic soil sampler is remotely controlled to collect soil samples at a central sampling point under a target environment online, and spectral data of the soil sample is obtained; the spectral data is divided into bands to obtain spectral characteristic bands and spectral non-characteristic bands of the soil sample; the migration amount of heavy metal elements of the soil sample in the vertical direction is determined according to the spectral characteristic bands, and the trend characteristics of the heavy metal elements diffusion of the soil sample are extracted from the spectral non-characteristic bands, and the online The pollution diffusion intensity of the heavy metal elements in the soil sample in the vertical direction during detection; soil samples at different sampling points under the target environment are collected, and the heavy metal pollution concentration information of the soil samples at all different sampling points is obtained, and then the diffusion flow rate of the pollution concentration of the soil samples at each sampling point in the horizontal direction is determined according to the heavy metal pollution concentration information, and the pollution density vector of the soil samples at different sampling points under the target environment during online detection is determined through all the diffusion flows and the pollution diffusion intensity; based on all the pollution density vectors, the soil pollution trend at different sampling points under the target environment is diffusely detected to complete the online detection of soil pollution in the target environment. The scheme of the present application can reduce the influence of the complex pore structure in the soil on the diffusion trend of heavy metal pollutants, thereby improving the accuracy of online detection of the diffusion trend of heavy metal pollutants in the soil environment.

[0135] Although the preferred embodiments of the present application have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.

[0136] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A soil environmental pollution online detection method, characterized in that: The steps include: Initiate online detection of soil environmental pollution, remotely control the automatic soil sampler to collect soil samples from the central sampling point under the target environment online, and obtain spectral data of the soil samples, wherein the element data in the spectral data is composed of the type, wavelength, intensity, and width of the element, and the width represents the bandwidth of energy level transition of the element in the soil sample in the spectral signal; Dividing the spectral data into bands to obtain spectral characteristic bands and spectral non-characteristic bands of the soil sample; Determine the migration amount of the heavy metal elements of the soil sample in the vertical direction according to the characteristic band of the spectrum, extract the trend characteristics of the diffusion of the heavy metal elements of the soil sample from the non-characteristic band of the spectrum, and determine the pollution diffusion intensity of the heavy metal elements of the soil sample in the vertical direction during online detection through the migration amount and the trend characteristics; Collect soil samples at different sampling points under the target environment, and obtain heavy metal pollution concentration information of the soil samples at all different sampling points, and then determine the diffusion flow rate of the pollution concentration of the soil samples at each sampling point in the horizontal direction according to the heavy metal pollution concentration information, and determine the pollution density vector of the soil samples at different sampling points under the target environment during online detection through all the diffusion flows and the pollution diffusion intensity; Based on all pollution density vectors, the soil pollution trend of different sampling points in the target environment is diffused and detected, and the online detection of soil pollution in the target environment is completed; Wherein, determining the migration amount of the heavy metal elements of the soil sample in the vertical direction according to the spectral characteristic band specifically includes: determining a filtering window for heavy metal elements in the soil sample; Determine a spectral intensity sequence and a spectral width sequence of the soil sample according to the spectral characteristic band; Determine the vertical intensity distribution value of the heavy metal elements of the soil sample in the vertical direction through the filter window and the spectral intensity sequence; Determine the vertical width distribution value of the heavy metal elements of the soil sample in the vertical direction according to the filter window and the spectrum width sequence; Determine the migration amount of the heavy metal elements of the soil sample diffused in the vertical direction by using the vertical intensity distribution value and the vertical width distribution value; The method of extracting the diffusion trend characteristics of heavy metal elements in the soil sample from the non-characteristic band of the spectrum specifically includes: Linearly fitting the wavelength values, width values ​​and intensity values ​​of all element data in the non-characteristic band of the spectrum to obtain a wavelength fitting curve, a width fitting curve and an intensity fitting curve; Determine the trend characteristics of the heavy metal element diffusion of the soil sample according to the wavelength fitting curve, the width fitting curve and the intensity fitting curve; Wherein, determining the trend characteristics of the diffusion of heavy metal elements in the soil sample according to the wavelength fitting curve, the width fitting curve and the intensity fitting curve specifically includes: respectively obtaining the position with the largest derivative and the position with the smallest derivative at each position on the wavelength fitting curve, the width fitting curve and the intensity fitting curve, and then respectively calculating the slope between the position with the largest derivative and the position with the smallest derivative on the three curves and taking the absolute value, and then averaging the three values ​​obtained after taking the absolute values, and using the obtained average value as the trend characteristics of the diffusion of heavy metal elements in the soil sample; The method of determining the pollution density vector of soil samples at different sampling points in the target environment during online detection through all diffusion flows and the pollution diffusion intensity specifically includes: Obtain the vertical width distribution value of heavy metal elements in the soil sample at the central sampling point in the target environment in the vertical direction; Determine the pollution distribution diffusion sequence of heavy metals in soil samples at different sampling points under the target environment during online detection according to the vertical width distribution value and all diffusion flows; The pollution density vectors of soil samples at different sampling points in the target environment during online detection are determined through the pollution diffusion intensity and all pollution distribution diffusion sequences.

2. The method according to claim 1, characterized in that The spectral data is divided into bands to obtain the spectral characteristic bands and spectral non-characteristic bands of the soil sample, which specifically includes: Determine the spectral band region of the soil sample according to all element data in the spectral data; Initialize the band regression model; The spectral data is characterized according to the spectral band region and the band regression model to obtain spectral characteristic bands and spectral non-characteristic bands of the soil sample.

3. The method according to claim 1, characterized in that Determining the diffusion flow of the pollution concentration of the soil sample at each sampling point in the horizontal direction according to the heavy metal pollution concentration information specifically includes: Extracting the boundary diffusion amount of the soil sample at each sampling point from the heavy metal pollution concentration information; The horizontal diffusion flow rate of the pollution concentration of the soil sample at each sampling point is determined based on all boundary diffusion amounts.

4. The method according to claim 1, characterized in that Based on all pollution density vectors, the soil pollution trend of different sampling points in the target environment is diffused and detected. The online detection of soil pollution in the target environment is completed, which specifically includes: Initialize the soil pollution diffusion model; Determine the diffusion trend values ​​of heavy metals at different sampling points according to the soil pollution diffusion model and all pollution density vectors; The soil pollution trend of different sampling points in the target environment is detected through all diffusion trend values, thereby completing the online soil detection of the target environment.

5. An online detection device for soil environmental pollution, which adopts the method according to any one of claims 1 to 4 for detection, and the online detection device for soil environmental pollution comprises an online detection unit, characterized in that: The online detection unit comprises: An acquisition module is used to remotely control the automatic soil sampler to collect soil samples from a central sampling point under a target environment online after starting the online detection of soil environmental pollution, and to obtain spectral data of the soil samples; A processing module, used for dividing the spectral data into bands to obtain spectral characteristic bands and spectral non-characteristic bands of the soil sample; The processing module is further used to determine the migration amount of the heavy metal elements of the soil sample in the vertical direction according to the spectral characteristic band, extract the trend characteristics of the heavy metal element diffusion of the soil sample from the spectral non-characteristic band, and determine the pollution diffusion intensity of the heavy metal elements of the soil sample in the vertical direction during online detection through the migration amount and the trend characteristics; The processing module is also used to collect soil samples at different sampling points under the target environment, and obtain heavy metal pollution concentration information of the soil samples at all different sampling points, and then determine the diffusion flow of the pollution concentration of the soil samples at each sampling point in the horizontal direction according to the heavy metal pollution concentration information, and determine the pollution density vector of the soil samples at different sampling points under the target environment during online detection through all the diffusion flows and the pollution diffusion intensity; The execution module is used to perform diffusion detection of soil pollution trends at different sampling points in the target environment based on all pollution density vectors, and complete online detection of soil pollution in the target environment.

6. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the online detection method for soil environmental pollution according to any one of claims 1 to 4 is implemented.

7. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the online detection method for soil environmental pollution according to any one of claims 1 to 4 is implemented.

Citation Information

Patent Citations

  • Coal mine area storage yard soil heavy metal risk management and control system and migration inversion method

    CN113919141A

  • Soil heavy metal content inversion method fusing spectrum and spatial characteristics

    CN115236005A

  • Farmland heavy metal pollution monitoring method

    CN117949629A

  • Method for the region's ecological state data collection and an automated system of ecological monitoring and emergency monitoring of the regional environment

    RU2443001C1