Cleaning apparatus, method, device, computer device and readable storage medium

By installing a light detection component on the housing of the cleaning equipment, the shape and volume of the object are detected by light emitting and receiving units, and the water intake is controlled. This solves the problem that traditional cleaning equipment cannot accurately inject water, and achieves water-saving, energy-saving and efficient cleaning.

CN122250890APending Publication Date: 2026-06-23GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
GREE ELECTRIC APPLIANCE INC OF ZHUHAI
Filing Date
2026-05-25
Publication Date
2026-06-23

AI Technical Summary

Technical Problem

Traditional cleaning equipment cannot accurately sense the actual space occupied by objects inside the cleaning chamber, resulting in the inability to intelligently match the water volume, leading to water waste, increased energy consumption, or poor cleaning results.

Method used

A light detection component is installed on the side wall and end of the housing of the cleaning equipment. The object is detected by the light emitting unit and the light receiving unit. The control unit determines the estimated shape and volume of the object based on the photoresistor value, and then controls the water inlet unit to inject the corresponding volume of clean water and discharges the sewage through the drainage unit, thereby realizing closed-loop control of water volume.

Benefits of technology

It achieves non-contact, high-precision detection of the volume of objects inside the cleaning chamber, ensuring that the injected water volume is precisely matched with the cleaning requirements, avoiding water waste and increased energy consumption, while improving the cleaning effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122250890A_ABST
    Figure CN122250890A_ABST
Patent Text Reader

Abstract

This application relates to a cleaning device, method, apparatus, computer equipment, and readable storage medium, including a housing, a water inlet unit, a drainage unit, and a control unit. Corresponding light detection components are respectively provided on the side walls and ends of the housing. Each light emitting unit is used to sequentially emit detection light rays towards an object placed in the cleaning chamber. Each light receiving unit is used to receive the detection light rays emitted by the light emitting units in the same light detection component and output corresponding detection information based on the light intensity of the received light. The control unit is used to acquire each detection information and determine the estimated volume of the object based on the detection information. The water inlet unit is controlled to inject a corresponding volume of clean water into the cleaning chamber according to the estimated volume to clean the object. The volume of clean water is positively correlated with the estimated volume. The drainage unit is used to discharge the wastewater after cleaning. This method can improve the cleaning effect.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of smart home appliance technology, and in particular to a cleaning device, method, apparatus, computer equipment, and readable storage medium. Background Technology

[0002] With the improvement of people's living standards and the increasing demand for convenient living in modern families, automatic cleaning equipment has been widely used, effectively replacing manual cleaning and significantly reducing the burden of housework for users. Most general cleaning equipment adopts a fixed water volume cleaning mode, that is, regardless of the size and number of objects put into the cleaning chamber, a preset fixed volume of clean water is injected for cleaning.

[0003] However, traditional cleaning equipment has significant drawbacks: when the object is small, injecting too much water not only wastes water resources but also increases energy consumption for subsequent heating and drainage; conversely, when the object is large, the fixed water volume may not be sufficient to completely submerge it, resulting in poor cleaning performance. Furthermore, while some cleaning equipment includes water level detection, it can only roughly determine the presence of water and cannot accurately sense the actual space occupied by the object within the cleaning chamber. Therefore, it cannot intelligently adjust the optimal water injection volume, making it difficult to achieve a good balance between water and energy conservation and cleaning effectiveness. Consequently, using traditional cleaning equipment results in ineffective cleaning. Summary of the Invention

[0004] Therefore, it is necessary to provide a cleaning device, method, apparatus, computer equipment, and readable storage medium that can improve the cleaning effect in response to the above-mentioned technical problems.

[0005] In a first aspect, this application provides a cleaning device, comprising:

[0006] It includes a housing, a water inlet unit, a water outlet unit, and a control unit; the side walls and ends of the housing are respectively provided with corresponding light detection components; the light emitting unit and the light receiving unit in each set of light detection components are arranged opposite to each other on both sides of the cleaning chamber formed by the housing;

[0007] Each of the light emitting units is used to sequentially emit probe light towards the object when the object is placed in the cleaning chamber;

[0008] Each of the aforementioned optical receiving units is used to receive the detection light emitted by the optical emitting unit in the same optical detection assembly, and output corresponding detection information according to the light intensity of the received light.

[0009] The control unit is used to determine the estimated shape of the object based on the values ​​of each photoresistor.

[0010] Based on the estimated shape, determine the method for determining the volume of the object;

[0011] The estimated volume of the object is determined by numerically analyzing the values ​​of each photoresistor according to the volume determination method described above.

[0012] The water inlet unit injects a corresponding volume of clean water into the cleaning chamber according to the estimated volume to clean the object; the volume of the clean water is positively correlated with the estimated volume.

[0013] The drainage unit is used to discharge the wastewater after cleaning.

[0014] In one embodiment, the control unit is specifically used for:

[0015] In the case where the estimated shape is a regular object, the photoresistor value that meets the resistance condition is determined as the target photoresistor value.

[0016] Determine the target photoresistor to which each of the aforementioned target photoresistor values ​​belongs;

[0017] The volume characteristic value of the object is determined according to the resistance position of each target photoresistor.

[0018] The estimated volume of the object is determined by combining the characteristic values ​​calculated from each volume.

[0019] In one embodiment, there are multiple sidewalls; and in each sidewall, multiple layers of photoresistors are disposed from top to bottom;

[0020] The control unit is specifically used to: determine the horizontal photoresistance value of the photoresistor in each horizontal layer when the estimated shape is an irregular object;

[0021] Based on the horizontal photoresistance value, determine the horizontal area of ​​the object corresponding to the horizontal layer;

[0022] The area of ​​the end of the object is determined based on the photoresistance value at the end.

[0023] The estimated volume of each object is determined by combining its horizontal area and its end area.

[0024] In one embodiment, the control unit is further configured to:

[0025] Get the volume of the object input by the user;

[0026] The water inlet unit injects a corresponding volume of clean water into the cleaning chamber according to the volume of the object, in order to clean the object.

[0027] Secondly, this application also provides a cleaning method, applied to the control unit in any of the above embodiments, comprising:

[0028] The photoresistor values ​​output by each of the light receiving units are obtained to determine the estimated shape of the object;

[0029] Based on the estimated shape, determine the method for determining the volume of the object;

[0030] The estimated volume of the object is determined by numerically analyzing the values ​​of each photoresistor according to the volume determination method described above.

[0031] The water inlet unit injects a corresponding volume of clean water into the cleaning chamber according to the estimated volume to clean the object; the volume of the clean water is positively correlated with the estimated volume.

[0032] In one embodiment, the step of performing numerical analysis on each of the photoresistor values ​​according to the volume determination method to determine the estimated volume of the object includes:

[0033] In the case where the estimated shape is a regular object, the photoresistor value that meets the resistance condition is determined as the target photoresistor value.

[0034] Determine the target photoresistor to which each of the aforementioned target photoresistor values ​​belongs;

[0035] The volume characteristic value of the object is determined according to the resistance position of each target photoresistor.

[0036] The estimated volume of the object is determined by combining the characteristic values ​​calculated from each volume.

[0037] In one embodiment, there are multiple sidewalls; and in each sidewall, multiple layers of photoresistors are disposed from top to bottom;

[0038] The step of performing numerical analysis on each of the photoresistor values ​​according to the volume determination method to determine the estimated volume of the object includes:

[0039] In the case where the estimated shape is an irregular object, the horizontal photoresistance value of the photoresistor in the horizontal layer is determined for each horizontal layer;

[0040] Based on the horizontal photoresistance value, determine the horizontal area of ​​the object corresponding to the horizontal layer;

[0041] The area of ​​the end of the object is determined based on the photoresistance value at the end.

[0042] The estimated volume of each object is determined by combining its horizontal area and its end area.

[0043] In one embodiment, the method further includes:

[0044] Get the volume of the object input by the user;

[0045] The water inlet unit injects a corresponding volume of clean water into the cleaning chamber according to the volume of the object, in order to clean the object.

[0046] Thirdly, this application also provides a cleaning apparatus, comprising:

[0047] The estimated volume determination module is used to acquire the detection information output by each optical receiving unit and determine the estimated volume of the object based on the detection information.

[0048] The water injection module is used to control the water inlet unit to inject a corresponding volume of clean water into the cleaning chamber according to the estimated volume, so as to clean the object; the volume of the clean water is positively correlated with the estimated volume.

[0049] Fourthly, this application also provides a computer device. The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the steps of the method described above.

[0050] Fifthly, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, implements the steps of the method described above.

[0051] Sixthly, this application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, implements the steps of the method described above.

[0052] The aforementioned cleaning equipment, method, apparatus, computer equipment, and readable storage medium, by respectively arranging light detection components on the side walls and ends of the housing, with the light emitting unit and light receiving unit in each group of light detection components arranged opposite each other on both sides of the cleaning chamber, can, after an object is placed in the cleaning chamber, sequentially emit detection light towards the object and have the light receiving unit receive changes in light intensity, thereby accurately sensing the object's occlusion of light and achieving non-contact, high-precision detection of the object's volume within the cleaning chamber. The control unit determines the estimated volume of the object based on the detection information and controls the water inlet unit accordingly to inject clean water that is positively correlated with the estimated volume, ensuring that the injected water volume precisely matches the actual cleaning needs. This avoids both water waste and increased energy consumption due to excessive water volume, and incomplete cleaning due to insufficient water volume. Simultaneously, the drainage unit promptly discharges wastewater after cleaning, and together with intelligent water injection, achieves closed-loop water volume control throughout the cleaning process, significantly improving the overall cleaning effect of the cleaning equipment. Attached Figure Description

[0053] To more clearly illustrate the technical solutions in the embodiments of this application or related technologies, the drawings used in the description of the embodiments of this application or related technologies will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0054] Figure 1 This is a structural block diagram of the cleaning equipment in one embodiment;

[0055] Figure 2 This is a structural block diagram of the cleaning equipment in another embodiment;

[0056] Figure 3 This is a circuit diagram of the cleaning device in one embodiment;

[0057] Figure 4 This is a flowchart illustrating a cleaning method in one embodiment;

[0058] Figure 5 This is a flowchart illustrating the steps for determining the estimated volume of an object in one embodiment;

[0059] Figure 6 This is a flowchart illustrating the steps for determining the estimated volume of a regular object in one embodiment.

[0060] Figure 7 This is a flowchart illustrating the steps for determining the estimated volume of an irregular object in one embodiment.

[0061] Figure 8 This is a flowchart illustrating the steps for determining the volume of an object in one embodiment;

[0062] Figure 9 This is a flowchart illustrating the cleaning method in another embodiment;

[0063] Figure 10 This is a structural block diagram of the cleaning device in one embodiment;

[0064] Figure 11 This is an internal structural diagram of a computer device in one embodiment.

[0065] Reference numerals: Housing-10; Water inlet unit-20; Drainage unit-30; Light emitting unit-41; Light receiving unit-42. Detailed Implementation

[0066] To facilitate understanding of this application, a more complete description will be provided below with reference to the accompanying drawings, which illustrate embodiments of the present application. However, the present application can be implemented in many different forms and is not limited to the embodiments described herein. Rather, these embodiments are provided so that the disclosure of this application will be thorough and complete.

[0067] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application.

[0068] It should be noted that when one element is considered to be "connected" to another element, it can be directly connected to the other element or connected to the other element through an intermediary element. Furthermore, in the following embodiments, "connection" should be understood as "electrical connection," "communication connection," etc., if there is transmission of electrical signals or data between the connected objects.

[0069] When used herein, the singular forms of “a,” “an,” and “ / the” may also include the plural forms unless the context clearly indicates otherwise. It should also be understood that the terms “comprising / including” or “having,” etc., specify the presence of the stated features, wholes, steps, operations, components, parts, or combinations thereof, but do not preclude the possibility of the presence or addition of one or more other features, wholes, steps, operations, components, parts, or combinations thereof. Meanwhile, the term “and / or” as used in this specification includes any and all combinations of the associated listed items.

[0070] As mentioned in the background section, with the improvement of people's living standards and the increasing demand for convenient living in modern families, automatic cleaning equipment has been widely used, effectively replacing manual cleaning and significantly reducing users' housework burden. Most general cleaning equipment adopts a fixed water volume cleaning mode, that is, regardless of the size and number of objects put into the cleaning chamber, a preset fixed volume of clean water is injected for cleaning.

[0071] However, traditional cleaning equipment has significant drawbacks: when the object is small, injecting too much water not only wastes water resources but also increases energy consumption for subsequent heating and drainage; conversely, when the object is large, the fixed water volume may not be sufficient to completely submerge it, resulting in poor cleaning performance. Furthermore, while some cleaning equipment includes water level detection, it can only roughly determine the presence of water and cannot accurately sense the actual space occupied by the object within the cleaning chamber. Therefore, it cannot intelligently adjust the optimal water injection volume, making it difficult to achieve a good balance between water and energy conservation and cleaning effectiveness. Consequently, using traditional cleaning equipment results in ineffective cleaning.

[0072] Based on this, such as Figure 1 As shown, this application proposes a cleaning device, including a housing 10, a water inlet unit 20, a drainage unit 30, and a control unit (not shown in the figure); the side walls and ends of the housing 10 are respectively provided with corresponding light detection components; the light emitting unit 41 and the light receiving unit 42 in each group of light detection components are arranged opposite to each other on both sides of the cleaning cavity formed by the housing 10; each light emitting unit 41 is used to emit detection light rays to the object in sequence when an object is placed in the cleaning cavity; each light receiving unit 42 is used to receive the detection light rays emitted by the light emitting unit 41 in the same light detection component, and output corresponding detection information according to the light intensity of the received light rays; the control unit is used to acquire each detection information and determine the estimated volume of the object based on each detection information; the water inlet unit 20 is controlled to inject a corresponding volume of clean water into the cleaning cavity according to the estimated volume to clean the object; the volume of clean water is positively correlated with the estimated volume; the drainage unit 30 is used to discharge the wastewater after cleaning.

[0073] The housing 10 is the outer frame structure of the entire cleaning equipment, essentially a box with a hollow interior forming a space for storing items; this space is the cleaning chamber. The housing 10 has side walls (front, back, left, and right walls) and ends (top or bottom) to enclose the cleaning chamber and prevent water leakage. The housing 10 is typically made of water-resistant, corrosion-resistant plastic or stainless steel. The cleaning chamber is the hollow part inside the housing, used to hold items to be cleaned (such as bowls, plates, vegetables, fruits, small items of clothing, etc.). All cleaning processes are completed within this chamber. The water inlet unit 20 is responsible for injecting water into the cleaning chamber. It is generally connected to an external water source (such as a water inlet pipe) and is opened or closed under the command of the control unit to inject clean water into the cleaning chamber. The amount of water injected, when to inject, and when to stop are all determined by the control unit. The drainage unit 30 is responsible for draining dirty water from the cleaning chamber and is generally connected to a drain pipe or drain outlet. After cleaning, the control unit opens the drainage unit 30 to drain the used wastewater, emptying the cleaning chamber and allowing the cleaned object to be removed. The control unit, for example, can be a circuit board or chip containing a program. It receives detection information from each light receiving unit 42, calculates the estimated volume of the object, controls the water inlet unit 20 to inject the corresponding amount of water based on this volume, and finally controls the drainage unit 30 to drain the wastewater. The entire cleaning process, from detection to water injection to drainage, is managed by this control unit. The light detection components are paired parts, each containing a light emitting unit 41 and a light receiving unit 42. These light detection components are mounted on the side walls and ends of the housing 10. In other words, light detection components are installed on the four walls and top or ends of the cleaning chamber, allowing for detection of the object inside the chamber from multiple directions. Figure 1 As shown, the end of the housing includes a set of light emitting units 41 and light receiving units 42, and the sidewall of the housing also includes a set of light emitting units 41 and light receiving units 42. The light emitting unit 41 is the component in the light detection assembly responsible for "emitting light," typically a lamp or laser emitter. Its function is to emit detection light towards the opposite side of the cleaning chamber, and this light will pass through the cleaning chamber. When there is nothing in the cleaning chamber, the light can pass smoothly to the other side; when an object is placed inside, the light will be partially blocked by the object, reducing the amount of light reaching the other side. Each light emitting unit 41 emits detection light sequentially, not simultaneously, allowing for detection in one direction at a time. The light receiving unit 42 is the component in the light detection assembly responsible for "receiving light," typically a photosensitive sensor (such as a photodiode). It is positioned opposite the light emitting units 41 in the same group, meaning one emits on one side and the other receives on the other. It receives the detection light emitted from the opposite light emitting unit 41 and then determines whether there is an object blocking the light and by how much based on the intensity of the received light. The stronger the received light, the less light is blocked; the weaker the received light, the more light is blocked. It converts this light intensity into an electrical signal and outputs it as detection information to the control unit.

[0074] The detection information is the signal output by the light receiving unit 42, which reflects the intensity of the received detection light. Strong light means the light is almost unobstructed, indicating a small space occupied by the object in that direction within the cavity; weak light means the light is significantly blocked, indicating a large space occupied by the object in that direction within the cavity. The control unit collects the detection information from the light receiving units 42 in all directions and comprehensively judges how much space the object occupies in the cleaning cavity, thus calculating the object's estimated volume. The estimated volume is a value calculated by the control unit based on the detection information from all directions, representing approximately the size of the object placed in the cleaning cavity. This volume is not necessarily exactly equal to the object's actual volume, but it is sufficient to determine how much water to add. For example, if the calculated estimated volume is large, more water is added; if the calculated estimated volume is small, less water is added. Clean water is injected into the cleaning cavity from the water inlet unit 20 to clean the object. The volume of clean water is not arbitrarily determined, but rather based on an estimated volume. The larger the estimated volume, the larger the volume of clean water injected; the two are positively correlated. That is, the larger the object, the more water is injected, and the smaller the object, the less water is injected, but not to the point of waste. Wastewater is the dirty and turbid water remaining in the cleaning chamber after the object has been cleaned. It needs to be discharged through the drainage unit 30 and cannot remain in the chamber.

[0075] Specifically, after the user places the object to be cleaned into the cleaning chamber, the entire device begins to operate automatically. First, each light emitting unit 41 emits a detection beam towards the object in turn. This is understandable; to avoid the light emitted by other light emitting units 41 affecting the light intensity received by the light receiving unit 42 in this group of light detection components, they need to emit one after another in turn. The advantage of this is that each group of light detection components can complete a detection independently, preventing multiple beams from passing through the cleaning chamber simultaneously, interfering with each other, and causing the light receiving unit 42 to be unable to distinguish which beam it is receiving. After each detection beam is emitted from the light emitting unit 41, it traverses the entire cleaning chamber and heads towards the light receiving unit 42 on the opposite side. When there is nothing in the cleaning chamber, the light can pass through unimpeded, and the light receiving unit 42 on the opposite side receives a strong beam of light. However, when an object is placed in the cleaning chamber, the object blocks the path of the light, obstructing some or even most of the light. This weakens the light received by the light receiving unit 42 on the opposite side, sometimes to the point of almost no light being received. After receiving the detection light beam from the opposite light emitting unit 41, each light receiving unit 42 senses the intensity of the light beam and outputs corresponding detection information based on the intensity. This detection information is essentially an electrical signal; the stronger the light, the less it is blocked; the weaker the light, the more it is blocked. Each set of light detection components outputs such detection information. Multiple sets of light detection components are mounted on the sidewalls and ends of the housing 10, such as... Figure 2As shown in the diagram, two sets of light emitting units 41 and light receiving units 42 are provided at the end of the housing, and two sets of light emitting units 41 and light receiving units 42 are provided on the side wall of the housing. This means that multiple sets of light detection components will simultaneously detect from several directions (up, down, front, back, left, right) of the cleaning chamber, obtaining one detection message from each direction. All of this detection information is sent to the control unit. After receiving the detection information from all directions, the control unit begins calculations. It analyzes the meaning of each detection message: which direction blocks more information indicates that the object is thicker and occupies more space in that direction; which direction blocks less information indicates that the object is thinner and occupies less space in that direction. After combining the data from all directions, the control unit can roughly estimate the total space occupied by the object placed in the cleaning chamber, obtaining an estimated volume. This estimated volume is used to determine how much water should be injected into the cleaning chamber. After calculating the estimated volume, the control unit instructs the water inlet unit 20 to operate. The control unit tells the water inlet unit 20 how much volume of clean water should be injected into the cleaning chamber based on the estimated volume. Upon receiving the command, the water inlet unit 20 opens, allowing clean water to flow into the cleaning chamber. The volume of clean water is positively correlated with the estimated volume; that is, if the estimated volume is large, more water is added, and if the estimated volume is small, less water is added. The amount of water added is not a fixed value but is dynamically adjusted based on the actual size of the object placed inside, ensuring just the right amount. After the clean water enters, it begins to clean the object, rinsing and soaking away dirt from its surface. After the cleaning process is complete, the control unit then instructs the drainage unit 30 to operate. The control unit sends a drainage command to the drainage unit 30, which opens upon receiving the command, allowing the dirty wastewater in the cleaning chamber to flow out through the drainage unit 30 and into the drain pipe or outlet outside the equipment. Once the wastewater is drained, the cleaning chamber is empty, and the user can remove the cleaned object, completing the entire cleaning process. The entire process is as follows: "First, place the object; then, use light to detect the obstruction in all directions; then, calculate the approximate size of the object; then, add the corresponding amount of water according to the size to wash it; finally, drain the dirty water." The entire process is automatically scheduled by the control unit, and the user does not need to manually adjust the water volume.

[0076] For example, such as Figure 2The diagram shown is a structural diagram of a cleaning device according to a specific embodiment. The housing 10 of the cleaning device forms a sealable cleaning chamber. Corresponding light detection components are respectively provided on the side walls and ends of the housing 10. The light emitting unit 41 and the light receiving unit 42 in each set of light detection components are arranged opposite to each other on both sides of the cleaning chamber formed by the housing 10. The housing 10 contains a water inlet unit 20, a drainage unit 30, and a control unit. The bottom of the cleaning device is designed with a slightly inclined arc structure to ensure that objects naturally adhere to the bottom due to gravity during the cleaning process, avoiding displacement or rolling caused by placement or water flow impact, thus providing a stable reference for volume estimation. The circuit diagram required to implement the cleaning method in this embodiment is shown below. Figure 3 As shown.

[0077] For example, this device is equipped with an embedded SQLite database, which pre-contains category information and volume-water mapping information for 50 common objects, providing users with two water control modes: fully automatic and custom.

[0078] Taking fruits and vegetables as an example, in fully automatic mode, the user places the fruits and vegetables into the cleaning chamber, closes the lid, triggers the start signal, and the system enters the cleaning preparation stage. The light emitting unit 41 is activated, emitting probe light into the chamber; the resistance values ​​of multiple photoresistors change with the light intensity. The control unit controls the conduction states of Q2 (bottom channel switch) and Q3 (side channel switch) to achieve independent switching and signal reading of each photoresistor sampling channel. It can be understood that when the cleaning equipment starts, it automatically calibrates the ambient light reference value (the average resistance value of R1-R6 in the absence of fruits and vegetables). Subsequent resistance changes are processed by a fusion algorithm: volume estimation uses a weighted model to accurately identify the size and placement (stacked / laid) of the fruits and vegetables. The system then queries the volume-water mapping data table and injects water in real time.

[0079] In custom mode, users can select the types and quantities of fruits and vegetables. The control unit queries the average volume range, water consumption range (e.g., 0.3-0.5L for leafy vegetables, 0.6-0.8L for root vegetables), and cleaning mode parameters based on the type and quantity of fruits and vegetables. Through dynamic matching, it generates cleaning parameters in real time (including water consumption range, cleaning time, and spray intensity) and executes the cleaning process. During the cleaning execution phase, the inlet valve injects the dynamically generated water volume. Both modes can operate independently, and the entire process requires no cloud interaction, resulting in low power consumption for the MCU (Microcontroller Unit).

[0080] The aforementioned cleaning equipment, by installing light detection components on the side walls and ends of the housing, with the light emitting unit and light receiving unit in each group of light detection components positioned opposite each other on both sides of the cleaning chamber, can sequentially emit detection light towards an object after it is placed in the cleaning chamber, and the light receiving unit receives changes in light intensity, thereby accurately sensing the object's obstruction of light and achieving non-contact, high-precision detection of the object's volume within the cleaning chamber. The control unit determines the estimated volume of the object based on the detection information and controls the water inlet unit to inject clean water that is positively correlated with the estimated volume, ensuring that the injected water volume precisely matches the actual cleaning needs. This avoids both water waste and increased energy consumption due to excessive water volume, and incomplete cleaning due to insufficient water volume. Simultaneously, the drainage unit promptly discharges wastewater after cleaning, and together with intelligent water injection, achieves closed-loop water volume control throughout the entire cleaning process, significantly improving the overall cleaning effect of the equipment.

[0081] In one embodiment, the light receiving unit includes a photoresistor; the detection information includes photoresistor values; the control unit is specifically configured to: determine the estimated shape of the object based on each photoresistor value; determine the volume determination method of the object based on the estimated shape; and perform numerical analysis on each photoresistor value according to the volume determination method to determine the estimated volume of the object.

[0082] A photoresistor is a special electronic component whose resistance changes with the intensity of light shining on it. The stronger the light, the lower the resistance; the weaker the light (or the light being completely blocked by an object), the higher the resistance. By measuring its resistance, the degree of obstruction can be determined. Detection information is data generated and output by the light receiving unit during operation. In this embodiment, this information specifically refers to the current resistance value of the photoresistor. The control unit relies on reading these resistance values ​​to perceive the presence and shape of objects. The estimated shape is a preliminary judgment of the object's geometric shape made by the control unit based on the distribution pattern of all the read photoresistor values. For example, if the resistance value changes relatively uniformly and symmetrically in all directions, it may be judged as a regular shape such as a sphere or cube; if the changes are chaotic, it is judged as an irregular shape. The volume determination method is the different volume calculation methods used for different estimated shapes. Regular and irregular objects have different geometric characteristics, and their volumes cannot be calculated using the same formula; therefore, a corresponding calculation strategy needs to be selected based on the estimated shape. Numerical analysis is a process of performing a series of mathematical operations on the values ​​of a photoresistor, such as calculating averages, comparing magnitudes, performing addition, subtraction, multiplication, and division, or performing integration calculations. The goal is to extract effective numerical values ​​that reflect the volume of an object from the raw resistance data.

[0083] Specifically, this embodiment describes the basic process by which the control unit determines the estimated volume of an object. First, the control unit acquires detection information from all light-receiving units; this information consists of the current resistance values ​​of each photoresistor. Since the resistance of a photoresistor changes with light intensity, the resistance of photoresistors blocked by the object will significantly increase after the object is placed in the cleaning chamber. After reading all these resistance values, the control unit determines the estimated shape of the object based on the overall distribution pattern of the resistance values. For example, it considers whether the resistance values ​​exhibit central or axial symmetry, or the shape formed by photoresistors with higher resistance values. Next, the control unit determines which volume determination method to use based on the previously determined estimated shape, as the volume calculation methods for regular and irregular objects are completely different and cannot be mixed. Finally, the control unit performs a systematic numerical analysis of all photoresistor values ​​according to the determined volume determination method. For example, it extracts feature dimensions based on the symmetry of regular shapes, or performs layered accumulation for irregular shapes, thereby ultimately calculating the estimated volume of the object.

[0084] In this embodiment, by first determining the shape and then selecting the calculation method, the same set of equipment can handle both regular and irregular objects. Users do not need to manually select the mode or know the specific shape of the object. The equipment automatically completes the judgment and calculation, which improves the intelligence level of the cleaning process and also ensures that the subsequent water injection volume matches the actual size of the object.

[0085] In one embodiment, the control unit is specifically configured to: determine the photoresistor values ​​that meet the resistance conditions among the photoresistor values ​​when the estimated shape is a regular object; determine the target photoresistor to which each target photoresistor value belongs; determine the volume calculation feature value of the object according to the resistance position of each target photoresistor; and determine the estimated volume of the object by combining the volume calculation feature values.

[0086] Regular objects are those with symmetrical and uniform geometric shapes, such as spheres, cubes, cuboids, cylinders, and cones. The volume of such objects can usually be calculated by measuring one or more characteristic dimensions (such as diameter, length, width, and height) and using a fixed geometric formula. Resistance conditions are the criteria used to select valid values ​​from numerous photoresistor values. For example, a specific resistance threshold can be set; only resistance values ​​greater than this threshold are considered to be completely blocked by the object, and only such resistance values ​​are included in subsequent calculations. Target photoresistor values ​​are those resistance values ​​that meet the resistance conditions among all photoresistor values. These values ​​represent the measurement results of photoresistors effectively blocked by the object. Target photoresistor is the specific photoresistor element whose resistance value is determined to be the target photoresistor value. Each target photoresistor is installed in a fixed physical location. The resistance location is the specific installation coordinate of each photoresistor on the sidewall of the cleaning chamber. This location information is known and typically includes height coordinates (vertical position) and horizontal angular coordinates (circumferential position). The control unit can determine the height and orientation of the resistor within the cavity based on its position. Volume calculation characteristic values ​​are key geometric parameters extracted from the resistance positions of the target photoresistor and used to input into the volume formula. For example, the height of an object can be calculated based on the resistances at the highest and lowest obstructed positions; the width or diameter of an object can be calculated based on two horizontally opposite obstructed resistors.

[0087] Specifically, this embodiment details how the control unit calculates the volume when the estimated shape is a regular object. First, the control unit filters all photoresistor values ​​according to preset resistance conditions, identifying those that meet the conditions as target photoresistor values. This resistance condition is typically set to a high threshold; only resistance values ​​with sufficiently large resistance, indicating that the corresponding position is adequately obscured by the object, are selected. Then, the control unit reverses the process for each target photoresistor value, identifying which specific target photoresistor it belongs to—that is, finding the physical components of these resistors within the cavity. Next, the control unit queries the pre-stored resistor position coordinates for each target photoresistor and determines the object's volume calculation characteristic values ​​based on the distribution range of these coordinates. For example, it finds the highest and lowest positions among all target photoresistors and subtracts them to obtain the object's height; then it identifies the positions of two horizontally opposite target photoresistors and calculates their width or diameter. Finally, the control unit substitutes these volume calculation characteristic values ​​into the corresponding regular geometric volume formula to calculate the estimated volume of the object.

[0088] In this embodiment, for regular objects, the method of first filtering out interference data, then locating, then estimating the size, and finally calculating with a formula is adopted. The whole process is logically clear, fast in calculation, and highly accurate in results. Moreover, it does not require the user to input any size information. The device completes the process completely autonomously, avoiding the problem of inappropriate water injection volume due to inaccurate estimation by the user.

[0089] In one embodiment, there are multiple sidewalls; each sidewall has multiple layers of photoresistors arranged from top to bottom; the control unit is specifically used to: determine the horizontal photoresistor value of the photoresistor in each horizontal layer when the estimated shape is an irregular object; determine the horizontal area of ​​the object corresponding to the horizontal layer based on the horizontal photoresistor value; determine the end area of ​​the object based on the end photoresistor value; and determine the estimated volume of the object by combining the horizontal area and end area of ​​each object.

[0090] The sidewalls are the inner walls of the cleaning chamber. Since there are multiple sidewalls, they surround the cleaning chamber from multiple directions, such as four sidewalls (front, back, left, and right) or multiple sidewalls evenly distributed around the circumference. Each sidewall is equipped with a photoresistor. The horizontal layer is an artificially divided horizontal cross-sectional layer within the cleaning chamber, formed by all photoresistors at the same height. Each horizontal layer corresponds to a specific height. By analyzing the photoresistor values ​​of each horizontal layer, the cross-sectional shape of the object at that height can be determined. The horizontal photoresistor values ​​are the individual resistance values ​​of all photoresistors within the same horizontal layer. These resistance values ​​reflect the degree of occupancy of the object at various angular positions along the entire circumference of that horizontal layer. The horizontal area of ​​the object is the cross-sectional area occupied by the object at that height, calculated based on the horizontal photoresistor values ​​of all photoresistors on a given horizontal layer. If multiple consecutive photoresistors on a horizontal layer have very high resistance values, it indicates that the object has a projection within that angular range. By statistically analyzing the occluded angular range and combining it with geometric relationships, the area value can be calculated. The end is the top or bottom part of the object. The photoresistance values ​​at the ends refer to the measured values ​​of the photoresistors located in the top and bottom layers of the cleaning chamber. These values ​​are used to determine the top and bottom areas of the object. The end area is the area of ​​the top or bottom of the object calculated based on the end photoresistance values. For irregular objects, the top and bottom areas may differ and need to be calculated separately.

[0091] Specifically, after the control unit determines that the object is irregular, since irregular objects do not have a fixed geometric shape and their volume cannot be calculated by simply multiplying length, width, and height, the control unit uses a layer-by-layer slicing and accumulation method to estimate the volume, which is divided into four steps. First, the control unit processes the cleaning chamber layer by layer from top to bottom. For each horizontal layer, it reads the resistance values ​​of the photoresistors on all sidewalls of that layer. These resistance values ​​constitute the horizontal photoresistor value for that horizontal layer. This step is equivalent to completely capturing the occlusion situation of the object at that height. Second, the control unit calculates the cross-sectional area of ​​the object at that height based on the horizontal photoresistor value of that horizontal layer. Specifically, it identifies which sidewall photoresistors on that layer are blocked. The location and extent of the blocked sidewalls outline the object's contour at that height, and then calculates the horizontal area of ​​the object corresponding to that layer. The third step involves the control unit examining the photoresistance values ​​of the top and bottom layers of the cleaning chamber, specifically the end photoresistance values. Based on these values, the unit calculates the area of ​​the top and bottom of the object, which is the end area of ​​the object. This step ensures a more accurate estimation of the top and bottom volume during the cumulative calculation. The fourth step involves the control unit summing up the horizontal areas of each layer from top to bottom, then correcting this sum by combining the top and bottom end areas, ultimately arriving at a total volume value. This is the estimated volume of the object. This method is analogous to cutting an irregular object into many thin slices, calculating the volume of each slice, and then adding them together. Therefore, it is applicable to objects of various irregular shapes.

[0092] In this embodiment, an additive slicing method is used to calculate irregular objects. It does not require knowledge of the object's specific shape; the volume can be estimated solely based on the occlusion data of the photoresistor. This method has a very wide range of applications and can handle objects that are round, flat, top-heavy, or any other irregular shape. It solves the problem that regular object calculation methods cannot handle irregular objects, greatly enhancing the applicability of the device.

[0093] In one embodiment, the control unit is further configured to: acquire the volume of the object input by the user; and control the water inlet unit to inject a corresponding volume of clean water into the cleaning chamber according to the object volume in order to clean the object.

[0094] Here, the object volume refers to the actual three-dimensional size of the object to be cleaned. In this embodiment, this volume value is not automatically measured by the device, but is manually entered into the device by the user based on experience or prior measurement results.

[0095] Specifically, this embodiment describes another control method, which directly uses the volume input by the user to control the water inlet without relying on automatic measurement. The control unit first obtains the volume value of the object actively input by the user. This value may be known to the user from a label on the object, or it may be input by the user after measurement. After obtaining this user-inputted object volume, the control unit does not need to perform any automatic detection or calculation, but directly uses this volume value as the target water injection volume and sends a control command to the water inlet unit. Upon receiving the command, the water inlet unit injects the corresponding volume of clean water into the cleaning chamber. Here, there is a positive correlation between the volume of clean water and the volume of the object input by the user; that is, the larger the volume input by the user, the more clean water the control unit commands to inject. The purpose is to ensure that the clean water completely submerges or fully covers the object to be cleaned, thereby achieving effective cleaning.

[0096] In this embodiment, an alternative solution of manually inputting volume is provided, which is suitable for scenarios where users are familiar with the volume of objects but the automatic detection of the device may not be accurate enough. For example, when the special material of the object causes the photoresistor to detect inaccurately, users can directly input the volume value they know, which can also achieve water injection as needed. The operation is simple and direct, and it also increases the flexibility of the device, allowing users to easily complete the cleaning operation in different situations.

[0097] In one embodiment, such as Figure 4 As shown, a cleaning method is also provided, which is applied to the control unit in any of the above embodiments, including:

[0098] Step S402: Obtain the detection information output by each optical receiving unit, and determine the estimated volume of the object based on the detection information.

[0099] Specifically, the control unit first reads the detection information output by each of the light receiving units. Each light receiving unit is installed at a different location within the cleaning chamber, so the detection information they provide reflects the degree to which that location is obstructed by an object. After collecting all this information, the control unit performs comprehensive analysis, such as counting the number of obstructed sensors, the height range of obstruction, and the obstruction pattern. Based on these analysis results, a value is calculated; this value is the estimated volume of the object. This estimated volume reflects the overall size of the object.

[0100] Step S404: The water inlet unit injects a corresponding volume of clean water into the cleaning chamber according to the estimated volume to clean the object; the volume of clean water is positively correlated with the estimated volume.

[0101] Specifically, the control unit sends a control command to the water inlet unit based on the estimated volume calculated in the previous step. Since there is a positive correlation between the volume of clean water and the estimated volume, the larger the estimated volume, the larger the volume of clean water the control unit commands to be injected. Upon receiving the command, the water inlet unit injects exactly the corresponding volume of clean water into the cleaning chamber. For example, if the estimated volume of the object is 1 liter, the control unit will command the injection of approximately 1 liter or slightly more than 1 liter of clean water to ensure that the clean water can fully contact and clean the surface of the object, completing the cleaning process.

[0102] In this embodiment, the entire cleaning process is summarized into two clear steps: first, the detection information is obtained and the estimated volume is calculated, and then water is injected for cleaning according to the estimated volume. The positive correlation water injection method ensures that the water volume and the size of the object are always matched, avoiding the problem of wasting too much water or not cleaning properly with too little water.

[0103] In one embodiment, such as Figure 5 As shown, the light receiving unit includes a photoresistor; the detection information includes the photoresistor value; and the estimated volume of the object is determined based on the detection information, including:

[0104] Step S502: Determine the estimated shape of the object based on the values ​​of each photoresistor.

[0105] Specifically, the control unit reads the current resistance values ​​of all photoresistors. Since the resistance of photoresistors changes with light intensity, an object placed in the cleaning chamber will block some light, causing the resistance of the blocked photoresistors to increase. The control unit analyzes the overall distribution pattern of these resistance values, such as observing whether the resistance is symmetrical in the horizontal direction and whether it changes continuously in the vertical direction, and uses these distribution characteristics to determine the approximate shape of the object. For example, if the resistance is uniformly symmetrical in all directions, it is determined to be a regular object; if the resistance distribution is chaotic and asymmetrical, it is determined to be an irregular object.

