Water consumption acquisition method, device, equipment, medium and product for water heater

CN115145977BActive Publication Date: 2026-09-04QINGDAO ECONOMIC AND TECHNOLOGICAL DEVELOPMENT ZONE HAIER WATER HEATER CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110352531.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-03-31
Publication Date
2026-09-04
Estimated Expiration
2041-03-31

AI Technical Summary

Technical Problem

[0005]本申请提供一种热水器用水量获取方法、装置、设备、介质及产品,用以解决现有技术中对于没有安装流量传感器的热水器,无法获得用户的用水量的技术问题

Benefits of technology

[0032] This application provides a method, apparatus, device, medium, and product for obtaining water consumption data for a water heater. By acquiring the minimum inlet water temperature and total energy consumption during each water usage period, the water consumption for that period can be calculated. Then, based on the water consumption during each water usage period, the water consumption for a corresponding preset time period can be calculated. Since this application can use the minimum inlet water temperature and total energy consumption to calculate the user's water consumption, the solution provided by this application can also obtain the user's water consumption for water heaters without a flow sensor.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115145977B_ABST
    Figure CN115145977B_ABST
Patent Text Reader

Abstract

The application provides a water consumption acquisition method, device, equipment, medium and product for a water heater, and the method comprises the following steps: determining a water use period corresponding to each water use event in a preset period; for each water use period in the preset period, acquiring the water inlet temperature and the total energy consumption of the water heater in the water use period; determining the minimum value of the water inlet temperature in the water use period according to the water inlet temperature of the water heater in the water use period; calculating the water consumption in the water use period according to the minimum value of the water inlet temperature and the total energy consumption in each water use period; and calculating the water consumption in the preset period according to all the water use periods in the preset period. The water consumption acquisition method for the water heater provided by the application can also obtain the water consumption of the user for the water heater without installing a flow sensor.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of water heater technology, and in particular to a method, apparatus, equipment, medium and product for obtaining water consumption data of a water heater. Background Technology

[0002] As people's living standards improve, the demand for intelligent water heaters is also increasing. To provide better service to users, researchers are constantly innovating to make water heaters more intelligent. For example, they can set appropriate temperature settings based on the user's water demand, heating cold water to the set temperature. This ensures that the user's water needs are met while avoiding excessive heating and energy waste. Therefore, it is necessary to obtain the user's water consumption data.

[0003] In existing technologies, a flow sensor installed at the inlet of the water heater is generally used to obtain the user's water consumption.

[0004] However, for water heaters without a flow sensor, it is impossible to obtain the user's water usage. Summary of the Invention

[0005] This application provides a method, apparatus, equipment, medium, and product for obtaining water consumption data from a water heater, in order to solve the technical problem in the prior art that the user's water consumption cannot be obtained for water heaters without a flow sensor.

[0006] In a first aspect, this application provides a method for obtaining water consumption of a water heater, comprising: determining the water consumption period corresponding to each water consumption event within a preset time period; for each water consumption period within the preset time period, obtaining the inlet water temperature and total energy consumption of the water heater during that water consumption period; determining the minimum inlet water temperature within the water consumption period based on the inlet water temperature of the water heater during that water consumption period; calculating the water consumption during that water consumption period based on the minimum inlet water temperature and total energy consumption during each water consumption period; and calculating the water consumption within the preset time period based on all water consumption periods within the preset time period.

[0007] Optionally, in the method described above, before obtaining the inlet water temperature of the water heater for each water usage period within a preset time period, the method further includes: obtaining multiple reported data sent by the water heater during each water usage period, wherein the reported data includes an inlet water temperature field; obtaining the inlet water temperature of the water heater for each water usage period within the preset time period includes: if the inlet water temperature field is not empty or zero, extracting the temperature value from the inlet water temperature field of the multiple reported data as the inlet water temperature of the water heater during the water usage period.

[0008] Optionally, the method described above, after obtaining multiple reported data sent by the water heater during each water usage period, further includes: if the inlet water temperature field is empty or zero, obtaining the geographical location information of the water heater, and obtaining the first inlet water temperature corresponding to the preset time period and the geographical location information of the water heater from the remote server; and determining the inlet water temperature of the water heater during the water usage period based on the first inlet water temperature.

[0009] Optionally, in the method described above, after determining the minimum inlet water temperature during the water usage period based on the inlet water temperature of the water heater during the water usage period, the method further includes: if the minimum inlet water temperature during the water usage period is not less than a preset temperature threshold, then obtaining the geographical location information of the water heater, and obtaining a second inlet water temperature corresponding to the preset time period and the geographical location information of the water heater from a remote server; and determining the inlet water temperature of the water heater during the water usage period based on the second inlet water temperature.

[0010] Optionally, in the method described above, before obtaining the inlet water temperature and total energy consumption of the water heater for each water usage period within a preset time period, the method further includes: obtaining multiple reported data sent by the water heater during each water usage period, wherein the reported data includes a cumulative energy consumption field; if the cumulative energy consumption field in the last reported data is not zero, then the total energy consumption of the water heater during the water usage period is determined based on the energy consumption value in the cumulative energy consumption field and the energy consumption value in the cumulative energy consumption field of the first reported data; if the cumulative energy consumption field in the last reported data is zero, then the total energy consumption of the water heater during the water usage period is determined based on the largest energy consumption value in the cumulative energy consumption field of the multiple reported data and the energy consumption value in the cumulative energy consumption field of the first reported data.

[0011] Optionally, as described above, before obtaining the inlet water temperature and total energy consumption of the water heater for each water usage period within the preset time period, the method further includes: obtaining multiple reported data sent by the water heater at different times within each water usage period, wherein the reported data includes a cumulative time field and a cumulative energy consumption field corresponding to the different sending times; if the value of the cumulative time field in the later reported data is less than the value of the cumulative time field in the earlier reported data, then the water usage period corresponding to the time before and after the earlier reported data and the time corresponding to the time after the later reported data are split into different water usage periods to update the water usage periods within the preset time period.

[0012] Optionally, as described above, before obtaining the inlet water temperature and total energy consumption of the water heater for each water usage period within a preset time period, the method further includes: obtaining multiple reported data sent by the water heater at different times within each water usage period, wherein the reported data includes the sending time of the reported data and the cumulative time field corresponding to the different sending times; if the time interval between the start water usage times corresponding to adjacent reported data is greater than a preset time threshold, then the water usage period corresponding to the time before and after the previous reported data and the time corresponding to the time after the next reported data are split into different water usage periods to update the water usage periods within the preset time period; wherein, the start water usage time corresponding to the reported data is the time corresponding to the reported data minus the value in the cumulative time field of the reported data.

[0013] Optionally, in the method described above, calculating the water consumption during each water consumption period based on the minimum inlet water temperature and total energy consumption includes: calculating the water consumption during each water consumption period using a first formula based on the minimum inlet water temperature and total energy consumption during each water consumption period; the first formula is:

[0014] V = 100 * E t / [C*(T 出 -T 进 )],

[0015] Where V is the water consumption during the specified water usage period, and E t The total energy consumption of the water heater during the stated water usage period is given by C, where C is the specific heat capacity of water, and T is the total energy consumption of the water heater during the stated water usage period. 出 T is the preset outlet water temperature. 进 This is the minimum inlet water temperature of the water heater during the specified water usage period.

[0016] Secondly, this application provides a water consumption acquisition device for a water heater, comprising: a determining module for determining the water consumption period corresponding to each water consumption event within a preset time period; an acquisition module for acquiring the inlet water temperature and total energy consumption of the water heater during each water consumption period within the preset time period; the determining module is further configured to determine the minimum inlet water temperature within the water consumption period based on the inlet water temperature of the water heater during the water consumption period; a calculation module for calculating the water consumption during each water consumption period based on the minimum inlet water temperature and total energy consumption; and the calculation module is further configured to calculate the water consumption within the preset time period based on all water consumption periods within the preset time period.

[0017] Optionally, in the apparatus described above, the acquisition module is specifically used to: acquire multiple reported data sent by the water heater during each water usage period, the reported data including an inlet water temperature field; for each water usage period within a preset time period, acquire the inlet water temperature of the water heater during that water usage period, including: if the inlet water temperature field is not empty or zero, extracting the temperature value from the inlet water temperature field of the multiple reported data as the inlet water temperature of the water heater during that water usage period.

[0018] Optionally, in the apparatus described above, the acquisition module is further specifically configured to: if the inlet water temperature field is empty or zero, acquire the geographical location information of the water heater, and acquire the first inlet water temperature corresponding to the preset time period and the geographical location information of the water heater from a remote server; and determine the inlet water temperature of the water heater during the water usage period based on the first inlet water temperature.

[0019] Optionally, in the device described above, the acquisition module is further specifically configured to: if the minimum value of the inlet water temperature during the water usage period is not less than a preset temperature threshold, acquire the geographical location information of the water heater, and acquire a second inlet water temperature corresponding to the preset time period and the geographical location information of the water heater from a remote server; and determine the inlet water temperature of the water heater during the water usage period based on the second inlet water temperature.

[0020] Optionally, in the apparatus described above, the acquisition module is further specifically configured to: acquire multiple reported data sent by the water heater during each water usage period, the reported data including a cumulative energy consumption field; if the cumulative energy consumption field in the last reported data is not zero, then determine the total energy consumption of the water heater during the water usage period based on the energy consumption value in the cumulative energy consumption field and the energy consumption value in the cumulative energy consumption field of the first reported data; if the cumulative energy consumption field in the last reported data is zero, then determine the total energy consumption of the water heater during the water usage period based on the largest energy consumption value in the cumulative energy consumption field of the multiple reported data and the energy consumption value in the cumulative energy consumption field of the first reported data.

[0021] Optionally, in the apparatus described above, the acquisition module is further specifically configured to: acquire multiple reported data sent by the water heater at different times within each water usage period, wherein the reported data includes a cumulative time field and a cumulative energy consumption field corresponding to the different sending times; if, in adjacent reported data, the value of the cumulative time field in the later reported data is less than the value of the cumulative time field in the earlier reported data, then the water usage period corresponding to the time before and after the earlier reported data and the time corresponding to the later reported data are split into different water usage periods to update the water usage periods within the preset time period.

[0022] Optionally, in the apparatus described above, the acquisition module is further configured to: acquire multiple reported data sent by the water heater at different times within each water usage period, wherein the reported data includes the sending time of the reported data and the cumulative time field corresponding to the different sending times; if the time interval between the start water usage times corresponding to adjacent reported data is greater than a preset time threshold, then the water usage period corresponding to the time before and after the previous reported data and the time corresponding to the time after the next reported data are split into different water usage periods to update the water usage periods within the preset time period; wherein the start water usage time corresponding to the reported data is the time corresponding to the reported data minus the value in the cumulative time field of the reported data.

[0023] Optionally, in the apparatus described above, the calculation module is specifically used to: calculate the water consumption during each water consumption period based on the minimum inlet water temperature and total energy consumption, combined with a first formula; the first formula is:

[0024] V = 100 * E t / [C*(T 出 -T 进 )],

[0025] Where V is the water consumption during the specified water usage period, and E t The total energy consumption of the water heater during the stated water usage period is given by C, where C is the specific heat capacity of water, and T is the total energy consumption of the water heater during the stated water usage period. 出 T is the preset outlet water temperature. 进 This is the minimum inlet water temperature of the water heater during the specified water usage period.

[0026] Thirdly, embodiments of this application provide a water consumption acquisition device for a water heater, comprising:

[0027] Memory, processor;

[0028] Memory; memory for storing executable instructions of the processor;

[0029] The processor is configured to execute processor-executable instructions stored in the memory to implement the water consumption acquisition method for a water heater as described in the first aspect.

[0030] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the water consumption acquisition method for a water heater as described in the first aspect.

[0031] Fifthly, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the water consumption acquisition method for a water heater as described in the first aspect.

