A method and system for identifying abnormal water quality data

By constructing a water quality change mass spectrum library, processing water quality monitoring data into multi-band image data, and using information divergence and time differences to identify water quality anomalies, the problem of being unable to scientifically judge water quality anomalies in the existing technology has been solved, and the scientific nature of water quality monitoring has been achieved. and accuracy.

CN114563463BActive Publication Date: 2024-10-11SHANGHAI UBIQUITOUS NAVIGATION TECHNOLOGYCO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210108641.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-28
Publication Date
2024-10-11
Estimated Expiration
2042-01-28

Smart Images

  • Figure CN114563463B_ABST
    Figure CN114563463B_ABST
Patent Text Reader

Abstract

The present invention provides a method and system for identifying water quality data anomalies, including: step S1, obtaining water quality monitoring data, including multiple indicator factors and corresponding time series data; step S2, processing the time series data corresponding to the indicator factors to obtain a standardized array matrix; step S3, converting each standardized array matrix into image data and synthesizing the bands to obtain multi-band image data, extracting the pixel value of each indicator factor to form current mass spectrum data; step S4, matching the current mass spectrum data with each standard mass spectrum data, and obtaining the water quality data anomaly identification result corresponding to the water quality monitoring site according to the matching result. The beneficial effect is that the method and system convert water quality monitoring data into multi-band image data, extract the pixel values ​​in the multi-band image data to obtain the current mass spectrum data, obtain the adapted mass spectrum data through information divergence screening, and identify water quality data anomalies through time difference, thereby providing scientific support for controlling water quality to meet standards.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of water quality monitoring, and in particular to a method and system for identifying abnormalities in water quality data. Background Art

[0002] The urgent need for water environment protection, construction and development is water environment governance. Water environment monitoring is an important prerequisite and basis for timely, accurate and comprehensive reflection of the water quality status of the river basin and the future development and changes of water quality. It is one of the core contents of water environment governance and provides basic data support for water environment management, pollution reduction, environmental planning, etc.

[0003] At present, the use of water quality data is merely for operators to judge whether to carry out water environment management based on intuitive data. It is impossible to judge the abnormality of the water environment from a macro perspective, which will cause errors in manual judgment. Summary of the invention

[0004] In view of the problems existing in the prior art, the present invention provides a method for identifying abnormal water quality data, which pre-builds a water quality change mass spectrum library for storing multiple standard mass spectrum data;

[0005] Then the water quality data anomaly identification method includes:

[0006] Step S1, obtaining water quality monitoring data of a water quality monitoring site, wherein the water quality monitoring data includes a plurality of indicator factors and a time series data corresponding to each of the indicator factors;

[0007] Step S2, for each of the index factors, processing the time series data corresponding to the index factor to obtain a standardized array matrix;

[0008] Step S3, converting each of the standardized array matrices into an image data, performing band synthesis on each of the image data to obtain a multi-band image data, and extracting the pixel value of each of the index factors in the multi-band image data to form a current mass spectrum data;

[0009] Step S4, matching the current mass spectrum data with each of the standard mass spectrum data, and obtaining the water quality data anomaly identification result corresponding to the water quality monitoring site according to the matching result.

[0010] Preferably, each piece of the standard mass spectrum data is associated with a standard monitoring time, and the step S4 comprises:

[0011] Step S41, matching the current mass spectrum data with each of the standard mass spectrum data to obtain a pair of adapted mass spectrum data and the standard monitoring time corresponding to the adapted mass spectrum data as the matching result;

[0012] Step S42, obtaining a time difference value according to the standard monitoring time corresponding to the adapted mass spectrum data and a current monitoring time corresponding to the current mass spectrum data, and determining whether the time difference value is greater than a preset threshold value:

[0013] If so, outputting a water quality data anomaly identification result representing the anomaly of the current mass spectrum data;

[0014] If not, output a water quality data anomaly identification result indicating that the current mass spectrum data is normal.

[0015] Preferably, the step S2 comprises:

[0016] Step S21, for each of the indicator factors, respectively process the time series data corresponding to the indicator factor to obtain a mean value data and a standard deviation data;

[0017] Step S22, obtaining the corresponding standardized array matrix according to the mean data, the standard deviation data and the time series data.

[0018] Preferably, before executing step S1, a process of constructing the water quality change mass spectrum library is performed, which specifically includes the following steps:

[0019] Step A1, obtaining a plurality of historical monitoring data of the water quality monitoring site, wherein the historical monitoring data includes a plurality of historical indicators and a historical time series data corresponding to each of the historical indicators;

[0020] Step A2, for each of the historical indicators, processing the historical time series data corresponding to the historical indicator to obtain a historical normalized matrix;

[0021] Step A3, performing image conversion on each of the historical standardization matrices and extracting the pixel value of each of the historical indicators to form the corresponding standard mass spectrum data.

[0022] Preferably, the step S41 includes:

[0023] Step S411, processing the current mass spectrum data to obtain a current probability vector distribution, and processing each of the standard mass spectrum data to obtain a standard probability vector distribution;

[0024] Step S412, obtaining an information divergence according to the current probability vector distribution and each of the standard probability vector distributions, and sorting the information divergences in descending order;

[0025] Step S413: taking the standard mass spectrum data corresponding to the information divergence ranked higher as the adapted mass spectrum data, and taking the adapted mass spectrum data and the standard monitoring time corresponding to the adapted mass spectrum data as the matching result.

[0026] Preferably, a water quality data anomaly identification system is applied to the above-mentioned water quality data anomaly identification method, comprising:

[0027] A data acquisition module, used to acquire water quality monitoring data of a water quality monitoring site, wherein the water quality monitoring data includes a plurality of indicator factors and a time series data corresponding to each of the indicator factors;

[0028] a matrix processing module, connected to the data acquisition module, for processing the time series data corresponding to each of the index factors to obtain a standardized array matrix;

[0029] An image conversion module, connected to the matrix processing module, for converting each of the standardized array matrices into an image data, performing band synthesis on each of the image data to obtain a multi-band image data, and extracting the pixel value of each of the index factors in the multi-band image data to form a current mass spectrum data;

[0030] A mass spectrum processing module is connected to the image conversion module and is used to match the current mass spectrum data with each of the standard mass spectrum data, and obtain the water quality data anomaly identification result corresponding to the water quality monitoring site according to the matching result.

[0031] Preferably, each piece of the standard mass spectrum data is respectively associated with a standard monitoring time, and the mass spectrum processing module includes:

[0032] a first processing unit, configured to match the current mass spectrum data with each of the standard mass spectrum data to obtain an adapted mass spectrum data and the standard monitoring time corresponding to the adapted mass spectrum data as the matching result;

[0033] a second processing unit, connected to the first processing unit, for obtaining a time difference value according to the standard monitoring time corresponding to the adapted mass spectrum data and a current monitoring time corresponding to the current mass spectrum data, comparing the time difference value with a preset threshold value, and outputting a water quality data abnormality recognition result representing the abnormality of the current mass spectrum data when the time difference value is greater than the preset threshold value; and

[0034] When the time difference is not greater than the preset threshold, a water quality data abnormality identification result indicating that the current mass spectrum data is normal is output.

[0035] Preferably, the matrix processing module includes:

[0036] A third processing unit is used for processing each of the indicator factors according to the time series data corresponding to the indicator factor to obtain a mean value data and a standard deviation data;

[0037] The fourth processing unit is connected to the third processing unit and is used to obtain the corresponding standardized array matrix according to the mean data, the standard deviation data and the time series data.

[0038] Preferably, the water quality data anomaly identification system further includes a mass spectrum library construction module, connected to the mass spectrum processing module, including:

[0039] a data collection unit, used to obtain a plurality of historical monitoring data of the water quality monitoring site, wherein the historical monitoring data includes a plurality of historical indicators and a historical time series data corresponding to each of the historical indicators;

[0040] a fifth processing unit, connected to the data acquisition unit, and configured to process the historical time series data corresponding to each of the historical indicators to obtain a historical normalized matrix;

[0041] A sixth processing unit, connected to the fifth processing unit, is used to perform image conversion on each of the historical standardization matrices and extract the pixel value of each of the historical indicators to form the corresponding standard mass spectrum data.

[0042] Preferably, the first processing unit includes:

[0043] a first processing subunit, configured to process the current mass spectrum data to obtain a current probability vector distribution, and to process each of the standard mass spectrum data to obtain a standard probability vector distribution;

[0044] a second processing subunit, connected to the first processing subunit, configured to process the current probability vector distribution and each of the standard probability vector distributions to obtain an information divergence, and sort the information divergences in descending order;

