Method, device, electronic device and readable storage medium for water monitoring

By obtaining the relationship curve between the number of users and water consumption in the target area, and combining the amount and direction of change to determine leakage, the problem of inaccurate judgment in the existing technology is solved, and more accurate leakage detection is achieved.

CN116772126BActive Publication Date: 2026-01-13SHANXI WANJIAZHAI SANHE SMART TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202310788061.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-06-29
Publication Date
2026-01-13
Estimated Expiration
2043-06-29

AI Technical Summary

Technical Problem

The existing technology for judging regional leakage by comparing historical water consumption with recent water consumption is not comprehensive enough, leading to inaccurate judgments.

Method used

By obtaining the relationship curve between the number of users and water consumption in the target area, the changes in user volume and water consumption, as well as their direction, are determined. Based on the changes in user volume and water consumption, it is determined whether there is a leak, and an alarm message is output when the changes are inconsistent.

Benefits of technology

It improves the accuracy of judging water leakage in a region, and provides more comprehensive data support through a comprehensive analysis of user and water usage changes, ensuring the accuracy of water leakage judgment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116772126B_ABST
    Figure CN116772126B_ABST
Patent Text Reader

Abstract

The application relates to a water monitoring method and device, electronic equipment and readable storage medium, and relates to the field of data monitoring. The method comprises the following steps: acquiring a first relationship curve and a second relationship curve corresponding to a target area, the first relationship curve is used for representing the relationship between the number of users in the target area and time, the second relationship curve is used for representing the relationship between the water consumption in the target area and time, determining the user change amount and the user change direction of the target area based on the first relationship curve, and determining the water change amount and the water change direction of the target area based on the second relationship curve, if the user change direction and the water change direction are the same, then judging whether there is water leakage in the target area based on the user change amount and the water change amount, and if there is water leakage, outputting first alarm information. The water monitoring method, device, electronic equipment and readable storage medium provided by the application can improve the accuracy of judging the water leakage condition of the area.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of data monitoring, and in particular to a water use monitoring method and device, electronic equipment and readable storage medium. BACKGROUND

[0002] With the increasing shortage of water resources, it is necessary to monitor water use by using a water system to understand the water use in each region in a timely manner, determine the peak and trough periods of water use, and facilitate the scheduling of water supply. In related technologies, the historical water use and recent water use in the corresponding region are often compared to determine whether there is water leakage in the corresponding region.

[0003] However, only comparing the historical water use and recent water use in the corresponding region results in incomplete data for determining the water leakage in the region, thereby leading to inaccurate determination of the water leakage in the region. SUMMARY

[0004] In order to improve the accuracy of determining the water leakage in the region, the present application provides a water use monitoring method, device, electronic equipment and readable storage medium.

[0005] The above invention purpose of the present application is realized by the following technical scheme:

[0006] In a first aspect, a water use monitoring method is provided, comprising:

[0007] obtaining a first relationship curve and a second relationship curve corresponding to a target region, the first relationship curve being used to represent the relationship between the number of users in the target region and time, and the second relationship curve being used to represent the relationship between the water use in the target region and time;

[0008] determining the user change amount and the user change direction of the target region based on the first relationship curve, and determining the water change amount and the water change direction of the target region based on the second relationship curve, the user change direction being used to represent the increase or decrease of the number of users, and the water change direction being used to represent the increase or decrease of the water use;

[0009] if the user change direction and the water change direction are the same, determining whether there is water leakage in the target region based on the user change amount and the water change amount;

[0010] if there is water leakage, outputting a first alarm information.

[0011] By adopting the above technical solution, a first relationship curve between the number of users and time in the target area and a second relationship curve between water consumption and time are obtained. Based on the first relationship curve, the change in the number of users and the direction of user change in the target area are determined, and based on the second relationship curve, the change in water consumption and the direction of water consumption in the target area are determined. When the change in the number of users and the change in water consumption are the same, the number of users changes, and the water consumption in the target area should also change accordingly. Based on the change in the number of users and the change in water consumption, it is determined whether there is a leak in the target area. When the change in water consumption does not change according to the change in the number of users, there is a leak in the target area. When there is a leak, the first alarm information is output. By judging whether there is a leak in the target area through the changes in the number of people and the changes in water consumption, the data for judging whether there is a leak in the target area is more comprehensive, thereby improving the accuracy of judging whether there is a leak in the target area.

[0012] In one possible implementation, the user change amount includes: user decrease amount or user increase amount, and the water consumption change amount includes: water consumption decrease amount or water consumption increase amount;

[0013] If the direction of user change and the direction of water usage change are the same, then based on the amount of user change and the amount of water usage change, it is determined whether there is a leak in the target area, including:

[0014] If both the direction of user change and the direction of water usage change are decreasing, then based on the amount of user decrease and the amount of water usage decrease, it is determined whether there is a leak in the target area;

[0015] If both the direction of user change and the direction of water usage change are increasing, then based on the increase in user numbers and the increase in water usage, it is determined whether there is a leak in the target area.

[0016] In another possible implementation, determining whether there is a leak in the target area based on the user's reduction in water usage and the reduction in water consumption includes:

[0017] Based on the first preset relationship, the water consumption reduction amount corresponding to the user reduction amount is determined. The first preset relationship is used to characterize the relationship between the preset user reduction amount and the preset water consumption reduction amount.

[0018] If the water usage reduction is less than the required water usage reduction, then a first water usage difference is determined based on the required water usage reduction and the water usage reduction.

[0019] If the first water usage difference is greater than the first preset difference threshold, then there is water leakage in the target area;

[0020] The step of determining whether there is a leak in the target area based on the increase in users and the increase in water usage includes:

[0021] Based on the second preset relationship, the water consumption increase corresponding to the increase in users is determined. The second preset relationship is used to characterize the relationship between the preset increase in users and the preset increase in water consumption.

[0022] If the increase in water usage is greater than the required increase in water usage, then a first water usage difference is determined based on the required increase in water usage and the increase in water usage.

[0023] If the first water usage difference is greater than the second preset difference threshold, then there is water leakage in the target area.

[0024] In another possible implementation, the target region includes at least two target sub-regions, each target sub-region corresponding to a second sub-relation curve;