[0032] This application provides a method, apparatus, device, medium, and product for obtaining water consumption data for a water heater. By acquiring the minimum inlet water temperature and total energy consumption during each water usage period, the water consumption for that period can be calculated. Then, based on the water consumption during each water usage period, the water consumption for a corresponding preset time period can be calculated. Since this application can use the minimum inlet water temperature and total energy consumption to calculate the user's water consumption, the solution provided by this application can also obtain the user's water consumption for water heaters without a flow sensor.

[0033] It should be understood that the content described in the foregoing summary section is not intended to limit the key or essential features of the embodiments of this application, nor is it intended to restrict the scope of this application. Other features of this application will become readily apparent from the following description. Attached Figure Description

[0034] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0035] Figure 1 A schematic diagram of an application scenario for the water consumption acquisition method for a water heater provided in an embodiment of this application;

[0036] Figure 2 A flowchart of a method for obtaining water consumption of a water heater provided in Embodiment 1 of this application;

[0037] Figure 3 A flowchart of a method for obtaining water consumption of a water heater provided in Embodiment 2 of this application;

[0038] Figure 4 This is a schematic diagram of the structure of a water consumption acquisition device for a water heater provided in Embodiment 5 of this application;

[0039] Figure 5 This is a schematic diagram of a water consumption acquisition device for a water heater provided in Embodiment Six of this application.

[0040] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation

[0041] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0042] To clearly understand the technical solution of this application, the solutions of the prior art will be described in detail first.

[0043] In the existing technology, the method for obtaining the water consumption of a water heater is as follows: first, a flow sensor installed at the inlet of the water heater is used to collect the water flow during the water use process, and then the collected water flow is multiplied by the water use duration to obtain the water consumption during the water use process.

[0044] However, for water heaters without flow sensors, the user's water consumption cannot be obtained in this way.

[0045] To address the aforementioned technical problems, in this embodiment, the water consumption for each water usage period can be calculated by obtaining the minimum inlet water temperature and total energy consumption during that period. Then, based on the water consumption for each water usage period, the water consumption for a corresponding preset time period can be calculated. Since this application can use the minimum inlet water temperature and total energy consumption as parameters to calculate the user's water consumption, the solution provided in this embodiment can also obtain the user's water consumption for water heaters without a flow sensor.

[0046] The embodiments of this application are described in detail below with reference to the accompanying drawings:

[0047] First, the application scenarios of the embodiments of this application will be introduced:

[0048] Figure 1 This is a schematic diagram illustrating an application scenario of the water consumption acquisition method for a water heater provided in this application embodiment. This method can be executed by a water consumption acquisition device for the water heater. In practical scenarios, this water consumption acquisition device can be set up independently or it can be set up on a cloud service platform.

[0049] For water heaters without flow sensors, to obtain water usage data, the water heater uploads reported data, including but not limited to inlet water temperature, cumulative time, and cumulative energy consumption, to a water usage acquisition device in a cloud service platform. The water usage acquisition device determines relevant parameters for calculating water usage based on the reported data and then performs the calculation. The calculated water usage can be queried by the user or used in other scenarios, such as big data analysis. Figure 1As shown in the diagram, the system includes a cloud service platform 1, a water heater 2, and a user-held terminal device 3. Communication connections can be established between the cloud service platform 1 and the water heater 2, as well as between the cloud service platform 1 and the terminal device 3. For example, the cloud service platform 1 obtains and stores the water consumption data of the water heater 2 for different time periods. When a user needs to query water consumption data, they can send a query command to the cloud service platform 1 through the terminal device 3. Upon receiving the query command, the cloud service platform 1 sends the water consumption data for the corresponding time period to the terminal device 3, thus enabling the water heater water consumption query function. Alternatively, the cloud service platform 1 can also perform data analysis on the large amount of stored water consumption data to understand the user's water consumption habits.

[0050] Example 1

[0051] Figure 2 The flowchart of the water consumption acquisition method for a water heater provided in Embodiment 1 of this application is as follows: Figure 2 As shown, the execution subject in this embodiment is a water heater water consumption acquisition device. The water heater water consumption acquisition method provided in this embodiment includes:

[0052] Step 101: Determine the water usage period corresponding to each water usage event within the preset time period.

[0053] For example, in a practical application, a water heater periodically sends reported data to a cloud service platform to store the data. The water consumption monitoring device can retrieve this data from the cloud platform and determine whether a user is using water based on the water consumption flag field. For instance, a "0" in the flag field indicates no water usage, while a "1" indicates usage. The device then determines the water consumption period corresponding to each water consumption event within a preset time frame. The process of changing the flag field from "0" to "1" and then back to "0" is recorded as one water consumption event.

[0054] The preset time period can be from 19:00 to 21:00 during the day, or it can be any other time period; this embodiment does not limit this. The period for sending and reporting data at regular intervals can be a few seconds or tens of seconds; this embodiment does not limit this. In practice, multiple water usage events may occur within a single time period. For example, if the water usage flag field changes from "0" to "1" at 19:10 and then changes from "1" to "0" at 19:15, then 19:10 to 19:15 is considered the water usage period corresponding to one water usage event. Similarly, if another water usage event is detected between 19:40 and 20:40, then within the preset time period of 19:00 to 21:00, a total of two water usage events occurred, corresponding to water usage periods of 19:10 to 19:15 and 19:40 to 20:40, respectively.

[0055] Step 102: For each water usage period within the preset time period, obtain the inlet water temperature and total energy consumption of the water heater during that water usage period.

[0056] For a practical example, after determining the water usage period corresponding to each water usage event within a preset time period, the inlet water temperature and total energy consumption for each water usage period within the preset time period are obtained. The inlet water temperature can have multiple values. The total energy consumption refers to the total energy consumption of the water heater during the entire period from the beginning to the end of a single water usage period.

