CN106284568B - method and system for controlling flushing of toilet - Google Patents

method and system for controlling flushing of toilet Download PDF

Info

Publication number
CN106284568B
CN106284568B CN201510324895.9A CN201510324895A CN106284568B CN 106284568 B CN106284568 B CN 106284568B CN 201510324895 A CN201510324895 A CN 201510324895A CN 106284568 B CN106284568 B CN 106284568B
Authority
CN
China
Prior art keywords
toilet
module
closestool
user
time
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.)
Expired - Fee Related
Application number
CN201510324895.9A
Other languages
Chinese (zh)
Other versions
CN106284568A (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.)
Suzhou University
Original Assignee
Suzhou University
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 Suzhou University filed Critical Suzhou University
Priority to CN201510324895.9A priority Critical patent/CN106284568B/en
Publication of CN106284568A publication Critical patent/CN106284568A/en
Application granted granted Critical
Publication of CN106284568B publication Critical patent/CN106284568B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a method for controlling flushing of a closestool, which comprises the following steps: the toilet detects whether a user opens a toilet door; if yes, the closestool detects whether the distance value between the user and the closestool is within a first distance value; if yes, the closestool sends a first command to the wearable device worn by the user; after the wearable device acquires the first command, sending a second command to the closestool; the toilet judges whether a user wearing the wearable device is a boy or a girl; when the toilet bowl determines that the user wearing the wearable device is a girl, the toilet bowl cover is automatically opened, and the toilet bowl ring is closed; the closestool judges whether the closestool ring is subjected to gravity or not; if so, the toilet starts timing and judges whether the time of the gravity borne by the toilet seat is less than a first time value; if yes, the closestool automatically flushes, and the water volume of flushing is little. The invention also discloses a system for controlling the flushing of the closestool. The invention can control the water quantity of the toilet according to the time of the toilet ring under the gravity, thereby effectively reducing the waste of domestic water.

Description

Method and system for controlling flushing of toilet
Technical Field
The invention relates to the technical field of home furnishing, in particular to a method and a system for controlling flushing of a closestool.
Background
along with the development of economy, intelligent equipment has been popularized to the public life, and certainly, the development of economy can also drive the improvement of the living standard of people. The home life home with the most contact of people is also intelligent and automatic. The closestool is also an essential living household in people's family life.
however, in most households, toilets in toilets are common to both men and women. When men or women use the closestool, when the closestool is used for flushing, the water volume flushed by the closestool is uniform, namely the water volume is the same in the flushing process, so that unnecessary water volume is easily caused, and domestic water is wasted.
In view of the foregoing, it is desirable to provide a method and system for controlling flushing of a toilet to solve the above problems.
disclosure of Invention
The invention mainly solves the technical problem of providing a method and a system for controlling flushing of a closestool, which can solve the problem of water waste of flushing of the closestool.
In order to solve the technical problems, the invention adopts a technical scheme that: the method for controlling flushing of the toilet is provided, the toilet comprises a toilet cover and a toilet seat, an infrared sensor and a pressure sensor are arranged on the toilet, and the method comprises the following steps: the closestool detects whether a user opens a toilet door or not through an infrared sensor arranged on the closestool; if yes, the closestool detects whether the distance value between the user and the closestool is within a first distance value; if so, the closestool starts a male and female recognition function and sends a first command to the wearing equipment worn by the user; after the wearable device acquires the first command, sending a second command to the toilet, wherein the second command comprises male and female identification information; the closestool analyzes male and female identification information from the second command and judges whether the user wearing the wearable equipment is a boy or a girl according to the male and female identification information; when the toilet bowl determines that the user wearing the wearable device is a girl, the toilet bowl cover is automatically opened, and the toilet bowl ring is closed; the closestool judges whether the closestool ring bears gravity or not through the pressure sensor; if so, the toilet starts timing and judges whether the time of the gravity borne by the toilet seat is less than a first time value; if yes, the closestool automatically flushes, and the water volume of flushing is little.
wherein, the method further comprises: when the time of the toilet bowl for judging the gravity on the toilet bowl ring is greater than the first time value and less than the second time value, the toilet bowl automatically flushes water, and the water flushing amount is large.
Wherein, the method further comprises: when the time that the closestool ring receives gravity is judged to be greater than the second time value by the closestool, the closestool is automatically flushed, the water yield of flushing is large, and meanwhile, the closestool ring reminds the user of not squatting for a long time in a vibration mode.
Wherein, the method further comprises: when the toilet bowl determines that the user wearing the wearable device is a boy student, judging whether the distance between the user and the toilet bowl is within a second distance value, wherein the first distance value is larger than the second distance value; when the closestool determines that the distance between the user and the closestool is within a second distance value, the closestool cover and the closestool ring are automatically opened, and meanwhile, the closestool judges whether the time that the user is within the second distance is less than a first time value or not; and when the toilet bowl determines that the time that the user is in the second distance is less than the first time value, the toilet bowl automatically flushes water, and the flushing water amount is small.
wherein, the method further comprises: when the toilet bowl determines that the toilet bowl ring is subjected to the gravity through the pressure sensor and determines that the time of the gravity of the toilet bowl ring is greater than a first time value and less than a second time value, the toilet bowl automatically flushes water, and the water flushing amount is large; the method further comprises the following steps: when the toilet bowl determines that the time of the toilet bowl ring subjected to the gravity is greater than the second time value, the toilet bowl automatically flushes water, the water volume of the flushed water is large, and meanwhile the toilet bowl ring reminds a user of not squatting for a long time in a vibration mode.
in order to solve the technical problem, the invention adopts another technical scheme that: the utility model provides a system for controlling closestool bath, the system includes closestool and wearing equipment, and the closestool includes infrared module, first distance judgement module, start module, transceiver module, man and woman identification module, toilet lid module, toilet seat module, pressure sensor module, timing module and first bath module, wherein: the infrared module is used for detecting whether a user opens the toilet door or not; the first distance judgment module is used for detecting whether the distance value between the user and the closestool is within a first distance value when the infrared module determines that the toilet door is opened by the user; the starting module is used for starting the male and female identification function when the first distance judgment module determines that the distance value between the user and the closestool is within the first distance value; the receiving and sending module is used for sending a first command to the wearing equipment worn by the user after the starting module starts the male and female identification function; after the wearable device acquires the first command, sending a second command to the transceiver module, wherein the second command comprises male and female identification information; the male and female identification module is used for analyzing male and female identification information from the second command and judging whether the user wearing the wearable device is a boy or a girl according to the male and female identification information; the toilet cover module is used for automatically opening the toilet cover of the toilet cover module when the male and female identification module determines that the user wearing the wearing equipment is a girl; the toilet seat module is used for automatically closing the toilet seat of the toilet seat module when the male and female identification module determines that the user wearing the wearing equipment is a girl; the pressure sensor module is used for judging whether the toilet seat bears gravity; the timing module is used for starting timing when the pressure sensing module determines that the toilet seat is subjected to gravity; the first flushing module is used for automatically flushing water when the timing module determines that the time of the gravity borne by the toilet seat is less than a first time value, and the flushing water amount is small.
Wherein, the closestool still includes: and the second flushing module is used for automatically flushing water when the timing module determines that the time of the gravity borne by the toilet seat is greater than the first time value and less than the second time value, and the water flushing amount is large.
Wherein, the closestool still includes the warning module, and the warning module is used for confirming when the time of the gravity that the toilet seat received is greater than the second time value at the timing module, automatic flushing, and the water yield of washing by water is big, and the toilet seat reminds the user with the vibration mode simultaneously and can not squat for a long time and sit.
The toilet further comprises a second distance judgment module, wherein the second distance judgment module is used for judging whether the distance between a user and the toilet is within a second distance value when the male and female identification module determines that the user wearing the wearing equipment is male, and the first distance value is larger than the second distance value; the toilet seat module and the toilet seat module are also used for automatically opening the toilet seat of the toilet seat module and the toilet seat of the toilet seat module when the second distance judgment module determines that the distance between the user and the toilet is within a second distance value; the timing module is also used for calculating the time when the user is within the second distance; the first flushing module is also used for automatically flushing water when the timing module determines that the time of the user in the second distance is less than the first time value, and the flushing water amount is small.
The toilet further comprises a second flushing module and a reminding module, wherein the second flushing module is used for automatically flushing water when the pressure sensor module determines that the toilet seat is subjected to gravity and the timing module determines that the time of the gravity applied to the toilet seat is greater than a first time value and less than a second time value, and the flushing water amount is large; the reminding module is used for automatically flushing when the timing module determines that the time of the toilet seat receiving the gravity is larger than a second time value, the water quantity of flushing is large, and meanwhile the toilet seat reminds a user of not squatting for a long time in a vibration mode.
The invention has the beneficial effects that: in contrast to the state of the art, the method of controlling the flushing of a toilet of the present invention comprises: the toilet detects whether a user opens a toilet door; if yes, the closestool detects whether the distance value between the user and the closestool is within a first distance value; if yes, the closestool sends a first command to the wearable device worn by the user; after the wearable device acquires the first command, sending a second command to the closestool; the toilet judges whether a user wearing the wearable device is a boy or a girl; when the toilet bowl determines that the user wearing the wearable device is a girl, the toilet bowl cover is automatically opened, and the toilet bowl ring is closed; the closestool judges whether the closestool ring is subjected to gravity or not; if so, the toilet starts timing and judges whether the time of the gravity borne by the toilet seat is less than a first time value; if the toilet is automatically flushed and the flushing water amount is small, the water volume of the toilet can be controlled according to the time of the toilet ring subjected to gravity, so that the waste of domestic water is effectively reduced, and the user experience is improved.
Drawings
FIG. 1 is a schematic flow diagram of a first embodiment of a method of controlling a flush of a toilet of the present invention;
FIG. 2 is a schematic flow chart of a first embodiment of a method of controlling toilet flushing according to the present invention;
FIG. 3 is a schematic diagram of the system for controlling flushing of a toilet according to the present invention;
Fig. 4 is a schematic structural view of the toilet bowl of fig. 3.
Detailed Description
The present invention will be described in detail below with reference to the accompanying drawings and embodiments.
Referring to fig. 1, fig. 1 is a schematic flow chart of a first embodiment of a method for controlling flushing of a toilet according to the present invention, in which a toilet bowl includes a toilet bowl cover and a toilet seat, and an infrared sensor and a pressure sensor are disposed on the toilet bowl, preferably, the infrared sensor is disposed on the toilet bowl cover, and the pressure sensor is disposed on the toilet seat. The method comprises the following steps:
step S101: and starting. It should be understood that this step should be a toilet activation step, which may be activated at a preset time, and not activated at a later time in the evening, such as at time point 00: 00 to time point 06: 00 do not activate the toilet, and activate the toilet during other periods of time, such as daytime.
Step S102: the toilet bowl detects whether a user opens a toilet door through an infrared sensor mounted on the toilet bowl.
In this step, the direction in which the infrared sensor emits the light corresponds to the toilet door, and is determined in the following manner: when the toilet door is closed, the toilet door blocks the emission optics of the infrared sensor, and at the moment, the toilet can determine that the toilet door is closed; if the toilet door is open, the toilet door does not block the emission optics of the infrared sensor, and the toilet can now determine that the toilet door is open.
If the toilet bowl detects that the user opens the toilet door through the infrared sensor mounted on the toilet bowl, the step S103 is performed: the toilet detects whether a distance value of a user from the toilet is within a first distance value.
In this step, the closestool communicates with the wearing equipment worn by the user, so that the distance between the closestool and the wearing equipment is detected through the closestool, and the action that the closestool detects the distance between the user and the closestool is realized. Further, the closestool realizes measuring the distance between the user and the closestool through an infrared sensor. It should be understood that the invention is based on the user wearing a wearable device to work, which can be a ring, bracelet, necklace or other wearable device.
If the toilet does not check that the user opens the door of the toilet through the infrared sensor installed at the toilet or if the toilet detects that the distance value between the user and the toilet is not within the first distance value, it returns to step S101.
If the toilet detects that the distance value between the user and the toilet is within the first distance value, executing step S104: the toilet starts a male and female recognition function and sends a first command to the wearable device worn by the user.
Step S105: after the wearable device acquires the first command, a second command is sent to the closestool. Wherein the second command includes male and female identification information.
in this step, the male and female identification information is used to identify whether the wearing apparatus is a male wearing apparatus or a female wearing apparatus. It should be understood that the present invention sets male and female identification information on the wearable device in advance, that is, if a boy wears the wearable device, an ID belonging to the boy wearing device is set on the wearable device; if the girl wears the wearable device, an ID belonging to the girl wearable device is set on the wearable device.
Step S106: the toilet judges whether the user wearing the wearable device is a boy or a girl according to the male and female identification information.
in the step, if the closestool analyzes that the male and female identification information contains the ID of the female wearable device, the closestool judges that the user wearing the wearable device is a girl; if the ID of the male and female wearable equipment is analyzed by the closestool and contained in the male and female identification information, the closestool judges that the user wearing the wearable equipment is a boy.
step S107: when the toilet bowl determines that the user wearing the wearing equipment is a girl, the toilet bowl cover is automatically opened, and the toilet bowl ring is closed.
because men and women use the toilet differently, when the toilet is used by women, the toilet cover is preferably opened and the toilet ring is closed; when the closestool is used by boys, the closestool ring and the closestool cover are preferably closed, so that urine can be prevented from being sprayed on the closestool ring, the sanitation of the closestool is effectively improved, and the boys can manually close the closestool ring.
In this embodiment, one end of the toilet lid is provided with a motor, which can automatically close and open the toilet lid; similarly, one end of the toilet seat is also provided with a motor which can automatically close and open the toilet seat.
step S108: the closestool judges whether the closestool ring is subjected to gravity or not through the pressure sensor.
In step S108, when the toilet bowl needs to be used, the girl defecates or urinates and squats on the toilet bowl, and the pressure sensor of the toilet seat is under pressure.
If the toilet bowl determines that the toilet bowl ring is not subjected to gravity through the pressure sensor, returning to the step S108; if the toilet bowl determines that the toilet bowl is subjected to gravity through the pressure sensor, step S109 is performed: the toilet begins timing.
step S110: the toilet judges whether the time of the gravity on the toilet seat is less than a first time value. Wherein the first time value is shorter, which is the time for urination, and preferably the first time value is less than 60s (seconds).
If the toilet bowl determines that the time of the gravity force applied to the toilet seat is less than the first time value, executing step S111: the closestool flushes automatically, and the volume of the water that flushes is few.
In this step, the girl urinates, so that a small amount of water is required to be flushed, and waste of water can be prevented.
when the toilet judges that the time of the gravity on the toilet seat is not less than the first time value, the step S112 is executed: the toilet bowl judges whether the time of the gravity on the toilet seat is greater than a first time value and less than a second time value.
In step S11, the time period from the first time value to the second time value is a stool time, and therefore, the time is long, and preferably, the second time value is less than 5 minutes, 8 minutes, 10 minutes or other time, and the like, which is determined by design.
if the toilet determines that the time of the gravity force applied to the toilet seat is greater than the first time value and less than the second time value, the step S113 is executed: the closestool flushes automatically, and the volume of the water that flushes is big.
In step S113, if the girl is stool at this time, the amount of water required to be flushed is large.
if the toilet determines that the time of the toilet seat receiving the gravity is not greater than the first time value and not less than the second time value, i.e. if the toilet determines that the time of the toilet seat receiving the gravity is greater than the second time value, step S114 is performed: the closestool flushes water automatically, and the water yield of flushing water is big, and the closestool circle reminds the user with the vibration mode can not squat for a long time and sit.
for healthy life, the time for getting to the toilet is not too long, so in step S114, if the time for getting to the toilet is too long, the toilet seat will automatically remind the user, providing a healthy platform for the user. It should be understood that the motor arranged in the toilet seat generates vibration so as to achieve uncomfortable squatting and sitting feeling for users.
In addition, the method further comprises the following steps: when the closestool determines that the toilet seat is changed from gravity to zero through the pressure sensor and determines that the distance value between the user and the closestool is larger than the first distance value, the moment indicates that the user does not need the closestool, and the closestool cover is automatically closed.
Certainly, in other embodiments, the toilet may further detect a physiological index of the urine of the user, that is, the toilet may detect a physiological index parameter of the urine, such as a ph value, a urine specific gravity, a urine sugar concentration, a urine protein, and a urine ketone body, and send the physiological index parameter to the wearable device, so that the user obtains the physiological index parameter of the wearable device through the application program, thereby detecting the physiological health of the user.
Of course, in other embodiments, the toilet is used to detect whether the toilet is malfunctioning, of course. Preferably, the closestool is used for detecting whether the closestool blocks up the trouble, and the closestool is through whether the ponding that detects in the closestool exceeds preset height or whether the water that detects in the closestool flows and gets out and judge whether the closestool blocks up the trouble, if take place to block up the trouble in the closestool, the closestool can send trouble order to wearing equipment to make the user learn in time to maintain relevant work after the closestool blocks up the trouble.
Referring to fig. 2, fig. 2 is a flow chart illustrating a method for controlling flushing of a toilet according to a second embodiment of the present invention. The method comprises the following steps:
step S201: and starting.
step S202: the toilet bowl detects whether a user opens a toilet door through an infrared sensor mounted on the toilet bowl.
if the toilet bowl detects that the user opens the door of the toilet through the infrared sensor installed on the toilet bowl, step S203 is performed: the toilet detects whether a distance value of a user from the toilet is within a first distance value.
If the toilet does not check that the user opens the door of the toilet through the infrared sensor installed at the toilet or if the toilet detects that the distance value between the user and the toilet is not within the first distance value, it returns to step S201.
If the toilet detects that the distance value between the user and the toilet is within the first distance value, executing step S204: the toilet starts a male and female recognition function and sends a first command to the wearable device worn by the user.
Step S205: after the wearable device acquires the first command, a second command is sent to the closestool. Wherein the second command includes male and female identification information.
Step S206: the toilet judges whether the user wearing the wearable device is a boy or a girl according to the male and female identification information.
Step S201, step S202, step S203, step S204, step S205, and step S206 in fig. 2 are the same as step S101, step S102, step S103, step S104, step S105, and step S106 in fig. 1, and are not repeated herein.
step S207: when the toilet bowl determines that the user equipped with the wearing equipment is a boy student, whether the distance between the user and the toilet bowl is within a second distance value is judged.
In this step, the second distance value, which is a distance value at which the user approaches the toilet bowl, is smaller than the first distance value, and preferably, the second distance value is less than 20cm (centimeters).
if the toilet determines that the distance between the user and the toilet is not within the second distance value, returning to step S207; if the toilet determines that the user is within a second distance value from the toilet, now indicating that the user is very close to the toilet, step S208 is performed: the toilet lid and the toilet seat are automatically opened, and meanwhile the toilet judges whether the fact that the user is located within the second distance value is smaller than the first time value.
step S209: and when the toilet bowl determines that the time of the user within the second distance value is less than the first time value, the toilet bowl automatically flushes water, and the flushing water amount is small.
It should be understood that, in step S209, the toilet lid and the toilet seat are both in the open state, which is a step of the boy urinating, and thus a small amount of water may be flushed.
step S210: when the toilet bowl determines that the toilet bowl ring is subjected to the gravity through the pressure sensor and determines that the time of the gravity of the toilet bowl ring is greater than the first time value and less than the second time value, the toilet bowl automatically flushes water, and the water flushing amount is large.
In this step, the male is in the process of defecation, and the time is long, so a large amount of water is flushed. In addition, it is worth noting that the boy can close the toilet seat manually, and the toilet seat at this step is closed and the toilet cover is opened.
step S211: when the toilet bowl determines that the time of the toilet bowl ring subjected to the gravity is greater than the second time value, the toilet bowl automatically flushes water, the water volume of the flushed water is large, and meanwhile the toilet bowl ring reminds a user of not squatting for a long time in a vibration mode.
In this step, the male is in the process of defecation, and the time is long, so a large amount of water is flushed. But the user is automatically reminded when the squatting toilet bowl is too long.
In addition, the method further comprises the following steps: when the closestool determines that the toilet seat is changed from gravity to zero through the pressure sensor and determines that the distance value between the user and the closestool is larger than the first distance value, the moment indicates that the user does not need the closestool, and the closestool cover is automatically closed.
Certainly, in other embodiments, the toilet may further detect a physiological index of the urine of the user, that is, the toilet may detect a physiological index parameter of the urine, such as a ph value, a urine specific gravity, a urine sugar concentration, a urine protein, and a urine ketone body, and send the physiological index parameter to the wearable device, so that the user obtains the physiological index parameter of the wearable device through the application program, thereby detecting the physiological health of the user.
As shown in fig. 3 and 4, fig. 3 is a schematic structural view of a system for controlling flushing of a toilet bowl according to the present invention, and fig. 4 is a schematic structural view of the toilet bowl of fig. 3. The system for controlling flushing of the toilet in fig. 3 corresponds to the method for controlling flushing of the toilet in fig. 1 and 2, and the disclosed system for controlling flushing of the toilet comprises a toilet 11 and a wearable device 12, and data communication can be performed between the toilet 11 and the wearable device 12.
the toilet 11 includes an infrared module 111, a first distance determining module 112, a starting module 113, a transceiver module 114, a male and female identification module 115, a toilet lid module 116, a toilet seat module 117, a pressure sensor module 118, a second distance determining module 119, a timing module 120, a first flushing module 122, a second flushing module 121, and a reminder module 123. The infrared module 111 is disposed on the toilet lid module 116, and the pressure sensor module 118 is disposed on the toilet seat module 117.
the infrared module 111 is used to detect whether the user opens the door of the toilet.
The first distance determining module 112 is configured to detect whether the distance value between the user and the toilet 11 is within a first distance value when the infrared module 111 determines that the user opens the toilet door.
the starting module 113 is configured to start the male and female recognition function when the first distance determination module 112 determines that the distance value between the user and the toilet 11 is within the first distance value.
The transceiver module 114 is configured to send a first command to the wearable device 12 worn by the user after the start module 113 starts the male and female identification function.
after acquiring the first command, the wearable device 12 sends a second command to the transceiver module 114, where the second command includes male and female identification information.
The male and female identification module 115 is configured to parse the male and female identification information from the second command, and determine whether the user wearing the wearable device 12 is a male or a female through the male and female identification information.
The toilet lid module 116 is configured to automatically open the toilet lid of the toilet lid module 116 when the male and female identification module 115 determines that the user wearing the wearable device 12 is a girl.
the toilet seat module 117 is configured to automatically close the toilet seat of the toilet seat module 117 when the male and female identification module 115 determines that the user wearing the wearable device 12 is a girl.
The pressure sensor module 118 is used to determine whether the toilet seat is subject to gravity.
The timing module 120 is configured to start timing when the pressure sensing module 118 determines that the toilet seat is subjected to gravity.
The first flushing module 122 is configured to flush automatically when the timing module 120 determines that the time of the gravity applied to the toilet seat is less than the first time value, and the amount of water flushed is small.
The second flushing module 121 is configured to automatically flush water when the timing module 120 determines that the time of the gravity applied to the toilet seat is greater than the first time value and less than the second time value, and the quantity of the flushed water is large.
The reminding module 123 is configured to automatically flush water when the timing module 120 determines that the time of the gravity on the toilet seat is greater than the second time value, and the water volume of the flushed water is large, and meanwhile, the toilet seat reminds the user of not sitting squat for a long time in a vibration mode.
The second distance determination module 119 is configured to determine whether the distance between the user and the toilet 12 is within a second distance value when the male and female identification module 115 determines that the user wearing the wearable device is a boy student, where the first distance value is greater than the second distance value.
The toilet seat module 117 and the toilet seat module 116 are further configured to automatically open the toilet seat of the toilet seat module 117 and the toilet seat of the toilet seat module 116 when the second distance determination module 119 determines that the distance between the user and the toilet is within the second distance value.
The timing module 120 is also configured to calculate a time that the user is within the second distance.
The first flush module 122 is further configured to flush automatically when the timing module 120 determines that the time that the user is within the second distance is less than the first time value, and the flush water amount is small.
The second flushing module 123 is further configured to flush automatically when the pressure sensor module 118 determines that the toilet seat is subjected to gravity and the timing module 120 determines that the time of the gravity applied to the toilet seat is greater than the first time value and less than the second time value, and the amount of water flushed is large.
the reminding module 123 is further configured to automatically flush water when the timing module 120 determines that the time that the toilet seat receives the gravity is greater than the second time value, and the water volume of flushing water is large, and meanwhile, the toilet seat reminds the user of not squatting for a long time in a vibration manner.
in addition, the toilet seat module 117 and/or the toilet lid module 116 are further configured to automatically close the toilet seat and the toilet lid when the pressure sensor module 118 determines that the toilet seat is changed from gravity to gravity and the first distance determining module 111 determines that the distance between the user and the toilet is greater than the first distance.
Of course, in other embodiments, the toilet 11 further includes a sampling module (not shown), and the sampling module can detect the physiological index of the urine of the user, that is, the toilet can detect the physiological index parameters of the urine, such as the ph value, the specific gravity, the urine sugar concentration, the urine protein, and the urine ketone body. The transceiver module 114 transmits the physiological index parameter to the wearable device 12, so that the user can obtain the physiological index parameter of the wearable device 12 through the application program, thereby detecting the physiological health of the user.
Of course, in other embodiments, the toilet 11 further includes a fault module (not shown) for detecting whether the toilet 11 is faulty. Preferably, the trouble module is used for detecting whether the closestool 11 takes place to block up the trouble, and the trouble module judges whether the closestool 11 takes place to block up the trouble through detecting whether ponding in the closestool 11 exceeds preset height or whether the water that detects in the closestool 11 flows out, if take place to block up the trouble in the closestool 11, closestool 11 can send the trouble order to wearing equipment 12 to make the user learn to in time maintain relevant work after closestool 11 takes place to block up the trouble.
In summary, the method for controlling flushing of a toilet according to the present invention comprises: the toilet detects whether a user opens a toilet door; if yes, the closestool detects whether the distance value between the user and the closestool is within a first distance value; if yes, the closestool sends a first command to the wearable device worn by the user; after the wearable device acquires the first command, sending a second command to the closestool; the toilet judges whether a user wearing the wearable device is a boy or a girl; when the toilet bowl determines that the user wearing the wearable device is a girl, the toilet bowl cover is automatically opened, and the toilet bowl ring is closed; the closestool judges whether the closestool ring is subjected to gravity or not; if so, the toilet starts timing and judges whether the time of the gravity borne by the toilet seat is less than a first time value; if the toilet is automatically flushed and the flushing water amount is small, the water volume of the toilet can be controlled according to the time of the toilet ring subjected to gravity, so that the waste of domestic water is effectively reduced, and the user experience is improved.
the above description is only an 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 performed by the present specification and drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (1)

1. A method of controlling flushing of a toilet, the toilet comprising a toilet lid and a toilet rim, wherein the toilet is provided with an infrared sensor and a pressure sensor, the method comprising:
the closestool detects whether a user opens a toilet door or not through an infrared sensor arranged on the closestool;
If so, the toilet detects whether the distance value between the user and the toilet is within a first distance value;
If yes, the closestool starts a male and female recognition function and sends a first command to the wearable device worn by the user:
after the wearable device acquires the first command, sending a second command to the closestool, wherein the second command comprises male and female identification information;
The closestool analyzes the male and female identification information from the second command and judges whether the user wearing the wearable equipment is a boy or a girl according to the male and female identification information;
When the toilet bowl determines that the user wearing the wearable device is a girl, the toilet bowl cover is automatically opened, and the toilet bowl ring is closed;
The toilet bowl judges whether the toilet bowl ring bears gravity through the pressure sensor;
If so, the toilet starts to time, and whether the time of the gravity borne by the toilet seat is less than a first time value is judged;
if yes, the closestool automatically flushes water, and the water volume flushed by the closestool is small;
The method further comprises the following steps:
when the toilet judges that the time of the gravity borne by the toilet seat is greater than the first time value and less than the second time value, the toilet automatically flushes water, and the water flushing amount is large;
the method further comprises the following steps:
When the toilet bowl judges that the time of the toilet bowl ring subjected to the gravity is greater than the second time value, the toilet bowl automatically flushes water, the water volume of the flushed water is large, and meanwhile the toilet bowl ring reminds the user of not squatting for a long time in a vibration mode;
the method further comprises the following steps:
When the toilet determines that a user wearing the wearable device is a boy student, judging whether the distance between the user and the toilet is within a second distance value, wherein the first distance value is larger than the second distance value;
when the toilet bowl determines that the distance between the user and the toilet bowl is within the second distance value, the toilet bowl cover and the toilet bowl ring are automatically opened, and meanwhile, the toilet bowl judges whether the time that the user is within the second distance is smaller than the first time value or not;
When the toilet determines that the time that the user is located in the second distance is less than the first time value, the toilet automatically flushes water, and the quantity of the flushed water is small;
The method further comprises the following steps:
When the toilet bowl determines that the toilet bowl ring is subjected to gravity through the pressure sensor and determines that the time of the gravity applied to the toilet bowl ring is greater than the first time value and less than a second time value, the toilet bowl automatically flushes water, and the water flushing amount is large;
The method further comprises the following steps:
When the toilet bowl determines that the time of the toilet bowl ring subjected to the gravity is greater than the second time value, the toilet bowl automatically flushes water, the water volume of the flushed water is large, and meanwhile the toilet bowl reminds the user of not squatting for a long time in a vibration mode;
The control closestool is washed by water and is equipped with water flushing system, the system includes closestool and wearing equipment, the closestool includes infrared module, first distance judgement module, start-up module, transceiver module, man and woman identification module, toilet lid module, toilet seat module, pressure sensor module, timing module and first water flushing module, wherein:
The infrared module is used for detecting whether a user opens a toilet door;
the first distance judgment module is used for detecting whether the distance value between the user and the closestool is within a first distance value or not when the infrared ray module determines that the user opens the door of the toilet;
the starting module is used for starting a male and female identification function when the first distance judgment module determines that the distance value between the user and the closestool is within the first distance value;
The transceiver module is used for sending a first command to the wearable device worn by the user after the start module starts the male and female identification function:
After the wearable device acquires the first command, sending a second command to the transceiver module, wherein the second command comprises male and female identification information;
The male and female identification module is used for analyzing the male and female identification information from the second command and judging whether a user wearing the wearable device is a boy or a girl according to the male and female identification information;
The toilet cover module is used for automatically opening the toilet cover of the toilet cover module when the male and female identification module determines that the user wearing the wearing equipment is a girl;
The toilet seat module is used for automatically closing the toilet seat of the toilet seat module when the male and female identification module determines that the user wearing the wearing equipment is a girl;
The pressure sensor module is used for judging whether the toilet seat bears gravity;
the timing chess block is used for starting timing when the pressure sensing module determines that the toilet seat bears gravity;
The first flushing module is used for automatically flushing water when the timing module determines that the time of the gravity borne by the toilet seat is less than a first time value, and the flushing water amount is small;
The toilet further includes:
The second flushing module is used for automatically flushing water when the timing module determines that the time of the gravity borne by the toilet seat is greater than the first time value and less than a second time value, and the flushing water amount is large;
the closestool also comprises a reminding module which is used for reminding people
the timing module is used for automatically flushing water when the timing module determines that the time of the gravity borne by the toilet seat is greater than a second time value, the water quantity of the flushed water is large, and meanwhile the toilet seat reminds the user of not being capable of squatting for a long time in a vibration mode;
The toilet further comprises a second distance judgment module, wherein
the second distance judgment module is used for judging whether the distance between the user and the closestool is within a second distance value when the male and female identification module determines that the user wearing the wearing equipment is a boy student, wherein the first distance value is larger than the second distance value;
The toilet seat module and the toilet seat module are further used for automatically opening the toilet seat of the toilet seat module and the toilet seat of the toilet seat module when the second distance judgment module determines that the distance between the user and the toilet is within the second distance value:
The timing module is further configured to calculate a time that the user is within the second distance;
the first flushing module is also used for automatically flushing water when the timing module determines that the time of the user in the second distance is less than the first time value, and the flushing water amount is small;
the toilet also comprises a second flushing module and a reminding module,
The second flushing module is used for automatically flushing water when the pressure sensor module determines that the toilet seat is subjected to gravity and the timing module determines that the time of the gravity applied to the toilet seat is greater than the first time value and less than a second time value, and the water volume of flushing water is large;
the reminding module is used for automatically flushing water when the timing module determines that the time of the toilet seat subjected to gravity is greater than the second time value, the water volume of the flushing water is large, and meanwhile, the toilet seat reminds the user of not being capable of squatting for a long time in a vibration mode;
The closestool can also detect the physiological indexes of the urine of the user, namely the closestool can detect the physiological index parameters of the urine such as pH value, urine specific gravity, urine sugar concentration, urine protein, urine ketone body and the like, and send the physiological index parameters to the wearable equipment, so that the user can obtain the physiological index parameters of the wearable equipment through an application program;
The closestool also comprises a fault module, the fault module is used for detecting whether the closestool breaks down, the fault module judges whether the closestool breaks down by detecting whether accumulated water in the closestool exceeds the preset height or whether water in the closestool flows out, if the closestool breaks down, the closestool can send a fault command to the wearing equipment, so that a user can know that the closestool breaks down and then timely maintain related work.
CN201510324895.9A 2015-06-04 2015-06-04 method and system for controlling flushing of toilet Expired - Fee Related CN106284568B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510324895.9A CN106284568B (en) 2015-06-04 2015-06-04 method and system for controlling flushing of toilet

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510324895.9A CN106284568B (en) 2015-06-04 2015-06-04 method and system for controlling flushing of toilet

