Stair cleaning method, apparatus, device, and storage medium

By designing cleaning equipment that climbs to the top of the stairs and performs cleaning actions from top to bottom, combined with wheel and foot assembly adjustments and dry and wet cleaning, the problem of cleaning stairs in multi-story buildings has been solved, achieving automated and efficient stair cleaning results.

CN123147805APending Publication Date: 2026-11-24DREAM INNOVATION TECH (SUZHOU) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611355193.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-02
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Existing cleaning equipment is ineffective at cleaning staircases in multi-story buildings, forcing users to clean them manually, which increases time and labor costs.

Method used

Design a stair cleaning method and device. The device determines the positional relationship between the staircase to be cleaned and the user, climbs to the top of the staircase, and performs the cleaning action from top to bottom. The device uses wheel and foot components to adjust the cleaning posture to adapt to different tread widths. It combines dry and wet cleaning methods to ensure that each step is thoroughly cleaned.

Benefits of technology

It achieves automated stair cleaning, reducing users' time and labor costs, avoiding secondary pollution, and ensuring the effectiveness and reliability of the cleaning path.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123147805A_ABST
    Figure CN123147805A_ABST
Patent Text Reader

Abstract

This application provides a stair cleaning method, apparatus, device, and storage medium. The method includes: in response to a first cleaning command, determining the positional relationship between the staircase to be cleaned and the cleaning equipment, wherein the staircase to be cleaned includes multiple steps; when the cleaning equipment is located below the staircase to be cleaned, controlling the cleaning equipment to climb to the top of the staircase to be cleaned, and controlling the cleaning equipment to perform a first cleaning action from top to bottom on the staircase to be cleaned; when the cleaning equipment is located on the staircase to be cleaned, controlling the cleaning equipment to perform the first cleaning action from top to bottom on the staircase to be cleaned. Using this application, the cleaning equipment can clean the staircase step by step from the highest step to the lowest step, avoiding dust falling back onto the already cleaned next step during the cleaning of the previous step, preventing secondary pollution, and ensuring that the designed cleaning path is effective and reliable.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] With the development of technology, more and more household chores can be automated by equipment. For example, people used to have to clean floors manually, but with the advent of cleaning equipment, this task can now be handled by the equipment. As people's quality of life improves, they no longer live in single-story houses; some now live in multi-story buildings. Multi-story buildings require staircases to connect different floors for easy access. However, in multi-story buildings, cleaning equipment can only clean regular floors; dirt on the stairs still needs to be cleaned manually, significantly increasing the user's time and labor costs. Summary of the Invention

[0003] This application provides a stair cleaning method, apparatus, equipment, and storage medium to reduce the time and labor costs for users cleaning stairs and ensure that all steps are thoroughly cleaned.

[0004] In a first aspect, embodiments of this application provide a staircase cleaning method, the method comprising: In response to a first cleaning command, the positional relationship between the staircase to be cleaned and the cleaning equipment is determined, wherein the staircase to be cleaned includes multiple steps; When the cleaning equipment is located under the stairs to be cleaned, control the cleaning equipment to climb to the top of the stairs to be cleaned, and control the cleaning equipment to perform the first cleaning action on the stairs to be cleaned from top to bottom; When the cleaning equipment is located on the staircase to be cleaned, the cleaning equipment is controlled to perform a first cleaning action on the staircase from top to bottom.

[0005] Optionally, the first cleaning instruction is used to instruct that at least dry cleaning be performed on the staircase to be cleaned.

[0006] Optionally, the cleaning device includes a device body, a first wheel assembly, and a second wheel assembly; wherein the first wheel assembly and the second wheel assembly are respectively rotatable relative to the device body to adjust to a retracted state or an extended state; The cleaning device has a first cleaning posture and a second cleaning posture. In the first cleaning posture, both the first wheel assembly and the second wheel assembly are in a retracted state. In the second cleaning posture, one of the first wheel assembly and the second wheel assembly is in a retracted state, and the other is in an extended state. The first cleaning action includes at least the cleaning device performing cleaning in the second cleaning posture.

[0007] Optionally, controlling the cleaning device to perform a first cleaning action on the staircase to be cleaned from top to bottom includes: For each step of the staircase to be cleaned, determine the tread width of the step; Based on the tread width, the cleaning posture of the cleaning equipment included in the first cleaning action is determined; Perform the first cleaning action to clean the tread surface of the steps.

[0008] Optionally, determining the cleaning posture of the cleaning device in the first cleaning action based on the tread width includes: When the tread width is less than or equal to a preset threshold, the first cleaning action is determined to include the cleaning device being in the second cleaning position.

[0009] Optionally, determining the cleaning posture of the cleaning device in the first cleaning action based on the tread width includes: When the tread width is greater than a preset threshold, the first cleaning action is determined to include the cleaning device being in the first cleaning posture and the second cleaning posture.

[0010] Optionally, determining the first cleaning action includes the cleaning device being in the first cleaning posture and the second cleaning posture, including: For a first area in the tread of the step, the first cleaning action is determined to include the cleaning device being in the first cleaning position, wherein the first area is the area in the tread of the step that is close to the riser of the step above. For the second region in the tread of the step, the first cleaning action is determined to include the cleaning device being in the second cleaning position, wherein the second region is the region in the tread of the step near the outer edge.

[0011] Optionally, when the first cleaning action includes the second cleaning posture, executing the determined first cleaning action to clean the tread of the step includes: The outer wheel assembly is controlled to rotate relative to the main body of the device to move the outer wheel assembly to the tread of the next step, wherein the outer wheel assembly is the wheel assembly that is closer to the outer edge of the tread of the current step among the first wheel assembly and the second wheel assembly; With the outer wheel assembly supporting the tread of the next step, the cleaning device is controlled to clean the tread of the current step.

[0012] Optionally, the method further includes: In response to a second cleaning command, the cleaning equipment is controlled to perform a second cleaning action on the staircase to be cleaned, starting from the current step. The second cleaning command is used to instruct the staircase to be cleaned to be wet-cleaned.

[0013] Optionally, controlling the cleaning device to perform a first cleaning action on the staircase to be cleaned from top to bottom includes: Adjust the orientation of the cleaning equipment to align with the length direction of the current step tread; The cleaning equipment is controlled to clean the tread surface of the current step according to the adjusted orientation; After completing the cleaning process on the current step, if the current step is not the lowest step of the staircase to be cleaned, the cleaning equipment is controlled to move to the next step.

[0014] Optionally, before controlling the cleaning equipment to move to the next step, the method further includes: Control the movement of the main body of the equipment and / or the facade cleaning component so that the facade cleaning component is close to the riser of the next step, wherein the facade cleaning component is located on the main body of the equipment; In response to the facade cleaning component contacting the kick surface of the upper step, the device body and / or the facade cleaning component are controlled to move relative to the kick surface of the upper step, so that the facade cleaning component cleans the kick surface of the upper step.

[0015] Optionally, the movement of the control device body and / or the facade cleaning component to bring the facade cleaning component closer to the riser of the next step includes: Determine the starting position for cleaning the riser surface based on the geometric parameters of the riser surface of the previous step. Control the movement of the main body of the equipment and / or the facade cleaning component to move the facade cleaning component to the starting position of the facade cleaning.

[0016] Optionally, controlling the movement of the device body and / or the facade cleaning component relative to the riser of the upper step, so that the facade cleaning component cleans the riser of the upper step, includes: Based on the geometric parameters of the riser of the upper step, determine the cleaning path of the facade cleaning component on the riser of the upper step; Control the movement of the main body of the equipment and / or the facade cleaning component so that the facade cleaning component moves along the cleaning path.

[0017] Secondly, embodiments of this application provide a staircase cleaning method, the method comprising: The cleaning equipment is controlled to move to the first step and perform a first cleaning action on the first step, wherein the first step is a step in the staircase to be cleaned; In response to the cleaning device ending its cleaning operation on the first step, the cleaning device is controlled to move to the second step and perform the first cleaning action on the second step, wherein the second step is the step adjacent to the first step in the staircase to be cleaned, and the first step is higher than the second step in the staircase to be cleaned.

[0018] Optionally, the first cleaning action includes at least dry cleaning.

[0019] Optionally, the cleaning device includes a device body, a first wheel assembly, and a second wheel assembly; wherein the first wheel assembly and the second wheel assembly are respectively rotatable relative to the device body to adjust to a retracted state or an extended state; The cleaning device has a first cleaning posture and a second cleaning posture. In the first cleaning posture, both the first wheel assembly and the second wheel assembly are in a retracted state. In the second cleaning posture, one of the first wheel assembly and the second wheel assembly is in a retracted state, and the other is in an extended state. The first cleaning action includes at least the cleaning device performing cleaning in the second cleaning posture.

[0020] Optionally, a first cleaning action is performed on the first step or the second step, including: For either the first step or the second step, determine the tread width of the step; Based on the tread width, the cleaning posture of the cleaning equipment included in the first cleaning action is determined; Perform the first cleaning action to clean the tread surface of the steps.

[0021] Optionally, determining the cleaning posture of the cleaning device in the first cleaning action based on the tread width includes: When the tread width is less than or equal to a preset threshold, the first cleaning action is determined to include the cleaning device being in the second cleaning position.

[0022] Optionally, determining the cleaning posture of the cleaning device in the first cleaning action based on the tread width includes: When the tread width is greater than a preset threshold, the first cleaning action is determined to include the cleaning device being in the first cleaning posture and the second cleaning posture.

[0023] Optionally, determining the first cleaning action includes the cleaning device being in the first cleaning posture and the second cleaning posture, including: For a first area in the tread of the step, the first cleaning action is determined to include the cleaning device being in the first cleaning position, wherein the first area is the area in the tread of the step that is close to the riser of the step above. For the second region in the tread of the step, the first cleaning action is determined to include the cleaning device being in the second cleaning position, wherein the second region is the region in the tread of the step near the outer edge.

[0024] Optionally, when the first cleaning action includes the second cleaning posture, executing the determined first cleaning action to clean the tread of the step includes: The outer wheel assembly is controlled to rotate relative to the main body of the device to move the outer wheel assembly to the tread of the next step, wherein the outer wheel assembly is the wheel assembly that is closer to the outer edge of the tread of the current step among the first wheel assembly and the second wheel assembly; With the outer wheel assembly supporting the tread of the next step, the cleaning device is controlled to clean the tread of the current step.

[0025] Thirdly, embodiments of this application provide a stair cleaning device, comprising: A determination module is used to determine the positional relationship between the staircase to be cleaned and the cleaning equipment in response to a first cleaning command, wherein the staircase to be cleaned includes multiple steps; The cleaning module is used to control the cleaning device to climb to the top of the stairs to be cleaned when the cleaning device is located below the stairs to be cleaned, and to control the cleaning device to perform a first cleaning action on the stairs to be cleaned from top to bottom; and to control the cleaning device to perform a first cleaning action on the stairs to be cleaned from top to bottom when the cleaning device is located on the stairs to be cleaned.

[0026] Optionally, the first cleaning instruction is used to instruct that at least dry cleaning be performed on the staircase to be cleaned.

[0027] Optionally, the cleaning device includes a device body, a first wheel assembly, and a second wheel assembly; wherein the first wheel assembly and the second wheel assembly are respectively rotatable relative to the device body to adjust to a retracted state or an extended state; The cleaning device has a first cleaning posture and a second cleaning posture. In the first cleaning posture, both the first wheel assembly and the second wheel assembly are in a retracted state. In the second cleaning posture, one of the first wheel assembly and the second wheel assembly is in a retracted state, and the other is in an extended state. The first cleaning action includes at least the cleaning device performing cleaning in the second cleaning posture.

[0028] Optionally, the cleaning module is used for: For each step of the staircase to be cleaned, determine the tread width of the step; Based on the tread width, the cleaning posture of the cleaning equipment included in the first cleaning action is determined; Perform the first cleaning action to clean the tread surface of the steps.

[0029] Optionally, the cleaning module is used for: When the tread width is less than or equal to a preset threshold, the first cleaning action is determined to include the cleaning device being in the second cleaning position.

[0030] Optionally, the cleaning module is used for: When the tread width is greater than a preset threshold, the first cleaning action is determined to include the cleaning device being in the first cleaning posture and the second cleaning posture.

[0031] Optionally, the cleaning module is used for: For a first area in the tread of the step, the first cleaning action is determined to include the cleaning device being in the first cleaning position, wherein the first area is the area in the tread of the step that is close to the riser of the step above. For the second region in the tread of the step, the first cleaning action is determined to include the cleaning device being in the second cleaning position, wherein the second region is the region in the tread of the step near the outer edge.

[0032] Optionally, the cleaning module is used for: The outer wheel assembly is controlled to rotate relative to the main body of the device to move the outer wheel assembly to the tread of the next step, wherein the outer wheel assembly is the wheel assembly that is closer to the outer edge of the tread of the current step among the first wheel assembly and the second wheel assembly; With the outer wheel assembly supporting the tread of the next step, the cleaning device is controlled to clean the tread of the current step.

[0033] Optionally, the cleaning module is further configured to: In response to a second cleaning command, the cleaning equipment is controlled to perform a second cleaning action on the staircase to be cleaned, starting from the current step. The second cleaning command is used to instruct the staircase to be cleaned to be wet-cleaned.

[0034] Optionally, the cleaning module is used for: Adjust the orientation of the cleaning equipment to align with the length direction of the current step tread; The cleaning equipment is controlled to clean the tread surface of the current step according to the adjusted orientation; After completing the cleaning process on the current step, if the current step is not the lowest step of the staircase to be cleaned, the cleaning equipment is controlled to move to the next step.

[0035] Optionally, the cleaning module is further configured to: Control the movement of the main body of the equipment and / or the facade cleaning component so that the facade cleaning component is close to the riser of the next step, wherein the facade cleaning component is located on the main body of the equipment; In response to the facade cleaning component contacting the kick surface of the upper step, the device body and / or the facade cleaning component are controlled to move relative to the kick surface of the upper step, so that the facade cleaning component cleans the kick surface of the upper step.

[0036] Optionally, the cleaning module is used for: Determine the starting position for cleaning the riser surface based on the geometric parameters of the riser surface of the previous step. Control the movement of the main body of the equipment and / or the facade cleaning component to move the facade cleaning component to the starting position of the facade cleaning.

[0037] Optionally, the cleaning module is used for: Based on the geometric parameters of the riser of the upper step, determine the cleaning path of the facade cleaning component on the riser of the upper step; Control the movement of the main body of the equipment and / or the facade cleaning component so that the facade cleaning component moves along the cleaning path.

[0038] Fourthly, embodiments of this application provide a stair cleaning device, comprising: The control module is used to control the cleaning equipment to move to the first step and perform a first cleaning action on the first step, wherein the first step is a step in the staircase to be cleaned; The control module is configured to, in response to the cleaning device ending its cleaning operation on the first step, control the cleaning device to move to the second step and perform the first cleaning action on the second step, wherein the second step is the step adjacent to the first step in the staircase to be cleaned, and the first step is higher than the second step in the staircase to be cleaned.

[0039] Optionally, the first cleaning action includes at least dry cleaning.

[0040] Optionally, the cleaning device includes a device body, a first wheel assembly, and a second wheel assembly; wherein the first wheel assembly and the second wheel assembly are respectively rotatable relative to the device body to adjust to a retracted state or an extended state; The cleaning device has a first cleaning posture and a second cleaning posture. In the first cleaning posture, both the first wheel assembly and the second wheel assembly are in a retracted state. In the second cleaning posture, one of the first wheel assembly and the second wheel assembly is in a retracted state, and the other is in an extended state. The first cleaning action includes at least the cleaning device performing cleaning in the second cleaning posture.

[0041] Optionally, the control module is used for: For either the first step or the second step, determine the tread width of the step; Based on the tread width, the cleaning posture of the cleaning equipment included in the first cleaning action is determined; Perform the first cleaning action to clean the tread surface of the steps.

[0042] Optionally, the control module is used for: When the tread width is less than or equal to a preset threshold, the first cleaning action is determined to include the cleaning device being in the second cleaning position.

[0043] Optionally, the control module is used for: When the tread width is greater than a preset threshold, the first cleaning action is determined to include the cleaning device being in the first cleaning posture and the second cleaning posture.

[0044] Optionally, the control module is used for: For a first area in the tread of the step, the first cleaning action is determined to include the cleaning device being in the first cleaning position, wherein the first area is the area in the tread of the step that is close to the riser of the step above. For the second region in the tread of the step, the first cleaning action is determined to include the cleaning device being in the second cleaning position, wherein the second region is the region in the tread of the step near the outer edge.

[0045] Optionally, the control module is used for: The outer wheel assembly is controlled to rotate relative to the main body of the device to move the outer wheel assembly to the tread of the next step, wherein the outer wheel assembly is the wheel assembly that is closer to the outer edge of the tread of the current step among the first wheel assembly and the second wheel assembly; With the outer wheel assembly supporting the tread of the next step, the cleaning device is controlled to clean the tread of the current step.

[0046] Fifthly, embodiments of this application provide an electronic device, including a processor and a memory, wherein the memory stores executable code, and when the executable code is executed by the processor, the processor can at least implement the stair cleaning method of the first or second aspect.

[0047] In a sixth aspect, embodiments of this application provide a non-transitory machine-readable storage medium storing executable code, which, when executed by a processor of an electronic device, enables the processor to at least implement the stair cleaning method of the first or second aspect.

[0048] This application allows for the automatic cleaning of staircases by controllable cleaning equipment, significantly reducing user time and labor costs. Before cleaning the staircase, the positional relationship between the staircase and the cleaning equipment can be determined. If the cleaning equipment is located below the staircase, it can first be controlled to climb to the top of the staircase and then clean from top to bottom. If the cleaning equipment is located on the staircase, it can directly clean from top to bottom. This method allows the cleaning equipment to clean from the highest step to the lowest step, preventing dust from falling back onto the already cleaned steps during cleaning, thus avoiding secondary pollution and ensuring the effectiveness and reliability of the designed cleaning path. Attached Figure Description

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

[0050] Figure 1 A schematic flowchart illustrating a stair cleaning method provided in an embodiment of this application; Figure 2 This is a schematic diagram of the structure of a cleaning device provided in an embodiment of this application; Figure 3 A schematic diagram of a step provided in an embodiment of this application; Figure 4 A side view of a cleaning device in a retracted state, provided as an embodiment of this application; Figure 5 A top view of a cleaning device in a retracted state, as provided in an embodiment of this application; Figure 6 A schematic flowchart illustrating another stair cleaning method provided in this application embodiment; Figure 7 This is a schematic diagram of the structure of a stair cleaning device provided in an embodiment of this application; Figure 8 This is a schematic diagram of another stair cleaning device provided in an embodiment of this application; Figure 9 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0051] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0052] The terminology used in the embodiments of this application is for the purpose of describing particular embodiments only and is not intended to limit the application. The singular forms “a,” “said,” and “the” used in the embodiments of this application and the appended claims are also intended to include the plural forms, and “multiple” generally includes at least two unless the context clearly indicates otherwise.

[0053] Depending on the context, the words “if” or “suppose” as used here can be interpreted as “when” or “in response to determination” or “in response to detection.” Similarly, depending on the context, the phrases “if determination” or “if detection (of the stated condition or event)” can be interpreted as “when determination” or “in response to determination” or “when detection (of the stated condition or event)” or “in response to detection (of the stated condition or event).”

[0054] Furthermore, the timing of the steps in the following method embodiments is merely an example and not a strict limitation.

[0055] In related technologies, the rationality of the path planning when cleaning multi-step staircases directly determines the final cleaning quality. Without a reasonable path design, the cleaning equipment often weaves haphazardly between narrow steps or repeatedly turns back, significantly reducing the overall cleaning effect. More problematic is that irregular paths can easily cause secondary pollution: the treads of steps just cleaned by the cleaning equipment may be re-contaminated with dust during subsequent detours or backtracking, or even carry dirt from uncleaned steps to cleaned steps, creating a situation where the more you sweep, the dirtier it gets. Therefore, standardized paths are urgently needed to ensure that each step is thoroughly and cleaned. To address this problem, this application proposes a staircase cleaning method.

[0056] Figure 1 A flowchart of a stair cleaning method provided in this application embodiment is shown below. Figure 1 As shown, the method includes the following steps: 101. In response to the first cleaning instruction, determine the positional relationship between the staircase to be cleaned and the cleaning equipment, wherein the staircase to be cleaned includes multiple steps.

[0057] In practical applications, cleaning equipment can initiate a stair cleaning task based on its onboard cliff sensors, 3D structured light, or AI vision cameras capturing the step differences and physical features at the edge of the stairs. The cleaning equipment can then confirm that the area belongs to the staircase and that cleaning is needed, thus triggering the first cleaning command. Alternatively, the algorithm can deeply analyze past cleaning history and whole-house map data. If it finds long-term dust accumulation or hair residue in the staircase area, the cleaning equipment will proactively include it in the current task, triggering the first cleaning command. Furthermore, user input can also trigger the first cleaning command. Whether manually selecting the staircase area through an app, setting a scheduled cleaning plan, or issuing a voice command like "go clean the stairs," all these actions can trigger the first cleaning command.

[0058] The above describes several mechanisms for triggering the generation of the first cleaning instruction. The mechanisms that can be used to trigger the generation of the first cleaning instruction vary in different application scenarios. The mechanism for triggering the generation of the first cleaning instruction can be set according to actual needs. This application does not limit this.

[0059] Upon triggering the generation of the first cleaning command, in response to the first cleaning command, the cleaning equipment can determine the positional relationship between the staircase to be cleaned and the cleaning equipment. This positional relationship can include the cleaning equipment being located below the staircase to be cleaned, or the cleaning equipment being located above the staircase to be cleaned. The cleaning equipment being located below the staircase to be cleaned can be interpreted as the cleaning equipment being located below the lowest step of the staircase to be cleaned; correspondingly, the cleaning equipment being located above the staircase to be cleaned can be interpreted as the cleaning equipment being located above the highest step of the staircase to be cleaned.

[0060] The following is a simple method for determining the positional relationship between cleaning equipment and the staircase to be cleaned: First, relative height can be detected using multiple downward-facing sensors: Infrared or laser downward-facing sensors can be installed at the front, back, left, and right sides of the bottom of the cleaning equipment. If the downward-facing sensor at the front of the cleaning equipment detects a significant vertical drop, while the downward-facing sensor at the rear detects the ground, it can be determined that the cleaning equipment is located on the stairs to be cleaned; conversely, if the downward-facing sensor at the front detects the riser of a step (the step to be climbed) of a certain height, while the downward-facing sensor at the rear detects the ground, it can be determined that the cleaning equipment is located below the stairs to be cleaned.

[0061] Secondly, 3D vision and structured light can be used to reconstruct 3D maps for judgment: Cleaning equipment equipped with AI (Artificial Intelligence) vision or 3D ToF (3D Time-of-Flight) cameras can directly scan and identify the physical structure in front of it. If the camera captures the tread of a continuously downward-extending staircase, it can be determined that the cleaning equipment is located on the staircase to be cleaned; if it captures the riser of a continuously upward-extending staircase, it can be determined that the cleaning equipment is located below the staircase to be cleaned. Combining point cloud data, the cleaning equipment can quickly construct a 3D model of the physical structure in front of it, thereby making an accurate judgment of its position.

[0062] In addition to the simple methods for determining the positional relationship between cleaning equipment and the stairs to be cleaned described above, different determination methods can be designed according to actual needs in different application scenarios. This application does not limit these methods.

[0063] 102. When the cleaning equipment is located under the stairs to be cleaned, control the cleaning equipment to climb to the top of the stairs to be cleaned, and control the cleaning equipment to perform the first cleaning action from top to bottom on the stairs to be cleaned.

[0064] In practical applications, if the cleaning equipment is determined to be located below the stairs to be cleaned based on its position, it can be deferred to cleaning the stairs immediately. Instead, the cleaning equipment can be guided to climb to the top of the stairs, specifically to the highest step. Then, the equipment can perform the first cleaning action, proceeding from top to bottom. This method allows the cleaning equipment to clean step by step, preventing dust from falling back onto already cleaned steps and causing secondary contamination. This ensures the designed cleaning path is effective and reliable.

[0065] like Figure 2 The diagram shown is a structural schematic of the cleaning device provided in an embodiment of this application. The cleaning device in this application includes a main body, a first wheel assembly, and a second wheel assembly. The first and second wheel assemblies are respectively rotatable relative to the main body to adjust to a retracted or extended state. This structural design enables the cleaning device to climb stairs to be cleaned. This capability allows the cleaning device to smoothly climb the stairs and clean different steps of the stairs during the climb.

[0066] The process of the cleaning equipment climbing the stairs to be cleaned can be achieved as follows: The first and second wheel foot components are controlled to lift the main body of the equipment to a position no lower than the tread of the next step; the cleaning equipment is controlled to move forward to a preset position, and upon reaching this preset position, the bottom of the main body of the equipment is controlled to land on the tread of the next step and move forward a preset distance; after the main body of the equipment has moved forward the preset distance, the first and second wheel foot components are controlled to rotate to the tread of the next step. This process represents the cleaning equipment climbing one step of the stairs to be cleaned, and by repeating this process, the equipment can climb to the top of the stairs.

