Water leakage monitoring method and device, electronic equipment and storage medium
By setting and predicting water usage thresholds and time periods, real-time monitoring of water usage values has been solved, and the problem that the existing technology cannot accurately monitor water leakage in different water usage scenarios is achieved, and accurate monitoring and timely treatment of water usage pipelines are achieved.
Patent Information
- Application Number
- CN202311246757.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-26
- Publication Date
- 2025-03-28
AI Technical Summary
Existing water leakage monitoring technology cannot accurately monitor whether water leakage occurs when there are different water use scenarios for users' water use behavior.
By setting the ordinary water numerical threshold and the special water numerical threshold, and predicting the ordinary water prediction period and the special water prediction period, monitoring the water value in real time, and preliminary determination of whether water leakage occurs.
In different water use scenarios, it can accurately monitor whether water leakage occurs in the water pipeline, and promptly alarm or repair treatment to avoid waste of resources and property losses.
Smart Images

Figure CN119721305A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of water leakage monitoring, and in particular to a water leakage monitoring method, device, electronic equipment and storage medium. Background Art
[0002] In the process of using water, there are often water leaks due to reasons such as long-term use of pipes, poor installation, and poor sealing of pipe joints. There may also be situations where the water valve is forgotten to be closed or the water valve is not completely closed in time, resulting in continuous water leakage, or even pipe bursting. Water leakage will cause a large waste of resources, and even serious water leakage will cause huge damage to the user's home appliances, etc., and seriously endanger the user's property safety. Existing water leakage monitoring technology cannot accurately monitor whether water leakage occurs when the user's water use behavior has different water use scenarios. Summary of the invention
[0003] The present invention provides a water leakage monitoring method, device, electronic equipment and storage medium, which can accurately monitor whether a water pipeline leaks when a user's water use behavior includes different water use scenarios such as ordinary water use behavior and special water use behavior.
[0004] In a first aspect, the present invention provides a water leakage monitoring method, comprising:
[0005] According to the water consumption values of the user's ordinary water consumption behavior and the water consumption values of the special water consumption behavior, a common water consumption value threshold and a special water consumption value threshold are set accordingly;
[0006] According to the water use time period of the ordinary water use behavior and the water use time period of the special water use behavior of the user, respectively, a corresponding prediction is obtained for the ordinary water use prediction time period and the special water use prediction time period;
[0007] Real-time monitoring of the user's water consumption value; and
[0008] A preliminary judgment is made in real time on whether water leakage occurs during the ordinary water consumption prediction period based on the water consumption value and the ordinary water consumption value threshold during the ordinary water consumption prediction period, and a preliminary judgment is made in real time on whether water leakage occurs during the special water consumption prediction period based on the water consumption value and the special water consumption value threshold during the special water consumption prediction period.
[0009] In a second aspect, the present invention provides a water leakage monitoring device, comprising:
[0010] A setting module, used to set a common water use value threshold and a special water use value threshold according to the water use value of the user's common water use behavior and the water use value of the special water use behavior;
[0011] A prediction module, used to predict a normal water use prediction period and a special water use prediction period according to the water use period of the normal water use behavior and the water use period of the special water use behavior of the user respectively;
[0012] A monitoring module, used for real-time monitoring of the user's water usage value; and
[0013] The preliminary judgment module is used to make a preliminary judgment on whether water leakage occurs in the ordinary water consumption prediction period in real time based on the water consumption value and the ordinary water consumption value threshold in the ordinary water consumption prediction period, and to make a preliminary judgment on whether water leakage occurs in the special water consumption prediction period in real time based on the water consumption value and the special water consumption value threshold in the special water consumption prediction period.
[0014] In a third aspect, the present invention further provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, a water leakage monitoring method as described in any one of the present invention is implemented.
[0015] In a fourth aspect, the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements any water leakage monitoring method as described in the present invention.
[0016] The present invention provides a water leakage monitoring method, device, electronic device and storage medium. By setting ordinary water usage value thresholds and special water usage value thresholds according to the water usage values and water usage time periods of the user's ordinary water usage behavior and the water usage values and water usage time periods of the user's special water usage behavior, and correspondingly predicting the ordinary water usage time periods and special water usage time periods, the present invention can accurately monitor whether water pipes are leaking when the user's water usage behavior has different water usage scenarios of ordinary water usage behavior and special water usage behavior, so as to facilitate alarming or repairing the leaking part to avoid waste and property loss. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solution of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0018] Figure 1 is a flow chart of a water leakage monitoring method provided by an embodiment of the present invention;
[0019] Figure 2 is another flow chart of the water leakage monitoring method provided by an embodiment of the present invention;
[0020] Figure 3 is another flow chart of the water leakage monitoring method provided by an embodiment of the present invention;
[0021] Figure 4 is a structural schematic diagram of a water leakage monitoring device provided by an embodiment of the present invention;
[0022] Figure 5 It is a structural schematic diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0023] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.
[0024] Figure 1 A flow chart of a water leakage monitoring method provided in an embodiment of the present invention is provided. The method can be performed by a water leakage monitoring device provided in an embodiment of the present invention, and the device can be implemented in software and / or hardware. In a specific embodiment, the device can be integrated into an electronic device, such as a water softener, a computer, and a server. The following embodiments will be described by taking the device integrated into an electronic device as an example. Reference Figure 1 , the method may specifically include the following steps:
[0025] Step 101, according to the water consumption values of the user's normal water consumption behavior and the water consumption values of the special water consumption behavior, correspondingly set the normal water consumption value threshold and the special water consumption value threshold, which can be used to monitor whether water leakage occurs according to the normal water consumption value threshold and the special water consumption value threshold.
[0026] Specifically, ordinary water use may include daily household water use, such as drinking water and cleaning water; special water use may include large-scale water use such as changing swimming pool water and fish tank water.
[0027] Specifically, special water use behavior may also include extremely small amounts of water use when no one is indoors.
[0028] Specifically, the water usage values may include a single water consumption, a single water consumption duration, and / or an average water consumption within a unit time.
[0029] Specifically, the water usage values of the user's ordinary water usage behavior and the water usage values of the special water usage behavior may come from the user's historical water usage data, or may be acquired through monitoring.
[0030] In an optional specific embodiment of the present invention, the above-mentioned water use value threshold and special water use value threshold are set according to the water use value of the user's ordinary water use behavior and the water use value of the special water use behavior respectively, including: setting the ordinary water use maximum value threshold according to the maximum single water use amount of ordinary water use behavior, and setting the ordinary water use duration maximum value threshold according to the maximum single water use duration of ordinary water use behavior; and setting the special water use maximum value threshold according to the maximum single water use amount of special water use behavior, and setting the special water use duration maximum value threshold according to the maximum single water use duration of special water use behavior.
[0031] Optionally, the maximum single water consumption of ordinary water use behavior is multiplied by a preset first threshold coefficient to obtain the above-mentioned ordinary water use numerical maximum value threshold, and the maximum single water use duration of ordinary water use behavior is multiplied by the second threshold coefficient to obtain the above-mentioned ordinary water use duration maximum value threshold; the maximum single water consumption of special water use behavior is multiplied by a preset third threshold coefficient to obtain the above-mentioned special water consumption maximum value threshold, and the maximum single water use duration of special water use behavior is multiplied by the fourth threshold coefficient to obtain the above-mentioned special water use duration maximum value threshold.
[0032] Specifically, the first threshold coefficient may be equal to the second threshold coefficient, and the value may be set to 1.2-1.6, preferably 1.5.
[0033] Specifically, the third threshold coefficient may be equal to the fourth threshold coefficient, and the value may be set to 1.8-2.2, preferably 2.0.
[0034] Optionally, the above process of setting a normal water use value threshold and a special water use value threshold according to the water use value of the user's normal water use behavior and the water use value of the special water use behavior, respectively, includes: setting a normal water use value threshold according to the average water consumption of the normal water use behavior within a first unit time period, and setting a special water use value threshold according to the average water consumption of the special water use behavior within a second unit time period.
[0035] Specifically, the first unit time length and the second unit time length may be the same or different, for example, may be 1 hour or 1 day.
[0036] Step 102, according to the water use time periods of the user's ordinary water use behavior and the water use time periods of special water use behavior, corresponding predictions are obtained for ordinary water use prediction time periods and special water use prediction time periods, which can help to accurately predict whether water leakage occurs according to different water use value thresholds in different water use behavior time periods.
[0037] Specifically, there is often a certain pattern in the water use time periods corresponding to ordinary water use behaviors and special water use behaviors. For example, for people who live alone and work, ordinary water use behaviors mostly occur during non-working hours, while special small-volume water use behaviors mostly occur during working hours, and special large-volume water use behaviors mostly occur on non-working days. Therefore, the time periods of ordinary water use behaviors and special water use behaviors can be studied to obtain the pattern therein, and based on the pattern, it can be judged whether the future time period belongs to the ordinary water use period or the special water use period.
[0038] Step 103, real-time monitoring of the user's water usage value can help to timely discover water leakage based on the water usage value and the water usage value threshold.
[0039] Specifically, a flow monitoring device and a timing device may be used to monitor the single water consumption and single water use duration in the above water usage values in real time. The above flow monitoring device may be, for example, an impeller-type flow monitoring device.
[0040] Specifically, the timing device can be used to start timely timing when the flow monitoring device detects that the flow is not 0, and stop timing when the flow monitoring device detects that the flow is 0, so as to obtain each water use behavior in a timely manner. By obtaining the water consumption and water use duration of each water use behavior, multiple single water consumptions and multiple single water use durations can be obtained. The maximum single water consumption can be compared and screened out from the multiple single water use durations, and the maximum single water use duration can be compared and screened out from the multiple single water use durations.
[0041] Step 104, a preliminary judgment is made in real time on whether water leakage occurs in the ordinary water use prediction period based on the water use value in the ordinary water use prediction period and the ordinary water use value threshold, and a preliminary judgment is made in real time on whether water leakage occurs in the special water use prediction period based on the water use value in the special water use prediction period and the special water use value threshold. When the user's water use behavior has different water use scenarios of ordinary water use behavior and special water use behavior, it is still possible to accurately monitor whether water pipes are leaking, so as to facilitate alarm or repair of the leaking part to avoid waste and property loss.
[0042] Specifically, after initially determining that a water leak has occurred, the leaking part can be located for repair, or a water leak reminder can be issued.
[0043] Optionally, the above-mentioned process of making a preliminary judgment on whether water leakage occurs in the ordinary water use prediction period based on the water use value and the ordinary water use value threshold in real time during the ordinary water use prediction period includes: comparing the maximum single water consumption setting in the ordinary water use prediction period with the ordinary water use maximum value threshold, and the maximum single water use duration in the ordinary water use prediction period with the ordinary water use maximum value threshold; if the maximum single water consumption setting in the ordinary water prediction period is greater than the ordinary water use maximum value threshold, and / or the maximum single water use duration in the ordinary water use prediction period is greater than the ordinary water use maximum value threshold, then it is preliminarily judged that water leakage occurs in the ordinary water use prediction period.
[0044] Optionally, the above-mentioned process of making a preliminary judgment on whether water leakage occurs in the special water usage prediction period based on the water usage value and the special water usage value threshold in real time includes: comparing the maximum single water consumption setting in the special water usage prediction period with the special water consumption maximum value threshold, and the maximum single water usage duration in the special water usage prediction period with the special water usage maximum value threshold; if the maximum single water consumption setting in the general water prediction period is greater than the special water consumption maximum value threshold, and / or the maximum single water usage duration in the special water usage prediction period is greater than the special water usage maximum value threshold, then it is preliminarily judged that water leakage occurs in the special water usage prediction period.
[0045] The following is a further introduction to water leakage monitoring methods, such as Figure 2 As shown, the following steps may be included:
[0046] Step 201 : monitor and obtain water usage values of the user's ordinary water usage behavior and water usage values of the special water usage behavior within a first preset time period.
[0047] Specifically, the user's water usage behavior is learned within a first preset time period, so as to accurately predict the user's water usage behavior in the future. Specifically, the first preset time period may be 14 days.
[0048] Optionally, the process of monitoring and obtaining the water usage values of the user's ordinary water usage behavior and the water usage values of special water usage behavior within the first preset time period includes: monitoring and obtaining the user's water usage values within the first preset time period, and judging the user's water usage values within the first preset time period as the water usage values of ordinary water usage behavior or the water usage values of special water usage behavior based on the water usage value range of ordinary water usage behavior and the water usage value range of special water usage behavior preset by the user.
[0049] Optionally, while monitoring and obtaining the water usage values of the user's ordinary water usage behavior and the special water usage behavior within the first preset time period, a preliminary judgment is made in real time on whether water leakage occurs within the first preset time period based on the bottom-line water usage value threshold.
[0050] Specifically, setting a bottom-line water usage threshold during the period of learning the user's water usage behavior can prevent water leakage during the learning cycle, avoid causing adverse consequences and inaccurate learning results.
[0051] Specifically, the above-mentioned bottom-line water usage numerical thresholds may include a single maximum water usage threshold and a single maximum water usage duration threshold.
[0052] Specifically, the above-mentioned bottom-line water consumption numerical thresholds can be set according to empirical data. For example, the maximum single water consumption threshold can be set to 500L to 1000L, and the maximum single water consumption duration threshold can be set to 30 minutes to 60 minutes.
[0053] Step 202, according to the water consumption values of the user's ordinary water consumption behavior and the water consumption values of the special water consumption behavior within the first preset time period, correspondingly set the ordinary water consumption value threshold and the special water consumption value threshold.
[0054] Step 203 , according to the water use time periods of the user's ordinary water use behavior and the water use time periods of the special water use behavior within the first preset time period, correspondingly predict the ordinary water use prediction time period and the special water use prediction time period.
[0055] Step 204: After the first preset time period has started, the user's water usage value is monitored in real time.
[0056] Step 205, make a preliminary judgment on whether water leakage occurs in the ordinary water consumption prediction period in real time based on the water consumption value in the ordinary water consumption prediction period and the ordinary water consumption value threshold, and make a preliminary judgment on whether water leakage occurs in the special water consumption prediction period in real time based on the water consumption value in the special water consumption prediction period and the special water consumption value threshold.
[0057] The embodiments of the present invention are applicable to scenarios where there is no historical water use data of the user, and can accurately obtain and learn the water use behavior of the user, thereby accurately predicting the user's subsequent water use behavior and accurately determining whether a water leakage occurs.
[0058] The following is a further introduction to water leakage monitoring methods, such as Figure 3 As shown, the following steps may be included:.
[0059] Step 301 : setting a common water usage threshold and a special water usage threshold according to the water usage values of the common water usage behavior and the water usage values of the special water usage behavior of the user, respectively.
[0060] Step 302 , predicting a normal water usage prediction period and a special water usage prediction period according to the water usage period of the user's normal water usage behavior and the water usage period of the special water usage behavior, respectively.
[0061] Step 303: monitor the user's water usage in real time.
[0062] Step 304, make a preliminary judgment on whether water leakage occurs in the ordinary water consumption prediction period in real time based on the water consumption value in the ordinary water consumption prediction period and the ordinary water consumption value threshold, and make a preliminary judgment on whether water leakage occurs in the special water consumption prediction period in real time based on the water consumption value in the special water consumption prediction period and the special water consumption value threshold.
[0063] Step 305: If it is preliminarily determined that a water leak occurs, a water leak check prompt is provided to the user.
[0064] Specifically, a water leakage check reminder can be given by pushing a message to the user, and the message content can be: the water usage of your water softener has changed greatly compared to usual, and it is recommended to check whether there is any abnormality. The user can also be prompted to check for water leakage by emitting a warning sound, lighting a warning light, etc.
[0065] Step 306, obtaining the user's water leakage inspection result, and adjusting the normal water use value threshold or the special water use value threshold according to the water leakage inspection result.
[0066] Optionally, if water leakage is initially determined to have occurred twice in succession but the user's water leakage inspection result shows that no water leakage has occurred, the corresponding water usage numerical threshold is increased.
[0067] Specifically, the water leakage monitoring method provided by the embodiment of the present invention can select whether to perform water leakage monitoring and give a prompt by turning on / off the water use monitoring function button in a specific application.
[0068] Specifically, after the water use monitoring function of the application is turned on, when it is preliminarily determined that there is a water leak, the application pushes a message to remind the user and prompts the user to fill in the feedback of the water leak inspection results in the application.
[0069] The embodiments of the present invention can help users to conduct water leakage inspection in time to avoid losses, and can also help optimize the water use value threshold based on the water leakage inspection results fed back by users, so as to better judge whether a water leakage occurs according to the actual water use situation of the user.
[0070] Figure 4 is a structural diagram of a water leakage monitoring device provided by an embodiment of the present invention, and the device is suitable for executing the water leakage monitoring method provided by an embodiment of the present invention. Figure 4 As shown, the device may specifically include:
[0071] The setting module 401 is used to set a common water use value threshold and a special water use value threshold according to the water use value of the user's common water use behavior and the water use value of the special water use behavior, respectively, so as to monitor whether water leakage occurs according to the common water use value threshold and the special water use value threshold.
[0072] Optionally, the setting module 401 can be specifically used to obtain a maximum value threshold of ordinary water consumption according to a maximum single water consumption of ordinary water use behavior, and to obtain a maximum value threshold of ordinary water use duration according to a maximum single water use duration of ordinary water use behavior; and
[0073] The special water consumption maximum value threshold is obtained according to the maximum single water consumption setting of the special water use behavior, and the special water use duration maximum value threshold is obtained according to the maximum single water use duration setting of the special water use behavior.
[0074] The prediction module 402 is used to predict the normal water usage prediction period and the special water usage prediction period according to the water usage period of the normal water usage behavior and the water usage period of the special water usage behavior of the user, respectively. This can help to accurately predict whether water leakage occurs according to different water usage value thresholds in different water usage behavior periods.
[0075] The monitoring module 403 is used to monitor the user's water usage value in real time, which can help to find water leakage in time according to the water usage value and the water usage value threshold.
[0076] The preliminary judgment module 404 is used to make a preliminary judgment on whether a water leakage occurs in the ordinary water use prediction period in real time according to the water use value and the ordinary water use value threshold in the ordinary water use prediction period, and to make a preliminary judgment on whether a water leakage occurs in the special water use prediction period in real time according to the water use value and the special water use value threshold in the special water use prediction period. When the user's water use behavior has different water use scenarios such as ordinary water use behavior and special water use behavior, it is still possible to accurately monitor whether the water pipe has a water leakage, so as to facilitate alarming or repairing the leaking part to avoid waste and property loss.
[0077] Optionally, the above-mentioned monitoring module 403 of the present invention can also be used for: before setting the ordinary water usage value threshold and the special water usage value threshold respectively according to the water usage value of the user's ordinary water usage behavior and the water usage value of the special water usage behavior, monitoring and obtaining the water usage value of the user's ordinary water usage behavior and the water usage value of the special water usage behavior within the starting first preset time period.
[0078] Optionally, the above-mentioned monitoring module 403 can also be specifically used to: monitor and obtain the user's water consumption value within the first preset time period; and determine the user's water consumption value within the first preset time period as the water consumption value of ordinary water consumption behavior or the water consumption value of special water consumption behavior according to the water consumption value range of ordinary water consumption behavior and the water consumption value range of special water consumption behavior preset by the user.
[0079] Optionally, the setting module 401 can be specifically used to set a common water usage threshold and a special water usage threshold according to the water usage values of the user's common water usage behavior and the water usage values of the special water usage behavior within the first preset time period.
[0080] Optionally, the prediction module 402 can be specifically used to predict the common water use prediction period and the special water use prediction period according to the water use period of the common water use behavior and the water use period of the special water use behavior of the user within the first preset starting time period.
[0081] Optionally, the monitoring module 403 can be specifically used to monitor the user's water consumption value in real time after starting the first preset time period.
[0082] Optionally, the above-mentioned preliminary judgment module can also be used to make a preliminary judgment on whether water leakage occurs within the first preset time period based on the bottom-line water usage value threshold in real time while monitoring and obtaining the water usage values of the user's ordinary water usage behavior and special water usage behavior within the first preset time period.
[0083] Optionally, the water leakage monitoring device of the present invention further comprises a prompt module for prompting the user to check for water leakage if it is preliminarily determined that a water leakage occurs.
[0084] Optionally, the water leakage monitoring device of the present invention further includes a threshold value adjustment module, which is used to obtain the user's water leakage inspection result and adjust the general water use numerical threshold value or the special water use numerical threshold value according to the water leakage inspection result.
[0085] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example for illustration. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the functional modules described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0086] An embodiment of the present invention further provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the water leakage monitoring method provided in any of the above embodiments is implemented.
[0087] An embodiment of the present invention further provides a computer-readable medium on which a computer program is stored. When the program is executed by a processor, the water leakage monitoring method provided by any of the above embodiments is implemented.
[0088] Reference below Figure 5 , which shows a schematic diagram of the structure of a computer system 500 of an electronic device suitable for implementing an embodiment of the present invention. Figure 5 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0089] like Figure 5 As shown, the computer system 500 includes a central processing unit (CPU) 501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage part 508 into a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the system 500 are also stored. The CPU 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.
[0090] The following components are connected to the I / O interface 505: an input section 506 including a keyboard, a mouse, etc.; an output section 507 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 508 including a hard disk, etc.; and a communication section 509 including a network interface card such as a LAN card, a modem, etc. The communication section 509 performs communication processing via a network such as the Internet. A drive 510 is also connected to the I / O interface 505 as needed. A removable medium 511, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 510 as needed, so that a computer program read therefrom is installed into the storage section 508 as needed.
[0091] In particular, according to the embodiments disclosed in the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present invention include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 509, and / or installed from the removable medium 511. When the computer program is executed by the central processing unit (CPU) 501, the above-mentioned functions defined in the system of the present invention are executed.
[0092] It should be noted that the computer-readable medium shown in the present invention may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0093] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0094] The modules and / or units involved in the embodiments of the present invention may be implemented in software or hardware. The modules and / or units described may also be set in a processor, for example, it may be described as: a processor includes a setting module, a prediction module, a monitoring module and a preliminary judgment module. The names of these modules do not, in some cases, constitute limitations on the modules themselves.
[0095] As another aspect, the present invention also provides a computer-readable medium, which may be included in the device described in the above embodiment; or it may exist independently and not be assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by a device, the device can realize: setting a common water use value threshold and a special water use value threshold according to the water use value of the user's common water use behavior and the water use value of the special water use behavior respectively; predicting a common water use prediction period and a special water use prediction period according to the water use period of the user's common water use behavior and the water use period of the special water use behavior respectively; real-time monitoring of the user's water use value; and making a preliminary judgment on whether a water leak occurs in the common water use prediction period in real time based on the water use value and the common water use value threshold in the common water use prediction period, and making a preliminary judgment on whether a water leak occurs in the special water use prediction period in real time based on the water use value and the special water use value threshold in the special water use prediction period.
[0096] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A water leakage monitoring method, characterized in that: include: According to the water consumption values of the user's ordinary water consumption behavior and the water consumption values of the special water consumption behavior, a common water consumption value threshold and a special water consumption value threshold are set accordingly; According to the water use time period of the ordinary water use behavior and the water use time period of the special water use behavior of the user, respectively, a corresponding prediction is obtained for the ordinary water use prediction time period and the special water use prediction time period; Real-time monitoring of the user's water consumption value; as well as A preliminary judgment is made in real time on whether water leakage occurs during the ordinary water consumption prediction period based on the water consumption value and the ordinary water consumption value threshold during the ordinary water consumption prediction period, and a preliminary judgment is made in real time on whether water leakage occurs during the special water consumption prediction period based on the water consumption value and the special water consumption value threshold during the special water consumption prediction period.
2. The water leakage monitoring method according to claim 1, characterized in that: Before setting the ordinary water use value threshold and the special water use value threshold according to the water use value of the ordinary water use behavior and the water use value of the special water use behavior of the user respectively, monitoring and obtaining the water use value of the ordinary water use behavior and the water use value of the special water use behavior of the user within a first preset time period; The setting of the ordinary water use value threshold and the special water use value threshold according to the water use value of the ordinary water use behavior and the water use value of the special water use behavior of the user respectively comprises: setting the ordinary water use value threshold and the special water use value threshold according to the water use value of the ordinary water use behavior and the water use value of the special water use behavior of the user within the first preset time period; The process of predicting the ordinary water use prediction period and the special water use prediction period according to the water use period of the ordinary water use behavior and the water use period of the special water use behavior of the user respectively comprises: predicting the ordinary water use prediction period and the special water use prediction period according to the water use period of the ordinary water use behavior and the water use period of the special water use behavior of the user within the first preset starting time period; The real-time monitoring of the user's water usage value includes: after the first preset time period, real-time monitoring of the user's water usage value.
3. The water leakage monitoring method according to claim 2, characterized in that: The process of monitoring and obtaining the water consumption value of the ordinary water consumption behavior and the water consumption value of the special water consumption behavior of the user within the first preset time period includes: Monitor and obtain the water usage value of the user within the first preset time period; and According to the water consumption value range of the ordinary water consumption behavior and the water consumption value range of the special water consumption behavior preset by the user, the water consumption value of the user within the first preset time period is determined as the water consumption value of the ordinary water consumption behavior or the water consumption value of the special water consumption behavior.
4. The water leakage monitoring method according to claim 3, characterized in that: Also includes; While the monitoring obtains the water consumption values of the ordinary water consumption behavior and the special water consumption behavior of the user within the first preset time period, a preliminary judgment is made in real time on whether water leakage occurs within the first preset time period based on the bottom-line water consumption value threshold.
5. The water leakage monitoring method according to claim 1, characterized in that: Also includes: If it is initially determined that a water leak has occurred, the user will be prompted to perform a water leak inspection.
6. The water leakage monitoring method according to claim 5, characterized in that: Also includes: The user's water leakage inspection result is obtained, and the ordinary water use value threshold or the special water use value threshold is adjusted according to the water leakage inspection result.
7. The water leakage monitoring method according to any one of claims 1 to 6, characterized in that: The setting of the ordinary water use value threshold and the special water use value threshold according to the ordinary water use behavior and the special water use behavior of the user respectively includes: According to the maximum single water consumption of the ordinary water use behavior, a maximum ordinary water consumption threshold is obtained, and according to the maximum single water consumption duration of the ordinary water use behavior, a maximum ordinary water consumption duration threshold is obtained; and A special water consumption maximum value threshold is obtained according to the maximum single water consumption of the special water use behavior, and a special water use duration maximum value threshold is obtained according to the maximum single water use duration of the special water use behavior.
8. A water leakage monitoring device, characterized in that: include: A setting module, used to set a common water use value threshold and a special water use value threshold according to the water use value of the user's common water use behavior and the water use value of the special water use behavior; A prediction module, used to predict a normal water use prediction period and a special water use prediction period according to the water use period of the normal water use behavior and the water use period of the special water use behavior of the user respectively; A monitoring module, used for real-time monitoring of the user's water consumption value; as well as The preliminary judgment module is used to make a preliminary judgment on whether water leakage occurs in the ordinary water consumption prediction period in real time based on the water consumption value and the ordinary water consumption value threshold in the ordinary water consumption prediction period, and to make a preliminary judgment on whether water leakage occurs in the special water consumption prediction period in real time based on the water consumption value and the special water consumption value threshold in the special water consumption prediction period.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the water leakage monitoring method as described in any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the water leakage monitoring method as described in any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Water valve water leakage detection method and device, water valve and storage medium
CN115165253A
Intelligent water valve adaptive threshold setting method and system based on flow detection
CN115421430A
Cited By
Water leakage detection method and system
CN122259145A