CN117407828B - Data analysis method applied to sponge city rainwater collection system - Google Patents
Data analysis method applied to sponge city rainwater collection system Download PDFInfo
- Publication number
- CN117407828B CN117407828B CN202311724859.2A CN202311724859A CN117407828B CN 117407828 B CN117407828 B CN 117407828B CN 202311724859 A CN202311724859 A CN 202311724859A CN 117407828 B CN117407828 B CN 117407828B
- Authority
- CN
- China
- Prior art keywords
- data
- monitoring data
- rainwater
- rainwater monitoring
- abnormality
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 39
- 238000007405 data analysis Methods 0.000 title claims abstract description 10
- 238000012544 monitoring process Methods 0.000 claims abstract description 288
- 230000005856 abnormality Effects 0.000 claims abstract description 130
- 230000002159 abnormal effect Effects 0.000 claims abstract description 70
- 229910001385 heavy metal Inorganic materials 0.000 claims description 4
- 239000005416 organic matter Substances 0.000 claims description 4
- 238000013507 mapping Methods 0.000 claims description 3
- 238000012545 processing Methods 0.000 abstract description 2
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 4
- 238000001514 detection method Methods 0.000 description 3
- 230000007613 environmental effect Effects 0.000 description 3
- 238000004458 analytical method Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000011002 quantification Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/24—Classification techniques
- G06F18/243—Classification techniques relating to the number of classes
- G06F18/2433—Single-class perspective, e.g. one-against-all classification; Novelty detection; Outlier detection
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Theoretical Computer Science (AREA)
- Human Resources & Organizations (AREA)
- Entrepreneurship & Innovation (AREA)
- General Physics & Mathematics (AREA)
- Strategic Management (AREA)
- Data Mining & Analysis (AREA)
- Economics (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Game Theory and Decision Science (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Artificial Intelligence (AREA)
- Life Sciences & Earth Sciences (AREA)
- Development Economics (AREA)
- Evolutionary Computation (AREA)
- Educational Administration (AREA)
- Evolutionary Biology (AREA)
- Bioinformatics & Computational Biology (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Marketing (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Tourism & Hospitality (AREA)
- General Business, Economics & Management (AREA)
- Testing And Monitoring For Control Systems (AREA)
Abstract
The invention relates to the technical field of data processing, in particular to a data analysis method applied to a sponge urban rainwater collection system, which comprises the following steps: acquiring rainwater monitoring data; acquiring neighborhood data of each rainwater monitoring data according to the distance between the rainwater monitoring data; acquiring the initial abnormality degree of each rainwater monitoring data according to the distance between each rainwater monitoring data and the neighborhood data of each rainwater monitoring data; obtaining the abnormality degree of each item of data of each rainwater monitoring data, and further obtaining a plurality of suspected abnormal data of each rainwater monitoring data; acquiring an abnormality factor of each piece of rainwater monitoring data according to each piece of suspected abnormality data in each piece of rainwater monitoring data; acquiring the actual abnormality degree of each piece of rainwater monitoring data according to the abnormality factor and the initial abnormality degree of each piece of rainwater monitoring data, and further acquiring the abnormality data in the rainwater monitoring data; the present invention aims to identify accurate anomaly data.
Description
Technical Field
The invention relates to the technical field of data processing, in particular to a data analysis method applied to a sponge urban rainwater collection system.
Background
Along with the increasing serious of water resources and environmental problems, a sponge city concept is developed, the purpose is to improve the hydrologic environment of a city through green infrastructure and sustainable water resource management, a rainwater collection system is taken as an important component of the city, the method has important significance for effectively utilizing the rainwater resources, relieving urban waterlogging, improving water quality and the like, and the rainwater monitoring data in the rainwater collection system are subjected to abnormal analysis, so that the rainwater collection system can be helped to optimize the rainwater treatment and utilization mode, and the effective utilization of the rainwater resources is ensured.
When the anomaly detection is carried out on the rainwater monitoring data through the LOF algorithm, the anomaly data judgment is carried out according to the density between the rainwater monitoring data and the adjacent rainwater monitoring data, and the anomaly of each item of the rainwater monitoring data can cause the anomaly of the rainwater monitoring data when the anomaly occurs, so that the anomaly of each item of data in the rainwater monitoring data also affects the anomaly data of the rainwater monitoring data, and the obtained anomaly data is inaccurate according to the density between the rainwater monitoring data and the adjacent rainwater monitoring data, and can cause false detection.
Disclosure of Invention
In order to solve the problems, the invention provides a data analysis method applied to a sponge urban rainwater collection system.
The invention relates to a data analysis method applied to a sponge urban rainwater collection system, which adopts the following technical scheme:
an embodiment of the invention provides a data analysis method applied to a sponge urban rainwater collection system, which comprises the following steps:
acquiring rainwater monitoring data;
acquiring neighborhood data of each rainwater monitoring data according to the distance between the rainwater monitoring data; acquiring the initial abnormality degree of each rainwater monitoring data according to the distance between each rainwater monitoring data and the neighborhood data of each rainwater monitoring data;
acquiring the abnormality degree of each item of data of each piece of rainwater monitoring data according to the value of each item of data of the rainwater monitoring data; acquiring a plurality of suspected abnormal data of each rainwater monitoring data according to the abnormal degree of each data of each rainwater monitoring data; acquiring an abnormality factor of each piece of rainwater monitoring data according to the abnormality degree of each piece of suspected abnormality data in each piece of rainwater monitoring data; acquiring the actual abnormality degree of each piece of rainwater monitoring data according to the abnormality factors and the initial abnormality degree of each piece of rainwater monitoring data;
and acquiring abnormal data in the rainwater monitoring data according to the actual abnormal degree of each rainwater monitoring data.
Preferably, the step of obtaining the neighborhood data of each rainwater monitoring data according to the distance between the rainwater monitoring data includes the following specific steps:
presetting neighborhood data quantityMapping each item of rainwater monitoring data into a multi-dimensional coordinate system, and acquiring and +.>The rainwater monitoring data are nearest +.>Rainwater monitoring data, designated->Neighborhood data of individual stormwater monitoring data.
Preferably, the step of obtaining the initial abnormality degree of each rainwater monitoring data according to the distance between each rainwater monitoring data and the neighborhood data of each rainwater monitoring data includes the following specific steps:
in a multidimensional coordinate system, obtain the firstRainwater monitoring data and->The distance between each neighborhood data of each rainwater monitoring data is set as the maximum distance +.>The initial degree of anomaly of the individual stormwater monitoring data.
Preferably, the obtaining the abnormality degree of each item of the rainwater monitoring data according to the value of each item of the rainwater monitoring data includes the following specific steps:
in the method, in the process of the invention,represents->No. of individual stormwater monitoring data>Degree of abnormality of item data; />Indicate->The number of neighborhood data of the individual rain monitoring data; />Represents->No. of individual stormwater monitoring data>A value of item data; />Represents->No. of individual stormwater monitoring data>Personal area data->A value of item data; />Represents->All neighborhood data of individual stormwater monitoring data +.>Standard deviation of values of item data; />Representing absolute value symbols.
Preferably, the obtaining a plurality of suspected abnormal data of each rainwater monitoring data according to the abnormality degree of each data of each rainwater monitoring data comprises the following specific steps:
presetting an abnormality degree thresholdIf->No. of individual stormwater monitoring data>The degree of abnormality of the item data is greater than or equal to the threshold degree of abnormality +.>Will->No. of individual stormwater monitoring data>Item data is marked as->Obtaining a suspected abnormal data of the rainwater monitoring data to obtain +.>Several items of suspected anomaly data for the individual stormwater monitoring data.
Preferably, the obtaining the abnormality factor of each piece of rainwater monitoring data according to the abnormality degree of each piece of suspected abnormality data in each piece of rainwater monitoring data includes the following specific steps:
obtaining the abnormality degree of each suspected abnormal data in each rainwater monitoring data according to the abnormality degree of each data of each rainwater monitoring data;
in the method, in the process of the invention,represents->Abnormal factors of the rainwater monitoring data; />Represents->The number of items of suspected abnormal data of the rainwater monitoring data; />Represents->No. of individual stormwater monitoring data>The term is suspected of the degree of abnormality of the abnormal data.
Preferably, the obtaining the abnormality degree of each piece of suspected abnormal data in each piece of rainwater monitoring data includes the following specific steps:
and taking the abnormality degree of the data corresponding to each piece of suspected abnormal data in each piece of rainwater monitoring data as the abnormality degree of each piece of suspected abnormal data in each piece of rainwater monitoring data.
Preferably, the obtaining the actual abnormality degree of each rainwater monitoring data according to the abnormality factor and the initial abnormality degree of each rainwater monitoring data includes the following specific steps:
in the method, in the process of the invention,indicate->Actual anomaly degree of each rainwater monitoring data; />Represents->Abnormal factors of the rainwater monitoring data; />Represents->The initial degree of anomaly of the individual stormwater monitoring data.
Preferably, the acquiring a plurality of abnormal data in the rainwater monitoring data according to the actual abnormal degree of each rainwater monitoring data includes the following specific steps:
presetting an actual abnormality degree thresholdIf->The actual abnormality degree of the individual rainwater monitoring data is greater than or equal to the actual abnormality degree threshold +.>Then->The rainwater monitoring data are abnormal data in the rainwater monitoring data, and the abnormal data in the rainwater monitoring data are obtained.
Preferably, the step of acquiring the rainwater monitoring data includes the following specific steps:
acquiring a plurality of rainwater monitoring data in a period of time in a rainwater collecting system, wherein each rainwater monitoring data comprises a plurality of items of data: the rainwater collection amount, the rainwater PH value, the rainwater turbidity, the rainwater heavy metal content and the rainwater organic matter content.
The technical scheme of the invention has the beneficial effects that: firstly, acquiring neighborhood data of rainwater monitoring data; according to the distance between the rainwater monitoring data and the neighborhood data thereof, the initial abnormality degree of the rainwater monitoring data is obtained in a quantification mode, and the abnormality of the rainwater monitoring data is reflected; according to the difference of the values of each item of data of the rainwater monitoring data and each item of data of the neighborhood data of the rainwater monitoring data, the abnormal degree of each item of data of each rainwater monitoring data is obtained, a plurality of suspected abnormal data of each item of rainwater monitoring data are obtained, then according to the abnormal degree of a plurality of suspected abnormal data of the rainwater monitoring data, the abnormal factor of the rainwater monitoring data is obtained, and the abnormal of the whole rainwater monitoring data is analyzed by analyzing the abnormal of each item of data of the rainwater monitoring data, so that the abnormal analysis of the rainwater monitoring data is more accurate; finally, according to the initial abnormality degree combined with the abnormality factors of each piece of rainwater monitoring data, the actual abnormality degree of each piece of rainwater monitoring data is obtained, so that the abnormality data in the rainwater monitoring data are obtained, the abnormality of each piece of data in the rainwater monitoring data is considered, the abnormality of the rainwater monitoring data is considered, the actual abnormality degree of the obtained rainwater monitoring data is more accurate, the obtained abnormality data is more accurate, and the false detection phenomenon is avoided.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of the steps of a method for analyzing data applied to a sponge city rainwater collection system.
Detailed Description
In order to further describe the technical means and effects adopted by the invention to achieve the preset aim, the following is a detailed description of a specific implementation, structure, characteristics and effects thereof of the data analysis method for the sponge urban rainwater collection system according to the invention, which is provided by the invention, with reference to the accompanying drawings and the preferred embodiment. In the following description, different "one embodiment" or "another embodiment" means that the embodiments are not necessarily the same. Furthermore, the particular features, structures, or characteristics of one or more embodiments may be combined in any suitable manner.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
The invention provides a specific scheme for a data analysis method applied to a sponge urban rainwater collection system, which is specifically described below with reference to the accompanying drawings.
Referring to fig. 1, a flowchart of steps of a method for analyzing data of a sponge city rainwater collection system according to an embodiment of the present invention is shown, the method includes the following steps:
s001, collecting rainwater monitoring data.
It should be noted that the purpose of the invention is to analyze abnormal data of the rainwater monitoring data, so as to be convenient for finding potential environmental problems in time, and be helpful for the rainwater collecting system to optimize the rainwater treatment and utilization mode and ensure the utilization of resources, therefore, the rainwater monitoring data mainly comprises the data of rainwater collection amount, rainwater pH value, rainwater turbidity, rainwater heavy metal content, rainwater organic matter content and the like.
In the embodiment of the invention, a plurality of rainwater monitoring data in a period of time are acquired in a rainwater collecting system, wherein each rainwater monitoring data comprises a plurality of items of data: the rainwater collection amount, the rainwater PH value, the rainwater turbidity, the rainwater heavy metal content and the rainwater organic matter content; the rainwater collecting system collects rainwater monitoring data 1 time/day, and collects rainwater monitoring data when it rains, and does not collect rainwater monitoring data when it does not rains.
Thus, rainwater monitoring data is obtained.
S002, acquiring neighborhood data of each rainwater monitoring data according to the rainwater monitoring data; and acquiring the initial abnormality degree of each rainwater monitoring data according to the distance between each rainwater monitoring data and the neighborhood data thereof.
It should be noted that, the LOF algorithm obtains the degree of abnormality of the data according to the distance between each data and the neighborhood data of each data, and can detect the data with abnormal local relative density from all the data, so that in the invention, the neighborhood data of each rainwater monitoring data is obtained first, and then the initial degree of abnormality of each rainwater monitoring data is obtained according to the distance between each rainwater monitoring data and the neighborhood data.
In the embodiment of the invention, neighborhood data of each rainwater monitoring data are acquired: presetting neighborhood data quantityMapping each item of data of each rainwater monitoring data into a multi-dimensional coordinate system, wherein each rainwater monitoring data corresponds to one coordinate point in the multi-dimensional coordinate system, each item of data is one dimension in the multi-dimensional coordinate system, and the data is acquired from the first coordinate system in the multi-dimensional coordinate systemThe rainwater monitoring data are nearest +.>Rainwater monitoring data, i.e. and +.>Coordinate point corresponding to rainwater monitoring data is nearest to +.>Rainwater monitoring data corresponding to the coordinate points are marked as +.>Neighborhood data of each rainwater monitoring data are obtained in a similar way, and in the embodiment of the invention, the number of the neighborhood data is preset +.>In other embodiments, the practitioner can set +.>Is a value of (2).
Acquiring the initial abnormality degree of each rainwater monitoring data: in a multidimensional coordinate system, obtain the firstRainwater monitoring data and->The distance between each neighborhood data of each rainwater monitoring data is taken as the maximum distance +.>The initial anomaly degree of the rainwater monitoring data is to be explained, wherein the Euclidean distance is used for measuring the distance between the rainwater monitoring data.
So far, according to the rainwater monitoring data, neighborhood data of each rainwater monitoring data are obtained; and acquiring the initial abnormality degree of each rainwater monitoring data according to the distance between each rainwater monitoring data and the neighborhood data thereof.
S003, obtaining the abnormality degree of each item of data of each piece of rainwater monitoring data, obtaining a plurality of suspected abnormality data of each piece of rainwater monitoring data according to the abnormality degree of each item of data of each piece of rainwater monitoring data, obtaining an abnormality factor of each piece of rainwater monitoring data according to the abnormality degree of a plurality of suspected abnormality data of each piece of rainwater monitoring data, and obtaining the actual abnormality degree of each piece of rainwater monitoring data according to the abnormality factor of each piece of rainwater monitoring data and the initial abnormality degree of each piece of rainwater monitoring data.
It should be noted that, when the difference between the value of any item of data in the rainwater monitoring data and the value of the item of data in the neighborhood data is large, the rainwater monitoring data may be considered to be abnormal, so that the abnormal degree of any item of data in the rainwater monitoring data is obtained by analyzing the difference between the value of any item of data in the rainwater monitoring data and the value of the item of data in the neighborhood data, so that the abnormal factor of the rainwater monitoring data is obtained conveniently according to the abnormal degree of each item of data in the rainwater monitoring data.
In the embodiment of the invention, the first is acquiredNo. of individual stormwater monitoring data>Degree of abnormality of item data:
in the method, in the process of the invention,represents->No. of individual stormwater monitoring data>Degree of abnormality of item data; />Indicate->Neighborhood data of individual stormwater monitoring dataNumber of pieces; />Represents->No. of individual stormwater monitoring data>A value of item data; />Represents->No. of individual stormwater monitoring data>Personal area data->A value of item data; />Represents->All neighborhood data of individual stormwater monitoring data +.>Standard deviation of values of item data; />Representing absolute value symbols; />Represents->No. of individual stormwater monitoring data>The value of item data and->No. of individual stormwater monitoring data>Personal area data->The absolute value of the difference of the values of the item data;represents->No. of individual stormwater monitoring data>Value of item data and +.>Average difference of values of item data, if the average difference is equal to +.>All neighborhood data of individual stormwater monitoring data +.>The greater the ratio of standard deviations of the values of the item data, the description +.>No. of individual stormwater monitoring data>All +.>The greater the degree of outlier, the +.>No. of individual stormwater monitoring data>The greater the degree of abnormality of the item data, the same way, the degree of abnormality of each item of data of each rainwater monitoring data is obtained.
When the degree of abnormality of any one item of data of any one of the rainwater monitoring data is greater than 1, it is explained that the average difference between the value of the item of data of the rainwater monitoring data and the value of the item of data of all the neighborhood data thereof is far greater than the standard deviation of the value of the item of data of all the neighborhood data of the rainwater monitoring data (the degree of fluctuation of the item of data of all the neighborhood data), at which time the item of data of the rainwater monitoring data is more likely to be abnormal data.
In the embodiment of the invention, an abnormality degree threshold is presetWhen->No. of individual stormwater monitoring data>The degree of abnormality of the item data is greater than or equal to the threshold degree of abnormality +.>At the time->No. of individual stormwater monitoring data>The item data is suspected abnormal data, the +.>No. of individual stormwater monitoring data>Item data is marked as->Obtaining a suspected abnormal data of the rainwater monitoring data to obtain +.>A plurality of suspected abnormal data of the rainwater monitoring data; similarly, a plurality of suspected abnormal data of each rainwater monitoring data are obtained, and in the embodiment of the invention, an abnormal degree threshold value is preset>In other embodiments, the practitioner can set +.>Is a value of (2).
It should be noted that, regarding the degree of abnormality of each piece of rain monitoring data, the degree of abnormality of each piece of suspected abnormality data of each piece of rain monitoring data needs to be considered, and the value of the degree of abnormality of each piece of suspected abnormality data is known to be greater than 1, so that when the difference between the degree of abnormality of all pieces of suspected abnormality data in each piece of rain monitoring data and 1 is greater, the more abnormal the rain monitoring data is described, and therefore in the present invention, the abnormality factor of each piece of rain monitoring data is obtained from the degree of abnormality of each piece of suspected abnormality data in each piece of rain monitoring data.
In the embodiment of the invention, the first is acquiredAbnormality factor of individual stormwater monitoring data:
the abnormality degree of the data corresponding to each piece of suspected abnormal data in each piece of rainwater monitoring data is used as the abnormality degree of each piece of suspected abnormal data in each piece of rainwater monitoring data;
in the method, in the process of the invention,represents->Abnormality of individual rain monitoring dataA factor; />Represents->The number of items of suspected abnormal data of the rainwater monitoring data; />Represents->No. of individual stormwater monitoring data>And similarly, obtaining the abnormality degree of each piece of rain monitoring data, wherein the value of the abnormality factor of the rain monitoring data without the suspected abnormality data is 0.
It should be noted that, the initial anomaly degree of each piece of rainwater monitoring data is obtained according to the distance between the pieces of rainwater monitoring data, the overall anomaly of the rainwater monitoring data is reflected, and the anomaly factor of each piece of rainwater monitoring data judges the anomaly degree of each piece of data in the rainwater monitoring data, so that the actual anomaly degree of each piece of rainwater monitoring data is required to be obtained according to the initial anomaly degree of each piece of rainwater monitoring data and the anomaly factor of each piece of rainwater monitoring data.
In the embodiment of the invention, the actual abnormality degree of each rainwater monitoring data is acquired:
wherein,indicate->Actual anomaly degree of each rainwater monitoring data; />Represents->Abnormal factors of the rainwater monitoring data; />Represents->Initial anomaly degree of each rainwater monitoring data; when->Initial degree of abnormality of individual rain monitoring data +.>The greater the abnormality factor of the individual rain monitoring data is +.>The greater the actual degree of anomaly of the individual stormwater monitoring data.
The method comprises the steps of obtaining the abnormality degree of each item of data of each piece of rainwater monitoring data, obtaining a plurality of suspected abnormality data of each piece of rainwater monitoring data according to the abnormality degree of each item of data of each piece of rainwater monitoring data, obtaining an abnormality factor of each piece of rainwater monitoring data according to the abnormality degree of a plurality of suspected abnormality data of each piece of rainwater monitoring data, and obtaining the actual abnormality degree of each piece of rainwater monitoring data according to the abnormality factor of each piece of rainwater monitoring data and the initial abnormality degree of each piece of rainwater monitoring data.
S004, acquiring abnormal data in the rainwater monitoring data according to the actual abnormal degree of each rainwater monitoring data.
When the actual degree of abnormality of any one of the rainwater monitoring data is larger, the rainwater monitoring data is more abnormal, and thus, the abnormal data in the rainwater monitoring data is acquired according to the actual degree of abnormality of each of the rainwater monitoring data.
In the embodiment of the inventionIn the method, an actual abnormality degree threshold value is presetIf->The actual abnormality degree of the individual rainwater monitoring data is greater than or equal to the actual abnormality degree threshold +.>Then->The rainwater monitoring data are one abnormal data in the rainwater monitoring data, and a plurality of abnormal data in the rainwater monitoring data are obtained, and in the embodiment of the invention, an actual abnormal degree threshold value is presetIn other embodiments, the practitioner can set +.>Is a value of (2).
When abnormal data exists in the rainwater monitoring data, the reasons for generating the abnormal data are analyzed, potential environmental problems can be found in time, the rainwater collecting system is facilitated to optimize the rainwater treatment and utilization mode, effective utilization of rainwater resources is ensured, and health and stability of urban water environment are ensured.
So far, according to the actual abnormality degree of each rainwater monitoring data, obtaining the abnormality data in the rainwater monitoring data.
The above description is only of the preferred embodiments of the present invention and is not intended to limit the invention, but any modifications, equivalent substitutions, improvements, etc. within the principles of the present invention should be included in the scope of the present invention.
Claims (6)
1. The data analysis method applied to the sponge urban rainwater collection system is characterized by comprising the following steps of:
acquiring rainwater monitoring data;
acquiring neighborhood data of each rainwater monitoring data according to the distance between the rainwater monitoring data; acquiring the initial abnormality degree of each rainwater monitoring data according to the distance between each rainwater monitoring data and the neighborhood data of each rainwater monitoring data;
according to the value of each item of rainwater monitoring data, the abnormal degree of each item of data of each rainwater monitoring data is obtained, and according to the value of each item of data of the rainwater monitoring data, the abnormal degree of each item of data of each rainwater monitoring data is obtained, and the method comprises the following specific steps:
in the method, in the process of the invention,represents->No. of individual stormwater monitoring data>Degree of abnormality of item data; />Indicate->The number of neighborhood data of the individual rain monitoring data; />Represents->No. of individual stormwater monitoring data>A value of item data; />Represents->No. of individual stormwater monitoring data>Personal area data->A value of item data; />Represents->All neighborhood data of individual stormwater monitoring data +.>Standard deviation of values of item data; />Representing absolute value symbols;
acquiring a plurality of suspected abnormal data of each rainwater monitoring data according to the abnormal degree of each data of each rainwater monitoring data; obtaining an abnormality factor of each piece of rainwater monitoring data according to the abnormality degree of each piece of suspected abnormality data in each piece of rainwater monitoring data, wherein the abnormality factor of each piece of rainwater monitoring data is obtained according to the abnormality degree of each piece of suspected abnormality data in each piece of rainwater monitoring data, and the method comprises the following specific steps:
the abnormality degree of the data corresponding to each piece of suspected abnormal data in each piece of rainwater monitoring data is used as the abnormality degree of each piece of suspected abnormal data in each piece of rainwater monitoring data;
in the method, in the process of the invention,represents->Abnormal factors of the rainwater monitoring data; />Represents->The number of items of suspected abnormal data of the rainwater monitoring data; />Represents->No. of individual stormwater monitoring data>The degree of abnormality of the item of suspected abnormal data;
according to the abnormality factor and the initial abnormality degree of each rainwater monitoring data, acquiring the actual abnormality degree of each rainwater monitoring data, wherein the actual abnormality degree of each rainwater monitoring data is acquired according to the abnormality factor and the initial abnormality degree of each rainwater monitoring data, and the specific steps are as follows:
in the method, in the process of the invention,indicate->Actual anomaly degree of each rainwater monitoring data; />Represents->Initial anomaly degree of each rainwater monitoring data;
and acquiring abnormal data in the rainwater monitoring data according to the actual abnormal degree of each rainwater monitoring data.
2. The method for analyzing data of a sponge city rainwater collection system according to claim 1, wherein the step of obtaining neighborhood data of each rainwater monitoring data according to a distance between rainwater monitoring data comprises the following specific steps:
presetting neighborhood data quantityMapping each item of rainwater monitoring data into a multi-dimensional coordinate system, and acquiring and +.>The rainwater monitoring data are nearest +.>Rainwater monitoring data, designated->Neighborhood data of individual stormwater monitoring data.
3. The method for analyzing data of a sponge city rainwater collection system according to claim 2, wherein the step of obtaining the initial anomaly degree of each rainwater monitoring data according to the distance between each rainwater monitoring data and the neighborhood data of each rainwater monitoring data comprises the following specific steps:
in a multidimensional coordinate system, obtain the firstRainwater monitoring data and->The distance between each neighborhood data of each rainwater monitoring data is set as the maximum distance +.>The initial degree of anomaly of the individual stormwater monitoring data.
4. The method for analyzing data of a sponge city rainwater collection system according to claim 1, wherein the step of obtaining a plurality of suspected abnormal data of each rainwater monitoring data according to the degree of abnormality of each data of each rainwater monitoring data comprises the following specific steps:
presetting an abnormality degree thresholdIf->No. of individual stormwater monitoring data>The degree of abnormality of the item data is greater than or equal to the threshold degree of abnormality +.>Will->No. of individual stormwater monitoring data>Item data is marked as->Obtaining a suspected abnormal data of the rainwater monitoring data to obtain +.>Several items of suspected anomaly data for the individual stormwater monitoring data.
5. The method for analyzing data of a sponge city rainwater collection system according to claim 1, wherein the step of acquiring a plurality of abnormal data in the rainwater monitoring data according to the actual degree of abnormality of each rainwater monitoring data comprises the following specific steps:
presetting an actual abnormality degree thresholdIf->The actual abnormality degree of the individual rainwater monitoring data is greater than or equal to the actual abnormality degree threshold +.>Then->The rainwater monitoring data are abnormal data in the rainwater monitoring data, and the abnormal data in the rainwater monitoring data are obtained.
6. The method for analyzing data of a sponge city rainwater collecting system according to claim 1, wherein the step of acquiring rainwater monitoring data comprises the following specific steps:
acquiring a plurality of rainwater monitoring data in a period of time in a rainwater collecting system, wherein each rainwater monitoring data comprises a plurality of items of data: the rainwater collection amount, the rainwater PH value, the rainwater turbidity, the rainwater heavy metal content and the rainwater organic matter content.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311724859.2A CN117407828B (en) | 2023-12-15 | 2023-12-15 | Data analysis method applied to sponge city rainwater collection system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311724859.2A CN117407828B (en) | 2023-12-15 | 2023-12-15 | Data analysis method applied to sponge city rainwater collection system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN117407828A CN117407828A (en) | 2024-01-16 |
CN117407828B true CN117407828B (en) | 2024-03-19 |
Family
ID=89500381
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311724859.2A Active CN117407828B (en) | 2023-12-15 | 2023-12-15 | Data analysis method applied to sponge city rainwater collection system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117407828B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117668684B (en) * | 2024-01-31 | 2024-04-16 | 新风光电子科技股份有限公司 | Power grid electric energy data anomaly detection method based on big data analysis |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103018418A (en) * | 2012-12-16 | 2013-04-03 | 天津大学 | Landscape water quality online early warning system |
CN111398886A (en) * | 2020-04-09 | 2020-07-10 | 国网山东省电力公司电力科学研究院 | Detection method and system for automatically detecting online abnormity of epitope of assembly line |
CN114527249A (en) * | 2022-01-17 | 2022-05-24 | 南方海洋科学与工程广东省实验室(广州) | Water quality monitoring data quality control method and system |
CN115333678A (en) * | 2022-10-17 | 2022-11-11 | 江西省绿时代低碳环保发展有限公司 | Unmanned ship water quality monitoring data transmission method and system |
CN116522270A (en) * | 2023-07-04 | 2023-08-01 | 西安启迪能源技术有限公司 | Data processing system for smart sponge city |
CN117078048A (en) * | 2023-10-17 | 2023-11-17 | 深圳市福山自动化科技有限公司 | Digital twinning-based intelligent city resource management method and system |
CN117093879A (en) * | 2023-10-19 | 2023-11-21 | 无锡尚航数据有限公司 | Intelligent operation management method and system for data center |
-
2023
- 2023-12-15 CN CN202311724859.2A patent/CN117407828B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103018418A (en) * | 2012-12-16 | 2013-04-03 | 天津大学 | Landscape water quality online early warning system |
CN111398886A (en) * | 2020-04-09 | 2020-07-10 | 国网山东省电力公司电力科学研究院 | Detection method and system for automatically detecting online abnormity of epitope of assembly line |
CN114527249A (en) * | 2022-01-17 | 2022-05-24 | 南方海洋科学与工程广东省实验室(广州) | Water quality monitoring data quality control method and system |
CN115333678A (en) * | 2022-10-17 | 2022-11-11 | 江西省绿时代低碳环保发展有限公司 | Unmanned ship water quality monitoring data transmission method and system |
CN116522270A (en) * | 2023-07-04 | 2023-08-01 | 西安启迪能源技术有限公司 | Data processing system for smart sponge city |
CN117078048A (en) * | 2023-10-17 | 2023-11-17 | 深圳市福山自动化科技有限公司 | Digital twinning-based intelligent city resource management method and system |
CN117093879A (en) * | 2023-10-19 | 2023-11-21 | 无锡尚航数据有限公司 | Intelligent operation management method and system for data center |
Non-Patent Citations (3)
Title |
---|
Kohonen-SOM LOF Approach for Anomaly Detection;Amri Muhaimin等;《2021 IEEE 7th Information Technology International Seminar (ITIS)》;20220616;第1-6页 * |
基于LOF与CEEMD的城镇取用水监测数据异常值识别;宋丽娜等;《水利信息化》;20220430(第02期);第33-40页 * |
基于异常值识别的计量小区短期需水量预测;胡诗苑等;《哈尔滨工业大学学报》;20220831;第54卷(第08期);第43-51页 * |
Also Published As
Publication number | Publication date |
---|---|
CN117407828A (en) | 2024-01-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN117407828B (en) | Data analysis method applied to sponge city rainwater collection system | |
CN105717556B (en) | It is a kind of based on big data from parting radar pinch-reflex ion diode method | |
CN109815627B (en) | Runoff variation influence factor determination method and system | |
CN111275307A (en) | Quality control method for high-frequency continuous observation data of automatic online water quality station | |
CN111161097B (en) | Method and device for detecting switch event by event detection algorithm based on hypothesis test | |
CN111797887A (en) | Anti-electricity-stealing early warning method and system based on density screening and K-means clustering | |
CN116796403A (en) | Building energy saving method based on comprehensive energy consumption prediction of commercial building | |
CN109389172B (en) | Radio signal data clustering method based on non-parameter grid | |
CN117093947B (en) | Power generation diesel engine operation abnormity monitoring method and system | |
CN116310842B (en) | Soil saline-alkali area identification and division method based on remote sensing image | |
CN112766590A (en) | Method and system for extracting typical residential power consumption pattern | |
CN117273195A (en) | Steam heating system demand load prediction method | |
CN106816871B (en) | State similarity analysis method for power system | |
CN115453664A (en) | Rainfall runoff forecasting method suitable for data-free areas | |
CN115456440A (en) | Method, device and system for evaluating power generation characteristics of distributed photovoltaic power station | |
CN111985563B (en) | Industrial consumer power equipment classification method based on harmonic emission level | |
CN114114400A (en) | Microseism event effective signal pickup method | |
CN106452947A (en) | Method for optical fiber security large data storage | |
CN112529311A (en) | Road flow prediction method and device based on graph convolution analysis | |
CN110990791A (en) | Big data processing-based data analysis method for smart power grid construction | |
CN108108864B (en) | Laboratory quality control data management method | |
CN111553611B (en) | Method and device for obtaining design yield | |
Wang et al. | Spatial Dependency in Nonstationary GEV Modelling of Extreme Precipitation over Great Britain | |
CN117437228B (en) | Photovoltaic steel structure component fracture detection method based on image characteristics | |
CN110751398B (en) | Regional ecological quality evaluation method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |