Smart toilets, control methods, devices, systems and readable storage media thereof
By obtaining the current status of the smart toilet and performing corresponding actions based on that status, the operation process is simplified, solving the problem of complex operation of existing smart toilets and improving the user experience.
Patent Information
- Application Number
- CN202310084380.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-07
- Publication Date
- 2025-10-31
- Estimated Expiration
- 2043-02-07
AI Technical Summary
Existing smart toilets are complex to operate, have many buttons that are easy to press incorrectly, and have a high learning curve.
By obtaining pre-defined work instructions, the current status of the toilet is obtained, and corresponding actions are performed based on the current status, simplifying the operation process.
It enables complex operations to be completed with a few buttons or even just one button, thus improving the user experience.
Smart Images

Figure CN116149207B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of bathroom fixtures, specifically to a toilet control method, electronic device, toilet control device, smart toilet, toilet control system, and computer-readable storage medium. Background Technology
[0002] Existing smart toilets typically include a toilet body and a smart control system connected to the toilet body. The smart control system includes, but is not limited to, a seat ring, a lid, a flushing mechanism, and an operation panel that controls the seat ring, lid, and flushing mechanism. Generally speaking, the opening and closing of the seat ring, the opening and closing of the lid, and the activation of the flushing mechanism are all controlled by their respective buttons. For users, this is cumbersome to operate, there are many buttons, it is easy to press the wrong button, and the learning cost is high, so improvements are needed. Summary of the Invention
[0003] The purpose of this invention is to overcome the shortcomings of the prior art and provide a toilet control method, electronic device, toilet control device, smart toilet, toilet control system and computer-readable storage medium.
[0004] To address the aforementioned technical problems, this invention provides a toilet control method applied to a smart toilet, the method comprising:
[0005] Receive scheduled work instructions;
[0006] Based on the predetermined work instructions, obtain the current status of the toilet;
[0007] Based on the current state of the toilet, perform the scheduled task.
[0008] In a preferred embodiment, obtaining the predetermined working instruction specifically involves:
[0009] Upon receiving a working signal, determine whether the working signal was issued by a predetermined device;
[0010] If so, then the working signal is determined to be a predetermined working instruction;
[0011] If not, then the working signal is determined to be a predetermined working instruction.
[0012] In a preferred embodiment, the step of performing the predetermined task based on the current state of the toilet specifically involves matching the current state of the toilet with the state-task mapping module.
[0013] When the current state matches a state in the state-job mapping module, the corresponding action is performed according to the job corresponding to the state.
[0014] In a preferred embodiment, the state of the toilet includes one or more of the following: lid open, lid closed, seat open, seat closed, seated, and unseated.
[0015] In a preferred embodiment, the state-action mapping module includes one or more of the following state-action relationships:
[0016] If the cover is in the open position, the seat ring will open.
[0017] If the cover is in the closed state, execute the cover opening action;
[0018] If the seat is in the open position, perform the flushing action;
[0019] If the seat is in the closed position, perform the seat opening action;
[0020] If you are not seated, perform the rinsing action.
[0021] In a preferred embodiment, after the step of obtaining the current state of the toilet, the method further includes: determining whether the current state is a seated state; the step of performing a predetermined task based on the current state of the toilet specifically includes:
[0022] When the toilet is in a seated state, switch the toilet to seated mode based on the seated state; or
[0023] When the toilet is in an unseated state, the toilet is switched to an unseated mode based on the unseated state.
[0024] In a preferred embodiment, the seating mode includes:
[0025] Determine if the toilet has an automatic flush function.
[0026] If so, end the described seating mode;
[0027] If not, proceed with the off-seat rinse mode;
[0028] The aforementioned off-seat washing mode is specifically as follows:
[0029] Monitor toilet seat occupancy and execute a flushing action when the user leaves the seat or when a predetermined time has elapsed since leaving the seat; and / or
[0030] Monitor the toilet's off-seat status. If the time the user is off-seat is less than the predetermined time, return to the step of determining whether the current state is a seated state.
[0031] In a preferred embodiment, the unseated mode includes:
[0032] Determine if the toilet seat is open;
[0033] If not, proceed with opening the cover.
[0034] If so, check if the toilet seat is open;
[0035] The unseat mode also includes:
[0036] Perform a rinsing action while the seat is in the open position; and / or
[0037] Since the seat ring is in an unopened state, the action of opening the seat ring is performed.
[0038] The present invention also provides an electronic device, characterized in that it is disposed on a smart toilet, comprising a processor and a memory, wherein the memory stores a computer program, the processor is used to process the computer program, and the computer program, when executed by the processor, implements the steps of the toilet control method.
[0039] The present invention also provides a toilet control device, comprising:
[0040] The work instruction acquisition module is used to acquire pre-defined work instructions;
[0041] The toilet current status acquisition module is used to acquire the current status of the toilet based on the predetermined work instruction;
[0042] The toilet operation control module is used to perform predetermined tasks based on the current state of the toilet.
[0043] In a preferred embodiment, the work instruction acquisition module is further configured to, upon receiving a work signal, determine whether the work signal is issued by a predetermined device; if yes, determine that the work signal is a predetermined work instruction; if no, determine that the work signal is not a predetermined work instruction.
[0044] The current state of the toilet includes one or more of the following: lid open, lid closed, seat open, seat closed, seated, and not seated.
[0045] The specific steps for performing the predetermined task based on the current state of the toilet are as follows:
[0046] Match the current state of the toilet with the state-work mapping module;
[0047] When the current state matches a state in the state-job mapping module, a corresponding action is performed based on the job corresponding to that state; wherein, the state-job mapping module includes one or more of the following state-action relationships:
[0048] If the cover is in the open position, the seat ring will open.
[0049] If the cover is in the closed state, execute the cover opening action;
[0050] If the seat is in the open position, perform the flushing action;
[0051] If the seat is in the closed position, perform the seat opening action;
[0052] If you are not seated, perform the rinsing action.
[0053] In a preferred embodiment, the toilet operation control module is further configured to switch the toilet to a seated mode based on the seated state when the toilet is in a seated state; or to switch the toilet to an unseated mode based on the unseated state when the toilet is in an unseated state.
[0054] The toilet control device also includes a seated mode control module and an unseatened mode control module;
[0055] The sitting mode control module is used to determine whether the toilet is equipped with an off-seat flushing function;
[0056] The seating mode control module is also used to end the seating mode when it is determined that the function of flushing after leaving the seat is set.
[0057] The seating mode control module is also used to execute the leave-to-seat flushing mode when it is determined that the leave-to-seat flushing function is not set; the leave-to-seat flushing mode specifically includes:
[0058] Monitor toilet seat occupancy and execute a flushing action when the user leaves the seat or when a predetermined time has elapsed since leaving the seat; and / or
[0059] Monitor the toilet seat vacancy status, and if the time the user is vacant is less than the predetermined time, return to the step of determining whether the current status is a seated state;
[0060] The unseat mode control module is used to determine whether the toilet seat is open.
[0061] The unseat mode control module is also used to perform a cover opening action when it is determined that the cover is in a closed state;
[0062] The unseat mode control module is also used to further determine whether the toilet seat is in the open state when it is determined that the lid is in the open state.
[0063] The unseat mode control module is also used to perform a rinsing action when it is determined that the seat ring is in the open state; or to perform an opening action when it is determined that the seat ring is in the open state.
[0064] The present invention also provides a smart toilet, including a toilet body and the aforementioned electronic device disposed on the toilet body, wherein the electronic device is communicatively connected to a remote control device for receiving operating signals emitted by the remote control device.
[0065] In a preferred embodiment, the toilet body includes a seat, a lid, a seat ring, a flushing mechanism, and a sensor, the sensor being used to detect the state of a person sitting on the seat, the lid, and the seat ring; the control device is communicatively connected to the sensor and configured to control the lid, seat ring, and flushing mechanism to perform corresponding actions based on the information sensed by the sensor.
[0066] The present invention also provides a toilet control system, including a remote control device and the aforementioned smart toilet, wherein the remote control device is configured to operably emit working signals.
[0067] In a preferred embodiment, the remote control device is configured to emit a fixed signal when operated, and the control device is configured to execute the control method when receiving the fixed signal;
[0068] The toilet control system also includes a wireless communication device configured to communicate with the control device and the remote control device.
[0069] The present invention also provides a computer-readable storage medium storing a toilet control program, the toilet control program being executable by a processor of the device in which the computer-readable storage medium is located, to implement the control method described above.
[0070] Compared with the prior art, the technical solution of the present invention has the following beneficial effects:
[0071] After receiving the predetermined work instruction, the current state of the toilet is obtained, and the corresponding actions are controlled to be performed based on the actual current state. Therefore, the number of operation buttons for controlling the toilet can be very small, or even just one button is needed to achieve the above operations. Attached Figure Description
[0072] Figure 1 This is a control logic diagram of the smart toilet in a preferred embodiment of the present invention;
[0073] Figure 2 This is a three-dimensional cross-sectional view of the smart toilet in a preferred embodiment of the present invention;
[0074] Figure 3 This is an exploded perspective view of the remote control device in a preferred embodiment of the present invention;
[0075] Figure 4 This is a cross-sectional schematic diagram of the remote control device in a preferred embodiment of the present invention;
[0076] Figure 5 This is a circuit logic diagram of the electronic device in a preferred embodiment of the present invention;
[0077] Figure 6 This is a schematic diagram of the electronic device in a preferred embodiment of the present invention;
[0078] Figure 7 This is a schematic diagram of the toilet control program in a preferred embodiment of the present invention;
[0079] Figure 8 This is one of the flowcharts for the toilet control method in a preferred embodiment of the present invention;
[0080] Figure 9 This is a second flowchart of the toilet control method in a preferred embodiment of the present invention. Detailed Implementation
[0081] The present invention will be further described below with reference to the accompanying drawings and specific embodiments.
[0082] See Figures 1-9 A smart toilet includes a toilet body and an electronic device 51. The toilet body includes a seat 1, a lid 42, a seat ring 43, and a flushing mechanism 44. The electronic device is disposed on the toilet body. The seat 1 has a toilet bowl 2 for receiving human excrement. The flushing mechanism 44 is connected to the toilet bowl 2 to perform a flushing action on the toilet bowl 2. The seat 1 also includes a drain pipe 3 connected to the bottom of the toilet bowl 2. The flushing mechanism 44 performs a flushing action to flush the excrement on the toilet bowl 2 into the drain pipe 3.
[0083] The seat ring 43 is pivotally connected to the seat body 1. The seat ring 43 includes a seat ring body 431 and a seat ring drive mechanism for driving the seat ring body 431 to rotate. The seat ring drive mechanism is linked to the seat ring 43 to open and close the seat ring body 431 on the seat body 1. The seat ring body 431 can switch between a closed state and an open state through the seat ring drive mechanism. In the closed state, the seat ring body 431 rests against the seat body 1 and surrounds the upper edge of the toilet bowl 2. In the open state, the seat ring body 431 moves away from the seat body 1. More specifically, the seat ring body 431 pivots to be perpendicular to the upper surface of the seat body 1.
[0084] The cover plate 42 includes a cover plate body 421 and a cover plate driving mechanism. The cover plate driving mechanism is connected to the cover plate body 421 to open and close the cover plate body 421 on the seat body 1. The cover plate body 421 can switch between a closed state and an open state through the cover plate driving mechanism. In the closed state, the cover plate body 421 covers the seat ring body 431 which is in the closed state, and simultaneously covers the closed toilet bowl 2. In the open state, the cover plate body 421 moves away from the seat ring body 431 and the seat body 1. More specifically, the cover plate body 421 pivots to be perpendicular to the upper surface of the seat body 1.
[0085] The sensing device 412 includes a seat sensing device. Specifically, the seat sensing device is arranged between the seat ring body 431 and the seat body 1. The seat sensing device is electrically connected to an electronic device. The seat sensing device 412 can be a pressure sensor. When a user sits on the seat ring body 431 or gets off the seat ring body 431, the pressure sensor detects a change in pressure signal and transmits the pressure signal to the electronic device. In other embodiments, the sensing device 412 can also include a posture recognition device. This posture sensing device is installed on the toilet body to acquire human body information. It can be a microwave sensor or a photoelectric sensor.
[0086] The sensing device 412 also includes a first microswitch disposed between the cover plate 42 and the base 1. The first microswitch is triggered when the cover plate 42 is in the open and / or closed position. The first microswitch is communicatively connected to an electronic device for transmitting signals to it. It should be understood that in other embodiments, the first microswitch may be replaced by a photoelectric sensor, a microwave sensor, or a pressure sensor at another location to detect the position of the cover plate 42.
[0087] The sensing device 412 also includes a second micro switch, which is disposed between the seat ring body 431 and the seat 1. The second micro switch is triggered when the seat ring body 431 is in the open and / or closed position. The second micro switch is communicatively connected to an electronic device for transmitting signals to the electronic device. It should be understood that in other embodiments, the second micro switch can be replaced by a photoelectric sensor, a microwave sensor, or a pressure sensor at other locations to detect the position of the seat ring body 431.
[0088] It should be understood that the drive mechanism for driving the lid 42 and the seat body 431 to rotate relative to the seat 1, and the flushing assembly for controlling the flushing of the toilet, which are conventional technologies in the art, will not be described in detail here.
[0089] In one exemplary embodiment, the remote control device 411 is a remote control that is communicatively connected to the toilet body. The remote control is configured to emit a fixed signal when operated. Taking wireless communication between the remote control device 411 and the toilet body as an example, the remote control device is equipped with a wireless communication module. The fixed signal can be a fixed code. When the remote control device 411 is operated by the user, the wireless communication module responds to the user's operation and sends the fixed code through the wireless communication module. The toilet body is equipped with a wireless receiving module for receiving information. This wireless receiving module is used to send the information containing the fixed code to the controller after receiving it. It should be understood that the remote control can also be configured to transmit signals in a fixed frequency band, such as a voice signal of a predetermined frequency, a light signal of a predetermined frequency, or the remote control can also be connected to an electronic device through a circuit.
[0090] In one exemplary embodiment, the remote control device 411 is a self-generating press-type remote control 411. The self-generating press-type remote control 411 includes a housing 4111, a press-type power generation module 4112, a button 4113, a transmitter module 4114, and a main control module 4115. The press-type power generation module 4112, button 4113, transmitter module 4114, and main control module 4115 are arranged on the housing 4111. The button 4113 actuates the press-type power generation module 4112 to enable the main control module 4115 to emit the aforementioned fixed signal through the transmitter module 4114. The self-generating remote control 411 also includes a drive block 4116 and an elastic element 4117 connected between a button 4113 and a self-generating module 4112. The button 4113 abuts against the drive block 4116. A first end of the drive block 4116 is pivotally connected to the housing 4111, and a second end is pivotable to abut against the self-generating module 4112. The elastic element 4117 abuts between the second end of the drive block 4116 and the housing 4111. The button 4113 can be pressed down to pivot the second end of the drive block 4116. The housing 4111 defines the self-generating remote control 411, and the button 4113 defines the upper cover of the self-generating remote control 411. The upper cover and the base surround to form a space for receiving the self-generating module 4112, the button 4113, the transmitting module 4114, the main control module 4115, the drive block 4116, and the elastic element 4117. The main control module 4115 has an internally embedded single code transmission mechanism. When the button 4113 is pressed, it is powered on and performs code transmission (i.e., sends a fixed code information with a single code value once). When the button 4113 is released, the power is cut off and the code transmission stops. This hardware setting can be extremely simple and has the best cost.
[0091] In one exemplary embodiment, the remote control device 411 may also be a button or a trigger button in a remote control, which sends the aforementioned fixed signal when triggered, and the electronic device is configured to determine and control the toilet to perform corresponding actions based on the fixed signal.
[0092] An exemplary embodiment provides a computer-readable storage medium including a stored computer program, wherein, when the computer program is executed, it controls the device where the computer-readable storage medium is located to perform a toilet control method, the toilet control method being detailed below.
[0093] In one exemplary embodiment, the electronic device 51 includes at least a memory 53, a processor 52, a communication bus 56, and a network interface 55. The memory 53 includes at least one type of readable storage medium, such as flash memory, hard disk, multimedia card, card-type memory (e.g., SD or DX memory), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the memory may be an internal storage unit of the electronic device, such as the hard disk or control circuit board of the electronic device. In other embodiments, the memory may be an external storage device of the electronic device, such as a plug-in hard disk, Smart Media Card (SMC), Secure Digital (SD) card, Flash Card, etc. Furthermore, the memory may include both internal storage units and external storage devices of the electronic device. The memory can be used not only to store application software and various types of data installed on the electronic device, such as the code of a toilet control program, but also to temporarily store data that has been output or will be output.
[0094] In some embodiments, a processor may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chip, used to execute executable instructions stored in memory or process data.
[0095] Communication bus 56 is used to enable communication between these components.
[0096] The network interface 55 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface), typically used to establish communication connections between electronic devices and other electronic devices. It should be understood that in some embodiments, a network interface 55 may not be required.
[0097] Optionally, the electronic device may also include a user interface, which may include a display, an input unit such as a keyboard, and optionally, a standard wired interface or a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, or an OLED (Organic Light-Emitting Diode) touchscreen, etc. The display may also be appropriately referred to as a screen or display unit, used to display information processed in the electronic device and to display a visual user interface.
[0098] exist Figure 6 In the embodiment of the electronic device shown, a toilet control program 54 is stored in the memory; when the processor 52 executes the toilet control program 54 stored in the memory 53, it implements the following toilet control method:
[0099] S100, Obtain the scheduled work instruction.
[0100] When the remote control device 411 is operated by the user, it emits a fixed signal through a wireless transmitting module configured on it. After receiving this fixed signal, the wireless receiving module configured on the toilet body transmits it to the electronic device. This fixed signal can be a fixed code, a voice signal of a predetermined frequency, or an optical signal of a predetermined frequency. In other embodiments, the remote control device 411 can also communicate with the electronic device via a circuit.
[0101] Upon receiving the fixed signal, the processor 52 determines whether the fixed signal was issued by a predetermined device. The processor 52 determines the fixed signal, which has a field representing an ID for the remote control device. A program for matching this field is stored in the memory; this program may be pre-stored or generated and stored in the memory when the remote control device 411 is bound to the electronic device. It is understood that in other embodiments, when the fixed signal is a light signal or voice signal of a predetermined frequency, the processor 52 may make the determination based on pre-stored or bound information representing frequency, amplitude, etc.
[0102] When the processor 52 determines that the fixed signal matches the pre-stored program, it determines that it is a predetermined working instruction for controlling the toilet to operate. If the processor 52 determines that the fixed signal does not match the pre-stored program, it determines that it is not a predetermined working instruction for controlling the toilet to operate.
[0103] S200, based on the predetermined work instruction, obtain the current state of the toilet.
[0104] When the received working signal is determined to be a predetermined working instruction for controlling the toilet to operate, but the processor 52 cannot control the toilet to perform specific actions based on this instruction, the current state of the toilet body is obtained based on this working instruction. The current state of the toilet includes one or more of the following states: the lid is open, the lid is closed, the seat is open, the seat is closed, the toilet is in a seated state, and the toilet is not in a seated state. It is understood that the current state of the toilet can be obtained through the aforementioned sensing device.
[0105] S300, based on the current state of the toilet, perform the scheduled work.
[0106] In one exemplary embodiment, a state-operation mapping module is stored in the memory. This state-operation mapping module includes one or more of the following mapping relationships: (1) if the lid is in the open state, the seat ring is opened; (2) if the lid is in the closed state, the lid is opened; (3) if the seat ring is in the open state, the flushing action is performed; (4) if the seat ring is in the closed state, the seat ring is opened; (5) if the toilet is not in a seated state, the flushing action is performed. In this embodiment, the user can operate the remote control device 411 to make the toilet automatically open the lid, open the seat ring, or perform the flushing action. The processor 52 matches the current state of the toilet with the states in (1) to (5). When the current state matches one of the states in (1) to (5), the processor 52 controls the toilet to perform the corresponding action. Through this method, the remote control device can achieve the above functions with one operation key.
[0107] In one exemplary embodiment, the step of performing a predetermined task based on the current state of the toilet includes:
[0108] S310, when the current state is a first current state, a predetermined operation is performed based on the first current state; wherein, the first current state of the toilet includes one or more of the following states: the lid is closed and the toilet is not seated. A state-operation mapping module is stored in the memory, which includes one or more of the following mapping relationships: (1A) if the lid is closed, perform a lid opening action; (2A) if the toilet is not seated, perform a flushing action. When the processor 52 determines that the current state of the toilet is the lid closed, it directly controls the lid to open; when it determines that the current state of the toilet is the not seated, it directly controls the toilet to perform a flushing action.
[0109] S320, when the current state is the second current state, based on the second current state, it is determined whether the time between the currently received predetermined work instruction and the last received predetermined work instruction is within a first time threshold: if yes, the predetermined work is executed; if no, the action in the embodiment of step S300 is executed. In the exemplary embodiment of step S320, the second current state includes one or more of the following states: the lid is in the open state, the seat is in the open state, and the seat is in the closed state. The state-work mapping module also includes one or more of the following mapping relationships: (3A) if the lid is in the open state and the seat is in the closed state, the lid closing action is executed; (4A) if the seat is in the open state, the seat closing action is executed. The first time threshold is a relatively long time, for example, a time greater than 5 minutes, meaning that the user is not prepared to use the toilet, therefore, the lid and / or seat are controlled to close.
[0110] The processor 52 matches the current state of the toilet with states (1A) to (4A). When the current state matches one of the states (1A) to (4A), the processor 52 controls the toilet to perform the corresponding action. Using this method, the remote control can achieve the above functions with just one operation button.
[0111] In one exemplary embodiment, the step of performing a predetermined task based on the current state of the toilet includes:
[0112] S330, based on the current state of the toilet, obtain the action performed by the toilet within a second time threshold, and perform a predetermined task based on the current state and the action performed by the toilet. The toilet state includes one or more of the following states: the lid is open, the seat is open, the seat is closed, the toilet is in a seated state, and the toilet is not in a seated state. A state-task mapping module is stored in the memory, which includes one or more of the following mapping relationships: (1B) when the lid is open, the seat is closed, and the toilet performs a seat-closing or flushing action within the second time threshold, execute the lid-closing action; (2B) when the seat is open and the toilet performs an opening action within the second time threshold, execute the flushing action; (3B) when the seat is open and the toilet performs a flushing action within the second time threshold, execute the seat-closing action; (4B) when the lid is open, the seat is closed, and the toilet performs a seat-closing or flushing action within the second time threshold, execute the lid-closing action. The second time threshold is a relatively short period, such as 5 seconds, 10 seconds, or 1 minute. This occurs after the user has already operated and controlled the toilet to perform a relevant action, and then the predetermined work instruction is received, meaning the user must immediately control the toilet to perform the next action. The processor 52 matches the current state of the toilet with states (1B) to (4B). When the current state matches one of the states (1B) to (4B), the processor 52 controls the toilet to perform the corresponding action. Through this method, the remote control device can achieve the above functions with just one operation button.
[0113] In one exemplary embodiment, after the step of obtaining the current state of the toilet, the method further includes: determining whether the current state is a seated state; the step of performing a predetermined task based on the current state of the toilet includes:
[0114] S340, when the toilet is in a seated state, the toilet is switched to a seated mode based on this seated state. The seated state refers to the user sitting on the toilet. When the processor 52 determines that the user is seated on the toilet, it switches the toilet's control mode to the seated mode based on this seated state. The memory stores a seated program module. In the seated mode, the processor 52 executes the seated program module of the toilet control program stored in the memory to perform the following steps:
[0115] S341, determine whether the toilet is equipped with an off-seat flushing function.
[0116] The memory stores an automatic flushing program module. When this module is executed by the processor 52, it can monitor the toilet's status based on the user's position on the toilet. When the user gets off the toilet, the processor controls the toilet to flush based on the signal indicating that the user has left the toilet, thus achieving an automatic flushing function.
[0117] S342, if yes, end the sitting mode. That is, when it is determined that the toilet has been set to flush when the user leaves the seat, it is no longer necessary to automatically determine the user's action of leaving the seat and then control the toilet to flush automatically, so as to avoid repeated flushing actions. In a preferred embodiment, after the flush function is executed, the processor 52 can also execute step S330 of the toilet control program.
[0118] S343, If not, execute the off-seat flushing mode. The off-seat flushing mode includes:
[0119] S343A, monitor the toilet's off-seat status, and execute a flushing action when the user is detected to have left the seat or when the user has been away for a predetermined time. In an exemplary embodiment, the toilet control program includes an off-seat flushing module. When the processor 52 executes the off-seat flushing module, it performs: (1C) monitoring the toilet's off-seat status; (2C) controlling the toilet to execute a flushing action when the user is detected to have left the seat. The user operates the toilet via a single button, and the toilet control program automatically executes the flushing action according to the user's actual usage scenario, eliminating the need for repeated operation and preventing the user from forgetting to flush. Furthermore, even on toilets without an off-seat flushing module, this function can be experienced through the off-seat flushing module in the toilet control program. It is understood that in other embodiments, step (2C) can be replaced with (3C): controlling the toilet to execute a flushing action after a predetermined period of time has passed since the user left the seat.
[0120] In a preferred embodiment, after step S343A, the processor 52 can also execute step S330 by executing the toilet control program.
[0121] In one exemplary embodiment, step S343: If not, execute the off-seat flushing mode. The off-seat flushing mode further includes:
[0122] S343B, monitor the toilet seat vacancy status, and when the time the user is vacant is less than the predetermined time, return to the step of determining whether the current state is a seated state.
[0123] In actual use, a user may briefly leave the toilet seat while seated and then sit back down. In this scenario, the user is not yet finished using the toilet, so it is not advisable to flush immediately. When the processor 52 executes the toilet control program, it implements the following steps: (1D) monitoring the user's seat-leaving state; (2D) when the user is detected leaving the seat and the time of leaving the seat does not exceed a predetermined time, returning to the step of determining whether the current state is a seated state, and executing steps (1C) and (3C). For example, the predetermined time can be 5 seconds. For instance, if the user is seated for less than 5 seconds, the flushing action is not performed; if the user is seated for more than 5 seconds, the toilet is controlled to perform the flushing action. In other embodiments, in step (2D), when the user is seated for less than the predetermined time, the seated state of the toilet is monitored, and if the predetermined time is reached and no user is detected sitting down, the toilet is controlled to perform the flushing action. In this way, the toilet does not need to repeat step S341 within the predetermined time.
[0124] S350, when the toilet is in an unseated state, switch the toilet to an unseated mode based on the unseated state.
[0125] The "unseatened" state refers to the state where the toilet is not being sat on by a user. When the processor 52 determines that the user is not sitting on the toilet, it switches the toilet control mode to "unseatened" mode based on this state. The memory stores an "unseatened" program module. In "unseatened" mode, the processor 52 executes the "unseatened" program module of the toilet control program stored in memory to perform one or more of the following steps:
[0126] S351, determine if the toilet seat is open; if not, execute the seat opening action. Since the user is not sitting on the toilet, upon receiving the remote control signal, it is determined that the user simply wants to open the seat.
[0127] S352, determine whether the toilet seat is open. If yes, further determine whether the toilet seat is open; otherwise, execute the function to open the toilet seat.
[0128] S353, determine whether the toilet seat is open. If so, further determine whether the toilet seat is open. If so, execute the toilet flushing action.
[0129] In a preferred embodiment, after steps S351, S352 and / or S353, the processor 52 can also execute step S330 by executing the toilet control program.
[0130] In one exemplary embodiment, the control device for the smart toilet is applied in the aforementioned electronic device. The memory stores a toilet control program, and the processor 52 executes the toilet control program to implement the steps as described in the example above. (See reference...) Figure 7This is a schematic diagram of the program modules of the toilet control program 54. In this example, the toilet control program can be divided into a work instruction acquisition module 541, a toilet current status acquisition module 542, and a toilet work control module 543. Exemplarily, the control device includes:
[0131] The work instruction acquisition module 541 is used to determine whether the work signal is issued by a predetermined device (remote control device) when a work signal is received; if yes, the work signal is determined to be a predetermined work instruction; if no, the work signal is determined to be a predetermined work instruction.
[0132] The toilet current status acquisition module 542 is used to acquire the current status of the toilet based on the predetermined working instruction; the current status of the toilet includes one or more of the following: lid open, lid closed, seat open, seat closed, seated, and not seated.
[0133] The toilet operation control module 543 is used to perform predetermined tasks based on the current state of the toilet. The toilet operation control module 543 also includes a lid control module, a seat control module, and a flushing control module. The steps, functions, roles, and effects implemented by the operation instruction acquisition module 541, the toilet current state acquisition module, and the toilet operation control module when processed are as described in the toilet control method above, and will not be repeated here.
[0134] Those skilled in the art will understand that the modules or steps of the present invention described above can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed across a network of multiple computing devices. Optionally, they can be implemented using computer-executable program code, thereby storing them in a storage device for execution by a computing device. In some cases, the steps shown or described can be performed in a different order than those presented herein, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, the present invention is not limited to any particular hardware and software combination.
[0135] The above description is merely a preferred embodiment of the present invention, but the design concept of the present invention is not limited thereto. Any non-substantial modifications made to the present invention by those skilled in the art within the scope of the technology disclosed in the present invention using this concept shall be deemed as an infringement of the protection scope of the present invention.
Claims
1. A toilet control method, characterized in that, Applied to smart toilets, the method includes: Obtain a predetermined work instruction, which is generated based on a fixed signal emitted by a remote control device; Based on the predetermined work instructions, obtain the current status of the toilet; Match the current state of the toilet with the state-work mapping module; When the current state matches a state in the state-work mapping module, the corresponding action is performed according to the work corresponding to the state; the states in the state-work mapping module include one or more of the following: cover open state, cover closed state, seat open state, seat closed state, seated state, and unseated state.
2. The toilet control method as described in claim 1, characterized in that: The specific steps for obtaining the pre-defined work instruction are: Upon receiving a working signal, determine whether the working signal is a fixed signal emitted by a remote control device; If so, then the working signal is determined to be a predetermined working instruction; If not, then the working signal is determined to be a predetermined working instruction.
3. The toilet control method as described in claim 1, characterized in that: The state-action mapping module includes one or more of the following state-action relationships: If the cover is in the open position, the seat ring will open. If the cover is in the closed state, execute the cover opening action; If the seat is in the open position, perform the flushing action; If the seat is in the closed position, perform the seat opening action; If you are not seated, perform the rinsing action.
4. A toilet control method as described in claim 1 or 2, characterized in that: The step of obtaining the current state of the toilet further includes: determining whether the current state is a seated state; the step of performing predetermined work based on the current state of the toilet specifically includes: When the toilet is in a seated state, switch the toilet to seated mode based on the seated state; or When the toilet is in an unseated state, the toilet is switched to an unseated mode based on the unseated state.
5. A toilet control method as described in claim 4, characterized in that: The seating patterns include: Determine if the toilet has an automatic flush function. If so, end the described seating mode; If not, proceed with the off-seat rinse mode; The aforementioned off-seat rinsing mode is specifically as follows: Monitor toilet seat occupancy and execute a flushing action when the user leaves the seat or when a predetermined time has elapsed since leaving the seat; and / or Monitor the toilet's off-seat status. If the time the user is off-seat is less than the predetermined time, return to the step of determining whether the current state is a seated state.
6. A toilet control method as described in claim 5, characterized in that: The unseated mode includes: Determine if the toilet seat is open; If not, proceed with opening the cover. If so, check if the toilet seat is open; The unseat mode also includes: Perform a rinsing action while the seat is in the open position; and / or Since the seat ring is in an unopened state, the action of opening the seat ring is performed.
7. An electronic device, characterized in that, The device is configured on a smart toilet and includes a processor and a memory. The memory stores a computer program, and the processor processes the computer program. When the computer program is executed by the processor, it implements the steps of the toilet control method as described in any one of claims 1-6.
8. A toilet control device, characterized in that, include: The work instruction acquisition module is used to acquire a predetermined work instruction, which is generated based on a fixed signal emitted by the remote control device. The toilet current status acquisition module is used to acquire the current status of the toilet based on the predetermined work instruction; The toilet operation control module is used to match the current state of the toilet with the state-operation mapping module; When the current state matches a state in the state-work mapping module, the corresponding action is performed according to the work corresponding to the state; the states in the state-work mapping module include one or more of the following: cover open state, cover closed state, seat open state, seat closed state, seated state, and unseated state.
9. The toilet control device according to claim 8, characterized in that, The work instruction acquisition module is further configured to, upon receiving a work signal, determine whether the work signal is a fixed signal issued by a remote control device; if so, determine that the work signal is a predetermined work instruction; if not, determine that the work signal is not a predetermined work instruction. The specific steps for performing the predetermined task based on the current state of the toilet are as follows: The state-work mapping module includes one or more of the following state-action relationships: If the cover is in the open position, the seat ring will open. If the cover is in the closed state, execute the cover opening action; If the seat is in the open position, perform the flushing action; If the seat is in the closed position, perform the seat opening action; If you are not seated, perform the rinsing action.
10. The toilet control device according to claim 8, characterized in that, The toilet operation control module is also used to switch the toilet to a seated mode based on the seated state when the toilet is in a seated state; or to switch the toilet to a non-seated mode based on the non-seated state when the toilet is in a non-seated state. The toilet control device also includes a seated mode control module and an unseatened mode control module; The sitting mode control module is used to determine whether the toilet is equipped with an off-seat flushing function; The seating mode control module is also used to end the seating mode when it is determined that the leave-to-seat flushing function is set; The seating mode control module is also used to execute the leave-to-seat flushing mode when it is determined that the leave-to-seat flushing function is not set; the leave-to-seat flushing mode specifically includes: Monitor toilet seat occupancy and execute a flushing action when the user leaves the seat or when a predetermined time has elapsed since leaving the seat; and / or Monitor the toilet seat vacancy status, and if the time the user is vacant is less than the predetermined time, return to the step of determining whether the current status is a seated state; The unseat mode control module is used to determine whether the toilet seat is open. The unseat mode control module is also used to perform a cover opening action when it is determined that the cover is in a closed state; The unseat mode control module is also used to further determine whether the toilet seat is in the open state when it is determined that the lid is in the open state. The unseat mode control module is also used to perform a rinsing action when it is determined that the seat ring is in the open state; or to perform an opening action when it is determined that the seat ring is in the open state.
11. A smart toilet, characterized in that, The toilet includes a toilet body and an electronic device as described in claim 7 disposed on the toilet body, the electronic device being communicatively connected to a remote control device for receiving operating signals emitted by the remote control device.
12. The smart toilet according to claim 11, characterized in that, The toilet body includes a seat, a lid, a seat ring, a flushing mechanism, and a sensor. The sensor is used to detect the state of a person sitting on the seat, the lid, and the seat ring. The electronic device is communicatively connected to the sensor and configured to control the lid, seat ring, and flushing mechanism to perform corresponding actions based on the information sensed by the sensor.
13. A toilet control system, characterized in that, Includes a remote control device and the smart toilet as claimed in claim 11, wherein the remote control device is configured to operatively emit an operating signal.
14. The toilet control system according to claim 13, characterized in that, The remote control device is configured to emit a fixed signal when operated, and the electronic device is configured to execute the control method when it receives the fixed signal; The toilet control system also includes a wireless communication device configured to communicate with the electronic device and the remote control device.
15. A computer-readable storage medium, characterized in that, The device contains a toilet control program that can be executed by a processor of the device containing the computer-readable storage medium to implement the control method as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Intelligent discrimination flushing system of closestool, and flushing method thereof
CN102644310A
Method and device for switching working mode
CN105279939A
Intelligent closestool, anti-misoperation control method and device thereof and readable storage medium
CN112359937A
Flushing control method and system of intelligent closestool
CN112942517A