Closestool control method and device, intelligent closestool and storage medium

By using gravity sensing components and seat sensors in smart toilets, detecting user usage status and toilet mode, the problem of low accuracy in smart toilet function control is solved, and higher functional control accuracy and user experience are achieved.

CN120159104APending Publication Date: 2025-06-17FOSHAN FAENZA SANITARY WARE
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510071417.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-16
Publication Date
2025-06-17

AI Technical Summary

Technical Problem

The functional control accuracy of existing smart toilets is low, and it is prone to incorrectly triggering or unresponsive functions, affecting the user experience.

Method used

The gravity sensing component and a sitting sensor are used to collect external gravity data and sitting data to detect the user's usage status and toilet mode, and then determine the toilet control mode to improve the accuracy of functional control.

Benefits of technology

It improves the accuracy of smart toilet function control, avoids the situation of accidentally triggering or unresponsiveness of functions, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120159104A_ABST
    Figure CN120159104A_ABST
Patent Text Reader

Abstract

The invention discloses a closestool control method and device, an intelligent closestool and a storage medium, and relates to the technical field of closestools, the method is applied to the intelligent closestool, the closestool comprises a gravity sensing assembly and a sitting sensor, and the gravity sensing assembly comprises a gravity detection device, a bearing plate and a buffer part; a buffer part is arranged between the gravity detection device and the bearing plate; the method comprises the steps of determining a user use state according to external gravity data collected by a gravity sensing assembly; under the condition that the use state of the user is a first preset state, the sitting feeling duration is determined according to sitting feeling data collected by a sitting feeling sensor in a target time period, and the defecation mode of the user is further determined; and determining a closestool control mode according to the user defecation mode so as to control the operation of the intelligent closestool. By means of the mode, the control accuracy of the intelligent closestool is improved, the situation that the function of the intelligent closestool is triggered by mistake or has no response is avoided, and the use experience feeling of a user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of toilets, and particularly to a toilet control method, device, smart toilet, and storage medium. Background Art

[0002] Most of the sensors installed on current smart toilets on the market are microwave sensors, foot-sensing sensors, and sitting-sensing sensors. By combining the collected data of the above multiple sensors, functions such as intelligent toilet seat lifting and lid opening, intelligent flushing, and intelligent foaming are realized. However, in the actual use process, due to the incorrect detection of the above sensors, the functions may be triggered incorrectly or there may be no response, resulting in a low accuracy rate of the function control of the smart toilet and affecting the user experience. Summary of the Invention

[0003] The main purpose of this application is to provide a toilet control method, device, smart toilet, and storage medium, aiming to solve the problem that the accuracy of the function control of the smart toilet in the prior art is poor and affects the user experience.

[0004] To achieve the above purpose, this application proposes a toilet control method, which is applied to a smart toilet. The smart toilet includes a gravity sensing component and a sitting-sensing sensor. The gravity sensing component includes at least one gravity detection device, at least one load-bearing plate, and a buffer component. A buffer component is arranged between the gravity detection device and the load-bearing plate;

[0005] The method includes:

[0006] Performing state detection based on the external gravity data collected by the gravity sensing component to determine the user usage state;

[0007] When the user usage state is a first preset state, determining the sitting duration according to the sitting data collected by the sitting-sensing sensor within a target time period;

[0008] Determining the user's toilet use mode according to the sitting duration;

[0009] Determining the toilet control mode according to the user's toilet use mode, and controlling the smart toilet to operate according to the toilet control mode.

[0010] In one embodiment, the step of performing state detection based on the external gravity data collected by the gravity sensing component to determine the user usage state includes:

[0011] When the user usage state is a second preset state, determining the external weight difference according to the external gravity data collected by the gravity sensing component and the target toilet weight;

[0012] When the external weight difference is less than the target weight threshold and the duration reaches the first preset duration, it is determined that the user usage state changes from the second preset state to the first preset state.

[0013] In one embodiment, before the step of determining the external weight difference according to the external gravity data collected by the gravity sensing component and the target toilet weight when the user usage state is the second preset state, the method further includes:

[0014] Determine the external weight difference according to the external gravity data collected by the gravity sensing component and the target toilet weight;

[0015] When the external weight difference is greater than or equal to the target weight threshold and the duration reaches the second preset duration, it is determined that the user usage state is the second preset state.

[0016] In one embodiment, before the step of determining the external weight difference according to the external gravity data collected by the gravity sensing component and the target toilet weight when the user usage state is the second preset state, the method further includes:

[0017] When the user usage state is the third preset state, obtain the external gravity data collected by the gravity sensing component during the calibration period;

[0018] Determine a plurality of gravity data points according to the external gravity data collected during the calibration period;

[0019] Perform weight calibration according to the plurality of gravity data points to determine the target toilet weight.

[0020] In one embodiment, before the step of determining that the user usage state changes from the second preset state to the first preset state when the external weight difference is less than the target weight threshold and the duration reaches the first preset duration, the method further includes:

[0021] Obtain the usage object information of the environment where the intelligent toilet is located;

[0022] When there is a preset object in the environment where the intelligent toilet is located, determine the object weight of the first target object and the object weights of at least one second target object according to the usage object information;

[0023] Sort the object weights of each second target object, and determine the target object weight from the object weights of each second target object according to the sorting result;

[0024] Set a threshold according to the object weight of the first target object and the target object weight to determine the target weight threshold.

[0025] In one embodiment, the intelligent toilet further includes a seat ring;

