Urban Drainage Pipe Network Pollution Source Tracing Method, Device, Electronic Equipment and Storage Medium
By establishing a tree topological map of the drainage pipeline network and analyzing pollutant data, the problem of inaccurate traceability of pollutants in urban drainage pipeline networks is solved, and low-cost and efficient pollution source location and monitoring are achieved.
Patent Information
- Application Number
- CN202411472653.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-22
- Publication Date
- 2025-07-01
- Estimated Expiration
- 2044-10-22
AI Technical Summary
The prior art is difficult to accurately trace the pollutant in urban drainage pipelines, resulting in inaccurate positioning of pollution sources, high cost and low working efficiency.
By establishing a tree topological map of the drainage pipeline network, the pollutant data at the end of each drainage pipeline are obtained, and whether the pollutant concentration exceeds the standard is detected, and the drainage pipelines are clustered according to the excessive pollutant components, and the pollution source range is determined based on the upstream and downstream relationships and the trend of pollutant concentration changes.
It realizes low-cost and efficient pollution tracing of drainage pipeline networks, improves the accuracy of pollution source positioning, reduces monitoring costs, and prevents pollution source leakage inspection.
Smart Images

Figure CN119006250B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of environmental protection technologies, and particularly relates to a method, device, electronic device and storage medium for tracing the pollution source of urban drainage pipe networks. Background Art
[0002] Drainage pipe networks are the "veins" of urban operation, responsible for collecting rainwater and sewage, and transporting the sewage generated by residents and factories to sewage treatment plants.
[0003] With the rapid development of industrial production, the sewage discharge volume is also increasing day by day, and water pollution has become one of the most prominent environmental problems at present. Industrial sewage discharged directly into natural rivers or underground pipes without treatment will cause serious environmental pollution and bring great harm to people's lives. With the increasingly strict environmental supervision requirements, it is an indispensable link to investigate pollution sources and trace pollutants. Only by accurately tracing the pollution source can the pollution source be cut off in time, prevent the pollution situation from deteriorating further, and hold polluting enterprises accountable and conduct better supervision over them.
[0004] However, since the drainage pipe network is located underground and its structure is intricate, it is difficult to accurately locate the pollutant discharge position and achieve the purpose of pollution source tracing. Moreover, currently, it is necessary to sample and test each monitoring point one by one for pollution source tracing, which is costly and has low work efficiency. Summary of the Invention
[0005] In view of this, embodiments of the present invention provide a method, device, electronic device and storage medium for tracing the pollution source of urban drainage pipe networks to achieve low-cost and accurate and efficient pollution source tracing of drainage pipe networks.
[0006] The first aspect of the embodiments of the present invention provides a method for tracing the pollution source of urban drainage pipe networks, including:
[0007] Establish a tree-like topological map of the drainage pipe network;
[0008] Obtain the pollutant data at the end of each drainage pipe in the tree-like topological map; wherein, the pollutant data includes pollutant components and pollutant concentrations;
[0009] Detect whether the pollutant concentration at the end of each drainage pipe exceeds the standard, and cluster the drainage pipes with excessive pollutants according to the excessive pollutant components;
[0010] In each clustering cluster, determine the pollution source range according to the upstream and downstream relationships of each drainage pipe and the change trend of the excessive pollutant concentration at the end of each drainage pipe.
[0011] Combined with the first aspect, in a possible implementation manner of the first aspect, determining the pollution source range according to the upstream and downstream relationships of each drainage pipe and the change trend of the pollutant concentration exceeding the standard at the end of each drainage pipe includes:
[0012] Taking the moment when the pollutant concentration detected at the end of each drainage pipe exceeds the standard as the first moment corresponding to each drainage pipe;
[0013] Extracting the change trend of the pollutant concentration exceeding the standard after the second moment of each drainage pipe, where the second moment is the moment of a preset time before the first moment;
[0014] Comparing the change trend of the pollutant concentration exceeding the standard of each drainage pipe with the change trend of the pollutant concentration exceeding the standard of its upstream drainage pipe to determine the pollution source range.
[0015] Combined with the first aspect, in a possible implementation manner of the first aspect, comparing the change trend of the pollutant concentration exceeding the standard of each drainage pipe with the change trend of the pollutant concentration exceeding the standard of its upstream drainage pipe to determine the pollution source range includes:
[0016] Determining that there is a pollution source on the most upstream drainage pipe;
[0017] Traversing the drainage pipes except the most upstream drainage pipe. For any drainage pipe, if the change trend of the pollutant concentration exceeding the standard of this drainage pipe is the same as the change trend of the pollutant concentration exceeding the standard of its upstream drainage pipe, it is determined that there is no pollution source on this drainage pipe;
[0018] If the change trend of the pollutant concentration exceeding the standard of this drainage pipe is different from the change trend of the pollutant concentration exceeding the standard of its upstream drainage pipe, it is determined that there is a pollution source on this drainage pipe.
[0019] Combined with the first aspect, in a possible implementation manner of the first aspect, extracting the change trend of the pollutant concentration exceeding the standard after the second moment of each drainage pipe includes:
[0020] Drawing the pollutant concentration change curve of each drainage pipe according to the pollutant concentration exceeding the standard after the second moment of each drainage pipe;
[0021] Extracting the slope sequence from the pollutant concentration change curve of each drainage pipe to obtain the change trend of the pollutant concentration exceeding the standard after the second moment of each drainage pipe.
[0022] Combined with the first aspect, in a possible implementation manner of the first aspect, determining whether the change trend of the pollutant concentration exceeding the standard of this drainage pipe is the same as the change trend of the pollutant concentration exceeding the standard of its upstream drainage pipe includes:
[0023] Determine the similarity of the slope sequences between the drainage pipe and its upstream drainage pipe;
[0024] If the similarity is greater than a preset similarity threshold, it is determined that the change trend of the pollutant concentration exceeding the standard in the drainage pipe is the same as that in its upstream drainage pipe;
[0025] If the similarity is less than or equal to the similarity threshold, it is determined that the change trend of the pollutant concentration exceeding the standard in the drainage pipe is different from that in its upstream drainage pipe.
[0026] Combined with the first aspect, in a possible implementation manner of the first aspect, the comparing the change trend of the pollutant concentration exceeding the standard in each drainage pipe with that in its upstream drainage pipe to determine the pollution source range further includes:
[0027] Obtain the enterprise data of the enterprises corresponding to the drainage pipes with pollution sources from a preset database;
[0028] Determine the pollutant components of each corresponding enterprise according to the enterprise data;
[0029] Screen target investigation enterprises from the corresponding enterprises according to the pollutant components of the drainage pipes with pollution sources and the pollutant components of each corresponding enterprise.
[0030] Combined with the first aspect, in a possible implementation manner of the first aspect, the clustering of the drainage pipes exceeding the standard according to the pollutant components exceeding the standard includes:
[0031] Cluster the drainage pipes with the same pollutant components exceeding the standard into one category;
[0032] If there is a drainage pipe containing the pollutant components exceeding the standard in at least two clustering clusters, divide the drainage pipe into at least two virtual pipes; wherein, each virtual pipe corresponds to the pollutant components exceeding the standard in one clustering cluster;
[0033] Divide each virtual pipe into the corresponding clustering cluster.
[0034] The second aspect of the embodiments of the present invention provides an urban drainage network pollution source tracing device, including:
[0035] A building module, configured to build a tree-like topological graph of the drainage network;
[0036] An obtaining module, configured to obtain the pollutant data at the end of each drainage pipe in the tree-like topological graph; wherein, the pollutant data includes pollutant components and pollutant concentrations;
[0037] A clustering module, which is used to detect whether the pollutant concentration at the end of each drainage pipe exceeds the standard, and cluster the drainage pipes with excessive pollutant concentrations according to the components of the excessive pollutants.
[0038] A determination module, which is used to determine the source pollution range in each clustering cluster according to the upstream and downstream relationships of each drainage pipe and the change trend of the excessive pollutant concentration at the end of each drainage pipe.
[0039] Combined with the second aspect, in a possible implementation manner of the second aspect, the determination module is specifically used for:
[0040] Taking the moment when the pollutant concentration detected at the end of each drainage pipe exceeds the standard as the first moment corresponding to each drainage pipe;
[0041] Extracting the change trend of the excessive pollutant concentration of each drainage pipe after its second moment, where the second moment is the moment of a preset time before the first moment;
[0042] Comparing the change trend of the excessive pollutant concentration of each drainage pipe with the change trend of the excessive pollutant concentration of its upstream drainage pipe to determine the source pollution range.
[0043] Combined with the second aspect, in a possible implementation manner of the second aspect, the determination module is specifically used for:
[0044] Determining that there is a pollution source on the most upstream drainage pipe;
[0045] Traversing the drainage pipes except the most upstream drainage pipe. For any drainage pipe, if the change trend of the excessive pollutant concentration of this drainage pipe is the same as the change trend of the excessive pollutant concentration of its upstream drainage pipe, it is determined that there is no pollution source on this drainage pipe;
[0046] If the change trend of the excessive pollutant concentration of this drainage pipe is different from the change trend of the excessive pollutant concentration of its upstream drainage pipe, it is determined that there is a pollution source on this drainage pipe.
[0047] Combined with the second aspect, in a possible implementation manner of the second aspect, the determination module is specifically used for:
[0048] Drawing the pollutant concentration change curve of each drainage pipe according to the excessive pollutant concentration of each drainage pipe after its second moment;
[0049] Extracting the slope sequence from the pollutant concentration change curve of each drainage pipe to obtain the change trend of the excessive pollutant concentration of each drainage pipe after its second moment.
[0050] Combined with the second aspect, in a possible implementation manner of the second aspect, the determination module is specifically used for:
[0051] Determine the similarity of the slope sequences of the drainage pipe and its upstream drainage pipe;
[0052] If the similarity is greater than a preset similarity threshold, it is determined that the change trend of the pollutant concentration exceeding the standard in the drainage pipe is the same as that in its upstream drainage pipe;
[0053] If the similarity is less than or equal to the similarity threshold, it is determined that the change trend of the pollutant concentration exceeding the standard in the drainage pipe is different from that in its upstream drainage pipe.
[0054] Combined with the second aspect, in a possible implementation manner of the second aspect, the determination module is further configured to:
[0055] Obtain the enterprise data of the enterprises corresponding to the drainage pipes with pollution sources from a preset database;
[0056] Determine the pollutant components of each corresponding enterprise according to the enterprise data;
[0057] Screen the target investigation enterprises from the corresponding enterprises according to the pollutant components of the drainage pipes with pollution sources and the pollutant components of each corresponding enterprise.
[0058] Combined with the second aspect, in a possible implementation manner of the second aspect, the clustering module is specifically configured to:
[0059] Cluster the drainage pipes with the same pollutant components exceeding the standard into one category;
[0060] If there is a drainage pipe that contains the pollutant components exceeding the standard in at least two clustering clusters, divide the drainage pipe into at least two virtual pipes; where each virtual pipe corresponds to the pollutant components exceeding the standard in one clustering cluster;
[0061] Divide each virtual pipe into the corresponding clustering cluster.
[0062] A third aspect of the embodiments of the present invention provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the method in the above first aspect or any one of the implementation manners of the first aspect are implemented.
[0063] A fourth aspect of the embodiments of the present invention provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps of the method in the above first aspect or any one of the implementation manners of the first aspect are implemented.
[0064] The beneficial effects of the embodiments of the present invention compared with the prior art are as follows:
[0065] In the embodiments of the present invention, a tree - like topological map of the drainage pipe network is established. By detecting whether the pollutant data at the end of each drainage pipe in the tree - like topological map exceeds the standard, and clustering the drainage pipes with excessive pollutants according to the components of the excessive pollutants, the drainage pipes through which the same pollution source flows can be divided into one category. Further, considering that there may be a coupling of more than two pollution sources with the same pollutant components in the same clustering cluster, in each clustering cluster, according to the upstream - downstream relationship of each drainage pipe and the change trend of the excessive pollutant concentration at the end of each drainage pipe, multiple pollution sources are investigated to prevent missed inspections. On the one hand, only the end of the drainage pipe is monitored for pollution in this embodiment, reducing the cost. On the other hand, considering that it is difficult to analyze using the pollutant concentration due to the influence of drainage pipe diversion, merger, etc., multiple pollution sources are investigated through the change trend of the pollutant concentration in this embodiment, improving the accuracy. Brief Description of the Drawings
[0066] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings required for use in the embodiments or the description of the prior art. Obviously, the following - described drawings are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0067] Figure 1 is a schematic flow chart of the method for tracing the pollution source of the urban drainage pipe network provided by the embodiments of the present invention;
[0068] Figure 2 is a partial tree - like topological map of the drainage pipe network provided by the embodiments of the present invention;
[0069] Figure 3 is a schematic structural diagram of the device for tracing the pollution source of the urban drainage pipe network provided by the embodiments of the present invention;
[0070] Figure 4 is a schematic structural diagram of the electronic device provided by the embodiments of the present invention. Detailed Embodiments
[0071] In the following description, specific details such as specific system structures and technologies are presented for the purpose of illustration rather than limitation, so as to thoroughly understand the embodiments of the present invention. However, those skilled in the art should clearly understand that the present invention can also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well - known systems, devices, circuits, and methods are omitted to avoid unnecessary details from interfering with the description of the present invention.
[0072] To illustrate the technical solution of the present invention, the following will be described by specific embodiments.
[0073] With the rapid advancement of urbanization, population aggregation, and high-intensity production and living activities, the amount of urban sewage has increased sharply. The increase in sewage has led to increasingly serious problems such as water environmental pollution and the degradation of the water ecological environment, severely restricting the sustainable development of the urban social economy. At the same time, due to the lag in the construction of software and hardware of the urban drainage system and the combined drainage of rain and sewage, the collection rate of urban production and domestic sewage is low, and a large amount of untreated sewage is directly discharged into the urban water circulation system. Phenomena such as factories secretly discharging, leaking, and exceeding the standard are even more common. Industrial sewage is an important source of sewage in the urban drainage system and contains a large amount of organic matter and heavy metal pollutants. If these pollutants are not discharged as required, it will lead to extremely serious pollution incidents, causing a huge load on the sewage treatment plant, resulting in the abnormal and unstable operation of sewage treatment equipment, and further causing the effluent quality not to meet the standards. In addition, some substances that are difficult to degrade still cannot be treated after entering the sewage treatment plant and are finally discharged into natural water bodies, causing irreversible effects. Due to the characteristics of suddenness, concealment, uncertainty, and discontinuity of pipeline network pollution incidents, it is difficult to detect and trace them in a timely manner. If no control measures are taken, the pollution will further expand and affect the entire urban water system.
[0074] Currently, the water quality detection of drainage pipe networks generally adopts the method of manual sampling and transferring it to the laboratory for analysis. This method can provide relatively detailed and accurate water quality information, but it takes a lot of time and effort. Moreover, in the face of sudden pollution incidents, it often cannot give the detection results in a timely manner. Thanks to the development of sensor technology in recent years, a more effective method is to set water quality sensors in the drainage pipe network for real-time water quality monitoring. Compared with the traditional manual detection method, the sensor has the following advantages: low labor cost, simple maintenance requirements, and providing water quality data in real-time for 24 hours, which makes automatic monitoring possible and is also conducive to improving the response speed to sudden water pollution incidents. However, the urban drainage pipe network is extremely complex, especially in large and medium-sized cities, where the number of pipeline network nodes is numerous and the pipelines stretch for thousands of kilometers. It is unrealistic to achieve full-node coverage of sensors. It is necessary to consider maximizing the rapid monitoring response to pollution under the condition of limited quantity.
[0075] At the same time, considering the emergency management of the pipeline network, after detecting the invasion of pollutants, it is necessary to trace the source of the pollutants, that is, to conduct qualitative or quantitative analysis of the source of pollutants to determine the source of pollutants and related information in the pipeline network. However, the sewage discharged by the urban drainage network is of various types and the sources of pollutants are complex. The sources of pollution include domestic sewage, industrial wastewater, surface runoff, infiltration groundwater and backflow surface water, etc. The water from different sources is mixed and diluted, and the tracing work is difficult. Therefore, based on monitoring data, an efficient, reliable and low-cost drainage network pollutant source tracing method is developed to deduce the location of pollutant invasion, the time of pollutant emission, the emission intensity of pollutants and other information, which is of great significance to improve the current drainage network management system and promote the construction of pipeline automation. This also provides a scientific basis for relevant departments to trace the source of pollution, assess the impact of pollution and curb the spread of pollution.
[0076] Figure 1 The following is a schematic diagram of the implementation process of the urban drainage network pollution source tracing method provided by an embodiment of the present invention, including:
[0077] Step S101, establishing a tree topology diagram of the drainage network.
[0078] In this embodiment, the drain outlet node can be traversed, with the drain outlet node as the root node, the adjacent pipe network nodes can be traversed in order, and the adjacent pipe network nodes can be inserted as child nodes to construct a traceability tree.
[0079] For an exemplary partial schematic diagram of a tree topology diagram, see Figure 2 shown.
[0080] exist Figure 2 In the figure, a, b, and c are drainage pipes, and A, B, and C are detection points at the end of the drainage pipes. Instruments, meters, and sensors that continuously monitor pollutant concentrations and emissions can be deployed at A, B, and C to achieve functions such as wastewater flow monitoring, wastewater sample collection and analysis, and data statistics and upload.
[0081] Step S102, obtaining pollutant data at the end of each drainage pipe in the tree topology diagram; wherein the pollutant data includes pollutant composition and pollutant concentration.
[0082] For example, COD Cr, Water quality automatic analyzers such as TOC, NH3-N, TP, and TN are used to monitor the mixed water samples. Starting from zero o'clock every day, each 30 minutes is a time period. The water quality automatic sampling system conducts time-proportional or flow-proportional sampling. After the sampling is completed, the water quality automatic analyzer tests the pollutant concentration in the mixed water sample. The time stamp of the measurement result stored in the water quality automatic analyzer should be the time when the water quality automatic analyzer starts sampling from the mixing bucket. The time stamp in the message reported by the data acquisition and transmission instrument is consistent with the time stamp of the measurement result stored in the water quality automatic analyzer. In addition, the pH value, temperature, and flow rate of the water sample can also be monitored through a pH water quality automatic analyzer, thermometer, flow meter, etc., which are not limited in this embodiment.
[0083] Step S103, detect whether the pollutant concentration at the end of each drainage pipe exceeds the standard, and cluster the drainage pipes with excessive pollutants according to the components of the excessive pollutants.
[0084] Different pollutants have different control ranges. When the pollutant concentration exceeds the control range, it can be considered that the pollutant concentration exceeds the standard. When discharging pollutants into a certain drainage pipe, the pollutant component concentration exceeding the standard may occur in both the drainage pipe and its downstream drainage pipes. For example, in Figure 2 , when discharging pollutants into Drainage Pipe a, the same pollutant components with excessive concentration can be detected in the downstream Drainage Pipes b and c. Therefore, by clustering according to the components of the excessive pollutants, the drainage pipes through which the same pollution source flows can be classified into one category.
[0085] Here, in cluster analysis, regardless of the clustering method used, the similarity between sample data is the premise and basis for clustering. Therefore, it is necessary to calculate the distance between any two samples to divide the data sample set. In addition, by calculating the distance or correlation coefficient between sample data, the differences and similarities between each data sample can also be described. Therefore, the distance calculation method has a direct impact on the final result of cluster analysis. The distance calculation methods have some common characteristics, including non-negativity, identity, symmetry, and transitivity. These characteristics ensure the rationality and reliability of the distance measurement. The commonly used distance calculation methods in cluster analysis include Euclidean distance, inner product, and cosine distance, etc. These methods have wide applications in measuring the differences and similarities between samples.
[0086] In this embodiment, the distance calculation method for two drainage pipes is not limited. Importantly, when the pollutant components with excessive concentration in the two drainage pipes are more consistent, the distance between the two drainage pipes is closer and they are classified into one category. For example, the pollutant components with excessive concentration in the two drainage pipes are exactly the same, or there are only one or two differences in the pollutant components with excessive concentration in the two drainage pipes.
[0087] In some embodiments, there may be a scenario where two pollution sources flow through the same drainage pipe. In this case, it is difficult to classify the drainage pipe into any category. In this regard, after the drainage pipes with the same or similar pollutant components exceeding the standard are grouped into one category, this embodiment adopts the following strategy:
[0088] If there is a drainage pipe containing pollutant components exceeding the standard in at least two clusters, the drainage pipe is divided into at least two virtual pipes; each virtual pipe corresponds to a pollutant component exceeding the standard in a cluster; and each virtual pipe is divided into a corresponding cluster.
[0089] That is, the drainage pipe belongs to two clusters at the same time. In each cluster, only the pollutant components exceeding the standard related to the cluster are used for subsequent analysis.
[0090] Step S104, in each cluster, the pollution source range is determined according to the upstream and downstream relationship of each drainage pipe and the change trend of the concentration of pollutants exceeding the standard at the end of each drainage pipe.
[0091] Considering that there may be more than two coupling pollution sources with the same or similar pollutant components in the same cluster, Figure 2 For example, if there are pollution sources on both drainage pipes a and b, and the pollutants emitted are of the same composition, it is usually believed that the pollution in drainage pipe b is transmitted from drainage pipe a, thus omitting the pollution source on drainage pipe b. In addition, since the concentration of pollutants is diverted and diluted, it is difficult to analyze whether there is a pollution source in drainage pipe b based on the pollutant composition and concentration.
[0092] Here, the changing trend of the concentration of pollutants exceeding the standard is considered for judgment.
[0093] It is understandable that when the pollutants in the downstream drainage pipe are transferred from the upstream drainage pipe, the change trend of the pollutant concentration in the downstream drainage pipe should be consistent with that in the upstream. For example, if the pollutant concentration in the upstream drainage pipe increases, the pollutant concentration in the downstream drainage pipe should also increase. If the pollutant concentration in the upstream drainage pipe decreases, the pollutant concentration in the downstream drainage pipe should also decrease.
[0094] If there is a pollution source on the downstream drainage pipe, the change trend of the pollutant concentration in the downstream drainage pipe will be significantly different from that in the upstream. For example, the pollutant concentration in the upstream drainage pipe changes in the opposite direction to that in the downstream drainage pipe, or the change rate of the pollutant concentration in the upstream drainage pipe is inconsistent with that in the downstream drainage pipe. Therefore, according to the change trend, it is possible to avoid missing the drainage pipe with pollution source emissions.
[0095] In the embodiment of the present invention, a tree - shaped topology map of the drainage network is established. By detecting whether the pollutant data at the end of each drainage pipe in the tree - shaped topology map exceeds the standard, and clustering the drainage pipes with excessive pollutants according to the components of the excessive pollutants, the drainage pipes through which the same pollution source flows can be classified into one category. Further, considering that there may be a coupling of two or more pollution sources with the same pollutant components in the same clustering cluster, in each clustering cluster, according to the upstream - downstream relationship of each drainage pipe and the change trend of the excessive pollutant concentration at the end of each drainage pipe, multiple pollution sources are investigated to prevent missed inspections. On the one hand, only the end of the drainage pipe is monitored for pollution in this embodiment, reducing the cost. On the other hand, considering that it is difficult to analyze using the pollutant concentration due to the influence of drainage pipe diversion, merger, etc., multiple pollution sources are investigated through the change trend of the pollutant concentration in this embodiment, improving the accuracy.
[0096] As a possible implementation manner, determining the pollution source range according to the upstream - downstream relationship of each drainage pipe and the change trend of the excessive pollutant concentration at the end of each drainage pipe includes:
[0097] Taking the moment when the pollutant concentration detected at the end of each drainage pipe exceeds the standard as the first moment corresponding to each drainage pipe;
[0098] Extracting the change trend of the excessive pollutant concentration of each drainage pipe after its second moment, where the second moment is the moment of a preset time before the first moment;
[0099] Comparing the change trend of the excessive pollutant concentration of each drainage pipe with the change trend of the excessive pollutant concentration of its upstream drainage pipe to determine the pollution source range.
[0100] In this embodiment, the pollutant concentration after a period of time after the moment when the pollutant concentration is detected to exceed the standard is mainly used for the analysis of the change trend of the pollutant concentration. Because before and after the moment when the pollutant concentration is detected to exceed the standard, the pollutant concentration is in the rising period and then changes to stable or decreasing. Therefore, the change trend of the pollutant concentration during this period is more typical and more reference - worthy.
[0101] As a possible implementation manner, comparing the change trend of the excessive pollutant concentration of each drainage pipe with the change trend of the excessive pollutant concentration of its upstream drainage pipe to determine the pollution source range includes:
[0102] Determining that there is a pollution source on the most upstream drainage pipe;
[0103] Traverse the drainage pipes except the most upstream one. For any drainage pipe, if the change trend of the pollutant concentration exceeding the standard in this drainage pipe is the same as that in its upstream drainage pipe, it is determined that there is no pollution source on this drainage pipe;
[0104] If the change trend of the pollutant concentration exceeding the standard in this drainage pipe is different from that in its upstream drainage pipe, it is determined that there is a pollution source on this drainage pipe.
[0105] In this embodiment, the pollutant concentration on the most upstream drainage pipe exceeds the standard, so there must be a pollution source. The downstream pipes are further checked through the change trend. For relevant descriptions, please refer to the description of step S104, which will not be elaborated here.
[0106] As a possible implementation, extract the change trend of the pollutant concentration after exceeding the standard at the second moment for each drainage pipe, including:
[0107] Draw the pollutant concentration change curve for each drainage pipe according to the pollutant concentration exceeding the standard after the second moment of each drainage pipe;
[0108] Extract the slope sequence from the pollutant concentration change curve of each drainage pipe to obtain the change trend of the pollutant concentration exceeding the standard after the second moment of each drainage pipe.
[0109] Correspondingly, to determine whether the change trend of the pollutant concentration exceeding the standard in this drainage pipe is the same as that in its upstream drainage pipe, it includes:
[0110] Determine the similarity of the slope sequences of this drainage pipe and its upstream drainage pipe;
[0111] If the similarity is greater than the preset similarity threshold, it is determined that the change trend of the pollutant concentration exceeding the standard in this drainage pipe is the same as that in its upstream drainage pipe;
[0112] If the similarity is less than or equal to the similarity threshold, it is determined that the change trend of the pollutant concentration exceeding the standard in this drainage pipe is different from that in its upstream drainage pipe.
[0113] For determining whether the change trends of the pollutant concentrations of the upstream and downstream drainage pipes are the same, one implementation is to simply judge whether the rising, falling, and unchanged states are the same. In some cases, it may still be difficult to accurately distinguish. In this embodiment, the change trend of the pollutant concentration can be further determined by extracting the slope sequence to improve the accuracy. It should be noted that the trend determination needs to be carried out for different pollutant components, and they are considered the same as a whole only when they are all consistent.
[0114] Here, the slope sequences of the upstream and downstream drainage pipes are aligned based on the moment when the pollutant concentration is detected to exceed the standard, and the similarity of the slope sequences is analyzed by analyzing the difference in the corresponding slopes.
[0115] As a possible implementation, comparing the change trend of the pollutant concentration exceeding the standard in each drainage pipe with the change trend of the pollutant concentration exceeding the standard in its upstream drainage pipe to determine the source range of pollution, further includes:
[0116] Obtaining the enterprise data of the enterprises corresponding to the drainage pipes with pollution sources from a preset database;
[0117] Determining the pollutant components of each corresponding enterprise according to the enterprise data;
[0118] Screening target enterprises to be investigated from each corresponding enterprise according to the pollutant components of the drainage pipes with pollution sources and the pollutant components of each corresponding enterprise.
[0119] In this embodiment, through a preset database, the enterprises connected to each drainage pipe or the enterprises within a certain range of each drainage pipe are stored. By comparing and analyzing the pollutant components of the drainage pipes with pollution sources and the pollutant components of each corresponding enterprise, the enterprises with the same or similar pollutant components are used as the key enterprises to be investigated, greatly reducing the workload.
[0120] It should be understood that the magnitudes of the sequence numbers of the steps in the above embodiments do not mean the order of execution. The execution order of each process should be determined according to its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
[0121] Figure 3 It is a schematic structural diagram of the urban drainage network pollution source tracing device 30 provided by the embodiment of the present invention, including:
[0122] A building module 31, configured to build a tree-like topological graph of the drainage network;
[0123] An obtaining module 32, configured to obtain the pollutant data at the end of each drainage pipe in the tree-like topological graph; wherein, the pollutant data includes pollutant components and pollutant concentrations;
[0124] A clustering module 33, configured to detect whether the pollutant concentration at the end of each drainage pipe exceeds the standard, and cluster the drainage pipes with excessive pollutants according to the excessive pollutant components;
[0125] A determining module 34, configured to determine the source range of pollution in each clustering cluster according to the upstream and downstream relationships of each drainage pipe and the change trend of the pollutant concentration exceeding the standard at the end of each drainage pipe.
[0126] As a possible implementation, the determination module 34 is specifically configured to:
[0127] Take the moment when the pollutant concentration detected at the end of each drainage pipe exceeds the standard as the first moment corresponding to each drainage pipe;
[0128] Extract the change trend of the pollutant concentration exceeding the standard after the second moment of each drainage pipe, where the second moment is the moment of a preset time before the first moment;
[0129] Compare the change trend of the pollutant concentration exceeding the standard of each drainage pipe with the change trend of the pollutant concentration exceeding the standard of its upstream drainage pipe to determine the pollution source range.
[0130] As a possible implementation, the determination module 34 is specifically configured to:
[0131] Determine that there is a pollution source on the most upstream drainage pipe;
[0132] Traverse the drainage pipes except the most upstream drainage pipe. For any drainage pipe, if the change trend of the pollutant concentration exceeding the standard of this drainage pipe is the same as the change trend of the pollutant concentration exceeding the standard of its upstream drainage pipe, it is determined that there is no pollution source on this drainage pipe;
[0133] If the change trend of the pollutant concentration exceeding the standard of this drainage pipe is different from the change trend of the pollutant concentration exceeding the standard of its upstream drainage pipe, it is determined that there is a pollution source on this drainage pipe.
[0134] As a possible implementation, the determination module 34 is specifically configured to:
[0135] Draw the pollutant concentration change curve of each drainage pipe according to the pollutant concentration exceeding the standard after the second moment of each drainage pipe;
[0136] Extract the slope sequence from the pollutant concentration change curve of each drainage pipe to obtain the change trend of the pollutant concentration exceeding the standard after the second moment of each drainage pipe.
[0137] As a possible implementation, the determination module 34 is specifically configured to:
[0138] Determine the similarity between the slope sequences of this drainage pipe and its upstream drainage pipe;
[0139] If the similarity is greater than the preset similarity threshold, it is determined that the change trend of the pollutant concentration exceeding the standard of this drainage pipe is the same as the change trend of the pollutant concentration exceeding the standard of its upstream drainage pipe;
[0140] If the similarity is less than or equal to the similarity threshold, it is determined that the change trend of the pollutant concentration exceeding the standard of this drainage pipe is different from the change trend of the pollutant concentration exceeding the standard of its upstream drainage pipe.
[0141] As a possible implementation manner, the determining module 34 is further configured to:
[0142] Obtain enterprise data of the enterprises corresponding to the drainage pipes with pollution sources from a preset database;
[0143] Determine the pollutant components of each corresponding enterprise according to the enterprise data;
[0144] Screen target investigation enterprises from each corresponding enterprise according to the pollutant components of the drainage pipes with pollution sources and the pollutant components of each corresponding enterprise.
[0145] As a possible implementation manner, the clustering module 33 is specifically configured to:
[0146] Cluster the drainage pipes with the same excessive pollutant components into one category;
[0147] If there is a drainage pipe that contains the excessive pollutant components in at least two clustering clusters, divide the drainage pipe into at least two virtual pipes; wherein, each virtual pipe corresponds to the excessive pollutant components in one clustering cluster;
[0148] Divide each virtual pipe into the corresponding clustering cluster.
[0149] In the embodiment of the present invention, a tree - shaped topology map of the drainage pipe network is established. By detecting whether the pollutant data at the end of each drainage pipe in the tree - shaped topology map exceeds the standard, and clustering the drainage pipes with excessive pollutants according to the excessive pollutant components, the drainage pipes through which the same pollution source flows can be divided into one category; further, considering that there may be a coupling of more than two pollution sources with the same pollutant components in the same clustering cluster, in each clustering cluster, according to the upstream - downstream relationship of each drainage pipe and the change trend of the excessive pollutant concentration at the end of each drainage pipe, multiple pollution sources are investigated to prevent missed investigation. On the one hand, in this embodiment, only the end of the drainage pipe is monitored for pollution, which reduces the cost. On the other hand, considering that it is difficult to analyze using the pollutant concentration due to the influence of drainage pipe diversion, merger, etc., in this embodiment, multiple pollution sources are investigated through the change trend of the pollutant concentration, which improves the accuracy.
[0150] Figure 4 It is a schematic diagram of an electronic device 40 provided by an embodiment of the present invention. As Figure 4 shown, the electronic device 40 of this embodiment includes: a processor 41, a memory 42, and a computer program 43 stored in the memory 42 and executable on the processor 41, such as a pollution source tracing program for urban drainage pipe networks. When the processor 41 executes the computer program 43, the steps in the above - mentioned embodiments of the pollution source tracing method for urban drainage pipe networks are implemented, such as Figure 1The steps S101 to S104 shown. Alternatively, when the processor 41 executes the computer program 43, the functions of each module / unit in the above device embodiments are implemented. For example Figure 3 the functions of the modules 31 to 34 shown.
[0151] Exemplarily, the computer program 43 may be divided into one or more modules / units, and the one or more modules / units are stored in the memory 42 and executed by the processor 41 to complete the present invention. The one or more modules / units may be a series of computer program instruction segments capable of performing specific functions, and these instruction segments are used to describe the execution process of the computer program 43 in the electronic device 40.
[0152] The electronic device 40 may be a computing device such as a desktop computer, a notebook, a palm computer, and a cloud server. The electronic device 40 may include, but is not limited to, a processor 41 and a memory 42. Those skilled in the art can understand that Figure 4 merely examples of the electronic device 40 do not constitute a limitation on the electronic device 40, and it may include more or fewer components than shown in the figure, or combine certain components, or different components. For example, the electronic device 40 may further include input / output devices, network access devices, a bus, etc.
[0153] The so-called processor 41 may be a central processing unit (CPU), or may also be other general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0154] The memory 42 may be an internal storage unit of the electronic device 40, such as a hard disk or memory of the electronic device 40. The memory 42 may also be an external storage device of the electronic device 40, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) card, a Flash Card, etc. equipped on the electronic device 40. Further, the memory 42 may also include both the internal storage unit of the electronic device 40 and an external storage device. The memory 42 is used to store the computer program and other programs and data required by the electronic device 40. The memory 42 may also be used to temporarily store data that has been output or will be output.
[0155] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, only the above division of each functional unit and module is used as an example. In actual applications, the above functions can be assigned to different functional units and modules according to needs, that is, the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above. Each functional unit and module in the embodiment can be integrated into a processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit. In addition, the specific names of each functional unit and module are only for the convenience of mutual distinction and do not limit the protection scope of this application. The specific working process of the units and modules in the above system can refer to the corresponding process in the foregoing method embodiment and will not be elaborated herein.
[0156] In the above embodiments, the descriptions of the respective embodiments have their own emphases. For parts not detailed or recorded in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0157] Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, or by a combination of computer software and electronic hardware. Whether these functions are executed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present invention.
[0158] In the embodiments provided by the present invention, it should be understood that the disclosed device / electronic device and method can be implemented in other ways. For example, the device / electronic device embodiments described above are merely illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed couplings or direct couplings or communication connections to each other can be through some interfaces. The indirect couplings or communication connections of the devices or units can be in electrical, mechanical or other forms.
[0159] The units described as separate components may or may not be physically separated. The components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0160] In addition, in each embodiment of the present invention, the functional units can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above integrated units can be implemented in the form of hardware or in the form of software functional units.
[0161] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, to implement all or part of the processes in the above method embodiments of the present invention, it can also be completed by a computer program instructing relevant hardware. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by a processor, the steps of the above method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in the form of source code, object code, executable file or some intermediate form, etc. The computer-readable medium can include: any entity or device that can carry the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electrical carrier signal, telecommunication signal, and software distribution medium, etc.
[0162] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements on some of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the various embodiments of the present invention, and should all be included within the protection scope of the present invention.
Claims
1. A method for tracing the pollution source of urban drainage pipe network, characterized in that: include: Establish a tree topology diagram of the drainage network; Obtaining pollutant data at the end of each drainage pipe in the tree topology diagram; wherein the pollutant data includes pollutant composition and pollutant concentration; Detect whether the pollutant concentration at the end of each drainage pipe exceeds the standard, and cluster the drainage pipes that exceed the standard according to the components of the pollutants that exceed the standard; In each cluster, the scope of the pollution source is determined based on the upstream and downstream relationships of each drainage pipe and the changing trend of the pollutant concentration exceeding the standard at the end of each drainage pipe; The method of clustering the excessive drainage pipes according to the excessive pollutant components includes: Group drainage pipes with the same pollutant composition exceeding the standard into one category; If there is a drainage pipe containing pollutant components exceeding the standard in at least two clusters, the drainage pipe is divided into at least two virtual pipes; wherein each virtual pipe corresponds to a pollutant component exceeding the standard in a cluster; and each virtual pipe is divided into a corresponding cluster; The scope of the pollution source is determined based on the upstream and downstream relationship of each drainage pipe and the changing trend of the pollutant concentration exceeding the standard at the end of each drainage pipe, including: The time when the pollutant concentration at the end of each drainage pipe is detected to be excessive is taken as the first time corresponding to each drainage pipe; Extracting the variation trend of the concentration of pollutants exceeding the standard in each drainage pipe after a second moment, where the second moment is a moment of a preset time before the first moment; Compare the changing trend of the pollutant concentration exceeding the standard in each drainage pipe with the changing trend of the pollutant concentration exceeding the standard in its upstream drainage pipe to determine the scope of the pollution source; The variation trend of the pollutant concentration exceeding the standard in each drainage pipe is compared with the variation trend of the pollutant concentration exceeding the standard in its upstream drainage pipe to determine the scope of the pollution source, including: Determine the presence of pollution sources on the most upstream drainage pipe; Traverse the drainage pipes except the most upstream drainage pipe, and for any drainage pipe, if the change trend of the concentration of pollutants exceeding the standard in the drainage pipe is the same as the change trend of the concentration of pollutants exceeding the standard in the upstream drainage pipe, it is determined that there is no pollution source on the drainage pipe; If the changing trend of the pollutant concentration exceeding the standard in the drainage pipe is different from the changing trend of the pollutant concentration exceeding the standard in its upstream drainage pipe, it is determined that there is a pollution source in the drainage pipe.
2. The urban drainage network pollution tracing method according to claim 1, characterized in that: The extracting of the change trend of the pollutant concentration of each drainage pipe after it exceeds the standard at the second moment includes: Draw a pollutant concentration variation curve for each drainage pipeline according to the pollutant concentration exceeding the standard in each drainage pipeline after the second moment; The slope sequence is extracted from the pollutant concentration variation curve of each drainage pipe to obtain the variation trend of the pollutant concentration exceeding the standard in each drainage pipe after the second moment.
3. The method for tracing the pollution source of urban drainage pipe network according to claim 2, characterized in that: Determine whether the changing trend of the pollutant concentration exceeding the standard in the drainage pipe is the same as the changing trend of the pollutant concentration exceeding the standard in its upstream drainage pipe, including: Determining the similarity of the slope sequence of the drainage pipe to the upstream drainage pipe; If the similarity is greater than a preset similarity threshold, it is determined that the change trend of the concentration of pollutants exceeding the standard in the drainage pipe is the same as the change trend of the concentration of pollutants exceeding the standard in its upstream drainage pipe; If the similarity is less than or equal to the similarity threshold, it is determined that the variation trend of the concentration of pollutants exceeding the standard in the drainage pipe is different from the variation trend of the concentration of pollutants exceeding the standard in its upstream drainage pipe.
4. The method for tracing the pollution source of urban drainage pipe network according to claim 1, characterized in that: The step of comparing the changing trend of the pollutant concentration exceeding the standard in each drainage pipe with the changing trend of the pollutant concentration exceeding the standard in its upstream drainage pipe to determine the scope of the pollution source also includes: Obtain enterprise data corresponding to the drainage pipes with pollution sources from a preset database; Determine the pollutant composition of each corresponding enterprise based on the enterprise data; According to the pollutant composition of the drainage pipe where the pollution source exists and the pollutant composition of each corresponding enterprise, target enterprises for investigation are screened from the corresponding enterprises.
5. A pollution source tracing device for urban drainage pipe network, characterized in that: include: Establish a module for establishing a tree topology diagram of the drainage network; An acquisition module, used to acquire pollutant data at the end of each drainage pipe in the tree topology diagram; wherein the pollutant data includes pollutant composition and pollutant concentration; The clustering module is used to detect whether the pollutant concentration at the end of each drainage pipe exceeds the standard, and cluster the drainage pipes that exceed the standard according to the components of the pollutants that exceed the standard; A determination module is used to determine the scope of the pollution source in each cluster according to the upstream and downstream relationship of each drainage pipe and the change trend of the concentration of pollutants exceeding the standard at the end of each drainage pipe; The method of clustering the excessive drainage pipes according to the excessive pollutant components includes: Group drainage pipes with the same pollutant composition exceeding the standard into one category; If there is a drainage pipe containing pollutant components exceeding the standard in at least two clusters, the drainage pipe is divided into at least two virtual pipes; wherein each virtual pipe corresponds to a pollutant component exceeding the standard in a cluster; and each virtual pipe is divided into a corresponding cluster; The scope of the pollution source is determined based on the upstream and downstream relationship of each drainage pipe and the changing trend of the pollutant concentration exceeding the standard at the end of each drainage pipe, including: The time when the pollutant concentration at the end of each drainage pipe is detected to be excessive is taken as the first time corresponding to each drainage pipe; Extracting the variation trend of the concentration of pollutants exceeding the standard in each drainage pipe after a second moment, where the second moment is a moment of a preset time before the first moment; Compare the changing trend of the pollutant concentration exceeding the standard in each drainage pipe with the changing trend of the pollutant concentration exceeding the standard in its upstream drainage pipe to determine the scope of the pollution source; The variation trend of the pollutant concentration exceeding the standard in each drainage pipe is compared with the variation trend of the pollutant concentration exceeding the standard in its upstream drainage pipe to determine the scope of the pollution source, including: Determine the presence of pollution sources on the most upstream drainage pipe; Traverse the drainage pipes except the most upstream drainage pipe, and for any drainage pipe, if the change trend of the concentration of pollutants exceeding the standard in the drainage pipe is the same as the change trend of the concentration of pollutants exceeding the standard in the upstream drainage pipe, it is determined that there is no pollution source on the drainage pipe; If the changing trend of the pollutant concentration exceeding the standard in the drainage pipe is different from the changing trend of the pollutant concentration exceeding the standard in its upstream drainage pipe, it is determined that there is a pollution source in the drainage pipe.
6. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 4 are implemented.
7. A computer-readable storage medium storing a computer program, 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 4 are implemented.
Citation Information
Patent Citations
Sensor optimization arrangement method for water supply network pollutant intrusion point identification
CN113139584A
Water pollution tracing method and system based on material conservation and time history similarity
CN116500220A
Cited By
Underground rainwater pipeline abnormal discharge traceability system and method based on DAS
CN122413214A