[0067] First, the structure of the steps will be explained, such as... Figure 3As shown, the step consists of a tread and a riser, the positions of which are illustrated in the figure. In practical applications, the rotation of the first and second wheel components can be controlled. This rotation adjusts the extension and retraction of the first and second wheel components, allowing the equipment body to be raised to different heights. Based on this, the first and second wheel components can be controlled to raise the equipment body to a position no lower than the tread of the next step. Then, the first and second wheel components can be controlled to travel to a preset position. This preset position can be set based on the distance between the front end of the equipment body and the connection point. This connection point can be the location where either the first or second wheel component connects to the equipment body.

[0068] Assuming the aforementioned distance is referred to as distance A, the shortest distance between the bottom edge of the riser between the current step and the previous step and the end of the first or second wheel assembly is called distance B. The position of the end of the first or second wheel assembly, where distance A is less than distance B, can be set to the aforementioned preset position. With this setting, when the first and second wheel assemblies reach the preset position, the projection of the front end of the device body onto the tread of the next step should fall inside the outer edge of the previous step. When the first and second wheel assemblies reach the preset position, they can be controlled to rotate, causing the device body to fall. A portion of the bottom of the device body can land on the tread of the next step, while another portion can remain suspended, as long as the cleaning equipment does not tip over.

[0069] After the bottom of the main body of the equipment rests on the tread of the next step, the first and second wheel foot components can be controlled to move forward a preset distance, thus moving the main body of the equipment forward a preset distance. Alternatively, the main body of the equipment can be controlled to move forward a preset distance, with the first and second wheel foot components moving forward along with the main body.

[0070] The above describes how the cleaning equipment climbs to the top of the stairs to be cleaned. After climbing to the top, the cleaning equipment can be controlled to perform the first cleaning action from top to bottom. It should be noted that the cleaning equipment performs the first cleaning action step by step from top to bottom. During this process, the cleaning equipment can continue to descend, or it can descend to a certain step and then return to a higher step before descending again. All these processes should fall within the scope of protection of this application.

[0071] Optionally, the first cleaning instruction is used to instruct the staircase to be cleaned to undergo at least dry cleaning.

[0072] Understandably, when dry cleaning is required on stairs, if the cleaning equipment is located below the stairs, one must climb to the top to perform the cleaning. "At least dry cleaning" can be understood as including dry cleaning in the cleaning tasks performed; it can include only dry cleaning, or it can include both wet and dry cleaning. Dry cleaning (i.e., pure sweeping mode) can be explained as the process of removing solid contaminants from the ground through physical mechanical action and airflow control without the aid of liquid water or conventional water-based solvents, such as vacuuming. Wet cleaning can be explained as the process of introducing liquid water or conventional water-based solvents as a medium, using a combination of physical friction and chemical dissolution to remove stubborn stains, adhesions, and bacteria from the ground, such as wiping the floor.

[0073] If the first cleaning instruction requires at least dry cleaning of the staircase, then the execution of this instruction inevitably involves physical mechanical action and airflow control, which can easily stir up dust. This necessitates controlling the cleaning equipment to climb to the top of the staircase and then clean downwards sequentially. In this way, even if dust is stirred up during dry cleaning, most of it will fall onto the next step, and the cleaning equipment will remove the previously stirred-up dust when it reaches that step. However, if a bottom-up cleaning method is used, then when the next step has been cleaned, the dust generated during the dry cleaning of the previous step will fall onto the next step, causing secondary contamination, and the already cleaned areas will still be dirty.

[0074] It should be noted that, except when the cleaning equipment is located under the lowest step of the staircase to be cleaned, if the cleaning equipment is already on a step of the staircase to be cleaned when the first cleaning command is triggered, and if that step is not the highest step of the staircase to be cleaned, then the equipment must climb to the highest step of the staircase to be cleaned before performing the first cleaning action from top to bottom.

[0075] It is worth noting that if, in response to a first cleaning command, and based on the location relationship, the cleaning equipment is determined to be located below the stairs to be cleaned, the cleaning equipment can first be controlled to climb to the top of the stairs, and then the cleaning equipment can be controlled to perform the first cleaning action from top to bottom. The first cleaning action can be the action corresponding to the first cleaning command. For example, assuming the first cleaning command instructs that only dry cleaning be performed on the stairs, then the first cleaning action can correspond to the dry cleaning process. Assuming the first cleaning command instructs that both dry and wet cleaning be performed on the stairs, then the first cleaning action can include either the dry or wet cleaning process.

[0076] On the other hand, optionally, the method provided in the embodiments of this application may further include: in response to a second cleaning instruction, controlling the cleaning equipment to perform a second cleaning action on the stairs with the current step as the cleaning starting point, wherein the second cleaning instruction is used to instruct the stairs to be cleaned to be wet-cleaned.

[0077] In practical applications, the triggering method for the second cleaning command is similar to that of the first cleaning command, and will not be repeated here. If the second cleaning command is triggered, and this command only performs wet cleaning on the staircase to be cleaned, then regardless of the positional relationship between the cleaning equipment and the staircase, the second cleaning action can be executed directly. It is not necessary to climb to a specific point on the staircase to begin the second cleaning action; the cleaning equipment's current position on the step at the time the second cleaning command is triggered serves as the starting point for the second cleaning action. The second cleaning action corresponds to the action specified in the second cleaning command. Since the second cleaning command performs wet cleaning on the staircase alone, the second cleaning action is a wet cleaning process.

[0078] For example, if the cleaning equipment is located below the stairs to be cleaned when the second cleaning command is triggered, it can start cleaning directly from below the stairs and proceed upwards step by step. Alternatively, if the cleaning equipment is located on the 5th step in the middle of the stairs to be cleaned when the second cleaning command is triggered, it can start cleaning from the 5th step upwards, then descend from above the 6th step, and start cleaning from the 6th step downwards.

[0079] 103. When the cleaning equipment is located on the stairs to be cleaned, control the cleaning equipment to perform the first cleaning action from top to bottom on the stairs to be cleaned.

[0080] Returning to the scenario of responding to the first cleaning command, in this scenario, if it is determined based on the positional relationship that the cleaning equipment is located on the stairs to be cleaned, the cleaning equipment can be directly controlled to perform the first cleaning action from top to bottom on the stairs to be cleaned.

[0081] Optionally, the cleaning device has a first cleaning posture and a second cleaning posture. In the first cleaning posture, both the first wheel and the second wheel assembly are in a retracted state. In the second cleaning posture, one of the first wheel assembly and the second wheel assembly is in a retracted state, and the other is in an extended state. The first cleaning action includes cleaning with the cleaning device in the second cleaning posture.

[0082] like Figure 4 as well as Figure 5 The images shown are, in sequence, side and top views of the cleaning device in its retracted state. The extended and retracted states of the first and second wheel leg assemblies can be adjusted by their movement relative to the main body of the device.

[0083] In the first cleaning posture, both the first and second wheel foot components are in the folded state. That is, the first cleaning posture is the normal cleaning posture. The posture generally used when cleaning the ground is the first cleaning posture. In some cases, the first cleaning posture can also be used when cleaning stairs.

[0084] In the second cleaning posture, one of the first and second wheel-foot components is in a retracted state, while the other is in an extended state. In this position, the extended wheel-foot component can support the tread of the next step, providing stability and balance to the entire cleaning equipment and significantly preventing it from falling due to imbalance during cleaning. When cleaning the outer edge of the current step, since part of the equipment can rest on the tread while the other part is often suspended, the second cleaning posture can be used to improve the stability and balance of the cleaning equipment. Therefore, the first cleaning action must include at least cleaning in the second cleaning posture, while the first cleaning posture can be used as needed, depending on the width of the step tread.

[0085] Optionally, the process of controlling the cleaning equipment to perform the first cleaning action from top to bottom on the staircase to be cleaned can be implemented as follows: for each step i of the staircase to be cleaned, determine the tread width of step i; based on the tread width, determine the cleaning posture of the cleaning equipment included in the first cleaning action; and execute the determined first cleaning action to perform a cleaning operation on the tread of step i.

[0086] In practical applications, since some staircases to be cleaned are irregularly shaped, the tread width of each step is not uniform. Therefore, the tread width of step i can be measured before cleaning each step i. The following describes a method for measuring the tread width of step i: Step information of step i can be acquired using a vision camera, such as a 3D ToF camera, installed in the cleaning equipment. This step information can include edge and surface information of step i. Edge information can include the actual distances between physical points on the edge of step i and the cleaning equipment; surface information can include the actual distances between physical points on the surface of step i and the cleaning equipment. Specifically, a 3D point cloud array corresponding to step i can be constructed based on the actual distances between physical points on step i and the cleaning equipment from the step information. Based on this 3D point cloud array, the tread width of step i can be determined.

[0087] Taking a 3D ToF camera as an example, the 3D ToF camera emits modulated light pulses towards step i. These pulses are reflected back after encountering the surface of step i (which can be visualized as being composed of numerous physical points). The receiver inside the 3D ToF camera captures the reflected light and precisely measures the time difference between emission and return, then calculates the actual distance from the 3D ToF camera to each physical point. Each pixel in the 3D ToF camera independently completes this process. Finally, by combining the actual distances corresponding to all pixels, a three-dimensional point cloud array corresponding to step i is formed.

[0088] Based on the 3D point cloud array corresponding to step i, the vertical distance difference between the tread surface of the previous step and step i can be identified using the RANSAC (RANdom SAmpleConsensus) plane fitting algorithm, which is the height of step i. Secondly, depth edge detection or adjacent pixel depth difference analysis is used to determine the regions where depth changes abruptly; the abrupt change line corresponding to these regions is the edge position of step i. Finally, after determining the edge position, the effective point cloud range belonging to the tread surface of step i is calculated inwards from the edge position; its lateral span is the tread width of step i.

[0089] Based on the method described above, the tread width of step i can be determined. After determining the tread width, the cleaning posture of the cleaning equipment included in the first cleaning action can be determined based on the tread width. Finally, the determined first cleaning action is executed to clean the tread of step i.

[0090] Specifically, when step i is a relatively wide step, it can be divided into several units along the width of its tread. Each unit has a width of d and a length equal to the length of the tread of step i. Cleaning can begin from the inside of step i, i.e., the side closest to the riser between step i and the previous step, cleaning proceeding unit by unit. After cleaning one unit, move to the next adjacent unit, gradually moving towards the outer edge of the tread of step i. Conversely, when step i is a relatively narrow step, there is no need to divide it into units; cleaning the entire tread of step i can be completed in one pass along its length.

[0091] Optionally, the process of determining the cleaning posture of the cleaning equipment included in the first cleaning action based on the tread width can be implemented as follows: when the tread width is less than or equal to a preset threshold, the first cleaning action is determined to include the cleaning equipment in a second cleaning posture.

[0092] The preset threshold is related to the width of the unit obtained by dividing step i as mentioned above, and the preset threshold can be equal to the width of the unit. In this way, when the tread width of step i is less than or equal to the preset threshold, that is, when the tread width is less than the width of a unit, the tread of the entire step i can be cleaned without having to clean it multiple times along the length of step i according to the unit.

[0093] For a relatively narrow step i, the first cleaning action can be defined as the cleaning device assuming a second cleaning posture, that is, one of the first wheel and foot assembly and the second wheel and foot assembly is in a retracted state and the other is in an extended state. In this case, the wheel and foot assembly in the extended state can support the tread of the next step, improving the stability and balance of the cleaning device during the cleaning process of step i.

[0094] Optionally, the process of determining the cleaning posture of the cleaning equipment included in the first cleaning action based on the tread width can be implemented as follows: when the tread width is greater than a preset threshold, the first cleaning action is determined to include the cleaning equipment in a first cleaning posture and a second cleaning posture.

[0095] Accordingly, when the tread width exceeds a preset threshold, step i is considered a relatively wide step, and it can be divided into multiple units, each of which can be cleaned sequentially. When cleaning units closer to the inside, the first cleaning posture can be used because the entire or most of the equipment body is supported by the tread of step i, making its stability and balance more robust. However, when cleaning the outermost unit, since most of the equipment body may have lost the support of the tread of step i, the second cleaning posture can be switched to increase the support of the cleaning equipment, thereby improving its stability and balance.

[0096] Optionally, determining the first cleaning action, including the cleaning equipment assuming a first cleaning posture and a second cleaning posture, can be implemented as follows: for a first region in the tread of a step, determining the first cleaning action includes the cleaning equipment assuming a first cleaning posture, wherein the first region is the region in the tread of the step that is close to the riser of the next step; for a second region in the tread of a step, determining the first cleaning action includes the cleaning equipment assuming a second cleaning posture, wherein the second region is the region in the tread of the step that is close to the outer edge.

[0097] The first region can be understood as the several units near the inner side mentioned earlier, and the second region can be understood as a unit near the outer edge. That is, when cleaning the first region, a conventional first cleaning posture can be used, and when cleaning the second region, a second cleaning posture can be used to increase support. When cleaning the first region, a bow-shaped cleaning method can be used to ensure that all accessible areas of the first region are covered.

[0098] Optionally, when the first cleaning action includes a second cleaning posture, the process of executing the determined first cleaning action to clean the tread of the step can be implemented as follows: controlling the outer wheel assembly to rotate relative to the main body of the equipment to move the outer wheel assembly to the tread of the next step, wherein the outer wheel assembly is the wheel assembly closest to the outer edge of the tread of the current step among the first wheel assembly and the second wheel assembly; under the action of the outer wheel assembly supporting the tread of the next step, controlling the cleaning equipment to clean the tread of the current step.

[0099] The cleaning equipment can be adjusted to a second cleaning position using the above method, thereby increasing support during the cleaning process of the outer edge of step i.

[0100] Optionally, the process of controlling the cleaning equipment to perform the first cleaning action on the staircase to be cleaned from top to bottom can be implemented as follows: adjusting the orientation of the cleaning equipment to be consistent with the length direction of the current step's tread; controlling the cleaning equipment to clean the tread of the current step according to the adjusted orientation; after completing the cleaning process of the current step, if the current step is not the bottom step of the staircase to be cleaned, controlling the cleaning equipment to move to the next step.

[0101] Understandably, regardless of the width of the current step tread, the space on the tread is relatively limited relative to the ground, making it difficult for cleaning equipment to make large-angle turns on the current step tread. To improve the ease of cleaning the current step tread, the cleaning equipment can be oriented to align with the length of the current step tread, cleaning along its length. After cleaning the current step, if it is not the bottom step of the staircase to be cleaned, the cleaning equipment can be moved to the next step.

[0102] The preceding description outlines the process of cleaning the tread of the current step. Besides the tread, the riser also requires cleaning. Optionally, before controlling the cleaning equipment to move to the next step, the method provided in this application embodiment may further include: controlling the movement of the equipment body and / or the vertical cleaning component to bring the vertical cleaning component closer to the riser of the next step, wherein the vertical cleaning component is located on the equipment body; and responding to the vertical cleaning component contacting the riser of the next step, controlling the equipment body and / or the vertical cleaning component to move relative to the riser of the next step, so that the vertical cleaning component cleans the riser of the next step.

[0103] In practical applications, the movement of the main body of the equipment can be controlled independently, the movement of the facade cleaning component can be controlled independently, or the main body of the equipment and the facade cleaning component can be controlled to move together, so that the facade cleaning component can get closer to the riser of the next step.

[0104] It should be noted that because the treads of common stairs are relatively narrow, cleaning equipment cannot easily make large-angle directional adjustments on the tread surface, making it difficult for the equipment to turn around in such an environment. For cleaning equipment positioned on the tread surface, it can make small-angle adjustments to align its front end parallel to the length of the tread, allowing it to clean the tread laterally by moving forward or backward. When cleaning the riser of the step above, the equipment can also adopt the same posture as the tread. This means the cleaning equipment needs to be positioned sideways to clean the riser of the step above.

[0105] As described above, if the facade cleaning component is moved closer to the riser of the next step by controlling the movement of the main body of the equipment, the main body can be moved laterally to approach the riser. If the facade cleaning component is moved closer to the riser by controlling its movement, the component needs to be connected to an expansion mechanism. The expansion mechanism moves the component closer to the riser by extending it outward from the side of the cleaning equipment. If both methods are combined, the main body of the equipment and the cleaning component can move simultaneously.

[0106] To ensure that cleaning the riser surface of the next higher step covers as much of the surface as possible and avoids blind spots, a suitable cleaning path can be established. By ensuring the cleaning path covers as much of the riser surface as possible, blind spots can be effectively reduced. Before starting cleaning, one can first move to the planned starting position for riser cleaning and then proceed with the cleaning operation systematically along the cleaning path from that position.

[0107] Optionally, controlling the movement of the equipment body and / or the facade cleaning component to bring the facade cleaning component closer to the riser of the next step includes: determining the starting position for riser cleaning based on the geometric parameters of the riser of the next step; and controlling the movement of the equipment body and / or the facade cleaning component to move the facade cleaning component to the starting position for riser cleaning.

[0108] The geometric parameters of the riser of the previous step can include its length, height, and position coordinates. Based on these parameters, the position coordinates of the top-left, bottom-left, top-right, and bottom-right corners of the riser can be determined. Any one of these coordinates can be used as the starting point for riser cleaning. In this way, the position coordinates of any one of the four corners of the riser can be selected as the starting point for riser cleaning.

[0109] Additionally, it's important to note that due to the limited surface area of ​​the brushes on the facade cleaning unit, or limitations imposed by the equipment's structure, the facade cleaning unit may not perfectly conform to the top corner of the riser of the next higher step. In practice, efforts should be made to ensure the facade cleaning unit fits as close as possible to the top corner of the riser. By controlling the movement of the main body of the equipment and / or the facade cleaning unit, it can be brought closer to the riser of the next higher step, specifically to the designated starting position for cleaning, in preparation for subsequent cleaning operations.

[0110] Optionally, the process of controlling the movement of the main body of the equipment and / or the facade cleaning component relative to the riser of the upper step so that the facade cleaning component cleans the riser of the upper step can be implemented as follows: determining the cleaning path of the facade cleaning component on the riser of the upper step according to the geometric parameters of the riser of the upper step; controlling the movement of the main body of the equipment and / or the facade cleaning component so that the facade cleaning component moves along the cleaning path.

[0111] In practical applications, the cleaning path of the facade cleaning component on the riser of the preceding step can be planned based on its length, height, and position coordinates. It's important to note that if the riser of the step to be cleaned is significantly higher than the height of the facade cleaning component's brush, then one or more horizontal movements will not be sufficient to completely clean the entire riser. For example, if the riser height is 20cm and the brush height is 5cm, a single horizontal movement of the facade cleaning component will only cover 25% of the riser's height.

[0112] Because the cleaning equipment is equipped with a first wheel assembly and a second wheel assembly, the height of the main body of the equipment can be freely adjusted by changing the extension and retraction of the first and second wheel assemblies, thereby enabling the vertical movement of the facade cleaning component. Based on this, supported by the first and second wheel assemblies, the facade cleaning component can be raised a preset distance each time. By repeatedly raising and then moving horizontally after each raise, the entire riser surface of the next higher step can be thoroughly cleaned. For example, continuing from the previous example, the facade cleaning component can be moved 5cm vertically each time. Through three vertical movements, the facade cleaning component can clean different heights of the riser surface of the next higher step.

[0113] Optionally, the cleaning path may include at least one first path and at least one second path, wherein the first and second paths are not parallel. The first path is parallel to the stair treads, and the second path is perpendicular to the stair treads.

[0114] It should be noted that moving along the first path can be considered as a translation of the facade cleaning component. Moving along the second path can be considered as a vertical movement of the facade cleaning component. When planning the cleaning path, it can be designed as an arc shape formed by the first and second paths.

[0115] This application allows for the automatic cleaning of staircases by controllable cleaning equipment, significantly reducing user time and labor costs. Before cleaning the staircase, the positional relationship between the staircase and the cleaning equipment can be determined. If the cleaning equipment is located below the staircase, it can first be controlled to climb to the top of the staircase and then clean from top to bottom. If the cleaning equipment is located on the staircase, it can directly clean from top to bottom. This method allows the cleaning equipment to clean from the highest step to the lowest step, preventing dust from falling back onto the already cleaned steps during cleaning, thus avoiding secondary pollution and ensuring the effectiveness and reliability of the designed cleaning path.

[0116] like Figure 6 As shown in another embodiment of this application, a flowchart illustrating another stair cleaning method is provided. This method may include the following steps: 601. Control the cleaning equipment to move to the first step and perform the first cleaning action on the first step, wherein the first step is the step in the staircase to be cleaned.

[0117] 602. In response to the cleaning equipment finishing its cleaning operation on the first step, the cleaning equipment is controlled to move to the second step and perform the first cleaning action on the second step, wherein the second step is the step adjacent to the first step in the staircase to be cleaned, and the first step is higher than the second step in the staircase to be cleaned.

[0118] This embodiment is similar to the previous embodiment in its implementation process; for similar processes, please refer to the relevant description in the previous embodiment. The difference between this embodiment and the previous embodiment is that cleaning is performed on the first step and the adjacent second step, and the first step is higher than the second step. For multiple steps in the staircase to be cleaned, any step can be considered the first step, and the next adjacent step can be considered the second step. Steps 501-502 can be performed on each first step. By repeatedly performing steps 501-502, cleaning of each step in the staircase to be cleaned can be achieved, thus achieving complete cleaning of the staircase.

[0119] Optionally, the first cleaning action may include at least dry cleaning.

[0120] Optionally, the cleaning device includes a device body, a first wheel assembly, and a second wheel assembly; wherein the first wheel assembly and the second wheel assembly are respectively rotatable relative to the device body to adjust to a retracted state or an extended state; the cleaning device has a first cleaning posture and a second cleaning posture, in the first cleaning posture both the first wheel assembly and the second wheel assembly are in a retracted state; in the second cleaning posture, one of the first wheel assembly and the second wheel assembly is in a retracted state and the other is in an extended state; the first cleaning action includes at least the cleaning device cleaning in the second cleaning posture.

[0121] Optionally, a first cleaning action is performed on the first step or the second step, including: determining the tread width of the step for the first step or the second step; determining the cleaning posture of the cleaning equipment included in the first cleaning action based on the tread width; and performing the determined first cleaning action to clean the tread of the step.

[0122] Optionally, based on the tread width, determining the cleaning posture of the cleaning equipment included in the first cleaning action includes: when the tread width is less than or equal to a preset threshold, determining that the first cleaning action includes the cleaning equipment assuming a second cleaning posture.

[0123] Optionally, based on the tread width, the cleaning posture of the cleaning device included in the first cleaning action is determined, including: when the tread width is greater than a preset threshold, the first cleaning action is determined to include the cleaning device in a first cleaning posture and a second cleaning posture.

[0124] Optionally, determining the first cleaning action includes the cleaning equipment being in a first cleaning position and a second cleaning position, including: for a first area in the tread of the step, determining the first cleaning action includes the cleaning equipment being in a first cleaning position, wherein the first area is the area in the tread of the step near the riser of the next step; for a second area in the tread of the step, determining the first cleaning action includes the cleaning equipment being in a second cleaning position, wherein the second area is the area in the tread of the step near the outer edge.

[0125] Optionally, when the first cleaning action includes a second cleaning posture, a determined first cleaning action is performed to clean the tread of the step, including: controlling the outer wheel assembly to rotate relative to the main body of the equipment to move the outer wheel assembly to the tread of the next step, wherein the outer wheel assembly is the wheel assembly closest to the outer edge of the tread of the current step among the first wheel assembly and the second wheel assembly; and controlling the cleaning equipment to clean the tread of the current step under the support of the outer wheel assembly on the tread of the next step.

[0126] This application allows for the automatic cleaning of staircases by controllable cleaning equipment, significantly reducing user time and labor costs. Before cleaning the staircase, the positional relationship between the staircase and the cleaning equipment can be determined. If the cleaning equipment is located below the staircase, it can first be controlled to climb to the top of the staircase and then clean from top to bottom. If the cleaning equipment is located on the staircase, it can directly clean from top to bottom. This method allows the cleaning equipment to clean from the highest step to the lowest step, preventing dust from falling back onto the already cleaned steps during cleaning, thus avoiding secondary pollution and ensuring the effectiveness and reliability of the designed cleaning path.

[0127] The stair cleaning apparatus of one or more embodiments of this application will be described in detail below. Those skilled in the art will understand that these stair cleaning apparatuses can all be configured using commercially available hardware components through the steps taught in this solution.

[0128] Figure 7 This is a structural schematic diagram of a stair cleaning device provided in an embodiment of this application, as shown below. Figure 7 As shown, the device includes: The determination module 61 is used to determine the positional relationship between the staircase to be cleaned and the cleaning equipment in response to the first cleaning command, wherein the staircase to be cleaned includes multiple steps; The cleaning module 62 is used to control the cleaning equipment to climb to the top of the stairs to be cleaned when the cleaning equipment is located below the stairs to be cleaned, and to control the cleaning equipment to perform the first cleaning action from top to bottom on the stairs to be cleaned; and to control the cleaning equipment to perform the first cleaning action from top to bottom on the stairs to be cleaned when the cleaning equipment is located on the stairs to be cleaned.

[0129] Optionally, the first cleaning instruction is used to instruct the staircase to be cleaned to undergo at least dry cleaning.

[0130] Optionally, the cleaning device includes a device body, a first wheel assembly, and a second wheel assembly; wherein the first wheel assembly and the second wheel assembly are respectively rotatable relative to the device body to adjust to a retracted state or an extended state; The cleaning device has a first cleaning posture and a second cleaning posture. In the first cleaning posture, both the first wheel and the second wheel are in a retracted state. In the second cleaning posture, one of the first wheel and the second wheel is in a retracted state and the other is in an extended state. The first cleaning action includes cleaning with the cleaning device in the second cleaning posture.

[0131] Optionally, the cleaning module 62 is used for: For each step of the staircase to be cleaned, determine the tread width of the step; Based on the tread width, determine the cleaning posture of the cleaning equipment included in the first cleaning action; Perform the first cleaning action as determined to clean the treads of the steps.

[0132] Optionally, the cleaning module 62 is used for: When the tread width is less than or equal to a preset threshold, the first cleaning action is determined to include the cleaning equipment assuming a second cleaning posture.

[0133] Optionally, the cleaning module 62 is used for: When the tread width is greater than a preset threshold, the first cleaning action is determined to include the cleaning equipment being in a first cleaning posture and a second cleaning posture.

[0134] Optionally, the cleaning module 62 is used for: For the first area in the tread of the step, the first cleaning action is defined as the cleaning equipment being in a first cleaning position, wherein the first area is the area in the tread of the step that is close to the riser of the step above. For the second region in the tread of the step, the first cleaning action is defined as the cleaning device assuming a second cleaning position, wherein the second region is the area in the tread of the step near the outer edge.

[0135] Optionally, the cleaning module 62 is used for: The outer wheel assembly is controlled to rotate relative to the main body of the equipment to move the outer wheel assembly to the tread of the next step. The outer wheel assembly is the wheel assembly that is closest to the outer edge of the tread of the current step in the first wheel assembly and the second wheel assembly. With the outer wheel assembly supporting the tread of the next step, the cleaning equipment is controlled to clean the tread of the current step.

[0136] Optionally, the cleaning module 62 is also used for: In response to the second cleaning command, the cleaning equipment is controlled to perform a second cleaning action on the stairs, starting from the current step. The second cleaning command is used to instruct the stairs to be cleaned to be wet-cleaned.

[0137] Optionally, the cleaning module 62 is used for: Adjust the orientation of the cleaning equipment to align with the length of the current step tread; Control the cleaning equipment to clean the tread of the current step according to the adjusted orientation; After completing the cleaning process on the current step, if the current step is not the bottom step of the staircase to be cleaned, the cleaning equipment is controlled to move to the next step.

[0138] Optionally, the cleaning module 62 is also used for: Control the movement of the main body of the equipment and / or the facade cleaning components so that the facade cleaning components are close to the riser of the next step, wherein the facade cleaning components are located on the main body of the equipment; In response to the facade cleaning component contacting the riser of the next step, the control unit and / or the facade cleaning component move relative to the riser of the next step so that the facade cleaning component cleans the riser of the next step.

[0139] Optionally, the cleaning module 62 is used for: Determine the starting position for cleaning the riser based on the geometric parameters of the riser of the next step. Control the movement of the main body of the equipment and / or the facade cleaning components to move the facade cleaning components to the starting position for facade cleaning.

[0140] Optionally, the cleaning module 62 is used for: Based on the geometric parameters of the riser of the next step, determine the cleaning path of the facade cleaning component on the riser of the next step. Control the movement of the main body of the equipment and / or the facade cleaning components so that the facade cleaning components move along the cleaning path.

[0141] Figure 8 This is a structural schematic diagram of a stair cleaning device provided in an embodiment of this application, as shown below. Figure 8 As shown, the device includes: The control module 71 is used to control the cleaning equipment to move to the first step and perform the first cleaning action on the first step, wherein the first step is a step in the staircase to be cleaned; The control module 71 is used to control the cleaning equipment to move to the second step in response to the cleaning equipment finishing the cleaning operation on the first step, and to perform the first cleaning action on the second step, wherein the second step is the step adjacent to the first step in the staircase to be cleaned, and the first step is higher than the second step in the staircase to be cleaned.

[0142] Optionally, the first cleaning action may include at least dry cleaning.

[0143] Optionally, the cleaning device includes a device body, a first wheel assembly, and a second wheel assembly; wherein the first wheel assembly and the second wheel assembly are respectively rotatable relative to the device body to adjust to a retracted state or an extended state; The cleaning device has a first cleaning posture and a second cleaning posture. In the first cleaning posture, both the first wheel and the second wheel are in a retracted state. In the second cleaning posture, one of the first wheel and the second wheel is in a retracted state and the other is in an extended state. The first cleaning action includes cleaning with the cleaning device in the second cleaning posture.

[0144] Optionally, the control module 71 is used for: For the first or second step, determine the tread width of the step; Based on the tread width, determine the cleaning posture of the cleaning equipment included in the first cleaning action; Perform the first cleaning action as determined to clean the treads of the steps.

[0145] Optionally, the control module 71 is used for: When the tread width is less than or equal to a preset threshold, the first cleaning action is determined to include the cleaning equipment assuming a second cleaning posture.

[0146] Optionally, the control module 71 is used for: When the tread width is greater than a preset threshold, the first cleaning action is determined to include the cleaning equipment being in a first cleaning posture and a second cleaning posture.

[0147] Optionally, the control module 71 is used for: For the first area in the tread of the step, the first cleaning action is defined as the cleaning equipment being in a first cleaning position, wherein the first area is the area in the tread of the step that is close to the riser of the step above. For the second region in the tread of the step, the first cleaning action is defined as the cleaning device assuming a second cleaning position, wherein the second region is the area in the tread of the step near the outer edge.

[0148] Optionally, the control module 71 is used for: The outer wheel assembly is controlled to rotate relative to the main body of the equipment to move the outer wheel assembly to the tread of the next step. The outer wheel assembly is the wheel assembly that is closest to the outer edge of the tread of the current step in the first wheel assembly and the second wheel assembly. With the outer wheel assembly supporting the tread of the next step, the cleaning equipment is controlled to clean the tread of the current step.

[0149] Figure 7 , 8 The device shown can perform the aforementioned Figures 1 to 6 The stair cleaning method provided in the illustrated embodiment, for detailed execution process and technical effects, can be found in the description of the foregoing embodiments, and will not be repeated here.

[0150] In one possible design, the above Figure 7 , 8 The structure of the stair cleaning device shown can be implemented as an electronic device, such as... Figure 9 As shown, the electronic device may include a processor 91 and a memory 92. The memory 92 stores executable code, which, when executed by the processor 91, enables the processor 91 to at least perform the functions described above. Figures 1 to 6 The stair cleaning method provided in the illustrated embodiment.

[0151] Optionally, the electronic device may also include a communication interface 93 for communicating with other devices.

[0152] Furthermore, embodiments of this application provide a non-transitory machine-readable storage medium storing executable code. When the executable code is executed by a processor of an electronic device, the processor is able to at least perform the functions described above. Figures 1 to 6 The stair cleaning method provided in the illustrated embodiment.

[0153] The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separate. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.

[0154] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of a necessary general-purpose hardware platform, or by a combination of hardware and software. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a computer product. This application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0155] The stair cleaning method provided in this application embodiment can be executed by a program / software, which can be provided by a network side. The electronic device mentioned in the foregoing embodiment can download the program / software to a local non-volatile storage medium, and when it needs to execute the aforementioned stair cleaning method, the CPU reads the program / software into memory, and then the CPU executes the program / software to implement the stair cleaning method provided in the foregoing embodiment. The execution process can be referred to the foregoing embodiment. Figures 1 to 6 The illustration is shown in the image.

[0156] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.

Claims

1. A method of cleaning a staircase, characterized by, include: In response to a first cleaning command, the positional relationship between the staircase to be cleaned and the cleaning equipment is determined, wherein the staircase to be cleaned includes multiple steps; When the cleaning equipment is located under the stairs to be cleaned, control the cleaning equipment to climb to the top of the stairs to be cleaned, and control the cleaning equipment to perform the first cleaning action on the stairs to be cleaned from top to bottom; When the cleaning equipment is located on the staircase to be cleaned, the cleaning equipment is controlled to perform a first cleaning action on the staircase from top to bottom.

2. The method of claim 1, wherein, The first cleaning instruction is used to instruct that at least dry cleaning be performed on the staircase to be cleaned.

3. The method of claim 1, wherein, The cleaning device includes a main body, a first wheel assembly, and a second wheel assembly; wherein the first wheel assembly and the second wheel assembly are respectively rotatable relative to the main body to adjust to a retracted state or an extended state; The cleaning device has a first cleaning posture and a second cleaning posture. In the first cleaning posture, both the first wheel assembly and the second wheel assembly are in a retracted state. In the second cleaning posture, one of the first wheel assembly and the second wheel assembly is in a retracted state, and the other is in an extended state. The first cleaning action includes at least the cleaning device performing cleaning in the second cleaning posture.

4. The method of claim 3, wherein, The control of the cleaning equipment to perform a first cleaning action on the staircase to be cleaned from top to bottom includes: For each step of the staircase to be cleaned, determine the tread width of the step; Based on the tread width, the cleaning posture of the cleaning equipment included in the first cleaning action is determined; Perform the first cleaning action to clean the tread surface of the steps.

5. The method of claim 4, wherein, Determining the cleaning posture of the cleaning equipment in the first cleaning action based on the tread width includes: When the tread width is less than or equal to a preset threshold, the first cleaning action is determined to include the cleaning device being in the second cleaning position.

6. The method of claim 4, wherein, Determining the cleaning posture of the cleaning equipment in the first cleaning action based on the tread width includes: When the tread width is greater than a preset threshold, the first cleaning action is determined to include the cleaning device being in the first cleaning posture and the second cleaning posture.

7. The method according to claim 6, characterized in that, The determination of the first cleaning action includes the cleaning device being in the first cleaning posture and the second cleaning posture, including: For a first area in the tread of the step, the first cleaning action is determined to include the cleaning device being in the first cleaning position, wherein the first area is the area in the tread of the step that is close to the riser of the step above. For the second region in the tread of the step, the first cleaning action is determined to include the cleaning device being in the second cleaning position, wherein the second region is the region in the tread of the step near the outer edge.

8. The method according to claim 5 or 6, characterized in that, When the first cleaning action includes the second cleaning posture, executing the determined first cleaning action to clean the tread of the step includes: The outer wheel assembly is controlled to rotate relative to the main body of the device to move the outer wheel assembly to the tread of the next step, wherein the outer wheel assembly is the wheel assembly that is closer to the outer edge of the tread of the current step among the first wheel assembly and the second wheel assembly; With the outer wheel assembly supporting the tread of the next step, the cleaning device is controlled to clean the tread of the current step.

9. The method according to claim 1, characterized in that, The method further includes: In response to a second cleaning command, the cleaning equipment is controlled to perform a second cleaning action on the staircase to be cleaned, starting from the current step. The second cleaning command is used to instruct the staircase to be cleaned to be wet-cleaned.

10. The method according to claim 1, characterized in that, The control of the cleaning equipment to perform a first cleaning action on the staircase to be cleaned from top to bottom includes: Adjust the orientation of the cleaning equipment to align with the length direction of the current step tread; The cleaning equipment is controlled to clean the tread surface of the current step according to the adjusted orientation; After completing the cleaning process on the current step, if the current step is not the lowest step of the staircase to be cleaned, the cleaning equipment is controlled to move to the next step.

11. The method according to claim 10, characterized in that, Before controlling the cleaning equipment to move to the next step, the method further includes: Control the movement of the main body of the equipment and / or the facade cleaning component so that the facade cleaning component is close to the riser of the next step, wherein the facade cleaning component is located on the main body of the equipment; In response to the facade cleaning component contacting the kick surface of the upper step, the device body and / or the facade cleaning component are controlled to move relative to the kick surface of the upper step, so that the facade cleaning component cleans the kick surface of the upper step.

12. The method according to claim 11, characterized in that, The movement of the control device body and / or the facade cleaning component, to bring the facade cleaning component closer to the riser of the next step, includes: Determine the starting position for cleaning the riser surface based on the geometric parameters of the riser surface of the previous step. Control the movement of the main body of the equipment and / or the facade cleaning component to move the facade cleaning component to the starting position of the facade cleaning.

13. The method according to claim 11, characterized in that, The control of the device body and / or the facade cleaning component to move relative to the riser of the upper step, so that the facade cleaning component cleans the riser of the upper step, includes: Based on the geometric parameters of the riser of the upper step, determine the cleaning path of the facade cleaning component on the riser of the upper step; Control the movement of the main body of the equipment and / or the facade cleaning component so that the facade cleaning component moves along the cleaning path.

14. A method for cleaning stairs, characterized in that, include: The cleaning equipment is controlled to move to the first step and perform a first cleaning action on the first step, wherein the first step is a step in the staircase to be cleaned; In response to the cleaning device ending its cleaning operation on the first step, the cleaning device is controlled to move to the second step and perform the first cleaning action on the second step, wherein the second step is the step adjacent to the first step in the staircase to be cleaned, and the first step is higher than the second step in the staircase to be cleaned.

15. The method according to claim 14, characterized in that, The first cleaning action includes at least dry cleaning.

16. The method according to claim 14, characterized in that, The cleaning device includes a main body, a first wheel assembly, and a second wheel assembly; wherein the first wheel assembly and the second wheel assembly are respectively rotatable relative to the main body to adjust to a retracted state or an extended state; The cleaning device has a first cleaning posture and a second cleaning posture. In the first cleaning posture, both the first wheel assembly and the second wheel assembly are in a retracted state. In the second cleaning posture, one of the first wheel assembly and the second wheel assembly is in a retracted state, and the other is in an extended state. The first cleaning action includes at least the cleaning device performing cleaning in the second cleaning posture.

17. The method according to claim 16, characterized in that, Perform a first cleaning action on the first step or the second step, including: For either the first step or the second step, determine the tread width of the step; Based on the tread width, the cleaning posture of the cleaning equipment included in the first cleaning action is determined; Perform the first cleaning action to clean the tread surface of the steps.

18. The method according to claim 17, characterized in that, Determining the cleaning posture of the cleaning equipment in the first cleaning action based on the tread width includes: When the tread width is less than or equal to a preset threshold, the first cleaning action is determined to include the cleaning device being in the second cleaning position.

19. The method according to claim 17, characterized in that, Determining the cleaning posture of the cleaning equipment in the first cleaning action based on the tread width includes: When the tread width is greater than a preset threshold, the first cleaning action is determined to include the cleaning device being in the first cleaning posture and the second cleaning posture.

20. The method according to claim 19, characterized in that, The determination of the first cleaning action includes the cleaning device being in the first cleaning posture and the second cleaning posture, including: For a first area in the tread of the step, the first cleaning action is determined to include the cleaning device being in the first cleaning position, wherein the first area is the area in the tread of the step that is close to the riser of the step above. For the second region in the tread of the step, the first cleaning action is determined to include the cleaning device being in the second cleaning position, wherein the second region is the region in the tread of the step near the outer edge.

21. The method according to claim 18 or 19, characterized in that, When the first cleaning action includes the second cleaning posture, executing the determined first cleaning action to clean the tread of the step includes: The outer wheel assembly is controlled to rotate relative to the main body of the device to move the outer wheel assembly to the tread of the next step, wherein the outer wheel assembly is the wheel assembly that is closer to the outer edge of the tread of the current step among the first wheel assembly and the second wheel assembly; With the outer wheel assembly supporting the tread of the next step, the cleaning device is controlled to clean the tread of the current step.

22. A stair cleaning device, characterized in that, include: A determination module is used to determine the positional relationship between the staircase to be cleaned and the cleaning equipment in response to a first cleaning command, wherein the staircase to be cleaned includes multiple steps; The cleaning module is used to control the cleaning device to climb to the top of the stairs to be cleaned when the cleaning device is located below the stairs to be cleaned, and to control the cleaning device to perform a first cleaning action on the stairs to be cleaned from top to bottom; and to control the cleaning device to perform a first cleaning action on the stairs to be cleaned from top to bottom when the cleaning device is located on the stairs to be cleaned.

23. A stair cleaning device, characterized in that, include: The control module is used to control the cleaning equipment to move to the first step and perform a first cleaning action on the first step, wherein the first step is a step in the staircase to be cleaned; The control module is configured to, in response to the cleaning device ending its cleaning operation on the first step, control the cleaning device to move to the second step and perform the first cleaning action on the second step, wherein the second step is the step adjacent to the first step in the staircase to be cleaned, and the first step is higher than the second step in the staircase to be cleaned.

24. An electronic device, characterized in that, include: A memory and a processor; wherein the memory stores executable code, which, when executed by the processor, causes the processor to perform the stair cleaning method as claimed in any one of claims 1-13 or any one of claims 14-21.

25. A non-transitory machine-readable storage medium, characterized in that, The non-transitory machine-readable storage medium stores executable code that, when executed by a processor of an electronic device, causes the processor to perform the stair cleaning method as claimed in any one of claims 1-13 or any one of claims 14-21.