Water supply and drainage flow and water quality monitoring data processing method and device and electronic equipment
By acquiring data from liquid level meters, flow meters and water quality monitors at pipe network nodes, confirming failure data and calculating operating information, the problem of accuracy of mixed rainwater and sewage monitoring and instrument fault identification is solved, ensuring data quality and sewage treatment. normal operation of the plant.
Patent Information
- Application Number
- CN202410743350.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-07
- Publication Date
- 2024-09-27
AI Technical Summary
Existing technology is difficult to monitor and deal with the phenomenon of mixed rainwater and sewage in the pipe network in real time, resulting in an increase in the load of the sewage treatment plant and pollution of the water environment. Moreover, fluctuations or abnormalities in the working status of the monitoring instruments are difficult to identify in a timely manner, affecting data quality and analysis accuracy.
By obtaining the data of liquid level meters, flow meters and water quality monitors at the same pipe network nodes, confirm the failure data and calculate the operation information of each instrument, including acquisition rate, missing rate and effective rate, send alarm information and troubleshoot faults in a timely manner to ensure Data accuracy.
It achieves more comprehensive monitoring of the drainage status of the pipe network, promptly identifies and handles monitoring instrument failures, ensures data accuracy, provides a reliable basis for rainwater and sewage mixed connection analysis, and ensures the normal operation of sewage treatment plants and urban water environment protection.
Smart Images

Figure CN118706170A
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of pipe network monitoring, and in particular to a method, device and electronic equipment for processing water supply and drainage flow and water quality monitoring data. Background Art
[0002] With the acceleration of urbanization, the construction and management of urban drainage pipe networks are facing more and more challenges. Among them, rainwater and sewage mixing is a prominent problem. Rainwater and sewage mixing will cause a large amount of rainwater to enter the sewage treatment plant, increase the water load of the sewage treatment plant, and may even cause the sewage treatment plant to overload and affect the sewage treatment effect. At the same time, rainwater and sewage mixing may also bring unnecessary overflow pollution and have a serious impact on the urban water environment. Therefore, real-time monitoring of the pipe network and timely detection of rainwater and sewage mixing are of great significance to ensure the normal operation of the sewage treatment plant and the protection of the urban water environment.
[0003] In pipe network monitoring, monitoring instruments are key equipment for obtaining data, and the type of data obtained and the working status play a decisive role. Due to the influence of various factors, such as changes in the performance of the instrument itself, interference from the external environment, and loss caused by long-term operation, the working status of the monitoring instrument may fluctuate or become abnormal. If such changes are not detected in time, the quality of the monitoring data will be greatly reduced, and may even lead to erroneous monitoring results and analysis judgments. Summary of the invention
[0004] The present disclosure provides a method, device and electronic equipment for processing water supply and drainage flow and water quality monitoring data, so as to at least solve the above technical problems existing in the prior art.
[0005] According to a first aspect of the present disclosure, a method for processing water supply and drainage flow and water quality monitoring data is provided, comprising:
[0006] Acquire at least one first liquid level data collected by the liquid level meter in a first time interval;
[0007] Acquire at least one second liquid level data, at least one first flow velocity data, and at least one first flow rate data collected by the flow meter in the first time interval;
[0008] Acquire at least one first water quality data collected by the water quality monitor in a first time interval;
[0009] Based on the at least one first liquid level data and the liquid level data range, confirming the invalid first liquid level data in the at least one first liquid level data;
[0010] confirming, based on the at least one second liquid level data, a failed first flow rate data among the at least one first flow rate data;
[0011] Based on the at least one second liquid level data and the at least one flow rate data, confirming the invalid first flow data in the at least one first flow data;
[0012] Based on the at least one first liquid level data, confirming the invalid first water quality data among the at least one first water quality data;
[0013] Confirming the operation information of the liquid level meter based on the at least one first liquid level data and the failed first liquid level data; confirming the operation information of the flow meter based on the at least one second liquid level data, the failed second liquid level data, the at least one first flow rate data, the failed first flow rate data, the at least one first flow rate data, and the failed first flow rate data; confirming the operation information of the water quality monitor based on the at least one first water quality data and the failed first water quality data;
[0014] Wherein, the liquid level meter, the flow meter and the water quality monitor are arranged at the same pipe network node.
[0015] In the above solution, the step of confirming the invalid first liquid level data in the at least one first liquid level data based on the at least one first liquid level data and the liquid level data range includes at least one of the following:
[0016] Confirming that among the at least one first liquid level data, first liquid level data whose value is less than 0 is invalid first liquid level data;
[0017] Confirm that the first bit of the at least one first liquid level data, whose difference with the previous value is greater than 2 times the standard deviation of the liquid level data in the corresponding window period, is the invalid first liquid level data; the corresponding window period includes a second time interval with the invalid first liquid level data as the midpoint;
[0018] It is confirmed that among the at least one first liquid level data, first liquid level data whose value is outside the liquid level data measurement range is invalid first liquid level data.
[0019] In the above solution, the step of confirming the invalid first flow rate data in the at least one first flow rate data based on the at least one second liquid level data includes at least one of the following:
[0020] Confirm that the first flow rate data whose value in the at least one first flow rate data is not 0 and whose corresponding second liquid level data is less than the second threshold value is invalid first flow rate data;
[0021] Confirm that the value of at least one of the first flow rate data is 0, the corresponding second liquid level data is greater than or equal to the second threshold, and the first flow rate data less than the second liquid level data sampled last is invalid first flow rate data;
[0022] It is confirmed that among the at least one first flow rate data, first flow rate data with a value outside the flow rate data range is invalid first flow rate data.
[0023] In the above solution, the step of confirming the invalid first flow data in at least one first flow data based on the at least one second liquid level data and the at least one flow rate data comprises:
[0024] If the pipe network node is a node corresponding to a sewage pipe or a combined pipe, confirm that among the at least one first flow data, all flow data in the corresponding window period are less than a third threshold value, and the first flow data whose value is 0 is invalid first flow data;
[0025] The first flow data for which the corresponding first liquid level data or first flow velocity data is confirmed to be invalid is the invalid first flow data.
[0026] In the above solution, confirming the invalid first water quality data in the at least one first water quality data based on the at least one first liquid level data includes:
[0027] Confirm that among the at least one first water quality data, the first water quality data whose value is 0 and whose corresponding first liquid level data is greater than 0 is invalid first water quality data;
[0028] Confirming that among the at least one first water quality data, the first water quality data whose value is greater than 0 and whose corresponding first liquid level data is equal to 0 is invalid first water quality data;
[0029] It is confirmed that among the at least one first water quality data, first water quality data whose value is outside the water quality range is invalid first water quality data.
[0030] In the above scheme, the operation information of the liquid level meter is confirmed based on the at least one first liquid level data and the failed first liquid level data; the operation information of the flow meter is confirmed based on the at least one second liquid level data, the failed second liquid level data, the at least one first flow rate data, the failed first flow rate data, the at least one first flow rate data, and the failed first flow rate data; the operation information of the water quality monitor is confirmed based on the at least one first water quality data and the failed first water quality data; including:
[0031] Based on the quantity of the at least one first liquid level data and the theoretical data quantity, confirming the acquisition rate and the missing rate of the liquid level meter;
[0032] confirming an acquisition rate and a missing rate of the flow meter based on the at least one second liquid level data, the number of the at least one first flow rate data, the number of the at least one first flow rate data, and the theoretical data number;
[0033] Based on the quantity of the at least one first water quality data and the quantity of theoretical data, confirming the acquisition rate and the missing rate of the water quality detector;
[0034] Based on the number of the failed first liquid level data and the number of theoretical data, confirming the effectiveness and failure rate of the liquid level meter;
[0035] confirming the efficiency and failure rate of the flow meter based on the number of the failed first flow velocity data, the number of the failed first flow rate data, and the number of theoretical data;
[0036] Based on the number of the failed first water quality data and the number of theoretical data, confirm the efficiency and failure rate of the water quality detector;
[0037] The operation information includes acquisition rate, miss rate, effectiveness rate and failure rate.
[0038] In the above scheme, the method further includes at least one of the following:
[0039] In response to the acquisition rate of the liquid level meter being less than a fourth threshold, sending a first alarm message; the first alarm message is used to indicate a communication function failure of the liquid level meter;
[0040] In response to the acquisition rate of the flow meter being less than a fifth threshold, sending a second alarm message; the second alarm message is used to indicate a communication function failure of the flow meter;
[0041] In response to the effectiveness of the liquid level meter being less than a sixth threshold, sending a third warning message; the third warning message is used to indicate a liquid level meter failure;
[0042] In response to the efficiency of the flow meter being less than the seventh threshold, sending a fourth alarm message; the fourth alarm message is used to indicate a flow meter failure;
[0043] In response to the acquisition rate of the water level monitor being less than an eighth threshold, sending a fifth alarm message; the fifth alarm message is used to indicate a communication function failure of the water level monitor;
[0044] In response to the effectiveness of the water level monitor being less than a ninth threshold, a sixth alarm message is sent; the sixth alarm message is used to indicate a fault in the water level monitor.
[0045] In the above scheme, the method further includes at least one of the following:
[0046] Performing a weighted summation on the acquisition rate, the missing rate, the effective rate and the failure rate of the liquid level meter to determine a first score of the liquid level meter in the first time interval; the first score is used to characterize the working state of the liquid level meter in the first time interval;
[0047] The acquisition rate, missing rate, effective rate and failure rate of the flow meter are weighted and summed to determine the second score of the flow meter in the first time interval; the second score is used to characterize the working state of the flow meter in the first time interval
[0048] The acquisition rate, missing rate, effective rate and failure rate of the water level monitor are weighted and summed to determine the third score of the water level monitor in the first time interval; the third score is used to characterize the working status of the water level monitor in the first time interval.
[0049] According to a second aspect of the present disclosure, a device for processing water supply and drainage flow and water quality monitoring data is provided, the device comprising:
[0050] A first acquisition unit, used to acquire at least one first liquid level data collected by the liquid level meter in a first time interval;
[0051] A second acquisition unit, used to acquire at least one second liquid level data, at least one first flow velocity data and at least one first flow rate data collected by the flow meter in the first time interval;
[0052] A third acquisition unit, used to acquire at least one first water quality data collected by the water quality monitor in the first time interval;
[0053] A first data processing unit, configured to confirm, based on the at least one first liquid level data and the liquid level data range, an invalid first liquid level data in the at least one first liquid level data;
[0054] A second data processing unit is used to confirm the invalid first flow rate data in the at least one first flow rate data based on the at least one second liquid level data;
[0055] A third data processing unit, configured to confirm the invalid first flow data in the at least one first flow data based on the at least one second liquid level data and the at least one flow rate data;
[0056] A fourth data processing unit, configured to confirm, based on the at least one first liquid level data, invalid first water quality data in the at least one first water quality data;
[0057] A confirmation unit, configured to confirm the operation information of the liquid level meter based on the at least one first liquid level data and the failed first liquid level data; confirm the operation information of the flow meter based on the at least one second liquid level data, the failed second liquid level data, the at least one first flow rate data, the failed first flow rate data, the at least one first flow rate data, and the failed first flow rate data; confirm the operation information of the water quality monitor based on the at least one first water quality data and the failed first water quality data;
[0058] Wherein, the liquid level meter, the flow meter and the water quality monitor are arranged at the same pipe network node.
[0059] According to a third aspect of the present disclosure, there is provided an electronic device, including:
[0060] At least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method described in the present disclosure.
[0061] The water supply and drainage flow and water quality monitoring data processing method, device and electronic device disclosed in the present invention obtain at least one first liquid level data collected by a liquid level meter in a first time interval; obtain at least one second liquid level data, at least one first flow rate data and at least one first flow rate data collected by a flow meter in the first time interval; obtain at least one first water quality data collected by a water quality monitor in the first time interval; based on the at least one first liquid level data and the liquid level data range, confirm the invalid first liquid level data in the at least one first liquid level data; based on the at least one second liquid level data, confirm the invalid first flow rate data in the at least one first flow rate data; based on the at least one second liquid level data and at least one flow rate data, confirm at least A first flow data that fails in a first flow data; based on the at least one first liquid level data, confirm the first water quality data that fails in the at least one first water quality data; based on the at least one first liquid level data and the failed first liquid level data, confirm the operation information of the liquid level meter; based on the at least one second liquid level data, the failed second liquid level data, the at least one first flow rate data, the failed first flow rate data, the at least one first flow data, and the failed first flow data, confirm the operation information of the flow meter; based on the at least one first water quality data and the failed first water quality data, confirm the operation information of the water quality monitor; wherein the liquid level meter, the flow meter and the water quality monitor are arranged at the same pipe network node. By obtaining liquid level data through the liquid level meter and obtaining flow data, flow velocity data and liquid level data through the flow meter, it is possible to obtain more comprehensive data related to pipeline drainage, so as to know the drainage status of the pipeline network more accurately. In addition, the data obtained by the liquid level meter and flow meter are used to confirm the failure data in the data. The operating information of the liquid level meter and flow meter can be judged by itself without adding additional information, and then the accuracy of the obtained data can be confirmed, laying the foundation for the subsequent rainwater and sewage mixing analysis based on the data collected by the liquid level meter and flow meter.
[0062] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0063] The above and other objects, features and advantages of the exemplary embodiments of the present disclosure will become readily understood by reading the detailed description below with reference to the accompanying drawings. In the accompanying drawings, several embodiments of the present disclosure are shown in an exemplary and non-limiting manner, in which:
[0064] In the drawings, the same or corresponding reference numerals represent the same or corresponding parts.
[0065] Figure 1 A first optional flow chart of a method for processing water supply and drainage flow and water quality monitoring data provided by an embodiment of the present disclosure is shown;
[0066] Figure 2 A second optional flow chart of the method for processing drainage flow and water quality monitoring data provided by an embodiment of the present disclosure is shown;
[0067] Figure 3 A first schematic diagram of a monitoring page provided by an embodiment of the present disclosure is shown;
[0068] Figure 4 A second schematic diagram of a monitoring page provided by an embodiment of the present disclosure is shown;
[0069] Figure 5 An optional structural schematic diagram of a drainage flow and water quality monitoring data processing device provided by an embodiment of the present disclosure is shown;
[0070] Figure 6 A schematic diagram of the structure of an electronic device according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0071] In order to make the purpose, features, and advantages of the present disclosure more obvious and easy to understand, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present disclosure.
[0072] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it can be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0073] In the following description, the terms "first\second" involved are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second" can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present disclosure described herein can be implemented in an order other than that illustrated or described herein.
[0074] Unless otherwise defined, all technical and scientific terms used in this disclosure have the same meaning as those commonly understood by those skilled in the art to which this disclosure belongs. The terms used in this disclosure are only for the purpose of describing the embodiments of this disclosure and are not intended to limit this disclosure.
[0075] It should be understood that in the various embodiments of the present disclosure, the size of the serial number of each implementation process does not 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 embodiments of the present disclosure.
[0076] Before further describing the embodiments of the present disclosure in detail, the nouns and terms involved in the embodiments of the present disclosure are described. The nouns and terms involved in the embodiments of the present disclosure are subject to the following interpretations.
[0077] (1) Mixing of rainwater and sewage.
[0078] It refers to the drainage chaos caused by sewage being discharged into the rainwater system or rainwater entering the sewage system, and pipe mixing, damage, blockage, etc.
[0079] Sewage usually enters the rainwater system due to aging, damage, construction errors or improper maintenance of drainage pipes, causing damage to the ecosystem that relies on rainwater resources and posing a potential threat to the environment and human health. Sewage mixes with the rainwater system and does not enter municipal sewage treatment facilities, resulting in low urban sewage collection rates, insufficient operating load of sewage treatment plants, and low operating efficiency.
[0080] (2) Pipeline network nodes.
[0081] For scenarios where rainwater and sewage are mixed, it is necessary to clarify how much rainwater flows into the sewage system, when, and from where. Therefore, it is necessary to divide the drainage network into zones, select key or representative networks as nodes, and set up monitoring instruments in the nodes.
[0082] (3) Liquid level meter.
[0083] It is installed at the node of the pipe network and is a kind of monitoring instrument used to measure the height of the liquid medium in the pipe network, that is, the liquid level.
[0084] (4) Flow meter.
[0085] It is installed at the node of the pipeline network and is a kind of monitoring instrument used to measure the height, flow rate and flow of liquid media in the pipeline network.
[0086] (5) Water quality detector.
[0087] It is installed at the node of the pipeline network and is a type of monitoring instrument used to monitor the concentration of suspended matter and dissolved oxygen in the pipeline network.
[0088] (6)Liquid level.
[0089] It refers to the height of the liquid medium in the pipe network relative to the standard surface. The unit of liquid level in this disclosure is meter (m).
[0090] (7) Flow rate.
[0091] Refers to the flow velocity of the liquid medium in the pipe network, usually the instantaneous flow velocity when measured by the flow meter.
[0092] (8) Traffic flow.
[0093] Refers to the amount of water flowing out of the drainage system within a certain time interval, usually expressed in volume units (such as cubic meters per second, liters per second, etc.). The size of the flow rate reflects the speed and scale of drainage.
[0094] In the related technology, only liquid level meters are arranged in the pipe network, and a large number of water quality monitoring devices are arranged together. However, as the basic and relatively reliable monitoring indicator, the distributed arrangement of liquid level is conducive to quickly obtaining liquid level risk information, but it is not possible to identify and trace the problem for pipe network problem diagnosis; water quality indicators can help find problems, but it is difficult to quantify the severity of the problem and analyze the cause of the problem. In addition, online monitoring of pipe network water quality is still mainly based on trend monitoring, which cannot be used directly for diagnosis and will also bring a lot of maintenance work needs.
[0095] In addition, during rainfall, the liquid level in the sewage pipe will be pushed up not only by the presence of mixed rainwater in the upstream pipe, but also by the rising liquid level in the downstream main pipe. This makes it impossible to directly determine whether there is rainwater and sewage mixing upstream based on the rise in liquid level during rainfall.
[0096] In addition, in related technologies, manual timed measurement is often used to obtain instantaneous data, and the overall data is calculated through several instantaneous data; for example, the average daily flow rate is 0.8 obtained through 8 manual instantaneous monitoring. However, the instantaneous data is not accurate, and the average daily flow rate of online monitoring is 0.3, which is a huge difference.
[0097] In view of the defects existing in the related technologies, the embodiments of the present disclosure provide a method for processing water supply and drainage flow and water quality monitoring data, which has solved some or all of the above-mentioned technical problems.
[0098] Figure 1A first optional flow chart of the method for processing water supply and drainage flow and water quality monitoring data provided by an embodiment of the present disclosure is shown and will be explained according to each step.
[0099] Step S101, obtaining at least one first liquid level data collected by a liquid level meter in a first time interval.
[0100] Step S102: acquiring at least one second liquid level data, at least one first flow velocity data, and at least one first flow rate data collected by the flow meter in a first time interval.
[0101] Step S103: acquiring at least one first water quality data collected by the water quality monitor in a first time interval.
[0102] Step S104: confirming invalid first liquid level data in the at least one first liquid level data based on the at least one first liquid level data and the liquid level data range.
[0103] Step S105: confirming the invalid first flow rate data among the at least one first flow rate data based on the at least one second liquid level data.
[0104] Step S106: confirming invalid first flow data in at least one first flow data based on the at least one second liquid level data and the at least one flow rate data.
[0105] Step S107: confirming invalid first water quality data among the at least one first water quality data based on the at least one first liquid level data.
[0106] Step S108, confirming the operation information of the liquid level meter based on the at least one first liquid level data and the failed first liquid level data; confirming the operation information of the flow meter based on the at least one second liquid level data, the failed second liquid level data, the at least one first flow rate data, the failed first flow rate data, the at least one first flow rate data, and the failed first flow rate data; confirming the operation information of the water quality monitor based on the at least one first water quality data and the failed first water quality data.
[0107] In some embodiments, in step S101 to step S103, the liquid level meter, the flow meter and the water quality monitor are set at the same pipe network node; the first time interval can be any time interval, such as 0:00:00 to 23:59:59 of the day; or other time intervals that need to be monitored; optionally, the first time interval can also be a time interval corresponding to the rainfall period, which refers to x1 hours before a rainfall starts to x2 hours after it ends; x1 and x2 can be set according to actual needs, such as 1, 2, 3, etc. Optionally, if the liquid level data, flow velocity data, flow data and water quality data are collected during the rainfall period, a rainfall period label can be added to the data.
[0108] In some embodiments, the monitoring of rainwater and sewage mixing is usually carried out by comparing the data of non-rainy period, the data of rainy period and the rainfall to determine whether there is rainwater and sewage mixing in the pipe network node. For example, for a sewage pipe, if the difference between the liquid level in the rainy period and the liquid level in the non-rainy period is significantly increased, rainwater may be mixed in the pipe network node.
[0109] In some embodiments, the liquid level meter, the flow meter and the water quality monitor collect data at fixed time intervals within a first time interval; the time interval may be 30 seconds, 60 seconds or 120 seconds, which is not specifically limited in the present disclosure. That is, when the first time interval is from 0:00:00 to 23:59:59 of the same day and the time interval is 60 seconds, the liquid level meter, the flow meter and the water quality monitor collect data every 60 seconds and transmit the data to a carrier (hereinafter referred to as the carrier) that executes the water supply and drainage flow and water quality monitoring data processing method; the data includes first liquid level data, second liquid level data, first flow rate data, first flow rate data, and first water quality data. The liquid level meter, the flow meter and the water quality monitor may transmit data to the carrier after each collection, or may transmit data to the carrier after collecting a certain amount of data.
[0110] The carrier can be a computer program, electronic circuit, database, mobile application, electronic device, cloud computing platform, distributed system, artificial intelligence framework, mathematical model, automation tool and microcontroller, etc., which can implement software or hardware of algorithm and method flow.
[0111] In some embodiments, in steps S104 to S107, the carrier determines the failed first liquid level data based on at least one first liquid level data and the liquid level data range collected by the liquid level meter; determines the failed first flow rate data based on at least one second liquid level data; determines the failed first flow rate data based on the first flow rate data and the first liquid level data; and determines the failed first water quality data based on the first liquid level data.
[0112] In some embodiments, in step S108, the carrier confirms the operation information of the liquid level meter, the flow meter and the water quality monitor based on the acquired data and the failed data; the operation information includes the working information of the liquid level meter, the flow meter and the water quality monitor and the status information of the communication module. The working information includes normal and fault.
[0113] In this way, through the water supply and drainage flow and water quality monitoring data processing method provided by the embodiment of the present disclosure, a liquid level meter, a flow meter and a water quality detector are set at each point, and the corresponding pipeline nodes are jointly monitored from the dimensions of liquid level, flow, flow velocity and water quality, laying the foundation for determining whether there is a mixture of rainwater and sewage at the pipeline node; failure data is determined by mutual confirmation of liquid level, flow, flow velocity and water quality, and the operation information of the liquid level meter, flow meter and water quality detector is further determined through the failure data, so that the monitoring instrument that has failed can be found in time; in addition, in terms of data collection, data is collected at fixed intervals within the first time interval, so that the data acquired by the carrier can accurately reflect the actual situation of the relevant network management node on that day.
[0114] Figure 2 A second optional flow chart of the drainage flow and water quality monitoring data processing method provided in the embodiment of the present disclosure is shown and will be explained according to each step.
[0115] Step S201, obtaining at least one first liquid level data collected by a liquid level meter.
[0116] In some embodiments, a carrier acquires at least one first liquid level data collected by a liquid level meter; wherein the liquid level meter collects liquid level data at fixed intervals within a first time interval, and each liquid level data is a first liquid level data; the first liquid level data is sent to the carrier by wired communication or wireless communication; the liquid level meter may send each collected first liquid level data to the carrier; or may send multiple collected first liquid level data to the carrier at intervals.
[0117] Step S202, obtaining at least one second liquid level data, at least one first flow velocity data and at least one first flow rate data collected by the flow meter.
[0118] In some embodiments, the carrier obtains at least one second liquid level data, at least one first flow rate data and at least one first flow rate data collected by the flowmeter; wherein the flowmeter collects liquid level data, flow rate data and flow rate data at fixed intervals within a first time interval, and each liquid level data is second liquid level data, each flow rate data is first flow data, and each flow rate data is first flow rate data; the second liquid level data, first flow rate data and first flow rate data are sent to the carrier by wired communication or wireless communication; the flowmeter can send the first flow rate data and the first flow rate data to the carrier as soon as they are collected; or multiple first flow rate data and multiple first flow rate data collected can be sent to the carrier at regular intervals.
[0119] Step S203, obtaining at least one first water quality data collected by the water quality monitor.
[0120] In some embodiments, a carrier acquires at least one first water quality data collected by a water quality monitor; wherein the water quality monitor collects water quality data at fixed intervals within a first time interval, and each water quality data is a first water quality data; the first water quality data is sent to the carrier via wired communication or wireless communication; the water quality monitor may send each collected first water quality data to the carrier; or may send multiple collected first water quality data to the carrier at regular intervals.
[0121] Step S204: confirming invalid first liquid level data in the at least one first liquid level data based on the at least one first liquid level data and the liquid level data range.
[0122] In some embodiments, the liquid level data range includes the effective range of the liquid level meter, that is, the liquid level range that the liquid level meter can measure. If the first liquid level data exceeds the liquid level data range, it means that the first liquid level data is wrong and is invalid.
[0123] In other embodiments, the change of the liquid level data is regular, slowly increasing or decreasing; if a liquid level data is very high or very low compared with the liquid level data collected before and after it, it indicates that it is the invalid first liquid level data.
[0124] In a specific implementation, the carrier confirms that the first bit of the at least one first liquid level data, whose difference with the previous value is greater than 2 times the standard deviation of the liquid level data in the corresponding window period, is the invalid first liquid level data; the corresponding window period includes a second time interval with the invalid first liquid level data as the midpoint. The corresponding window period includes a range of x3 minutes before and after the time when the first liquid level data is collected as the midpoint. For example, if the time when the first liquid level data is collected is a, then the window period corresponding to the first liquid level data is [a-x3, a+x3]. When compared with the standard deviation of the window period liquid level data, the value of the first liquid level data is an absolute value, that is:
[0125] abs(L t -L t-1 )>stdev(L t-b , L t+b )*2
[0126] Among them, abs() represents the absolute value, and stdev() represents the data collected from L during the window period. t-b To L t+b The standard deviation of all data, L t is the first liquid level data, L t-1 It is the previous data of the first liquid level data.
[0127] In some further embodiments, if the first liquid level data is less than 0, the first liquid level data is invalid first liquid level data.
[0128] Step S205: confirming invalid first flow rate data among the at least one first flow rate data based on the at least one second liquid level data.
[0129] In some embodiments, the carrier may also confirm invalid second liquid level data in at least one second liquid level data based on the method of step S204, which will not be repeated here.
[0130] In some embodiments, the liquid level is closely related to the flow rate. When the liquid level is measured, the flow rate may or may not be measured. However, if the flow rate is measured when the liquid level is not measured, the flow rate is an incorrect flow rate. Alternatively, when the liquid level is measured and the difference with the previous liquid level is not 0, it means that the liquid level has changed. During this process, the liquid medium must be flowing and have a flow rate. If the flow rate measured at this time is 0, the flow rate is an incorrect flow rate. Alternatively, a flow rate that exceeds the flow meter range is an incorrect flow rate.
[0131] In a specific implementation, the carrier confirms that the value of at least one first flow rate data is not 0, and the first flow rate data whose corresponding second liquid level data is less than a second threshold is invalid first flow rate data, wherein the second threshold is the minimum value that the liquid level meter can measure, such as 0.02m.
[0132] Alternatively, in a specific implementation, the carrier confirms that the value of at least one of the first flow rate data is 0, the corresponding second liquid level data is greater than or equal to the second threshold, and the first flow rate data that is less than the second liquid level data sampled last is invalid first flow rate data.
[0133] Alternatively, in a specific implementation, the carrier confirms that the value of at least one of the first flow rate data is 0, the corresponding second liquid level data is greater than or equal to the second threshold, and the difference between the second liquid level data sampled last time and the corresponding liquid level data is greater than the preset threshold, which is the invalid first flow rate data. The preset threshold can be set according to actual needs. That is, the flow rate generated by a small liquid level change is very small, and the measured value is 0, which is a normal situation. If the liquid level changes greatly, the flow rate must not be 0.
[0134] Alternatively, in a specific implementation, the carrier confirms that among the at least one first flow rate data, the first flow rate data whose value is outside the flow rate data range is invalid first flow rate data. For example, the range of a general flow meter is -6 to 6, therefore, if the measured flow rate is greater than 6 or less than -6, it is invalid flow rate data.
[0135] Step S206: confirming invalid first flow data in at least one first flow data based on the at least one second liquid level data and the at least one flow rate data.
[0136] In some embodiments, flow is closely related to liquid level and flow rate; if the liquid level fails, the corresponding flow data must be invalid; or, if the flow rate fails, the corresponding flow data must be invalid; or, if the pipe network node is a node corresponding to a sewage pipe or a combined pipe, if all flows in the window period corresponding to the first flow data are less than the third threshold, and the value of the first flow data is 0, then the first flow data is invalid data.
[0137] In specific implementation, taking the 10 minutes before and after the first flow data collection time as the window period of the first flow data as an example, if all flow data in the time period from t-10 to t+10 are less than 0.1L / s, and the value of the first flow data is 0, the first flow data is invalid.
[0138] Alternatively, during specific implementation, the carrier confirms that the first flow data corresponding to the second liquid level data or the first flow rate data is invalid, which is the invalid first flow data.
[0139] Step S207: confirming invalid first water quality data among the at least one first water quality data based on the at least one first liquid level data.
[0140] In some embodiments, if the first liquid level data is greater than 0, it means that there is liquid medium in the pipeline network, and the suspended matter in the first water quality data is not 0; if the first liquid level data is equal to 0, it means that there is no liquid medium in the pipeline network, and the suspended matter in the first water quality data is 0; in addition, the suspended matter in the first water quality data should be greater than or equal to 0.
[0141] During specific implementation, the carrier confirms that among the at least one first water quality data, the first water quality data whose value is 0 and whose corresponding first liquid level data is greater than 0 is invalid first water quality data; confirms that among the at least one first water quality data, the first water quality data whose value is greater than 0 and whose corresponding first liquid level data is equal to 0 is invalid first water quality data; confirms that among the at least one first water quality data, the first water quality data whose value is outside the water quality range is invalid first water quality data.
[0142] Specifically, if the suspended solids > 2000 mg / L, the suspended solids data will be invalid; if the dissolved oxygen > 20 ppm, the dissolved oxygen data will be invalid.
[0143] Step S208: confirming the operation information of the liquid level meter based on the at least one first liquid level data and the failed first liquid level data.
[0144] In some embodiments, based on step S204, the number of failed first liquid level data and the total number of at least one first liquid level data are obtained in at least one first liquid level data; based on the first time interval and the fixed sampling interval, the theoretical data number is confirmed.
[0145] In specific implementation, if sampling is performed once a minute, then from 0:0:0:0 to 23:59:59 of the day, the theoretical number of data that can be obtained is 1440.
[0146] In some embodiments, the carrier confirms an acquisition rate and a missing rate of the liquid level meter based on a quantity of the at least one first liquid level data and a theoretical data quantity.
[0147] In a specific implementation, the acquisition rate = the number of at least one first liquid level data / the number of theoretical data; the missing rate = 1-acquisition rate.
[0148] In some embodiments, the carrier confirms the effectiveness and failure rate of the liquid level meter based on the number of the failed first liquid level data and the number of theoretical data.
[0149] In specific implementation, failure rate=number of failed first liquid level data / number of theoretical data; effective rate=1-failure rate.
[0150] In some embodiments, in response to the acquisition rate of the liquid level meter being less than the fourth threshold, a first alarm message is sent; the first alarm message is used to indicate a communication function failure of the liquid level meter; in response to the effectiveness of the liquid level meter being less than the sixth threshold, a third alarm message is sent; the third alarm message is used to indicate a liquid level meter failure. The fourth threshold and the sixth threshold can be set according to actual needs.
[0151] Step S209, confirming the operation information of the flow meter based on the at least one second liquid level data, the failed second liquid level data, the at least one first flow rate data, the failed first flow rate data, the at least one first flow data, and the failed first flow data.
[0152] In some embodiments, based on step S205, the number of failed second liquid level data and the total number of at least one second liquid level data are obtained in at least one second liquid level data; the number of failed first flow rate data and the total number of at least one first flow rate data are obtained in at least one first flow data; the failed first flow data and the total number of at least one first flow data are obtained in at least one first flow data; based on the first time interval and the fixed sampling interval, the theoretical data quantity is confirmed.
[0153] In some embodiments, the carrier confirms the acquisition rate and the missing rate of the flow meter based on the at least one second liquid level data, the number of the at least one first flow rate data, the number of the at least one first flow rate data, and the theoretical data number.
[0154] In specific implementation, the acquisition rate = the number of at least one first flow rate data / the number of theoretical data; the missing rate = 1-acquisition rate. Alternatively, the acquisition rate = the number of at least one first flow rate data / the number of theoretical data; or the acquisition rate = the number of at least one second liquid level data / the number of theoretical data.
[0155] In some embodiments, the carrier confirms the effectiveness and failure rate of the flow meter based on the number of failed second liquid level data, the number of failed first flow rate data, the number of failed first flow rate data, and the number of theoretical data.
[0156] In specific implementation, failure rate = number of failed first flow rate data / number of theoretical data; effectiveness rate = 1-failure rate; or, failure rate = number of failed first flow rate data / number of theoretical data; or, failure rate = number of failed second liquid level data / number of theoretical data.
[0157] In some embodiments, in response to the acquisition rate of the flow meter being less than a fifth threshold, a second alarm message is sent; the second alarm message is used to indicate a communication function failure of the flow meter; in response to the effectiveness of the flow meter being less than a seventh threshold, a fourth alarm message is sent; the fourth alarm message is used to indicate a flow meter failure; wherein the fifth threshold and the seventh threshold can be set according to actual needs.
[0158] For example, the first time interval is from 00:00:00 to 23:59:59 on the same day; the carrier checks the data collected by the flow meter three times. If the number of at least one first flow data is less than 90% of the theoretical data number (the fifth threshold), a second alarm message occurs.
[0159] At 0:00 on April 4, after three checks, it was determined that the flow meter numbered 18620341 monitored 1200 liquid level data, 1200 flow velocity data, and 1200 flow data on April 1, and sent:
[0160] "[18620341][Flow meter (Doppler)][xx community area 2 (southeast corner rainwater outlet) project], [April 1] data volume is missing 720 (16.7%), please check the communication in time."
[0161] For another example, if the amount of failed data is greater than 5% (the seventh threshold) of the theoretical data amount, it means that the amount of monitoring data on that day is insufficient, and the fourth alarm information is generated.
[0162] At 0:00 on April 4, after three checks, it was determined that the flow meter numbered 18620341 monitored 1200 liquid level data, 1200 flow rate data, and 1200 flow data on April 1. The valid data were 1140, 1125, and 1110 respectively. Then send:
[0163] "[18620341][Flow meter (Doppler)][Bai Tong Xin Yuan District 2 (southeast corner rainwater outlet) project], [April 1] The amount of effective monitoring data is insufficient, and there are 225 invalid data (5.21%). Please maintain and clean up in time."
[0164] Step S210: confirming the operation information of the water quality monitor based on the at least one first water quality data and the invalid first water quality data.
[0165] In some embodiments, based on step S206, the number of invalid first water quality data and the total number of at least one first water quality data are obtained in at least one first water quality data; based on the first time interval and the fixed sampling interval, the theoretical data number is confirmed.
[0166] In some embodiments, the carrier confirms the acquisition rate and the missing rate of the water quality detector based on the quantity of the at least one first water quality data and the theoretical data quantity.
[0167] In a specific implementation, the acquisition rate = the number of at least one first water quality data / the number of theoretical data; the missing rate = 1-acquisition rate.
[0168] In some embodiments, the carrier confirms the effectiveness and failure rate of the water quality detector based on the number of failed first water quality data and the number of theoretical data.
[0169] In specific implementation, failure rate=number of failed first water quality data / number of theoretical data; effective rate=1-failure rate.
[0170] In some embodiments, in response to the acquisition rate of the water level monitor being less than an eighth threshold, a fifth alarm message is sent; the fifth alarm message is used to indicate a communication function failure of the water level monitor; in response to the effectiveness of the water level monitor being less than a ninth threshold, a sixth alarm message is sent; the sixth alarm message is used to indicate a failure of the water level monitor; wherein the eighth threshold and the ninth threshold can be set according to actual needs.
[0171] Step S211, calculating the scores of the liquid level meter, flow meter and water quality detector.
[0172] In some embodiments, the carrier performs a weighted summation of the acquisition rate, missing rate, effective rate and failure rate of the liquid level meter to confirm a first score of the liquid level meter in the first time interval; the first score is used to characterize the working status of the liquid level meter in the first time interval; the acquisition rate, missing rate, effective rate and failure rate of the flow meter are weighted summation to confirm a second score of the flow meter in the first time interval; the second score is used to characterize the working status of the flow meter in the first time interval; the acquisition rate, missing rate, effective rate and failure rate of the water level monitor are weighted summation to confirm a third score of the water level monitor in the first time interval; the third score is used to characterize the working status of the water level monitor in the first time interval.
[0173] In some embodiments, the score of any measuring instrument = max{0,100-m×failure rate-n×missing rate}, where m and n can be set according to actual needs, such as being set to 100 respectively.
[0174] Table 1 is an example of scoring data.
[0175] Table 1
[0176]
[0177] In some optional embodiments, different score ranges may correspond to different colors; on the monitoring page of the monitoring instrument, the score of the corresponding monitoring instrument is displayed by different color labels, which is convenient for maintenance personnel to monitor.
[0178] Figure 3 A first schematic diagram of a monitoring page provided by an embodiment of the present disclosure is shown.
[0179] The monitoring page includes monitoring items, which are usually a combination of location, identification and at least one of the monitoring items. For example, the monitoring item "Dongmen Street Sewage Main Pipe Flow" indicates that the monitoring location (pipeline network node) is Dongmen Street, and the monitoring item is flow; the monitoring item "Drainage Division III Sewage Branch Pipe Flow" indicates that the monitoring location and identification are drainage division III, and the monitoring item is flow.
[0180] On the monitoring page, there is a vertical line before each monitoring item, which is a color code. The color of the color code represents the score of the corresponding monitoring item; for example, green represents a score greater than or equal to 85; yellow represents a score less than 85 and greater than or equal to 60; and red represents a score less than 60.
[0181] Figure 4 A second schematic diagram of a monitoring page provided by an embodiment of the present disclosure is shown.
[0182] In some optional embodiments, it is detected that the mouse is in the area corresponding to the color mark, such as Figure 3 For a medium rectangular frame, Figure 4As shown, it shows the corresponding scores of the monitoring items in the past three days.
[0183] In this way, through the water supply and drainage flow and water quality monitoring data processing method provided by the embodiment of the present disclosure, a liquid level meter, a flow meter and a water quality detector are set at each point, and the corresponding pipeline nodes are jointly monitored from the dimensions of liquid level, flow, flow velocity and water quality, laying the foundation for determining whether there is a mixture of rainwater and sewage at the pipeline node; failure data is determined by mutual confirmation of liquid level, flow, flow velocity and water quality, and the operation information of the liquid level meter, flow meter and water quality detector is further determined through the failure data, so that the monitoring instrument that has failed can be found in time; in addition, in terms of data collection, data is collected at fixed intervals within the first time interval, so that the data acquired by the carrier can accurately reflect the actual situation of the relevant network management node on that day.
[0184] Figure 5 An optional structural schematic diagram of a drainage flow and water quality monitoring data processing device provided in an embodiment of the present disclosure is shown, and will be explained according to each part.
[0185] In some embodiments, the water supply and drainage flow and water quality monitoring data processing device 500 includes: a first acquisition unit 501, a second acquisition unit 502, a third acquisition unit 503, a first data processing unit 504, a second data processing unit 505, a third data processing unit 506, a fourth data processing unit 507 and a confirmation unit 508.
[0186] The first acquisition unit 501 is used to acquire at least one first liquid level data collected by the liquid level meter in a first time interval;
[0187] The second acquisition unit 502 is used to acquire at least one second liquid level data, at least one first flow velocity data and at least one first flow rate data collected by the flow meter in the first time interval;
[0188] The third acquisition unit 503 is used to acquire at least one first water quality data collected by the water quality monitor in the first time interval;
[0189] The first data processing unit 504 is used to confirm the invalid first liquid level data in the at least one first liquid level data based on the at least one first liquid level data and the liquid level data range;
[0190] The second data processing unit 505 is used to confirm the invalid first flow rate data in the at least one first flow rate data based on the at least one second liquid level data;
[0191] The third data processing unit 506 is used to confirm the invalid first flow data in the at least one first flow data based on the at least one second liquid level data and the at least one flow rate data;
[0192] The fourth data processing unit 507 is used to confirm the invalid first water quality data among the at least one first water quality data based on the at least one first liquid level data;
[0193] The confirmation unit 508 is used to confirm the operation information of the liquid level meter based on the at least one first liquid level data and the failed first liquid level data; confirm the operation information of the flow meter based on the at least one second liquid level data, the failed second liquid level data, the at least one first flow rate data, the failed first flow rate data, the at least one first flow rate data, and the failed first flow rate data; confirm the operation information of the water quality monitor based on the at least one first water quality data and the failed first water quality data;
[0194] Wherein, the liquid level meter, the flow meter and the water quality monitor are arranged at the same pipe network node.
[0195] The first data processing unit 504 is specifically configured to:
[0196] Confirming that among the at least one first liquid level data, first liquid level data whose value is less than 0 is invalid first liquid level data;
[0197] Confirm that, among the at least one first liquid level data, the first liquid level data whose difference with the previous value is greater than 2 times the standard deviation of the liquid level data in the corresponding window period is invalid first liquid level data; the corresponding window period includes a second time interval with the invalid first liquid level data as the midpoint;
[0198] It is confirmed that among the at least one first liquid level data, first liquid level data whose value is outside the liquid level data measurement range is invalid first liquid level data.
[0199] The second data processing unit 505 is specifically used for at least one of the following:
[0200] Confirm that the first flow rate data whose value in the at least one first flow rate data is not 0 and whose corresponding second liquid level data is less than the second threshold value is invalid first flow rate data;
[0201] Confirm that the value of at least one of the first flow rate data is 0, the corresponding second liquid level data is greater than or equal to the second threshold, and the first flow rate data less than the second liquid level data sampled last is invalid first flow rate data;
[0202] It is confirmed that among the at least one first flow rate data, first flow rate data with a value outside the flow rate data range is invalid first flow rate data.
[0203] The third data processing unit 506 is specifically configured to confirm, if the pipe network node is a node corresponding to a sewage pipe or a combined pipe, that all flow data in the corresponding window period in the at least one first flow data are less than a third threshold value, and that the first flow data whose value is 0 is invalid first flow data;
[0204] The first flow data for which the corresponding first liquid level data or first flow velocity data is confirmed to be invalid is the invalid first flow data.
[0205] The fourth data processing unit 507 is specifically used to confirm that among the at least one first water quality data, the first water quality data whose value is 0 and whose corresponding first liquid level data is greater than 0 is invalid first water quality data;
[0206] Confirming that among the at least one first water quality data, the first water quality data whose value is greater than 0 and whose corresponding first liquid level data is equal to 0 is invalid first water quality data;
[0207] It is confirmed that among the at least one first water quality data, first water quality data whose value is outside the water quality range is invalid first water quality data.
[0208] The confirmation unit 508 is specifically used to confirm the acquisition rate and the missing rate of the liquid level meter based on the number of the at least one first liquid level data and the theoretical data number;
[0209] confirming an acquisition rate and a missing rate of the flow meter based on the at least one second liquid level data, the number of the at least one first flow rate data, the number of the at least one first flow rate data, and the theoretical data number;
[0210] Based on the quantity of the at least one first water quality data and the quantity of theoretical data, confirming the acquisition rate and the missing rate of the water quality detector;
[0211] Based on the number of the failed first liquid level data and the number of theoretical data, confirming the effectiveness and failure rate of the liquid level meter;
[0212] confirming the efficiency and failure rate of the flow meter based on the number of the failed first flow velocity data, the number of the failed first flow rate data, and the number of theoretical data;
[0213] Based on the number of the failed first water quality data and the number of theoretical data, confirm the efficiency and failure rate of the water quality detector;
[0214] The operation information includes acquisition rate, miss rate, effectiveness rate and failure rate.
[0215] The confirmation unit 508 is further configured to:
[0216] In response to the acquisition rate of the liquid level meter being less than a fourth threshold, sending a first alarm message; the first alarm message is used to indicate a communication function failure of the liquid level meter;
[0217] In response to the acquisition rate of the flow meter being less than a fifth threshold, sending a second alarm message; the second alarm message is used to indicate a communication function failure of the flow meter;
[0218] In response to the effectiveness of the liquid level meter being less than a sixth threshold, sending a third warning message; the third warning message is used to indicate a liquid level meter failure;
[0219] In response to the efficiency of the flow meter being less than the seventh threshold, sending a fourth alarm message; the fourth alarm message is used to indicate a flow meter failure;
[0220] In response to the acquisition rate of the water level monitor being less than an eighth threshold, sending a fifth alarm message; the fifth alarm message is used to indicate a communication function failure of the water level monitor;
[0221] In response to the effectiveness of the water level monitor being less than a ninth threshold, a sixth alarm message is sent; the sixth alarm message is used to indicate a fault in the water level monitor.
[0222] The confirmation unit 508 is further configured to:
[0223] Performing a weighted summation on the acquisition rate, the missing rate, the effective rate and the failure rate of the liquid level meter to determine a first score of the liquid level meter in the first time interval; the first score is used to characterize the working state of the liquid level meter in the first time interval;
[0224] Performing a weighted summation on the acquisition rate, the missing rate, the effective rate and the failure rate of the flow meter to determine a second score of the flow meter in the first time interval; the second score is used to characterize the working state of the flow meter in the first time interval;
[0225] The acquisition rate, missing rate, effective rate and failure rate of the water level monitor are weighted and summed to determine the third score of the water level monitor in the first time interval; the third score is used to characterize the working status of the water level monitor in the first time interval.
[0226] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device and a readable storage medium.
[0227] Figure 6A schematic block diagram of an example electronic device 800 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.
[0228] like Figure 6 As shown, the electronic device 800 includes a computing unit 801, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 802 or a computer program loaded from a storage unit 808 into a random access memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the electronic device 800 can also be stored. The computing unit 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.
[0229] Multiple components in the electronic device 800 are connected to the I / O interface 805, including: an input unit 806, such as a keyboard, a mouse, etc.; an output unit 807, such as various types of displays, speakers, etc.; a storage unit 808, such as a disk, an optical disk, etc.; and a communication unit 809, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 809 allows the electronic device 800 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0230] The computing unit 801 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 801 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 801 performs the various methods and processes described above, such as a water supply and drainage flow water quality monitoring data processing method. For example, in some embodiments, the water supply and drainage flow water quality monitoring data processing method may be implemented as a computer software program, which is tangibly included in a machine-readable medium, such as a storage unit 808. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 800 via the ROM 802 and / or the communication unit 809. When the computer program is loaded into the RAM 803 and executed by the computing unit 801, one or more steps of the water supply and drainage flow water quality monitoring data processing method described above may be performed. Alternatively, in other embodiments, the computing unit 801 may be configured to execute the water supply and drainage flow rate and water quality monitoring data processing method in any other appropriate manner (for example, by means of firmware).
[0231] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0232] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0233] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0234] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0235] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.
[0236] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.
[0237] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.
[0238] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of the present disclosure, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0239] The above is only a specific embodiment of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any person skilled in the art who is familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present disclosure, which should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.
Claims
1. A method for processing water quality monitoring data of water supply and drainage flow, It is characterized in that The method comprises: Acquire at least one first liquid level data collected by the liquid level meter in a first time interval; Acquire at least one second liquid level data, at least one first flow velocity data, and at least one first flow rate data collected by the flow meter in the first time interval; Acquire at least one first water quality data collected by the water quality monitor in a first time interval; Based on the at least one first liquid level data and the liquid level data range, confirming the invalid first liquid level data in the at least one first liquid level data; confirming, based on the at least one second liquid level data, a failed first flow rate data among the at least one first flow rate data; Based on the at least one second liquid level data and the at least one flow rate data, confirming the invalid first flow data in the at least one first flow data; Based on the at least one first liquid level data, confirming the invalid first water quality data among the at least one first water quality data; Confirming the operation information of the liquid level meter based on the at least one first liquid level data and the failed first liquid level data; confirming the operation information of the flow meter based on the at least one second liquid level data, the failed second liquid level data, the at least one first flow rate data, the failed first flow rate data, the at least one first flow rate data, and the failed first flow rate data; confirming the operation information of the water quality monitor based on the at least one first water quality data and the failed first water quality data; Wherein, the liquid level meter, the flow meter and the water quality monitor are arranged at the same pipe network node.
2. The method according to claim 1, It is characterized in that The confirming, based on the at least one first liquid level data and the liquid level data range, that the at least one first liquid level data is invalid, comprises at least one of the following: Confirming that among the at least one first liquid level data, first liquid level data whose value is less than 0 is invalid first liquid level data; Confirm that, among the at least one first liquid level data, the first liquid level data whose difference with the previous value is greater than 2 times the standard deviation of the liquid level data in the corresponding window period is invalid first liquid level data; the corresponding window period includes a second time interval with the invalid first liquid level data as the midpoint; It is confirmed that among the at least one first liquid level data, first liquid level data whose value is outside the liquid level data measurement range is invalid first liquid level data.
3. The method according to claim 1, It is characterized in that The confirming, based on the at least one second liquid level data, that the at least one first flow rate data is invalid, comprises at least one of the following: Confirm that the first flow rate data whose value in the at least one first flow rate data is not 0 and whose corresponding second liquid level data is less than a second threshold value is invalid first flow rate data; Confirm that the value of at least one of the first flow rate data is 0, the corresponding second liquid level data is greater than or equal to the second threshold, and the first flow rate data less than the second liquid level data sampled last is invalid first flow rate data; It is confirmed that among the at least one first flow rate data, first flow rate data with a value outside the flow rate data range is invalid first flow rate data.
4. The method according to claim 1, It is characterized in that The confirming, based on the at least one second liquid level data and the at least one flow rate data, that the at least one first flow data is invalid, comprises: If the pipe network node is a node corresponding to a sewage pipe or a combined pipe, confirm that among the at least one first flow data, all flow data in the corresponding window period are less than a third threshold value, and the first flow data whose value is 0 is invalid first flow data; The first flow data for which the corresponding first liquid level data or first flow velocity data is confirmed to be invalid is the invalid first flow data.
5. The method according to claim 1, It is characterized in that The confirming, based on the at least one first liquid level data, invalid first water quality data in the at least one first water quality data comprises: Confirm that among the at least one first water quality data, the first water quality data whose value is 0 and whose corresponding first liquid level data is greater than 0 is invalid first water quality data; Confirming that among the at least one first water quality data, the first water quality data whose value is greater than 0 and whose corresponding first liquid level data is equal to 0 is invalid first water quality data; It is confirmed that among the at least one first water quality data, first water quality data whose value is outside the water quality range is invalid first water quality data.
6. The method according to claim 1, It is characterized in that The operation information of the liquid level meter is confirmed based on the at least one first liquid level data and the failed first liquid level data; the operation information of the flow meter is confirmed based on the at least one second liquid level data, the failed second liquid level data, the at least one first flow rate data, the failed first flow rate data, the at least one first flow rate data, and the failed first flow rate data; Confirming operation information of the water quality monitor based on the at least one first water quality data and the failed first water quality data includes: Based on the quantity of the at least one first liquid level data and the theoretical data quantity, confirming the acquisition rate and the missing rate of the liquid level meter; confirming an acquisition rate and a missing rate of the flow meter based on the at least one second liquid level data, the number of the at least one first flow rate data, the number of the at least one first flow rate data, and the theoretical data number; Based on the quantity of the at least one first water quality data and the quantity of theoretical data, confirming the acquisition rate and the missing rate of the water quality detector; Based on the number of the failed first liquid level data and the number of theoretical data, confirming the effectiveness and failure rate of the liquid level meter; confirming the efficiency and failure rate of the flow meter based on the number of the failed first flow velocity data, the number of the failed first flow rate data, and the number of theoretical data; Based on the number of the failed first water quality data and the number of theoretical data, confirm the efficiency and failure rate of the water quality detector; The operation information includes acquisition rate, miss rate, effectiveness rate and failure rate.
7. The method according to claim 6, It is characterized in that The method further comprises at least one of the following: In response to the acquisition rate of the liquid level meter being less than a fourth threshold, sending a first alarm message; the first alarm message is used to indicate a communication function failure of the liquid level meter; In response to the acquisition rate of the flow meter being less than a fifth threshold, sending a second alarm message; The second alarm information is used to indicate a communication function failure of the flow meter; In response to the effectiveness of the liquid level meter being less than a sixth threshold, sending a third warning message; the third warning message is used to indicate a liquid level meter failure; In response to the efficiency of the flow meter being less than the seventh threshold, sending a fourth alarm message; the fourth alarm message is used to indicate a flow meter failure; In response to the acquisition rate of the water level monitor being less than an eighth threshold, a fifth alarm message is sent; the fifth alarm message is used to indicate a communication function failure of the water level monitor; In response to the effectiveness of the water level monitor being less than a ninth threshold, a sixth alarm message is sent; the sixth alarm message is used to indicate a fault in the water level monitor.
8. The method according to claim 6, It is characterized in that The method further comprises at least one of the following: Performing a weighted summation on the acquisition rate, the missing rate, the effective rate and the failure rate of the liquid level meter to determine a first score of the liquid level meter in the first time interval; the first score is used to characterize the working state of the liquid level meter in the first time interval; Performing a weighted summation on the acquisition rate, the missing rate, the effective rate and the failure rate of the flow meter to determine a second score of the flow meter in the first time interval; the second score is used to characterize the working state of the flow meter in the first time interval; The acquisition rate, missing rate, effective rate and failure rate of the water level monitor are weighted and summed to determine the third score of the water level monitor in the first time interval; the third score is used to characterize the working status of the water level monitor in the first time interval.
9. A data processing device for monitoring water quality of water supply and drainage flow, It is characterized in that The device comprises: A first acquisition unit, used to acquire at least one first liquid level data collected by the liquid level meter in a first time interval; A second acquisition unit, used to acquire at least one second liquid level data, at least one first flow velocity data and at least one first flow rate data collected by the flow meter in the first time interval; A third acquisition unit, used to acquire at least one first water quality data collected by the water quality monitor in the first time interval; A first data processing unit, configured to confirm, based on the at least one first liquid level data and the liquid level data range, an invalid first liquid level data in the at least one first liquid level data; A second data processing unit is used to confirm the invalid first flow rate data in the at least one first flow rate data based on the at least one second liquid level data; A third data processing unit, configured to confirm the invalid first flow data in the at least one first flow data based on the at least one second liquid level data and the at least one flow rate data; A fourth data processing unit, configured to confirm, based on the at least one first liquid level data, invalid first water quality data in the at least one first water quality data; A confirmation unit, configured to confirm the operation information of the liquid level meter based on the at least one first liquid level data and the failed first liquid level data; confirm the operation information of the flow meter based on the at least one second liquid level data, the failed second liquid level data, the at least one first flow rate data, the failed first flow rate data, the at least one first flow rate data, and the failed first flow rate data; confirm the operation information of the water quality monitor based on the at least one first water quality data and the failed first water quality data; Wherein, the liquid level meter, the flow meter and the water quality monitor are arranged at the same pipe network node.
10. An electronic device, It is characterized in that include: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method according to any one of claims 1 to 8.