[0057] Taking the reported data as an example, the total energy consumption for a given water usage period can be determined based on the cumulative energy consumption data in the first and last reported data. In one implementation, if the cumulative energy consumption data at the start of the water usage period is zero, the cumulative energy consumption data at the end of the water usage period is determined as the total energy consumption for that period. In another implementation, if the cumulative energy consumption data at the start of the water usage period is not zero, the difference between the cumulative energy consumption data at the end of the water usage period and the cumulative energy consumption data at the start of the water usage period is calculated, and the result of this difference is determined as the total energy consumption for that period.

[0058] Step 103: Determine the minimum inlet water temperature during the water usage period based on the inlet water temperature of the water heater during the water usage period.

[0059] Taking a practical application example, after obtaining the inlet water temperature and total energy consumption for each water usage period within a preset time period, the water consumption acquisition device of the water heater can compare multiple inlet water temperatures obtained for the same water usage period to obtain the minimum inlet water temperature within that water usage period, and then obtain the minimum inlet water temperature for all water usage periods within the preset time period through comparison.

[0060] It should be noted that before water enters the system, there may be a certain amount of water in the inlet pipe. The water in the pipe may be higher than the tap water supply temperature due to the influence of indoor temperature. Therefore, the minimum inlet water temperature during a certain water usage period is used to represent the actual inlet water temperature.

[0061] Step 104: Calculate the water consumption during each water consumption period based on the minimum inlet water temperature and total energy consumption.

[0062] To illustrate with a practical example, based on the minimum inlet water temperature and total energy consumption, the water consumption during each corresponding water usage period within a preset time frame can be calculated. Continuing with the previous example, to calculate the water consumption of the water heater during the period from 19:00 to 21:00, specifically for the two water usage periods of 19:10 to 19:15 and 19:40 to 20:40, the water consumption of the water heater during these two periods is obtained using the methods in steps 102 to 104, so that the total water consumption for the entire period can be calculated subsequently.

[0063] Step 105: Calculate the water consumption within the preset time period based on all water consumption periods within the preset time period.

[0064] To illustrate with a practical example, after obtaining the water consumption for each corresponding water usage period within the preset time period in step 104, the water consumption for all water usage periods within the preset time period is summed to obtain the total water consumption for the preset time period. Continuing with the previous example, the water consumption of the water heater from 19:00 to 21:00 can be obtained by calculating the sum of the water consumption for the two water usage periods: 19:10 to 19:15 and 19:40 to 20:40.

[0065] In this embodiment, the water usage period corresponding to each water usage event within a preset time period is determined; for each water usage period within the preset time period, the inlet water temperature and total energy consumption of the water heater within that water usage period are obtained; based on the inlet water temperature of the water heater within that water usage period, the minimum inlet water temperature within that water usage period is determined; based on the minimum inlet water temperature and total energy consumption within each water usage period, the water consumption within that water usage period is calculated; and based on all water usage periods within the preset time period, the water consumption within the preset time period is calculated. Since this application can use the minimum inlet water temperature and total energy consumption as parameters to calculate the user's water consumption, the solution provided in this embodiment can also obtain the user's water consumption for water heaters without a flow sensor.

[0066] Example 2

[0067] Figure 3 The flowchart of the water consumption acquisition method for a water heater provided in Embodiment 2 of this application is as follows: Figure 3 As shown, based on Embodiment 1, the method for obtaining water consumption of a water heater further includes the following steps:

[0068] Step 201: Obtain multiple reported data messages sent by the water heater during each water usage period. The reported data includes the inlet water temperature field.

[0069] Accordingly, step 102, which involves obtaining the inlet water temperature of the water heater for each water usage period within a preset time period, specifically includes:

[0070] Step 202: If the inlet water temperature field is not empty or zero, extract the temperature value from the inlet water temperature field of multiple reported data and use it as the inlet water temperature of the water heater during the water usage period.

[0071] Specifically, for a specific water usage period, the water consumption acquisition device can obtain the water heater's reported data from the cloud service platform. If it is determined that the inlet water temperature field in the reported data is not empty or zero, the temperature value in the inlet water temperature field is extracted and used as the inlet water temperature of the water heater during that water usage period.

[0072] In one embodiment, after step 201, the method further includes: if the inlet water temperature field is empty or zero, obtaining the geographical location information of the water heater, and obtaining the first inlet water temperature corresponding to the preset time period and the geographical location information of the water heater from the remote server; and determining the inlet water temperature of the water heater during the water usage period based on the first inlet water temperature.

[0073] To illustrate this implementation method using a specific water usage period as an example, the water consumption acquisition device can obtain reported data from the water heater via a cloud service platform. If the inlet water temperature field in the reported data is empty or zero, the device obtains the water heater's geographical location information and retrieves the first inlet water temperature for the corresponding preset time period from a remote server based on this geographical location information. In practical applications, the inlet water temperature on the remote server can be obtained by relevant departments through surveys and statistics. For example, the statistical data may include inlet water temperature data for various regions in different months. In this case, the water consumption acquisition device can obtain the inlet water temperature data for the month in which the water heater's geographical location falls within the preset time period, and use this as the first inlet water temperature. Alternatively, the statistical data may not be differentiated by geographical location; for example, it may only include the average inlet water temperature for each region in each month. In this case, it is impossible to obtain the first inlet water temperature based on geographical location. Therefore, the average inlet water temperature for the month in the preset time period can be obtained as the first inlet water temperature.

[0074] In this embodiment, when the inlet water temperature field in the reported data is empty or zero, the inlet water temperature of the water heater during the water usage period can be obtained from the remote server to ensure the accuracy of the water consumption calculation results during the water usage period, thereby further ensuring the accuracy of the water consumption calculation results within the preset time period in which the water usage period is located.

[0075] In one embodiment, after determining the minimum inlet water temperature during the water usage period based on the inlet water temperature of the water heater during the water usage period, the method further includes: if the minimum inlet water temperature during the water usage period is not less than a preset temperature threshold, then obtaining the geographical location information of the water heater, and obtaining a second inlet water temperature corresponding to the preset time period and the geographical location information of the water heater from a remote server; and determining the inlet water temperature of the water heater during the water usage period based on the second inlet water temperature.

