Toilet flushing control method, device, storage medium, urinal and toilet
By determining the distance and angle between the human forearm and the midline of the body, the problem of accidental flushing in existing toilets is solved, resulting in more accurate flushing control and a cleaner toilet.
Patent Information
- Application Number
- CN202410819321.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-24
- Publication Date
- 2025-11-28
- Estimated Expiration
- 2044-06-24
AI Technical Summary
Existing microwave sensing methods based on the Doppler principle are prone to false sensing in urinals, leading to false flushing, and false sensing of water flow can cause continuous flushing.
By measuring the distance and angle between the forearm and the midline of the body, we can determine whether the behavior matches urination and thus control the flushing of the toilet.
This avoids accidental flushing caused by false sensors, improving the accuracy of flush control and the cleanliness of the toilet.
Smart Images

Figure CN118814928B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of intelligent bathroom technology, in particular to a method and device for controlling flushing of a toilet bowl, a storage medium, a urinal and a toilet. BACKGROUND
[0002] The existing millimeter wave or microwave induction probe mainly uses the Doppler principle to detect the dynamic action of the human body. The dynamic induction detection is a detection method that uses the Doppler phenomenon to detect the approach or away action of the human body, gesture action, etc. in a short distance, and then delays a certain time after detecting the human action by the program algorithm of the main control board as the detection of the confirmation time that the human body is still using the flushing device, so as to determine whether a person is using the flushing device. Then, when no human action is detected, the flushing valve is controlled to open and close to flush. This microwave dynamic induction method based on the Doppler principle is too sensitive. If it is applied to urination, when a person walks from the front urinal to the back urinal to urinate, the front urinal is easy to be misinduced by the human action and misflushed. Moreover, when the flushing valve device flushes, the flowing water flow is easy to be misinduced by the microwave induction device and continuously flushed by self-excitation induction. SUMMARY
[0003] The present application provides a method and device for controlling flushing of a toilet bowl, a storage medium, a urinal and a toilet, which can avoid misflushing of the toilet bowl caused by misinduction.
[0004] The present application provides a method for controlling flushing of a toilet bowl, the toilet bowl comprising an induction device, comprising:
[0005] After determining that the human body enters the urination area, the distance and the included angle between the forearm of the human body and the center line of the human body are obtained;
[0006] According to the distance and the included angle, it is determined whether the human body conforms to the urination behavior, and the flushing of the toilet bowl is controlled.
[0007] In an exemplary embodiment, the distance and the included angle between the forearm of the human body and the center line of the human body are obtained, comprising:
[0008] The positions of the key parts of the human body are obtained, and the position of the center line of the human body is determined according to the positions of the key parts.
[0009] In an exemplary embodiment, the positions of the key parts of the human body are obtained, and the position of the center line of the human body is determined according to the positions of the key parts, comprising:
[0010] At least one key point of the left side of the human body and at least one key point of the right side of the human body are obtained; the key points include nodes at the same height or nodes with the same limb function;
[0011] determine a middle position of the human body according to at least one key point of a left side of the human body and at least one key point of a right side of the human body; and
[0012] determine a position of a line extending in a first direction as the middle line position of the human body, wherein the first direction is a direction in which the human body extends in height.
[0013] In an exemplary embodiment, the determining whether the human body conforms to the urination behavior according to the distance and the included angle comprises:
[0014] determining that the human body conforms to the urination behavior when an included angle between the left forearm and / or the right forearm of the human body and the middle line of the human body is equal to or less than a preset first angle threshold.
[0015] In an exemplary embodiment, the determining whether the human body conforms to the urination behavior according to the distance and the included angle further comprises:
[0016] determining that the human body conforms to the urination behavior when a horizontal distance between an arm key point on the left arm and / or the right arm of the human body and the middle line of the human body is equal to or less than a preset first distance threshold, wherein the arm key point comprises a node at the same height on the arm of the human body or a node of the same limb function.
[0017] In an exemplary embodiment, the forearm of the human body comprises a left forearm and a right forearm, and the included angle between the forearm of the human body and the middle line of the human body comprises at least one of the following:
[0018] the left forearm comprises a left wrist key point and a left elbow key point, and the included angle is an included angle between a line connecting the left wrist key point and the left elbow key point and the middle line of the human body;
[0019] the right forearm comprises a right wrist key point and a right elbow key point, and the included angle is an included angle between a line connecting the right wrist key point and the right elbow key point and the middle line of the human body.
[0020] In an exemplary embodiment, the determining whether the human body conforms to the urination behavior according to the distance and the included angle comprises:
[0021] determining a first included angle between the left forearm of the human body and the middle line of the human body and a second included angle between the right forearm of the human body and the middle line of the human body;
[0022] determining that the human body conforms to the urination behavior when the first included angle and / or the second included angle is greater than a preset second angle threshold, and when a difference between the first included angle and the second included angle is not greater than a preset third angle threshold.
[0023] In an exemplary embodiment, the method further comprises:
[0024] Before acquiring the distance and the angle between the human forearm and the human midline, it is determined that the human is in a front position of the toilet;
[0025] The determination that the human is in the front position of the toilet includes:
[0026] According to the position of the human midline and the toilet reference position, it is determined that the distance between the human midline and the toilet reference position in a second direction is less than or equal to a preset second distance threshold, and the human is in a middle position of the toilet; wherein the second direction is a direction extending left and right along the human.
[0027] In an exemplary embodiment, the flush control of the toilet according to the determination of whether the human conforms to the urination behavior based on the distance and the angle includes:
[0028] When it is determined that the human conforms to the urination behavior, the flush of the toilet is controlled based on the human leaving the urination area.
[0029] In an exemplary embodiment, the flush control of the toilet according to the determination of whether the human conforms to the urination behavior based on the distance and the angle includes:
[0030] When it is determined that the human conforms to the urination behavior, the toilet is controlled to perform a first flush;
[0031] After the first flush, the toilet is controlled to perform a second flush based on the human leaving the urination area.
[0032] In an exemplary embodiment, the flush control of the toilet according to the determination of whether the human conforms to the urination behavior based on the distance and the angle includes:
[0033] When the human does not conform to the urination behavior, the toilet is controlled not to flush based on the human leaving the urination area.
[0034] The application provides a flush control device of a toilet, comprising a memory and a processor,
[0035] The memory is used to save a program for flush control of the toilet;
[0036] The processor is used to read and execute the program for flush control of the toilet, and execute the method of any of the above embodiments.
[0037] The application provides a computer readable storage medium, which stores computer executable instructions, wherein the computer executable instructions are used to make the computer execute the method of any of the above embodiments.
[0038] The application provides a urinal, which comprises the flush control device of the toilet.
[0039] The application provides a toilet, comprising the flushing control device of the toilet.
[0040] Compared with the related art, the application embodiment controls flushing of the toilet by determining that a human body enters a urination area, acquiring a distance between a forearm of the human body and a middle line of the human body and an included angle therebetween, and judging whether the human body conforms to a urination behavior according to the distance and the included angle. Since flushing of the toilet is controlled when it is detected that the human body is about to perform the urination behavior, the toilet can be prevented from being flushed by mistake due to a false sensing.
[0041] Other features and advantages of the application will be set forth in the following description, and in part will become apparent to those skilled in the art from the following description, or can be learned by practice of the application. Other advantages of the application will be realized and attained by the methods and solutions particularly pointed out in the written description and claims hereof. BRIEF DESCRIPTION OF DRAWINGS
[0042] The accompanying drawings are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the principles of the application. The drawings are included solely for purposes of illustrating the application and are not to be construed as a limitation of the application.
[0043] Figure 1 A schematic diagram of a flushing control method of a toilet according to an embodiment of the application;
[0044] Figure 2 A schematic diagram of a urinal according to an embodiment of the application;
[0045] Figure 3 A schematic diagram of a human body key point and an included angle between a forearm of the human body and a middle line of the human body according to an embodiment of the application;
[0046] Figure 4 A schematic diagram of a flushing control device of a toilet according to an embodiment of the application. DETAILED DESCRIPTION
[0047] The present disclosure describes a plurality of embodiments, but the description is exemplary rather than limiting, and it will be apparent to those of ordinary skill in the art that there can be more embodiments and implementation solutions within the scope of the embodiments described in the present disclosure. Although many possible combinations of features are shown in the drawings and discussed in the detailed description, many other combinations of the disclosed features are possible. Unless specifically intended otherwise, any feature or element of any embodiment can be used in combination with any other feature or element of any other embodiment, or can replace any other feature or element of any other embodiment.
[0048] The present disclosure includes and contemplates combinations of features and elements known to those of ordinary skill in the art. The presently disclosed embodiments, features and elements can also be combined with any conventional feature or element to form a unique application defined by the claims. Any feature or element of any embodiment can also be combined with features or elements from other application to form another unique application defined by the claims. Therefore, it is to be understood that any feature shown and / or discussed in the present disclosure can be realized alone or in any appropriate combination. Thus, unless otherwise restricted by the claims, embodiments are not to be limited by any particular combination. Moreover, various modifications and changes can be made within the scope of the claims.
[0049] Furthermore, in describing representative embodiments, the specification can have presented the method and / or process as a particular sequence of steps. However, to the extent that the method or process depends on more than one step, the method or process should not be limited to the particular sequence of steps described. Other sequences of steps can be possible, and are within the scope of the present disclosure. Therefore, the particular order in which the steps are presented is not limiting. Moreover, the specification can present the steps of the method and / or process in a particular order, which is not limiting. The steps can be executed in any order, and are not limited to the particular order presented in the specification.
[0050] The ordinal numbers "first", "second", "third" and the like in the specification are used to distinguish similar elements and are not meant to denote a quantity or position of the elements. The "plurality" in the present disclosure means two or more in number.
[0051] Figure 1 A schematic diagram of a toilet flushing control method of an embodiment of the present application is shown in Figure 1 The toilet flushing control method of an embodiment of the present application includes the following steps 11 to 12:
[0052] Step 11, after determining that a human body enters a urination area, the distance and the included angle between the forearm of the human body and the centerline of the human body are obtained;
[0053] Step 12, according to the distance and the included angle, it is judged whether the human body conforms to the urination behavior, and the toilet is controlled to flush.
[0054] The toilet flushing control method of an embodiment of the present application can avoid the toilet flushing error caused by the sensing error by judging whether the human body conforms to the urination behavior according to the distance and the included angle between the forearm of the human body and the centerline of the human body, and then controlling the toilet to flush.
[0055] Exemplarily, the urinal can be a urinal, and a structure of the urinal can be as shown in Figure 2 The structure includes a laser radar sensor window 1, a water outlet assembly 2, and a urinal body 3.
[0056] In other embodiments, the urinal can be a toilet.
[0057] In step 11, obtaining the distance and the included angle between the forearm of the human body and the center line of the human body can include:
[0058] Obtaining the positions of the key parts of the human body and determining the position of the center line of the human body according to the positions of the key parts.
[0059] Exemplarily, the key parts of the human body can be, for example, key feature parts of the human body such as hands, shoulders, legs, etc. The key parts of the human body can be detected by using the point cloud data detection technology of deep learning in the prior art.
[0060] The key parts of the human body can include key points of the human body. The key points of the human body can include left shoulder key points and right shoulder key points, forearm key points of the human body (including left wrist key points, left elbow key points, right wrist key points, and right elbow key points), leg key points of the human body, etc.
[0061] In an exemplary embodiment, the obtaining the positions of the key parts of the human body and determining the position of the center line of the human body according to the positions of the key parts can include:
[0062] Obtaining at least one key point of a left side part of the human body and at least one key point of a right side part of the human body; the key points include nodes at the same height of the human body or nodes with the same limb function;
[0063] Determining a middle position of the human body according to the at least one key point of the left side part of the human body and the at least one key point of the right side part of the human body; and
[0064] Taking a position of a line extending in a first direction from the middle position of the human body as the position of the center line of the human body; wherein the first direction is a direction in which the human body extends in height.
[0065] In step 12, the determining whether the human body conforms to the urination behavior according to the distance and the included angle can include:
[0066] When the included angle between the left forearm and / or the right forearm of the human body and the center line of the human body is equal to or less than a preset first angle threshold, it is determined that the human body conforms to the urination behavior.
[0067] In an exemplary embodiment, the left forearm of the human body can include a left wrist key point and a left elbow key point, and the included angle can be an included angle between a line connecting the left wrist key point and the left elbow key point and the center line of the human body.
[0068] The right forearm of the human body can include a right wrist key point and a right elbow key point, and the included angle can be an included angle between a line connecting the right wrist key point and the right elbow key point and a human body midline.
[0069] Exemplarily, the first angle threshold value can be 85 degrees. The first angle threshold value can also be determined according to actual conditions. Figure 3 Exemplarily, the first angle threshold value can be 85 degrees. The first angle threshold value can also be determined according to actual conditions.
[0070] Exemplarily, the first angle threshold value can be 85 degrees. The first angle threshold value can also be determined according to actual conditions.
[0071] In step 12, the human body is determined to be in a urination behavior according to the distance and the included angle. The method can further include:
[0072] When the horizontal distance between the arm key point on the left arm and / or the right arm of the human body and the human body midline is equal to or less than the first distance threshold value, the human body is determined to be in a urination behavior.
[0073] The arm key point includes a node at the same height on the human arm or a node with the same limb function.
[0074] Exemplarily, the arm key point can be a left wrist key point and a right wrist key point.
[0075] The first distance threshold value can be determined according to the distance between the left shoulder key point and the right shoulder key point.
[0076] Exemplarily, assuming that the distance between the left shoulder key point and the right shoulder key point is 90 cm, the first distance threshold value can be equal to 1 / 4 of the distance between the left shoulder key point and the right shoulder key point, that is, the first distance threshold value can be 22.5 cm.
[0077] In step 12, the human body is determined to be in a urination behavior according to the distance and the included angle. The method can further include:
[0078] Determining a first included angle between the left forearm of the human body and the human body midline and a second included angle between the right forearm and the human body midline;
[0079] When the first included angle and / or the second included angle is greater than a second angle threshold value, and when the difference between the first included angle and the second included angle is not greater than a third angle threshold value, the human body is determined to be in a urination behavior.
[0080] Exemplarily, the preset second angle threshold value can be set as 0 degree, and the preset third angle threshold value can be set as 85 degrees. The preset second angle threshold value and the preset third angle threshold value can also be set as other values according to requirements, which are not limited herein.
[0081] As can be seen, whether the human body conforms to the urination behavior can be determined according to that the angle between the left forearm and / or the right forearm of the human body and the midline of the human body is equal to or less than the preset first angle threshold value, or that the horizontal distance between the arm key point on the left arm and / or the right arm of the human body and the midline of the human body is equal to or less than the preset first distance threshold value, or that the angle between the left forearm and / or the right forearm of the human body and the midline of the human body is equal to or less than the preset first angle threshold value and the horizontal distance between the arm key point on the left arm and / or the right arm of the human body and the midline of the human body is equal to or less than the preset first distance threshold value.
[0082] Exemplarily, whether the human body conforms to the urination behavior can be determined according to that the angle between the line connecting the left wrist key point and the left elbow key point and the midline of the human body is equal to or less than the preset first angle threshold value.
[0083] Exemplarily, whether the human body conforms to the urination behavior can be determined according to that the horizontal distance between the left wrist key point and the midline of the human body is equal to or less than the preset first distance threshold value.
[0084] Exemplarily, whether the human body conforms to the urination behavior can be determined according to that the angle between the line connecting the left wrist key point and the left elbow key point and the midline of the human body is equal to or less than the preset first angle threshold value and the horizontal distance between the left wrist key point and the midline of the human body is equal to or less than the preset first distance threshold value.
[0085] Exemplarily, whether the human body conforms to the urination behavior can be determined according to that the angle between the line connecting the right wrist key point and the right elbow key point and the midline of the human body is equal to or less than the preset first angle threshold value and the horizontal distance between the right wrist key point and the midline of the human body is equal to or less than the preset first distance threshold value.
[0086] Exemplarily, whether the human body conforms to the urination behavior can be determined according to that the angle between the line connecting the left wrist key point and the left elbow key point and the midline of the human body is equal to or less than the preset first angle threshold value and the horizontal distance between the left wrist key point and the midline of the human body is equal to or less than the preset first distance threshold value, and the key points of the human body forearm include the right wrist key point and the right elbow key point, the angle between the line connecting the right wrist key point and the right elbow key point and the midline of the human body is equal to or less than the preset first angle threshold value and the horizontal distance between the right wrist key point and the midline of the human body is equal to or less than the preset first distance threshold value.
[0087] In step 12, in an exemplary embodiment, the distance and the included angle are used to determine whether the human body is in a urination state, and the flush control of the toilet can include:
[0088] When it is determined that the human body is in a urination state, the toilet is controlled to flush based on the human body leaving the urination area.
[0089] Exemplarily, it can be determined that the human body leaves the urination area when the distance between the human body and the toilet is greater than a preset third distance threshold. The third distance threshold can be set to 60 cm, or can be set to other values according to requirements, which are not limited herein.
[0090] Exemplarily, it can be determined that the human body leaves the urination area when the human body is not detected for the first time after it is determined that the human body is in a urination state. Other methods can also be used to determine that the human body leaves the urination area, which are not limited herein.
[0091] In step 12, in an exemplary embodiment, the distance and the included angle are used to determine whether the human body is in a urination state, and the flush control of the toilet can include:
[0092] When it is determined that the human body is in a urination state, the toilet is controlled to flush for the first time;
[0093] After the first flush, the toilet is controlled to flush for the second time based on the human body leaving the urination area.
[0094] The flush control method of the toilet of this embodiment can not only avoid toilet flushing errors caused by false sensing, but also make the toilet cleaner through multiple flushing.
[0095] In step 12, in an exemplary embodiment, the distance and the included angle are used to determine whether the human body is in a urination state, and the flush control of the toilet can include:
[0096] When the human body is not in a urination state, the toilet is controlled not to flush based on the human body leaving the urination area.
[0097] This embodiment can avoid toilet flushing errors caused by people passing by the toilet by controlling the toilet not to flush when the human body is not in a urination state.
[0098] In an exemplary embodiment, before the distance and the included angle between the forearm of the human body and the center line of the human body are obtained, it can be determined that the human body is in a front position of the toilet.
[0099] The determination that the human body is in a front position of the toilet includes:
[0100] If the distance between the body midline and the toilet reference position in the second direction is determined to be less than or equal to a preset second distance threshold according to the position of the body midline and the position of the toilet reference position, it is determined that the body is in the front position of the toilet.
[0101] The second direction is a direction extending left and right of the body.
[0102] Exemplarily, the toilet reference position can be the middle position of the toilet or the position of the sensing device for sensing the body information.
[0103] Exemplarily, assuming that the width of the urinal in the first direction is 40 cm, the preset second distance threshold can be 20 cm.
[0104] In this embodiment, before the distance and the included angle between the forearm of the body and the body midline are obtained, it can be determined that the body is in the front position of the toilet, and then whether the body conforms to the urination behavior is determined according to the obtained distance and the included angle between the forearm of the body and the body midline, so as to improve the accuracy of the determination result.
[0105] In an exemplary embodiment, determining that the body enters the urination area can include determining, according to detection data of the sensing device, that a key part of the body is detected and the shortest distance between the body and the sensing device is less than or equal to a preset third distance threshold, and then determining that the body enters the urination area. Exemplarily, the sensing device can be a laser radar or a millimeter wave radar. Exemplarily, the detection data is three-dimensional point cloud data. Three-dimensional point cloud data is a data format for representing a set of points in a three-dimensional space. Each point is usually composed of its spatial coordinates or other attributes such as color, normal vector, etc. Exemplarily, the sensing device can be arranged in the toilet or arranged outside the toilet, for example, the sensing device is installed on the wall surface near the urinal.
[0106] In some other exemplary embodiments, determining that the body enters the urination area can be determined according to the distance between the body and the toilet.
[0107] Exemplarily, when the sensing device is installed on the ceramic surface on the back side of the urinal, the position information of the sensing device can be the position coordinates (0, 0, 0). The distance between the body midline and the sensing device is less than or equal to the preset third distance threshold, which means that the projection of the body midline on the vertical plane of the toilet installation ground is located on the circumference of the circle with the position of the sensing device as the center and the third distance threshold as the radius. Generally, the projection of the body midline is located on the circumference of the urinal in the front direction or the side direction.
[0108] The application further discloses a flushing control device of a toilet, as shown in Figure 4 The flushing control device of the toilet comprises a memory 100 and a processor 200.
[0109] The memory 100 is configured to store a program for controlling flushing of the toilet bowl.
[0110] The processor 200 is configured to read and execute the program for controlling flushing of the toilet bowl, and execute the method described in any one of the above embodiments.
[0111] The application further discloses a computer readable storage medium storing computer executable instructions, wherein the computer executable instructions are used to make the computer execute the method described in any one of the above embodiments.
[0112] The application provides a urinal, which comprises the toilet bowl flushing control device.
[0113] The application provides a toilet, which comprises the toilet bowl flushing control device.
[0114] The application describes a plurality of embodiments, but the description is exemplary rather than limiting, and it is obvious to those skilled in the art that there can be more embodiments and implementation schemes within the scope of the embodiments described in the application. Although many possible combinations of features are shown in the drawings and discussed in the detailed description, many other combinations of the disclosed features are possible. Unless specifically limited, any feature or element of any embodiment can be used with any other feature or element of any other embodiment, or can replace any other feature or element in any other embodiment.
[0115] The application includes and contemplates combinations of features and elements known to those skilled in the art. The embodiments, features and elements disclosed in the application can also be combined with any conventional features or elements to form a unique inventive scheme defined by the claims. Any feature or element of any embodiment can also be combined with features or elements from other inventive schemes to form another unique inventive scheme defined by the claims. Therefore, it should be understood that any feature shown and / or discussed in the application can be implemented alone or in any appropriate combination. Therefore, the embodiments are not limited other than as set forth in the claims and their equivalents. In addition, various modifications and changes can be made within the scope of protection of the appended claims.
[0116] Furthermore, in describing representative embodiments, the specification can have presented the method and / or process as a particular sequence of steps. However, to the extent that the method or process depends on the performance of certain steps, the method or process should not be limited to the order of steps presented, as the steps presented in the specification are not exhaustive of all possible sequential embodiments. Other steps can be provided without departing from the spirit or scope of the present application. Accordingly, where the method and / or process steps have not been expressly concluded above, the method and / or process steps shall not be deemed limited to the particular order presented in the specification. Further, the claims should not be limited to the steps of the method and / or process in the order presented in the specification, as the skilled person can readily appreciate that the order of steps can be varied and still remain within the spirit and scope of the present application.
[0117] Those of ordinary skill in the art will appreciate that all or certain steps in the methods disclosed above, functional modules / units in the systems and apparatuses, can be implemented as software, firmware, hardware, and appropriate combinations thereof. In hardware implementations, the division of the functional modules / units referred to in the above description does not necessarily correspond to the division of physical components; for example, one physical component can have multiple functions, or one function or step can be performed by several physical components in cooperation. Certain components or all components can be implemented as software executed by a processor, such as a digital signal processor or a microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software can be distributed on computer readable media, which can include computer storage media (or non-transitory media) and communication media (or transitory media). As is well known to those of ordinary skill in the art, the term computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer. Further, it should be appreciated by those skilled in the art that communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media.
Claims
1. A flushing control method of a toilet, characterized in that, after determining that a human body enters a urination area, a distance and an angle between a forearm of the human body and a centerline of the human body are obtained; whether the human body conforms to a urination behavior is determined according to the distance and the angle, and flushing control of the toilet is performed.
2. The flushing control method of a toilet according to claim 1, characterized by, The distance and the angle between the forearm of the human body and the centerline of the human body are obtained, including: positions of key parts of the human body are obtained, and a position of the centerline of the human body is determined according to the positions of the key parts. 3.The flushing control method of the toilet according to claim 2, characterized in that, the positions of the key parts of the human body are obtained, and the position of the centerline of the human body is determined according to the positions of the key parts, including: at least one key point of a left side part of the human body and at least one key point of a right side part of the human body are obtained; the key points include nodes at the same height or nodes with the same limb function; a middle position of the human body is determined according to the at least one key point of the left side part of the human body and the at least one key point of the right side part of the human body; and a line extending from the middle position of the human body in a first direction is taken as the position of the centerline of the human body; wherein the first direction is a direction in which the human body extends in height.
4. The flushing control method of a toilet according to Claim 1, wherein whether the human body conforms to the urination behavior is determined according to the distance and the angle, including: when an angle between a left forearm and / or a right forearm of the human body and the centerline of the human body is equal to or less than a preset first angle threshold, it is determined that the human body conforms to the urination behavior.
5. The flushing control method of a toilet according to any one of claims 1 to 4, characterized by, whether the human body conforms to the urination behavior is determined according to the distance and the angle, further including: when a horizontal distance between an arm key point on a left arm and / or a right arm of the human body and the centerline of the human body is equal to or less than a preset first distance threshold, it is determined that the human body conforms to the urination behavior; wherein the arm key point includes nodes at the same height or nodes with the same limb function on the arm of the human body.
6. The flushing control method of a toilet according to any one of claims 1 to 4, characterized by, The forearm of the human body includes a left forearm and a right forearm, and the angle between the forearm of the human body and the centerline of the human body includes at least one of the following: The left forearm of the human body includes a left wrist key point and a left elbow key point, and the angle is an angle between a line connecting the left wrist key point and the left elbow key point and the centerline of the human body; The right forearm of the human body includes a right wrist key point and a right elbow key point, and the angle is an angle between a line connecting the right wrist key point and the right elbow key point and the centerline of the human body.
7. The flushing control method of a toilet according to Claim 1, wherein whether the human body conforms to the urination behavior is determined according to the distance and the angle, including: a first angle between the left forearm of the human body and the centerline of the human body and a second angle between the right forearm of the human body and the centerline of the human body are determined; when the first angle and / or the second angle is greater than a preset second angle threshold, and a difference between the first angle and the second angle is not greater than a preset third angle threshold, it is determined that the human body conforms to the urination behavior.
8. The flushing control method of a toilet according to Claim 1, wherein Further including: before the distance and the angle between the forearm of the human body and the centerline of the human body are obtained, it is determined that the human body is in a front position of the toilet; the determination that the human body is in the front position of the toilet includes: determining that the human body is in the middle position of the toilet according to the position of the human body centerline and the distance between the human body centerline and the toilet reference position in a second direction being less than or equal to a preset second distance threshold, wherein the second direction is a direction extending along the left and right of the human body.
9. The flushing control method of a toilet according to Claim 1, wherein controlling flushing of the toilet according to the distance and the included angle to determine whether the human body is in a urination behavior, including: controlling flushing of the toilet based on the human body leaving the urination area when it is determined that the human body is in a urination behavior.
10. The flushing control method of a toilet according to Claim 1, wherein controlling flushing of the toilet according to the distance and the included angle to determine whether the human body is in a urination behavior, including: controlling the toilet to flush for the first time when it is determined that the human body is in a urination behavior; controlling the toilet to flush for the second time based on the human body leaving the urination area after the first flushing.
11. The flushing control method of a toilet according to claim 1 or 9 or 10, characterized by, controlling flushing of the toilet according to the distance and the included angle to determine whether the human body is in a urination behavior, including: controlling the toilet not to flush based on the human body leaving the urination area when it is determined that the human body is not in a urination behavior.
12. A flushing control device of a toilet, comprising a memory and a processor, characterized in that: the memory is configured to store a program for flushing control of the toilet; the processor is configured to read and execute the program for flushing control of the toilet, and execute the method of any one of claims 1 to 11.
13. A computer-readable storage medium storing computer-executable instructions, wherein, The computer executable instructions are configured to cause the computer to execute the method of any one of claims 1 to 11.
14. A urinal, characterized in that The flushing control device of the toilet according to claim 12.
15. A toilet characterized by The flushing control device of the toilet according to claim 12.
Citation Information
Patent Citations
Smart closestool and automatic flush control method
CN108071153A
Ability automatic identification stool and urine and water conservation lavatory utensil that washes
CN205259296U