Mapping method, device, computer storage medium, and control method for self-moving robot

By obtaining the position information of the starting point and end point of the channel, determining the straight line and deflection angle, establishing the channel, and recording the traveling coordinate set of the mapping device, the problem of abnormal mapping in the existing technology is solved, and the efficiency and stability of mapping are improved. sex.

WO2024179487A1PCT designated stage expired Publication Date: 2024-09-06POSITEC POWER TOOLS (SUZHOU) CO LTD

Patent Information

Application Number
PCT/CN2024/078891
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-02-28
Filing Date
2024-02-28
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

Existing mapping methods are prone to exceptions when establishing channels. For example, the channel is not connected to the work area, resulting in the need to re-construct the map, which is time-consuming and labor-intensive.

Method used

Provide a mapping method that obtains the position information of the starting point and end point of the channel, determines the straight line and deflection angle, establishes the channel, and records the traveling coordinate set of the mapping device to establish the shape of the channel to avoid the problem that the channel is not connected to the boundary And rebuild the map.

Benefits of technology

It improves the efficiency of mapping, avoids the problem of re-mapping because the channel is not connected to the boundary, and enhances the stability and freedom of mapping.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024078891_06092024_PF_FP
    Figure CN2024078891_06092024_PF_FP
Patent Text Reader

Abstract

Provided in the present application are a mapping method, a device, a computer storage medium, and a control method for a self-moving robot. The mapping method is executed by a mapping apparatus. The mapping method comprises: acquiring information of a first closed sub-region and information of a second closed sub-region; acquiring position information of a first position point; if the first position point is located in one of the first closed sub-region and the second closed sub-region, marking the first position point as a channel starting point; acquiring position information of a second position point; if the second position point is located in the other one of the first closed sub-region and the second closed sub-region, marking the second position point as a channel ending point; and establishing a channel according to the channel starting point and the channel ending point. The mapping method, the device and the computer storage medium provided in the present application can avoid the need of remapping due to the fact that a channel is not connected to the boundary of a first closed sub-region and / or a second closed sub-region during mapping, such that the mapping efficiency can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Mapping method, device, computer storage medium, and control method of self-moving robot

[0001] This application claims priority to Chinese patent application filed on February 28, 2023, with application number CN202310179996.6, the entire contents of which are incorporated herein by reference. Technical Field

[0002] The present application relates to the field of data processing technology, and in particular to a mapping method, device, computer storage medium, and a control method for a self-moving robot. Background Art

[0003] With the continuous advancement of computer technology and artificial intelligence, automated systems similar to intelligent robots have gradually begun to enter people's lives. For example, an automatic lawn mower can automatically mow the user's lawn and charge without user intervention. This automatic system, once set up, eliminates the need for further management, freeing users from tedious, time-consuming and labor-intensive household chores such as cleaning and lawn maintenance. Taking an automatic lawn mower as an example, when the automatic lawn mower is cutting its work area, it needs to obtain a map of the work area so that it can operate according to the map. When generating the map, in order to connect two unconnected work areas, it is usually necessary to establish a channel connecting the two work areas.

[0004] Existing mapping methods require re-mapping when anomalies occur during channel establishment, such as when the established channel is not connected to the working area, which is very time-consuming and labor-intensive.

[0005] Therefore, it is necessary to provide a mapping method, device and computer storage medium to solve the above problems existing in the prior art.

[0006] Summary of the Invention

[0007] In view of this, the purpose of this application is to provide a mapping method, device and computer storage medium, which can improve the efficiency of mapping compared with the existing technology.

[0008] This application provides a mapping method, which is performed by a mapping device. The mapping method includes:

[0009] Obtaining location information of the first closed sub-area and location information of the second closed sub-area;

[0010] In response to an instruction to start establishing a passage connecting the first closed sub-area and the second closed sub-area, obtaining position information of the first position point;

[0011] If the first position point is located in one of the first closed sub-area or the second closed sub-area, marking the first position point as the channel starting point; and / or

[0012] In response to an instruction to end establishing the passage between the first closed sub-area and the second closed sub-area, acquiring position information of a second position point;

[0013] If the second position point is located in the other of the first closed sub-region or the second closed sub-region, marking the second position point as the channel end point;

[0014] The channel is established according to the channel start point and the channel end point.

[0015] In one embodiment, establishing the channel according to the channel start point and the channel end point further comprises:

[0016] Determine a straight line connecting the channel starting point and the channel ending point;

[0017] Determine the length of a straight line and its deflection angle relative to a reference direction;

[0018] The channel is established according to the length of the straight line and the deflection angle relative to a reference direction.

[0019] In one embodiment, after marking the first position point as a channel start point if the first position point is located in one of the first closed sub-region or the second closed sub-region, the mapping method further includes:

[0020] The coordinate set of the mapping device during its movement is recorded until the passage between the first closed sub-area and the second closed sub-area is completed.

[0021] In one embodiment, the mapping method further includes:

[0022] The channel is established according to the channel start point, the channel end point and the coordinate set.

[0023] In one embodiment, the mapping device is an autonomous robot or a mapping component.

[0024] In one embodiment, the mapping method further includes: if it is determined that the first position point or the second position point is not in the first closed sub-region and the second closed sub-region, the mapping device moves to a third position point or a fourth position point, and determines whether the third position point or the fourth position point is located in the first closed sub-region or the second closed sub-region.

[0025] In one embodiment, if the mapping device is an autonomous robot, the mapping device moves autonomously to a third location or a fourth location.

[0026] In one embodiment, if the mapping device is a mapping assembly, the mapping device is controlled to move to a third position point or a fourth position point.

[0027] In one embodiment, the mapping method further includes:

[0028] If the first position point is not in the first closed sub-region and the second closed sub-region, extending the first position point to a boundary of the first closed sub-region or the second closed sub-region; and / or

[0029] If the second position point is not in the first closed sub-region and the second closed sub-region, the second position point is extended to the boundary of the other one of the first closed sub-region or the second closed sub-region.

[0030] In one embodiment, extending the first location point to a boundary of one of the first closed sub-area or the second closed sub-area includes:

[0031] rasterizing a map, wherein the map includes at least location information of the first closed sub-area, the second closed sub-area, and location information of the first location point;

[0032] Based on the first position point, traverse each grid adjacent to the first position point in a circular manner;

[0033] If the traversal does not reach an intersection point with the boundary of one of the first closed sub-region or the second closed sub-region, then traverse the grid outward in a circular manner until at least one intersection point with the boundary of the first closed sub-region or the second closed sub-region is reached;

[0034] Comparing the straight-line distances between the first position point and each intersection point, selecting the intersection point with the smallest straight-line distance to the first position point as the nearest boundary point, and then extending the first position point to the nearest boundary point.

[0035] In one embodiment, if the first position point is located in one of the first closed sub-region or the second closed sub-region, marking the first position point as a channel starting point includes:

[0036] Obtaining position information of a boundary between the first closed subregion and the second closed subregion, determining position information of points within the boundary between the first closed subregion and the second closed subregion based on the position information of the boundary, and setting pixel values ​​of the points within the boundary between the first closed subregion and the second closed subregion to one pixel value, and setting pixel values ​​of the points outside the boundary between the first closed subregion and the second closed subregion to another pixel value;

[0037] Determining, based on the location information of the first location point, a pixel value of a point in the map corresponding to the first location point;

[0038] If the pixel value of the point corresponding to the first position point is the same as the pixel values ​​of the first closed sub-region and the second closed sub-region, it is determined that the first position point is located in one of the first closed sub-region and the second closed sub-region.

[0039] In one embodiment, if the first position point is located in one of the first closed sub-region or the second closed sub-region, marking the first position point as a channel starting point includes:

[0040] If the first position point is located in one of the first closed sub-area or the second closed sub-area, and the positioning signal strength of the first position point is greater than a preset strength value, the first position point is confirmed as the channel starting point.

[0041] In one embodiment, the mapping method further includes:

[0042] In response to an instruction to establish a boundary of a work area, coordinate points of the mapping device during movement are recorded, and the boundary of the work area is established according to the coordinate points.

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

[0044] In response to finishing establishing the boundary of the work area, if a straight-line distance between a start point and an end point of the boundary of the currently established work area is greater than a preset distance, the start point and the end point are connected by a straight line.

[0045] In one embodiment, the mapping method further includes:

[0046] Detect the straight-line distance between the starting point and the current point of the boundary of the established working area;

[0047] When the straight-line distance is not less than the preset distance, sending a prompt to continue establishing the boundary of the work area and executing a response to continue establishing the boundary of the work area;

[0048] When the straight-line distance is less than the preset distance, a prompt for stopping establishing the boundary of the working area is sent and a response for ending the establishment of the boundary of the working area is executed.

[0049] In one embodiment, the mapping method includes:

[0050] In response to multiple closed areas being generated when establishing the boundary of the working area, other closed areas among the multiple closed areas except for the closed area with the largest outline are deleted.

[0051] The present application also provides a control method for a self-moving robot, which obtains position information of the self-moving robot;

[0052] loading a sub-area map corresponding to the sub-area where the autonomous robot is located according to the position information, wherein the sub-area is a portion of a target working area of ​​the autonomous mobile device, and the sub-area map is at least one of a map of a first closed sub-area, a map of a second closed sub-area, and a map of a passage connecting the first closed sub-area and the second closed sub-area;

[0053] The self-moving robot is controlled to move within a range defined by the sub-area map.

[0054] In one embodiment, in response to the autonomous robot being in the first closed sub-area, path planning is performed according to a map of the first closed sub-area;

[0055] The self-propelled robot is controlled to move within the first closed sub-area according to the planned path.

[0056] In one embodiment, in response to completion of travel in the first closed sub-area, a map of the passage is loaded;

[0057] The self-moving device is controlled to move from the first closed sub-area to the second closed sub-area according to the map of the passage.

[0058] In one embodiment, before loading the map of the channel, the method includes:

[0059] Determining whether the current position of the self-moving device is an endpoint of a channel;

[0060] If so, the map of the channel is loaded.

[0061] In one embodiment, before loading the map of the channel, the method includes:

[0062] Send transition prompts to the interactive terminal;

[0063] In response to receiving the confirmation transition instruction returned by the interactive terminal, the map of the channel is loaded.

[0064] In one embodiment, before controlling the mobile device to move from the first closed sub-area to the second closed sub-area according to the map of the passage, the control method further includes:

[0065] determining whether the channel is a magnetic channel;

[0066] If the channel is not a magnetic channel, determining whether the positioning signal strength of one end point of the channel is less than a signal strength threshold;

[0067] If the positioning signal strength of the starting point of the channel is less than the signal strength threshold, the system waits for a response in situ.

[0068] In one embodiment, the control method further includes:

[0069] If the channel is a magnetic channel, the self-propelled robot moves according to the guidance of the magnetic channel and responds to the magnetic signal of the magnetic channel.

[0070] In one embodiment, in response to the passage travel ending, loading a map of the second closed sub-area;

[0071] performing path planning according to a map of the second closed sub-area;

[0072] The self-propelled robot is controlled to move within the second closed sub-area according to the planned path.

[0073] In one embodiment, before controlling the self-propelled robot to travel within the second closed sub-area, the control method further includes:

[0074] If the channel is a magnetic channel, when the autonomous robot is located at the other end point of the channel, determining whether a condition for leaving the channel end point is met, wherein the condition for leaving the channel end point includes that the channel end point is located within the second closed sub-area and the positioning signal strength is greater than a signal strength threshold;

[0075] If the condition for leaving the other end point of the channel is met, controlling the self-moving robot to move toward the second closed sub-area;

[0076] If the condition for leaving the other end point of the channel is not met, the self-moving device is controlled to wait in place.

[0077] The present application also provides a mapping device, which includes a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, it can implement the above-mentioned mapping method and / or control method of the self-moving robot.

[0078] The present application also provides a computer storage medium, which stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor executes the above-mentioned mapping method and / or control method of the self-moving robot.

[0079] Compared to the prior art, the mapping method provided by the above-mentioned preferred embodiment of the present application includes: in response to an instruction to start establishing a channel connecting a first closed sub-region and a second closed sub-region, obtaining the position information of a first position point, and if the first position point is located in one of the first closed sub-region or the second closed sub-region, marking the first position point as the channel starting point; and / or in response to an instruction to end establishing the first closed sub-region and the second closed sub-region, obtaining the position information of a second position point, and if the second position point is located in the other of the first closed sub-region or the second closed sub-region, marking the second position point as the channel ending point; establishing the channel according to the channel starting point and the channel ending point. Therefore, the mapping method, device and computer storage medium provided by the present application can avoid the need to re-map due to the channel not being connected to the boundary of the first closed sub-region and / or the second closed sub-region during mapping, thereby improving mapping efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0080] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can be obtained based on these drawings without paying any creative work.

[0081] FIG1 is a flow chart of a mapping method provided in the first embodiment of the present application.

[0082] FIG2 is a flow chart of a mapping method provided in a second embodiment of the present application.

[0083] FIG3 is a schematic diagram of traversing intersection points when using the mapping method shown in FIG2 in an embodiment of the present application.

[0084] FIG4 is a schematic diagram showing the effect of a channel established by using the mapping method shown in FIG2 according to an embodiment of the present application.

[0085] FIG5 is a flowchart of a mapping method provided in a third embodiment of the present application.

[0086] FIG6 is a schematic diagram of an application scenario in which the mapping method shown in FIG5 is used in one embodiment of the present application.

[0087] FIG. 7 is a schematic diagram showing the effect of an embodiment of the present application using the mapping method shown in FIG. 6 .

[0088] FIG8 is a schematic diagram of a scene of a mapping method according to an embodiment of the present application.

[0089] FIG9 is a schematic structural diagram of a mapping device provided in the first embodiment of the present application;

[0090] FIG10 is a schematic diagram of a control method for a self-moving robot according to an embodiment of the present application;

[0091] FIG11 is a schematic diagram of a target working area according to an embodiment of the present application;

[0092] FIG12 is a schematic diagram of a channel according to an embodiment of the present application.

[0093] Reference numerals:

[0094] 11. Target work area;

[0095] 111. First closed sub-area;

[0096] 112, channel;

[0097] 113. Second closed sub-area;

[0098] 1121, channel starting point;

[0099] 1122. Channel end point. DETAILED DESCRIPTION

[0100] Specific embodiments of the present application will be described in detail below with reference to the accompanying drawings. It is apparent that the described embodiments are only some of the embodiments of the present application, and not all of them. All other embodiments derived by persons of ordinary skill in the art based on the description of this application without inventive effort are intended to fall within the scope of protection of this application.

[0101] FIG1 is a flow chart of a mapping method according to a first embodiment of the present application. As shown in FIG1 , the mapping method includes:

[0102] Step S11: Acquire information of the first closed sub-area and information of the second closed sub-area;

[0103] Step S12a: In response to an instruction to start establishing a channel connecting the first closed sub-region and the second closed sub-region, obtaining position information of a first location point; if the first location point is located in one of the first closed sub-region or the second closed sub-region, marking the first location point as a channel starting point; and / or

[0104] Step S12b: in response to the instruction to end the establishment of the first closed sub-region and the second closed sub-region, obtaining position information of a second location point; if the second location point is located in the other of the first closed sub-region or the second closed sub-region, marking the second location point as a channel end point;

[0105] Step S13: establishing the channel according to the channel start point and the channel end point.

[0106] The above method can avoid the need to re-build the map due to the channel not being connected to the boundary of the first closed sub-region and / or the second closed sub-region during mapping, thereby improving mapping efficiency.

[0107] As an embodiment of this invention, establishing the channel according to the channel starting point and the channel ending point further includes:

[0108] Determine a straight line connecting the channel starting point and the channel ending point;

[0109] Determine the length of a straight line and its deflection angle relative to a reference direction;

[0110] The channel is established according to the length of the straight line and the deflection angle relative to a reference direction.

[0111] In this step, a straight line is drawn using the channel start point and the channel end point, and the channel start point and the channel end point exist on the straight line. In the Cartesian coordinate system, the distance equation can be used to determine the distance between the channel start point and the channel end point, and this distance is the length of the straight line. When establishing a Cartesian coordinate system, one of the channel start point or the channel end point can be used as the coordinate origin, and then the channel start point and the channel end point are connected to obtain a straight line. The horizontal axis or vertical axis of the coordinate system is used as the reference direction, and then the deflection angle of the straight line and the reference direction is calculated. After obtaining the length of the straight line and the deflection angle relative to the reference direction, the unique channel determined in the current coordinate system can be established.

[0112] As an embodiment of the present invention, after marking the first position point as a channel starting point if the first position point is located in one of the first closed sub-region or the second closed sub-region, the mapping method further includes:

[0113] The coordinate set of the mapping device during its movement is recorded until the passage between the first closed sub-area and the second closed sub-area is completed.

[0114] When the channel is not a straight line, it is necessary to record the corresponding position of the channel. In this embodiment, all coordinates of the trajectory formed by the mapping device in the process of moving from the starting point of the channel to the end point of the channel can be continuously recorded to form a coordinate set. The coordinate set represents the coordinates corresponding to the channel, and the shape of the channel can be characterized by the coordinates.

[0115] As an embodiment of this invention, the channel is established according to the channel starting point, the channel ending point and the coordinate set.

[0116] In this embodiment, when the starting point and the ending point of the channel are determined, the specific shape of the channel can be drawn using a coordinate set. In this way, the shape of the channel can be designed more freely, which increases the freedom of channel establishment.

[0117] In one embodiment, the mapping device is an autonomous robot or a mapping component. Specifically, the mapping device can be, for example, a lawn mower, a wheelbarrow, or the like.

[0118] In one embodiment, the mapping method further includes: if it is determined that the first location point or the second location point is not within the first closed sub-region or the second closed sub-region, the mapping device moves to a third location point or a fourth location point, and determines whether the third location point or the fourth location point is within the first closed sub-region or the second closed sub-region. In this way, the mapping device can determine whether to mark the third location point or the fourth location point as a channel start point or a channel end point based on the result of determining whether the third location point or the fourth location point is within one of the first closed sub-region or the second closed sub-region.

[0119] The first position point, the second position point, the third position point and the fourth position point are the current positions of the mapping device when responding to the instruction.

[0120] In one embodiment, if the mapping device is an autonomous robot, the mapping device moves autonomously to a third location or a fourth location. In one embodiment, if the mapping device is a mapping assembly, the mapping device is controlled to move to a third location or a fourth location.

[0121] In one embodiment, step S12a: in response to an instruction to initiate establishment of a channel connecting a first closed sub-region and a second closed sub-region, obtaining location information of a first location point; if the first location point is located in one of the first closed sub-region or the second closed sub-region, marking the first location point as the channel starting point includes: determining whether a pixel value of the first location point is the same as a pixel value in one of the first closed sub-region or the second closed sub-region. Specifically, in one embodiment, the first closed sub-region and the second closed sub-region in the map may, but are not limited to, use the same pixel value. This simplifies the detection of whether a point to be confirmed (e.g., at least one of the first location point, the second location point, the third location point, and the fourth location point) is located in the working area, thereby further improving mapping efficiency. Determining whether the pixel value of a first position point is the same as that of one of the first closed sub-region or the second closed sub-region can include: obtaining the boundary coordinates of the first closed sub-region and the second closed sub-region, and setting the pixel values ​​of points within the boundary of the first closed sub-region and the second closed sub-region to one pixel value, and setting the pixel values ​​of points outside the boundary of the first closed sub-region and the second closed sub-region to another pixel value; determining the pixel value of the point corresponding to the first position point in the map based on the position information of the first position point; if the pixel value of the point corresponding to the first position point is the same as the pixel value of the point in the first closed sub-region and the second closed sub-region, then determining that the first position point is located in one of the first closed sub-region and the second closed sub-region.

[0122] Step S12b: In response to the instruction to terminate the establishment of the first closed sub-region and the second closed sub-region, obtain the location information of the second location point. If the second location point is located in the other of the first closed sub-region or the second closed sub-region, then mark the second location point as the channel end point, including: determining whether the pixel value of the second location point is the same as the pixel value of a point in the other of the first closed sub-region or the second closed sub-region. Specifically, in one embodiment, the first closed sub-region and the second closed sub-region in the map can, but are not limited to, use the same pixel value. This can simplify the detection of whether the point to be confirmed (e.g., at least one of the first location point, the second location point, the third location point, and the fourth location point) is located in the working area, thereby further improving mapping efficiency. Determining whether the pixel value of the second position point is the same as the pixel value of the point in the other of the first closed sub-region or the second closed sub-region may include: obtaining the boundary coordinates of the first closed sub-region and the second closed sub-region, and setting the pixel values ​​of the points within the boundary of the first closed sub-region and the second closed sub-region to one pixel value, and setting the pixel values ​​of the points outside the boundary of the first closed sub-region and the second closed sub-region to another pixel value; determining the pixel value of the point corresponding to the second position point in the map based on the position information of the second position point; if the pixel value of the point corresponding to the second position point is the same as the pixel value of the point in the first closed sub-region and the second closed sub-region, then determining that the second position point is located in the other of the first closed sub-region and the second closed sub-region.

[0123] In order to ensure that the positioning signal strength corresponding to the channel start point or the channel end point is greater than a preset strength value, thereby ensuring the stability of the automatic working system during operation, in one embodiment, step S12a: in response to an instruction to start establishing a channel connecting the first closed sub-area and the second closed sub-area, obtaining position information of a first location point, and if the first location point is located in one of the first closed sub-area or the second closed sub-area, marking the first location point as the channel start point includes: if the first location point is located in one of the first closed sub-area or the second closed sub-area, and the positioning signal strength of the first location point is greater than a preset strength value, then confirming the first location point as the channel start point.

[0124] In one embodiment, step S12b: in response to an instruction to end the establishment of the first closed sub-area and the second closed sub-area, obtaining the position information of the second position point, if the second position point is located in the other of the first closed sub-area or the second closed sub-area, marking the second position point as the channel end point, including: if the second position point is located in the other of the first closed sub-area or the second closed sub-area, and the positioning signal strength of the second position point is greater than a preset strength value, then confirming the second position point as the channel end point.

[0125] The positioning signal can be, for example, RTK (Real-time kinematic) carrier phase differential technology, a method for processing the differential of carrier phase observations between two measurement stations in real time. The carrier phase collected by the base station is sent to the user receiver for coordinate calculation. This is a new and commonly used satellite positioning measurement method. Previous static, rapid static, and dynamic measurements required post-processing to achieve centimeter-level accuracy. RTK, on ​​the other hand, is a measurement method that can achieve centimeter-level positioning accuracy in real time in the field. It uses a carrier phase dynamic real-time differential method and is a major milestone in GPS application. Its emergence has brought new measurement principles and methods to engineering layout, topographic mapping, and various control measurements, greatly improving operational efficiency.

[0126] The mapping method provided in this embodiment, in response to an instruction to start establishing a channel connecting a first closed subregion and a second closed subregion, obtains the position information of a first location point. If the first location point is located in one of the first closed subregion or the second closed subregion, the first location point is marked as the channel start point. And / or, in response to an instruction to end establishing the first closed subregion and the second closed subregion, obtains the position information of a second location point. If the second location point is located in the other of the first closed subregion or the second closed subregion, the second location point is marked as the channel end point. This avoids the need to re-build the map due to the channel not being connected to the boundary during mapping, thereby improving mapping efficiency.

[0127] In one embodiment, the mapping method includes: if the first position point is not in the first closed sub-region and the second closed sub-region, extending the first position point to the boundary of one of the first closed sub-region or the second closed sub-region; and / or, if the second position point is not in the first closed sub-region and the second closed sub-region, extending the second position point to the boundary of the other of the first closed sub-region or the second closed sub-region. Figure 2 is a flow chart of the mapping method provided by the second embodiment of the present application. As shown in Figure 2, in one embodiment, if the first position point is not in the first closed sub-region and the second closed sub-region, extending the first position point to the boundary of one of the first closed sub-region or the second closed sub-region includes:

[0128] Step S211: rasterizing the map;

[0129] Step S212: Based on the first position point, traverse each grid adjacent to the first position point in a circular manner;

[0130] Step S213: If the traversal does not reach an intersection point with the boundary of one of the first closed subregion or the second closed subregion, then traverse the grid outward in a circular manner until at least one intersection point with the boundary of the first closed subregion or the second closed subregion is reached;

[0131] Step S214: Compare the straight-line distances between the first position point and each intersection point, select the intersection point with the smallest straight-line distance to the first position point as the nearest boundary point, and then extend the first position point to the nearest boundary point.

[0132] The map includes at least the location information of the first closed sub-region, the second closed sub-region, and the location information of the first location point. As shown in FIG3 , in one embodiment, the points in the map are first rasterized, and the starting point of the channel, such as the first location point A, is obtained, and each grid ① adjacent to the first location point A is traversed outward in a circular form; if the intersection point with the boundary of one of the first closed sub-region or the second closed sub-region is not traversed, then the grid traversal is expanded outward in a circular form, that is, traversed to grid ②, until at least one intersection point with the boundary of the first closed sub-region or the second closed sub-region is traversed. Specifically, whether the intersection point with the boundary of the first closed sub-region or the second closed sub-region is traversed can be confirmed based on the pixel value corresponding to the grid.

[0133] In one embodiment, the steps of extending the first point to the boundary of one of the first closed sub-region or the second closed sub-region and extending the second point to the boundary of the other of the first closed sub-region or the second closed sub-region can be the same. Therefore, the steps of extending the second point can also refer to the schematic diagram shown in Figure 3 and will not be repeated here.

[0134] Figure 4 is a schematic diagram of the effect of a channel created using the mapping method shown in Figure 2 according to one embodiment of the present application. As shown in Figure 4, if the channel does not intersect with the second closed sub-region C2, the channel can be extended to the boundary of the second closed sub-region C2 so that the channel intersects with the second closed sub-region C2.

[0135] The mapping method provided in this embodiment includes extending the first position point to the boundary of one of the first or second closed subregions if the first position point is not within the first or second closed subregion; and / or extending the second position point to the boundary of the other of the first or second closed subregions if the second position point is not within the first or second closed subregion. This allows for further processing of the channel even if the channel start point or channel end point does not intersect the first and / or second closed subregions, thereby further improving mapping efficiency and stability.

[0136] As an embodiment of this invention, the mapping method further includes:

[0137] In response to an instruction to establish a boundary of a work area, coordinate points of the mapping device during movement are recorded, and the boundary of the work area is established according to the coordinate points.

[0138] FIG5 is a flow chart of a mapping method according to a third embodiment of the present application. In one embodiment, the mapping method further includes:

[0139] Step S51: In response to the completion of establishing the boundary of the working area, if the straight-line distance between the start point and the end point of the boundary of the currently established working area is greater than a preset distance, the start point and the end point are connected by a straight line.

[0140] The preset distance may be a system default value or a user-set value.

[0141] In one embodiment, the process may include the following before step S51: Step S50: upon receiving a trigger instruction to end establishing the boundary of the work area, or upon detecting that the mapping time is longer than a preset time, ending establishing the boundary of the work area.

[0142] In other embodiments, the mapping method may include: detecting a straight-line distance between a starting point and a current point of a boundary of the established working area;

[0143] Detect the straight-line distance between the starting point and the current point of the boundary of the established working area;

[0144] When the straight-line distance is not less than the preset distance, sending a prompt to continue establishing the boundary of the work area and executing a response to continue establishing the boundary of the work area;

[0145] When the straight-line distance is less than the preset distance, a prompt for stopping establishing the boundary of the working area is sent and a response for ending the establishment of the boundary of the working area is executed.

[0146] That is, in other embodiments, the user may be prompted to continue establishing the work area boundary when the straight-line distance between the starting point of the boundary and the current point of the mapping device is not less than a preset distance. The user may be prompted to terminate the work area establishment only when the straight-line distance is less than the preset distance, thereby confirming that the straight-line distance between the starting point and the end point of the work area boundary is less than the preset distance when the work area boundary establishment is completed.

[0147] The mapping method provided in this embodiment includes, in response to the completion of establishing the boundary of a work area, connecting the start point and the end point of the boundary of the currently established work area with a straight line if the straight line distance between the start point and the end point is greater than a preset distance, thereby confirming that the boundary of the established work area is closed, thereby avoiding the need to re-establish the map, thereby improving mapping efficiency.

[0148] FIG6 is a flow chart of a mapping method according to a third embodiment of the present application. In one embodiment, the mapping method includes:

[0149] Step S61: in response to generating multiple closed areas when establishing the boundary of the working area, obtaining a closed area with the largest outline among the multiple closed areas;

[0150] Step S62: Delete the other closed areas among the multiple closed areas except the closed area with the largest outline.

[0151] In one embodiment, OpenCV (also known as an open source database) can be used to extract the contours of the boundary. Specifically, OpenCV can be configured to calculate the perimeter of each closed region and compare the perimeters of each closed region. Only the closed region with the largest perimeter value (i.e., the largest contour) is retained, while the other closed regions are deleted. As shown in Figure 7, if the perimeter of closed region AB and closed region CD is greater than that of closed region AB, closed region CD is retained and closed region AB is deleted.

[0152] The mapping method provided in this embodiment includes, in response to generating multiple closed areas when establishing the boundaries of a working area, deleting all closed areas except the closed area with the largest outline. This can prevent an automated working system, such as a lawn mower, from malfunctioning due to being unable to pass through a narrow spot, and can also avoid re-establishing boundaries that would affect mapping efficiency, thereby improving mapping efficiency.

[0153] The present application also provides a schematic diagram of a control method for a self-propelled robot as shown in FIG10 , including:

[0154] Step 1001: Acquire the position information of the autonomous robot;

[0155] Step 1002: Loading a sub-area map corresponding to the sub-area where the autonomous robot is located based on the location information, wherein the sub-area is a portion of a target working area of ​​the autonomous robot, and the sub-area map is at least one of a map of a first enclosed sub-area, a map of a second enclosed sub-area, and a map of a passage connecting the first enclosed sub-area and the second enclosed sub-area;

[0156] Step 1003: Control the self-moving robot to move within the range defined by the sub-area map.

[0157] Using the above steps, by responding to a work start instruction, the position information of the self-moving robot is obtained, so that the current position of the self-moving robot can be determined, and then the sub-area where the mobile robot is currently located can be known; by loading the sub-area map corresponding to the sub-area where the self-moving robot is located according to the position information, wherein the sub-area is a partial area of ​​the target working area of ​​the self-moving device, and the sub-area map is at least one of the map of the first closed sub-area, the map of the second closed sub-area, and the map of the channel connecting the first closed sub-area and the second closed sub-area, it is possible to load a small area where the self-moving robot is located in a whole large area, and thus realize area-by-area loading; by controlling the self-moving robot to move within the range of the sub-area, it is possible to control the self-moving robot to move and work in the loaded small map; compared with loading the entire large map, the memory occupancy rate or computing device occupancy rate of the self-moving robot is reduced.

[0158] As shown in Figure 11, the target working area diagram of the self-mobile device may include a first enclosed sub-area 111, a second enclosed sub-area 113, and a passage 112 connecting the first enclosed sub-area 111 and the second enclosed sub-area 113. The first enclosed sub-area 111, the passage 112, and the second enclosed sub-area 113 each have their own maps, which represent the boundary coordinates of each sub-area or passage, and may also represent the internal coordinates of the area enclosed by the boundaries of each sub-area or passage, although this description does not limit this. In this specification, the maps of the first closed sub-area 111, the channel 112, and the second closed sub-area 113 can be directly stored in the storage device of the self-moving robot, which can be an SSD (Solid State Disk), an HDD (Hard Disk Drive), or an SSHD (Solid State Hybrid Drive), etc., and this specification does not limit this. They can also be stored in a cloud server. When a mobile device needs to use a sub-area or channel map, it downloads the map via the cloud server and saves it in the storage device for use. In some special cases, the map stored in the storage device has a life cycle. For example, when the map stored in the storage device exceeds three days, five days, or ten days, it can be formatted. In this way, the sub-area map can be prevented from being leaked, thereby ensuring the security of the user's area.

[0159] As an embodiment of the present specification, in response to the autonomous mobile robot being in the first closed sub-area, performing path planning according to a map of the first closed sub-area;

[0160] The self-propelled robot is controlled to move within the first closed sub-area according to the planned path.

[0161] In this embodiment, after receiving a start-of-work instruction, the self-moving robot determines its own location. If the self-moving robot determines that it is within the first enclosed sub-area, it can load a map of the first enclosed sub-area. Because the technology for determining the self-position of the self-moving robot is relatively mature, it will not be described in detail in this specification. After loading the map of the first enclosed sub-area, the self-moving robot can use the map boundary and obstacles within the map to plan a working route in the shape of a bow, spiral, or U-shaped pattern. This specification does not limit the working route. If the self-moving robot has a collision detection function, the self-moving robot can also use the map boundary to perform random cutting.

[0162] After planning the route of the current sub-area of ​​the self-moving robot, the route of the current sub-area is used to control the movement of the self-moving robot. If the self-moving robot meets the working conditions, the self-moving robot can also be controlled to work during the movement. The work content includes mowing, clearing snow, sweeping the floor, etc., which is not limited in this manual.

[0163] As an embodiment of the present specification, in response to the completion of the travel in the first closed sub-area, a map of the passage is loaded;

[0164] The self-moving device is controlled to move from the first closed sub-area to the second closed sub-area according to the map of the passage.

[0165] In this embodiment, the autonomous robot can load a map of a passageway when completing work within the first enclosed sub-area or when moving to the second enclosed sub-area. In this context, a passageway can be a long, narrow path where work is impossible. The autonomous robot can stop working and only move through the passageway. In some cases, the passageway can be a stone brick, ceramic tile, asphalt, or cement road, though this specification does not limit this. Because the passageway is long and narrow, the autonomous robot does not need to perform path planning when traversing it; it simply needs to stay within the boundaries of the passageway map and move from one area to another.

[0166] In addition, in some special cases, when the self-moving robot has not completed the work in the first closed sub-area and needs to be forced to move to the second closed sub-area, the channel map can be loaded, and three points on the central axis of the channel can be selected as a temporary path, and the self-moving robot can move along the temporary path until it enters the second closed sub-area.

[0167] After loading the corridor map, you can use it to control the autonomous vehicle from the first enclosed sub-area to the second enclosed sub-area. Similarly, if the autonomous robot is in the second enclosed sub-area, you can also use the corridor map to control the autonomous vehicle from the second enclosed sub-area to the first enclosed sub-area. This specification does not limit this.

[0168] As shown in the channel schematic diagram of FIG12 , in one embodiment of the present specification, the channel 112 has a channel starting point 1121 and a channel ending point 1122. The channel starting point 1121 is located within the first closed sub-region 111, and the channel ending point 1122 is located within the second closed sub-region 113. Of course, in another case, the channel starting point 1121 can also be located within the second closed sub-region 113, and the channel ending point 1122 is located within the first closed sub-region 111. This specification does not limit this. For ease of description, the example of the channel starting point 1121 being located within the first closed sub-region 111 is used.

[0169] As an embodiment of this invention, before loading the map of the channel, the method includes:

[0170] Determining whether the current position of the self-moving device is an endpoint of a channel;

[0171] If so, the map of the channel is loaded.

[0172] In this embodiment, after the autonomous robot completes its work within the first enclosed subarea, it moves toward the preset corridor starting point. During this movement, it determines its position in real time. When it reaches the corridor starting point, it begins loading the corridor map. In this context, "loading" means deleting the cached map in the autonomous robot's memory and replacing it with the currently loaded map. This reduces memory usage, allowing it to better handle emergencies when memory is limited, and improving the autonomous robot's efficiency.

[0173] Furthermore, in some preferred path planning scenarios, the end point of the path can be the starting point of the channel. This means that once the autonomous robot completes its work along the planned path, it can directly load a map of the channel, eliminating the need to determine its own position in real time, reducing the robot's power consumption and improving its endurance. Specifically, an endpoint can be either a channel starting point or a channel ending point. When one endpoint is a channel starting point, it also means the other endpoint is a channel ending point; when one endpoint is a channel ending point, it also means the other endpoint is a channel starting point. This specification does not limit this.

[0174] As an embodiment of this invention, before loading the map of the channel, the method includes:

[0175] Send transition prompts to the interactive terminal;

[0176] In response to receiving the confirmation transition instruction returned by the interactive terminal, the map of the channel is loaded.

[0177] In this embodiment, after determining that the current position of the self-moving device is the starting point of the channel, in order to prevent the self-moving robot from actively moving to a sub-area where no work is required, the self-moving device will send a transition prompt to the user to the interactive terminal at the starting point of the channel. In this specification, the interactive terminal includes a mobile phone, tablet, laptop computer, smart watch, etc., and this specification does not limit this. When the user receives the transition prompt, he or she can determine whether the self-moving device needs to move to another sub-area. If it is determined that the self-moving device needs to move to another sub-area, a confirmation transition instruction is sent; if it is determined that the self-moving device does not need to move to another sub-area, a stop transition instruction is sent.

[0178] After the self-mobile robot receives the confirmation transition instruction returned by the interactive terminal, the map of the channel can be loaded.

[0179] After the self-moving robot receives the stop transition instruction returned by the interactive terminal, it can wait in place or return to the charging warehouse, which is not limited in this specification.

[0180] As an embodiment of this invention, before controlling the mobile device to move from the first closed sub-area to the second closed sub-area according to the map of the passage, the control method further includes:

[0181] determining whether the channel is a magnetic channel;

[0182] If the channel is not a magnetic channel, determining whether the positioning signal strength of one end point of the channel is less than a signal strength threshold;

[0183] If the positioning signal strength of the starting point of the channel is less than the signal strength threshold, the system waits for a response in situ.

[0184] Specifically, before using the channel map to control the transition of the mobile device, it can be determined whether the channel is a magnetic channel, where the magnetic channel can be a channel with a permanent magnetic structure or a channel that becomes magnetic after being powered on. This specification does not limit this; if the channel is not a magnetic channel, determine whether the positioning signal strength at the starting point of the channel is less than the signal strength threshold; if the positioning signal strength at the starting point of the channel is less than the signal strength threshold, then wait for a response on the spot.

[0185] The magnetic channel can be set within the long shadow channel shown in Figure 8. The long shadow channel is used to connect the grassy area (area 1) and the grassy area (area 2). Setting up a magnetic channel within the long shadow channel can prevent the problem of a machine, such as a lawn mower, moving abnormally (for example, parking within the channel) when passing through the long shadow channel due to weak positioning signals, such as RTK signals, caused by houses on both sides. Specifically, the long shadow channel can be a channel that includes a location where the positioning signal, such as the RTK signal, is weak (for example, below a signal strength threshold), or a user-defined channel.

