Disclosure of Invention
The invention provides a water heater control method, a water heater, equipment and a storage medium, which are used for improving heating efficiency and reducing waiting time of a user.
In a first aspect, the present invention provides a water heater control method, where the water heater includes a first liner and a second liner, a cold water inlet is provided at the bottom of the second liner, a water outlet is provided at the top of the second liner, the water outlet at the top of the second liner is connected to a connecting pipe, the connecting pipe extends to the bottom of the first liner, a hot water outlet is provided at the top of the first liner, a first heater is provided in the first liner, and a second heater is provided in the second liner, and the method includes:
acquiring a first water temperature of the first inner container and a second water temperature of the second inner container;
controlling the heater to heat the water in the first inner container and the second inner container based on the first water temperature and the second water temperature.
Optionally, controlling the heater to heat the water in the first inner container and the water in the second inner container based on the first water temperature and the second water temperature includes:
comparing the first water temperature with a lower limit temperature of domestic water;
when the first water temperature is lower than the lower limit temperature of the domestic water, the first heater is controlled to heat the water in the first inner container, and the second heater does not work.
Optionally, controlling the heater to heat the water in the first inner container and the water in the second inner container based on the first water temperature and the second water temperature includes:
when the first water temperature is greater than or equal to the lower limit temperature of the domestic water, judging whether the first water temperature and the second water temperature are both less than a set starting temperature;
and when the first water temperature and the second water temperature are both lower than the set starting temperature, controlling the first heater to heat the water in the first inner container, and simultaneously controlling the second heater to heat the water in the second inner container.
Optionally, controlling the heater to heat the water in the first inner container and the water in the second inner container based on the first water temperature and the second water temperature includes:
and when the first water temperature is greater than or equal to a set starting temperature and the second water temperature is less than the set starting temperature, controlling the second heater to heat the water in the second liner, and enabling the first heater not to work.
Optionally, controlling the heater to heat the water in the first inner container and the water in the second inner container based on the first water temperature and the second water temperature includes:
and when the first water temperature is greater than or equal to the set starting temperature and the first water temperature is equal to the second water temperature, controlling the first heater and the second heater to be out of work.
In a second aspect, the invention further provides a water heater, which comprises a controller, a first liner, a second liner, a first heat exchanger, a second heat exchanger, a first electronic expansion valve, a second electronic expansion valve, a first temperature sensor, a second temperature sensor, an evaporator, a four-way valve and a compressor;
a cold water inlet is formed in the bottom of the second inner container, a water outlet is formed in the top of the second inner container, the water outlet in the top of the second inner container is connected with a connecting pipe, the connecting pipe extends to the bottom of the first inner container, and a hot water outlet is formed in the top of the first inner container;
the first heat exchanger is arranged in the first inner container, and the second heat exchanger is arranged in the second inner container;
the outlet of the compressor is connected with the liquid inlet of the four-way valve, the liquid outlet of the four-way valve is connected with the inlet of the evaporator, the outlet of the evaporator is respectively connected with the inlets of the first heat exchanger and the second heat exchanger, the outlets of the first heat exchanger and the second heat exchanger are both connected with the air inlet of the four-way valve, and the air outlet of the four-way valve is connected with the inlet of the compressor;
the first electronic expansion valve is arranged on a pipeline between the first heat exchanger and the evaporator, and the second electronic expansion valve is arranged on a pipeline between the second heat exchanger and the evaporator;
the first temperature sensor is arranged in the first inner container and used for collecting first water temperature of the first inner container, and the second temperature sensor is arranged in the second inner container and used for collecting second water temperature of the second inner container;
the first electronic expansion valve, the second electronic expansion valve, the first temperature sensor and the second temperature sensor are all connected with the controller, and the controller is used for executing the water heater control method of any one of claims 1 to 5.
Optionally, the water heater further comprises a pressure relief switch, and the pressure relief switch is arranged on a pipeline between the outlet of the compressor and the liquid inlet of the four-way valve.
Optionally, the first heat exchanger and the second heat exchanger are both coil heat exchangers.
In a third aspect, the present invention also provides a computer device, including:
one or more processors;
a memory for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the water heater control method as provided by the first aspect of the invention.
In a fourth aspect, the present invention also provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the water heater control method as provided in the first aspect of the present invention.
The invention provides a water heater control method, wherein the water heater comprises a first inner container and a second inner container which are mutually communicated, a first heater is arranged in the first inner container, a second heater is arranged in the second inner container, and after first water temperature of the first inner container and second water temperature of the second inner container are obtained, the heaters are controlled to heat water in the first inner container and the second inner container based on the first water temperature and the second water temperature. The total capacity of the double inner containers is unchanged relative to the total capacity of the existing single inner container, but the capacity of each inner container in the double inner containers is reduced relative to the capacity of the existing single inner container, so that the heating time of each inner container is shortened, and the heating efficiency is improved.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present invention, nor do they necessarily limit the scope of the invention. Other features of the present invention will become apparent from the following description.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or 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.
Example one
Fig. 1A is a flowchart of a water heater control method according to an embodiment of the present invention, where this embodiment is applicable to a situation of rapidly heating water stored in a water heater, and the method can be executed by a water heater control device provided in an embodiment of the present invention, where the device can be implemented by software and/or hardware, and is generally configured in a computer device, as shown in fig. 1A, the method specifically includes the following steps:
s111, acquiring a first water temperature of the first inner container and a second water temperature of the second inner container.
In the embodiment of the invention, a first inner container and a second inner container are arranged in the water tank of the water heater and used for storing water. For example, the capacities and shapes of the first inner container and the second inner container may be the same or different, and the embodiment of the present invention is not limited herein. Illustratively, in one embodiment of the present invention, the first inner container and the second inner container are both hollow cylinders or elliptic cylinders, and the axis extends in the vertical direction. The bottom of the second inner container is provided with a cold water inlet used for connecting a cold water source, such as a cold water pipeline for household water. The top of second inner bag is provided with the delivery port, and the delivery port at the top of second inner bag is connected with the connecting pipe, and the connecting pipe extends to the bottom in the first inner bag, and the top of first inner bag is provided with hot water outlet, and hot water flows out from the hot water outlet at the top of first inner bag, supplies the user to use. A first heater is arranged in the first inner container, and a second heater is arranged in the second inner container.
Illustratively, in the embodiment of the invention, the water heater is an air energy water heater, the first heater and the second heater are both heat exchangers, and the heat exchangers exchange heat with water in the liner to heat and store water by introducing high-temperature liquid working media into the heat exchangers.
Exemplarily, temperature sensors are arranged in the first inner container and the second inner container and used for collecting the temperature of the water stored in the first inner container and the second inner container.
In the embodiment of the invention, a first water temperature of the water stored in the first inner container and a second water temperature of the water stored in the second inner container are obtained.
And S112, controlling the heater to heat the water in the first inner container and/or the second inner container based on the first water temperature and the second water temperature.
After the first water temperature of the water stored in the first inner container and the second water temperature of the water stored in the second inner container are obtained, the heater is controlled to heat the water in the first inner container and/or the second inner container based on the first water temperature and the second water temperature. Illustratively, in the embodiment of the invention, the heater is a heat exchanger, a control valve can be arranged on a pipeline connected with the heat exchanger, and whether high-temperature working media can enter the heat exchanger is controlled by controlling the opening or closing of the control valve, so that whether the stored water in the liner is heated is realized. The total capacity of the double inner containers is unchanged relative to the total capacity of the existing single inner container, but the capacity of each inner container in the double inner containers is reduced relative to the capacity of the existing single inner container, so that the heating time of each inner container is shortened, and the heating efficiency is improved.
According to the control method of the water heater, the water heater comprises the first inner container and the second inner container which are mutually communicated, the first heater is arranged in the first inner container, the second heater is arranged in the second inner container, and after the first water temperature of the first inner container and the second water temperature of the second inner container are obtained, the heaters are controlled to heat water in the first inner container and the second inner container based on the first water temperature and the second water temperature. The total capacity of the double inner containers is unchanged relative to the total capacity of the existing single inner container, but the capacity of each inner container in the double inner containers is reduced relative to the capacity of the existing single inner container, so that the heating time of each inner container is shortened, and the heating efficiency is improved.
Fig. 1B is a flowchart of another water heater control method according to an embodiment of the present invention, and as shown in fig. 1B, the method specifically includes the following steps:
s121, obtaining a first water temperature of the first inner container and a second water temperature of the second inner container.
Illustratively, the first water temperature T of the first inner container is obtained through temperature sensors arranged in the first inner container and the second inner container 1 And a second water temperature T of the second inner container 2 。
And S122, comparing the first water temperature with the lower limit temperature of the domestic water.
In the embodiment of the invention, the lower limit temperature T of the domestic water L Refers to the lowest temperature acceptable to the user when using normal domestic water, e.g. 30 ℃. The lower limit temperature T of the domestic water L The water heater may be the same setting as the water heater leaving the factory, or may be set by the user according to the user's requirement, and the invention is not limited herein.
In the embodiment of the invention, the first water temperature T of the first inner container is obtained 1 And a second water temperature T of the second inner container 2 Then, the first water temperature T is adjusted 1 Lower limit temperature T of domestic water L A comparison is made.
And S123, when the first water temperature is lower than the lower limit temperature of the domestic water, controlling the first heater to heat the water in the first inner container, and controlling the second heater not to work.
The first water temperature T in the first inner container is provided with hot water due to the water outlet of the first inner container 1 Lower than the lower limit temperature T of domestic water L In the process, the stored water in the first inner container needs to be rapidly heated to the lower limit temperature T of the domestic water L The above. Therefore, the first heater is controlled to heat the water in the first inner container, the second heater does not work, the heat source is concentrated on the first heater, the stored water in the first inner container is quickly heated, the heating efficiency is improved, and the waiting time of a user is reduced.
Fig. 1C is a flowchart of another water heater control method according to an embodiment of the present invention, and as shown in fig. 1C, the method specifically includes the following steps:
s131, acquiring a first water temperature of the first inner container and a second water temperature of the second inner container.
Illustratively, the first water temperature T of the first inner container is obtained through temperature sensors arranged in the first inner container and the second inner container 1 And a second water temperature T of the second inner container 2 。
And S132, comparing the first water temperature with the lower limit temperature of the domestic water.
In the examples of the present invention, rawLower limit temperature T of the water L Refers to the lowest temperature acceptable to the user when using normal domestic water, e.g. 30 ℃.
In the embodiment of the invention, the first water temperature T of the first inner container is obtained 1 And a second water temperature T of the second inner container 2 Then, the first water temperature T is adjusted 1 Lower limit temperature T of domestic water L A comparison is made.
And S133, when the first water temperature is greater than or equal to the lower limit temperature of the domestic water, judging whether the first water temperature and the second water temperature are both less than the set starting temperature.
At a first water temperature T 1 Greater than or equal to the lower limit temperature T of the domestic water L In the time, the stored water in the first inner container does not need to be rapidly heated, and at the moment, the first water temperature T is further judged 1 And a second water temperature T 2 Whether all are less than the set starting temperature T D . Exemplary, start temperature T D Set temperature T, typically custom set for a user set Minus the return difference temperature T r . In general, the starting temperature T D Greater than the lower limit temperature T of domestic water L . When the water temperature in the inner container is lower than the starting temperature T D When the water heater is used, the controller can control the heater to heat the water in the inner container.
And S134, when the first water temperature and the second water temperature are both lower than the set starting temperature, controlling the first heater to heat the water in the first inner container, and controlling the second heater to heat the water in the second inner container.
Illustratively, at a first water temperature T 1 And a second water temperature T 2 Are all less than the set starting temperature T D And meanwhile, the first heater is controlled to heat the water in the first inner container, and the second heater is controlled to heat the water in the second inner container.
Fig. 1D is a flowchart of another water heater control method according to an embodiment of the present invention, and as shown in fig. 1D, the method specifically includes the following steps:
and S141, acquiring a first water temperature of the first inner container and a second water temperature of the second inner container.
Illustratively, by a first inner container and a second inner containerA temperature sensor arranged in the liner is used for acquiring a first water temperature T of the first liner 1 And a second water temperature T of the second inner container 2 。
And S142, comparing the first water temperature with the lower limit temperature of the domestic water.
In the embodiment of the invention, the lower limit temperature T of the domestic water L Refers to the lowest temperature acceptable to the user when using normal domestic water, e.g. 30 ℃.
In the embodiment of the invention, the first water temperature T of the first inner container is obtained 1 And a second water temperature T of the second inner container 2 Then, the first water temperature T is adjusted 1 Lower limit temperature T of domestic water L A comparison is made.
And S143, when the first water temperature is greater than or equal to the lower limit temperature of the domestic water, judging whether the first water temperature and the second water temperature are both less than the set starting temperature.
At a first water temperature T 1 Greater than or equal to the lower limit temperature T of the domestic water L In the time, the stored water in the first inner container does not need to be rapidly heated, and at the moment, the first water temperature T is further judged 1 And a second water temperature T 2 Whether all are less than the set starting temperature T D . Exemplary, start temperature T D Set temperature T generally customized for a user set Minus the return difference temperature T r . In general, the starting temperature T D Greater than the lower limit temperature T of domestic water L . When the water temperature in the inner container is lower than the starting temperature T D When the water heater is used, the controller controls the heater to heat the water in the inner container.
And S144, when the first water temperature is greater than or equal to the set starting temperature and the second water temperature is less than the set starting temperature, controlling the second heater to heat the water in the second inner container, and enabling the first heater not to work.
At a first water temperature T 1 Greater than or equal to a set starting temperature T D And the second water temperature T 2 Less than a set starting temperature T D When the water heater is used, the second heater is controlled to heat the water in the second inner container, the first heater does not work, the heat source is concentrated on the second heater, and the water in the second inner container is heatedThe water storage heats fast, improves heating efficiency, and simultaneously, after the hot water in first inner bag was used, the hot water in the second inner bag in time supplyed in to first inner bag, improves heating efficiency, reduces user's latency.
Fig. 1E is a flowchart of another water heater control method according to an embodiment of the present invention, and as shown in fig. 1E, the method specifically includes the following steps:
and S151, acquiring a first water temperature of the first inner container and a second water temperature of the second inner container.
Illustratively, the first water temperature T of the first inner container is obtained through temperature sensors arranged in the first inner container and the second inner container 1 And a second water temperature T of the second inner container 2 。
S152, comparing the first water temperature with the lower limit temperature of the domestic water.
In the embodiment of the invention, the lower limit temperature T of the domestic water L Refers to the lowest temperature acceptable to the user when using normal domestic water, e.g. 30 ℃.
In the embodiment of the invention, the first water temperature T of the first inner container is obtained 1 And a second water temperature T of the second inner container 2 Then, the first water temperature T is adjusted 1 Lower limit temperature T of domestic water L A comparison is made.
And S153, when the first water temperature is greater than or equal to the lower limit temperature of the domestic water, judging whether the first water temperature and the second water temperature are both less than the set starting temperature.
At a first water temperature T 1 Greater than or equal to the lower limit temperature T of the domestic water L In the time, the stored water in the first inner container does not need to be rapidly heated, and at the moment, the first water temperature T is further judged 1 And a second water temperature T 2 Whether all are less than the set starting temperature T D . Exemplary, start temperature T D Set temperature T, typically custom set for a user set Minus the return difference temperature T r . In general, the starting temperature T D Greater than the lower limit temperature T of domestic water L . When the water temperature in the inner container is lower than the starting temperature T D When the water in the inner container is heated, the heater is controlled by the controller。
And S154, when the first water temperature is greater than or equal to the set starting temperature and the first water temperature is equal to the second water temperature, controlling the first heater and the second heater to be out of operation.
At a first water temperature T 1 Greater than or equal to a set starting temperature T D And the first water temperature T 1 Equal to the second water temperature T 2 And when the temperature of the water in the two inner containers is higher, the water does not need to be heated, and the first heater and the second heater are controlled not to work.
Example two
Fig. 2 is a schematic structural diagram of a water heater according to a second embodiment of the present invention, and as shown in fig. 2, the water heater includes a controller (not shown), a first inner container 202, a second inner container 203, a first heat exchanger 204, a second heat exchanger 205, a first electronic expansion valve 206, a second electronic expansion valve 207, a first temperature sensor 208, a second temperature sensor 209, an evaporator 210, a four-way valve 211, and a compressor 212.
The bottom of the second inner container 203 is provided with a cold water inlet for connecting a cold water source, for example, a cold water pipeline for domestic water. The top of the second inner container 203 is provided with a water outlet, the water outlet at the top of the second inner container 203 is connected with a connecting pipe 221, and the connecting pipe 221 extends to the bottom of the first inner container 202. The top of the first inner container 202 is provided with a hot water outlet, and hot water flows out from the hot water outlet at the top of the first inner container 202 for users to use.
The first heat exchanger 204 is disposed in the first inner container 202, and the second heat exchanger 205 is disposed in the second inner container 203.
The outlet of the compressor 212 is connected to the liquid inlet D of the four-way valve 211, the liquid outlet E of the four-way valve 211 is connected to the inlet of the evaporator 210, the outlets of the evaporator 210 are connected to the inlets of the first heat exchanger 204 and the second heat exchanger 205, the outlets of the first heat exchanger 204 and the second heat exchanger 205 are both connected to the air inlet C of the four-way valve, and the air outlet S of the four-way valve is connected to the inlet of the compressor 212.
A first electronic expansion valve 206 is disposed on a pipe between the first heat exchanger 204 and the evaporator 210, and a second electronic expansion valve 207 is disposed on a pipe between the second heat exchanger 205 and the evaporator 210.
The first temperature sensor 208 is disposed in the first inner container 202 for collecting a first water temperature of the first inner container 202, and the second temperature sensor 209 is disposed in the second inner container 203 for collecting a second water temperature of the second inner container 203.
The first electronic expansion valve 206, the second electronic expansion valve 207, the first temperature sensor 208 and the second temperature sensor 209 are all connected with a controller, and the controller is used for executing the water heater control method provided by any of the foregoing embodiments of the invention.
In particular, a first water temperature T in the first inner container 1 Lower than the lower limit temperature T of domestic water L When the refrigerant is in a gas state, the controller controls the first electronic expansion valve 206 to be opened, the second electronic expansion valve 207 is operated at the lowest opening degree (the opening degree of the electronic expansion valve is controlled at the lowest opening degree instead of being completely closed in the heating switching process in order to prevent the refrigerant from migrating to the closed heat exchanger and not participating in the whole system circulation, so that the system operation failure is caused), the high-pressure liquid refrigerant generated by the compression of the compressor 212 is evaporated into a gas state through the evaporator 210, absorbs a large amount of heat energy from the air, then almost all enters the first heat exchanger 204, concentrates the heat source on the first heat exchanger 204, quickly heats the stored water in the first inner container 202, improves the heating efficiency, and reduces the waiting time of users.
At a first water temperature T 1 Greater than or equal to the lower limit temperature T of the domestic water L In time, the first water temperature T is judged 1 And a second water temperature T 2 Whether all are less than the set starting temperature T D . If the first water temperature T 1 And a second water temperature T 2 Are all less than the set starting temperature T D The controller controls the first electronic expansion valve 206 and the second electronic expansion valve 207 to be opened, and simultaneously heats the water in the first inner container 202 and the second inner container 203. If the first water temperature T 1 Greater than or equal to a set starting temperature T D And the second water temperature T 2 Less than a set starting temperature T D The controller controls the second electronic expansion valve 207 to be opened, the first electronic expansion valve 206 is operated at the lowest opening degree, and the heat source is concentrated on the second heat exchangerThe water stored in the second inner container 203 is rapidly heated in the heat device 205, so that the heating efficiency is improved. Meanwhile, after the hot water in the first inner container 202 is used, the hot water in the second inner container 203 is supplemented to the first inner container 202 in time, so that the heating efficiency is improved, and the waiting time of a user is reduced. If the first water temperature T 1 Greater than or equal to a set starting temperature T D And the first water temperature T 1 Is equal to the second water temperature T 2 It is noted that the temperatures of the water in the two liners are high, and the first electronic expansion valve 206 and the second electronic expansion valve 207 are controlled by the controller to operate at the lowest opening degree without heating.
In some embodiments of the present invention, as shown in fig. 2, the water heater further comprises a pressure relief switch 213, and the pressure relief switch 213 is disposed on a pipe between an outlet of the compressor 212 and the liquid inlet D of the four-way valve 211. When the pressure in the pipeline is greater than the preset pressure threshold, the pressure relief switch 213 is turned on to relieve the pressure.
In some embodiments of the present invention, both the first heat exchanger 204 and the second heat exchanger 205 are coil heat exchangers. The coil heat exchanger and water have larger heat exchange area, which is beneficial to improving the heating efficiency.
In the embodiment of the present invention, a connecting pipe 221 is connected to a water outlet at the top of the second inner container 203, the connecting pipe 221 extends to the bottom of the first inner container 202, and a hot water outlet is arranged at the top of the first inner container 202. During the use of hot water, the hot water is gradually pushed out from the top of the first inner container 202, and simultaneously, the hot water of the second inner container 203 is supplemented to the bottom of the first inner container 202, and the cold water is supplemented to the bottom of the second inner container 203.
Illustratively, the capacity of the first inner container 202 and the second inner container 203 are both 100L, and the single inner container is 200L. The current water temperature is not used for bathing at 35 ℃, and the water temperature for bathing is 40 ℃. Calculate according to single inner bag 200L, suppose we are 60L according to one person's water consumption of bathing, and unit heating capacity 10KW then need heat 200L water to temperature T can satisfy the water demand. Then there is the following formula:
C×(40℃-35℃)×200L+C×(40℃-15℃)×60L=C×(Ta-15℃)×200L
wherein Cx (40 ℃ -15 ℃) x 60L represents the energy required for heating the supplemented 60L cold water at 15 ℃ to 40 ℃ after 60L hot water is used up. Ta was calculated to be equal to 47.5 ℃.
I.e. the time t1 required for heating 200L of water to 47.5 ℃ is:
t1=C×(47.5℃-35℃)×200L/10KW
t1 was found to be equal to 17.5min.
If the scheme of the invention is adopted, because the water stored in the first inner container is more than 60L, only the water in the first inner container needs to be heated, the capacity is 100L, the water supplementing temperature is not the direct water supplementing of tap water, the second inner container supplements water to the first inner container, and the heating temperature difference is greatly reduced. Assuming that the water temperatures in the first and second inner containers are both 35 ℃, there is the following formula:
c x (40 ℃ -35 ℃) X100L + C x (40 ℃ -35 ℃) X60L = C x (Tb-35 ℃) X100, tb equals 43 ℃.
I.e. equivalent to heating 100L of water to 43 ℃, the time t2 required is:
t2=C×(43℃-35℃)×100L/10KW
t1 was found to be equal to 5.6min.
As described above, the time required for heating is shortened, and the heating efficiency is improved.
EXAMPLE III
The embodiment of the invention also provides a computer device, and fig. 3 is a schematic structural diagram of a computer device provided in the third embodiment of the invention. Computer 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. The computer device may also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, 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. 3, the computer device 10 includes at least one processor 11, and a memory communicatively connected to the at least one processor 11, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, and the like, wherein 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 necessary for the operation of the computer device 10 can 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.
A number of components in the computer device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, or the like; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, 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 device 10 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication 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 dedicated Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and so forth. The processor 11 performs the various methods and processes described above, such as the water heater control method.
In some embodiments, the water heater control method may be implemented as a computer program tangibly embodied in 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 the computer device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the water heater control method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the water heater control method by any other suitable means (e.g., by way of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), system on a 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 that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, 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 performed. A computer program can execute entirely on a machine, partly on a machine, as a stand-alone software package partly on a machine and partly on a remote machine or entirely on a 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. A 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 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 a computer 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) by which a user may provide input to the computer device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end 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 back-end, 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. A client and server are generally 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 host and VPS service are overcome.
It should be understood that various forms of the flows shown above, reordering, adding or deleting steps, may be used. For example, the steps described in the present invention may be executed in parallel, sequentially, or in different orders, and are not limited herein as long as the desired results of the technical solution of the present invention can be achieved.
The above-described embodiments should not be construed as limiting the scope of the invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.