[0045] A third processing subunit is connected to the second processing subunit, and is used to use the standard mass spectrum data corresponding to the information divergence ranked first as the adapted mass spectrum data, and use the adapted mass spectrum data and the standard monitoring time corresponding to the adapted mass spectrum data as the matching result.

[0046] The above technical solution has the following advantages or beneficial effects: the method and system convert the water quality monitoring data obtained by the water quality monitoring station into multi-band image data, extract the pixel values ​​in the multi-band image data to obtain the current mass spectrum data, obtain the adapted mass spectrum data through information divergence screening, and identify water quality data anomalies through time difference, thereby providing scientific support for controlling water quality compliance and water environment supervision in the basin. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1A flowchart of the steps of the method in a preferred embodiment of the present invention;

[0048] Figure 2 The specific flow chart of step S4 in the preferred embodiment of the present invention;

[0049] Figure 3 The specific flow chart of step S2 in the preferred embodiment of the present invention;

[0050] Figure 4 A flowchart of the steps of the construction process in a preferred embodiment of the present invention;

[0051] Figure 5 The specific flow chart of step S41 in the preferred embodiment of the present invention;

[0052] Figure 6 This is a structural schematic diagram of the system in a preferred embodiment of the present invention. DETAILED DESCRIPTION

[0053] The present invention is described in detail below in conjunction with the accompanying drawings and specific embodiments. The present invention is not limited to this embodiment, and other embodiments may also fall within the scope of the present invention as long as they conform to the gist of the present invention.

[0054] In a preferred embodiment of the present invention, based on the above problems existing in the prior art, a method for identifying abnormal water quality data is provided, which pre-builds a water quality change mass spectrum library for storing multiple standard mass spectrum data;

[0055] The water quality data anomaly identification method is as follows: Figure 1 As shown, including:

[0056] Step S1, obtaining water quality monitoring data from a water quality monitoring site, where the water quality monitoring data includes a plurality of indicator factors and a time series data corresponding to each indicator factor;

[0057] Step S2, for each index factor, processing the time series data corresponding to the index factor to obtain a standardized array matrix;

[0058] Step S3, converting each standardized array matrix into an image data, performing band synthesis on each image data to obtain a multi-band image data, and extracting the pixel value of each index factor in the multi-band image data to form a current mass spectrum data;

[0059] Step S4, matching the current mass spectrum data with each standard mass spectrum data, and obtaining the water quality data anomaly identification result corresponding to the water quality monitoring site according to the matching result.

[0060] Specifically, in this embodiment, the indicator factors in the water quality monitoring data may include temperature, dissolved oxygen, ammonia nitrogen, total phosphorus, total nitrogen, chemical oxygen demand, conductivity, atmospheric precipitation, metal ions in water, chlorophyll, algae density, volatile phenols, etc., in order to analyze the overall water quality status of a certain river basin.

[0061] Preferably, the water quality monitoring data needs to contain at least 4 or more indicator factors to ensure the effectiveness of the water quality monitoring data analysis.

[0062] In a preferred embodiment of the present invention, each piece of standard mass spectrum data is associated with a standard monitoring time, and step S4 is as follows: Figure 2 As shown, including:

[0063] Step S41, matching the current mass spectrum data with each standard mass spectrum data to obtain a matching mass spectrum data and a standard monitoring time corresponding to the matching mass spectrum data as a matching result;

[0064] Step S42, a time difference is obtained according to the standard monitoring time corresponding to the adapted mass spectrum data and a current monitoring time corresponding to the current mass spectrum data, and it is determined whether the time difference is greater than a preset threshold:

[0065] If so, output the water quality data anomaly identification result representing the anomaly of the current mass spectrum data;

[0066] If not, output the water quality data abnormality identification result indicating that the current mass spectrum data is normal.

[0067] In a preferred embodiment of the present invention, Figure 3 As shown, step S2 includes:

[0068] Step S21, for each indicator factor, respectively process the time series data corresponding to the indicator factor to obtain a mean value data and a standard deviation data;

[0069] Step S22, obtaining a corresponding standardized array matrix according to the mean data, standard deviation data and time series data.

[0070] Specifically, in this embodiment, considering that the structures of the time series data of each indicator factor are inconsistent and the time series data are often not in the same order of magnitude, if they are directly analyzed, it will cause great interference to the accuracy of the water quality data anomaly identification results. Therefore, it is necessary to normalize the time series data of each indicator factor. Since the water quality monitoring data is a time series data, the combination of different water quality monitoring sites can realize the connection at the spatial level. A large number of data experiments have shown that the water quality monitoring data obeys the normal distribution. Therefore, this method standardizes the time series data by calculating the mean and standard deviation.

