Electric water heater control method, electric water heater and computer readable storage medium

By analyzing historical usage data of electric water heaters, it can determine whether the target time period coincides with the water usage period, thus solving the problems of accuracy and comprehensiveness in the automatic scheduled heating control of electric water heaters. This enables more accurate automatic scheduled heating and improves the user experience.

CN116263274BActive Publication Date: 2026-03-17YUNMI HULIAN TECH (GUANGDONG) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-15
Publication Date
2026-03-17

AI Technical Summary

Technical Problem

The accuracy and comprehensiveness of the existing automatic scheduled heating control of electric water heaters are relatively low, which can easily lead to situations where the user does not use the water after the automatic scheduled heating is completed, or the water is not automatically scheduled when the user needs to use it.

Method used

By acquiring historical usage data of electric water heaters, analyzing users' water usage habits, determining multiple target historical dates, judging whether the target time period is the water usage period, determining whether the target time period of the current date is the preheating period based on the judgment result, and controlling the electric water heater to heat during that time period.

Benefits of technology

This improves the accuracy and comprehensiveness of the automatic scheduled heating control of electric water heaters, enhancing the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116263274B_ABST
    Figure CN116263274B_ABST
Patent Text Reader

Abstract

The application provides an electric water heater control method, an electric water heater and a computer readable storage medium. The method comprises the following steps: obtaining historical use data of the electric water heater; determining a plurality of first target historical dates and a plurality of second target historical dates according to a current date; determining whether a target time period is a water use time period in the first target historical dates and the second target historical dates according to the historical use data; determining whether the target time period of the current date is a preheating time period according to the determination result of whether the target time period is the water use time period in the first target historical dates and the second target historical dates; and controlling the electric water heater to heat in the target time period if the target time period of the current date is the preheating time period. Therefore, the electric water heater can analyze the water use habit of the user according to the historical use data to control the electric water heater to heat, the accuracy and comprehensiveness of the automatic preheating control of the electric water heater are improved, and the experience of the user is greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of electric water heater control, and particularly relates to an electric water heater control method, an electric water heater and a computer readable storage medium. BACKGROUND

[0002] In the technical field of electric water heater control, the existing automatic reservation function of the electric water heater is generally to control the electric water heater to perform automatic reservation heating operation according to the water use information of the user in the last working period. The accuracy of the automatic reservation heating of the electric water heater is low, and the situation that the electric water heater is automatically reserved for heating but not used by the user may occur. In addition, the comprehensiveness of the automatic reservation heating of the electric water heater is low, and the situation that the electric water heater is not automatically reserved for heating when the user needs to use water may occur. The accuracy and comprehensiveness of the automatic reservation heating control of the electric water heater are low. SUMMARY

[0003] The main purpose of the present application is to provide an electric water heater control method, an electric water heater and a computer readable storage medium, aiming to improve the accuracy and comprehensiveness of the automatic reservation heating control of the electric water heater and improve the user experience.

[0004] In a first aspect, the present application provides an electric water heater control method, which comprises the following steps:

[0005] obtaining historical use data of an electric water heater;

[0006] determining a plurality of first target historical dates and a plurality of second target historical dates according to a current date, wherein the date interval of adjacent first target historical dates is smaller than the date interval of adjacent second target historical dates;

[0007] judging whether a target time period is a water use time period in the first target historical dates and the second target historical dates according to the historical use data;

[0008] determining whether the target time period of the current date is a preheating time period according to the judgment result of whether the target time period is a water use time period in the first target historical dates and the second target historical dates;

[0009] if the target time period of the current date is a preheating time period, controlling the electric water heater to heat in the target time period.

[0010] In a second aspect, the present application further provides an electric water heater, which comprises an inner container, a heating device, a processor and a memory.

[0011] the memory is used for storing a computer program;

[0012] A processor is configured to execute the computer program and implement the steps of the electric water heater control method as described above when executing the computer program.

[0013] In a third aspect, the present application also provides a computer readable storage medium, and the computer readable storage medium stores a computer program, and the computer program is configured to make a processor implement the steps of the electric water heater control method as described above when the processor executes the computer program.

