Method for tracing multi-channel multi-medium heavy metal pollution source in river

Through the combination of principal component analysis and principal component regression methods, the problem in the existing technology of being unable to accurately trace the sources of heavy metal pollution in multiple channels and media has been solved, and the accurate identification and traceability of the sources of heavy metal pollutants in complex environments has been achieved, improving pollution control. The accuracy of source determination.

CN118533774APending Publication Date: 2024-08-23SICHUAN UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410617433.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-17
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

Existing heavy metal pollution source tracing methods cannot accurately trace the source of heavy metal pollution in a complex environment with multiple channels, multi-media, and diverse sources, and have certain limitations and shortcomings.

Method used

Using a method that combines principal component analysis and principal component regression, obtain pollutant samples, monitor the content of heavy metal pollutants, perform principal component analysis, calculate the principal component score, and use the regression model to determine the source of the target heavy metal pollutants for refined analysis. The degree of influence of each pollution source on the principal component score significantly reduces the need to rely on human experience.

Benefits of technology

It improves the accuracy of determining the source of heavy metal pollutants in the case of multiple media and multiple sources, and can accurately screen out specific sources of pollutants within a rough selection range, significantly improving the accuracy of traceability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118533774A
    Figure CN118533774A
Patent Text Reader

Abstract

The invention relates to a method for tracing a multi-channel multi-medium heavy metal pollution source in a river. The method comprises the following steps: firstly, acquiring a pollutant sample; then, monitoring the heavy metal pollutants in the pollutant sample to obtain the content of the heavy metal pollutants; then, carrying out principal component analysis on the content of the heavy metal pollutants to obtain a principal component score of the heavy metal pollutants; and finally, processing the main component score of the heavy metal pollutant by adopting main component regression, and determining the source of the target heavy metal pollutant. Namely, when the source of the multi-channel and multi-medium heavy metal pollution is traced, a principal component analysis method is combined with a principal component regression method, firstly, a rough selection range of the source of the pollutant is determined by using principal component analysis, and then, the influence degree of each pollution source on the score of the principal component is further finely analyzed by using principal component regression, so that the source of the multi-channel and multi-medium heavy metal pollution is traced. Therefore, the specific pollutant source is accurately screened out in the rough selection range, and the accuracy of heavy metal pollutant source determination under the multi-medium and multi-source condition is effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of environmental protection technology, and in particular to a method for tracing the sources of multi-channel and multi-media heavy metal pollution in a river. Background Art

[0002] At present, with the acceleration of industrialization and the rapid development of urbanization, the environmental problems caused by heavy metal pollution are becoming increasingly serious. In modern cities, the sources of heavy metal pollution are very complex, usually coming from industrial wastewater, pesticides, fertilizers, urban waste and other sources, involving multiple industries, multiple channels, multiple sources and multiple elements, which not only seriously endangers human health, but also causes irreversible damage to the ecological environment.

[0003] With the continuous advancement of urbanization, heavy metal pollution in water bodies is becoming more and more common. In environmental protection work, tracing the source of heavy metal pollution is a very important link in the governance and management of heavy metal pollution. However, due to the complexity of the source of heavy metal pollution and the diversity of polluting elements, the existing tracing methods have certain limitations and shortcomings. The existing methods for tracing the source of heavy metal pollution mainly determine the source through analysis of the chemical composition, isotopic composition, mineral composition, etc. of pollutants. However, these single methods are often unable to accurately trace the source of heavy metal pollution with diverse channels and complex sources.

[0004] Therefore, in the relevant technology, there is an urgent need for a method that can improve the accuracy of tracing the sources of heavy metal pollution with diverse elements in various channels. Summary of the invention

[0005] Based on this, it is necessary to provide a method for tracing the multi-channel and multi-media sources of heavy metal pollution in rivers, which can improve the accuracy of tracing the sources of heavy metal pollution with diverse elements in various channels, in response to the above technical problems.

[0006] In a first aspect, the present application provides a method for tracing the sources of multi-channel and multi-media heavy metal pollution in a river. The method comprises:

[0007] Obtaining samples of contaminants;

[0008] Monitoring heavy metal pollutants in the pollutant sample to obtain the content of heavy metal pollutants;

[0009] Performing principal component analysis on the heavy metal pollutant content to obtain a principal component score of the heavy metal pollutant;

[0010] The principal component scores of the heavy metal pollutants are processed using principal component regression to determine the source of the target heavy metal pollutants.

[0011] Optionally, in one embodiment of the present application, obtaining a pollutant sample includes:

[0012] Pollutant samples are collected based on different sampling points, and the pollutant samples are prepared and processed.

[0013] Optionally, in one embodiment of the present application, the monitoring method includes at least one of atomic absorption spectroscopy and inductively coupled plasma mass spectrometry.

[0014] Optionally, in one embodiment of the present application, performing principal component analysis on the heavy metal pollutant content to obtain a principal component score of the heavy metal pollutant includes:

[0015] Standardizing the heavy metal pollutant content and generating an initial matrix;

[0016] Calculate the covariance matrix based on the initial matrix to determine the correlation and correlation strength between the heavy metal pollutants;

[0017] Calculate eigenvalues ​​and corresponding eigenvectors based on the covariance matrix;

[0018] Determine the heavy metal pollutant principal component and the corresponding heavy metal pollutant principal component eigenvector based on the eigenvalue;

[0019] Based on the main component characteristic vector of the heavy metal pollutant, the score of the pollutant sample on the main component of the heavy metal pollutant is calculated.

[0020] Optionally, in one embodiment of the present application, performing principal component regression based on the principal component scores of the heavy metal pollutants to determine the source of the target heavy metal pollutants includes:

[0021] A regression model is used to obtain the response variable based on the principal component scores to determine the source of the target heavy metal pollutants.

[0022] Optionally, in one embodiment of the present application, the regression model is in the form of:

[0023] Y=β0+β1PC1+β2PC2+…+β n PC n +∈

[0024] Among them, Y represents the response variable, that is, the possible pollution source category; PC1, PC2,…, PC n represents the principal component scores obtained from PCA; β0,β1,…,β n is the regression coefficient, which indicates the weight of each principal component in the regression model; ∈ is the error term of the model.

[0025] Optionally, in one embodiment of the present application, the method further includes:

[0026] Determine the type and impact range of the pollution source based on the main component score of the heavy metal pollutants;

[0027] The connections and differences between the pollution sources are determined based on the results of the principal component regression.

[0028] In a second aspect, the present application also provides a device for tracing the sources of multi-channel and multi-media heavy metal pollution in rivers. The device comprises:

[0029] A pollutant sample acquisition module, used for acquiring pollutant samples;

[0030] A heavy metal pollutant monitoring module is used to monitor the heavy metal pollutants in the pollutant sample and obtain the heavy metal pollutant content;

[0031] A principal component analysis module, used to perform principal component analysis on the content of the heavy metal pollutants to obtain a principal component score of the heavy metal pollutants;

[0032] The target heavy metal pollution source determination module is used to use principal component regression to process the principal component scores of the heavy metal pollutants to determine the target heavy metal pollutant sources.

[0033] In a third aspect, the present application further provides a computer device, wherein the computer device comprises a memory and a processor, wherein the memory stores a computer program, and the processor executes the steps of the methods described in the above embodiments.

[0034] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the method described in each of the above embodiments are implemented.