[0026] After the step of determining that the user's usage state is the second preset state when the external weight difference is greater than or equal to the target weight threshold and the duration reaches the second preset duration, the method further includes:

[0027] Determine the sitting feeling trigger state according to the sitting feeling data collected by the sitting feeling sensor;

[0028] When the sitting feeling trigger state is the first trigger state, control the seat ring to open;

[0029] When the sitting feeling trigger state is the second trigger state, control the seat ring to close.

[0030] In one embodiment, the step of determining the user's toilet use mode according to the sitting feeling duration includes:

[0031] When the sitting feeling duration is greater than or equal to the preset duration, determine that the user's toilet use mode is the first toilet use mode;

[0032] When the sitting feeling duration is less than the preset duration, determine that the user's toilet use mode is the second toilet use mode;

[0033] When the sitting feeling duration is a preset value and the sitting feeling trigger state is the second trigger state, determine that the user's toilet use mode is the third toilet use mode.

[0034] In addition, to achieve the above object, the present application further provides a toilet control device, which includes:

[0035] A detection module, configured to perform state detection according to the external gravity data collected by the gravity sensing component to determine the user's usage state;

[0036] A processing module, configured to determine the sitting feeling duration according to the sitting feeling data collected by the sitting feeling sensor within a target time period when the user's usage state is the first preset state;

[0037] The processing module is further configured to determine the user's toilet use mode according to the sitting feeling duration;

[0038] A control module, configured to determine the toilet control mode according to the user's toilet use mode and control the smart toilet to operate according to the toilet control mode.

[0039] In addition, to achieve the above object, the present application further provides a smart toilet, which includes: a memory, a processor, and a computer program stored on the memory and executable on the processor, where the computer program is configured to implement the steps of the toilet control method as described above.

[0040] In addition, to achieve the above object, the present application further provides a storage medium, which is a computer-readable storage medium. A computer program is stored on the storage medium, and when the computer program is executed by a processor, the steps of the toilet control method described above are implemented.

[0041] In addition, to achieve the above object, the present application further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the steps of the toilet control method described above are implemented.

[0042] The toilet control method of the present application is applied to a smart toilet. The smart toilet includes a gravity sensing component and a sitting feeling sensor. The gravity sensing component includes at least one gravity detection device, at least one load-bearing plate, and a pressure buffer component. A buffer component is provided between the gravity detection device and the load-bearing plate. The method includes: performing state detection according to the external gravity data collected by the gravity sensing component to determine the user usage state; in the case where the user usage state is a first preset state, determining the sitting feeling duration according to the sitting feeling data collected by the sitting feeling sensor within a target time period; determining the user's toilet use mode according to the sitting feeling duration; determining a toilet control mode according to the user's toilet use mode, and controlling the smart toilet to operate according to the toilet control mode. By the above method, the gravity sensing component can accurately detect the user usage state, and the sitting feeling sensor can accurately detect and identify the user's toilet use mode, and further select the corresponding toilet control mode to control the operation of the smart toilet, improving the accuracy of smart toilet control, avoiding the situation of mis-triggering or non-response of smart toilet functions, and enhancing the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] The accompanying drawings herein are incorporated into the specification and form a part of the specification, showing embodiments consistent with the present application and used together with the specification to explain the principles of the present application.

[0044] To more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the accompanying drawings required for use in the description of the embodiments or the prior art. Obviously, for those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0045] Figure 1 It is a schematic flowchart provided for Embodiment 1 of the toilet control method of the present application;

[0046] Figure 2 It is a schematic plan view of the toilet structure for the toilet control method provided in Embodiment 1 of the present application;

[0047] Figure 3The front view of the toilet structure for the toilet control method provided in the first embodiment of the present application;

[0048] Figure 4 The schematic flowchart provided for the second embodiment of the toilet control method of the present application;

[0049] Figure 5 The schematic flowchart provided for the third embodiment of the toilet control method of the present application;

[0050] Figure 6 The schematic diagram of the module structure of the toilet control device in the embodiment of the present application;

[0051] Figure 7 The schematic diagram of the device structure of the hardware operating environment involved in the toilet control method in the embodiment of the present application.

[0052] The implementation, functional features, and advantages of the present application will be further described with reference to the embodiments and the accompanying drawings. Specific embodiments

[0053] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.

[0054] For a better understanding of the technical solutions of the present application, the following will be described in detail in conjunction with the accompanying drawings of the specification and specific embodiments.

[0055] The main solution of the embodiment of the present application is: perform state detection according to the external gravity data collected by the gravity sensing component to determine the user's usage state; in the case where the user's usage state is the first preset state, determine the sitting duration according to the sitting data collected by the sitting sensor within the target time period; determine the user's toilet use mode according to the sitting duration; determine the toilet control mode according to the user's toilet use mode, and control the intelligent toilet to operate according to the toilet control mode.

[0056] The following situations exist in current intelligent toilets on the market: ① incorrect detection by the microwave sensor (misjudging long distance as short distance, and short distance as long distance), resulting in the cover being lifted for no reason, or not opening when approaching the toilet; ② incorrect detection of foot feeling (misjudgment affected by shoes: not triggered); ③ misjudgment of sitting / standing up: slightly standing up or lifting one side, triggering the sitting / standing up flushing; and there is also a situation where a child sitting down cannot be sensed; ④ both the microwave sensor and the foot feeling are mis-triggered by pets. In summary, the accuracy of the function control of current intelligent toilets is relatively poor.

[0057] The present application provides a solution. Through the gravity sensing component, the user's usage status can be accurately detected, and through the sitting feeling sensor, the user's toilet use mode can be accurately detected and identified. Further, the corresponding toilet control mode is selected to control the operation of the intelligent toilet, which improves the accuracy of the intelligent toilet control, avoids the situation of incorrect triggering or non-response of the intelligent toilet functions, and enhances the user experience.

[0058] It should be noted that the execution subject of this embodiment can be a computing service device with data processing, network communication, and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an intelligent toilet that can implement the above functions. Hereinafter, taking the intelligent toilet as the execution subject as an example, this embodiment and the following embodiments will be described.

[0059] Based on this, the embodiment of the present application provides a toilet control method, referring to Figure 1 , Figure 1 which is a schematic flowchart of the first embodiment of the toilet control method of the present application.

[0060] In this embodiment, the toilet control method is applied to an intelligent toilet. The intelligent toilet includes a gravity sensing component and a sitting feeling sensor. The gravity sensing component includes at least one gravity detection device, at least one load-bearing plate, and a buffer component. A buffer component is provided between the gravity detection device and the load-bearing plate. The method includes steps S10 to S40:

[0061] Step S10, perform status detection according to the external gravity data collected by the gravity sensing component to determine the user's usage status.

[0062] It should be noted that the intelligent toilet includes components such as a gravity sensing component, a toilet body, a sitting feeling sensor, and a seat ring; the gravity sensing component includes at least one gravity detection device, at least one load-bearing plate, and a buffer component. The gravity detection device is used to detect the gravity borne on the load-bearing plate. In this embodiment, the gravity detection device is a gravity sensor. The buffer component is used to transmit the gravity borne by the load-bearing plate to the gravity detection device. In this embodiment, the buffer component is a gasket made of an elastic material, or it can also be other components.

[0063] In this embodiment, when the gravity sensing component of the intelligent toilet only includes one gravity detection device and one load-bearing plate, the plan view of the intelligent toilet is as shown in Figure 2 shown, and its front view is as shown in Figure 3As shown, at this time, the functions of the load-bearing plate are to bear the pressure transmitted by the toilet when defecating and the gravity of a man standing when urinating. At this time, the toilet body is also located on the load-bearing plate, the gravity sensor is located under the load-bearing plate, and there is a buffer component between the gravity sensor and the load-bearing plate for transmitting pressure; or, the toilet body is located on the load-bearing plate and the gravity sensor is located in the middle of the load-bearing plate. Or, in order to achieve a more accurate detection effect, gravity sensors can also be arranged at different positions under the load-bearing plate. Or, no load-bearing plate is provided under the toilet body, and the structure of the toilet body itself is used to squeeze the gravity detection device, and a load-bearing plate for bearing the gravity of the footrest part is provided, and there is at least one gravity detection device under the load-bearing plate.

[0064] In addition to the above methods, the gravity sensing component may also include a plurality of gravity detection devices and a plurality of load-bearing plates. For example: there are two load-bearing plates, one load-bearing plate is used to bear the toilet body, and the other load-bearing plate is used to bear the gravity of the footrest part, and there is at least one gravity detection device under each load-bearing plate.

[0065] In this embodiment, Figure 2 and Figure 3 the specific structure of the intelligent toilet shown is used to explain the embodiment. At this time, the toilet body is also located on the load-bearing plate, and one load-bearing plate bears the gravity of the toilet body and the footrest part. The gravity sensor is located under the load-bearing plate, and there is a buffer component between the gravity sensor and the load-bearing plate.

[0066] It should be noted that the external gravity data includes but is not limited to the weight of the toilet body and the weight of the footrest part; the user's usage status includes the user starting to use (i.e., starting to use the toilet), the user is using (i.e., in the process of using the toilet), the user has just finished using (i.e., just finished using the toilet), and the user has not used (i.e., the user has not used the toilet). In this embodiment, the faster the sampling frequency of the gravity sensing component, the better the response speed. However, too high a sampling frequency will cause resource waste. Therefore, it can be set to collect data once every 100 ms, 10 times per second. After removing the maximum and minimum values, the average value f of the remaining 8 data is taken, and an external gravity data f is output per second. The response speed is about 1 second. Other sampling methods can also be used for sampling, and this embodiment does not limit this.

[0067] It is understandable that the user enters the load-bearing plate from the outside. When the difference between the external gravity data f and the weight G of the toilet body is greater than the target weight threshold N, it indicates that it is a human rather than a pet. When the user leaves, f decreases, and f - G < N. In practical applications, it is necessary to prevent unexpected situations, such as someone passing by next to the toilet and stepping on the load-bearing plate, or a pet jumping, just reaching the trigger threshold. Therefore, it is usually necessary to add a time judgment. For example, after entering the load-bearing plate from the outside, it is necessary to last for the first duration t1 before it is considered a real toilet use rather than just passing by. After the toilet use is over, when the user leaves the range of the load-bearing plate, f decreases, and f - G < N. It must last for the third duration t2 before it is considered that the user has left. At this time, closing the toilet lid will not hit the user.

[0068] In a specific implementation, the external gravity data collected by the gravity sensing component is obtained. When it is detected that the difference between the external gravity data and the weight of the toilet body is greater than the target weight threshold and the duration reaches the first duration, it is determined that the user's usage status is that the user starts to use. When it is detected that the difference between the external gravity data and the weight of the toilet body is greater than the target weight threshold and the duration reaches the second duration, it is determined that the user's usage status is that the user is using. After the user starts to use, when it is detected that the difference between the external gravity data and the weight of the toilet body is less than or equal to the target weight threshold within a preset duration and the third duration, it is determined that the user's usage status is that the user has just finished using. When it is detected that the difference between the external gravity data and the weight of the toilet body is less than or equal to the target weight threshold, or the difference between the external gravity data and the weight of the toilet body is greater than the target weight threshold but the duration does not reach the first duration, it is determined that the user's usage status is that the user is not using. In this embodiment, the target weight threshold can be set in advance by the user or set by the intelligent toilet after receiving the weight information of family members. This embodiment does not limit the determination method of the target weight threshold N. The first duration is less than the second duration. The first duration can be set to 3s, and the second duration and the third duration can be set to 5s, or can be adjusted according to needs. This embodiment does not limit this.

[0069] Step S20, in the case where the user's usage status is the first preset status, determine the sitting duration according to the sitting data collected by the sitting sensor within the target time period.

[0070] It should be noted that the first preset state refers to the situation where the user has just finished using; the target time period refers to the time period from when the user starts using to when the user has just finished during the user's most recent toilet use. Obtain the sitting feeling data collected by the sitting feeling sensor during the target time period. The sitting feeling data includes, but is not limited to, information such as pressure distribution, weight change, and whether there is movement. Analyze the sitting feeling data to determine whether the sitting feeling is triggered and the duration of the triggered sitting feeling. In this embodiment, the sitting feeling duration refers to the duration of the triggered sitting feeling. When the sitting feeling is not triggered, the sitting feeling duration is 0.

[0071] Step S30, determine the user's toilet use mode according to the sitting feeling duration.

[0072] It should be noted that the user's toilet use mode includes, but is not limited to, modes such as male urination, female urination, and defecation. By comparing the sitting feeling duration with the preset duration, the user's toilet use mode can be determined. In this embodiment, the preset duration N can be set by the user according to the actual situation.

[0073] In a feasible implementation manner, step S10 may include steps A11 to A13:

[0074] Step A11, when the sitting feeling duration is greater than or equal to the preset duration, determine that the user's toilet use mode is the first toilet use mode.

[0075] Step A12, when the sitting feeling duration is less than the preset duration, determine that the user's toilet use mode is the second toilet use mode.

[0076] Step A13, when the sitting feeling duration is a preset value and the sitting feeling trigger state is the second trigger state, determine that the user's toilet use mode is the third toilet use mode.

[0077] It should be noted that the first toilet use mode refers to defecation; the second toilet use mode is female urination; the third toilet use mode is male urination; the second trigger state refers to the situation where the sitting feeling is not triggered; the preset value is zero in this embodiment. When the sitting feeling duration is greater than or equal to the preset duration, determine that the user's toilet use mode is the first toilet use mode; when the sitting feeling duration is less than the preset duration, determine that the user's toilet use mode is the second toilet use mode; when the sitting feeling duration is a preset value and the sitting feeling trigger state is the second trigger state, determine that the user's toilet use mode is the third toilet use mode.

[0078] Step S40, determine the toilet control mode according to the user's toilet use mode, and control the intelligent toilet to operate according to the toilet control mode.

[0079] It should be noted that after the user has just finished using the toilet and leaves the load-bearing plate, the toilet control mode is different under different user toilet use modes, and the intelligent toilet is controlled to operate according to the toilet control mode corresponding to the user toilet use mode. For example, in the second and third toilet use modes, the toilet control mode is small water volume flushing + closing the cover plate; in the first toilet use mode, the toilet control mode is large water volume flushing + closing the cover plate.

[0080] It can be understood that when it is detected that the user's usage status is that the user has just started using, the toilet cover needs to be controlled to open and the porcelain should be moistened to avoid incomplete cleaning after the toilet is used. In the method of this embodiment, corresponding toilet control modes can be run according to different user usage statuses and different user toilet use modes, and different toilet control modes correspond to the functions of the intelligent toilet, and the functions include but are not limited to flushing / moistening the porcelain / foaming, etc. In summary, this embodiment can realize the functions of "automatic cover flipping and porcelain moistening" or "automatic cover flipping and foaming" in the closed cover state: automatically flushing / moistening the porcelain / foaming when using the toilet, and automatically lifting the cover; when a pet runs to the edge of the toilet, even if the foot feeling condition is triggered, it will not be considered that the user is using the toilet and no function will be triggered.

[0081] The toilet control method of this embodiment is applied to an intelligent toilet, and the intelligent toilet includes a gravity sensing component and a sitting feeling sensor. The gravity sensing component includes at least one gravity detection device, at least one load-bearing plate, and a pressure buffer component. A buffer component is arranged between the gravity detection device and the load-bearing plate; the method includes: performing state detection according to the external gravity data collected by the gravity sensing component to determine the user usage status; in the case where the user usage status is a first preset status, determining the sitting feeling duration according to the sitting feeling data collected by the sitting feeling sensor within a target time period; determining the user toilet use mode according to the sitting feeling duration; determining the toilet control mode according to the user toilet use mode, and controlling the intelligent toilet to operate according to the toilet control mode. By the above method, the gravity sensing component can accurately detect the user usage status, and the sitting feeling sensor can accurately detect and identify the user toilet use mode, and further select the corresponding toilet control mode to control the operation of the intelligent toilet, improving the accuracy of intelligent toilet control, avoiding the situation of incorrect triggering or non-response of intelligent toilet functions, and enhancing the user experience.