[0025] The method further includes:

[0026] Based on the second sub-relationship curves corresponding to each target sub-region, determine the first water consumption corresponding to each target sub-region.

[0027] Based on the first relationship curve, the second water consumption of the target area is determined;

[0028] Determine the first total water consumption based on the first water consumption of each target sub-region;

[0029] If the first total water consumption is less than the second total water consumption, then a second alarm message will be output.

[0030] In another possible implementation, the first relation curve corresponding to the target region is obtained, followed by:

[0031] If the change in user activity in the target area is less than a preset change threshold, then the current time period is obtained;

[0032] Based on the current time period, a historical time period is determined, wherein the current time period and the historical time period have different dates but the same time.

[0033] Based on the second relationship curve, determine the historical water consumption corresponding to each historical time period and the first current water consumption corresponding to the current time period;

[0034] Based on the historical water consumption, a water consumption threshold is determined;

[0035] If the current water consumption is greater than the water consumption threshold, then a third alarm message is output.

[0036] In another possible implementation, the step of determining the water volume threshold based on the historical water consumption further includes:

[0037] If the first current water consumption is less than or equal to the water consumption threshold, then the current water consumption time of the target user is obtained, and the target user is any user in the target area;

[0038] If the current water usage time falls within a preset idle time range, then the current water usage duration of the target user is obtained;

[0039] If the current water usage duration exceeds the preset duration, a first shutdown command is output. The first shutdown command is used to control the preset device to close the water inlet valve of the target user.

[0040] In another possible implementation, the step of obtaining the target user's current water usage duration further includes:

[0041] If the current water usage duration is longer than a preset duration, then the second current water usage of the target user is obtained, and the second current water usage is the water usage of the target user within the current water usage duration;

[0042] Based on the current water usage duration and the second current water usage amount, determine the target user's current total water usage value.

[0043] Based on the third preset relationship, the current leakage level corresponding to the current total water consumption is determined. The third preset relationship is used to characterize the relationship between the preset total water consumption and the preset leakage level.

[0044] Output leakage information based on the current leakage level.

[0045] Secondly, a water use monitoring device is provided, the device comprising:

[0046] The first acquisition module is used to acquire a first relationship curve and a second relationship curve corresponding to the target area. The first relationship curve is used to characterize the relationship between the number of users and time in the target area, and the second relationship curve is used to characterize the relationship between water consumption and time in the target area.

[0047] The first determining module is used to determine the amount and direction of user change in the target area based on the first relationship curve, and to determine the amount and direction of water consumption change in the target area based on the second relationship curve, wherein the user change direction is used to characterize the increase or decrease in the number of users, and the water consumption change direction is used to characterize the increase or decrease in water consumption.

[0048] The judgment module is used to determine whether there is leakage in the target area based on the amount of user change and the amount of water use change when the user change direction and the water use change direction are the same.

[0049] The first output module is used to output the first alarm information when there is a water leak.

[0050] In one possible implementation, the user change amount includes: user decrease amount or user increase amount, and the water consumption change amount includes: water consumption decrease amount or water consumption increase amount;

[0051] When the user's change direction and the water usage change direction are the same, the judgment module, based on the user's change amount and the water usage change amount, determines whether there is a leak in the target area. Specifically, this is used for:

[0052] When both the direction of user change and the direction of water usage change are decreasing, it is determined whether there is a leak in the target area based on the amount of user decrease and the amount of water usage decrease.

[0053] If both the direction of user change and the direction of water usage change are increasing, then based on the increase in user numbers and the increase in water usage, it is determined whether there is a leak in the target area.

[0054] In another possible implementation, when the judgment module determines whether there is a leak in the target area based on the user's reduction in water usage and the reduction in water consumption, it is specifically used for:

[0055] Based on the first preset relationship, the water consumption reduction amount corresponding to the user reduction amount is determined. The first preset relationship is used to characterize the relationship between the preset user reduction amount and the preset water consumption reduction amount.

[0056] If the water usage reduction is less than the required water usage reduction, then a first water usage difference is determined based on the required water usage reduction and the water usage reduction.

[0057] If the first water usage difference is greater than the first preset difference threshold, then there is water leakage in the target area;

[0058] When determining whether there is a leak in the target area based on the increase in users and the increase in water usage, the judgment module is specifically used for:

[0059] Based on the second preset relationship, the water consumption increase corresponding to the increase in users is determined. The second preset relationship is used to characterize the relationship between the preset increase in users and the preset increase in water consumption.

[0060] If the increase in water usage is greater than the required increase in water usage, then a first water usage difference is determined based on the required increase in water usage and the increase in water usage.

[0061] If the first water usage difference is greater than the second preset difference threshold, then there is water leakage in the target area.

[0062] In another possible implementation, the target region includes at least two target sub-regions, each target sub-region corresponding to a second sub-relation curve;

[0063] The device further includes: a second determining module, a third determining module, and a second output module, wherein...

[0064] The second determining module is used to determine the first water consumption corresponding to each target sub-region based on the second sub-relationship curve corresponding to each target sub-region; and to determine the second water consumption of the target region based on the first relationship curve.

[0065] The third determining module is used to determine the first total water consumption based on the first water consumption of each target sub-region;

[0066] The second output module is used to output a second alarm message when the first total water consumption is less than the second total water consumption.

[0067] In another possible implementation, the device further includes: a second acquisition module, a fourth determination module, a fifth determination module, a sixth determination module, and a third output module, wherein,

[0068] The second acquisition module is used to acquire the current time period when the change in user activity in the target area is less than a preset change threshold.

[0069] The fourth determining module is used to determine a historical time period based on the current time period, wherein the current time period and the historical time period have different dates but the same time.

[0070] The fifth determining module is used to determine the historical water consumption corresponding to each historical time period and the first current water consumption corresponding to the current time period based on the second relationship curve.

[0071] The sixth determining module is used to determine a water volume threshold based on the historical water consumption.

[0072] The third output module is used to output a third alarm message when the first current water consumption is greater than the water consumption threshold.

[0073] In another possible implementation, the device further includes: a third acquisition module, a fourth acquisition module, and a fourth output module, wherein,

[0074] The third acquisition module is used to acquire the current water usage time of the target user when the first current water usage is less than or equal to the water usage threshold, wherein the target user is any user in the target area;

[0075] The fourth acquisition module is used to acquire the current water usage duration of the target user when the current water usage time falls within a preset idle time range;

[0076] The fourth output module is used to output a first shutdown command when the current water usage duration exceeds a preset duration. The first shutdown command is used to control a preset device to close the water inlet valve of the target user.

[0077] In another possible implementation, the device further includes: a fifth acquisition module, a seventh determination module, an eighth determination module, and a fifth output module, wherein,

[0078] The fifth acquisition module is used to acquire the second current water consumption of the target user when the current water consumption duration is greater than a preset duration, wherein the second current water consumption is the water consumption of the target user within the current water consumption duration;

[0079] The seventh determining module is used to determine the target user's current total water consumption based on the current water usage duration and the second current water consumption.

[0080] The eighth determining module is used to determine the current leakage level corresponding to the current total water consumption based on the third preset relationship, wherein the third preset relationship is used to characterize the relationship between the preset total water consumption and the preset leakage level;

[0081] The fifth output module is used to output leakage information based on the current leakage level.

[0082] Thirdly, an electronic device is provided, the electronic device comprising:

[0083] One or more processors;

[0084] Memory;

[0085] One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more applications being configured to perform operations corresponding to the water monitoring method as shown in any possible implementation of the first aspect.

[0086] Fourthly, a computer-readable storage medium is provided, the storage medium storing at least one instruction, at least one program, code set, or instruction set, wherein the at least one instruction, at least one program, code set, or instruction set is loaded and executed by a processor to implement a method for water monitoring as shown in any possible implementation of the first aspect.

[0087] In summary, this application includes at least one of the following beneficial technical effects:

[0088] This application provides a method, apparatus, electronic device, and readable storage medium for water usage monitoring. Compared with related technologies, this application obtains a first relationship curve between the number of users and time in a target area and a second relationship curve between water consumption and time. Based on the first relationship curve, it determines the change in the number of users and the direction of user change in the target area, and based on the second relationship curve, it determines the change in water consumption and the direction of water consumption in the target area. When the change in the number of users and the change in water consumption are the same, the number of users changes, and the water consumption in the target area should also change accordingly. Based on the change in the number of users and the change in water consumption, it determines whether there is a leak in the target area. When the change in water consumption does not change according to the change in the number of users, there is a leak in the target area. When there is a leak, a first alarm message is output. By analyzing the changes in the number of people and the changes in water consumption in the target area, it is determined whether there is a leak in the target area, making the data for determining whether there is a leak in the target area more comprehensive, thereby improving the accuracy of determining whether there is a leak in the target area. Attached Figure Description

[0089] Figure 1 This is a schematic flowchart of a water monitoring method provided in an embodiment of this application.

[0090] Figure 2 This is a schematic diagram of a water monitoring device provided in an embodiment of this application.

[0091] Figure 3 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0092] The following is in conjunction with the appendix Figure 1 - Appendix Figure 3 This application will be described in further detail.

[0093] This specific embodiment is merely an explanation of this application and is not intended to limit it. After reading this specification, those skilled in the art can make modifications to this embodiment without contributing any inventive step, but such modifications are protected by patent law as long as they fall within the scope of the claims of this application.

[0094] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0095] Furthermore, the term "and / or" in this article is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Additionally, the character " / " in this article, unless otherwise specified, generally indicates that the preceding and following related objects have an "or" relationship.

[0096] The embodiments of this application will now be described in further detail with reference to the accompanying drawings.

[0097] This application provides a method for water monitoring, executed by an electronic device. This electronic device can be a server or a terminal device. The server can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services. The terminal device can be a smartphone, tablet, laptop, desktop computer, etc., but is not limited to these. The terminal device and the server can be directly or indirectly connected via wired or wireless communication. This application does not impose any limitations on this. Figure 1 As shown, the method may include:

[0098] Step S101: Obtain the first relation curve and the second relation curve corresponding to the target region.

[0099] The first relationship curve is used to characterize the relationship between the number of users and time within the target area, while the second relationship curve is used to characterize the relationship between water consumption and time within the target area.

[0100] In this embodiment of the application, the first relationship curve and the second relationship curve corresponding to the target area can be obtained in real time, or the first relationship curve and the second relationship curve corresponding to the target area can be obtained at preset intervals, or the first relationship curve and the second relationship curve corresponding to the target area can be obtained when a user-triggered acquisition command is detected. In this embodiment of the application, no limitation is made.

[0101] In the embodiments of this application, the target area can be a residential community or a building.

[0102] In this embodiment of the application, the second relationship curve corresponding to the target region can be obtained before obtaining the first relationship curve corresponding to the target region, or the second relationship curve corresponding to the target region can be obtained after obtaining the first relationship curve corresponding to the target region, or both the first relationship curve and the second relationship curve corresponding to the target region can be obtained simultaneously. This is not limited in this embodiment of the application.

[0103] In the above-described embodiments, after obtaining the first relationship curve and the second relationship curve corresponding to the target area, the display can display the first relationship curve and the second relationship curve corresponding to the target area in real time, or it can display the first relationship curve and the second relationship curve corresponding to the target area when a display command triggered by the user is detected. This embodiment does not impose any limitations.

[0104] Step S102: Determine the user change amount and user change direction in the target area based on the first relationship curve, and determine the water consumption change amount and water consumption change direction in the target area based on the second relationship curve.

[0105] Among them, the direction of user change is used to represent the increase or decrease in the number of users, and the direction of water use change is used to represent the increase or decrease in water consumption.

[0106] In the embodiments of this application, the step of determining the user change amount and user change direction of the target area based on the first relationship curve can be performed before the step of determining the water consumption change amount and water consumption change direction of the target area based on the second relationship curve, or after the step of determining the water consumption change amount and water consumption change direction of the target area based on the second relationship curve, or simultaneously with the step of determining the water consumption change amount and water consumption change direction of the target area based on the second relationship curve. In the embodiments of this application, no limitation is made.

[0107] In the embodiments of this application, the change in the number of users is used to characterize whether the number of users has changed, which can be a decrease or an increase in the number of users; the change in water consumption is used to characterize whether water consumption has changed, which can be a decrease or an increase in water consumption. For example, if the number of users changes from 1024 to 1574, the change in the number of users is 550, and the direction of the change in users is an increase.

[0108] In the embodiments of this application, user change refers to the change in user activity over a given period of time, and water consumption change refers to the change in water consumption over a given period of time, with the time periods corresponding to user change and water consumption change being the same. For example, user change for the current two months is determined based on a first relationship curve, and water consumption change for the current two months is determined based on a second relationship curve.

[0109] Step S103: If the user's change direction and the water usage change direction are the same, then based on the user's change amount and the water usage change amount, determine whether there is a leak in the target area.

[0110] In this embodiment of the application, when the direction of user change and the direction of water consumption change are the same, the change in water consumption corresponds to the change in users. When the number of users changes, the change in water consumption should also change accordingly. If the change in water consumption does not change with the change in users, there is leakage in the target area. For example, if the number of users in the target area decreases by 120 households in the current two months, while the water consumption in the target area increases to 240 tons in the current two months, then there is leakage in the target area.

[0111] Step S104: If a water leak is found, output the first alarm message.

[0112] In this embodiment of the application, when there is water leakage in the target area, a first alarm message is output so that staff can carry out repairs on the target area.

[0113] This application provides a method for water usage monitoring. Compared with related technologies, this application obtains a first relationship curve between the number of users and time in a target area and a second relationship curve between water consumption and time. Based on the first relationship curve, it determines the change in the number of users and the direction of user change in the target area, and based on the second relationship curve, it determines the change in water consumption and the direction of water consumption in the target area. When the change in the number of users and the change in water consumption are the same, the number of users changes, and the water consumption in the target area should also change accordingly. Based on the change in the number of users and the change in water consumption, it is determined whether there is a leak in the target area. When the change in water consumption does not change according to the change in the number of users, there is a leak in the target area. When there is a leak, a first alarm message is output. By analyzing the changes in the number of people and the changes in water consumption in the target area, it is determined whether there is a leak in the target area, making the data for determining whether there is a leak in the target area more comprehensive, thereby improving the accuracy of determining whether there is a leak in the target area.

[0114] When the direction of user change and the direction of water usage change are the same, determining whether the target area is leaking requires analyzing the amount of change in users and water usage based on these two factors. User changes include both decreases and increases in users, while water usage changes include both decreases and increases in water usage. If the direction of user change and water usage change are the same, then determining whether the target area is leaking based on these factors can be: if both the direction of user change and water usage change are decreasing, then determining whether the target area is leaking based on the decrease in users and the decrease in water usage; if both the direction of user change and water usage change are increasing, then determining whether the target area is leaking based on the increase in users and the increase in water usage. In this embodiment, the determination of whether the target area is leaking is based on the direction of change in the number of users and the direction of change in water usage.

[0115] In the embodiments of this application, when both the direction of user change and the direction of water consumption change are decreasing, the presence of leakage in the target area can be determined by the ratio of the decrease in users to the original total number of users, and the ratio of the decrease in water consumption to the original total water consumption. Alternatively, a water consumption reduction standard can be determined by the decrease in users, and the water consumption reduction standard and the decrease in water consumption can be compared to determine whether leakage exists in the target area. When both the direction of user change and the direction of water consumption change are increasing, the presence of leakage in the target area can be determined by the ratio of the increase in users to the original total number of users, and the ratio of the increase in water consumption to the original total water consumption. Alternatively, a water consumption increase standard can be determined by the increase in users, and the increase in water consumption standard and the increase in water consumption can be compared to determine whether leakage exists in the target area. In the embodiments of this application, when the direction of change in the number of users and the direction of change in water consumption are the same, the presence of leakage in the target area can be accurately determined by the increase in users and the increase in water consumption, or by the decrease in users or the decrease in water consumption.

[0116] When determining whether a target area has a leak, a water usage change standard can be determined based on user changes, and the presence of a leak can be determined by combining the water usage change standard with the water usage change. Specifically, determining whether a leak exists based on user reduction and water usage reduction can include: determining the required water usage reduction based on a first preset relationship; if the water usage reduction is less than the required water usage reduction, determining a first water usage difference based on the required and actual reductions; if the first water usage difference is greater than a first preset difference threshold, a leak exists in the target area. In this embodiment, the user reduction and the required water usage reduction are determined through the first preset relationship. When the deviation between the water usage reduction and the required water usage reduction is small, there is no leak in the target area; when the deviation is large, a leak exists in the target area.

[0117] The first preset relationship is used to characterize the relationship between the preset user reduction amount and the preset water consumption reduction amount.

[0118] In this embodiment of the application, a first preset relationship between a preset user reduction amount and a preset water consumption reduction amount is used to determine the water consumption reduction amount corresponding to the user reduction amount. The required water consumption reduction amount is then compared with the actual water consumption reduction amount. When the actual water consumption reduction amount is less than the required water consumption reduction amount, leakage may exist in the target area; when the actual water consumption reduction amount is equal to or greater than the required water consumption reduction amount, there is no leakage in the target area. When the actual water consumption reduction amount is less than the required water consumption reduction amount, a first water consumption difference between the required water consumption reduction amount and the actual water consumption reduction amount is determined. When the first water consumption difference is greater than a first preset difference threshold, leakage exists in the target area. When the first water consumption difference is less than or equal to the first preset difference threshold, there is no leakage in the target area.

[0119] In this embodiment of the application, when both the number of users and water consumption are decreasing, a first preset relationship is used to determine the required reduction in water consumption corresponding to the decrease in the number of users, and the required reduction in water consumption is compared with the actual reduction in water consumption to accurately determine whether there is a leak in the target area. Determining whether there is a leak in the target area based on the increase in the number of users and the increase in water consumption can specifically include: determining the required increase in water consumption corresponding to the increase in the number of users based on a second preset relationship; if the increase in water consumption is greater than the required increase in water consumption, a first water consumption difference is determined based on the required increase in water consumption and the actual increase in water consumption; if the first water consumption difference is greater than a second preset difference threshold, then there is a leak in the target area. In this embodiment of the application, when both the number of users and water consumption are increasing, a second preset relationship is used to determine the required increase in water consumption corresponding to the increase in the number of users, and the magnitude of the required increase in water consumption and the actual increase in water consumption is used to determine whether there is a leak in the target area.

[0120] The first preset relationship is used to characterize the relationship between the preset user reduction amount and the preset water consumption reduction amount.

[0121] In this embodiment of the application, a first preset relationship between the preset increase in user usage and the preset increase in water usage is used to determine the required increase in water usage corresponding to the increase in user usage. The required increase in water usage is then compared with the actual increase in water usage. If the required increase in water usage is less than the required increase in water usage, leakage may exist in the target area; if the required increase in water usage is equal to or greater than the required increase in water usage, there is no leakage in the target area. When the required increase in water usage is less than the required increase in water usage, a first water usage difference between the required increase in water usage and the actual increase in water usage is determined. If the first water usage difference is greater than a first preset difference threshold, leakage exists in the target area.

[0122] In this embodiment of the application, when both the number of users and the water consumption are increasing, the required increase in water consumption corresponding to the increase in the number of users is determined through a first preset relationship, and the required increase in water consumption and the increase in water consumption are compared to accurately determine whether there is a leak in the target area.

[0123] Furthermore, if the number of users decreases while water usage increases, a leak is detected in the target area, and the first alarm message is output. When the number of users decreases, water usage should also decrease. If water usage increases, a leak may occur in the target area, requiring an alarm message to be output so that maintenance personnel can perform maintenance.

[0124] When the total water consumption of a region does not match the total water consumption of its sub-regions, it may indicate a leak from the main water supply valve to the sub-regions. The target region includes at least two target sub-regions, each corresponding to a second sub-relationship curve. The method may further include: determining the first water consumption corresponding to each target sub-region based on the second sub-relationship curve; determining the second water consumption of the target region based on the first relationship curve; determining the first total water consumption based on the first water consumption of each target sub-region; and outputting a second alarm message if the first total water consumption is less than the second total water consumption. In this embodiment, the time periods corresponding to the first and second water consumptions for each target sub-region are the same.

[0125] In the embodiments of this application, the step of determining the first water consumption corresponding to each target sub-region based on the second sub-relationship curve corresponding to each target sub-region can be performed before the step of determining the user change amount and user change direction of the target region based on the first relationship curve, or after the step of determining the user change amount and user change direction of the target region based on the first relationship curve, or simultaneously with the step of determining the user change amount and user change direction of the target region based on the first relationship curve. In the embodiments of this application, no limitation is made.

[0126] In the embodiments of this application, the step of determining the first water consumption corresponding to each target sub-region based on the second sub-relationship curve corresponding to each target sub-region can be performed before the step of determining the second water consumption of the target region based on the first relationship curve, or after the step of determining the second water consumption of the target region based on the first relationship curve, or simultaneously with the step of determining the second water consumption of the target region based on the first relationship curve. In the embodiments of this application, no limitation is made.

[0127] In this embodiment of the application, the first total water consumption is determined by the sum of the first water consumption corresponding to each target sub-region. For example, the target regions include: target sub-region A, target sub-region B, and target sub-region C. The first water consumption of target sub-region A is 52 tons, the first water consumption of target sub-region B is 43 tons, and the first water consumption of target sub-region C is 27 tons. Then the first total water consumption is 122 tons.

[0128] In this embodiment of the application, when the first total water consumption is less than the second total water consumption, water leakage occurs in the pipeline from the main water supply valve of the target area to each target sub-area, and the first alarm information is output; when the first total water consumption is equal to the second total water consumption, there is no water leakage.

[0129] In this embodiment of the application, by monitoring the water usage of the target area and the target sub-areas, it is possible to accurately determine whether there is any water leakage in the pipes from the main valve to each sub-area of ​​the target area, and further, to accurately determine whether there is any water leakage in the target sub-area.

[0130] Another possible implementation of this application embodiment involves obtaining a first relationship curve corresponding to the target area, and further including: if the change in user activity in the target area is less than a preset change threshold, then obtaining the current time period; based on the current time period, determining historical time periods, where the current time period and historical time periods have different dates but the same time; based on the second relationship curve, determining the historical water consumption corresponding to each historical time period and the first current water consumption corresponding to the current time period; based on the historical water consumption, determining a water consumption threshold; if the first current water consumption is greater than the water consumption threshold, then outputting a third alarm message. In this application embodiment, when the number of users is relatively stable, the water consumption of the current time period can be compared with that of the historical time periods to determine whether there is a leak.

[0131] The current time period and the historical time period have different dates but the same time.

[0132] In the embodiments of this application, the first current water consumption corresponding to the current time period can be determined after determining the historical water consumption corresponding to each historical time period, or the first current water consumption corresponding to the current time period can be determined before determining the historical water consumption corresponding to each historical time period, or the historical water consumption corresponding to each historical time period and the first current water consumption corresponding to the current time period can be determined simultaneously. In the embodiments of this application, no limitation is made.

[0133] In the embodiments of this application, the current time period and the historical time period are the same time period of the day. For example, the historical time periods are 6:00-7:00 on April 23, 2022, 6:00-7:00 on April 24, 2022, and 6:00-7:00 on April 25, 2022, and the current time period is 6:00-7:00 on June 23, 2022.

[0134] In this embodiment of the application, to determine whether there is a leak in the current time period, the current time period is obtained, and historical time periods with different dates but the same time are determined based on the current time period. The first current water consumption corresponding to the current time period and the historical water consumption corresponding to each historical time period are determined based on a second relationship curve. When the number of users is relatively stable, the water consumption of users should also remain stable. A water consumption threshold is determined based on the historical water consumption. When the first current water consumption exceeds the water consumption threshold, a leak may occur, and a third alarm message is output.

[0135] In this embodiment of the application, when the number of users in the target area is relatively stable, by determining a historical time period that is the same as the current time period, and comparing the first current water consumption of the current time period with the historical water consumption of the historical time period, it is possible to accurately determine whether there is a leak in the target area.

[0136] When the first current water consumption in the target area is less than or equal to a quantity threshold, there may be no leakage in the target area. To further determine whether there is water leakage, a water consumption threshold is determined based on historical water consumption. This may then include: if the first current water consumption is less than or equal to the water consumption threshold, obtaining the target user's current water consumption time; if the current water consumption time falls within a preset idle time range, obtaining the target user's current water consumption duration; if the current water consumption duration exceeds the preset duration, outputting a first shutdown command, which controls a preset device to close the target user's water inlet valve. In this embodiment, the preset idle time range is a period of low water consumption. The preset idle time can be pre-set by the system or selected by staff, and is not limited in this embodiment.

[0137] The target user is any user within the target region.

[0138] In this embodiment of the application, water leakage may occur even when the current water consumption in the target area is less than or equal to a water consumption threshold. By obtaining the current water consumption time, which falls within a preset idle time range (e.g., the current water consumption time is 3:00, and the preset idle time range is 1:00-4:00), the current water consumption time falls within the preset idle time range. Furthermore, the current water consumption duration of the target user is obtained. If the target user uses water for an extended period during the preset idle time, a leak may have occurred. In this case, a first command is output to control a preset device to close the target user's water inlet valve. The preset device can be a control terminal device.

[0139] In this embodiment of the application, when the target user's current water usage time falls within a preset idle time range and the current water usage duration is relatively long, it indicates that the target user's water inlet pipe is leaking, thus accurately determining the leak situation. By closing the target user's water inlet valve, water is saved, thereby reducing water costs.

[0140] After closing the target user's water inlet valve, staff need to be reminded to inspect and maintain the target user's water supply pipeline. During pipeline inspection, any leaks must be identified. The process involves obtaining the target user's current water usage duration, followed by: if the current usage duration exceeds a preset duration, obtaining the target user's second current water consumption, which is the user's water consumption within the current usage duration; determining the target user's total current water consumption based on the current usage duration and the second current water consumption; determining the current leakage level corresponding to the total current water consumption based on a third preset relationship; and outputting leakage information based on the current leakage level. In this embodiment, the target user's current leakage level can be determined based on the current usage duration, the second current water consumption, and their respective preset weights.

[0141] The third preset relationship is used to characterize the relationship between the preset total water consumption and the preset leakage level.

[0142] For example, if the current water usage time is 50 minutes, the current water consumption is 80 kilograms, the preset weight for water usage time is 0.4, and the preset weight for water consumption is 0.6, then the current total water consumption is 60.

[0143] In this embodiment of the application, after determining the current total water consumption, the current leakage level of the target user is determined according to a third preset relationship between the preset total water consumption and the preset leakage level. For example, a preset total water consumption of 50-90 is the first level, 90-130 is the second level, and a preset total water consumption greater than 130 is the third level. The leakage information, including the current leakage level, can be output in text or sound format.

[0144] In this embodiment of the application, when the target user's current water usage duration exceeds a preset duration, the leakage level of the target user is determined by the current water usage duration and the second current water consumption, so that staff can repair the target user's water supply pipes and resolve the leakage problem in a timely manner. The above embodiments describe a method for water usage monitoring from the perspective of process flow. The following embodiments describe a device for water usage monitoring from the perspective of virtual modules or virtual units, as detailed in the following embodiments.

[0145] This application provides a water usage monitoring device, such as... Figure 2 As shown, the water usage monitoring device 20 may specifically include: a first acquisition module 21, a first determination module 22, a judgment module 23, and a first output module 24, wherein,

[0146] The first acquisition module 21 is used to acquire the first relationship curve and the second relationship curve corresponding to the target area. The first relationship curve is used to characterize the relationship between the number of users and time in the target area, and the second relationship curve is used to characterize the relationship between water consumption and time in the target area.

[0147] The first determining module 22 is used to determine the amount and direction of user change in the target area based on the first relationship curve, and to determine the amount and direction of water use change in the target area based on the second relationship curve. The user change direction is used to characterize the increase or decrease in the number of users, and the water use change direction is used to characterize the increase or decrease in water use.

[0148] The judgment module 23 is used to determine whether there is leakage in the target area based on the amount of user change and the amount of water use change when the user change direction and the water use change direction are the same.

[0149] The first output module 24 is used to output the first alarm information when there is a water leak.

[0150] In one possible implementation of this application embodiment, the user change amount includes: user decrease amount or user increase amount, and the water consumption change amount includes: water consumption decrease amount or water consumption increase amount;

[0151] When the user's change direction and the water usage change direction are the same, the judgment module 23 determines whether there is a leak in the target area based on the user's change amount and the water usage change amount. Specifically, this is used for:

[0152] When both the direction of user change and the direction of water usage change are decreasing, determine whether there is a leak in the target area based on the amount of user decrease and water usage decrease;

[0153] If both the direction of user changes and the direction of water usage changes are increasing, then based on the increase in user numbers and the increase in water usage, it is determined whether there is a leak in the target area.

[0154] In another possible implementation of this application embodiment, when determining whether there is leakage in the target area based on the user's reduction amount and the water usage reduction amount, the determination module 23 is specifically used for:

[0155] Based on the first preset relationship, the water consumption reduction amount corresponding to the user reduction amount is determined. The first preset relationship is used to characterize the relationship between the preset user reduction amount and the preset water consumption reduction amount.

[0156] If the reduction in water consumption is less than the required reduction in water consumption, then the first water consumption difference is determined based on the required reduction in water consumption and the actual reduction in water consumption.

[0157] If the first water usage difference is greater than the first preset difference threshold, then there is water leakage in the target area;

[0158] When determining whether there is a leak in a target area based on the increase in users and the increase in water usage, the judgment module is specifically used for:

[0159] Based on the second preset relationship, the corresponding increase in water consumption is determined. The second preset relationship is used to characterize the relationship between the preset increase in users and the preset increase in water consumption.

[0160] If the increase in water consumption is greater than the required increase in water consumption, then the first water consumption difference is determined based on the required increase in water consumption and the increase in water consumption.

[0161] If the first water usage difference is greater than the second preset difference threshold, then there is a water leak in the target area.

[0162] Another possible implementation of this application embodiment is that the target region includes: at least two target sub-regions, and one target sub-region corresponds to a second sub-relationship curve;

[0163] Device 20 further includes: a second determining module, a third determining module, and a second output module, wherein,