[0014] The present application provides an electric water heater control method, an electric water heater and a computer readable storage medium. The present application acquires historical use data of the electric water heater, determines a plurality of first target historical dates and a plurality of second target historical dates according to a current date, wherein the date interval of adjacent first target historical dates is smaller than the date interval of adjacent second target historical dates, determines whether a target time period is a water use time period in the first target historical dates and the second target historical dates according to the historical use data, and determines whether the target time period of the current date is a preheating time period according to the determination result of whether the target time period is the water use time period in the first target historical dates and the second target historical dates. If the target time period of the current date is the preheating time period, the electric water heater is controlled to heat in the target time period, the accuracy and comprehensiveness of automatic preheating control of the electric water heater are improved, and the user experience is improved. BRIEF DESCRIPTION OF DRAWINGS

[0015] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed in the embodiment description will be briefly introduced. Obviously, the drawings in the following description are some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.

[0016] Figure 1 A flowchart of an electric water heater control method provided by an embodiment of the present application is shown.

[0017] Figure 2 An application scenario diagram of an electric water heater control method provided by an embodiment of the present application is shown.

[0018] Figure 3 A structural schematic block diagram of an electric water heater provided by an embodiment of the present application is shown.

[0019] The implementation, functional features and advantages of the present application will be further described with reference to the embodiments and the drawings. DETAILED DESCRIPTION

[0020] With reference to the drawings, the technical solutions in the embodiments of the present application will be clearly and completely described below. Obviously, the described embodiments are only some of the embodiments of the present application, but not all of them. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts are within the scope of the present application.

[0021] The flowcharts shown in the drawings are only illustrative, and do not necessarily include all contents and operations / steps, nor are they necessarily executed in the order described. For example, some operations / steps can be further decomposed, combined or partially merged, so that the actual execution order may be changed according to actual conditions.

[0022] It should be understood that the terms used in the specification of the present application are only for the purpose of describing specific embodiments and are not intended to limit the present application. As used in the specification and the appended claims of the present application, unless otherwise clear from the context, the singular forms "a", "an" and "the" are intended to include the plural forms.

[0023] It should also be understood that the term "and / or" used in the specification and the appended claims of the present application means any combination of one or more of the associated listed items and all possible combinations, and includes these combinations.

[0024] The embodiments of the present application provide an electric water heater control method, an electric water heater and a computer readable storage medium. The electric water heater control method can be applied to an electric water heater, and the electric water heater control method can also be applied to a terminal device, which can include a smartphone, a tablet computer, a notebook computer, a desktop computer and the like, for controlling the electric water heater. The electric water heater control method can also be applied to a server, which can be a separate server or a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDN), and basic cloud computing services such as big data and artificial intelligence platforms, for controlling the electric water heater.

[0025] Some embodiments of the present application will be described in detail below with reference to the accompanying drawings. The following embodiments and features in the embodiments can be combined with each other without conflict.

[0026] Please refer to Figure 1 , Figure 1is a flowchart of an electric water heater control method provided by an embodiment of the present application. The electric water heater control method is used to analyze a user's water usage habit according to historical usage data of an electric water heater to obtain control information of the electric water heater so as to control the electric water heater.

[0027] The electric water heater control method can be applied to the electric water heater, or can also be applied to a terminal device capable of being communicatively connected to the electric water heater, or can also be applied to a server.

[0028] Referring to Figure 2 , Figure 2 is an application scenario diagram of an electric water heater control method provided by an embodiment of the present application.

[0029] As Figure 2 shown, a server can obtain historical usage data from a terminal device, obtain control information of an electric water heater according to the electric water heater control method, and send the control information of the electric water heater to the terminal device so as to control the electric water heater according to the control information of the electric water heater.

[0030] As Figure 1 shown, the electric water heater control method includes steps S101 to S105.

[0031] Step S101, obtaining historical usage data of an electric water heater.

[0032] Exemplarily, a day is equally divided into a plurality of time periods, and usage data of each day in the plurality of time periods is recorded to form the historical usage data of the electric water heater. For example, 24 hours of a day are equally divided into 24 time periods, and usage data of the electric water heater in each of the 24 time periods of each day is recorded to form the historical usage data of the electric water heater.