[0076] The preset temperature threshold can be 30℃. Taking a specific water usage period as an example, after determining the minimum inlet water temperature during that period, the minimum value is compared with the preset temperature threshold. If the minimum value is not less than the preset temperature threshold, the geographical location information of the water heater is obtained, and based on this geographical location information, the second inlet water temperature for the corresponding preset period is retrieved from a remote server.

[0077] Taking a specific water usage period as an example, if the remote server does not have second inlet water temperature data corresponding to the geographical location of the water heater, the inlet water temperature for that water usage period is obtained from a preset temperature data table. This preset temperature data table contains the average inlet water temperature for each month across various regions, obtained through surveys and statistics from relevant departments. In this embodiment, when the remote server does not have second inlet water temperature data corresponding to the geographical location, the inlet water temperature can be obtained from the preset temperature data table to ensure the accuracy of the water consumption calculation results for that water usage period, thereby further ensuring the accuracy of the water consumption calculation results for the preset time period in which that water usage period falls.

[0078] In this embodiment, when the inlet water temperature data in the reported data is abnormal, the inlet water temperature of the water heater during the water usage period can be obtained from the remote server to ensure the accuracy of the water consumption calculation results during the water usage period, thereby further ensuring the accuracy of the water consumption calculation results within the preset time period in which the water usage period is located.

[0079] In this embodiment, when the water consumption during a certain water usage period is obtained, the inlet water temperature data in the reported data is obtained, and the inlet water temperature data is substituted into the first formula to calculate the water consumption during the certain water usage period. When the inlet water temperature value is empty or zero, or when the inlet water temperature data is abnormal, the inlet water temperature is obtained from a remote server or a preset temperature data table. This can ensure the accuracy of the water consumption calculation result during the water usage period, and further ensure the accuracy of the water consumption calculation result within the preset time period in which the water usage period is located.

[0080] Example 3

[0081] This application provides a method for obtaining water consumption of a water heater in embodiment three. Based on embodiment one or two, before step 102, the method further includes:

[0082] Obtain multiple reported data messages sent by the water heater during each water usage period, wherein the reported data includes a cumulative energy consumption field;

[0083] If the cumulative energy consumption field in the last reported data is not zero, the total energy consumption of the water heater during the water usage period is determined based on the energy consumption value in the cumulative energy consumption field and the energy consumption value in the cumulative energy consumption field in the first reported data.

[0084] If the cumulative energy consumption field in the last reported data is zero, then the total energy consumption of the water heater during the water usage period is determined based on the largest energy consumption value among the cumulative energy consumption fields of the multiple reported data and the energy consumption value in the cumulative energy consumption field of the first reported data.

[0085] In this embodiment, the water consumption acquisition device acquires multiple reported data from the water heater during each water usage period. Taking a specific water usage period as an example, if the cumulative energy consumption field in the last reported data is not zero, the total energy consumption of the water heater during that water usage period is determined based on the energy consumption value in the cumulative energy consumption field and the energy consumption value in the cumulative energy consumption field of the first reported data. If the cumulative energy consumption field in the last reported data is zero, it may be due to a power outage, and the energy consumption data in the cumulative energy consumption field is set to zero after power is restored. In this case, the total energy consumption of the water heater during that water usage period can be determined based on the energy consumption value in the cumulative energy consumption field of the second-to-last reported data and the energy consumption value in the cumulative energy consumption field of the first reported data. Specifically, the difference between these two values ​​is taken as the total energy consumption of the water heater during that water usage period.

[0086] To illustrate with data, Table 1 shows a schematic of data reporting interruptions caused by a power outage. Each column in Table 1 represents a reported data entry, including but not limited to a flag, cumulative energy consumption, cumulative time, and time. The flag in Table 1 changes from "0" to "1" and then back to "0," indicating a complete water usage event. As shown in Table 1, the cumulative energy consumption data in the last column is zero. Therefore, the difference between the cumulative energy consumption data (120) in the second-to-last column and the cumulative energy consumption data (0) in the second column is calculated to obtain 120, which is then determined as the total energy consumption of the water heater during that water usage period. Using the solution provided in this embodiment, even if a power outage occurs during a certain water usage period, a relatively accurate total energy consumption value for that period can be obtained, thus ensuring the accuracy of the water usage data obtained within that preset period.

[0087] Table 1

[0088] Cumulative energy consumption 0 20 40 60 80 100 120 0 Cumulative Time 0 10 20 30 40 50 60 0 time 10:00 10:10 10:20 10:30 10:40 10:50 11:00 11:10

[0089] This application provides another method for obtaining water consumption of a water heater in Embodiment 3. Based on Embodiment 1 or Embodiment 2, before step 102, the method further includes:

[0090] Acquire multiple reported data messages sent by the water heater at different times during each water usage period. The reported data includes the cumulative time field and the cumulative energy consumption field corresponding to different sending times.

[0091] If the cumulative time field value in the later reported data is less than the cumulative time field value in the earlier reported data, then the water usage period corresponding to the time of the earlier reported data and the time before and after the time of the later reported data will be split into different water usage periods to update the water usage periods within the preset time period.

[0092] The reported data corresponds to the time when the water heater sends the reported data. In this embodiment, the water consumption acquisition device acquires multiple reported data messages sent by the water heater during each water consumption period. Taking a specific water consumption period as an example, the device acquires the corresponding time field, cumulative time field, and cumulative energy consumption field from all reported data for that water consumption period. If, in two adjacent reported data messages, the value of the cumulative time field in the later reported data message is less than the value of the cumulative time field in the earlier reported data message, it is determined that the cumulative time has restarted counting during the time period between the reporting times of these two data messages, which means the cumulative energy consumption has restarted counting. Therefore, the water consumption period corresponding to the time of the earlier reported data message and the time before and after the time of the later reported data message is divided into different water consumption periods to update the water consumption periods within the preset time period.

[0093] To illustrate with the data, Table 2 shows a schematic diagram of the restart of cumulative energy consumption counting. Each column in Table 2 represents a reported data point, including but not limited to a flag, cumulative time, and time. The flag in Table 2 changes from "0" to "1" and then back to "0," indicating a complete water usage event. As shown in Table 2, the cumulative time data in column 6 is less than the cumulative time data in column 5. This confirms that the cumulative time count restarted within the time interval between these two reported data points, meaning the cumulative energy consumption count restarted. Therefore, the water usage period before 10:30 in column 5 and after 11:30 in column 6 are split into two different water usage periods, defined as Event 1 and Event 2, to update the water usage period within the preset time frame. Using the solution provided in this implementation, even when the cumulative time count restarts, the calculation of water consumption is not omitted, thus ensuring the accuracy of the obtained water consumption data within the preset time frame.

[0094] Table 2

[0095]

[0096] This application provides a third embodiment of a method for obtaining water consumption from a water heater, which, based on embodiment one or two, further includes the following method before step 102:

[0097] Obtain multiple reported data messages sent by the water heater at different times during each water usage period. The reported data includes the sending time of the reported data and the cumulative time field corresponding to the different sending times.

[0098] If the time interval between the start times of water use corresponding to adjacent reported data is greater than a preset time threshold, the water use period corresponding to the time of the previous reported data and the time before and after the time of the next reported data will be divided into different water use periods to update the water use periods within the preset time period.

[0099] The start time of water use corresponding to the reported data is the time corresponding to the reported data minus the value in the cumulative time field of the reported data.

[0100] In this embodiment, the water consumption acquisition device acquires multiple reported data messages sent by the water heater during each water consumption period. The time corresponding to the reported data refers to the time when the water heater reported the data, and the reported data includes the time of the reported data. Taking a specific water consumption period as an example, the device acquires the cumulative time field from all reported data for that period. If, in two adjacent reported data messages, the difference between the time and the cumulative time (the value in the cumulative time field) in the later reported data message and the difference between the time and the cumulative time in the earlier reported data message are greater than a preset time threshold, meaning the time interval between the start times of the two adjacent reported data messages is greater than the preset time threshold, then a data reporting interruption is determined. The water consumption period corresponding to the time before and after the earlier reported data message and the time corresponding to the time after the later reported data message are then divided into different water consumption periods to update the water consumption periods within the preset time period. The preset time threshold can be set based on statistical data or experience; for example, it can be 30 minutes.

[0101] To illustrate this, Table 3 shows a diagram illustrating data reporting interruptions caused by network outages. Each column in Table 3 represents a reported data entry, including but not limited to a flag, cumulative time, and time. The flag in Table 3 changes from "0" to "1" and then back to "0," indicating a complete water usage event. As shown in Table 3, the difference between the time data and cumulative time data in column 6 and the difference between the time data and cumulative time data in column 5 exceeds 30 minutes. Therefore, the water usage periods at 10:30 and before in column 5 and at 13:30 and after in column 6 are split into two distinct water usage periods, defined as Event 1 and Event 2, to update the water usage periods within the preset time frame. Using the solution provided in this embodiment, when a data interruption occurs, splitting the water usage periods and then calculating the water consumption yields more accurate water consumption data within the preset time frame.

[0102] Table 3

[0103]

[0104] It should be noted that the above implementation methods can be implemented individually or in combination, depending on the actual reported data. For example, if multiple scenarios occur during a certain water usage period, the corresponding implementation methods can be combined for calculation. Furthermore, the implementation method for obtaining total energy consumption under different scenarios provided in this embodiment and the implementation method for obtaining inlet water temperature under different scenarios in Embodiment 2 can also be implemented in combination. When implemented in combination, both may involve reporting data. Therefore, the steps for obtaining the reported data can be merged, meaning the reported data includes the required data, such as the inlet water temperature field, cumulative time field, and cumulative energy consumption field, without needing to obtain the reported data separately.

[0105] In this embodiment, updating the water usage periods within a preset time period refers to re-dividing each water usage period within the preset time period. Accordingly, when calculating the water consumption within the preset time period, steps 102 to 104 are first executed for each updated water usage period to obtain the water consumption for each updated water usage period. Then, the water consumption of all updated water usage periods is summed to obtain the water consumption for the preset time period.

[0106] In this embodiment, when obtaining the total energy consumption during a certain water usage period, various abnormal situations are considered, such as power outages caused by human intervention, the restart of cumulative energy consumption counting, and network interruptions. A method for obtaining the total energy consumption is provided for each abnormal situation, which can ensure the accuracy of the water consumption calculation results during that water usage period, thereby further ensuring the accuracy of the water consumption calculation results within the preset time period in which that water usage period is located.

[0107] Example 4

[0108] Based on any of the above embodiments, the water consumption during each water consumption period is calculated according to the minimum inlet water temperature and total energy consumption, including:

[0109] Based on the minimum inlet water temperature and total energy consumption during each water usage period, and using the first formula, the water consumption during that period is calculated. The first formula is:

[0110] V = 100 * E t / [C*(T 出 -T 进 )],

[0111] Where V represents the water consumption during the water usage period, and E t T represents the total energy consumption of the water heater during the water usage period, where C is the specific heat capacity of water, and T is the total energy consumption of the water heater during the water usage period. 出 T is the preset outlet water temperature. 进 This is the minimum inlet water temperature of the water heater during the water usage period.

[0112] Among them, T 出 The temperature is generally 40℃.

[0113] In this embodiment, when calculating the water consumption for a certain water usage period, the minimum inlet water temperature and total energy consumption within that water usage period are substituted into the first formula to calculate the water consumption for that water usage period. In this embodiment, by utilizing the physical relationship between inlet and outlet water temperatures, total energy consumption, and water consumption, a relatively accurate water consumption for that water usage period can be obtained.

[0114] Example 5

[0115] Figure 4 This is a schematic diagram of the structure of a water heater water consumption acquisition device provided in Embodiment 5 of this application, as shown below. Figure 4 As shown, the water consumption acquisition device for a water heater provided in this embodiment includes: a determination module 31, an acquisition module 32, and a calculation module 33.

