Water heater control method, device, storage medium and electronic device

CN115978799BActive Publication Date: 2025-09-30HAIER YOUJIA INTELLIGENT TECH (BEIJING) CO LTD +2
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211700854.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-28
Publication Date
2025-09-30
Estimated Expiration
2042-12-28

AI Technical Summary

Technical Problem

[0004]本申请提供一种热水器控制方法、装置、存储介质及电子设备,用以解决现有技术中在用户每次使用热水器时都需要等待一段时间才能使用到热水的缺陷,以实现更加智能、准确的控制待控制热水器,通过提前开启热水器,为用户及时提供热水,避免用户等待,从而提高用户的体验感和满意度

Benefits of technology

[0018]The present application also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements any of the above-mentioned water heater control methods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115978799B_ABST
    Figure CN115978799B_ABST
Patent Text Reader

Abstract

The present application discloses a water heater control method, device, storage medium, and electronic device, relating to the field of smart home / intelligent home technology. The water heater control method includes: obtaining the historical water use start time of the water heater to be controlled and the historical usage time of an auxiliary prediction operation device, wherein the auxiliary prediction operation device is an operation device located in the same preset space as the water heater to be controlled; obtaining the predicted water use start time of the water heater to be controlled based on the historical water use start time; determining whether the auxiliary prediction operation device has an association relationship with the water heater to be controlled based on the historical water use start time and the historical usage time; and controlling the operation of the water heater to be controlled based on the association judgment result and the predicted water use start time. This achieves more intelligent and accurate control of the water heater to be controlled, providing hot water to users in a timely manner and avoiding waiting for users.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of smart home technology, and in particular to a water heater control method, device, storage medium and electronic device. Background Art

[0002] With the development of water heater technology and artificial intelligence technology, users have higher and higher requirements for the intelligent functions of water heaters.

[0003] As is known from related technologies, users need to manually turn on the water heater and wait for a while before hot water is available, which will affect the user experience. Therefore, the search for a water heater control method that can more accurately and intelligently predict the water heater's start time to achieve the water heater's zero cold water function has become a research hotspot. Summary of the Invention

[0004] The present application provides a water heater control method, device, storage medium and electronic device to solve the defect in the prior art that the user needs to wait for a period of time before using hot water each time using the water heater, so as to achieve more intelligent and accurate control of the water heater to be controlled. By turning on the water heater in advance, hot water is provided to the user in a timely manner, avoiding the user waiting, thereby improving the user experience and satisfaction.

[0005] The present application provides a water heater control method, which includes: obtaining a historical water use start time of the water heater to be controlled, and a historical usage time of an auxiliary prediction operation device, wherein the auxiliary prediction operation device is an operation device located in the same preset space as the water heater to be controlled; based on the historical water use start time, obtaining a predicted water use start time of the water heater to be controlled; based on the historical water use start time and the historical usage time, judging whether the auxiliary prediction operation device has an association relationship with the water heater to be controlled; and controlling the operation of the water heater to be controlled based on the association relationship judgment result and the predicted water use start time.

[0006] According to a water heater control method provided by the present application, the method obtains the predicted water use start time of the water heater to be controlled based on the historical water use start time, specifically including: clustering the historical water use start time to obtain a cluster cluster; based on the historical water use start time in the cluster cluster, determining the central value of the water use start time of the cluster cluster, wherein the central value of the water use start time is used to characterize the central value of the historical water use start time in the cluster cluster; based on the central value of the water use start time, obtains the predicted water use start time of the water heater to be controlled.

[0007] According to a water heater control method provided by the present application, the method of judging whether the auxiliary prediction operation device has an association relationship with the water heater to be controlled based on the historical water use start time and the historical usage time specifically includes: forming a transaction set for enabling the water heater to be controlled and the auxiliary prediction operation device based on the historical water use start time and the historical usage time; extracting a target transaction set from the transaction set based on the earliest historical water use start time and the latest historical water use start time in the cluster; determining the confidence and lift of the association relationship between the auxiliary prediction operation device and the water heater to be controlled based on the target transaction set; when the confidence exceeds a confidence threshold and the lift exceeds a lift threshold, determining that the auxiliary prediction operation device has an association relationship with the water heater to be controlled; when the confidence does not exceed the confidence threshold or the lift does not exceed the lift threshold, determining that the auxiliary prediction operation device does not have an association relationship with the water heater to be controlled.

[0008] According to a water heater control method provided by the present application, the confidence includes a transaction start confidence and a transaction non-start confidence, and the confidence is determined in the following manner: based on the target transaction set, determining a first enablement probability that the auxiliary prediction operation device is enabled; based on the target transaction set, determining a second enablement probability that the auxiliary prediction operation device and the water heater to be controlled are simultaneously enabled within a preset time period; based on the first enablement probability and the second enablement probability, determining the transaction start confidence; based on the target transaction set, determining a first non-enablement probability that the auxiliary prediction operation device is not enabled; based on the target transaction set, determining a second non-enablement probability that the auxiliary prediction operation device and the water heater to be controlled are simultaneously not enabled within a preset time period; based on the first non-enablement probability and the second non-enablement probability, determining the transaction non-enablement confidence.

[0009] According to a water heater control method provided by the present application, the improvement degree includes a transaction start improvement degree and a transaction non-start improvement degree, and the improvement degree is determined in the following manner: based on the target transaction set, determining a third enablement probability that the water heater to be controlled is enabled within a preset time interval when the auxiliary prediction operation device is enabled; based on the third enablement probability and the transaction start confidence, determining the transaction start improvement degree, wherein the transaction start improvement degree is used to characterize the correlation between the auxiliary prediction operation device being enabled and the water heater to be controlled being enabled; based on the target transaction set, determining a third non-enabled probability that the water heater to be controlled is not enabled within a preset time interval when the auxiliary prediction operation device is not enabled; based on the third non-enabled probability and the transaction non-start confidence, determining the transaction non-start improvement degree, wherein the transaction non-start improvement degree is used to characterize the correlation between the auxiliary prediction operation device being not enabled and the water heater to be controlled being not enabled.

[0010] According to a water heater control method provided by the present application, the association relationship judgment result includes that the auxiliary prediction operation device has an association relationship with the water heater to be controlled; the operation of the water heater to be controlled based on the association relationship judgment result and the predicted water use start time specifically includes: when the auxiliary prediction operation device has an association relationship with the water heater to be controlled, when the auxiliary prediction operation device is detected to be operated and used within a preset time before the predicted water use start time, the operation of the water heater to be controlled is controlled based on the predicted water use start time.

[0011] According to a water heater control method provided by the present application, the association relationship judgment result includes that the auxiliary prediction operation device has an association relationship with the water heater to be controlled; the operation of the water heater to be controlled based on the association relationship judgment result and the predicted water use start time specifically includes: when the auxiliary prediction operation device has an association relationship with the water heater to be controlled, when the auxiliary prediction operation device is not detected to be operated within a preset time before the predicted water use start time, the water heater to be controlled is controlled not to operate.