[0033] Step S102, determining a plurality of first target historical dates and a plurality of second target historical dates according to a current date, wherein a date interval of adjacent first target historical dates is less than a date interval of adjacent second target historical dates.

[0034] It can be understood that the date interval of adjacent first target historical dates is greater than zero, and the date interval of adjacent second target historical dates is greater than zero.

[0035] In some embodiments, a first date interval is obtained, and the plurality of first target historical dates is determined according to the first date interval and the current date. It can be understood that the first date interval can be pre-set or set by a user. It can be understood that the number of the first target historical dates can be pre-set, can be set by a user, or can not be set.

[0036] In some embodiments, a second date interval is obtained, and a plurality of second target historical dates are determined according to the second date interval and the current date, wherein the first date interval is smaller than the second date interval. It can be understood that the second date interval can be pre-set or set by the user. It can be understood that the number of the second target historical dates can be pre-set, set by the user or not set.

[0037] Optionally, the plurality of first target historical dates and the plurality of second target historical dates are determined according to the current date, comprising:

[0038] The plurality of historical dates adjacent to the current date are determined as the plurality of first target historical dates, and the plurality of first target historical dates are also sequentially adjacent to each other by one day.

[0039] The plurality of historical dates adjacent to the current date are determined as the plurality of first target historical dates, and the plurality of first target historical dates are also sequentially adjacent to each other by one day.

[0040] In some embodiments, the first date interval is set to be one day, one of the plurality of first target historical dates is one day apart from the current date, and the plurality of first target historical dates are sequentially adjacent to each other by one day.

[0041] In some embodiments, the second date interval is set to be one week, one of the plurality of second target historical dates is one week apart from the current date, and the plurality of second target historical dates are sequentially adjacent to each other by one week.

[0042] In some embodiments, the second date interval is set to be one week, one of the plurality of second target historical dates is one week apart from the current date, and the plurality of second target historical dates are sequentially adjacent to each other by one week.

[0043] Optionally, the historical usage data includes the water usage time period and / or the non-water usage time period of at least one of the plurality of historical dates, or the historical usage data includes the total water usage of different time periods in the plurality of historical dates.

[0044] In some embodiments, when a water use instruction of a user is detected, the time corresponding to the water use instruction can be acquired, the water use amount corresponding to the water use instruction can be counted, the water use amount corresponding to the water use instruction can be recorded in a corresponding time period according to the time corresponding to the water use instruction, and the total water use amount of the time period can be determined. If multiple water use instructions of a user are detected in a same time period, the water use amount corresponding to each water use instruction can be determined, the water use amounts corresponding to the multiple water use instructions can be recorded and counted, and the total water use amount of the time period can be determined. For example, in a same time period, the user opens and closes the mixing valve of the electric water heater multiple times during hand washing or bathing, the water use amount corresponding to each opening and closing of the mixing valve of the electric water heater can be determined, the water use amounts corresponding to the multiple opening and closing of the mixing valve of the electric water heater can be recorded and counted, and the total water use amount of the time period can be determined.

[0045] It can be understood that after the total water use amount corresponding to the time period is determined, it can be further determined whether the time period is a water use time period by a certain condition, the time period can be filled with a corresponding determination mark in the historical use data according to the determination result, for example, the water use time period mark can be 1, and the non-water use time period mark can be 0. If the determination mark corresponding to a time period of a historical date in the historical use data is 1, it is determined that the time period of the historical date is a water use time period. If the determination mark corresponding to a time period of a historical date in the historical use data is 0, it is determined that the time period of the historical date is a non-water use time period.

[0046] Optionally, according to the historical use data, it is determined whether the target time period is a water use time period in the first target historical date and the second target historical date, comprising:

[0047] If the total water use amount of the time period corresponding to the target time period in the first target historical date is greater than or equal to the predetermined water use amount, it is determined that the target time period is a water use time period in the first target historical date.

[0048] If the total water use amount of the time period corresponding to the target time period in the second target historical date is greater than or equal to the predetermined water use amount, it is determined that the target time period is a water use time period in the second target historical date.

