Self-adaptive cleaning method and device, medium, equipment and robot

CN118614820APending Publication Date: 2024-09-10BEIJING KAPULA SCI&TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410859115.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-28
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

Existing sweeping robots lack adaptability when cleaning and cannot independently adjust cleaning routes according to the cleanliness of different areas on the floor and user expectations, resulting in low cleaning efficiency and poor user experience.

Method used

By obtaining the current cleanliness of the grid cells in the preset target area and the preset cleaning method, the cleanliness level is determined, and the target cleaning path is planned based on the cleanliness level and cleaning method, so that the cleaning robot can adaptively adjust the cleaning route according to the floor area and user expectations. .

Benefits of technology

It improves cleaning efficiency, enables cleaning results to meet user expectations faster, improves user experience, and reduces ineffective movement and wear of the robot through reasonable planning of cleaning paths and priorities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118614820A
    Figure CN118614820A
Patent Text Reader

Abstract

The invention belongs to the technical field of cleaning robots, and particularly relates to a self-adaptive cleaning method and device, a medium, equipment and a robot. The method comprises the following steps: acquiring a preset target area, the current cleanliness of each grid unit in the target area and a preset cleaning mode for the target area; determining the cleanliness level of each grid unit according to the current cleanliness; determining a target cleaning path according to the cleanliness grade and the cleaning mode of each grid unit; and cleaning the target area according to the target cleaning path. Therefore, the cleaning robot can adaptively plan the cleaning route according to the cleaning level of each area on the ground and the expectation of the user, the cleaning efficiency is improved, the cleaning effect meets the expectation of the user as soon as possible, and the use experience of the user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of cleaning robots, and specifically relates to an adaptive cleaning method, device, medium, equipment and robot. Background Art

[0002] Sweeping robot products have been widely used in thousands of households. The cleaning method of most robots is blind, that is, no matter how clean different locations on the ground are, they will clean according to a fixed cleaning process. For example, when the user finds that a local area on the ground is very dirty, he will hope that the sweeping robot can clean that area, but the sweeping robot will clean the entire preset area step by step, causing some areas that do not need to be cleaned to be cleaned repeatedly, and it cannot clean the areas that users want to clean quickly in time, and it cannot adaptively adjust its own cleaning method according to the actual ground conditions, resulting in low cleaning efficiency and poor user experience. Summary of the invention

[0003] In response to the above technical problems, the present invention proposes an adaptive cleaning method, device, medium, equipment and robot. The present application obtains a preset target area, the current cleanliness of each grid unit in the target area and the preset cleaning method for the target area; determines the cleanliness level of each grid unit according to the current cleanliness; determines the target cleaning path according to the cleanliness level and the cleaning method of each grid unit; and cleans the target area according to the target cleaning path. The cleaning robot can adaptively plan the cleaning route according to the cleanliness level of each area of ​​the ground and the user's expectations, improve the cleaning efficiency, make the cleaning effect meet the user's expectations as soon as possible, and improve the user experience.

[0004] To solve the above technical problems, the technical solution provided by the present invention includes five aspects.

[0005] In a first aspect, the present application provides an adaptive cleaning method, comprising: obtaining a preset target area, the current cleanliness of each grid unit in the target area, and a preset cleaning method for the target area; determining the cleanliness level of each grid unit according to the current cleanliness; determining a target cleaning path according to the cleanliness level and the cleaning method of each grid unit; and cleaning the target area according to the target cleaning path.

[0006] In some embodiments, determining the target cleaning path according to the cleanliness level and the cleaning method of each grid unit includes: constructing a plurality of adjacent grid units with the same cleanliness level into a level area; determining a level cleaning order according to the cleaning method; and determining the target cleaning path according to the level cleaning order and each of the level areas.

[0007] In some embodiments, determining the target cleaning path according to the grade cleaning order and each of the grade areas includes: determining the sub-paths of each grade area according to the area shapes of each grade area; determining the target grade that needs to be currently planned and the next grade that needs to be planned according to the grade cleaning order; determining the first grade area according to the target grade; determining the first cleaning path according to the sub-paths of each of the first grade areas; determining the passing grade area according to the first cleaning path; determining the grade area corresponding to the next grade in the passing grade area as the second grade area; merging the sub-paths corresponding to each of the second grade areas into the first cleaning path to form a second cleaning path; determining the target grade cleaning path according to the second cleaning path and the first cleaning path; determining the target cleaning path according to each of the target grade cleaning paths.

[0008] In some embodiments, determining the target level cleaning path based on the second cleaning path and the first cleaning path includes: obtaining a preset proportional threshold; determining a first cleaning time based on the first cleaning path; determining a second cleaning time based on the second cleaning path; determining a duration increase ratio based on the second cleaning time and the first cleaning time; and determining that the target level cleaning path is the second cleaning path or the first cleaning path based on the duration increase ratio and the proportional threshold.

[0009] In some embodiments, the cleaning method includes: a high cleanliness priority method, a low cleanliness priority method and a mixed order method; the determination of the level cleaning order according to the cleaning method includes: when the cleaning method is the high cleanliness priority method, the areas with higher cleanliness levels will be cleaned first, and the level cleaning order is arranged from high to low according to the cleaning levels; when the cleaning method is the low cleanliness priority method, the areas with lower cleanliness levels will be cleaned first, and the level cleaning order is arranged from low to high according to the cleaning levels; when the cleaning method is a mixed cleaning method, the areas with lower cleanliness levels will be cleaned first, and then cleaned according to the high cleanliness priority method, and the level cleaning order is first arranged from low to high according to the cleanliness levels to the preset level, and then arranged from high to low according to the cleanliness levels.

[0010] In some embodiments, determining the first-level area according to the target level includes: acquiring unplanned level areas to be planned; and determining the first-level area in each of the level areas to be planned according to the target level.

[0011] In some embodiments, determining the cleanliness level of each grid unit based on the current cleanliness includes: obtaining a preset first level table, wherein the first level table presets a correspondence between the current cleanliness and the cleanliness level; determining the cleanliness level of each grid unit based on the current cleanliness of each grid unit and the first level table.

[0012] In some embodiments, determining the cleanliness level of each grid unit based on the current cleanliness also includes: obtaining a preset target cleanliness and a preset second grade table for each grid unit in the target area, wherein the second grade table has a preset correspondence between cleanliness difference and cleanliness level; determining the cleanliness difference of each grid unit based on the target cleanliness of each grid unit and the current cleanliness; determining the cleanliness level of each grid unit based on the cleanliness difference of each grid unit and the second grade table.

[0013] In some embodiments, the second level table further includes: a cleaning-free level; and the method further includes: not performing a cleaning operation on each grid unit whose cleaning level is the cleaning-free level.

[0014] In the second aspect, the present application provides an adaptive cleaning device, comprising: a first acquisition module, used to acquire a preset target area, the current cleanliness of each grid unit in the target area and a preset cleaning method for the target area; a first determination module, used to determine the cleanliness level of each grid unit according to the current cleanliness; a second determination module, used to determine a target cleaning path according to the cleanliness level and the cleaning method of each grid unit; a first execution module, used to clean the target area according to the target cleaning path.

[0015] In a third aspect, the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory, wherein the processor executes the computer program to implement the steps of any one of the methods described in the first aspect.

[0016] In a fourth aspect, the present application provides a readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of any one of the methods described in the first aspect.

[0017] In a fifth aspect, the present application provides a cleaning robot, comprising a robot body and the electronic device as described in the third aspect, wherein the robot body is connected to the electronic device.

[0018] Beneficial effects created by the present invention: The present application obtains a preset target area, the current cleanliness of each grid unit in the target area, and the preset cleaning method for the target area; determines the cleanliness level of each grid unit according to the current cleanliness; determines the target cleaning path according to the cleanliness level and the cleaning method of each grid unit; and cleans the target area according to the target cleaning path. The cleaning robot can adaptively plan the cleaning route according to the cleanliness level of each area on the ground and the user's expectations, improve the cleaning efficiency, and make the cleaning effect meet the user's expectations as soon as possible, thereby improving the user's experience. (1) Therefore, in order to better manage and plan each grid unit of each level in the present application, these areas connected by the same cleaning level are constituted into a level area. (2) In order to improve the cleaning efficiency, it is necessary to plan the path of each level area so that the cleaning time of each level area is as short as possible, so it is necessary to determine the sub-path of each level area according to the area shape of each level area. (3) In order to shorten the running time of the robot between each level area as much as possible, it is necessary to improve the cleaning efficiency of each cleaning path as much as possible. Therefore, the present application also needs to consider whether the robot can make full use of the transfer time when transferring between different level areas, or shorten the time used for transfer, and whether some level areas passed by can be cleaned along the way. (4) Although the robot can choose to clean the level areas passed by during the movement, since the cleaning time required for different level areas is different, this will cause the robot's cleaning efficiency for the current level to be seriously reduced, and it is difficult to quickly meet the user's psychological expectations. Therefore, in the present application, the level areas of the next level (or even the next two levels) in the cleaning level sequence passed by should be considered. (5) However, since the present application sets the cleaning level and designs the cleaning priority, the purpose is to achieve the cleaning of the ground to quickly meet the user's psychological expectations. Therefore, although cleaning some level areas of other levels during the transfer process is conducive to shortening the overall time, it will affect the cleaning time of the current level. Therefore, it is still necessary to determine whether the second cleaning path can become the cleaning path of the target level. (6) After determining the target cleaning path, the target area can be cleaned according to the target cleaning path, so that the cleaning robot can adaptively clean the ground according to the ground conditions and the user's expectations, thereby improving the user experience.(7) Since the robot in the prior art has the same priority level when cleaning the floor, it can directly clean according to the current cleanliness. However, in this application, if different priorities are used for cleaning according to the current cleanliness, a huge priority chain will be formed in the entire target area, and the robot will waste most of its time on moving between grid units. Therefore, in order to reduce the ineffective movement distance and movement time of the cleaning robot, this application proposes a cleanliness level, which classifies the current cleanliness within a certain range into one cleanliness level, so that the grid units with current cleanliness within a certain range belong to the same priority level, thereby reducing the priority level and further reducing the ineffective movement and movement time of the cleaning robot. (8) Of course, in some cases, the current cleanliness level determined solely based on the current cleanliness will have a certain error. Due to different wear conditions of different floors and different patterns on the floors, the cleanliness level divided according to the current cleanliness will cause deviations. For example, due to wear, the current cleanliness value may be higher or lower than the actual value. Therefore, this application also introduces a target cleanliness. Then, the actual cleanliness of each grid unit is characterized by the difference between the current cleanliness and the target cleanliness, and then the cleanliness level of each grid unit is determined to improve the accuracy of the cleanliness level judgment of each grid unit and eliminate the problem of the current cleanliness collected being too high or too low due to ground wear or other conditions. (9) Of course, sometimes repeated cleaning of the ground will cause serious wear of the ground, so in order to reduce the wear of the ground, this application also sets a no-cleaning level in the second level table. If a grid unit is identified as a no-cleaning level, it means that the difference between the current cleanliness and the target cleanliness of the grid unit is not large, and there is no need to clean it. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The scope of the present disclosure may be better understood by reading the following detailed description of exemplary embodiments in conjunction with the accompanying drawings. The drawings included are:

[0020] Figure 1 An overall flow chart of an adaptive cleaning method provided in an embodiment of the present application;

[0021] Figure 2 A structural block diagram of an adaptive cleaning device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0022] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. The described embodiments should not be regarded as limiting the present application. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.

[0023] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0024] If similar descriptions of "first\second\third" appear in the application documents, the following instructions will be added. In the following description, the terms "first\second\third" involved are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second\third" can be interchanged in a specific order or sequence where permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.

[0025] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.

[0026] Embodiment 1:

[0027] Sweeping robot products have been widely used in thousands of households. The cleaning method of most robots is blind, that is, no matter how clean different locations on the ground are, they will clean according to a fixed cleaning process. For example, when the user finds that a local area on the ground is very dirty, he will hope that the sweeping robot can clean that area, but the sweeping robot will clean the entire preset area step by step, causing some areas that do not need to be cleaned to be cleaned repeatedly, and it cannot clean the areas that users want to clean quickly in time, and it cannot adaptively adjust its own cleaning method according to the actual ground conditions, resulting in low cleaning efficiency and poor user experience.

[0028] In view of the problems existing in the prior art, such as Figure 1 As shown, the present application provides an adaptive cleaning method, which is applied to electronic devices, and the electronic devices can be servers, mobile terminals, computers, cloud platforms, robots, etc. The functions implemented by the device data processing provided in the embodiments of the present application can be implemented by calling program codes by the processor of the electronic device, wherein the program codes can be stored in a computer storage medium, and the adaptive cleaning method includes:

[0029] Step S1: obtaining a preset target area, the current cleanliness of each grid unit in the target area, and a preset cleaning method for the target area.

[0030] The target area range information includes the target area to be viewed or cleaned during this cleaning process based on the user settings. The target area can be the entire area of ​​the map (such as all the rooms in a house) or a collection of several local areas in the map (such as one or more rooms, or partial areas in one or more rooms; multiple local areas can be connected or disconnected in space). For each cleaning, the user can specify the use of existing target area range settings, or set new settings. In the case of multiple periodic startup settings, each periodic startup setting can contain its own target area range setting. When the user has not set it, the default value, such as the entire area of ​​the map, can be used as the target area.

[0031] The cleaning method can be used to determine the order of cleaning all the grid points to be cleaned. There are several cleaning methods to choose from, including conventional cleaning method, high cleanliness priority method, low cleanliness priority method, and mixed method.

[0032] The cleaning device can use its own sensors to collect characteristic data information of the area to be cleaned (such as roughness, color, reflectivity, dust absorption rate, etc.) when the cleaning device moves in the area to be cleaned, and further determine the current cleanliness corresponding to each grid unit based on the characteristic data information.

[0033] Step S2: determining the cleanliness level of each grid unit according to the current cleanliness level.

[0034] In some embodiments, step S2 "determining the cleanliness level of each grid unit according to the current cleanliness level" includes:

[0035] Step S21: obtaining a preset first grade table, wherein the first grade table presets a correspondence between the current cleanliness and the cleanliness grade.

[0036] Step S22: determining the cleanliness level of each grid unit according to the current cleanliness level of each grid unit and the first level table.

[0037] Since in the prior art, when the robot cleans the floor, the priority of each grid unit is the same, so the robot can directly clean according to the current cleanliness. However, in the present application, if different priorities are cleaned according to the current cleanliness, a huge priority chain will be formed in the entire target area, and the robot will waste most of its time on moving between grid units. Therefore, in order to reduce the ineffective movement distance and movement time of the cleaning robot, a cleanliness level is proposed in the present application, and the current cleanliness within a certain range is summarized into a cleanliness level, so that the grid units with the current cleanliness within a certain range belong to the same priority, so as to reduce the priority level, thereby reducing the ineffective movement and movement time of the cleaning robot.

[0038] In some embodiments, step S2 "determining the cleanliness level of each grid unit according to the current cleanliness level" further includes:

[0039] Step S23: obtaining a preset target cleanliness and a preset second grade table for each grid unit in the target area, wherein the second grade table has a preset correspondence between cleanliness difference and cleanliness grade.

[0040] Step S24: determining the cleanliness difference of each grid unit according to the target cleanliness of each grid unit and the current cleanliness.

[0041] Step S25: determining the cleanliness level of each grid unit according to the cleanliness level difference of each grid unit and the second level table.

[0042] Of course, in some cases, the current cleanliness level determined solely based on the current cleanliness will have certain errors. Due to different wear conditions of different floors and different patterns on the floor, the cleanliness level of the grid unit divided according to the current cleanliness will cause deviations. For example, due to wear, the current cleanliness value may be higher or lower than the actual value, so the target cleanliness is also introduced in this application. Then, the actual cleanliness of each grid unit is characterized by the difference between the current cleanliness and the target cleanliness, and then the cleanliness level of each grid unit is determined to improve the accuracy of the cleanliness level judgment of each grid unit and eliminate the problem of the current cleanliness collected being too high or too low due to floor wear or other conditions.

[0043] Among them, the target cleanliness setting information includes the target cleanliness setting for this cleaning process determined based on the user setting. The entire target area range can use the same target cleanliness setting, or different target cleanliness settings can be used in different sub-areas. The target cleanliness setting can be an absolute value (such as a ground characteristic value) or a relative value, such as 90% of the highest cleanliness (i.e. completely clean or 100% clean). For each cleaning, the user can use the existing target cleanliness setting or set a new setting. For the case where there are multiple periodic startup settings, each periodic startup setting can contain its own target cleanliness setting information. When the user has not set it, a default value such as 85% can be used.

[0044] Step S3: determining a target cleaning path according to the cleanliness level and the cleaning method of each grid unit.

[0045] In some embodiments, step S3 of “determining a target cleaning path according to the cleanliness level and the cleaning method of each grid unit” includes:

[0046] Step S31: constructing a plurality of adjacent grid cells with the same cleanliness level into a level area.

[0047] After the cleanliness level of each grid unit is determined, there will be a large number of grid units with the same cleanliness level in the target area. These grid units are sometimes connected together and appear regionally. Therefore, in order to better manage and plan the grid units of each level in this application, these areas connected by the same cleanliness level are constituted into a level area, and then there will be large and small level areas in different positions in the target area, and for the same level areas, they will also be distributed in different positions.

[0048] Step S32: Determine the level cleaning order according to the cleaning method.

[0049] In some embodiments, step S32 of “determining a cleaning order according to the cleaning method” includes:

[0050] As mentioned above, different cleaning methods will produce different cleaning orders. The conventional cleaning method refers to the cleaning order between all grid points determined without considering the change in cleanliness of all grid points before and after cleaning, that is, very dirty grid points and relatively clean grid points have the same priority in the process of formulating the cleaning order. The conventional cleaning order is usually determined based on the positional relationship between the grid points to be cleaned.

[0051] A: When the cleaning mode is the high cleanliness priority mode, the areas with higher cleanliness levels will be cleaned first, and the cleaning order is arranged from high to low according to the cleanliness level.

[0052] The high cleanliness priority method means that the cleaner the floor, the sooner it is cleaned. Existing technologies indicate that this method is helpful to reduce the number of times the mop is washed, thereby reducing the total time spent on cleaning the floor and slowing down the wear and tear of the mop. The cleaning order determined by the high cleanliness priority is: the order of cleaning is determined based on the principle that the cleaner the level area, the sooner it is cleaned. Since there is a distance between the level areas of the same level, the sweeping robot may need to return multiple times between the different level areas on the map, resulting in a significant increase in the walking distance and total time consumption.

[0053] B: When the cleaning mode is the low cleanliness priority mode, the areas with lower cleanliness levels will be cleaned first, and the cleaning order is arranged from low to high according to the cleanliness levels.

[0054] Low cleanliness priority means that the dirtier the floor, the sooner it will be cleaned. This method is conducive to cleaning the dirty floor as soon as possible so that the entire map area can be restored to a less dirty state as soon as possible. In reality, users often hope that very dirty floors can be cleaned as soon as possible to prevent people from walking around and expanding the scope of dirt. The cleaning order determined by low cleanliness priority is: the level cleaning order is determined based on the principle that the dirtier the level area, the sooner it will be cleaned. Also, due to the distance between the level areas of the same level, the sweeping robot may need to turn back and forth between different level areas of the map many times, resulting in a significant increase in walking distance and total time consumption. In addition, the low cleanliness priority method may potentially increase the number of times the mop is washed, thereby increasing the total time consumed to clean the floor.

[0055] C: When the cleaning method is a mixed cleaning method, the areas with lower cleanliness levels will be cleaned first, and then cleaned according to the high cleanliness priority method. The cleaning order is to arrange them from low to high according to the cleanliness level to the preset level, and then arrange them from high to low according to the cleanliness level.

[0056] The mixed order method can not only clean the dirtier floors as early as possible, but also avoid increasing the number of times the mop is cleaned too much. In specific implementation, the mixed order method can first clean the dirtier floors with a cleanliness lower than the first cleanliness threshold (such as a relative cleanliness of 40%) in a low cleanliness priority manner, and then clean the remaining grid points to be cleaned in a high cleanliness priority manner or a regular cleaning order.

[0057] Step S33: determining a target cleaning path according to the hierarchical cleaning sequence and each of the hierarchical areas.

[0058] In some embodiments, step S33 “determine a target cleaning path according to the hierarchical cleaning sequence and each of the hierarchical areas” includes:

[0059] Step S331: Determine the subpath of each level area according to the area shape of each level area.

[0060] Since there are multiple areas divided on the ground at each level, and the shapes and areas of each area are different, in order to improve the cleaning efficiency, it is necessary to plan the paths for each level area so that the cleaning time of each level area can be as short as possible. Therefore, it is necessary to determine the sub-paths of each level area according to the area shapes of each level area.

[0061] Step S332: Determine the target level to be currently planned and the next level to be planned according to the level cleaning sequence.

[0062] This application needs to plan the overall cleaning path according to the cleaning level sequence, and the overall cleaning path is composed of cleaning paths of each level, so it is necessary to plan the cleaning paths of each cleaning level. Therefore, it is necessary to first clarify the target level to be planned and the next level to be planned.

[0063] Step S333: Determine a first-level area according to the target level.

[0064] In some embodiments, step S333 “determine the first level area according to the target level” includes:

[0065] Step S3331: Obtain unplanned level areas to be planned.

[0066] Step S3332: Determine the first-level area in each of the to-be-planned level areas according to the target level.

[0067] In the process of path planning, the path planning is mainly carried out for unplanned level areas. It is necessary to first select the target level area according to the target level. The first level area determined according to the target level is clean and equal to the level area corresponding to the target level and has not been planned by other levels.

[0068] Step S334: determining a first cleaning path according to the sub-paths of each of the first-level areas.

[0069] Since sub-paths have been determined in each level area, the first cleaning path for the target level can be determined based on the positions between the first level areas and the sub-paths of each level area. However, the first cleaning path is only a preliminary path.

[0070] Step S335: determining the passing grade area according to the first cleaning path.

[0071] Step S336: Determine the level area corresponding to the next level in the passing level area as the second level area.

[0072] Step S337: merging the sub-paths corresponding to the second-level regions into the first cleaning path to form a second cleaning path.

[0073] Step S338: determining a target level cleaning path according to the second cleaning path and the first cleaning path.

[0074] If cleaning is performed only in accordance with the grade cleaning order, and because there is a distance between the various grade areas of the same grade, the robot needs to run back and forth between the different grade areas during actual cleaning. Although the cleaning efficiency is greatly improved compared to the grid unit, running back and forth between the different grade areas of the same grade will still waste a lot of time. In order to shorten the robot's running time between the various grade areas as much as possible, it is necessary to improve the cleaning efficiency of each cleaning path as much as possible. Therefore, this application also needs to consider whether the robot can make full use of the transfer time when transferring between the various grade areas, or shorten the time used for transfer, and whether some grade areas passed by can be cleaned along the way.

[0075] Therefore, it is also necessary to obtain the grade area of ​​the path according to the first cleaning path in this application. The path here can be the area that the robot has traveled directly, or it can be the grade area within a certain distance range centered on the robot's path, which can also be called the path area. Although the robot can choose to clean the grade area of ​​the path during movement, since the cleaning time required for grade areas of different levels is different, this will cause the robot's cleaning efficiency for the current level to be seriously reduced, and it is difficult to meet the user's psychological expectations quickly. Therefore, in this application, the grade area of ​​the next level (or even the next two levels) in the cleaning grade order of the path should be considered. In order to simplify the description, the next level is used as the grade limit here, and the path area is screened, and then the grade area that belongs to the next level and is on the path of the first cleaning path is screened as the second grade area. Similarly, since each grade area has been planned as a sub-path, the sub-path of the second grade area can be added to the first cleaning path at this time, and then the second cleaning path is re-determined according to the positional relationship between the first grade area and the second grade area.

[0076] In some embodiments, step S338 of “determining a target level cleaning path according to the second cleaning path and the first cleaning path” includes:

[0077] Step S3381: Obtain a preset ratio threshold.

[0078] Step S3382: Determine a first cleaning duration according to the first cleaning path.

[0079] Step S3383: Determine a second cleaning duration according to the second cleaning path.

[0080] Step S3384: Determine the duration increase ratio according to the second cleaning duration and the first cleaning duration.

[0081] Step 3385: Determine whether the target level cleaning path is the second cleaning path or the first cleaning path according to the duration growth ratio and the ratio threshold.

[0082] However, since the purpose of setting cleaning levels and designing cleaning priorities in this application is to achieve cleaning of the ground in a way that can quickly meet the psychological expectations of users. Therefore, although cleaning some other levels of level areas during the transfer process is conducive to shortening the overall time, it will affect the cleaning time of the current level. Therefore, it is still necessary to determine whether the second cleaning path can become the cleaning path of the target level. If the time taken by the second cleaning path is too long compared to the time taken by the first cleaning path, it means that the purpose of this application is greatly affected, and the second cleaning path is not suitable to be the cleaning path of the target level. At this time, the first cleaning path is used as the target level cleaning path. If the time taken by the second cleaning path is not too much longer than that of the first cleaning path, and it is within an acceptable range, then the second cleaning path can be used as the target level cleaning path.

[0083] Step S339: determining the target cleaning path according to each of the target level cleaning paths.

[0084] After the graded cleaning paths of each grade are determined, the target cleaning path of the entire target area can be determined according to the graded cleaning paths of each grade.

[0085] Step S4: cleaning the target area according to the target cleaning path.

[0086] After the target cleaning path is determined, the target area can be cleaned according to the target cleaning path, so that the cleaning robot can adaptively clean the floor according to the floor conditions and user expectations, thereby improving the user experience.

[0087] Of course, sometimes repeated cleaning of the floor will cause serious wear and tear on the floor, so in order to reduce the wear and tear of the floor, this application also sets a no-cleaning level in the second level table. If a grid unit is identified as a no-cleaning level, it means that the gap between the current cleanliness of the grid unit and the target cleanliness is not large, and there is no need to clean it.

[0088] In some embodiments, the method further comprises:

[0089] Step S5: not performing a cleaning operation on each grid unit whose cleaning level is the cleaning-free level.

[0090] Therefore, in the present application, when performing path planning, each grid unit of the cleaning-free level will not be planned, and will not be cleaned.

[0091] Embodiment 2:

[0092] Based on the foregoing embodiments, the embodiments of the present application provide an adaptive cleaning device, and the modules included in the device, as well as the units included in each module, can be implemented by a processor in a computer device, and of course can also be implemented by a specific logic circuit; in the implementation process, the processor can be a central processing unit (CPU, Central Processing Unit), a microprocessor (MPU, Microprocessor Unit), a digital signal processor (DSP, Digital Signal Processing) or a field programmable gate array (FPGA, Field Programmable Gate Array), etc.

[0093] like Figure 2 As shown, in a second aspect, the present application provides an adaptive cleaning device, comprising: a first acquisition module 1 , a first determination module 2 , a second determination module 3 and a first execution module 4 .

[0094] The first acquisition module 1 is used to acquire a preset target area, the current cleanliness of each grid unit in the target area, and a preset cleaning method for the target area. The first determination module 2 is used to determine the cleanliness level of each grid unit according to the current cleanliness. The second determination module 3 is used to determine the target cleaning path according to the cleanliness level and the cleaning method of each grid unit. The first execution module 4 is used to clean the target area according to the target cleaning path.

[0095] Each module in the above-mentioned adaptive cleaning device can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above-mentioned modules can be embedded in or independent of the processor in the device in the form of hardware, or can be stored in the memory in the processing device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0096] Embodiment 3:

[0097] In a third aspect, a computer device is provided, comprising a memory, a processor, and a computer program stored in the memory, wherein the processor executes the computer program to implement the steps of any one of the methods described in the first aspect.

[0098] Embodiment 4:

[0099] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of any one of the methods described in the first aspect.

[0100] Embodiment 5:

[0101] In a fifth aspect, the present application provides a cleaning robot, comprising a robot body and the electronic device as described in the third aspect, wherein the robot body is connected to the electronic device.

[0102] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).

[0103] It should be understood that "one embodiment" or "an embodiment" mentioned throughout the specification means that specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the size of the sequence number of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application. The above-mentioned sequence numbers of the embodiments of the present application are only for description and do not represent the advantages and disadvantages of the embodiments.

[0104] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0105] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.

[0106] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units. They may be located in one place or distributed over multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0107] In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit. The above integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0108] Those skilled in the art can understand that all or part of the steps of the above method embodiments can be completed by hardware related to program instructions, and the above program can be stored in a computer-readable storage medium, and when the program is executed, the steps of the above method embodiments are executed. The above storage medium includes: a mobile storage device, a read-only memory (ROM), a magnetic disk or an optical disk, and other media that can store program codes.

[0109] Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application can essentially or in other words, the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium and includes a number of instructions for a controller to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROMs, magnetic disks, or optical disks.

[0110] The above is only an implementation method of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. An adaptive cleaning method, characterized in that: include: Acquire a preset target area, the current cleanliness of each grid unit in the target area, and a preset cleaning method for the target area; Determine the cleanliness level of each grid unit according to the current cleanliness; Determine a target cleaning path according to the cleanliness level and the cleaning method of each grid unit; The target area is cleaned according to the target cleaning path.

2. The method according to claim 1, characterized in that: The determining of the target cleaning path according to the cleanliness level and the cleaning method of each grid unit includes: Multiple adjacent grid cells with the same cleanliness level are constructed into a level area; Determining a graded cleaning sequence according to the cleaning method; A target cleaning path is determined according to the hierarchical cleaning order and each of the hierarchical areas.

3. The method according to claim 2, characterized in that The step of determining a target cleaning path according to the graded cleaning sequence and each graded area includes: Determine the subpath of each level area according to the area shape of each level area; Determine the target level to be currently planned and the next level to be planned according to the level cleaning sequence; Determine a first-level area according to the target level; Determining a first cleaning path according to the sub-paths of each of the first-level areas; Determining a passing grade area according to the first cleaning path; Determine the level area corresponding to the next level in the passing level area as the second level area; Merging the sub-paths corresponding to the respective second-level areas into the first cleaning path to form a second cleaning path; determining a target level cleaning path according to the second cleaning path and the first cleaning path; The target cleaning path is determined according to each of the target grade cleaning paths.

4. The cleaning method according to claim 3, characterized in that: The step of determining a target level cleaning path according to the second cleaning path and the first cleaning path includes: Get the preset ratio threshold; determining a first cleaning duration according to the first cleaning path; determining a second cleaning duration according to the second cleaning path; Determining a duration increase ratio according to the second cleaning duration and the first cleaning duration; The target level cleaning path is determined to be the second cleaning path or the first cleaning path according to the time length increase ratio and the ratio threshold.

5. The method according to claim 2, characterized in that: The cleaning modes include: a high cleanliness priority mode, a low cleanliness priority mode and a mixed order mode; and determining the level cleaning order according to the cleaning modes includes: When the cleaning mode is the high cleanliness priority mode, the areas with higher cleanliness levels will be cleaned first, and the cleaning order is arranged from high to low according to the cleanliness levels; When the cleaning mode is the low cleanliness priority mode, the areas with lower cleanliness levels will be cleaned first, and the cleaning order is arranged from low to high according to the cleanliness levels; When the cleaning method is a mixed cleaning method, the areas with lower cleanliness levels will be cleaned first, and then cleaned according to the high cleanliness priority method. The level cleaning order is to arrange from low to high according to the cleanliness level to the preset level, and then arrange from high to low according to the cleanliness level.

6. The method according to claim 3, characterized in that The determining of the first-level region according to the target level includes: Get the unplanned level area to be planned; The first level area is determined in each of the level areas to be planned according to the target level.

7. The method according to any one of claims 1 to 6, characterized in that: Determining the cleanliness level of each grid unit according to the current cleanliness level includes: Obtaining a preset first grade table, wherein the first grade table is preset with a correspondence between the current cleanliness and the cleanliness grade; The cleanliness level of each grid unit is determined according to the current cleanliness level of each grid unit and the first level table.

8. The method according to any one of claims 1 to 6, characterized in that: The step of determining the cleanliness level of each grid unit according to the current cleanliness level further includes: Obtaining a preset target cleanliness and a preset second grade table for each grid unit in the target area, wherein the second grade table is preset with a correspondence between cleanliness difference and cleanliness grade; Determine the cleanliness difference of each grid unit according to the target cleanliness of each grid unit and the current cleanliness; The cleanliness level of each grid unit is determined according to the cleanliness difference of each grid unit and the second level table.

9. The method according to claim 8, characterized in that The second level table also includes: a cleaning-free level; the method also includes: The cleaning operation is not performed on each grid cell whose cleaning level is the no-cleaning level.

10. An adaptive cleaning device, characterized in that: include: A first acquisition module is used to acquire a preset target area, a current cleanliness of each grid unit in the target area, and a preset cleaning method for the target area; A first determination module, used to determine the cleanliness level of each grid unit according to the current cleanliness; A second determination module, configured to determine a target cleaning path according to the cleanliness level and the cleaning method of each grid unit; The first execution module is used to clean the target area according to the target cleaning path.

11. An electronic device comprising a memory, a processor and a computer program stored in the memory, characterized in that: The processor executes the computer program to implement the steps of the method according to any one of claims 1 to 9.

12. A readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 9 are implemented.

13. A cleaning robot, characterized in that: The robot comprises a robot body and the electronic device as claimed in claim 11, wherein the robot body is connected to the electronic device.

Citation Information

Cited By

  • Method and device for planning road surface cleaning scheme of urban road

    CN120197788A