Publications (2)

Publication Number Publication Date
CN106284568A CN106284568A (en) 2017-01-04
CN106284568B true CN106284568B (en) 2019-12-06

Family

ID=57650648

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510324895.9A Expired - Fee Related CN106284568B (en) 2015-06-04 2015-06-04 method and system for controlling flushing of toilet

Country Status (1)

Country Link
CN (1) CN106284568B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108396836A (en) * 2018-03-27 2018-08-14 深圳市博电电子技术有限公司 Go to the toilet device and its automatic flushing method
CN109343428A (en) * 2018-11-20 2019-02-15 深圳市林辰展华科技有限公司 A kind of gravity sensing closestool
CN110397132A (en) * 2019-08-08 2019-11-01 何艺淡 Infrared electro diffusing reflection distance multisection type iversion controller
CN111142432A (en) * 2019-12-20 2020-05-12 广东华艺卫浴实业有限公司 Intelligent closestool control method and device based on distance segmentation and storage medium
CN111255033B (en) * 2020-02-25 2021-04-02 中国水利水电科学研究院 Intelligent flushing squatting pan
CN113513065A (en) * 2021-06-30 2021-10-19 谷力(厦门)科技有限公司 Intelligent closestool and control method thereof

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11172738A (en) * 1997-10-09 1999-06-29 Toto Ltd Anticipating method for behavior of human body and toilet flushing method and unit using the same
CN1401863A (en) * 2002-06-28 2003-03-12 曹增全 Full-automatic intelligent water-closet pan
JP2006132126A (en) * 2004-11-04 2006-05-25 Matsushita Electric Ind Co Ltd Toilet equipment
CN201771039U (en) * 2009-12-31 2011-03-23 陕西科技大学 Water-saving closestool capable of controlling flushing water quantity
CN203307906U (en) * 2013-06-13 2013-11-27 张立凡 Closestool with time-limiting reminding function
CN203914764U (en) * 2014-05-27 2014-11-05 宁波博帆卫浴有限公司 On a kind of toilet, can identify men and women's device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11172738A (en) * 1997-10-09 1999-06-29 Toto Ltd Anticipating method for behavior of human body and toilet flushing method and unit using the same
CN1401863A (en) * 2002-06-28 2003-03-12 曹增全 Full-automatic intelligent water-closet pan
JP2006132126A (en) * 2004-11-04 2006-05-25 Matsushita Electric Ind Co Ltd Toilet equipment
CN201771039U (en) * 2009-12-31 2011-03-23 陕西科技大学 Water-saving closestool capable of controlling flushing water quantity
CN203307906U (en) * 2013-06-13 2013-11-27 张立凡 Closestool with time-limiting reminding function
CN203914764U (en) * 2014-05-27 2014-11-05 宁波博帆卫浴有限公司 On a kind of toilet, can identify men and women's device

