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, the water heater includes a first inner container and a second inner container, a cold water inlet is provided at the bottom of the second inner container, a water outlet is provided at the top of the second inner container, a connection pipe is connected to the water outlet at the top of the second inner container, the connection pipe extends to the bottom of the first inner container, a hot water outlet is provided at the top of the first inner container, a first heater is provided in the first inner container, and a second heater is provided in the second inner container, the method includes:
acquiring a first water temperature of the first inner container and a second water temperature of the second inner container;
and controlling the heater to heat the water in the first liner and the second liner based on the first water temperature and the second water temperature.
Optionally, controlling the heater to heat the water in the first liner and the second liner 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 smaller than the lower limit temperature of domestic water, the first heater is controlled to heat the water in the first liner, and the second heater does not work.
Optionally, controlling the heater to heat the water in the first liner and the second liner 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 domestic water, judging whether the first water temperature and the second water temperature are both less than a set starting temperature;
when the first water temperature and the second water temperature are both smaller than the set starting temperature, 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.
Optionally, controlling the heater to heat the water in the first liner and the second liner based on the first water temperature and the second water temperature includes:
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, the second heater is controlled to heat the water in the second liner, and the first heater does not work.
Optionally, controlling the heater to heat the water in the first liner and the second liner 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 not operated.
In a second aspect, the invention also 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;
the bottom of the second inner container is provided with a cold water inlet, the top of the second inner container is provided with a water outlet, the water outlet at the top of the second inner container is connected with a connecting pipe, the connecting pipe extends to the bottom in the first inner container, and the top of the first inner container is provided with a hot water outlet;
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 according to any one of claims 1-5.
Optionally, the water heater further comprises a pressure relief switch, and the pressure relief switch is arranged on a pipeline between an outlet of the compressor and a 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 comprising:
one or more processors;
a memory for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the water heater control method as provided in the first aspect of the present 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 a water heater control method as provided by the first aspect of the invention.
The water heater comprises a first inner container and a second inner container which are communicated with each other, wherein a first heater is arranged in the first inner container, a 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 heater is 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 smaller 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 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.
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.
Example 1
Fig. 1A is a flowchart of a water heater control method according to an embodiment of the present invention, where the method is applicable to a case of quickly heating water stored in a water heater, and the method may be performed by a water heater control device according to an embodiment of the present invention, where the device may be implemented by software and/or hardware, and is generally configured in a computer device, as shown in fig. 1A, and 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 liner and a second liner are arranged in a water tank of the water heater and are used for storing water. By way of example, the first and second bladders may be the same or different in volume and shape, and embodiments of the invention are not limited in this regard. In an exemplary embodiment of the present invention, the first liner and the second liner are hollow cylinders or elliptic cylinders, and the axis extends in a vertical direction. The bottom of the second liner is provided with a cold water inlet for connecting a cold water source, e.g. a cold water pipe for domestic water. The top of the second inner container is provided with a water outlet, the water outlet at the top of the second inner container is connected with a connecting pipe, the connecting pipe extends to the bottom in the first inner container, the top of the first inner container 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 for users to use. The first inner container is internally provided with a first heater, and the second inner container is internally provided with a second heater.
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 medium into the heat exchangers.
The first inner container and the second inner container are respectively provided with a temperature sensor for acquiring the water storage temperature of the first inner container and the second inner container.
In the embodiment of the invention, 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.
And S112, controlling the heater to heat the water in the first liner and/or the second liner 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. 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 the high-temperature working medium can enter the heat exchanger or not is controlled by controlling the opening or closing of the control valve, so that whether the water storage in the liner is heated or not 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 smaller 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 water heater control method provided by the embodiment of the invention, the water heater comprises a first inner container and a second inner container which are communicated with each other, the first inner container is internally provided with a first heater, the second inner container is internally provided with a second heater, and after the first water temperature of the first inner container and the second water temperature of the second inner container are obtained, the water in the first inner container and the second inner container is heated by the heater 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 smaller 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, as shown in fig. 1B, the method specifically includes the following steps:
s121, acquiring the first water temperature of the first inner container and the second water temperature of the second inner container.
Exemplary, the first water temperature T of the first liner is obtained through the temperature sensors arranged in the first liner and the second liner 1 And a second water temperature T of a second inner container 2 。
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 that a user can accept, for example, 30 c, in normal domestic water. The lower limit temperature T of domestic water L The water heater can be shipped to the same setting, or can be set in a self-defined manner according to the requirements of users, and the invention is not limited herein.
In the embodiment of the invention, the first water temperature T of the first liner is obtained 1 And a second water temperature T of a second inner container 2 Thereafter, the first water temperature T 1 Lower limit temperature T of domestic water L A comparison is made.
And S123, when the first water temperature is smaller than the lower limit temperature of domestic water, controlling the first heater to heat the water in the first liner, and enabling the second heater to not work.
The water outlet of the first inner container supplies hot water, so that the first water temperature T in the first inner container 1 Less than the lower limit temperature T of domestic water L When the water storage in the first inner container is needed to be quickly heated to the lower limit temperature T of 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 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, as shown in fig. 1C, the method specifically includes the following steps:
s131, acquiring the first water temperature of the first inner container and the second water temperature of the second inner container.
Exemplary, the first water temperature T of the first liner is obtained through the temperature sensors arranged in the first liner and the second liner 1 And a second water temperature T of a second inner container 2 。
S132, 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 that a user can accept, for example, 30 c, in normal domestic water.
In the embodiment of the invention, the first water temperature T of the first liner is obtained 1 And a second water temperature T of a second inner container 2 Thereafter, the first water temperature T 1 Lower limit temperature T of domestic water L A comparison is made.
And S133, judging whether the first water temperature and the second water temperature are both smaller than the set starting temperature when the first water temperature is larger than or equal to the lower limit temperature of the domestic water.
At a first water temperature T 1 Is greater than or equal to the lower limit temperature T of domestic water L At this time, it is described that the water stored in the first liner is not required to be rapidly heated, and at this time, the first water temperature T is further determined 1 And a second water temperatureT 2 Whether or not they are all smaller than the set starting temperature T D . Exemplary, start temperature T D Set temperature T, typically user-defined set Subtracting the return difference temperature T r . Typically, the start-up temperature T D Is 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 And the controller controls the heater to heat the water in the liner.
And S134, when the first water temperature and the second water temperature are both smaller 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.
Exemplary, at a first water temperature T 1 And a second water temperature T 2 Are all smaller than the set starting temperature T D And when the water in the first inner container is heated by the first heater, the water in the second inner container is heated by the second heater.
Fig. 1D is a flowchart of another water heater control method according to an embodiment of the present invention, as shown in fig. 1D, the method specifically includes the following steps:
s141, acquiring the first water temperature of the first inner container and the second water temperature of the second inner container.
Exemplary, the first water temperature T of the first liner is obtained through the temperature sensors arranged in the first liner and the second liner 1 And a second water temperature T of a second inner container 2 。
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 that a user can accept, for example, 30 c, in normal domestic water.
In the embodiment of the invention, the first water temperature T of the first liner is obtained 1 And a second water temperature T of a second inner container 2 Thereafter, the first water temperature T 1 Lower limit temperature T of domestic water L A comparison is made.
S143, judging whether the first water temperature and the second water temperature are both smaller than the set starting temperature when the first water temperature is larger than or equal to the lower limit temperature of the domestic water.
At a first water temperature T 1 Is greater than or equal to the lower limit temperature T of domestic water L At this time, it is described that the water stored in the first liner is not required to be rapidly heated, and at this time, the first water temperature T is further determined 1 And a second water temperature T 2 Whether or not they are all smaller than the set starting temperature T D . Exemplary, start temperature T D Set temperature T, typically user-defined set Subtracting the return difference temperature T r . Typically, the start-up temperature T D Is 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 And the controller controls the heater to heat the water in the liner.
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, the second heater is controlled to heat the water in the second liner, and the first heater does not work.
At a first water temperature T 1 Greater than or equal to the set starting temperature T D And a second water temperature T 2 Less than the 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, the water in the second inner container is quickly heated, the heating efficiency is improved, meanwhile, after the hot water in the first inner container is used, the hot water in the second inner container is timely supplemented into the first inner container, the heating efficiency is improved, and the waiting time of a user is reduced.
Fig. 1E is a flowchart of another water heater control method according to an embodiment of the present invention, as shown in fig. 1E, the method specifically includes the following steps:
s151, acquiring the first water temperature of the first inner container and the second water temperature of the second inner container.
Exemplary, the first water temperature T of the first liner is obtained through the temperature sensors arranged in the first liner and the second liner 1 And a second water temperature T of a 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 that a user can accept, for example, 30 c, in normal domestic water.
In the embodiment of the invention, the first water temperature T of the first liner is obtained 1 And a second water temperature T of a second inner container 2 Thereafter, the first water temperature T 1 Lower limit temperature T of domestic water L A comparison is made.
And S153, judging whether the first water temperature and the second water temperature are both smaller than the set starting temperature when the first water temperature is larger than or equal to the lower limit temperature of the domestic water.
At a first water temperature T 1 Is greater than or equal to the lower limit temperature T of domestic water L At this time, it is described that the water stored in the first liner is not required to be rapidly heated, and at this time, the first water temperature T is further determined 1 And a second water temperature T 2 Whether or not they are all smaller than the set starting temperature T D . Exemplary, start temperature T D Set temperature T, typically user-defined set Subtracting the return difference temperature T r . Typically, the start-up temperature T D Is 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 And the controller controls the heater to heat the water in the liner.
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, the first heater and the second heater are controlled to be not operated.
At a first water temperature T 1 Greater than or equal to the set starting temperature T D And a first water temperature T 1 Is equal to the second water temperature T 2 When the temperature of the water in the two inner containers is higher, the first heater and the second heater are controlled to be not operated without heating.
Example two
Fig. 2 is a schematic structural diagram of a water heater according to a second embodiment of the present invention, as shown in fig. 2, the water heater includes a controller (not shown), a first liner 202, a second liner 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 liner 203 is provided with a cold water inlet for connecting a cold water source, for example, a cold water pipe for domestic water. The top of the second liner 203 is provided with a water outlet, the water outlet at the top of the second liner 203 is connected with a connecting pipe 221, and the connecting pipe 221 extends to the bottom in the first liner 202. The top of the first liner 202 is provided with a hot water outlet, and hot water flows out from the hot water outlet at the top of the first liner 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 with the liquid inlet D of the four-way valve 211, the liquid outlet E of the four-way valve 211 is connected with the inlet of the evaporator 210, the outlet of the evaporator 210 is respectively connected with 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 with the air inlet C of the four-way valve, and the air outlet S of the four-way valve is connected with the inlet of the compressor 212.
The first electronic expansion valve 206 is disposed on a pipe between the first heat exchanger 204 and the evaporator 210, and the 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 and is used 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 and is used 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 to a controller for executing the water heater control method provided by any of the foregoing embodiments of the present invention.
Specifically, a first water temperature T in a first liner 1 Less than the lower limit temperature T of domestic water L At this time, the controller controls the first electronic expansion valve 206 to open and the second electronic expansion valve 207 to operate at the lowest opening (the opening of the electronic expansion valve is being addedIn the heating switching process, the control is performed by the minimum opening degree instead of complete closing, so as to prevent the refrigerant from migrating into the closed heat exchanger and not participating in the whole system circulation, and causing the system operation fault), the high-pressure liquid working medium generated by the compression of the compressor 212 is evaporated into a gas state through the evaporator 210, and absorbs a large amount of heat energy from the air, and then almost all the heat energy enters the first heat exchanger 204, so that the heat source is concentrated on the first heat exchanger 204, the water storage in the first liner 202 is quickly heated, the heating efficiency is improved, and the waiting time of a user is reduced.
At a first water temperature T 1 Is greater than or equal to the lower limit temperature T of domestic water L At the time, determine the first water temperature T 1 And a second water temperature T 2 Whether or not they are all smaller than the set starting temperature T D . If the first water temperature T 1 And a second water temperature T 2 Are all smaller than the set starting temperature T D The controller controls the first and second electronic expansion valves 206 and 207 to be opened while heating water in the first and second liners 202 and 203. If the first water temperature T 1 Greater than or equal to the set starting temperature T D And a second water temperature T 2 Less than the set starting temperature T D The controller controls the second electronic expansion valve 207 to be opened, the first electronic expansion valve 206 operates at the lowest opening degree, the heat source is concentrated on the second heat exchanger 205, the water stored in the second liner 203 is rapidly heated, and the heating efficiency is improved. Meanwhile, after the hot water in the first liner 202 is used, the hot water in the second liner 203 is timely supplemented into the first liner 202, 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 the set starting temperature T D And a first water temperature T 1 Is equal to the second water temperature T 2 It is explained that the temperature of water in both the inner containers is high, and heating is not required, and the controller controls both the first electronic expansion valve 206 and the second electronic expansion valve 207 to operate at the lowest opening.
In some embodiments of the present invention, as shown in fig. 2, the water heater further includes a pressure relief switch 213, and the pressure relief switch 213 is disposed on a pipe between an outlet of the compressor 212 and a liquid inlet D of the four-way valve 211. When the pressure in the pipeline is greater than a preset pressure threshold, the pressure release switch 213 is opened to release pressure.
In some embodiments of the invention, the first heat exchanger 204 and the second heat exchanger 205 are both 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, the water outlet at the top of the second liner 203 is connected to a connecting pipe 221, the connecting pipe 221 extends to the bottom of the first liner 202, and the top of the first liner 202 is provided with a hot water outlet. In the process of using the hot water, the hot water is gradually pushed out from the top of the first inner container 202, meanwhile, 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.
For example, the first liner 202 and the second liner 203 each have a capacity of 100L, and a single liner 200L is taken as an example. The current water temperature is assumed to be 35 ℃ and not available for bathing, and the bathing water temperature is 40 ℃. According to the calculation of the single liner 200L, supposing that the bathing water consumption of a person is 60L and the heating capacity of a unit is 10KW, 200L of water needs to be heated to the temperature T to meet the water consumption requirement. Then the following formula is present:
C×(40℃-35℃)×200L+C×(40℃-15℃)×60L=C×(Ta-15℃)×200L
wherein, c× (40 ℃ to 15 ℃) x 60L represents the energy required to heat the additional 60L of cold water at 15 ℃ to 40 ℃ after 60L of hot water is used up. Ta was calculated to be equal to 47.5 ℃.
Namely, the time t1 required to heat 200L of water to 47.5 ℃ is:
t1=C×(47.5℃-35℃)×200L/10KW
t1 is obtained equal to 17.5min.
If the scheme of the invention is adopted, because the water storage in the first inner container is larger than 60L, only the water in the first inner container is needed to be heated, the capacity is 100L, the water supplementing temperature is not the direct water supplementing of tap water, and the second inner container supplements water for the first inner container, so that the heating temperature difference is greatly reduced. Assuming that the water temperatures in the first liner and the second liner are 35 ℃, the following formula is provided:
c× (40 ℃ to 35 ℃) x 100l+c× (40 ℃ to 35 ℃) x 60 l=c× (Tb-35 ℃) x 100 gives Tb equal to 43 ℃.
Namely, the time t2 required to heat 100L of water to 43 ℃ is as follows:
t2=C×(43℃-35℃)×100L/10KW
t1 is obtained equal to 5.6min.
From the 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 the computer device provided by the third embodiment of the invention. Computer devices are intended to represent various forms of digital computers, such as laptops, desktops, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Computer devices may also represent various forms of mobile equipment, such as personal digital processing, cellular telephones, smart phones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing equipment. 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, 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 suitable 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 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.
Various components in computer device 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 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 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 a water heater control method.
In some embodiments, the water heater control method 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 the computer arrangement 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 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 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 pointing device (e.g., a mouse or trackball) by which a user can 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 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.