[0012] According to a water heater control method provided by the present application, the association relationship judgment result includes that the auxiliary prediction operation device has no association relationship with the water heater to be controlled; the operation of the water heater to be controlled based on the association relationship judgment result and the predicted water use start time specifically includes: when the auxiliary prediction operation device has no association relationship with the water heater to be controlled, the operation of the water heater to be controlled is controlled based on the predicted water use start time.

[0013] According to a water heater control method provided by the present application, before controlling the operation of the water heater to be controlled based on the association relationship judgment result and the predicted water use start time, the method also includes: determining the target water use interval days based on the actual water use days of the water heater to be controlled within a preset time period; determining the predicted water use date of the water heater to be controlled based on the target water use interval days; controlling the operation of the water heater to be controlled based on the association relationship judgment result and the predicted water use start time specifically includes: controlling the operation of the water heater to be controlled on the predicted water use date based on the association relationship judgment result and the predicted water use start time.

[0014] According to a water heater control method provided in the present application, the target water use interval days are determined based on the actual water use days of the water heater to be controlled within a preset time period, specifically including: when the actual water use days are less than or equal to the preset number of days, the water use interval days of the most recent preset number of times are obtained, and the target water use interval days are determined based on the weighted sum of the water use interval days of the most recent preset number of times; the predicted water use date of the water heater to be controlled based on the target water use interval days is determined, specifically including: the predicted water use date of the water heater to be controlled based on the target water use interval days and the most recent water use date.

[0015] The present application also provides a water heater control device, which includes: a first module for obtaining the historical water use start time of the water heater to be controlled and the historical usage time of the auxiliary prediction operation device, wherein the auxiliary prediction operation device is an operation device in the same preset space as the water heater to be controlled; a second module for obtaining the predicted water use start time of the water heater to be controlled based on the historical water use start time; a third module for judging whether the auxiliary prediction operation device has an association relationship with the water heater to be controlled based on the historical water use start time and the historical usage time; and a fourth module for controlling the operation of the water heater to be controlled based on the association judgment result and the predicted water use start time.

[0016] The present application also provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute any of the above-mentioned water heater control methods through the computer program.

[0017] The present application also provides a computer-readable storage medium, which includes a stored program, wherein the program is executed to implement any of the above-mentioned water heater control methods when it is run.

[0018] The present application also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements any of the above-mentioned water heater control methods.

[0019] The water heater control method, device, storage medium and electronic device provided in the present application obtain the predicted water use start time of the water heater to be controlled through the historical water use start time, and based on the historical water use start time and the historical usage time, determine whether the auxiliary prediction operation device has an association relationship with the water heater to be controlled, and then combine the association relationship between other auxiliary prediction operation devices in the home and the water heater to be controlled, as well as the predicted water use start time, to control the operation of the water heater to be controlled, so as to achieve more intelligent and accurate control of the water heater to be controlled, and provide hot water to the user in time by turning on the water heater in advance, avoiding the user waiting, thereby improving the user experience and satisfaction. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0021] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0022] Figure 1 is a schematic diagram of a hardware environment of a water heater control method according to an embodiment of the present application;

[0023] Figure 2 This is one of the flow charts of the water heater control method provided by this application;

[0024] Figure 3 This is a flow chart of obtaining the predicted water use start time of the water heater to be controlled based on the historical water use start time provided by the present application;

[0025] Figure 4 This is a flowchart provided by the present application for determining whether an auxiliary prediction operation device has an associated relationship with a water heater to be controlled based on historical water use start time and historical usage time;

[0026] Figure 5 This is the second flow chart of the water heater control method provided by this application;

[0027] Figure 6 This is the third flow chart of the water heater control method provided by this application;

[0028] Figure 7It is a structural diagram of the water heater control device provided by this application;

[0029] Figure 8 It is a structural diagram of the electronic device provided in this application. DETAILED DESCRIPTION

[0030] In order to enable those skilled in the art to better understand the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of this application.

[0031] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in a sequence other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0032] According to one aspect of the embodiment of the present application, a water heater control method is provided. The water heater control method is widely used in smart home (Smart Home), smart home, smart home device ecology, smart residential (Intelligence House) ecology and other whole-house intelligent digital control application scenarios. Optionally, in this embodiment, the above water heater control method can be applied to Figure 1 In the hardware environment shown in FIG. 1 , which is composed of a terminal device 102 and a server 104. Figure 1 As shown, the server 104 is connected to the terminal device 102 via a network, and can be used to provide services (such as application services, etc.) for the terminal or the client installed on the terminal. A database can be set up on the server or independently of the server to provide data storage services for the server 104. Cloud computing and / or edge computing services can be configured on the server or independently of the server to provide data computing services for the server 104.

[0033] The aforementioned network may include, but is not limited to, at least one of the following: a wired network and a wireless network. The aforementioned wired network may include, but is not limited to, at least one of the following: a wide area network, a metropolitan area network, and a local area network. The aforementioned wireless network may include, but is not limited to, at least one of the following: Wi-Fi (Wireless Fidelity) and Bluetooth. The terminal device 102 may be, but is not limited to, a PC, a mobile phone, a tablet computer, a smart air conditioner, a smart range hood, a smart refrigerator, a smart oven, a smart stove, a smart washing machine, a smart water heater, a smart washing machine, a smart dishwasher, a smart projection device, a smart TV, a smart clothes drying rack, smart curtains, smart audio and video, a smart socket, a smart speaker, a smart fresh air device, smart kitchen and bathroom equipment, smart bathroom equipment, a smart sweeping robot, a smart window cleaning robot, a smart mopping robot, a smart air purifier, a smart steamer, a smart microwave oven, a smart kitchen treasure, a smart purifier, a smart water dispenser, a smart door lock, etc.

[0034] In another embodiment, the water heater control method provided herein can be applied to smart home appliances. Smart home appliances are appliances that incorporate microprocessors, sensor technology, and network communication technology. These appliances automatically sense the state of the residential space, the appliance itself, and its service status, and can automatically control and receive control commands from the user, either within the home or remotely. It is understood that smart home appliances are part of a smart home.

[0035] Figure 2 This is one of the flow charts of the water heater control method provided in this application.

[0036] In order to further introduce the water heater control method provided by this application, the following Figure 2 Provide explanation.

[0037] In an exemplary embodiment of the present application, Figure 2 It can be seen that the water heater control method may include steps 210 to 240, and each step will be introduced below.

[0038] In step 210, the historical water usage start time of the water heater to be controlled and the historical usage time of the auxiliary prediction operation device are obtained.

[0039] In one embodiment, the auxiliary prediction operating device can be an operating device located within the same preset space as the water heater to be controlled. In one example, the preset space can be adjusted based on actual needs; in this embodiment, the preset space is not specifically limited. For example, the water heater to be controlled and the auxiliary prediction device can be household operating devices, such as a range hood, air conditioner, or refrigerator.

[0040] In one embodiment, both the controlled water heater and the auxiliary predictive operation device are intelligent operation devices that can communicate with a cloud-based processing system. During use, the controlled water heater and the auxiliary predictive operation device can upload their detailed operating data to the cloud-based processing system, thereby obtaining multiple sets of historical water use start time data for the controlled water heater and multiple sets of historical usage time data for the auxiliary predictive operation device. It is understood that these multiple sets of historical water use start time data and multiple sets of historical usage time data can serve as the basis for predicting the water use start time for the controlled water heater.

