A water detection method, device, storage medium and electronic device

By frequency analysis and comparison of the historical temperature data of the water heater and identifying the location of water use behavior, the problem of energy waste and user needs caused by the inability to obtain the user's water use rules is solved, and efficient water use detection and energy-saving control are achieved.

CN116067022BActive Publication Date: 2025-06-10GREE ELECTRIC APPLIANCE INC OF ZHUHAI +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211652431.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-21
Publication Date
2025-06-10
Estimated Expiration
2042-12-21

AI Technical Summary

Technical Problem

In the event that existing water heaters cannot obtain user water usage rules, they often lead to excessive or too little heated water from the water heater, resulting in waste of energy and inconsistency of user needs.

Method used

By obtaining the historical temperature data of the hot water device, transforming the data based on the preset frequency analysis window, obtaining historical frequency data, and comparing it with the preset frequency threshold to identify the location where water use behavior occurs.

Benefits of technology

It realizes the detection and understanding of user water use behavior through temperature sensors only without other sensors, and solves the problems of energy waste and insecurity of user needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116067022B_ABST
    Figure CN116067022B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of water heaters, and particularly to a water usage detection method, device, storage medium, and electronic device. The method includes: obtaining historical temperature data of a hot water device; performing a transformation on the historical temperature data based on a preset frequency analysis window to obtain historical frequency data; comparing each frequency data in the historical frequency data with a preset frequency threshold respectively to obtain the positions of the historical temperature data where water usage behaviors occur; being able to complete the detection of user water usage behaviors only through a temperature sensor without using other sensors, and solving the technical problem of how to know the water usage pattern of users without using other sensors.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of water heaters, and in particular to a water use detection method, device, storage medium and electronic equipment. Background Art

[0002] The energy consumption of heat pump systems accounts for a large proportion of the total social energy consumption, and its energy-saving work is of great significance. In actual use, since it is impossible to know the user's hot water demand, the water heater often produces too much hot water, resulting in energy waste; or produces too little hot water, which cannot meet the normal use of users. Moreover, due to cost considerations, civilian water heaters are usually not equipped with other sensors besides temperature sensors such as flow sensors or valve switch sensors. It can be seen that how to know the user's water usage pattern without using other sensors is a technical problem that needs to be solved urgently.

[0003] The art urgently needs a solution to solve the technical problem of how to obtain the user's water usage pattern without using other sensors. Summary of the invention

[0004] The present invention provides a water use detection method, device, storage medium and electronic equipment, which solve the technical problem of how to obtain the water use pattern of a user without using other sensors.

[0005] In a first aspect, the present invention provides a water detection method, comprising:

[0006] Get historical temperature data of hot water devices;

[0007] Transforming the historical temperature data based on a preset frequency analysis window to obtain historical frequency data;

[0008] Each frequency data in the historical frequency data is compared with a preset frequency threshold to obtain the location of the historical temperature data where the water use behavior occurs.

[0009] In some embodiments, the historical temperature data includes data of a first length arranged continuously in time, and the historical frequency data includes data of a first length arranged continuously in time;

[0010] The length of the preset frequency analysis window is a second length, and the second length is less than or equal to the first length.

[0011] In some embodiments, when the second length is less than the first length, the step of transforming the historical temperature data based on a preset frequency analysis window to obtain the historical frequency data includes:

[0012] Transforming the historical temperature data based on a preset frequency analysis window to obtain a frequency data segment corresponding to the preset frequency analysis window;

[0013] Concatenate all frequency data segments into historical frequency data.

[0014] In some embodiments, the step of transforming the historical temperature data based on a preset frequency analysis window includes:

[0015] Perform a Fourier transform on the historical temperature data based on the preset frequency analysis window.

[0016] In some embodiments, the step of comparing each frequency data in the historical frequency data with a preset frequency threshold to obtain the position of the historical temperature data where water usage behavior occurs includes:

[0017] When the frequency data is greater than the preset frequency threshold, the position corresponding to the frequency data is the position of the historical temperature data where water usage behavior occurs;

