Heating control method and device for water heater, and water heater
By acquiring and classifying water use data, using machine learning-trained models to determine the heating strategy of the water heater, solving the problem of electricity waste caused by low intelligence of the water heater, and achieving smarter water use control and energy-saving effects.
Patent Information
- Application Number
- CN202211521285.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-30
- Publication Date
- 2024-12-13
- Estimated Expiration
- 2042-11-30
AI Technical Summary
The existing water heaters are low in intelligence and cannot be properly controlled, resulting in waste of electricity.
By obtaining water use data, using the water use scenarios obtained by machine learning training to determine the model, determine the heating strategy of the water heater, and control the operation of the water heater according to the strategy, including obtaining water use data, classifying water use data, training network models, determining the heating strategy and controlling the operation of the water heater.
It realizes intelligent control of the water heater, improves the user's water use experience, and achieves the purpose of energy saving, solving the problem of electricity waste.
Smart Images

Figure CN115717783B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of intelligent household appliance control, and in particular to a heating control method and device for a water heater, and a water heater. Background Art
[0002] Water heaters are a must-have appliance for every family. Currently, many water heaters are still controlled by triggering the control panel, which is troublesome to operate. In particular, the installation position of water heaters is generally high, which is inconvenient for some users to operate. Even though there are some water heaters with remote control switches on the market; however, the degree of intelligence is still low, and it is impossible to achieve the purpose of energy saving through reasonable and accurate control of the water heater.
[0003] With regard to the problem that the water heaters in the above-mentioned related technologies have a relatively low level of intelligence and cannot be reasonably and accurately controlled, resulting in waste of electric energy, no effective solution has been proposed so far. Summary of the invention
[0004] The embodiments of the present invention provide a heating control method and device for a water heater, and a water heater, so as to at least solve the technical problem in the related art that the water heater has a low intelligence level and cannot be reasonably and accurately controlled, resulting in waste of electric energy.
[0005] According to one aspect of an embodiment of the present invention, a heating control method for a water heater is provided, comprising: obtaining first water use data, wherein the first water use data is water use data collected in a first historical period, and the water use data includes: water use time, water use amount, water use frequency, and water use temperature; using a water use scenario determination model to determine a first water use scenario corresponding to the first water use data, wherein the water use scenario determination model is obtained by machine learning training using multiple groups of training data, and each group of training data includes: water use data, a water use scenario corresponding to the water use data, and the water use scenario represents a water use method; determining a heating strategy for the water heater based on the first water use scenario; and controlling the water heater to operate according to the heating strategy.
[0006] Optionally, the heating control method of the water heater also includes: acquiring second water use data collected within multiple water use data collection cycles, wherein the water use data collection cycle is divided according to a predetermined time length within a historical time period; classifying the second water use data to determine a second water use scenario corresponding to the second water use data; using the second water use data and the second water use scenario to train an initial network model to obtain the water use scenario determination model, wherein the initial network model is the network structure of the water use scenario determination model.
[0007] Optionally, before classifying the second water use data and determining the second water use scenario corresponding to the second water use data, the heating control method of the water heater also includes: determining a water use data classification strategy; wherein determining the water use data classification strategy includes: when the water use data satisfies a first preset condition within a predetermined time period, determining that the water use scenario is water use scenario one, wherein the first preset condition includes at least one of the following: the water consumption does not exceed a predetermined water consumption, the water use temperature is lower than a predetermined water use temperature, and the water use frequency is greater than a predetermined frequency; when the water use data satisfies a second preset condition within the predetermined time period, determining that the water use scenario is water use scenario two, wherein the first preset condition includes at least one of the following: the water consumption exceeds a predetermined water consumption, the water use temperature is greater than or equal to the predetermined water use temperature, and the water use frequency is less than or equal to the predetermined frequency.
[0008] Optionally, the initial network model is trained using the second water use data and the second water use scenario, including: converting the second water use data into input information of the initial network model; inputting the input information into the initial network model to obtain output information of the initial network model; converting the output information into a third water use scenario; and looping the above steps until the third water use scenario is the same as the second water use scenario for a number of times greater than a predetermined threshold.
[0009] Optionally, the heating strategy of the water heater is determined based on the first water use scenario, including: obtaining the current ambient temperature; when the water use scenario is water use scenario one, heating the water in the water tank of the water heater according to the current ambient temperature, and controlling the water in the water tank to remain within a first temperature range; when the water use scenario is water use scenario two, determining the first heating start time of the water heater according to the current ambient temperature and the heating power of the water heater, and when the first heating start time arrives, heating the water in the water tank, and controlling the water in the water tank to remain within a second temperature range.
[0010] Optionally, the heating control method of the water heater further includes: in the process of controlling the water in the water tank to maintain a first temperature range, if a water temperature adjustment instruction is received, starting the instant heating device of the water heater to heat the water in the water tank.
[0011] Optionally, the heating control method of the water heater also includes: when the water use scenario is the water use scenario one, determining a second heating start time for heating the water in the water tank; when the first heating start time is the same as the second heating start time, preferentially executing the heating strategy corresponding to the water use scenario two.
[0012] According to another aspect of an embodiment of the present invention, a heating control device for a water heater is also provided, including: a first acquisition unit, used to acquire first water use data, wherein the first water use data is water use data collected in a first historical period, and the water use data includes: water use time, water use amount, water use frequency, and water use temperature; a first determination unit, used to determine a first water use scenario corresponding to the first water use data using a water use scenario determination model, wherein the water use scenario determination model is obtained by machine learning training using multiple groups of training data, and each group of training data includes: water use data, a water use scenario corresponding to the water use data, and the water use scenario represents a water use method; a second determination unit, used to determine a heating strategy for the water heater based on the first water use scenario; and a control unit, used to control the water heater to operate according to the heating strategy.
[0013] Optionally, the heating control device of the water heater also includes: a second acquisition unit, used to acquire second water use data collected within multiple water use data collection cycles, wherein the water use data collection cycle is obtained by dividing the historical time period according to a predetermined time length; a classification unit, used to classify the second water use data and determine a second water use scenario corresponding to the second water use data; a training unit, used to train the initial network model using the second water use data and the second water use scenario to obtain the water use scenario determination model, wherein the initial network model is the network structure of the water use scenario determination model.
[0014] Optionally, the heating control device of the water heater also includes: a third determination unit, used to determine a water use data classification strategy before classifying the second water use data and determining the second water use scenario corresponding to the second water use data; wherein the third determination unit includes: a first determination module, used to determine that the water use scenario is water use scenario one when the water use data meets a first preset condition within a predetermined time period, wherein the first preset condition includes at least one of the following: the water consumption does not exceed the predetermined water consumption, the water use temperature is lower than the predetermined water use temperature, and the water use frequency is greater than the predetermined frequency; a second determination module, used to determine that the water use scenario is water use scenario two when the water use data meets a second preset condition within the predetermined time period, wherein the first preset condition includes at least one of the following: the water consumption exceeds the predetermined water consumption, the water use temperature is greater than or equal to the predetermined water use temperature, and the water use frequency is less than or equal to the predetermined frequency.
[0015] Optionally, the training unit includes: a first conversion module, used to convert the second water use data into input information of the initial network model; an input module, used to input the input information into the initial network model to obtain output information of the initial network model; a second conversion module, used to convert the output information into a third water use scenario; and an execution module, used to repeatedly execute the above steps until the third water use scenario is the same as the second water use scenario for a number of times greater than a predetermined threshold.
[0016] Optionally, the second determination unit includes: a second acquisition module, used to acquire the current ambient temperature; a first control module, used to heat the water in the water tank of the water heater according to the current ambient temperature when the water use scenario is water use scenario one, and control the water in the water tank to remain within a first temperature range; a second control module, used to determine the first heating start time of the water heater according to the current ambient temperature and the heating power of the water heater when the water use scenario is water use scenario two, and when the first heating start time arrives, heat the water in the water tank, and control the water in the water tank to remain within a second temperature range.
[0017] Optionally, the heating control device of the water heater further includes: a starting unit for starting the instant heating device of the water heater to heat the water in the water tank when a water temperature adjustment instruction is received during the process of controlling the water in the water tank to maintain the water in the first temperature range.
[0018] Optionally, the heating control device of the water heater also includes: a fourth determination unit, used to determine a second heating start time for heating the water in the water tank when the water use scenario is the water use scenario one; a fifth determination unit, used to preferentially execute the heating strategy corresponding to the water use scenario two when the first heating start time is the same as the second heating start time.
[0019] According to another aspect of the embodiments of the present invention, a water heater is provided. The water heater uses any one of the above-mentioned heating control methods for water heaters.
[0020] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is further provided, wherein the computer-readable storage medium includes a stored program, wherein the program executes any one of the above-mentioned methods for controlling the heating of a water heater.
[0021] According to another aspect of an embodiment of the present invention, a processor is further provided, wherein the processor is used to run a program, wherein the program executes any one of the above-mentioned methods for controlling the heating of a water heater when running.
[0022] In an embodiment of the present invention, first water use data is obtained, wherein the first water use data is water use data collected in a first historical period, and the water use data includes: water use time, water use amount, water use frequency, and water use temperature; a water use scenario determination model is used to determine a first water use scenario corresponding to the first water use data, wherein the water use scenario determination model is obtained by machine learning training using multiple sets of training data, and each set of training data includes: water use data, water use scenarios corresponding to the water use data, and the water use scenarios represent water use methods; a heating strategy for the water heater is determined based on the first water use scenario; and the water heater is controlled to operate according to the heating strategy. The heating control method for the water heater provided by the embodiment of the present invention can provide more intelligent services on the basis of the basic heating function of the original water heater, improve the user's water use experience, and achieve the purpose of energy saving, thereby solving the technical problem that the intelligence level of the water heater in the related technology is relatively low, and reasonable and accurate control cannot be performed, resulting in waste of electric energy. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0024] Figure 1 is a flow chart of a heating control method for a water heater according to an embodiment of the present invention;
[0025] Figure 2 is a flow chart of an optional heating control method for a water heater according to an embodiment of the present invention;
[0026] Figure 3 is a schematic diagram of a heating control device for a water heater according to an embodiment of the present invention. DETAILED DESCRIPTION
[0027] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0028] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0029] The use of water heaters in general households has a strong regularity, and maintaining a large amount of hot water in the water heater for a long time will undoubtedly cause a great waste of energy. The heating strategy of the water heater can be guided by analyzing the user's water use habits and predicting the user's water use time, thereby improving the efficiency of energy utilization and achieving the purpose of energy saving. Therefore, in an embodiment of the present invention, a heating control method for a water heater is provided, which can predict the user's water use time according to the user's water use habits, locate the possible time point when the user's water consumption is large, and adopt two different heating strategies according to the predicted water use time to achieve the purpose of energy saving. The heating control method of the water heater is described below through a specific embodiment.
[0030] Example 1
[0031] According to an embodiment of the present invention, a method embodiment of a heating control method for a water heater is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0032] Figure 1 is a flow chart of a heating control method for a water heater according to an embodiment of the present invention. Figure 1 As shown, the heating control method of the water heater includes the following steps:
[0033] Step S102, obtaining first water use data, wherein the first water use data is water use data collected in a first historical period, and the water use data includes: water use time, water use amount, water use frequency, and water use temperature.
[0034] Optionally, in the embodiment of the present invention, the water use data (first water use data, second water use data) may include: water use time, water use amount, water use frequency, water use temperature. Of course, other data may also be included, which is not specifically limited here.
[0035] Optionally, the first historical time period may be the day before the current date or the n days before the current date.
[0036] In an optional solution, water use data of the day before the current date may be obtained, for example, the time periods of water use of the previous day, the amount of water used each time, the frequency of water use, and the water temperature of each water use.
[0037] Step S104, using a water use scenario determination model to determine a first water use scenario corresponding to the first water use data, wherein the water use scenario determination model is obtained by machine learning training using multiple sets of training data, and each set of training data includes: water use data, and a water use scenario corresponding to the water use data, where the water use scenario represents a water use method.
[0038] Optionally, in this embodiment, the water usage scenario determination model may be pre-trained.
[0039] In an optional solution, the first water use data may be input into a water use scenario determination model, and the water use scenario determination model may be used to determine a water use scenario corresponding to the first water use data (i.e., the first water use scenario). For example, the water use data of the day before the current date may be converted into an input of a water use scenario determination model, and the water use scenario of the current date may be predicted based on the output of the water use scenario determination model.
[0040] Step S106: determining a heating strategy for the water heater based on the first water usage scenario.
[0041] In this embodiment, a heating strategy may be generated according to the water usage scenario determined in step S104 to control the operation of the water heater.
[0042] Step S108, controlling the water heater to operate according to the heating strategy.
[0043] From the above, it can be seen that in the scheme recorded in Example 1 of the present invention, after obtaining the water use data of the previous day, it can be used as the input of the water use scenario determination model, and the water use scenario determination model is used to obtain the water use scenario of the next day, so as to determine the water heater heating strategy of the next day, and control the operation of the water heater based on the heating strategy, thereby achieving the purpose of guiding the heating strategy of the water heater by predicting the user's water use time.
[0044] It is easy to notice that since the water use time of the next day can be predicted based on the water use data of the previous day, the water use time of the next day can be predicted by determining the model through the water use scenario on the basis of the original basic heating function of the water heater, which is convenient for water use. Therefore, the heating control method of the water heater provided by the embodiment of the present invention can provide more intelligent services on the basis of the original basic heating function of the water heater, improve the user's water use experience, and achieve the purpose of energy saving.
[0045] Therefore, the solution provided by Example 1 of the present invention solves the technical problem in the related art that the water heater has a relatively low intelligence level and cannot be reasonably and accurately controlled, resulting in waste of electric energy.
[0046] According to the above embodiment of the present invention, the heating control method of the water heater may further include: obtaining second water use data collected within multiple water use data collection cycles, wherein the water use data collection cycle is obtained by dividing the historical time period according to a predetermined time length; classifying the second water use data to determine a second water use scenario corresponding to the second water use data; using the second water use data and the second water use scenario to train the initial network model to obtain a water use scenario determination model, wherein the initial network model is the network structure of the water use scenario determination model.
[0047] Optionally, the historical time period may be n days before the current date. The water consumption data collection cycle may be for each day, and the water consumption data may be divided into 24 time periods per hour.
[0048] Since the hidden Markov model is simple to calculate, can add new data from users every day to update the model, and focuses on the correlation between the previous and next data, it is more in line with the user's water use habits. Therefore, the above initial network model can be a hidden Markov model.
[0049] In the above embodiment, before classifying the second water use data and determining the second water use scenario corresponding to the second water use data, the heating control method of the water heater also includes: determining a water use data classification strategy; wherein, determining the water use data classification strategy includes: when the water use data within a predetermined time period meets a first preset condition, determining that the water use scenario is water use scenario one, wherein the first preset condition includes at least one of the following: the water use amount does not exceed the predetermined water use amount, the water use temperature is lower than the predetermined water use temperature, and the water use frequency is greater than the predetermined frequency; when the water use data within the predetermined time period meets the second preset condition, determining that the water use scenario is water use scenario two, wherein the first preset condition includes at least one of the following: the water use amount exceeds the predetermined water use amount, the water use temperature is greater than or equal to the predetermined water use temperature, and the water use frequency is less than or equal to the predetermined frequency.
[0050] Optionally, the water use data may be classified according to water use time, water use frequency, water use amount, etc., and the corresponding water use scenarios may be determined.
[0051] For example, in daily use scenarios such as washing hands and washing face, which are used frequently and in small quantities, the required water temperature is often low, the water consumption is small, the frequency of occurrence is high, and it is difficult to predict, so it is determined as water use scenario one; in large-scale use scenarios such as bathing, which are used frequently and in small quantities, the required water temperature is often high, the water consumption is large, the frequency of occurrence is low, the regularity is strong, and it can be predicted, so it is determined as water use scenario two.
[0052] According to the above embodiment of the present invention, the initial network model is trained using the second water use data and the second water use scenario, including: converting the second water use data into input information of the initial network model; inputting the input information into the initial network model to obtain output information of the initial network model; converting the output information into a third water use scenario; and looping through the above steps until the third water use scenario is the same as the second water use scenario for a number of times greater than a predetermined threshold.
[0053] In an embodiment of the present invention, the user's water consumption data can be collected first, and the daily data can be divided into 24 time periods on an hourly basis. When the total water consumption within the hour exceeds a threshold, it is determined that water use scenario 2 has occurred. Taking into account the impact of the use environment on the user's water use habits, the user's water use data is divided into different categories on a daily basis according to the use environment conditions, such as: the weather and temperature of the day, whether it is a holiday, etc.; a hidden Markov model modeled using historical data of the same category is called to obtain the probability of water use scenario 2 occurring in different time periods of the day. When the probability is greater than a threshold, it is determined that water use scenario 2 will occur in the time period, and if the probability is less than the threshold, it is determined that water use scenario 1 will occur.
[0054] According to the above embodiment of the present invention, a heating strategy for the water heater is determined based on a first water use scenario, including: obtaining the current ambient temperature; when the water use scenario is water use scenario one, heating the water in a water tank of the water heater according to the current ambient temperature, and controlling the water in the water tank to remain within a first temperature range; when the water use scenario is water use scenario two, determining a first heating start time of the water heater according to the current ambient temperature and the heating power of the water heater, and when the first heating start time arrives, heating the water in the water tank, and controlling the water in the water tank to remain within a second temperature range.
[0055] In this embodiment, when the next time period is determined as scenario 1, a lower temperature is maintained according to the current temperature, and the specific value needs to be determined by user experience experiments. On the contrary, when a time period is determined as scenario 2, a heating start time is determined according to the current temperature and the heating power of the water heater, and the water in the water heater is heated in advance to ensure that the water temperature is maintained at a higher level during the time period. In this way, users can be provided with more suitable hot water, which improves the user's water use experience.
[0056] According to an embodiment of the present invention, the heating control method of the water heater may further include: in the process of controlling the water in the water tank to maintain a first temperature range, if a water temperature adjustment instruction is received, starting the instant heating device of the water heater to heat the water in the water tank.
[0057] In this embodiment, during the heating process using the heating strategy under the water usage scenario, when the user controls and requires a higher temperature, the instant heating device at the water outlet is turned on to compensate for the water temperature, making the control of the water heater more flexible and better able to meet user needs.
[0058] According to the above embodiment of the present invention, the heating control method of the water heater may also include: when the water use scenario is water use scenario one, determining a second heating start time for heating the water in the water tank; when the first heating start time is the same as the second heating start time, preferentially executing the heating strategy corresponding to water use scenario two.
[0059] Due to the water use scenario, the water heater will correspond to a heating start time, that is, the second heating start time; the heating start time of water use scenario two (the first heating start time) may conflict with the second heating start time. At this time, the heating strategy corresponding to the water use scenario two is executed first, thereby meeting the user's demand for large amounts of water.
[0060] The heating control method of a water heater provided by an embodiment of the present invention is described below with reference to the accompanying drawings. Figure 2 is a flow chart of an optional water heater heating control method according to an embodiment of the present invention, such as Figure 2 As shown, the user's water usage data is first collected, then the collected water usage data is classified, and then the hidden Markov model is used to predict the water usage scenario. If the prediction result is water usage scenario two, the heating control method corresponding to water usage scenario two is executed. Otherwise, it is determined whether the next time period is water usage scenario two. If so, the heating control method corresponding to water usage scenario two is executed; otherwise, the heating control method corresponding to water usage scenario one is executed.
[0061] According to the heating control method for a water heater provided by an embodiment of the present invention, the user's water consumption data is first collected, and the daily data is divided into 24 time periods per hour. When the total water consumption within the hour exceeds a threshold, it is determined that scenario 2 occurs. Considering the possible impact of the use environment on the user's water use habits, the user's water consumption data is divided into different categories by day according to the use environment conditions, such as: the weather, temperature, whether it is a holiday, etc. of the day; then the hidden Markov model modeled using historical data of the same category is called to obtain the probability that scenario 2 will occur in different time periods within the day. When the probability is greater than a threshold, it is determined that scenario 2 will occur within the time period, and when the probability is less than the threshold, scenario 1 is determined to occur. When the next time period is determined to be scenario 1, a lower temperature is maintained according to the current temperature, and the specific value needs to be determined by user experience experiments. At the same time, when the user control requires a higher temperature, the instant heating device at the water outlet is turned on to compensate for the water temperature. When a time period is determined to be scenario 2, a heating start time is determined according to the current temperature and the heating power of the water heater, and the water in the water heater is heated in advance to ensure that the water temperature is maintained at a higher temperature within the time period. When there is a conflict with the time period control of scenario 1, this control is executed first.
[0062] From the above, it can be seen that since water use scenario one corresponds to a small amount of water used by the user, the user's requirements for temperature are not high in this scenario. During the time period predicted for scenario one, a lower temperature is maintained according to the current temperature (the specific temperature needs to be experimentally obtained to obtain a comfortable temperature under the corresponding temperature). When the user manually sets a higher temperature in scenario one, the water temperature is compensated by opening the instant heating device at the water outlet. The user can also manually set the change scene to scenario two. Scenario two corresponds to users using a large amount of water in small amounts and requiring a higher water temperature. In order to ensure a higher water temperature in the corresponding time period, it is necessary to plan for early heating. If the early heating time period coincides with the time of scenario one, heating is performed first.
[0063] Therefore, the heating control method for the water heater provided by the embodiment of the present invention can collect the user's water use data, and predict the user's large water use time of the next day through the hidden Markov model; and according to the water use habits of ordinary families and the temperature conditions at the time, in the time period when the user uses a small amount of water multiple times, maintain a lower temperature, and use the outlet instant heating device for temperature compensation; in the time period when the user uses a large amount of water, maintain a higher temperature to meet the user's water demand. It has the following beneficial effects: 1) predict the user's water use time through the user's water use habits, and locate the possible time point when the user's water consumption is large; 2) according to the predicted water use time, adopt two different heating strategies to achieve the purpose of energy saving, effectively reducing the disadvantage that mainstream water heaters can only arrange heating strategies through user control, but cannot flexibly allocate heating strategies.
[0064] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0065] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.
[0066] Example 2
[0067] According to an embodiment of the present invention, a heating control device for a water heater is provided for implementing the heating control method for a water heater. Figure 3 is a schematic diagram of a heating control device for a water heater according to an embodiment of the present invention. Figure 3 As shown, the heating control device of the water heater includes: a first acquisition unit 31 , a first determination unit 33 , a second determination unit 35 and a control unit 37 .
[0068] The first acquisition unit 31 is used to acquire first water use data, wherein the first water use data is water use data collected in a first historical period, and the water use data includes: water use time, water use amount, water use frequency, and water use temperature.
[0069] The first determination unit 33 is used to determine a first water use scenario corresponding to the first water use data by using a water use scenario determination model, wherein the water use scenario determination model is obtained by machine learning training using multiple sets of training data, and each set of training data includes: water use data, and a water use scenario corresponding to the water use data, and the water use scenario represents a water use method.
[0070] The second determining unit 35 is configured to determine a heating strategy for the water heater based on the first water usage scenario.
[0071] The control unit 37 is used to control the water heater to operate according to the heating strategy.
[0072] It should be noted here that the above-mentioned first acquisition unit 31, first determination unit 33, second determination unit 35 and control unit 37 correspond to steps S102 to S108 in Example 1, and the three modules are the same as the instances and application scenarios implemented by the corresponding steps, but are not limited to the contents disclosed in the above-mentioned Example 1.
[0073] As can be seen from the above, in the scheme recorded in the above embodiment 2 of the present application, the first acquisition unit can be used to obtain the first water use data, wherein the first water use data is the water use data collected in the first historical period, and the water use data includes: water use time, water use amount, water use frequency, and water use temperature; then the first determination unit is used to determine the first water use scene corresponding to the first water use data using the water use scene determination model, wherein the water use scene determination model is obtained by machine learning training using multiple sets of training data, and each set of training data of the multiple sets of training data includes: water use data, water use scenes corresponding to the water use data, and the water use scenes represent the water use method; then the second determination unit is used to determine the heating strategy of the water heater based on the first water use scene; finally, the control unit is used to control the water heater to operate according to the heating strategy. The heating control device for the water heater provided by the embodiment of the present invention can provide more intelligent services on the basis of the basic heating function of the original water heater, improve the user's water use experience, and achieve the purpose of energy saving, thereby solving the technical problem that the intelligence level of the water heater in the related technology is relatively low, and reasonable and accurate control cannot be performed, resulting in waste of electric energy.
[0074] In an optional embodiment, the heating control device of the water heater also includes: a second acquisition unit, used to acquire second water use data collected within multiple water use data collection cycles, wherein the water use data collection cycle is obtained by dividing the historical time period according to a predetermined time length; a classification unit, used to classify the second water use data and determine a second water use scenario corresponding to the second water use data; a training unit, used to train the initial network model using the second water use data and the second water use scenario to obtain a water use scenario determination model, wherein the initial network model is the network structure of the water use scenario determination model.
[0075] In an optional embodiment, the heating control device of the water heater also includes: a third determination unit, used to determine a water use data classification strategy before classifying the second water use data and determining the second water use scenario corresponding to the second water use data; wherein the third determination unit includes: a first determination module, used to determine that the water use scenario is water use scenario one when the water use data within a predetermined time period meets a first preset condition, wherein the first preset condition includes at least one of the following: the water consumption does not exceed the predetermined water consumption, the water use temperature is lower than the predetermined water use temperature, and the water use frequency is greater than the predetermined frequency; a second determination module, used to determine that the water use scenario is water use scenario two when the water use data within a predetermined time period meets a second preset condition, wherein the first preset condition includes at least one of the following: the water consumption exceeds the predetermined water consumption, the water use temperature is greater than or equal to the predetermined water use temperature, and the water use frequency is less than or equal to the predetermined frequency.
[0076] In an optional embodiment, the training unit includes: a first conversion module, used to convert the second water use data into input information of the initial network model; an input module, used to input the input information into the initial network model to obtain output information of the initial network model; a second conversion module, used to convert the output information into a third water use scenario; and an execution module, used to repeatedly execute the above steps until the third water use scenario is the same as the second water use scenario for a number of times greater than a predetermined threshold.
[0077] In an optional embodiment, the second determination unit includes: a second acquisition module, used to acquire the current ambient temperature; a first control module, used to heat the water in the water tank of the water heater according to the current ambient temperature when the water use scenario is water use scenario one, and control the water in the water tank to remain within a first temperature range; a second control module, used to determine the first heating start time of the water heater according to the current ambient temperature and the heating power of the water heater when the water use scenario is water use scenario two, and when the first heating start time arrives, heat the water in the water tank and control the water in the water tank to remain within a second temperature range.
[0078] In an optional embodiment, the heating control device of the water heater also includes: a starting unit, which is used to start the instant heating device of the water heater to heat the water in the water tank when a water temperature adjustment instruction is received during the process of controlling the water in the water tank to maintain the water in the first temperature range.
[0079] In an optional embodiment, the heating control device of the water heater also includes: a fourth determination unit, used to determine a second heating start time for heating the water in the water tank when the water use scenario is water use scenario one; a fifth determination unit, used to prioritize the execution of the heating strategy corresponding to water use scenario two when the first heating start time is the same as the second heating start time.
[0080] Example 3
[0081] According to another aspect of the embodiments of the present invention, a water heater is provided. The water heater uses any one of the above-mentioned heating control methods for the water heater.
[0082] Example 4
[0083] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium comprising a stored program, wherein the program executes any one of the above-mentioned methods for controlling the heating of a water heater.
[0084] Example 5
[0085] According to another aspect of an embodiment of the present invention, a processor is further provided, and the processor is used to run a program, wherein when the program is run, any one of the above-mentioned methods for controlling the heating of a water heater is executed.
[0086] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0087] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0088] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0089] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0090] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0091] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
[0092] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A heating control method for a water heater, characterized in that: include: Acquire first water use data, wherein the first water use data is water use data collected in a first historical period, and the water use data includes: water use time, water use amount, water use frequency, and water use temperature; Determine a first water use scenario corresponding to the first water use data by using a water use scenario determination model, wherein the water use scenario determination model is obtained by machine learning training using multiple sets of training data, and each set of training data of the multiple sets of training data includes: water use data, and a water use scenario corresponding to the water use data, wherein the water use scenario represents a water use method; Determining a heating strategy for the water heater based on the first water use scenario; Controlling the water heater to operate according to the heating strategy; Among them, determining the heating strategy of the water heater based on the first water use scenario includes: obtaining the current ambient temperature; when the water use scenario is water use scenario one, heating the water in the water tank of the water heater according to the current ambient temperature, and controlling the water in the water tank to remain within a first temperature range; when the water use scenario is water use scenario two, determining the first heating start time of the water heater according to the current ambient temperature and the heating power of the water heater, and when the first heating start time arrives, heating the water in the water tank, and controlling the water in the water tank to remain within a second temperature range.
2. The heating control method of the water heater according to claim 1, characterized in that: Also includes: Acquire second water use data collected in a plurality of water use data collection cycles, wherein the water use data collection cycles are obtained by dividing the historical time period according to a predetermined time length; Classify the second water use data to determine a second water use scenario corresponding to the second water use data; The initial network model is trained using the second water use data and the second water use scenario to obtain the water use scenario determination model, wherein the initial network model is a network structure of the water use scenario determination model.
3. The heating control method of the water heater according to claim 2, characterized in that: Before classifying the second water use data and determining a second water use scenario corresponding to the second water use data, the method further includes: determining a water use data classification strategy; Wherein, determining the water use data classification strategy includes: When the water use data meets a first preset condition within a predetermined time period, the water use scenario is determined to be water use scenario 1, wherein the first preset condition includes at least one of the following: the water consumption does not exceed a predetermined water consumption, the water temperature is lower than a predetermined water temperature, and the water use frequency is greater than a predetermined frequency; When the water usage data within the predetermined time period meets the second preset condition, the water usage scenario is determined to be water usage scenario two, wherein the second preset condition includes at least one of the following: the water usage exceeds the predetermined water usage, the water usage temperature is greater than or equal to the predetermined water usage temperature, and the water usage frequency is less than or equal to the predetermined frequency.
4. The heating control method of the water heater according to claim 2, characterized in that: Training the initial network model using the second water use data and the second water use scenario includes: converting the second water use data into input information of the initial network model; Inputting the input information into the initial network model to obtain output information of the initial network model; Converting the output information into a third water use scenario; The above steps are executed in a loop until the number of times that the third water use scenario is the same as the second water use scenario is greater than a predetermined threshold.
5. The heating control method of a water heater according to claim 1, characterized in that: Also includes: In the process of controlling the water in the water tank to be maintained in the first temperature range, if a water temperature adjustment instruction is received, the instant heating device of the water heater is started to heat the water in the water tank.
6. The heating control method of a water heater according to claim 1, characterized in that: Also includes: When the water use scenario is the water use scenario one, determining a second heating start time for heating the water in the water tank; When the first heating start time is the same as the second heating start time, the heating strategy corresponding to the water usage scenario 2 is preferentially executed.
7. A heating control device for a water heater, characterized in that: include: A first acquisition unit is used to acquire first water use data, wherein the first water use data is water use data collected in a first historical period, and the water use data includes: water use time, water use amount, water use frequency, and water use temperature; A first determination unit is configured to determine a first water use scenario corresponding to the first water use data by using a water use scenario determination model, wherein the water use scenario determination model is obtained by machine learning training using multiple sets of training data, and each set of training data of the multiple sets of training data includes: water use data and a water use scenario corresponding to the water use data, wherein the water use scenario represents a water use method; A second determining unit, configured to determine a heating strategy for the water heater based on the first water use scenario; A control unit, used for controlling the water heater to operate according to the heating strategy; Among them, the second determination unit includes: a second acquisition module, used to obtain the current ambient temperature; a first control module, used to heat the water in the water tank of the water heater according to the current ambient temperature when the water use scenario is water use scenario one, and control the water in the water tank to remain in a first temperature range; a second control module, used to determine the first heating start time of the water heater according to the current ambient temperature and the heating power of the water heater when the water use scenario is water use scenario two, and when the first heating start time arrives, heat the water in the water tank and control the water in the water tank to remain in a second temperature range.
8. A water heater, characterized in that: The water heater uses the heating control method for a water heater according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein the program executes the heating control method of the water heater according to any one of claims 1 to 6.
10. A processor, characterized in that: The processor is used to run a program, wherein the program executes the heating control method of the water heater according to any one of claims 1 to 6 when running.