[0082] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar content as the above-mentioned embodiment one can be referred to the above introduction and will not be repeated hereinafter. On this basis, please refer to Figure 4 In the toilet control method, step S10 further includes steps S11 to S12:

[0083] Step S11: When the user usage status is in the second preset status, determine the external weight difference based on the external gravity data collected by the gravity sensing component and the target toilet weight.

[0084] It should be noted that the second preset status includes the user just starting to use and the user is in the process of using. The target toilet weight refers to the weight G of the toilet body. When the user usage status is in the second preset status, calculate the difference between the external gravity data f collected by the gravity sensing component and the target toilet weight G, so as to obtain the gravity borne by the footrest part. In this embodiment, the external weight difference refers to the gravity borne by the footrest part = f - G.

[0085] In a feasible implementation manner, before step S11, steps B11 to B12 may be included:

[0086] Step B11: Determine the external weight difference based on the external gravity data collected by the gravity sensing component and the target toilet weight.

[0087] Step B12: When the external weight difference is greater than or equal to the target weight threshold and the duration reaches the second preset duration, determine that the user usage status is in the second preset status.

[0088] It should be noted that the second preset duration refers to the first duration t1. When the external weight difference is greater than or equal to the target weight threshold and the duration reaches the second preset duration, determine that the user usage status changes from the third preset status to the second preset status. In this embodiment, the third preset status refers to the user not using.

[0089] In a feasible implementation manner, step B12 may include steps C11 to C13:

[0090] Step C11: Determine the sitting feeling trigger status according to the sitting feeling data collected by the sitting feeling sensor.

[0091] Step C12: When the sitting feeling trigger status is the first trigger status, control the seat ring to open.

[0092] Step C13: When the sitting feeling trigger status is the second trigger status, control the seat ring to close.

[0093] It should be noted that when the user usage status is in the second preset status, obtain the sitting feeling data collected by the sitting feeling sensor at this time, analyze the sitting feeling data, and determine whether the sitting feeling is triggered, so as to obtain the sitting feeling trigger status. The sitting feeling trigger status includes two states: not triggering the sitting feeling and triggering the sitting feeling.

[0094] It can be understood that the first trigger state refers to the untriggered sitting feeling, and the second trigger state refers to the triggered sitting feeling. When the sitting feeling trigger state is the first trigger state, it indicates that the user's toilet use mode is male urination, and at this time, the seat ring needs to be controlled to open; when the sitting feeling trigger state is the second trigger state, it indicates that the user's toilet use mode is female urination or defecation, and at this time, the seat ring needs to be controlled to close.

[0095] In a feasible implementation manner, before step S11, steps D11 to D13 may be included:

[0096] Step D11, when the user usage state is the third preset state, obtain the external gravity data collected by the gravity sensing component during the calibration time period.

[0097] Step D12, determine a plurality of gravity data points according to the external gravity data collected during the calibration time period.

[0098] Step D13, perform weight calibration according to a plurality of gravity data points to determine the target toilet weight.

[0099] It should be noted that although the target toilet weight G is constant, the sensor is affected by factors such as environmental temperature and humidity changes, physical fatigue and aging, and voltage fluctuations, and will fluctuate within a small range, and show a certain trend of change in the long term. Moreover, the parameters set at the factory will also be different when they reach the user's home due to installation and other reasons. Therefore, the target toilet weight G is automatically calibrated.

[0100] It can be understood that when the user usage state is the third preset state, usually only the toilet body is carried on the load-bearing plate. At this time, the external gravity data collected by the gravity sensing component during the calibration time period is obtained, so as to obtain a plurality of gravity data points. When the difference between the maximum value and the minimum value among the plurality of gravity data points is within the preset error range, then calculate the average value of the plurality of gravity data points to obtain the target toilet weight. The calibration time period is a fixed-length time period when the user does not use the toilet. In this embodiment, the target toilet weight needs to include the weight of the water existing in the toilet body during normal use.

[0101] For example, during the calibration time period, 60 gravity data points f are obtained, and the most representative data Max_i and Min_i are found from the 60 f's and put into the array in a first-in, first-out manner. The length of the array is set to 120, and the array storage for 1 hour is sufficient. When the Max and Min selected from the 120 data satisfy the condition Max - Min ≤ Δ, where Δ is the error range set by the system, it indicates that the toilet is in a very stable state within this hour. At this time, the average value of these 120 data can be used as the new target toilet weight G.

[0102] Step S12, when the external weight difference is less than the target weight threshold and the duration reaches the first preset duration, it is determined that the user usage state changes from the second preset state to the first preset state.

[0103] It should be noted that the first preset duration refers to the third duration t2. When the user usage state is in the second preset state, when it is detected that the external weight difference is less than the target weight threshold and the duration reaches the first preset duration, it is determined that the user usage state changes from the second preset state to the first preset state. At this time, the user has just finished using.

[0104] In this embodiment, when the user usage state is in the second preset state, the external weight difference is determined according to the external gravity data collected by the gravity sensing component and the target toilet weight; when the external weight difference is less than the target weight threshold and the duration reaches the first preset duration, it is determined that the user usage state changes from the second preset state to the first preset state. By the above method, the user usage state can be accurately detected, and the mis-triggering of functions during use is avoided.

[0105] Based on the first embodiment and / or the second embodiment of the present application, in the third embodiment of the present application, the same or similar content as in the above-mentioned embodiment one and / or embodiment two can be referred to the above introduction and will not be repeated hereinafter. On this basis, please refer to Figure 5 , before step S12, the toilet control method further includes steps S121 to S124:

[0106] Step S121, obtain the usage object information of the environment where the intelligent toilet is located.

[0107] Step S122, when there is a preset object in the environment where the intelligent toilet is located, determine the object weight of the first target object and the object weights of at least one second target object according to the usage object information.

[0108] It should be noted that the usage object information includes all living objects existing in the environment where the intelligent toilet is located and the object weight of each object; the preset object refers to a pet; the first target object refers to a pet; the second target object refers to a person. The usage object information can be obtained after the user inputs it into the corresponding control APP of the intelligent toilet. The object weight includes the weight of each object in the standing posture and the sitting posture.

[0109] It can be understood that when there is a pet in the environment where the intelligent toilet is located, the object weight of the pet and the object weights of other second target objects are determined according to the usage object information.

[0110] Step S123, sort the object weights of each second target object, and determine the target object weight from the object weights of each second target object according to the sorting result.

[0111] It should be noted that when sorting the object weights of other two target objects, ascending order or descending order can be selected, and the sorting method is not limited in this embodiment. In this embodiment, according to the sorting result of the object weights of multiple second target objects, the lightest object weight is used as the target object weight.

[0112] Step S124, set a threshold according to the object weight of the first target object and the target object weight, and determine the target weight threshold.

[0113] It should be noted that usually, the object weight of the first target object is less than the target object weight. In this case, the target weight threshold is set between the object weight of the first target object and the target object weight. For example, in a certain family, the lightest member is a boy with a weight of 21 - 24 kg, and there is a pet dog with a weight of 10 - 11 kg. The reference weight value for the boy's standing posture is 21, and for sitting is 18; the reference weight value for the pet dog's standing posture is 10, and for squatting on the toilet lid is 9. Therefore, the target weight threshold can be set to 15 kg.

[0114] It can be understood that in addition to the above method, the target weight threshold can also be set directly by the user in the control APP corresponding to the intelligent toilet; or, set by the user through the control remote control corresponding to the intelligent toilet; or, set by the user through the setting control corresponding to the intelligent toilet.

[0115] For example, a certain intelligent toilet has a double 8 - digit display screen, which can be used to usually display the measured gravity value, and can also display the target weight threshold in the adjustment mode. Its remote control has combination button 1: long - press for 6 seconds to turn on or off the trigger function. When the function is off, the double 8 - digit screen displays "- -", and when the function is on, it displays the actual value. Combination button 2: long - press for 6 seconds to enter the target weight threshold adjustment mode, and then short - press "+" or "-" to adjust the target weight threshold, and the target weight threshold flashes on the double 8 - digit screen.

[0116] In this embodiment, by obtaining the usage object information of the environment where the intelligent toilet is located; when there is a preset object in the environment where the intelligent toilet is located, determining the object weight of the first target object and the object weights of at least one second target object according to the usage object information; sorting the object weights of each second target object, and determining the target object weight from the object weights of each second target object according to the sorting result; setting a threshold according to the object weight of the first target object and the target object weight, and determining the target weight threshold. Through the above method, a target weight threshold that meets the user's usage requirements can be obtained.

[0117] It should be noted that the above examples are only for understanding the present application and do not limit the toilet control method of the present application. Based on this technical concept, more forms of simple transformations are within the protection scope of the present application.

[0118] The present application also provides a toilet control device. Please refer to Figure 6 , the toilet control device includes:

[0119] A detection module 10, configured to perform status detection according to external gravity data collected by the gravity sensing component to determine the user's usage status;

[0120] A processing module 20, configured to determine the sitting duration according to the sitting data collected by the sitting sensor within a target time period when the user's usage status is a first preset status;

[0121] The processing module 20 is further configured to determine the user's toilet use mode according to the sitting duration;

[0122] A control module 30, configured to determine the toilet control mode according to the user's toilet use mode and control the intelligent toilet to operate according to the toilet control mode.

[0123] Optionally, the detection module 10 is further configured to:

[0124] When the user's usage status is a second preset status, determine the external weight difference according to the external gravity data collected by the gravity sensing component and the target toilet weight;

[0125] When the external weight difference is less than the target weight threshold and the duration reaches a first preset duration, determine that the user's usage status changes from the second preset status to the first preset status.

[0126] Optionally, the detection module 10 is further configured to:

[0127] Determine the external weight difference according to the external gravity data collected by the gravity sensing component and the target toilet weight;

[0128] When the external weight difference is greater than or equal to the target weight threshold and the duration reaches a second preset duration, determine that the user's usage status is the second preset status.

[0129] Optionally, the detection module 10 is further configured to:

[0130] When the user's usage status is a third preset status, obtain the external gravity data collected by the gravity sensing component within a calibration time period;

[0131] Determine a plurality of gravity data points according to the external gravity data collected within the calibration time period;

[0132] Perform weight correction based on multiple gravity data points to determine the target weight of the toilet.

[0133] Optionally, the detection module 10 is further configured to:

[0134] Obtain information about the user of the environment where the smart toilet is located;

[0135] When there is a preset object in the environment where the smart toilet is located, determine the object weight of the first target object and the object weights of at least one second target object according to the user information;

[0136] Sort the object weights of each second target object, and determine the target object weight from the object weights of each second target object according to the sorting result;