[0049] In some embodiments, it is determined whether a time period of a historical date is a water use time period according to whether the total water use amount corresponding to the time period of the historical date is greater than or equal to a predetermined water use amount.

[0050] In some embodiments, after determining the first target historical date, it can be determined whether the target time period is a water use time period in the first target historical date according to whether the total water use amount of the time period corresponding to the target time period in the first target historical date is greater than or equal to the predetermined water use amount; after determining the second target historical date, it can be determined whether the target time period is a water use time period in the second target historical date according to whether the total water use amount of the time period corresponding to the target time period in the second target historical date is greater than or equal to the predetermined water use amount.

[0051] In some embodiments, after determining the first target historical date, the determination identifier of the time period corresponding to the target time period in the first target historical date can be obtained, so as to determine whether the target time period is a water use time period in the first target historical date; after determining the second target historical date, the determination identifier of the time period corresponding to the target time period in the second target historical date can be obtained, so as to determine whether the target time period is a water use time period in the first target historical date.

[0052] Step S104, determining whether the target time period is a preheating time period in the current date according to the determination result of whether the target time period is a water use time period in the first target historical date and the second target historical date.

[0053] Optionally, determining whether the target time period is a preheating time period in the current date according to the determination result of whether the target time period is a water use time period in the first target historical date and the second target historical date, comprises:

[0054] If the number of days that the target time period is a water use time period in the plurality of first target historical dates is greater than the first day threshold, and / or the number of days that the target time period is a water use time period in the plurality of second target historical dates is greater than the second day threshold, it is determined that the target time period in the current date is a preheating time period.

[0055] Optionally, the first day threshold can be 80% to 100% of the number of the first target historical dates, and the second day threshold can be 80% to 100% of the number of the second target historical dates. It can be understood that the first day threshold or the second day threshold can be pre-set or set by the user.

[0056] For example, if the number of days that the target time period is a water use time period in the plurality of first target historical dates is greater than the first day threshold, and / or the number of days that the target time period is a water use time period in the plurality of second target historical dates is greater than the second day threshold, it is determined that the target time period in the current date is a preheating time period, comprising:

[0057] If the target time period is a water use time period in the plurality of first target historical dates, it is determined that the target time period in the current date is a preheating time period.

[0058] if the target time period is not a water-using time period in at least one first target historical date, determining whether the target time period is a water-using time period in a plurality of second target historical dates;

[0059] if the target time period is a water-using time period in the plurality of second target historical dates, determining that the target time period of the current date is a preheating time period.

[0060] In some embodiments, the number of the first target historical dates can be set to three, the number of the second target historical dates can be set to two, the first day threshold can be set to three days, and the second day threshold can be set to two days.

[0061] It can be understood that, in general, the time period in which the user uses the electric water heater is accidental.

[0062] For example, if the target time period is from 12:00 to 13:00, and if it is directly determined that the target time period of the current date is a preheating time period according to the fact that the time period from 12:00 to 13:00 of the day before the current date is a water-using time period, the electric water heater can be automatically scheduled to heat in a situation where the user does not need to use water. Therefore, it is necessary to further determine whether the time period from 12:00 to 13:00 of the three days before the current date is a water-using time period, and according to the fact that the time period from 12:00 to 13:00 of the three days before the current date is a water-using time period, it can be determined that the target time period of the current date is a preheating time period, thereby improving the accuracy of the automatic scheduling of the electric water heater.

[0063] It can be understood that, in general, the time period in which the user uses the electric water heater on weekdays and non-weekdays can be quite different.

[0064] For example, according to historical use data, it is determined that the water-using time period of the user on Monday to Friday is from 20:00 to 21:00 and from 21:00 to 22:00, and the water-using time period of the user on Saturday to Sunday is from 18:00 to 19:00 and from 19:00 to 20:00.