[0164] The second determining module is used to determine the first water consumption corresponding to each target sub-region based on the second sub-relationship curve corresponding to each target sub-region; and to determine the second water consumption of the target region based on the first relationship curve.

[0165] The third determining module is used to determine the first total water consumption based on the first water consumption of each target sub-region;

[0166] The second output module is used to output a second alarm message when the first total water consumption is less than the second total water consumption.

[0167] In another possible implementation of this application embodiment, the apparatus 20 further includes: a second acquisition module, a fourth determination module, a fifth determination module, a sixth determination module, and a third output module, wherein,

[0168] The second acquisition module is used to acquire the current time period when the change in user activity in the target area is less than a preset change threshold.

[0169] The fourth determination module is used to determine the historical time period based on the current time period. The current time period and the historical time period have different dates but the same time.

[0170] The fifth determination module is used to determine the historical water consumption corresponding to each historical time period and the first current water consumption corresponding to the current time period based on the second relationship curve.

[0171] The sixth determination module is used to determine the water consumption threshold based on historical water consumption.

[0172] The third output module is used to output a third alarm message when the current water consumption exceeds the water consumption threshold.

[0173] In another possible implementation of this application embodiment, the device 20 further includes: a third acquisition module, a fourth acquisition module, and a fourth output module, wherein...

[0174] The third acquisition module is used to acquire the current water usage time of the target user when the first current water usage is less than or equal to the water usage threshold. The target user is any user in the target area.

[0175] The fourth acquisition module is used to acquire the current water usage duration of the target user when the current water usage time falls within a preset idle time range;

[0176] The fourth output module is used to output a first shutdown command when the current water usage duration exceeds the preset duration. The first shutdown command is used to control the preset device to close the water inlet valve of the target user.

[0177] In another possible implementation of this application embodiment, the apparatus 20 further includes: a fifth acquisition module, a seventh determination module, an eighth determination module, and a fifth output module, wherein,

[0178] The fifth acquisition module is used to acquire the second current water consumption of the target user when the current water consumption duration exceeds the preset duration. The second current water consumption is the water consumption of the target user within the current water consumption duration.

[0179] The seventh determining module is used to determine the target user's total current water consumption based on the current water usage duration and the second current water consumption.

[0180] The eighth determination module is used to determine the current leakage level corresponding to the current total water consumption based on the third preset relationship. The third preset relationship is used to characterize the relationship between the preset total water consumption and the preset leakage level.

[0181] The fifth output module is used to output leakage information based on the current leakage level.

[0182] This application provides a water usage monitoring device. Compared with related technologies, in this application, a first relationship curve between the number of users and time and a second relationship curve between water usage and time are obtained for a target area. The user change amount and direction of change in the target area are determined based on the first relationship curve, and the water usage change amount and direction of change in the target area are determined based on the second relationship curve. When the user change direction and the water usage change direction are the same, the number of users changes, and the water usage in the target area should also change accordingly. Based on the user change amount and the water usage change amount, it is determined whether there is a leak in the target area. When the water usage change amount does not change according to the user change amount, there is a leak in the target area. When there is a leak, a first alarm message is output. By using the changes in the number of people and the changes in water usage in the target area, it is determined whether there is a leak in the target area, making the data for determining whether there is a leak in the target area more comprehensive, thereby improving the accuracy of determining whether there is a leak in the target area.

[0183] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the water monitoring device described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0184] This application provides an electronic device, such as... Figure 3 As shown, Figure 3 The illustrated electronic device 30 includes a processor 301 and a memory 303. The processor 301 and the memory 303 are connected, for example, via a bus 302. Optionally, the electronic device 30 may also include a transceiver 304. It should be noted that in practical applications, the transceiver 304 is not limited to one type, and the structure of this electronic device 30 does not constitute a limitation on the embodiments of this application.

[0185] Processor 301 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. Processor 301 may also be a combination that implements computational functions, such as including one or more microprocessor combinations, a combination of a DSP and a microprocessor, etc.

[0186] Bus 302 may include a pathway for transmitting information between the aforementioned components. Bus 302 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. Bus 302 can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 3 The symbol is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.

[0187] The memory 303 may be a ROM (Read Only Memory) or other type of static storage device capable of storing static information and instructions, RAM (Random Access Memory) or other type of dynamic storage device capable of storing information and instructions, or an EEPROM (Electrically Erasable Programmable Read Only Memory), CD-ROM (Compact Disc Read Only Memory) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital universal optical discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but not limited thereto.

[0188] The memory 303 is used to store application code that executes the solution of this application, and its execution is controlled by the processor 301. The processor 301 is used to execute the application code stored in the memory 303 to implement the content shown in the foregoing method embodiments.

[0189] Electronic devices include, but are not limited to: mobile terminals such as mobile phones, laptops, digital radio receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), and in-vehicle terminals (such as in-vehicle navigation terminals), as well as fixed terminals such as digital TVs and desktop computers. Servers can also be included. Figure 3 The electronic device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.

[0190] This application provides a computer-readable storage medium storing a computer program that, when run on a computer, enables the computer to execute the corresponding content in the aforementioned method embodiments. Compared with related technologies, in this application embodiment, a first relationship curve between the number of users and time and a second relationship curve between water consumption and time corresponding to a target area are obtained. Based on the first relationship curve, the change in the number of users and the direction of user change in the target area are determined, and based on the second relationship curve, the change in water consumption and the direction of water consumption in the target area are determined. When the change in the number of users and the change in water consumption are the same, the number of users changes, and the water consumption in the target area should also change accordingly. Based on the change in the number of users and the change in water consumption, it is determined whether there is a leak in the target area. When the change in water consumption does not change according to the change in the number of users, there is a leak in the target area. When a leak is found, a first alarm message is output. By using the changes in the number of people and the changes in water consumption in the target area to determine whether there is a leak, the data for determining whether there is a leak in the target area is more comprehensive, thereby improving the accuracy of determining whether there is a leak in the target area.

[0191] It should be understood that although the steps in the flowcharts of the accompanying figures are shown sequentially as indicated by the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the accompanying figures may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the sub-steps or stages of other steps.

[0192] The above are only some embodiments of this application. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of this application, and these improvements and modifications should also be considered within the scope of protection of this application.

Claims