[0071] Specifically, in this embodiment, the time series data includes the index data of each year, month and day, and the index factors in the water quality monitoring data are respectively represented by R 1 , R 2 , R 3 ......R s To represent, and convert the time series data corresponding to each indicator factor into an array matrix through the following formula:

[0072]

[0073] in,

[0074] X 11 , X 12 ...X 1n Indicates the indicator data of different months in different years;

[0075] X 11 , X 21 ...X m1 Represents the indicator data for each day of a month.

[0076] Preferably, the mean is calculated by the following calculation formula:

[0077]

[0078] in,

[0079] m represents the number of days of indicator data each month;

[0080] n represents the number of months;

[0081] m×n represents the total number of indicator data;

[0082] i represents day;

[0083] j represents month;

[0084] X ij Represents the indicator data for the i-th day in the j-th month;

[0085] Mean s Represents the mean.

[0086] Preferably, the standard deviation is calculated by the following formula:

[0087]

[0088] in,

[0089] m represents the number of days of indicator data each month;

[0090] n represents the number of months;

[0091] m×n represents the total number of indicator data;

[0092] i represents day;

[0093] j represents month;

[0094] X ij Represents the indicator data for the i-th day in the j-th month;

[0095] Mean s represents the mean;

[0096] σ s Represents standard deviation.

[0097] Preferably, the array matrix of each indicator factor is subjected to data standardization processing by the following calculation formula to obtain a standardized array matrix:

[0098]

[0099] in,

[0100] Represents a normalized array matrix;

[0101] σ s represents standard deviation;

[0102] Mean s Represents the mean.

[0103] Specifically, in this embodiment, for the index factor converted into the multi-band image data, the multi-band image data can be selected to display the red channel, green channel, and blue channel band combination.

[0104] In a preferred embodiment of the present invention, before executing step S1, a process of constructing a water quality change mass spectrum library is included, such as Figure 4 As shown, the specific steps include:

[0105] Step A1, obtaining a plurality of historical monitoring data of a water quality monitoring station, wherein the historical monitoring data includes a plurality of historical indicators and a historical time series data corresponding to each historical indicator;

[0106] Step A2, for each historical indicator, processing the historical time series data corresponding to the historical indicator to obtain a historical standardized matrix;

[0107] Step A3, performing image conversion on each historical standardization matrix and extracting the pixel value of each historical indicator to form corresponding standard mass spectrum data.

[0108] Specifically, in this embodiment, according to the multi-band image data formed by the indicator data of each indicator factor every year, every month, and every day, the pixel value of each indicator factor in the multi-band image data is selected respectively, and each indicator factor is used as the horizontal axis and the pixel value of each indicator factor is used as the vertical axis to establish a water quality change mass spectrum curve to more intuitively observe the water quality changes.

[0109] Preferably, the horizontal axis of the water quality change mass spectrum curve needs to contain at least four or more indicator factors.

[0110] Preferably, since a large sample of water quality monitoring data is collected in the actual scenario, when the latest water quality monitoring data needs to be processed, the impact on the mean and standard deviation can be ignored. Therefore, after the latest array matrix is ​​obtained by processing the latest water quality monitoring data, the latest array matrix can be standardized according to the following calculation formula to obtain the latest standardized array matrix:

[0111]

[0112] in,

[0113] Represents the latest normalized array matrix;

[0114] β s Represents the latest array matrix;

[0115] σ s represents standard deviation;

[0116] Mean s Represents the mean.

[0117] In a preferred embodiment of the present invention, Figure 5 As shown, step S41 includes:

[0118] Step S411, processing the current mass spectrum data to obtain a current probability vector distribution, and processing each standard mass spectrum data to obtain a standard probability vector distribution;

[0119] Step S412, obtaining an information divergence according to the current probability vector distribution and each standard probability vector distribution, and sorting each information divergence in descending order;

[0120] Step S413: taking the standard mass spectrum data corresponding to the information divergence ranked first as the adapted mass spectrum data, and taking the adapted mass spectrum data and the standard monitoring time corresponding to the adapted mass spectrum data as the matching result.

[0121] Specifically, in this embodiment, when performing data analysis, it is first assumed that the current mass spectrum data is:

[0122] α=(α 1 , α 2 , α 3 , ..., α n ) T

[0123] in,

[0124] α represents the current mass spectrum data;

[0125] α n Represents the pixel value of each index factor in the current mass spectrometry data;

[0126] Preferably, the standard mass spectrum data in the mass spectrum analysis model is:

[0127] β=(β 1 , β 2 , β 3 , ..., β n ) T

[0128] in,

[0129] β represents standard mass spectrometry data;

[0130] β n Represents the pixel value of each indicator factor in the standard mass spectrum data.

[0131] Preferably, the current probability vector distribution of the current mass spectrum data is calculated by the following calculation formula:

[0132]

[0133] in,

[0134] η i represents the current probability vector distribution of the current mass spectrum data;

[0135] α i Represents the pixel value of the i-th index factor in the current mass spectrometry data.

[0136] Preferably, the standard probability vector distribution of the standard mass spectrum data is calculated by the following calculation formula:

[0137]

[0138] in,

[0139] θ i represents the standard probability vector distribution of standard mass spectrum data;

[0140] β i Represents the pixel value of the i-th index factor in the standard mass spectrometry data.

[0141] Preferably, based on the KL information function, the standard mass spectrum data is defined as Y, the current mass spectrum data is defined as X, and the relative entropy of Y relative to X is calculated by the following calculation formula:

[0142]

[0143] in,

[0144] D(Y||X) represents the relative entropy of Y relative to X;

[0145] η i represents the current probability vector distribution of the current mass spectrum data;

[0146] θ i Represents the standard probability vector distribution of standard mass spectral data.

[0147] Preferably, the relative entropy of X relative to Y is calculated by the following calculation formula:

[0148]

[0149] in,

[0150] D(X||Y) represents the relative entropy of X relative to Y.

[0151] Preferably, the information divergence between the current probability vector distribution and the standard probability vector distribution is calculated by the following calculation formula:

[0152] SID(X,Y)=D(Y||X)+D(X||Y)

[0153] in,

[0154] SID(X,Y) represents information divergence;

[0155] D(Y||X) represents the relative entropy of Y relative to X;

[0156] D(X||Y) represents the relative entropy of X relative to Y;

[0157] The larger the SID(X,Y), the smaller the similarity between the current mass spectrum data and the standard mass spectrum data. Conversely, the smaller the SID(X,Y), the greater the similarity between the current mass spectrum data and the standard mass spectrum data.

[0158] In a preferred embodiment of the present invention, a water quality data anomaly identification system is applied to the above-mentioned water quality data anomaly identification method, such as Figure 6 As shown, including:

[0159] A data acquisition module 1, used to acquire water quality monitoring data of a water quality monitoring site, the water quality monitoring data including a plurality of indicator factors and a time series data corresponding to each indicator factor;

[0160] a matrix processing module 2, connected to the data acquisition module 1, for processing the time series data corresponding to each index factor to obtain a standardized array matrix;

[0161] An image conversion module 3, connected to the matrix processing module 2, is used to convert each standardized array matrix into an image data, perform band synthesis on each image data to obtain a multi-band image data, and extract the pixel value of each index factor in the multi-band image data to form a current mass spectrum data;

[0162] A mass spectrum processing module 4 is connected to the image conversion module 3 and is used to match the current mass spectrum data with each standard mass spectrum data, and obtain the water quality data anomaly recognition result corresponding to the water quality monitoring site according to the matching result.

[0163] In a preferred embodiment of the present invention, each piece of standard mass spectrum data is associated with a standard monitoring time, and the mass spectrum processing module 4 includes:

[0164] A first processing unit 41, used for matching the current mass spectrum data with each standard mass spectrum data to obtain an adapted mass spectrum data and a standard monitoring time corresponding to the adapted mass spectrum data as a matching result;

[0165] a second processing unit 42, connected to the first processing unit 41, for obtaining a time difference value according to a standard monitoring time corresponding to the adapted mass spectrum data and a current monitoring time corresponding to the current mass spectrum data, comparing the time difference value with a preset threshold value, and outputting a water quality data abnormality recognition result representing abnormality of the current mass spectrum data when the time difference value is greater than the preset threshold value; and

[0166] When the time difference is not greater than a preset threshold, a water quality data anomaly identification result indicating that the current mass spectrum data is normal is output.

[0167] In a preferred embodiment of the present invention, the matrix processing module 2 includes:

[0168] The third processing unit 21 is used to process each indicator factor according to the time series data corresponding to the indicator factor to obtain a mean value data and a standard deviation data;

[0169] The fourth processing unit 22 is connected to the third processing unit 21 and is used to obtain a corresponding standardized array matrix according to the mean data, the standard deviation data and the time series data.

[0170] In a preferred embodiment of the present invention, the water quality data anomaly identification system further includes a mass spectrum library construction module 5, connected to the mass spectrum processing module 4, including:

[0171] A data collection unit 51, used to obtain a plurality of historical monitoring data of a water quality monitoring station, wherein the historical monitoring data includes a plurality of historical indicators and a historical time series data corresponding to each historical indicator;

[0172] a fifth processing unit 52, connected to the data collection unit 51, for processing the historical time series data corresponding to each historical indicator to obtain a historical normalized matrix;

[0173] A sixth processing unit 53, connected to the fifth processing unit 52, is used to perform image conversion on each historical standardization matrix and extract the pixel value of each historical indicator to form corresponding standard mass spectrum data.

[0174] In a preferred embodiment of the present invention, the first processing unit 41 includes:

[0175] A first processing subunit 411, used to process the current mass spectrum data to obtain a current probability vector distribution, and to process each standard mass spectrum data to obtain a standard probability vector distribution;

[0176] a second processing subunit 412, connected to the first processing subunit 411, configured to process the current probability vector distribution and each standard probability vector distribution to obtain an information divergence, and sort the information divergences in descending order;

[0177] A third processing subunit 413 is connected to the second processing subunit 412, and is used to use the standard mass spectrum data corresponding to the information divergence ranked first as the adapted mass spectrum data, and use the adapted mass spectrum data and the standard monitoring time corresponding to the adapted mass spectrum data as the matching result.

[0178] The above description is only a preferred embodiment of the present invention, and does not limit the implementation mode and protection scope of the present invention. For those skilled in the art, it should be aware that all solutions obtained by equivalent substitutions and obvious changes made using the contents of this specification and illustrations should be included in the protection scope of the present invention.

Claims

1. A method for identifying abnormal water quality data, characterized in that: Pre-constructing a water quality change mass spectrum library for storing multiple standard mass spectrum data; Then the water quality data anomaly identification method includes: Step S1, obtaining water quality monitoring data of a water quality monitoring site, wherein the water quality monitoring data includes a plurality of indicator factors and a time series data corresponding to each of the indicator factors; Step S2, for each of the index factors, processing the time series data corresponding to the index factor to obtain a standardized array matrix; Step S3, converting each of the standardized array matrices into an image data, performing band synthesis on each of the image data to obtain a multi-band image data, and extracting the pixel value of each of the index factors in the multi-band image data to form a current mass spectrum data; Step S4, matching the current mass spectrum data with each of the standard mass spectrum data, and obtaining the water quality data anomaly identification result corresponding to the water quality monitoring site according to the matching result.

2. The method for identifying abnormal water quality data according to claim 1, characterized in that: Each piece of the standard mass spectrum data is respectively associated with a standard monitoring time, and the step S4 includes: Step S41, matching the current mass spectrum data with each of the standard mass spectrum data to obtain a pair of adapted mass spectrum data and the standard monitoring time corresponding to the adapted mass spectrum data as the matching result; Step S42, obtaining a time difference value according to the standard monitoring time corresponding to the adapted mass spectrum data and a current monitoring time corresponding to the current mass spectrum data, and determining whether the time difference value is greater than a preset threshold value: If so, outputting a water quality data anomaly identification result representing the anomaly of the current mass spectrum data; If not, output a water quality data anomaly identification result indicating that the current mass spectrum data is normal.

3. The method for identifying abnormal water quality data according to claim 1, characterized in that: The step S2 comprises: Step S21, for each of the indicator factors, respectively process the time series data corresponding to the indicator factor to obtain a mean value data and a standard deviation data; Step S22, obtaining the corresponding standardized array matrix according to the mean data, the standard deviation data and the time series data.

4. The method for identifying abnormal water quality data according to claim 1, characterized in that: Before executing step S1, a process of constructing the water quality change mass spectrum library is performed, which specifically includes the following steps: Step A1, obtaining a plurality of historical monitoring data of the water quality monitoring site, wherein the historical monitoring data includes a plurality of historical indicators and a historical time series data corresponding to each of the historical indicators; Step A2, for each of the historical indicators, processing the historical time series data corresponding to the historical indicator to obtain a historical normalized matrix; Step A3, performing image conversion on each of the historical standardization matrices and extracting the pixel value of each of the historical indicators to form the corresponding standard mass spectrum data.

5. The method for identifying abnormal water quality data according to claim 2, characterized in that: The step S41 comprises: Step S411, processing the current mass spectrum data to obtain a current probability vector distribution, and processing each of the standard mass spectrum data to obtain a standard probability vector distribution; Step S412, obtaining an information divergence according to the current probability vector distribution and each of the standard probability vector distributions, and sorting the information divergences in descending order; Step S413: taking the standard mass spectrum data corresponding to the information divergence ranked higher as the adapted mass spectrum data, and taking the adapted mass spectrum data and the standard monitoring time corresponding to the adapted mass spectrum data as the matching result.

6. A water quality data anomaly identification system, characterized in that: The method for identifying abnormal water quality data as claimed in any one of claims 1 to 5 comprises: A data acquisition module, used to acquire water quality monitoring data of a water quality monitoring site, wherein the water quality monitoring data includes a plurality of indicator factors and a time series data corresponding to each of the indicator factors; a matrix processing module, connected to the data acquisition module, for processing the time series data corresponding to each of the index factors to obtain a standardized array matrix; An image conversion module, connected to the matrix processing module, for converting each of the standardized array matrices into an image data, performing band synthesis on each of the image data to obtain a multi-band image data, and extracting the pixel value of each of the index factors in the multi-band image data to form a current mass spectrum data; A mass spectrum processing module is connected to the image conversion module and is used to match the current mass spectrum data with each of the standard mass spectrum data, and obtain the water quality data anomaly identification result corresponding to the water quality monitoring site according to the matching result.

7. The water quality data anomaly identification system according to claim 6, characterized in that: Each piece of the standard mass spectrum data is respectively associated with a standard monitoring time, and the mass spectrum processing module includes: a first processing unit, configured to match the current mass spectrum data with each of the standard mass spectrum data to obtain an adapted mass spectrum data and the standard monitoring time corresponding to the adapted mass spectrum data as the matching result; a second processing unit, connected to the first processing unit, for obtaining a time difference value according to the standard monitoring time corresponding to the adapted mass spectrum data and a current monitoring time corresponding to the current mass spectrum data, comparing the time difference value with a preset threshold value, and outputting a water quality data abnormality recognition result representing the abnormality of the current mass spectrum data when the time difference value is greater than the preset threshold value; and When the time difference is not greater than the preset threshold, a water quality data abnormality identification result indicating that the current mass spectrum data is normal is output.

8. The water quality data anomaly identification system according to claim 6, characterized in that: The matrix processing module comprises: A third processing unit is used for processing each of the indicator factors according to the time series data corresponding to the indicator factor to obtain a mean value data and a standard deviation data; The fourth processing unit is connected to the third processing unit and is used to obtain the corresponding standardized array matrix according to the mean data, the standard deviation data and the time series data.

9. The water quality data anomaly identification system according to claim 6, characterized in that: The water quality data anomaly identification system further includes a mass spectrum library construction module, connected to the mass spectrum processing module, including: a data collection unit, used to obtain a plurality of historical monitoring data of the water quality monitoring site, wherein the historical monitoring data includes a plurality of historical indicators and a historical time series data corresponding to each of the historical indicators; a fifth processing unit, connected to the data acquisition unit, and configured to process the historical time series data corresponding to each of the historical indicators to obtain a historical normalized matrix; A sixth processing unit, connected to the fifth processing unit, is used to perform image conversion on each of the historical standardization matrices and extract the pixel value of each of the historical indicators to form the corresponding standard mass spectrum data.

10. The water quality data anomaly identification system according to claim 7, characterized in that: The first processing unit comprises: a first processing subunit, configured to process the current mass spectrum data to obtain a current probability vector distribution, and to process each of the standard mass spectrum data to obtain a standard probability vector distribution; a second processing subunit, connected to the first processing subunit, configured to process the current probability vector distribution and each of the standard probability vector distributions to obtain an information divergence, and sort the information divergences in descending order; A third processing subunit is connected to the second processing subunit, and is used to use the standard mass spectrum data corresponding to the information divergence ranked first as the adapted mass spectrum data, and use the adapted mass spectrum data and the standard monitoring time corresponding to the adapted mass spectrum data as the matching result.