[0106] Step S504: Determine the method for determining the volume of the object based on the estimated shape.

[0107] Specifically, after determining the estimated shape of the object, the control unit decides which volume determination method to use based on this shape type. Different shapes require different calculation methods to obtain accurate volumes. For example, for regular objects, the method of measuring characteristic dimensions and substituting them into standard geometric formulas can be used; for irregular objects, a layered integration method is required. The control unit pre-stores the correspondence between shapes and calculation methods, directly selecting the appropriate method based on the estimated shape.

[0108] Step S506: Perform numerical analysis on each photoresistor value according to the volume determination method to determine the estimated volume of the object.

[0109] Specifically, the control unit performs a systematic numerical analysis of all photoresistor values ​​according to the volume determination method established in the previous step. If the calculation method is determined to be for a regular object, the height, width, diameter, and other characteristic values ​​of the object are extracted from the resistance values ​​and then substituted into the formula for a sphere or cylinder for calculation. If the calculation method is determined to be for an irregular object, the occlusion area on each horizontal plane is analyzed layer by layer, and then the values ​​of each layer are accumulated and added together. In this way, the estimated volume of the object is finally determined.

[0110] In this embodiment, the shape is determined before the volume is calculated, so that the subsequent calculation method can match the shape of the object, avoiding the use of incorrect formulas to calculate the volume and significantly improving the accuracy of volume measurement.

[0111] In one embodiment, such as Figure 6 As shown, numerical analysis is performed on each photoresistor value according to the volume determination method to determine the estimated volume of the object, including:

[0112] Step S602: If the estimated shape is a regular object, the photoresistor value that meets the resistance condition is determined as the target photoresistor value.

[0113] Specifically, once the control unit has determined that the estimated shape of the object is a regular object, it begins to filter all photoresistor values. It judges each resistance value one by one according to a pre-set resistance threshold; only resistance values ​​greater than this threshold are considered to indicate that the corresponding location is effectively blocked by the object. All resistance values ​​that meet this condition are identified as target photoresistor values, while the remaining resistance values ​​are excluded and not included in subsequent volume calculations.

[0114] Step S604: Determine the target photoresistor to which each target photoresistor value belongs.

[0115] Specifically, for each value identified as a target photoresistor, the control unit reverses the process to find out which specific photoresistor element this value was read from. In other words, the control unit needs to establish a correspondence between resistance values ​​and physical resistances, determining which specific target photoresistor each target photoresistor value belongs to. This step is necessary to subsequently obtain the location information of these resistors.

[0116] Step S606: Determine the volume characteristic value of the object according to the resistance position of each target photoresistor.

[0117] Specifically, the control unit queries the resistor location information of each target photoresistor, which is stored in the system beforehand—that is, the specific installation coordinates of each resistor within the cleaning chamber. Then, based on the positional distribution of all target photoresistors, it extracts the volume calculation feature values ​​of the object. For example, it finds the coordinates of the highest and lowest positions among all target photoresistors, calculates the difference between them to obtain the object's height; it finds the positions of two horizontally opposite target photoresistors, calculates the difference between them to obtain the object's width. These feature values ​​are the key dimensions needed to calculate the volume.

[0118] Step S608: Calculate the characteristic values ​​based on each volume to determine the estimated volume of the object.

[0119] Specifically, the control unit substitutes the volume calculation feature values ​​extracted in the previous step into the standard geometric volume formula corresponding to the estimated shape. For example, if the estimated shape is a sphere, the diameter is substituted into the sphere volume formula; if the estimated shape is a cylinder, the diameter and height are substituted into the cylinder volume formula. After calculation using the formula, the estimated volume of the object is finally obtained.

[0120] In this embodiment, for regular objects, the volume can be quickly calculated simply by filtering out the boundary resistance. The calculation process is simple and efficient, with a fast response speed and low computational resource consumption of the control unit.

[0121] In one embodiment, such as Figure 7 As shown, there are multiple sidewalls; in each sidewall, multiple layers of photoresistors are arranged from top to bottom;

[0122] Numerical analysis of each photoresistor value is performed according to the volume determination method to determine the estimated volume of the object, including:

[0123] Step S702: In the case of an object with an estimated irregular shape, determine the horizontal photoresistance value of the photoresistor in each horizontal layer.

[0124] Specifically, once the control unit has determined that the estimated shape of the object is irregular, it begins layered processing. For each horizontal layer within the cleaning chamber, it reads the resistance values ​​of all photoresistors in that layer; these values ​​are called horizontal photoresistor values. Each horizontal layer corresponds to a specific height, and by processing layer by layer, occlusion information of the object at different heights can be obtained.

[0125] Step S704: Determine the horizontal area of ​​the object corresponding to the horizontal layer based on the horizontal photoresistor value.

[0126] Specifically, for each horizontal layer, the control unit analyzes which angular ranges are blocked by an object at that height based on the photoresistor values ​​in each direction on that horizontal layer. If multiple consecutive adjacent photoresistors have high resistance values, it indicates that an object exists within that angular range. By statistically analyzing the length of the blocked angular intervals and combining this with the installation geometry of the photoresistors, the control unit can calculate the cross-sectional area occupied by the object at that height. This area is the horizontal area of ​​the object corresponding to that horizontal layer. An area value is calculated for each horizontal layer.

[0127] Step S706: Determine the end area of ​​the object based on the photoresistor value at the end.

[0128] Specifically, in addition to the middle horizontal layer, the control unit also needs to process the ends of the object separately. It reads the resistance values ​​of the photoresistors at the top and bottom of the cleaning chamber, which are called the end photoresistor values. Based on these end resistance values, the top area and bottom area of ​​the object are calculated separately using the same method as in step S704, which are collectively referred to as the end area.

[0129] Step S708: Combine the horizontal area and end area of ​​each object to determine the estimated volume of the object.

[0130] Specifically, the control unit sums up the horizontal areas of the object calculated for each intermediate level in order of height, while also taking into account the top and bottom areas. This process is similar to integration in mathematics, where the cross-sectional area at each height is multiplied by the infinitesimal height of that level and then summed. By combining the horizontal and end areas of each object and summing them up, the estimated volume of the entire irregular object is finally determined.

[0131] In this embodiment, the method of calculating the area layer by layer and then accumulating it can accurately measure the volume of any irregularly shaped object, greatly expanding the applicability of the equipment and enabling it to clean various non-standard shaped objects.

[0132] In one embodiment, such as Figure 8 As shown, the method also includes:

[0133] Step S802: Obtain the object volume input by the user.

[0134] Specifically, the control unit first acquires the object's volume value, which is actively input by the user. This value may be known to the user based on a label on the object, or it may be measured and entered by the user themselves.

[0135] Step S804: The water inlet unit injects a corresponding volume of clean water into the cleaning chamber according to the object's volume to clean the object.

[0136] Specifically, after receiving the volume of the object input by the user, the control unit does not need to perform any further automatic detection or calculation. It directly determines the target water injection volume based on this volume value and sends a control command to the water inlet unit. Upon receiving the command, the water inlet unit injects the corresponding volume of clean water into the cleaning chamber. Here, there is a positive correlation between the volume of clean water and the volume of the object input by the user; that is, the larger the volume input by the user, the more clean water the control unit commands to inject. The purpose is to ensure that the clean water completely submerges or fully envelops the object to be cleaned, thereby achieving effective cleaning.

[0137] In this embodiment, an alternative solution of manually inputting volume is provided, which is suitable for scenarios where users are familiar with the volume of objects but the automatic detection of the device may not be accurate enough. For example, when the special material of the object causes the photoresistor to detect inaccurately, users can directly input the volume value they know, which can also achieve water injection as needed. The operation is simple and direct, and it also increases the flexibility of the device, allowing users to easily complete the cleaning operation in different situations.