[0018] When the frequency data is less than or equal to the preset frequency threshold, the position corresponding to the frequency data is the position of the historical temperature data of natural temperature drop.

[0019] In a second aspect, the present invention provides a water usage detection method, including:

[0020] Obtain a preset number of temperature data of the hot water device;

[0021] Transform the temperature data to obtain frequency data corresponding to the temperature data;

[0022] Compare the frequency data with a preset frequency threshold to detect whether there is current water usage behavior.

[0023] In a third aspect, the present invention provides a water usage detection device, including:

[0024] A historical data acquisition module for acquiring historical temperature data of the hot water device;

[0025] A historical data transformation module for transforming the historical temperature data based on a preset frequency analysis window to obtain historical frequency data;

[0026] A historical water usage detection module for comparing each frequency data in the historical frequency data with a preset frequency threshold to obtain the position of the historical temperature data where water usage behavior occurs.

[0027] In a fourth aspect, the present invention provides a water usage detection device, including:

[0028] A data acquisition module for acquiring a preset number of temperature data of the hot water device;

[0029] A data transformation module for transforming the temperature data to obtain frequency data corresponding to the temperature data;

[0030] A water detection module, configured to compare frequency data with a preset frequency threshold to detect whether there is a current water usage behavior.

[0031] In a fifth aspect, the present invention provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the method according to any one of the first aspect or the second aspect is implemented.

[0032] In a sixth aspect, the present invention provides a cooking device, including a processor and a memory. A computer program is stored on the memory. When the processor executes the computer program, the method according to any one of the first aspect or the second aspect is implemented.

[0033] A water detection method, device, storage medium and electronic device provided by the present invention obtain historical temperature data of a hot water device; perform transformation on the historical temperature data based on a preset frequency analysis window to obtain historical frequency data; compare each frequency data in the historical frequency data with a preset frequency threshold respectively to obtain the positions of the historical temperature data where water usage behaviors occur; and can complete the detection of the user's water usage behavior only through a temperature sensor without using other sensors, solving the technical problem of how to know the user's water usage pattern without using other sensors. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] The present invention will be described in more detail below based on embodiments and with reference to the accompanying drawings:

[0035] Figure 1 It is a schematic flowchart of a water detection method provided by an embodiment of the present invention;

[0036] Figure 2 It is a schematic structural diagram of a water detection device provided by an embodiment of the present invention;

[0037] Figure 3 It is a schematic structural diagram of another water detection device provided by an embodiment of the present invention;

[0038] Figure 4 It is a schematic structural diagram of a water tank provided by an embodiment of the present invention;

[0039] Figure 5 It is a schematic diagram of a water temperature change provided by an embodiment of the present invention;

[0040] Figure 6 It is a schematic diagram of details of a water temperature change provided by an embodiment of the present invention;

[0041] Figure 7 It is a schematic diagram of a water temperature change spectrum provided by an embodiment of the present invention.

[0042] In the drawings, the same reference numerals are used for the same components, and the drawings are not drawn to scale. DETAILED DESCRIPTION

[0043] In order to enable those skilled in the art to better understand the scheme of the present invention, and to fully understand and implement how the present invention applies technical means to solve technical problems and achieve the corresponding technical effects, the technical scheme in the embodiment of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiment of the present invention. Obviously, the described embodiment is only an embodiment of a part of the present invention, not all of the embodiments. The embodiments of the present invention and the various features in the embodiments can be combined with each other without conflict, and the technical schemes formed are all within the scope of protection of the present invention. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work should fall within the scope of protection of the present invention.

[0044] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0045] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0046] The energy consumption of heat pump system accounts for 15%-20% of the total social energy consumption, and its energy-saving work is of great significance. In actual use, since it is impossible to know the user's hot water demand, the water heater often produces too much hot water, resulting in energy waste; or produces too little hot water, which cannot meet the normal use of users. Moreover, due to cost considerations, civil water heaters are usually not equipped with other sensors besides temperature sensors such as flow sensors or valve switch sensors. It can be seen that how to know the user's water usage pattern without using other sensors is a technical problem that needs to be solved urgently.

[0047] There is an urgent need in the art for a solution to the technical problem of how to obtain the user's water usage pattern without using other sensors.

[0048] Hereinafter, the present invention will be described in conjunction with at least one embodiment.

[0049] Example 1

[0050] Figure 1 It is a schematic flow chart of a water usage detection method provided by an embodiment of the present invention. As Figure 1 shown, a water usage detection method includes:

[0051] Obtain historical temperature data of the hot water device;

[0052] Transform the historical temperature data based on a preset frequency analysis window to obtain historical frequency data;

[0053] Compare each frequency data in the historical frequency data with a preset frequency threshold respectively to obtain the positions of the historical temperature data where water usage behaviors occur.

[0054] The technical solution of this embodiment can complete the detection of the user's water usage behavior only through a temperature sensor without using other sensors by obtaining the historical temperature data of the hot water device; transforming the historical temperature data based on a preset frequency analysis window to obtain historical frequency data; and comparing each frequency data in the historical frequency data with a preset frequency threshold respectively to obtain the positions of the historical temperature data where water usage behaviors occur, thus solving the technical problem of how to obtain the user's water usage pattern without using other sensors.

[0055] Example 2

[0056] Based on the above embodiment, this embodiment provides a water usage detection method, wherein the historical temperature data includes data of a first length arranged continuously in time, and the historical frequency data includes data of a first length arranged continuously in time;

[0057] The length of the preset frequency analysis window is a second length, and the second length is less than or equal to the first length.

[0058] In some embodiments, when the second length is less than the first length, the step of transforming the historical temperature data based on a preset frequency analysis window to obtain historical frequency data includes:

[0059] Transform the historical temperature data based on a preset frequency analysis window to obtain a frequency data segment corresponding to the preset frequency analysis window;

[0060] Concatenate all the frequency data segments into historical frequency data.

[0061] In the technical solution of this embodiment, it includes: obtaining the historical temperature data of the water heater. The data is data arranged continuously in time and has a length of L. Denoise the temperature data. Set a frequency analysis window S, and the length of the frequency analysis window S is n; perform a transformation on the temperature data using the frequency analysis window S to obtain frequency domain data F.

[0062] On the frequency domain data F, set a frequency threshold m. Then, the part of the frequency domain data less than the frequency threshold m is considered the natural temperature drop part, and the position greater than the frequency threshold m is considered the temperature drop due to water use, that is, there is water use.

[0063] Map the frequency domain data to the original temperature data, then obtain the position of the natural temperature drop on the original data.

[0064] The change in the water tank temperature is mainly divided into three parts: one is the water tank heating up, the second is the natural temperature drop of the water tank, and the third is the temperature drop due to user water use. Among them, when the water tank is heated, the temperature will rise, and for the other two parts, the temperature will only drop and not rise. Since the heat preservation performance of the water tank is good and the temperature change outside the water tank is not large within a day, the influence of the temperature change outside the water tank on the water temperature change inside the water tank can be ignored. Therefore, when there is only natural temperature drop, the water temperature change inside the water tank is relatively regular and the water temperature change inside the water tank is slow; however, when user water use occurs, cold water is added to the water tank, so the water temperature change inside the water tank is irregular. Based on the above principle, this embodiment performs frequency domain analysis on the temperature data. Then, relatively low-frequency positions are more likely to be natural temperature drop positions. Therefore, a method as shown in the embodiment is designed to locate the natural temperature drop of the water tank.

[0065] After obtaining the position of the natural temperature drop through the method of the present invention, the position of the non-natural temperature drop can be estimated, and then information such as when the user uses water and how much water is used can be estimated. Finally, it can be used as a source of information about user habits.

[0066] On this basis, use the natural temperature drop and the temperature drop during water discharge as the basis for heating the water tank. For example, during natural temperature drop, start heating when the temperature drop value is greater than the preset value; during temperature drop during water discharge, start heating when the water discharge duration exceeds the preset value.