[0035] The above-mentioned method, device, computer equipment and storage medium for tracing the sources of multi-channel and multi-media heavy metal pollution in rivers first obtains pollutant samples; then, monitors the heavy metal pollutants in the pollutant samples to obtain the content of heavy metal pollutants; then, performs principal component analysis on the content of heavy metal pollutants to obtain the principal component score of heavy metal pollutants; finally, uses principal component regression to process the principal component score of heavy metal pollutants to determine the source of target heavy metal pollutants. That is to say, when tracing the sources of multi-channel and multi-media heavy metal pollution, the principal component analysis method is combined with the principal component regression method. First, the principal component analysis is used to determine the approximate selection range of the pollutant source, and then the principal component regression is used to further refine the analysis of the influence of each pollution source on the principal component score, so as to accurately screen out specific pollutant sources in the approximate selection range, significantly reducing the need to rely on human experience to select pollution sources, and effectively improving the accuracy of determining the source of heavy metal pollutants in the case of multiple media and multiple sources. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 An application environment diagram of a method for tracing sources of multi-channel and multi-media heavy metal pollution in a river in one embodiment;

[0037] Figure 2 A schematic diagram of a process for tracing the sources of multi-channel and multi-media heavy metal pollution in a river in one embodiment;

[0038] Figure 3 A schematic diagram of the results of analyzing the content of heavy metal elements in sediments in one embodiment;

[0039] Figure 4 A structural block diagram of a device for tracing the sources of multi-channel and multi-media heavy metal pollution in a river in one embodiment;

[0040] Figure 5 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0041] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0042] The method for tracing the sources of multi-channel and multi-media heavy metal pollution in rivers provided in the embodiments of the present application can be applied to Figure 1 In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. Among them, the terminal 102 can be but is not limited to various personal computers, laptops, smart phones, tablets, Internet of Things devices and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The server 104 can be implemented with an independent server or a server cluster consisting of multiple servers.

[0043] In one embodiment, Figure 2 As shown, a method for tracing the sources of multi-channel and multi-media heavy metal pollution in rivers is provided. Figure 1 The server in the example is used to illustrate the following steps:

[0044] S201: Obtain pollutant samples.

[0045] In the embodiments of the present application, first, a pollutant sample is obtained. The pollutant sample refers to heavy metal pollutants in different media such as water, bottom mud, and sediment in a river. Different heavy metal pollutant samples are collected by selecting different sampling points according to actual conditions.

[0046] S203: Monitor the heavy metal pollutants in the pollutant sample to obtain the content of heavy metal pollutants.

[0047] In the examples of the present application, conventional analytical methods are used to monitor heavy metal pollutants in pollutant samples to obtain the contents of each heavy metal pollutant in samples from various source channels and various media.

[0048] S205: Perform principal component analysis on the heavy metal pollutant content to obtain a principal component score of the heavy metal pollutant.

[0049] In an embodiment of the present application, principal component analysis is performed on the processed data, i.e., the content of heavy metal pollutants. By performing a linear transformation on the raw data obtained by measurement, the high-dimensional data is converted into low-dimensional principal components, the inherent laws and important factors in the data are discovered, and the principal component scores of heavy metal pollutants are determined. In one embodiment of the present application, principal component analysis is performed on a matrix consisting of heavy metal concentrations at multiple sampling points in a region, wherein the region refers to the study area, and heavy metal pollution in the study area with multiple media and multiple sources is traced to determine its possible sources. Multiple sampling points refer to some geographical locations within the study geographical area, such as riverbed mud, rivers, and sediments. By sampling the heavy metal concentrations at these geographical locations, an initial matrix is ​​formed for principal component analysis to determine potential sources of pollution based on the results of the principal component analysis.

[0050] S207: Using principal component regression to process the principal component scores of the heavy metal pollutants to determine the source of the target heavy metal pollutants.

[0051] In the embodiment of the present application, the principal component regression method is further used on the basis of the principal component analysis results to divide the samples into different categories, and the source of heavy metal pollutants is traced according to the principal component scores of heavy metal pollutants to obtain the traceability results. Among them, principal component regression (PCR) requires further principal component analysis of the data to reduce the dimension. Common methods include simplifying the data structure by extracting the most important components. Principal component regression combines the dimensionality reduction advantage of PCA and the predictive ability of regression analysis, and can provide more stable and reliable results when dealing with predictor variables with multicollinearity.

