Defecation condition identification method and device and intelligent defecation device system
By integrating weight sensors and defecation sensing sensors in the defecation device, the automatic identification of user's defecation status is solved, and the problems of low automation and insufficient privacy protection in the prior art are improved, and the efficiency and privacy protection level of defecation status are improved.
Patent Information
- Application Number
- CN202411800704.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-09
- Publication Date
- 2025-03-07
- Estimated Expiration
- 2044-12-09
AI Technical Summary
The prior art has low degree of automation in detecting users' defecation conditions and insufficient privacy protection.
By integrating a weight sensor and a bowel sensing sensor in the defecation device, and combining data processing equipment, automatic identification of user's bowel conditions is achieved. The specific steps include obtaining weight sensing data from the weight sensor, determining whether the user has left the defecation device, and obtaining defecation sensing data if he leaves, and identifying the defecation condition.
It improves the convenience and efficiency of identifying bowel movement conditions, reduces the risk of user privacy information leakage, and achieves more efficient health management.
Smart Images

Figure CN119564263A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of smart home technology, and in particular to a defecation status identification method, device and smart defecation system. Background Art
[0002] With the development of science and technology, more and more smart homes are being used, which can bring great convenience to users' lives. Based on the health management of smart homes, various data can be collected through various sensors and sent to the decision center (such as central control, server, etc.), and the decision center will issue execution strategies based on various data.
[0003] By judging the appearance and amount of feces and urine, the health of the human body can be assessed. The use of smart defecation devices combined with image recognition and other methods can greatly speed up the efficiency of judgment.
[0004] At present, the way to judge excrement usually adopts manual operations such as shooting and sampling, and then image recognition and component detection, etc. Its automation level is low and the convenience of recognition operation is poor. Summary of the invention
[0005] In view of this, in order to solve some or all of the above-mentioned technical problems, the embodiments of the present application provide a defecation status identification method, device and intelligent defecation system.
[0006] In a first aspect, an embodiment of the present application provides a method for identifying a defecation condition, the method comprising: obtaining weight sensing data collected by the user during the defecation process from a weight sensor; based on the weight sensing data, determining whether the user has left the defecation device; if the user has left the defecation device, obtaining the defecation sensing data collected for this defecation; based on the defecation sensing data, identifying the user's defecation condition to obtain the user's defecation condition information.
[0007] In the second aspect, an embodiment of the present application provides an intelligent toilet system, which includes: a toilet, a weight sensor, a defecation sensing sensor and a data processing device, wherein the weight sensor is arranged on the ground where the toilet is located; the weight sensor and the defecation sensing sensor are both connected to the data processing device; the weight sensor is used to collect the user's weight sensing data during the user's defecation process; the defecation sensing sensor is used to collect the defecation sensing data during the user's defecation process; the data processing device is used to execute the defecation condition identification method described in the first aspect above based on the weight sensing data and the defecation sensing data.
[0008] In a third aspect, an embodiment of the present application provides a defecation condition identification device, which includes: a first acquisition module, used to obtain weight sensing data collected by the user during the defecation process from a weight sensor; a judgment module, used to judge whether the user has left the toilet based on the weight sensing data; a second acquisition module, used to obtain the defecation sensing data collected for this defecation if the user has left the toilet; and an identification module, used to identify the user's defecation condition based on the defecation sensing data to obtain the user's defecation condition information.
[0009] In a fourth aspect, an embodiment of the present application provides an electronic device, comprising: a memory for storing a computer program; a processor for executing the computer program stored in the memory, and when the computer program is executed, the method of any embodiment of the defecation condition identification method of the first aspect of the present application is implemented.
[0010] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method of any embodiment of the method for identifying defecation status in the first aspect described above is implemented.
[0011] In a sixth aspect, an embodiment of the present application provides a computer program, which includes a computer-readable code. When the computer-readable code runs on a device, the processor in the device implements a method as in any embodiment of the method for identifying defecation conditions in the first aspect described above.
[0012] The defecation status identification method, device and intelligent defecation device system provided in the embodiments of the present application obtain the weight sensing data collected by the user during the defecation process from the weight sensor, and determine whether the user has left the defecation device based on the weight sensing data. If the user has left the defecation device, the defecation sensing data collected for this defecation is obtained, and the defecation status of the user is identified based on the defecation sensing data to obtain the defecation status information of the user. The embodiments of the present application realize that the presence of the user is sensed by the weight sensor, and when the user leaves the defecation device, the user's defecation status is automatically collected and identified, thereby greatly improving the convenience and efficiency of detecting the user's defecation status. In addition, by collecting the defecation sensing data when the user leaves the defecation device, the user's privacy information can be avoided from being included in the collected information, which helps to improve the degree of user privacy protection. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0014] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0015] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.
[0016] Figure 1 A schematic diagram of a flow chart of a method for identifying a defecation condition provided in an embodiment of the present application;
[0017] Figure 2 A flowchart of another method for identifying defecation status provided in an embodiment of the present application;
[0018] Figure 3 A flowchart of another method for identifying defecation status provided in an embodiment of the present application;
[0019] Figure 4 A flowchart of another method for identifying defecation status provided in an embodiment of the present application;
[0020] Figure 5 A flowchart of another method for identifying defecation status provided in an embodiment of the present application;
[0021] Figure 6 A schematic diagram of changes in weight sensing data of a user during a defecation process provided by an embodiment of the present application;
[0022] Figure 7 A flowchart of another method for identifying defecation status provided in an embodiment of the present application;
[0023] Figure 8 A schematic diagram of the structure of an intelligent toilet system provided in an embodiment of the present application;
[0024] Fig. 9 A schematic diagram of the structure of another intelligent toilet system provided in an embodiment of the present application;
[0025] Fig.10 A schematic diagram of the connection method of the register and the comparator provided in the embodiment of the present application;
[0026] Fig.11 A schematic diagram of the circuit structure of a register and a comparator provided in an embodiment of the present application;
[0027] Fig.12A schematic diagram of the structure of another intelligent toilet system provided in an embodiment of the present application;
[0028] Fig.13 A schematic diagram of a connection method of a controlled switch provided in an embodiment of the present application;
[0029] Fig.14 A schematic diagram of the structure of another intelligent toilet system provided in an embodiment of the present application;
[0030] Fig.15 A schematic diagram of the structure of a defecation status identification device provided in an embodiment of the present application;
[0031] Fig.16 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0032] Various exemplary embodiments of the present application will now be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of the embodiments. It should be noted that unless otherwise specifically stated, the relative arrangement of the components and steps, the numerical expressions and the numerical values described in these embodiments do not limit the scope of the present application.
[0033] Those skilled in the art will understand that the terms "first" and "second" in the embodiments of the present application are only used to distinguish between different steps, devices, modules and other objects, and do not represent any specific technical meanings, nor do they indicate the logical order between them.
[0034] It should also be understood that in this embodiment, “plurality” may refer to two or more than two, and “at least one” may refer to one, two or more than two.
[0035] It should also be understood that any component, data or structure mentioned in the embodiments of the present application can generally be understood as one or more, unless explicitly limited or otherwise indicated in the context.
[0036] In addition, the term "and / or" in this application is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this application generally indicates that the associated objects before and after are in an "or" relationship.
[0037] It should also be understood that the description of the various embodiments in this application focuses on the differences between the various embodiments, and the same or similar aspects thereof can be referenced to each other, and for the sake of brevity, they will not be described one by one.
[0038] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the present application, its application, or uses.
[0039] Technologies, circuits, and devices known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the above-mentioned technologies, circuits, and devices should be considered as part of the specification.
[0040] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.
[0041] It should be noted that, in the absence of conflict, the embodiments in this application and the features in the embodiments can be combined with each other. To facilitate the understanding of the embodiments of the present application, the present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0042] In order to solve the problems of low automation and insufficient privacy protection in the existing technology for detecting the user's bowel movement status, the present application provides a bowel movement status recognition method that can automatically identify the user's bowel movement status, improve the efficiency of bowel movement status recognition, and reduce the risk of user privacy leakage.
[0043] Figure 1 A flowchart of a method for identifying defecation status provided in an embodiment of the present application. The method can be applied to a smart defecation device and executed by a controller included in the smart defecation device, or it can be executed by one or more electronic devices such as a server, a smart phone, a desktop computer, a laptop computer, etc. These electronic devices can be connected to the smart defecation device, receive data collected by the smart defecation device, and execute the method based on the collected data to obtain the user's defecation status information.
[0044] In addition, the execution subject of the present method may be hardware or software. When the execution subject is hardware, the execution subject may be one or more of the controller and the electronic device. For example, a single electronic device may execute the present method, or a plurality of electronic devices may cooperate with each other to execute the present method. When the execution subject is software, the present method may be implemented as a plurality of software or software modules, or as a single software or software module. No specific limitation is made herein.
[0045] like Figure 1 As shown, the method specifically includes:
[0046] Step 101, obtaining weight sensing data collected by the user during defecation from a weight sensor.
[0047] In some embodiments, a weight sensor is connected to an electronic device that executes the method, and the pressure exerted by the user on the weight sensor can be detected in real time while the user is using the defecation device to defecate.
[0048] Step 102, based on the weight sensing data, determine whether the user has left the toilet.
[0049] In some embodiments, the electronic device can determine whether the user is using the toilet based on the size of the collected weight sensing data, and when it detects that the weight sensing data drops from greater than a preset threshold to less than a preset threshold, it determines that the user has left the toilet.
[0050] Step 103, if leaving the defecation device, obtain the defecation sensing data collected for this defecation.
[0051] In some embodiments, the defecation sensing data may be data collected by a sensor sensing the user's defecation process. For example, the defecation sensing data may include an image of the excrement, or may include data such as the weight of the excrement, the contact time between the user and the defecation bowl, etc.
[0052] Step 104, based on the defecation sensing data, the defecation status of the user is identified to obtain the defecation status information of the user.
[0053] In some embodiments, the electronic device can identify the defecation sensing data, extract feature data representing the user's defecation status from the defecation sensing data, classify and count the feature data, and obtain defecation status information. The defecation status information can be used to evaluate the user's health status. The defecation status information can be stored locally or sent to a remote device via a network.
[0054] As an example, when the defecation sensing data is an image of excrement, an image recognition model can be used to identify the image of excrement to obtain features such as the shape and color of the excrement, and then search for defecation status information corresponding to the above features from a preset database.
[0055] The defecation status identification method provided in the embodiment of the present application obtains the weight sensing data collected by the user during the defecation process from the weight sensor, and judges whether the user has left the toilet based on the weight sensing data. If the user has left the toilet, the defecation sensing data collected for this defecation is obtained, and the defecation status of the user is identified based on the defecation sensing data to obtain the defecation status information of the user. The embodiment of the present application realizes that the presence of the user is sensed by the weight sensor, and when the user leaves the toilet, the user's defecation status is automatically collected and identified, thereby greatly improving the convenience and efficiency of detecting the user's defecation status. And when the user collects the defecation sensing data when leaving the toilet, it can avoid including the user's privacy information in the collected information, which helps to improve the degree of user privacy protection.
[0056] In some optional implementations, such as Figure 2 As shown, step 102 includes:
[0057] Step 1021 , comparing the first body weight sensing data collected at the current moment with the second body weight sensing data collected at the previous moment to obtain a comparison result.
[0058] The electronic device can record the weight sensing data collected at different times in real time. For example, devices such as registers and buffers can be used to save the weight sensing data at the current moment and the previous moment.
[0059] Step 1022: If the comparison result indicates that the first weight sensing data is less than the second weight sensing data, and the first weight sensing data is less than a preset weight sensing threshold, it is determined that the user has left the toilet.
[0060] Specifically, when the user is using the toilet, the weight sensing data collected by the weight sensor is unstable. Therefore, the above two judgment conditions can be set. When the first weight sensing data is less than the second weight sensing data, it indicates that the user may have left the toilet. If it is further judged that the current first weight sensing data is less than the preset weight sensing threshold, it can be determined that the user has left the toilet.
[0061] This embodiment compares the weight sensing data collected at different times and compares it with the preset weight sensing threshold, thereby accurately judging the moment when the user leaves the toilet, and then timely and accurately triggering the collection of defecation sensing data, thereby improving the efficiency of defecation condition identification and reducing the risk of user privacy information leakage.
[0062] In some optional implementations, such as Figure 3 As shown, step 103 includes:
[0063] Step 1031, sending a closing command to the controlled motor included in the toilet.
[0064] The above-mentioned controlled motor is used to drive the toilet cover to open or close. When it is determined that the user has left the toilet, the toilet cover can be controlled to close.
[0065] Step 1032, in response to the toilet lid being closed, the camera disposed on the toilet lid is controlled to capture an image of excrement in the toilet.
[0066] Specifically, if an indication signal is received after the toilet cover is closed, a shooting instruction can be sent to the camera on the toilet cover.
[0067] Step 104 includes:
[0068] Step 1041, based on the excrement image, defecation status recognition is performed to obtain the user's first defecation status information.
[0069] Specifically, after obtaining the excrement image taken by the camera, the excrement image can be recognized using the pre-trained excrement recognition model to obtain the first defecation status information. The first defecation status information can represent the shape, color and other characteristics of the defecation, and based on these characteristics, the user's health status can be further determined. The first defecation status information can be saved locally or in a server for further analysis of the user's health status; the first defecation status information can also be sent to a terminal device used by the user for the user to view.
[0070] This embodiment uses a camera to capture images to identify defecation conditions after the user leaves the toilet and the toilet lid is closed, so that the captured images only contain images inside the toilet, further improving the security of user privacy.
[0071] In some optional implementations, such as Figure 4 As shown, step 103 includes:
[0072] Step 1033, obtaining a human body sensing signal from a human body sensing device disposed on the toilet as defecation sensing data.
[0073] Among them, the human body sensing device is used to sense the signal generated when the user performs a defecation action. As an example, a conductive electrode can be set on the toilet. When the user's skin contacts the conductive electrode, a human body sensing signal is generated. When the user's skin is away from the conductive electrode, the human body sensing signal disappears. For another example, the human body sensing device can be an infrared ranging device. When it is detected that the distance between the user and the ranging device is less than a distance threshold, a human body sensing signal is generated. When it is detected that the distance between the user and the ranging device is greater than the distance threshold, the human body sensing signal disappears.
[0074] Step 104 includes:
[0075] Step 1042, record the duration elapsed from the moment when the human body sensing signal is detected to the moment when the human body sensing signal disappears for the first time as the defecation duration.
[0076] For example, the moment when the human body sensing signal is detected is t0. After a period of time has elapsed since t0, at the moment t1, the human body sensing signal disappears for the first time. Then the duration between t0 and t1 is the defecation duration.
[0077] Step 1043, generate the second defecation condition information of the user based on the defecation duration.
[0078] The above-mentioned second defecation condition information can reflect the health state corresponding to the defecation duration of the user. For example, multiple defecation duration thresholds can be set, including S1, S2, and S3. Let the defecation duration be T. If T < S1, it means the defecation situation is good. If S1 < T < S2, it means the user has mild constipation. If S2 < T < S3, it means the user has moderate constipation. If T > S3, it is severe constipation.
[0079] The second defecation condition information can be saved locally or on the server for further analysis of the user's health state; it can also be sent to the terminal device used by the user for the user to view.
[0080] In this embodiment, by using the human body sensing device to detect the defecation duration of the user and using the defecation duration to reflect the defecation condition, the types of defecation sensing data are further enriched, and the accuracy of defecation condition recognition is improved.
[0081] In some alternative implementation manners, as Figure 5 shown, after step 101, the method further includes:
[0082] Step 105, determine the first weight data before the user defecates and the second weight data after defecation based on the real-time change amount of the weight sensing data.
[0083] Specifically, the real-time change amount of the weight sensing data can be judged according to the change rule of the weight sensing data when the user defecates, so as to determine the weight data before and after defecation. As Figure 6 shown, it shows the change situation of the weight sensing data during the user's defecation process. Figure 6 In the corresponding scenario, the weight sensor can be set on the ground in front of the toilet. Among them, the T1 stage represents the stage when the user steps onto the weight sensor, the T2 stage represents the stage when the user fully applies the weight to the weight sensor, the T3 and T4 stages represent the period when the user is using the toilet, at this time the weight sensor bears part of the weight, the T5 stage represents the stage when the user stands after using the toilet, and the T6 stage represents the stage when the user leaves the toilet. By Figure 6It can be seen that by taking the average of the weight sensing data in the T2 and T5 stages, the first weight data before defecation and the second weight data after defecation can be obtained.
[0084] Step 106, based on the difference between the first weight data and the second weight data, determine the user's current defecation weight as the third defecation status information.
[0085] The defecation weight can be stored in a local or remote server to count the user's defecation volume and reflect the user's health status.
[0086] This embodiment records the changes in weight sensing data in real time, and then determines the defecation weight according to the weight changes before and after defecation, thereby further enriching the data reflecting the user's defecation condition and helping to improve the accuracy of defecation condition identification.
[0087] In some optional implementations, such as Figure 7 As shown, after step 104, the method further includes:
[0088] Step 107, obtaining food information indicating the types of food currently stored in the target refrigerator.
[0089] Specifically, the target refrigerator is a refrigerator connected to the electronic device that executes the method. The target refrigerator can obtain food information by taking images of food inside the target refrigerator and identifying the food images. After obtaining the defecation status information, the electronic device sends a request to the target refrigerator, and the refrigerator can send the food information to the electronic device.
[0090] Step 108, based on the food information, determine the target food type that matches the bowel movement status information.
[0091] Step 109: Generate dietary recommendation information corresponding to the user based on the target food category.
[0092] As an example, if the defecation status information indicates that the user is constipated, foods that moisturize the intestines and foods that enhance intestinal peristalsis can be recommended to the user based on the above food information. If a change in the shape of the user's stool is detected, easily digestible foods or easily digestible cooking methods can be recommended to the user based on the food information. If a change in the color of the user's stool is detected, it can be determined based on the food information and the big data model that it is caused by the food in the refrigerator, and then a prompt is issued to the user. Furthermore, if it is detected that the user's weight gain within a certain time range exceeds a preset threshold, fat-reducing foods and methods are preferentially recommended to the user based on the food information.
[0093] This embodiment realizes automatic defecation condition detection and food recommendation by associating the defecation machine with the smart refrigerator, which helps to improve the accuracy of user health monitoring and the pertinence of recommending dietary information to users.
[0094] Figure 8 A schematic diagram of the structure of an intelligent defecation system provided in an embodiment of the present application. The system specifically includes: a defecation device 801, a weight sensor defecation device 802, a defecation induction sensor 803, and a data processing device 804. The weight sensor 802 is arranged on the ground where the defecation device 801 is located; the weight sensor 802 and the defecation induction sensor 803 are both connected to the data processing device 804.
[0095] The data processing device 804 may be a dedicated device provided on the toilet 801, such as an embedded microprocessor, etc. The data processing device 804 may also be a central control device connected to the toilet, or a server, a smart phone, a personal computer, or other devices.
[0096] The weight sensor 802 is used to collect the user's weight sensing data during the user's defecation process. Figure 8 As shown, the weight sensor 802 is set on the ground in front of the toilet 801. When the user uses the toilet 801, he can step on the weight sensor 802, and the weight sensor 802 senses the weight of the user.
[0097] The defecation sensing sensor 803 is used to collect defecation sensing data during the defecation process of the user. The defecation sensing sensor 803 may include a camera, a human body sensing device, etc. The collected images and human body sensing signals can be used as defecation sensing data.
[0098] The data processing device 804 is used to execute the defecation status identification method described in the above embodiments based on the weight sensing data and the defecation sensing data. The specific execution steps of the data processing device 804 can refer to the above method embodiments and will not be repeated here.
[0099] The intelligent defecation system provided in the embodiment of the present application can accurately detect the user's defecation process according to the user's weight data by setting a weight sensor on the ground, and the data processing device executes the above-mentioned defecation status identification method, which can automatically monitor the user's defecation process, thereby greatly improving the convenience and efficiency of detecting the user's defecation status. When the user leaves the defecation device, the defecation sensing sensor collects defecation sensing data, which can avoid including the user's privacy information in the collected information, which helps to improve the degree of user privacy protection.
[0100] In some optional implementations, such as Fig. 9As shown, the defecation sensing sensor 803 includes a camera 8031, which is arranged on the defecation bowl 801 and connected to the data processing device 804. Usually, in order to protect the privacy of the user, the shooting range of the camera 8031 may only include the inside of the defecation bowl 801. For example, it may be arranged on the inner wall before defecation to shoot inside the defecation bowl 801.
[0101] The data processing device 804 is also used to: if it is detected that the user has left the toilet 801, control the camera 8031 to capture images of excrement in the toilet 801; based on the excrement images, perform a defecation health check to obtain the user's first defecation status information.
[0102] The strategy for detecting whether the user has left the defecation device 801 can refer to the above method embodiment and will not be repeated here. After acquiring the excrement image taken by the camera 8031, the pre-trained excrement recognition model can be used to identify the excrement image to obtain the first defecation status information. The first defecation status information can represent the shape, color and other characteristics of the defecation, and based on these characteristics, the user's health status can be further determined. The first defecation status information can be saved locally or in a server for further analysis of the user's health status; the first defecation status information can also be sent to a terminal device used by the user for the user to view.
[0103] This embodiment controls the camera to capture images for defecation status recognition, thereby realizing automatic detection of the user's defecation status using image recognition methods. The user's defecation status can be identified more efficiently and accurately, and the camera captures the image after the user leaves the toilet, which can reduce the risk of user privacy leakage.
[0104] In some optional implementations, such as Fig. 9 As shown, the toilet 801 includes a toilet cover 8011 , on which a controlled motor 8012 is disposed, the controlled motor 8012 is connected to a data processing device 804 , and a camera 8031 is disposed on the toilet cover 8011 .
[0105] The above-mentioned controlled motor 8012 is used to drive the toilet 801 to close or open under the control of the data processing device 804.
[0106] The data processing device 804 is also used for:
[0107] If it is detected that the user has left the toilet bowl 801 , a closing command is sent to the controlled motor 8012 , causing the controlled motor 8012 to drive the toilet bowl cover 8011 to close; in response to detecting that the toilet bowl cover 8011 has been closed, the camera 8031 is controlled to capture images of excrement in the toilet bowl 801 .
[0108] Specifically, after the toilet lid 8011 is closed, the shooting direction of the camera 8031 is toward the toilet 801. If the data processing device 804 receives an indication signal fed back after the toilet lid 8011 is closed, it can send a shooting instruction to the camera 8031. After receiving the shooting instruction, the camera 8031 shoots an image of the excrement in the toilet 801 and feeds the shot image back to the data processing device 804.
[0109] This embodiment sets a camera on the toilet cover. After the user leaves the toilet and the toilet cover is closed, the camera takes images to identify the defecation status, so that the captured image only contains the image inside the toilet, further improving the security of user privacy.
[0110] In some optional implementations, such as Fig.10 As shown, the data processing device 804 includes a register 8041 and a comparator 8042, and the register 8041 is used to:
[0111] The second body weight sensing data collected at the previous moment is stored, and the second body weight sensing data is input into the comparator 8042 .
[0112] Comparator 8042 is used for:
[0113] Receive the input second weight sensing data, as well as the first weight sensing data collected at the current moment and the preset reference weight data, and compare the size relationship between the first weight sensing data, the second weight sensing data and the reference weight data; if the first weight sensing data is smaller than the second weight sensing data, and the first weight sensing data is smaller than the reference weight data, send an indication signal indicating that the user has left the toilet 801 to the data processing device 804.
[0114] The above-mentioned reference weight data represents the preset weight sensing threshold. The reference weight data can be between Figure 6 The average weight data of the T4 stage shown is between 0. The comparator 8042 can compare the size relationship between the first weight sensing data and the second weight sensing data, and compare the size relationship between the first weight sensing data and the reference weight data. When the first weight sensing data is less than the second weight sensing data, and the first weight sensing data is less than the reference weight data, it means that the user is no longer applying pressure to the weight sensor 802, that is, the user leaves the defecation device 801.
[0115] This embodiment realizes real-time monitoring of changes in collected weight sensing data through hardware by setting registers and comparators in the data processing device. Compared with the software method, it has higher execution efficiency and is more efficient in judging whether the user has left the toilet 801.
[0116] In some optional implementations, such as Fig.11 As shown, the comparator 8042 includes a first comparator U1, a second comparator U2 and a logic operator U3; the output ends of the first comparator and the second comparator are connected to the logic operator.
[0117] The first comparator is used for receiving the first weight sensing data and the second weight sensing data, and outputting a first comparison signal A.
[0118] The second comparator is used for receiving the first weight sensing data and the input reference weight data, and outputting a second comparison signal B.
[0119] The logic operator is used to perform a logic operation on the first comparison signal and the second comparison signal to obtain an indication signal Q.
[0120] Fig.11 The register 8041 shown can output a voltage signal V indicating the size of the second weight sensing data. i (Optionally, the stored digital signal can be converted into an analog voltage signal through a digital-to-analog converter), V i+1 is a voltage signal representing the magnitude of the first weight sensing data, V ref V is the voltage signal representing the reference weight data. ref It can be obtained by dividing the power supply voltage VCC1 using resistors R1 and R2.
[0121] V i Input the non-inverting input of the first comparator, V i+1 Input the inverting input of the first comparator. i+1 <V i When the first comparator outputs A, it is high level, indicating digital 1. At the same time, V i+1 Input the inverting input terminal of the second comparator, and Vref input the non-inverting input terminal of the second comparator. i+1 <V ref When , the second comparator outputs B at a high level, indicating digital 1. Fig.11 The logic operator shown is an AND gate, that is, when A and B are both 1, the output Q is 1, indicating that the user has left the toilet 801.
[0122] It should be noted that Fig.11 This is just an exemplary circuit diagram. The first comparator, the second comparator and V i 、V i+1 The connection mode of Vref and Vref, as well as the type of logic operator can be set arbitrarily, as long as the above logical relationship is satisfied. For example, the logic operator can be an OR gate, which adjusts the signals received by the two input terminals of the first comparator so that the first comparator can be i+1 <V iWhen the output is 0, the second comparator can i+1 <V ref When , the output is 0. At this time, the OR gate outputs 0, indicating that the user has left the toilet 801.
[0123] This embodiment realizes the function of the comparator by setting a first comparator, a second comparator and a logic operator, and realizes the comparison of weight sensing data using simple hardware, thereby further improving the efficiency of judging whether the user has left the toilet.
[0124] In some optional implementations, such as Fig.12 As shown, a human body sensing device 8013 is provided on the toilet 801, and the human body sensing device 8013 is connected to the data processing device 804;
[0125] The human body sensing device 8013 is used to: send a human body sensing signal to the data processing device 804 when it is detected that the user is in contact with the human body sensing device 8013; and stop sending the human body sensing signal to the data processing device 804 when it is detected that the user is no longer in contact with the human body sensing device 8013.
[0126] Among them, the human body sensing device 8013 is used to sense the signal generated when the user performs a defecation action. As an example, a conductive electrode can be set on the defecation device 801, and when the user's skin contacts the conductive electrode, a human body sensing signal is generated, and when the user's skin is away from the conductive electrode, the human body sensing signal disappears. For another example, the human body sensing device 8013 can be an infrared ranging device, and when it is detected that the distance between the user and the ranging device is less than a distance threshold, a human body sensing signal is generated, and when it is detected that the distance between the user and the ranging device is greater than the distance threshold, the human body sensing signal disappears.
[0127] The data processing device 804 is also used for:
[0128] The time elapsed from the moment when the human body sensing signal is detected to the moment when the human body sensing signal disappears for the first time is recorded as the defecation duration; based on the defecation duration, the user's second defecation status information is generated.
[0129] The steps performed by the data processing device 804 in this embodiment can refer to the above Figure 4 The corresponding embodiments are not described in detail here.
[0130] This embodiment uses a human body sensing device to detect the user's defecation duration, and uses the defecation duration to reflect the defecation status, which further enriches the types of defecation sensing data and improves the accuracy of defecation status identification.
[0131] In some optional implementations, the human body sensing device 8013 includes at least one pair of conductive thin layers, each pair of conductive thin layers is attached to the gasket of the toilet 801, and each pair of conductive thin layers is connected to the voltage output terminal of the data processing device 804.
[0132] Each pair of the at least one pair of conductive thin layers is used to generate an electrical signal variation when the user's skin contacts the pair of conductive thin layers, and transmit the electrical signal variation as a human body sensing signal to the data processing device 804 .
[0133] like Fig.12 As shown, Pa and Pb are a pair of conductive thin layers, and Pa and Pb are respectively connected to the data processing device 804, and the data processing device 804 generates a voltage difference on Pa and Pb. If the user's skin contacts Pa and Pb, a finite resistance will be applied between Pa and Pb, resulting in an electrical signal change. By detecting the resistance change or current change at both ends of Pa and Pb, the amount of change in the electrical signal can be determined, and the amount of change in the electrical signal is further transmitted to the data processing device 804, and the data processing device 804 can detect the user's defecation duration based on the amount of change in the electrical signal.
[0134] Optionally, in order to ensure the accuracy of human body sensing, the number of conductive thin layers can be greater than one pair, for example, Pc and Pd can be included on the basis of Pa and Pb. When any pair of the two pairs of conductive thin layers detects a change in the electrical signal, it can be determined that the user is in contact with the toilet 801.
[0135] This embodiment detects whether the user is in contact with the toilet by setting at least one pair of conductive thin layers, which can fully utilize the user's posture characteristics when using the toilet and improve the accuracy of judging whether the user is in contact with the toilet. The circuit has a simple structure and is easy to implement, which helps to improve system manufacturing efficiency and reduce costs.
[0136] In some optional implementations, such as Fig.13 As shown, the system also includes a camera 8031 and a controlled switch 805. The camera 8031 is arranged on the toilet cover 8011 included in the toilet 801. The camera 8031 is connected to the signal transmission contact arranged on the toilet cover 8011, and the signal transmission contact corresponds to the target conductive thin layer in at least one pair of conductive thin layers.
[0137] The installation position of camera 8031 can refer to the above Fig. 9 The above signal transmission contacts can correspond to any conductive thin layer, such as Fig.12 As shown, the signal transmission contact Pa' corresponds to the target conductive thin layer Pa. When the toilet lid 8011 is closed, Pa' and Pa can be in contact.
[0138] like Fig.13As shown, the common terminal P1 of the controlled switch 805 is connected to the target conductive thin layer Pa; the two signal switching terminals P2 and P3 of the controlled switch 805 are respectively connected to the voltage output terminal VCC and the image input terminal Di of the data processing device 804. The GPIO in the figure is an input and output (IO) port of the data processing device 804, which is used to control the connection state of the P1 switch.
[0139] The data processing device 804 is also used for:
[0140] If it is detected that the user has not left the toilet 801, the common terminal is controlled to be connected to the voltage output terminal so that the voltage output terminal provides voltage to the target conductive thin layer; if it is detected that the user has left the toilet 801, the common terminal is controlled to be connected to the image input terminal so that after the toilet cover 8011 is closed, the excrement image data taken by the camera 8031 is transmitted to the data processing device 804 through the signal transmission contact, the target conductive thin layer, and the image input terminal;
[0141] Specifically, when the user has not left the toilet bowl 801, the camera 8031 is not triggered to shoot, and the data processing device 804 provides voltage to the target conductive thin layer Pa through the P2 port of the controlled switch 805; when the user leaves the toilet bowl 801, the toilet bowl 801 is closed, and the camera 8031 is triggered to shoot, Pa and Pa' are in contact, and the excrement image data is transmitted to the data processing device 804 through the P3 port of the controlled switch 805.
[0142] Optionally, the number of the target conductive thin layers and the number of the signal transmission contacts can be one or more, and the target conductive thin layer can be used to transmit image data and also to power the camera 8031. That is, a signal transmission contact is connected to the power supply end of the camera 8031, and a signal switching end of the controlled switch 805 can be connected to the voltage output end of the data processing device 804. When the toilet lid 8011 is closed, the data processing device 804 supplies power to the camera 8031 through the signal transmission contact.
[0143] Some existing smart toilets are equipped with cameras, and the cameras are electrically connected to the controllers, which may cause the controllers to be manipulated by outsiders, leading to the risk of privacy leakage. This embodiment multiplexes the data transmission port of the camera and the voltage input port of the target conductive thin layer by setting a controlled switch and a signal transmission contact, thereby improving the system integration and simplifying the circuit structure. At the same time, the camera 8031 cannot transmit data before the toilet cover is closed, thereby further improving the security of user privacy.
[0144] In some optional implementations, such as Fig.14As shown, the system further includes a refrigerator 806, which is connected to the data processing device 804. The refrigerator 806 is used to identify the types of food in the refrigerator 806 and obtain food information.
[0145] Specifically, the refrigerator 806 can obtain the food signal by taking the food image therein and identifying the food image. After obtaining the defecation status information, the data processing device 804 sends a request to the target refrigerator 806, and the refrigerator 806 can send the food information to the data processing device 804.
[0146] The data processing device 804 is also used for:
[0147] Acquire food information from refrigerator 806; based on the food information, determine the target food type that matches the bowel movement status information; based on the target food type, generate dietary recommendation information corresponding to the user.
[0148] The steps performed by the data processing device 804 in this embodiment can refer to the above Figure 7 The corresponding embodiments are not described in detail here.
[0149] This embodiment realizes automatic defecation status detection and food recommendation by setting up a smart refrigerator in the smart toilet system, which helps to improve the accuracy of user health monitoring and the pertinence of recommending dietary information to users.
[0150] Fig.15 A schematic diagram of the structure of a defecation status recognition device provided in an embodiment of the present application. Specifically comprising: a first acquisition module 1501, used to obtain the weight sensing data collected by the user during the defecation process from the weight sensor; a judgment module 1502, used to judge whether the user has left the defecation device based on the weight sensing data; a second acquisition module 1503, used to obtain the defecation sensing data collected for this defecation if the user has left the defecation device; an identification module 1504, used to identify the defecation status of the user based on the defecation sensing data, and obtain the defecation status information of the user.
[0151] In some optional implementations, the judgment module includes: a comparison unit, used to compare the first weight sensing data collected at the current moment with the second weight sensing data collected at the previous moment to obtain a comparison result; a determination unit, used to determine that the user has left the toilet if the comparison result indicates that the first weight sensing data is less than the second weight sensing data, and the first weight sensing data is less than a preset weight sensing threshold.
[0152] In some optional implementations, the second acquisition module includes: a sending unit for sending a closing instruction to a controlled motor included in the toilet; a shooting unit for controlling a camera provided on the toilet cover to shoot an image of excrement inside the toilet in response to the toilet cover being closed; and the recognition module is further used to: perform defecation status recognition based on the excrement image to obtain the user's first defecation status information.
[0153] In some optional implementations, the second acquisition module includes: an acquisition unit, used to acquire a human body sensing signal from a human body sensing device provided on the toilet as defecation sensing data; an identification module, including: a recording unit, used to record the time elapsed from the moment when the human body sensing signal is detected to the moment when the human body sensing signal disappears for the first time as the defecation duration; and a generation unit, used to generate the user's second defecation status information based on the defecation duration.
[0154] In some optional implementations, the device also includes: a first determination module, used to determine the first weight data of the user before defecation and the second weight data after defecation based on the real-time change of the weight sensing data; a second determination module, used to determine the weight of the user's current defecation based on the difference between the first weight data and the second weight data, and determine the weight of the user's current defecation as the third defecation status information.
[0155] In some optional implementations, the device also includes: a third acquisition module, used to obtain food information representing the types of food currently stored in the target refrigerator; a third determination module, used to determine the target food types that match the bowel movement status information based on the food information; and a generation module, used to generate dietary recommendation information corresponding to the user based on the target food types.
[0156] The defecation status identification device provided in this embodiment can be as follows Fig.15 The defecation condition identification device shown in can execute all the steps of the above defecation condition identification methods, and thus achieve the technical effects of the above defecation condition identification methods. Please refer to the above related description for details. For the sake of brevity, it will not be repeated here.
[0157] Fig.16 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application, Fig.16 The electronic device 1600 shown includes: at least one processor 1601, a memory 1602, at least one network interface 1604 and other user interfaces 1603. The various components in the electronic device 1600 are coupled together via a bus system 1605. It is understood that the bus system 1605 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 1605 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, the bus system 1605 is not described in detail. Fig.16Various buses are labeled as bus system 1605.
[0158] The user interface 1603 may include a display, a keyboard, or a pointing device (eg, a mouse, a trackball, a touch pad, or a touch screen).
[0159] It can be understood that the memory 1602 in the embodiment of the present application can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct memory bus random access memory (DRRAM). The memory 1602 described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0160] In some embodiments, the memory 1602 stores the following elements, executable units or data structures, or a subset thereof, or an extended set thereof: an operating system 16021 and an application program 16022 .
[0161] The operating system 16021 includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., which are used to implement various basic services and process hardware-based tasks. The application 16022 includes various application programs, such as a media player (Media Player), a browser (Browser), etc., which are used to implement various application services. The program for implementing the method of the embodiment of the present application can be included in the application 16022.
[0162] In this embodiment, by calling the program or instruction stored in the memory 1602, specifically, the program or instruction stored in the application 16022, the processor 1601 is used to execute the method steps provided by each method embodiment, for example, including:
[0163] The weight sensing data collected by the user during the defecation process is obtained from the weight sensor; based on the weight sensing data, it is determined whether the user has left the toilet; if the user has left the toilet, the defecation sensing data collected for this defecation is obtained; based on the defecation sensing data, the defecation status of the user is identified to obtain the user's defecation status information.
[0164] The method disclosed in the above embodiment of the present application can be applied to the processor 1601, or implemented by the processor 1601. The processor 1601 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 1601. The above processor 1601 can be a general processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiment of the present application can be directly embodied as a hardware decoding processor to execute, or the hardware and software units in the decoding processor can be executed. The software unit can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 1602, and the processor 1601 reads the information in the memory 1602 and completes the steps of the above method in combination with its hardware.
[0165] It is understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit may be implemented in one or more application specific integrated circuits (ASIC), digital signal processors (DSP), digital signal processing devices (DSPDevice, DSPD), programmable logic devices (PLD), field programmable gate arrays (FPGA), general purpose processors, controllers, microcontrollers, microprocessors, other electronic units for performing the above functions of the present application, or a combination thereof.
[0166] For software implementation, the technology described above in this article can be implemented by a unit that performs the functions described above in this article. The software code can be stored in a memory and executed by a processor. The memory can be implemented in the processor or outside the processor.
[0167] The electronic device provided in this embodiment may be Fig.16 The electronic device shown in can execute all the steps of the above-mentioned defecation condition recognition methods, thereby achieving the technical effects of the above-mentioned defecation condition recognition methods. Please refer to the above related description for details. For the sake of brevity, it will not be repeated here.
[0168] The embodiment of the present application also provides a storage medium (computer-readable storage medium). The storage medium here stores one or more programs. The storage medium may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a read-only memory, a flash memory, a hard disk or a solid-state drive; the memory may also include a combination of the above-mentioned types of memory.
[0169] When one or more programs in the storage medium can be executed by one or more processors, the defecation condition identification method executed on the electronic device side can be implemented.
[0170] The processor is used to execute the program stored in the memory to implement the following steps of the defecation status identification method performed on the electronic device side:
[0171] The weight sensing data collected by the user during the defecation process is obtained from the weight sensor; based on the weight sensing data, it is determined whether the user has left the toilet; if the user has left the toilet, the defecation sensing data collected for this defecation is obtained; based on the defecation sensing data, the defecation status of the user is identified to obtain the user's defecation status information.
[0172] The professionals should further realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different circuits to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0173] The steps of the circuits or algorithms described in conjunction with the embodiments disclosed herein may be implemented using hardware, software modules executed by a processor, or a combination of the two. The software modules may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0174] It should be understood that the terms used in the text are only for the purpose of describing specific example embodiments, and are not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms "one", "an" and "said" as used in the text may also be meant to include plural forms. The terms "include", "comprise", "contain", and "have" are inclusive, and therefore specify the existence of stated features, steps, operations, elements and / or parts, but do not exclude the existence or addition of one or more other features, steps, operations, elements, parts, and / or combinations thereof. The steps, processes, and operations described in the text are not interpreted as necessarily requiring them to be performed in the specific order described or illustrated, unless the execution order is clearly indicated. It should also be understood that additional or alternative steps may be used.
[0175] The above description is only a specific implementation of the present application, so that those skilled in the art can understand or implement the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest range consistent with the principles and novel features applied for herein.
Claims
1. A method for identifying defecation status, characterized in that: The method comprises: Acquire the weight sensing data collected by the user during defecation from the weight sensor; Based on the weight sensing data, determining whether the user has left the toilet; If the defecation device is left, defecation sensing data collected for the defecation is obtained; Based on the defecation sensing data, the defecation status of the user is identified to obtain the defecation status information of the user.
2. The method according to claim 1, characterized in that The step of judging whether the user has left the toilet based on the weight sensing data comprises: Compare the first body weight sensing data collected at the current moment with the second body weight sensing data collected at the previous moment to obtain a comparison result; If the comparison result indicates that the first weight sensing data is smaller than the second weight sensing data, and the first weight sensing data is smaller than a preset weight sensing threshold, it is determined that the user has left the toilet.
3. The method according to claim 1, characterized in that The step of obtaining the defecation sensing data collected for the current defecation comprises: Sending a closing instruction to a controlled motor included in the toilet; In response to the toilet cover being closed, controlling a camera disposed on the toilet cover to capture an image of excrement in the toilet; The method of identifying the defecation status of the user based on the defecation sensing data to obtain the defecation status information of the user includes: Based on the excrement image, defecation status recognition is performed to obtain the first defecation status information of the user.
4. The method according to claim 1, characterized in that The step of obtaining the defecation sensing data collected for the current defecation comprises: Acquiring a human body sensing signal from a human body sensing device disposed on the toilet as the defecation sensing data; The method of identifying the defecation status of the user based on the defecation sensing data to obtain the defecation status information of the user includes: Recording the time from the moment when the human body sensing signal is detected to the moment when the human body sensing signal disappears for the first time as the defecation duration; Based on the defecation duration, second defecation status information of the user is generated.
5. The method according to claim 1, characterized in that After acquiring the weight sensing data collected by the user during defecation from the weight sensor, the method further includes: Determining a first weight data of the user before defecation and a second weight data of the user after defecation based on the real-time change amount of the weight sensing data; Based on the difference between the first weight data and the second weight data, the current defecation weight of the user is determined, and the current defecation weight of the user is determined as the third defecation status information.
6. The method according to claim 1, characterized in that After the defecation status of the user is identified based on the defecation sensing data to obtain the defecation status information of the user, the method further includes: Acquiring food information indicating the types of food currently stored in the target refrigerator; Based on the food information, determining a target food type that matches the defecation status information; Based on the target food category, generate dietary recommendation information corresponding to the user.
7. A defecation status identification device, characterized in that: The device comprises: A first acquisition module is used to acquire the weight sensing data collected by the user during defecation from the weight sensor; A judgment module, used for judging whether the user has left the toilet based on the weight sensing data; The second acquisition module is used to obtain the defecation sensing data collected for the current defecation after leaving the defecation device; The identification module is used to identify the defecation status of the user based on the defecation sensing data to obtain the defecation status information of the user.
8. An intelligent toilet system, characterized in that: The system comprises: a defecation bowl, a weight sensor, a defecation induction sensor and a data processing device, wherein the weight sensor is arranged on the ground where the defecation bowl is located; the weight sensor and the defecation induction sensor are both connected to the data processing device; The weight sensor is used to collect the weight sensing data of the user during the defecation process; The defecation sensing sensor is used to collect defecation sensing data during the user's defecation process; The data processing device is used to execute the defecation condition identification method described in any one of claims 1-6 based on the weight sensing data and the defecation sensing data.
9. The system according to claim 8, characterized in that The defecation sensing sensor includes a camera, which is arranged on the defecation bowl and connected to the data processing device; The data processing device is also used for: If it is detected that the user has left the toilet, the camera is controlled to capture an image of excrement in the toilet; based on the image of excrement, a defecation health check is performed to obtain the first defecation status information of the user.
10. The system according to claim 9, characterized in that The toilet comprises a toilet cover, a controlled motor is arranged on the toilet cover, the controlled motor is connected to the data processing device, and the camera is arranged on the toilet cover; The data processing device is also used for: If it is detected that the user leaves the toilet, a closing instruction is sent to the controlled motor, so that the controlled motor drives the toilet cover to close; In response to detecting that the toilet lid is completely closed, the camera is controlled to capture an image of excrement in the toilet.
11. The system according to claim 10, characterized in that The data processing device comprises a register and a comparator, wherein the register is used to: storing the second body weight sensing data collected at a previous moment, and inputting the second body weight sensing data into the comparator; The comparator is used to: receiving the input second weight sensing data, as well as the first weight sensing data collected at the current moment and the preset reference weight data, and comparing the first weight sensing data, the second weight sensing data and the reference weight data; If the first body weight sensing data is smaller than the second body weight sensing data, and the first body weight sensing data is smaller than the reference body weight data, an indication signal is sent to the data processing device to indicate that the user has left the toilet.
12. The system according to claim 11, characterized in that The comparator comprises a first comparator, a second comparator and a logic operator; the output ends of the first comparator and the second comparator are connected to the logic operator; The first comparator is used for receiving the first weight sensing data and the second weight sensing data, and outputting a first comparison signal; The second comparator is used to receive the first weight sensing data and the input reference weight data, and output a second comparison signal; The logic operator is used to perform a logic operation on the first comparison signal and the second comparison signal to obtain the indication signal.
13. The system according to claim 8, characterized in that The toilet is provided with a human body sensing device, and the human body sensing device is connected to the data processing device; The human body sensing device is used to: when it is detected that the user is in contact with the human body sensing device, send a human body sensing signal to the data processing device; when it is detected that the user is no longer in contact with the human body sensing device, stop sending the human body sensing signal to the data processing device; The data processing device is also used for: The time duration from the moment when the human body sensing signal is detected to the moment when the human body sensing signal disappears for the first time is recorded as the defecation duration; based on the defecation duration, the second defecation status information of the user is generated.
14. The system according to claim 13, characterized in that The human body sensing device comprises at least one pair of conductive thin layers, each pair of conductive thin layers is attached to the gasket of the toilet, and each pair of conductive thin layers is connected to the voltage output terminal of the data processing device; Each pair of the at least one pair of conductive thin layers is used to generate an electrical signal variation when the user's skin contacts the pair of conductive thin layers, and transmit the electrical signal variation as the human body sensing signal to the data processing device.
15. The system according to claim 14, characterized in that The system further comprises a camera and a controlled switch, wherein the camera is disposed on a toilet cover included in the toilet, the camera is connected to a signal transmission contact disposed on the toilet cover, and the signal transmission contact corresponds to a target conductive thin layer in the at least one pair of conductive thin layers; The common end of the controlled switch is connected to the target conductive thin layer; the two signal switching ends of the controlled switch are respectively connected to the voltage output end and the image input end of the data processing device; The data processing device is also used for: If it is detected that the user has not left the toilet, controlling the common end to be connected to the voltage output end so that the voltage output end provides voltage to the target conductive thin layer; If it is detected that the user has left the toilet, the common end is controlled to be connected to the image input end, so that after the toilet cover is closed, the excrement image data taken by the camera is transmitted to the data processing device through the signal transmission contact, the target conductive thin layer, and the image input end.
16. The system according to claim 8, characterized in that The system further comprises a refrigerator, the refrigerator being connected to the data processing device, and the refrigerator being used to: identify the types of food in the refrigerator and obtain food information; The data processing device is also used for: Acquire the food information from the refrigerator; determine a target food type that matches the defecation status information based on the food information; and generate a recommended recipe corresponding to the user based on the target food type.
17. An electronic device, characterized in that: include: Memory for storing computer programs; A processor is used to execute the computer program stored in the memory, and when the computer program is executed, the defecation condition identification method described in any one of claims 1-6 is implemented.
18. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the defecation condition identification method described in any one of claims 1-6 is implemented.
Citation Information
Patent Citations
Camera-shooting toilet cover
CN104068780A
All-in-one machine with double-lifting caring handrails and seat of toilet and urine glucose detection data uploading through network
CN107374489A
Smart toilet capable of killing bacteria and Viruses
CN108678101A
Intelligent closestool capable of monitoring human health in real time and monitoring method of closestool
CN111857004A
Intelligent household linkage control method and device, intelligent closestool and storage medium
CN114114938A