Urban drainage pipe network pollution tracing method and device, electronic equipment and storage medium
By establishing tree topology maps and pollutant data analysis of drainage pipeline networks, clustering and traceability technology, the problem of low pollution traceability efficiency in urban drainage pipeline networks is solved, and low-cost and efficient pollution source positioning and management are achieved.
Patent Information
- Application Number
- CN202411472653.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-22
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2044-10-22
AI Technical Summary
The existing technology is difficult to accurately locate the pollutant emission locations in urban drainage pipelines, resulting in low pollution traceability efficiency and high cost, and it is difficult to effectively supervise industrial pollution sources.
By establishing a tree topology map of the drainage pipeline network, the pollutant data at the end of each drainage pipeline are obtained, and the pollutant concentration exceeds the standard are detected, and the drainage pipelines are clustered according to the excessive pollutant components, combining upstream and downstream relationships and pollutants. The concentration change trend determines the pollution source range.
It has achieved low-cost, accurate and efficient pollution traceability, reduced pollution monitoring costs, improved the accuracy of pollution source positioning, prevented missed inspections, and promoted the automation construction of the drainage pipeline management system.
Smart Images

Figure CN119006250A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of environmental protection technology, and in particular relates to a method, device, electronic equipment and storage medium for tracing pollution sources of urban drainage pipe networks. Background Art
[0002] The drainage network is the "veins" of a city's operations, responsible for collecting rainwater, sewage, and transporting sewage generated by residents and factories to sewage treatment plants.
[0003] With the rapid development of industrial production, the amount of sewage is also increasing, and water pollution has become one of the most important environmental problems. Industrial sewage is discharged directly into natural rivers or underground pipes without treatment, which will cause serious environmental pollution and bring great harm to people's lives. With the increasingly stringent requirements for environmental supervision, it is an indispensable link to investigate the source of pollution and trace the source of pollutants. Only by accurately tracing the source of pollution can we cut off the source of pollution in time, prevent the pollution from further deteriorating, and hold the polluting enterprises accountable and better supervise them.
[0004] However, since the drainage network is located underground and its structure is complicated, it is difficult to accurately locate the location of pollutant discharge and to achieve the purpose of pollution source tracing. In addition, currently, it is necessary to take samples from each monitoring point for testing to trace the source of pollution, which is costly and inefficient. Summary of the invention
[0005] In view of this, an embodiment of the present invention provides a method, device, electronic device and storage medium for tracing pollution in an urban drainage network, so as to achieve low-cost, accurate and efficient pollution tracing in the drainage network.
[0006] A first aspect of an embodiment of the present invention provides a method for tracing pollution sources in an urban drainage network, comprising: 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.
[0007] In combination with the first aspect, in a possible implementation of the first aspect, determining the scope of the pollution source 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 includes: 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 pollutant concentration exceeding the standard in each drainage pipe with the changing trend of pollutant concentration exceeding the standard in its upstream drainage pipe to determine the scope of the pollution source.
[0008] In combination with the first aspect, in a possible implementation of the first aspect, 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 includes: 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.
[0009] In combination with the first aspect, in a possible implementation of the first aspect, extracting the change trend of the pollutant concentration of each drainage pipe after it exceeds the standard at the second moment includes: According to the pollutant concentration exceeding the standard in each drainage pipeline after the second moment, a pollutant concentration variation curve of each drainage pipeline is drawn; 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.
[0010] In combination with the first aspect, in a possible implementation of the first aspect, determining whether a change trend of the concentration of pollutants exceeding the standard in the drainage pipe is the same as a change trend of the concentration of pollutants exceeding the standard in its upstream drainage pipe includes: 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 pollutant concentration exceeding the standard in the drainage pipe is different from the variation trend of the pollutant concentration exceeding the standard in its upstream drainage pipe.
[0011] In combination with the first aspect, in a possible implementation of the first aspect, 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 scope of the pollution source further 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.
[0012] In combination with the first aspect, in a possible implementation of the first aspect, 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; Divide each virtual pipeline into a corresponding cluster.
[0013] A second aspect of an embodiment of the present invention provides a pollution source tracing device for a city drainage network, comprising: 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; The 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 changing trend of the concentration of pollutants exceeding the standard at the end of each drainage pipe.
[0014] In conjunction with the second aspect, in a possible implementation manner of the second aspect, the determining module is specifically configured to: 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 pollutant concentration exceeding the standard in each drainage pipe with the changing trend of pollutant concentration exceeding the standard in its upstream drainage pipe to determine the scope of the pollution source.
[0015] In conjunction with the second aspect, in a possible implementation manner of the second aspect, the determining module is specifically configured to: 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.
[0016] In conjunction with the second aspect, in a possible implementation manner of the second aspect, the determining module is specifically configured to: According to the pollutant concentration exceeding the standard in each drainage pipeline after the second moment, a pollutant concentration variation curve of each drainage pipeline is drawn; 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.
[0017] In conjunction with the second aspect, in a possible implementation manner of the second aspect, the determining module is specifically configured to: 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 pollutant concentration exceeding the standard in the drainage pipe is different from the variation trend of the pollutant concentration exceeding the standard in its upstream drainage pipe.
[0018] In conjunction with the second aspect, in a possible implementation manner of the second aspect, the determining module is further configured to: 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.
[0019] In conjunction with the second aspect, in a possible implementation manner of the second aspect, the clustering module is specifically used to: 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; Divide each virtual pipeline into a corresponding cluster.
[0020] A third aspect of an embodiment of the present invention provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps of the method in the first aspect or any one of the implementations of the first aspect are implemented.
[0021] A fourth aspect of an embodiment of the present invention provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the steps of the method in the above-mentioned first aspect or any one of the implementation methods of the first aspect.
[0022] Compared with the prior art, the embodiments of the present invention have the following beneficial effects: The embodiment of the present invention establishes a tree topology diagram of the drainage network. By detecting whether the pollutant data at the end of each drainage pipe in the tree topology diagram exceeds the standard, and clustering the drainage pipes that exceed the standard according to the pollutant components that exceed the standard, the drainage pipes that flow through the same pollution source can be divided into one category; further, considering that there may be more than two pollution sources with the same pollutant components in the same cluster, the embodiment of the present invention checks multiple pollution sources in each cluster according to the upstream and downstream relationship of each drainage pipe and the changing trend of the pollutant concentration that exceeds the standard at the end of each drainage pipe to prevent missed inspections. On the one hand, this embodiment only monitors the pollution at the end of the drainage pipe, which reduces the cost. On the other hand, this embodiment takes into account that it is difficult to use pollutant concentrations for analysis due to the influence of drainage pipe diversion and merging, so multiple pollution sources are checked through the changing trend of pollutant concentrations to improve accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0024] Figure 1 It is a flow chart of a method for tracing the pollution source of an urban drainage network provided by an embodiment of the present invention; Figure 2 It is a partial tree topology diagram of the drainage network provided by an embodiment of the present invention; Figure 3 It is a structural schematic diagram of a pollution source tracing device for a city drainage network provided by an embodiment of the present invention; Figure 4 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0025] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present invention. However, it should be clear to those skilled in the art that the present invention may 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 prevent unnecessary details from obstructing the description of the present invention.
[0026] In order to illustrate the technical solution of the present invention, a specific embodiment is provided below for illustration.
[0027] With the rapid advancement of urbanization, population concentration and high-intensity production and living activities, the amount of urban sewage has increased dramatically. The increase in sewage has led to increasingly aggravated problems such as water environment pollution and water ecological environment degradation, which has seriously restricted the sustainable development of urban social economy. At the same time, due to the lagging construction of urban drainage system hardware and software, rainwater and sewage confluence and other reasons, 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. The phenomenon of factory stealing, leaking and over-discharge is even more common. Industrial sewage is an important source of sewage in the urban drainage system, containing a large amount of organic matter and heavy metal pollutants. If these pollutants are not discharged according to regulations, it will lead to extremely serious pollution incidents, causing a huge load on the sewage treatment plant, resulting in the inability of sewage treatment equipment to operate normally and smoothly, and then causing the effluent water quality to fail to meet the standards. In addition, some difficult-to-degrade substances cannot be treated after entering the sewage treatment plant, and are finally discharged into natural water bodies, resulting in irreversible effects. Due to the characteristics of suddenness, concealment, uncertainty and discontinuity of pipeline network pollution incidents, it is difficult to detect and trace the source in time. If control measures are not taken, the pollution will further expand and affect the entire urban water system.
[0028] At present, the water quality detection of drainage pipe networks generally adopts the method of manual sampling and transfer 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, and often cannot give test results in time when facing sudden pollution incidents. Thanks to the development of sensor technology in recent years, a more effective method is to install water quality sensors in the drainage pipe network for real-time water quality monitoring. Compared with traditional manual detection methods, sensors have the following advantages: low labor cost, simple maintenance requirements, and 24h real-time water quality data, which makes automatic monitoring possible and is also conducive to improving the response speed of sudden water pollution incidents. However, urban drainage pipe networks are extremely complex, especially in large and medium-sized cities, with a large number of pipe network nodes and pipelines stretching for thousands of kilometers. It is impractical to achieve full node coverage of sensors. It is necessary to consider maximizing the rapid monitoring response of pollution under limited conditions.
[0029] 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.
[0030] Figure 1 The present invention provides a method for tracing the pollution source of an urban drainage network, which includes: Step S101, establishing a tree topology diagram of the drainage network.
[0031] 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.
[0032] For an exemplary partial schematic diagram of a tree topology diagram, see Figure 2 shown.
[0033] exist Figure 2In 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.
[0034] 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.
[0035] For example, COD Cr 、TOC、NH 3 -N, TP, TN and other automatic water quality analyzers monitor the mixed water sample. The time starts at zero o'clock every day, and every 30 minutes is a time period. The automatic water quality sampling system performs time-proportional or flow-proportional sampling. After the sampling is completed, the automatic water quality analyzer tests the pollutant concentration in the mixed water sample. The time stamp of the measurement result stored in the automatic water quality analyzer should be the time when the automatic water quality analyzer starts sampling from the mixing barrel. When the data acquisition and transmission instrument reports the data, the time stamp in the message should be consistent with the time stamp stored in the measurement result of the automatic water quality analyzer. In addition, the pH value, temperature and flow of the water sample can also be monitored by a pH water quality automatic analyzer, a thermometer and a flow meter, which is not limited in this embodiment.
[0036] Step S103, detecting whether the pollutant concentration at the end of each drainage pipe exceeds the standard, and clustering the drainage pipes exceeding the standard according to the pollutant components exceeding the standard.
[0037] 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 pollutants are discharged into a drainage pipe, the drainage pipe and its downstream drainage pipes may have the same pollutant component concentration exceeding the standard. For example, Figure 2 In the example, when pollutants are discharged into drainage pipe a, the downstream drainage pipes b and c can both detect the same pollutant components with concentrations exceeding the standard. Therefore, by clustering the pollutant components exceeding the standard, the drainage pipes flowing through the same pollution source can be divided into one category.
[0038] Here, in cluster analysis, no matter what clustering method is 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 in order 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. Distance calculation methods have some common characteristics, including non-negativity, identity, symmetry and directness. These characteristics ensure that the distance measurement is reasonable and reliable. Commonly used distance calculation methods in cluster analysis include Euclidean distance, inner product and cosine distance. These methods are widely used in measuring the differences and similarities between samples.
[0039] In this embodiment, the distance calculation method of the two drainage pipes is not limited. What is important is that when the pollutant components with excessive concentrations 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 concentrations in the two drainage pipes are completely consistent, or the pollutant components with excessive concentrations in the two drainage pipes are only different in one or two places.
[0040] 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: 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.
[0041] 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.
[0042] 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.
[0043] 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.
[0044] Here, the changing trend of the concentration of pollutants exceeding the standard is considered for judgment.
[0045] 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.
[0046] 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.
[0047] The embodiment of the present invention establishes a tree topology diagram of the drainage network. By detecting whether the pollutant data at the end of each drainage pipe in the tree topology diagram exceeds the standard, and clustering the drainage pipes that exceed the standard according to the pollutant components that exceed the standard, the drainage pipes that flow through the same pollution source can be divided into one category; further, considering that there may be more than two pollution sources with the same pollutant components in the same cluster, the embodiment of the present invention checks multiple pollution sources in each cluster according to the upstream and downstream relationship of each drainage pipe and the changing trend of the pollutant concentration that exceeds the standard at the end of each drainage pipe to prevent missed inspections. On the one hand, this embodiment only monitors the pollution at the end of the drainage pipe, which reduces the cost. On the other hand, this embodiment takes into account that it is difficult to use pollutant concentrations for analysis due to the influence of drainage pipe diversion and merging, so multiple pollution sources are checked through the changing trend of pollutant concentrations to improve accuracy.
[0048] As a possible implementation method, the scope of pollution sources 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 changing trend of the pollutant concentration exceeding the standard in each drainage pipe after the second moment, where the second moment is a moment preset time before the first moment; Compare the changing trend of pollutant concentration exceeding the standard in each drainage pipe with the changing trend of pollutant concentration exceeding the standard in its upstream drainage pipe to determine the scope of the pollution source.
[0049] In this embodiment, the pollutant concentration is mainly used after a period of time before the detection of the pollutant concentration exceeding the standard to analyze the change trend of the pollutant concentration. Because before and after the detection of the pollutant concentration exceeding the standard, the pollutant concentration is in an upward period, and then changes to a stable or downward period. Therefore, the change trend of the pollutant concentration during this period is more typical and more referenceable.
[0050] As a possible implementation method, the changing trend of the pollutant concentration exceeding the standard in each drainage pipe is compared with the changing 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.
[0051] In this embodiment, the pollutant concentration on the upstream drainage pipe exceeds the standard, so there must be a pollution source. The downstream pipe is further checked based on the change trend. For related descriptions, please refer to the description of step S104, which will not be repeated here.
[0052] As a possible implementation method, the change trend of the pollutant concentration of each drainage pipe after it exceeds the standard at the second moment is extracted, including: According to the pollutant concentration exceeding the standard in each drainage pipeline after the second moment, a pollutant concentration variation curve of each drainage pipeline is drawn; 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.
[0053] Accordingly, judging whether the changing trend of the concentration of pollutants exceeding the standard in the drainage pipe is the same as the changing trend of the concentration of pollutants exceeding the standard in the upstream drainage pipe includes: 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 pollutant concentration exceeding the standard in the drainage pipe is the same as the change trend of the pollutant concentration 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 change trend of the pollutant concentration exceeding the standard in the drainage pipe is different from the change trend of the pollutant concentration exceeding the standard in its upstream drainage pipe.
[0054] One way to determine whether the pollutant concentration change trends of the upstream and downstream drainage pipes are the same is to simply determine whether the rise, fall, and remain unchanged are the same. In some cases, this method may still be difficult to accurately distinguish. This embodiment can further determine whether the pollutant concentration change rate is the same by extracting the slope sequence, thereby improving the accuracy. It should be noted that different pollutant components need to be trend determined, and they are all consistent to be considered the same as a whole.
[0055] Here, the slope sequences of the upstream and downstream drainage pipes are aligned based on the time when the pollutant concentration is detected to be excessive, and the similarity of the slope sequences is analyzed by analyzing the difference in the corresponding slopes.
[0056] As a possible implementation method, the changing trend of the pollutant concentration exceeding the standard in each drainage pipe is compared with the changing trend of the pollutant concentration exceeding the standard in its upstream drainage pipe to determine the scope of the pollution source, which 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 enterprise data; According to the pollutant composition of the drainage pipes where pollution sources exist and the pollutant composition of each corresponding enterprise, target enterprises for investigation are selected from each corresponding enterprise.
[0057] In this embodiment, the enterprises connected to each drainage pipe or the enterprises within a certain range of each drainage pipe are stored by presetting a database. By comparing and analyzing the pollutant composition of the drainage pipe with the pollution source and the pollutant composition of each corresponding enterprise, enterprises with the same or similar pollutant composition are selected as key enterprises to be investigated, which greatly reduces the workload.
[0058] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.
[0059] Figure 3 : is a schematic diagram of the structure of a pollution source tracing device 30 for a city drainage network provided by an embodiment of the present invention, comprising: Establishing module 31, used for establishing a tree topology diagram of the drainage network; The acquisition module 32 is 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 33 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 pollutant components that exceed the standard; The determination module 34 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.
[0060] As a possible implementation manner, the determination module 34 is specifically used for: 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 changing trend of the pollutant concentration exceeding the standard in each drainage pipe after the second moment, where the second moment is a moment preset time before the first moment; Compare the changing trend of pollutant concentration exceeding the standard in each drainage pipe with the changing trend of pollutant concentration exceeding the standard in its upstream drainage pipe to determine the scope of the pollution source.
[0061] As a possible implementation manner, the determination module 34 is specifically used for: 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.
[0062] As a possible implementation manner, the determination module 34 is specifically used for: According to the pollutant concentration exceeding the standard in each drainage pipeline after the second moment, a pollutant concentration variation curve of each drainage pipeline is drawn; 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.
[0063] As a possible implementation manner, the determination module 34 is specifically used for: 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 pollutant concentration exceeding the standard in the drainage pipe is the same as the change trend of the pollutant concentration 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 change trend of the pollutant concentration exceeding the standard in the drainage pipe is different from the change trend of the pollutant concentration exceeding the standard in its upstream drainage pipe.
[0064] As a possible implementation manner, the determination module 34 is further configured to: 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 enterprise data; According to the pollutant composition of the drainage pipes where pollution sources exist and the pollutant composition of each corresponding enterprise, target enterprises for investigation are selected from each corresponding enterprise.
[0065] As a possible implementation manner, the clustering module 33 is specifically used for: 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; Divide each virtual pipeline into a corresponding cluster.
[0066] The embodiment of the present invention establishes a tree topology diagram of the drainage network. By detecting whether the pollutant data at the end of each drainage pipe in the tree topology diagram exceeds the standard, and clustering the drainage pipes that exceed the standard according to the pollutant components that exceed the standard, the drainage pipes that flow through the same pollution source can be divided into one category; further, considering that there may be more than two pollution sources with the same pollutant components in the same cluster, the embodiment of the present invention checks multiple pollution sources in each cluster according to the upstream and downstream relationship of each drainage pipe and the changing trend of the pollutant concentration that exceeds the standard at the end of each drainage pipe to prevent missed inspections. On the one hand, this embodiment only monitors the pollution at the end of the drainage pipe, which reduces the cost. On the other hand, this embodiment takes into account that it is difficult to use pollutant concentrations for analysis due to the influence of drainage pipe diversion and merging, so multiple pollution sources are checked through the changing trend of pollutant concentrations to improve accuracy.
[0067] Figure 4 FIG. 4 is a schematic diagram of an electronic device 40 provided by an embodiment of the present invention. Figure 4 As 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 city drainage pipe network pollution tracing program. When the processor 41 executes the computer program 43, the steps in the above-mentioned city drainage pipe network pollution tracing method embodiments are implemented, such as Figure 1 Alternatively, when the processor 41 executes the computer program 43, the functions of each module / unit in the above-mentioned device embodiments are realized, for example Figure 3 The functions of the modules 31 to 34 are shown.
[0068] Exemplarily, the computer program 43 may be divided into one or more modules / units, which are stored in the memory 42 and executed by the processor 41 to implement the present invention. The one or more modules / units may be a series of computer program instruction segments capable of implementing specific functions, which are used to describe the execution process of the computer program 43 in the electronic device 40.
[0069] The electronic device 40 may be a computing device such as a desktop computer, a notebook, a PDA, or 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 will appreciate that Figure 4 It is only an example of the electronic device 40 and does not constitute a limitation of the electronic device 40. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the electronic device 40 may also include input and output devices, network access devices, buses, etc.
[0070] The processor 41 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0071] 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 an 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 is to be output.
[0072] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0073] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0074] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0075] In the embodiments provided by the present invention, it should be understood that the disclosed devices / electronic devices and methods can be implemented in other ways. For example, the device / electronic device embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as 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 mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0076] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0077] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0078] 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, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, 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.
[0079] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.
Claims
1. A method for tracing the pollution source of urban drainage network. It is 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.
2. The urban drainage network pollution tracing method according to claim 1, It is characterized in that 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 pollutant concentration exceeding the standard in each drainage pipe with the changing trend of pollutant concentration exceeding the standard in its upstream drainage pipe to determine the scope of the pollution source.
3. The method for tracing the pollution source of urban drainage pipe network as claimed in claim 2, It is characterized in that The variation trend of the concentration of pollutants exceeding the standard in each drainage pipe is compared with the variation trend of the concentration of pollutants 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.
4. The method for tracing the pollution source of urban drainage pipe network as claimed in claim 3, It is 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: According to the pollutant concentration exceeding the standard in each drainage pipeline after the second moment, a pollutant concentration variation curve of each drainage pipeline is drawn; 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.
5. The method for tracing the pollution source of urban drainage pipe network as claimed in claim 4, It is 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 pollutant concentration exceeding the standard in the drainage pipe is different from the variation trend of the pollutant concentration exceeding the standard in its upstream drainage pipe.
6. The method for tracing the pollution source of urban drainage pipe network as claimed in claim 2, It is 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 of enterprises corresponding to 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.
7. The method for tracing the pollution source of urban drainage pipe network as claimed in claim 1, It is characterized in that 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; Divide each virtual pipeline into a corresponding cluster.
8. A pollution tracing device for urban drainage pipe network, It is 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; The 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 changing trend of the concentration of pollutants exceeding the standard at the end of each drainage pipe.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium storing a computer program. It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Drainage pipe network pollution path monitoring and identifying method, device and electronic equipment
CN110196083A
Sensor optimization arrangement method for water supply network pollutant intrusion point identification
CN113139584A
Drainage pipe network pollution tracing method and system, terminal and storage medium
CN115809529A
Water pollution tracing method and system based on material conservation and time history similarity
CN116500220A
Pollutant sensor placement
US20230169222A1
Cited By
Environmental pollution source monitoring data processing system
CN119441927A
Method and system for tracing source of urban underground water pollution source in karst area
CN119555903A
Karst region city groundwater pollution source tracing method and system
CN119555903B
Industrial pollution tracing method and system based on machine learning
CN119917869A
Machine learning based industrial pollution source tracing method and system
CN119917869B
