CN117804072A - Water heater control method and device, electronic equipment and storage medium - Google Patents

Water heater control method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN117804072A
CN117804072A CN202311871538.5A CN202311871538A CN117804072A CN 117804072 A CN117804072 A CN 117804072A CN 202311871538 A CN202311871538 A CN 202311871538A CN 117804072 A CN117804072 A CN 117804072A
Authority
CN
China
Prior art keywords
water consumption
water
time point
current time
consumption
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
Application number
CN202311871538.5A
Other languages
Chinese (zh)
Inventor
李立辉
李绍斌
唐杰
宋德超
赵文静
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Gree Electric Appliances Inc of Zhuhai, Zhuhai Lianyun Technology Co Ltd filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202311871538.5A priority Critical patent/CN117804072A/en
Publication of CN117804072A publication Critical patent/CN117804072A/en
Pending legal-status Critical Current

Links

Abstract

The application discloses a water heater control method, a device, electronic equipment and a storage medium, which are characterized by comprising the following steps: acquiring a first water quantity which is the water consumption of the current time point; acquiring a water consumption habit table, wherein the water consumption habit table comprises water consumption corresponding to each time point; acquiring a first water consumption set at a current time point in a current target period and a second water consumption set at a current time point in a previous target period according to a water consumption history table; updating the water consumption corresponding to the current time point in the water consumption habit table according to the first water consumption, the first water consumption set and the second water consumption set; judging whether a time point with water consumption larger than a preset water consumption exists in a target time period of the water consumption habit table; if the water heater exists, the water heater is controlled to start the heating function. The problem that the water heater cannot be controlled to heat according to actual conditions in the prior art is solved, energy is saved, and user experience is improved.

Description