[0067] In the technical solution of this embodiment, when the length of the preset frequency analysis window is less than the length of the historical temperature data, perform a transformation on the historical temperature data based on the preset frequency analysis window to obtain a frequency data segment corresponding to the preset frequency analysis window; splice all the frequency data segments into historical frequency data; it can reduce the workload of each frequency analysis, so that frequency analysis can be completed with a computing device with lower performance, reducing the cost of frequency analysis.

[0068] Example 3

[0069] Based on the above embodiments, this embodiment provides a water usage detection method. Among them, the step of transforming historical temperature data based on a preset frequency analysis window includes:

[0070] Performing a Fourier transform on the historical temperature data based on a preset frequency analysis window.

[0071] In some embodiments, the step of comparing each frequency data in the historical frequency data with a preset frequency threshold to obtain the position of the historical temperature data where water usage behavior occurs includes:

[0072] When the frequency data is greater than the preset frequency threshold, the position corresponding to the frequency data is the position of the historical temperature data where water usage behavior occurs;

[0073] When the frequency data is less than or equal to the preset frequency threshold, the position corresponding to the frequency data is the position of the historical temperature data of natural temperature drop.

[0074] In the technical solution of this embodiment, historical temperature data of the water heater is obtained. The data is arranged continuously in time and has a length of L. Noise reduction processing is performed on the temperature data. The noise reduction principle is described in other patents and will not be elaborated in this invention. A frequency analysis window S is set, and the length of S is n; on the temperature data, a segmented Fourier transform is performed using the frequency analysis window S to obtain a frequency domain data segment f corresponding to the frequency analysis window S; all the frequency domain data segments f are spliced into a frequency domain data F with a length of L. On the frequency domain data F, a frequency threshold m is set. Then, the part of the frequency domain data less than the frequency threshold m is considered as the natural temperature drop part, and the position greater than the frequency threshold m is considered as the water temperature drop, that is, there is water usage. Mapping the frequency domain data to the original temperature data, the position of the natural temperature drop on the original data is obtained.

[0075] The technical solution of this embodiment analyzes the historical frequency data to discover the user's water usage pattern from the historical temperature data, thereby being able to provide effective data for energy conservation and emission reduction.

[0076] Example 4

[0077] Based on the above embodiments, this embodiment provides a water usage detection method, including:

[0078] Obtaining a preset number of temperature data of the hot water device;

[0079] Transforming the temperature data to obtain the frequency data corresponding to the temperature data;

[0080] Comparing the frequency data with a preset frequency threshold to detect whether there is water usage behavior currently.

[0081] In some embodiments, when the frequency data is greater than a preset frequency threshold, it is determined that there is a current water usage behavior; when the frequency data is less than or equal to the preset frequency threshold, it is determined that there is no current water usage behavior.

[0082] The technical solution of this embodiment obtains a preset number of temperature data of the hot water device; transforms the temperature data to obtain frequency data corresponding to the temperature data; compares the frequency data with a preset frequency threshold to detect whether there is a current water usage behavior; can detect the user's water usage behavior without using sensors other than the temperature sensor, so as to control the water heater to perform targeted actions, avoiding waste caused by the water heater's misheating and also avoiding the situation where the hot water cannot meet the user's needs due to the water heater not heating in time.

[0083] Example 5

[0084] Figure 2 It is a schematic structural diagram of a water usage detection device provided by an embodiment of the present invention. As Figure 2 shown, on the basis of the above embodiment, this embodiment provides a water usage detection device, including:

[0085] A historical data acquisition module for acquiring historical temperature data of the hot water device;

[0086] A historical data transformation module for transforming the historical temperature data based on a preset frequency analysis window to obtain historical frequency data;

[0087] A historical water usage detection module for comparing each frequency data in the historical frequency data with a preset frequency threshold respectively to obtain the positions of the historical temperature data where water usage behaviors occur.

[0088] For other contents of the device, please refer to the foregoing embodiment, which will not be elaborated in this embodiment.

