Control method and device of water heater, electronic equipment and storage medium
Patent Information
- Application Number
- CN202311107872.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-30
- Publication Date
- 2026-10-16
- Estimated Expiration
- 2043-08-30
AI Technical Summary
但由于热水器的安装位置较高、节能功能较多、节能功能操作复杂,导致用户需要手动操作热水器的节能功能,热水器的节能功能产生的节能效果较差,用户的热水器使用体验较差;此外,由于热水器的节能效果较差,导致电能资源和水资源的浪费问题
[0021]The technical solution of this invention acquires the operating data of the energy-saving function of a water heater within a preset time period; determines the function value of the energy-saving function based on the operating data, and determines the energy-saving index of the water heater based on the operating data and the function value; when the function value is less than the preset value, or when the energy-saving index is less than the preset index, it is equivalent to determining that the user's use of the water heater's energy-saving function within the preset time period is unreasonable, that is, when the energy-saving effect produced by the water heater's energy-saving function is poor, automatically and accurately determines the energy-saving operation mode that maximizes the energy-saving effect of the energy-saving function based on the operating data, and displays the energy-saving operation mode and energy-saving index to the user; when receiving the operation command of the energy-saving operation mode triggered by the user, the water heater is automatically controlled to operate the energy-saving function according to the energy-saving operation mode without the user having to manually operate the energy-saving function, so that the water heater operates the energy-saving function according to the energy-saving operation mode to produce a better energy-saving effect, improve the energy-saving effect of the water heater, thereby solving the problem of waste of electrical and water resources, bringing users a better water heater user experience, and increasing the intelligence and convenience of the water heater.
Smart Images