1. A method of monitoring with water, characterized in that, The method comprises the following steps: obtaining a first relationship curve and a second relationship curve corresponding to a target area, the first relationship curve being used to represent the relationship between the number of users in the target area and time, and the second relationship curve being used to represent the relationship between the water consumption in the target area and time; determining the user change amount and the user change direction of the target area based on the first relationship curve, and determining the water consumption change amount and the water consumption change direction of the target area based on the second relationship curve, the user change direction being used to represent the increase or decrease of the number of users, and the water consumption change direction being used to represent the increase or decrease of the water consumption; the user change amount comprises a user decrease amount or a user increase amount, and the water consumption change amount comprises a water consumption decrease amount or a water consumption increase amount; if both the user change direction and the water consumption change direction are decreasing, determining the water consumption should decrease amount corresponding to the user decrease amount based on a first preset relationship, the first preset relationship being used to represent the relationship between a preset user decrease amount and a preset water consumption decrease amount; if the water consumption decrease amount is less than the water consumption should decrease amount, determining a first water consumption difference value based on the water consumption should decrease amount and the water consumption decrease amount; if the first water consumption difference value is greater than a first preset difference threshold value, there is water leakage in the target area; if both the user change direction and the water consumption change direction are increasing, determining the water consumption should increase amount corresponding to the user increase amount based on a second preset relationship, the second preset relationship being used to represent the relationship between a preset user increase amount and a preset water consumption increase amount; if the water consumption increase amount is greater than the water consumption should increase amount, determining a first water consumption difference value based on the water consumption should increase amount and the water consumption increase amount; if the first water consumption difference value is greater than a second preset difference threshold value, there is water leakage in the target area; if there is water leakage, outputting a first alarm information.

2. The method of claim 1, wherein, The target area comprises at least two target sub-areas, and each target sub-area corresponds to a second sub-relationship curve. The method further comprises the following steps: determining the first water consumption of each target sub-area based on the second sub-relationship curve corresponding to each target sub-area respectively; determining the second water consumption of the target area based on the first relationship curve; determining the first total water consumption based on the first water consumption of each target sub-area; if the first total water consumption is less than the second water consumption, outputting a second alarm information.

3. The method of claim 1, wherein, After obtaining the first relationship curve corresponding to the target area, the following steps are further included: if the user change amount of the target area is less than a preset change threshold value, obtaining a current time period; determining a historical time period based on the current time period, the date of the current time period being different from that of the historical time period, and the time being the same; determining the historical water consumption corresponding to each historical time period and the first current water consumption corresponding to the current time period based on the second relationship curve; determining a water consumption threshold value based on the historical water consumption; if the first current water consumption is greater than the water consumption threshold value, outputting a third alarm information.

4. The method of claim 3, wherein, After determining the water consumption threshold value based on the historical water consumption, the following steps are further included: If the first current water consumption is less than or equal to the water consumption threshold, a current water consumption time of a target user is acquired, the target user being any user in a target area; If the current water consumption time belongs to a preset idle time range, a current water consumption duration of the target user is acquired; If the current water consumption duration is greater than a preset duration, a first closing instruction is output, the first closing instruction being used for controlling a preset device to close a water inlet valve of the target user.

5. The method of claim 4, wherein, The acquisition of the current water consumption duration further includes: If the current water consumption duration is greater than a preset duration, a second current water consumption of the target user is acquired, the second current water consumption being a water consumption of the target user within the current water consumption duration; Based on the current water consumption duration and the second current water consumption, a current total water consumption value of the target user is determined Based on a third preset relationship, a current leakage level corresponding to the current total water consumption value is determined, the third preset relationship being used for representing a relationship between a preset total water consumption value and a preset leakage level; Based on the current leakage level, leakage information is output.

6. A device for monitoring water, characterized in that The method comprises: A first acquisition module is configured to acquire a first relationship curve and a second relationship curve corresponding to a target area, the first relationship curve being used for representing a relationship between a user quantity and time in the target area, and the second relationship curve being used for representing a relationship between a water consumption and time in the target area; A first determination module is configured to determine, based on the first relationship curve, a user change quantity and a user change direction of the target area, and determine, based on the second relationship curve, a water consumption change quantity and a water consumption change direction of the target area, the user change direction being used for representing an increase or decrease of the user quantity, and the water consumption change direction being used for representing an increase or decrease of the water consumption; The user change quantity comprises a user decrease quantity or a user increase quantity, and the water consumption change quantity comprises a water consumption decrease quantity or a water consumption increase quantity; A judgment module is configured to, when the user change direction and the water consumption change direction are both decreasing, determine, based on a first preset relationship, a water consumption should decrease quantity corresponding to the user decrease quantity, the first preset relationship being used for representing a relationship between a preset user decrease quantity and a preset water consumption decrease quantity; if the water consumption decrease quantity is less than the water consumption should decrease quantity, determine a first water consumption difference value based on the water consumption should decrease quantity and the water consumption decrease quantity; if the first water consumption difference value is greater than a first preset difference threshold value, the target area has leakage; when the user change direction and the water consumption change direction are both increasing, determine, based on a second preset relationship, a water consumption should increase quantity corresponding to the user increase quantity, the second preset relationship being used for representing a relationship between a preset user increase quantity and a preset water consumption increase quantity; if the water consumption increase quantity is greater than the water consumption should increase quantity, determine a first water consumption difference value based on the water consumption should increase quantity and the water consumption increase quantity; if the first water consumption difference value is greater than a second preset difference threshold value, the target area has leakage. A first output module is configured to, when there is leakage, output a first alarm information.

7. An electronic device, comprising: The apparatus comprises: one or more processors; a memory; One or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the one or more processors, the one or more application programs being configured to perform a method for monitoring water use according to any one of claims 1-5.

8. A computer-readable storage medium having stored thereon a computer program, characterized in that, The program is executed by the processor to implement the method for monitoring water use according to any one of claims 1-5.

Citation Information

Patent Citations

  • Intelligent pipe network water saving monitoring system of Internet of Things

    CN103806503A

  • Method for building multi-way water supply structure leakage condition monitoring pipe network and monitoring system

    CN107061997A

  • Method and device for controlling water consumption by intelligent water meter

    CN114333158A