[0186] Among them, waiting for a response on the spot may include: stopping moving and performing an alarm operation.

[0187] In one embodiment, the control method of the self-moving robot further includes: if the channel is a magnetic channel, then when passing through the channel, the robot moves in response to a magnetic signal of the channel.

[0188] Specifically, for example, when passing through a channel, a movement response may be performed directly based on the magnetic information of the channel, for example, ignoring the RTK signal.

[0189] As an embodiment of this document, in response to the passage travel ending, loading a map of the second closed sub-area;

[0190] performing path planning according to a map of the second closed sub-area;

[0191] The self-propelled robot is controlled to move within the second closed sub-area according to the planned path.

[0192] In this embodiment, after completing the passage, the autonomous robot can load a map of the second enclosed sub-area. Since the technology for determining the autonomous robot's own position is relatively mature, it will not be detailed in this specification. After loading the map of the second enclosed sub-area, the autonomous robot can use the map boundary and obstacles within the map to plan a route in the shape of a bow, spiral, or U-shaped pattern. This specification does not limit the route. If the autonomous robot has collision detection capabilities, it can also use the map boundary to perform random cutting.

[0193] After planning the route of the current sub-area of ​​the self-moving robot, the route of the current sub-area is used to control the movement of the self-moving robot. If the self-moving robot meets the working conditions, the self-moving robot can also be controlled to work during the movement. The work content includes mowing, clearing snow, sweeping the floor, etc., which is not limited in this manual.

[0194] As an embodiment of this document, before loading the map of the second closed sub-area in response to the end of the channel travel, the method includes:

[0195] If the channel is a magnetic channel, when the autonomous robot is located at the other end point of the channel, determining whether a condition for leaving the channel end point is met, wherein the condition for leaving the channel end point includes that the channel end point is located within the second closed sub-area and the positioning signal strength is greater than a signal strength threshold;

[0196] If the condition for leaving the other end point of the channel is met, controlling the self-moving robot to move toward the second closed sub-area;

[0197] If the condition for leaving the other end point of the channel is not met, the self-moving device is controlled to wait in place.

[0198] In this embodiment, when the self-moving robot is at the other end point of the channel, since the channel may be in a shadow area, the RTK signal strength of the self-moving device is reduced, affecting the positioning accuracy. Therefore, in order to ensure the quality of work, the positioning signal strength of the self-moving robot can be judged at the other end point of the channel. Only when the positioning signal strength is greater than the signal strength threshold can the self-moving robot load the map of the second closed sub-area. When the positioning signal strength is less than or equal to the signal strength threshold, the self-moving device is controlled to wait in place. In this specification, the positioning signal strength can be RTK signal strength, NRTK signal strength or mobile communication signal strength, and this specification does not limit it.

[0199] Figure 9 is a schematic diagram of the structure of a mapping device provided in the first embodiment of this application. As shown in Figure 9, the mapping device includes a memory and a processor. The memory stores a computer program, and the processor, when executing the computer program, can implement the aforementioned mapping method and / or autonomous robot control method. The specific process and principles of mapping are described above and will not be repeated here.

[0200] In one embodiment, a computer-readable storage medium is provided, storing a computer program thereon. When executed by a processor, the computer program implements the steps described in the above method embodiments. For specific definitions of the steps, refer to the definitions of the mapping method and / or the autonomous robot control method in the respective method embodiments and are not further elaborated here.

[0201] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0202] The above are merely specific embodiments of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of the present application. Therefore, the scope of protection of the present application should be based on the appended claims.

Claims

1. A mapping method, performed by a mapping device, characterized in that: The mapping method comprises: Acquire the position information of the first closed sub-area and the position information of the second closed sub-area; In response to an instruction to start establishing a passage connecting the first closed sub-area and the second closed sub-area, acquiring position information of the first position point; If the first position point is located in one of the first closed sub-region or the second closed sub-region, marking the first position point as the channel starting point; and / or In response to an instruction to end establishing the passage between the first closed sub-area and the second closed sub-area, acquiring position information of a second position point; If the second position point is located in the other of the first closed sub-region or the second closed sub-region, marking the second position point as a channel end point; The channel is established according to the channel start point and the channel end point.

2. The mapping method according to claim 1, characterized in that: The step of establishing the channel according to the channel start point and the channel end point further comprises: Determine a straight line connecting the starting point of the channel and the ending point of the channel; Determine the length of the straight line and the deflection angle relative to the reference direction; The channel is established according to the length of the straight line and the deflection angle relative to a reference direction.

3. The mapping method according to claim 1, wherein: After marking the first position point as a channel start point if the first position point is located in one of the first closed sub-region or the second closed sub-region, the mapping method further includes: The coordinate set of the mapping device during the process of moving is recorded until the passage between the first closed sub-region and the second closed sub-region is completed and stopped.

4. The mapping method according to claim 3, characterized in that: The mapping method further comprises: The channel is established according to the channel start point, the channel end point and the coordinate set.

5. The mapping method according to claim 1, characterized in that: The mapping device is an autonomous robot or a mapping component.

6. The mapping method according to claim 5, characterized in that: The mapping method further includes: if it is determined that the first position point or the second position point is not in the first closed sub-region and the second closed sub-region, the mapping device moves to a third position point or a fourth position point to determine whether the third position point or the fourth position point is located in the first closed sub-region or the second closed sub-region.

7. The mapping method according to claim 6, characterized in that: If the mapping device is an autonomous robot, the mapping device autonomously moves to a third position point or a fourth position point.

8. The mapping method according to claim 6, characterized in that: If the mapping device is a mapping assembly, the mapping device is controlled to move to a third position point or a fourth position point.

9. The mapping method according to claim 1, wherein: The mapping method further comprises: If the first position point is not in the first closed sub-region and the second closed sub-region, extending the first position point to a boundary of the first closed sub-region or the second closed sub-region; and / or If the second position point is not in the first closed sub-region and the second closed sub-region, extend the second position point to the The first enclosed sub-region or the second enclosed sub-region is within a boundary of the other one.

10. The mapping method according to claim 9, characterized in that: The extending the first position point to a boundary of the first closed sub-region or the second closed sub-region comprises: rasterizing a map, wherein the map at least includes location information of the first closed sub-area, the second closed sub-area, and location information of the first location point; Based on the first position point, traverse each grid adjacent to the first position point outward in a circular form; If the traversal does not reach an intersection point with the boundary of one of the first closed sub-region or the second closed sub-region, then expand the grid traversal outward in a circular form until the traversal reaches at least one intersection point with the boundary of the first closed sub-region or the second closed sub-region; Compare the straight-line distances between the first position point and each intersection point, select the intersection point with the smallest straight-line distance to the first position point as the nearest boundary point, and then extend the first position point to the nearest boundary point.

11. The mapping method according to claim 1, wherein: If the first position point is located in one of the first closed sub-region or the second closed sub-region, marking the first position point as a channel starting point includes: Acquire position information of a boundary between the first closed sub-region and the second closed sub-region, determine position information of points within the boundary between the first closed sub-region and the second closed sub-region according to the position information of the boundary, set pixel values ​​of points within the boundary between the first closed sub-region and the second closed sub-region to one pixel value, and set pixel values ​​of points outside the boundary between the first closed sub-region and the second closed sub-region to another pixel value; Determine, according to the location information of the first location point, a pixel value of a point in the map corresponding to the first location point; If the pixel value of the point corresponding to the first position point is the same as the pixel values ​​of the first closed sub-region and the second closed sub-region, it is determined that the first position point is located in one of the first closed sub-region and the second closed sub-region.

12. The mapping method according to claim 1, wherein: If the first position point is located in one of the first closed sub-region or the second closed sub-region, marking the first position point as a channel starting point includes: If the first position point is located in one of the first closed sub-area or the second closed sub-area, and the positioning signal strength of the first position point is greater than a preset strength value, the first position point is confirmed as the starting point of the channel.

13. The mapping method according to claim 1, wherein: The mapping method further comprises: In response to an instruction to establish a boundary of a working area, coordinate points of a mapping device during movement are recorded, and the boundary of the working area is established according to the coordinate points.

14. The mapping method according to claim 13, characterized in that: The mapping method further comprises: In response to finishing establishing the boundary of the working area, if a straight-line distance between a start point and an end point of the boundary of the currently established working area is greater than a preset distance, the start point and the end point are connected by a straight line.

15. The mapping method according to claim 13, wherein: The mapping method further comprises: Detect the straight-line distance between the starting point and the current point of the boundary of the established working area; When the straight-line distance is not less than the preset distance, sending a prompt to continue establishing the boundary of the working area and executing a response to continue establishing the boundary of the working area; When the straight-line distance is less than the preset distance, a prompt to stop establishing the boundary of the working area is sent and the establishment of the working area can be terminated. Response to the boundaries of the domain.

16. The mapping method according to claim 13, wherein: The mapping method comprises: In response to multiple closed areas being generated when establishing the boundary of the working area, other closed areas among the multiple closed areas except for the closed area with the largest outline are deleted.

17. A control method for a self-moving robot, characterized in that: The working method comprises: Obtaining position information of the self-moving robot; Loading a sub-area map corresponding to the sub-area where the self-moving robot is located according to the position information, wherein the sub-area is a partial area of ​​a target working area of ​​the self-moving device, and the sub-area map is at least one of a map of a first closed sub-area, a map of a second closed sub-area, and a map of a passage connecting the first closed sub-area and the second closed sub-area; The self-moving robot is controlled to move within a range defined by the sub-area map.

18. The control method of the self-moving robot according to claim 17, characterized in that: In response to the self-propelled robot being in the first closed sub-area, performing path planning according to a map of the first closed sub-area; The self-propelled robot is controlled to move within the first closed sub-area according to the planned path.

19. The control method of the self-moving robot according to claim 17, characterized in that: In response to the completion of the travel in the first closed sub-area, loading a map of the passage; The self-moving device is controlled to move from the first closed sub-area to the second closed sub-area according to the map of the passage.

20. The control method of the self-moving robot according to claim 19, characterized in that: Before loading the map of the channel, including: Determine whether the current position of the self-moving device is an end point of the channel; If so, the map of the channel is loaded.

21. The control method of the self-moving robot according to claim 20, characterized in that: Before loading the map of the channel, including: Send transition prompts to the interactive terminal; In response to receiving a confirmation transition instruction returned by the interactive terminal, a map of the channel is loaded.

22. The control method of the self-moving robot according to claim 19, characterized in that: Before controlling the self-moving device to move from the first closed sub-area to the second closed sub-area according to the map of the passage, the control method further includes: Determining whether the channel is a magnetic channel; If the channel is not a magnetic channel, determining whether the positioning signal strength of one end point of the channel is less than a signal strength threshold; If the positioning signal strength at the starting point of the channel is less than the signal strength threshold, the system waits for a response in situ.

23. The control method of the self-moving robot according to claim 17, characterized in that: The control method further comprises: If the channel is a magnetic channel, when the self-moving robot moves according to the guidance of the magnetic channel, it responds to the magnetic signal of the magnetic channel.

24. The control method of the self-moving robot according to claim 17, characterized in that: In response to the passage travel ending, loading a map of the second closed sub-area; performing path planning according to the map of the second closed sub-area; The self-propelled robot is controlled to move within the second closed sub-area according to the planned path.

25. The control method of the self-moving robot according to claim 24, characterized in that: Before controlling the self-propelled robot to travel in the second closed sub-area, the control method further includes: If the channel is a magnetic channel, when the self-propelled robot is located at the other end point of the channel, it is determined whether a condition for leaving the end point of the channel is met, wherein the condition for leaving the end point of the channel includes that the end point of the channel is located in the second closed sub-area and the positioning signal strength is greater than a signal strength threshold; If the condition for leaving the other end point of the channel is met, controlling the self-moving robot to move toward the second closed sub-area; If the condition for leaving the other end point of the channel is not met, the self-moving device is controlled to wait in place.

26. A mapping device, characterized in that: The mapping device includes a memory and a processor, the memory stores a computer program, and the processor can implement the mapping method according to any one of claims 1 to 16 when executing the computer program.

27. A computer storage medium, characterized in that The computer storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor executes the mapping method according to any one of claims 1 to 16.

Citation Information

Patent Citations

  • Robot control method and device and electronic equipment

    CN108983776A

  • Map construction method and device and storage medium

    CN113806455A

  • Map construction method, self-moving robot and storage medium

    CN114326718A

  • Path planning method and device, cleaning system and storage medium

    CN115390552A

  • Mobile robot and controlling method of the same

    US20100228394A1

Cited By

  • Multi-region mapping method, robot and computer program product

    CN119687897A

  • Method for mapping target area and related device

    CN119756328A

  • Control method for autonomous working machine, and autonomous working machine

    WO2026067472A1

  • Method for mapping target area, and related apparatus

    WO2026124140A1