Also Published As

Publication number Publication date
CN106284568A (en) 2017-01-04

Similar Documents

Publication Publication Date Title
CN106284568B (en) method and system for controlling flushing of toilet
JP3876919B2 (en) Toilet bowl unit
US11536712B2 (en) Health seat for toilets and bidets
CN109577447B (en) Toilet control method and device, toilet and storage medium
CN105484331B (en) The urine Dynamic testing intelligent closestool and health services system of a kind of household
US20100141397A1 (en) System for activity recognition
CN104712038A (en) Toilet capable of intelligently monitoring health
CN110080362B (en) Closestool with automatic cover turning and flushing functions
JP3876925B2 (en) Toilet bowl unit
CN203049738U (en) Squatting pan with pressure control
JP4329123B2 (en) Urine analysis method
CN102041844B (en) Urine collecting structure for intelligent detection squatting pan
CN105756157A (en) Intelligent pedestal pan with automatic excrement detection function and control method thereof
CN205296333U (en) Toilet bowl and sit toilet seat thereof
JP3814827B2 (en) Toilet bowl unit
CN112779961A (en) Automatic flushing device and automatic flushing method for male urinal
JP3876924B2 (en) Toilet bowl unit
JP3876926B2 (en) Toilet bowl unit
CN109958172B (en) Control method and device of intelligent traditional Chinese medicine closestool
CN216195199U (en) Automatic flushing device for male urinal and urinal thereof
CN108385800B (en) Intelligent closestool and related control method and device
KR101021638B1 (en) Blood perception method of bidet
CN201896356U (en) Urine collecting structure of intelligent detection water closet
CN105756156A (en) Intelligent pedestal pan capable of automatically sensing defecation and controlling flow and control method for intelligent pedestal pan
CN109424039A (en) A kind of intellectual water closet and its control method with automatic detection excreta function

Legal Events

Date Code Title Description
DD01 Delivery of document by public notice

Addressee: Deng Yong

Document name: Notification of Acceptance of Patent Application

C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20191206

Termination date: 20200604