Robot area recognition method, device, base station, robot, medium and product
By aggregating instances of suspended areas using a point cloud learning model, the problem of poor generalization ability of cleaning robots when recognizing suspended areas is solved, achieving higher recognition accuracy and cleaning efficiency, and adapting to different house types and furniture layouts.
Patent Information
- Application Number
- CN202610954786.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-06-29
- Publication Date
- 2026-11-20
AI Technical Summary
In existing technologies, cleaning robots have poor generalization ability when identifying suspended areas, making it difficult to adapt to different house types and furniture layouts. This leads to problems such as missing areas, skewed boundaries, area expansion, and noise sensitivity, affecting the cleaning effect.
A point cloud learning model is used to aggregate multiple grid points. By acquiring environmental perception data after the cleaning robot cleans the target space, the probability of each grid point belonging to each candidate region is output by the preset point cloud learning model. Instance aggregation is then performed to determine the suspended regions, reduce the region missing rate and improve the recognition accuracy.
It improves the accuracy and generalization ability of suspended area recognition, reduces the area missing rate, enhances cleaning coverage and efficiency, reduces dependence on hyperparameters, and adapts to different house types and furniture layouts.
Smart Images

Figure CN123137294A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of robot region recognition technology, and in particular to a robot region recognition method, device, base station, robot, medium and product. Background Technology
[0002] With the development of smart homes, cleaning robots have become an important category of smart home products.
[0003] Typically, when cleaning under beds, sofas, and cabinets, cleaning robots need to develop differentiated cleaning strategies based on the height of these low, suspended areas. In related technologies, cleaning robots rely on point cloud data acquired by onboard depth sensors. By projecting this point cloud onto a two-dimensional grid map, traditional clustering methods are used to aggregate discrete grid points into physically meaningful suspended areas.
[0004] However, the results of this clustering algorithm usually have poor generalization ability and are difficult to adapt to the suspended areas with different apartment layouts and furniture arrangements. Summary of the Invention
[0005] Therefore, it is necessary to provide a robot area recognition method, device, base station, robot, medium, and product that can adapt to different apartment layouts and furniture arrangements to address the above-mentioned technical problems.
[0006] In a first aspect, this application provides a robot area recognition method applied to a cleaning robot base station, the method comprising:
[0007] Acquire environmental perception data recorded by the cleaning robot after cleaning the target space. The environmental perception data includes the location, height, and attribute information of multiple grid points.
[0008] The position, height, and attribute information of multiple grid points are input into a preset point cloud learning model to obtain the probability of each grid point belonging to each candidate region output by the point cloud learning model.
[0009] Based on the probability that each grid point belongs to each candidate region, multiple grid points are aggregated to determine at least one suspended region in the target space.
[0010] In one embodiment, based on the probability that each grid point belongs to each candidate region, instance aggregation is performed on multiple grid points to determine at least one suspended region in the target space, including:
[0011] Based on the probability that each grid point belongs to each candidate region, determine the number of grids in each candidate region and the confidence level of the first region;
[0012] Candidate regions whose grid number and first region confidence level meet the preset conditions are identified as suspended regions.
[0013] In one embodiment, the method further includes:
[0014] For each suspended region, the region outline and region attribute information are determined based on the position information, height information and attribute information of each grid point in the suspended region. The region attribute information includes at least one of the following: region identifier, region vertex coordinates, region average suspended height, region area, region minimum bounding rectangle, and aspect ratio of the minimum bounding rectangle.
[0015] In one embodiment, the method further includes:
[0016] For each suspended area, the area attribute information of the suspended area is matched with the geometric feature information of the preset furniture to determine the furniture type label of the suspended area;
[0017] Send furniture type tags to the cleaning robot's app so that they can be displayed on the app's map.
[0018] In one embodiment, the environmental perception data further includes behavioral feedback recording data, and the method further includes:
[0019] Based on behavioral feedback record data and at least one suspended area, determine the area cleaning strategy corresponding to each suspended area;
[0020] Each suspended area and its corresponding cleaning strategy are sent to the cleaning robot to instruct the cleaning robot to operate according to the area cleaning strategy corresponding to the suspended area when it determines that the cleaning robot is in any suspended area based on the current environmental perception data.
[0021] In one embodiment, the behavior feedback recording data includes the total number of cleaning operations and the number of abnormal events. Based on the behavior feedback recording data and at least one suspended area, a cleaning strategy for each suspended area is determined, including:
[0022] For each suspended area, if the total number of cleaning times for the suspended area is greater than the cleaning time threshold, and the number of abnormal events corresponding to N consecutive cleanings is less than the abnormal event time threshold, then the current area cleaning strategy for the suspended area is locked, where N is a positive integer.
[0023] If the number of abnormal events in the suspended area exceeds the threshold for the number of abnormal events, the cleaning strategy for the suspended area will be determined based on the behavioral feedback record data.
[0024] In one embodiment, determining the area cleaning strategy corresponding to the suspended area based on behavioral feedback recording data further includes:
[0025] Based on the behavioral feedback record data, determine the confidence level of the second region of the suspended area;
[0026] Based on the second area confidence level of the suspended area and the historical area cleaning strategy of the suspended area, the area cleaning strategy of the suspended area is determined.
[0027] In one embodiment, a cleaning strategy for the suspended area is determined based on the second area confidence level of the suspended area and the historical area cleaning strategy of the suspended area, including:
[0028] If the confidence level of the second region of the suspended area is greater than the first confidence threshold, the historical area cleaning strategy will be used as the area cleaning strategy for the suspended area.
[0029] If the confidence level of the second region of the suspended region is less than or equal to the first confidence threshold and greater than or equal to the second confidence threshold, the historical region cleaning strategy will be used as the region cleaning strategy for the suspended region, and observation marks will be added to the suspended region.
[0030] If the confidence level of the second region of the suspended region is less than the first confidence level threshold, the suspended region is corrected.
[0031] In one embodiment, the behavioral feedback recording data includes collision events and height detection deviations, and the suspended area is corrected, including:
[0032] Determine the collision density at each boundary of the suspended area based on collision events;
[0033] The boundaries of the suspended region are corrected based on the collision plate density at each boundary of the suspended region.
[0034] If the height detection deviation is greater than the preset deviation threshold, the height of the suspended area is corrected based on the height detection deviation.
[0035] In one embodiment, the method further includes:
[0036] Obtain a sample grid point set, which includes the location, height, and attribute information of multiple grid points;
[0037] Semi-supervised annotation is performed on the sample grid point set to obtain sample data;
[0038] Data augmentation is performed on the sample data to obtain augmented sample data;
[0039] The model is trained based on the enhanced sample data and the initial point cloud learning model to obtain the point cloud learning model.
[0040] Secondly, this application also provides a robot area recognition method, applied to a cleaning robot, the method comprising:
[0041] Once the cleaning of the target space is complete, the recorded environmental perception data of the target space is sent to the cleaning robot base station. The environmental perception data includes the location information, height information, and attribute information of multiple grid points.
[0042] The location, height, and attribute information of multiple grid points are used by the cleaning robot base station to input the location, height, and attribute information of multiple grid points into a preset point cloud learning model to obtain the probability of each grid point belonging to each candidate region output by the point cloud learning model; and based on the probability of each grid point belonging to each candidate region, the multiple grid points are aggregated to determine at least one suspended region in the target space.
[0043] In one embodiment, the method further includes:
[0044] Acquire the area information data stored by the cleaning robot when it performs historical tasks. The area information data includes at least one suspended area and the corresponding area cleaning strategy.
[0045] When the cleaning robot performs a new task, it acquires current environmental perception data;
[0046] The current target area of the cleaning robot is determined based on the current environmental perception data;
[0047] If the target area is located in any suspended area, the cleaning strategy for the suspended area will be used.
[0048] Thirdly, this application also provides a robot area recognition device for use in a cleaning robot base station, the device comprising:
[0049] The acquisition module is used to acquire environmental perception data recorded by the cleaning robot after cleaning the target space. The environmental perception data includes the location information, height information and attribute information of multiple grid points.
[0050] The input module is used to input the position information, height information and attribute information of multiple grid points into a preset point cloud learning model, and obtain the probability of each grid point belonging to each candidate region output by the point cloud learning model.
[0051] The aggregation module is used to aggregate multiple grid points based on the probability that each grid point belongs to each candidate region, and to determine at least one suspended region in the target space.
[0052] Fourthly, this application also provides a robot area recognition device for use in a cleaning robot, the device comprising:
[0053] The sending module is used to send the environmental perception data recorded after the target space is cleaned to the cleaning robot base station. The environmental perception data includes the location information, height information and attribute information of multiple grid points.
[0054] The location, height, and attribute information of multiple grid points are used by the cleaning robot base station to input the location, height, and attribute information of multiple grid points into a preset point cloud learning model to obtain the probability of each grid point belonging to each candidate region output by the point cloud learning model; and based on the probability of each grid point belonging to each candidate region, the multiple grid points are aggregated to determine at least one suspended region in the target space.
[0055] Fifthly, this application also provides a cleaning robot base station, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the method as described in any one of the first aspects.
[0056] In a sixth aspect, this application also provides a cleaning robot, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the method described in any one of the second aspects above.
[0057] In a seventh aspect, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method described in any one of the first or second aspects above.
[0058] Eighthly, this application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the method described in any one of the first or second aspects above.
[0059] The aforementioned robot region recognition method, device, base station, robot, medium, and product are applied to a cleaning robot base station. First, environmental perception data, including the position, height, and attribute information of multiple grid points, is acquired after the cleaning robot finishes cleaning the target space. Then, the position, height, and attribute information of the multiple grid points are input into a preset point cloud learning model to obtain the probability that each grid point belongs to each candidate region, as output by the point cloud learning model. Finally, based on the probability that each grid point belongs to each candidate region, instances of multiple grid points are aggregated to determine at least one suspended region in the target space. In traditional clustering algorithms, due to sensor viewing angle limitations and occlusion, some suspended grids cannot be observed in a single cleaning cycle, leading to region missingness in the clustering results. However, this application uses a point cloud learning model to aggregate instances of multiple grid points to determine suspended regions. Since the point cloud learning model can comprehensively consider the overall characteristics of suspended regions, it reduces the region missing rate, thus achieving higher accuracy in identifying suspended regions for different apartment layouts and furniture arrangements. Attached Figure Description
[0060] To more clearly illustrate the technical solutions in the embodiments of this application or related technologies, the drawings used in the description of the embodiments of this application or related technologies will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0061] Figure 1 This is an application environment diagram of the robot region recognition method in one embodiment;
[0062] Figure 2 This is a flowchart illustrating a robot region recognition method in one embodiment;
[0063] Figure 3 This is a flowchart illustrating the steps for determining the suspended region in one embodiment;
[0064] Figure 4 This is a flowchart illustrating the fixture type label determination step in one embodiment;
[0065] Figure 5 This is a flowchart illustrating the steps for determining the area cleaning strategy in one embodiment;
[0066] Figure 6 This is a flowchart illustrating the area cleaning strategy determination step in another embodiment;
[0067] Figure 7 This is a flowchart illustrating the area cleaning strategy determination step in another embodiment;
[0068] Figure 8 This is a flowchart illustrating the region correction steps in one embodiment;
[0069] Figure 9 This is a flowchart illustrating the region correction step in another embodiment;
[0070] Figure 10 This is a flowchart illustrating the training steps of a point cloud learning model in one embodiment;
[0071] Figure 11 This is a flowchart illustrating the robot region recognition method in another embodiment;
[0072] Figure 12 This is a flowchart illustrating the robot region recognition method in another embodiment;
[0073] Figure 13 This is a structural block diagram of a robot region recognition device in one embodiment;
[0074] Figure 14 This is an internal structural diagram of a cleaning robot base station in one embodiment. Detailed Implementation
[0075] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0076] It should be noted that the terms "first," "second," etc., used in this application can be used to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish the first element from the second element. The terms "comprising" and "having," and any variations thereof, used in this application, are intended to cover non-exclusive inclusion. The term "multiple" used in this application refers to two or more. The term "and / or" used in this application refers to one of the embodiments, or any combination of multiple embodiments.
[0077] Existing traditional clustering or segmentation schemes typically have poor generalization ability and suffer from the following problems:
[0078] 1. Region missing: Due to the limited field of view and occlusion of the depth sensor, some suspended grid cells cannot be observed in a single cleaning, resulting in region breaks in the clustering results. For example, a complete under-bed area may be incorrectly divided into multiple independent small areas due to occlusion by the bed legs, or some sub-regions may be discarded due to insufficient grid cells, resulting in region missing.
[0079] 2. Boundary skew: The robot's positioning system suffers from cumulative drift errors, causing the suspended grid cells collected at different times to shift in the global coordinate system. Traditional clustering algorithms directly calculate distances based on the absolute coordinates of the grid cells. This positioning drift causes grid cells that originally belonged to the same straight-line edge to shift irregularly, resulting in jagged and skewed boundaries of the extracted regions after clustering, rather than true regular geometric shapes.
[0080] 3. Region expansion: Due to factors such as ground reflection and sensor noise, false suspended grids may be generated near the edges of suspended regions. Traditional clustering algorithms cannot distinguish between real and noisy grids, including noisy points in the clustering results, causing the region outline to expand abnormally outward and deviate from the true physical boundary.
[0081] 4. Noise sensitivity: The results of traditional clustering algorithms are highly dependent on the setting of hyperparameters such as distance threshold and density threshold. In scenarios with different apartment layouts and furniture arrangements, the same set of hyperparameters usually cannot adapt to all suspended areas at the same time.
[0082] In the reuse cleaning scenario, the information of the suspended area established by the previous cleaning is used as prior knowledge to guide the current cleaning strategy. If the area recognition itself is inaccurate, it will lead to the distortion of the prior information, which in turn will affect the cleaning coverage and efficiency.
[0083] In view of this, this application provides a robot recognition method that uses a point cloud learning model to aggregate instances of multiple grid points to determine suspended regions. Since the point cloud learning model can comprehensively consider the overall features of the suspended regions, thereby reducing the region missing rate, the accuracy of identifying suspended regions in different apartment layouts and furniture arrangements is higher.
[0084] The robot region recognition method provided in this application embodiment can be applied to, for example... Figure 1 In the application environment shown, the cleaning robot base station 102 communicates with the cleaning robot 104 via a network. The cleaning robot base station 102 can be a base station processor used to provide intelligent services to the cleaning robot 104. The cleaning robot 104 can be a sweeping robot, a mopping robot, a combined sweeping and mopping robot, a lawnmower robot, etc.
[0085] In one exemplary embodiment, such as Figure 2 As shown, a robot region recognition method is provided, which can be applied to... Figure 1 The following steps are used as an example to illustrate the process of building a cleaning robot base station, including steps 201 to 203. Wherein:
[0086] Step 201: Obtain the environmental perception data recorded by the cleaning robot after cleaning the target space.
[0087] The environmental perception data includes the location, height, and attribute information of multiple grid points. The target space is the workspace of the cleaning robot. When working, the cleaning robot continuously collects point cloud data of the surrounding environment through its onboard depth sensor, then projects the point cloud data onto a two-dimensional grid map. Based on the point cloud data falling into each grid, the overhang height of each grid is determined. Based on the overhang height of each grid, overhanging grids are obtained, which are grids whose overhang height is not the same as the ground height.
[0088] After obtaining the suspended raster, it can be further divided into ordinary suspended rasters and edge suspended rasters based on the height of the point cloud data within each suspended raster, thus obtaining the attribute information of the suspended raster. An ordinary suspended raster is a raster located within the suspended region, while an edge suspended raster is a raster located at the boundary of the suspended region. For example, if the height of all point cloud data in a suspended raster is not at ground level, then the suspended raster is an ordinary suspended raster; if some point cloud data in a suspended raster has a height at ground level and some does not, then the suspended raster is an edge suspended raster.
[0089] After the target space is cleaned, environmental perception data is generated based on the location, height, and attribute information of all the collected suspended grids. This environmental perception data can include an unordered point set containing multiple suspended grid points. Each suspended grid point includes its location, height, and attribute information. The location information is the grid's coordinates in the map coordinate system, the height information is the suspended height, and the attribute information is an edge marker. The edge marker indicates whether the suspended grid is a normal suspended grid or an edge suspended grid. For example, the environmental perception data includes a point set P={p_1,p_2,...,p_N}, where each suspended grid point p_i=(x_i,y_i,h_i,e_i) has x_i and y_i as its coordinates in the map coordinate system, h_i as its suspended height, and e_i as its edge marker, where 1 indicates an edge suspended grid and 0 indicates a normal suspended grid. N typically ranges from hundreds to thousands of points, depending on the number and area of suspended areas in the home environment.
[0090] Step 202: Input the position information, height information and attribute information of multiple grid points into the preset point cloud learning model to obtain the probability of each grid point belonging to each candidate region output by the point cloud learning model.
[0091] The preset point cloud learning model can be obtained by training an initial point cloud learning model based on the PointNet architecture. By acquiring a sample grid point set and labeling the suspended regions of the sample grid point set, it is input into the initial point cloud learning model for training. During the model training process, when the composite loss function used meets the preset conditions, the preset point cloud learning model is obtained. This enables the preset point cloud model to output the probability that each grid point in the grid point set belongs to each candidate region based on the input grid point set, i.e., the position information, height information, and attribute information of multiple grid points. Each candidate region can be pre-divided into regions.
[0092] Optionally, the preset point cloud learning model can also be trained based on the initial model of the CenterPoint architecture or the initial model of the SqueezeSegV2 architecture.
[0093] Optionally, the position, height, and attribute information of multiple input grid points can be preprocessed and then input into a preset point cloud learning model, such as coordinate normalization and height normalization, and the normalization parameters can be recorded to restore the original data during post-recognition processing.
[0094] Step 203: Based on the probability that each grid point belongs to each candidate region, perform instance aggregation on multiple grid points to determine at least one suspended region in the target space.
[0095] Based on the probability that each grid point belongs to each candidate region, multiple grid points are aggregated into instances, that is, based on the probability that each grid point belongs to each candidate region, each grid point is aggregated into an independent suspended region instance.
[0096] For example, by counting the number of grid points in each candidate region, and based on the location, height, and attribute information of the grid points in each candidate region, the area and height of that candidate region are obtained. Based on the area and height of each candidate region, at least one suspended region in the target space can be determined. After determining at least one suspended region in the target space, each suspended region is stored in JSON format to a reuse data file, which can be loaded during subsequent reuse cleaning. By providing reliable prior information for reuse cleaning, the cleaning path can be planned more accurately, improving cleaning coverage and efficiency.
[0097] In the above embodiments, applied to a cleaning robot base station, firstly, environmental perception data, including the position, height, and attribute information of multiple grid points, recorded by the cleaning robot after cleaning the target space, is acquired. Then, the position, height, and attribute information of multiple grid points are input into a preset point cloud learning model to obtain the probability of each grid point belonging to each candidate region output by the point cloud learning model. Finally, based on the probability of each grid point belonging to each candidate region, multiple grid points are aggregated to determine at least one suspended region in the target space. In traditional clustering algorithms, due to sensor viewing angle limitations and occlusion, some suspended grids cannot be observed in a single cleaning, resulting in missing regions in the clustering results. However, in this application, the point cloud learning model is used to aggregate multiple grid points to determine suspended regions. Since the point cloud learning model can comprehensively consider the overall characteristics of suspended regions, the region missing rate is reduced. Therefore, the accuracy of identifying suspended regions for different apartment layouts and furniture arrangements is higher.
[0098] Furthermore, the point cloud learning model directly outputs point-by-point region affiliation labels, eliminating the need to manually set hyperparameters such as clustering distance threshold and density threshold. This avoids the problem of traditional clustering methods requiring repeated parameter tuning in different scenarios and improves the algorithm's generalization ability in diverse home environments.
[0099] In one embodiment of this application, step 203, which involves determining at least one suspended region in the target space, is as follows: Figure 3 As shown, it may include:
[0100] Step 301: Based on the probability that each grid point belongs to each candidate region, determine the number of grids in each candidate region and the confidence level of the first region.
[0101] The region label for each grid point is determined based on the probability that each grid point belongs to each candidate region. Optionally, the candidate region with the highest probability is used as the region label for the grid point. For example, if the probability of grid point A belonging to candidate region 1 is 60%, the probability of belonging to candidate region 2 is 20%, and the probability of belonging to candidate region 3 is 5%, then the region label for grid point A is candidate region 1.
[0102] Based on the region label of each grid point, all grid points are grouped, and the number of grid points in each candidate region is counted. At the same time, when the point cloud learning model outputs the probability that each grid point belongs to each candidate region, it also outputs the confidence level corresponding to the probability that each grid point belongs to each candidate region. Based on the average confidence level of each grid point in each candidate region, the first region confidence level of the candidate region is obtained.
[0103] Step 302: Candidate regions whose grid number and first region confidence meet the preset conditions are identified as suspended regions.
[0104] By filtering each candidate region, a suspended region is obtained. Optionally, the number of grid cells in a candidate region is used to characterize the size of the candidate region. If the number of grid cells is too small, such as less than the grid cell number threshold, the candidate region may be a noisy cluster, and the candidate region is discarded. The grid cell number threshold can be 20, or it can be set according to the actual judgment requirements. This application does not impose any restrictions on this.
[0105] If the confidence level of the first region is less than the confidence threshold, then the confidence level of the candidate region is not high, that is, the candidate region may be noise, and the candidate region is discarded. The confidence threshold can be [0.5-0.7], for example 0.6, or set according to the actual judgment requirements. This application does not limit this.
[0106] In the above embodiments, each candidate region is screened based on the number of grids and the confidence level of the first region to obtain the suspended region, which effectively filters out the influence of point cloud noise and improves the robustness of recognition.
[0107] If the number of grid cells in a candidate region is greater than or equal to the grid cell count threshold, and the confidence level of the first region is greater than or equal to the confidence level threshold, then the candidate region meets the preset conditions and is a floating region instance.
[0108] In one embodiment, for each suspended region, the region outline and region attribute information of the suspended region are determined based on the position information, height information and attribute information of each grid point in the suspended region. The region attribute information includes at least one of the following: region identifier, region vertex coordinates, region average suspended height, region area, region minimum bounding rectangle, and aspect ratio of the minimum bounding rectangle.
[0109] For each selected suspended region, its outline is extracted based on the position, height, and attribute information of the grid points within that region. For example, edge suspended grids are determined using the attribute information of the grid points. If the number of edge suspended grids is insufficient, the Alpha Shape algorithm can be used to extract the outer outline of the suspended region from all grid points. The extracted outer outline of the suspended region is then simplified using Douglas-Peucker simplification. This reduces the number of outline points and removes jagged edges caused by noise. The simplification tolerance can be 2-3 grid points. Optionally, for approximately parallel or perpendicular edges in the outer outline of the suspended region, edges with deviations within a preset angle tolerance are corrected to be strictly parallel or perpendicular, ensuring that the outer outline of the suspended region conforms to the regular geometric features of furniture edges. The preset angle tolerance can be 5°.
[0110] The region attribute information of the suspended grid is calculated based on the position, height and attribute information of the grid points in the suspended region. The region vertex coordinates are determined based on the position information of the grid points on the outer contour of the suspended region. The average suspended height of the region is determined based on the height information of each grid point in the suspended region. The region area and the minimum bounding rectangle of the region are determined based on the position information of each grid point. The aspect ratio of the minimum bounding rectangle is determined based on the minimum bounding rectangle of the region.
[0111] If the cleaner's workspace is a home environment, the suspended areas are usually formed by the space under furniture, such as under beds, sofas, and tables. Based on the outline and attribute information of each suspended area, the type of furniture corresponding to that area can be inferred. Figure 4 As shown, it includes:
[0112] Step 401: For each suspended area, match the area attribute information of the suspended area with the geometric feature information of the preset furniture to determine the furniture type label of the suspended area.
[0113] The geometric feature information of the preset furniture can be set in advance based on the furniture in the working space of the cleaning robot. This is optional, as shown in Table 1 below. Table 1 is only an example of some furniture, and the geometric feature information of other furniture can be set according to the actual situation.
[0114] Table 1. Correspondence between furniture type and geometric feature information
[0115]
[0116] For each suspended region, its geometric attributes are obtained based on its regional attribute information. These attributes include the region area, the aspect ratio of its minimum bounding rectangle, the average suspended height, contour complexity, and convexity. Contour complexity is calculated as the ratio of the region's vertex coordinates to the number of vertices in the convex hull; a higher contour complexity indicates a more irregular shape. Convexity is calculated as the ratio of the region's area to the area of the convex hull; a lower convexity indicates the presence of depressions in the suspended region. The convex hull vertices and area are determined based on the region's vertex coordinates.
[0117] The geometric attributes of the aforementioned suspended area are matched with the geometric feature information of the preset furniture to determine the type of furniture labeled as such.
[0118] For example, if the area of the suspended region is greater than the area of the bed, the aspect ratio is less than the aspect ratio of the bed, and the convexity is greater than 0.85, then the suspended region is likely the bed base, characterized by a large area and a regular rectangle. If the convexity is less than 0.7 and the contour complexity is greater than 1.5, then the suspended region is likely the sofa base, characterized by a noticeable indentation and a complex contour. If the aspect ratio is greater than the cabinet's aspect ratio, and the area of the suspended region is less than the cabinet's area, then the suspended region is likely the cabinet base, characterized by a narrow and elongated shape. If the aspect ratio is less than 1.5, and the smallest table area is less than the area of the suspended region but less than the largest table area, then the suspended region is likely the table base, characterized by an approximately square shape and a medium area. If other situations exist where size matching is not possible, then the furniture type is unknown.
[0119] Step 402: Send the furniture type label to the cleaning robot's application so that it can be displayed on the map in the application.
[0120] The furniture type labels inferred from each suspended area are sent to the cleaning robot's application, where they are displayed semantically on the map for easy viewing by the user.
[0121] In the above embodiments, the furniture type labels of each suspended area are determined by the preset furniture geometric features and sent to the map of the application for display, so that the robot's perception results are visualized and convenient for users to view on the application, thereby improving the user's perception and understanding of the cleaning area and improving the user experience.
[0122] In practical use, cleaning robots repeatedly clean the same home environment multiple times. To further improve the accuracy of identifying suspended areas, behavioral feedback data of the cleaning robot during each cleaning process is acquired. This behavioral feedback data is used to continuously verify and correct the identification results of suspended areas, allowing the cleaning strategy to converge to the optimal state each time. Environmental perception data also includes behavioral feedback recording data, such as... Figure 5 As shown, the method also includes:
[0123] Step 501: Based on the behavior feedback record data and at least one suspended area, determine the area cleaning strategy corresponding to each suspended area.
[0124] The behavioral feedback recording data is obtained by the cleaning robot when approaching or entering each suspended area during each cleaning process. This data can be recorded and saved using a preset structure, including: the total number of cleaning cycles for that area, the number of times the robot actually entered the area, a summary of the entry point and path for each entry, the number of times the robot triggered obstacles within the area and a list of trigger locations, the number of times the robot got stuck within the area and a list of locations, the number of times the actual detected height differed from the recorded height and the deviation value, the number of times the cleaning strategy was switched within the area and the type of switch, and the most recent update timestamp. Each suspended area records its own behavioral feedback data, and the cleaning robot updates the behavioral feedback data for each suspended area after each cleaning cycle.
[0125] For example, the process of collecting behavioral feedback recording data may include: determining whether the robot's current position is within a certain reusable suspended area; if it enters, recording the entry time, entry location, and entry marker; if it does not enter, such as not reaching the suspended area during the entire cleaning process, then not recording the entry marker.
[0126] When the robot is moving within the area, if the collision sensor is triggered, the coordinates of the trigger position and the detected value of the suspension height at that time are recorded. Collision trigger may indicate that the area boundary is inaccurate, the actual boundary is further inward than recorded, there are undetected obstacles in the area, or the area height is estimated to be too high, and the actual height is lower than the collision sensor.
[0127] For height consistency detection, the real-time detected suspension height in the area is compared with the height of the reused record. If the difference exceeds 5mm, the deviation value and position are recorded and marked as a height inconsistency event.
[0128] For strategy switching detection, monitor whether the robot's cleaning strategy changes within the area, such as switching from "entering by descending the laser distance sensor" to "cleaning with the side brush only". Strategy switching indicates that there is heterogeneity in the environmental characteristics within the area.
[0129] Different heights of suspended areas correspond to different cleaning strategies. For example, for low suspended areas below the height of the robot's obstacle, the main body of the robot cannot pass safely; the cleaning strategy is to extend only the side brushes for cleaning, while the main body must perform obstacle avoidance. For medium-height suspended areas between the obstacle and the laser distance sensor, the cleaning strategy is for the robot to descend to the laser distance sensor before entering the cleaning area. For suspended areas much higher than the laser distance sensor, which are open spaces that the robot can pass through normally, the cleaning strategy is to clean normally. Based on the height of the suspended areas identified during the previous cleaning process, the corresponding cleaning strategy can be determined. Furthermore, after each cleaning cycle, based on the acquired behavioral feedback data, it is determined whether the cleaning strategy for each suspended area needs adjustment, thus allowing the cleaning strategy to gradually converge to its optimal state after multiple cleaning cycles.
[0130] For example, such as Figure 6 As shown, it includes:
[0131] Step 601: For each suspended area, if the total number of cleaning times for the suspended area is greater than the cleaning time threshold, and the number of abnormal events corresponding to N consecutive cleanings is less than the abnormal event time threshold, then the current area cleaning strategy for the suspended area is locked.
[0132] Where N is a positive integer, the cleaning number threshold, the abnormal event number threshold, and the number of N can be set according to actual needs, such as a cleaning number threshold of 5, an abnormal event number threshold of 1, and N of 3.
[0133] Abnormal events during the cleaning process can include hitting a barrier within the area, getting stuck within the area, etc. The number of abnormal events in the suspended area can be determined based on the behavioral feedback record data. If the number of abnormal events is less than the abnormal event threshold, that is, no abnormal events have occurred, then if the total number of cleanings for a suspended area is greater than 5, and there are no abnormal events in the most recent 3 consecutive cleaning processes, meaning that the suspended area has been cleaned enough times and the confidence of the current cleaning strategy is high, then the current area cleaning strategy for the suspended area is locked. In subsequent cleanings, it is not necessary to detect and determine the height of the suspended area in real time; cleaning can be carried out directly according to the current area cleaning strategy.
[0134] By iterating through multiple cleaning cycles and ensuring the current cleaning strategy has high confidence and is relatively stable, the current area cleaning strategy is locked, eliminating the need for real-time height detection. This improves the cleaning efficiency of the robot and ensures that the suspended areas, which have been thoroughly verified, are no longer affected by fluctuations from a single detection, thus achieving completely stable cleaning of suspended areas.
[0135] Step 602: If the number of abnormal events in the suspended area is greater than the threshold for the number of abnormal events, then the cleaning strategy for the suspended area is determined based on the behavior feedback record data.
[0136] If the number of abnormal events detected in the suspended area during a cleaning process exceeds the abnormal event threshold, i.e., an abnormal event has occurred, the cleaning strategy for the suspended area will be determined again based on the behavioral feedback data.
[0137] For example, the steps for determining the cleaning strategy for the suspended area are as follows: Figure 7 As shown, it includes:
[0138] Step 701: Determine the confidence level of the second region of the suspended area based on the behavioral feedback record data.
[0139] For each suspended region, the second confidence level can be calculated using the following formula:
[0140]
[0141] Among them, w_1, w_2, w_3, and w_4 are weighting coefficients that can be set according to actual conditions. The entry rate is the ratio of the total number of cleaning times experienced by the area to the total number of cleaning times of the robot. The collision rate is the ratio of the number of collisions triggered within the area to the total number of cleaning times experienced by the area. The getting stuck rate is the ratio of the number of times getting stuck within the area to the total number of cleaning times experienced by the area. The height deviation rate is the ratio of the number of times the actual detected height is inconsistent with the recorded height of the area to the total number of cleaning times of the robot.
[0142] Step 702: Determine the area cleaning strategy for the suspended area based on the second area confidence level of the suspended area and the historical area cleaning strategy of the suspended area.
[0143] The second region confidence score for each suspended region reflects the consistency between the current region identification result and the actual environment. By setting different region confidence score thresholds, suspended regions can be divided into high-confidence regions, medium-confidence regions, and low-confidence regions. For example, Figure 8 As shown, it includes:
[0144] Step 801: If the confidence level of the second region of the suspended area is greater than the first confidence level threshold, the historical area cleaning strategy is used as the area cleaning strategy for the suspended area.
[0145] If the confidence level of the second region of the suspended area is greater than the first confidence level threshold, then the suspended area is a high confidence area, which indicates that the suspended area is accurately identified, the cleaning robot enters it safely multiple times without any abnormal events, and the cleaning strategy remains unchanged. That is, the historical area cleaning strategy of the suspended area is determined as the area cleaning strategy of the suspended area.
[0146] Step 802: If the confidence level of the second region of the suspended region is less than or equal to the first confidence threshold and greater than or equal to the second confidence threshold, the historical region cleaning strategy is used as the region cleaning strategy for the suspended region, and observation marks are added to the suspended region.
[0147] If the confidence level of the second region of the suspended region is less than or equal to the first confidence level and greater than or equal to the second confidence level, then the suspended region is a medium confidence region. This indicates that there are occasional abnormal events in the current suspended region. The historical region cleaning strategy remains unchanged, and observation marks are added to the suspended region.
[0148] Step 803: If the confidence level of the second region of the suspended region is less than the first confidence level threshold, perform region correction on the suspended region.
[0149] If the confidence level of the second region of the suspended region is less than the first confidence level threshold, then the suspended region is a low confidence region, which indicates that abnormal events frequently occur in the suspended region, triggering the region correction process to correct the suspended region.
[0150] In the above embodiments, by monitoring the behavioral feedback data recorded during the cleaning process of the cleaning robot, the results of the cleaning robot's identification of suspended areas are evaluated and the strategy is adjusted so that the identification of suspended areas can gradually reach the optimal level after multiple cleanings.
[0151] In one embodiment, the behavioral feedback recording data includes collision events and height detection deviations, and area corrections are performed on the suspended area, such as... Figure 9 As shown, it includes:
[0152] Step 901: Determine the collision density of each boundary of the suspended area based on the collision events.
[0153] The behavioral feedback record data includes the number of times and the list of trigger locations of collisions within the area, i.e., collision events. The trigger locations of each collision event are projected onto the boundary of the suspended area, and the collision density of each boundary of the suspended area is determined based on the number of collision events at each boundary.
[0154] Step 902: Based on the collision plate density of each boundary of the suspended region, the boundary of the suspended region is corrected.
[0155] If the collision density of a certain boundary of the suspended area is greater than the density threshold, it indicates that the boundary may be inaccurate. The boundary is then corrected, for example, by shrinking the boundary inward by a preset number of grids, such as 1 to 2 grids. After shrinking, the region boundary of the suspended area is updated according to the grid information of the new boundary. The density threshold can be 3 times / edge.
[0156] Step 903: If the height detection deviation is greater than the preset deviation threshold, the height of the suspended area is corrected according to the height detection deviation.
[0157] The behavioral feedback recording data includes the number of times the actual detected height is inconsistent with the recorded height of the area and the deviation value, i.e., the height detection deviation. If the height detection deviation is greater than the preset deviation threshold and the direction of the deviation is known, the recorded height of the suspended area can be corrected according to the following formula. The deviation threshold can be 3mm.
[0158] Recorded height of suspended region = λ·historical record height + (1-λ)·average height of multiple real-time detections
[0159] Where λ is the smoothing coefficient, which can be 0.7 to prevent drastic changes caused by a single anomaly.
[0160] Step 502: Send each suspended area and its corresponding cleaning strategy to the cleaning robot, so that when the cleaning robot is performing a new task, it can operate according to the area cleaning strategy corresponding to the suspended area when it is determined that the cleaning robot is in any suspended area based on the current environmental perception data.
[0161] After determining the cleaning strategy for each suspended area, the area attribute information, behavior feedback record data and corresponding area cleaning strategy of each suspended area are serialized and stored in a reusable data file and sent to the cleaning robot. This instructs the cleaning robot to operate according to the area cleaning strategy corresponding to the suspended area when it determines that the cleaning robot is in any suspended area based on the current environmental perception data.
[0162] In the above embodiments, the identification of suspended areas provides reliable prior information for the reuse cleaning of the cleaning robot, enabling the reuse cleaning to plan the cleaning path more accurately and improve the cleaning coverage and efficiency.
[0163] In one embodiment, the training process of a point cloud learning model is as follows: Figure 10 As shown, it includes:
[0164] Step 1001: Obtain the sample grid point set.
[0165] The sample grid point set includes the position, height, and attribute information of multiple grid points. To train the point cloud learning model, a sample grid point set recorded by the cleaning robot after cleaning the target space is obtained. The information in the sample grid point set is the same as that in the grid point set in the environmental perception data mentioned above, and will not be repeated here.
[0166] Step 1002: Perform semi-supervised annotation on the sample grid point set to obtain sample data.
[0167] During model training, it is necessary to label the sample grid point set and determine the real region label corresponding to each suspended grid point in the sample grid point set. This is usually done manually, one suspended grid point at a time.
[0168] To improve the annotation efficiency and reduce the annotation cost of sample grid point sets, semi-supervised annotation is performed on the sample grid point sets. An iterative mechanism of a small amount of manual annotation, followed by annotation model assistance, and finally manual review is used to efficiently annotate the data and construct the training dataset.
[0169] Optionally, using a visualization interface based on a suspended grid, the annotation tool first selects a region. The annotator draws a polygon with the mouse to select a set of grid points belonging to the same suspended region and assigns a uniform region label. Then, regions are merged, labeling multiple segments that are occluded or interrupted by noise as the same region, such as labeling the two halves of the bed underside area obscured by bed legs as the same region. Finally, noise is marked, with obviously noisy grids labeled as background to train the model to identify and exclude noise points. During annotation, different colors are used to synchronously display the grid's height information to help the annotator determine the region's affiliation based on height consistency.
[0170] Then, during pre-labeling using the annotation-assisted model, a seed dataset is first constructed using the manually labeled sample grid points. The annotation-assisted model is then trained using this seed dataset. Finally, a large set of unlabeled grid points is input into the annotation-assisted model. The model outputs the probability distribution of each grid point, i.e., the classification probability vector, and calculates the label confidence score. The label confidence score is defined as:
[0171] Label confidence level = Maximum probability value in the grid point probability distribution - Second largest probability value in the grid point probability distribution
[0172] If the label confidence level is greater than the maximum label confidence level, the classification probability vector of the raster is of high confidence, and the pre-labeling result is automatically adopted. If the label confidence level is less than the minimum label confidence level, the classification probability vector of the raster is of low confidence and requires further manual review. If the minimum label confidence level is less than or equal to the maximum label confidence level, the classification probability vector of the raster is of medium confidence and requires sampling review. By using confidence level-based distribution, only about 20% to 30% of the pre-labeled data needs to be manually reviewed, which can ensure labeling quality while significantly reducing labeling costs. The maximum label confidence level can be 0.5, and the minimum label confidence level can be 0.2, which can be set according to actual needs.
[0173] Optionally, grid points that have passed manual review and grid points with high confidence can be merged to form a new training set. The annotation-assisted model can be iteratively trained using the new training set to improve the model's capabilities and increase the confidence of automatic grid point annotation.
[0174] Optionally, the annotation-assisted model can be trained from an initial model based on a 3D U-Net architecture with sparse convolution or a PointNet++ architecture based on point clouds.
[0175] Step 1003: Perform data augmentation on the sample data to obtain augmented sample data.
[0176] To improve the robustness of the point cloud learning model to noise and missing data, data augmentation is performed on the sample data during the training process of the point cloud learning model to obtain augmented sample data. The available augmentation methods are shown in Table 2 below.
[0177] Table 2 Sample Data Augmentation Methods
[0178]
[0179] Step 1004: Train the model based on the enhanced sample data and the initial point cloud learning model to obtain the point cloud learning model.
[0180] The initial point cloud learning model can be based on the PointNet architecture. Since the suspended grid point set is unordered, meaning the acquisition order of the grids does not affect their physical meaning, the model needs to maintain invariance to the arrangement order of the input points. The PointNet architecture naturally satisfies this requirement through symmetric functions (max pooling). Furthermore, the instance affiliation of a single grid depends not only on its own coordinates and height but also on the spatial distribution pattern of its surrounding grids. The PointNet architecture can simultaneously capture both local neighborhood features and global distribution features. The PointNet architecture has a small number of model parameters and low computational load, meeting the lightweight deployment requirements for inference on embedded platforms in robot base stations.
[0181] The initial point cloud learning model employs a two-stage structure of encoder-classifier head. Augmented sample data is input into the initial point cloud learning model for training. After training, the point cloud learning model is obtained. A composite loss function is used during training, as shown below:
[0182]
[0183] Where L_cls is the pointwise cross-entropy classification loss, which calculates the cross-entropy between the region classification prediction and the true label for each grid point, driving the model to learn the correct instance classification. L_reg is the input transformation regularization loss, which applies an orthogonal constraint ||I-AA^T|| to the input transformation matrix. Fis used to prevent the transformation matrix from degenerating and preserve the geometric structure. L_smooth is a spatial smoothing loss, which imposes a consistency constraint on the classification results of adjacent grids, so as to encourage spatially adjacent grids to belong to the same region and suppress isolated classification noise. , are loss weight coefficients. Optionally, =0.001, =0.1.
[0184] The definition of the spatial smoothing loss L_smooth can be shown as follows:
[0185]
[0186] Where E is the set of adjacent edges, (i,j)∈E, ||p_i-p_j||<d_neighbor. p_i and p_j are the positions of grid point i and grid point j, Y_i and Y_j are the classification probability vectors of grid point i and grid point j; m is the tolerance boundary that allows inconsistency at the junction of different regions, d_neighbor is the neighborhood distance threshold, which is optionally 3 grids.
[0187] After the training is completed, the entire process in which the obtained point cloud learning model processes the grid points is divided into three key stages: First, a 4×4 affine transformation matrix is learned and applied through the input transformation module to spatially align the point cloud. This step aims to eliminate the coordinate system differences caused by different cleaning trajectories of the cleaning robot, so that subsequent feature extraction has rotation and translation invariance. Second, it enters the point-by-point feature extraction stage, where a parameter-shared MLP (Multilayer Perceptron) maps the 4-dimensional coordinates of each point to a high-dimensional feature space to obtain local features; at the same time, a global feature representing the overall scene layout is aggregated at the global dimension through the max pooling layer. Subsequently, the global feature is copied and spliced to the local feature of each point to form a fused feature vector containing both microscopic details and macroscopic context information. Finally, the fused features are sent to the classification head, which is mapped by the multilayer perceptron and combined with the Softmax activation function to output the probability distribution of each grid point belonging to K preset regions. This provides a fine mathematical basis for subsequent suspended region instance aggregation and confidence filtering, enabling the cleaning robot to make flexible and robust spatial reasoning and decisions in complex furniture environments. Optionally, K is the preset maximum number of regions, for example, K=16, which covers the upper limit of the number of common suspended regions in the home environment. For scenarios where the actual number of regions is less than K, the output probabilities of the extra categories are close to zero and will be filtered out in the post-processing stage.
[0188] In the above embodiments, the point cloud learning model can learn the overall morphological features of suspended regions through a large amount of noisy, occluded, and distorted sample data during training, thus correctly identifying suspended region instances even when local grids are missing or offset. Compared with traditional clustering algorithms, the region missing rate is reduced, and boundary skew and dilation problems are effectively suppressed.
[0189] In an embodiment of this application, a robot area recognition method is also provided, applied to a cleaning robot. The method includes: sending recorded environmental perception data of the target space to the cleaning robot base station after the target space cleaning is completed.
[0190] The environmental perception data includes the location, height, and attribute information of multiple grid points. This information is used by the cleaning robot base station to input the location, height, and attribute information of multiple grid points into a preset point cloud learning model. The model then outputs the probability that each grid point belongs to each candidate region. Based on the probability that each grid point belongs to each candidate region, the multiple grid points are aggregated to determine at least one suspended region in the target space.
[0191] After each cleaning of the target space, the cleaning robot sends the recorded environmental perception data of the target space to the cleaning robot base station. The environmental perception data may also include behavioral feedback data recorded during the cleaning process. The specific implementation method is as described in the above method embodiment, and will not be repeated here.
[0192] In the above embodiments, by sending environmental perception data during the cleaning process of the target space to the cleaning robot base station each time, the cleaning robot base station can identify the suspended area, which can provide accurate prior information on the suspended area for the cleaning robot's reuse cleaning.
[0193] In one embodiment, during the cleaning process, the cleaning robot, such as Figure 11 As shown, the method also includes:
[0194] Step 1101: Obtain the area information data stored by the cleaning robot when it was performing historical tasks.
[0195] The area information data includes at least one suspended area and its corresponding cleaning strategy. When performing historical tasks, the cleaning robot acquires environmental perception data and sends it to its base station. The base station identifies suspended areas in the target space based on this data, determines the cleaning strategy for each suspended area, saves the suspended areas and their corresponding cleaning strategies as area information data, and sends this data to the cleaning robot.
[0196] Step 1102: When the cleaning robot is performing a new task, acquire current environmental perception data.
[0197] Step 1103: Determine the target area where the cleaning robot is currently located based on the current environmental perception data.
[0198] When the cleaning robot performs a new cleaning task, it acquires current environmental perception data, such as current point cloud data, and determines the target area where the cleaning robot is currently located based on the location information of the current point cloud data.
[0199] Step 1104: If the target area is located in any suspended area, the cleaning strategy corresponding to the suspended area shall be executed.
[0200] The system determines whether the target area is located within any suspended area based on its coordinates. If a suspended area is found, the system operates according to the area cleaning strategy corresponding to that suspended area.
[0201] In the embodiments of this application, such as Figure 12 As shown, the suspended region identification method of this application includes:
[0202] Step 1201: Obtain the environmental perception data recorded by the cleaning robot after cleaning the target space.
[0203] Step 1202: Input the position information, height information and attribute information of multiple grid points into the preset point cloud learning model to obtain the probability of each grid point belonging to each candidate region output by the point cloud learning model.
[0204] Step 1203: Based on the probability that each grid point belongs to each candidate region, determine the number of grids in each candidate region and the confidence level of the first region.
[0205] Step 1204: Candidate regions whose grid number and first region confidence meet the preset conditions are identified as suspended regions.
[0206] Step 1205: For each suspended area, match the area attribute information of the suspended area with the geometric feature information of the preset furniture to determine the furniture type label of the suspended area.
[0207] Step 1206: Send the furniture type label to the cleaning robot's application so that it can be displayed on the map in the application.
[0208] Step 1207: Based on the behavioral feedback record data and at least one suspended area, determine the area cleaning strategy corresponding to each suspended area.
[0209] Step 1208: Send each suspended area and its corresponding cleaning strategy to the cleaning robot, so that when the cleaning robot is performing a new task, it can operate according to the area cleaning strategy corresponding to the suspended area when it is determined that the cleaning robot is in any suspended area based on the current environmental perception data.
[0210] The method described in the above embodiments can replace the traditional clustering / segmentation logic in the UpdateSuspendAreas function of the existing robot architecture, keeping the function interface unchanged. The input data structure (suspended grid point set) and output data structure (suspended region instance list) remain unchanged, and existing robot modules such as downstream reused data storage, reused cleaning loading, and cleaning strategy decision-making do not require modification. The inference of the point cloud learning model is executed at the cleaning robot's base station, without affecting the real-time performance of the cleaning robot during the cleaning process.
[0211] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages in other steps. It is understood that the steps in different embodiments can be freely combined as needed, and all non-contradictory solutions formed by such combinations are within the scope of protection of this application.
[0212] Based on the same inventive concept, this application also provides a robot region recognition device for implementing the robot region recognition method described above. The solution provided by this device is similar to the implementation described in the above method; therefore, the specific limitations in one or more robot region recognition device embodiments provided below can be found in the limitations of the robot region recognition method described above, and will not be repeated here.
[0213] In one exemplary embodiment, such as Figure 13 As shown, a robot area recognition device 1300 is provided, applied to a cleaning robot base station, including: an acquisition module, an input module, and an aggregation module, wherein:
[0214] The acquisition module is used to acquire environmental perception data recorded by the cleaning robot after cleaning the target space. The environmental perception data includes the location information, height information and attribute information of multiple grid points.
[0215] The input module is used to input the position information, height information and attribute information of multiple grid points into a preset point cloud learning model, and obtain the probability of each grid point belonging to each candidate region output by the point cloud learning model.
[0216] The aggregation module is used to aggregate multiple grid points based on the probability that each grid point belongs to each candidate region, and to determine at least one suspended region in the target space.
[0217] In one embodiment, the aggregation module is used to determine the number of grids and the first region confidence level of each candidate region based on the probability that each grid point belongs to each candidate region; and to determine the candidate regions whose number of grids and the first region confidence level meet the preset conditions as suspended regions.
[0218] In one embodiment, the apparatus further includes an attribute determination module, used to determine the region outline and region attribute information of each suspended region based on the position information, height information and attribute information of each grid point in the suspended region. The region attribute information includes at least one of the following: region identifier, region vertex coordinates, region average suspended height, region area, region minimum bounding rectangle, and aspect ratio of the minimum bounding rectangle.
[0219] In one embodiment, the device further includes a tag sending module, which is used to match the area attribute information of each suspended area with the geometric feature information of preset furniture to determine the furniture type tag of the suspended area; and send the furniture type tag to the application terminal of the cleaning robot for display on the map of the application terminal.
[0220] In one embodiment, the environmental perception data also includes behavioral feedback recording data, and the device also includes a strategy determination module, used to determine the area cleaning strategy corresponding to each suspended area based on the behavioral feedback recording data and at least one suspended area; and to send each suspended area and the corresponding area cleaning strategy to the cleaning robot to instruct the cleaning robot to operate according to the area cleaning strategy corresponding to the suspended area when performing a new task and determining that the cleaning robot is in any suspended area based on the current environmental perception data.
[0221] In one embodiment, the behavior feedback recording data includes the total number of cleanings and the number of abnormal events. The strategy determination module is used to lock the current area cleaning strategy for each suspended area if the total number of cleanings for the suspended area is greater than the cleaning count threshold and the number of abnormal events corresponding to N consecutive cleanings is less than the abnormal event count threshold, where N is a positive integer; if the number of abnormal events for the suspended area is greater than the abnormal event count threshold, the area cleaning strategy corresponding to the suspended area is determined based on the behavior feedback recording data.
[0222] In one embodiment, the strategy determination module is used to determine the second area confidence level of the suspended area based on behavioral feedback record data; and to determine the area cleaning strategy of the suspended area based on the second area confidence level of the suspended area and the historical area cleaning strategy of the suspended area.
[0223] In one embodiment, the strategy determination module is configured to: if the confidence level of the second region of the suspended region is greater than the first confidence threshold, use the historical region cleaning strategy as the region cleaning strategy for the suspended region; if the confidence level of the second region of the suspended region is less than or equal to the first confidence threshold but greater than or equal to the second confidence threshold, use the historical region cleaning strategy as the region cleaning strategy for the suspended region and add an observation mark to the suspended region; if the confidence level of the second region of the suspended region is less than the first confidence threshold, perform region correction on the suspended region.
[0224] In one embodiment, the behavior feedback recording data includes collision events and height detection deviation. The strategy determination module is used to determine the collision density of each boundary of the suspended area based on the collision events; to correct the boundary of the suspended area based on the collision density of each boundary of the suspended area; and to correct the height of the suspended area based on the height detection deviation if the height detection deviation is greater than a preset deviation threshold.
[0225] In one embodiment, the apparatus further includes a training module for acquiring a sample grid point set, the sample grid point set including the position information, height information and attribute information of multiple grid points; performing semi-supervised annotation on the sample grid point set to obtain sample data; performing data augmentation processing on the sample data to obtain augmented sample data; and training a model based on the augmented sample data and an initial point cloud learning model to obtain a point cloud learning model.
[0226] Each module in the aforementioned robot area recognition device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the corresponding operations of each module.
[0227] In one exemplary embodiment, a robot area recognition device is also provided, applied to a cleaning robot, including: a sending module, used to send environmental perception data recorded after the target space is cleaned to the cleaning robot base station, the environmental perception data including the location information, height information and attribute information of multiple grid points;
[0228] The location, height, and attribute information of multiple grid points are used by the cleaning robot base station to input the location, height, and attribute information of multiple grid points into a preset point cloud learning model to obtain the probability of each grid point belonging to each candidate region output by the point cloud learning model; and based on the probability of each grid point belonging to each candidate region, the multiple grid points are aggregated to determine at least one suspended region in the target space.
[0229] Each module in the aforementioned robot area recognition device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the corresponding operations of each module.
[0230] In one exemplary embodiment, a cleaning robot base station is provided. This base station can be a server, and its internal structure diagram can be as follows: Figure 14 As shown, the cleaning robot base station includes a processor, memory, input / output (I / O) interfaces, and a communication interface. The processor, memory, and I / O interfaces are connected via a system bus, and the communication interface is also connected to the system bus via the I / O interfaces. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides the environment for the operating system and computer programs in the non-volatile storage media. The database stores environmental perception data. The I / O interfaces allow the processor to exchange information with external devices. The communication interface allows communication with external terminals via a network connection. When executed by the processor, the computer program implements a robot area recognition method.
[0231] In one exemplary embodiment, a cleaning robot is provided. The internal hardware architecture of this cleaning robot typically includes a processor, memory, environmental perception components, and task execution components. The processor, as the robot's core computing and control unit, establishes communication connections with the memory, environmental perception components, and task execution components via an internal system bus. The environmental perception components may include a combination of one or more sensors such as LiDAR, depth cameras, ultrasonic sensors, fall sensors, infrared sensors, or collision sensors, used to collect various types of environmental perception data in real time during robot task execution, such as data about steps, suspended areas, carpets, or obstacles. The memory includes non-volatile storage media and internal memory, which not only provides a memory environment for the robot's operating system and underlying programs but also allocates dedicated storage areas or log archive directories for persistently storing environmental perception data and area information data.
[0232] Those skilled in the art will understand that Figure 14 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0233] In one exemplary embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the method described in any of the above embodiments.
[0234] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the steps of the method described in any one of the above embodiments.
[0235] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps of the method described in any one of the above embodiments.
[0236] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data must comply with relevant regulations.
[0237] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, artificial intelligence (AI) processors, etc., and are not limited to these.
[0238] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0239] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A robot region recognition method, characterized in that, The method, applied to a cleaning robot base station, includes: The environmental perception data recorded by the cleaning robot after cleaning the target space is completed includes the position information, height information and attribute information of multiple grid points. The position information, height information and attribute information of the multiple grid points are input into a preset point cloud learning model to obtain the probability of each grid point belonging to each candidate region output by the point cloud learning model. Based on the probability that each grid point belongs to each candidate region, the multiple grid points are aggregated to determine at least one suspended region in the target space.
2. The method according to claim 1, characterized in that, The step of performing instance aggregation on the multiple grid points based on the probability that each grid point belongs to each candidate region to determine at least one suspended region in the target space includes: Based on the probability that each grid point belongs to each candidate region, the number of grids in each candidate region and the confidence level of the first region are determined. Candidate regions whose grid number and the confidence level of the first region meet the preset conditions are determined as the suspended regions.
3. The method according to claim 2, characterized in that, The method further includes: For each of the suspended regions, the region outline and region attribute information of the suspended region are determined based on the position information, height information and attribute information of each grid point in the suspended region. The region attribute information includes at least one of the following: region identifier, region vertex coordinates, region average suspended height, region area, region minimum bounding rectangle, and aspect ratio of the minimum bounding rectangle.
4. The method according to claim 3, characterized in that, The method further includes: For each of the suspended areas, the area attribute information of the suspended area and the geometric feature information of the preset furniture are matched in size to determine the furniture type label of the suspended area; The furniture type label is sent to the cleaning robot's application for display on a map within the application.
5. The method according to any one of claims 1-4, characterized in that, The environmental perception data also includes behavioral feedback recording data, and the method further includes: Based on the behavioral feedback record data and the at least one suspended area, determine the area cleaning strategy corresponding to each suspended area; Each of the suspended areas and its corresponding cleaning strategy is sent to the cleaning robot to instruct the cleaning robot to operate according to the area cleaning strategy corresponding to the suspended area when it determines that the cleaning robot is in any of the suspended areas based on the current environmental perception data.
6. The method according to claim 5, characterized in that, The behavior feedback record data includes the total number of cleaning operations and the number of abnormal events. The step of determining the area cleaning strategy corresponding to each of the at least one suspended area based on the behavior feedback record data and the at least one suspended area includes: For each suspended area, if the total number of cleaning times for the suspended area is greater than the cleaning time threshold, and the number of abnormal events corresponding to N consecutive cleanings is less than the abnormal event time threshold, then the current area cleaning strategy for the suspended area is locked, where N is a positive integer. If the number of abnormal events in the suspended area is greater than the threshold for the number of abnormal events, then the area cleaning strategy corresponding to the suspended area is determined based on the behavior feedback record data.
7. The method according to claim 6, characterized in that, The step of determining the area cleaning strategy corresponding to the suspended area based on the behavior feedback record data further includes: Based on the behavioral feedback record data, determine the second region confidence level of the suspended region; Based on the second area confidence level of the suspended area and the historical area cleaning strategy of the suspended area, the area cleaning strategy of the suspended area is determined.
8. The method according to claim 7, characterized in that, Based on the second region confidence level of the suspended region and the historical region cleaning strategy of the suspended region, a region cleaning strategy for the suspended region is determined, including: If the confidence level of the second region of the suspended area is greater than the first confidence threshold, the historical area cleaning strategy will be used as the area cleaning strategy for the suspended area. If the confidence level of the second region of the suspended region is less than or equal to the first confidence threshold and greater than or equal to the second confidence threshold, the historical region cleaning strategy is used as the region cleaning strategy for the suspended region, and an observation mark is added to the suspended region. If the confidence level of the second region of the suspended region is less than the first confidence level threshold, the suspended region is corrected.
9. The method according to claim 8, characterized in that, The behavioral feedback recording data includes collision events and height detection deviations. The region correction for the suspended area includes: The collision density of each boundary of the suspended region is determined based on the collision events. Based on the collision plate density at each boundary of the suspended region, the boundary of the suspended region is corrected; If the height detection deviation is greater than a preset deviation threshold, the height of the suspended area is corrected based on the height detection deviation.
10. The method according to any one of claims 1-4, characterized in that, The method further includes: Obtain a sample grid point set, which includes the position information, height information, and attribute information of multiple grid points; Semi-supervised annotation is performed on the sample grid point set to obtain sample data; The sample data is subjected to data augmentation processing to obtain augmented sample data; The enhanced sample data and the initial point cloud learning model are used to train the model to obtain the point cloud learning model.
11. A robot region recognition method, characterized in that, Applied to cleaning robots, the method includes: After the cleaning of the target space is completed, the environmental perception data of the target space recorded is sent to the cleaning robot base station. The environmental perception data includes the location information, height information and attribute information of multiple grid points. The location, height, and attribute information of the multiple grid points are used by the cleaning robot base station to input the location, height, and attribute information of the multiple grid points into a preset point cloud learning model to obtain the probability that each grid point output by the point cloud learning model belongs to each candidate region; and to perform instance aggregation on the multiple grid points according to the probability that each grid point belongs to each candidate region to determine at least one suspended region in the target space.
12. The method according to claim 11, characterized in that, The method further includes: Acquire the area information data stored by the cleaning robot when performing historical tasks, the area information data including at least one suspended area and the corresponding area cleaning strategy; When the cleaning robot performs a new task, it acquires current environmental perception data; The target area where the cleaning robot is currently located is determined based on the current environmental perception data; If the target area is located in any of the suspended areas, the cleaning strategy corresponding to the suspended area will be used.
13. A robot region recognition device, characterized in that, The device, used in a cleaning robot base station, includes: The acquisition module is used to acquire environmental perception data recorded by the cleaning robot after cleaning the target space. The environmental perception data includes the position information, height information and attribute information of multiple grid points. The input module is used to input the position information, height information and attribute information of the multiple grid points into a preset point cloud learning model to obtain the probability of each grid point belonging to each candidate region output by the point cloud learning model. An aggregation module is used to aggregate multiple grid points based on the probability that each grid point belongs to each candidate region, and to determine at least one suspended region in the target space.
14. A robot region recognition device, characterized in that, The device, used in cleaning robots, includes: The sending module is used to send environmental perception data recorded after the target space cleaning is completed to the cleaning robot base station. The environmental perception data includes the location information, height information and attribute information of multiple grid points. The location, height, and attribute information of the multiple grid points are used by the cleaning robot base station to input the location, height, and attribute information of the multiple grid points into a preset point cloud learning model to obtain the probability that each grid point output by the point cloud learning model belongs to each candidate region; and to perform instance aggregation on the multiple grid points according to the probability that each grid point belongs to each candidate region to determine at least one suspended region in the target space.
15. A cleaning robot base station, comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 10.
16. A cleaning robot, comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 11 to 12.
17. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 12.
18. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 12.