[0052] In the above method of tracing the sources of multi-channel and multi-media heavy metal pollution in rivers, first, obtain pollutant samples; then, monitor the heavy metal pollutants in the pollutant samples to obtain the heavy metal pollutant content; then, perform principal component analysis on the heavy metal pollutant content to obtain the principal component score of heavy metal pollutants; finally, use principal component regression to process the principal component score of heavy metal pollutants to determine the source of target heavy metal pollutants. That is to say, when tracing the sources of multi-channel and multi-media heavy metal pollution, the principal component analysis method is combined with the principal component regression method. First, the principal component analysis is used to determine the approximate selection range of the pollutant source, and then the principal component regression is used to further refine the analysis of the influence of each pollution source on the principal component score, so as to accurately screen out specific pollutant sources in the approximate selection range, significantly reducing the need to rely on human experience to select pollution sources, and effectively improving the accuracy of determining the source of heavy metal pollutants in multi-media and multi-source situations.

[0053] In one embodiment of the present application, obtaining a pollutant sample comprises:

[0054] Pollutant samples are collected based on different sampling points, and the pollutant samples are prepared and processed.

[0055] In one embodiment of the present application, first, it is necessary to select different sampling points according to actual conditions, including heavy metal pollutants in different media such as water bodies, bottom mud, and sediments. According to the nature of the sample and its source channel, select appropriate sampling equipment and sampling containers to ensure the representativeness and integrity of the sample. After the sampling is completed, the pollutant samples need to be prepared. For samples collected from water bodies, they can be prepared by simple filtration and other methods. For samples collected from riverbed mud and sediments, it is necessary to perform crushing, screening and other processes to obtain samples with suitable particle size and good representativeness. At the same time, it is also necessary to pay attention to the selection of the collection time period during the sample collection process, which should be representative enough, including the dry season, rainy season and transition period of the year.

[0056] In one embodiment of the application, field investigation was carried out in March, April and July of the year, corresponding to local dry season, drought-rain transition period and rainy season respectively, and in order to ensure the representativeness of sample collection, 7 locations were selected to collect samples from water, riverbed mud and sediment respectively. These selected sampling points include tributary inlet, municipal sewage discharge outlet, industrial sewage discharge outlet etc. Different preparation treatment modes were adopted for different channel source samples, on the scene, water sample HNO3 acidification, make its pH value lower than 2.00, and be stored in the polyethylene bottle, sediment and riverbed mud samples are then collected with stainless steel grab or shovel, discarded after peeling off the top layer, and residue is put into polypropylene bag, sealed and preserved. In addition, these three types of samples are collected in the same place in each season.

[0057] In this embodiment, by collecting pollutant samples based on different sampling points and performing preparation processing on the pollutant samples, the pollutant samples at different sampling points can be obtained in the most appropriate manner.

[0058] In one embodiment of the present application, the monitoring method includes at least one of atomic absorption spectroscopy and inductively coupled plasma mass spectrometry.

[0059] In one embodiment of the present application, conventional analytical methods may be selected for monitoring heavy metal pollutants in samples, such as atomic absorption spectroscopy, inductively coupled plasma mass spectrometry, etc. During the detection process, the monitoring conditions and methods need to be strictly controlled.

[0060] In this embodiment, by using at least one of atomic absorption spectroscopy and inductively coupled plasma mass spectrometry to monitor heavy metal pollutants in samples, the accuracy and reliability of the data are guaranteed.

[0061] In one embodiment of the present application, performing principal component analysis on the heavy metal pollutant content to obtain a principal component score of the heavy metal pollutant includes:

[0062] S301: Standardizing the heavy metal pollutant content and generating an initial matrix.

[0063] S303: Calculate the covariance matrix based on the initial matrix to determine the correlation and correlation strength between the heavy metal pollutants.

[0064] S305: Calculate eigenvalues ​​and corresponding eigenvectors based on the covariance matrix.

[0065] S307: Determine the heavy metal pollutant principal component and the corresponding heavy metal pollutant principal component characteristic vector based on the characteristic value.

