Pipeline leakage detection method in metering area, terminal equipment and storage medium
The water meter generates leakage detection results at the moment of detection and sends them to the server, which solves the problem of data loss during data transmission and improves the accuracy of pipeline leakage detection.
Patent Information
- Application Number
- CN202410714041.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-03
- Publication Date
- 2024-10-15
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the existing technology, during pipeline leakage detection, real-time flow values may be lost during the data transmission process, which reduces the accuracy of judgment of leakage phenomena.
The water meter inputs all candidate flow values into the leakage detection algorithm at the preset detection time to generate leakage detection results, and sends the results and real-time flow values to the server, avoiding data loss during the data sending process and ensuring data integrity and Detection accuracy.
The accuracy of pipeline leakage detection is improved, ensuring that even if the real-time flow value is lost during the temporary storage process, the leakage detection requirements can still be met, further improving the accuracy of the detection results.
Smart Images

Figure CN118775780A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application belong to the technical field of water meters, and in particular, relate to a pipeline leakage detection method, terminal equipment, and storage medium in a metering area. Background Art
[0002] During the use of the water supply network, as the water supply pipeline ages, leakage phenomena such as water leakage, dripping, and water leakage may occur. Therefore, in order to ensure the water use of residents, the water supply and water use units need to regularly monitor the water supply network and promptly discover leakage phenomena in the water supply pipeline. In the prior art, the water meter corresponding to each metering area can obtain the real-time flow value of the metering area according to the collection cycle pre-set by the R&D personnel, and temporarily store the collected real-time flow data in the water meter. Then, the water meter can package all the real-time flow values collected within the feedback cycle according to the feedback cycle pre-set by the R&D personnel and send them to the pipe network monitoring platform. The pipe network monitoring platform can determine whether there is leakage in the water supply pipeline in the metering area corresponding to the water meter based on all the real-time flow values sent by the water meter. However, when leakage detection is realized by the above method, the accuracy of leakage judgment will be reduced because the real-time flow value may be lost during the data transmission process. Summary of the invention
[0003] In view of this, an embodiment of the present application provides a pipeline leakage detection method, a terminal device and a storage medium in a metering area to improve the accuracy of pipeline leakage detection.
[0004] A first aspect of an embodiment of the present application provides a pipeline leakage detection method in a metering area, which is applied to a water meter, comprising:
[0005] Collecting water use information corresponding to the metering area based on a preset collection period; the water use information includes real-time flow value;
[0006] After the real-time flow value is collected in each collection period, a candidate flow value is determined based on all the real-time flow values collected on the same day;
[0007] At a preset detection time, all the candidate flow values are input into a preset leakage detection algorithm to generate a leakage detection result corresponding to the metering area;
[0008] The leakage detection result and all the real-time flow values are sent to a server.
[0009] In a possible implementation manner of the first aspect, at a preset detection time, inputting all the candidate flow values into a preset leakage detection algorithm to generate a leakage detection result corresponding to the metering area includes:
[0010] Taking the minimum value among all the candidate flow values as the target detection flow value;
[0011] If the target detection flow value is greater than a preset leakage threshold, a first leakage detection result is generated; the first leakage detection result is used to indicate that there is leakage in the pipeline in the metering area;
[0012] The step of sending the leakage detection result and all the real-time flow values to a preset server includes:
[0013] The first leakage detection result, the minimum flow value and all the real-time flow values are sent to the server.
[0014] In a possible implementation manner of the first aspect, the water usage information further includes a real-time pressure value;
[0015] The collecting of water use information corresponding to the metering area based on a preset collection period includes:
[0016] Collecting a first real-time pressure value corresponding to the metering area based on the collection period;
[0017] Inputting the first real-time pressure value into a preset water hammer determination algorithm to generate a water hammer detection result;
[0018] After collecting the water consumption information corresponding to the metering area based on the preset collection cycle, the method further includes:
[0019] If the water hammer detection result is a first water hammer detection result, the first water hammer detection result and the first real-time pressure value are sent to the server; the first water hammer detection result is used to indicate that a water hammer phenomenon occurs in the pipeline within the metering area.
[0020] In a possible implementation manner of the first aspect, inputting the first real-time pressure value into a preset water hammer determination algorithm to generate a water hammer detection result includes:
[0021] If the first real-time pressure value is greater than a preset pressure threshold, determining at least one second real-time pressure value whose acquisition time is earlier than the first real-time pressure value based on a preset change rate statistical duration;
[0022] calculating a pressure change rate based on the first real-time pressure value and all of the second real-time pressure values;
[0023] If the pressure change rate is greater than a preset change rate threshold, generating a first water hammer detection result;
[0024] If the water hammer detection result is a first water hammer detection result, sending the first water hammer detection result and the first real-time pressure value to a server includes:
[0025] If the water hammer detection result is a first water hammer detection result, the first water hammer detection result, the first real-time pressure value and all the second real-time pressure values are sent to a server.
[0026] A second aspect of an embodiment of the present application provides a pipeline leakage detection method in a metering area, which is applied to a water meter, comprising:
[0027] receiving leakage detection results and multiple real-time flow values sent by each water meter; the real-time flow values are collected by the water meter for the metering area corresponding to the water meter based on a preset collection period; the water meter is used to determine a candidate flow value from all the real-time flow values collected on the same day after collecting the real-time flow value in each collection period; the leakage detection result is generated by the water meter based on all the candidate flow values and a preset leakage detection algorithm;
[0028] If the leakage detection result corresponding to any water meter is the first leakage detection result, the location information corresponding to the any water meter is determined based on the water meter identifier in the first leakage detection result; the first leakage detection result is used to indicate that there is a leakage in the pipeline in the metering area corresponding to the any water meter;
[0029] First prompt information is generated based on the first leakage detection result and the location information.
[0030] In a possible implementation manner of the second aspect, the method further includes:
[0031] Receiving a first water hammer detection result, a first real-time pressure value, and a second real-time pressure value sent by any water meter; the first water hammer detection result is used to indicate that a water hammer phenomenon occurs in a pipeline within a metering area corresponding to any water meter;
[0032] Sending an exhaust instruction to any of the water meters to open a pipeline exhaust valve in a metering area corresponding to any of the water meters; and / or
[0033] A pressure adjustment instruction is generated based on the first real-time pressure value and the second real-time pressure value, and the pressure adjustment instruction is sent to any one of the water meters to open a pressure reducing valve in a metering area corresponding to any one of the water meters.
[0034] In a possible implementation manner of the second aspect, after receiving the leakage detection results and multiple real-time flow values in the metering area sent by each water meter, the method further includes:
[0035] For any water meter, all real-time flow values within a statistical period are input into a preset metering efficiency algorithm to determine the metering efficiency of the any water meter;
[0036] If the metering efficiency does not meet the rated working conditions corresponding to any of the water meters, a second prompt information is generated; the second prompt information is used to indicate that the rated working conditions of any of the water meters do not match the metering area where any of the water meters are located.
[0037] In a possible implementation manner of the second aspect, after receiving the leakage detection results and multiple real-time flow values sent by each water meter, the method further includes:
[0038] Input all the real-time flow values corresponding to any water meter into a preset user identification model to generate a user type in the metering area corresponding to any water meter;
[0039] If the user type of any water meter is the first user type, a valve adjustment instruction is sent to the water meter to adjust the valve opening value of the water meter; the first user type is used to indicate that there is a water reservoir in the metering area corresponding to the water meter.
[0040] A third aspect of an embodiment of the present application provides a pipeline leakage detection device in a metering area, which is applied to a water meter, including:
[0041] An information collection module, used to collect water usage information corresponding to the metering area based on a preset collection period; the water usage information includes a real-time flow value;
[0042] A flow value determination module, configured to determine a candidate flow value based on all the real-time flow values collected on the same day after collecting the real-time flow value in each collection period;
[0043] A detection module, used for inputting all the candidate flow values into a preset leakage detection algorithm at a preset detection time to generate a leakage detection result corresponding to the metering area;
[0044] The sending module is used to send the leakage detection result and all the real-time flow values to the server.
[0045] A fourth aspect of an embodiment of the present application provides a pipeline leakage detection device in a metering area, which is applied to a server and includes:
[0046] A receiving module, used for receiving leakage detection results and multiple real-time flow values sent by each water meter; the real-time flow values are collected by the water meter for the metering area corresponding to the water meter based on a preset collection period; the water meter is used for determining a candidate flow value from all the real-time flow values collected on the same day after collecting the real-time flow value in each collection period; the leakage detection result is generated by the water meter based on all the candidate flow values and a preset leakage detection algorithm;
[0047] a location information determination module, for determining the location information corresponding to any water meter based on the water meter identifier in the first leakage detection result if the leakage detection result corresponding to any water meter is a first leakage detection result; the first leakage detection result is used to indicate that there is a leakage phenomenon in the pipeline in the metering area corresponding to the any water meter;
[0048] A prompt module is used to generate first prompt information based on the first leakage detection result and the position information.
[0049] The fifth aspect of an embodiment of the present application provides a terminal device, including 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 pipeline leakage detection method in the metering area as described in the first aspect above is implemented.
[0050] A sixth aspect of an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the pipeline leakage detection method in the metering area as described in the first aspect above is implemented.
[0051] A seventh aspect of the embodiments of the present application provides a computer program product. When the computer program product is run on a computer, the computer is enabled to execute the pipeline leakage detection method in the metering area described in the first aspect.
[0052] Compared with the prior art, the embodiments of the present application have the following advantages:
[0053] In the embodiment of the present application, since the water meter can generate leakage detection results according to all candidate flow values and leakage detection algorithms at the detection time preset by the developer. Through the method provided by this embodiment, when leak detection is performed, since the water meter itself can perform leakage detection, it is not necessary to send all real-time flow values to the server for leakage detection, thereby effectively avoiding data loss during data transmission, thereby ensuring data integrity during leakage detection and improving the accuracy of leakage detection results. Furthermore, through the method provided by this embodiment, since the water meter can determine the candidate flow value based on all real-time flow values collected on the same day after collecting the real-time flow value in each collection cycle, even if the real-time flow value temporarily stored in the terminal device is lost, it can still ensure that the candidate flow value used for leakage detection meets the leakage detection requirements, thereby further improving the accuracy of the leakage detection results. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the embodiments or prior art descriptions. Obviously, the drawings described below are only some embodiments of the present application, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0055] Figure 1 is a schematic diagram of a pipeline leakage detection method in a metering area provided in an embodiment of the present application;
[0056] Figure 2 is a schematic diagram of another pipeline leakage detection method in a metering area provided in an embodiment of the present application;
[0057] Figure 3 is a schematic diagram of a pipeline leakage detection device in a metering area provided in an embodiment of the present application;
[0058] Figure 4 is a schematic diagram of another pipeline leakage detection device in a metering area provided in an embodiment of the present application;
[0059] Figure 5 It is a schematic diagram of a terminal device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0060] In the following description, specific details such as specific system structures, technologies, etc. are proposed for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application can also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from hindering the description of the present application.
[0061] The technical solution of the present application is described below through specific embodiments.
[0062] Reference Figure 1, showing a schematic diagram of a pipeline leakage detection method in a metering area provided in an embodiment of the present application. Among them, the water supply network may include multiple water meters, each of which can execute the pipeline leakage detection method provided in this embodiment, and each water meter in the water supply network can send leakage detection results, real-time flow values and other data to the network monitoring platform. The embodiment of the present application takes one of the water meters in the water supply network as an example for explanation. The water meter in the embodiment of the present application can be any water meter suitable for district metering management in an independent metering area (District Metering Area). Among them, the independent metering area is a plurality of areas that can be independently metered divided by R&D personnel. In order to perform block maintenance, block revenue and leakage control management on the water supply network, the R&D personnel can divide the water supply network into multiple different independent metering areas according to certain classification standards. Exemplarily, the water meter in the embodiment of the present application can be any water meter suitable for district metering management, such as an electromagnetic water meter, an ultrasonic water meter, a photoelectric direct reading water meter, etc. The above method can specifically include the following steps:
[0063] S101. The water meter collects water usage information corresponding to the metering area based on a preset collection period; the water usage information includes real-time flow value.
[0064] In this embodiment, any water meter in the water supply network suitable for zoned metering management can collect water use information corresponding to the metering area where the water meter is located according to the collection cycle pre-set by the developer. The water use information collected in the water meter may include a real-time flow value and a first real-time pressure value. The water meter may include a flow sensor for collecting real-time flow values and a pressure sensor for collecting the first real-time pressure value. The flow sensor in the water meter may be any flow sensor such as a turbine flow sensor, an ultrasonic flow sensor, or an electromagnetic induction flow sensor. Exemplarily, the collection cycle may be 1 second or 3 seconds. When the collection cycle is 1 second, the water meter may collect a real-time flow value through the flow sensor every 1 second.
[0065] S102: After the water meter collects the real-time flow value in each collection period, the water meter determines a candidate flow value based on all the real-time flow values collected on the same day.
[0066] In this embodiment, after the water meter collects the real-time flow value in each collection cycle, it can determine the candidate flow value based on all the real-time flow values collected on the same day. Among them, the candidate flow values determined in the water meter can include a candidate minimum flow value and a candidate maximum flow value. After each time the water meter collects the real-time flow value, it can perform a maximum and minimum value judgment on all the real-time flow values currently collected with the same collection date. The water meter can use the maximum value of all the real-time flow values currently collected with the same collection date as the candidate maximum flow value of the current collection cycle, and use the minimum value of all the real-time flow values currently collected with the same collection date as the candidate minimum flow value of the current collection cycle. After each time the water meter determines the candidate minimum flow value and the candidate maximum flow value, it can write the determined candidate minimum flow value, candidate maximum flow value, collection time corresponding to the candidate minimum flow value, and collection time corresponding to the candidate maximum flow value into a storage device for storage.
[0067] For example, after the water meter collects the real-time flow value at 08:05 on April 26, 2024, it can perform maximum and minimum value judgments on all real-time flow values collected between 00:00 and 08:05 on April 26, 2024, and take the maximum value of all real-time flow values collected between 00:00 and 08:05 on the same day as the candidate maximum flow value, and take the minimum value of all real-time flow values collected between 00:00 and 08:05 on the same day as the candidate maximum flow value.
[0068] S103: At a preset detection time, the water meter inputs all candidate flow values into a preset leakage detection algorithm to generate a leakage detection result corresponding to the metering area.
[0069] In this embodiment, when the detection time preset by the developer is reached, the water meter can input all candidate minimum flow values obtained on the day into the leakage detection algorithm preset by the developer, so as to perform leakage detection on the pipeline in the metering area corresponding to the water meter according to all candidate minimum flow values obtained on the day. For example, when the detection time is 24:00, the water meter can input all candidate minimum flow values obtained from 00:00 to 24:00 on the day into the leakage detection algorithm preset by the developer for leakage detection.
[0070] In a possible implementation, the leakage detection algorithm in the water meter can first determine the target detection flow value from all the candidate minimum flow values input. Specifically, the leakage detection algorithm can use the minimum value of all the candidate minimum flow values as the target detection flow value of the day. After determining the target detection flow value of the day, the leakage detection algorithm can determine whether the target detection flow value is greater than the leakage threshold value preset by the R&D personnel. Among them, the leakage threshold corresponding to any water meter can be determined by the R&D personnel based on the number of downstream users corresponding to the water meter and the length of the pipeline from the output port of the water supply system to the water meter. Specifically, the R&D personnel can calculate the background water consumption value downstream of the water meter based on the number of downstream users corresponding to the water meter and the unit water volume corresponding to each user. The R&D personnel can also calculate the transmission loss value based on the length of the pipeline between the output port of the water supply system and the water meter, as well as the unit loss value. The R&D personnel can use the sum of the background water consumption value and the transmission loss value as the leakage threshold value corresponding to the water meter.
[0071] If the water meter determines that the target detection flow value for the day is greater than the leakage threshold, the water meter can determine that there may be a pipeline leakage in the current metering area. Furthermore, the water meter can use the difference between the target detection flow value and the leakage threshold as a candidate leakage amount. The water meter can generate a first leakage detection result based on the water meter identification, target detection flow value, candidate leakage amount and the data packet format pre-set by the R&D personnel, and send the generated first leakage detection result to the server where the pipe network monitoring platform is located through the data transmission port. Among them, the first leakage detection result can be used to indicate that there may be a pipeline leakage in the metering area corresponding to the water meter.
[0072] Furthermore, after calculating the candidate leakage amount, the water meter can also query the leakage amount conversion table preset by the R&D personnel to determine the leakage level corresponding to the current candidate leakage amount. Among them, the leakage amount conversion table may include multiple different leakage amount intervals and the leakage levels corresponding to each leakage amount interval. The water meter can determine the leakage level corresponding to the current candidate leakage amount by querying the leakage amount interval to which the candidate leakage amount belongs. After determining the leakage level, the water meter can generate a first leakage detection result according to the water meter identification, the target detection flow value, the candidate leakage amount, the leakage level and the preset data packet format, and send the generated first leakage detection result to the server where the pipe network monitoring platform is located through the data transmission port.
[0073] If the water meter determines that the target detection flow value of the day is less than or equal to the leakage threshold, the water meter can determine that there is no leakage in the pipe in the metering area corresponding to the current water meter. The water meter can generate a second leakage detection result based on the water meter identification, the target detection flow value and the preset data packet format, and send the generated second leakage detection result to the server where the pipe network monitoring platform is located through the data transmission port. The second leakage detection result can be used to indicate that there may be leakage in the pipe in the metering area corresponding to the water meter.
[0074] In this embodiment, since the water meter can determine the candidate minimum flow value based on all the real-time flow values collected on the same day each time after collecting the real-time flow value, and use the minimum value of all the candidate minimum flow values as the target detection value to perform leakage detection judgment. In summary, through the method provided by this embodiment, the target detection value determined by the water meter is closest to the flow value of the pipeline when no one uses water or only a very small number of people use water. Therefore, the water meter does not need to further estimate the user's water consumption in this period, but can directly determine whether there is leakage in the pipeline by judging whether the target detection flow value is greater than the leakage threshold. Therefore, the leakage detection method provided by the method provided by this embodiment is not only simple and easy, with less calculation, but also more accurate.
[0075] S104: The water meter sends the leakage detection result and all real-time flow values to the server.
[0076] In this embodiment, during daily operation, the water meter can periodically send all real-time flow values collected during the feedback cycle according to the feedback cycle preset by the R&D personnel. Specifically, the water meter can periodically generate flow value data packets for all real-time flow values collected during the feedback cycle according to the data packet format preset by the personnel, and send the generated flow data packets to the server where the pipe network monitoring platform is located according to the data transmission port preset by the R&D personnel. Exemplarily, when the feedback cycle set by the R&D personnel is 6 hours, the water meter can package all real-time flow values collected during the time period of 00:00 to 06:00 on the same day according to the data packet format preset by the personnel at 06:00, generate a flow value data packet, and send the generated flow value data packet to the server where the pipe network monitoring platform is located through the data transmission port.
[0077] When the detection time is reached, the water meter can generate a leakage detection result through a leakage detection algorithm. Among them, the leakage detection result may include a target detection value. The target detection value in the leakage detection result may represent the minimum value of all real-time flow values collected by the water meter before the detection time on that day. The water meter can also determine the maximum flow value of the day for the metering area corresponding to the water meter based on all candidate maximum flow values stored on that day at the detection time. Specifically, the water meter can use the maximum value of all candidate maximum flow values as the maximum flow value of the day for the metering area corresponding to the water meter. After generating the leakage detection result and the maximum flow value of the day, the water meter can send the generated leakage detection result and the maximum flow value of the day to the server where the pipe network monitoring platform is located through the data transmission port.
[0078] In this embodiment, since the water meter can determine the candidate minimum flow value and the candidate maximum flow value from all the currently collected real-time flow values each time after collecting the real-time flow value, even if the real-time flow value is lost during temporary storage or data transmission, the target detection value determined by the water meter based on all the candidate minimum flow values is still the minimum value of all the real-time flow values collected by the water meter on that day, and the maximum flow value of the day determined by the water meter based on all the candidate maximum flow values is still the maximum value of all the real-time flow values collected by the water meter on that day. Therefore, the method provided in this embodiment can ensure that the target detection value and the maximum flow value of the day will not be affected by data loss, thereby ensuring the accuracy of leakage detection.
[0079] S105. The server receives leakage detection results and multiple real-time flow values sent by each water meter; the real-time flow value is collected by the water meter for the metering area corresponding to the water meter based on a preset collection cycle; the water meter is used to determine the candidate flow value from all real-time flow values collected on the same day after collecting the real-time flow value in each collection cycle; the leakage detection result is generated by the water meter based on all candidate flow values and a preset leakage detection algorithm.
[0080] In this embodiment, the server where the pipe network monitoring platform is located can continuously receive the real-time flow value, leakage detection result, target detection value and the maximum flow value of the day sent by each water meter. Among them, the real-time flow value received by the server can be obtained by each water meter according to the collection cycle pre-set by the developer, and the flow is collected in the metering area where the water meter is located. Among them, each water meter can determine the candidate flow value from all the real-time flow values collected on the same day after collecting the real-time flow value in each collection cycle. After determining the candidate flow value, each water meter can input all the candidate flow values determined on the same day into the leakage detection algorithm at the daily detection time to generate the daily leakage detection result, and send the leakage detection result to the server through the data transmission port. After receiving the real-time flow value, leakage detection result, target detection value and the maximum flow value of the day sent by each water meter, the server can write all the received real-time flow values, leakage detection results, target detection values and the maximum flow value of the day into the database for storage.
[0081] In a possible implementation, when the R&D personnel need to detect whether a water meter is working under rated working conditions, the R&D personnel can initiate a working condition detection instruction to the server. The server can obtain all real-time flow values of the water meter corresponding to the water meter identifier within the statistical period from the database according to the water meter identifier and the statistical period in the working condition detection instruction. After obtaining all real-time flow values of the water meter within the statistical period, the server can input all the obtained real-time flow values into the metering efficiency algorithm pre-set by the R&D personnel to determine the metering efficiency of the water meter within the statistical period through the calculation efficiency algorithm.
[0082] Specifically, the method for calculating the metering efficiency by the calculation efficiency algorithm can be described as follows: after the server obtains all the real-time flow values within the statistical period, it can calculate the total flow value measured by the water meter within the statistical period according to the statistical period and all the real-time flow values. Then, the server can query the boundary flow value when the water meter works under the quota working condition according to the water meter identification. Among them, the boundary flow value corresponding to the water meter is determined by the minimum flow value and the common flow value of the water meter. Since the minimum flow value is the lowest flow when the indication of the water meter meets the maximum allowable error, and the common flow value is the highest flow when the indication of the water meter meets the maximum allowable error, the boundary flow value can represent the middle value of the rated working range of the water meter. Then, the server can determine the target statistical range according to the boundary flow value and the error value pre-set by the R&D personnel. The server can calculate the cumulative flow value of the water meter working within the target statistical range within the statistical period according to all the real-time flow values. Then, the server can determine the metering efficiency corresponding to the water meter according to the ratio between the cumulative flow value and the total flow value of the water meter within the statistical period.
[0083] For example, when the boundary flow value corresponding to a water meter is 4.600 cubic meters and the first error value greater than the boundary flow value is 5%, and the second error value less than the boundary flow value is 2%, the target statistical range corresponding to the water meter can be 4.508 cubic meters to 4.830 cubic meters, and the server can calculate the cumulative flow value of the water meter working within the range of 4.508 cubic meters to 4.830 cubic meters during the statistical period based on all real-time flow values during the statistical period. When the total flow value of the water meter is 30 cubic meters and the cumulative flow value is 24 cubic meters, the server can determine that the metering efficiency corresponding to the water meter is 80%.
[0084] After determining the metering efficiency of the water meter, the server can determine whether the metering efficiency of the water meter is greater than or equal to the efficiency threshold pre-set by the R&D personnel. If the metering efficiency of the water meter is less than the efficiency threshold, the server can determine that the metering efficiency of the water meter does not meet the rated working conditions corresponding to the water meter, and the server can generate a second prompt message. Among them, the second prompt message generated by the server can be used to indicate that the rated working conditions of the water meter do not match the metering area where the water meter is located, and the flow interval of the water meter does not meet the rated working conditions, that is, the water meter does not work under the rated working conditions and the measurement error is large, and the water meter needs to be replaced. If the metering efficiency of the water meter is greater than or equal to the efficiency threshold, the server can determine that the metering efficiency of the water meter meets the rated working conditions corresponding to the water meter, and the server can generate a third prompt message. Among them, the third prompt message generated by the server can be used to indicate that the rated working conditions of the water meter match the metering area where the water meter is located, and the flow interval of the water meter meets the rated working conditions, and there is no need to replace the water meter.
[0085] In this embodiment, since the server can determine whether the water meter meets the rated working conditions based on the metering efficiency of the water meter, and generate a second prompt message when the water meter does not meet the rated working conditions, prompting the management personnel to replace the water meter that does not meet the rated working conditions, the method provided in this embodiment can ensure that the rated working conditions of each water meter match the commonly used flow range of the metering area it measures, thereby improving the accuracy of the water meter measurement.
[0086] In a possible implementation, when the R&D personnel need to determine the user type corresponding to each water meter, they can initiate a type analysis instruction to the server. The server can respond to the type analysis instruction initiated by the R&D personnel and obtain all real-time flow values of the water meter to be analyzed within the statistical period according to the water meter identifier in the type analysis instruction. The server can input all the acquired real-time flow values into the user identification model preset by the R&D personnel to generate the user type of the metering area where the water meter currently being analyzed is located.
[0087] Specifically, after obtaining multiple real-time flow values, the user identification model can determine the daily peak water use period and daily low water use period of the metering area where the water meter is located based on the multiple real-time flow values obtained, and determine the user type of the metering area where the water meter is located based on the daily peak water use period and daily low water use period corresponding to each water meter.
[0088] If the peak flow value in the daily water consumption peak period corresponding to a water meter is greater than the normal peak flow value in the area where it is located, and the time period of the daily water consumption peak period of the water meter is different from the normal time period of the water consumption peak period in the area where it is located, and at the same time, the real-time pressure value of the time period of the daily water consumption peak period of the water meter is less than the peak pressure threshold value preset by the R&D personnel, then the server can determine that there is a reservoir in the metering area where the water meter is located, and the server can determine that the user type in the metering area where the water meter is located is the first user type. At this time, the server can determine whether the water meter type of the water meter is an unadjustable type based on the water meter identification of the water meter. Among them, the water meter type of the water meter can be preset by the R&D personnel. For example, when the user measured by a water meter is a beverage factory, a chemical plant or some other enterprise that requires a large amount of water, the water meter type corresponding to the water meter can be an unadjustable type.
[0089] For a water meter of the first user type, if the water meter type of the water meter is not an unadjustable type, the server may send a valve adjustment instruction to the water meter. The water meter may receive the valve adjustment instruction sent by the server and adjust the valve opening value according to the received valve adjustment instruction. For a water meter of the first user type, if the water meter type of the water meter is an unadjustable type, the server may not send a valve adjustment instruction to the water meter.
[0090] In addition, if the time period of the daily peak water consumption of a water meter lags behind the regular time period of the peak water consumption in the area where it is located, and the time period of the daily low water consumption of the water meter also lags behind the regular time period of the low water consumption in the area where it is located, and further, the multiple real-time flow values corresponding to the water meter have a start-stop phenomenon, then the server can determine that there is a pre-pump water reservoir in the metering area where the water meter is located, and the user type of the metering area where the water meter is located is the second user type. Specifically, when the flow curve formed by the multiple real-time flow values fluctuates greatly, and the time interval between the larger flow value greater than the first flow threshold and the smaller flow value less than the second flow threshold in the multiple real-time flow values is less than the interval threshold preset by the R&D personnel, then the server can determine that the multiple real-time flow values corresponding to the water meter have a start-stop phenomenon. When there is a pre-pump water reservoir in the metering area, since the pre-pump water reservoir will affect the result of the leakage detection judgment, for the water meter of the second user type, the server can periodically generate the fifth prompt information according to the prompt cycle preset by the R&D personnel to prompt the management personnel to conduct on-site inspection of the water meter of the second user type.
[0091] If the daily peak water consumption period corresponding to a water meter occurs in the same time period on different dates, and the time period of the daily peak water consumption period of the water meter is shorter than the time period threshold preset by the R&D personnel, and the peak flow value of the daily peak water consumption period is greater than the conventional peak flow value in the area where it is located, then the server can determine that the water meter is a fire-fighting meter, and the server can determine that the user type in the metering area where the water meter is located is the third user type.
[0092] In this embodiment, the server can determine the user type of the metering area where each water meter is located through the user identification model, and perform corresponding processing operations on each water meter according to the user type of the metering area where the water meter is located. Therefore, the method provided in this embodiment can improve the management efficiency of the pipe network monitoring platform for water meters of various user types.
[0093] S106. If the leakage detection result corresponding to any water meter is the first leakage detection result, the server determines the location information corresponding to any water meter based on the water meter identifier in the first leakage detection result; the first leakage detection result is used to indicate that there is leakage in the pipeline in the metering area corresponding to any water meter.
[0094] In this embodiment, if a leakage detection result received by the server is a first leakage detection result, the server can determine the location information of the water meter that generated the first leakage detection result based on the water meter identifier in the first leakage detection result. The location table of the server can store water meter identifiers and location information corresponding to each water meter, and the server can query the location table through the water meter identifier in the first leakage detection result to determine the location information of the water meter that generated the first leakage detection result. If the leakage detection result corresponding to a water meter is a second leakage detection result, the server can determine that there is no leakage in the metering area where the water meter is located, and the server can write the second leakage detection result corresponding to the water meter into the database for storage.
[0095] S107. The server generates first prompt information based on the first leakage detection result and the location information.
[0096] In this embodiment, after determining the location information, the server can generate the first prompt information according to the first leakage detection result and the location information. Furthermore, if a leakage detection result received by the server is the first leakage detection result, the server can determine the target client responsible for the water meter according to the water meter identifier in the first leakage detection result. After generating the first prompt information according to the first leakage detection result and the location information, the server can send the generated first prompt information to the target client to prompt the responsible person that there may be a pipeline leakage in the metering area where the water meter is located, and prompt the responsible person to conduct on-site inspection and repair.
[0097] In this embodiment, since the water meter can generate leakage detection results based on all candidate flow values and leakage detection algorithms at the detection time preset by the developer. Through the method provided by this embodiment, when leak detection is performed, since the water meter itself can perform leakage detection, it is not necessary to send all real-time flow values to the server for leakage detection, thereby effectively avoiding data loss during data transmission, thereby ensuring data integrity during leakage detection and improving the accuracy of leakage detection results. Furthermore, through the method provided by this embodiment, since the water meter can determine the candidate flow value based on all real-time flow values collected on the same day after collecting the real-time flow value in each collection cycle, even if the real-time flow value temporarily stored in the terminal device is lost, it can still ensure that the candidate flow value used for leakage detection meets the leakage detection requirements, thereby further improving the accuracy of the leakage detection results.
[0098] Figure 2 A pipeline leakage detection method S101 in a metering area provided in the second embodiment of the present application and a specific implementation flow chart after S101 are shown. Figure 2 , compared to Figure 1In the embodiment, in a pipeline leakage detection method in a metering area provided in this embodiment, S101 includes: S201-S202, and after S101, it also includes: S203-S206, which are specifically described as follows:
[0099] S201. The water meter collects a first real-time pressure value corresponding to a metering area based on a collection period.
[0100] In this embodiment, the water consumption information collected by the water meter may also include the first real-time pressure value of the metering area. The water meter may collect the first real-time pressure value at intervals through the pressure sensor according to the collection cycle pre-set by the R&D personnel. After collecting the first real-time pressure value, the water meter may write the collected first real-time pressure value and the collection time corresponding to the first real-time pressure value into the cache device for storage. Exemplarily, the collection cycle may be 1 second or 3 seconds. When the collection cycle is 1 second, the water meter may collect the first real-time pressure value through the pressure sensor every 1 second.
[0101] S202: The water meter inputs the first real-time pressure value into a preset water hammer determination algorithm to generate a water hammer detection result.
[0102] In this embodiment, after the water meter collects the first real-time pressure value, the collected first real-time pressure value can be input into the water hammer judgment algorithm preset by the R&D personnel to generate a water hammer detection result through the water hammer judgment algorithm. Water hammer is the phenomenon of water hammering the pipeline caused by a sudden change in the flow rate of water in the pipeline due to some reason (such as the sudden closing of a valve or the sudden stoppage of a water pump) when water flows in the pipeline.
[0103] In a possible implementation, the water hammer judgment algorithm in the water meter can be specifically described as follows. After the water meter collects the first real-time pressure value, it can determine whether the currently collected first real-time pressure value is greater than the pressure threshold value preset by the R&D personnel. If the water meter determines that the currently collected first real-time pressure value is less than or equal to the pressure threshold value, the water meter can generate a second water hammer detection result. Among them, the second water hammer detection result generated by the water meter can be used to indicate that there is no water hammer phenomenon in the pipeline where the water meter is located, that is, the pipeline is in a normal state.
[0104] If the water meter determines that the first real-time pressure value currently collected is greater than the pressure threshold, the water meter can obtain at least one second real-time pressure value whose collection time is earlier than the current first real-time pressure value from the cache device according to the change rate statistics duration preset by the developer. Exemplarily, when the real-time pressure value collection cycle is 1 second, the change rate statistics duration is 5 seconds, and the collection time of the first real-time pressure value currently greater than the pressure threshold is 10:10, the water meter can respectively obtain the second real-time pressure value with a collection time of 10:09, the second real-time pressure value with a collection time of 10:08, the second real-time pressure value with a collection time of 10:07, the second real-time pressure value with a collection time of 10:06, and the second real-time pressure value with a collection time of 10:05 to calculate the pressure change rate. After obtaining at least one second real-time pressure value, the water meter can calculate the pressure change rate according to all the second real-time pressure values currently obtained and the first real-time pressure value. Exemplarily, the water meter can perform a one-dimensional quadratic regression calculation on the first real-time pressure value and all the second real-time pressure values to generate a linear regression equation, and use the slope of the linear regression equation as the pressure change rate.
[0105] In this embodiment, after calculating the pressure change rate, the water meter can determine whether the currently calculated pressure change rate is greater than the change rate threshold value preset by the R&D personnel. If the pressure change rate is greater than the change rate threshold value, the water meter can generate a first water hammer detection result. The first water hammer detection result generated by the water meter can be used to indicate that a water hammer phenomenon has occurred on the pipeline where the water meter is located. If the pressure change rate is less than or equal to the change rate threshold value, the water meter can generate a second water hammer detection result. The second water hammer detection result generated by the water meter can indicate that a water hammer phenomenon has not occurred on the pipeline where the water meter is located.
[0106] In this embodiment, the water hammer phenomenon is a phenomenon of water hammering the pipeline caused by a sudden change in the flow rate of water in the pipeline due to some reason (such as the sudden closing of a valve or the sudden stopping of a water pump). Therefore, in the method provided by this embodiment, the water meter not only determines whether the water hammer phenomenon occurs in the pipeline according to whether the first real-time pressure value is greater than the pressure threshold, but also further determines whether the water hammer phenomenon occurs in the pipeline according to the pressure change rate. Therefore, the method provided by this embodiment can accurately determine whether the water hammer phenomenon occurs in the pipeline, avoid misjudgment, and improve the accuracy of judging the water hammer phenomenon.
[0107] S203. If the water hammer detection result is a first water hammer detection result, the water meter sends the first water hammer detection result and a first real-time pressure value to the server; the first water hammer detection result is used to indicate that a water hammer phenomenon occurs in a pipeline within the metering area.
[0108] In this embodiment, if the water hammer detection result generated by the water meter is the first water hammer detection result, the water meter may send the first water hammer detection result, the pressure change rate, the first real-time pressure value, and all the second real-time pressure values to the server through the signal transmission port to prompt the management personnel that water hammer has occurred on the pipeline where the water meter is located. If the water hammer detection result generated by the water meter is the second water hammer detection result, the water meter may not send the second water hammer detection result to the server, and continue to collect the first real-time pressure value to continuously detect whether water hammer has occurred on the pipeline where the water meter is located.
[0109] S204. The server receives a first water hammer detection result, a first real-time pressure value, and a second real-time pressure value sent by any water meter; the first water hammer detection result is used to indicate that a water hammer phenomenon occurs in a pipeline within a metering area corresponding to any water meter.
[0110] In this embodiment, the server can receive the first water hammer detection result, the first real-time pressure value, and the second real-time pressure value sent by any water meter. The first water hammer detection result received by the server can be used to indicate that water hammer phenomenon occurs on the pipeline where the water meter sending the first water hammer detection result is located.
[0111] The server may determine the location information of the water meter that issued the first water hammer detection result according to the water meter identifier in the first water hammer detection result. In this embodiment, after determining the location information, the server may generate fourth prompt information according to the first water hammer detection result, the location information, the first real-time pressure value, and the second real-time pressure value. Further, the server may also determine the target client responsible for the water meter according to the water meter identifier in the first water hammer detection result. After generating the fourth prompt information according to the first water hammer detection result, the location information, the first real-time pressure value, and the second real-time pressure value, the server may send the generated fourth prompt information to the target client to prompt the responsible person that the pipeline where the water meter is located may have a water hammer phenomenon, and prompt the responsible person to conduct on-site inspection and repair.
[0112] In a possible implementation, after receiving the first water hammer detection result, the server may also query the pressure level conversion table according to the first real-time pressure value and the pressure change rate to determine the pressure level of the pipeline where the water meter generating the first water hammer detection result is located. The server may generate fourth prompt information according to the determined pressure level, location information, the first real-time pressure value, and the second real-time pressure value.
[0113] S205. The server sends an exhaust instruction to any water meter to open a pipeline exhaust valve in a metering area corresponding to any water meter.
[0114] In this embodiment, after receiving the first water hammer detection result sent by any water meter, the server can determine the water meter that issued the first water hammer detection result according to the water meter identifier in the first water hammer detection result, and the server can send an exhaust instruction to the water meter that issued the first water hammer detection result to open the pipeline exhaust valve in the metering area corresponding to any water meter. The water meter can receive the exhaust instruction sent by the server and open the pipeline exhaust valve in the metering area according to the exhaust instruction to alleviate the water hammer phenomenon.
[0115] S206. The server generates a pressure adjustment instruction based on the first real-time pressure value and the second real-time pressure value, and sends the pressure adjustment instruction to any water meter to open the pressure reducing valve in the metering area corresponding to any water meter.
[0116] In this embodiment, after receiving the first water hammer detection result sent by any water meter, the server may also determine the target pressure value according to the received first real-time pressure value and the second real-time pressure value, and generate a pressure adjustment instruction according to the calculated target pressure value. The server may send the generated pressure adjustment instruction to the water meter that sent the first water hammer detection result. The water meter may receive the pressure adjustment instruction sent by the server, and according to the received pressure adjustment instruction, open the pressure reducing valve in the metering area where the water meter is located to reduce the pressure value of the pipeline where the water meter is located.
[0117] It should be noted that after receiving the first water hammer detection result sent by any water meter, the server can execute the processing methods in S205 and S206 at the same time, and the server can also choose to execute any one of the processing methods in S205 and S206.
[0118] In this embodiment, the water meter can determine whether water hammer occurs in the pipeline where the water meter is located based on the first real-time pressure value and the pressure change rate, and send the first water hammer detection result to the server when it is determined that water hammer occurs. Therefore, through the method provided by this embodiment, the water meter can promptly inform the management personnel of the water hammer phenomenon in the pipeline, so that the management personnel can take timely solutions to improve the safety of the pipeline. Furthermore, after receiving the first water hammer detection result, the server can automatically generate an exhaust instruction and / or a pressure condition instruction to alleviate the water hammer phenomenon in the pipeline. Therefore, the method provided by this embodiment can effectively prevent the pipeline from rupturing due to water hammer, reduce pipeline leakage, and improve the availability of the water supply network.
[0119] It should be noted that the size of the serial numbers of the steps in the above embodiments 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 application.
[0120] Reference Figure 3, shows a schematic diagram of a pipeline leakage detection device in a metering area provided in an embodiment of the present application, which is applied to a water meter and may specifically include an information collection module 301, a flow value determination module 302, a detection module 303 and a sending module 304, wherein:
[0121] The information collection module 301 is used to collect water consumption information corresponding to the metering area based on a preset collection period; the water consumption information includes real-time flow value;
[0122] The flow value determination module 302 is used to determine the candidate flow value based on all the real-time flow values collected on the same day after collecting the real-time flow value in each collection period;
[0123] The detection module 303 is used to input all the candidate flow values into a preset leakage detection algorithm at a preset detection time to generate a leakage detection result corresponding to the metering area;
[0124] The sending module 304 is used to send the leakage detection result and all the real-time flow values to the server.
[0125] The detection module can also be used to take the minimum value of all the candidate flow values as the target detection flow value; if the target detection flow value is greater than a preset leakage threshold, a first leakage detection result is generated; the first leakage detection result is used to indicate that there is leakage in the pipeline in the metering area; the sending module can also be used to send the first leakage detection result, the minimum flow value and all the real-time flow values to the server.
[0126] The information acquisition module can also be used to collect the first real-time pressure value corresponding to the metering area based on the acquisition period; input the first real-time pressure value into a preset water hammer judgment algorithm to generate a water hammer detection result; the sending module can also be used to send the first water hammer detection result and the first real-time pressure value to the server if the water hammer detection result is the first water hammer detection result; the first water hammer detection result is used to indicate that a water hammer phenomenon occurs in the pipeline within the metering area.
[0127] The information acquisition module can also be used to determine at least one second real-time pressure value whose acquisition time is earlier than the first real-time pressure value based on a preset change rate statistical duration if the first real-time pressure value is greater than a preset pressure threshold; calculate the pressure change rate based on the first real-time pressure value and all the second real-time pressure values; if the pressure change rate is greater than a preset change rate threshold, generate a first water hammer detection result; the sending module can also be used to send the first water hammer detection result, the first real-time pressure value and all the second real-time pressure values to the server if the water hammer detection result is a first water hammer detection result.
[0128] Reference Figure 4 , shows a schematic diagram of a pipeline leakage detection device in a metering area provided in an embodiment of the present application, which is applied to a server and may specifically include a receiving module 401, a location information determination module 402 and a prompt module 403, wherein:
[0129] The receiving module 401 is used to receive the leakage detection results and multiple real-time flow values sent by each water meter; the real-time flow values are collected by the water meter based on a preset collection period for the metering area corresponding to the water meter; the water meter is used to determine a candidate flow value from all the real-time flow values collected on the same day after collecting the real-time flow value in each collection period; the leakage detection result is generated by the water meter based on all the candidate flow values and a preset leakage detection algorithm;
[0130] The location information determination module 402 is used to determine the location information corresponding to any water meter based on the water meter identifier in the first leakage detection result if the leakage detection result corresponding to any water meter is a first leakage detection result; the first leakage detection result is used to indicate that there is a leakage phenomenon in the pipe in the metering area corresponding to the any water meter;
[0131] The prompt module 403 is used to generate first prompt information based on the first leakage detection result and the position information.
[0132] The receiving module can also be used to receive a first water hammer detection result, a first real-time pressure value, and a second real-time pressure value sent by any water meter; the first water hammer detection result is used to indicate that a water hammer phenomenon occurs in a pipeline within a metering area corresponding to any water meter; a venting instruction is sent to any water meter to open a pipeline venting valve within a metering area corresponding to any water meter; and / or a pressure adjustment instruction is generated based on the first real-time pressure value and the second real-time pressure value, and the pressure adjustment instruction is sent to any water meter to open a pressure reducing valve within a metering area corresponding to any water meter.
[0133] The receiving module can also be used to input all real-time flow values within the statistical period into a preset metering efficiency algorithm for any water meter to determine the metering efficiency of any water meter; if the metering efficiency does not meet the rated working conditions corresponding to any water meter, a second prompt information is generated; the second prompt information is used to indicate that the rated working conditions of any water meter do not match the metering area where any water meter is located.
[0134] The receiving module can also be used to input all the real-time flow values corresponding to any water meter into a preset user identification model to generate a user type of the metering area corresponding to any water meter; if the user type of any water meter is the first user type, a valve adjustment instruction is sent to any water meter to adjust the valve opening value of any water meter; the first user type is used to indicate that there is a water reservoir in the metering area corresponding to any water meter.
[0135] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment part.
[0136] Reference Figure 5 , shows a schematic diagram of a terminal device provided in an embodiment of the present application. Figure 5 As shown, the terminal device 500 in the embodiment of the present application includes: a processor 510, a memory 520, and a computer program 521 stored in the memory 520 and executable on the processor 510. When the processor 510 executes the computer program 521, the steps of each embodiment of the pipeline leakage detection method in the metering area are implemented, such as Figure 1 Steps S101 to S104 shown, or Figure 1 Alternatively, when the processor 510 executes the computer program 521, the functions of each module / unit in the above-mentioned device embodiments are realized, for example Figure 3 The functions of the modules 301 to 304 shown, or Figure 4 Functions of modules 401 to 403 are shown.
[0137] Exemplarily, the computer program 521 may be divided into one or more modules / units, which are stored in the memory 520 and executed by the processor 510 to complete the present application. The one or more modules / units may be a series of computer program instruction segments capable of completing specific functions, which may be used to describe the execution process of the computer program 521 in the terminal device 500. For example, the computer program 421 may be divided into an information collection module, a flow value determination module, a detection module, and a sending module, and the specific functions of each module are as follows:
[0138] An information collection module, used to collect water usage information corresponding to the metering area based on a preset collection period; the water usage information includes a real-time flow value;
[0139] A flow value determination module, configured to determine a candidate flow value based on all the real-time flow values collected on the same day after collecting the real-time flow value in each collection period;
[0140] A detection module, used for inputting all the candidate flow values into a preset leakage detection algorithm at a preset detection time to generate a leakage detection result corresponding to the metering area;
[0141] The sending module is used to send the leakage detection result and all the real-time flow values to the server.
[0142] The terminal device 500 may be a water meter or a server in the above-mentioned embodiments. The terminal device 500 may include, but is not limited to, a processor 510 and a memory 520. Those skilled in the art will understand that Figure 5 It is only an example of the terminal device 500 and does not constitute a limitation of the terminal device 500. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the terminal device 500 may also include input and output devices, network access devices, buses, etc.
[0143] The processor 510 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.
[0144] The memory 520 may be an internal storage unit of the terminal device 500, such as a hard disk or memory of the terminal device 500. The memory 520 may also be an external storage device of the terminal device 500, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the terminal device 500. Further, the memory 520 may also include both an internal storage unit of the terminal device 500 and an external storage device. The memory 520 is used to store the computer program 521 and other programs and data required by the terminal device 500. The memory 520 may also be used to temporarily store data that has been output or is to be output.
[0145] An embodiment of the present application also discloses a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the pipeline leakage detection method in the metering area as described in the aforementioned embodiments is implemented.
[0146] The embodiment of the present application further discloses a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the pipeline leakage detection method in the metering area as described in the above-mentioned embodiments is implemented.
[0147] The embodiment of the present application further discloses a computer program product. When the computer program product is run on a computer, the computer is enabled to execute the pipeline leakage detection method in the metering area described in the above-mentioned embodiments.
[0148] The above-described embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application is described in detail with reference to the above-mentioned embodiments, a person skilled in the art should understand that the technical solutions described in the above-mentioned embodiments can still be modified, or some of the technical features can be replaced by equivalents; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application.
Claims
1. A pipeline leakage detection method in a metering area, characterized in that: Applied to water meters, including: Collecting water use information corresponding to the metering area based on a preset collection period; the water use information includes real-time flow value; After the real-time flow value is collected in each collection period, a candidate flow value is determined based on all the real-time flow values collected on the same day; At a preset detection time, all the candidate flow values are input into a preset leakage detection algorithm to generate a leakage detection result corresponding to the metering area; The leakage detection result and all the real-time flow values are sent to a server.
2. The method according to claim 1, characterized in that At the preset detection time, all the candidate flow values are input into the preset leakage detection algorithm to generate the leakage detection result corresponding to the metering area, including: Taking the minimum value among all the candidate flow values as the target detection flow value; If the target detection flow value is greater than a preset leakage threshold, a first leakage detection result is generated; the first leakage detection result is used to indicate that there is leakage in the pipeline in the metering area; The step of sending the leakage detection result and all the real-time flow values to a preset server includes: The first leakage detection result, the minimum flow value and all the real-time flow values are sent to the server.
3. The method according to claim 1 or claim 2, characterized in that: The water use information also includes a real-time pressure value; The collecting of water use information corresponding to the metering area based on a preset collection period includes: Collecting a first real-time pressure value corresponding to the metering area based on the collection period; Inputting the first real-time pressure value into a preset water hammer determination algorithm to generate a water hammer detection result; After collecting the water consumption information corresponding to the metering area based on the preset collection cycle, the method further includes: If the water hammer detection result is a first water hammer detection result, the first water hammer detection result and the first real-time pressure value are sent to the server; the first water hammer detection result is used to indicate that a water hammer phenomenon occurs in the pipeline within the metering area.
4. The method according to claim 3, characterized in that The step of inputting the first real-time pressure value into a preset water hammer determination algorithm to generate a water hammer detection result includes: If the first real-time pressure value is greater than a preset pressure threshold, determining at least one second real-time pressure value whose acquisition time is earlier than the first real-time pressure value based on a preset change rate statistical duration; calculating a pressure change rate based on the first real-time pressure value and all of the second real-time pressure values; If the pressure change rate is greater than a preset change rate threshold, generating a first water hammer detection result; If the water hammer detection result is a first water hammer detection result, sending the first water hammer detection result and the first real-time pressure value to a server includes: If the water hammer detection result is a first water hammer detection result, the first water hammer detection result, the first real-time pressure value and all the second real-time pressure values are sent to a server.
5. A pipeline leakage detection method in a metering area, characterized in that: Applicable to servers, including: receiving leakage detection results and multiple real-time flow values sent by each water meter; the real-time flow values are collected by the water meter for the metering area corresponding to the water meter based on a preset collection period; the water meter is used to determine a candidate flow value from all the real-time flow values collected on the same day after collecting the real-time flow value in each collection period; the leakage detection result is generated by the water meter based on all the candidate flow values and a preset leakage detection algorithm; If the leakage detection result corresponding to any water meter is the first leakage detection result, the location information corresponding to the any water meter is determined based on the water meter identifier in the first leakage detection result; the first leakage detection result is used to indicate that there is a leakage in the pipeline in the metering area corresponding to the any water meter; First prompt information is generated based on the first leakage detection result and the location information.
6. The method according to claim 5, characterized in that Also includes: Receiving a first water hammer detection result, a first real-time pressure value, and a second real-time pressure value sent by any water meter; the first water hammer detection result is used to indicate that a water hammer phenomenon occurs in a pipeline within a metering area corresponding to any water meter; Sending an exhaust instruction to any of the water meters to open a pipeline exhaust valve in a metering area corresponding to any of the water meters; and / or A pressure adjustment instruction is generated based on the first real-time pressure value and the second real-time pressure value, and the pressure adjustment instruction is sent to any one of the water meters to open a pressure reducing valve in a metering area corresponding to any one of the water meters.
7. The method according to claim 5, characterized in that After receiving the leakage detection results and multiple real-time flow values in the metering area sent by each water meter, the method further includes: For any water meter, all real-time flow values within a statistical period are input into a preset metering efficiency algorithm to determine the metering efficiency of the any water meter; If the metering efficiency does not meet the rated working conditions corresponding to any of the water meters, a second prompt information is generated; the second prompt information is used to indicate that the rated working conditions of any of the water meters do not match the metering area where any of the water meters are located.
8. The method according to any one of claims 5 to 7, characterized in that: After receiving the leakage detection results and multiple real-time flow values sent by each water meter, the method further includes: Input all the real-time flow values corresponding to any water meter into a preset user identification model to generate a user type in the metering area corresponding to any water meter; If the user type of any water meter is the first user type, a valve adjustment instruction is sent to the water meter to adjust the valve opening value of the water meter; the first user type is used to indicate that there is a water reservoir in the metering area corresponding to the water meter.
9. A terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the pipeline leakage detection method in the metering area according to any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the pipeline leakage detection method in the metering area according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Water supply pipe network water hammer monitoring system and method
CN111022928A
SCADA (supervisory control and data acquisition)-based water supply pipe network flow instrument adaptation coordination analysis method
CN111649808A
Water meter type selection matching method and system, equipment and readable storage medium
CN113654610A
Electronic water meter flow metering method and device
CN114353911A
Flow rate measuring method and flowmeter
JP2012194096A
