CN117213067A - Control method and device of water heater, electronic equipment and storage medium - Google Patents
Control method and device of water heater, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN117213067A CN117213067A CN202311107872.3A CN202311107872A CN117213067A CN 117213067 A CN117213067 A CN 117213067A CN 202311107872 A CN202311107872 A CN 202311107872A CN 117213067 A CN117213067 A CN 117213067A
- Authority
- CN
- China
- Prior art keywords
- energy
- saving
- function
- water heater
- temperature
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 title claims abstract description 250
- 238000000034 method Methods 0.000 title claims abstract description 49
- 230000001960 triggered effect Effects 0.000 claims abstract description 17
- 230000006870 function Effects 0.000 claims description 329
- 238000005265 energy consumption Methods 0.000 claims description 42
- 238000005457 optimization Methods 0.000 claims description 33
- 238000004590 computer program Methods 0.000 claims description 16
- 230000000694 effects Effects 0.000 abstract description 19
- 230000005611 electricity Effects 0.000 description 13
- 238000004891 communication Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 8
- 238000012545 processing Methods 0.000 description 6
- 239000002699 waste material Substances 0.000 description 5
- 230000008569 process Effects 0.000 description 4
- 238000003287 bathing Methods 0.000 description 3
- 230000003247 decreasing effect Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 238000004321 preservation Methods 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000011521 glass Substances 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000001953 sensory effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Landscapes
- Heat-Pump Type And Storage Water Heaters (AREA)
Abstract
The invention discloses a control method and device of a water heater, electronic equipment and a storage medium, wherein the method comprises the following steps: acquiring operation data of an energy-saving function of the water heater within a preset time; determining a function value of the energy-saving function according to the operation data, and determining an energy-saving index of the water heater according to the operation data and the function value; when the function value is smaller than the preset value or the energy saving index is smaller than the preset index, determining an energy saving operation mode of the energy saving function according to the operation data; displaying the energy-saving operation mode and the energy-saving index to a user; when an operation instruction of an energy-saving operation mode triggered by a user is received, controlling the water heater to operate an energy-saving function according to the energy-saving operation mode. According to the technical scheme, a user does not need to manually operate the energy-saving function, the water heater is automatically controlled to operate the energy-saving function according to the energy-saving operation mode, so that the water heater can operate the energy-saving function according to the energy-saving operation mode to generate a better energy-saving effect, and the energy-saving effect of the water heater is improved.
Description
Technical Field
The present invention relates to household electrical appliance control technologies, and in particular, to a control method and apparatus for a water heater, an electronic device, and a storage medium.
Background
At present, a water heater has various energy-saving functions, and a user is required to manually operate the energy-saving functions so that the water heater can operate in a relatively energy-saving operation mode. However, because the installation position of the water heater is higher, the energy-saving functions are more, and the energy-saving functions are complex to operate, the energy-saving functions of the water heater need to be manually operated by a user, the energy-saving effect generated by the energy-saving functions of the water heater is poor, and the use experience of the water heater of the user is poor; in addition, the energy-saving effect of the water heater is poor, so that the waste of electric energy resources and water resources is caused.
Disclosure of Invention
The invention provides a control method, a device, electronic equipment and a storage medium of a water heater, which do not need a user to manually operate an energy-saving function and automatically control the water heater to operate the energy-saving function according to an energy-saving operation mode, so that the water heater can operate the energy-saving function according to the energy-saving operation mode to generate better energy-saving effect, the energy-saving effect of the water heater is improved, and better use experience of the water heater is brought to the user.
According to an aspect of the present invention, there is provided a control method of a water heater, the method comprising:
acquiring operation data of the energy-saving function of the water heater within a preset time;
Determining a function value of the energy-saving function according to the operation data, and determining an energy-saving index of the water heater according to the operation data and the function value;
when the function value is smaller than a preset value or the energy saving index is smaller than a preset index, determining an energy saving operation mode of the energy saving function according to the operation data;
displaying the energy-saving operation mode and the energy-saving index to a user;
when an operation instruction of the energy-saving operation mode triggered by the user is received, controlling the water heater to operate the energy-saving function according to the energy-saving operation mode.
According to another aspect of the present invention, there is provided a control apparatus of a water heater, the apparatus comprising:
the data acquisition module is used for acquiring operation data of the energy-saving function of the water heater within a preset time;
the first determining module is used for determining a function value of the energy-saving function according to the operation data and determining an energy-saving index of the water heater according to the operation data and the function value;
the second determining module is used for determining an energy-saving operation mode of the energy-saving function according to the operation data when the function value is smaller than a preset value or the energy-saving index is smaller than a preset index;
The display module is used for displaying the energy-saving operation mode and the energy-saving index to a user;
and the control module is used for controlling the water heater to operate the energy-saving function according to the energy-saving operation mode when receiving the operation instruction of the energy-saving operation mode triggered by the user.
According to another aspect of the present invention, there is provided an electronic apparatus including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the method of controlling the water heater according to any one of the embodiments of the present invention.
According to another aspect of the present invention, there is provided a computer readable storage medium storing computer instructions for causing a processor to execute a control method of a water heater according to any one of the embodiments of the present invention.
According to the technical scheme, operation data of the energy-saving function of the water heater in a preset time are obtained; determining a function value of the energy-saving function according to the operation data, and determining an energy-saving index of the water heater according to the operation data and the function value; when the function value is smaller than the preset value or the energy-saving index is smaller than the preset index, the method is equivalent to determining that the energy-saving function of the water heater is unreasonable for a user in the preset time according to the function value and the energy-saving index, namely, when the energy-saving effect generated by the energy-saving function of the water heater is poor, automatically determining the energy-saving operation mode with the maximum energy-saving effect of the energy-saving function according to operation data, displaying the energy-saving operation mode and the energy-saving index to the user, and when the operation instruction of the energy-saving operation mode triggered by the user is received, the user does not need to manually operate the energy-saving function, and automatically controlling the water heater to operate the energy-saving function according to the energy-saving operation mode, so that the water heater operates the energy-saving function according to the energy-saving operation mode to generate better energy-saving effect, the energy-saving effect of the water heater is improved, the waste problem of electric energy resources is solved, better water heater use experience is brought to the user, and the intelligence and convenience of the water heater are increased.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the invention or to delineate the scope of the invention. Other features of the present invention will become apparent from the description that follows.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic flow chart of a control method of a water heater according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a control method of a water heater according to an embodiment of the present invention;
FIG. 3a is a schematic diagram of an energy saving function optimization interface according to an embodiment of the present invention;
FIG. 3b is a schematic diagram of an energy saving index display interface according to an embodiment of the present invention;
FIG. 3c is a schematic diagram of an energy saving operation mode display interface according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a control device of a water heater according to an embodiment of the present invention;
Fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Fig. 1 is a schematic flow chart of a control method of a water heater according to an embodiment of the present invention, where the method may be performed by a control device of the water heater, the control device of the water heater may be implemented in hardware and/or software, the control device of the water heater may be configured in an electronic device, and the electronic device may be a computer or a server. As shown in fig. 1, the method specifically may include the following steps:
s101, acquiring operation data of the energy-saving function of the water heater in a preset time.
The operation data can be understood as operation data of an energy-saving function of the water heater within a preset time, the energy-saving function can be understood as a function capable of reducing energy consumption of the water heater and reducing energy loss and waste of the water heater, and the energy-saving function can comprise an electricity-saving function, a water-saving function and a temperature energy-saving function; the operation data may include an energy consumption value and a function on state of the energy saving function of the water heater within a preset time.
In an alternative embodiment, the user terminal bound to the water heater may obtain the energy consumption value and the function starting state of the energy saving function of the water heater within a preset time, and further may obtain the energy consumption value and the function starting state of the energy saving function of the water heater within the preset time from the user terminal through a Server application program interface (Server API).
For example, the preset time is 7 days, and the user terminal bound with the water heater can obtain the energy consumption value and the function starting state of the electricity consumption energy saving function, the water consumption energy saving function and the temperature energy saving function within 7 days, so that the energy consumption value and the function starting state of the electricity consumption energy saving function, the water consumption energy saving function and the temperature energy saving function within 7 days can be obtained from the user terminal through the server application program interface.
S102, determining a function value of the energy-saving function according to the operation data, and determining an energy-saving index of the water heater according to the operation data and the function value.
The function value can be understood as a function score of the energy-saving function determined according to the operation data of the energy-saving function in a preset time; the energy saving index may be understood as an energy saving value of the water heater determined according to operation data of the energy saving function within a preset time.
Because the operation data can include the energy consumption value and the function starting state of the energy-saving function of the water heater in the preset time, in an alternative implementation manner, the energy consumption value of the energy-saving function of the water heater in the preset time can be obtained, and the function starting state of the energy-saving function of the water heater in the preset time can be obtained; and determining the function value of the energy-saving function according to the function starting state, and determining the energy-saving index of the water heater according to the energy consumption value and the function value.
Specifically, determining the function grade of the energy-saving function according to the function starting state, and inquiring preset grade information according to the function grade to obtain the function value of the energy-saving function, wherein the preset grade information comprises the function values of the energy-saving function corresponding to the function grades respectively; then determining a target energy consumption value according to the energy consumption value and a first weight, and determining a target function value according to the function value and a second weight, wherein the first weight is greater than the second weight; and carrying out numerical summation on the target energy consumption value and the target function value to obtain the energy saving index of the water heater.
Illustratively, the functional level may include excellent, good, medium, and general, with a first weight of 0.8 and a second weight of 0.2; the Energy consumption value Energy of the power consumption Energy-saving function of the water heater within 7 days can be obtained, and the function opening state (opening, closing, opening and opening) of the Energy-saving function of the water heater within 7 days can be obtained. The function grade of the electricity-using energy-saving function is obtained to be superior according to the function starting state inquiry state information, and the state information can comprise the function grade corresponding to each function starting state respectively; table 1 shows preset level information provided in this embodiment, as shown in table 1, when the function level is excellent, the function value of the corresponding energy saving function is 95, when the function level is good, the function value of the corresponding energy saving function is 85, when the function level is medium, the function value of the corresponding energy saving function is 80, and when the function level is general, the function value of the corresponding energy saving function is 75.
Table 1 preset rating information
Function grade | Excellent (excellent) | In (a) | Good grade (good) | In general |
Functional numerical value | 95 | 85 | 80 | 75 |
Then, inquiring preset grade information according to the function grade (excellent) to obtain a function value of the electricity-using energy-saving function; determining that the target Energy consumption value is Energy 0.8 according to the Energy consumption value Energy and the first weight 0.8, determining the target function value function 0.2 according to the function value function score and the second weight 0.2, and carrying out numerical summation on the target Energy consumption value and the target function value to obtain an Energy saving index Energy index=energy 0.8+function score of the water heater 0.2.
S103, when the function value is smaller than a preset value or the energy saving index is smaller than the preset index, determining an energy saving operation mode of the energy saving function according to the operation data.
The preset value can be understood as a critical value of the preset function value; the preset index may be understood as a critical value of the preset energy saving index.
When the function value is smaller than the preset value or the energy saving index is smaller than the preset index, the energy saving effect generated by the energy saving function of the water heater is poor, so that when the function value is smaller than the preset value or the energy saving index is smaller than the preset index, the energy saving operation mode of the energy saving function needs to be determined according to the operation data, and then the water heater operates the energy saving function according to the energy saving operation mode, so that the energy saving function of the water heater generates better energy saving effect.
In an alternative embodiment, determining whether the operational data satisfies a power saving optimization condition; when the operation data meets the energy-saving optimization conditions, an energy-saving operation mode of the energy-saving function is determined according to the energy-saving optimization conditions. The operation data can also comprise temperature data, water flow data and an opening time interval of an electricity-using energy-saving function, the temperature data can comprise a plurality of set temperatures and a plurality of historical temperatures of the water heater in preset time, the set temperatures can be understood as temperatures of the water heater set by a user in each time unit in the preset time, the time units can be days, the historical temperatures can be understood as actual temperatures of water in the water heater in each time unit in the preset time, and the time units can be days; the water flow data can comprise a plurality of historical water flows of the water heater in preset time, the historical water flows can be understood as water flow of the water heater in each time unit in the preset time, and the time units can be days; the on time interval of the power saving function may include a plurality of on time intervals of the power saving function of the water heater within a preset time; the energy-saving optimization conditions can be understood as logic conditions met by preset operation data, and the energy-saving optimization conditions can comprise temperature conditions, water flow conditions and electricity-consumption energy-saving starting conditions.
Specifically, it may be determined whether the operation data satisfies the energy saving optimization condition when the temperature data satisfies the temperature condition, or when the water flow data satisfies the water flow condition, or when the on time interval satisfies the power consumption energy saving function on condition. When the temperature data meet the temperature conditions, inquiring temperature information according to the temperature data to obtain an energy-saving operation mode of the temperature energy-saving function, wherein the temperature information comprises the energy-saving operation modes of the temperature energy-saving functions respectively corresponding to the temperature data; when the water flow data meets the water flow condition, inquiring water flow information according to the water flow data to obtain an energy-saving operation mode of a water consumption energy-saving function, wherein the water flow information comprises energy-saving operation modes of the water consumption energy-saving function respectively corresponding to the water flow data; when the opening time interval meets the opening condition of the electricity-saving function, inquiring time interval information according to the opening time interval to obtain an energy-saving operation mode of the electricity-saving function, wherein the time interval information comprises the energy-saving operation modes of the electricity-saving function respectively corresponding to the opening time intervals.
Illustratively, the function value is 65, the preset value is 75, the energy saving index energy index=50, the preset index is 60, and the temperature data includes a set temperature and a history temperature; the water flow data includes historical water flow. The function value is 65, the preset value is 75, the energy saving index=50, the preset index is 60, namely, the function value is smaller than the preset value, the energy saving index is smaller than the preset index, and the operation data can be determined to meet the energy saving optimization condition when the set temperature and the historical temperature meet the temperature condition, or when the historical water flow meets the water flow condition, or when the opening time interval meets the power consumption energy saving function opening condition. When the temperature data meets the temperature condition, inquiring temperature information according to the temperature data to obtain an energy-saving operation mode of the temperature energy-saving function; when the water flow data meets the water flow condition, inquiring water flow information according to the historical water flow to obtain an energy-saving operation mode of the water consumption energy-saving function; and when the opening time interval meets the opening condition of the electricity-saving function, inquiring time interval information according to the opening time interval to obtain an energy-saving operation mode of the electricity-saving function.
S104, displaying the energy-saving operation mode and the energy-saving index to a user.
In an alternative embodiment, the energy saving operation mode and the energy saving index may be sent to the terminal device, so that the user of the terminal device determines whether to trigger the operation instruction of the energy saving operation mode according to the energy saving index.
For example, the energy-saving operation mode of the electricity-saving function is a peak-valley night electricity starting function, the energy-saving index=80, and the electricity-saving operation mode (peak-valley night electricity starting function) and the energy-saving index=80 are sent to the terminal device, so that the user of the terminal device determines whether to trigger an operation instruction of the energy-saving operation mode according to the energy-saving index.
S105, when an operation instruction of an energy-saving operation mode triggered by a user is received, controlling the water heater to operate the energy-saving function according to the energy-saving operation mode.
Illustratively, the electricity-saving function may include a peak-valley night electricity function, and the energy-saving operation mode of the electricity-saving function is as follows: and starting the peak-valley night electricity function, and controlling the water heater to start the peak-valley night electricity function so as to operate the electricity-using energy-saving function when receiving an operation instruction of an energy-saving operation mode triggered by a user.
In the embodiment, operation data of the energy-saving function of the water heater in a preset time is obtained; determining a function value of the energy-saving function according to the operation data, and determining an energy-saving index of the water heater according to the operation data and the function value; when the function value is smaller than the preset value or the energy-saving index is smaller than the preset index, the method is equivalent to determining that the energy-saving function of the water heater is unreasonable for a user in the preset time according to the function value and the energy-saving index, namely, when the energy-saving effect generated by the energy-saving function of the water heater is poor, automatically determining the energy-saving operation mode with the maximum energy-saving effect of the energy-saving function according to operation data, displaying the energy-saving operation mode and the energy-saving index to the user, and when the operation instruction of the energy-saving operation mode triggered by the user is received, the user does not need to manually operate the energy-saving function, and automatically controlling the water heater to operate the energy-saving function according to the energy-saving operation mode, so that the water heater operates the energy-saving function according to the energy-saving operation mode to generate better energy-saving effect, the energy-saving effect of the water heater is improved, the waste problem of electric energy resources is solved, better water heater use experience is brought to the user, and the intelligence and convenience of the water heater are increased.
Fig. 2 is another flow chart of a control method of a water heater according to an embodiment of the present invention, and a specific method may be shown in fig. 2, where the method may include the following steps:
s201, acquiring operation data of the energy-saving function of the water heater in a preset time.
The energy consumption value of the energy-saving function in the operation data in the preset time can comprise a theoretical energy consumption value and an actual energy consumption value. The theoretical energy consumption value is calculated according to the following calculation formula.
Theoretical energy consumption value=4.2×10 3 *ρ*V*Δt/(3.6*10 6 )。
Where ρ may represent the water density, V may represent the amount of mixed hot and cold water of the water heater, and Δt may represent the temperature difference between the set temperature and the inlet water temperature.
In an alternative embodiment, the actual energy consumption value of the energy-saving function of the water heater in the preset time can be obtained from the terminal device through the Server API, the actual energy consumption value is determined as the energy consumption value, and the function starting state of the energy-saving function of the water heater in the preset time is obtained.
In another alternative embodiment, the water heater may replace the water density ρ, the mixed water volume V of the hot water and the cold water of the water heater, the temperature difference Δt between the set temperature and the inlet water temperature into a calculation formula of the theoretical energy consumption value to calculate to obtain the theoretical energy consumption value; and then, acquiring a theoretical energy consumption value of the energy-saving function of the water heater in a preset time from the terminal equipment through the Server API, determining the theoretical energy consumption value as the energy consumption value, and acquiring a function starting state of the energy-saving function of the water heater in the preset time.
S202, determining a function value of an energy-saving function according to the function starting state, and determining an energy-saving index of the water heater according to the energy consumption value and the function value.
S203, when the function value is smaller than the preset value or the energy saving index is smaller than the preset index, determining whether the operation data meets the energy saving optimization condition, and executing the step S204 when the operation data meets the energy saving optimization condition; when the operation data does not satisfy the energy saving optimization condition, the process returns to step S201.
Illustratively, the energy saving indexes of the water heater at the month M1, the month M2 and the month M3 are respectively:
m1 month: energyindex1=95×0.8+95×0.2=95;
m2 month: energyindex2=80×0.8+95×0.2=83;
m3 month: energyindex3=85×0.8+95×0.2=81.
It can be known that the energy saving index of the water heater is higher in the period of M1 month, which means that the energy surplus of the water heater in the period of M1 month is less, the energy saving function of the water heater is more reasonable to use, the energy saving index of the water heater in the period of M2 month and M3 month is lower, which means that the energy surplus of the water heater in the period of M2 month and M3 month is more, and the energy saving function of the water heater is unreasonable to use, if the operation data is required to meet the energy saving optimization condition, the energy saving operation mode of the energy saving function is determined according to the energy saving optimization condition, the water heater is controlled to operate the energy saving function according to the energy saving operation mode, and the purposes of reasonably using the energy saving function and reducing the energy surplus of the water heater are achieved.
S204, determining an energy-saving operation mode of the energy-saving function according to the energy-saving optimization condition.
In an alternative embodiment, when the temperature data meets the temperature condition, or when the water flow data meets the water flow condition, or when the opening time interval meets the power consumption energy saving function opening condition, determining that the operation data meets the energy saving optimizing condition, wherein the temperature data comprises a set temperature and a historical temperature, and the water flow data comprises a historical water flow;
wherein, the temperature condition can be: when 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 a preset temperature interval and the historical temperatures are both greater than the second temperature;
the water flow conditions may be: the historical water flow is smaller than the preset water flow, and the water flow of continuous preset number of time units in preset time can be understood to be smaller than the preset water flow, for example, the time units are days, and the water flow conditions, namely, the water flow of continuous 3 days, are smaller than the preset water flow;
the power consumption energy-saving function starting conditions can be as follows: the on time interval exceeds a preset time interval.
Illustratively, the function value is 15, the preset value is 16, the energy saving index energy index=80, the preset index is 90, the temperature data can include a set temperature and a historical temperature, and the water flow data includes a historical water flow; that is, the function value is smaller than the preset value, the energy-saving index is smaller than the preset index, and the temperature data is determined to meet the temperature condition when the set temperature is larger than the preset set temperature and the historical temperature is larger than the first temperature, or when the set temperature belongs to the preset temperature interval and the historical temperature is larger than the second temperature, that is, the operation data meets the energy-saving optimization condition.
In the temperature information, when the set temperature is greater than the preset set temperature and the historical temperature is greater than the first temperature, the energy-saving operation mode of the temperature energy-saving function can be determined as follows: starting a temperature regulation mode, and reducing by 5 ℃ by default each time until the actual temperature reaches the lowest temperature; when the set temperature belongs to a preset temperature interval and the historical temperatures are all larger than the second temperature, the energy-saving operation mode of the temperature energy-saving function can be determined as follows: and starting a medium-temperature heat preservation mode. The energy-saving operation mode capable of obtaining the temperature energy-saving function by inquiring temperature information according to temperature data (set temperature and historical temperature) is as follows: the turn-down temperature mode is turned on, and the default is reduced by 5 ℃ each time until the actual temperature reaches the minimum temperature. When the set temperature belongs to a preset temperature interval and the historical temperatures are all larger than the second temperature, determining that the temperature data meets the temperature condition, namely that the operation data meets the energy-saving optimization condition, and inquiring the temperature information according to the temperature data (set temperature and historical temperature) to obtain an energy-saving operation mode of the temperature energy-saving function is as follows: and starting a medium-temperature heat preservation mode.
Optionally, the historical temperature may include a preset number of temperature values that decrease continuously, and the time interval between adjacent decreasing temperature values is smaller than the shortest time, so that it may be determined that a user has a large amount of water, and it may be determined that the energy-saving operation mode of the temperature energy-saving function is: and starting a reserved bathing mode.
For example, the shortest time is 2 minutes, the preset number is 5, the historical temperature includes Date1 (T1 30 ℃, T2 29 ℃, T3 ℃, T28 ℃, T4 ℃, T5 ℃) and the time intervals among T1, T2, T3, T4, T5 are all less than 2 minutes, the historical temperature includes 5 temperature values which are continuously decreased and the time interval between adjacent decreasing temperature values is less than 2 minutes, the condition that a great amount of water is used by a user can be determined, and the energy-saving operation mode of the temperature energy-saving function can be determined as follows: and starting a reserved bathing mode.
In the water flow information, when the historical water flow is smaller than the preset water flow, the corresponding energy-saving operation mode of the water use energy-saving function is as follows: and starting an automatic shutdown mode. The historical water flow may include: the preset time is 7 days, the water flows of Date1 water flow 8, date2 water flow 7 and Date3 water flow 9, which are all smaller than the preset water flow in 7 days, the historical water flow is determined to meet the water flow condition, namely the running data meet the energy-saving optimization condition, and the energy-saving running mode of the water consumption energy-saving function can be obtained according to the historical water flow inquiry water flow information is as follows: and starting an automatic shutdown mode.
In the time interval information, when the opening time interval exceeds the preset time interval, the corresponding operation mode of the electricity-using energy-saving function is as follows: the peak valley night electric function is started. The electricity-using energy-saving function can be a peak-valley night electricity function, the opening time interval of the peak-valley night electricity function is 4 days, the preset time interval is 3 days, the opening time interval is determined to exceed the preset time interval, and the opening time interval is determined to meet the electricity-using energy-saving function opening condition, namely the operation data meet the energy-saving optimization condition; the operation mode for obtaining the electricity-saving function according to the starting time interval description time interval information is as follows: the peak valley night electric function is started.
Optionally, the power consumption energy-saving function may further include a timing power-on/off function, where an energy-saving operation mode corresponding to the timing power-on/off function is: the power-on and power-off timing (default 6:00 power-on-7:00 power-off, 20:00 power-on-21:00 power-off) can display the power-saving operation mode of the power-on and power-off timing at the same time when the power-saving operation mode is displayed to a user.
S205, the energy-saving operation mode and the energy-saving index are displayed to a user.
For example, as shown in fig. 3a, an energy-saving operation mode and an energy-saving index may be shown to an energy-saving function optimization interface of the terminal device, where the energy-saving operation mode may include: 1. starting a temperature regulation mode, and reducing by 5 ℃ by default each time until the lowest water temperature is reached; 2. starting a medium-temperature heat preservation mode; 3. starting peak valley night electricity function; 4. starting to start and shut down at fixed time; 5. starting a reserved water use function; 6. starting a reserved bathing mode; 7. and starting an automatic shutdown mode. The energy-saving function optimization interface can comprise a one-key energy-saving control, and after a user clicks the one-key energy-saving control, an operation instruction of an energy-saving operation mode triggered by the user can be received; in the energy-saving function optimization interface, each energy-saving operation mode display frame can also comprise an energy-saving control, and after a user clicks the energy-saving control, the energy-saving function optimization interface can receive an operation instruction triggered by the user and corresponding to the energy-saving operation mode, for example, after the user clicks the energy-saving control in the energy-saving operation mode display frame, the energy-saving operation mode display frame can receive an operation instruction triggered by the user and corresponding to the energy-saving operation mode.
Optionally, as shown in fig. 3b, the energy-saving index may be displayed on the energy-saving index display interface, where the energy-saving index display interface includes an "energy-saving operation mode view" control, and when the user clicks the "energy-saving operation mode view" control, the energy-saving operation mode display interface of fig. 3c is displayed on the terminal device, where the energy-saving operation mode display interface also includes a "one-key energy-saving" control, and after the user clicks the "one-key energy-saving" control, an operation instruction of the energy-saving operation mode triggered by the user may be received. In the energy-saving operation mode display interface, each energy-saving operation mode display frame can also comprise an energy-saving control, and after a user clicks the energy-saving control, an operation instruction triggered by the user and corresponding to the energy-saving operation mode can be received.
S206, when an operation instruction of the energy-saving operation mode triggered by a user is received, controlling the water heater to operate the energy-saving function according to the energy-saving operation mode.
In this embodiment, the energy-saving operation mode of the energy-saving function with maximized energy-saving effect is automatically and accurately determined according to the operation data, and the energy-saving operation mode and the energy-saving index are displayed to the user, when the operation instruction of the energy-saving operation mode triggered by the user is received, the user does not need to manually operate the energy-saving function, and the water heater is automatically controlled to operate the energy-saving function according to the energy-saving operation mode, so that the water heater can operate the energy-saving function according to the energy-saving operation mode to generate better energy-saving effect, the energy-saving effect of the water heater is improved, the problem of waste of electric energy resources and water resources is further solved, better use experience of the water heater is brought to the user, and the intelligence and convenience of the water heater are improved.
Fig. 4 is a schematic structural diagram of a control device of a water heater according to an embodiment of the present invention, where the device is suitable for executing the control method of a water heater according to the present invention. As shown in fig. 4, the apparatus may specifically include:
the data acquisition module 401 is configured to acquire operation data of an energy-saving function of the water heater within a preset time;
a first determining module 402, configured to determine a function value of the energy saving function according to the operation data, and determine an energy saving index of the water heater according to the operation data and the function value;
a second determining module 403, configured to determine, according to the operation data, an energy-saving operation mode of the energy-saving function when the function value is less than a preset value or when the energy-saving index is less than a preset index;
a display module 404, configured to display the energy-saving operation mode and the energy-saving index to a user;
and the control module 405 is configured to control the water heater to operate the energy-saving function according to the energy-saving operation mode when receiving an operation instruction of the energy-saving operation mode triggered by the user.
Optionally, the operation data includes an energy consumption value and a function on state of the energy saving function of the water heater within a preset time, and the first determining module 401 is specifically configured to:
And determining a function value of the energy-saving function according to the function starting state, and determining an energy-saving index of the water heater according to the energy consumption value and the function value.
Optionally, the first determining module 401 determines the function value of the energy saving function according to the function on state, including:
determining the function grade of the energy-saving function according to the function starting state;
and inquiring preset grade information according to the function grade to obtain the function value of the energy-saving function, wherein the preset grade information comprises the function values of the energy-saving function corresponding to the function grades respectively.
Optionally, the first determining module 401 determines an energy saving index of the water heater according to the energy consumption value and the function value, including:
determining a target energy consumption value according to the energy consumption value and a first weight, and determining a target function value according to the function value and a second weight, wherein the first weight is greater than the second weight;
and carrying out numerical summation on the target energy consumption value and the target function value to obtain the energy saving index of the water heater.
Optionally, the second determining module 402 determines an energy saving operation mode of the energy saving function according to the operation data, including:
Determining whether the operation data meets energy-saving optimization conditions;
and when the operation data meets the energy-saving optimization conditions, determining an energy-saving operation mode of the energy-saving function according to the energy-saving optimization conditions.
Optionally, the energy saving function includes an electricity saving function, the operation data further includes temperature data, water flow data, and an on time interval of the electricity saving function, the energy saving optimization condition includes a temperature condition, a water flow condition, and an on condition of the electricity saving function, and the second determining module 402 determines whether the operation data meets the energy saving optimization condition, including:
when the temperature data meets the temperature condition, or when the water flow data meets the water flow condition, or when the opening time interval meets the power consumption energy saving function opening condition, determining that the operation data meets the energy saving optimizing condition, wherein the temperature data comprises a set temperature and a historical temperature, and the water flow data comprises a historical water flow;
the temperature conditions are as follows: the set temperature is greater than a preset set temperature and the historical temperature is greater than a first temperature, or the set temperature belongs to a preset temperature interval and the historical temperature is greater than a second temperature;
The water flow conditions are as follows: the historical water flow is smaller than the preset water flow;
the power consumption energy-saving function opening conditions are as follows: the on time interval exceeds a preset time interval.
Optionally, the energy saving function further includes a temperature energy saving function and a water consumption energy saving function, and the second determining module 402 determines an energy saving operation mode of the energy saving function according to the energy saving optimizing condition, including:
when the temperature data meets the temperature condition, inquiring temperature information according to the temperature data to obtain an energy-saving operation mode of the temperature energy-saving function, wherein the temperature information comprises the energy-saving operation modes of the temperature energy-saving functions respectively corresponding to the temperature data;
when the water flow data meets the water flow condition, inquiring water flow information according to the water flow data to obtain an energy-saving operation mode of the water consumption energy-saving function, wherein the water flow information comprises energy-saving operation modes of the water consumption energy-saving function respectively corresponding to the water flow data;
and when the starting time interval meets the starting condition of the electricity-saving function, inquiring time interval information according to the starting time interval to obtain an energy-saving operation mode of the electricity-saving function, wherein the time interval information comprises the energy-saving operation modes of the electricity-saving function corresponding to each starting time interval.
The control device of the water heater provided by the embodiment can execute the control method of the water heater provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Fig. 5 shows a schematic diagram of a computer system 10 of an electronic device that may be used to implement an embodiment of the invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Electronic equipment may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, 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 meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 5, the computer system 10 includes at least one processor 11, and a memory, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, etc., communicatively connected to the at least one processor 11, in which the memory stores a computer program executable by the at least one processor, and the processor 11 may perform various appropriate actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from the storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the computer system 10 may also be stored. The processor 11, the ROM 12 and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
Various components in computer system 10 are connected to I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, etc.; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the computer system 10 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunications networks.
The processor 11 may be a variety of general and/or special purpose processing components having 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 specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 11 performs the various methods and processes described above, such as the control method of the water heater.
In some embodiments, the control method of the water heater may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto computer system 10 via ROM 12 and/or communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the control method of the water heater described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the control method of the water heater in any other suitable manner (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for carrying out 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, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be implemented. The computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here 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 a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service are overcome.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present invention may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present invention are achieved, and the present invention is not limited herein.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.
Claims (10)
1. A method of controlling a water heater, the method comprising:
acquiring operation data of the energy-saving function of the water heater within a preset time;
determining a function value of the energy-saving function according to the operation data, and determining an energy-saving index of the water heater according to the operation data and the function value;
when the function value is smaller than a preset value or the energy saving index is smaller than a preset index, determining an energy saving operation mode of the energy saving function according to the operation data;
Displaying the energy-saving operation mode and the energy-saving index to a user;
when an operation instruction of the energy-saving operation mode triggered by the user is received, controlling the water heater to operate the energy-saving function according to the energy-saving operation mode.
2. The method of claim 1, wherein the operation data includes an energy consumption value and a function on state of an energy saving function of the water heater for a preset time, the determining a function value of the energy saving function of the water heater according to the operation data, and determining an energy saving index of the water heater according to the operation data and the function value, comprising:
and determining a function value of the energy-saving function according to the function starting state, and determining an energy-saving index of the water heater according to the energy consumption value and the function value.
3. The method according to claim 2, wherein the determining the function value of the energy saving function according to the function on state includes:
determining the function grade of the energy-saving function according to the function starting state;
and inquiring preset grade information according to the function grade to obtain the function value of the energy-saving function, wherein the preset grade information comprises the function values of the energy-saving function corresponding to the function grades respectively.
4. The method of claim 2, wherein said determining an energy saving index of the water heater from the energy consumption value and the function value comprises:
determining a target energy consumption value according to the energy consumption value and a first weight, and determining a target function value according to the function value and a second weight, wherein the first weight is greater than the second weight;
and carrying out numerical summation on the target energy consumption value and the target function value to obtain the energy saving index of the water heater.
5. The method of claim 2, wherein determining the energy efficient manner of operation of the energy efficient function based on the operational data comprises:
determining whether the operation data meets energy-saving optimization conditions;
and when the operation data meets the energy-saving optimization conditions, determining an energy-saving operation mode of the energy-saving function according to the energy-saving optimization conditions.
6. The method of claim 5, wherein the power saving function comprises a power saving function, the operational data further comprises temperature data, water flow data, and an on time interval of the power saving function, the power saving optimization condition comprises a temperature condition, a water flow condition, and a power saving function on condition, and the determining whether the operational data satisfies the power saving optimization condition comprises:
When the temperature data meets the temperature condition, or when the water flow data meets the water flow condition, or when the opening time interval meets the power consumption energy saving function opening condition, determining that the operation data meets the energy saving optimizing condition, wherein the temperature data comprises a set temperature and a historical temperature, and the water flow data comprises a historical water flow;
the temperature conditions are as follows: the set temperature is greater than a preset set temperature and the historical temperature is greater than a first temperature, or the set temperature belongs to a preset temperature interval and the historical temperature is greater than a second temperature;
the water flow conditions are as follows: the historical water flow is smaller than the preset water flow;
the power consumption energy-saving function opening conditions are as follows: the on time interval exceeds a preset time interval.
7. The method of claim 6, wherein the energy saving function further comprises a temperature energy saving function and a water use energy saving function, and wherein the determining the energy saving operation mode of the energy saving function according to the energy saving optimization condition comprises:
when the temperature data meets the temperature condition, inquiring temperature information according to the temperature data to obtain an energy-saving operation mode of the temperature energy-saving function, wherein the temperature information comprises the energy-saving operation modes of the temperature energy-saving functions respectively corresponding to the temperature data;
When the water flow data meets the water flow condition, inquiring water flow information according to the water flow data to obtain an energy-saving operation mode of the water consumption energy-saving function, wherein the water flow information comprises energy-saving operation modes of the water consumption energy-saving function respectively corresponding to the water flow data;
and when the starting time interval meets the starting condition of the electricity-saving function, inquiring time interval information according to the starting time interval to obtain an energy-saving operation mode of the electricity-saving function, wherein the time interval information comprises the energy-saving operation modes of the electricity-saving function corresponding to each starting time interval.
8. A control device for a water heater, the device comprising:
the data acquisition module is used for acquiring operation data of the energy-saving function of the water heater within a preset time;
the first determining module is used for determining a function value of the energy-saving function according to the operation data and determining an energy-saving index of the water heater according to the operation data and the function value;
the second determining module is used for determining an energy-saving operation mode of the energy-saving function according to the operation data when the function value is smaller than a preset value or the energy-saving index is smaller than a preset index;
The display module is used for displaying the energy-saving operation mode and the energy-saving index to a user;
and the control module is used for controlling the water heater to operate the energy-saving function according to the energy-saving operation mode when receiving the operation instruction of the energy-saving operation mode triggered by the user.
9. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the method of controlling a water heater according to any one of claims 1 to 7.
10. A computer readable storage medium storing computer instructions for causing a processor to execute a method of controlling a water heater according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311107872.3A CN117213067A (en) | 2023-08-30 | 2023-08-30 | Control method and device of water heater, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311107872.3A CN117213067A (en) | 2023-08-30 | 2023-08-30 | Control method and device of water heater, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117213067A true CN117213067A (en) | 2023-12-12 |
Family
ID=89047203
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311107872.3A Pending CN117213067A (en) | 2023-08-30 | 2023-08-30 | Control method and device of water heater, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117213067A (en) |
-
2023
- 2023-08-30 CN CN202311107872.3A patent/CN117213067A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105067857A (en) | Electricity consumption information acquisition system and analysis method | |
CN114709878A (en) | Light storage cooperative configuration method, device and medium applied to light storage straight and flexible building | |
CN116131340A (en) | Method, device, equipment and storage medium for matching power station with load area | |
CN117578617A (en) | New energy station electric quantity control method, device, equipment and medium | |
CN108364114B (en) | Control method and device for voltage shrinkage cold accumulation equipment and voltage shrinkage cold accumulation system | |
CN117213067A (en) | Control method and device of water heater, electronic equipment and storage medium | |
CN117117907A (en) | Low-voltage distribution network load access method and device, electronic equipment and storage medium | |
CN116485022A (en) | Method, device, equipment and medium for estimating carbon emission of old parks | |
CN116231669A (en) | Data processing method, device, electronic equipment and storage medium | |
CN114704959B (en) | Variable-frequency heat pump water heater control method and device, electronic equipment and storage medium | |
CN113610556A (en) | Method, device and terminal for power load prediction | |
CN115127197B (en) | Method and device for determining operation strategy of refrigerator, electronic equipment and storage medium | |
CN116516607A (en) | Control method and device of washing equipment, washing equipment and storage medium | |
CN115751727A (en) | Heating method and device of hybrid water heater, cloud server and storage medium | |
CN117073095A (en) | Energy-saving control method, device, equipment and medium for air conditioner water system | |
CN117096888A (en) | Operation control method, device and equipment of power equipment and storage medium | |
CN117154949A (en) | Power utilization control method, device, equipment and medium based on smart grid | |
CN117767331A (en) | Control method, device, equipment and medium capable of interrupting load | |
CN118189236A (en) | Kitchen waste heat recovery method, device, equipment and medium | |
CN116995745A (en) | Scheduling method, device, equipment and storage medium for power system generated power | |
CN116128204A (en) | Power distribution network scheduling method and device, electronic equipment and storage medium | |
CN117829364A (en) | Unit output prediction method, device, equipment and storage medium | |
CN118816357A (en) | Air conditioner adjusting method and device, electronic equipment and storage medium | |
CN118554547A (en) | Power supply and load coordination method, device, equipment and medium in power system | |
CN115992445A (en) | Control method and device of clothes care equipment, clothes care equipment and medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |