Control method, device and equipment of water heater and medium
By obtaining user location and environmental information, intelligently adjusting the heating temperature and opening time of the water heater, the existing water heater cannot cope with the user's immediate use needs, and improve user experience and energy consumption management.
Patent Information
- Application Number
- CN202310808131.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-03
- Publication Date
- 2025-01-03
- Estimated Expiration
- 2043-07-03
AI Technical Summary
Existing water heaters cannot intelligently respond to users' immediate use needs after returning home, resulting in users being unable to use the water heater on time, affecting the user experience, and being unable to adjust the heating temperature according to environmental changes, increasing energy consumption.
By obtaining the user's current location information and preset target temperature, correct the heating temperature based on real-time environmental information (such as temperature, humidity, sunshine intensity), and turn on or off the water heater when the user arrives home, intelligently formulate a heating plan to reduce energy consumption .
It realizes users' immediate and comfortable use of water heaters, improves user experience, and reduces power consumption through intelligent reminders and energy consumption management.
Smart Images

Figure CN119245213A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of electrical appliance technology, and specifically relates to a control method, device, equipment and medium for a water heater. Background Art
[0002] With the development of technology, home appliances with Internet of Things functions have also brought convenience to people's lives. Home appliances can be controlled to perform corresponding operations through mobile devices or voice interaction. For water heaters, users can set the desired temperature according to their needs and make an appointment with the water heater for a specific time.
[0003] However, in many cases, users cannot reasonably arrange the use of the water heater and cannot meet the heating conditions of the water heater, so that users cannot use the water heater on time after returning home, resulting in a long waiting time before using it. At the same time, the water heater cannot intelligently customize the appropriate operating temperature for users, affecting the user experience.
[0004] Therefore, the existing water heater cannot meet the needs of users to use the water heater immediately after returning home, which affects the user experience. Summary of the invention
[0005] In order to solve the problem in the prior art that water heaters cannot meet the needs of users to use the water heater immediately after returning home, which affects the user experience, the present application provides a control method, device, equipment and medium for a water heater.
[0006] In a first aspect, the present application provides a method for controlling a water heater, the method comprising:
[0007] According to the user's water heater control instruction, the user's current location information, preset target temperature and heating time are obtained, and according to the current location information, the user's first distance from home, the estimated time of arrival at home and the target start time of the water heater are obtained;
[0008] When the first interval between the current time and the expected arrival time is greater than the heating time, obtaining the real-time location of the user and environmental information corresponding to the real-time location, the environmental information including at least one of temperature, humidity or sunlight intensity;
[0009] According to the environmental information corresponding to the real-time position, a correction parameter of the target temperature is obtained, and the water heater performs heating at the corrected target temperature, wherein the correction parameter is a positive number or a negative number;
[0010] According to the real-time location information, when the target start time arrives, if it is determined according to the real-time location information that the second distance the user is currently away from home is less than the first distance, the water heater is controlled to turn on.
[0011] In a possible implementation, acquiring the correction parameter of the target temperature according to the environmental information corresponding to the real-time position includes:
[0012] Determine whether the temperature, humidity or sunshine intensity in the environmental information changes from the start time to the end time of the preset cycle;
[0013] If yes, obtaining the change item and the corresponding change difference in the environmental information;
[0014] According to the change difference and the corresponding correction coefficient, the corrected target temperature is obtained, and the temperature, humidity or sunlight intensity has a corresponding correction coefficient respectively.
[0015] In a possible implementation, determining whether the temperature, humidity, or sunshine intensity in the environmental information changes between the start time and the end time of the preset cycle includes:
[0016] Determine whether the second interval between the current time and the target start time is greater than the preset period;
[0017] If not, judging whether the second environment information has changed relative to the first environment information when the target start time arrives based on the first environment information of the current time and the second environment information of the target start time;
[0018] If yes, then obtain the ratio of the second interval duration to the preset period, the ratio represents the number of the preset periods, and when the ratio is a non-integer, perform an upward modulus calculation;
[0019] At the end time of each preset period, it is determined whether the second environment information has changed relative to the first environment information.
[0020] In a possible implementation, obtaining the corrected target temperature according to the change difference and the corresponding correction coefficient includes:
[0021] Obtaining a sub-correction parameter corresponding to each of at least one change item, wherein the sub-correction parameter represents a product of a single change difference and a corresponding correction coefficient;
[0022] A weighted value is obtained according to the weight and sub-correction parameter corresponding to each of the at least one change item, wherein the weighted value is the correction parameter, and among the change items, the weight of temperature is the largest, and the weight of light intensity is the smallest.
[0023] In a possible implementation, when the target start time is reached, the method further includes:
[0024] If the second distance is greater than or equal to the first distance, an inquiry message is sent to the user end, where the inquiry message is used to determine from the user whether to turn on the water heater.
[0025] In a possible implementation, after the water heater is turned on at the target start time, the method further includes:
[0026] After the preset time is reached, the third distance of the user from home is obtained, and when the third distance is greater than or equal to the second distance, an inquiry message is sent to the user end, and the inquiry message is used to determine whether to turn off the water heater from the user.
[0027] In a possible implementation, when the first interval between the current time and the expected arrival time is less than or equal to the heating time, the method further includes:
[0028] According to the first interval duration and the target temperature, a candidate heating power is obtained, wherein the candidate heating power is greater than the preset heating power; and whether the candidate heating power is greater than the maximum heating power is determined, wherein the maximum heating power is a power threshold for safe heating;
[0029] If not, the candidate heating power is the target heating power;
[0030] If yes, the maximum heating power is the target heating power;
[0031] Then the target heating time is the current time, and the water heater starts heating at the target heating power.
[0032] In a second aspect, the present application provides a control device for a water heater, the device comprising:
[0033] An acquisition module, used to acquire the user's current location information, preset target temperature and heating duration according to the user's water heater control instruction, and acquire an estimated arrival time and a water heater target start time according to the current location information;
[0034] The acquisition module is further used to acquire the real-time location of the user and environmental information corresponding to the real-time location when the first interval between the current time and the expected arrival time is greater than the heating time, wherein the environmental information includes at least one of temperature, humidity or sunlight intensity;
[0035] A processing module, used for obtaining a correction parameter of the target temperature according to the environmental information corresponding to the real-time position, the water heater performs heating at the corrected target temperature, and the correction parameter is a positive number or a negative number;
[0036] The processing module is also used to, based on the real-time location information, when the target start-up time arrives, control the water heater to start if it is determined based on the real-time location information that the second distance the user is currently away from home is less than the first distance.
[0037] In a third aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, they are used to implement the method as described in any one of the first aspects.
[0038] In a fourth aspect, the present application provides a water heater, comprising: at least one processor and a memory; wherein:
[0039] The memory stores computer-executable instructions;
[0040] The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor performs the method as described in any one of the first aspects.
[0041] The control method, device, equipment and medium of the water heater provided in the present application obtain the user's current location information, preset target temperature and heating time according to the user's water heater control instruction, so as to determine the estimated time of arrival at home and the target start time of the water heater, and when the journey time is longer than the heating time, the target temperature is corrected according to the environmental information during the journey. When the target start time is reached, if the user's real-time location indicates that the distance to home is getting closer, the water heater is turned on at this time; if the real-time location shows that the user's location is getting farther and farther away from home or the location has not changed, the user is asked to confirm whether to continue to perform subsequent operations. The method is based on the user's usage needs and intelligently formulates a heating plan based on user information, so that the user can use the water heater immediately and comfortably when returning home. In addition, the intelligent reminder service can also improve safety, reduce energy consumption, and enhance user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0043] Figure 1 A schematic diagram of an application scenario provided for an embodiment of the present application;
[0044] Figure 2 The process of the water heater control method provided in the embodiment of the present application Figure 1 ;
[0045] Figure 3 The process of the water heater control method provided in the embodiment of the present application Figure 2 ;
[0046] Figure 4 The process of the water heater control method provided in the embodiment of the present application Figure 3 ;
[0047] Figure 5 A diagram of a control device for a water heater provided by an embodiment of the present invention;
[0048] Figure 6 A hardware schematic diagram of a water heater provided in an embodiment of the present invention.
[0049] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0050] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be clearly and completely described below in conjunction with the drawings in this application. Obviously, the described embodiments are part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0051] The terms "first", "second", "third", "fourth", etc. (if any) 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 numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in sequences other than those illustrated or described herein, for example.
[0052] In the embodiments of the present application, the words "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0053] Water heaters are essential household appliances in family life scenarios. They provide services for a variety of household water use scenarios, and after loading the Internet of Things function, the intelligent functions they possess bring convenience to users. Users can set their favorite temperatures through a variety of communication methods. Since there is a certain pre-heating time, users can also make reservations in advance and set the required usage time. However, users usually cannot reasonably arrange their water heater usage needs, resulting in that even if an appointment is made, the reservation conditions provided may not meet the water heater operation. For example, the time is too short or the set heating power is too low, which may cause the water heater to fail to complete heating at the preset time point, and the water heater cannot intelligently judge this problem. At the same time, according to the environmental conditions on the user's way home, the user's demand for the water heater temperature may change, but the water heater cannot intelligently judge this situation. In addition, unreasonable use by users may also lead to waste of electricity. For example, after the water heater is turned on, the user cannot use the water heater due to an emergency, and forgets to turn off the water heater. The water heater continues to heat or enters the insulation state, which will increase excess energy consumption and cause waste.
[0054] Based on the above problems, the present application provides a control method for a water heater. When the user issues a control command for the water heater in advance, the water heater obtains the current location of the user, thereby determining the distance and time from the user to the home, and calculating the heating time and the start time of the water heater according to the user's preset target temperature. When the user is far away from home and the travel time is greater than the heating time, it is possible to determine whether the heating temperature needs to be adjusted based on the weather conditions corresponding to the user's real-time location, and at the same time, determine whether the water heater needs to be turned on based on the user's location at the start time. After the preset time, based on the user's real-time location, if the user is getting farther and farther away from home or the location has not changed for a long time, it is possible to confirm with the user whether the water heater needs to be turned off, thereby avoiding the problem of increased energy consumption of the water heater when the user changes the plan and does not want to use it. At the same time, the method also intelligently formulates a pre-heating plan based on user information, thereby enhancing the user experience.
[0055] Figure 1 This is a schematic diagram of an application scenario provided by an embodiment of the present application. Figure 1As shown, the mobile terminal 101 can establish a communication connection with the water heater 102, wherein the water heater 102 also includes a temperature sensor 103, which can obtain the water temperature before heating, so that the water heater 102 can determine the time and power required for heating to the target temperature, and stop heating the water heater 102 when the target temperature is heated. Specifically, when the user issues a control instruction for the water heater through the application in the mobile terminal 101, the water heater 102 can access the user's location information through the application in the mobile terminal 101, so as to determine the distance and time from the user to the home, and the water heater 102 stores the user's preset target temperature. Based on the arrival time and the target temperature, the start time of the water heater 102 can be determined. When the user's journey time is longer than the heating time, the environmental information corresponding to the user's real-time location can be obtained to determine whether the ambient temperature has changed, so as to adjust the target temperature. At the same time, according to the user's real-time location, when the user's location is indeed getting closer to home, indicating that the user is on the way back home, the water heater is controlled to start normally. In another case, when the user's location has not changed for a period of time or is getting farther and farther away from home, an inquiry message can be sent to the user through the mobile terminal 101 to confirm whether the water heater 102 needs to be turned off.
[0056] In addition, if the default power used in the interval between the current time when the user sends the instruction and the expected time of arrival at home cannot meet the heating needs, the current water temperature can be obtained through the temperature sensor 103, so as to calculate the additional power required to heat to the target temperature, thereby ensuring that the water can be heated to the target temperature when the user is expected to arrive home.
[0057] The following specific embodiments are used to describe in detail the technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0058] Figure 2 The process of the water heater control method provided in the embodiment of the present application Figure 1 .like Figure 2 As shown, the method includes:
[0059] S201. According to the user's water heater control instruction, obtain the user's current location information, preset target temperature and heating time, and obtain the user's first distance from home, estimated arrival time and water heater target start time according to the current location information.
[0060] Specifically, when the water heater receives a control instruction from the user, the water heater can access and obtain the user's location information through the application in the mobile terminal. For example, the water heater control instruction can be the option of turning on the water heater when returning home selected by the user through the application. After the user selects, the water heater is configured to automatically obtain the user's location information. In addition, if the user has not set the heating temperature, the user can be guided to set the heating temperature after receiving the control instruction as the preset target temperature for subsequent use. At the same time, a default heating power can be set in the water heater. The characteristic of the heating power can be the heating power under the average energy consumption of the water heater, with less loss to the heating element and higher safety. At the same time, since the water temperature changes according to the ambient temperature, the current water temperature can be obtained through the temperature sensor in the water heater, and the required heating time can be calculated in combination with the preset heating power and the target temperature.
[0061] Based on the user's location information, the user's first distance from home and the estimated time of arrival can be determined. Specifically, the user can be guided to preset the location of the home in the application. Based on the preset location and current location, the application can automatically calculate the distance and arrival time, and send them to the water heater. Alternatively, the water heater can calculate the distance and time between the user's current location and the location of the water heater based on its own positioning device. There is no limitation here. The estimated time of arrival is a specific time point. For example, the time it takes for the user to get home can be calculated based on the user's location information and moving speed, thereby determining the estimated time of arrival. Based on the target temperature, the water heater can determine the time required to heat from the current temperature to the target temperature, and use the estimated time of arrival as the heating completion time to reversely calculate the time when the water heater starts heating.
[0062] In other embodiments, a default temperature may be provided to the user, which is consistent with human perception, and may be adjusted for the user according to the ambient temperature in different seasons. The ambient temperature and the heating temperature are negatively correlated.
[0063] S202: When a first interval between the current time and the expected arrival time is greater than the heating time, obtaining the real-time location of the user and environmental information corresponding to the real-time location, wherein the environmental information includes at least one of temperature, humidity or sunlight intensity.
[0064] In this step, when the first interval time between the current time and the expected arrival time is greater than the heating time, it means that the user has a long way to go home, and the environmental conditions may be different throughout the journey. For example, when traveling across regions in a city, the weather may change. During the journey, the starting time is sunny, and then the weather turns cloudy and rainy, and the humidity, temperature, etc. may change. Or the area where the starting point is located is relatively hot, while the temperature in the area where the home is located is relatively low. Therefore, the environmental conditions during the user's journey can be obtained to determine whether it is necessary to lower the target temperature to give the user a shower or increase the target temperature to warm up the user. The temperature, humidity or sunlight intensity in the environmental information may affect the user's physical sensation, so this type of information can be extracted for reference.
[0065] S203. Acquire a correction parameter of the target temperature according to the environmental information corresponding to the real-time position, and heat the water heater at the corrected target temperature, wherein the correction parameter is a positive number or a negative number.
[0066] In this step, according to the changes in the environment during the journey, for example, the changes in temperature, humidity or light within a certain period of time can be confirmed, and the target temperature that needs to be increased or decreased can be confirmed based on the difference in changes. The adjusted numerical part is the correction parameter, and a relationship between the environmental information and the correction parameter can be set. The correction parameter is calculated based on the relationship. It can be understood that the correction parameter may be a positive number or a negative number. The existing target temperature and the correction parameter are directly added together to obtain the corrected target temperature. Since the preset target temperature is already a value within the temperature range suitable for the human body, the correction parameter does not need to be very large, so it has little effect on the heating power, and even if the temperature is increased, the heating can be completed within the heating time.
[0067] S204. According to the real-time location, when the target start time arrives, if it is determined according to the real-time location information that the second distance the user is currently away from home is less than the first distance, control the water heater to turn on.
[0068] In this step, based on the user's real-time location, it can also be determined whether the user continues to move toward home as planned. When the target start time arrives, if the user's location change shows that the current second distance is less than the first distance, it means that the plan has not changed, and the water heater is controlled to turn on.
[0069] Exemplarily, if the second distance is greater than or equal to the first distance, an inquiry message is sent to the user terminal, and the inquiry message is used to determine from the user whether to turn on the water heater.
[0070] Specifically, when the current second distance is greater than or equal to the first distance, it means that the user has not moved towards home as planned, but is getting farther and farther away from home, or remains at the current position and does not change. This situation may be that the user has other temporary arrangements and cannot return home on time. Therefore, at this time, it is possible to confirm with the user whether the water heater needs to be turned on to avoid the user changing the plan but forgetting to turn off the water heater, causing excess energy consumption or safety hazards.
[0071] Exemplarily, when the user still chooses to start the water heater normally, after the target start time, the following steps are also included:
[0072] After the preset time is reached, the third distance of the user from home is obtained, and when the third distance is greater than or equal to the second distance, an inquiry message is sent to the user end, and the inquiry message is used to determine whether to turn off the water heater from the user.
[0073] The main purpose of this step is that after the preset time has passed after the water heater is turned on, if the user has not changed his status, but keeps getting farther and farther away from home or does not change from the previous location, this situation may still indicate that the user has other temporary arrangements and cannot return home. At this time, a second inquiry message can be sent to the user to confirm whether to turn off the water heater, so as to avoid the user being unable to return home but forgetting to turn off the water heater, resulting in unnecessary energy consumption and safety hazards.
[0074] The water heater control method provided in the present embodiment obtains the user's current location information, preset target temperature and heating time according to the user's water heater control instruction, so as to determine the estimated arrival time at home and the target water heater start time, and when the journey time is longer than the heating time, the target temperature is corrected according to the environmental information during the journey. When the target start time is reached, if the user's real-time location indicates that the distance to home is getting closer, the water heater is turned on at this time; if the real-time location shows that the user's location is getting farther away from home or the location has not changed, the user is asked to confirm whether to continue to perform subsequent operations. The method is based on the user's usage needs and intelligently formulates a heating plan based on user information, so that the user can use the water heater immediately and comfortably when returning home. In addition, the intelligent reminder service can also improve safety, reduce energy consumption, and enhance user experience.
[0075] Figure 3 The process of the water heater control method provided in the embodiment of the present application Figure 2 .like Figure 3 As shown, in this embodiment Figure 2 Based on the embodiment, the process of correcting the target temperature of the water heater according to the environmental information is described in detail. The method includes:
[0076] S301: When a first interval between the current time and the expected arrival time is greater than the heating time, obtain a real-time location of the user and environmental information corresponding to the real-time location.
[0077] In this step, the user's location and corresponding environmental information can be obtained once or multiple times at a fixed preset period during the user's journey. By capturing environmental information at intervals of a certain length of time, the changes can be captured more obviously in the subsequent acquisition of environmental change information, and the environmental conditions are more likely to change easily.
[0078] S302: Determine whether the temperature, humidity or sunshine intensity in the environmental information changes from the start time to the end time of the preset cycle.
[0079] In this step, the environmental information at the start time of the preset cycle is compared with the environmental information at the end time to confirm whether there is any change, which includes but is not limited to changes in temperature values, changes in humidity values, or changes in sunlight intensity values. In addition, there is a situation where the interval between the current time and the target opening time is less than a preset cycle, and this situation needs to be identified.
[0080] Exemplarily, determining whether the second interval between the current time and the target start time is greater than the preset period;
[0081] If not, judging whether the second environment information has changed relative to the first environment information when the target start time arrives based on the first environment information of the current time and the second environment information of the target start time;
[0082] If yes, then obtain the ratio of the second interval duration to the preset period, the ratio represents the number of the preset periods, and when the ratio is a non-integer, perform an upward modulus calculation;
[0083] At the end of each preset period, it is determined whether the second environment information has changed relative to the first environment information.
[0084] S303: If yes, obtain the change item and the corresponding change difference in the environmental information.
[0085] According to the confirmed change of the environmental information, a change difference corresponding to the change item is obtained, where the difference is the difference between a value corresponding to the end time of a cycle and a value corresponding to the start time.
[0086] S304: Obtain a sub-correction parameter corresponding to at least one change item, where the sub-correction parameter represents a product of a single change difference and a corresponding correction coefficient.
[0087] In this step, each indicator in the environmental information, including but not limited to temperature, humidity or light intensity, can correspond to a correction coefficient respectively. The correction coefficient reflects the preset relationship between the adjusted temperature and the indicator, indicating that after the indicator changes, the numerical value corresponding to the adjusted part is suitable for the user's perception. Generally, the correction coefficient is a negative value, indicating that the adjustment of the target temperature is opposite to the environmental change. For example, a decrease in temperature, humidity or sunlight intensity all correspond to an increase in the target temperature. The value of the correction coefficient can be obtained through analysis of a large amount of experimental data and is not limited here.
[0088] The product is calculated based on the change difference of each change item and its correction coefficient to obtain a sub-correction parameter corresponding to each change item, and the sub-correction parameter represents the adjustment value of the target temperature indicated by the single change item.
[0089] S305. Obtain a weighted value according to the weight and sub-correction parameter corresponding to each of the at least one change item, wherein the weighted value is the correction parameter, and the weight of the temperature in the change item is the largest, and the weight of the light intensity is the smallest.
[0090] In this step, in order to obtain the final correction parameters under the combined influence of at least one variable item, a weight can be set for each variable item. The weight reflects the influence of each variable item on the final target temperature. The human body is most sensitive to temperature, and the light intensity is higher when the weather is cold. Therefore, the weight can be configured with the temperature having the largest weight, the light intensity having the smallest weight, and the humidity weight being somewhere in the middle.
[0091] The control method for the water heater provided in this embodiment obtains environmental information of the user's real-time location, determines weather changes on the user's way home, and corrects the preset target temperature, thereby adjusting the water heater to a suitable temperature. The method can intelligently identify changes in the environment on the way and scientifically adjust the heating temperature according to the changes, so that the weather on the way home and the heating temperature are effectively linked, thereby improving comfort and enhancing user experience.
[0092] Figure 4 The process of the water heater control method provided in the embodiment of the present application Figure 3 .like Figure 4 As shown, in this embodiment Figure 3 Based on the embodiment, the process of obtaining the target heating power when the interval duration is less than or equal to the heating duration is described in detail. The method includes:
[0093] S401. Obtain a candidate heating power according to the first interval duration and the target temperature, wherein the candidate heating power is greater than the preset heating power.
[0094] In this step, in order to calculate the required arithmetic heating power, the required heat is determined according to the temperature difference between the target temperature and the current water temperature. Exemplarily, based on the relationship between temperature and heat, the heat required for heating is calculated using the specific heat capacity and current weight of water. Specifically, since the volume of the water storage tank in the water heater is fixed, the current water mass can be obtained using the volume of the water storage tank and the density of water. A water level sensor can also be set in the water storage tank to obtain the actual water volume based on the measured water level. There is no limitation here.
[0095] Based on the relationship between power, time and heat, and according to the required heat and interval duration, the arithmetic heating power is obtained. The arithmetic heating power represents the actual power that the water heater can heat within the interval duration. The actual power is a relatively precise value and exists in the form of decimals, which makes it difficult for the water heater to control the power adjustment. Therefore, the power needs to be used as a candidate value for reference, and a more easily controllable integer value needs to be determined with a unified standard.
[0096] Exemplarily, the candidate heating power can be obtained by assuming that the arithmetic heating power is W2, the preset heating power is W1, the preset power step is A, and the increase coefficient is B, then W2=W1+A*B, the preset power step A represents the unit power that can be increased, and the increase coefficient B represents the power increase coefficient value. The increase coefficient calculated according to the above calculation formula may usually be a decimal, and at this time it is necessary to round the increase coefficient upward to make the increase coefficient an integer, then the rounded increase coefficient is the power parameter C, if the increase coefficient is exactly an integer value, then the increase coefficient is directly corresponded to the power parameter, and the above calculation formula becomes W=W1+A*C, at this time the power value W obtained is greater than or equal to the arithmetic heating power, and the power value W is the candidate heating power, the purpose of setting the preset power step and power parameter is to make the heating power executed by the water heater increase regularly and simplify the control of the water heater.
[0097] S402: Determine whether the candidate heating power is greater than the maximum heating power, where the maximum heating power is a power threshold for safe heating.
[0098] In this step, due to the inconsistency of the first interval time, when the user's current location is very close to home, the required interval time is very short. The heating power obtained according to this interval time will be very large, and even exceed the maximum value that the device can withstand. In addition to the safety hazard, this situation is not very feasible. Therefore, it is necessary to identify such situations. The maximum heating power within the safety range can be set as the power threshold to ensure that the power usage is within the tolerable range of the device.
[0099] S403: If not, the candidate heating power is the target heating power.
[0100] S404: If yes, the maximum heating power is the target heating power.
[0101] S405: the target heating time is the current time, and the water heater starts heating at the target heating power.
[0102] The control method for the water heater provided in this embodiment determines the candidate heating power according to the interval time required to get home and the target temperature, and judges whether the candidate heating power exceeds the maximum heating power. If so, heating is performed with the maximum heating power as the target power; if not, heating is performed with the candidate heating power. This method ensures that the heating of the water heater is within a reasonable range, and ensures the normal operation and safety of the equipment.
[0103] Figure 5 A control device diagram of a water heater provided in an embodiment of the present invention, such as Figure 5 As shown, the control device 50 includes: an acquisition module 501 and a processing module 502 .
[0104] The acquisition module 501 is used to acquire the user's current location information, preset target temperature and heating time according to the user's water heater control instruction, and acquire the estimated arrival time and the water heater target start time according to the current location information;
[0105] The acquisition module 501 is further configured to acquire the user's real-time location and environmental information corresponding to the real-time location when the first interval between the current time and the expected arrival time is greater than the heating time, wherein the environmental information includes at least one of temperature, humidity or sunlight intensity;
[0106] The processing module 502 is used to obtain a correction parameter of the target temperature according to the environmental information corresponding to the real-time position, and the water heater performs heating at the corrected target temperature, and the correction parameter is a positive number or a negative number;
[0107] The processing module 502 is also used to, based on the real-time location information, control the water heater to turn on when the target start time arrives if it is determined based on the real-time location information that the second distance the user is currently away from home is less than the first distance.
[0108] Figure 6 The hardware diagram of the water heater provided by the embodiment of the present invention is shown in FIG. Figure 6 As shown, the water heater 60 provided in this embodiment includes: at least one processor 601 and a memory 602. The device 60 also includes a communication component 603. The processor 601, the memory 602 and the communication component 603 are connected via a bus 604.
[0109] In a specific implementation process, at least one processor 601 executes the computer-executable instructions stored in the memory 602, so that at least one processor 601 executes the above method.
[0110] The specific implementation process of the processor 601 can be found in the above method embodiment, and its implementation principle and technical effect are similar, so this embodiment will not be repeated here.
[0111] In the above Figure 6 In the illustrated embodiment, it should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the invention may be directly implemented as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor.
[0112] The memory may include a high-speed memory (Random Access Memory, RAM), and may also include a non-volatile memory (Non-volatile Memory, NVM), such as at least one disk storage.
[0113] The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of the present application is not limited to only one bus or one type of bus.
[0114] The present application also provides a computer-readable storage medium, in which computer-executable instructions are stored. When a processor executes the computer-executable instructions, the method described above is implemented.
[0115] The above-mentioned readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The readable storage medium can be any available medium that can be accessed by a general or special-purpose computer.
[0116] An exemplary readable storage medium is coupled to a processor so that the processor can read information from the readable storage medium and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can be located in an application specific integrated circuit (Application Specific Integrated Circuits, referred to as: ASIC). Of course, the processor and the readable storage medium can also exist in the device as discrete components.
[0117] The division of the units is only a logical function division, and there may be other divisions in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, which may be electrical, mechanical or other forms.
[0118] 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 network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0119] 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.
[0120] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.
[0121] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.
[0122] So far, the technical solution of the present application has been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present application is obviously not limited to these specific embodiments, and the above embodiments are only used to illustrate the technical solution of the present application rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for controlling a water heater, characterized in that: The method comprises: According to the user's water heater control instruction, the user's current location information, preset target temperature and heating time are obtained, and according to the current location information, the user's first distance from home, the estimated time of arrival at home and the target start time of the water heater are obtained; When the first interval between the current time and the expected arrival time is greater than the heating time, obtaining the real-time location of the user and environmental information corresponding to the real-time location, the environmental information including at least one of temperature, humidity or sunlight intensity; According to the environmental information corresponding to the real-time position, a correction parameter of the target temperature is obtained, and the water heater performs heating at the corrected target temperature, wherein the correction parameter is a positive number or a negative number; According to the real-time location information, when the target start time arrives, if it is determined according to the real-time location information that the second distance the user is currently away from home is less than the first distance, the water heater is controlled to turn on.
2. The method according to claim 1, characterized in that: The obtaining, according to the environmental information corresponding to the real-time position, a correction parameter of the target temperature includes: Determine whether the temperature, humidity or sunshine intensity in the environmental information changes from the start time to the end time of the preset cycle; If yes, obtaining the change item and the corresponding change difference in the environmental information; According to the change difference and the corresponding correction coefficient, the corrected target temperature is obtained, and the temperature, humidity or sunlight intensity has a corresponding correction coefficient respectively.
3. The method according to claim 2, characterized in that The determining whether the temperature, humidity or sunshine intensity in the environmental information changes from the start time to the end time of the preset cycle includes: Determine whether the second interval between the current time and the target start time is greater than the preset period; If not, judging whether the second environment information has changed relative to the first environment information when the target start time arrives based on the first environment information of the current time and the second environment information of the target start time; If yes, then obtain the ratio of the second interval duration to the preset period, the ratio represents the number of the preset periods, and when the ratio is a non-integer, perform an upward modulus calculation; At the end time of each preset period, it is determined whether the second environment information has changed relative to the first environment information.
4. The method according to claim 2, characterized in that: The step of obtaining a corrected target temperature according to the change difference and the corresponding correction coefficient includes: Obtaining a sub-correction parameter corresponding to each of at least one change item, wherein the sub-correction parameter represents a product of a single change difference and a corresponding correction coefficient; A weighted value is obtained according to the weight and sub-correction parameter corresponding to each of the at least one change item, wherein the weighted value is the correction parameter, and among the change items, the weight of temperature is the largest, and the weight of light intensity is the smallest.
5. The method according to claim 1, characterized in that When the target start time is reached, the method further includes: If the second distance is greater than or equal to the first distance, an inquiry message is sent to the user end, where the inquiry message is used to determine from the user whether to turn on the water heater.
6. The method according to claim 5, characterized in that When the water heater is turned on at the target start time, the method further includes: After the preset time is reached, the third distance of the user from home is obtained, and when the third distance is greater than or equal to the second distance, an inquiry message is sent to the user end, and the inquiry message is used to determine whether to turn off the water heater from the user.
7. The method according to claim 1, characterized in that When the first interval between the current time and the expected arrival time is less than or equal to the heating time, the method further includes: According to the first interval duration and the target temperature, a candidate heating power is obtained, wherein the candidate heating power is greater than the preset heating power; and whether the candidate heating power is greater than a maximum heating power, wherein the maximum heating power is a power threshold for safe heating; If not, the candidate heating power is the target heating power; If yes, the maximum heating power is the target heating power; Then the target heating time is the current time, and the water heater starts heating at the target heating power.
8. A control device for a water heater, characterized in that: The device comprises: An acquisition module, used to acquire the user's current location information, preset target temperature and heating duration according to the user's water heater control instruction, and acquire an estimated arrival time and a water heater target start time according to the current location information; The acquisition module is further used to acquire the real-time location of the user and environmental information corresponding to the real-time location when the first interval between the current time and the expected arrival time is greater than the heating time, wherein the environmental information includes at least one of temperature, humidity or sunlight intensity; A processing module, used for obtaining a correction parameter of the target temperature according to the environmental information corresponding to the real-time position, the water heater performs heating at the corrected target temperature, and the correction parameter is a positive number or a negative number; The processing module is also used to, based on the real-time location information, when the target start-up time arrives, control the water heater to start if it is determined based on the real-time location information that the second distance the user is currently away from home is less than the first distance.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, they are used to implement the method according to any one of claims 1 to 7.
10. A water heater, characterized in that: include: at least one processor and memory; wherein, The memory stores computer-executable instructions; The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor performs the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Control method and device for water heater and water heater
CN106123350A
Energy-saving type household heating control system, mobile terminal and method
CN107246649A
Water heater and control method thereof
CN108286808A
Appointment water consumption control method of air energy hot water system
CN111829176A
Vehicle air conditioning system control method, vehicle and storage medium
CN112389159A
Cited By
Wireless remote control system and method for electrical equipment
CN119642415A