[0065] In some embodiments, the target time period is from 18:00 to 19:00, the current date corresponds to Saturday, and if it is directly determined that the target time period of the current date is not a preheating time period according to the fact that the time period from 18:00 to 19:00 on Wednesday, Thursday, and Friday is not a water-using time period, the electric water heater can not be automatically scheduled to heat in a situation where the user needs to use water. Therefore, it is necessary to further determine whether the time period from 18:00 to 19:00 of the two Saturdays before the current date is a water-using time period, and according to the fact that the time period from 18:00 to 19:00 of the two Saturdays before the current date is a water-using time period, it can be determined that the target time period of the current date is a preheating time period, thereby improving the comprehensiveness of the automatic scheduling of the electric water heater.

[0066] Exemplarily, the method further comprises:

[0067] if the target time period is not a water-using time period in the at least one second target historical date, a third target historical date is determined according to the current date, wherein the date interval between the current date and the third target historical date is three weeks;

[0068] if the target time period is a water-using time period in the third target historical date, it is determined that the target time period of the current date is a preheating time period;

[0069] if the target time period is not a water-using time period in the third target historical date, it is determined that the target time period of the current date is a non-preheating time period.

[0070] In some embodiments, if the target time period cannot be determined through the acquired plurality of first target historical dates and the plurality of second target historical dates, the third target historical date is continuously acquired, and whether the target time period of the current date is a preheating time period is determined by determining whether the target time period is a water-using time period in the third target historical date.

[0071] In step S105, if the target time period of the current date is a preheating time period, the electric water heater is controlled to heat in the target time period.

[0072] In some embodiments, according to the determination that the target time period of the current date is a preheating time period when the number of days in which the target time period is a water-using time period in the plurality of first target historical dates is greater than the first day threshold, the total water usage and the water temperature of the corresponding first target historical date are acquired, the estimated water usage of the target time period of the current date is determined according to the total water usage of the plurality of first target historical dates, and the estimated water temperature of the target time period of the current date is determined according to the water temperature of the plurality of first target historical dates. Similarly, the estimated water usage of the target time period of the current date is determined according to the total water usage of the plurality of second target historical dates, and the estimated water temperature of the target time period of the current date is determined according to the water temperature of the plurality of second target historical dates, or the estimated water usage of the target time period of the current date is determined according to the total water usage of the third target historical date, and the estimated water temperature of the target time period of the current date is determined according to the water temperature of the third target historical date.

[0073] In some embodiments, after determining the estimated water usage and the estimated water temperature of the target time period of the current date, the real-time water temperature inside the inner container of the electric water heater is detected, and the electric water heater is controlled to heat in the target time period of the current date in combination with the real-time water temperature inside the inner container of the electric water heater.

[0074] Optionally, the method further comprises:

[0075] counting the number of record days of the historical usage data;

[0076] if the number of record days corresponding to the current date is less than or equal to the first record day threshold, and the target time period of the current date is a non-preheating time period, a preset preheating time period is acquired.

[0077] The electric water heater is controlled to heat at the preset preheating time period.

[0078] It can be understood that when the recorded historical use data is less, it is easy to cause that the current date target time period cannot be analyzed as a preheating time period based on the current historical use data.

[0079] In some embodiments, a first record day threshold and a preset preheating time period can be set, and the electric water heater is controlled to heat at the preset preheating time period. It can be understood that the preset preheating time period can be preset or set by the user.

[0080] It can be understood that the preset preheating time period also corresponds to a preset expected water consumption and a preset expected water temperature. By detecting the real-time water temperature inside the inner tank of the electric water heater, the preset expected water consumption and the preset expected water temperature are combined to control the electric water heater to heat at the preset preheating time period, so that in the early stage of use of the electric water heater, the situation that the user forgets to manually preheat but needs to use the electric water heater at the preset preheating time period can be reduced.

[0081] Optionally, it further comprises:

[0082] If the record days corresponding to the current date are greater than the second record day threshold, a fourth target historical date is determined according to the current date and the second record day threshold.

[0083] The historical use data corresponding to the fourth target historical date is deleted.

[0084] In some embodiments, if the number of the first target historical dates and the number of the second target historical dates are not set, if the data amount of the historical use data is too large, the workload of analyzing whether the current date target time period is a preheating time period also increases accordingly, and if the distance from the current date is too far away, the accuracy of the automatic preheating of the electric water heater will also be reduced to some extent, so part of the historical use data needs to be deleted.