Water heater control method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of water heaters, and in particular, to a water heater control method, a device, an electronic apparatus, and a storage medium.
Background
Along with the development and progress of technology, smart home gradually goes to life of people. However, users often choose to turn on the water heater directly to ensure that hot water is always available, and while this ensures that users are always able to use hot water, it is unavoidable that more power is consumed when the water heater is always operating at high power.
Therefore, a water heater control method is needed to solve the problem that the water heater cannot be controlled to heat according to actual conditions in the prior art, save energy and improve user experience.
Disclosure of Invention
The invention mainly aims to provide a water heater control method, a device, electronic equipment and a storage medium, so as to solve the problem that the heating of a water heater cannot be controlled according to actual conditions in the prior art, save energy and improve user experience.
In a first aspect, the present invention provides a water heater control method, including:
acquiring a first water quantity which is the water consumption of the current time point;
acquiring a water consumption habit table, wherein the water consumption habit table comprises water consumption corresponding to each time point;
acquiring a first water consumption set at a current time point in a current target period and a second water consumption set at a current time point in a previous target period according to a water consumption history table;
updating the water consumption corresponding to the current time point in the water consumption habit table according to the first water consumption, the first water consumption set and the second water consumption set;
judging whether a time point with water consumption larger than a preset water consumption exists in a target time period of the water consumption habit table;
if the water heater exists, the water heater is controlled to start the heating function.
Optionally, the updating the water consumption corresponding to the current time point in the water habit table according to the first water consumption, the first water consumption set and the second water consumption set includes:
the water consumption corresponding to the current time point in the water consumption habit table is calculated according to the following formula:
the water consumption corresponding to the current time point in the water consumption habit table= (first water consumption+first water consumption set) ×first weighting coefficient+second water consumption set) ×second weighting coefficient.
Optionally, the step of obtaining the first water consumption set at the current time point in the current target period and the second water consumption set at the current time point in the previous target period according to the water consumption history table includes:
acquiring a first water consumption set of a current time point of a target date type in a current target period and a second water consumption set of a current time point of a target date type in a previous target period according to a water consumption history table;
the updating the water consumption corresponding to the current time point in the water habit table according to the first water consumption, the first water consumption set and the second water consumption set comprises the following steps:
updating the water consumption corresponding to the current time point of the target date type in the water habit table according to the first water consumption, the first water consumption set and the second water consumption set;
the step of judging whether the time point of the water consumption larger than the preset water consumption exists in the target time period of the water consumption habit table comprises the following steps:
and judging whether a time point with water consumption larger than a preset water consumption exists in a target time period of a target date type of the water consumption habit table.
Optionally, the preset water consumption is dynamically adjusted according to the energy saving level and/or the power consumption.
According to a second aspect of an embodiment of the present invention, there is provided a water heater control apparatus including:
the current water consumption acquisition module: for use in; acquiring a first water quantity which is the water consumption of the current time point;
the water habit table acquisition module: for use in; acquiring a water consumption habit table, wherein the water consumption habit table comprises water consumption corresponding to each time point;
historical water consumption acquisition module: the method comprises the steps of obtaining a first water consumption set of a current time point in a current target period and a second water consumption set of a current time point in a previous target period according to a water consumption history table;
and an updating module: updating the water consumption corresponding to the current time point in the water habit table according to the first water consumption, the first water consumption set and the second water consumption set;
and a judging module: a time point for judging whether the water consumption is larger than the preset water consumption in the target time period of the water consumption habit table;
and the control module is used for: the control device is used for controlling the water heater to start a heating function.
Optionally, the updating module further includes a weighted updating unit:
for updating the water habit table according to the following formula:
the water consumption corresponding to the current time point in the water consumption habit table= (first water consumption+first water consumption set) ×first weighting coefficient+second water consumption set) ×second weighting coefficient.
Optionally, the historical water consumption obtaining module further includes a date type obtaining unit: and the first water consumption set is used for acquiring the current time point of the target date type in the current target period and the second water consumption set is used for acquiring the current time point of the target date type in the last target period according to the water consumption history table.
Optionally, the judging module further includes a threshold adjusting unit: the preset water consumption is dynamically adjusted according to the energy saving level and/or the power consumption.
According to a third aspect of embodiments of the present invention, there is provided an electronic device comprising a memory and a processor, the memory being configured to store one or more computer instructions, wherein the one or more computer instructions when executed by the processor implement the water heater control method according to any one of the first aspects.
According to a fourth aspect of embodiments of the present invention, there is provided a storage medium in which a program is stored which, when executed by a computer, implements the water heater control method of any one of the above-described first aspects.
One or more embodiments of the above-described solution may have the following advantages or benefits compared to the prior art:
the invention judges whether the water consumption is larger than the preset water consumption by updating the water consumption habit table in real time, and if the water consumption is larger than the preset water consumption, the water heater is controlled to heat. The problem that the water heater cannot be controlled to heat according to actual conditions in the prior art is solved, energy is saved, and user experience is improved.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings that are needed in the embodiments will be briefly described below, and it is obvious to those skilled in the art that other drawings can be obtained from these drawings without inventive effort.
FIG. 1 is a schematic flow chart of a water heater control method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a control device of a water heater according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a computer device for controlling a water heater according to an embodiment of the present invention;
FIG. 4 is a schematic flow chart of another water heater control method according to an embodiment of the present invention;
FIG. 5 is a schematic flow chart of another water heater control method according to an embodiment of the present invention;
fig. 6 is a flow chart of another water heater control method according to an embodiment of the present invention.
Detailed Description
The following will describe embodiments of the present invention in detail with reference to the drawings and examples, thereby solving the technical problems by applying technical means to the present invention, and realizing the corresponding technical effects can be fully understood and implemented accordingly. The embodiment of the invention and the characteristics in the embodiment can be mutually combined on the premise of no conflict, and the formed technical scheme is within the protection scope of the invention.
Example 1
As shown in fig. 1, an embodiment of the present invention provides a water heater control method, including the following steps S101 to S106:
step S101: and acquiring a first water quantity which is the water consumption of the current time point.
For example, the current time is 9 points, and the total water consumption of 60 seconds, namely the first water consumption, from 9 points to 9 points 01 minutes is obtained through a sensor installed in the water heater.
Step S102: and acquiring a water consumption habit table, wherein the water consumption habit table comprises the water consumption corresponding to each time point.
For example, the water usage habit table is a correspondence relation between a time point calculated by a rule specified by a user and a water consumption amount, and the water usage habit table is, for example:
20:00:0.5 liter;
20:01:0.4 liter;
20:02:0.5 liter;
20:03:0.6 liter;
20:04:0.5 liter;
20:05:0.3 liter;
20:06:0.2 litres;
20:07:0.8 litres;
20:08:0.5 liter.
Step S103: and acquiring a first water consumption set at the current time point in the current target period and a second water consumption set at the current time point in the previous target period according to the water consumption history table.
For example, the water use history table is a daily water use amount record table every minute, the target period is, for example, a natural week period, and if the current time is 10 am on thursday, the first water amount set is: (Water usage at 10 am 02 on monday, 10 am 02 on monday) and the second water usage set is: (Water usage at 10 am 02 on Monday, 10 am 02 on Tuesday, 10 am 02 on Saturday, 10 am 02 on Friday, 10 am 02 on Saturday).
Step S104: updating the water consumption corresponding to the current time point in the water consumption habit table according to the first water consumption, the first water consumption set and the second water consumption set.
For example, the calculation formula of the water consumption corresponding to the current time point in the water habit table is that the water consumption corresponding to the current time point in the water habit table= (first water consumption+first water consumption set) ×first weighting coefficient+second water consumption set) ×second weighting coefficient.
For example, the water usage at 10 in the habit table is updated to (10.02 a.m. water usage at this monday + 10.02 a.m. water usage at this friday + 10.02 a.m. water usage at this monday)/4 x 0.7+ (10.02 a.m. water usage at two.d. + 10.02 a.m. water usage at three.a.m. + 10.02 a.m. water usage at four.a.m. + 10.02 a.m. water usage at 10.c. on friday + 10.02 a.m./7 x 0.3.
Step S105: and judging whether a time point with water consumption larger than the preset water consumption exists in the target time period of the water consumption habit table.
For example, the target period is 20:00 to 20:08, if the preset water consumption is 0.7 liter, the water consumption of 20:07 is 0.8 liter and is larger than the preset water consumption. Meanwhile, the preset water consumption is dynamically adjusted according to the energy-saving level and/or the power consumption. For example, if the electricity consumption is too large, the preset water consumption is increased, long-time heating is avoided, and if the energy saving level set by the user is high, the preset water consumption is also increased, and power consumption is avoided.
Step S106: if the water heater exists, the water heater is controlled to start the heating function.
Since the water consumption of 20:07 is 0.8 liter greater than the preset water consumption of 0.7 liter, the water consumption is suddenly increased, so that the water heater is controlled to start the heating function.
Example two
As shown in fig. 4, an embodiment of the present invention provides an intelligent device control method, including the following steps S201 to S206:
step S201: and acquiring a first water quantity which is the water consumption of the current time point.
For example, the current time is 9 points, and the total water consumption of 60 seconds, namely the first water consumption, from 9 points to 9 points 01 minutes is obtained through a sensor installed in the water heater.
Step S202: and acquiring a water consumption habit table, wherein the water consumption habit table comprises the water consumption corresponding to each time point.
For example, the water usage habit table is a correspondence relation between a time point calculated by a rule specified by a user and a water consumption amount, and the water usage habit table is, for example:
20:00:0.5 liter;
20:01:0.4 liter;
20:02:0.5 liter;
20:03:0.6 liter;
20:04:0.5 liter;
20:05:0.3 liter;
20:06:0.2 litres;
20:07:0.8 litres;
20:08:0.5 liter.
Step S203: and acquiring a first water consumption set at the current time point in the current target period and a second water consumption set at the current time point in the previous target period according to the water consumption history table.
For example, the water use history table is a daily water use amount record table every minute, the target period is, for example, a natural week period, and if the current time is 10 am on thursday, the first water amount set is: (Water usage at 10 am 02 on monday, 10 am 02 on monday) and the second water usage set is: (Water usage at 10 am 02 on Monday, 10 am 02 on Tuesday, 10 am 02 on Saturday, 10 am 02 on Friday, 10 am 02 on Saturday).
Step S204: updating the water consumption corresponding to the current time point in the water consumption habit table according to the first water consumption, the first water consumption set and the second water consumption set, wherein the water consumption corresponding to the current time point in the water consumption habit table is equal to or smaller than (the first water consumption and the first water consumption set) the first weighting coefficient and the second weighting coefficient.
For example, the calculation formula of the water consumption corresponding to the current time point in the water habit table is that the water consumption corresponding to the current time point in the water habit table= (first water consumption+first water consumption set) ×first weighting coefficient+second water consumption set) ×second weighting coefficient.
For example, the water usage at 10 in the habit table is updated to (10.02 a.m. water usage at this monday + 10.02 a.m. water usage at this friday + 10.02 a.m. water usage at this monday)/4 x 0.7+ (10.02 a.m. water usage at two.d. + 10.02 a.m. water usage at three.a.m. + 10.02 a.m. water usage at four.a.m. + 10.02 a.m. water usage at 10.c. on friday + 10.02 a.m./7 x 0.3.
Step S205: and judging whether a time point with water consumption larger than the preset water consumption exists in the target time period of the water consumption habit table.
For example, the target period is 20:00 to 20:08, if the preset water consumption is 0.7 liter, the water consumption of 20:07 is 0.8 liter and is larger than the preset water consumption.
Step S206: if the water heater exists, the water heater is controlled to start the heating function.
Since the water consumption of 20:07 is 0.8 liter greater than the preset water consumption of 0.7 liter, the water consumption is suddenly increased, so that the water heater is controlled to start the heating function.
Example III
As shown in fig. 5, an embodiment of the present invention provides an intelligent device control method, including the following steps S401 to S406:
step S401: and acquiring a first water quantity which is the water consumption of the current time point.
For example, the current time is 9 points, and the total water consumption of 60 seconds, namely the first water consumption, from 9 points to 9 points 01 minutes is obtained through a sensor installed in the water heater.
Step S402: and acquiring a water consumption habit table, wherein the water consumption habit table comprises the water consumption corresponding to each time point.
For example, the water usage habit table is a correspondence relation between a time point calculated by a rule specified by a user and a water consumption amount, and the water usage habit table is, for example:
20:00:0.5 liter;
20:01:0.4 liter;
20:02:0.5 liter;
20:03:0.6 liter;
20:04:0.5 liter;
20:05:0.3 liter;
20:06:0.2 litres;
20:07:0.8 litres;
20:08:0.5 liter.
Step S403: and acquiring a first water consumption set of the current time point of the target date type in the current target period and a second water consumption set of the current time point of the target date type in the last target period according to the water consumption history table.
For example, the target date types are workdays and non-workdays.
The target date type is a working day, for example, the water consumption history table is a daily water consumption record table every minute, the target period is a period of natural week, for example, if the current time is 10 am 02 on thursday, the first water consumption set is: (Water usage at 10 am 02 on monday, 10 am 02 on monday) and the second water usage set is: (Water usage at 10 am 02 on monday, 10 am 02 on friday).
Step S404: updating the water consumption corresponding to the current time point of the target date type in the water consumption habit table according to the first water consumption, the first water consumption set and the second water consumption set.
For example, the calculation formula of the water consumption corresponding to the current time point in the water habit table is that the water consumption corresponding to the current time point in the water habit table= (first water consumption+first water consumption set) ×first weighting coefficient+second water consumption set) ×second weighting coefficient.
For example, the number of the cells to be processed, the water consumption of 10.sup.02 in the water habit table is updated to (the water consumption of 10.sup.02 in the morning of the current monday+the water consumption of 10.sup.02 in the morning of the current monday)/(the water consumption of 10.sup.02 in the monday) 4 x 0.7+ (water usage at 10 a.m. on monday + water usage at 10 a.m. on tuesday + water usage at 10 a.m. on friday/5 x 0.3.
Step S405: and judging whether a time point with water consumption larger than the preset water consumption exists in the target time period of the target date type of the water consumption habit table.
For example, the target period is 20:00 to 20:08, if the preset water consumption is 0.7 liter, the water consumption of 20:07 is 0.8 liter and is larger than the preset water consumption.
Step S406: if the water heater exists, the water heater is controlled to start the heating function.
Since the water consumption of 20:07 is 0.8 liter greater than the preset water consumption of 0.7 liter, the water consumption is suddenly increased, so that the water heater is controlled to start the heating function.
Example IV
As shown in fig. 6, an embodiment of the present invention provides an intelligent device control method, including the following steps:
step S501: and (5) collecting water consumption data.
For example, recording water consumption data of the air energy water heater each time a user uses, including water consumption time, water consumption duration, water consumption amount and the like; recording how long after heating the heat preservation time can be triggered; the heating duration, i.e. the time (T) required to heat to a specified temperature, is recorded.
Step S502: water usage data analysis and modeling.
For example, the collected water usage data is analyzed and modeled to learn the water usage habits and patterns of the user. By analyzing the time distribution, frequency variation, etc. of the water consumption data, a user habit model can be established.
Analyzing user records of working days and non-working days, counting the corresponding relation between time and water consumption of each day, calculating an average value of water consumption at each moment, outputting the average water consumption at each moment, and carrying out weighted summation with the records of the previous week, for example: water habit table = 0.3 last week +0.7 present week.
Step S503: and (5) regulating an algorithm by using a water habit table.
For example, regulatory strategies are divided into workdays and non-workdays in units of weeks. The water heater inquires whether the average water consumption higher than the threshold value b exists in the time T at the current moment from a water consumption habit table every minute; heating is turned on if present; otherwise, the non-heating state is maintained.
The threshold b may be adjusted according to the energy saving level set by the user. This threshold may also be dynamically adjusted based on the amount of power used.
Example five
As shown in fig. 2, an embodiment of the present invention provides a water heater control apparatus, including:
the current water consumption acquisition module: for use in; acquiring a first water quantity which is the water consumption of the current time point;
the water habit table acquisition module: for use in; acquiring a water consumption habit table, wherein the water consumption habit table comprises water consumption corresponding to each time point;
historical water consumption acquisition module: the method comprises the steps of obtaining a first water consumption set of a current time point in a current target period and a second water consumption set of a current time point in a previous target period according to a water consumption history table;
and an updating module: updating the water consumption corresponding to the current time point in the water habit table according to the first water consumption, the first water consumption set and the second water consumption set;
and a judging module: a time point for judging whether the water consumption is larger than the preset water consumption in the target time period of the water consumption habit table;
and the control module is used for: the control device is used for controlling the water heater to start a heating function.
Optionally, the updating module further includes a weighted updating unit:
for updating the water habit table according to the following formula:
the water consumption corresponding to the current time point in the water consumption habit table= (first water consumption+first water consumption set) ×first weighting coefficient+second water consumption set) ×second weighting coefficient.
Optionally, the historical water consumption obtaining module further includes a date type obtaining unit: and the first water consumption set is used for acquiring the current time point of the target date type in the current target period and the second water consumption set is used for acquiring the current time point of the target date type in the last target period according to the water consumption history table.
Optionally, the judging module further includes a threshold adjusting unit: the preset water consumption is dynamically adjusted according to the energy saving level and/or the power consumption.
Example six
Fig. 3 shows a schematic structural diagram of a computer device according to an exemplary embodiment of the present application, where the computer device includes:
processor 301, including one or more processing cores, executes various functional applications and data processing by running software programs and modules by processor 301.
The receiver 302 and the transmitter 303 may be implemented as one communication component, which may be a communication chip. Alternatively, the communication component may be implemented to include a signaling function. That is, the transmitter 303 may be used to transmit control signals to the image acquisition device and the scanning device, and the receiver 302 may be used to receive corresponding feedback instructions.
The memory 304 is connected to the processor 301 by a bus 305.
The memory 304 may be used for storing at least one instruction, and the processor 301 is configured to execute the at least one instruction to implement steps S101 to S106 in the above-described control method embodiment.
It will be appreciated by those skilled in the art that fig. 3 is merely an example of a computer device and is not limiting of the computer device, and may include more or fewer components than shown, or may combine certain components, or different components, e.g., the computer device may also include a network access device, etc.
The processor 301 may be a central processing unit (CentralProcessingUnit, CPU), but may also be other general purpose processors, digital signal processors (DigitalSignalProcessor, DSP), application specific integrated circuits (ApplicationSpecificIntegratedCircuit, ASIC), off-the-shelf programmable gate arrays (Field-ProgrammableGateArray, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 304 may be an internal storage unit of the computer device, such as a hard disk or a memory of the computer device. The memory 304 may also be an external storage device of the computer device, such as a plug-in hard disk, a smart memory card (SmartMediaCard, SMC), a secure digital (SecureDigital, SD) card, a flash card (FlashCard), etc. provided on the computer device. Further, the memory 304 may also include both internal storage units and external storage devices of the computer device. The memory 304 is used for storing the computer program and other programs and data required by the terminal device. The memory 304 may also be used to temporarily store data that has been output or is to be output.
Example seven
The embodiment of the application also provides a computer readable storage medium, wherein at least one instruction, at least one section of program, code set or instruction set is stored in the readable storage medium, so as to be loaded and executed by a processor to realize the water heater control method.
Alternatively, the computer-readable storage medium may include: read-only memory (ROM, readOnlyMemory), random access memory (RAM, randomAccessMemory), solid state disk (SSD, solidStateDrives), or optical disk. The random access memory may include a resistive random access memory (ReRAM, resistanceRandomAccessMemory) and a dynamic random access memory (DRAM, dynamicRandomAccessMemory).
Example eight
The present application also provides a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions to cause the computer device to perform the water heater control method according to any one of the above embodiments.
The foregoing embodiment numbers of the present application are merely for description, and do not represent the advantages and disadvantages of the implementation.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program for instructing relevant hardware, and the program may be stored in a computer readable storage medium, where the storage medium may be a read-only memory, a magnetic disk or an optical disk, etc. It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions. The functional units and modules in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working process of the units and modules in the above system may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference is made to the related descriptions of other embodiments.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer memory, a Read-only memory (ROM), a random access memory (RAM, randomAccessMemory), an electrical carrier signal, a telecommunication signal, a software distribution medium, and so forth. It should be noted that the computer readable medium contains content that can be appropriately scaled according to the requirements of jurisdictions in which such content is subject to legislation and patent practice, such as in certain jurisdictions in which such content is subject to legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunication signals.
The above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention, and are intended to be included in the scope of the present invention.

Claims (10)

1. A water heater control method, comprising:
acquiring a first water quantity which is the water consumption of the current time point;
acquiring a water consumption habit table, wherein the water consumption habit table comprises water consumption corresponding to each time point;
acquiring a first water consumption set at a current time point in a current target period and a second water consumption set at a current time point in a previous target period according to a water consumption history table;
updating the water consumption corresponding to the current time point in the water consumption habit table according to the first water consumption, the first water consumption set and the second water consumption set;
judging whether a time point with water consumption larger than a preset water consumption exists in a target time period of the water consumption habit table;
if the water heater exists, the water heater is controlled to start the heating function.
2. The method according to claim 1, wherein the step of updating the water usage amount corresponding to the current time point in the water habit table according to the first water amount, the first water amount set, and the second water amount set comprises:
the water consumption corresponding to the current time point in the water consumption habit table is calculated according to the following formula:
the water consumption corresponding to the current time point in the water consumption habit table= (first water consumption+first water consumption set) ×first weighting coefficient+second water consumption set) ×second weighting coefficient.
3. The method according to claim 1, wherein the step of obtaining the first water usage set at the current time point in the current target period and the second water usage set at the current time point in the previous target period according to the water usage history table includes:
acquiring a first water consumption set of a current time point of a target date type in a current target period and a second water consumption set of a current time point of a target date type in a previous target period according to a water consumption history table;
the updating the water consumption corresponding to the current time point in the water habit table according to the first water consumption, the first water consumption set and the second water consumption set comprises the following steps:
updating the water consumption corresponding to the current time point of the target date type in the water habit table according to the first water consumption, the first water consumption set and the second water consumption set;
the step of judging whether the time point of the water consumption larger than the preset water consumption exists in the target time period of the water consumption habit table comprises the following steps:
and judging whether a time point with water consumption larger than a preset water consumption exists in a target time period of a target date type of the water consumption habit table.
4. The method according to claim 1, wherein the preset water usage is dynamically adjusted according to energy saving level and/or power consumption.
5. A water heater control apparatus, comprising:
the current water consumption acquisition module: for use in; acquiring a first water quantity which is the water consumption of the current time point;
the water habit table acquisition module: for use in; acquiring a water consumption habit table, wherein the water consumption habit table comprises water consumption corresponding to each time point;
historical water consumption acquisition module: the method comprises the steps of obtaining a first water consumption set of a current time point in a current target period and a second water consumption set of a current time point in a previous target period according to a water consumption history table;
and an updating module: updating the water consumption corresponding to the current time point in the water habit table according to the first water consumption, the first water consumption set and the second water consumption set;
and a judging module: a time point for judging whether the water consumption is larger than the preset water consumption in the target time period of the water consumption habit table;
and the control module is used for: the control device is used for controlling the water heater to start a heating function.
6. The apparatus of claim 5, wherein the update module further comprises a weighted update unit:
for updating the water habit table according to the following formula:
the water consumption corresponding to the current time point in the water consumption habit table= (first water consumption+first water consumption set) ×first weighting coefficient+second water consumption set) ×second weighting coefficient.
7. The apparatus of claim 5, wherein the historical water usage acquisition module further comprises a date type acquisition unit: and the first water consumption set is used for acquiring the current time point of the target date type in the current target period and the second water consumption set is used for acquiring the current time point of the target date type in the last target period according to the water consumption history table.
8. The apparatus of claim 5, wherein the determination module further comprises a threshold adjustment unit: the preset water consumption is dynamically adjusted according to the energy saving level and/or the power consumption.
9. An electronic device comprising a memory and a processor, the memory for storing one or more computer instructions, wherein the one or more computer instructions when executed by the processor implement the water heater control method of any one of claims 1-4.
10. A computer-readable storage medium in which a program is stored, wherein the program, when executed by a computer, implements the water heater control method according to any one of claims 1 to 4.
CN202311871538.5A 2023-12-29 2023-12-29 Water heater control method and device, electronic equipment and storage medium Pending CN117804072A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311871538.5A CN117804072A (en) 2023-12-29 2023-12-29 Water heater control method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311871538.5A CN117804072A (en) 2023-12-29 2023-12-29 Water heater control method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117804072A true CN117804072A (en) 2024-04-02