[0138] In a specific embodiment, such as Figure 9 As shown, a cleaning method is also provided, including:

[0139] Step S901: Obtain the detection information output by each optical receiving unit;

[0140] Step S902: Determine the estimated shape of the object based on the values ​​of each photoresistor;

[0141] Step S903: Based on the estimated shape, determine the method for determining the volume of the object;

[0142] Step S904: If the estimated shape is a regular object, determine the target photoresistor value as the photoresistor value that meets the resistance condition among all photoresistor values.

[0143] Step S905: Determine the target photoresistor to which each target photoresistor value belongs;

[0144] Step S906: Determine the volume characteristic value of the object according to the resistance position of each target photoresistor;

[0145] Step S907: Calculate the characteristic values ​​based on each volume to determine the estimated volume of the object;

[0146] Step S908: In the case of an object with an estimated irregular shape, determine the horizontal photoresistance value of the photoresistor in each horizontal layer.

[0147] Step S909: Determine the horizontal area of ​​the object corresponding to the horizontal layer based on the horizontal photoresistor value;

[0148] Step S910: Determine the end area of ​​the object based on the photoresistance value at the end;

[0149] Step S911: Combine the horizontal area and end area of ​​each object to determine the estimated volume of the object;

[0150] Step S912: According to the estimated volume, the water inlet unit injects a corresponding volume of clean water into the cleaning chamber to clean the object;

[0151] Among them, the volume of clean water is positively correlated with the estimated volume.

[0152] In some optional embodiments, the server can also obtain the object volume input by the user. The water inlet unit is then controlled to inject a corresponding volume of clean water into the cleaning chamber according to the object volume to clean the object.

[0153] It should be understood that although the steps in the flowcharts of the above embodiments are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the above embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0154] Based on the same inventive concept, this application also provides a cleaning apparatus for implementing the cleaning method described above. The solution provided by this apparatus is similar to the solution described in the above method; therefore, the specific limitations in one or more cleaning apparatus embodiments provided below can be found in the limitations of the cleaning method described above, and will not be repeated here.

[0155] In one exemplary embodiment, such as Figure 10 As shown, a cleaning device 1000 is provided, including: a volume estimation determination module 1002 and a water injection module 1004, wherein:

[0156] The volume estimation module 1002 is used to acquire the detection information output by each optical receiving unit and determine the estimated volume of the object based on the detection information.

[0157] The water injection module 1004 is used to control the water inlet unit to inject a corresponding volume of clean water into the cleaning chamber according to the estimated volume, so as to clean the object; the volume of clean water is positively correlated with the estimated volume.

[0158] In one exemplary embodiment, the light receiving unit includes a photoresistor; the detection information includes the photoresistor value. In this embodiment, the volume estimation determination module 1002 includes:

[0159] The shape estimation unit is used to determine the estimated shape of the object based on the values ​​of each photoresistor.

[0160] The volume determination method unit is used to determine the volume determination method of an object based on the estimated shape.

[0161] The numerical analysis unit is used to perform numerical analysis on each photoresistor value according to the volume determination method to determine the estimated volume of the object.

[0162] In one exemplary embodiment, the numerical analysis unit is specifically used for:

[0163] If the estimated shape is a regular object, the photoresistor value that meets the resistance condition is determined as the target photoresistor value.

[0164] Determine the target photoresistor to which each target photoresistor value belongs;

[0165] Based on the resistance position of each target photoresistor, the volume characteristic value of the object is determined and calculated.

[0166] By combining the characteristic values ​​of each volume, the estimated volume of the object is determined.

[0167] In one exemplary embodiment, there are multiple sidewalls; each sidewall has multiple layers of photoresistors arranged from top to bottom. In this embodiment, the numerical analysis unit is specifically used for:

[0168] In the case of an irregularly shaped object, determine the horizontal photoresistance value of the photoresistor in each horizontal layer.

[0169] Based on the horizontal photoresistance value, determine the horizontal area of ​​the object corresponding to the horizontal layer;

[0170] The area of ​​the object's end is determined based on the photoresistance value at the end.

[0171] By combining the horizontal area and end area of ​​each object, the estimated volume of the object is determined.

[0172] In one exemplary embodiment, the cleaning device 1000 further includes an object volume acquisition module, specifically used for:

[0173] Get the volume of the object input by the user.

[0174] The water inlet unit injects a corresponding volume of clean water into the cleaning chamber according to the volume of the object, in order to clean the object.

[0175] Each module in the aforementioned cleaning device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the operations corresponding to each module.

[0176] In one exemplary embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 11 As shown, the computer device includes a processor, memory, input / output interfaces, a communication interface, a display unit, and an input device. The processor, memory, and input / output interfaces are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interfaces. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The input / output interfaces are used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, Near Field Communication (NFC), or other technologies. When the computer program is executed by the processor, it implements a cleaning method. The display unit is used to form a visually visible image and can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the computer device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the computer device, or external keyboards, touchpads, or mice, etc.

[0177] Those skilled in the art will understand that Figure 11 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0178] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:

[0179] The detection information output by each optical receiving unit is acquired, and the estimated volume of the object is determined based on the detection information.

[0180] The water inlet unit injects a corresponding volume of clean water into the cleaning chamber according to the estimated volume to clean the object; the volume of clean water is positively correlated with the estimated volume.

[0181] In one embodiment, the light receiving unit includes a photoresistor; the detection information includes the photoresistor value. In this embodiment, the processor, when executing the computer program, further performs the following steps:

[0182] Based on the values ​​of each photoresistor, the estimated shape of the object is determined;

[0183] Based on the estimated shape, determine the method for determining the volume of the object;

[0184] Numerical analysis of each photoresistor value is performed according to the volume determination method to determine the estimated volume of the object.

[0185] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0186] If the estimated shape is a regular object, the photoresistor value that meets the resistance condition is determined as the target photoresistor value.

[0187] Determine the target photoresistor to which each target photoresistor value belongs;

[0188] Based on the resistance position of each target photoresistor, the volume characteristic value of the object is determined and calculated.

[0189] By combining the characteristic values ​​of each volume, the estimated volume of the object is determined.

[0190] In one embodiment, there are multiple sidewalls; each sidewall has multiple layers of photoresistors arranged from top to bottom. In this embodiment, when the processor executes the computer program, it also performs the following steps:

[0191] In the case of an irregularly shaped object, determine the horizontal photoresistance value of the photoresistor in each horizontal layer.

[0192] Based on the horizontal photoresistance value, determine the horizontal area of ​​the object corresponding to the horizontal layer;

[0193] The area of ​​the object's end is determined based on the photoresistance value at the end.

[0194] By combining the horizontal area and end area of ​​each object, the estimated volume of the object is determined.

[0195] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0196] Get the volume of the object input by the user.

[0197] The water inlet unit injects a corresponding volume of clean water into the cleaning chamber according to the volume of the object, in order to clean the object.

[0198] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, the computer program performing the following steps when executed by a processor:

[0199] The detection information output by each optical receiving unit is acquired, and the estimated volume of the object is determined based on the detection information.

[0200] The water inlet unit injects a corresponding volume of clean water into the cleaning chamber according to the estimated volume to clean the object; the volume of clean water is positively correlated with the estimated volume.

[0201] In one embodiment, the light receiving unit includes a photoresistor; the detection information includes the photoresistor value. In this embodiment, when the computer program is executed by the processor, it further performs the following steps:

[0202] Based on the values ​​of each photoresistor, the estimated shape of the object is determined;

[0203] Based on the estimated shape, determine the method for determining the volume of the object;

[0204] Numerical analysis of each photoresistor value is performed according to the volume determination method to determine the estimated volume of the object.

[0205] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0206] If the estimated shape is a regular object, the photoresistor value that meets the resistance condition is determined as the target photoresistor value.

[0207] Determine the target photoresistor to which each target photoresistor value belongs;

[0208] Based on the resistance position of each target photoresistor, the volume characteristic value of the object is determined and calculated.

[0209] By combining the characteristic values ​​of each volume, the estimated volume of the object is determined.

[0210] In one embodiment, there are multiple sidewalls; each sidewall has multiple layers of photoresistors arranged from top to bottom. In this embodiment, when the computer program is executed by the processor, it further performs the following steps:

[0211] In the case of an irregularly shaped object, determine the horizontal photoresistance value of the photoresistor in each horizontal layer.

[0212] Based on the horizontal photoresistance value, determine the horizontal area of ​​the object corresponding to the horizontal layer;

[0213] The area of ​​the object's end is determined based on the photoresistance value at the end.

[0214] By combining the horizontal area and end area of ​​each object, the estimated volume of the object is determined.

[0215] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0216] Get the volume of the object input by the user.

[0217] The water inlet unit injects a corresponding volume of clean water into the cleaning chamber according to the volume of the object, in order to clean the object.

[0218] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, performs the following steps:

[0219] The detection information output by each optical receiving unit is acquired, and the estimated volume of the object is determined based on the detection information.

[0220] The water inlet unit injects a corresponding volume of clean water into the cleaning chamber according to the estimated volume to clean the object; the volume of clean water is positively correlated with the estimated volume.

[0221] In one embodiment, the light receiving unit includes a photoresistor; the detection information includes the photoresistor value. In this embodiment, when the computer program is executed by the processor, it further performs the following steps:

[0222] Based on the values ​​of each photoresistor, the estimated shape of the object is determined;

[0223] Based on the estimated shape, determine the method for determining the volume of the object;

[0224] Numerical analysis of each photoresistor value is performed according to the volume determination method to determine the estimated volume of the object.

[0225] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0226] If the estimated shape is a regular object, the photoresistor value that meets the resistance condition is determined as the target photoresistor value.

[0227] Determine the target photoresistor to which each target photoresistor value belongs;

[0228] Based on the resistance position of each target photoresistor, the volume characteristic value of the object is determined and calculated.

[0229] By combining the characteristic values ​​of each volume, the estimated volume of the object is determined.

[0230] In one embodiment, there are multiple sidewalls; each sidewall has multiple layers of photoresistors arranged from top to bottom. In this embodiment, when the computer program is executed by the processor, it further performs the following steps:

[0231] In the case of an irregularly shaped object, determine the horizontal photoresistance value of the photoresistor in each horizontal layer.

[0232] Based on the horizontal photoresistance value, determine the horizontal area of ​​the object corresponding to the horizontal layer;

[0233] The area of ​​the object's end is determined based on the photoresistance value at the end.

[0234] By combining the horizontal area and end area of ​​each object, the estimated volume of the object is determined.

[0235] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0236] Get the volume of the object input by the user.

[0237] The water inlet unit injects a corresponding volume of clean water into the cleaning chamber according to the volume of the object, in order to clean the object.

[0238] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant countries and regions.

[0239] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0240] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0241] The above embodiments are merely illustrative of several implementation methods of this application, and their descriptions are relatively specific and detailed. However, they should not be construed as limiting the scope of this application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A cleaning device, characterized in that, It includes a housing, a water inlet unit, a drainage unit, and a control unit; the side walls and ends of the housing are respectively provided with corresponding light detection components; the light emitting unit and the light receiving unit in each set of light detection components are arranged opposite to each other on both sides of the cleaning chamber formed by the housing; the light receiving unit includes a photoresistor; Each of the light emitting units is used to sequentially emit probe light towards the object when the object is placed in the cleaning chamber; Each of the aforementioned optical receiving units is used to receive the detection light emitted by the optical emitting unit in the same optical detection assembly, and output corresponding detection information according to the light intensity of the received light. The detection information includes the photoresistor value; The control unit is used to determine the estimated shape of the object based on the values ​​of each photoresistor. Based on the estimated shape, determine the method for determining the volume of the object; The estimated volume of the object is determined by numerically analyzing the values ​​of each photoresistor according to the volume determination method described above. According to the estimated volume, the water inlet unit injects a corresponding volume of clean water into the cleaning chamber to clean the object; The volume of the clean water is positively correlated with the estimated volume; The drainage unit is used to discharge the wastewater after cleaning.

2. The device according to claim 1, characterized in that, The control unit is specifically used for: In the case where the estimated shape is a regular object, the photoresistor value that meets the resistance condition is determined as the target photoresistor value. Determine the target photoresistor to which each of the aforementioned target photoresistor values ​​belongs; The volume characteristic value of the object is determined according to the resistance position of each target photoresistor. The estimated volume of the object is determined by combining the characteristic values ​​calculated from each volume.

3. The device according to claim 1, characterized in that, The number of sidewalls is multiple; each sidewall is provided with multiple layers of photoresistors from top to bottom; The control unit is specifically used to: determine the horizontal photoresistance value of the photoresistor in each horizontal layer when the estimated shape is an irregular object; Based on the horizontal photoresistance value, determine the horizontal area of ​​the object corresponding to the horizontal layer; The area of ​​the end of the object is determined based on the photoresistance value at the end. The estimated volume of each object is determined by combining its horizontal area and its end area.

4. The device according to claim 1, characterized in that, The control unit is also used for: Get the volume of the object input by the user; The water inlet unit injects a corresponding volume of clean water into the cleaning chamber according to the volume of the object, in order to clean the object.

5. A cleaning method, characterized in that, The method is applied to the control unit according to any one of claims 1 to 4, comprising: The photoresistor values ​​output by each of the light receiving units are obtained to determine the estimated shape of the object; Based on the estimated shape, determine the method for determining the volume of the object; The estimated volume of the object is determined by numerically analyzing the values ​​of each photoresistor according to the volume determination method described above. The water inlet unit injects a corresponding volume of clean water into the cleaning chamber according to the estimated volume to clean the object; the volume of the clean water is positively correlated with the estimated volume.

6. The method according to claim 5, characterized in that, The step of performing numerical analysis on each of the photoresistor values ​​according to the volume determination method to determine the estimated volume of the object includes: In the case where the estimated shape is a regular object, the photoresistor value that meets the resistance condition is determined as the target photoresistor value. Determine the target photoresistor to which each of the aforementioned target photoresistor values ​​belongs; The volume characteristic value of the object is determined according to the resistance position of each target photoresistor. The estimated volume of the object is determined by combining the characteristic values ​​calculated from each volume.

7. The method according to claim 5, characterized in that, The number of sidewalls is multiple; each sidewall is provided with multiple layers of photoresistors from top to bottom; The step of performing numerical analysis on each of the photoresistor values ​​according to the volume determination method to determine the estimated volume of the object includes: In the case where the estimated shape is an irregular object, the horizontal photoresistance value of the photoresistor in the horizontal layer is determined for each horizontal layer; Based on the horizontal photoresistance value, determine the horizontal area of ​​the object corresponding to the horizontal layer; The area of ​​the end of the object is determined based on the photoresistance value at the end. The estimated volume of each object is determined by combining its horizontal area and its end area.

8. The method according to claim 5, characterized in that, The method further includes: Get the volume of the object input by the user; The water inlet unit injects a corresponding volume of clean water into the cleaning chamber according to the volume of the object, in order to clean the object.

9. A cleaning device, characterized in that, Based on the control unit according to any one of claims 1 to 4, the device comprises: The estimated volume determination module is used to acquire the photoresistor values ​​output by each of the light receiving units to determine the estimated shape of the object; based on the estimated shape, determine the volume determination method of the object; and perform numerical analysis on each of the photoresistor values ​​according to the volume determination method to determine the estimated volume of the object. The water injection module is used to control the water inlet unit to inject a corresponding volume of clean water into the cleaning chamber according to the estimated volume, so as to clean the object; the volume of the clean water is positively correlated with the estimated volume.

10. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 5 to 8.

11. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 5 to 8.

12. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 5 to 8.