Figure CN117213067B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to home appliance control technology, and more particularly to a control method, device, electronic equipment, and storage medium for a water heater. Background Technology
[0002] Currently, water heaters have various energy-saving functions, which require manual operation by the user to ensure optimal energy efficiency. However, due to the high installation location of water heaters, the numerous energy-saving functions, and the complexity of their operation, manual operation often results in poor energy savings and a less than ideal user experience. Furthermore, this poor energy efficiency leads to waste of both electrical and water resources. Summary of the Invention
[0003] This invention provides a control method, device, electronic equipment, and storage medium for a water heater. It automatically controls the water heater to operate in an energy-saving mode without requiring manual operation by the user, thereby improving the energy-saving effect of the water heater and providing users with a better water heater experience.
[0004] According to one aspect of the present invention, a method for controlling a water heater is provided, the method comprising:
[0005] Obtain the operating data of the energy-saving function of the water heater within a preset time period;
[0006] The energy-saving function value is determined based on the operating data, and the energy-saving index of the water heater is determined based on the operating data and the function value.
[0007] When the function value is less than a preset value, or when the energy-saving index is less than a preset index, the energy-saving operation mode of the energy-saving function is determined based on the operating data;
[0008] Show the user the energy-saving operation mode and the energy-saving index;
[0009] Upon receiving the operation command for the energy-saving operation mode triggered by the user, the system controls the water heater to operate the energy-saving function according to the energy-saving operation mode.
[0010] According to another aspect of the present invention, a control device for a water heater is provided, the device comprising:
[0011] The data acquisition module is used to acquire the operating data of the energy-saving function of the water heater within a preset time period;
[0012] The first determining module is used to determine the function value of the energy-saving function based on the operating data, and to determine the energy-saving index of the water heater based on the operating data and the function value.
[0013] The second determining module is used to determine the energy-saving operation mode of the energy-saving function based on the operating data when the function value is less than a preset value or when the energy-saving index is less than a preset index.
[0014] The display module is used to show users the energy-saving operation mode and the energy-saving index;
[0015] The control module is used to control the water heater to operate the energy-saving function according to the energy-saving operation mode when it receives the operation command of the energy-saving operation mode triggered by the user.
[0016] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:
[0017] At least one processor; and
[0018] A memory communicatively connected to the at least one processor; wherein,
[0019] The memory stores a computer program that can be executed by the at least one processor, which enables the at least one processor to perform the water heater control method according to any embodiment of the present invention.
[0020] According to another aspect of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium storing computer instructions for causing a processor to execute and implement the water heater control method according to any embodiment of the present invention.
[0021] The technical solution of this invention acquires the operating data of the energy-saving function of a water heater within a preset time period; determines the function value of the energy-saving function based on the operating data, and determines the energy-saving index of the water heater based on the operating data and the function value; when the function value is less than the preset value, or when the energy-saving index is less than the preset index, it is equivalent to determining that the user's use of the water heater's energy-saving function within the preset time period is unreasonable, that is, when the energy-saving effect produced by the water heater's energy-saving function is poor, automatically and accurately determines the energy-saving operation mode that maximizes the energy-saving effect of the energy-saving function based on the operating data, and displays the energy-saving operation mode and energy-saving index to the user; when receiving the operation command of the energy-saving operation mode triggered by the user, the water heater is automatically controlled to operate the energy-saving function according to the energy-saving operation mode without the user having to manually operate the energy-saving function, so that the water heater operates the energy-saving function according to the energy-saving operation mode to produce a better energy-saving effect, improve the energy-saving effect of the water heater, thereby solving the problem of waste of electrical and water resources, bringing users a better water heater user experience, and increasing the intelligence and convenience of the water heater.
[0022] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description
[0023] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0024] Figure 1 A flowchart illustrating a water heater control method provided in an embodiment of the present invention;
[0025] Figure 2 Another schematic flowchart of the water heater control method provided in this embodiment of the invention;
[0026] Figure 3a A schematic diagram of the energy-saving function optimization interface provided in an embodiment of the present invention;
[0027] Figure 3b A schematic diagram of an energy-saving index display interface provided in an embodiment of the present invention;
[0028] Figure 3c A schematic diagram of an energy-saving operation mode display interface provided in an embodiment of the present invention;
[0029] Figure 4A schematic diagram of the control device for a water heater provided in an embodiment of the present invention;
[0030] Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. Detailed Implementation
[0031] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0032] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0033] Figure 1 This is a flowchart illustrating a water heater control method provided in an embodiment of the present invention. The method can be executed by a control device for the water heater, which can be implemented in hardware and / or software. The control device can be configured in an electronic device, which can be a computer or a server. Figure 1 As shown, the method may specifically include the following steps:
[0034] S101, acquire the operating data of the water heater's energy-saving function within a preset time.
[0035] Among them, the operating data can be understood as the operating data of the water heater's energy-saving function within a preset time. The energy-saving function can be understood as the function that can reduce the energy consumption of the water heater and reduce the energy loss and waste of the water heater. The energy-saving function can include the electricity energy-saving function, water energy-saving function, and temperature energy-saving function. The operating data can include the energy consumption value and the function activation status of the water heater's energy-saving function within a preset time.
[0036] In one alternative implementation, the user terminal bound to the water heater can obtain the energy consumption value and function activation status of the water heater's energy-saving function within a preset time period, and then obtain the energy consumption value and function activation status of the water heater's energy-saving function within the preset time period from the user terminal through the server application programming interface (ServerAPI).
[0037] For example, with a preset time of 7 days, the user terminal bound to the water heater can obtain the energy consumption values and function activation status of the power saving function, water saving function, and temperature saving function within 7 days. Then, it can obtain the energy consumption values and function activation status of the power saving function, water saving function, and temperature saving function within 7 days from the user terminal through the server application programming interface.
[0038] S102, determine the energy-saving function value based on the operating data, and determine the energy-saving index of the water heater based on the operating data and the function value.
[0039] Among them, the functional value can be understood as the functional score of the energy-saving function determined based on the operating data of the energy-saving function within a preset time; the energy-saving index can be understood as the energy-saving value of the water heater determined based on the operating data of the energy-saving function within a preset time.
[0040] Since the operating data may include the energy consumption value and the activation status of the water heater's energy-saving function within a preset time, in one optional implementation, the energy consumption value and the activation status of the water heater's energy-saving function within the preset time can be obtained; the function value of the energy-saving function can be determined based on the activation status; and the energy-saving index of the water heater can be determined based on the energy consumption value and the function value.
[0041] Specifically, the energy-saving function level is determined based on the function's activation status. The function value of the energy-saving function is obtained by querying preset level information based on the function level. The preset level information includes the function values of the energy-saving functions corresponding to each function level. Then, the target energy consumption value is determined based on the energy consumption value and the first weight, and the target function value is determined based on the function value and the second weight, where the first weight is greater than the second weight. The target energy consumption value and the target function value are summed to obtain the energy-saving index of the water heater.
[0042] For example, the function level can include Excellent, Good, Medium, and Average, with a first weight of 0.8 and a second weight of 0.2. The energy consumption value (Energy) of the water heater's energy-saving function over 7 days can be obtained, along with the function's on / off status (On, On, On, On, Off, On, On) over those 7 days. The energy-saving function's function level is determined by querying the status information based on the on / off status. The status information can include the function level corresponding to each on / off status. Table 1 shows the preset level information provided in this embodiment. As shown in Table 1, when the function level is Excellent, the corresponding energy-saving function value is 95; when the function level is Good, the corresponding energy-saving function value is 85; when the function level is Medium, the corresponding energy-saving function value is 80; and when the function level is Average, the corresponding energy-saving function value is 75.
[0043] Table 1 Preset Level Information
[0044] Functional values 95 85 80 75
[0045] Then, based on the function level (excellent), the preset level information is queried to obtain the function value (FunctionScore) of the energy-saving function; based on the energy consumption value (Energy) and the first weight (0.8), the target energy consumption value is determined as Energy*0.8, and based on the function value (FunctionScore) and the second weight (0.2), the target function value (FunctionScore*0.2) is determined. The target energy consumption value and the target function value are summed to obtain the energy-saving index of the water heater: EnergyIndex = Energy*0.8 + FunctionScore*0.2.
[0046] S103: When the function value is less than the preset value, or when the energy saving index is less than the preset index, determine the energy-saving operation mode of the energy-saving function based on the operating data.
[0047] Among them, the preset value can be understood as the critical value of the preset functional value; the preset index can be understood as the critical value of the preset energy saving index.
[0048] When the function value is lower than the preset value, or when the energy-saving index is lower than the preset index, it indicates that the energy-saving effect of the water heater's energy-saving function is poor. Therefore, when the function value is lower than the preset value, or when the energy-saving index is lower than the preset index, it is necessary to determine the energy-saving operation mode of the energy-saving function based on the operating data, and then the water heater will operate the energy-saving function according to the energy-saving operation mode, so that the energy-saving function of the water heater can produce a better energy-saving effect.
[0049] In one optional implementation, it is determined whether the operating data meets the energy-saving optimization conditions; if the operating data meets the energy-saving optimization conditions, the energy-saving operation mode of the energy-saving function is determined according to the energy-saving optimization conditions. The operating data may further include temperature data, water flow data, and the activation time interval of the energy-saving function. Temperature data may include multiple set temperatures and multiple historical temperatures of the water heater within a preset time period. The set temperature can be understood as the temperature set by the user for the water heater at each time unit within the preset time period, and the time unit may be days. The historical temperature can be understood as the actual temperature of the water in the water heater at each time unit within the preset time period, and the time unit may be days. Water flow data may include multiple historical water flows of the water heater within the preset time period. The historical water flow can be understood as the water consumption flow of the water heater at each time unit within the preset time period, and the time unit may be days. The activation time interval of the energy-saving function may include multiple activation time intervals of the water heater's energy-saving function within the preset time period. The energy-saving optimization conditions can be understood as the logical conditions satisfied by the preset operating data, and the energy-saving optimization conditions may include temperature conditions, water flow conditions, and energy-saving activation conditions.
[0050] Specifically, the energy-saving optimization conditions can be determined by whether the temperature data meets the temperature condition, the water flow data meets the water flow condition, or the activation time interval meets the activation conditions for the energy-saving function. When the temperature data meets the temperature condition, the energy-saving operation mode of the temperature-saving function is obtained by querying the temperature information based on the temperature data. The temperature information includes the energy-saving operation mode of the temperature-saving function corresponding to each temperature data point. When the water flow data meets the water flow condition, the energy-saving operation mode of the water-saving function is obtained by querying the water flow information based on the water flow data. The water flow information includes the energy-saving operation mode of the water-saving function corresponding to each water flow data point. When the activation time interval meets the activation conditions for the energy-saving function, the energy-saving operation mode of the energy-saving function is obtained by querying the time interval information based on the activation time interval. The time interval information includes the energy-saving operation mode of the energy-saving function corresponding to each activation time interval.
[0051] For example, the function value is 65, the preset value is 75, the energy-saving index (EnergyIndex) is 50, and the preset index is 60. Temperature data includes the set temperature and historical temperatures; water flow data includes historical water flow. The function value is 65, the preset value is 75, and the energy-saving index (EnergyIndex) is 50, while the preset index is 60. This means the function value is less than the preset value, and the energy-saving index is less than the preset index. The operating data can be determined to meet the energy-saving optimization conditions when both the set temperature and historical temperature meet the temperature condition, or when the historical water flow meets the water flow condition, or when the activation interval meets the conditions for activating the energy-saving function. When the temperature data meets the temperature condition, the energy-saving operation mode of the temperature-based energy-saving function is obtained by querying temperature information based on the temperature data; when the water flow data meets the water flow condition, the energy-saving operation mode of the water-saving function is obtained by querying water flow information based on historical water flow; and when the activation interval meets the conditions for activating the energy-saving function, the energy-saving operation mode of the energy-saving function is obtained by querying the time interval information based on the activation interval.
[0052] S104 displays energy-saving operation modes and energy-saving indexes to users.
[0053] In one alternative implementation, an energy-saving operation mode and an energy-saving index can be sent to the terminal device, so that the user of the terminal device can determine whether to trigger the operation command of the energy-saving operation mode based on the energy-saving index.
[0054] For example, the energy-saving operation mode of the power saving function is to enable the peak-valley night power function and set the energy saving index EnergyIndex = 80. The power saving operation mode (enable peak-valley night power function) and the energy saving index EnergyIndex = 80 are sent to the terminal device so that the user of the terminal device can determine whether to trigger the operation command of the energy saving operation mode based on the energy saving index.
[0055] S105, upon receiving a user-triggered energy-saving operation command, controls the water heater to operate the energy-saving function according to the energy-saving operation mode.
[0056] For example, the energy-saving function may include a peak-valley nighttime power consumption function. The energy-saving operation mode of the energy-saving function is as follows: when the peak-valley nighttime power consumption function is activated, the water heater is controlled to activate the peak-valley nighttime power consumption function to operate the energy-saving function when the user triggers the operation command of the energy-saving operation mode.
[0057] In this embodiment, the operating data of the water heater's energy-saving function within a preset time period is acquired; the function value of the energy-saving function is determined based on the operating data; and the energy-saving index of the water heater is determined based on the operating data and the function value. When the function value is less than the preset value, or when the energy-saving index is less than the preset index, it is equivalent to determining that the user's use of the water heater's energy-saving function within the preset time period is unreasonable, i.e., the energy-saving effect produced by the water heater's energy-saving function is poor. The system automatically and accurately determines the energy-saving operation mode that maximizes the energy-saving effect of the energy-saving function based on the operating data, and displays the energy-saving operation mode and energy-saving index to the user. Upon receiving the user's command to activate the energy-saving operation mode, the system automatically controls the water heater to operate the energy-saving function according to the energy-saving operation mode without requiring manual operation by the user. This ensures that the water heater operates the energy-saving function according to the energy-saving operation mode to produce better energy-saving effects, thereby improving the energy-saving effect of the water heater, solving the problem of wasted electrical and water resources, providing users with a better water heater user experience, and increasing the intelligence and convenience of the water heater.
[0058] Figure 2 This is another flowchart illustrating the water heater control method provided in an embodiment of the present invention. The specific method can be as follows: Figure 2 As shown, the method may include the following steps:
[0059] S201, Obtain the operating data of the water heater's energy-saving function within a preset time.
[0060] The energy consumption values of the energy-saving function in the operation data within a preset time period can include both theoretical and actual energy consumption values. The theoretical energy consumption value is calculated according to the following formula.
[0061] Theoretical energy consumption = 4.2 * 10 3 *ρ*V*Δt / (3.6*10 6 ).
[0062] Where ρ can represent the density of water, V can represent the mixing volume of hot and cold water in the water heater, and Δt can represent the temperature difference between the set temperature and the inlet water temperature.
[0063] In one alternative implementation, the actual energy consumption value of the water heater's energy-saving function within a preset time period can be obtained from the terminal device via the Server API, the actual energy consumption value is determined as the energy consumption value, and the activation status of the water heater's energy-saving function within the preset time period is obtained.
[0064] In another alternative implementation, the water heater can calculate the theoretical energy consumption value by substituting the water density ρ, the mixing volume V of hot and cold water in the water heater, and the temperature difference Δt between the set temperature and the inlet water temperature into the formula for calculating the theoretical energy consumption value. Then, it can obtain the theoretical energy consumption value of the water heater's energy-saving function within a preset time from the terminal device through the Server API, determine the theoretical energy consumption value as the energy consumption value, and obtain the function activation status of the water heater's energy-saving function within the preset time.
[0065] S202, determine the energy-saving function value based on the function's activation status, and determine the water heater's energy-saving index based on the energy consumption value and the function value.
[0066] S203: When the function value is less than the preset value, or when the energy saving index is less than the preset index, determine whether the operating data meets the energy saving optimization conditions. If the operating data meets the energy saving optimization conditions, execute step S204; if the operating data does not meet the energy saving optimization conditions, return to execute step S201.
[0067] For example, the energy efficiency index of the water heater in months M1, M2, and M3 are as follows:
[0068] M1 month: EnergyIndex1=95*0.8+95*0.2=95;
[0069] M2 month: EnergyIndex2=80*0.8+95*0.2=83;
[0070] M3 month: EnergyIndex3=85*0.8+95*0.2=81.
[0071] It can be seen that the energy-saving index of the water heater is higher in month M1, indicating that the water heater has less energy surplus in month M1 and the energy-saving function is being used more reasonably. However, the energy-saving index of the water heater is lower in months M2 and M3, indicating that the water heater has more energy surplus in months M2 and M3 and the energy-saving function is being used less reasonably. Therefore, it is necessary to determine whether the operating data meets the energy-saving optimization conditions, and then determine the energy-saving operation mode of the energy-saving function based on the energy-saving optimization conditions. By controlling the water heater to operate the energy-saving function in the energy-saving mode, the goal of rationally using the energy-saving function can be achieved, thereby reducing the energy surplus of the water heater.
[0072] S204, determine the energy-saving operation mode of the energy-saving function based on the energy-saving optimization conditions.
[0073] In one optional implementation, when the temperature data meets the temperature condition, or when the water flow data meets the water flow condition, or when the activation time interval meets the power-saving function activation condition, it is determined that the operating data meets the energy-saving optimization condition. The temperature data includes the set temperature and the historical temperature, and the water flow data includes the historical water flow.
[0074] The temperature conditions can be: when the set temperature is greater than the preset set temperature and the historical temperature is greater than the first temperature, or when the set temperature is within the preset temperature range and the historical temperatures are all greater than the second temperature.
[0075] The water flow condition can be: historical water flow is less than preset water flow. This can be understood as the water flow of a preset number of consecutive time units within a preset time period being less than the preset water flow. For example, if the time unit is days, the water flow condition is that the water flow of 3 consecutive days is less than the preset water flow.
[0076] The conditions for activating the energy-saving function can be: the activation time interval exceeds the preset time interval.
[0077] For example, the function value is 15, the preset value is 16, the energy-saving index is 80, the preset index is 90, the temperature data can include the set temperature and the historical temperature, and the water flow data includes the historical water flow. That is, the function value is less than the preset value, and the energy-saving index is less than the preset index. When the set temperature is greater than the preset set temperature and the historical temperature is greater than the first temperature, or when the set temperature is within the preset temperature range and the historical temperature is greater than the second temperature, it can be determined that the temperature data meets the temperature conditions, that is, the operating data meets the energy-saving optimization conditions.
[0078] In the temperature information, when the set temperature is higher than the preset set temperature and the historical temperature is higher than the first temperature, the energy-saving operation mode of the temperature-saving function can be determined as follows: The temperature reduction mode is activated, decreasing by 5°C each time until the actual temperature reaches the lowest temperature. When the set temperature is within the preset temperature range and the historical temperatures are all higher than the second temperature, the energy-saving operation mode of the temperature-saving function can be determined as follows: The medium-temperature insulation mode is activated. The energy-saving operation mode of the temperature-saving function can be determined by querying the temperature data (set temperature, historical temperature): The temperature reduction mode is activated, decreasing by 5°C each time until the actual temperature reaches the lowest temperature. When the set temperature is within the preset temperature range and the historical temperatures are all higher than the second temperature, it can be determined that the temperature data meets the temperature conditions, i.e., the operating data meets the energy-saving optimization conditions. The energy-saving operation mode of the temperature-saving function can be determined by querying the temperature data (set temperature, historical temperature): The medium-temperature insulation mode is activated.
[0079] Optionally, the historical temperature data may include a preset number of temperature values that decrease continuously, and the time interval between adjacent decreasing temperature values is less than the shortest time. This can determine that the user is using a large amount of water, and the energy-saving operation mode of the temperature energy-saving function can be determined to be: enabling the scheduled shower mode.
[0080] For example, the shortest time is 2 minutes, the preset quantity is 5, and the historical temperature includes Date1 (T1 30℃, T2 29℃, T3 28℃, T4 27℃, T5 26℃). The time interval between T1, T2, T3, T4, and T5 is less than 2 minutes. It can be determined that the historical temperature includes 5 consecutively decreasing temperature values and the time interval between adjacent decreasing temperature values is less than 2 minutes. It can be determined that the user uses a lot of water, and the energy-saving operation mode of the temperature energy-saving function can be determined to be: turn on the scheduled shower mode.
[0081] When the historical water flow is less than the preset water flow, the corresponding energy-saving operation mode of the water-saving function is: automatic shutdown mode is enabled. Historical water flow can include: Date1 water flow 8, Date2 water flow 7, and Date3 water flow 9. The preset time is 7 days. It can be determined that the water flow is less than the preset water flow for 3 consecutive days within those 7 days. This confirms that the historical water flow meets the water flow condition, meaning the operating data meets the energy-saving optimization condition. Therefore, by querying the water flow information based on the historical water flow, the energy-saving operation mode of the water-saving function is determined to be: automatic shutdown mode is enabled.
[0082] In the time interval information, when the activation time interval exceeds the preset time interval, the corresponding power-saving function operation mode is: activating the peak-valley nighttime power function. The power-saving function can be the peak-valley nighttime power function. The activation time interval for the peak-valley nighttime power function is 4 days, and the preset time interval is 3 days. Therefore, it is determined that the activation time interval exceeds the preset time interval, and the activation time interval meets the activation condition of the power-saving function, that is, the operation data meets the energy-saving optimization condition. Based on the activation time interval interpolated into the time interval information, the operation mode of the power-saving function is obtained as: activating the peak-valley nighttime power function.
[0083] Optionally, the energy-saving function may also include a timed on / off function. The energy-saving operation mode corresponding to the timed on / off function is: turn on the timed on / off (default 6:00 on - 7:00 off, 20:00 on - 21:00 off). The energy-saving operation mode of turning on the timed on / off function can be displayed to the user at the same time.
[0084] S205 demonstrates energy-saving operation modes and energy-saving indices to users.
[0085] For example, such as Figure 3aAs shown, the energy-saving operation mode and energy-saving index can be displayed on the energy-saving function optimization interface of the terminal device. Energy-saving operation modes can include: 1. Activating the temperature reduction mode, decreasing the temperature by 5°C each time until the lowest water temperature is reached; 2. Activating the medium-temperature insulation mode; 3. Activating the peak-valley nighttime power consumption function; 4. Activating the timed on / off function; 5. Activating the scheduled water usage function; 6. Activating the scheduled shower mode; 7. Activating the automatic shutdown mode. The energy-saving function optimization interface can include a "one-click energy saving" control. After the user clicks the "one-click energy saving" control, the interface receives the operation command for the energy-saving operation mode triggered by the user. The energy-saving function optimization interface can also include an "energy saving" control in the display box for each energy-saving operation mode. After the user clicks the "energy saving" control, the interface receives the operation command for the corresponding energy-saving operation mode triggered by the user. For example, after the user clicks the "energy saving" control in the display box for "activating scheduled water usage function," the interface receives the operation command for "activating scheduled water usage function."
[0086] Optionally, such as Figure 3b As shown, the energy-saving index can also be displayed to the user first on the energy-saving index display interface, which includes a "View Energy-Saving Operation Mode" control. When the user clicks the "View Energy-Saving Operation Mode" control, the energy-saving index is then displayed on the terminal device. Figure 3c The interface displays energy-saving operation modes, including a "One-Click Energy Saving" control. Clicking this control activates the user's command to activate the corresponding energy-saving mode. Each energy-saving operation mode display box can also include an "Energy Saving" control; clicking this control activates the command to activate the corresponding energy-saving mode.
[0087] S206: When receiving an operation command triggered by the user for the energy-saving operation mode, control the water heater to operate the energy-saving function according to the energy-saving operation mode.
[0088] In this embodiment, the system automatically and accurately determines the energy-saving operation mode that maximizes the energy-saving effect of the energy-saving function based on the operating data, and displays the energy-saving operation mode and energy-saving index to the user. When the system receives the operation command of the energy-saving operation mode triggered by the user, the system automatically controls the water heater to operate the energy-saving function according to the energy-saving operation mode without the user having to manually operate the energy-saving function. This allows the water heater to produce better energy-saving effects, improve the energy-saving effect of the water heater, and thus solve the problem of waste of electrical and water resources, bringing users a better water heater user experience and increasing the intelligence and convenience of the water heater.
[0089] Figure 4This is a schematic diagram of a control device for a water heater provided in an embodiment of the present invention. This device is suitable for executing the control method for the water heater provided by the present invention. Figure 4 As shown, the device may specifically include:
[0090] The data acquisition module 401 is used to acquire the operating data of the energy-saving function of the water heater within a preset time.
[0091] The first determining module 402 is used to determine the function value of the energy-saving function based on the operating data, and to determine the energy-saving index of the water heater based on the operating data and the function value.
[0092] The second determining module 403 is used to determine the energy-saving operation mode of the energy-saving function based on the operating data when the function value is less than a preset value or when the energy-saving index is less than a preset index.
[0093] Display module 404 is used to display the energy-saving operation mode and the energy-saving index to the user;
[0094] The control module 405 is used to control the water heater to operate the energy-saving function according to the energy-saving operation mode when it receives the operation command of the energy-saving operation mode triggered by the user.
[0095] Optionally, the operating data includes the energy consumption value and function activation status of the water heater's energy-saving function within a preset time period. The first determining module 401 is specifically used for:
[0096] The energy-saving function value is determined based on the function's activation status, and the energy-saving index of the water heater is determined based on the energy consumption value and the function value.
[0097] Optionally, the first determining module 401 determines the function value of the energy-saving function based on the function activation state, including:
[0098] The function level of the energy-saving function is determined based on the function's activation status.
[0099] The function value of the energy-saving function is obtained by querying the preset level information according to the function level. The preset level information includes the function value of the energy-saving function corresponding to each function level.
[0100] Optionally, the first determining module 401 determines the energy-saving index of the water heater based on the energy consumption value and the function value, including:
[0101] The target energy consumption value is determined based on the energy consumption value and the first weight, and the target function value is determined based on the function value and the second weight, wherein the first weight is greater than the second weight;
[0102] The energy-saving index of the water heater is obtained by summing the target energy consumption value and the target function value.
[0103] Optionally, the second determining module 402 determines the energy-saving operation mode of the energy-saving function based on the operating data, including:
[0104] Determine whether the operating data meets the energy-saving optimization conditions;
[0105] When the operating data meets the energy-saving optimization conditions, the energy-saving operation mode of the energy-saving function is determined according to the energy-saving optimization conditions.
[0106] Optionally, the energy-saving function includes an electricity-saving function, and the operating data further includes temperature data, water flow data, and the activation time interval of the electricity-saving function. The energy-saving optimization conditions include temperature conditions, water flow conditions, and the activation conditions of the electricity-saving function. The second determining module 402 determines whether the operating data meets the energy-saving optimization conditions, including:
[0107] When the temperature data meets the temperature condition, or when the water flow data meets the water flow condition, or when the activation time interval meets the power-saving function activation condition, it is determined that the operating data meets the energy-saving optimization condition. The temperature data includes the set temperature and the historical temperature, and the water flow data includes the historical water flow.
[0108] The temperature conditions are: the set temperature is greater than the preset set temperature and the historical temperature is greater than the first temperature, or the set temperature belongs to the preset temperature range and the historical temperatures are all greater than the second temperature;
[0109] The water flow condition is: the historical water flow is less than the preset water flow.
[0110] The power-saving function is activated when the activation time interval exceeds a preset time interval.
[0111] Optionally, the energy-saving function further includes temperature energy-saving function and water-saving function. The second determining module 402 determines the energy-saving operation mode of the energy-saving function according to the energy-saving optimization conditions, including:
[0112] When the temperature data meets the temperature condition, the energy-saving operation mode of the temperature energy-saving function is obtained by querying the temperature information based on the temperature data. The temperature information includes the energy-saving operation mode of the temperature energy-saving function corresponding to each temperature data.
[0113] When the water flow data meets the water flow condition, the water flow information is queried based on the water flow data to obtain the energy-saving operation mode of the water-saving function. The water flow information includes the energy-saving operation mode of the water-saving function corresponding to each water flow data.
[0114] When the activation time interval meets the activation conditions of the energy-saving function, the energy-saving operation mode of the energy-saving function is obtained by querying the time interval information according to the activation time interval. The time interval information includes the energy-saving operation mode of the energy-saving function corresponding to each activation time interval.
[0115] The water heater control device provided in this embodiment can execute the water heater control method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the method.
[0116] Figure 5 A schematic diagram of a computer system 10, which can be used to implement embodiments of the present invention, is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.
[0117] like Figure 5 As shown, the computer system 10 includes at least one processor 11 and memory, such as a read-only memory (ROM) 12 and a random access memory (RAM) 13, communicatively connected to the at least one processor 11. The memory stores computer programs executable by the at least one processor. The processor 11 can perform various appropriate actions and processes based on the computer programs stored in the ROM 12 or loaded from storage unit 18 into the RAM 13. The RAM 13 can also store various programs and data required for the operation of the computer system 10. The processor 11, ROM 12, and RAM 13 are interconnected via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0118] Multiple components in computer system 10 are connected to I / O interface 15, including: input unit 16, such as keyboard, mouse, etc.; output unit 17, such as various types of monitors, speakers, etc.; storage unit 18, such as disk, optical disk, etc.; and communication unit 19, such as network card, modem, wireless transceiver, etc. Communication unit 19 allows computer system 10 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0119] Processor 11 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 11 performs the various methods and processes described above, such as the control methods for a water heater.
[0120] In some embodiments, the water heater control method may be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on computer system 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the water heater control method described above may be performed. Alternatively, in other embodiments, processor 11 may be configured to perform the water heater control method by any other suitable means (e.g., by means of firmware).
[0121] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0122] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0123] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.
[0124] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0125] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or computing systems that include middleware components (e.g., application servers), or computing systems that include frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.
[0126] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.
[0127] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.
[0128] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.
Claims
1. A method for controlling a water heater, characterized in that, The method includes: Obtain the operating data of the energy-saving function of the water heater within a preset time period; The energy-saving function's functional value is determined based on the operating data, and the water heater's energy-saving index is determined based on the operating data and the functional value; the functional value is the energy-saving function's functional score determined based on the operating data of the energy-saving function within a preset time period. When the function value is less than a preset value, or when the energy-saving index is less than a preset index, the energy-saving operation mode of the energy-saving function is determined based on the operating data; Show the user the energy-saving operation mode and the energy-saving index; Upon receiving the operation command for the energy-saving operation mode triggered by the user, the system controls the water heater to operate the energy-saving function according to the energy-saving operation mode; The operating data includes the energy consumption value and activation status of the water heater's energy-saving function within a preset time. Determining the energy-saving function value of the water heater based on the operating data, and determining the water heater's energy-saving index based on the operating data and the energy-saving function value, includes: The energy-saving function value is determined based on the function's activation status, and the energy-saving index of the water heater is determined based on the energy consumption value and the function value. Determining the function value of the energy-saving function based on the function's activation state includes: The function level of the energy-saving function is determined based on the function's activation status. The function value of the energy-saving function is obtained by querying the preset level information according to the function level. The preset level information includes the function value of the energy-saving function corresponding to each function level. Determining the energy-saving index of the water heater based on the energy consumption value and the function value includes: The target energy consumption value is determined based on the energy consumption value and the first weight, and the target function value is determined based on the function value and the second weight, wherein the first weight is greater than the second weight; The energy-saving index of the water heater is obtained by summing the target energy consumption value and the target function value.
2. The method according to claim 1, characterized in that, The step of determining the energy-saving operation mode of the energy-saving function based on the operating data includes: Determine whether the operating data meets the energy-saving optimization conditions; When the operating data meets the energy-saving optimization conditions, the energy-saving operation mode of the energy-saving function is determined according to the energy-saving optimization conditions.
3. The method according to claim 2, characterized in that, The energy-saving function includes an electricity-saving function. The operating data also includes temperature data, water flow data, and the activation time interval of the electricity-saving function. The energy-saving optimization conditions include temperature conditions, water flow conditions, and activation conditions of the electricity-saving function. Determining whether the operating data meets the energy-saving optimization conditions includes: When the temperature data meets the temperature condition, or when the water flow data meets the water flow condition, or when the activation time interval meets the power-saving function activation condition, it is determined that the operating data meets the energy-saving optimization condition. The temperature data includes the set temperature and the historical temperature, and the water flow data includes the historical water flow. The temperature conditions are: the set temperature is greater than the preset set temperature and the historical temperature is greater than the first temperature, or the set temperature belongs to the preset temperature range and the historical temperatures are all greater than the second temperature; The water flow condition is: the historical water flow is less than the preset water flow. The power-saving function is activated when the activation time interval exceeds a preset time interval.
4. The method according to claim 3, characterized in that, The energy-saving function also includes temperature energy-saving function and water-saving function. Determining the energy-saving operation mode of the energy-saving function based on the energy-saving optimization conditions includes: When the temperature data meets the temperature condition, the energy-saving operation mode of the temperature energy-saving function is obtained by querying the temperature information based on the temperature data. The temperature information includes the energy-saving operation mode of the temperature energy-saving function corresponding to each temperature data. When the water flow data meets the water flow condition, the water flow information is queried based on the water flow data to obtain the energy-saving operation mode of the water-saving function. The water flow information includes the energy-saving operation mode of the water-saving function corresponding to each water flow data. When the activation time interval meets the activation conditions of the energy-saving function, the energy-saving operation mode of the energy-saving function is obtained by querying the time interval information according to the activation time interval. The time interval information includes the energy-saving operation mode of the energy-saving function corresponding to each activation time interval.
5. A control device for a water heater, used to execute the control method for a water heater according to any one of claims 1 to 4, characterized in that, The device includes: The data acquisition module is used to acquire the operating data of the energy-saving function of the water heater within a preset time period; The first determining module is used to determine the function value of the energy-saving function based on the operating data, and to determine the energy-saving index of the water heater based on the operating data and the function value. The second determining module is used to determine the energy-saving operation mode of the energy-saving function based on the operating data when the function value is less than a preset value or when the energy-saving index is less than a preset index. The display module is used to show users the energy-saving operation mode and the energy-saving index; The control module is used to control the water heater to operate the energy-saving function according to the energy-saving operation mode when it receives the operation command of the energy-saving operation mode triggered by the user.
6. An electronic device, characterized in that, include: At least one processor; as well as A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the control method for the water heater according to any one of claims 1-4.
7. A computer-readable storage medium storing computer instructions, characterized in that, The computer instructions are used to cause the processor to implement the control method for the water heater as described in any one of claims 1-4.
Citation Information
Patent Citations
Water storage type water heater control method, device, equipment and medium
CN114963571A
Electric water heater electricity-saving quantity determination method and electric water heater
CN115146433A