[0085] In some embodiments, if the number of the first target historical dates and the number of the second target historical dates are set, if the data amount of the historical use data is too large, whether the current date target time period is a preheating time period can be determined according to part of the historical use data, and then the excessive historical use data can be deleted.

[0086] In some embodiments, the record days of the historical use data can be set to a second record day threshold, and if the record days corresponding to the current date are greater than the second record day threshold, the historical use data corresponding to the date interval of the second record day threshold from the current date is deleted, so that the data amount of the historical use data is prevented from being too large.

[0087] This application embodiment obtains historical usage data of the electric water heater, determines multiple first target historical dates and multiple second target historical dates based on the current date, wherein the date interval between adjacent first target historical dates is less than the date interval between adjacent second target historical dates. Based on the historical usage data, it is determined whether the target time period is a water usage period within the first and second target historical dates. Based on the determination result of whether the target time period is a water usage period within the first and second target historical dates, it is determined whether the target time period of the current date is a preheating period. If the target time period of the current date is a preheating period, the electric water heater is controlled to heat during the target time period, thereby improving the accuracy and comprehensiveness of the automatic scheduled heating control of the electric water heater and enhancing the user experience.

[0088] Please see Figure 3 , Figure 3 This is a schematic block diagram of the structure of an electric water heater provided in an embodiment of this application.

[0089] like Figure 3 As shown, the electric water heater 200 includes a processor 202, a memory 203, a communication interface 204, and a heating device 206 connected via a system bus 201. The electric water heater 200 includes an inner tank 205. The memory 203 may include a non-volatile storage medium and internal memory. Optionally, a temperature sensor is provided inside the inner tank 205, and optionally, a water flow sensor is provided at the outlet of the inner tank 205.

[0090] Non-volatile storage media can store computer programs. These computer programs include program instructions that, when executed, cause the processor to perform any method of controlling the electric water heater.

[0091] The processor 202 provides computing and control capabilities to support the operation of the entire electric water heater.

[0092] The memory 203 provides an environment for the execution of a computer program in a non-volatile storage medium. When the computer program is executed by the processor 202, the processor 202 can execute any kind of electric water heater control method.

[0093] This communication interface 204 is used for communication.

[0094] Those skilled in the art will understand that Figure 3 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the electric water heater to which the present application is applied. A specific electric water heater may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0095] It should be understood that the bus 201 can be, for example, an I2C (Inter-integrated Circuit) bus, the memory 203 can be a Flash chip, a read-only memory (ROM) disk, an optical disk, a USB flash drive, or a portable hard drive, etc., and the processor 202 can be a central processing unit (CPU). This processor can also be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor.

[0096] In some embodiments, the processor 202 is used to run a computer program stored in the memory 203 to perform the following steps:

[0097] Obtain historical usage data of electric water heaters;

[0098] Based on the current date, determine multiple first target historical dates and multiple second target historical dates, wherein the date interval between adjacent first target historical dates is smaller than the date interval between adjacent second target historical dates;

[0099] Based on the historical usage data, determine whether the target time period is a water usage period in the first target historical date and the second target historical date;

[0100] Based on the determination results of whether the target time period is a water usage period in the first target historical date and the second target historical date, determine whether the target time period on the current date is a preheating period;

[0101] If the target time period for the current date is a preheating period, control the electric water heater to heat during the target time period.

[0102] In some embodiments, when the processor 202 executes the computer program, it is configured to:

[0103] If the number of days in which the target time period is a water usage period in the plurality of first target historical dates is greater than the first day threshold, and / or the number of days in which the target time period is a water usage period in the plurality of second target historical dates is greater than the second day threshold, then the target time period on the current date is determined to be a preheating period.

[0104] In some embodiments, when the processor 202 executes the computer program, it is further configured to implement:

[0105] If the target time period is a water usage period in all of the plurality of first target historical dates, then the target time period on the current date is determined to be a preheating period.

[0106] If the target time period is not a water usage period in at least one of the first target historical dates, determine whether the target time period is a water usage period in all of the plurality of second target historical dates;