[0137] Set a threshold according to the object weight of the first target object and the target object weight to determine the target weight threshold.

[0138] Optionally, the detection module 10 is further configured to:

[0139] After the step of determining that the user usage state is the second preset state when the external weight difference is greater than or equal to the target weight threshold and the duration reaches the second preset duration, the method further includes:

[0140] Determine the sitting feeling trigger state according to the sitting feeling data collected by the sitting feeling sensor;

[0141] When the sitting feeling trigger state is the first trigger state, control the seat ring to open;

[0142] When the sitting feeling trigger state is the second trigger state, control the seat ring to close.

[0143] Optionally, the processing module 20 is further configured to:

[0144] When the sitting feeling duration is greater than or equal to the preset duration, determine that the user's toilet use mode is the first toilet use mode;

[0145] When the sitting feeling duration is less than the preset duration, determine that the user's toilet use mode is the second toilet use mode;

[0146] When the sitting feeling duration is the preset value and the sitting feeling trigger state is the second trigger state, determine that the user's toilet use mode is the third toilet use mode.

[0147] The toilet control device provided by this application adopts the toilet control method in the above-mentioned embodiment, which can solve the problem that the accuracy of function control of intelligent toilets in the prior art is poor, affecting the user experience. Compared with the prior art, the beneficial effects of the toilet control device provided by this application are the same as those of the toilet control method provided by the above-mentioned embodiment, and other technical features in the toilet control device are the same as those disclosed in the method of the above-mentioned embodiment, and will not be elaborated here.

[0148] This application provides an intelligent toilet, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein, the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the toilet control method in the first embodiment above.

[0149] Refer to the following Figure 7 , which shows a schematic structural diagram of an intelligent toilet suitable for implementing the embodiment of this application. The intelligent toilet in the embodiment of this application may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 7 The intelligent toilet shown is only an example and should not impose any limitations on the functions and usage scope of the embodiments of this application.

[0150] As shown in Figure 7As shown, the intelligent toilet may include a processing device 1001 (such as a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 into a random access memory (RAM: Random Access Memory) 1004. In the RAM 1004, various programs and data required for the operation of the intelligent toilet are also stored. The processing device 1001, the ROM 1002, and the RAM 1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems may be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touchpad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the intelligent toilet to communicate with other devices wirelessly or wiredly to exchange data. Although the figure shows an intelligent toilet with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be alternatively implemented or had.

[0151] In particular, according to the embodiments disclosed in the present application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program codes for executing the methods shown in the flowcharts. In such an embodiment, the computer program can be downloaded and installed from a network through the communication device, or installed from the storage device 1003, or installed from the ROM 1002. When the computer program is executed by the processing device 1001, the above functions defined in the methods of the embodiments disclosed in the present application are executed.

[0152] The intelligent toilet provided by the present application adopts the toilet control method in the above embodiment, and can solve the problem that the accuracy of function control of the intelligent toilet in the prior art is poor, affecting the user experience. Compared with the prior art, the beneficial effects of the intelligent toilet provided by the present application are the same as those of the toilet control method provided by the above embodiment, and other technical features in the intelligent toilet are the same as those disclosed in the method of the previous embodiment, and will not be elaborated here.

[0153] It should be understood that each part disclosed in this application can be implemented by hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in a suitable manner in any one or more embodiments or examples.

[0154] As described above, the above are only specific embodiments of this application, but the protection scope of this application is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in this application, and all of them should be covered by the protection scope of this application. Therefore, the protection scope of this application should be subject to the protection scope of the claims.

[0155] This application provides a computer-readable storage medium having computer-readable program instructions (i.e., computer programs) stored thereon, and the computer-readable program instructions are used to execute the toilet control method in the above embodiments.

[0156] The computer-readable storage medium provided by this application can be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM) or flash memory, optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above. In this embodiment, the computer-readable storage medium can be any tangible medium that contains or stores a program, and this program can be used by or in combination with an instruction execution system, device, or device. The program code contained on the computer-readable storage medium can be transmitted by any appropriate medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0157] The above computer-readable storage medium can be included in a smart toilet; or it can exist separately and not be assembled into a smart toilet.

[0158] The above computer-readable storage medium carries one or more programs, which, when executed by the intelligent toilet, cause the intelligent toilet to: perform status detection based on the external gravity data collected by the gravity sensing component to determine the user usage status; in the case where the user usage status is a first preset status, determine the sitting duration based on the sitting data collected by the sitting sensor within a target time period; determine the user toilet use mode according to the sitting duration; determine the toilet control mode according to the user toilet use mode, and control the intelligent toilet to operate according to the toilet control mode.

[0159] Computer program code for performing the operations of the present application may be written in one or more programming languages or combinations thereof. The programming languages include object-oriented programming languages such as Java, Smalltalk, C++, and also include conventional procedural programming languages such as the "C" language or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, executed as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (for example, by using an Internet service provider to connect through the Internet).

[0160] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of systems, methods, and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagram may represent a module, a program segment, or a part of code that contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than that marked in the accompanying drawings. For example, two consecutive blocks shown may actually be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flowchart, and the combination of blocks in the block diagram and / or flowchart, may be implemented by a dedicated hardware-based system for performing the specified functions or operations, or may be implemented by a combination of dedicated hardware and computer instructions.

[0161] The modules described in the embodiments of the present application may be implemented in software or in hardware. Among them, the name of the module does not constitute a limitation to the unit itself in some cases.

[0162] The readable storage medium provided by the present application is a computer-readable storage medium. The computer-readable storage medium stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned toilet control method, which can solve the problem that the accuracy of function control of intelligent toilets in the prior art is poor, affecting the user experience. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as those of the toilet control method provided by the above embodiments, and will not be elaborated here.

[0163] The present application also provides a computer program product, including a computer program, and the steps of the above-mentioned toilet control method are implemented when the computer program is executed by a processor.

[0164] The computer program product provided by the present application can solve the problem that the accuracy of function control of intelligent toilets in the prior art is poor, affecting the user experience. Compared with the prior art, the beneficial effects of the computer program product provided by the present application are the same as those of the toilet control method provided by the above embodiments, and will not be elaborated here.

[0165] The above are only partial embodiments of the present application, and thus do not limit the patent scope of the present application. Any equivalent structural transformation made under the technical concept of the present application by using the content of the specification and drawings of the present application, or any direct / indirect application in other related technical fields, is included in the patent protection scope of the present application.

Claims

1. A toilet control method, characterized in that: The toilet control method is applied to a smart toilet, which includes a gravity sensing component and a sitting sensor, wherein the gravity sensing component includes at least one gravity detection device, at least one load-bearing plate and a buffer component, and a buffer component is provided between the gravity detection device and the load-bearing plate; The method comprises: Performing status detection based on external gravity data collected by the gravity sensing component to determine the user's usage status; When the user usage state is the first preset state, determining the duration of the sitting sensation according to the sitting sensation data collected by the sitting sensation sensor within the target time period; Determining the user's toileting mode according to the duration of the sitting feeling; The toilet control mode is determined according to the user's toilet mode, and the smart toilet is controlled to operate according to the toilet control mode.

2. The method according to claim 1, characterized in that The step of performing state detection based on the external gravity data collected by the gravity sensing component to determine the user's use state includes: When the user usage state is the second preset state, determining the external weight difference according to the external gravity data collected by the gravity sensing component and the target toilet weight; When the external weight difference is less than the target weight threshold and the duration reaches a first preset duration, it is determined that the user usage state is changed from the second preset state to the first preset state.

3. The method according to claim 2, characterized in that Before the step of determining the external weight difference according to the external gravity data collected by the gravity sensing component and the target toilet weight when the user is in the second preset state, the method further includes: Determining an external weight difference based on the external gravity data collected by the gravity sensing component and the target toilet weight; When the external weight difference is greater than or equal to the target weight threshold and the duration reaches a second preset duration, it is determined that the user usage state is the second preset state.

4. The method according to claim 2, characterized in that Before the step of determining the external weight difference according to the external gravity data collected by the gravity sensing component and the target toilet weight when the user is in the second preset state, the method further includes: When the user usage state is the third preset state, obtaining external gravity data collected by the gravity sensing component within a calibration time period; determining a plurality of gravity data points based on the external gravity data collected during the calibration period; A weight calibration is performed based on multiple gravity data points to determine the target toilet weight.

5. The method according to claim 2, characterized in that Before the step of determining that the user usage state is changed from the second preset state to the first preset state when the external weight difference is less than the target weight threshold and the duration reaches the first preset duration, the method further includes: Acquire user information of the environment where the smart toilet is located; When there are preset objects in the environment where the smart toilet is located, determining the object weight of the first target object and the object weight of at least one second target object according to the usage object information; sorting the object weights of the second target objects, and determining the target object weight among the object weights of the second target objects according to the sorting result; A threshold is set according to the object weight of the first target object and the target object weight to determine a target weight threshold.

6. The method according to claim 3, characterized in that The smart toilet also includes a seat; After the step of determining that the user usage state is the second preset state when the external weight difference is greater than or equal to the target weight threshold and the duration reaches a second preset duration, the method further includes: Determine the sitting sense triggering state according to the sitting sense data collected by the sitting sense sensor; When the sitting sense trigger state is the first trigger state, controlling the seat ring to open; When the sitting sense trigger state is the second trigger state, the seat ring is controlled to close.

7. The method according to any one of claims 1 to 6, characterized in that The step of determining the user's toilet mode according to the duration of the sitting feeling comprises: When the duration of the sitting feeling is greater than or equal to the preset duration, determining that the user's toilet mode is the first toilet mode; When the duration of the sitting feeling is less than the preset duration, determining that the user's toilet mode is the second toilet mode; When the duration of the sitting sensation is a preset value and the sitting sensation trigger state is a second trigger state, it is determined that the user's toilet mode is a third toilet mode.

8. A toilet control device, characterized in that: The toilet control device comprises: A detection module, used to perform status detection based on the external gravity data collected by the gravity sensing component to determine the user's usage status; a processing module, configured to determine a duration of a sitting sensation according to the sitting sensation data collected by the sitting sensation sensor within a target time period when the user's use state is the first preset state; The processing module is further used to determine the user's toilet mode according to the duration of the sitting feeling; The control module is used to determine a toilet control mode according to the user's toilet mode, and control the smart toilet to operate according to the toilet control mode.

9. A smart toilet, characterized in that: The device comprises: a memory, a processor, and a toilet control program stored in the memory and executable on the processor, wherein the toilet control program is configured to implement the steps of the toilet control method according to any one of claims 1 to 7.

10. A storage medium, characterized in that: The storage medium stores a toilet control program, and when the toilet control program is executed by the processor, the steps of the toilet control method according to any one of claims 1 to 7 are implemented.