[0066] S309: Based on the main component characteristic vector of the heavy metal pollutant, the score of the pollutant sample on the main component of the heavy metal pollutant is calculated.

[0067] In one embodiment of the present application, first, the raw data in the collected samples are standardized to eliminate the dimension and unit differences between different variables. The initial matrix of the principal component analysis is generated according to the heavy metal concentrations of the sediments of multiple sampling points selected during sampling, wherein each element position in the initial matrix corresponds to the two-dimensional spatial coordinates of a geographical location, and each element value corresponds to the heavy metal concentration of the geographical location. Afterwards, the covariance matrix is ​​calculated to determine the correlation and correlation strength between the variables. Afterwards, the eigenvalues ​​of the covariance matrix are decomposed and calculated to obtain the eigenvalues ​​and corresponding eigenvectors. The essence of principal component analysis is to convert at least one pollution source affecting the heavy metal concentration into at least one principal component factor that is unrelated to each other, and each principal component factor is used to characterize the complex of at least one pollution source. Optionally, for the purpose of source identification, the rotation method used in principal component analysis is variance maximization rotation, and after rotation, factors with eigenvalues ​​greater than 1 are extracted as principal component factors. When selecting the principal component, the number and importance of the principal component are selected according to the size of the eigenvalue and the proportion of the explained variance. Usually, several items with eigenvalues ​​greater than 1 or cumulative explained variances exceeding 70% are selected as principal components for analysis. Finally, based on the selected principal components and the corresponding eigenvectors, the scores of each sample on each principal component are calculated to represent the characteristic performance of each sample on different principal components.

[0068] In the principal component analysis (PCA) method, the analysis is mainly completed through two important matrices: the factor loading matrix and the factor score matrix. The factor loading matrix includes the coefficients of the relationship equation of each principal component factor relative to the heavy metal concentration of each sampling point. Simply put, it shows the proportion of each principal component factor in the heavy metal concentration of each sampling point, reflecting how these factors affect the change in heavy metal concentration. This helps to identify and classify different potential sources of pollution. The factor score matrix is ​​the coefficient of the relationship equation with the heavy metal concentration of each sampling point as the independent variable and each principal component factor as the dependent variable. It illustrates how the heavy metal concentration of each sampling point affects each principal component factor, which helps to analyze and determine the spatial distribution pattern of these pollution sources. In specific applications, such as Figure 3 The following table shows the results of the principal component analysis of the heavy metal elements in the sediments.

[0069] Table 1. Results of principal component analysis

[0070]

[0071]

[0072] In this embodiment, the factor loading matrix is ​​used to determine the source type of heavy metal pollutants and their spatial distribution, and then the specific name and geographical location of the pollution source are determined according to the type and spatial distribution of the pollution source. This effectively improves the defect of traditional pollutant source tracing that only the type of pollution source (such as industrial source, agricultural source, geological background, etc.) can be identified, and the refinement and precision of pollutant source identification is achieved.

[0073] In one embodiment of the present application, performing principal component regression based on the principal component scores of the heavy metal pollutants to determine the source of the target heavy metal pollutants includes:

[0074] A regression model is used to obtain the response variable based on the principal component scores to determine the source of the target heavy metal pollutants.

[0075] In one embodiment of the present application, after performing principal component analysis, principal component regression analysis is used to further process the principal component scores. Specifically, the principal component scores are input into a regression model, and a response variable is output. The predicted response variable is the source of the target heavy metal pollutants.

[0076] In this embodiment, principal component regression is used to further refine the analysis of the influence of each pollution source on the principal component score, so as to accurately screen out specific pollutant sources within a roughly selected range.

[0077] In one embodiment of the present application, the regression model is in the form of:

[0078] Y=β0+β1PC1+β2PC2+…+β n PC n +∈