[0107] If the target time period is a water usage period in all of the multiple second target historical dates, then the target time period on the current date is determined to be a preheating period.

[0108] In some embodiments, when the processor 202 executes the computer program, it is further configured to implement:

[0109] If the target time period is not a water usage period in at least one of the second target historical dates, a third target historical date is determined based on the current date, wherein the date interval between the current date and the third target historical date is three weeks.

[0110] If the target time period is a water usage period in the third target historical date, then the target time period on the current date is determined to be a preheating period.

[0111] If the target time period is not a water usage period in the third target historical date, the target time period is determined to be a non-preheating period.

[0112] In some embodiments, when the processor 202 executes the computer program, it is further configured to implement:

[0113] Multiple historical dates that are one day adjacent to the current date are identified as the multiple first target historical dates, and the multiple first target historical dates are also one day adjacent to each other in sequence;

[0114] Multiple historical dates that are one week adjacent to the current date are identified as the multiple second target historical dates, and the multiple second historical dates are also sequentially adjacent to each other for one week.

[0115] In some embodiments, when the processor 202 executes the computer program, it is further configured to implement:

[0116] If the total water consumption of the time period corresponding to the target time period in the first target historical date is greater than or equal to the predetermined water consumption, the target time period is determined to be a water consumption time period in the first target historical date.

[0117] If the total water consumption of the time period corresponding to the target time period in the second target historical date is greater than or equal to the predetermined water consumption, the target time period is determined to be a water consumption time period in the second target historical date.

[0118] In some embodiments, when the processor 202 executes the computer program, it is further configured to implement:

[0119] The number of days the historical data was recorded;

[0120] If the number of days corresponding to the current date is less than or equal to the first record number of days threshold, and the target time period for the current date is a non-preheating time period, obtain the preset preheating time period;

[0121] Control the electric water heater to heat during the preset preheating time period.

[0122] In some embodiments, when the processor 202 executes the computer program, it is further configured to implement:

[0123] If the number of days corresponding to the current date is greater than the second record day threshold, determine the fourth target historical date based on the current date and the second record day threshold.

[0124] Delete the historical usage data corresponding to the fourth target's historical date.

[0125] It should be noted that those skilled in the art will understand that, for the sake of convenience and brevity, the specific working process of the electric water heater described above can be referred to the corresponding process in the aforementioned embodiments of the electric water heater control method, and will not be repeated here.

[0126] This application embodiment obtains historical usage data of the electric water heater, determines multiple first target historical dates and multiple second target historical dates based on the current date, wherein the date interval between adjacent first target historical dates is less than the date interval between adjacent second target historical dates. Based on the historical usage data, it is determined whether the target time period is a water usage period within the first and second target historical dates. Based on the determination result of whether the target time period is a water usage period within the first and second target historical dates, it is determined whether the target time period of the current date is a preheating period. If the target time period of the current date is a preheating period, the electric water heater is controlled to heat during the target time period, thereby improving the accuracy and comprehensiveness of the automatic scheduled heating control of the electric water heater and enhancing the user experience.

[0127] This application also provides a computer-readable storage medium storing a computer program, the computer program including program instructions, and the method implemented when the program instructions are executed can refer to various embodiments of the electric water heater control method of this application.

[0128] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.

[0129] The computer-readable storage medium can be an internal storage unit of the electric water heater or terminal device described in the foregoing embodiments, such as the hard drive or memory of the electric water heater. Alternatively, the computer-readable storage medium can be an external storage device of the electric water heater or terminal device, such as a plug-in hard drive, smart media card (SMC), secure digital card (SD), flash card, etc., equipped on the electric water heater.

[0130] Since the computer program stored in the computer-readable storage medium can execute any of the electric water heater control methods provided in the embodiments of this application, the beneficial effects that any of the electric water heater control methods provided in the embodiments of this application can achieve can be realized, as detailed in the preceding embodiments, and will not be repeated here.

[0131] It should be understood that the terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the scope of the application. As used in this specification and the appended claims, the singular forms “a,” “an,” and “the” are intended to include the plural forms unless the context clearly indicates otherwise.

