Dirt cleaning device, closestool waterway cleaning method, electronic equipment and closestool
By designing dirty cleaning devices in smart toilets and using the cooperation of detection modules and control modules to detect and deal with dirty sewage in real time, the problem of using dirty sewage cleaning in smart toilets is solved, improving user experience and health and safety.
Patent Information
- Application Number
- CN202411618986.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-13
- Publication Date
- 2025-02-21
AI Technical Summary
During the use of existing smart toilets, it is inevitable that they will use dirty sewage to clean, which will affect users' health and user experience.
A dirty cleaning device is designed, including the main waterway, a detection module and a control module. The detection module detects the dirtiness of the cleaning liquid in the main waterway in real time and transmits the data to the control module. The control module determines whether the cleaning conditions are met based on the degree of dirt, and controls the cleaning action of the main waterway when the conditions are met, including discharge of dirty cleaning liquid through the sewage discharge channel or injecting cleaners for descaling.
It effectively avoids users from using dirty sewage for cleaning, ensures the cleaning liquid and channels in the main waterway, and improves users' health and user experience.
Smart Images

Figure CN119491537A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of intelligent toilets, and in particular to a dirt cleaning device, a toilet waterway cleaning method, an electronic device and a toilet. Background Art
[0002] With the improvement of living standards, smart toilets are becoming more and more widely used.
[0003] The existing smart toilet is equipped with a filter at the front end, which can filter the cleaning liquid. However, the filter can only filter some impurities such as mud, sand, and red worms. During the use of the smart toilet, it is inevitable that dirty sewage will be used for cleaning, which affects the health and user experience. Summary of the invention
[0004] The present invention provides a dirt detection system and a toilet, which control the cleaning action of the main water channel when the cleaning conditions are met, avoiding the user from using dirty and sewage for cleaning, ensuring the cleanliness of the cleaning liquid in the main water channel and the main water channel, making cleaning more assured and improving the user experience.
[0005] According to one aspect of the present invention, there is provided a dirt cleaning device, comprising: a main waterway, a detection module and a control module;
[0006] The main water channel includes a water inlet and a water outlet. The water inlet is used for the cleaning liquid to enter the main water channel, and the water outlet is used to connect the toilet cleaning module. The detection module is included in the main water channel and is used to detect the degree of dirtiness of the main water channel.
[0007] The control module is electrically connected to the detection module, and the control module is used to determine whether the cleaning condition is met according to the degree of dirtiness, and control the cleaning action of the main water channel when the cleaning condition is met;
[0008] The cleaning conditions include that the degree of dirtiness of the cleaning liquid in the main water channel does not meet the use requirements, and / or the channel of the main water channel does not meet the detection requirements;
[0009] The main waterway is connected to a sewage channel, and the sewage channel and the toilet cleaning module are connected to different positions of the main waterway; the cleaning action includes discharging cleaning liquid through the sewage channel, and / or descaling by injecting a cleaning agent into the main waterway.
[0010] Optionally, the dirtiness of the main waterway includes the dirtiness of the cleaning liquid in the main waterway; the control module is used to control the main waterway to be connected with the drain channel when the dirtiness of the cleaning liquid does not meet the use requirements, so as to discharge the cleaning liquid through the drain channel.
[0011] Optionally, the control module is specifically used to control the main waterway to be connected to the sewage channel when the dirtiness is greater than a preset threshold value, so as to discharge the cleaning liquid through the sewage channel.
[0012] Optionally, the control module is specifically used to control the main water channel to stop supplying water to the toilet cleaning module when the degree of dirtiness is greater than a preset threshold.
[0013] Optionally, the control module is also used to control the main water path to stop supplying water to the toilet cleaning module and control the cleaning liquid to be discharged from the sewage channel within a first set time period after the dirtiness level decreases from greater than a preset threshold to less than or equal to the preset threshold; and after the first set time period, control the main water path to supply water to the toilet cleaning module and control the cleaning liquid to stop being discharged from the sewage channel.
[0014] Optionally, the detection module includes an optical sensor, which is used to emit incident light to the cleaning liquid in the main water channel, receive reflected light, and determine the degree of dirtiness of the cleaning liquid based on the reflected light.
[0015] Optionally, the main water channel includes a mounting seat for the detection module, the mounting seat includes a main body, the main body is provided with a connecting hole, and the pipeline of the main water channel passes through the connecting hole;
[0016] The detection module is arranged on one side of the mounting seat along a first direction, and the first direction intersects with an extension direction of a portion of the main water channel passing through the connecting hole;
[0017] The main body between the main water channel and the detection module is transparent at a position corresponding to the detection module.
[0018] Optionally, the dirt cleaning device further includes a detergent supply assembly connected to the main water channel, and the connection point between the detergent supply assembly and the main water channel is between the water inlet end and the detection module; the dirtiness of the main water channel also includes the dirtiness of the pipe wall of the main water channel;
[0019] The control module is also used to control the detergent supply assembly to be connected to the main water channel to remove scale from the pipe wall in the main water channel when it is determined that the channel of the main water channel does not meet the detection requirements based on the degree of dirtiness of the pipe wall, and to control the discharge of descaling water; and to control the stopping of the delivery of cleaning liquid to the main water channel.
[0020] Optionally, the control module is specifically used to determine that the channel of the main water channel does not meet the detection requirements when no data on the degree of dirtiness is received;
[0021] and / or,
[0022] The control module is also used to control the detergent supply assembly to stop supplying detergent to the main water channel after the detergent supply assembly is connected to the main water channel for a second set time, and to control the delivery of the cleaning liquid to the main water channel;
[0023] The control module is also used to determine whether descaling is completed according to the degree of dirtiness, and if it is determined that descaling is not completed, control the detergent supply assembly to be connected to the main water channel again to remove the scale on the pipe wall in the main water channel, and control the discharge of descaling water; and control the stopping of the delivery of the cleaning liquid to the main water channel;
[0024] The control module is also used to control the detergent supply component to stop supplying detergent to the main water channel and to keep the cleaning liquid being transported to the main water channel when it is determined that descaling is completed according to the degree of dirtiness.
[0025] According to another aspect of the present invention, a toilet waterway cleaning method is provided, the cleaning method comprising:
[0026] Determine whether the cleaning condition is met according to the degree of dirtiness detected by the detection module, and control the cleaning action of the main water channel when the cleaning condition is met;
[0027] The main water channel includes a water inlet and a water outlet, the water inlet is for the cleaning liquid to enter the main water channel, the water outlet is used to connect the toilet cleaning module, and the detection module is included in the main water channel;
[0028] The cleaning conditions include that the degree of dirtiness of the cleaning liquid in the main water channel does not meet the use requirements, and / or the passage of the main water channel does not meet the detection requirements;
[0029] The main waterway is connected to a sewage channel, and the sewage channel and the toilet cleaning module are connected to different positions of the main waterway; the cleaning action includes discharging cleaning liquid through the sewage channel, and / or descaling by injecting a cleaning agent into the main waterway.
[0030] Optionally, the dirtiness of the main water channel includes the dirtiness of the cleaning liquid in the main water channel; determining whether a cleaning condition is met according to the dirtiness detected by the detection module, and controlling a cleaning action of the main water channel when the cleaning condition is met, includes:
[0031] Whether the dirtiness of the cleaning liquid meets the use requirements is determined according to the dirtiness of the cleaning liquid, and when the dirtiness of the cleaning liquid does not meet the use requirements, the main waterway is controlled to be connected with the drainage channel to discharge the cleaning liquid through the drainage channel.
[0032] Optionally, the toilet further includes a detergent supply assembly connected to the main water channel, and the connection point between the detergent supply assembly and the main water channel is between the water inlet end and the detection module; the dirtiness of the main water channel also includes the dirtiness of the pipe wall of the main water channel;
[0033] Determine whether the cleaning condition is met according to the degree of dirtiness detected by the detection module, and control the cleaning action of the main water channel when the cleaning condition is met, including:
[0034] When it is determined that the channel of the main water channel does not meet the detection requirements based on the degree of dirtiness of the pipe wall, the detergent supply component is controlled to be connected to the main water channel to remove scale from the pipe wall in the main water channel, and the descaling water is controlled to be discharged; and the delivery of the cleaning liquid to the main water channel is controlled to be stopped.
[0035] According to another aspect of the present invention, there is provided an electronic device, the electronic device comprising:
[0036] at least one processor; and
[0037] a memory communicatively connected to at least one processor; wherein,
[0038] The memory stores a computer program that can be executed by at least one processor, and the computer program is executed by at least one processor so that the at least one processor can execute the toilet water channel cleaning method according to any embodiment of the present invention.
[0039] According to yet another aspect of the present invention, a toilet is provided, comprising the dirt cleaning device according to any embodiment of the present invention.
[0040] The dirt detection system and toilet of the embodiment of the present invention include a main waterway, a detection module and a control module. The detection module is included in the main waterway, and can detect the dirtiness of the cleaning liquid in the main waterway, and transmit the dirtiness data to the control module. The control module determines whether the cleaning condition is met according to the dirtiness, and controls the cleaning action of the main waterway when the cleaning condition is met. In this way, when the dirtiness of the cleaning liquid in the main waterway does not meet the use requirements, the cleaning liquid can be discharged through the sewage discharge channel, avoiding the health hazards caused by the user using the cleaning liquid in the toilet cleaning module for cleaning. When the channel of the main waterway does not meet the detection requirements, the scale of the channel wall of the main waterway can be removed in time by injecting a detergent into the main waterway for descaling, and the cleaning agent can be used to ensure the cleaning of the channel of the main waterway, thereby avoiding the situation that the detection module detects inaccurate dirtiness data when the channel of the main waterway does not meet the detection requirements, causing the user to use dirty cleaning liquid for cleaning, making cleaning more assured and improving user experience.
[0041] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0043] Figure 1 is a module schematic diagram of a dirt cleaning device provided by an embodiment of the present invention;
[0044] Figure 2 is a schematic diagram of a module of another dirt cleaning device provided by an embodiment of the present invention;
[0045] Figure 3 It is a schematic diagram of the structure of a toilet;
[0046] Figure 4 It is a schematic diagram of a detection module and a mounting base of a dirt cleaning device provided by an embodiment of the present invention;
[0047] Figure 5 yes Figure 4 Exploded diagram of
[0048] Figure 6 yes Figure 4 Schematic diagram of the cross-section structure obtained by cutting along AA';
[0049] Figure 7 yes Figure 6 A partial enlarged view of Figure 7 Can correspond Figure 6 The enlarged image of the area framed by the dashed line;
[0050] Figure 8 yes Figure 4 Schematic diagram of the cross-sectional structure obtained by cutting along BB';
[0051] Fig. 9 is a schematic diagram of a module of another dirt cleaning device provided by an embodiment of the present invention;
[0052] Fig.10 It is a schematic diagram of the structure of a toilet;
[0053] Fig.11 is a flow chart of a toilet waterway cleaning method provided by an embodiment of the present invention;
[0054] Fig.12 is a flow chart of a toilet waterway cleaning method provided by an embodiment of the present invention;
[0055] Fig.13 is a flow chart of a toilet waterway cleaning method provided by an embodiment of the present invention;
[0056] Fig.14 It is a structural schematic diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0057] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0058] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0059] An embodiment of the present invention provides a dirt cleaning device, which can be used in a toilet. Figure 1 is a module schematic diagram of a dirt cleaning device provided by an embodiment of the present invention, with reference to Figure 1 , the dirty cleaning device includes:
[0060] A main waterway 10, a detection module 20 and a control module 30; the main waterway 10 includes an inlet end A1 and an outlet end B1, the inlet end A1 is for the cleaning liquid to enter the main waterway 10, and the outlet end B1 is used to connect the toilet cleaning module 40, the detection module 20 is included in the main waterway 10, and is used to detect the degree of dirtiness of the main waterway 10; the control module 30 is electrically connected to the detection module 20, and the control module 30 is used to determine whether the cleaning condition is met according to the degree of dirtiness, and control the cleaning action of the main waterway 10 when the cleaning condition is met. Among them, the cleaning condition includes that the degree of dirtiness of the cleaning liquid in the main waterway 10 does not meet the use requirements, and / or the channel of the main waterway 10 does not meet the detection requirements; the main waterway 10 is connected to a sewage channel 100, and the sewage channel 100 and the toilet cleaning module 40 are connected at different positions of the main waterway 10; the cleaning action includes discharging the cleaning liquid through the sewage channel 100, and / or, descaling by injecting a detergent into the main waterway 10.
[0061] Among them, the main waterway 10 is the main fluid channel of the system, and may include a pipeline for connecting the cleaning liquid. A switch valve may be provided in the pipeline. By controlling the opening or closing of the switch valve, the supply or stop of the cleaning liquid in the main waterway 10 to the toilet cleaning module 40 can be controlled. The water inlet A1 is the entrance for the cleaning liquid to enter the main waterway 10, which can be connected to a water source, including but not limited to a faucet or a water tank; the water outlet B1 is the outlet for the cleaning liquid to flow out of the main waterway 10, and the water outlet B1 is connected to the toilet cleaning module 40. The toilet cleaning module 40 may include a structure for directly outputting the cleaning liquid in the toilet. For example, the toilet cleaning module 40 may be a human body cleaning component, a foam shield or a flushing system. The detection module 20 can detect the degree of dirtiness of the cleaning liquid in the main waterway 10 in real time. For example, the detection method of the detection module 20 to detect the degree of dirtiness may be optical detection, conductivity detection, etc., which can accurately measure the degree of dirtiness in the cleaning liquid. The control module 30 may include a single-chip microcomputer, for example, the control module 30 may be the mainboard of the toilet.
[0062] Specifically, the cleaning liquid enters the main waterway 10 through the water inlet A1, the detection module 20 detects the degree of dirtiness of the cleaning liquid in the main waterway 10 in real time, and sends the data of the degree of dirtiness to the control module 30. The control module 30 determines whether the degree of dirtiness of the cleaning liquid meets the cleaning conditions based on the received data of the degree of dirtiness. The cleaning conditions include that the degree of dirtiness of the cleaning liquid in the main waterway 10 does not meet the use requirements, and / or the channel of the main waterway 10 does not meet the detection requirements. In the case where the degree of dirtiness of the cleaning liquid does not meet the use requirements, if the user uses the cleaning liquid for cleaning, it affects the user's health and user experience. In the case where the channel of the main waterway 10 does not meet the detection requirements, the degree of dirtiness data cannot be normally detected by the detection module 20. By controlling the cleaning action of the main waterway when the cleaning conditions are met, for example, when the degree of dirtiness of the cleaning liquid in the main waterway 10 does not meet the use requirements, the cleaning liquid is discharged through the drainage channel 100, so that the dirty cleaning liquid can be discharged in time through the drainage channel 100, avoiding the health hazards caused by the dirty cleaning liquid entering the toilet cleaning module 40 and the user using the cleaning liquid in the toilet cleaning module 40 for cleaning, making cleaning more assured and improving user experience. For another example, when the channel of the main waterway 10 does not meet the detection requirements, by injecting a detergent into the main waterway 10 for descaling, when scale is attached to the pipe wall of the channel of the main waterway 10 and the data of the degree of dirtiness cannot be detected normally, the scale on the pipe wall of the channel of the main waterway 10 can be removed in time by the detergent, ensuring the cleaning of the channel of the main waterway 10, thereby avoiding the situation that the detection module 20 detects inaccurate dirtiness data when the channel of the main waterway 10 does not meet the detection requirements, causing the user to use dirty cleaning liquid for cleaning, making cleaning more assured and improving user experience.
[0063] The control module 30 may be pre-set with a first dirtiness range that meets the use requirements, or a second dirtiness range that does not meet the use requirements. When the control module 30 determines whether the dirtiness of the cleaning liquid meets the use requirements based on the received dirtiness data, it may determine whether the cleaning liquid meets the use requirements based on whether the dirtiness data is within the first dirtiness range or outside the second dirtiness range. For example, if the dirtiness data is within the first dirtiness range or outside the second dirtiness range, it is determined that the cleaning liquid meets the use requirements; if the dirtiness data is outside the first dirtiness range or within the second dirtiness range, it is determined that the cleaning liquid does not meet the use requirements.
[0064] The dirt detection system provided in this embodiment includes a main waterway, a detection module and a control module. The detection module is included in the main waterway, and can detect the dirtiness of the cleaning liquid in the main waterway, and transmit the dirtiness data to the control module. The control module determines whether the cleaning condition is met according to the dirtiness, and controls the cleaning action of the main waterway when the cleaning condition is met. In this way, when the dirtiness of the cleaning liquid in the main waterway does not meet the use requirements, the cleaning liquid can be discharged through the sewage discharge channel, avoiding the health hazards caused by the user using the cleaning liquid in the toilet cleaning module for cleaning. When the channel of the main waterway does not meet the detection requirements, by injecting a detergent into the main waterway for descaling, the scale on the channel wall of the main waterway can be removed in time by the detergent, ensuring the cleaning of the channel of the main waterway, thereby avoiding the situation where the detection module detects inaccurate dirtiness data when the channel of the main waterway does not meet the detection requirements, causing the user to use dirty cleaning liquid for cleaning, making cleaning more assured and improving user experience.
[0065] Optionally, the dirtiness of the main waterway 10 includes the dirtiness of the cleaning liquid in the main waterway 10; the control module 30 is used to control the main waterway 10 to be connected with the drain channel 100 when the dirtiness of the cleaning liquid does not meet the use requirements, so as to discharge the cleaning liquid through the drain channel 100.
[0066] Specifically, a switch valve can be provided at the connection between the sewage channel 100 and the main waterway 10. When the control module 30 determines that the dirtiness of the cleaning liquid does not meet the use requirements, the switch valve at the connection between the sewage channel 100 and the main waterway 10 can be opened to control the main waterway 10 to communicate with the sewage channel 100, so as to discharge the cleaning liquid through the sewage channel 100, so that the cleaning liquid is discharged into the waste liquid collection container. For example, when the dirty cleaning device is applied to a toilet, the cleaning liquid can be discharged into the toilet pot surface. In this way, the cleaning liquid will not reach the toilet cleaning module 40, ensuring the cleanliness of the cleaning liquid in the toilet cleaning module 40, ensuring that the dirty cleaning liquid will not contaminate the toilet cleaning module 40, and preventing the user from using dirty cleaning liquid for cleaning. When the control module 30 determines that the degree of dirtiness of the cleaning liquid meets the usage requirements, it can close the switch valve at the connection between the sewage channel 100 and the main water channel 10 to control the main water channel 10 to be disconnected from the sewage channel 100, so that the cleaning liquid can enter the toilet cleaning module 40 and the user can clean normally.
[0067] Optionally, the control module 30 is specifically configured to control the main waterway 10 to communicate with the drain channel 100 when the dirtiness is greater than a preset threshold, so as to discharge the cleaning liquid through the drain channel 100 .
[0068] The preset threshold value may be less than or equal to the maximum dirtiness value that meets the use requirements. Specifically, the control module 30 maintains real-time communication with the detection module 20, continuously receives data on the dirtiness of the cleaning liquid sent by the detection module 20, and compares the dirtiness data with the preset threshold value. Once it is confirmed that the dirtiness of the cleaning liquid is greater than the preset threshold value, the control module 30 will immediately issue an instruction, which can be used to control the main waterway 10 to communicate with the drainage channel 100, so as to discharge the cleaning liquid through the drainage channel 100.
[0069] Optionally, the control module 10 is specifically used to control the main water channel 10 to stop supplying water to the toilet cleaning module 40 when the dirtiness level is greater than a preset threshold.
[0070] The control module 30 controls the main water path 10 to stop supplying water to the toilet cleaning module 40, which may include but is not limited to the following embodiments. In an optional embodiment, the control module 30 may control the switch valve in the main water path 10 to close, cut off the communication path between the main water path 10 and the toilet cleaning module 40, and realize that the main water path 10 stops supplying water to the toilet cleaning module 40; in another optional embodiment, the control module 30 may control the water inlet end A1 of the main water path 10 to stop supplying water to the toilet cleaning module 40.
[0071] Figure 2is a schematic diagram of a module of another dirt cleaning device provided by an embodiment of the present invention. Figure 3 This is a schematic diagram of the structure of a toilet, optional, reference Figure 2 and Figure 3 , a first valve 50 is provided in the main water circuit 10, an inlet C1 of the first valve 50 is connected to the water inlet end A1 through the detection module 20, a first outlet D1 of the first valve 50 is connected to the water outlet end B1, and the first valve 40 also includes a second outlet E1; the first valve 50 is connected to the control module 30, and the control module 30 is used to control the second outlet E1 to open and the first outlet D1 to close when the dirt level is greater than a preset threshold value, so as to discharge the cleaning liquid from the second outlet E1. Among them, the second outlet E1 can be connected to the sewage discharge channel 100. The dirt cleaning device also includes a water inlet solenoid valve 11, which is connected between the water inlet end A1 of the main water circuit 10 and the detection module 20. When the water inlet solenoid valve 11 is opened, the cleaning liquid at the water inlet end A1 can reach the detection module 20 through the water inlet solenoid valve 11; when the water inlet solenoid valve 11 is closed, the cleaning liquid at the water inlet end A1 cannot pass through the water inlet solenoid valve 11.
[0072] Among them, the first valve 50 is a one-inlet and two-outlet control valve. Optionally, the first valve 50 includes a one-inlet and two-outlet solenoid valve. The first valve 50 is installed in the main water circuit 10. The inlet C1 of the first valve 50 is connected to the detection module 20, and the water in the main water circuit 10 can reach the inlet C1 of the first valve 50 through the water inlet end A1, the water inlet solenoid valve 11 and the detection module 20. The first outlet D1 of the first valve 50 is connected to the water outlet B1. When the cleaning liquid meets the use requirements, the cleaning liquid can be transported to the toilet cleaning module 40 through the first outlet D1. When the cleaning liquid does not meet the use requirements, the dirty cleaning liquid can be discharged through the second outlet E1. The toilet cleaning module 40 is also connected to an instant heating component 60, which is used to heat the cleaning liquid. When the dirt detection system is applied to the toilet, the discharge path of the dirty cleaning liquid is as follows. Figure 3 Indicated by the arrow.
[0073] Specifically, when the degree of contamination of the cleaning liquid is less than or equal to a preset threshold, the control module 30 can control the first outlet D1 of the first valve 50 to remain open, allowing the cleaning liquid to pass normally and be discharged to the water outlet B1, and control the second outlet E1 to be closed and not participate in the transmission of the cleaning liquid; when the control module 30 determines that the detection module 20 detects that the degree of contamination of the cleaning liquid exceeds the preset threshold, the control module 30 immediately sends an instruction to the first valve 50 to close the first outlet D1 and open the second outlet E1 at the same time. The dirty cleaning liquid will be guided to the second outlet E1 for discharge, thereby avoiding contamination of the toilet cleaning module 40.
[0074] Optionally, the control module 30 is also used to control the main water path 10 to stop supplying water to the toilet cleaning module 40 and control the cleaning liquid to be discharged from the sewage channel 100 within a first set time period after the dirtiness level decreases from greater than a preset threshold to less than or equal to the preset threshold; and after the first set time period, control the main water path 10 to supply water to the toilet cleaning module 40 and control the cleaning liquid to stop being discharged from the sewage channel 100.
[0075] The first set time period is a set period of time starting from the moment when the dirtiness level changes from being greater than a preset threshold to being less than or equal to the preset threshold. The length of the first set time period can be adjusted according to actual needs.
[0076] Specifically, when the detection module 20 detects that the degree of contamination of the cleaning liquid decreases from greater than a preset threshold to less than or equal to the preset threshold, within the first set time period when the degree of contamination decreases to less than the preset threshold, the control module 30 keeps the state that the main water channel 10 stops supplying water to the toilet cleaning module 40 when the degree of contamination is greater than the preset threshold, and the control module 30 controls the cleaning liquid to be discharged from the sewage channel 100. After the first set time period ends, the control module 30 controls the main water channel 10 to supply water to the toilet cleaning module 40 again. At this time, the system can resume the normal cleaning process. At the same time, the control module 30 controls the cleaning liquid to stop being discharged from the sewage channel 100, ensuring that all the cleaning liquid flows along the normal path and enters the toilet cleaning module 40 for cleaning. In this way, the cleanliness of the cleaning liquid provided to the toilet cleaning module 40 can be further guaranteed, and the frequent switching of the control valve (such as the first valve mentioned above) caused by the degree of contamination of the cleaning liquid being less than the preset threshold at a certain moment and then exceeding the preset threshold in a short time can be avoided, which is conducive to extending the service life of the control valve.
[0077] Figure 4 Schematic diagram of a detection module and a mounting base of a dirt cleaning device provided by an embodiment of the present invention. Figure 5 yes Figure 4 Exploded diagram of Figure 6 yes Figure 4 Schematic diagram of the cross-section structure obtained by cutting along AA'. Figure 7 yes Figure 6 A partial enlarged view of Figure 7 Can correspond Figure 6 The enlarged image of the area outlined by the circle in the middle. Figure 8 yes Figure 4 Schematic diagram of the cross-section structure obtained by cutting along BB'; optional, refer to Figure 4-Figure 8In an optional embodiment, the detection module includes an optical sensor, which is used to emit incident light to the cleaning liquid in the main waterway, receive reflected light, and determine the degree of dirtiness of the cleaning liquid based on the reflected light. Specifically, the optical sensor can emit incident light to the cleaning liquid in the main waterway, receive reflected light, and determine at least one of the scattering degree, transmission degree, and color of the incident light when passing through the cleaning liquid based on the reflected light to determine the degree of dirtiness of the cleaning liquid.
[0078] In an optional embodiment, the optical sensor may be a turbidity sensor, which is used to emit incident light to the cleaning liquid in the main waterway, receive reflected light, and determine the scattering degree and / or transmission degree of the incident light when passing through the cleaning liquid based on the reflected light, so as to determine the turbidity of the cleaning liquid. The turbidity sensor is a special instrument specifically used to measure the concentration of suspended matter in a liquid, and the turbidity sensor generally includes a light source, a photodetector, and a signal processing unit. The light source may emit light to the cleaning liquid, and when the light passes through the cleaning liquid, it is scattered by the suspended matter in the water, and the reflected light scattered by the suspended matter is received by the photodetector and converted into an electrical signal, and the signal processing unit processes and analyzes the electrical signal to determine the scattering degree and / or transmission degree, thereby obtaining the concentration of the suspended matter.
[0079] In another optional embodiment, the detection module includes a color sensor, which is used to emit incident light to the cleaning liquid in the main water channel, receive reflected light, and determine the degree of dirtiness of the cleaning liquid according to the color of the reflected light.
[0080] The color sensor also emits incident light to the cleaning liquid and captures the color information of the reflected light, and determines the turbidity of the cleaning liquid by detecting the color of the reflected light. The color sensor can also include a light source, a photodetector, and a signal processing unit. The light source can emit light to the cleaning liquid. When the light passes through the cleaning liquid, a portion of it will be reflected. The reflected light is received by the photodetector and converted into an electrical signal. The signal processing unit processes and analyzes the electrical signal to determine the color of the reflected light, and then determines the turbidity of the cleaning liquid. The turbidity of the cleaning liquid is positively correlated with the color depth of the reflected light. The darker the color of the light reflected from the cleaning liquid, the greater the turbidity of the cleaning liquid.
[0081] Optional, reference Figure 4-Figure 8The main water channel includes a mounting seat 21 of the detection module 20, and the mounting seat 21 includes a main body 211. The main body 211 is provided with a connecting hole 2110, and the pipe 11 of the main water channel passes through the connecting hole 2110; along the first direction y, the detection module 20 is arranged on one side of the mounting seat 21, and the first direction y intersects with the extension direction x of the part of the main water channel passing through the connecting hole 2110; the main body 211 between the main water channel and the detection module 20 is transparent at the position corresponding to the detection module 20.
[0082] In some optional embodiments, the first direction y is perpendicular to the extension direction x of the portion of the main water channel passing through the connecting hole 2110 .
[0083] Specifically, the detection module 20 is located on one side of the main body 211, and the main body 211 between the main waterway and the detection module 20 is transparent at a position corresponding to the detection module 20. In the main body 211 of the detection module 20, the pipe 11 of the main waterway is also transparent. The light emitted by the detection module 20 can enter the inside of the pipe 11 through the main body 211 and the pipe 11 of the main waterway, and the reflected light inside the pipe 11 can reach the detection module 20 through the pipe 11 and the main body 211, so that the detection module 20 can determine the degree of dirtiness of the cleaning liquid in the main waterway according to the reflected light. The detection module 20 is connected to the control module, and after determining the degree of dirtiness of the cleaning liquid in the pipe 11 of the main waterway, it can be sent to the control module.
[0084] In some optional embodiments, the main body 211 is made of a transparent material, such as glass, high-transparency plastic, etc., so as to allow light to penetrate and observe the internal situation. A groove is provided on the main body 211, and the detection module 20 is embedded in the groove. The detection module 20 may include the light source, optical detector and signal processing unit of the turbidity sensor and color sensor in the above-mentioned embodiment. In this embodiment, since the detection module 20 is arranged outside the pipe 11 of the main waterway, it is not necessary to improve other modules of the dirt cleaning device, and the external detection of the dirtiness of the main waterway is realized.
[0085] Fig. 9 is a schematic diagram of the structure of another dirt cleaning device provided by an embodiment of the present invention, referring to Fig. 9 Optionally, the dirt cleaning device also includes a detergent supply assembly 80 connected to the main water channel 10, and the connection point between the detergent supply assembly 80 and the main water channel 10 is between the water inlet end A1 and the detection module 20; the dirtiness of the main water channel also includes the dirtiness of the pipe wall of the main water channel; the control module 30 is also used to control the detergent supply assembly 80 to be connected to the main water channel 10 to remove the scale on the pipe wall in the main water channel 10 when it is determined according to the dirtiness of the pipe wall that the channel of the main water channel does not meet the detection requirements, and control the discharge of descaling water; and control the stopping of the delivery of cleaning liquid to the main water channel 10.
[0086] The detergent supply assembly 80 includes a detergent chamber 81 and a liquid pump 82, which is used to supply detergent to the main waterway 10 to remove scale on the pipe wall in the main waterway 10. The detergent in the detergent supply assembly 80 can be an acid solution.
[0087] Optionally, the control module 30 is specifically used to determine that the dirtiness of the pipe wall is too great when no dirtiness data is received, thereby determining that the passage of the main waterway does not meet the detection requirements. For example, if the detection module has no reading due to scale accumulation, it can be determined that the detection is abnormal.
[0088] Specifically, when the control module 30 determines that a detection abnormality occurs based on the monitoring result of the degree of dirtiness, the detergent supply component 80 is controlled to be connected to the main water channel 10. Specifically, the liquid pump 82 can be controlled to introduce the detergent into the main water channel 10 toward the detergent chamber 81, and the scale on the pipe wall is removed by the dissolving ability of the detergent. After the detergent reacts with the scale in the main water channel 10, descaling water containing dissolved scale will be formed. The system controls the first outlet D1 of the first valve 50 to open through the control module 30, and discharges the descaling water through the first valve 50 and the toilet cleaning module 40. At the same time, the instant heating component 60 and the toilet cleaning module 40 can be descaled, and the delivery of the cleaning liquid to the main water channel 10 can be stopped. For example, the delivery of the cleaning liquid to the main water channel 10 can be stopped by closing the water inlet solenoid valve 11. In this way, when the detection module 20 is unable to detect the degree of contamination due to scale adhering to the pipe wall of the main water channel 10, the detergent supply component 80 can be controlled in time to supply acid to the main water channel 10 to remove the scale, so that the detection module 20 can resume normal detection of the degree of contamination of the cleaning liquid.
[0089] Fig.10 This is a schematic diagram of the structure of a toilet, for reference Fig. 9 and Fig.10 , optionally, the dirty cleaning device also includes:
[0090] The main water path 10 further includes a second valve 70, a first inlet C2 of the second valve 70 is connected to the water inlet end A1, a second inlet F1 of the second valve 70 is connected to the detergent supply assembly 80, and an outlet D2 of the second valve 70 is connected to the detection module 20;
[0091] The second valve 70 is connected to the control module 30 . The control module 30 is used to control the first inlet C2 to be closed and the second inlet F1 to be opened when it is determined that a detection abnormality occurs.
[0092] The second valve 70 is a two-inlet and one-outlet control valve. Optionally, the second valve 70 includes a two-inlet and one-outlet solenoid valve. The second valve 70 is installed on the main water circuit 10. The first inlet C2 of the second valve 70 is connected to the water inlet end A1, and the outlet D2 of the second valve 70 is connected to one end of the detection module 20. When the first inlet C2 of the second valve 70 is opened, the water in the main water circuit 10 can reach the outlet D2 of the second valve 70 through the water inlet end A1. The second inlet F1 of the second valve 70 is connected to the detergent supply assembly 80, and when the control module 30 detects abnormal dirt, the second inlet F1 will be controlled to open.
[0093] Specifically, when the first inlet C2 of the second valve 70 is in an open state and the second inlet F1 is in a closed state, the cleaning liquid enters the second valve 70 through the first inlet C2 and flows to the detection module 20 for dirt detection. When the control module 30 cannot receive the dirtiness data, the control module 30 sends an instruction to the second valve 70 to control its first inlet C2 to be closed and the second inlet F1 to be opened, and introduces the detergent. The detergent enters the main water channel 10 through the second inlet F1 of the second valve 70 and flows to the detection module 20 for descaling. After descaling is completed, the control module 30 can switch the state of the second valve 70 again as needed to resume the normal detection process.
[0094] Optionally, the control module 30 is further configured to control the detergent supply assembly 80 to stop supplying detergent to the main waterway 10 and control the delivery of the cleaning liquid to the main waterway 10 after the detergent supply assembly 80 is connected to the main waterway 10 for a second set time period;
[0095] The control module 30 is also used to determine whether descaling is completed according to the degree of dirtiness, and if it is determined that descaling is not completed, control the detergent supply assembly 80 to communicate with the main water channel 10 again to remove the scale on the pipe wall in the main water channel 10, and control the discharge of descaling water; and control the stop of the delivery of the cleaning liquid to the main water channel 10;
[0096] The control module 30 is also used to control the detergent supply assembly 80 to stop supplying detergent to the main waterway 10 and to keep the cleaning liquid being delivered to the main waterway 10 when it is determined that descaling is completed according to the degree of dirtiness.
[0097] The second set time duration refers to the duration of controlling the detergent supply component 80 to supply detergent to the main water channel 10 , and the second set time duration can be adjusted according to actual needs.
[0098] Specifically, after determining that the detection module detects an abnormality, the control module 30 controls the connection between the detergent supply component 80 and the main waterway 10, and switches to the cleaning liquid delivery after reaching the second set time, flushes the descaling water, and the detection module 20 continues to detect the degree of dirtiness of the cleaning liquid. If the control module 30 still cannot receive the data of the degree of dirtiness, it can be determined that the descaling is not completed, and the control module 30 opens the connection between the detergent supply component 80 and the main waterway 10 again, and the detergent begins to flow into the main waterway 10, and the pipe wall is cleaned or descaled again. After reaching the preset second set time, the control module 30 closes the detergent supply component 80 and starts the cleaning liquid supply. The cleaning liquid continues to circulate in the main waterway 10 to neutralize the residual detergent and flush the pipeline; this cycle continues until the control module 30 can detect the data of the degree of dirtiness and determines that the descaling is completed. When it is determined that the descaling is completed, the control keeps the detergent supply component 80 from supplying detergent to the main waterway 10, and keeps the cleaning liquid delivered to the main waterway 10.
[0099] The embodiment of the present invention also provides a toilet waterway cleaning method, wherein the main waterway includes a water inlet and a water outlet, the water inlet is for a cleaning liquid to enter the main waterway, the water outlet is used to connect a toilet cleaning module, and the detection module is included in the main waterway; Fig.11 This is a flow chart of a toilet waterway cleaning method provided by an embodiment of the present invention, referring to Fig.11 , the toilet waterway cleaning method includes:
[0100] S110, determining whether a cleaning condition is met according to the degree of dirtiness detected by the detection module.
[0101] If so, execute S120 to control the cleaning action of the main water channel.
[0102] If not, the main water line can maintain water supply to the toilet cleaning module.
[0103] Among them, the cleaning conditions include that the degree of dirtiness of the cleaning liquid in the main water channel does not meet the use requirements, and / or the channel of the main water channel does not meet the detection requirements; the main water channel is connected to a sewage channel, and the sewage channel is connected to the toilet cleaning module at different positions of the main water channel; the cleaning action includes discharging the cleaning liquid through the sewage channel, and / or, descaling by injecting detergent into the main water channel.
[0104] The toilet water channel cleaning method of this embodiment can be applied to the dirt cleaning device of any of the above embodiments of the present invention, and has the beneficial effects of the dirt cleaning device of any of the above embodiments of the present invention.
[0105] Fig.12 This is a flow chart of a toilet waterway cleaning method provided by an embodiment of the present invention, referring to Fig.12 , the toilet waterway cleaning method includes:
[0106] S210: Determine whether the dirtiness of the cleaning liquid meets the use requirements according to the dirtiness of the cleaning liquid.
[0107] If not, execute S220 to control the main water channel to communicate with the drain channel to discharge the cleaning liquid through the drain channel.
[0108] If so, the water supply from the main water line to the toilet cleaning module can be maintained.
[0109] Optionally, the toilet also includes a detergent supply assembly connected to the main water channel, and the connection point between the detergent supply assembly and the main water channel is between the water inlet end and the detection module; the dirtiness of the main water channel also includes the dirtiness of the pipe wall of the main water channel.
[0110] Fig.13 This is a flow chart of a toilet waterway cleaning method provided by an embodiment of the present invention, referring to Fig.13 , the toilet waterway cleaning method includes:
[0111] S310: Determine whether the channel of the main water channel meets the detection requirements based on the degree of dirtiness of the pipe wall.
[0112] If not, execute S320, control the detergent supply assembly to communicate with the main water channel to remove scale on the pipe wall in the main water channel, control the discharge of descaling water; and control the stopping of the delivery of the cleaning liquid to the main water channel.
[0113] If so, the water supply from the main water line to the toilet cleaning module can be maintained.
[0114] An embodiment of the present invention further provides an electronic device, Fig.14 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention, with reference to Fig.14 The electronic device 70 includes at least one processor 71, and a memory connected to the at least one processor 71, such as a read-only memory (ROM) 72, a random access memory (RAM) 73, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 71 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 72 or the computer program loaded from the storage unit 78 to the random access memory (RAM) 73. In the RAM 73, various programs and data required for the operation of the electronic device 70 can also be stored. The processor 71, the ROM 72, and the RAM 73 are connected to each other via a bus 74. An input / output (I / O) interface 75 is also connected to the bus 74.
[0115] A number of components in the electronic device 70 are connected to the I / O interface 75, including: an input unit 76, such as a keyboard, a mouse, etc.; an output unit 77, such as various types of displays, speakers, etc.; a storage unit 78, such as a disk, an optical disk, etc.; and a communication unit 79, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 79 allows the electronic device 70 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0116] The processor 71 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 71 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 71 executes the various methods and processes described above, such as a toilet waterway cleaning method.
[0117] In some embodiments, the toilet waterway cleaning method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 78. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 70 via the ROM 72 and / or the communication unit 79. When the computer program is loaded into the RAM 73 and executed by the processor 71, one or more steps of the toilet waterway cleaning method described above may be performed. Alternatively, in other embodiments, the processor 71 may be configured to execute the toilet waterway cleaning method in any other appropriate manner (e.g., by means of firmware).
[0118] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0119] Computer programs for implementing 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, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0120] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0121] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0122] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0123] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0124] The present invention also provides a toilet, the structure of which can refer to Figure 3 or Fig.10 The toilet is provided with the dirt cleaning device in any embodiment of the present invention.
[0125] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0126] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A dirt cleaning device, characterized in that: include: Main water circuit, detection module and control module; The main water channel includes a water inlet and a water outlet, the water inlet is for the cleaning liquid to enter the main water channel, the water outlet is used to connect the toilet cleaning module, the detection module is included in the main water channel, and is used to detect the degree of dirtiness of the main water channel; The control module is electrically connected to the detection module, and the control module is used to determine whether a cleaning condition is met according to the degree of dirtiness, and to control a cleaning action of the main water channel when the cleaning condition is met; Wherein, the cleaning condition includes that the dirtiness of the cleaning liquid in the main water channel does not meet the use requirements, and / or the channel of the main water channel does not meet the detection requirements; The main waterway is connected to a sewage channel, and the sewage channel and the toilet cleaning module are connected to different positions of the main waterway; The cleaning action includes draining the cleaning liquid through the drain channel and / or descaling by injecting a cleaning agent into the main waterway.
2. The dirt cleaning device according to claim 1, characterized in that: The dirtiness of the main waterway includes the dirtiness of the cleaning liquid in the main waterway; the control module is used to control the main waterway to be connected with the drain channel when the dirtiness of the cleaning liquid does not meet the use requirements, so as to discharge the cleaning liquid through the drain channel.
3. The dirt cleaning device according to claim 2, characterized in that: The control module is specifically used to control the main waterway to communicate with the drain channel when the dirt level is greater than a preset threshold, so as to discharge the cleaning liquid through the drain channel.
4. The dirt cleaning device according to claim 3, characterized in that: The control module is specifically used to control the main water channel to stop supplying water to the toilet cleaning module when the dirtiness level is greater than a preset threshold.
5. The dirt cleaning device according to claim 3, characterized in that: The control module is also used to control the main water path to stop supplying water to the toilet cleaning module and control the cleaning liquid to be discharged from the sewage channel within a first set time period after the dirtiness level decreases from greater than the preset threshold to less than or equal to the preset threshold; and after the first set time period, control the main water path to supply water to the toilet cleaning module and control the cleaning liquid to stop being discharged from the sewage channel.
6. The dirt cleaning device according to claim 1, characterized in that: The detection module includes an optical sensor, which is used to emit incident light to the cleaning liquid in the main water channel, receive reflected light, and determine the degree of dirtiness of the cleaning liquid based on the reflected light.
7. The dirt cleaning device according to any one of claims 1 to 6, characterized in that: The main water channel includes a mounting seat for the detection module, the mounting seat includes a main body, the main body is provided with a connecting hole, and the pipeline of the main water channel passes through the connecting hole; The detection module is arranged on one side of the mounting seat along a first direction, and the first direction intersects with an extension direction of a portion of the main waterway passing through the connecting hole; The main body between the main water channel and the detection module is transparent at a position corresponding to the detection module.
8. The dirt cleaning device according to any one of claims 1 to 6, characterized in that: It also includes a detergent supply assembly connected to the main water channel, wherein the connection point between the detergent supply assembly and the main water channel is between the water inlet end and the detection module; the dirtiness of the main water channel also includes the dirtiness of the pipe wall of the main water channel; The control module is also used to control the detergent supply assembly to communicate with the main water channel to remove scale from the tube wall in the main water channel when it is determined that the channel of the main water channel does not meet the detection requirements according to the degree of dirtiness of the tube wall, and control the discharge of descaling water; And control to stop the delivery of the cleaning liquid to the main water channel.
9. The dirt cleaning device according to claim 8, characterized in that The control module is specifically used to determine that the channel of the main waterway does not meet the detection requirements when the data of the degree of dirtiness is not received; and / or, The control module is also used to control the detergent supply assembly to stop supplying detergent to the main water channel after the detergent supply assembly is connected to the main water channel for a second set time, and to control the cleaning liquid to be transported to the main water channel; The control module is also used to determine whether descaling is completed according to the degree of dirtiness, and if it is determined that descaling is not completed, control the detergent supply assembly to communicate with the main water channel again to remove scale on the pipe wall in the main water channel, and control the discharge of descaling water; and controlling to stop the delivery of the cleaning liquid to the main waterway; The control module is also used to control the detergent supply component to stop supplying detergent to the main water channel and to keep the cleaning liquid being transported to the main water channel when it is determined that descaling is completed according to the degree of dirtiness.
10. A toilet waterway cleaning method, characterized in that: The cleaning method comprises: Determining whether a cleaning condition is met according to the degree of dirtiness detected by the detection module, and controlling a cleaning action of the main water channel when the cleaning condition is met; Wherein, the main water channel includes a water inlet and a water outlet, the water inlet is for the cleaning liquid to enter the main water channel, the water outlet is used to connect the toilet cleaning module, and the detection module is included in the main water channel; The cleaning condition includes that the dirtiness of the cleaning liquid in the main water channel does not meet the use requirements, and / or the channel of the main water channel does not meet the detection requirements; The main waterway is connected to a sewage channel, and the sewage channel and the toilet cleaning module are connected to different positions of the main waterway; the cleaning action includes discharging the cleaning liquid through the sewage channel, and / or descaling by injecting a cleaning agent into the main waterway.
11. The toilet waterway cleaning method according to claim 10, characterized in that: The dirtiness of the main water channel includes the dirtiness of the cleaning liquid in the main water channel; determining whether a cleaning condition is met according to the dirtiness detected by the detection module, and controlling the cleaning action of the main water channel when the cleaning condition is met, includes: Determine whether the degree of contamination of the cleaning liquid meets the use requirements according to the degree of contamination of the cleaning liquid, and control the main waterway to be connected to the drain channel when the degree of contamination of the cleaning liquid does not meet the use requirements, so as to discharge the cleaning liquid through the drain channel.
12. The toilet waterway cleaning method according to claim 10, characterized in that: The toilet further comprises a detergent supply assembly connected to the main water channel, wherein the connection point between the detergent supply assembly and the main water channel is between the water inlet end and the detection module; the dirtiness of the main water channel further comprises the dirtiness of the pipe wall of the main water channel; The determining whether a cleaning condition is met according to the degree of dirtiness detected by the detection module, and controlling the cleaning action of the main water channel when the cleaning condition is met, comprises: When it is determined that the passage of the main water channel does not meet the detection requirements according to the degree of dirtiness of the tube wall, the detergent supply assembly is controlled to communicate with the main water channel to remove scale from the tube wall in the main water channel, and the descaling water is controlled to be discharged; And control to stop the delivery of the cleaning liquid to the main water channel.
13. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can perform the toilet water channel cleaning method according to any one of claims 9 to 12.
14. A toilet, characterized in that: The toilet comprises the cleaning device according to any one of claims 1-9.