[0079] Among them, Y represents the response variable, that is, the possible pollution source category; PC1, PC2,…, PC n represents the principal component scores obtained from PCA; β0,β1,…,β n is the regression coefficient, which indicates the weight of each principal component in the regression model; ∈ is the error term of the model.

[0080] In one embodiment of the present application, the method further includes:

[0081] S401: Determine the type and impact range of the pollution source based on the main component score of the heavy metal pollutant.

[0082] S403: Determine the connections and differences between pollution sources based on the results of the principal component regression.

[0083] In one embodiment of the present application, first, according to the contribution and principal component scores of different principal components in the sampling data, the influence and contribution degree of different pollution sources on the sample are analyzed to preliminarily determine the type and scope of influence of the pollution source. Afterwards, according to the principal component regression analysis results, the samples are divided into different categories with similar principal component scores, and the similarities and differences between these categories are analyzed to determine the connection and difference between the sources of each pollutant. Optionally, the principal component regression analysis results can also be combined with the analysis results of other methods to determine the relative position between different pollutant sources and the diffusion range of their pollutants. Finally, the specific location and scope of influence of the pollution source are determined according to the analysis results, and the tracing of heavy metal pollutants in multi-media and multi-source situations is completed.

[0084] In specific applications, combined with the results in Table 1 above, it can be seen that after principal component analysis and regression analysis, it was found that the possible sources of heavy metal pollution in water and sediment are similar. The loads of Cu, Zn, As, Cd and Pb in factor 1 are moderately high, and the load of V is low, which may come from industrial emissions, including emissions from mining and steel companies in the study area. The load of V in factor 2 is large, and the loads of Cu and Zn are small. Therefore, according to the geological background of the study area, factor 2 may come from the parent rock of the geological background. The high arsenic load in factor 3 may be related to the use of arsenic-containing fertilizers and pesticides, which means that factor 3 may come from agricultural sources. Therefore, it can be analyzed that industrial emissions, parent rock weathering and agricultural pollution emissions are the three main sources of heavy metal pollution in surface water and riverbank sediments. In addition, heavy metal pollution in sediments is mainly affected by industrial development and agricultural activities.

[0085] In this embodiment, the type and impact range of the pollution source are determined based on the principal component score of the heavy metal pollutants, the connection and difference between the pollution sources are determined based on the results of the principal component regression, and the pollution source with the largest contribution is located near the sub-region with the highest principal component factor score according to the spatial distribution of the principal component factor score. The location of the pollution source with the largest contribution is identified by combining the results of the principal component regression method, thereby realizing the automated identification of the source of heavy metal pollutants under multi-media and multi-source conditions, and the identification results are accurate and the identification speed is fast.

[0086] The following is a specific example to illustrate the specific implementation steps of the method for tracing the sources of multi-channel and multi-media heavy metal pollution in rivers of the present application. First, S501, obtain a pollutant sample. Specifically, S503, collect pollutant samples based on different sampling points, and prepare and process the pollutant samples. Afterwards, S505, monitor the heavy metal pollutants in the pollutant samples to obtain the heavy metal pollutant content, and the monitoring method includes at least one of atomic absorption spectroscopy and inductively coupled plasma mass spectrometry.

[0087] Afterwards, S507, the principal component analysis is performed on the content of the heavy metal pollutants to obtain the principal component score of the heavy metal pollutants. Specifically, S509-S517, the content of the heavy metal pollutants is standardized and an initial matrix is ​​generated; based on the initial matrix, a covariance matrix is ​​calculated to determine the correlation and correlation strength between the heavy metal pollutants; based on the covariance matrix, eigenvalues ​​and corresponding eigenvectors are calculated; based on the eigenvalues, the principal component of the heavy metal pollutants and the corresponding principal component eigenvector of the heavy metal pollutants are determined; based on the principal component eigenvector of the heavy metal pollutants, the score of the pollutant sample on the principal component of the heavy metal pollutants is calculated.

[0088] Finally, S519, principal component regression is used to process the principal component scores of the heavy metal pollutants to determine the source of the target heavy metal pollutants. Specifically, S521, a regression model is used to obtain a response variable based on the principal component scores to determine the source of the target heavy metal pollutants. The form of the regression model is:

[0089] Y=β0+β1PC1+β2PC2+…+β n PC n +∈

[0090] Among them, Y represents the response variable, that is, the possible pollution source category; PC1, PC2,…, PCn represent the principal component scores obtained from PCA; β0, β1,…, βn are regression coefficients, indicating the weight of each principal component in the regression model; ∈ is the error term of the model.

[0091] S523-S525, determining the type and impact range of pollution sources based on the principal component scores of the heavy metal pollutants; and determining the connections and differences between the pollution sources based on the results of the principal component regression.

[0092] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0093] Based on the same inventive concept, the embodiment of the present application also provides a device for tracing the sources of multi-channel and multi-media heavy metal pollution in a river for realizing the method for tracing the sources of multi-channel and multi-media heavy metal pollution in a river involved in the above-mentioned method. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above-mentioned method, so the specific limitations in one or more embodiments of the device for tracing the sources of multi-channel and multi-media heavy metal pollution in a river provided below can refer to the limitations of the method for tracing the sources of multi-channel and multi-media heavy metal pollution in a river above, and will not be repeated here.

[0094] In one embodiment, Figure 4 As shown, a device 400 for tracing the source of multi-channel and multi-media heavy metal pollution in a river is provided, comprising: a pollutant sample acquisition module 401, a heavy metal pollutant monitoring module 403, a principal component analysis module 405 and a target heavy metal pollution source determination module 407, wherein:

[0095] The pollutant sample acquisition module 401 is used to acquire pollutant samples.

[0096] The heavy metal pollutant monitoring module 403 is used to monitor the heavy metal pollutants in the pollutant sample and obtain the heavy metal pollutant content.

[0097] The principal component analysis module 405 is used to perform principal component analysis on the heavy metal pollutant content to obtain the principal component score of the heavy metal pollutant.

[0098] The target heavy metal pollution source determination module 407 is used to process the principal component scores of the heavy metal pollutants using principal component regression to determine the target heavy metal pollutant source.

[0099] In one embodiment of the present application, the pollutant sample acquisition module is further used for:

[0100] Pollutant samples are collected based on different sampling points, and the pollutant samples are prepared and processed.

[0101] In one embodiment of the present application, the monitoring method includes at least one of atomic absorption spectroscopy and inductively coupled plasma mass spectrometry.

[0102] In one embodiment of the present application, the principal component analysis module is further used to:

[0103] Standardizing the heavy metal pollutant content and generating an initial matrix;

[0104] Calculate the covariance matrix based on the initial matrix to determine the correlation and correlation strength between the heavy metal pollutants;

[0105] Calculate eigenvalues ​​and corresponding eigenvectors based on the covariance matrix;

[0106] Determine the heavy metal pollutant principal component and the corresponding heavy metal pollutant principal component eigenvector based on the eigenvalue;

[0107] Based on the main component characteristic vector of the heavy metal pollutant, the score of the pollutant sample on the main component of the heavy metal pollutant is calculated.

[0108] In one embodiment of the present application, the target heavy metal pollution source determination module is also used to:

[0109] A regression model is used to obtain the response variable based on the principal component scores to determine the source of the target heavy metal pollutants.

[0110] In one embodiment of the present application, the regression model is in the form of:

[0111] Y=β0+β1PC1+β2PC2+…+β n PC n +∈

[0112] Among them, Y represents the response variable, that is, the possible pollution source category; PC1, PC2,…, PCn represent the principal component scores obtained from PCA; β0, β1,…, βn are regression coefficients, indicating the weight of each principal component in the regression model; ∈ is the error term of the model.

[0113] In one embodiment of the present application, the target heavy metal pollution source determination module includes:

[0114] Determine the type and impact range of the pollution source based on the main component score of the heavy metal pollutants;