[0132] It should also be understood that the term "and / or" as used in this specification and the appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes such combinations. It should be noted that, herein, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or system. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or system that includes that element.

[0133] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments. The above descriptions are merely specific implementations of this application, but the scope of protection of this application is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in this application, and these modifications or substitutions should all be covered within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. An electric water heater control method, characterized by, The method comprises: acquiring historical use data of an electric water heater; determining a plurality of first target historical dates and a plurality of second target historical dates according to a current date, wherein the date interval of adjacent first target historical dates is smaller than the date interval of adjacent second target historical dates; judging whether a target time period is a water use time period in the first target historical dates and the second target historical dates according to the historical use data; determining whether the target time period of the current date is a preheating time period according to the judgment result of whether the target time period is a water use time period in the first target historical dates and the second target historical dates; if the target time period of the current date is a preheating time period, controlling the electric water heater to heat in the target time period; the method further comprises: determining a historical date adjacent to the current date as a first target historical date, and the plurality of first target historical dates are also sequentially adjacent to each other by one day; determining a historical date adjacent to the current date as a second target historical date, and the plurality of second target historical dates are also sequentially adjacent to each other by one week; the method further comprises: if the number of days in which the target time period is a water use time period in the plurality of first target historical dates is greater than a first day threshold, and / or the number of days in which the target time period is a water use time period in the plurality of second target historical dates is greater than a second day threshold, determining that the target time period of the current date is a preheating time period; the method further comprises: if the target time period is a water use time period in all the first target historical dates, determining that the target time period of the current date is a preheating time period; if the target time period is not a water use time period in at least one of the first target historical dates, judging whether the target time period is a water use time period in all the second target historical dates; if the target time period is a water use time period in all the second target historical dates, determining that the target time period of the current date is a preheating time period.

2. The electric water heater control method of claim 1, wherein, the method further comprises: if the target time period is not a water use time period in at least one of the second target historical dates, determining a third target historical date according to the current date, wherein the date interval between the current date and the third target historical date is three weeks; if the target time period is a water use time period in the third target historical date, determining that the target time period of the current date is a preheating time period. If the target time period is not a water-using time period in the third target historical date, it is determined that the target time period in the current date is a non-preheating time period.

3. The electric water heater control method according to any one of claims 1 to 2, characterized in that, The historical use data comprises water-using time periods and / or non-water-using time periods in at least one historical date in a plurality of historical dates; Alternatively, the historical use data comprises total water usage in different time periods in a plurality of historical dates, and the determining whether the target time period is a water-using time period in the first target historical date and the second target historical date according to the historical use data comprises: If the total water usage in the time period corresponding to the target time period in the first target historical date is greater than or equal to a predetermined water usage, it is determined that the target time period in the first target historical date is a water-using time period; If the total water usage in the time period corresponding to the target time period in the second target historical date is greater than or equal to a predetermined water usage, it is determined that the target time period in the second target historical date is a water-using time period.

4. The electric water heater control method according to any one of claims 1 to 2, characterized by, Further comprising: counting the number of record days of the historical use data; If the number of record days corresponding to the current date is less than or equal to a first record day threshold, and the target time period in the current date is a non-preheating time period, a preset preheating time period is obtained; controlling the electric water heater to heat in the preset preheating time period.

5. The electric water heater control method according to claim 4, wherein Further comprising: If the number of record days corresponding to the current date is greater than a second record day threshold, a fourth target historical date is determined according to the current date and the second record day threshold; deleting the historical use data corresponding to the fourth target historical date.

6. An electric water heater, characterised in that, The electric water heater comprises an inner container, a heating device, a processor and a memory; The memory is used for storing a computer program; The processor is used for executing the computer program and realizing the steps of the electric water heater control method according to any one of claims 1 to 5 when executing the computer program.

7. A computer-readable storage medium, characterized in that, The computer readable storage medium stores a computer program, and the computer program is executed by the processor to make the processor realize the steps of the electric water heater control method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Automatic reserving method and device of electric water heater and electric water heater

    CN108954850A

  • Intelligent heating method and device for hot water

    CN109028601A