Control method and device of water heater, equipment and storage medium
By setting the self-learning period in the water heater and obtaining historical operation data, the problem of poor self-learning among users with irregular water use habits is solved, and the user experience is improved.
Patent Information
- Application Number
- CN202411741116.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-29
- Publication Date
- 2025-02-14
AI Technical Summary
The existing zero-cold water mode of water heater has poor self-learning effects among users with irregular water use habits, resulting in poor user experience.
By setting the self-learning period, when the water heater is not in zero-cold water mode, its operation data is obtained as historical operation data; when the water heater is in zero-cold water mode, the outlet water temperature is determined based on historical operation data.
The zero-cold water mode of the water heater has enhanced the self-learning effect of users with irregular water use habits, and improved the user's experience.
Smart Images

Figure CN119436571A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of water heaters, and in particular to a control method, device, equipment and storage medium for a water heater. Background Art
[0002] At present, existing water heaters can be turned on in zero cold water mode, which means that after the water heater is started, it can quickly provide hot water at a constant temperature without the need for preheating. It avoids the problem of traditional gas water heaters needing to discharge a certain amount of cold water when in use, and is energy-saving, environmentally friendly, convenient and practical.
[0003] In order to be more intelligent, the zero cold water mode of the water heater can be self-learned based on the user's usage habits. However, the zero cold water mode of the existing water heater has poor self-learning for users with irregular water usage habits, resulting in a poor user experience. Summary of the invention
[0004] In view of this, an object of the present invention is to provide a control method, device, equipment and storage medium for a water heater to enhance the self-learning effect of the zero cold water mode of the water heater for users with irregular water usage habits, thereby improving the user experience.
[0005] In a first aspect, an embodiment of the present invention provides a method for controlling a water heater, the method comprising: when the water heater is not in a zero cold water mode, if the operating time of the water heater belongs to a preset self-learning period, obtaining operating data of the water heater as historical operating data; when the water heater is in a zero cold water mode, if historical operating data exists, determining the water outlet temperature of the water heater based on the historical operating data.
[0006] In an optional embodiment of the present application, the above-mentioned step of obtaining the operating data of the water heater as historical operating data when the water heater is not in the zero cold water mode, if the operating time of the water heater belongs to a preset self-learning period, includes: when the water heater is not in the zero cold water mode, determining the water outlet temperature of the water heater based on a pre-set normal mode; if the operating time of the water heater belongs to a preset self-learning period, obtaining the operating data of the normal mode of the water heater as historical operating data.
[0007] In an optional embodiment of the present application, the above-mentioned step of determining the water outlet temperature of the water heater based on the historical operating data when the water heater is in the zero cold water mode includes: when the water heater is in the zero cold water mode, determining whether there is historical operating data within a preset time period; if there is historical operating data within the preset time period, determining the average water outlet temperature of the water heater of the historical operating data within the preset time period; and using the average water outlet temperature of the water heater as the water outlet temperature of the water heater.
[0008] In an optional embodiment of the present application, after the above-mentioned step of determining whether there is historical operation data within a preset time period, the method further includes: if there is no historical operation data within the preset time period, determining the water outlet temperature of the water heater based on weather information; wherein the weather information includes season information and / or temperature information.
[0009] In an optional embodiment of the present application, after the above-mentioned step of determining the water outlet temperature of the water heater based on weather information, the method also includes: determining whether the water heater is starting the zero cold water mode for the first time; if it is the first time to start the zero cold water mode, setting the start time of the water heater to a preset default time; if it is not the first time to start the zero cold water mode, setting the start time of the water heater to the start time set when the zero cold water mode was last started.
[0010] In an optional embodiment of the present application, after the above step of using the average water outlet temperature of the water heater as the water outlet temperature of the water heater, the method also includes: if the water heater reaches a preset start-up time, performing a preheating operation in a zero cold water mode based on the water outlet temperature of the water heater.
[0011] In an optional embodiment of the present application, after the above-mentioned step of performing a preheating operation in a zero cold water mode based on the water outlet temperature of the water heater, the method further includes: determining the start time and end time of water use of the water heater; if the start time and end time of water use both belong to the self-learning period, obtaining the operation data of the water heater as historical operation data.
[0012] In a second aspect, an embodiment of the present invention further provides a control device for a water heater, the device comprising: a historical operation data acquisition module, for acquiring the operation data of the water heater as historical operation data when the water heater is not in the zero cold water mode and if the operation time of the water heater belongs to a preset self-learning period; and a water outlet temperature determination module, for determining the water outlet temperature of the water heater based on the historical operation data if there is historical operation data when the water heater is in the zero cold water mode.
[0013] In a third aspect, an embodiment of the present invention further provides an electronic device, including a processor and a memory, wherein the memory stores computer executable instructions that can be executed by the processor, and the processor executes the computer executable instructions to implement the above-mentioned water heater control method.
[0014] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, which stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the above-mentioned water heater control method.
[0015] The embodiments of the present invention bring the following beneficial effects:
[0016] The embodiment of the present invention provides a control method, device, equipment and storage medium for a water heater. When the water heater is not in the zero cold water mode, if the running time of the water heater belongs to the preset self-learning period, the running data of the water heater is obtained as the historical running data; when the water heater is in the zero cold water mode, if there is historical running data, the outlet water temperature of the water heater is determined based on the historical running data. In this way, a self-learning period can be set, and the running data of the water heater whose running time belongs to the preset self-learning period is used as the historical running data, thereby enhancing the self-learning effect of the zero cold water mode of the water heater for users with irregular water use habits, thereby improving the user experience.
[0017] Other features and advantages of the present disclosure will be set forth in the following description, or some features and advantages may be inferred or unambiguously determined from the description, or may be learned by implementing the above-mentioned technology of the present disclosure.
[0018] In order to make the above-mentioned objectives, features and advantages of the present disclosure more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0020] Figure 1 A flow chart of a water heater control method provided by an embodiment of the present invention;
[0021] Figure 2 A flow chart of another water heater control method provided by an embodiment of the present invention;
[0022] Figure 3 A schematic diagram of a water heater control method provided by an embodiment of the present invention;
[0023] Figure 4 A schematic diagram of the structure of a control device for a water heater provided by an embodiment of the present invention;
[0024] Figure 5 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0025] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0026] At present, existing water heaters can be turned on in zero cold water mode, which means that after the water heater is started, it can quickly provide hot water at a constant temperature without the need for preheating. It avoids the problem of traditional gas water heaters needing to discharge a certain amount of cold water when in use, and is energy-saving, environmentally friendly, convenient and practical.
[0027] In order to be more intelligent, the zero cold water mode of the water heater can be self-learned based on the user's usage habits. However, the zero cold water mode of the existing water heater has poor self-learning for users with irregular water usage habits, resulting in a poor user experience.
[0028] Based on this, a control method, device, equipment and storage medium for a water heater provided in an embodiment of the present invention can set a self-learning period, and use the operating data of the water heater whose operating time belongs to the preset self-learning period as historical operating data, thereby enhancing the self-learning effect of the zero cold water mode of the water heater for users with irregular water use habits, thereby improving the user experience.
[0029] To facilitate understanding of this embodiment, a control method for a water heater disclosed in an embodiment of the present invention is first introduced in detail.
[0030] Embodiment 1:
[0031] The embodiment of the present invention provides a control method for a water heater. Figure 1 A flow chart of a water heater control method is shown, and the water heater control method comprises the following steps:
[0032] Step S102, when the water heater is not in the zero cold water mode, if the operation time of the water heater belongs to the preset self-learning period, the operation data of the water heater is obtained as the historical operation data.
[0033] In this embodiment, historical operation data of the water heater can be acquired in advance. When the water heater is not in the zero cold water mode, the operation data of the water heater whose operation time belongs to the preset self-learning period can be used as historical operation data.
[0034] Therefore, in the present embodiment, a self-learning period can be set, and the operating data of the water heater whose operating time belongs to the preset self-learning period can be used as historical operating data, and the operating data of the water heater that does not belong to the self-learning period can be not used as historical operating data, thereby improving the accuracy of the historical operating data, and avoiding the occurrence of self-learning confusion due to irregular water use, thereby enhancing the self-learning effect of the zero cold water mode of the water heater for users with irregular water use habits, thereby improving the user experience.
[0035] Step S104: when the water heater is in the zero cold water mode, if there is historical operation data, the outlet water temperature of the water heater is determined based on the historical operation data.
[0036] When the water heater is in the zero cold water mode and there is historical operation data, this embodiment can determine the outlet water temperature of the water heater based on the historical operation data. Since the historical operation data in this embodiment is the operation data of the water heater whose operation time belongs to the preset self-learning period, the accuracy of determining the outlet water temperature of the water heater based on the historical operation data can be improved, thereby enhancing the self-learning effect of the zero cold water mode of the water heater for users with irregular water use habits, thereby improving the user experience.
[0037] In addition, the various data in the above method provided in this embodiment can be stored in the cloud or on the water heater end, so it can support both networked water heaters and non-networked water heaters, and can ensure that the above method provided in this embodiment can also be used when the network of the water heater is disconnected.
[0038] The embodiment of the present invention provides a control method for a water heater. When the water heater is not in a zero cold water mode, if the operation time of the water heater belongs to a preset self-learning period, the operation data of the water heater is obtained as historical operation data; when the water heater is in a zero cold water mode, if there is historical operation data, the outlet water temperature of the water heater is determined based on the historical operation data. In this method, a self-learning period can be set, and the operation data of the water heater whose operation time belongs to the preset self-learning period is used as historical operation data, thereby enhancing the self-learning effect of the zero cold water mode of the water heater for users with irregular water use habits, thereby improving the user experience.
[0039] Embodiment 2:
[0040] This embodiment provides another water heater control method, which is implemented on the basis of the above embodiment. Figure 2 The flowchart of another water heater control method shown in FIG. 1 includes the following steps:
[0041] Step S202, when the water heater is not in the zero cold water mode, determine the water outlet temperature of the water heater based on the pre-set normal mode; if the operation time of the water heater belongs to the preset self-learning period, obtain the operation data of the normal mode of the water heater as the historical operation data.
[0042] See also Figure 3 A schematic diagram of a water heater control method is shown in FIG. Figure 3 As shown, when the water heater is not in the zero cold water mode, the water heater in this embodiment can be operated in the pre-set common mode. The operation data of the common mode of the water heater whose operation time belongs to the preset self-learning period can be used as the historical operation data, and the operation data of the common mode of the water heater whose operation time does not belong to the preset self-learning period can be used as the historical operation data, thereby improving the accuracy of the historical operation data.
[0043] Step S204: when the water heater is in the zero cold water mode, if there is historical operation data, the outlet water temperature of the water heater is determined based on the historical operation data.
[0044] In some embodiments, when the water heater is in zero cold water mode, determine whether there is historical operating data within a preset time period; if there is historical operating data within the preset time period, determine the average water outlet temperature of the water heater of the historical operating data within the preset time period; and use the average water outlet temperature of the water heater as the water outlet temperature of the water heater.
[0045] like Figure 3 As shown, in this embodiment, the above-mentioned preset time period can be set to 1 week. When the water heater is in the zero cold water mode, it can be determined whether there is historical operation data within 1 week (i.e., within the preset time period). If there is historical operation data within 1 week, the average water outlet temperature of the water heater of the historical operation data within 1 week can be used as the current water outlet temperature of the water heater.
[0046] In some embodiments, if there is no historical operation data within a preset time period, the outlet water temperature of the water heater is determined based on weather information; wherein the weather information includes season information and / or temperature information.
[0047] like Figure 3 As shown, if there is no historical operation data within 1 week, the outlet water temperature of the water heater cannot be determined through the historical operation data. In this embodiment, the outlet water temperature of the water heater can be determined through weather information.
[0048] The perceived temperature is different in different seasons and temperatures, and the outlet water temperature needs to be adjusted appropriately. In this embodiment, weather factors can be taken into account, and the outlet water temperature of the water heater is determined based on weather information such as season information and / or temperature information.
[0049] In this embodiment, if the historical operation data is damaged or deleted, or the user starts the zero cold water mode of the water heater for the first time, there is no historical operation data of the zero cold water mode. At this time, the outlet water temperature of the water heater can be directly determined according to the weather information, and the user is automatically provided with an accurate and comfortable outlet water temperature.
[0050] In some embodiments, it can also be determined whether the water heater is starting the zero cold water mode for the first time; if it is the first time to start the zero cold water mode, the start time of the water heater is set to a preset default time; if it is not the first time to start the zero cold water mode, the start time of the water heater is set to the start time set when the zero cold water mode was started last time.
[0051] like Figure 3 As shown, if it is the first time to start the zero cold water mode, the start time of the water heater can be set to the system default time; if it is not the first time to start the zero cold water mode, the start time of the water heater can be set to the last set start time.
[0052] After determining the final outlet water temperature, the operation of the water heater can be controlled by the outlet water temperature. In some embodiments, if the water heater reaches a preset start time, a preheating operation of the zero cold water mode is performed based on the outlet water temperature of the water heater.
[0053] like Figure 3 As shown, if the water heater reaches the preset start time, the preheating operation of the zero cold water mode (ie, zero cold water preheating) can be performed. If the water heater does not reach the preset start time, it is necessary to re-determine whether there is historical operation data within 1 week (ie, within the preset time period).
[0054] After turning on the zero cold water preheating, the user can start using water. In this embodiment, it is not limited to taking the operation data of the water heater that is not in the zero cold water mode and whose operation time belongs to the preset self-learning period as the historical operation data. That is, in this embodiment, the operation data of the water heater that is in the zero cold water mode and meets certain conditions can also be taken as the historical operation data.
[0055] In some embodiments, the start time and the end time of water use of the water heater are determined; if the start time and the end time of water use both belong to the self-learning period, the operation data of the water heater is obtained as the historical operation data.
[0056] During the operation of the water heater in the zero cold water mode, the present embodiment can obtain the above historical operation data according to some specified conditions. For example, if the operation time of the water heater belongs to the preset self-learning period, the operation data of the water heater is obtained as the historical operation data.
[0057] like Figure 3As shown, if the water use start time and the water use end time both belong to the self-learning period, it is considered that the current running time of the water heater in the zero cold water mode belongs to the preset self-learning period. This embodiment can use the running data of the water heater in the zero cold water mode and whose running time belongs to the preset self-learning period as historical running data.
[0058] In summary, in this embodiment, no matter whether the water heater is in the zero cold water mode or not, as long as the running time of the water heater belongs to the preset self-learning period, the running data of the water heater can be obtained as the historical running data. That is, the running data of the water heater is determined as the historical running data, which needs to meet one condition: the running time of the water heater belongs to the preset self-learning period.
[0059] Among them, the self-learning period can be added by the user, and the self-learning time period of each self-learning period can be set by the user, which has a high degree of freedom. For example, the user can set the self-learning period to 9:00-10:00 pm and 7:00-8:00 am, and the period can be set to the past week or two weeks, or use the data of any period in the past for learning, and independently cut invalid data, etc. If the user is out and detects that the water heater has not been used for a period of time, the user is prompted whether to pause it.
[0060] The above method provided by the embodiment of the present invention can set a self-learning period and use the operating data of the water heater whose operating time belongs to the preset self-learning period as historical operating data, thereby enhancing the self-learning effect of the zero cold water mode of the water heater for users with irregular water use habits, thereby improving the user experience.
[0061] In the above method provided by the embodiment of the present invention, the learning period can be added by the user independently, and the self-learning time period of each self-learning period can be set by the user independently, which has a high degree of freedom.
[0062] Embodiment three:
[0063] Corresponding to the above method embodiment, the present invention provides a control device for a water heater, see Figure 4 The schematic diagram of the structure of a control device of a water heater is shown, and the control device of the water heater comprises:
[0064] The historical operation data acquisition module 41 is used for acquiring the operation data of the water heater as the historical operation data when the water heater is not in the zero cold water mode and if the operation time of the water heater belongs to the preset self-learning period;
[0065] The water outlet temperature determination module 42 is used to determine the water outlet temperature of the water heater based on historical operation data if there is any historical operation data when the water heater is in the zero cold water mode.
[0066] The embodiment of the present invention provides a control device for a water heater. When the water heater is not in the zero cold water mode, if the operation time of the water heater belongs to a preset self-learning period, the operation data of the water heater is obtained as the historical operation data; when the water heater is in the zero cold water mode, if there is historical operation data, the outlet water temperature of the water heater is determined based on the historical operation data. In this method, a self-learning period can be set, and the operation data of the water heater whose operation time belongs to the preset self-learning period is used as the historical operation data, thereby enhancing the self-learning effect of the zero cold water mode of the water heater for users with irregular water use habits, thereby improving the user experience.
[0067] The above-mentioned historical operation data acquisition module is used to determine the water outlet temperature of the water heater based on the pre-set normal mode when the water heater is not in the zero cold water mode; if the operation time of the water heater belongs to the preset self-learning period, the operation data of the normal mode of the water heater is obtained as the historical operation data.
[0068] The above-mentioned water outlet temperature determination module is used to determine whether there is historical operation data within a preset time period when the water heater is in zero cold water mode; if there is historical operation data within the preset time period, determine the average water outlet temperature of the water heater of the historical operation data within the preset time period; and use the average water outlet temperature of the water heater as the water outlet temperature of the water heater.
[0069] The above-mentioned water outlet temperature determination module is also used to determine the water outlet temperature of the water heater based on weather information if there is no historical operation data within a preset time period; wherein the weather information includes season information and / or temperature information.
[0070] The above-mentioned water outlet temperature determination module is also used to determine whether the water heater is starting the zero cold water mode for the first time; if it is the first time to start the zero cold water mode, the start time of the water heater is set to the preset default time; if it is not the first time to start the zero cold water mode, the start time of the water heater is set to the start time set when the zero cold water mode was started last time.
[0071] The above-mentioned water outlet temperature determination module is also used to perform a preheating operation in a zero cold water mode based on the water outlet temperature of the water heater if the water heater reaches a preset start time.
[0072] The above-mentioned water outlet temperature determination module is also used to determine the start time and end time of water use of the water heater; if the start time and end time of water use both belong to the self-learning period, the operation data of the water heater is obtained as historical operation data.
[0073] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the control system of the water heater described above can refer to the corresponding process in the embodiment of the aforementioned water heater control method, and will not be repeated here.
[0074] Embodiment 4:
[0075] The embodiment of the present invention also provides an electronic device for running the control method of the water heater; see Figure 5 A structural schematic diagram of an electronic device is shown, which includes a memory 100 and a processor 101, wherein the memory 100 is used to store one or more computer instructions, and the one or more computer instructions are executed by the processor 101 to implement the above-mentioned water heater control method.
[0076] Further, Figure 5 The electronic device shown further includes a bus 102 and a communication interface 103 , and the processor 101 , the communication interface 103 and the memory 100 are connected via the bus 102 .
[0077] The memory 100 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk storage. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 103 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used. The bus 102 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 5 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0078] The processor 101 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 101. The above processor 101 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present invention can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in conjunction with the embodiments of the present invention can be directly embodied as a hardware decoding processor for execution, or a combination of hardware and software modules in the decoding processor for execution. The software module may be located in a storage medium mature in the art, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 100, and the processor 101 reads the information in the memory 100 and completes the steps of the method of the above embodiment in combination with its hardware.
[0079] An embodiment of the present invention also provides a computer-readable storage medium, which stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the above-mentioned water heater control method. The specific implementation can be found in the method embodiment, which will not be repeated here.
[0080] The computer program product of the water heater control method, device, equipment and storage medium provided in the embodiments of the present invention includes a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the method in the previous method embodiment. The specific implementation can be found in the method embodiment, which will not be repeated here.
[0081] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system and / or device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0082] In addition, in the description of the embodiments of the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0083] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.
[0084] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.
[0085] Finally, it should be noted that the above-described embodiments are only specific implementations of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention is described in detail with reference to the above-mentioned embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-mentioned embodiments within the technical scope disclosed by the present invention, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.
Claims
1. A method for controlling a water heater, characterized in that: The method comprises: When the water heater is not in the zero cold water mode, if the operation time of the water heater belongs to the preset self-learning period, obtaining the operation data of the water heater as the historical operation data; When the water heater is in the zero cold water mode, if the historical operation data exists, the outlet water temperature of the water heater is determined based on the historical operation data.
2. The method according to claim 1, characterized in that When the water heater is not in the zero cold water mode, if the operation time of the water heater belongs to the preset self-learning period, the step of obtaining the operation data of the water heater as the historical operation data includes: When the water heater is not in the zero cold water mode, determining the outlet water temperature of the water heater based on a pre-set common mode; If the operation time of the water heater belongs to the preset self-learning period, the operation data of the water heater in the normal mode is obtained as the historical operation data.
3. The method according to claim 1, characterized in that: When the water heater is in the zero cold water mode, if the historical operation data exists, the step of determining the outlet water temperature of the water heater based on the historical operation data comprises: When the water heater is in the zero cold water mode, determining whether the historical operation data exists within a preset time period; If the historical operation data within the preset time period exists, determining the average water outlet temperature of the water heater of the historical operation data within the preset time period; The average outlet water temperature of the water heater is used as the outlet water temperature of the water heater.
4. The method according to claim 3, characterized in that After the step of determining whether the historical operation data within a preset time period exists, the method further includes: If the historical operation data within the preset time period does not exist, the outlet water temperature of the water heater is determined based on weather information; wherein the weather information includes season information and / or temperature information.
5. The method according to claim 4, characterized in that After the step of determining the outlet water temperature of the water heater based on weather information, the method further includes: Determining whether the water heater is started in the zero cold water mode for the first time; If it is the first time to start the zero cold water mode, the start time of the water heater is set to a preset default time; If it is not the first time to start the zero cold water mode, the start time of the water heater is set to the start time set when the zero cold water mode was started last time.
6. The method according to claim 1, characterized in that After the step of using the average outlet water temperature of the water heater as the outlet water temperature of the water heater, the method further comprises: If the water heater reaches the preset start time, the preheating operation of the zero cold water mode is performed based on the outlet water temperature of the water heater.
7. The method according to claim 6, characterized in that After the step of performing the preheating operation in the zero cold water mode based on the outlet water temperature of the water heater, the method further includes: Determine the start time and end time of water use of the water heater; If the water use start time and the water use end time both belong to the self-learning period, the operation data of the water heater is obtained as the historical operation data.
8. A control device for a water heater, characterized in that: The device comprises: A historical operation data acquisition module, used for acquiring the operation data of the water heater as historical operation data when the water heater is not in the zero cold water mode and if the operation time of the water heater belongs to a preset self-learning period; The water outlet temperature determination module is used to determine the water outlet temperature of the water heater based on the historical operation data if the historical operation data exists when the water heater is in the zero cold water mode.
9. An electronic device, characterized in that: The invention comprises a processor and a memory, wherein the memory stores computer executable instructions that can be executed by the processor, and the processor executes the computer executable instructions to implement the control method of the water heater according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions. When the computer-executable instructions are called and executed by the processor, the computer-executable instructions prompt the processor to implement the water heater control method according to any one of claims 1 to 7.