[0116] The system comprises the following modules: Determining module 31, which determines the water usage period corresponding to each water usage event within a preset time period; Acquisition module 32, which acquires the inlet water temperature and total energy consumption of the water heater for each water usage period within the preset time period; Determining module 31, which also determines the minimum inlet water temperature within each water usage period based on the inlet water temperature of the water heater during that period; and Calculation module 33, which calculates the water consumption within each water usage period based on the minimum inlet water temperature and total energy consumption. Calculation module 33, which further calculates the water consumption within the preset time period based on all water usage periods within the preset time period.

[0117] Optionally, the acquisition module 32 is specifically used to: acquire multiple reported data sent by the water heater during each water usage period, the reported data including the inlet water temperature field; for each water usage period within a preset period, acquire the inlet water temperature of the water heater during that water usage period, including: if the inlet water temperature field is not empty or zero, extract the temperature value from the inlet water temperature field of the multiple reported data as the inlet water temperature of the water heater during the water usage period.

[0118] Optionally, the acquisition module 32 is further specifically used for: if the inlet water temperature field is empty or zero, acquiring the geographical location information of the water heater, and acquiring the first inlet water temperature corresponding to the preset time period and the geographical location information of the water heater from the remote server; and determining the inlet water temperature of the water heater during the water usage period based on the first inlet water temperature.

[0119] Optionally, the acquisition module 32 is further specifically used for: if the minimum inlet water temperature during the water usage period is not less than a preset temperature threshold, then acquiring the geographical location information of the water heater, and acquiring the second inlet water temperature corresponding to the preset time period and the geographical location information of the water heater from the remote server; and determining the inlet water temperature of the water heater during the water usage period based on the second inlet water temperature.

[0120] Optionally, the acquisition module 32 is further specifically used to: acquire multiple reported data sent by the water heater during each water usage period, the reported data including a cumulative energy consumption field; if the cumulative energy consumption field in the last reported data is not zero, then determine the total energy consumption of the water heater during the water usage period based on the energy consumption value in the cumulative energy consumption field and the energy consumption value in the cumulative energy consumption field of the first reported data; if the cumulative energy consumption field in the last reported data is zero, then determine the total energy consumption of the water heater during the water usage period based on the largest energy consumption value in the cumulative energy consumption field of the multiple reported data and the energy consumption value in the cumulative energy consumption field of the first reported data.

[0121] Optionally, the acquisition module 32 is further specifically used to: acquire multiple reported data sent by the water heater at different times within each water usage period, the reported data including the cumulative time field and the cumulative energy consumption field corresponding to different sending times; if the value of the cumulative time field in the later reported data is less than the value of the cumulative time field in the earlier reported data, then the water usage period corresponding to the time of the earlier reported data and before and the time corresponding to the later reported data and after is split into different water usage periods, so as to update the water usage periods within the preset time period.

[0122] Optionally, the acquisition module 32 is further specifically used to: acquire multiple reported data sent by the water heater at different times within each water usage period, the reported data including the sending time of the reported data and the cumulative time field corresponding to different sending times; if the time interval between the start water usage times corresponding to adjacent reported data is greater than a preset time threshold, then the water usage period corresponding to the time of the previous reported data and before it and the time corresponding to the time of the next reported data and after it is divided into different water usage periods, so as to update the water usage periods within the preset time period; wherein, the start water usage time corresponding to the reported data is the time corresponding to the reported data minus the value in the cumulative time field of the reported data.

[0123] Optionally, the calculation module 33 is specifically used to: calculate the water consumption during each water consumption period based on the minimum inlet water temperature and total energy consumption, combined with the first formula; the first formula is:

[0124] V = 100 * E t / [C*(T 出 -T 进 )],

[0125] Where V represents the water consumption during the water usage period, and E t T represents the total energy consumption of the water heater during the water usage period, where C is the specific heat capacity of water, and T is the total energy consumption of the water heater during the water usage period. 出 T is the preset outlet water temperature. 进 This is the minimum inlet water temperature of the water heater during the water usage period.

[0126] The water consumption acquisition device for water heaters provided in this embodiment can execute the technical solutions of the aforementioned method embodiments one to three. Its implementation principle and technical effect are similar, and will not be repeated here.

[0127] Example 6

[0128] Figure 5 This is a schematic diagram of a water consumption acquisition device for a water heater provided in Embodiment Six of this application. Figure 5 As shown, the water consumption acquisition device for the water heater includes: a memory 1 and a processor 2.

[0129] Memory 1 is configured to store processor-executable instructions. Memory 1 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, 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.

[0130] Memory 1 and processor 2 are interconnected via circuitry. Specifically, the various components are interconnected via a bus and can be mounted on a common motherboard or otherwise installed as needed. The processor can process instructions executed within the water consumption acquisition device of the water heater.

[0131] Example 7

[0132] Embodiment 7 of this application provides a computer-readable storage medium.

[0133] When the instructions in the storage medium are executed by the processor, the water consumption acquisition device for the water heater is able to perform the above-mentioned water consumption acquisition method for the water heater.

[0134] Example 8

[0135] Embodiment 8 of this application provides a computer program product. This computer program product includes a computer program that, when executed by a processor, implements the aforementioned method for obtaining water usage data from a water heater.

[0136] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the application disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this application are indicated by the following claims.

[0137] It should be understood that this application is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.

Claims

1. A method for obtaining water consumption of a water heater, characterized in that, include: Determine the water usage period corresponding to each water usage event within a preset time period; For each water usage period within a preset time period, perform the following operations to calculate the water consumption during that water usage period: obtain the inlet water temperature of the water heater during that water usage period and the total energy consumption for heating water during that water usage period; determine the minimum inlet water temperature during that water usage period to characterize the actual inlet water temperature based on the inlet water temperature of the water heater during that water usage period. Based on the minimum inlet water temperature and the total energy consumption during each water usage period, and in conjunction with the first formula, the water consumption during that water usage period is calculated; the first formula is: V=100 E t / [C (T 出 -T 进 )], Where V is the water consumption during the specified water usage period, and E t The total energy consumption of the water heater during the stated water usage period is given by C, where C is the specific heat capacity of water, and T is the total energy consumption of the water heater during the stated water usage period. 出 T is the preset outlet water temperature. 进 This is the minimum inlet water temperature of the water heater during the specified water usage period; Based on all water usage periods within the preset time period, the water usage in each water usage period is summed to calculate the water usage within the preset time period. The method further includes, after determining the minimum inlet water temperature during the water usage period based on the inlet water temperature of the water heater during the water usage period, the minimum inlet water temperature during the water usage period is not less than a preset temperature threshold. If the minimum inlet water temperature during the water usage period is not less than a preset temperature threshold, then the geographical location information of the water heater is obtained, and a second inlet water temperature corresponding to the preset time period and the geographical location information of the water heater is obtained from a remote server; and the T value in the first formula is... 进 Replace with the second inlet water temperature.

2. The method according to claim 1, characterized in that, Before obtaining the inlet water temperature of the water heater for each water usage period within a preset time period, the method further includes: Obtain multiple reported data messages sent by the water heater during each water usage period, wherein the reported data includes an inlet water temperature field; For each water usage period within a preset time period, obtain the inlet water temperature of the water heater during that water usage period, including: If the inlet water temperature field is not empty or zero, the temperature value in the inlet water temperature field of multiple reported data is extracted as the inlet water temperature of the water heater during the water usage period.

3. The method according to claim 2, characterized in that, After obtaining multiple reported data messages sent by the water heater during each water usage period, the process also includes: If the inlet water temperature field is empty or zero, the geographical location information of the water heater is obtained, and the first inlet water temperature corresponding to the preset time period and the geographical location information of the water heater is obtained from the remote server; based on the first inlet water temperature, the inlet water temperature of the water heater during the water usage period is determined.

4. The method according to claim 1, characterized in that, Before obtaining the inlet water temperature of the water heater and the total energy consumption for heating water during each water usage period within a preset time period, the method further includes: Obtain multiple reported data messages sent by the water heater during each water usage period, wherein the reported data includes a cumulative energy consumption field; If the cumulative energy consumption field in the last reported data is not zero, the total energy consumption of the water heater during the water usage period is determined based on the energy consumption value in the cumulative energy consumption field and the energy consumption value in the cumulative energy consumption field in the first reported data. If the cumulative energy consumption field in the last reported data is zero, then the total energy consumption of the water heater during the water usage period is determined based on the largest energy consumption value in the cumulative energy consumption field of the multiple reported data and the energy consumption value in the cumulative energy consumption field of the first reported data.

5. The method according to claim 1, characterized in that, Before obtaining the inlet water temperature of the water heater and the total energy consumption for heating water during each water usage period within a preset time period, the method further includes: Acquire multiple reported data messages sent by the water heater at different times during each water usage period. The reported data includes the cumulative time field and the cumulative energy consumption field corresponding to the different sending times. If the cumulative time field value in the later reported data is less than the cumulative time field value in the earlier reported data, then the water usage period corresponding to the time of the earlier reported data and the time before and after the time of the later reported data will be divided into different water usage periods to update the water usage periods within the preset time period.

6. The method according to claim 1, characterized in that, Before obtaining the inlet water temperature of the water heater and the total energy consumption for heating water during each water usage period within a preset time period, the method further includes: Obtain multiple reported data messages sent by the water heater at different times during each water usage period. The reported data includes the sending time of the reported data and the cumulative time field corresponding to the different sending times. If the time interval between the start times of water use corresponding to adjacent reported data is greater than a preset time threshold, the water use period corresponding to the time of the previous reported data and the time before and after the time of the next reported data will be divided into different water use periods to update the water use periods within the preset time period. The start time of water use corresponding to the reported data is the time corresponding to the reported data minus the value in the cumulative time field of the reported data.

7. A water consumption measurement device for a water heater, characterized in that, include: The determination module is used to determine the water usage period corresponding to each water usage event within a preset time period; The acquisition module is used to acquire the inlet water temperature of the water heater and the total energy consumption for heating water during each water usage period within a preset time period. The determining module is further configured to determine, based on the water inlet temperature of the water heater during the water usage period, the minimum value of the water inlet temperature during the water usage period used to characterize the actual water inlet temperature. The calculation module is used to calculate the water consumption during each water consumption period based on the minimum inlet water temperature and the total energy consumption, combined with a first formula; the first formula is: V=100 E t / [C (T 出 -T 进 )], Where V is the water consumption during the specified water usage period, and E t The total energy consumption of the water heater during the stated water usage period is given by C, where C is the specific heat capacity of water, and T is the total energy consumption of the water heater during the stated water usage period. 出 T is the preset outlet water temperature. 进 This is the minimum inlet water temperature of the water heater during the specified water usage period; The calculation module is also used to sum up the water consumption in each water consumption period according to all water consumption periods within the preset time period, and calculate the water consumption within the preset time period. After determining the minimum inlet water temperature during the water usage period, which characterizes the actual inlet water temperature, based on the inlet water temperature of the water heater during the water usage period, the acquisition module is further configured to: if the minimum inlet water temperature during the water usage period is not less than a preset temperature threshold, acquire the geographical location information of the water heater, and acquire a second inlet water temperature corresponding to the preset time period and the geographical location information of the water heater from a remote server; and set the T value in the first formula as follows: 进 Replace with the second inlet water temperature.

8. A device for obtaining water usage data for a water heater, comprising: Memory, processor; Memory; Memory used to store the processor's executable instructions; The processor is configured to execute processor-executable instructions stored in the memory to implement the water consumption acquisition method for a water heater as described in any one of claims 1-6.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the water consumption acquisition method for a water heater as described in any one of claims 1-6.

10. A computer program product comprising a computer program that, when executed by a processor, implements the water consumption acquisition method for a water heater as described in any one of claims 1-6.

Citation Information

Patent Citations

  • Water heater, heating control method of water heater and computer readable storage medium

    CN110398065A

  • Water consumption prediction method and device for water heater, water heater and electronic device

    CN110598336A