[0041] In step 220 , based on the historical water use start times, a predicted water use start time of the water heater to be controlled is obtained.

[0042] In one embodiment, a prediction can be made based on data from multiple sets of historical water usage start times for the water heaters to be controlled, thereby obtaining a predicted water usage start time for each of the water heaters to be controlled. In this embodiment, the obtained predicted water usage start time can be used as a basis for controlling the operation of the water heater to be controlled, thereby achieving more intelligent and accurate control of the water heater to be controlled. By starting the water heater in advance, hot water can be provided to the user in a timely manner, avoiding the user having to wait.

[0043] In step 230 , based on the historical water use start time and the historical usage time, it is determined whether the auxiliary prediction operation device has an associated relationship with the water heater to be controlled.

[0044] In step 240 , based on the association relationship judgment result and the predicted water use start time, the water heater to be controlled is controlled to operate.

[0045] In one embodiment, whether the auxiliary predictive operation device is associated with the water heater to be controlled can be determined based on the historical water usage start time of the water heater to be controlled and the historical usage time of the auxiliary predictive operation device. In one example, when determining whether the auxiliary predictive operation device is associated with the water heater to be controlled, the operation of the water heater to be controlled can be controlled based on the association between the activation events of other auxiliary predictive operation devices in the same household and the activation events of the water heater to be controlled, combined with the predicted water usage start time. This allows for more intelligent and accurate control of the water heater to be controlled, enabling the user to be provided with hot water in a timely manner by activating the water heater in advance, thus avoiding waiting.

[0046] The water heater control method provided in the present application obtains the predicted water use start time of the water heater to be controlled through the historical water use start time, and judges whether the auxiliary prediction operation device has an association relationship with the water heater to be controlled based on the historical water use start time and the historical usage time. Then, combined with the association relationship between other auxiliary prediction operation devices in the home and the water heater to be controlled, as well as the predicted water use start time, the operation of the water heater to be controlled is controlled to achieve more intelligent and accurate control of the water heater to be controlled. By turning on the water heater in advance, hot water is provided to the user in time, avoiding the user waiting, thereby improving the user experience and satisfaction.

[0047] Figure 3 This is a flow chart provided by the present application for obtaining the predicted water use start time of the water heater to be controlled based on the historical water use start time.

[0048] The following will be combined Figure 3 The process of obtaining the predicted water use start time of the water heater to be controlled based on the historical water use start time is described.

[0049] In an exemplary embodiment of the present application, Figure 3 It can be seen that obtaining the predicted water use start time of the water heater to be controlled based on the historical water use start time may include steps 310 to 330, and each step will be described below.

[0050] In step 310 , clustering is performed on the historical water use start times to obtain clusters.

[0051] In step 320 , based on the historical water use start times in the clusters, the central value of the water use start time of the clusters is determined.

[0052] In step 330 , based on the central value of the water use start time, the predicted water use start time of the water heater to be controlled is obtained.

[0053] In one embodiment, multiple sets of historical water use start times can be clustered sequentially. If the difference between two sets of historical water use start times does not exceed a time difference threshold, the two sets of historical water use start times can be classified into the same cluster. Through this embodiment, multiple sets of historical water use start times can be clustered to obtain multiple clusters.

[0054] It should be noted that the central value of the water use start time can be used to characterize the central value of the historical water use start time in the cluster. In one example, the central value of the water use start time can be the average time of each historical water use start time. For example, if the historical water use start time includes 10:00 and 9:00, then the central value of the water use start time can be the average time of each historical water use start time, 9:30. In another example, the central value of the water use start time can also be the median or mode of each historical water use start time. For example, if the historical water use start time includes 10:00, 9:40, 9:30, 9:10, and 9:10, then the central value of the water use start time can be the median of each historical water use start time, 9:30; the central value of the water use start time can also be the mode of each historical water use start time, 9:10. In this embodiment, there is no specific limitation on the method for determining the central value of the water use start time.

[0055] Taking the historical water use start time of the water heater to be controlled shown in Table 1 below as an example, clustering is performed, and the clusters shown in Table 2 can be obtained.

[0056] Table 1 Historical water use start time table for water heaters to be controlled

[0057] date Start time 20221110 8:30:00 20221110 8:31:32 20221110 8:33:32 20221110 8:55:32 20221110 9:10:00 20221110 9:30:00 20221110 9:30:20 20221110 9:30:30 20221110 10:30:00 20221110 11:00:00 20221110 13:00:00 20221110 13:30:00 20221110 14:30:00 20221110 18:30:00 20221111 9:30:00 20221111 9:10:00 20221111 9:31:32 20221112 8:33:32 20221113 8:55:32 20221114 19:30:00 20221115 8:30:20 20221115 13:30:30 20221110 10:50:00 20221111 10:50:00

[0058] Table 2 Clusters obtained by clustering the historical water use start times of the controlled water heaters

[0059] Start time family 8:30:00 0 8:31:32 0 8:33:32 0 8:55:32 0 9:10:00 0 9:30:00 0 9:30:20 0 9:30:30 0 10:30:00 0 11:00:00 0 13:00:00 1 13:30:00 1 14:30:00 1 18:30:00 2 9:30:00 0 9:10:00 0 9:31:32 0 8:33:32 0 8:55:32 0 19:30:00 2 8:30:20 0 13:30:30 1 10:50:00 0 10:50:00 0

[0060] From this, we can see that the historical water use start times of the water heater to be controlled are divided into three categories, and the central values ​​of each category (corresponding to the central value of the water use start time) can be 9:30, 13:30, and 19:00 respectively. The central values ​​of these three categories can be used as the predicted water use start times of the water heater to be controlled on the predicted T+1 day.

[0061] Figure 4 This is a flow chart provided by the present application for determining whether the auxiliary prediction operation device has an associated relationship with the water heater to be controlled based on the historical water use start time and the historical usage time.

[0062] In order to further introduce the water heater control method provided by this application, the following Figure 4 Provide explanation.

[0063] In an exemplary embodiment of the present application, based on the historical water use start time and the historical usage time, determining whether the auxiliary prediction operation device has an association relationship with the water heater to be controlled may include steps 410 to 450, and each step will be introduced below.

[0064] In step 410 , based on the historical water use start time and the historical usage time, a transaction set for enabling the water heater to be controlled and the auxiliary prediction operation device is formed.

[0065] In one embodiment, a transaction combination may be constructed, wherein the transaction combination may be used to characterize the correspondence between the event generated when the controlled water heater and / or the auxiliary prediction operation device is turned on and the historical water use start time and / or the historical usage time.

[0066] The following will be explained in conjunction with the transaction set shown in Table 3.

[0067] Table 3 Transaction set consisting of water heaters to be controlled and auxiliary prediction operation equipment

[0068]

[0069]

[0070] It should be noted that a transaction set can be obtained based on the historical water use start time of the water heater to be controlled and the historical use time of the auxiliary prediction operation device. Among them, the time point when each event is turned on is regarded as a transaction, and the value corresponding to the start event corresponding to the time point can be expressed as 1-1. If other events occur within a preset time after the time point (for example, within 10 minutes), the value of the transaction corresponding to the occurrence of other events can be expressed as 1-2. If no other events occur, the value of the transaction corresponding to the occurrence of other events can be expressed as 0. Among them, the transaction set consisting of the start events of the water heater to be controlled and the auxiliary prediction operation device is shown in Table 3.

[0071] Table 3 shows that for transaction ID 1, the refrigerator door was opened at that time, so the value corresponding to the refrigerator door opening event is 1-1. Within ten minutes of that time, events such as the water heater turning on and the range hood turning on occurred, so the values ​​corresponding to these events are 1-2. For another example, for transaction ID 3, the range hood was turned on at that time, and no other events occurred within 10 minutes of that time, so the values ​​corresponding to the other events are 0. This table data is the basis for association rules.

[0072] In step 420 , a target transaction set is extracted from the transaction set based on the earliest historical water use start time and the latest historical water use start time in the cluster.

[0073] In one embodiment, a target transaction set can be extracted from the transaction set based on the earliest and latest historical water use start times in the clusters. It is understood that the target transaction set is a set of transactions whose event start times fall between the earliest and latest historical water use start times.

[0074] Continuing to explain in combination with Table 2 and Table 3, we can take the cluster whose class family is 0 as an example for explanation, and the obtained target transaction set can be expressed as Table 4.

[0075] Table 4 Target transaction set corresponding to cluster with family 0

[0076]

[0077]

[0078] In step 430 , based on the target transaction set, the confidence and lift of the association between the auxiliary prediction operation device and the water heater to be controlled are determined.

[0079] In step 440 , when the confidence exceeds the confidence threshold and the improvement exceeds the improvement threshold, it is determined that the auxiliary prediction operation device has an association relationship with the water heater to be controlled.

[0080] In step 450 , when the confidence level does not exceed the confidence level threshold, or the improvement level does not exceed the improvement level threshold, it is determined that the auxiliary prediction operation device has no association relationship with the water heater to be controlled.

[0081] In one embodiment, the confidence and improvement of the association between the auxiliary prediction operation device and the water heater to be controlled may be determined based on the target transaction set, for example, as shown in Table 4.

[0082] In one embodiment, if the confidence exceeds the confidence threshold and the lift exceeds the lift threshold, it is determined that the auxiliary prediction operation device has an association relationship with the water heater to be controlled; if the confidence does not exceed the confidence threshold, or the lift does not exceed the lift threshold, it is determined that the auxiliary prediction operation device has no association relationship with the water heater to be controlled.

[0083] In an exemplary embodiment of the present application, the confidence level may include a transaction start confidence level and a transaction not start confidence level. The confidence level may be determined in the following manner:

[0084] Determining, based on the target transaction set, a first activation probability that the auxiliary prediction operation device is activated;

[0085] Determining, based on the target transaction set, a second activation probability that the auxiliary prediction operation device and the water heater to be controlled are simultaneously activated within a preset time period;

[0086] Determining the transaction start confidence level based on the first enablement probability and the second enablement probability;

[0087] Determining, based on the target transaction set, a first non-activation probability that the auxiliary prediction operation device is not activated;

[0088] Determining, based on the target transaction set, a second non-activation probability that the auxiliary prediction operation device and the water heater to be controlled are simultaneously not activated within a preset time period;

[0089] A transaction not-open confidence level is determined based on the first not-enabled probability and the second not-enabled probability.

[0090] In one embodiment, a first activation probability of the auxiliary prediction operation device being activated may be determined based on the target transaction set. Continuing with Table 4, the auxiliary prediction operation device is used as an example to illustrate the refrigerator door opening.

[0091] Two categories of association rules can be determined, one is the association rule that the water heater opening event is equal to 1-2 as the latter term, and other events (such as the refrigerator door opening event) are equal to 1-1 as the former term; and the other association rule that the water heater opening event is equal to 0 as the latter term, and other events (such as the refrigerator door opening event) are equal to 0 as the former term. If two categories of association rules exist for the same two events, then the association rule is used to determine whether it is necessary to turn on the water heater device in advance. The meaning of the first category of association rules is that if event A (such as the refrigerator door opening) occurs, there is a high probability that the water heater opening event will occur within 10 minutes. The meaning of the second category of association rules is that if event A (such as the refrigerator door opening) does not occur, there is a high probability that the water heater opening event will not occur within 10 minutes.

[0092] In one example, the events that satisfy both category association rules are water heater on and refrigerator door open, and the frequent item sets they form are {X4=1-1, X1=1-2} and {X4=0, X1=0}.

[0093] During the application process, the transaction opening confidence can be calculated separately (corresponding to the transaction {X4=1-1, X1=1-2}). In one example, based on the target transaction set, the first activation probability of the auxiliary prediction operation device being activated can be determined, that is, P1(A)=P(X4=1-1)=8 / 22=0.36. And based on the target transaction set, the second activation probability of the auxiliary prediction operation device and the water heater to be controlled being activated at the same time within the preset time period is determined, that is, P1(AB)=6 / 22=0.27. Further, based on the first activation probability and the second activation probability, the transaction opening confidence is determined, that is, the confidence of the frequent item set is con1=P1(AB) / P1(A)=0.75, which means that within 10 minutes after the refrigerator door is opened, the probability of the water heater being turned on is 0.75.

[0094] In another example, based on the target transaction set, a first non-activation probability that the auxiliary prediction operation device is not activated can be determined, that is, P2(A)=P(X4=0). Furthermore, based on the target transaction set, a second non-activation probability that the auxiliary prediction operation device and the water heater to be controlled are simultaneously not activated within a preset time period can be determined, that is, P2(AB)=P(X4=0, X1=0). Furthermore, based on the first non-activation probability and the second non-activation probability, a transaction non-activation confidence is determined, that is, the confidence of the frequent itemset is con2=P2(AB) / P2(A).

[0095] In an exemplary embodiment of the present application, the promotion degree includes the transaction opening promotion degree and the transaction not opening promotion degree. The promotion degree can be determined in the following manner:

[0096] determining, based on the target transaction set, a third activation probability that the water heater to be controlled is activated within a preset time interval when the auxiliary prediction operation device is activated;

[0097] Determining the transaction opening promotion degree based on the third activation probability and the transaction opening confidence degree, wherein the transaction opening promotion degree is used to characterize the correlation between the activation of the auxiliary prediction operation device and the activation of the water heater to be controlled;

[0098] determining, based on the target transaction set, a third non-activation probability that the water heater to be controlled is not activated within a preset time interval in which the auxiliary prediction operation device is not activated;

[0099] Based on the third non-activation probability and the transaction non-activation confidence, a transaction non-activation lift is determined, wherein the transaction non-activation lift is used to characterize the correlation between the auxiliary prediction operation device being non-activated and the water heater to be controlled being non-activated.

[0100] Continuing with the previous example, based on the target transaction set, a third activation probability of the controlled water heater being activated within the preset time interval when the auxiliary predictive operation device is activated can be determined: P1(B) = P(X1 = 1-2) = 8 / 22 = 0.36. Furthermore, based on the third activation probability and the transaction activation confidence, a transaction activation lift can be determined: Lift1 = con1 / P1(B) = 2.06. This indicates that the association that the water heater is activated within 10 minutes after the refrigerator door is opened is valid.

[0101] In another example, based on the target transaction set, a third non-activation probability that the water heater to be controlled is not activated within a preset time interval when the auxiliary prediction operation device is not activated can be determined, that is, P2(B)=P(X4=0, X1=0), and based on the third non-activation probability and the transaction non-activation confidence, the transaction non-activation lift can be determined, that is, Lift2=con2 / P2(B).

[0102] It should be noted that when the auxiliary predictive operation device has an associated relationship with the water heater to be controlled, the operation of the water heater to be controlled can be jointly controlled based on the associated relationship between the auxiliary predictive operation device and the water heater to be controlled and the predicted start time of water use. When the auxiliary predictive operation device does not have an associated relationship with the water heater to be controlled, the start time of water use can be predicted to jointly control the operation of the water heater to be controlled. Through this embodiment, the operation of the water heater to be controlled will be controlled in combination with the associated relationship between other auxiliary predictive operation devices in the home and the water heater to be controlled, as well as the predicted start time of water use, to achieve more intelligent and accurate control of the water heater to be controlled. By turning on the water heater in advance, hot water can be provided to the user in a timely manner, avoiding the user waiting, thereby improving the user experience and satisfaction.

[0103] In another exemplary embodiment of the present application, Figure 2 The above embodiment is used as an example for explanation. The result of the association relationship judgment may include that the auxiliary prediction operation device has an association relationship with the water heater to be controlled;

[0104] Based on the association judgment result and the predicted water use start time, controlling the operation of the water heater to be controlled (corresponding to step 240) can be achieved in the following manner:

[0105] When the auxiliary prediction operation device is associated with the water heater to be controlled, when it is detected that the auxiliary prediction operation device is operated within a preset time before the predicted water use start time, the water heater to be controlled is controlled to operate based on the predicted water use start time.

[0106] In another exemplary embodiment of the present application, Figure 2 The above embodiment is used as an example for explanation. The result of the association relationship judgment may include that the auxiliary prediction operation device has an association relationship with the water heater to be controlled;

[0107] Based on the association judgment result and the predicted water use start time, controlling the operation of the water heater to be controlled (corresponding to step 240) can be achieved in the following manner:

[0108] In the case where the auxiliary prediction operation device is associated with the water heater to be controlled, if the auxiliary prediction operation device is not detected to be operated within a preset time period before the predicted water use start time, the water heater to be controlled is controlled not to operate.

[0109] In one embodiment, when the predicted water use start time is about to arrive, it can be determined whether the refrigerator door has been opened within a preset time period (for example, within 10 minutes) before the water heater start instruction is issued. If so, the instruction is issued according to the predicted water use start time. If not, it is not issued. In addition, it is possible to cyclically determine whether the refrigerator door opening event has occurred within 5 minutes before the predicted water use start time. If it has occurred, the instruction is issued. If it has not occurred, the instruction is not issued. After the predicted water use start time, the cyclic determination is no longer performed. Through this embodiment, the association between other auxiliary predictive operating devices in the home and the water heater to be controlled, as well as the predicted water use start time, is integrated to control the operation of the water heater to be controlled, so as to achieve more intelligent and accurate control of the water heater to be controlled. By turning on the water heater in advance, hot water is provided to the user in a timely manner, avoiding the user waiting, thereby improving the user experience and satisfaction.

[0110] In another exemplary embodiment of the present application, Figure 2 The above embodiment is used as an example for explanation. The result of the association relationship judgment may include that the auxiliary prediction operation device has no association relationship with the water heater to be controlled;

[0111] Based on the association judgment result and the predicted water use start time, controlling the operation of the water heater to be controlled (corresponding to step 240) can be achieved in the following manner:

[0112] In the case that the auxiliary prediction operation device has no association relationship with the water heater to be controlled, the water heater to be controlled is controlled to operate based on the predicted water use start time.

[0113] In one embodiment, when it is detected that the auxiliary prediction operation device has no association with the water heater to be controlled, the operation of the water heater to be controlled is not predicted and controlled based on the opening status of the auxiliary prediction operation device, but the operation of the water heater to be controlled is directly controlled based on the predicted water use start time.

[0114] Figure 5 This is the second flow chart of the water heater control method provided in this application.

[0115] In an exemplary embodiment of the present application, the water heater control method may include steps 510 to 560, wherein steps 510 to 530 are the same or similar to steps 210 to 230. For their specific implementation and beneficial effects, please refer to the previous description, which will not be repeated in this embodiment. Steps 540 to 560 will be introduced separately below.

[0116] In step 540 , a target water usage interval number of days is determined based on the actual water usage number of the water heater to be controlled within a preset time period.

[0117] In step 550 , based on the target water usage interval number of days, a predicted water usage date for the water heater to be controlled is determined.

[0118] In an exemplary embodiment of the present application, the target water usage interval is determined based on the actual water usage days of the water heater to be controlled within a preset time period. This can be achieved in the following manner:

[0119] When the actual number of water use days is less than or equal to the preset number of days, the number of days between water use in the latest preset number of times is obtained, and the target number of days between water use in the latest preset number of times is determined based on the weighted sum of the number of days between water use in the latest preset number of times;

[0120] Based on the target water usage interval, the predicted water usage date for the water heater to be controlled can be achieved in the following ways:

[0121] Based on the target water usage interval and the most recent water usage date, the predicted water usage date of the water heater to be controlled is determined.

[0122] In one embodiment, the actual number of days x of water use over the last preset number of days (e.g., 30 days) for each category (corresponding to the cluster) can be counted, where 30 / x represents the daily water use frequency. If x ≥ 25, water use is considered daily, and the predicted water use date can be every day in the future. Upon reaching the preset water use start time, a start instruction for the controlled water heater can be pushed daily. Conversely, for non-daily water use, the intervals of water use over the last preset number of days (e.g., three times) can be obtained as a, b, and c, and a weighted moving average method can be used to calculate the next water use interval d = round(0.5a + 0.35b + 0.15c).

[0123] If the predicted date meets the water usage interval (corresponding to the target water usage interval number of days) d, it is considered that the predicted date uses water and a notification is sent. The predicted water usage date for the water heater to be controlled can be determined based on the target water usage interval number of days and the most recent water usage date. When the preset water usage start time is reached, a start instruction for the water heater to be controlled can be sent on the predicted water usage date.

[0124] In step 560 , based on the association determination result and the predicted water use start time, the water heater to be controlled is controlled to operate on the predicted water use date.

[0125] In one embodiment, the water heater to be controlled may be controlled to operate on the predicted water usage date based on the association judgment result and the predicted water usage start time.

[0126] In one example, if the predicted water usage date is every day in the future, a start instruction for the water heater to be controlled can be pushed every day when the preset water usage start time arrives. If the predicted water usage date is not every day in the future, the predicted water usage date for the water heater to be controlled can be determined based on the target water usage interval and the most recent water usage date. When the preset water usage start time arrives, a start instruction for the water heater to be controlled can be pushed on the predicted water usage date.

[0127] Figure 6 This is the third flow chart of the water heater control method provided in this application.

[0128] In order to further introduce the water heater control method provided by this application, the following Figure 6 Provide explanation.

[0129] In an exemplary embodiment of the present application, Figure 6 It can be seen that the water heater control method may include steps 601 to 614, and each step will be introduced below.

[0130] In step 601, the device reports original data.

[0131] In step 602, device usage details are obtained.

[0132] In one embodiment, the device may include a water heater to be controlled and an auxiliary predictive operation device. In one example, the device may report raw data and obtain device usage details based on the raw data. The device usage details may include the historical water usage start time of the water heater to be controlled and the historical usage time of the auxiliary predictive operation device.

[0133] In step 603, the water use start time is predicted based on the equipment usage details.

[0134] In step 604, hierarchical clustering is performed.

[0135] In one embodiment, multiple groups of historical water use start times can be clustered sequentially. If the difference between two groups of historical water use start times does not exceed a time difference threshold, the two groups of historical water use start times can be grouped into the same cluster. Based on the historical water use start times in the cluster, the central value of the water use start time of the cluster is determined. Based on the central value of the water use start time, the predicted water use start time of the water heater to be controlled is obtained, thereby predicting the water use start time.

[0136] In step 605, a date prediction is performed based on the device usage details.

[0137] In step 606, daily rule calculation is performed.

[0138] In one embodiment, the actual number of days x of water use over the last preset number of days (e.g., 30 days) for each category (corresponding to the cluster) can be counted, where 30 / x represents the daily water use frequency. If x ≥ 25, water use is considered daily, and the predicted water use date can be every day in the future. Upon reaching the preset water use start time, a start instruction for the controlled water heater can be pushed daily. Conversely, for non-daily water use, the intervals of water use over the last preset number of days (e.g., three times) can be obtained as a, b, and c, and a weighted moving average method can be used to calculate the next water use interval d = round(0.5a + 0.35b + 0.15c).

[0139] If the predicted date meets the water usage interval (corresponding to the target water usage interval number of days) d, it is considered that the predicted date uses water and a push notification is made. The predicted water usage date for the water heater to be controlled can be determined based on the target water usage interval number of days. When the preset water usage start time is reached, a start instruction for the water heater to be controlled can be pushed on the predicted water usage date.

[0140] In step 607, a transaction set is formed.

[0141] In step 608, the transaction set between the maximum value and the minimum value of each cluster is extracted.

[0142] In step 609, association rule processing is performed on each cluster based on the confidence level.

[0143] In step 610 , it is determined whether there is an association rule whose lift is greater than a lift threshold.

[0144] In one embodiment, a transaction set for enabling the water heater to be controlled and the auxiliary predictive operation device can be formed based on the historical water use start time and the historical usage time, and a target transaction set (corresponding to the transaction set of step 608) can be extracted from the transaction set based on the earliest historical water use start time and the latest historical water use start time in the cluster.

[0145] Furthermore, based on the target transaction set, the confidence and lift of the association between the auxiliary prediction operation device and the water heater to be controlled can be determined. If the confidence exceeds a confidence threshold and the lift exceeds a lift threshold, it is determined that the auxiliary prediction operation device and the water heater to be controlled (corresponding to the association rule) have an association.

[0146] In step 611, if it exists, then the instruction is given to determine whether the association start event occurs within a preset time period before the instruction is given.

[0147] In step 612, if it does not occur, the instruction is not issued.

[0148] In step 613, if it occurs, the center value of the cluster is used as the predicted start time.

[0149] In step 614, the instructions are merged and issued.

[0150] In one embodiment, when the auxiliary prediction operation device is associated with the water heater to be controlled, when it is detected that the auxiliary prediction operation device is operated within a preset time period before the predicted water use start time, the water heater to be controlled is controlled to operate based on the predicted water use start time, otherwise, the operation instruction to start the water heater to be controlled is not issued.

[0151] In another embodiment, the predicted water usage date obtained in step 606 can be combined to control the operation of the water heater to be controlled. For example, based on the association determination result and the predicted water usage start time, the water heater to be controlled can be controlled to operate on the predicted water usage date, thereby achieving the combined issuance of operation instructions for the water heater to be controlled.

[0152] In this embodiment, the user's water usage start time is predicted based on the detailed historical water usage data of the water heater to be controlled. A pre-emptive instruction is then issued to the user to turn on the device, reducing waiting time. The relationship between other devices in the same household (corresponding to the auxiliary prediction operation devices) and the gas water heater (corresponding to the water heater to be controlled) is also considered. If a related device is not turned on, the instruction is not issued. This reduces energy loss when the prediction accuracy is close.

[0153] According to the previous description, the water heater control method provided in this application obtains the predicted water use start time of the water heater to be controlled through the historical water use start time, and based on the historical water use start time and the historical usage time, determines whether the auxiliary prediction operation device has an association relationship with the water heater to be controlled, and then combines the association relationship between other auxiliary prediction operation devices in the home and the water heater to be controlled, as well as the predicted water use start time, to control the operation of the water heater to be controlled, so as to achieve more intelligent and accurate control of the water heater to be controlled, and provide hot water to the user in time by turning on the water heater in advance, avoiding the user waiting, thereby improving the user experience and satisfaction.

[0154] The water heater control device provided in the present application is described below. The water heater control device described below and the water heater control method described above can be referenced to each other.

[0155] Figure 7 It is a structural schematic diagram of the water heater control device provided in this application.

[0156] The following will be combined Figure 7 The water heater control device is described.

[0157] In an exemplary embodiment of the present application, Figure 7It can be seen that the water heater control device can include a first module 710 to a fourth module 740, and each module will be introduced below.

[0158] The first module 710 may be configured to obtain a historical water usage start time of the water heater to be controlled and a historical usage time of the auxiliary prediction operation device, wherein the auxiliary prediction operation device is an operation device located in the same preset space as the water heater to be controlled;

[0159] The second module 720 may be configured to obtain a predicted water use start time of the water heater to be controlled based on the historical water use start time;

[0160] The third module 730 may be configured to determine whether the auxiliary prediction operation device has an association relationship with the water heater to be controlled based on the historical water use start time and the historical usage time;

[0161] The fourth module 740 may be configured to control the operation of the water heater to be controlled based on the association relationship judgment result and the predicted water use start time.

[0162] In an exemplary embodiment of the present application, the second module 720 may obtain the predicted water use start time of the water heater to be controlled based on the historical water use start time in the following manner:

[0163] Perform clustering on the start time of historical water use to obtain clusters;

[0164] Based on the historical water use start time in the cluster, determine the central value of the water use start time of the cluster, wherein the central value of the water use start time is used to represent the central value of the historical water use start time in the cluster;

[0165] Based on the central value of the water use start time, the predicted water use start time of the water heater to be controlled is obtained.

[0166] In an exemplary embodiment of the present application, the third module 730 can determine whether the auxiliary prediction operation device has an association relationship with the water heater to be controlled based on the historical water use start time and the historical usage time in the following manner:

[0167] Based on the historical water use start time and historical usage time, a transaction set is formed to enable the water heater to be controlled and the auxiliary prediction operation equipment;

[0168] Based on the earliest historical water use start time and the latest historical water use start time in the cluster, the target transaction set is extracted from the transaction set;

[0169] Based on the target transaction set, determine the confidence and lift of the association between the auxiliary prediction operation device and the water heater to be controlled;

[0170] When the confidence exceeds the confidence threshold and the improvement exceeds the improvement threshold, determining that the auxiliary prediction operation device has an association relationship with the water heater to be controlled;

[0171] When the confidence level does not exceed the confidence level threshold, or the improvement level does not exceed the improvement level threshold, it is determined that the auxiliary prediction operation device has no association relationship with the water heater to be controlled.

[0172] In an exemplary embodiment of the present application, the confidence level includes a transaction start confidence level and a transaction not start confidence level. The third module 730 may determine the confidence level in the following manner:

[0173] Determining, based on the target transaction set, a first activation probability that the auxiliary prediction operation device is activated;

[0174] Determining, based on the target transaction set, a second activation probability that the auxiliary prediction operation device and the water heater to be controlled are simultaneously activated within a preset time period;

[0175] Determining a transaction opening confidence level based on the first enabling probability and the second enabling probability;

[0176] Determining, based on the target transaction set, a first non-activation probability that the auxiliary prediction operation device is not activated;

[0177] Determining, based on the target transaction set, a second non-activation probability that the auxiliary prediction operation device and the water heater to be controlled are simultaneously not activated within a preset time period;

[0178] A transaction not-open confidence level is determined based on the first not-enabled probability and the second not-enabled probability.

[0179] In an exemplary embodiment of the present application, the promotion degree includes the transaction opening promotion degree and the transaction not opening promotion degree. The third module 730 can determine the promotion degree in the following manner:

[0180] determining, based on the target transaction set, a third activation probability that the water heater to be controlled is activated within a preset time interval when the auxiliary prediction operation device is activated;

[0181] Determining a transaction opening promotion degree based on the third activation probability and the transaction opening confidence degree, wherein the transaction opening promotion degree is used to characterize the correlation between the activation of the auxiliary prediction operation device and the activation of the water heater to be controlled;

[0182] determining, based on the target transaction set, a third non-activation probability that the water heater to be controlled is not activated within a preset time interval in which the auxiliary prediction operation device is not activated;

[0183] Based on the third non-activation probability and the transaction non-activation confidence, a transaction non-activation lift is determined, wherein the transaction non-activation lift is used to characterize the correlation between the auxiliary prediction operation device being non-activated and the water heater to be controlled being non-activated.

[0184] In an exemplary embodiment of the present application, the association relationship determination result may include that the auxiliary prediction operation device has an association relationship with the water heater to be controlled;

[0185] The fourth module 740 can control the operation of the water heater to be controlled based on the association relationship judgment result and the predicted water use start time in the following manner:

[0186] When the auxiliary prediction operation device is associated with the water heater to be controlled, when it is detected that the auxiliary prediction operation device is operated within a preset time before the predicted water use start time, the water heater to be controlled is controlled to operate based on the predicted water use start time.

[0187] In an exemplary embodiment of the present application, the association relationship determination result may include that the auxiliary prediction operation device has an association relationship with the water heater to be controlled;

[0188] The fourth module 740 can control the operation of the water heater to be controlled based on the association relationship judgment result and the predicted water use start time in the following manner:

[0189] In the case where the auxiliary prediction operation device is associated with the water heater to be controlled, if the auxiliary prediction operation device is not detected to be operated within a preset time period before the predicted water use start time, the water heater to be controlled is controlled not to operate.

[0190] In an exemplary embodiment of the present application, the association relationship determination result may include that the auxiliary prediction operation device has no association relationship with the water heater to be controlled;

[0191] The fourth module 740 can control the operation of the water heater to be controlled based on the association relationship judgment result and the predicted water use start time in the following manner:

[0192] In the case where the auxiliary prediction operation device has no association relationship with the water heater to be controlled, the water heater to be controlled is controlled to operate based on the predicted water use start time.

[0193] In an exemplary embodiment of the present application, the fourth module 740 may also be configured to:

[0194] Determine the target water usage interval based on the actual water usage days of the water heater to be controlled within a preset time period;

[0195] Based on the target water consumption interval days, determine the predicted water consumption date of the water heater to be controlled;

[0196] The fourth module 740 can control the operation of the water heater to be controlled based on the association relationship judgment result and the predicted water use start time in the following manner:

[0197] Based on the association judgment result and the predicted water use start time, the water heater to be controlled is controlled to operate on the predicted water use date.

[0198] In an exemplary embodiment of the present application, the fourth module 740 can determine the target water usage interval days based on the actual water usage days of the water heater to be controlled within a preset time period in the following manner:

[0199] When the actual number of water use days is less than or equal to the preset number of days, the number of days between water use in the latest preset number of times is obtained, and the target number of days between water use in the latest preset number of times is determined based on the weighted sum of the number of days between water use in the latest preset number of times;

[0200] The fourth module 740 can determine the predicted water usage date of the water heater to be controlled based on the target water usage interval days in the following manner:

[0201] Based on the target water usage interval and the most recent water usage date, the predicted water usage date of the water heater to be controlled is determined.

[0202] Figure 8 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 8 As shown, the electronic device may include: a processor 810, a communication interface 820, a memory 830, and a communication bus 840, wherein the processor 810, the communication interface 820, and the memory 830 communicate with each other via the communication bus 840. The processor 810 may call the logic instructions in the memory 830 to execute a water heater control method, which includes: obtaining the historical water use start time of the water heater to be controlled and the historical usage time of the auxiliary prediction operation device, wherein the auxiliary prediction operation device is an operation device located in the same preset space as the water heater to be controlled; based on the historical water use start time, obtaining the predicted water use start time of the water heater to be controlled; based on the historical water use start time and the historical usage time, determining whether the auxiliary prediction operation device has an association relationship with the water heater to be controlled; and controlling the operation of the water heater to be controlled based on the association relationship determination result and the predicted water use start time.

[0203] In addition, the logic instructions in the above-mentioned memory 830 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the technical solution of the present application, 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, which is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0204] On the other hand, the present application also provides a computer program product, which includes a computer program, which can be stored on a computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the water heater control method provided by the above methods, which includes: obtaining the historical water use start time of the water heater to be controlled, and the historical usage time of the auxiliary prediction operation device, wherein the auxiliary prediction operation device is an operation device in the same preset space as the water heater to be controlled; based on the historical water use start time, obtaining the predicted water use start time of the water heater to be controlled; based on the historical water use start time and the historical usage time, judging whether the auxiliary prediction operation device has an association relationship with the water heater to be controlled; and controlling the operation of the water heater to be controlled based on the association relationship judgment result and the predicted water use start time.

[0205] On the other hand, the present application also provides a computer-readable storage medium, which includes a stored program, wherein the program executes the water heater control method provided by the above methods when it is run, and the method includes: obtaining the historical water use start time of the water heater to be controlled, and the historical usage time of the auxiliary prediction operation device, wherein the auxiliary prediction operation device is an operation device in the same preset space as the water heater to be controlled; based on the historical water use start time, obtaining the predicted water use start time of the water heater to be controlled; based on the historical water use start time and the historical usage time, judging whether the auxiliary prediction operation device has an association relationship with the water heater to be controlled; and controlling the operation of the water heater to be controlled based on the association relationship judgment result and the predicted water use start time.

[0206] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, i.e., they may be located in one location or distributed across multiple network units. Some or all of the modules may be selected based on actual needs to achieve the objectives of the present embodiment. Persons of ordinary skill in the art will be able to understand and implement the present invention without inventive effort.

[0207] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, or of course, by hardware. Based on this understanding, the essence of the above technical solution or the part that contributes to the existing technology can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or certain parts of the embodiments.

[0208] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A water heater control method, characterized in that: The water heater control method comprises: Obtaining the historical water usage start time of the water heater to be controlled and the historical usage time of the auxiliary prediction operation device, wherein the auxiliary prediction operation device is an operation device located in the same preset space as the water heater to be controlled; Based on the historical water use start time, obtaining the predicted water use start time of the water heater to be controlled; Based on the historical water use start time and the historical usage time, determining whether the auxiliary prediction operation device has an associated relationship with the water heater to be controlled; In the case where the auxiliary prediction operation device is associated with the water heater to be controlled, when the auxiliary prediction operation device is detected to be operated within a preset time period before the predicted water use start time, the water heater to be controlled is controlled to operate based on the predicted water use start time, or In a case where the auxiliary prediction operation device is associated with the water heater to be controlled, if the auxiliary prediction operation device is not detected to be operated within a preset time period before the predicted water use start time, the water heater to be controlled is controlled not to operate; In a case where the auxiliary prediction operation device has no association relationship with the water heater to be controlled, the water heater to be controlled is controlled to operate based on the predicted water use start time.

2. The water heater control method according to claim 1, characterized in that: The step of obtaining the predicted water use start time of the water heater to be controlled based on the historical water use start time specifically includes: Performing clustering processing on the historical water use start time to obtain clusters; Determining a central value of the water use start time of the cluster based on the historical water use start time in the cluster, wherein the central value of the water use start time is used to represent the central value of the historical water use start time in the cluster; Based on the central value of the water use start time, the predicted water use start time of the water heater to be controlled is obtained.

3. The water heater control method according to claim 2, characterized in that: The determining, based on the historical water use start time and the historical usage time, whether the auxiliary prediction operation device has an association relationship with the water heater to be controlled specifically includes: Based on the historical water use start time and the historical usage time, forming a transaction set for activating the water heater to be controlled and the auxiliary prediction operation device; Extracting a target transaction set from the transaction set based on the earliest historical water consumption start time and the latest historical water consumption start time in the cluster; Determining, based on the target transaction set, a confidence level and a lift level of an association relationship between the auxiliary prediction operation device and the water heater to be controlled; When the confidence exceeds a confidence threshold and the improvement exceeds an improvement threshold, determining that the auxiliary prediction operation device has an association relationship with the water heater to be controlled; When the confidence level does not exceed the confidence level threshold, or the improvement level does not exceed the improvement level threshold, it is determined that the auxiliary prediction operation device has no association relationship with the water heater to be controlled.

4. The water heater control method according to claim 3, characterized in that: The confidence level includes a transaction start confidence level and a transaction not start confidence level, and the confidence level is determined in the following manner: Determining a first activation probability of the auxiliary prediction operation device being activated based on the target transaction set; determining, based on the target transaction set, a second activation probability that the auxiliary prediction operation device and the water heater to be controlled are simultaneously activated within a preset time period; Determining the transaction start confidence level based on the first enablement probability and the second enablement probability; determining, based on the target transaction set, a first non-activation probability that the auxiliary prediction operation device is not activated; determining, based on the target transaction set, a second non-activation probability that the auxiliary prediction operation device and the water heater to be controlled are simultaneously not activated within a preset time period; The transaction not-open confidence level is determined based on the first not-enabled probability and the second not-enabled probability.

5. The water heater control method according to claim 4, characterized in that: The promotion degree includes transaction opening promotion degree and transaction not opening promotion degree, and the promotion degree is determined in the following manner: determining, based on the target transaction set, a third activation probability that the water heater to be controlled is activated within a preset time interval when the auxiliary prediction operation device is activated; Determining the transaction opening promotion degree based on the third activation probability and the transaction opening confidence degree, wherein the transaction opening promotion degree is used to represent the correlation between the activation of the auxiliary prediction operation device and the activation of the water heater to be controlled; determining, based on the target transaction set, a third non-activation probability that the water heater to be controlled is not activated within a preset time interval in which the auxiliary prediction operation device is not activated; The transaction non-start elevation is determined based on the third non-start probability and the transaction non-start confidence, wherein the transaction non-start elevation is used to characterize the correlation between the non-start of the auxiliary prediction operation device and the non-start of the water heater to be controlled.

6. The water heater control method according to claim 1, characterized in that: Before controlling the operation of the water heater to be controlled based on the association relationship judgment result and the predicted water use start time, the method further includes: Determining a target water usage interval based on the actual water usage days of the water heater to be controlled within a preset time period; Determining a predicted water usage date for the water heater to be controlled based on the target water usage interval number of days; The step of controlling the water heater to be controlled based on the association relationship judgment result and the predicted water use start time specifically includes: Based on the association relationship judgment result and the predicted water use start time, the water heater to be controlled is controlled to operate on the predicted water use date.

7. The water heater control method according to claim 6, characterized in that: The step of determining the target water usage interval based on the actual water usage days of the water heater to be controlled within a preset time period specifically includes: When the actual number of water use days is less than or equal to the preset number of days, obtaining the number of days between water use for the most recent preset number of times, and determining the target number of days between water use based on the weighted sum of the number of days between water use for the most recent preset number of times; The step of determining the predicted water consumption date of the water heater to be controlled based on the target water consumption interval includes: The predicted water usage date of the water heater to be controlled is determined based on the target water usage interval days and the most recent water usage date.

8. A water heater control device, characterized in that: The water heater control device is used to implement the water heater control method according to any one of claims 1 to 7, and the device includes: The first module is used to obtain the historical water usage start time of the water heater to be controlled and the historical usage time of the auxiliary prediction operation device, wherein the auxiliary prediction operation device is an operation device located in the same preset space as the water heater to be controlled; The second module is configured to obtain a predicted water use start time of the water heater to be controlled based on the historical water use start time; A third module is configured to determine whether the auxiliary prediction operation device is associated with the water heater to be controlled based on the historical water use start time and the historical usage time; The fourth module is used to control the operation of the water heater to be controlled based on the association relationship judgment result and the predicted water use start time.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein the water heater control method according to any one of claims 1 to 7 is executed when the program is executed.

10. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to execute the water heater control method according to any one of claims 1 to 7 through the computer program.

Citation Information

Patent Citations

  • Remote home control method based on Internet of Things

    CN112034725A

  • Water heater starting control method and device, electronic equipment and storage medium

    CN114963552A