[0089] The technical solution of this embodiment obtains historical temperature data of the hot water device; transforms the historical temperature data based on a preset frequency analysis window to obtain historical frequency data; compares each frequency data in the historical frequency data with a preset frequency threshold respectively to obtain the positions of the historical temperature data where water usage behaviors occur; can complete the detection of the user's water usage behavior only through the temperature sensor without using other sensors, and solves the technical problem of how to know the user's water usage pattern without using other sensors.

[0090] Example 6

[0091] Figure 3 It is a schematic structural diagram of another water usage detection device provided by an embodiment of the present invention. As Figure 3As shown in the figure, on the basis of the above embodiments, this embodiment provides a water usage detection device, including:

[0092] A data acquisition module, configured to acquire a preset number of temperature data of a hot water device;

[0093] A data transformation module, configured to transform the temperature data to obtain frequency data corresponding to the temperature data;

[0094] A water usage detection module, configured to compare the frequency data with a preset frequency threshold to detect whether there is a current water usage behavior.

[0095] For other contents of the device, please refer to the foregoing embodiments, which will not be elaborated in this embodiment.

[0096] The technical solution of this embodiment can detect the user's water usage behavior without using sensors other than temperature sensors by acquiring a preset number of temperature data of the hot water device, transforming the temperature data to obtain frequency data corresponding to the temperature data, and comparing the frequency data with a preset frequency threshold, so as to control the water heater to perform targeted actions, avoiding waste caused by the water heater's misheating and also avoiding the situation where the hot water cannot meet the user's needs due to the water heater not heating in time.

[0097] Example 7

[0098] On the basis of the above embodiments, this embodiment provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the method of the above embodiment is implemented.

[0099] The above storage medium may be a flash memory, a hard disk, a multimedia card, a card-type memory (such as an SD or DX memory, etc.), a random access memory (RAM), a static random access memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, a server, an App application mall, and so on.

[0100] For the content of the method, please refer to the foregoing embodiments, which will not be elaborated in this embodiment.

[0101] Example 8

[0102] On the basis of the above embodiments, this embodiment provides an electronic device, such as a water usage detector, etc., including a memory and a processor, and a computer program is stored on the memory, and when the processor executes the computer program, the method of the above embodiment is implemented.

[0103] The processor can be an application specific integrated circuit (ASIC), a digital signal processor (DSP), a digital signal processing device (DSPD), a programmable logic device (PLD), a field programmable gate array (FPGA), a controller, a microcontroller, a microprocessor or other electronic components to implement the method in the above embodiment. For the content of the method, please refer to the above embodiment, which will not be repeated in this embodiment.

[0104] The memory can be implemented by any type of volatile or non-volatile storage device or a combination of them, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk or optical disk.

[0105] The present invention designs a method for calculating the natural temperature drop of a water heater. According to the temperature sensor of the water heater, through the method of this patent, the temperature sensor (instead of the flow sensor) can be used to locate the position of the natural temperature drop of the water heater and the position of the water temperature drop, thereby detecting whether the user is using water.

[0106] Figure 4 The schematic diagram of the structure of a water tank provided by an embodiment of the present invention. Figure 4 As shown, the water tank has a cold water inlet 1, which is located at the bottom of the water tank and is connected to tap water to fill the water tank; a hot water outlet 2, which is located at the top of the water tank and outputs hot water to the user; and a temperature sensing package (temperature sensor) 3 is provided on the upper part of the water tank for measuring the water temperature in the water tank.

[0107] Figure 5 A schematic diagram of water temperature change provided by an embodiment of the present invention. Figure 5As shown in the figure, the figure shows the temperature change of the temperature sensing element in the water tank when hot water is continuously discharged and cold water is added to keep the water volume in the water tank unchanged under the condition that the hot water tank is static and there is no additional heating. Generally speaking, due to the water temperature stratification phenomenon in the water tank, when the amount of discharged water is small, the water temperature change is very small, and even the temperature change cannot be perceived. However, when the amount of discharged water exceeds a certain value, the temperature detected by the temperature sensor will drop rapidly. This phenomenon causes great difficulties in estimating the amount of discharged water.

[0108] As shown in Table 1, for the collected data part, it can be seen from the figure that the data is a time series, and the attributes include time, the temperature in the tank, the inlet water temperature, etc.; the label is the amount of discharged hot water.

[0109] Table 1

[0110]

[0111] Figure 6 This is a schematic diagram of the details of the water temperature change provided by the embodiment of the present invention. As Figure 6 shown, the change of the temperature measured by the temperature sensing element (temperature sensor) within three hours is generally relatively slow. However, due to the intermittent water use by users within three hours, the temperature change accelerates in the second half of the three hours.

[0112] Figure 7 This is a schematic diagram of the water temperature change spectrum provided by the embodiment of the present invention. As Figure 7 shown, the frequency spectrum diagram made according to the temperature curve.

[0113] The implementation manners provided by this embodiment include:

[0114] 1. Obtain the historical temperature data of the water heater. The data is continuously arranged according to time and has a length of L.

[0115] 2. Perform noise reduction processing on the temperature data. The noise reduction principle is described in other patents, and the present invention will not expand on this.

[0116] 3. Set the frequency analysis window S, and the length of S is n;

[0117] 4. Perform segmented Fourier transform on the temperature data using the frequency analysis window S to obtain the frequency domain data segment f corresponding to the frequency analysis window S;

[0118] 5. Concatenate all the frequency domain data segments f into a frequency domain data F with a length of L.

[0119] 6. Set the frequency threshold m on the frequency domain data F. Then, the part of the frequency domain data smaller than the frequency threshold m is considered as the natural temperature drop part, and the position greater than the frequency threshold m is considered as the temperature drop due to water use, that is, there is water use.

[0120] 7. Map the frequency-domain data to the original temperature data, and then the positions of the natural temperature drop on the original data can be obtained.

[0121] The temperature change of the water tank mainly consists of three parts: one is the water tank heating up, the second is the natural temperature drop of the water tank, and the third is the temperature drop when the user uses water. Among them, when the water tank is heated, the temperature will rise, and the temperature in the other two parts will only drop and not rise. Since the heat preservation performance of the water tank is good and the temperature change outside the water tank is not large within a day, the influence of the temperature change outside the water tank on the temperature change inside the water tank can be ignored. Therefore, when there is only natural temperature drop, the temperature change inside the water tank is relatively regular and the temperature change inside the water tank is slow; however, when the user uses water, cold water will be added to the water tank, so the temperature change inside the water tank is irregular. Based on the above principle, in this embodiment, frequency-domain analysis is performed on the temperature data. Then, relatively low-frequency positions are more likely to be the positions of natural temperature drop. Therefore, a method as shown in the embodiment is designed to locate the natural temperature drop of the water tank.

[0122] After obtaining the positions of the natural temperature drop by the method of the present invention, the positions of non-natural temperature drop can be estimated, and then information such as when the user uses water and how much water is used can be estimated. Finally, it can be used as a source of information about user habits.

[0123] On this basis, the natural temperature drop and the temperature drop during water discharge are used as the basis for heating the water tank. For example, during natural temperature drop, if the temperature drop value is greater than the preset value, heating will start; during water discharge temperature drop, if the water discharge duration exceeds the preset value, heating will start.

[0124] In the embodiments provided by the present invention, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are only illustrative. For example, the flowcharts and block diagrams in the drawings show the possible architectures, functions, and operations of devices, methods, and computer program products according to multiple embodiments of the present invention. In this regard, each block in the flowchart or block diagram may represent a module, a program segment, or a part of code, and the above-mentioned module, program segment, or part of code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than marked in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flowchart, and the combination of blocks in the block diagram and / or flowchart, can be implemented by a dedicated hardware-based system for performing the specified functions or actions, or can be implemented by a combination of dedicated hardware and computer instructions.

[0125] It should be noted that in the present invention, the terms "comprising", "including" or any other variant thereof are intended to cover non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article or device. Without further limitation, an element limited by the statement "comprising an..." does not exclude the presence of additional identical elements in the process, method, article or device comprising the element.

[0126] Although the embodiments disclosed in the present invention are as described above, the above content is only an embodiment adopted for the convenience of understanding the present invention and is not intended to limit the present invention. Any person skilled in the art within the technical field to which the present invention pertains may make any modifications and variations in the form of implementation and details without departing from the spirit and scope disclosed by the present invention. However, the scope of patent protection of the present invention shall still be subject to the scope defined by the appended claims.

Claims

1. A water usage detection method, characterized in that, it includes: Obtain the historical temperature data of the hot water device; Transform the historical temperature data based on a preset frequency analysis window to obtain historical frequency data; Compare each frequency data in the historical frequency data with a preset frequency threshold respectively to obtain the positions of the historical temperature data where water usage behaviors occur; wherein, the historical temperature data includes data of a first length arranged continuously in time, and the historical frequency data includes data of a first length arranged continuously in time; The length of the preset frequency analysis window is a second length, and the second length is less than or equal to the first length; wherein, when the second length is less than the first length, the step of transforming the historical temperature data based on the preset frequency analysis window to obtain historical frequency data includes: Transform the historical temperature data based on the preset frequency analysis window to obtain a frequency data segment corresponding to the preset frequency analysis window; Concatenate all the frequency data segments into historical frequency data; wherein, the step of transforming the historical temperature data based on the preset frequency analysis window includes: Perform a Fourier transform on the historical temperature data based on the preset frequency analysis window.

2. The water usage detection method according to claim 1, characterized in that, The step of comparing each frequency data in the historical frequency data with a preset frequency threshold respectively to obtain the positions of the historical temperature data where water usage behaviors occur includes: When the frequency data is greater than the preset frequency threshold, the position corresponding to the frequency data is the position of the historical temperature data where a water usage behavior occurs; When the frequency data is less than or equal to the preset frequency threshold, the position corresponding to the frequency data is the position of the historical temperature data of natural temperature drop.

3. A water usage detection method, characterized in that, it includes: Obtain a preset number of temperature data of the hot water device; Transform the temperature data based on a preset frequency analysis window to obtain the frequency data corresponding to the temperature data; Compare the frequency data with a preset frequency threshold to detect whether there is a current water usage behavior; wherein, the preset number of temperature data includes data of a first length arranged continuously in time, and the frequency data includes data of a first length arranged continuously in time; The length of the preset frequency analysis window is a second length, and the second length is less than or equal to the first length; wherein, when the second length is less than the first length, the step of transforming the temperature data based on the preset frequency analysis window to obtain the frequency data corresponding to the temperature data includes: Transform the temperature data based on the preset frequency analysis window to obtain a frequency data segment corresponding to the preset frequency analysis window; Concatenate all the frequency data segments into the frequency data corresponding to the temperature data; wherein, the step of transforming the temperature data based on the preset frequency analysis window includes: Perform a Fourier transform on the temperature data based on the preset frequency analysis window.

4. A water usage detection device based on the water usage detection method according to any one of claims 1 to 2, It is characterized in that including: a historical data acquisition module for acquiring historical temperature data of a hot water device; a historical data transformation module for transforming the historical temperature data based on a preset frequency analysis window to obtain historical frequency data; a historical water usage detection module for comparing each frequency data in the historical frequency data with a preset frequency threshold respectively to obtain the positions of the historical temperature data where water usage behaviors occur.

5. A water usage detection device for a water usage detection method according to claim 3, It is characterized in that including: a data acquisition module for acquiring a preset number of temperature data of a hot water device; a data transformation module for transforming the temperature data to obtain frequency data corresponding to the temperature data; a water usage detection module for comparing the frequency data with a preset frequency threshold to detect whether there is a current water usage behavior.

6. A computer-readable storage medium having a computer program stored thereon, It is characterized in that when the computer program is executed by a processor, it implements the water usage detection method according to any one of claims 1 to 3.

7. An electronic device including a processor and a memory, It is characterized in that a computer program is stored on the memory, and when the processor executes the computer program, it implements the water usage detection method according to any one of claims 1 to 3.

Citation Information

Patent Citations

  • A method and device for equipment failure early warning

    CN109087008A

  • Control method and equipment of double-container water heater and double-container water heater

    CN114992852A