Family

ID=90425287

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311871538.5A Pending CN117804072A (en) 2023-12-29 2023-12-29 Water heater control method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117804072A (en)

Similar Documents

Publication Publication Date Title
CN110530035B (en) Automatic control method and device for water heater, water heater and electronic equipment
GB2516582A (en) Air-conditioning management device, air-conditioning management method, and program
CN103221755A (en) Air conditioning information estimation device, control method of air conditioning information estimation device, and control program
CN112945329B (en) Method, device and terminal for determining irrigation water quantity of agricultural motor-pumped well
CN108594666A (en) A kind of control method and device, terminal device and readable storage medium storing program for executing
CN113739386A (en) Control method, system, equipment and medium for public space thermal environment air conditioning system
CN111679573A (en) Household energy consumption optimization method and device for residents
CN109254211A (en) Control method, device, computer equipment and the storage medium of electrical equipment
CN117804072A (en) Water heater control method and device, electronic equipment and storage medium
CN113777398A (en) Electric energy meter electric quantity recording method, electric energy meter and readable storage medium
CN114135928B (en) Centralized control method, terminal and storage medium for electric heating system
CN112493100A (en) Cotton moisture monitoring drip irrigation control method and system based on soil water potential
CN111682539A (en) Partitioning method and system for power grid with distributed power supply based on simplified comprehensive scene
CN105425594A (en) Energy distribution method, energy distributor and terminal
CN113450022B (en) Intelligent energy-saving balancing method and system based on living habits
CN115164340B (en) Air conditioner sterilization control method and device, air conditioner and computer readable storage medium
CN111981650B (en) Control method of air conditioner, computer device and computer readable storage medium
CN106152371A (en) Environment control method, environment control unit and electric power management system
CN112803401A (en) Regulation and control method and device of virtual distributed energy cluster and terminal equipment
CN115239207A (en) User behavior energy-saving evaluation method and device, electronic equipment and readable storage medium
CN113269660A (en) Heat supply control method and device, electronic equipment and computer readable storage medium
CN117692331B (en) CPE system based on optimal network selection and network configuration method
CN113067329B (en) Renewable energy source adaptability optimization method and terminal of power system
CN115076762B (en) Power adjusting method, power adjusting device and temperature adjusting equipment
CN112088756A (en) Rice field water level control method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination