CN115978799A - Water heater control method and device, storage medium and electronic device - Google Patents

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

Info

Publication number
CN115978799A
CN115978799A CN202211700854.1A CN202211700854A CN115978799A CN 115978799 A CN115978799 A CN 115978799A CN 202211700854 A CN202211700854 A CN 202211700854A CN 115978799 A CN115978799 A CN 115978799A
Authority
CN
China
Prior art keywords
water heater
water
controlled
starting time
historical
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211700854.1A
Other languages
Chinese (zh)
Inventor
张彦中
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
Haier Uplus Intelligent Technology Beijing Co Ltd
Original Assignee
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
Haier Uplus Intelligent Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Haier Technology Co Ltd, Haier Smart Home Co Ltd, Haier Uplus Intelligent Technology Beijing Co Ltd filed Critical Qingdao Haier Technology Co Ltd
Priority to CN202211700854.1A priority Critical patent/CN115978799A/en
Publication of CN115978799A publication Critical patent/CN115978799A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E10/00Energy generation through renewable energy sources
    • Y02E10/40Solar thermal energy, e.g. solar towers

Landscapes

  • Heat-Pump Type And Storage Water Heaters (AREA)

Abstract

The application discloses a water heater control method, a device, a storage medium and electronic equipment, and relates to the technical field of smart homes/smart families, wherein the water heater control method comprises the following steps: acquiring the historical water use starting time of a water heater to be controlled and the historical use time of auxiliary prediction operation equipment, wherein the auxiliary prediction operation equipment is the operation equipment which is positioned in the same preset space with the water heater to be controlled; obtaining the predicted water use starting time of the water heater to be controlled based on the historical water use starting time; judging whether the auxiliary prediction operation equipment has an association relation with the water heater to be controlled or not based on the historical water use starting time and the historical use time; and controlling the operation of the water heater to be controlled based on the incidence relation judgment result and the predicted water use starting time. The control of the water heater to be controlled is more intelligent and accurate, hot water is provided for users in time, and waiting of the users is avoided.

Description

Water heater control method and device, storage medium and electronic device
Technical Field
The application relates to the technical field of smart home, in particular to a water heater control method and device, a storage medium and electronic equipment.
Background
With the development of water heater technology and artificial intelligence technology, the requirement of users on the intelligent function of the water heater is higher and higher.
The related art shows that a user needs to manually turn on the water heater when using the water heater, and needs to wait for a period of time before using hot water, which affects the experience of the user. Therefore, currently, finding a water heater control method for predicting the starting time of the water heater more accurately and intelligently to realize the zero-cold-water function of the water heater becomes a research hotspot.
Disclosure of Invention
The application provides a water heater control method, a device, a storage medium and electronic equipment, which are used for solving the defect that in the prior art, when a user uses a water heater at each time, the user needs to wait for a period of time to use hot water, so that the water heater to be controlled can be controlled more intelligently and accurately, hot water is provided for the user in time by opening the water heater in advance, the user is prevented from waiting, and the experience and satisfaction of the user are improved.
The application provides a water heater control method, which comprises the following steps: the method comprises the steps of obtaining historical water use starting time of a water heater to be controlled and historical use time of auxiliary prediction operation equipment, wherein the auxiliary prediction operation equipment is the operation equipment which is located in the same preset space with the water heater to be controlled; obtaining the predicted water use starting time of the water heater to be controlled based on the historical water use starting time; judging whether the auxiliary prediction operation equipment has an association relation with the water heater to be controlled or not based on the historical water use starting time and the historical use time; and controlling the water heater to be controlled to operate based on the incidence relation judgment result and the predicted water use starting time.
According to the water heater control method provided by the application, the obtaining of the predicted water use starting time of the water heater to be controlled based on the historical water use starting time specifically comprises the following steps: clustering the historical water use starting moment to obtain a cluster; determining a water use starting time central value of the cluster based on the historical water use starting time in the cluster, wherein the water use starting time central value is used for representing the central value of the historical water use starting time in the cluster; and obtaining the predicted water use starting time of the water heater to be controlled based on the water use starting time central value.
According to the water heater control method provided by the application, the step 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 starting time and the historical use time specifically comprises the following steps: forming a transaction set for starting the water heater to be controlled and the auxiliary predictive operation device based on the historical water use starting time and the historical use time; extracting a target transaction set from the transaction sets on the basis of the earliest historical water use starting time and the latest historical water use starting time in the cluster; determining the confidence coefficient and the promotion degree of the association relationship between the auxiliary prediction operation equipment and the water heater to be controlled based on the target transaction set; determining that the auxiliary prediction operation equipment has an association relation with the water heater to be controlled under the condition that the confidence coefficient exceeds a confidence coefficient threshold value and the promotion degree exceeds a promotion degree threshold value; determining that the auxiliary prediction operation device has no association relation with the water heater to be controlled when the confidence coefficient does not exceed a confidence coefficient threshold value or the lifting degree does not exceed a lifting degree threshold value.
According to the water heater control method provided by the application, the confidence level comprises a transaction opening confidence level and a transaction unopened confidence level, and the confidence level is determined in the following way: determining a first enablement probability that the secondary predictive operating device is enabled based on the target set of transactions; determining a second enabling probability that the auxiliary predictive operation device and the water heater to be controlled are simultaneously enabled within a preset time period based on the target transaction set; determining the transaction opening confidence based on the first enabling probability and the second enabling probability; determining a first non-enablement probability that the secondary predictive operating device is not enabled based on the target set of transactions; determining a second non-activation probability that the auxiliary predictive operation device and the water heater to be controlled are not activated simultaneously within a preset time period based on the target transaction set; determining the transaction unopened confidence based on the first and second unopened probabilities.
According to the control method of the water heater provided by the application, the promotion degree comprises a transaction starting promotion degree and a transaction non-starting promotion degree, and the promotion degree is determined by adopting the following method: determining a third activation probability that the water heater to be controlled is activated within a preset time interval of activation of the auxiliary predictive operation device based on the target transaction set; determining the transaction starting promotion degree based on the third enabling probability and the transaction starting confidence degree, wherein the transaction starting promotion degree is used for representing the correlation between the auxiliary prediction operation device and the water heater to be controlled; determining a third inactivity probability that the water heater to be controlled is not activated within a preset time interval in which the auxiliary predictive operation device is not activated, based on the target set of transactions; determining the transaction unopened promotion degree based on the third unopened probability and the transaction unopened confidence degree, wherein the transaction unopened promotion degree is used for representing the correlation between the condition that the auxiliary prediction operation device is not activated and the condition that the water heater to be controlled is not activated.
According to the water heater control method provided by the application, the incidence relation judgment result comprises the incidence relation between the auxiliary prediction operation equipment and the water heater to be controlled; the controlling the operation of the water heater to be controlled based on the incidence relation judgment result and the predicted water use starting time specifically comprises: under the condition that the auxiliary prediction operation device is in an association relation with the water heater to be controlled, when the auxiliary prediction operation device is detected to be operated and used within a preset time length before the predicted water use starting time, the water heater to be controlled is controlled to operate based on the predicted water use starting time.
According to the water heater control method provided by the application, the incidence relation judgment result comprises that the auxiliary prediction operation equipment and the water heater to be controlled have incidence relation; the controlling the operation of the water heater to be controlled based on the incidence relation judgment result and the predicted water use starting time specifically comprises: and under the condition that the auxiliary prediction operation device has an association relation with the water heater to be controlled, when the auxiliary prediction operation device is not detected to be operated and used within a preset time period before the predicted water use starting time, controlling the water heater to be controlled not to run.
According to the water heater control method provided by the application, the incidence relation judgment result comprises that the auxiliary prediction operation equipment and the water heater to be controlled do not have incidence relation; the step of controlling the operation of the water heater to be controlled based on the incidence relation judgment result and the predicted water use starting time specifically comprises the following steps: and under the condition that the auxiliary prediction operation equipment and the water heater to be controlled do not have an association relation, controlling the operation of the water heater to be controlled based on the predicted water use starting time.
According to the water heater control method provided by the application, before the water heater to be controlled is controlled to operate based on the incidence relation judgment result and the predicted water use starting time, the method further comprises the following steps: determining target water consumption interval days based on actual water consumption days of the water heater to be controlled in a preset time period; determining a predicted water consumption date of the water heater to be controlled based on the target water consumption interval days; the controlling the operation of the water heater to be controlled based on the incidence relation judgment result and the predicted water use starting time specifically comprises: and controlling the operation of the water heater to be controlled on the predicted water use date based on the incidence relation judgment result and the predicted water use starting time.
According to the water heater control method provided by the application, the target water usage interval days are determined based on the actual water usage days of the water heater to be controlled in the preset time period, and the method specifically comprises the following steps: under the condition that the actual water using days are less than or equal to the preset days, acquiring the water using interval days of the latest preset times, and determining the target water using interval days based on the weighted sum of the water using interval days of the latest preset times; the determining the predicted water consumption date of the water heater to be controlled based on the target water consumption interval days specifically comprises: and determining the predicted water using date of the water heater to be controlled based on the target water using interval days and the last water using date.
The application also provides a water heater control device, water heater control device includes: the control system comprises a first module, a second module and a third module, wherein the first module is used for acquiring the historical water use starting time of a water heater to be controlled and the historical use time of auxiliary prediction operation equipment, and the auxiliary prediction operation equipment is the operation equipment which is positioned in the same preset space with the water heater to be controlled; the second module is used for obtaining the predicted water consumption starting time of the water heater to be controlled based on the historical water consumption starting time; the third module is used for judging whether the auxiliary prediction operation equipment has an association relation with the water heater to be controlled or not based on the historical water use starting time and the historical use time; and the fourth module is used for controlling the operation of the water heater to be controlled based on the incidence relation judgment result and the predicted water use starting time.
The application also provides an electronic device, which comprises a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the water heater control method according to any one of the above methods through the computer program.
The application also provides a computer-readable storage medium, which comprises a stored program, wherein the program is executed to implement the water heater control method.
The present application also provides a computer program product comprising a computer program which, when executed by a processor, implements a water heater control method as in any one of the above.
According to the water heater control method, the device, the storage medium and the electronic equipment, the predicted water use starting time of the water heater to be controlled is obtained through the historical water use starting time, whether the auxiliary prediction operation equipment has the association relation with the water heater to be controlled or not is judged based on the historical water use starting time and the historical use time, the operation of the water heater to be controlled is controlled by combining the association relation between other auxiliary prediction operation equipment in a family and the water heater to be controlled and the predicted water use starting time, so that the water heater to be controlled is controlled more intelligently and accurately, hot water is provided for a user in time by starting the water heater in advance, the user is prevented from waiting, and the experience and satisfaction degree of the user are improved.
Drawings
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 application.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings without inventive exercise.
FIG. 1 is a schematic diagram of a hardware environment of a method for controlling a water heater according to an embodiment of the present application;
FIG. 2 is a schematic flow diagram of a water heater control method provided herein;
FIG. 3 is a schematic flow chart of obtaining a predicted water consumption starting time of a water heater to be controlled based on a historical water consumption starting time provided by the present application;
FIG. 4 is a schematic flow chart of determining whether the auxiliary prediction operation device has an association relationship with the water heater to be controlled based on the historical water usage start time and the historical usage time provided by the application;
FIG. 5 is a second schematic flow chart of a water heater control method provided by the present application;
FIG. 6 is a third schematic flow chart illustrating a method of controlling a water heater according to the present application;
FIG. 7 is a schematic structural diagram of a water heater control device provided herein;
fig. 8 is a schematic structural diagram of an electronic device provided in the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to one aspect of an embodiment of the present application, a water heater control method is provided. The control method of the water heater is widely applied to full-House intelligent digital control application scenes such as intelligent homes (Smart Home), intelligent homes, intelligent household equipment ecology, intelligent residence ecology and the like. Alternatively, in the present embodiment, the water heater control method described above may be applied to a hardware environment formed by the terminal device 102 and the server 104 as shown in fig. 1. As shown in fig. 1, the server 104 is connected to the terminal device 102 through a network, and may be configured to provide a service (e.g., an application service) for the terminal or a client installed on the terminal, set a database on the server or independent of the server, and provide a data storage service for the server 104, and configure a cloud computing and/or edge computing service on the server or independent of the server, and provide a data operation service for the server 104.
The network may include, but is not limited to, at least one of: wired networks, wireless networks. The wired network may include, but is not limited to, at least one of: wide area networks, metropolitan area networks, local area networks, which may include, but are not limited to, at least one of the following: WIFI (Wireless Fidelity ), bluetooth. Terminal equipment 102 can be but not limited to be PC, the cell-phone, the panel computer, intelligent air conditioner, intelligent cigarette machine, intelligent refrigerator, intelligent oven, intelligent kitchen range, intelligent washing machine, intelligent water heater, intelligent washing equipment, intelligent dish washer, intelligent projection equipment, intelligent TV, intelligent clothes hanger, intelligent (window) curtain, intelligence audio-visual, smart jack, intelligent stereo set, intelligent audio amplifier, intelligent new trend equipment, intelligent kitchen guarding equipment, intelligent bathroom equipment, intelligence robot of sweeping the floor, intelligence robot of wiping the window, intelligence robot of mopping the ground, intelligent air purification equipment, intelligent steam ager, intelligent microwave oven, intelligent kitchen is precious, intelligent clarifier, intelligent water dispenser, intelligent lock etc..
In another embodiment, the water heater control method provided by the application can be applied to intelligent household appliances. The intelligent household appliance is a household appliance product formed by introducing a microprocessor, a sensor technology and a network communication technology into household appliance equipment, has the functions of automatically sensing the space state of a house, the self state of the household appliance and the service state of the household appliance, and can automatically control and receive a control instruction of a house user in the house or in a remote place. It can be understood that smart appliances are an integral part of smart homes.
FIG. 2 is a schematic flow chart of a water heater control method provided by the present application.
For further description of the water heater control method provided by the present application, reference will be made to fig. 2.
In an exemplary embodiment of the present application, as can be seen in fig. 2, the water heater control method may include steps 210 to 240, which are described below.
In step 210, the historical water use starting time of the water heater to be controlled and the historical use time of the auxiliary prediction operation device are obtained.
In one embodiment, the auxiliary predictive operation device may be an operation device located in the same predetermined space as the water heater to be controlled. In an example, the preset space may be adjusted according to the actual situation, and in this embodiment, the preset space is not specifically limited. For example, the water heater to be controlled and the auxiliary prediction device may be operating devices belonging to a home, such as a range hood, an air conditioner, a refrigerator, and the like.
In one embodiment, the water heater to be controlled and the auxiliary prediction operation device are both intelligent operation devices and can be in communication connection with the cloud processing system. In the application process, the water heater to be controlled and the auxiliary prediction operation equipment can upload the operation detail data to the cloud processing system, so that a plurality of groups of data of the starting time of historical water consumption of the water heater to be controlled and a plurality of groups of data of the historical use time of the auxiliary prediction operation equipment can be obtained. It can be understood that a plurality of sets of historical water use starting time data and a plurality of sets of historical use time data can be used as basic data of the predicted water use starting time of the water heater to be controlled.
In step 220, a predicted water usage start time of the water heater to be controlled is obtained based on the historical water usage start time.
In one embodiment, the prediction may be made based on a plurality of sets of historical water usage start time data for the water heater to be controlled to obtain a predicted water usage start time for the water heater to be controlled. In this embodiment, the obtained predicted water consumption starting time can be used as a basis for controlling the operation of the water heater to be controlled, so that the water heater to be controlled can be controlled more intelligently and accurately, hot water can be provided for a user in time by starting the water heater in advance, and the user is prevented from waiting.
In step 230, it is determined whether the auxiliary prediction operation device has an association relationship with the water heater to be controlled based on the historical water usage start time and the historical usage time.
In step 240, the operation of the water heater to be controlled is controlled based on the correlation judgment result and the predicted water use starting time.
In one embodiment, whether the auxiliary prediction operation device is in association with the water heater to be controlled or not can be judged according to the historical water use starting time of the water heater to be controlled and the historical use time of the auxiliary prediction operation device. In an example, when judging whether the auxiliary prediction operation device has an association relation with the water heater to be controlled, the operation of the water heater to be controlled can be controlled together according to the starting events of other auxiliary prediction operation devices in the same family and the association relation existing in the starting events of the water heater to be controlled, and the starting time of water consumption prediction is combined, so that the water heater to be controlled can be controlled more intelligently and accurately, hot water can be provided for users in time by starting the water heater in advance, and the waiting of the users is avoided.
According to the water heater control method, the predicted water use starting time of the water heater to be controlled is obtained through the historical water use starting time, whether the auxiliary prediction operation equipment has the association relation with the water heater to be controlled or not is judged based on the historical water use starting time and the historical use time, the association relation between other household auxiliary prediction operation equipment and the water heater to be controlled is combined, the water heater to be controlled is controlled to operate according to the predicted water use starting time, the water heater to be controlled is controlled more intelligently and accurately, hot water is provided for a user in time by starting the water heater in advance, the user is prevented from waiting, and therefore the experience and satisfaction of the user are improved.
Fig. 3 is a schematic flow chart of obtaining a predicted water consumption starting time of a water heater to be controlled based on a historical water consumption starting time provided by the application.
A process of obtaining a predicted water use start time of the water heater to be controlled based on the historical water use start time will be described with reference to fig. 3.
In an exemplary embodiment of the present application, as can be seen in fig. 3, obtaining the predicted water usage start time of the water heater to be controlled based on the historical water usage start time may include steps 310 to 330, which will be described separately below.
In step 310, clustering is performed on the starting time of the historical water consumption, so as to obtain a cluster.
In step 320, a water use start time center value of the cluster is determined based on the historical water use start time in the cluster.
In step 330, a predicted water use start time of the water heater to be controlled is obtained based on the water use start time center value.
In an embodiment, the multiple groups of historical water use starting times may be sequentially clustered, and if the difference between the two groups of historical water use starting times does not exceed the time difference threshold, the two groups of historical water use starting times may be divided into the same cluster. By the embodiment, a plurality of groups of historical water use starting time can be clustered to obtain a plurality of cluster clusters.
It should be noted that the water use starting time center value can be used to characterize the center value of the historical water use starting time in the cluster. In one example, the water use start time center value may be an average time of the respective historical water use start times. For example, if the historical water use start times include 10. In yet another example, the water usage start time center value may also be a median or a mode of each historical water usage start time. For example, if the historical water usage start times include 10 00, 9, 40, 9; the water use start time center value may also be the mode 9 of each historical water use start time. In the present embodiment, the determination method of the water use start time center value is not particularly limited.
Now, clustering is performed by taking the historical water use starting time of the water heater to be controlled shown in table 1 as an example, and a cluster shown in table 2 can be obtained.
TABLE 1 historical water consumption Start Schedule for Water heaters to be controlled
Date Starting 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
TABLE 2 Cluster clusters obtained by clustering the historical water use start time of the water heater to be controlled
Starting time Family of classes
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
It can be seen that the historical water use start time of the water heater to be controlled is divided into three groups, and the central value (corresponding to the water use start time central value) of each group can be respectively 9, 13.
Fig. 4 is a schematic flow chart of determining whether the auxiliary prediction operation device has an association relationship with the water heater to be controlled based on the historical water usage start time and the historical usage time.
For further description of the control method of the water heater provided by the present application, the following description will be made with reference to fig. 4.
In an exemplary embodiment of the present application, determining whether the auxiliary predictive operation device has an association relationship with the water heater to be controlled based on the historical water usage start time and the historical usage time may include steps 410 to 450, which will be described separately below.
In step 410, a transaction set for enabling the water heater to be controlled and the auxiliary predictive operation device is formed based on the historical water usage start time and the historical usage time.
In one embodiment, a transaction combination can be constructed, wherein the transaction combination can be used for representing the corresponding relation between the event formed when the water heater to be controlled and/or the auxiliary prediction operating equipment are started and the historical water use starting time and/or the historical use time.
This will be explained below in connection with the transaction sets shown in table 3.
TABLE 3 transaction set of Water heater to be controlled and auxiliary predictive operating device
Figure BDA0004024045330000131
/>
Figure BDA0004024045330000141
It should be noted that the transaction set can be obtained by processing according to the historical water use starting time of the water heater to be controlled and the historical use time of the auxiliary prediction operation device. The time point of opening each event is taken as a transaction, and the value corresponding to the opening event corresponding to the time point can be represented as 1-1. If other events occur within a preset time (e.g., within 10 minutes) after the time point, the value of the transaction corresponding to the other event occurrence may be represented as 1-2. If no other event occurs, the value of the transaction to which the other event occurs may be represented as 0. The transaction set formed by the water heater to be controlled and the auxiliary prediction operating equipment starting event is shown in the table 3.
As can be seen from table 3, for the transaction id1, the time point is the opening time of the refrigerator door, so the value corresponding to the refrigerator door opening event can be represented as 1-1, and within ten minutes after the time point, events such as the opening of the water heater, the opening of the smoke machine, etc. occur, so the values corresponding to these events can be represented as 1-2. For another example, the transaction id3, the time point is the time point when the cigarette machine is turned on, and no other event occurs within 10 minutes after the time point, the value corresponding to the other event is 0. The table data is the basic data of the association rule.
In step 420, a target transaction set is extracted from the transaction sets based on the earliest historical water use starting time and the latest historical water use starting time in the cluster.
In one embodiment, the target transaction set may be extracted from the transaction sets according to the earliest historical water usage start time and the latest historical water usage start time in the cluster. It is to be understood that the target transaction set is a transaction set having an event on time between the earliest historical water usage start time and the latest historical water usage start time.
Continuing with the description in tables 2 and 3, a cluster whose cluster family is 0 may be taken as an example, and the obtained target transaction set may be represented as table 4.
TABLE 4 target transaction set corresponding to clustering cluster with class 0
Figure BDA0004024045330000151
Figure BDA0004024045330000161
In step 430, based on the target transaction set, a confidence level and a promotion level of the association relationship between the auxiliary prediction operation device and the water heater to be controlled are determined.
In step 440, in the case that the confidence coefficient exceeds the confidence coefficient threshold value and the lifting degree exceeds the lifting degree threshold value, it is determined that the auxiliary prediction operation device has an association relationship with the water heater to be controlled.
In step 450, in the case that the confidence coefficient does not exceed the confidence coefficient threshold value or the lifting degree does not exceed the lifting degree threshold value, it is determined that the auxiliary prediction operation device does not have an association relationship with the water heater to be controlled.
In one embodiment, the confidence and boost level that the secondary predictive operating device has an association with the water heater to be controlled may be determined based on the target transaction set, for example, as shown in table 4.
In one embodiment, if the confidence exceeds the confidence threshold and the degree of lift exceeds the degree of lift threshold, it is determined that the auxiliary prediction operating device has an association relationship with the water heater to be controlled, and if the confidence does not exceed the confidence threshold or the degree of lift does not exceed the degree of lift threshold, it is determined that the auxiliary prediction operating device does not have an association relationship with the water heater to be controlled.
In an exemplary embodiment of the present application, the confidence level may include a transaction open confidence level and a transaction unopened confidence level, and the confidence level may be determined in the following manner:
determining a first enabling probability that the auxiliary predictive operating device is enabled based on the target set of transactions;
determining a second enabling probability that the auxiliary predictive operation device and the water heater to be controlled are simultaneously enabled within a preset time period based on the target transaction set;
determining the transaction opening confidence based on the first enabling probability and the second enabling probability;
determining a first non-enabling probability that the secondary predictive operating device is not enabled based on the target set of transactions;
determining a second non-enabling probability that the auxiliary predictive operation device and the water heater to be controlled are not enabled at the same time within a preset time period based on the target transaction set;
based on the first and second non-enabling probabilities, a transaction unopened confidence is determined.
In one embodiment, a first enablement probability that the secondary predictive operating device is enabled may be determined based on the target set of transactions. The following description is made with reference to table 4, taking the auxiliary prediction operation device as an example of the opening of the refrigerator door.
Association rules of two categories can be determined, one is an association rule that a water heater opening event is equal to 1-2 as a back item, and the other event (such as a refrigerator door opening event) is equal to 1-1 as a front item; and association rules where a water heater opening event equals 0 as a back entry and other events (e.g., refrigerator door opening events) equal 0 as a front entry. And if the association rules of the two categories exist at the same time in the same two events, judging whether the water heater equipment needs to be started in advance according to the association rules. The first category of association rules means that an a event (e.g., refrigerator door open) occurs with a high probability of causing a water heater open event to occur within 10 minutes. The second category of association rules means that an a event (e.g., refrigerator door open) does not occur, with a greater probability of causing a water heater open event to not occur within 10 minutes.
In one example, the events satisfying both category association rules are water heater open, refrigerator door open. The set of frequent items is { X4=1-1, X1=1-2}, { X4=0, X1=0}, respectively.
During the application process, the confidence of the opening of the transaction (corresponding to { X4=1-1, X1=1-2} the transaction) can be respectively calculated. In an example, a first enabling probability that the secondary predictive operating device is enabled, i.e., P1 (a) = P (X4 = 1-1) =8/22=0.36, may be determined based on the target set of transactions. And determining a second enabling probability that the auxiliary predictive operation device and the water heater to be controlled are simultaneously enabled within the preset time period, namely P1 (AB) =6/22=0.27, based on the target transaction set. Further, based on the first enabling probability and the second enabling probability, the confidence of opening the transaction is determined, that is, the confidence of the frequent item set is con1= P1 (AB)/P1 (a) =0.75, which means that the probability of opening the water heater is 0.75 within 10 minutes after the refrigerator door is opened.
In yet another example, a first non-enabled probability that the secondary predictive operating device is not enabled, i.e., P2 (a) = P (X4 = 0), may be determined based on the target set of transactions. And determining a second non-enabling probability that the auxiliary predictive operating device and the water heater to be controlled are not enabled simultaneously within the preset time period, namely P2 (AB) = P (X4 =0, X1= 0), based on the target transaction set. Further, based on the first and second inactivations probabilities, a confidence that the transaction is not opened is determined, that is, the confidence of the frequent item set is con2= P2 (AB)/P2 (a).
In an exemplary embodiment of the present application, the promotion degree includes a transaction opening promotion degree and a transaction unopened promotion degree, and the promotion degree may be determined in the following manner:
determining a third enabling probability that the water heater to be controlled is enabled within a preset time interval of the auxiliary predictive operation device being enabled based on the target set of transactions;
determining the transaction starting promotion degree based on the third starting probability and the transaction starting confidence degree, wherein the transaction starting promotion degree is used for representing the correlation between the starting of the auxiliary prediction operation device and the starting of the water heater to be controlled;
determining a third inactivity probability that the water heater to be controlled is not activated within a preset time interval in which the auxiliary predictive operation device is not activated, based on the target set of transactions;
and determining a transaction unopened promotion degree based on the third unopened probability and the transaction unopened confidence degree, wherein the transaction unopened promotion degree is used for representing the correlation between the condition that the auxiliary prediction operation device is not activated and the condition that the water heater to be controlled is not activated.
Continuing with the example of the foregoing embodiment, a third enabling probability that the water heater to be controlled is enabled within the preset time interval of the auxiliary predictive operation device enabling, that is, P1 (B) = P (X1 = 1-2) =8/22=0.36, may be determined based on the target transaction set. And determining the transaction opening promotion degree, namely Lift1= con1/P1 (B) =2.06, based on the third enabling probability and the transaction opening confidence, which indicates that the association relationship of the opening of the water heater is effective within 10 minutes after the refrigerator door is opened.
In yet another example, a third inactivity probability that the water heater to be controlled is not activated within a preset time interval in which the secondary predictive operation device is not activated, i.e., P2 (B) = P (X4 =0, X1= 0), may be determined based on the target set of transactions, and a transaction non-on-Lift, i.e., lift2= con2/P2 (B), may be determined based on the third inactivity probability and the transaction non-on confidence.
It should be noted that, when 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 may be controlled together based on the association relationship of the auxiliary prediction operation device with the water heater to be controlled and the predicted water use start time. When the auxiliary prediction operation equipment and the water heater to be controlled do not have an association relation, the water using starting time can be predicted, and the water heater to be controlled is controlled to operate together. According to the embodiment, the operation of the water heater to be controlled is controlled by combining the incidence relation between other auxiliary prediction operation equipment in a family and the water heater to be controlled and predicting the water use starting time, so that the water heater to be controlled is controlled more intelligently and accurately, hot water is provided for a user in time by opening the water heater in advance, the user is prevented from waiting, and the experience and the satisfaction of the user are improved.
In another exemplary embodiment of the present application, the description is continued by taking the embodiment described in fig. 2 as an example. The incidence relation judgment result can comprise that the auxiliary prediction operation equipment and the water heater to be controlled have incidence relation;
based on the correlation determination result and the predicted water usage start time, controlling the operation of the water heater to be controlled (corresponding to step 240) may be implemented in the following manner:
and under the condition that the auxiliary prediction operation device and the water heater to be controlled have an association relationship, when the auxiliary prediction operation device is detected to be operated and used within a preset time period before the predicted water use starting time, controlling the operation of the water heater to be controlled based on the predicted water use starting time.
In another exemplary embodiment of the present application, the description is continued by taking the embodiment described in fig. 2 as an example. The incidence relation judgment result can comprise that the auxiliary prediction operation equipment and the water heater to be controlled have incidence relation;
based on the correlation determination result and the predicted water usage start time, controlling the operation of the water heater to be controlled (corresponding to step 240) may be implemented in the following manner:
and under the condition that the auxiliary prediction operation device and the water heater to be controlled have an association relationship, when the auxiliary prediction operation device is not detected to be operated and used within a preset time period before the predicted water use starting time, controlling the water heater to be controlled not to run.
In an embodiment, when the predicted water usage start time is about to be reached, it may be determined whether an opening event has occurred in the refrigerator door within a preset time period (for example, within 10 minutes) before the water heater opening instruction is issued, and if so, the instruction is issued according to the predicted water usage start time. If not, not sending. And can also circulate and judge whether to have happened the refrigerator door opening event within 5 minutes before predicting the beginning moment of water use, if have happened, issue the order. If not, no instruction is issued. And when the predicted water consumption starting time is exceeded, the circulation judgment is not performed. Through this embodiment, synthesize the incidence relation of other supplementary prediction operating device and the water heater of treating controlling in the family to and the prediction water consumption begins the moment, control and treat the operation of control water heater, in order to realize more intelligent, accurate control and treat the control water heater, through opening the water heater in advance, in time provide hot water for the user, avoid the user to wait, thereby improve user's experience and satisfaction.
In another exemplary embodiment of the present application, the description is continued by taking the embodiment described in fig. 2 as an example. The incidence relation judgment result can comprise that the auxiliary prediction operation equipment and the water heater to be controlled do not have incidence relation;
based on the result of the association judgment and the predicted water usage start time, controlling the operation of the water heater to be controlled (corresponding to step 240) may be implemented in the following manner:
and in the case that the auxiliary prediction operation equipment and the water heater to be controlled do not have an association relation, controlling the operation of the water heater to be controlled based on the predicted water consumption starting time.
In one embodiment, when the auxiliary prediction operation device is detected not to have an association relation with the water heater to be controlled, the operation of the water heater to be controlled is not predicted and controlled based on the starting condition of the auxiliary prediction operation device, but is directly controlled based on the predicted water consumption starting time.
Fig. 5 is a second flowchart of the water heater control method provided in the present application.
In an exemplary embodiment of the present application, the water heater control method may include steps 510 to 560, where steps 510 to 530 are the same as or similar to steps 210 to 230, and the detailed description and the advantageous effects thereof refer to the foregoing description, which is not repeated in this embodiment, and steps 540 to 560 will be respectively described below.
In step 540, the target water usage interval days are determined based on the actual water usage days of the water heater to be controlled within the preset time period.
In step 550, a predicted water usage date for the water heater to be controlled is determined based on the target water usage interval days.
In an exemplary embodiment of the present application, the determination of the target water usage interval days based on the actual water usage days of the water heater to be controlled in the preset time period may be implemented as follows:
under the condition that the actual water consumption days are less than or equal to the preset days, acquiring the water consumption interval days of the latest preset times, and determining the target water consumption interval days based on the weighted sum of the water consumption interval days of the latest preset times;
based on the target water consumption interval days and the predicted water consumption date of the water heater to be controlled, the method can be realized by adopting the following modes:
and determining the predicted water using date of the water heater to be controlled based on the target water using interval days and the latest water using date.
In one embodiment, the number of actual water usage days x of the last preset number of days (e.g., 30 days) of each cluster (corresponding cluster) may be counted, 30/x is the daily water usage frequency, and if x ≧ 25, then water usage is considered daily, then the predicted water usage date may be each day in the future. When the preset water use starting moment is reached, the starting instruction of the water heater to be controlled can be pushed every day. On the contrary, instead of using water every day, the water using day intervals a, b and c of the latest preset times (for example, 3 times) can be obtained, and the next water using interval d = round (0.5a +0.35b + 0.15c) can be calculated by adopting a weighted moving average method.
If the predicted date meets the water consumption interval (corresponding to the target water consumption interval days) d, the predicted date is considered to use water, pushing is carried out, and the predicted water consumption date of the water heater to be controlled can be determined based on the target water consumption interval days and the latest water consumption date. When the preset water consumption starting time is reached, the starting instruction of the water heater to be controlled can be pushed on the predicted water consumption date.
In step 560, the operation of the water heater to be controlled is controlled on the predicted water usage date based on the result of the correlation determination and the predicted water usage start time.
In one embodiment, the operation of the water heater to be controlled can be controlled on the predicted water using date according to the association judgment result and the predicted water using starting time.
In one example, if the predicted water consumption date is every day in the future, the turn-on command of the water heater to be controlled can be pushed every day when the preset water consumption starting time is reached. 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 may be determined based on the target water usage interval number of days and the most recent water usage date. When the preset water consumption starting time is reached, the starting instruction of the water heater to be controlled can be pushed on the predicted water consumption date.
Fig. 6 is a third schematic flow chart of a water heater control method provided by the present application.
For further description of the control method of the water heater provided by the present application, reference will be made to fig. 6.
In an exemplary embodiment of the present application, as can be seen in fig. 6, the water heater control method may include steps 601 to 614, which are described below.
In step 601, the device reports the raw data.
In step 602, device usage details are obtained.
In one embodiment, the devices may include a water heater to be controlled and an auxiliary predictive operation device. In one example, a device may report raw data and obtain device usage details based on the raw data, where the device usage details may include historical water usage start times for a water heater to be controlled and historical usage times to assist in predicting operating devices.
In step 603, water usage start time prediction is performed based on the device usage details.
In step 604, hierarchical clustering is performed.
In an embodiment, the multiple groups of historical water use starting times may be sequentially clustered, and if the difference between the two groups of historical water use starting times does not exceed the time difference threshold, the two groups of historical water use starting times may be divided into the same cluster. And determining the central value of the water use starting time of the cluster based on the historical water use starting time in the cluster, and obtaining the predicted water use starting time of the water heater to be controlled based on the central value of the water use starting time to realize the prediction of the water use starting time.
In step 605, a date prediction is performed based on the device usage details.
In step 606, daily rules are calculated.
In one embodiment, the number of actual water usage days x of the last preset number of days (e.g., 30 days) of each cluster (corresponding cluster) may also be counted, where 30/x is the daily water usage frequency, and if x ≧ 25, then water usage is considered daily, then the predicted water usage date may be each day in the future. When the preset water use starting moment is reached, the starting instruction of the water heater to be controlled can be pushed every day. On the contrary, instead of using water every day, the water using day intervals a, b and c for the latest preset times (for example, 3 times) can be obtained, and the next water using interval d = round (0.5a +0.35b + 0.15c) can be calculated by adopting a weighted moving average method.
If the predicted date meets the water consumption interval (corresponding to the target water consumption interval days) d, the predicted date is considered to consume water, pushing is carried out, and the predicted water consumption date of the water heater to be controlled can be determined based on the target water consumption interval days. When the preset water consumption starting time is reached, the starting instruction of the water heater to be controlled can be pushed on the predicted water consumption date.
In step 607, a transaction set is formed.
In step 608, the set of transactions between the maximum and minimum values for each class family is extracted.
In step 609, association rule processing is performed for each class family based on the confidence.
In step 610, it is determined whether there is an association rule with a degree of lift greater than a threshold degree of lift.
In one embodiment, a transaction set enabling the water heater to be controlled and the auxiliary predictive operation device may be formed based on the historical water usage start time and the historical usage time, and a target transaction set (corresponding to the transaction set of step 608) may be extracted from the transaction set based on the earliest historical water usage start time and the latest historical water usage start time in the cluster.
Further, the confidence and the promotion degree of the association relationship between the auxiliary prediction operation device and the water heater to be controlled can be determined based on the target transaction set. And determining that the auxiliary prediction operation equipment has an association relation with the water heater to be controlled (corresponding association rule) under the condition that the confidence coefficient exceeds the confidence coefficient threshold value and the promotion degree exceeds the promotion degree threshold value.
In step 611, if yes, a preset time period before the next step is instructed to determine whether the association start event occurs.
If not, the instruction is not issued in step 612.
In step 613, if it occurs, the center value of the class group is set as the prediction start time.
In step 614, the issued instructions are merged.
In one embodiment, in the case that the auxiliary prediction operation device has an association relation with the water heater to be controlled, when the auxiliary prediction operation device is detected to be operated and used within a preset time period before the predicted water use starting time, the water heater to be controlled is controlled to operate based on the predicted water use starting time, otherwise, an operation instruction for starting the water heater to be controlled is not issued.
In yet another embodiment, the predicted water usage date may also be predicted in conjunction with step 606. And controlling the operation of the water heater to be controlled. For example, the operation of the water heater to be controlled can be controlled on the predicted water consumption date based on the incidence relation judgment result and the predicted water consumption starting time, that is, the merging and issuing of the operation instruction of the water heater to be controlled are realized.
In the embodiment, the starting time of water consumption of a user is predicted through historical water consumption detail data of the water heater to be controlled, and an instruction is issued in advance to open equipment for the user in advance, so that the waiting of the user is reduced. Meanwhile, the incidence relation between other equipment (corresponding to auxiliary prediction operation equipment) and the gas water heater (corresponding to the water heater to be controlled) in the same family is considered, and if the equipment with the incidence relation is not started, no instruction is issued. And under the condition that the difference of the prediction accuracy is not large, the loss of electric energy is reduced.
According to the description, the water heater control method obtains the predicted water use starting time of the water heater to be controlled through the historical water use starting time, judges whether the auxiliary prediction operation equipment has the association relation with the water heater to be controlled or not based on the historical water use starting time and the historical use time, and controls the water heater to be controlled to operate by combining the association relation between other auxiliary prediction operation equipment in a family and the water heater to be controlled and the predicted water use starting time so as to achieve more intelligent and accurate control of the water heater to be controlled.
The following describes the water heater control device provided by the present application, and the water heater control device described below and the water heater control method described above may be referred to correspondingly.
Fig. 7 is a schematic structural diagram of a water heater control device provided by the present application.
The water heater control device will be described with reference to fig. 7.
In an exemplary embodiment of the present application, as can be seen in conjunction with FIG. 7, the water heater control apparatus may include a first module 710 through a fourth module 740, each of which will be described separately below.
A first module 710, which may be configured to obtain a historical water usage start time of a water heater to be controlled and a historical usage time of an auxiliary prediction operation device, where the auxiliary prediction operation device is an operation device located in the same preset space as the water heater to be controlled;
a second module 720, which may be configured to derive a predicted water usage start time for the water heater to be controlled based on the historical water usage start time;
a third module 730, which 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 usage start time and the historical usage time;
and a fourth module 740, which may be configured to control the operation of the water heater to be controlled based on the correlation determination result and the predicted water usage start time.
In an exemplary embodiment of the present application, the second module 720 may obtain the predicted water usage start time of the water heater to be controlled based on the historical water usage start time by:
clustering the starting time of the historical water use to obtain a cluster;
determining a central value of the starting time of water consumption of the cluster based on the starting time of historical water consumption in the cluster, wherein the central value of the starting time of water consumption is used for representing the central value of the starting time of historical water consumption in the cluster;
and obtaining the predicted water use starting time of the water heater to be controlled based on the water use starting time central value.
In an exemplary embodiment of the present application, the third module 730 may determine whether the auxiliary predictive operation device has an association relationship with the water heater to be controlled based on the historical water usage start time and the historical usage time by:
forming a transaction set for starting the water heater to be controlled and the auxiliary prediction operation equipment based on the historical water use starting time and the historical use time;
extracting a target transaction set from the transaction set based on the earliest historical water use starting time and the latest historical water use starting time in the cluster;
determining the confidence coefficient and the promotion degree of the association relationship between the auxiliary prediction operation equipment and the water heater to be controlled based on the target transaction set;
determining that the auxiliary prediction operation equipment and the water heater to be controlled have an association relation under the condition that the confidence coefficient exceeds a confidence coefficient threshold value and the promotion degree exceeds a promotion degree threshold value;
and determining that the auxiliary prediction operation equipment does not have an association relation with the water heater to be controlled under the condition that the confidence coefficient does not exceed the confidence coefficient threshold value or the lifting degree does not exceed the lifting degree threshold value.
In an exemplary embodiment of the present application, the confidence levels include a transaction open confidence level and a transaction unopened confidence level, and the third module 730 may determine the confidence level by:
determining a first enablement probability that the secondary predictive operating device is enabled based on the target set of transactions;
determining a second enabling probability that the auxiliary predictive operation device and the water heater to be controlled are simultaneously enabled within a preset time period based on the target transaction set;
determining a transaction opening confidence level based on the first enabling probability and the second enabling probability;
determining a first non-enabling probability that the secondary predictive operating device is not enabled based on the target set of transactions;
determining a second non-activation probability that the auxiliary predictive operation device and the water heater to be controlled are not activated at the same time within a preset time period based on the target transaction set;
based on the first and second non-enabling probabilities, a transaction non-opening confidence is determined.
In an exemplary embodiment of the present application, the promotion degree includes a transaction opening promotion degree and a transaction unopened promotion degree, and the third module 730 may determine the promotion degree by:
determining a third enabling probability that the water heater to be controlled is enabled within a preset time interval of the auxiliary predictive operation device being enabled based on the target transaction set;
determining a transaction starting promotion degree based on the third starting probability and the transaction starting confidence degree, wherein the transaction starting promotion degree is used for representing the correlation between the starting of the auxiliary prediction operation device and the starting of the water heater to be controlled;
determining a third inactivity probability that the water heater to be controlled is not activated within a preset time interval in which the auxiliary predictive operation device is not activated, based on the target set of transactions;
and determining a transaction unopened promotion degree based on the third unopened probability and the transaction unopened confidence degree, wherein the transaction unopened promotion degree is used for representing the correlation between the condition that the auxiliary prediction operation device is not activated and the condition that the water heater to be controlled is not activated.
In an exemplary embodiment of the application, 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;
the fourth module 740 may control the operation of the water heater to be controlled based on the association judgment result and the predicted water usage start time in the following manner:
and under the condition that the auxiliary prediction operation device and the water heater to be controlled have an association relationship, when the auxiliary prediction operation device is detected to be operated and used within a preset time period before the predicted water use starting time, controlling the operation of the water heater to be controlled based on the predicted water use starting time.
In an exemplary embodiment of the application, 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;
the fourth module 740 may control the operation of the water heater to be controlled based on the association judgment result and the predicted water usage start time in the following manner:
and under the condition that the auxiliary prediction operation device and the water heater to be controlled have an association relationship, when the auxiliary prediction operation device is not detected to be operated and used within a preset time period before the predicted water use starting time, controlling the water heater to be controlled not to run.
In an exemplary embodiment of the present application, the association judgment result may include that the auxiliary prediction operation device does not have an association with the water heater to be controlled;
the fourth module 740 may control the operation of the water heater to be controlled based on the association judgment result and the predicted water usage start time in the following manner:
and in the case that the auxiliary prediction operation equipment and the water heater to be controlled do not have an association relation, controlling the operation of the water heater to be controlled based on the predicted water consumption starting time.
In an exemplary embodiment of the present application, the fourth module 740 may be further configured to:
determining target water consumption interval days based on actual water consumption days of the water heater to be controlled in a preset time period;
determining a predicted water consumption date of the water heater to be controlled based on the target water consumption interval days;
the fourth module 740 may control the operation of the water heater to be controlled based on the association judgment result and the predicted water usage start time in the following manner:
and controlling the operation of the water heater to be controlled on the predicted water consumption date based on the incidence relation judgment result and the predicted water consumption starting time.
In an exemplary embodiment of the present application, the fourth module 740 may determine the target number of water usage intervals based on the actual number of water usage days of the water heater to be controlled in the preset time period by:
under the condition that the actual water consumption days are less than or equal to the preset days, acquiring the water consumption interval days of the latest preset times, and determining the target water consumption interval days based on the weighted sum of the water consumption interval days of the latest preset times;
the fourth module 740 may implement the determination of the predicted water usage date for the water heater to be controlled based on the target water usage interval number of days in the following manner:
and determining the predicted water using date of the water heater to be controlled based on the target water using interval days and the latest water using date.
Fig. 8 illustrates a physical structure diagram of an electronic device, which may include, as shown in fig. 8: a processor (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 invoke logic instructions in the memory 830 to perform a water heater control method comprising: the method comprises the steps of obtaining historical water use starting time of a water heater to be controlled and historical use time of auxiliary prediction operation equipment, wherein the auxiliary prediction operation equipment is the operation equipment which is located in the same preset space with the water heater to be controlled; obtaining the predicted water use starting time of the water heater to be controlled based on the historical water use starting time; judging whether the auxiliary prediction operation equipment has an association relation with the water heater to be controlled or not based on the historical water use starting time and the historical use time; and controlling the operation of the water heater to be controlled based on the incidence relation judgment result and the predicted water use starting time.
In addition, the logic instructions in the memory 830 may be implemented in software functional units and stored in a computer readable storage medium when the logic instructions are sold or used as independent products. Based on such understanding, the technical solutions of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In another aspect, the present application further provides a computer program product, the computer program product includes a computer program, the computer program can be stored on a computer readable storage medium, when the computer program is executed by a processor, a computer can execute the water heater control method provided by the above methods, the method includes: acquiring the historical water use starting time of a water heater to be controlled and the historical use time of auxiliary prediction operation equipment, wherein the auxiliary prediction operation equipment is the operation equipment which is positioned in the same preset space with the water heater to be controlled; obtaining the predicted water use starting time of the water heater to be controlled based on the historical water use starting time; judging whether the auxiliary prediction operation equipment has an association relation with the water heater to be controlled or not based on the historical water use starting time and the historical use time; and controlling the water heater to be controlled to operate based on the incidence relation judgment result and the predicted water use starting time.
In another aspect, the present application further provides a computer-readable storage medium, which includes a stored program, where the program is executed to execute the water heater control method provided by the above methods, and the method includes: the method comprises the steps of obtaining historical water use starting time of a water heater to be controlled and historical use time of auxiliary prediction operation equipment, wherein the auxiliary prediction operation equipment is the operation equipment which is located in the same preset space with the water heater to be controlled; obtaining the predicted water use starting time of the water heater to be controlled based on the historical water use starting time; judging whether the auxiliary prediction operation equipment has an association relation with the water heater to be controlled or not based on the historical water use starting time and the historical use time; and controlling the water heater to be controlled to operate based on the incidence relation judgment result and the predicted water use starting time.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment may be implemented by software plus a necessary general hardware platform, and may also be implemented by hardware. Based on the understanding, the above technical solutions substantially or otherwise contributing to the prior art may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the various embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (13)

1. A water heater control method, characterized by comprising:
the method comprises the steps of obtaining historical water use starting time of a water heater to be controlled and historical use time of auxiliary prediction operation equipment, wherein the auxiliary prediction operation equipment is the operation equipment which is located in the same preset space with the water heater to be controlled;
obtaining the predicted water use starting time of the water heater to be controlled based on the historical water use starting time;
judging whether the auxiliary prediction operation equipment has an association relation with the water heater to be controlled or not based on the historical water use starting time and the historical use time;
and controlling the water heater to be controlled to operate based on the incidence relation judgment result and the predicted water use starting time.
2. The method according to claim 1, wherein the obtaining the predicted water use starting time of the water heater to be controlled based on the historical water use starting time specifically comprises:
clustering the historical water use starting time to obtain a cluster;
determining a water use starting time central value of the cluster based on the historical water use starting time in the cluster, wherein the water use starting time central value is used for representing the central value of the historical water use starting time in the cluster;
and obtaining the predicted water use starting time of the water heater to be controlled based on the water use starting time central value.
3. The method for controlling the water heater according to claim 2, wherein the determining whether the auxiliary predictive operation device has an association relationship with the water heater to be controlled based on the historical water usage start time and the historical usage time specifically includes:
forming a transaction set for starting the water heater to be controlled and the auxiliary predictive operation device based on the historical water use starting time and the historical use time;
extracting a target transaction set from the transaction sets on the basis of the earliest historical water use starting time and the latest historical water use starting time in the cluster;
determining the confidence coefficient and the promotion degree of the association relationship between the auxiliary prediction operation equipment and the water heater to be controlled based on the target transaction set;
determining that the auxiliary prediction operation equipment has an association relation with the water heater to be controlled under the condition that the confidence coefficient exceeds a confidence coefficient threshold value and the promotion degree exceeds a promotion degree threshold value;
determining that the auxiliary prediction operation device has no association relation with the water heater to be controlled when the confidence coefficient does not exceed a confidence coefficient threshold value or the lifting degree does not exceed a lifting degree threshold value.
4. The water heater control method according to claim 3, wherein the confidence levels comprise a transaction on confidence level and a transaction off confidence level, the confidence levels being determined by:
determining a first enablement probability that the secondary predictive operating device is enabled based on the target set of transactions;
determining a second enabling probability that the auxiliary predictive operation device and the water heater to be controlled are simultaneously enabled within a preset time period based on the target transaction set;
determining the transaction opening confidence level based on the first enabling probability and the second enabling probability;
determining a first non-enablement probability that the secondary predictive operating device is not enabled based on the target set of transactions;
determining a second non-activation probability that the auxiliary predictive operation device and the water heater to be controlled are not activated simultaneously within a preset time period based on the target transaction set;
determining the transaction unopened confidence based on the first and second unenabled probabilities.
5. The water heater control method according to claim 4, wherein the degree of lift includes a transaction on degree of lift and a transaction off degree of lift, and the degree of lift is determined by:
determining a third enabling probability that the water heater to be controlled is enabled within a preset time interval of the auxiliary predictive operation device being enabled based on the target set of transactions;
determining the transaction starting promotion degree based on the third enabling probability and the transaction starting confidence degree, wherein the transaction starting promotion degree is used for representing the correlation between the auxiliary prediction operation device and the water heater to be controlled;
determining a third inactivity probability that the water heater to be controlled is not activated within a preset time interval in which the auxiliary predictive operation device is not activated, based on the target set of transactions;
determining the transaction unopened promotion degree based on the third unopened probability and the transaction unopened confidence degree, wherein the transaction unopened promotion degree is used for representing the correlation between the condition that the auxiliary prediction operation device is not activated and the condition that the water heater to be controlled is not activated.
6. The water heater control method according to claim 1 or 3, wherein the association judgment result includes that the auxiliary prediction operation device has an association with the water heater to be controlled;
the controlling the operation of the water heater to be controlled based on the incidence relation judgment result and the predicted water use starting time specifically comprises:
under the condition that the auxiliary prediction operation device is in an association relation with the water heater to be controlled, when the auxiliary prediction operation device is detected to be operated and used within a preset time length before the predicted water use starting time, the operation of the water heater to be controlled is controlled based on the predicted water use starting time.
7. The water heater control method according to claim 1 or 3, wherein the association judgment result includes that the auxiliary prediction operation device has an association with the water heater to be controlled;
the controlling the operation of the water heater to be controlled based on the incidence relation judgment result and the predicted water use starting time specifically comprises:
and under the condition that the auxiliary prediction operation device is in an associated relation with the water heater to be controlled, when the auxiliary prediction operation device is not detected to be operated and used within a preset time period before the predicted water use starting time, controlling the water heater to be controlled not to run.
8. The water heater control method according to claim 1 or 3, wherein the association judgment result includes that the auxiliary prediction operation device has no association with the water heater to be controlled;
the controlling the operation of the water heater to be controlled based on the incidence relation judgment result and the predicted water use starting time specifically comprises:
and under the condition that the auxiliary prediction operation equipment and the water heater to be controlled do not have an association relation, controlling the operation of the water heater to be controlled based on the predicted water use starting time.
9. The water heater control method according to claim 1, wherein before the operation of the water heater to be controlled is controlled based on the correlation determination result and the predicted water use start timing, the method further comprises:
determining target water consumption interval days based on actual water consumption days of the water heater to be controlled in a preset time period;
determining a predicted water consumption date of the water heater to be controlled based on the target water consumption interval days;
the controlling the operation of the water heater to be controlled based on the incidence relation judgment result and the predicted water use starting time specifically comprises:
and controlling the operation of the water heater to be controlled on the predicted water use date based on the incidence relation judgment result and the predicted water use starting time.
10. The water heater control method according to claim 9, wherein the determining a target water usage interval day number based on the actual water usage days of the water heater to be controlled in a preset time period specifically comprises:
under the condition that the actual water using days are less than or equal to the preset days, acquiring the water using interval days of the latest preset times, and determining the target water using interval days based on the weighted sum of the water using interval days of the latest preset times;
the determining the predicted water consumption date of the water heater to be controlled based on the target water consumption interval days specifically comprises:
and determining the predicted water using date of the water heater to be controlled based on the target water using interval days and the last water using date.
11. A water heater control device, comprising:
the control system comprises a first module, a second module and a third module, wherein the first module is used for acquiring the historical water use starting time of a water heater to be controlled and the historical use time of auxiliary prediction operation equipment, and the auxiliary prediction operation equipment is the operation equipment which is positioned in the same preset space with the water heater to be controlled;
the second module is used for obtaining the predicted water use starting time of the water heater to be controlled based on the historical water use starting time;
the third module is used for judging whether the auxiliary prediction operation equipment has an association relation with the water heater to be controlled or not based on the historical water use starting time and the historical use time;
and the fourth module is used for controlling the operation of the water heater to be controlled based on the incidence relation judgment result and the predicted water use starting time.
12. A computer-readable storage medium, comprising a stored program, wherein the program when executed performs a water heater control method according to any one of claims 1 to 10.
13. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and the processor is configured to execute the water heater control method according to any one of claims 1 to 10 by the computer program.
CN202211700854.1A 2022-12-28 2022-12-28 Water heater control method and device, storage medium and electronic device Pending CN115978799A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211700854.1A CN115978799A (en) 2022-12-28 2022-12-28 Water heater control method and device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211700854.1A CN115978799A (en) 2022-12-28 2022-12-28 Water heater control method and device, storage medium and electronic device

Publications (1)

Publication Number Publication Date
CN115978799A true CN115978799A (en) 2023-04-18

Family

ID=85969617

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211700854.1A Pending CN115978799A (en) 2022-12-28 2022-12-28 Water heater control method and device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN115978799A (en)

Similar Documents

Publication Publication Date Title
JP2018514835A (en) Method and apparatus for controlling an environmental management system in a building
CN110726233B (en) Air conditioner control method, device, storage medium and memory
CN114114947A (en) Control method and device of intelligent household equipment
CN115327934A (en) Intelligent household scene recommendation method and system, storage medium and electronic device
CN115978799A (en) Water heater control method and device, storage medium and electronic device
WO2024045501A1 (en) Recommendation information determination method and apparatus, and storage medium and electronic apparatus
CN115167161A (en) Method and device for determining association relation of lamp, storage medium and electronic device
JP6452593B2 (en) Information processing apparatus and information processing method
CN114992970A (en) Method and device for sending cleaning command, storage medium and electronic device
CN115479370A (en) Air conditioner control method, device and equipment and air conditioner
CN114265327B (en) Sleep control method and device of intelligent household equipment, processor and electronic equipment
CN115631832A (en) Cooking plan determination method and device, storage medium and electronic device
CN115200146A (en) Method and device for sending closing command, storage medium and electronic device
CN114677830A (en) Reminding method of water use message, storage medium and electronic device
CN115148204B (en) Voice wakeup processing method and device, storage medium and electronic device
CN114839887A (en) Equipment attribute configuration method and device, storage medium and electronic device
CN117499472A (en) Intelligent terminal voice broadcasting method, system, storage medium and electronic device
CN114885016A (en) Service pushing method and device, storage medium and electronic device
CN115987935A (en) Notification message pushing method and device, storage medium and electronic device
CN114818937A (en) Method and apparatus for confirming degerming instruction, storage medium, and electronic apparatus
CN115312048A (en) Equipment awakening method and device, storage medium and electronic device
CN115062221A (en) Method and device for determining corpus hotness, storage medium and electronic device
CN118283060A (en) Security and protection processing method, system, medium and device based on intelligent household appliances
CN115297136A (en) Health information pushing method and device, storage medium and electronic device
CN116382110A (en) Equipment scheduling method and device, storage medium and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination