Disclosure of Invention
The invention mainly aims to provide a toilet bowl control method, a controller and a storage medium, and aims to solve the problem that the function setting of the existing toilet bowl cannot adapt to different individual cold and hot requirements of users.
In order to achieve the purpose, the invention provides a toilet bowl control method, which comprises the following steps: acquiring a body surface temperature value of the target user;
acquiring a target working temperature value corresponding to the body surface temperature value;
and controlling corresponding heating parts of the toilet bowl to heat according to the target working temperature value, wherein the heating parts of the toilet bowl comprise at least one of a water tank heater, a flushing water heater, a drying heater and a seat ring heater.
Preferably, when the heating element is at least one of a water tank heater, a drying heater and a seat heater, the target working temperature value is a target working temperature group corresponding to the body surface temperature value and including a plurality of target working temperature values.
Preferably, the toilet bowl control method further comprises:
detecting whether a target user exists in a preset position range of the toilet;
and when the target user exists in the preset position range, executing the step of acquiring the body surface temperature value of the target user.
Preferably, the first and second liquid crystal materials are,
the step of controlling the corresponding heating element of the toilet bowl to heat according to the target working temperature value comprises the following steps:
turning on a water tank heater and the seat ring heater;
and controlling the water tank heater and the seat ring heater to be heated to corresponding target working temperature values.
Preferably, the step of controlling the corresponding heating element of the toilet bowl to heat according to the target operating temperature value further includes:
turning on the drying heater;
and controlling the air outlet temperature of the drying heater to be heated to a corresponding target working temperature value.
Preferably, after the step of controlling the water tank heater and the seat ring heater to be heated to the corresponding target operating temperatures, the step of controlling the corresponding heating members of the toilet bowl to be heated according to the target operating temperature values further includes:
detecting a distance between the target user and the toilet bowl;
and when the distance is reduced and the distance of the target user relative to the toilet bowl is less than a preset distance, increasing the target working temperature values corresponding to the water tank heater and the seat ring heater.
Preferably, the step of increasing the target operating temperature of the water tank heater and the seat ring heater further comprises:
increasing the heating power of the water tank heater and the seat ring heater.
In order to achieve the above object, the present invention provides a toilet stool, including:
a toilet body;
a heating member;
a temperature sensor;
a controller;
a memory; and
the application program of the toilet bowl control method comprises the steps that the heating parts comprise at least one of a water tank heater, a flushing water heater, a drying heater and a seat ring heater, the controller is respectively connected with the heating parts, the temperature sensor and the memory, and the controller controls the heating parts to heat according to the heating temperature value of the heating device corresponding to the heating parts and detected by the temperature sensor;
said application program being stored in said memory, said application program, when executed by said controller, implementing the steps of said toilet control method.
Preferably, the toilet bowl further comprises an infrared sensor, wherein the infrared sensor is arranged on the toilet bowl and used for detecting the body surface temperature value of the user.
In order to achieve the above object, the present invention also provides a computer readable storage medium storing an application program of a toilet bowl control method, the application program implementing the steps of the toilet bowl control method when being executed by a controller.
According to the toilet control method provided by the invention, the body surface temperature value of a target user is obtained, the target working temperature value corresponding to the body surface temperature value is further obtained, and then the corresponding heating parts of the toilet are controlled to heat according to the target working temperature value, wherein the corresponding heating parts comprise at least one of a water tank heater, a flushing water heater, a drying heater and a seat ring heater. Because the difference of user's body surface temperature has represented the difference of user's current cold and hot impression, consequently through the target operating temperature value that the heating member corresponds with user's body surface temperature determination, consequently the target operating temperature value of heating member suits with the current cold and hot impression of user, can make the user promote the travelling comfort that the user used toilet bowl when using the equipment of these heating members heating.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the descriptions relating to "first", "second", etc. in the present invention are 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 embodiments of the present invention, "a plurality" means two or more unless specifically limited otherwise. In addition, technical solutions between various embodiments may be combined with each other, but must be realized by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope of the present invention.
FIG. 1 is a flow chart illustrating a toilet bowl control method according to an embodiment of the present invention, the toilet bowl control method according to a first embodiment of the present invention is shown in FIG. 1, and includes the steps of:
step S10, obtaining a body surface temperature value of the target user;
step S20, acquiring a target working temperature value corresponding to the body surface temperature value;
and step S30, controlling corresponding heating parts of the toilet bowl to heat according to the target working temperature value, wherein the heating parts of the toilet bowl comprise at least one of a water tank heater, a flushing water heater, a drying heater and a seat ring heater.
Wherein the surface temperature value of the target user refers to the body surface temperature value of the user, such as the temperature of the hand and the face, which can be obtained by wearable devices such as a bracelet and a smart watch based on human body wearing, the temperature of the skin surface of the human body can be detected by the temperature sensors of the devices, or the temperature value can be obtained by the sensors arranged on the toilet bowl, such as a matrix infrared sensor, the sensors can detect the temperature value of each part of the body surface, and then the temperature value can be converted into the body surface temperature value by a certain algorithm, of course, the infrared sensors are not necessarily arranged on the toilet bowl, but also can be arranged on other devices, such as an air conditioner arranged in a living room, because the air conditioner can be networked with a router at home, the toilet bowl can read the body surface temperature value detected by the infrared sensor on the air conditioner through the router, as shown in fig. 2, a matrix infrared sensor may scan a human body to obtain a thermal image, wherein the thermal image may obtain a temperature value of each small square grid region, i.e. one pixel, in an array arrangement manner, and the difference in color depth of each small square grid region in the figure represents the difference in temperature value. Because the temperature value on the surface of the human body reflects the thermal comfort state of the human body, when the temperature of the surface of the human body is high, the human body is relatively hot at present, and if the human body just returns to home through movement, the high temperature of the surface of the human body is detected.
After the surface temperature value of the target user is obtained, the target working temperature value corresponding to the heating element of the toilet can be determined according to the body surface temperature value, wherein the target working temperature value is the temperature value corresponding to different heating elements, namely, different heating elements correspond to different target working temperature values, and the target working temperature values heated by the water tank heater and the seat ring heater are different. And finally, when the heating element of the toilet bowl works, the corresponding heating element is controlled to work by adopting the target working temperature value.
The heating member of above-mentioned toilet bowl indicates water tank heater, sparge water heater, stoving heater and seat circle heater one or more wherein, and water tank heater here is to the toilet bowl of heat-retaining formula, and the water supply user through preheating the water tank the inside uses up clean user's buttock behind the toilet bowl, and the sparge water heater is to the toilet bowl of instant heating type, can carry out instant heating in order to supply the user to use up clean user's buttock behind the toilet bowl to water. The drying heater is a drying device for the toilet bowl, is arranged in the drying device for the toilet bowl, and is used for drying the buttocks of a user by blowing hot air out of the drying device after the toilet bowl is used and cleaned by the user. The seat ring heater is arranged in a toilet cover of the toilet and used for heating the toilet cover so that a user feels comfortable when sitting on the toilet. When the heating element works, the heating element is heated by adopting the target working temperature value determined by the surface temperature value of the target user, so that the temperature of equipment heated by the heating element reaches the target working temperature value, if the water tank heater heats water in the water tank to the corresponding target working temperature value for cleaning the user, the flushing water heater immediately heats water to the corresponding target working temperature value for cleaning the user in the toilet, the drying heater heats the air supply temperature of the drying equipment to the corresponding target working temperature value for cleaning the user in the toilet and then drying the user, and the seat ring heater heats the toilet cover to the corresponding target working temperature value for making the user comfortable when sitting. Because user's body surface temperature value has represented user's cold and hot impression, and the target operating temperature value through confirming the heating member based on user's body surface temperature value heats the heating member, consequently, the target operating temperature value that the heating member corresponds is felt to user's cold and hot impression and establishes, if the body surface temperature value low representation user current sensation is colder when user, the target operating temperature value of water tank heater can set up high a bit this moment, and the body surface temperature value high representation user current sensation when user is hotter, the target operating temperature value of water tank heater can set up low a bit this moment, the user is when using the hot water of water tank the inside to clean like this, user's current cold and hot impression has been considered, consequently, the travelling comfort that the user used toilet bowl has been.
Further, when the heating element is at least one of a water tank heater, a drying heater and a seat ring heater, the target working temperature value is a target working temperature group corresponding to the body surface temperature value and containing a plurality of target working temperature values. Here in the heating element carries out the heating process to corresponding heating apparatus, because the difference of user and toilet bowl relevant scene can have a plurality of target operating temperature values, but not the single target operating temperature value when the user heats when using the heating element when toilet bowl. For example, for a water tank heater, water in a water tank of the water tank heater can be preheated in advance, and the preheated temperature is lower than a target working temperature value when a user actually uses a toilet, so that another target working temperature value exists.
According to the embodiment of the invention, the body surface temperature value of the target user is obtained, the target working temperature value corresponding to the body surface temperature value is further obtained, and then the corresponding heating element of the toilet is controlled to heat according to the target working temperature value, wherein the corresponding heating element comprises at least one of a water tank heater, a flushing water heater, a drying heater and a seat ring heater. Because the difference of user's body surface temperature has represented the difference of user's current cold and hot impression, consequently through the target operating temperature value that confirms heating member corresponding with user's body surface temperature value, consequently the target operating temperature value of heating member suits with the current cold and hot impression of user, can make the user promote the travelling comfort that the user used toilet bowl when using the equipment of these heating members heating.
Further, based on the toilet bowl control method according to the first embodiment of the present invention, in the toilet bowl control method according to the second embodiment of the present invention, when the body surface temperature value of the target user is obtained, whether the target user exists in the preset position range of the toilet bowl may be checked in advance, and when the target user exists in the preset position range, the body surface temperature of the target user starts to be detected and obtained.
The preset position range associated with the toilet bowl may be a position range divided by taking the toilet bowl as a reference point, for example, a sensor such as an infrared sensor arranged on the toilet bowl is used for detecting the human body movement within a preset distance range, that is, the target user is considered to be detected. Or when the terminal device with the networking function carried by the target user, such as a mobile phone and a wearable device, such as a bracelet, enters a home, if the toilet bowl also has the networking function, after the connection is established between the terminal device and the network device in the home, and when the toilet bowl is connected with the terminal device through the router at the moment, the target user is also considered to exist in the preset position range associated with the toilet bowl, as shown in a schematic diagram of the connection relationship between the toilet bowl and the terminal device and the network device, shown in fig. 3, a WIFI module is arranged in the toilet bowl, the connection can be established with the network device based on WIFI, and then the connection is established between the network device, such as the router, and the terminal device, so that the connection between the toilet bowl and the terminal device is established, wherein the target user accurately refers to the terminal device.
Or after the toilet is connected with the network equipment in the home, whether the user is in the preset position range can be detected through other equipment connected with the network, such as a network camera, for example, when the user enters the home, the network camera placed in the living room detects the user, and therefore the user is determined to be in the preset position range.
And when the detection target user is in the preset position range, the water tank heater and the seat ring heater are started, and the water tank heater and the seat ring heater are controlled to be heated to the corresponding target working temperature. Here, the tank heater and the seat heater are turned on in advance to preheat the water and the seat inside the tank, and the target operating temperature is lower than the heating temperature of the water and the seat inside the tank when the user uses the toilet. If the target working temperatures of the water tank heater and the seat ring heater are respectively 38 ℃ and 40 ℃ when a user uses the toilet, the target working temperature for preheating can be set to be 34 ℃ and 37 ℃, and because the water in the water tank and the seat ring are preheated in advance before the user uses the toilet, the user can quickly heat the corresponding target working temperature value when using the water in the water tank and the seat ring of the toilet, and the situation that the user feels uncomfortable because the devices are not heated to the target working temperatures when using the toilet is avoided.
Further, when the detection target user is in the preset position range, the water tank heater and the seat ring heater are started, the drying heater is also started, and the air outlet temperature of the drying equipment is controlled to be heated to the corresponding target working temperature. The drying equipment here means that after the clean buttock function when the user used up the toilet bowl, the hot-blast further dry buttock that blows out through drying equipment, here opens the stoving heater before the user uses the toilet bowl, and aim at preheats the seat circle in the assistance, and open simultaneously with the seat circle heater and can rise the temperature of toilet bowl seat circle and toilet bowl inside fast to preheating temperature.
Further, according to the toilet bowl control method of the second embodiment of the present invention, in the toilet bowl control method of the third embodiment of the present invention, as shown in fig. 4, the step of controlling the corresponding heating members of the toilet bowl to heat according to the target operating temperature value further includes:
step S31, detecting the distance between the target user and the toilet;
and step S32, when the distance is reduced and the distance of the target user relative to the toilet bowl is less than the preset distance, the target working temperature values corresponding to the water tank heater and the seat ring heater are increased.
When the distance between the user and the toilet bowl is reduced and the distance between the target user and the toilet bowl is smaller than the preset distance, the water tank heater and the seat ring heater are controlled to be heated to the corresponding target working temperature to be increased.
The distance between the target user and the toilet can be detected by the infrared sensor, the radar, the ultrasonic wave and other sensors on the toilet, or if the Bluetooth chip is arranged on the toilet, the Bluetooth and the toilet communicate through the inside of the mobile phone, the strength of the Bluetooth signal can also be detected by the human body and the Bluetooth signal of the toilet, and the distance can also be detected roughly, and the result detected by the infrared sensor, the Bluetooth and the ultrasonic wave sensors is not as accurate.
When the distance between a detected target user and the toilet is reduced, the fact that the user needs to use the toilet is described, therefore, the corresponding target working temperature for heating the water tank heater and the seat ring heater is increased, the temperature value after the target working temperature is increased can be the target working temperature value of the water tank heater and the seat ring heater when the user actually uses the toilet, and can also be a temperature value smaller than the target working temperature value, the purpose is to increase the temperature rise speed of heating corresponding equipment by the water tank heater and the seat ring heater, the water temperature of the water tank and the temperature of the seat ring, which can be corresponding to the user when the user uses the toilet, can reach the target temperature value for the user, and the comfort of the user in. For example: when the distance between the user and the toilet bowl is detected to be reduced and smaller than the preset distance, for example, 2 meters, the water temperature of the water tank heater heating water tank and the target working temperature of the seat ring heater heating seat ring are respectively increased to 36 ℃ and 38 ℃, or the target working temperatures can be directly increased to 38 ℃ and 40 ℃ when the user uses the toilet bowl, so that the temperature value which is firstly adaptive to the body surface temperature of the user when the user uses the toilet bowl is ensured, and the comfort of the user is improved.
Further, in accordance with a toilet bowl control method according to a third embodiment of the present invention, in the toilet bowl control method according to the fourth embodiment of the present invention, the step of increasing the target operating temperatures of the tank heater and the seat heater further includes:
the heating power of the water tank heater and the seat ring heater is increased.
When the distance between the target user and the toilet bowl is reduced and the distance between the target user and the toilet bowl is smaller than the preset distance, the heating power of the water tank heater and the seat ring heater is further increased while the heating temperature of the water tank heater and the seat ring heater is controlled to be increased to the corresponding target working temperature, so that the temperature rising speed of heating equipment of the water tank heater and the seat ring heater is increased. If it is 700W to detect the heating power that the target user controlled the water tank heater to preheat the water of water tank in the preset position within range before, increase the power of water tank heater to 900W at this stage to further promote the temperature rise speed of water tank heater to water heating, further guarantee that the temperature of the water tank that the user can correspond when using the toilet bowl and the temperature of seat circle can reach the target temperature value to the user, promote the travelling comfort that the user used the toilet bowl.
The present invention also provides a toilet 100, as shown in fig. 4, the toilet 100 includes a toilet body (not shown), a heating element 10, a temperature sensor 20, a controller 30, a memory 50 and an application 40.
Wherein controller 30, heating member 10, temperature sensor 20 all set up in the toilet bowl body, heating member 10 here includes at least one in water tank heater, sparge water heater, stoving heater and seat circle heater, when heating member 10 is a plurality of, temperature sensor 20 is also for corresponding a plurality of and set up in the corresponding equipment of heating member heating, like when heating member 10 position water tank heater, stoving heater and seat circle heater, it heats water, drying equipment and the seat circle in the water tank respectively, and corresponding temperature sensor 20 also is a plurality of respectively sets up in the water tank, drying equipment's air outlet position and seat circle respectively, realize the heating temperature detection to these equipment.
Further, the toilet 100 may further include an infrared sensor disposed on the toilet, and the user detects a body surface temperature value of the user and sends the body surface temperature value to the controller 30.
The controller 30 is respectively connected with the temperature sensor 20, the heater 10 and the memory 50, the temperature sensor 20 is used for detecting the heating temperature of the heating device corresponding to the heating element 10, and the controller 30 controls the heating device corresponding to the heater 10 to heat according to the heating temperature.
The toilet control method provided in the above-described embodiment is implemented when the controller 30 executes the application 40.
For example, application 40 may be used to execute instructions of the toilet bowl control method in the following steps:
step S10, obtaining a body surface temperature value of the target user;
step S20, acquiring a target working temperature value corresponding to the body surface temperature value;
and step S30, controlling corresponding heating parts of the toilet bowl to heat according to the target working temperature value, wherein the heating parts of the toilet bowl comprise at least one of a water tank heater, a flushing water heater, a drying heater and a seat ring heater.
The present invention further provides a computer readable storage medium, as shown in fig. 4, the computer readable storage medium of the present invention includes an application 40 used in conjunction with the controller 30 of the toilet 100, and the application 40 can be executed by the controller 30 to implement the toilet control method of any of the above embodiments of the present invention. The computer readable storage medium may be a memory 50 connected to the controller 30 as shown in fig. 4, such as a FLASH memory, or a portable memory that can be used in a mobile manner, and the memory may be integrated in the controller 30 and may be a built-in memory of the controller 30.
For example, application 40 may be used to execute instructions of the toilet bowl control method in the following steps:
step S10, obtaining a body surface temperature value of the target user;
step S20, acquiring a target working temperature value corresponding to the body surface temperature value;
and step S30, controlling corresponding heating parts of the toilet bowl to heat according to the target working temperature value, wherein the heating parts of the toilet bowl comprise at least one of a water tank heater, a flushing water heater, a drying heater and a seat ring heater.
In describing embodiments of the present invention, it should be noted that any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and that the scope of the preferred embodiments of the present invention includes additional implementations in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
The logic and/or steps represented in the flowcharts or otherwise described herein, such as an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processing module-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable storage medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable storage medium may even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.