CN109682074B - Control method of water heater and control method of air conditioner - Google Patents

Control method of water heater and control method of air conditioner Download PDF

Info

Publication number
CN109682074B
CN109682074B CN201710980568.8A CN201710980568A CN109682074B CN 109682074 B CN109682074 B CN 109682074B CN 201710980568 A CN201710980568 A CN 201710980568A CN 109682074 B CN109682074 B CN 109682074B
Authority
CN
China
Prior art keywords
water heater
user
air conditioner
information
getting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710980568.8A
Other languages
Chinese (zh)
Other versions
CN109682074A (en
Inventor
高旺生
全永兵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhu Midea Smart Kitchen Appliance Manufacturing Co Ltd
Original Assignee
Midea Group Co Ltd
Wuhu Midea Kitchen and Bath Appliances Manufacturing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Midea Group Co Ltd, Wuhu Midea Kitchen and Bath Appliances Manufacturing Co Ltd filed Critical Midea Group Co Ltd
Priority to CN201710980568.8A priority Critical patent/CN109682074B/en
Publication of CN109682074A publication Critical patent/CN109682074A/en
Application granted granted Critical
Publication of CN109682074B publication Critical patent/CN109682074B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24HFLUID HEATERS, e.g. WATER OR AIR HEATERS, HAVING HEAT-GENERATING MEANS, e.g. HEAT PUMPS, IN GENERAL
    • F24H9/00Details
    • F24H9/20Arrangement or mounting of control or safety devices
    • F24H9/2007Arrangement or mounting of control or safety devices for water heaters
    • F24H9/2014Arrangement or mounting of control or safety devices for water heaters using electrical energy supply
    • F24H9/2021Storage heaters

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Thermal Sciences (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Air Conditioning Control Device (AREA)

Abstract

The invention provides a control method of a water heater and a control method of an air conditioner, wherein the control method of the water heater comprises the following steps: and the water heater is controlled to heat according to the user getting-up information sent by the air conditioner. Because the air conditioner basically belongs to the basic configuration of the room, the judgment of whether a user gets up in the room can be simply and conveniently realized through the air conditioner; when the water heater receives the user getting up information sent by the air conditioner, the water heater can be controlled to heat, so that hot water can be supplied after the user gets up, the user does not need to manually turn on the water heater to heat, and the long-time waiting time of the user is reduced as much as possible. In addition, the water heater and the air conditioner are interconnected, the development requirement of the intelligent home is met, and the user experience is improved.

Description

Control method of water heater and control method of air conditioner
Technical Field
The invention relates to the technical field of intelligent control of household appliances, in particular to a control method of a water heater and a control method of an air conditioner.
Background
At present, with the continuous improvement of living standard, the water heater has become the electrical apparatus of common use at home. Taking a small kitchen treasure water heater as an example, because the water heater has the advantages of electricity saving, instant heating and use, low price, convenience, rapidness and the like, more and more users can install the small kitchen treasure under a washbasin in a bathroom, and the water heater is particularly convenient and comfortable to wash by using hot water in winter. However, in the case of a relatively cold water, the time required for the small chef to heat the cold water in the inner container to a set temperature is generally about 3 minutes, depending on the temperature of the cold water. If the user wants to immediately wash after waking up, the user can wait for 3 minutes before using hot water; the user also opens the small kitchen treasure all the time to heat, preserve heat and heat continuously and circularly, but the electric energy is wasted under the condition, and unnecessary expenditure is caused.
Disclosure of Invention
The present invention is directed to solving, at least to some extent, one of the technical problems in the related art.
Therefore, a first object of the present invention is to provide a method for controlling a water heater, which receives user getting-up information sent by an air conditioner, and controls the water heater to heat according to the user getting-up information. Because the air conditioner basically belongs to the basic configuration of the room, the judgment of whether a user gets up in the room can be simply and conveniently realized through the air conditioner; when the water heater receives the user getting up information sent by the air conditioner, the water heater can be controlled to heat, so that hot water can be supplied after the user gets up, the user does not need to manually turn on the water heater to heat, and the long-time waiting time of the user is reduced as much as possible. In addition, the water heater and the air conditioner are interconnected, the development requirement of the intelligent home is met, and the user experience is improved.
To this end, a second object of the present invention is to provide a control method of an air conditioner.
To this end, a third object of the invention is to propose a computer device.
To this end, a fourth object of the invention is to propose a computer-readable storage medium.
In order to achieve the above object, an embodiment of a first aspect of the present invention provides a control method for a water heater, including:
receiving user getting-up information sent by an air conditioner, wherein the user getting-up information is generated by the air conditioner after detecting that a user in a room to which the air conditioner belongs gets up;
and controlling the water heater to heat according to the user getting up information.
The method for receiving the user getting-up information sent by the air conditioner comprises the following steps:
receiving user getting-up information sent by different air conditioners;
the controlling the water heater to heat according to the user getting up information comprises:
counting the number of the received user getting-up information;
acquiring the heating times of the water heater according to the number;
and controlling the water heater to heat according to the heating times.
The method for acquiring the heating times of the water heater according to the number comprises the following steps:
acquiring the number of water consumption people corresponding to one heating of the water heater;
and acquiring the heating times of the water heater according to the number of the user getting up information and the number of the water users.
The method for controlling the heating times of the water heater according to the number of the user getting up information and the number of the water users comprises the following steps:
comparing said number to said number of people using water;
if the number does not exceed the number of the water users, controlling the water heater to heat once;
and if the number exceeds the number of the water using people, determining the heating times of the water heater according to the ratio of the number to the number of the water using people.
The method for determining the heating times of the water heater according to the number comprises the following steps:
and taking the value of the number as the value of the heating times.
The method as described above, the user getting up information comprising a user getting up time;
controlling the water heater to heat according to the user getting up information, comprising:
extracting the user getting up time from the user getting up information;
acquiring the last heating time of the water heater;
acquiring a time interval of the two moments according to the user getting up moment and the last heating moment;
and if the time interval exceeds the preset time interval, controlling the water heater to heat.
The method as described above, the user getting up information comprising a user getting up time;
before the controlling the water heater to heat, the method further comprises the following steps:
determining that the user getting up time of the user is within a preset time period.
The method for controlling the water heater to heat comprises the following steps:
detecting a current water temperature value of the water heater;
and judging whether the difference value between the current water temperature value and the target water temperature value exceeds a preset threshold value, and if so, controlling the water heater to heat.
The method as described above, after controlling the water heater to heat, further comprising:
and when the current water temperature value of the water heater reaches the target water temperature value, stopping the water heater from continuing heating.
The method as described above, before the receiving the user getting up information detected by the air conditioner, further comprising:
controlling the water heater to be connected into a household router, and broadcasting a water heater message outwards;
receiving an IP address of the air conditioner returned by the air conditioner according to the water heater information;
and controlling the water heater to establish communication connection with the air conditioner according to the IP address of the air conditioner.
In order to achieve the above object, a second embodiment of the present invention provides a control method of an air conditioner, including:
detecting an infrared signal sent by a user in a room to which an air conditioner belongs;
judging whether the user gets up according to the change trend of the infrared signal, and generating user getting up information if the user gets up;
and sending the user getting up information to the water heater.
The method for judging whether the user gets up according to the change trend of the infrared signals comprises the following steps:
acquiring the change trend of an infrared signal sent out after a user enters a sleep state;
and judging whether the change trend of the infrared signals exceeds a preset amplitude or not, and if so, judging that the user gets up.
To achieve the above object, a computer apparatus according to an embodiment of the third aspect of the present invention includes: a processor and a memory;
wherein the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to implement the control method of the water heater according to the first aspect or implement the control method of the air conditioner according to the second aspect.
In order to achieve the above object, a computer-readable storage medium according to a fourth aspect of the present invention has a computer program stored thereon, which when executed by a processor implements the control method of the water heater according to the first aspect or implements the control method of the air conditioner according to the second aspect.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a flowchart illustrating a control method of a water heater according to an embodiment of the present invention;
FIG. 2 is a flow chart of a method of controlling a water heater according to another embodiment of the present invention;
FIG. 3 is a flow chart of a method for controlling a water heater according to another embodiment of the present invention;
FIG. 4 is a flow chart of a method of controlling a water heater according to yet another embodiment of the present invention;
fig. 5 is a flowchart illustrating a control method of an air conditioner according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a computer device according to an embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
A control method of a water heater and a control method of an air conditioner according to an embodiment of the present invention will be described below with reference to the accompanying drawings.
Fig. 1 is a flowchart of a control method of a water heater according to an embodiment of the present invention.
As shown in fig. 1, the control method of the water heater provided by this embodiment includes the following steps:
s101, receiving user getting-up information sent by an air conditioner, wherein the user getting-up information is generated by the air conditioner after the air conditioner detects that a user in a room to which the user gets up.
In particular, when interior decoration is performed, air conditioners are basically installed in bedrooms, living rooms and other rooms to adjust the indoor temperature, and the requirements of comfortable life are met. Based on the basic configuration that the air conditioner belongs to a room, if a human body infrared sensor is installed on the air conditioner, whether a user gets up in the room can be simply and conveniently detected. In addition, in the smart home era, various indoor home devices can be intercommunicated and interconnected. Therefore, the mode that the air conditioner detects the user getting up information and sends the information to the water heater is used for simply and conveniently judging the user getting up, the development requirement of the intelligent home is met, and the user experience is improved. It should be noted that, in this embodiment, the user getting-up information may be understood as indication information corresponding to the fact that the user gets up in the room is detected, and when the water heater receives the user getting-up information, the water heater knows that the user gets up in a certain room, and at this time, the water heater should heat the room to supply the user with the hot water demand. Optionally, the water heater is a small chef water heater.
The "principle of determining whether a user gets up using a human body infrared sensor" will be briefly described.
The infrared (energy) wavelength radiated from the human body is mainly concentrated around about 10000 nm. According to the characteristic of the wavelength of the human infrared rays, the human infrared sensor can detect the infrared rays radiated by the human body and remove other unnecessary light waves. In nature, the heat energy radiated by all objects is proportional to the temperature of the objects. The higher the temperature of the object, the shorter the peak wavelength of its radiant heat energy. Meanwhile, the body temperature is directly related to the blood circulation, the blood circulation speed is in proportion to the relaxation and contraction of muscles under normal conditions, the muscles of people are in a relaxed state during rest and sleep, the blood flow speed is very slow, and the body temperature is reduced as compared with the hibernation of cold blood animals (snakes and the like). Therefore, infrared signals sent by a user in a room can be monitored in real time through the human body infrared sensor, the change trend of the infrared signals is monitored, when the user enters a sleep state, the monitored infrared signals are greatly reduced, at the moment, the change trend of the infrared signals shows a reduction trend, and at the moment, the user is considered to enter the sleep state; on the contrary, when the user changes from the sleep state to the getting-up state, the monitored infrared signals greatly increase, at the moment, the change trend of the infrared signals shows an increasing trend, and at the moment, the user is considered to get up.
Optionally, the communication connection of the water heater and the air conditioner is established before receiving the user getting up information detected by the air conditioner. The water heater in this embodiment is in communication connection with the air conditioner, and the communication connection mode may be a wired communication mode, and may also be a wireless communication mode such as WiFi, ZigBee, Bluetooth, and the like.
In one possible implementation manner, the "establishing the communication connection between the water heater and the air conditioner" is implemented as follows: controlling the water heater to be connected into the household router and broadcasting water heater information outwards; receiving an IP address of the air conditioner returned by the air conditioner according to the water heater information; and controlling the water heater to establish communication connection with the air conditioner according to the IP address of the air conditioner. For example, the water heaters can be networked through the household router, when the water heaters are connected to the household router, the water heater information is broadcasted outwards, and the water heater information can be IP addresses of the water heaters; the indoor air conditioner is in a monitoring state, when monitoring the broadcasted water heater information, the air conditioner can also broadcast the IP address of the air conditioner, and therefore the water heater and the air conditioner can be conveniently controlled to establish communication connection according to the IP address of the air conditioner.
And S102, controlling the water heater to heat according to the getting-up information of the user.
Specifically, when the user gets up, namely the user gets up at present, the water heater needs to heat for the user's hot water requirement, so that the user can get up and then have hot water supply without turning on the water heater manually for heating, and the long waiting time of the user is reduced as much as possible. Taking a small kitchen water heater as an example, the small kitchen water heater can finish heating within 3 minutes generally, and it takes about one or two minutes for a user to get into a kitchen from a room after getting up, so that the user can use hot water in the small kitchen water heater for a long time without waiting for a long time when getting into the kitchen.
In one possible implementation manner, the specific implementation manner of "controlling the water heater to heat" is as follows:
detecting a current water temperature value of the water heater; and judging whether the difference value between the current water temperature value and the target water temperature value exceeds a preset threshold value or not, and controlling the water heater to heat if the difference value exceeds the preset threshold value. Specifically, if the difference value between the current water temperature value and the target water temperature value exceeds a preset threshold value, the temperature of domestic water in the water heater is low, and at this time, heating is needed so that a user can use hot water; if the difference value between the current water temperature value and the target water temperature value does not exceed the preset threshold value, the domestic water in the water heater is hot water, and the requirement of a user for using the hot water can be met without heating. According to the embodiment, whether the difference value between the current water temperature value and the target water temperature value exceeds the preset threshold value or not is judged, whether the water heater is controlled to heat or not is determined, the service life of the water heater can be prolonged, electric power waste caused by continuous heating is eliminated as far as possible, and the requirements of energy conservation and emission reduction are met.
Further, after step S102, the following steps may be further included:
and S103, stopping heating the water heater continuously when the current water temperature value of the water heater reaches the target water temperature value.
Specifically, because the water heater generally has the heat preservation function, when the current water temperature value of the water heater reaches the target water temperature value, the water heater is stopped from continuing heating, and heat preservation is performed through the heat preservation function, so that the service life of the water heater is prevented from being shortened due to overheating.
According to the control method of the water heater provided by the embodiment, the water heater is controlled to heat according to the user getting-up information sent by the air conditioner. Because the air conditioner basically belongs to the basic configuration of the room, the judgment of whether a user gets up in the room can be simply and conveniently realized through the air conditioner; when the water heater receives the user getting up information sent by the air conditioner, the water heater can be controlled to heat, so that hot water can be supplied after the user gets up, the user does not need to manually turn on the water heater to heat, and the long-time waiting time of the user is reduced as much as possible. In addition, the water heater and the air conditioner are interconnected in an intercommunicating mode in the embodiment, the development requirements of the intelligent home are met, and the user experience is improved.
Fig. 2 is a flowchart of a control method of a water heater according to another embodiment of the present invention. On the basis of the above embodiment, before controlling the water heater to heat, the method further includes: and determining that the user getting up time of the user is within a preset time period.
As shown in fig. 2, the control method of the water heater provided by the embodiment includes the following steps:
s201, receiving user getting-up information sent by an air conditioner, wherein the user getting-up information is generated by the air conditioner after the air conditioner detects that a user in a room to which the user gets up.
The implementation manner of step S201 in this embodiment is the same as that of step S101, and is not described herein again.
S202, determining that the user getting up time of the user is in a preset time period.
Specifically, the user getting up information includes the user getting up time. For example, the user may get up to go to a toilet in the middle of the night or get up to wash in the morning. It is not difficult to determine whether the user gets up in the middle of the night or gets up in the morning, etc. by extracting the user getting up time in the user getting up information. The preset time period in this embodiment can be flexibly set according to the morning, the middle and the end of the day. For example, the time period corresponding to morning is: 6:00 to 9: 00; the corresponding time period in noon is: 13:00 to 15: 00; the time period corresponding to night is as follows: 20:00 to 24:00.
By taking a small kitchen water heater as an example, the heating can be set to be carried out only according to the user getting-up information of getting-up in the morning, and the user getting-up information indicating getting-up in the middle of the night is not heated, so that the water heater is intelligently controlled to heat by distinguishing the time when the user gets-up, and the service life of the water heater is prolonged. Of course, the time when the user gets up can not be distinguished, namely, the user gets up at any time, namely, the water heater is heated once.
And S203, controlling the water heater to heat according to the getting-up information of the user.
The implementation manner of step S203 in this embodiment is the same as that of step S102, and is not described herein again.
According to the control method of the water heater, the user getting-up information sent by the air conditioner is received, the user getting-up time of the user is determined to be within the preset time period, and the water heater is controlled to heat according to the user getting-up information. Through distinguishing the user moment of getting up, intelligently control the water heater and heat, improve the life of water heater.
Fig. 3 is a flowchart of a control method of a water heater according to another embodiment of the present invention. On the basis of the above embodiment, the user getting-up information includes the user getting-up time; then according to the information that the user got up, control the water heater and heat, include: extracting the user getting up time from the user getting up information; acquiring the last heating time of the water heater; acquiring a time interval of two moments according to the getting-up moment and the last heating moment of a user; and if the time interval exceeds the preset time interval, controlling the water heater to heat.
As shown in fig. 3, the control method of the water heater provided by this embodiment includes the following steps:
s301, user getting-up information sent by the air conditioner is received, wherein the user getting-up information is generated after the air conditioner detects that a user in a room to which the user gets up.
The implementation manner of step S301 in this embodiment is the same as that of step S101, and is not described herein again.
S302, extracting the user getting up time from the user getting up information.
And S303, acquiring the last heating time of the water heater.
And S304, acquiring the time interval of the two moments according to the getting-up moment and the last heating moment of the user.
S305, if the time interval exceeds the preset time interval, controlling the water heater to heat.
Specifically, the user getting up information includes the user getting up time. If the time interval between the time when the user gets up and the last heating time exceeds the preset time interval, the hot water heated last time is changed into cold water at the time when the user gets up, and the hot water needs to be heated so that the user can use the hot water; if the time interval between the time when the user gets up and the last heating time does not exceed the preset time interval, the hot water heated last time is still hot water at the time when the user gets up, and the requirement of the user for using hot water can be met without heating. It should be noted that the preset time interval can be flexibly set according to the time requirement. Taking a small kitchen appliance water heater which finishes family members in three minutes as an example, the preset time interval can be one minute or 30 seconds and the like.
According to the control method of the water heater, the user getting-up time is extracted from the user getting-up information by receiving the user getting-up information sent by the air conditioner; acquiring the last heating time of the water heater; acquiring a time interval of two moments according to the getting-up moment and the last heating moment of a user; and if the time interval exceeds the preset time interval, controlling the water heater to heat. Whether the time interval between the time when the user gets up and the last heating time exceeds the preset time interval or not is judged, the water heater is intelligently controlled to heat, and the service life of the water heater is prolonged.
Fig. 4 is a flowchart of a control method of a water heater according to still another embodiment of the present invention. The present embodiment is directed to how to control heating of the water heater when multiple user wake-up messages are received.
As shown in fig. 4, the control method of the water heater provided by this embodiment includes the following steps:
s401, receiving user getting-up information sent by different air conditioners.
S402, counting the number of the received user getting-up information.
And S403, acquiring the heating times of the water heater according to the number.
Taking a small kitchen water heater as an example, a plurality of family members exist, and air conditioners are installed in rooms of all the family members. When the getting-up time of each family member is relatively close, namely washing is relatively dense, but the small kitchen appliance is small in size and limited in hot water amount under normal conditions, and the situation that hot water is insufficient can be caused. The embodiment determines the heating times of the water heater by counting the number of the user getting up information, namely, heats the water heater for many times so as to ensure that all members in a family can wash with hot water.
In a possible implementation manner, the specific implementation manner of step S403 is: and taking the value of the number as the value of the heating times. For example, if 5 family members have the getting-up times of 5 people, and the number of the corresponding user getting-up information is 5, the number of heating times is determined to be 5, that is, the water heater is controlled to heat five times to ensure that all 5 family members can wash with hot water.
In another possible implementation manner, the specific implementation manner of step S403 is: acquiring the number of water consumption people corresponding to one heating of the water heater; and acquiring the heating times of the water heater according to the number of the user getting up information and the number of the water users. For example, the water heater of a small kitchen appliance can be used for washing 3 persons at a time, and if two family members get up, the water heater is only required to be heated once. If 5 family members get up, the water heater is required to heat twice. This embodiment acquires the heating number of times of water heater according to the number of user information of getting up and the number of using water, can guarantee that every user all has hot water to use, can also rationally control the heating number of times of water heater, and then guarantee the life of water heater.
In one possible implementation manner, "obtaining the number of times of heating of the water heater according to the number of the information of getting up of the user and the number of people using water" is specifically implemented as follows: comparing the number with the number of people using water; if the number does not exceed the number of the people using water, controlling the water heater to heat once; if the number exceeds the number of the water users, the heating times of the water heater is determined according to the ratio of the number to the number of the water users. This embodiment acquires the heating number of times of water heater according to the number of user information of getting up and the number of using water, can guarantee that every user all has hot water to use, can also rationally control the heating number of times of water heater, and then guarantee the life of water heater.
And S404, controlling the water heater to heat according to the heating times.
For example, if the number of times of heating is 1, the water heater is controlled to heat once, and if the number of times of heating is multiple, the water heater is controlled to heat multiple times.
According to the control method of the water heater, the user getting-up information sent by different air conditioners is received, the number of the received user getting-up information is counted, the heating times of the water heater are obtained according to the number, and the water heater is controlled to heat according to the heating times. That is to say, the number of times of heating of the water heater is determined by counting the number of the information of getting up of the user, that is, the water heater is heated for many times, so that all members in a family can be guaranteed to wash with hot water; in addition, through the heating number of times of reasonable control water heater, and then guarantee the life of water heater.
Fig. 5 is a flowchart of a control method of an air conditioner according to an embodiment of the present invention.
As shown in fig. 5, the method for controlling an air conditioner provided in this embodiment includes the following steps:
s501, detecting an infrared signal sent by a user in a room where the air conditioner belongs.
S502, judging whether the user gets up according to the change trend of the infrared signals, and if so, generating user getting up information.
In particular, when interior decoration is performed, air conditioners are basically installed in bedrooms, living rooms and other rooms to adjust the indoor temperature, and the requirements of comfortable life are met. Based on the basic configuration that the air conditioner belongs to a room, if a human body infrared sensor is installed on the air conditioner, whether a user gets up in the room can be simply and conveniently detected.
The "principle of determining whether a user gets up using a human body infrared sensor" will be briefly described.
The infrared (energy) wavelength radiated from the human body is mainly concentrated around about 10000 nm. According to the characteristic of the wavelength of the human infrared rays, the human infrared sensor can detect the infrared rays radiated by the human body and remove other unnecessary light waves. In nature, the heat energy radiated by all objects is proportional to the temperature of the objects. The higher the temperature of the object, the shorter the peak wavelength of its radiant heat energy. Meanwhile, the body temperature is directly related to the blood circulation, the blood circulation speed is in proportion to the relaxation and contraction of muscles under normal conditions, the muscles of people are in a relaxed state during rest and sleep, the blood flow speed is very slow, and the body temperature is reduced as compared with the hibernation of cold blood animals (snakes and the like). Therefore, infrared signals sent by a user in a room can be monitored in real time through the human body infrared sensor, the change trend of the infrared signals is monitored, when the user enters a sleep state, the monitored infrared signals are greatly reduced, at the moment, the change trend of the infrared signals shows a reduction trend, and at the moment, the user is considered to enter the sleep state; on the contrary, when the user changes from the sleep state to the getting-up state, the monitored infrared signals greatly increase, at the moment, the change trend of the infrared signals shows an increasing trend, and at the moment, the user is considered to get up.
In one possible implementation manner, "judging whether the user gets up according to the variation trend of the infrared signal" is specifically implemented as follows: acquiring the change trend of an infrared signal sent out after a user enters a sleep state; and judging whether the change trend of the infrared signals exceeds a preset amplitude or not, and if so, judging that the user gets up. Specifically, when the user changes from the sleep state to the getting-up state, the monitored infrared signal greatly increases, at this time, the change trend of the infrared signal shows an increasing trend, and at this time, the user is considered to be getting-up.
And S503, sending the user getting up information to the water heater.
Specifically, a communication connection between the water heater and the air conditioner is established before receiving information that the user gets up to the water heater. The water heater in this embodiment is in communication connection with the air conditioner, and the communication connection mode may be a wired communication mode, and may also be a wireless communication mode such as WiFi, ZigBee, Bluetooth, and the like.
In one possible implementation manner, the "establishing the communication connection between the water heater and the air conditioner" is implemented as follows: controlling the water heater to be connected into the household router and broadcasting water heater information outwards; receiving an IP address of the air conditioner returned by the air conditioner according to the water heater information; and controlling the water heater to establish communication connection with the air conditioner according to the IP address of the air conditioner. For example, the water heaters can be networked through the household router, when the water heaters are connected to the household router, the water heater information is broadcasted outwards, and the water heater information can be IP addresses of the water heaters; the indoor air conditioner is in a monitoring state, when monitoring the broadcasted water heater information, the air conditioner can also broadcast the IP address of the air conditioner, and therefore the water heater and the air conditioner can be conveniently controlled to establish communication connection according to the IP address of the air conditioner.
Specifically, when the water heater receives the information that the user gets up, namely the user gets up at present, the water heater needs to heat for the user's hot water requirement, so that the user can have hot water supply after getting up, the user does not need to manually turn on the water heater for heating, and the long-time waiting time of the user is reduced as much as possible.
According to the control method of the air conditioner, whether the user gets up is judged according to the change trend of the infrared signal by detecting the infrared signal sent by the user in the room where the air conditioner belongs, and if the user gets up is judged, user getting up information is generated and sent to the water heater. Because the air conditioner basically belongs to the basic configuration of the room, the judgment of whether a user gets up in the room can be simply and conveniently realized through the air conditioner; when the water heater receives the user getting up information sent by the air conditioner, the water heater can be controlled to heat, so that hot water can be supplied after the user gets up, the user does not need to manually turn on the water heater to heat, and the long-time waiting time of the user is reduced as much as possible. In addition, the water heater and the air conditioner are interconnected in an intercommunicating mode in the embodiment, the development requirements of the intelligent home are met, and the user experience is improved.
In order to achieve the above object, an embodiment of the present invention further provides a computer device.
Fig. 6 is a schematic structural diagram of a computer device according to an embodiment of the present invention.
As shown in fig. 6, the computer apparatus includes: a memory 11, a processor 12 and a computer program stored on the memory 11 and executable on the processor 12.
When the processor 12 executes the program, it implements the control method of the water heater provided in the embodiment shown in any one of fig. 1 to 4 or implements the control method of the air conditioner provided in the embodiment shown in fig. 5.
Further, the computer device further comprises:
a communication interface 13 for communication between the memory 11 and the processor 12.
A memory 11 for storing a computer program operable on the processor 12.
The memory 11 may comprise a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
And a processor 12, configured to implement, when executing the program, a control method of a water heater provided in the embodiment shown in any one of fig. 1 to 4 or a control method of an air conditioner provided in the embodiment shown in fig. 5.
If the memory 11, the processor 12 and the communication interface 13 are implemented independently, the communication interface 13, the memory 11 and the processor 12 may be connected to each other through a bus and perform communication with each other. The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (Extended Industry Standard Architecture) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 6, but it is not intended that there be only one bus or one type of bus.
Alternatively, in practical implementation, if the memory 11, the processor 12 and the communication interface 13 are integrated on one chip, the memory 11, the processor 12 and the communication interface 13 may complete communication with each other through an internal interface.
The processor 12 may be a Central Processing Unit (CPU), or an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement embodiments of the present invention.
To achieve the above object, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a control method of a water heater provided in any one of the embodiments shown in fig. 1 to 4 or implements a control method of an air conditioner provided in the embodiment shown in fig. 5.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

Claims (13)

1. A method of controlling a water heater, comprising:
receiving user getting-up information sent by an air conditioner, wherein the user getting-up information is generated by the air conditioner after detecting that a user in a room to which the air conditioner belongs gets up, detecting an infrared signal sent by the user in the room to which the air conditioner belongs, judging whether the user gets up according to a change trend of the infrared signal, if the user gets up, generating the user getting-up information, and sending the user getting-up information to the water heater, wherein the judgment of whether the user gets up according to the change trend of the infrared signal comprises the following steps: acquiring the change trend of an infrared signal sent out after a user enters a sleep state; judging whether the change trend of the infrared signals has infrared signals exceeding a preset amplitude or not, and if so, judging that the user gets up;
controlling the water heater to heat according to the user getting up information;
and before the user getting up information sent by the air conditioner is received, establishing communication connection between the water heater and the air conditioner.
2. The method of claim 1, wherein the receiving of the user getting up information sent by the air conditioner comprises:
receiving user getting-up information sent by different air conditioners;
the controlling the water heater to heat according to the user getting up information comprises:
counting the number of the received user getting-up information;
acquiring the heating times of the water heater according to the number;
and controlling the water heater to heat according to the heating times.
3. The method as claimed in claim 2, wherein said obtaining the number of times of heating of the water heater according to the number comprises:
acquiring the number of water consumption people corresponding to one heating of the water heater;
and acquiring the heating times of the water heater according to the number of the user getting up information and the number of the water users.
4. The method as claimed in claim 3, wherein the controlling the number of heating times of the water heater according to the number of the user getting up information and the number of the water users comprises:
comparing said number to said number of people using water;
if the number does not exceed the number of the water users, controlling the water heater to heat once;
and if the number exceeds the number of the water using people, determining the heating times of the water heater according to the ratio of the number to the number of the water using people.
5. The method as claimed in claim 2, wherein said determining the number of times of heating of said water heater based on said number comprises:
and taking the value of the number as the value of the heating times.
6. The method of claim 1, wherein the user wake up information includes a user wake up time;
controlling the water heater to heat according to the user getting up information, comprising:
extracting the user getting up time from the user getting up information;
acquiring the last heating time of the water heater;
acquiring a time interval of the two moments according to the user getting up moment and the last heating moment;
and if the time interval exceeds the preset time interval, controlling the water heater to heat.
7. The method of claim 1, wherein the user wake up information includes a user wake up time;
before the controlling the water heater to heat, the method further comprises the following steps:
determining that the user getting up time of the user is within a preset time period.
8. The method of any one of claims 1-7, wherein said controlling said water heater to heat comprises:
detecting a current water temperature value of the water heater;
and judging whether the difference value between the current water temperature value and the target water temperature value exceeds a preset threshold value, and if so, controlling the water heater to heat.
9. The method as claimed in any one of claims 1-7, wherein after controlling the water heater to heat, further comprising:
and when the current water temperature value of the water heater reaches the target water temperature value, stopping the water heater from continuing heating.
10. The method of claim 1, wherein said establishing a communication connection between said water heater and said air conditioner comprises:
controlling the water heater to be connected into a household router, and broadcasting a water heater message outwards;
receiving an IP address of the air conditioner returned by the air conditioner according to the water heater information;
and controlling the water heater to establish communication connection with the air conditioner according to the IP address of the air conditioner.
11. A control method of an air conditioner, characterized in that a communication connection of a water heater and the air conditioner is established, the control method comprising:
detecting an infrared signal sent by a user in a room to which an air conditioner belongs;
judging whether the user gets up according to the change trend of the infrared signal, and generating user getting up information if the user gets up;
sending the user getting up information to a water heater;
wherein, whether the user gets up is judged according to the change trend of the infrared signals, and the method comprises the following steps:
acquiring the change trend of an infrared signal sent out after a user enters a sleep state;
and judging whether the change trend of the infrared signals exceeds a preset amplitude or not, and if so, judging that the user gets up.
12. A computer device, comprising: a processor and a memory;
wherein the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory for implementing the control method of the water heater according to any one of claims 1 to 10 or implementing the control method of the air conditioner according to claim 11.
13. A computer-readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements a control method of a water heater according to any one of claims 1 to 10 or implements a control method of an air conditioner according to claim 11.
CN201710980568.8A 2017-10-19 2017-10-19 Control method of water heater and control method of air conditioner Active CN109682074B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710980568.8A CN109682074B (en) 2017-10-19 2017-10-19 Control method of water heater and control method of air conditioner

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710980568.8A CN109682074B (en) 2017-10-19 2017-10-19 Control method of water heater and control method of air conditioner

Publications (2)

Publication Number Publication Date
CN109682074A CN109682074A (en) 2019-04-26
CN109682074B true CN109682074B (en) 2021-08-06

Family

ID=66183707

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710980568.8A Active CN109682074B (en) 2017-10-19 2017-10-19 Control method of water heater and control method of air conditioner

Country Status (1)

Country Link
CN (1) CN109682074B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110398067B (en) * 2019-07-05 2022-07-15 芜湖美的厨卫电器制造有限公司 Water heater, control method thereof and computer-readable storage medium
CN110827817A (en) * 2019-11-08 2020-02-21 广东西欧克实业有限公司 Voice remote control intelligent home management device
CN112856750B (en) * 2021-01-27 2022-11-15 青岛海尔空调器有限总公司 Intelligent control method and device for air conditioner and air conditioner
CN114963549A (en) * 2021-06-01 2022-08-30 青岛经济技术开发区海尔热水器有限公司 Water heater preheating control method and device, electronic equipment and storage medium
CN114216235B (en) * 2021-11-11 2024-03-19 青岛海尔空调器有限总公司 Control method, control system, electronic equipment and storage medium for interconnection of air conditioners

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101706142A (en) * 2009-10-30 2010-05-12 卓灵智能(深圳)有限公司 Temperature regulation method based on human activity amount test and device and system thereof
CN101788189A (en) * 2009-01-24 2010-07-28 海尔集团公司 Electric water heater capable of setting bather number and control method thereof
CN203432022U (en) * 2013-05-29 2014-02-12 东莞市瑞明电子科技有限公司 Control device for remote indoor air-conditioning and humiture detection
CN103836759A (en) * 2012-11-20 2014-06-04 广东美的制冷设备有限公司 Air conditioner system and sleep control method and device thereof
CN104460363A (en) * 2014-10-13 2015-03-25 天津三星电子有限公司 Automatic shut-down method for display device and display device adopting method
CN104676854A (en) * 2015-02-15 2015-06-03 青岛海尔空调器有限总公司 Air conditioner sleep operation control method
CN104713241A (en) * 2015-02-05 2015-06-17 芜湖美的厨卫电器制造有限公司 Water heater and control method and control device thereof
CN105020898A (en) * 2014-04-30 2015-11-04 青岛经济技术开发区海尔热水器有限公司 Water heater achieving hot water cruising function and automatic heating temperature setting method
CN105278481A (en) * 2014-07-08 2016-01-27 昆山研达电脑科技有限公司 Intelligent household control system and method
CN106322776A (en) * 2016-11-15 2017-01-11 广东美的暖通设备有限公司 Water heater, controller and water heater control method

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102401473B (en) * 2010-09-17 2015-04-29 乐金电子(天津)电器有限公司 Running method of heat pump water heater
CN104864545A (en) * 2014-02-24 2015-08-26 海尔集团公司 Air conditioner with intelligent lighting function and control method of air conditioner
CN103940037B (en) * 2014-04-03 2016-09-07 美的集团股份有限公司 The control method of air-conditioning screen display and the control device of air-conditioning screen display
CN105280437A (en) * 2014-07-15 2016-01-27 杜鹏飞 Time switch
CN104764153B (en) * 2015-03-27 2017-07-07 武汉海尔电器股份有限公司 A kind of air-conditioner sleep running control method
WO2017134803A1 (en) * 2016-02-04 2017-08-10 三菱電機株式会社 Air conditioner
CN105650886B (en) * 2016-03-23 2019-01-04 广东万和热能科技有限公司 Storage-type electric water heater and its control method and control system
CN106568169B (en) * 2016-10-31 2019-05-17 广州华凌制冷设备有限公司 A kind of intelligent air conditioner temprature control method, system and intelligent air condition

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101788189A (en) * 2009-01-24 2010-07-28 海尔集团公司 Electric water heater capable of setting bather number and control method thereof
CN101706142A (en) * 2009-10-30 2010-05-12 卓灵智能(深圳)有限公司 Temperature regulation method based on human activity amount test and device and system thereof
CN103836759A (en) * 2012-11-20 2014-06-04 广东美的制冷设备有限公司 Air conditioner system and sleep control method and device thereof
CN203432022U (en) * 2013-05-29 2014-02-12 东莞市瑞明电子科技有限公司 Control device for remote indoor air-conditioning and humiture detection
CN105020898A (en) * 2014-04-30 2015-11-04 青岛经济技术开发区海尔热水器有限公司 Water heater achieving hot water cruising function and automatic heating temperature setting method
CN105278481A (en) * 2014-07-08 2016-01-27 昆山研达电脑科技有限公司 Intelligent household control system and method
CN104460363A (en) * 2014-10-13 2015-03-25 天津三星电子有限公司 Automatic shut-down method for display device and display device adopting method
CN104713241A (en) * 2015-02-05 2015-06-17 芜湖美的厨卫电器制造有限公司 Water heater and control method and control device thereof
CN104676854A (en) * 2015-02-15 2015-06-03 青岛海尔空调器有限总公司 Air conditioner sleep operation control method
CN106322776A (en) * 2016-11-15 2017-01-11 广东美的暖通设备有限公司 Water heater, controller and water heater control method

Also Published As

Publication number Publication date
CN109682074A (en) 2019-04-26

Similar Documents

Publication Publication Date Title
CN109682074B (en) Control method of water heater and control method of air conditioner
US9337663B2 (en) Systems, devices, and methods for automation and energy management
CN105725791A (en) Control method and system of water dispenser, server and water dispenser
CN103982986A (en) Air conditioner and comfortable control method and device thereof
CN112947103B (en) Method, device, air conditioner and system for cleaning air in smart home system
Boait et al. A method for fully automatic operation of domestic heating
CN110926041A (en) Hot water system and control method thereof
CN107676924B (en) Dehumidifier control method and system, readable storage medium and intelligent device
CN110553367B (en) Intelligent air conditioner control method and system and air conditioner
KR102661192B1 (en) Ai switch based on occupancy
CN112781249A (en) Heating method of water heater and water heater
CN108981184A (en) A kind of intelligent water heater
CN114281134B (en) Bathroom equipment control method and device, intelligent bathroom equipment and storage medium
CN110410844A (en) A kind of electric heater control method, device, electric heater and readable storage medium storing program for executing
JP2015139066A (en) Presence/absence determination device capable
CN110514688A (en) Boiling point detecting method, device, storage medium
KR20220061048A (en) Situation based ai smart home system using ai switch and ai living information device
JP6045682B2 (en) Energy management system, system controller, thermal insulation control method and program
CN113899079B (en) Intelligent household equipment linkage control method and device and computer storage medium
CN114076394A (en) Heating control method and device of air conditioner, air conditioner and storage medium
CN113669911A (en) Heating control method, device, equipment and storage medium
CN108731272A (en) control system for water heater
CN109839969A (en) A kind of temperature automatically controlled cotton-wadded quilt
CN104034054B (en) Save water and energy the solar water heater system of constant-temperature effluent
CN103423878A (en) Method and system for automatically powering off solar water heater

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220803

Address after: 241000 west side of 3 / F, No.5 office building, new energy and new materials gathering area, Fuzhou Road, Jiangbei District, Wuhu City, Anhui Province

Patentee after: Wuhu Midea intelligent kitchen electricity Manufacturing Co.,Ltd.

Address before: 241009 Wan Chun East Road, East District, Wuhu economic and Technological Development Zone, Anhui

Patentee before: WUHU MIDEA KITCHEN AND BATH APPLIANCES MFG. Co.,Ltd.

Patentee before: MIDEA GROUP Co.,Ltd.