A smart toilet and its control method
By deploying sensors at the water inlet, water tank, and cleaning nozzle of the smart toilet, a three-stage water quality monitoring system is established, which solves the problems of lagging water quality monitoring and fixed disinfection effect in smart toilets, and achieves personalized purification and safe water use.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- TAKA TECH CO LTD
- Filing Date
- 2026-04-29
- Publication Date
- 2026-06-26
Smart Images

Figure CN122280252A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of toilet control technology, and in particular to an intelligent toilet and its control method. Background Technology
[0002] As living standards improve, people have higher and higher requirements for the performance of home appliances, such as the hygiene and safety of smart toilets. The hygiene and safety of smart toilets are closely related to the water quality of the cleaning nozzles. Therefore, how to ensure the water quality of the cleaning nozzles is one of the issues that has received much attention in the field of smart toilet control.
[0003] Currently, smart toilet bidet nozzles monitor water quality by deploying an ozone treatment device and a water quality detector inside the toilet tank. The detector monitors the water quality in the tank in real time, and when the water quality exceeds a preset value, the ozone treatment device generates ozone to disinfect the water until the water quality falls below the preset value. However, the disinfection effect of ozone is fixed; the disinfection target of the ozone treatment device is pre-set and does not personalize water purification according to the user's needs. Furthermore, ozone disinfection takes time, resulting in a lag in water purification. Before disinfection is complete, the smart toilet may not contain water that meets usage requirements, posing a potential safety hazard. Summary of the Invention
[0004] This invention provides a smart toilet and its control method, which can determine the water purification scheme and the cleaning nozzle control scheme of the smart toilet based on the water quality data of the water tank. The two schemes work together to ensure that the cleaning nozzle only outputs cleaning water that meets the safety water standards and user water requirements, thereby improving the user's toilet experience while ensuring the user's water safety.
[0005] According to one aspect of the present invention, a control method for a smart toilet is provided, the method comprising: Determine the water quality data of the smart toilet's water tank; Based on the water quality data of the water tank, determine the water output assessment data of the smart toilet, and based on the water output assessment data of the water tank, determine the water purification scheme of the smart toilet. Based on the water output evaluation data from the water storage tank, a control scheme for the cleaning nozzle of the smart toilet is determined, and the smart toilet is controlled to operate based on the water purification scheme and the cleaning nozzle control scheme to obtain cleaning water that meets the requirements for the use of the cleaning nozzle.
[0006] According to another aspect of the present invention, a control device for a smart toilet is provided. The control device is used to implement the control method for a smart toilet in any embodiment of the present invention. The device includes: The information acquisition module is used to determine the water quality data of the smart toilet's water tank; The purification scheme determination module is used to determine the water quality assessment data of the smart toilet's water tank outlet based on the water quality data of the water tank, and to determine the water purification scheme of the smart toilet based on the water quality assessment data of the water tank outlet. The equipment control module is used to determine the control scheme for the cleaning nozzles of the smart toilet based on the water output assessment data from the water storage tank, and to control the smart toilet to operate based on the water purification scheme and the cleaning nozzle control scheme to obtain cleaning water that meets the requirements for the use of the cleaning nozzles.
[0007] According to another aspect of the present invention, a smart toilet is provided, the smart toilet comprising: At least one processor; and a memory communicatively connected to the at least one processor; The memory stores a computer program that can be executed by at least one processor, which enables the at least one processor to execute the control method of the smart toilet in any embodiment of the present invention.
[0008] According to another aspect of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium storing computer instructions for causing a processor to execute and implement the control method of the smart toilet in any embodiment of the present invention.
[0009] According to another aspect of the present invention, a computer program product is provided, the computer program product including a computer program that, when executed by a processor, implements the control method of a smart toilet according to any embodiment of the present invention.
[0010] The control method for the smart toilet of the present invention includes: determining the water quality data of the water tank of the smart toilet; determining the water output evaluation data of the water tank of the smart toilet based on the water quality data of the water tank, and determining the water purification scheme of the smart toilet based on the water output evaluation data of the water tank; determining the cleaning nozzle control scheme of the smart toilet based on the water output evaluation data of the water tank, and controlling the smart toilet to operate based on the water purification scheme and the cleaning nozzle control scheme to obtain cleaning water that meets the requirements of the cleaning nozzle. The technical solution of this invention determines the water quality assessment data of the water tank based on the water quality data of the water tank (i.e., the water quality of the water expected to be output from the water tank), and then determines the water purification scheme of the smart toilet based on the water quality assessment data of the water tank (i.e., a reference water purification scheme obtained based on the real-time water quality to control the water quality within a qualified range), so as to specifically purify the water flowing into the toilet and improve the water purification effect and efficiency. Secondly, it also determines the cleaning nozzle control scheme of the smart toilet based on the water quality assessment data of the water tank, which is equivalent to determining the cleaning nozzle control scheme based on the actual water quality (i.e., whether to start the cleaning nozzle flushing process), and then controls the smart toilet to operate based on the water purification scheme and the cleaning nozzle control scheme, ensuring that the cleaning nozzle only outputs cleaning water that meets the safe water standards and user water requirements, ensuring user water safety and improving the user's toilet experience. This solution addresses the issue that ozone disinfection has a fixed effect, and the disinfection target of ozone treatment devices is pre-set, failing to personalize water purification based on users' water needs. It also solves the problem that ozone disinfection requires a certain amount of time, resulting in a lag in water purification. If the smart toilet does not contain water that meets the usage requirements before disinfection is complete, and the user triggers a water usage task at this time, only water that does not meet the usage requirements will be output, posing a water safety hazard.
[0011] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description
[0012] To more clearly illustrate the technical solutions in this invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0013] Figure 1 This is a flowchart illustrating a control method for an intelligent toilet provided by the present invention; Figure 2 This is a flowchart illustrating a method for determining a cleaning nozzle control scheme for an intelligent toilet provided by the present invention. Figure 3 This is a flowchart illustrating another control method for a smart toilet provided by the present invention; Figure 4 This is a schematic diagram of the control device for an intelligent toilet provided by the present invention; Figure 5 This is a schematic diagram of the structure of an electronic device provided by the present invention. Detailed Implementation
[0014] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are merely some, not all, of the embodiments of the present invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative effort should fall within the scope of protection of the present invention.
[0015] It should be noted that the terms "first," "second," "initial," "intermediate," "candidate," "alternate," "target," etc., used in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0016] The acquisition, storage, use, and processing of data in the technical solution of this invention all comply with relevant national laws and regulations. Specifically, the user information collected in this invention is information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, storage, use, processing, transmission, provision, disclosure, and application of related data all comply with relevant national and regional laws, regulations, and standards, and necessary confidentiality measures are taken. This does not violate public order and good morals, and corresponding operation entry points are provided for users to choose to authorize or reject automated decision-making results; if the user chooses to reject, the process proceeds to the expert decision-making process. It should be noted that certain software, components, models, and other existing industry solutions may be mentioned in the embodiments of this application. These should be considered exemplary, intended only to illustrate the feasibility of implementing the technical solution of this application, and do not imply that the applicant has already used or necessarily used the relevant content of such solutions.
[0017] Besides the water quality monitoring methods described in the background technology, a common water quality monitoring method involves using water quality detectors deployed at the bidet nozzles of smart toilets to detect and record the pH (potential of hydrogen, hydrogen ion activity), turbidity, and other water quality parameters of the toilet's cleaning water, and issuing warnings when the water quality is substandard. However, this water quality monitoring method suffers from the following limitations: 1) It can only monitor the final water quality at the point of contact, lacking comprehensive monitoring of key components such as the water source and storage tank. The monitoring points are singular and limited, failing to comprehensively assess the health status of the water system and creating "data blind spots." 2) It only monitors basic water quality parameters (e.g., pH, turbidity), lacking a systematic water health assessment. It cannot translate water quality data into health value, and cannot accurately determine whether the water is healthy or to what extent, leaving users still concerned about the health of their cleaning water. 3) Data utilization is inadequate, lacking correlation analysis with user health data, failing to provide personalized health advice, and unable to achieve a closed-loop strategy of "water quality-health-enhanced water quality." 4) It relies on a single detection value to trigger a simple early warning, lacks trend prediction capabilities, cannot provide early warning of potential health risks, and has limited real-time performance and effectiveness. 5) Single detection and optimization are static control logics, which are passive defenses against water quality issues, resulting in delayed response and low efficiency in water quality optimization.
[0018] This invention provides a control method for a smart toilet, essentially a three-stage, end-to-end water quality health monitoring method. Sensors deployed at the water inlet, water tank, and bidet nozzle acquire water quality information at different stages. These three types of data work together to ensure the smart toilet only outputs healthy and hygienic cleaning water for the user. Specifically, when the water quality at the toilet's water inlet is poor, the cleaning circuit is directly shut off to prevent substandard water from flowing into the smart toilet's cleaning circuit; the water purification strategy is dynamically adjusted based on the water quality score in the water tank, and the bidet nozzle is activated when the water quality is acceptable; the water quality is re-tested before the bidet nozzle sprays water to prevent substandard cleaning water from contacting the human body. The advantages mainly include: 1) Deploying water quality sensors at three key nodes—the water inlet, water tank, and bidet nozzle—to build a three-stage, end-to-end water quality monitoring system based on the principle of full-process monitoring, breaking through the limitations of traditional single-point monitoring. 2) Quantifying water quality scores to achieve health-level early warning, allowing users to understand the water quality situation. 3) Achieve precise conversion between water quality and health scores to accurately determine water purification strategies. 4) Predict water quality trends and initiate preventative purification in advance when the score shows a downward trend but hasn't fallen below the threshold, ensuring water quality meets standards. 5) Dynamically adjust purification parameters based on user identity and water usage patterns to avoid over-disinfection / under-disinfection, conserving purification resources while ensuring user effectiveness.
[0019] Figure 1This is a flowchart illustrating a control method for a smart toilet provided by the present invention. This embodiment can be applied to selectively activate different water purification programs based on the toilet's usage needs and real-time water quality conditions, thereby ensuring the water quality from the washing nozzles and improving toilet safety. This method can be executed by the control device for the smart toilet provided by the present invention. This device can be implemented in hardware and / or software. In one specific embodiment, the device can be integrated into an electronic device, which can be a smart toilet. The following embodiments will illustrate this using the example of the device being integrated into an electronic device, where the electronic device is a smart toilet. (Refer to...) Figure 1 The method specifically includes the following steps: S101. Determine the water quality data of the smart toilet's water tank.
[0020] In this invention, the water flowing into the smart toilet is first purified by a water purification module. Following the water purification module is a three-way reversing valve. Initially, the three-way reversing valve connects the water purification module and the water storage tank. The purpose is to use a water quality detector deployed within the water storage tank to detect the water quality data of the purified water and determine whether the water is qualified (i.e., whether it can be used for cleaning). When the water is qualified (i.e., usable for cleaning), the three-way reversing valve is adjusted to connect the water purification module and the cleaning nozzle. This ensures the cleaning nozzle uses qualified water to perform the cleaning task, guaranteeing that the user only comes into contact with qualified water and protecting their health. It is important to note that the water storage tank in this invention does not refer to a tank for storing flushing water, but rather to a small tank for storing purified water. Its purpose is to detect the water quality data of the purified water, essentially acting as a temporary storage component for the cleaning water.
[0021] The water quality data in the storage tank can be understood as the water quality parameters of the cleaning water temporarily stored in the tank, used to measure whether the cleaning water in the tank is "clean" and suitable for washing the user's buttocks. The storage tank is equipped with a full-parameter sensor array to comprehensively monitor the water quality data of the temporarily stored cleaning water (i.e., the water quality data of the storage tank). The water quality data of the storage tank includes, but is not limited to, total bacteria count, pH value, TDS (Total Dissolved Solids), residual chlorine, turbidity, color, odor, and temperature.
[0022] Specifically, the total bacterial count can be understood as the number of bacterial colonies cultured in the cleaning water temporarily stored in the tank. National standards require that the total bacterial count of the water used for cleaning smart toilets must be less than 100 CFU / mL. CFU stands for Colony Forming Unit. The higher the total bacterial count, the dirtier the water, and the more likely it is to cause skin infections or gynecological problems. pH value can be understood as the acidity or alkalinity of the cleaning water temporarily stored in the tank, ranging from 0-14, with 7 being neutral. The ideal range is 6.5-8.5. More acidic water is more likely to corrode the plastic and metal parts inside the toilet bowl, while more alkaline water is more likely to form limescale and irritate the skin. TDS can be understood as the total amount of dissolved minerals and salts in the cleaning water temporarily stored in the tank. It can be simply understood as the "purity" of the water. Generally, TDS should be around 300 ppm. The higher the TDS, the harder the water. Excessively high TDS will cause limescale to form on the heating element, leading to slower heating, higher power consumption, and even blockage. Residual chlorine can be understood as the chlorine remaining in the water tank after cleaning, which is used by the water treatment plant for sterilization. The residual chlorine content should be between 0.05-0.3 mg / L. Too low a residual chlorine level will not inhibit bacterial regeneration in the tank, while too high a level will result in an unpleasant "bleach" smell, corrode rubber seals, and increase water irritation. Turbidity refers to the clarity of the water in the tank. Ideally, it should be clear and transparent. High turbidity means the water contains suspended solids such as sediment and rust, which can clog the toilet's precision nozzles. Normally, water should be colorless and odorless. If the water is yellow, red, or has an odor, it indicates a problem with the water quality. Color and odor are data related to the color and taste of water, respectively. The cleaning water for smart toilets should typically be between 30℃ and 40℃, with a maximum safe temperature not exceeding 45℃. This temperature is monitored in real-time by a temperature sensor inside the toilet to prevent scalding. Water that is too hot or too cold will affect the user's cleaning experience.
[0023] During the use of the smart toilet, the purification effect of the water purification module is periodically tested to prevent unqualified cleaning water from contacting the user. The testing interval can be 3 minutes, 5 minutes, 10 minutes, etc., and the specific value is related to the control logic of the smart toilet, which is not limited here. During testing, the water in the storage tank is first drained, and then the three-way reversing valve is controlled to connect the water purification module and the storage tank. The water quality detector deployed in the storage tank detects the water quality data of the cleaning water purified by the water purification module to determine whether the cleaning water is qualified. If it is qualified, the conduction mode of the three-way reversing valve is adjusted so that the three-way reversing valve connects the water purification module and the cleaning head, so that the cleaning head uses qualified cleaning water to perform the cleaning task. If it is unqualified, the purification strategy of the water purification module is adjusted, the water in the storage tank is drained, and the water quality data of the cleaning water purified by the water purification module is retested. This cycle is repeated until the cleaning water is qualified, ensuring that the user always uses qualified cleaning water.
[0024] In one specific implementation, determining the water quality data of the smart toilet's water tank includes: determining whether the current time meets the water quality data monitoring conditions of the water tank; if the current time meets the water quality data monitoring conditions of the water tank, then using a full-parameter sensor array deployed in the water tank to acquire the water quality data of the water tank.
[0025] The water quality data monitoring conditions for the storage tank can be understood as the timing for detecting the purification effect of the water purification module. Generally, the detection timing is iterative based on the detection interval, accumulating the detection interval time from the previous detection time. If the current time equals the previous detection time plus the detection interval time, then it is determined whether the current time meets the water quality data monitoring conditions for the storage tank. For example, assuming the previous detection time was 10:30 and the detection interval time was 5 minutes, then the current time is determined to meet the water quality data monitoring conditions at 10:35. The advantage of this setup is that it reduces the frequency of water quality testing while ensuring water quality, saving water quality testing resources. It can effectively capture changes in water quality indicators such as scale, residual chlorine, turbidity, color, odor, and bacterial growth with extremely low resource consumption, allowing for timely adjustments to the water purification strategy and ensuring water quality. Compared to real-time detection, timed detection can significantly extend the lifespan of sensors and filter media, and reduce the burden of data storage and processing. Moreover, timed detection is not a one-time detection, but can provide dynamic change data, supporting predictive maintenance (e.g., early warning of water quality decline), achieving a practical balance of "low power consumption, long lifespan, and early warning capability".
[0026] The full-parameter sensor array includes at least a pH detector, a turbidity detector, a conductivity detector, a dissolved oxygen detector, a temperature detector, and a residual chlorine detector. Depending on data acquisition requirements, at least two of these sensors are typically used to collect water quality data. The water quality data from the storage tank includes at least two of the following: hydrogen ion activity data, turbidity data, conductivity data, dissolved oxygen data, temperature data, and residual chlorine data. The hydrogen ion activity data, turbidity data, conductivity data, dissolved oxygen data, temperature data, and residual chlorine data represent the data of the cleaning water in the storage tank detected by the pH detector, turbidity detector, conductivity detector, dissolved oxygen detector, temperature detector, and residual chlorine detector, respectively.
[0027] Hydrogen ion activity data determines the corrosiveness, scaling properties, and disinfectant efficiency of water. Excessive acidity corrodes pipes and releases heavy metals, while excessive alkalinity affects skin and mucous membranes. Turbidity data reflects suspended particulate matter in water, which is a carrier of microorganisms (e.g., bacteria, viruses). Excessive turbidity means disinfection failure and a significant increase in water safety risks. Residual chlorine data that is too low cannot inhibit bacterial regeneration, while excessive residual chlorine data produces disinfection byproducts that irritate the skin. Conductivity data can indirectly reflect the total dissolved solids and ion concentration in water. Dissolved oxygen data reflects the water's self-purification capacity and freshness. Temperature data affects chemical reaction rates, microbial reproduction speed, and user comfort.
[0028] Optionally, before determining the water quality data of the smart toilet's water tank, the method of the present invention further includes: determining the water quality data of the water quality monitoring area corresponding to the water inlet of the smart toilet; determining whether the water quality data of the water quality monitoring area corresponding to the water inlet meets the water purification conditions; if the water quality data of the water quality monitoring area corresponding to the water inlet does not meet the water purification conditions, then blocking the purification water path of the smart toilet, and controlling the smart toilet's interactive interface to display a warning message that the cleaning nozzle is disabled.
[0029] The water quality monitoring area corresponding to the water inlet of a smart toilet can be understood as a storage area for raw water (i.e., tap water) flowing into the smart toilet but not yet purified. The water quality data in the water quality monitoring area corresponding to the water inlet of the smart toilet is equivalent to the water quality data of the tap water. The purpose of this setting is to make a preliminary judgment on the tap water. If the tap water quality is poor, in order to protect the user's health, the purification water path of the smart toilet will be directly blocked to avoid the smart toilet performing meaningless water purification work. At the same time, it will also control the interactive interface of the smart toilet (e.g., the display interface of the smart toilet, the display interface of the corresponding application of the smart toilet, etc.) to display a warning message that the cleaning head is disabled, informing the user that the raw water quality is poor and that in order to protect the user's health and avoid wasting purification resources, the cleaning head has been disabled and the water purification task has been stopped.
[0030] This invention purifies water within a reasonably clean range, not all types of water. Purifying poor-quality water is a waste of resources and meaningless. Water purification conditions can be understood as indicators of water within a reasonably clean range, used to determine whether the raw water is within a qualified clean range that can be purified. Specifically, the water quality monitoring area corresponding to the water inlet of the smart toilet is also equipped with a water quality detector. However, since this monitoring area only performs initial water screening and only needs to detect two important indicators that determine water cleanliness (pH value and turbidity), it only deploys pH and turbidity detectors. Determining the water quality data of the monitoring area corresponding to the water inlet of the smart toilet is equivalent to determining the pH value and turbidity of the raw water in that area.
[0031] For example, assuming the water purification conditions are turbidity less than A and pH value greater than B and less than C, if the pH detector detects data between B and C, and the turbidity detector detects data less than A, then the raw water meets the water purification conditions, and further purification and water quality assessment processes can be performed. Conversely, if the pH detector detects data not greater than B, not less than C, or the turbidity detector detects data not less than A, then the raw water quality is determined to be poor, and purification is unnecessary. In other words, the water quality data in the monitoring area corresponding to the inlet does not meet the water purification conditions. The advantage of this setup is that it quantifies the criteria for judging the raw water quality (i.e., the criteria for initiating water purification work), avoids unnecessary purification tasks, and saves purification resources.
[0032] S102. Based on the water quality data of the water tank, determine the water output assessment data of the smart toilet's water tank, and based on the water output assessment data of the water tank, determine the water purification plan for the smart toilet.
[0033] The water quality assessment data from the storage tank can be understood as the water quality health score of the water currently flowing out of the tank, that is, the water quality health score of the cleaning water stored in the tank after purification by the water purification module. The purpose of this setting is to quantify the health assessment indicators of water quality in order to accurately determine whether the cleaning water can perform the cleaning task. For example, cleaning water with a health score greater than a preset health score can perform the cleaning task, while cleaning water with a health score less than the preset health score cannot perform the cleaning task. This invention adopts a tiered purification method, setting different water purification strategies for different water tank effluent assessment data. Taking a maximum score of 10 as an example, the tiered purification method can determine that the water purification scheme for cleaning water with a health score greater than 9 is an energy-saving purification strategy, aiming to reduce the energy consumption of the water purification module and extend the life of consumables of the water purification module while ensuring purification effect. The water purification scheme for cleaning water with a health score greater than 7 but not greater than 9 is a standard purification strategy, aiming to eliminate potential microbial risks and maintain water quality stability. For cleaning water with a health score greater than 5 but not greater than 7, the purification plan is an interventional purification strategy, aiming to rapidly reduce turbidity / bacterial count and prevent water quality deterioration. For cleaning water with a health score not greater than 5, the treatment plan is a circuit breaker protection strategy, aiming to isolate unhealthy raw water and block water quality health risks. The advantage of this setup is that by adjusting the purification strategy, cleaning water with a health score greater than the preset health score can be obtained, improving the feasibility of the cleaning task while consuming fewer resources.
[0034] In one embodiment, determining the water output assessment data of the smart toilet's water tank based on the water quality data of the water tank includes: determining the water quality assessment data of the water tank based on the water quality data of the water tank and the benchmark water quality data; determining the water output assessment coefficient of the smart toilet; and determining the water output assessment data of the smart toilet's water tank based on the water output assessment coefficient and the water quality assessment data.
[0035] The reference water quality data are reference values for water quality data, including at least two of the following: hydrogen ion activity reference data, turbidity reference data, conductivity reference data, dissolved oxygen reference data, temperature reference data, and residual chlorine reference data. The water quality assessment data of the storage tank are assessment scores for water quality data, including at least two of the following: hydrogen ion activity assessment data, turbidity assessment data, conductivity assessment data, dissolved oxygen assessment data, temperature assessment data, and residual chlorine assessment data. The effluent assessment coefficient includes at least two of the following: hydrogen ion activity coefficient, turbidity coefficient, conductivity coefficient, dissolved oxygen coefficient, temperature coefficient, and residual chlorine coefficient, and the weighted sum of all coefficients is 1.
[0036] Taking water quality data, including hydrogen ion activity data, turbidity data, conductivity data, dissolved oxygen data, temperature data, and residual chlorine data, as an example, the evaluation data for the water tank outlet of a smart toilet is determined, including: determining hydrogen ion activity evaluation data based on hydrogen ion activity data and hydrogen ion activity benchmark data; determining turbidity evaluation data based on turbidity data and turbidity benchmark data; determining conductivity evaluation data based on conductivity data and conductivity benchmark data; determining dissolved oxygen evaluation data based on dissolved oxygen data and dissolved oxygen benchmark data; determining temperature evaluation data based on temperature data and temperature benchmark data; determining residual chlorine evaluation data based on residual chlorine data and residual chlorine benchmark data; determining the water outlet evaluation coefficient of the smart toilet; and determining the water outlet evaluation data for the water tank outlet of the smart toilet based on the water outlet evaluation coefficient, hydrogen ion activity evaluation data, turbidity evaluation data, conductivity evaluation data, dissolved oxygen evaluation data, temperature evaluation data, and residual chlorine evaluation data.
[0037] Hydrogen ion activity baseline data can be understood as a reference value for hydrogen ion activity. The closer the data is to this reference value, the more standardized the hydrogen ion activity data and the better the water quality. Hydrogen ion activity assessment data can be understood as the deviation between the hydrogen ion activity data and the baseline data, representing the health level of the cleaning water in the storage tank in terms of hydrogen ion activity. Similarly, turbidity baseline data can be understood as a reference value for turbidity. The closer the data is to this reference value, the more standardized the turbidity data and the better the water quality. Turbidity assessment data can be understood as the deviation between the turbidity data and the baseline data, representing the health level of the cleaning water in the storage tank in terms of turbidity. Conductivity baseline data can be understood as a reference value for conductivity. The closer the data is to this reference value, the more standardized the conductivity data and the better the water quality. Conductivity assessment data can be understood as the deviation between the conductivity data and the baseline data, representing the health level of the cleaning water in the storage tank in terms of conductivity. Dissolved oxygen baseline data can be understood as a reference value for dissolved oxygen. The closer the dissolved oxygen data is to this reference value, the more standardized the dissolved oxygen data and the better the water quality. Dissolved oxygen assessment data can be understood as the deviation between dissolved oxygen data and dissolved oxygen baseline data, representing the health level of the cleaning water in the storage tank in terms of dissolved oxygen. Temperature baseline data can be understood as a reference value for temperature. The closer the temperature data is to this reference value, the more standardized the temperature data and the better the water quality. Temperature assessment data can be understood as the deviation between temperature data and temperature baseline data, representing the health level of the cleaning water in the storage tank in terms of temperature. Residual chlorine baseline data can be understood as a reference value for residual chlorine. The closer the residual chlorine data is to this reference value, the more standardized the residual chlorine data and the better the water quality. Residual chlorine assessment data can be understood as the deviation between residual chlorine data and residual chlorine baseline data, representing the health level of the cleaning water in the storage tank in terms of residual chlorine. Different types of water quality parameters have different degrees of impact on health and hygiene. This invention comprehensively considers the degree of impact of each water quality parameter on health and hygiene and assigns weight coefficients to them to obtain a water quality score with high applicability, acceptance, standardization, and uniformity. The water output evaluation coefficient of a smart toilet can be understood as the weighting coefficient of water quality parameters. The advantage of this setting is that it comprehensively considers multiple dimensions and their influence to obtain comprehensive water quality health assessment data, namely, the water output evaluation data of the water tank.
[0038] Under normal circumstances, hydrogen ion activity and turbidity are core sensory indicators with a high degree of influence. Hydrogen ion activity directly affects skin and mucous membrane irritation and determines the form in which other pollutants exist. Turbidity is a carrier of microorganisms and is closely related to user perception. Conductivity is a comprehensive ion concentration indicator and is associated with the risk of equipment scaling. Dissolved oxygen is related to the odor and freshness of water and indirectly reflects the conditions for microbial reproduction. Temperature affects comfort and the rate of microbial reproduction and is a non-direct toxicity indicator. Residual chlorine is a single controlled safety indicator that needs to be maintained within a very narrow "safe window." Therefore, the coefficients for hydrogen ion activity and turbidity can be 0.25, the conductivity coefficient can be 0.2, the dissolved oxygen coefficient can be 0.15, the temperature coefficient can be 0.1, and the residual chlorine coefficient can be 0.05, with a weighted average of 1 for each coefficient. However, in special usage scenarios or when dealing with specific users, the weights of each parameter can be fine-tuned to improve the user experience. The specific fine-tuning methods, adjustment opportunities, adjustment logic, and adjustment scale are not limited in this invention.
[0039] The effluent assessment data is calculated as follows: Hydrogen ion activity coefficient × Hydrogen ion activity assessment data + Turbidity coefficient × Turbidity assessment data + Conductivity coefficient × Conductivity assessment data + Dissolved oxygen coefficient × Dissolved oxygen assessment data + Temperature coefficient × Temperature assessment data + Residual chlorine coefficient × Residual chlorine assessment data. It is worth noting that after detecting the hydrogen ion activity assessment data, turbidity assessment data, conductivity assessment data, dissolved oxygen assessment data, temperature assessment data, and residual chlorine assessment data, a multiple linear regression algorithm can be used to standardize each type of parameter and filter out interfering data. This ensures the accuracy and reliability of the assessment results while reducing the amount of data and improving data processing efficiency.
[0040] In another implementation, a water purification plan for the smart toilet is determined based on the water tank outlet assessment data. This includes: determining the target water quality level corresponding to the water tank outlet assessment data from the correspondence between the outlet assessment data and water quality levels; and determining the water quality control strategy corresponding to the target water quality level as the water purification plan for the smart toilet. The purpose of this setup is to quickly determine the water purification plan for the smart toilet by finding the correspondence and precise matching, thereby improving the real-time performance of water purification.
[0041] Based on the water quality health score of the cleaning water (i.e., the effluent assessment data from the storage tank), different water quality levels can be determined for the cleaning water. This allows for the adoption of the most suitable water purification plan to purify the raw water under the current water quality conditions, obtaining cleaning water capable of performing cleaning tasks at the lowest purification cost. The correspondence between the effluent assessment data and water quality levels is recorded, showing the relationship between each water quality health score and water quality level. For example, a water quality health score greater than 9 indicates excellent cleaning water quality; a score greater than 7 but not greater than 9 indicates good cleaning water quality with some fluctuations; a score greater than 5 but not greater than 7 indicates that the cleaning water quality is in a borderline state and may exceed the standard at any time; and a score not greater than 5 indicates that the cleaning water quality is polluted and does not meet the conditions for healthy and hygienic use.
[0042] The target water quality levels include qualified water quality, critical fluctuation level, critical pollution level, and pollution exceeding standard level. Specifically, a water quality health score greater than 9 corresponds to qualified water quality; a score greater than 7 but less than 9 corresponds to critical fluctuation level; a score greater than 5 but less than 7 corresponds to critical pollution level; and a score not greater than 5 corresponds to pollution exceeding standard level. In particular, the water quality corresponding to the qualified water quality level is higher than that corresponding to the critical fluctuation level, the critical fluctuation level is higher than that corresponding to the critical pollution level, and the critical pollution level is higher than that corresponding to the pollution exceeding standard level.
[0043] Water quality control strategies can be understood as water purification methods, with different purification methods corresponding to different water quality levels. For qualified water quality levels, the control strategy involves hollow fiber (Polypropylene fiber, PP cotton) filtration and instantaneous ultraviolet (UV) sterilization during water output (i.e., the UV lamp is only pulsed on for a brief moment when water is discharged from the cleaning nozzle, effectively saving energy). For critical fluctuation levels, the control strategy involves full-flow UV sterilization and enhanced residual chlorine through micro-electrolysis (maintaining residual chlorine within the safe range of 0.1-0.2 mg / L). In critical fluctuation situations, the system can also display "Slight water quality fluctuation, automatic enhanced protection" to the user through the interactive interface, allowing the user to understand the water quality situation. For critical pollution levels, the control strategy involves enhancing the UV sterilization level at full flow (e.g., increasing the UV power to 120% of the reference power) and activating the dual-stage filtration bypass (i.e., switching to high-precision filtration). The system uses a reverse osmosis or nanofiltration membrane path and increases the activated carbon adsorption time. It also discharges a preset duration of cleaning water when using the cleaning nozzle (the preset duration can be set according to the smart toilet's control logic; for example, storing water for 10 seconds before discharge to replace it with fresh water). In cases of near-critical contamination, the child / sensitive mode will be locked to prevent children or sensitive individuals from coming into contact with cleaning water of moderate health levels. For contamination levels exceeding the standard, the water quality control strategy is to shut off the cleaning water path (to prevent contaminated water from contacting the human body), activate the self-cleaning cycle (to activate internal high-concentration ozone / hypochlorous acid to soak the raw water), and implement an audible and visual warning mode (e.g., buzzer alarm, app push notifications, etc.). In cases of excessive contamination, only the flushing function is retained, and all cleaning functions are disabled.
[0044] Optionally, after determining the water purification scheme for the smart toilet, the method of the present invention further includes: obtaining at least one historical water output assessment data of the water tank of the smart toilet; determining the water quality change trend of the water tank of the smart toilet based on the water output assessment data of the water tank and at least one historical water output assessment data; and adjusting the water purification scheme of the smart toilet based on the water quality change trend.
[0045] The water quality of the flushing water in a smart toilet is monitored periodically. Historical water quality assessment data can be understood as the water quality assessment data corresponding to the previous testing period. Based on the water quality assessment data of the current testing period (i.e., the water tank water quality assessment data) and at least one historical water quality assessment data, the change in the water quality health score of the smart toilet (i.e., the water quality change trend of the water tank) can be determined. The advantage of this setting is that the water quality purification strategy can be intervened in advance based on the change in the water quality health score. For example, if the water quality health score is greater than 6 but less than 7 for three consecutive times, the strong purification mode can be activated, indicating that the water quality has deteriorated, and the intensity of ultraviolet sterilization can be increased to avoid the phenomenon of excessively low water quality health due to insufficient purification intensity.
[0046] In determining the trend of water quality change, this invention may consider effluent assessment data from the past 20 hours, the past 50 hours, or the past 72 hours. The specific trend analysis and control logic, trend prediction accuracy, and trend prediction range are related, and this invention does not limit them.
[0047] The methods for determining the trend of water quality changes include: 1) integrating real-time health scores to form a one-dimensional time series with a time step of 5 minutes; 2) performing first-order differencing on the one-dimensional time series to obtain a stationary series; 3) constructing a difference sequence regression model by combining the stationary series, natural regression coefficient, moving average coefficient, and random error; 4) making predictions for the difference sequence at 864 time steps (5 minutes / step) and restoring the predicted data to a health score prediction sequence through inverse differencing; 5) determining the trend of water quality changes based on the slope of the health score prediction sequence. For example, a slope greater than 0.02 per hour is considered to indicate improved water quality, a slope between -0.02 and 0.02 per hour is considered to indicate stable water quality, and a slope less than -0.02 per hour is considered to indicate deteriorated water quality.
[0048] S103. Based on the water output assessment data from the water storage tank, determine the control scheme for the cleaning nozzle of the smart toilet, and control the smart toilet to operate based on the water purification scheme and the cleaning nozzle control scheme to obtain cleaning water that meets the requirements for the use of the cleaning nozzle.
[0049] The smart toilet's bidet nozzle control scheme can be understood as a strategy for controlling whether the bidet nozzle dispenses water. This includes controlling the bidet nozzle to dispense water (i.e., turning on the bidet nozzle) and controlling it to not dispense water (i.e., turning off the bidet nozzle). The purpose of this setting is to determine the water quality health conclusion based on the water quality assessment data from the water tank, and only allow the bidet nozzle to dispense water when the water quality is healthy, thus providing the current user with a clean and hygienic cleaning service.
[0050] Optionally, after determining the cleaning nozzle control scheme of the smart toilet based on the water output evaluation data from the water storage tank, the method of the present invention further includes: determining the user's identification information and / or water demand information, and adjusting the cleaning nozzle control scheme according to the identification information and / or the water demand information.
[0051] User identification information can be understood as user identity information, used to distinguish each toilet user. User water usage information can be understood as personalized water usage instructions for the user, such as posterior wash (large volume and concentrated water flow), feminine wash (gentle water flow at a specific angle), massage wash, medium temperature, medium pressure, nozzle position range, washing time, etc. Combining user identification information and water usage information can determine the user's washing preferences or suitable washing modes, so as to provide targeted cleaning services and improve the user's washing experience as much as possible while ensuring healthy cleaning.
[0052] The first aspect involves determining the identification information, including: obtaining the user's current state data and determining the user's identification information based on the current state data.
[0053] User identification can be understood as a user's personalized identity information, such as a user ID or name. This information distinguishes different users of the toilet, allowing for zoned management of each user's usage data and providing personalized cleaning services based on individual user needs (e.g., sensitivity levels, water quality requirements). Current status data refers to the user's posture on the toilet, such as weight and seat area. Each user has a different weight and seat area; based on this information, the identity information (i.e., user identification) of the current user of the smart toilet can be determined.
[0054] Secondly, determining water demand information includes: determining whether a user's toilet usage instruction has been received; the toilet usage instruction is an audio or touch-based instruction triggered by the user through the smart toilet's interactive device; if a user's toilet usage instruction is received, water demand information is determined based on the toilet usage instruction (i.e., audio or touch-based instruction); if no user's toilet usage instruction is received, water demand information is determined based on baseline water usage information or the user's historical water usage information.
[0055] Toilet usage instructions can be understood as device usage information triggered by user actions such as physical buttons, remote controls, and voice commands. These physical buttons, remote controls, and voice recorders can be considered interactive devices. Toilet usage instructions include the activation signals generated when the user presses the "feminine wash" button, the "posterior wash" button, and the voice command "activate sensitive cleaning mode." These instructions represent the user's toilet usage preferences. If a user's usage instruction is received, the system will determine water usage information based on that instruction to provide a cleaning service more suited to the user's preferences. If no instruction is received, it's assumed the user doesn't have a specific cleaning preference at this stage of toilet use, and the system will determine water usage information based on baseline water usage information or the user's historical water usage information to provide cleaning services, ensuring continuity and feasibility of the cleaning process and improving the user's toilet experience. Specifically, baseline water usage information can be understood as reference water usage information / standard water usage information / universal water usage information set based on the usage habits of many users, used to provide toilet users with cleaning services that may not be perfectly tailored but will not cause discomfort.
[0056] Water demand information is determined based on baseline water usage information or the user's historical water usage information. This includes: determining whether the smart toilet contains the user's historical water usage information; if so, determining the user's historical water usage information as the water demand information; if not, determining the baseline water usage information as the water demand information. This invention employs a mechanism of "using historical data when available, and using standard data when no historical data is available." When the smart toilet contains the user's historical water usage information, historical data is prioritized to determine water demand information that better matches the current user, improving the comfort of the cleaning service. When the smart toilet does not contain the user's historical water usage information, standard water usage data is used to determine a water demand, ensuring basic cleaning services.
[0057] The purpose of adjusting the cleaning nozzle control scheme based on the identification information and / or the water demand information is to re-evaluate the cleaning water based on its quality, using the identification information and water demand information to diagnose whether the cleaning water can provide cleaning services to the current user. The identification information can represent the user group, such as children or the infirm, while the water demand information can represent the user's water usage preferences, such as feminine wash or massage wash. Different user groups / different water usage preferences require different levels of water cleanliness. If a user has a high level of water usage requirement, but the water tank's output assessment data indicates that the cleaning water is only of medium quality, then the cleaning nozzle is shut off to isolate the unsuitable cleaning water. This setting ensures that the cleaning nozzle only sprays cleaning water that matches the user group / user's water usage preferences, and the cleaning water sprayed by the cleaning nozzle is the cleaning water that meets the requirements for the cleaning nozzle's use.
[0058] In one specific implementation, the control scheme for the cleaning nozzle of the smart toilet is determined based on the water output assessment data from the water tank. This includes: determining whether the water output assessment data from the water tank is greater than a first water quality assessment threshold (the minimum water quality threshold for the flushing task, such as 5 or 6); if the water output assessment data from the water tank is greater than the first water quality assessment threshold, then the cleaning water is considered suitable for performing the cleaning task, and the control scheme for the cleaning nozzle of the smart toilet is determined to allow the cleaning nozzle to start the cleaning program; if the water output assessment data from the water tank is not greater than the first water quality assessment threshold, then the water quality is considered poor and does not meet the minimum cleaning requirements, and cannot be used to wash the human body, and the control scheme for the cleaning nozzle of the smart toilet is determined to prohibit the cleaning nozzle from starting the cleaning program.
[0059] The above diagnostic method is a general diagnostic method. If the user has personalized cleaning needs, the conditions under which the cleaning nozzle can start the cleaning program can be re-examined according to the user's cleaning needs to avoid ordinary water quality coming into contact with users with high needs. When the water output assessment data from the storage tank is greater than the first water quality assessment threshold, the cleaning nozzle control scheme can be adjusted according to the identification information and / or the water demand information. The specific process includes: determining whether the user is a user with high water quality requirements (a user with personalized cleaning needs, such as a feminine wash user, a child user, etc.) based on the identification information and / or the water demand information; if the user is a user with high water quality requirements, then determining whether the water output assessment data from the storage tank is greater than the second water quality assessment threshold (an assessment index of excellent water quality, such as 9, 8.5, etc.); wherein, the second water quality assessment threshold is greater than the first water quality assessment threshold; if the water output assessment data from the storage tank is greater than the second water quality assessment threshold, then the water quality of the cleaning water is determined to be excellent, and the cleaning nozzle control scheme of the smart toilet is adjusted accordingly. The solution allows the cleaning nozzle to initiate the cleaning program (excellent water quality suitable for all users and all cleaning requirements); if the water quality assessment data from the water tank is not greater than the second water quality assessment threshold, then the cleaning nozzle control scheme for the smart toilet is determined to prohibit the cleaning nozzle from initiating the cleaning program. Cleaning water between the first and second water quality assessment thresholds is considered qualified cleaning water, suitable for most users and most cleaning requirements, but not for users with high water quality requirements. If a user has high water quality requirements, the cleaning nozzle should be prevented from emitting water, as these users are more sensitive. This setting can better protect the health of users with high water quality requirements.
[0060] The system determines whether the water quality assessment data from the storage tank exceeds the first water quality assessment threshold (an indicator of excellent water quality, e.g., 9). If the water quality assessment data exceeds the first water quality assessment threshold, the cleaning water is determined to be of excellent quality, and the smart toilet's cleaning nozzle control scheme allows the cleaning nozzle to initiate the cleaning program (excellent water quality is suitable for all users and all cleaning requirements). If the water quality assessment data does not exceed the first water quality assessment threshold, the system determines whether the water quality assessment data exceeds the second water quality assessment threshold (an indicator of contaminated water quality, e.g., 5). If the water quality assessment data does not exceed the second water quality assessment threshold, the cleaning water is determined to be of excellent quality. If contamination is present, the smart toilet's cleaning nozzle control scheme will prevent the cleaning nozzle from initiating the cleaning program. If the water quality assessment data from the storage tank exceeds the second water quality assessment threshold (cleaning water between the first and second water quality assessment thresholds is considered qualified cleaning water and can meet the needs of most users and most cleaning requirements), then based on the identification information and water demand information, it will be determined whether the user is a user with high water quality requirements. If the user is not a user with high water quality requirements, then the smart toilet's cleaning nozzle control scheme will allow the cleaning nozzle to initiate the cleaning program. If the user is a user with high water quality requirements, then the smart toilet's cleaning nozzle control scheme will prevent the cleaning nozzle from initiating the cleaning program.
[0061] It is worth noting that if the cleaning nozzle control scheme allows the cleaning nozzle to start the cleaning program, after controlling the smart toilet to operate based on the water purification scheme and the cleaning nozzle control scheme, the method further includes: determining the water quality data of the water quality monitoring area corresponding to the cleaning nozzle of the smart toilet, and determining the water output evaluation data of the cleaning nozzle of the smart toilet based on the water quality monitoring area corresponding to the cleaning nozzle; determining the water output judgment threshold of the cleaning nozzle, and adjusting the cleaning nozzle control scheme based on the water output evaluation data and the water output judgment threshold.
[0062] The water quality data in the monitoring area corresponding to the cleaning nozzle is not static. To ensure user health, it needs to be monitored in real time to prevent unhealthy water from contacting the body. The water quality monitoring area corresponding to the cleaning nozzle of the smart toilet is a temporary storage area for the cleaning water before the cleaning task. This area is equipped with a full-parameter sensor array. The water quality monitoring area corresponding to the cleaning nozzle also performs comprehensive data evaluation. The detection principle and method are the same as those of the water storage tank. The water quality data in the monitoring area corresponding to the cleaning nozzle includes at least two of the following: hydrogen ion activity, turbidity, conductivity, dissolved oxygen, temperature, and residual chlorine. The water quality assessment data from the cleaning nozzle is a health score of the water currently flowing from the cleaning nozzle. The determination method is the same as that of the water quality assessment data from the water storage tank, and will not be elaborated here.
[0063] The water output threshold for the cleaning nozzle can be determined based on empirical values / benchmark values, or based on labeling information and / or the stated water demand information. Different types of users require different levels of healthy cleaning water. When determined based on labeling information and / or the stated water demand information, the water output threshold can be understood as the minimum healthy water output score determined based on the labeling information and / or water demand information. For example, the minimum healthy water output score for children is 8, and the minimum healthy water output score for feminine hygiene is 7.5, etc. The purpose of this setting is to quantify the control indicators of the cleaning nozzle control scheme. For example, assuming that the water output threshold for the cleaning nozzle is determined to be 7.5 based on labeling information and water demand information, adjusting the cleaning nozzle control scheme based on the cleaning nozzle water output evaluation data and the water output threshold can be understood as judging the relationship between the cleaning nozzle water output evaluation data and 7.5 in real time. Once the cleaning nozzle water output evaluation data is less than 7.5, the cleaning nozzle control scheme will be adjusted to prohibit the cleaning nozzle from starting the cleaning program, until the cleaning nozzle water output evaluation data is equal to or greater than 7.5, and so on.
[0064] The technical solution of the above embodiment is to determine the water quality assessment data of the water tank (i.e., the water quality of the water expected to be output from the water tank) based on the water quality data of the water tank, and then determine the water purification plan of the smart toilet (i.e., a reference water purification plan obtained based on the real-time water quality to control the water quality within the qualified range) based on the water quality assessment data of the water tank, so as to purify the water flowing into the toilet in a targeted manner and improve the water purification effect and efficiency. Secondly, the cleaning nozzle control plan of the smart toilet is determined based on the water quality assessment data of the water tank and the identification information and water demand information that can represent the user's personalized water use requirements. This is equivalent to determining the cleaning nozzle control plan (i.e., whether to start the cleaning nozzle flushing process) based on the user's personalized water use requirements and the actual water quality. Then, the smart toilet is controlled to operate based on the water purification plan and the cleaning nozzle control plan to ensure that the cleaning nozzle only outputs cleaning water that meets the safe water use standards and the user's water use requirements, thereby ensuring the user's water safety and improving the user's toilet experience. This invention addresses two main issues: firstly, the fixed disinfection effect of ozone, where the disinfection target of the ozone treatment device is predetermined and cannot be personalized to the user's water needs; and secondly, the time required for ozone disinfection, which leads to a lag in water purification, meaning that before disinfection is complete, the smart toilet may not contain water that meets usage requirements, posing a safety hazard if the user triggers a water usage task. This invention deeply integrates three-stage monitoring, health assessment, and intelligent early warning. Water quality monitoring covers the entire process from water source inlet to storage and outlet. It not only provides tiered early warnings but also initiates a "preventive purification" strategy based on water quality trends, activating enhanced purification before water quality exceeds standards to ensure water health. Furthermore, it uses scenario-based purification control based on user identity to precisely address users' core concern about the health of their flushing water, upgrading water quality monitoring from a basic function to a health service, opening a new track for health monitoring and control systems in the smart toilet industry. Secondly, when the health score falls below a preset threshold, the flushing water path is automatically cut off, retaining only the flushing function to prevent contaminated water from contacting the human body.
[0065] Figure 2 This is a flowchart illustrating a method for determining a cleaning nozzle control scheme for a smart toilet according to the present invention. This embodiment, based on the above embodiment, refines step S103, "determining the cleaning nozzle control scheme for the smart toilet based on water tank outlet assessment data, identification information, and water demand information." Specifically, as follows... Figure 2 As shown, the method includes: S201. Determine whether the water quality assessment data of the water tank outlet is greater than the first water quality assessment threshold.
[0066] If the water quality assessment data of the water tank outlet is not greater than the first water quality assessment threshold, then execute S202; if the water quality assessment data of the water tank outlet is greater than the first water quality assessment threshold, then execute S203.
[0067] S202. Determine that the control scheme for the cleaning nozzles of the smart toilet is to prevent the cleaning nozzles from starting the cleaning program.
[0068] S203. Determine whether a user is a user with specific water quality requirements based on the identification information and / or water demand information.
[0069] Specifically, if the user is not a water quality intensive user, then execute S204; if the user is a water quality intensive user, then execute S205.
[0070] S204. Determine that the control scheme for the cleaning nozzles of the smart toilet is to allow the cleaning nozzles to start the cleaning program.
[0071] S205. Determine whether the water quality assessment data of the water tank outlet is greater than the second water quality assessment threshold.
[0072] The second water quality assessment threshold is greater than the first water quality assessment threshold. Specifically, if the water quality assessment data of the water tank outlet is greater than the second water quality assessment threshold, then S206 is executed; if the water quality assessment data of the water tank outlet is not greater than the second water quality assessment threshold, then S207 is executed.
[0073] S206. Determine the control scheme for the cleaning nozzles of the smart toilet to allow the cleaning nozzles to start the cleaning program.
[0074] S207. Determine that the control scheme for the cleaning nozzles of the smart toilet is to prevent the cleaning nozzles from starting the cleaning program.
[0075] Figure 3 This is a flowchart illustrating another control method for a smart toilet provided by the present invention. Based on the above embodiments, this embodiment provides a preferred and more detailed method for controlling a smart toilet. Specifically, as follows... Figure 3 As shown, the method includes: S301. Determine the water quality data of the water quality monitoring area corresponding to the water inlet of the smart toilet.
[0076] S302. Determine whether the water quality data of the water quality monitoring area corresponding to the water inlet meets the water purification conditions.
[0077] If the water quality data of the water quality monitoring area corresponding to the water inlet does not meet the water purification conditions, then execute S303; if the water quality data of the water quality monitoring area corresponding to the water inlet meets the water purification conditions, then execute S304.
[0078] S303, Block the purification water path of the smart toilet and control the smart toilet's interactive interface to display a warning message that the cleaning nozzle is disabled.
[0079] S304. Determine the water quality data of the smart toilet's water tank.
[0080] S305. Based on the water quality data of the water tank, determine the water output assessment data of the smart toilet's water tank, and based on the water output assessment data of the water tank, determine the water purification plan for the smart toilet.
[0081] Specifically, based on the water tank outlet assessment data, the water purification plan for the smart toilet is determined, including: determining the target water quality level corresponding to the water tank outlet assessment data from the correspondence between the outlet assessment data and the water quality level; and determining the water quality control strategy corresponding to the target water quality level as the water purification plan for the smart toilet.
[0082] S306. Based on the water output assessment data from the water storage tank, determine the control scheme for the cleaning nozzles of the smart toilet, and control the smart toilet to operate based on the water purification scheme and the cleaning nozzle control scheme.
[0083] S307. Determine the water quality data of the water quality monitoring area corresponding to the cleaning nozzle of the smart toilet, and determine the water output evaluation data of the cleaning nozzle of the smart toilet based on the water quality data of the water quality monitoring area corresponding to the cleaning nozzle.
[0084] S308. Determine the water output threshold of the cleaning nozzle and adjust the cleaning nozzle control scheme according to the water output evaluation data and the water output threshold.
[0085] S309. The intelligent toilet is controlled to operate based on the water purification scheme and the adjusted cleaning nozzle control scheme to obtain cleaning water that meets the requirements of the cleaning nozzle.
[0086] Figure 4 This is a schematic diagram of the control device for a smart toilet provided by the present invention. Figure 4 As shown, the device includes: an information acquisition module 401, a purification scheme determination module 402, and an equipment control module 403.
[0087] The information acquisition module 401 is used to determine the water quality data of the water tank of the smart toilet.
[0088] The purification scheme determination module 402 is used to determine the water quality assessment data of the smart toilet's water tank outlet based on the water quality data of the water tank, and to determine the water purification scheme of the smart toilet based on the water quality assessment data of the water tank outlet.
[0089] The equipment control module 403 is used to determine the cleaning nozzle control scheme of the smart toilet based on the water output evaluation data of the water storage tank, and to control the smart toilet to operate based on the water purification scheme and the cleaning nozzle control scheme to obtain cleaning water that meets the requirements of the cleaning nozzle.
[0090] Optionally, after determining the cleaning nozzle control scheme for the smart toilet based on the water output assessment data from the water storage tank, the device control module 403 is also used to: determine the user's identification information and / or water demand information, and adjust the cleaning nozzle control scheme according to the identification information and / or water demand information.
[0091] Optionally, when determining water demand information, the equipment control module 403 is specifically used to: obtain the user's current status data and determine identification information based on the current status data.
[0092] Optionally, when determining the identification information, the device control module 403 is specifically used to: determine whether a user's toilet usage instruction has been received; if a user's toilet usage instruction has been received, then determine the water demand information based on the toilet usage instruction; if no user's toilet usage instruction has been received, then determine the water demand information based on the baseline water usage information or the user's historical water usage information.
[0093] Optionally, the purification scheme determination module 402 is specifically used to: determine the water quality assessment data of the water storage tank based on the water quality data of the water storage tank and the benchmark water quality data; wherein, the water quality data of the water storage tank includes at least two of the following: hydrogen ion activity data, turbidity data, conductivity data, dissolved oxygen data, temperature data, and residual chlorine data; Determine the water output evaluation coefficient for the smart toilet, and based on the water output evaluation coefficient and water quality evaluation data, determine the water output evaluation data for the smart toilet's water tank.
[0094] Optionally, when determining the water purification scheme for the smart toilet based on the water tank outlet assessment data, the purification scheme determination module 402 is specifically used to: determine the target water quality level corresponding to the water tank outlet assessment data from the correspondence between the outlet assessment data and the water quality level; and determine the water quality control strategy corresponding to the target water quality level as the water purification scheme for the smart toilet.
[0095] Optionally, the target water quality level includes qualified water quality level, critical fluctuation level, critical pollution level, and pollution exceeding standard level; among them, the water quality corresponding to the qualified water quality level is higher than the water quality corresponding to the critical fluctuation level, the water quality corresponding to the critical fluctuation level is higher than the water quality corresponding to the critical pollution level, and the water quality corresponding to the critical pollution level is higher than the water quality corresponding to the pollution exceeding standard level; the water quality control strategy corresponding to the qualified water quality level is hollow cotton filtration and instant sterilization with ultraviolet light at the outlet; the water quality control strategy corresponding to the critical fluctuation level is full-flow ultraviolet sterilization and enhanced residual chlorine through micro-electrolysis; the water quality control strategy corresponding to the critical pollution level is to enhance the degree of ultraviolet sterilization at full flow, activate the dual-stage filtration bypass, and discharge cleaning water for a preset time when using the cleaning nozzle; the water quality control strategy corresponding to the pollution exceeding standard level is to shut down the cleaning water path, activate self-cleaning circulation, and activate the audible and visual warning mode.
[0096] Optionally, when determining the control scheme for the cleaning nozzle of the smart toilet based on the water output assessment data from the water tank, the device control module 403 is specifically used to: determine whether the water output assessment data from the water tank is greater than a first water quality assessment threshold; if the water output assessment data from the water tank is greater than the first water quality assessment threshold, then determine that the control scheme for the cleaning nozzle of the smart toilet is to allow the cleaning nozzle to start the cleaning program; if the water output assessment data from the water tank is not greater than the first water quality assessment threshold, then determine that the control scheme for the cleaning nozzle of the smart toilet is to prohibit the cleaning nozzle from starting the cleaning program.
[0097] Optionally, if the water tank outlet assessment data is greater than the first water quality assessment threshold, when adjusting the cleaning nozzle control scheme based on the identification information and / or water demand information, the device control module 403 is specifically used to: determine whether the user is a user with high water quality requirements based on the identification information and / or water demand information; if the user is a user with high water quality requirements, determine whether the water tank outlet assessment data is greater than the second water quality assessment threshold; wherein, the second water quality assessment threshold is greater than the first water quality assessment threshold; if the water tank outlet assessment data is greater than the second water quality assessment threshold, determine that the cleaning nozzle control scheme of the smart toilet is to allow the cleaning nozzle to start the cleaning program; if the water tank outlet assessment data is not greater than the second water quality assessment threshold, determine that the cleaning nozzle control scheme of the smart toilet is to prohibit the cleaning nozzle from starting the cleaning program.
[0098] Optionally, the purification scheme determination module 402 is further configured to: after determining the water purification scheme of the smart toilet, acquire at least one historical water output assessment data of the water tank of the smart toilet; determine the water quality change trend of the water tank of the smart toilet based on the water output assessment data of the water tank and at least one historical water output assessment data, and adjust the water purification scheme of the smart toilet according to the water quality change trend.
[0099] Optionally, if the cleaning nozzle control scheme allows the cleaning nozzle to start the cleaning program, the device control module 403 is further configured to: after controlling the smart toilet to operate based on the water purification scheme and the cleaning nozzle control scheme, determine the water quality data of the water quality monitoring area corresponding to the cleaning nozzle of the smart toilet, and determine the water output evaluation data of the cleaning nozzle of the smart toilet based on the water quality monitoring area corresponding to the cleaning nozzle; determine the water output judgment threshold of the cleaning nozzle, and adjust the cleaning nozzle control scheme based on the water output evaluation data and the water output judgment threshold.
[0100] Optionally, the control device of the smart toilet also includes a water quality abnormality warning module, which is used to determine the water quality data of the water quality monitoring area corresponding to the water inlet of the smart toilet before determining the water quality data of the water tank of the smart toilet; to determine whether the water quality data of the water quality monitoring area corresponding to the water inlet meets the water purification conditions; if the water quality data of the water quality monitoring area corresponding to the water inlet does not meet the water purification conditions, the purification water path of the smart toilet is blocked, and the interactive interface of the smart toilet is controlled to display a warning message that the cleaning nozzle is disabled.
[0101] The control device for the smart toilet provided in this embodiment can execute the control method for the smart toilet provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0102] Figure 5 This is a schematic diagram of the structure of an electronic device provided by the present invention. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices (such as helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.
[0103] like Figure 5 As shown, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory 12 or a random access memory (RAM) 13, communicatively connected to the at least one processor 11. The memory stores computer programs executable by the at least one processor. The processor 11 can perform various appropriate actions and processes based on the computer program stored in the read-only memory 12 or loaded from the storage unit 18 into the RAM 13. The RAM 13 can also store various programs and data required for the operation of the electronic device 10. The processor 11, read-only memory 12, and RAM 13 are interconnected via a bus 14. An input / output interface 15 is also connected to the bus 14.
[0104] Multiple components in electronic device 10 are connected to input / output interface 15, including: input unit 16, such as keyboard, mouse, etc.; output unit 17, such as various types of monitors, speakers, etc.; storage unit 18, such as disk, optical disk, etc.; and communication unit 19, such as network card, modem, wireless transceiver, etc. Communication unit 19 allows electronic device 10 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0105] Processor 11 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, central processing units, graphics processing units, various special-purpose artificial intelligence computing chips, various processors running machine learning model algorithms, digital signal processors, and any suitable processor, controller, microcontroller, etc. Processor 11 performs the various methods and processes described above, such as the control methods for a smart toilet.
[0106] In some embodiments, the control method for the smart toilet may be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded into and / or installed on electronic device 10 via read-only memory 12 and / or communication unit 19. When the computer program is loaded into random access memory 13 and executed by processor 11, one or more steps of the control method for the smart toilet described above may be performed. Alternatively, in other embodiments, processor 11 may be configured to perform the control method for the smart toilet by any other suitable means (e.g., by means of firmware).
[0107] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays, application-specific integrated circuits (ASICs), application-specific standard products (ASICs), systems-on-a-chip (SoCs), payload programmable logic devices, computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0108] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0109] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory, read-only memory, erasable programmable read-only memory / flash memory, optical fibers, portable compact disk read-only memory, optical storage devices, magnetic storage devices, or any suitable combination thereof.
[0110] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a cathode ray tube or liquid crystal display) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (voice input and / or tactile input).
[0111] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), middleware components (e.g., application servers), or frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.
[0112] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a host product within the cloud computing service system to address the shortcomings of traditional physical hosts and virtual private servers, such as high management difficulty and weak business scalability.
[0113] In one specific embodiment, the present invention also includes a computer program product, which includes a computer program that, when executed by a processor, implements the control method for a smart toilet according to any embodiment of the present invention.
[0114] In the implementation of a computer program product, computer program code for performing the operations of this invention can be written in one or more programming languages or a combination thereof. Programming languages include object-oriented programming languages as well as conventional procedural programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including local area networks (LANs) or wide area networks (WANs), or it can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0115] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and no limitation is imposed herein.
[0116] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.
Claims
1. A control method of a smart toilet, characterized by, include: Determine the water quality data of the smart toilet's water tank; Based on the water quality data of the water tank, determine the water output assessment data of the smart toilet, and based on the water output assessment data of the water tank, determine the water purification scheme of the smart toilet. Based on the water output evaluation data from the water storage tank, a control scheme for the cleaning nozzle of the smart toilet is determined, and the smart toilet is controlled to operate based on the water purification scheme and the cleaning nozzle control scheme to obtain cleaning water that meets the requirements for the use of the cleaning nozzle.
2. The method of claim 1, wherein, After determining the cleaning nozzle control scheme for the smart toilet based on the water output evaluation data from the water storage tank, the method further includes: Determine the user's identification information and / or water demand information, and adjust the cleaning nozzle control scheme according to the identification information and / or the water demand information; Accordingly, determining the identification information includes: Obtain the user's current status data, and determine the identification information based on the current status data; Determining the water demand information includes: Determine whether the user's toilet usage instruction has been received; If the user's toilet usage instruction is received, the water demand information is determined based on the toilet usage instruction; If no toilet usage instruction is received from the user, the water demand information is determined based on the baseline water usage information or the user's historical water usage information.
3. The method of claim 1, wherein, The step of determining the water quality assessment data of the smart toilet's water tank based on the water quality data of the water tank includes: Based on the water quality data of the water storage tank and the baseline water quality data, the water quality assessment data of the water storage tank is determined; wherein, the water quality data of the water storage tank includes at least two of the following: hydrogen ion activity data, turbidity data, conductivity data, dissolved oxygen data, temperature data, and residual chlorine data; Determine the water output evaluation coefficient of the smart toilet, and based on the water output evaluation coefficient and the water quality evaluation data, determine the water output evaluation data of the smart toilet's water tank.
4. The method of claim 1, wherein, The step of determining the water purification scheme for the smart toilet based on the water output evaluation data from the water storage tank includes: The target water quality level corresponding to the effluent assessment data of the water storage tank is determined from the correspondence between the effluent assessment data and the water quality level; wherein, the target water quality level includes qualified water quality level, critical fluctuation level, critical pollution level, and pollution exceeding standard level; the water quality corresponding to the qualified water quality level is higher than the water quality corresponding to the critical fluctuation level, the water quality corresponding to the critical fluctuation level is higher than the water quality corresponding to the critical pollution level, and the water quality corresponding to the critical pollution level is higher than the water quality corresponding to the pollution exceeding standard level; The water quality control strategy corresponding to the target water quality level is determined as the water purification solution for the smart toilet.
5. The method according to claim 1, characterized in that, The step of determining the cleaning nozzle control scheme for the smart toilet based on the water output evaluation data from the water storage tank includes: Determine whether the water quality assessment data of the water storage tank is greater than the first water quality assessment threshold; If the water quality assessment data from the water tank is greater than the first water quality assessment threshold, then the cleaning nozzle control scheme of the smart toilet is determined to allow the cleaning nozzle to start the cleaning program. If the water quality assessment data from the water tank is not greater than the first water quality assessment threshold, then the control scheme for the cleaning nozzle of the smart toilet is determined to prohibit the cleaning nozzle from starting the cleaning program.
6. The method according to claim 2, characterized in that, If the water quality assessment data from the water storage tank is greater than the first water quality assessment threshold, adjusting the cleaning nozzle control scheme based on the identification information and / or the water demand information includes: Based on the identification information and / or the water demand information, determine whether the user is a user with high water quality requirements; If the user is the user with high water quality requirements, then it is determined whether the water quality assessment data of the water tank outlet is greater than the second water quality assessment threshold; wherein, the second water quality assessment threshold is greater than the first water quality assessment threshold; If the water quality assessment data from the water tank is greater than the second water quality assessment threshold, then the cleaning nozzle control scheme of the smart toilet is determined to allow the cleaning nozzle to start the cleaning program. If the water quality assessment data from the water tank is not greater than the second water quality assessment threshold, then the control scheme for the cleaning nozzle of the smart toilet is determined to prohibit the cleaning nozzle from starting the cleaning program.
7. The method according to claim 1, characterized in that, After determining the water purification solution for the smart toilet, the method further includes: Obtain at least one historical water discharge assessment data from the water tank of the smart toilet; Based on the water output assessment data from the water storage tank and the at least one historical water output assessment data, the water quality change trend of the smart toilet's water storage tank is determined, and the water purification scheme of the smart toilet is adjusted according to the water quality change trend.
8. The method according to claim 1, characterized in that, If the cleaning nozzle control scheme allows the cleaning nozzle to initiate the cleaning program, after controlling the smart toilet to operate based on the water purification scheme and the cleaning nozzle control scheme, the method further includes: Determine the water quality data of the water quality monitoring area corresponding to the cleaning nozzle of the smart toilet, and determine the water output evaluation data of the cleaning nozzle of the smart toilet based on the water quality data of the water quality monitoring area corresponding to the cleaning nozzle. Determine the water output threshold of the cleaning nozzle, and adjust the cleaning nozzle control scheme based on the water output evaluation data and the water output threshold.
9. The method according to claim 1, characterized in that, Before determining the water quality data of the smart toilet's water tank, the method further includes: Determine the water quality data of the water quality monitoring area corresponding to the water inlet of the smart toilet; Determine whether the water quality data of the water quality monitoring area corresponding to the water inlet meets the water purification conditions; If the water quality data of the water quality monitoring area corresponding to the water inlet does not meet the water purification conditions, the purification water path of the smart toilet will be blocked, and the interactive interface of the smart toilet will be controlled to display a warning message that the cleaning nozzle is disabled.
10. A smart toilet, characterized in that, The smart toilet includes: At least one processor; and a memory communicatively connected to said at least one processor; The memory stores a computer program that can be executed by the at least one processor, which is then executed by the at least one processor to enable the at least one processor to perform the control method for the smart toilet according to any one of claims 1 to 9.