[0115] The connections and differences between the pollution sources are determined based on the results of the principal component regression.

[0116] Each module in the above-mentioned device for tracing the sources of multi-channel and multi-media heavy metal pollution in rivers can be implemented in whole or in part by software, hardware, or a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.

[0117] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 5As shown. The computer device includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a device method for tracing the source of multi-channel and multi-media heavy metal pollution in a river is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covered on the display screen, or a key, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse, etc.

[0118] Those skilled in the art will understand that Figure 5 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0119] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.

[0120] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

[0121] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0122] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.

[0123] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0124] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0125] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A method for tracing the sources of multi-channel and multi-media heavy metal pollution in a river, characterized in that: The method comprises: Obtaining contaminant samples; Monitoring heavy metal pollutants in the pollutant sample to obtain the content of heavy metal pollutants; Performing principal component analysis on the heavy metal pollutant content to obtain a principal component score of the heavy metal pollutant; The principal component scores of the heavy metal pollutants are processed using principal component regression to determine the source of the target heavy metal pollutants.

2. The method for tracing the sources of multi-channel and multi-media heavy metal pollution in rivers according to claim 1, characterized in that: The obtaining of pollutant samples comprises: Pollutant samples are collected based on different sampling points, and the pollutant samples are prepared and processed.

3. The method for tracing the sources of multi-channel and multi-media heavy metal pollution in rivers according to claim 1, characterized in that: The monitoring method includes at least one of atomic absorption spectroscopy and inductively coupled plasma mass spectrometry.

4. The method for tracing the sources of multi-channel and multi-media heavy metal pollution in rivers according to claim 1, characterized in that: The principal component analysis of the heavy metal pollutant content to obtain the principal component score of the heavy metal pollutant includes: Standardizing the heavy metal pollutant content and generating an initial matrix; Calculate the covariance matrix based on the initial matrix to determine the correlation and correlation strength between the heavy metal pollutants; Calculate eigenvalues ​​and corresponding eigenvectors based on the covariance matrix; Determine the heavy metal pollutant principal component and the corresponding heavy metal pollutant principal component eigenvector based on the eigenvalue; Based on the main component characteristic vector of the heavy metal pollutant, the score of the pollutant sample on the main component of the heavy metal pollutant is calculated.

5. The method for tracing the sources of multi-channel and multi-media heavy metal pollution in rivers according to claim 1, characterized in that: The performing principal component regression based on the principal component scores of the heavy metal pollutants to determine the source of the target heavy metal pollutants includes: A regression model is used to obtain the response variable based on the principal component scores to determine the source of the target heavy metal pollutants.

6. The method for tracing the sources of multi-channel and multi-media heavy metal pollution in rivers according to claim 5, characterized in that: The regression model is of the form: Y=β0+β1PC1+β2PC2+…+β n PC n +∈ Among them, Y represents the response variable, that is, the possible pollution source category; PC1, PC2,…, PC n represents the principal component scores obtained from PCA; β0,β1,…,β n is the regression coefficient, which indicates the weight of each principal component in the regression model; ∈ is the error term of the model.

7. The method for tracing the sources of multi-channel and multi-media heavy metal pollution in rivers according to claim 1, characterized in that: The method further comprises: Determine the type and impact range of the pollution source based on the main component score of the heavy metal pollutants; The connections and differences between the pollution sources are determined based on the results of the principal component regression.

8. A device for tracing the sources of multi-channel and multi-media heavy metal pollution in rivers, characterized in that: The device comprises: A pollutant sample acquisition module, used for acquiring pollutant samples; A heavy metal pollutant monitoring module is used to monitor the heavy metal pollutants in the pollutant sample and obtain the heavy metal pollutant content; A principal component analysis module, used to perform principal component analysis on the content of the heavy metal pollutants to obtain a principal component score of the heavy metal pollutants; The target heavy metal pollution source determination module is used to use principal component regression to process the principal component scores of the heavy metal pollutants to determine the target heavy metal pollutant sources.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.