Robot walking path planning method, device, electronic device and storage medium

By obtaining and judging the internal area of ​​the sweeping robot's path around obstacles, the problem of redundant paths caused by inaccuracies in map accuracy and walking movements is solved, and the working efficiency of the sweeping robot is improved.

CN118466522BActive Publication Date: 2024-09-13HANGZHOU TUYA INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410924536.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-11
Publication Date
2024-09-13
Estimated Expiration
2044-07-11

AI Technical Summary

Technical Problem

Due to map accuracy issues and inaccurate walking movements, the sweeping robot supplements the untraveled areas, resulting in redundant paths and affecting work efficiency.

Method used

At the end of the obstacle avoidance action, the closed obstacle path is obtained, the internal area is generated, the inner contour is judged to be valid, and the unwalkable area is recorded to avoid supplementary walking and reduce redundant paths.

Benefits of technology

It improves the working efficiency of the sweeping robot, avoids supplementary walking in areas that are actually inaccessible, and reduces redundant paths.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118466522B
    Figure CN118466522B
Patent Text Reader

Abstract

The present application provides a robot walking path planning method, device, electronic device and storage medium, which relate to the technical field of smart home. Among them, the robot walking path planning method includes: when the robot's obstacle circumvention action ends, obtaining the robot's closed obstacle circumvention path in the walkable area; generating an internal area formed by the closed obstacle circumvention path; recording the internal area as a non-walkable area. The present application fills the inside of the closed-loop obstacle circumvention path after the robot performs the obstacle circumvention action, and records it as a non-walkable area, so as to avoid the robot from performing supplementary walking work in the area that cannot actually be reached, reduce redundant paths, and improve the robot's work efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of smart homes, and in particular to a robot walking path planning method, device, electronic device and storage medium. Background Art

[0002] When performing the cleaning action, the sweeping robot will perform obstacle avoidance action and bow-shaped cleaning action, wherein the obstacle avoidance action refers to the sweeping robot walking along the boundary or wall of the walkable area, or walking around the edge of the obstacle in the walkable area.

[0003] After the robot vacuum cleaner completes the obstacle avoidance action, the robot vacuum cleaner's obstacle avoidance path forms a closed loop, and an untraveled area is formed inside the closed loop obstacle avoidance path. Due to defects such as map accuracy and inaccurate walking actions, the robot vacuum cleaner will display the untraveled area as a missed area, so that the robot vacuum cleaner can perform supplementary walking and cleaning on these missed areas. However, in fact, the robot vacuum cleaner cannot reach these areas, which can easily cause walking failures of the robot vacuum cleaner and generate more redundant paths, affecting the working efficiency of the robot vacuum cleaner. Summary of the invention

[0004] The present application provides a robot walking path planning method, device, electronic device and storage medium, which can prevent the robot from making supplementary walks in the untraveled area formed after the obstacle circumvention action, reduce redundant paths, and improve the robot's work efficiency.

[0005] In a first aspect, the present application provides a robot walking path planning method, comprising:

[0006] When the robot's obstacle circumvention action ends, a closed obstacle circumvention path of the robot in the traversable area is obtained;

[0007] Generate an internal area surrounded by a closed obstacle path;

[0008] Record the inner area as a non-walkable area.

[0009] In some embodiments, generating an internal area formed around a closed obstacle path includes:

[0010] Obtain image information of closed obstacle path;

[0011] According to the image information, the inner contour of the closed obstacle path is extracted;

[0012] Generate the inner area based on the inner contour.

[0013] In some embodiments, generating an internal area formed around a closed obstacle path further includes:

[0014] Determine whether the inner contour is a valid contour;

[0015] When the inner contour is a valid contour, the inner area is generated according to the valid contour.

[0016] In some implementations, determining whether the inner contour is a valid contour includes:

[0017] Taking the initial position of the obstacle circumvention action as the starting point, the position sequence number of each pixel point that has been walked in the closed obstacle circumvention path is obtained in sequence according to the first preset direction; wherein the position sequence number increases along the first preset direction, and the first preset direction is the same as the moving direction of the robot;

[0018] Traversing the walked pixel points adjacent to the inner contour in a first preset direction;

[0019] When the position numbers of the walked pixels are incremented, the inner contour is recorded as a valid contour.

[0020] In some embodiments, generating an internal area formed around a closed obstacle path further includes:

[0021] When the inner contour is an invalid contour, a missing area is generated according to the invalid contour;

[0022] At the end of the robot's walking action, the missing area is obtained;

[0023] Control the robot to make supplementary walking movements in the missed areas.

[0024] In some embodiments, controlling the robot to perform a supplementary walking action on the missed area includes:

[0025] Get the current position of the robot in the walkable area;

[0026] Get the starting target pixel point in the missing area that is the shortest distance from the current position;

[0027] Taking the starting target pixel as the starting point, traverse all the remaining pixels in the missing area to generate a supplementary walking path;

[0028] The robot is controlled to perform a supplementary walking action along the supplementary walking path.

[0029] In some implementations, obtaining a closed obstacle path of the robot in a traversable area includes:

[0030] Get the robot's traveled path;

[0031] Sequentially acquiring a first target pixel point and a second target pixel point in the traveled path according to a second preset direction; wherein the first target pixel point and the second target pixel point are adjacent to each other;

[0032] Taking the second target pixel as the starting point, the eight-neighborhood traversal searches for the pixels in the path that has been walked;

[0033] When the first target pixel point is found, the traversed path is used as a closed obstacle path.

[0034] In a second aspect, the present application provides a robot walking path planning device, comprising:

[0035] An acquisition module is used to acquire a closed obstacle circumventing path of the robot in the walkable area when the robot's obstacle circumventing action ends;

[0036] A generation module, used for generating an internal area formed by a closed obstacle path;

[0037] The recording module is used to record the internal area as a non-walkable area.

[0038] In a third aspect, the present application provides an electronic device, including:

[0039] processor;

[0040] The memory stores a computer program, and when the computer program is executed by the processor, the processor executes the robot walking path planning method of any one of the first aspect and any one of its embodiments.

[0041] In a fourth aspect, the present application provides a non-transitory computer-readable storage medium having computer-readable instructions stored thereon. When the instructions are executed by a processor, the processor executes the robot walking path planning method in the first aspect and any embodiment thereof.

[0042] The robot walking path planning method, device, electronic device and storage medium provided in the present application fill the inside of the obstacle circumvention path forming a closed loop after the robot performs the obstacle circumvention action, and record it as a non-walkable area, so as to avoid the robot from performing supplementary walking work in areas that cannot actually be reached, reduce redundant paths, and improve the robot's work efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0044] Figure 1 This is a flow chart of a robot walking path planning method in an exemplary embodiment of the present application;

[0045] Figure 2 A schematic diagram of obtaining a closed obstacle path of a robot in a walkable area in an exemplary embodiment of the present application;

[0046] Figure 3 This is a schematic diagram of a robot performing an obstacle circumvention action in an exemplary embodiment of the present application;

[0047] Figure 4 This is a schematic diagram of a robot performing an obstacle circumvention action in another exemplary embodiment of the present application;

[0048] Figure 5 It is a schematic diagram of judging whether an inner contour is a valid inner contour in an exemplary embodiment of the present application;

[0049] Figure 6 This is a structural diagram of a robot walking path planning device in an exemplary embodiment of the present application;

[0050] Figure 7 It is a schematic diagram of the structure of an electronic device in an exemplary embodiment of the present application.

[0051] Description of reference numerals:

[0052] 200, walkable area; 201, obstacle; 300, robot; 301, closed obstacle path; 3011, valid contour; 3012, invalid contour; 302, walked path; 3021, first target pixel point; 3022, second target pixel point; 400, robot walking path planning device; 401, acquisition module; 402, generation module; 403, recording module; 500, electronic device; 501, memory; 502, processor.

[0053] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0054] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0055] The embodiment of the present application provides a robot walking method, which can be applied to the cleaning action of the sweeping robot, and can also be used in the walking path planning of other intelligent robots. The method can be executed by an electronic device, and the electronic device can be a processor, a server or a terminal device. Among them, the processor can be a processing chip, which can be installed inside the robot; the server can be an independent physical server, or a server cluster or distributed device composed of multiple physical servers, or a cloud server that provides cloud computing services; the terminal device can be a smart phone, a computer, etc., but it is not limited to this. The terminal device and the server can be directly or indirectly connected through wired or wireless communication, and the embodiment of the present application does not limit this.

[0056] Figure 1 Flow chart of a robot walking path planning method in an exemplary embodiment of the present application, as shown in FIG. Figure 1 As shown, an embodiment of the present application provides a robot walking path planning method, including steps S101 to S103.

[0057] In step S101, when the robot's obstacle circumvention action ends, a closed obstacle circumvention path of the robot in the walkable area is obtained.

[0058] The obstacle avoidance action refers to the robot walking along the boundary of the walkable area, or walking around the edge of an obstacle in the walkable area. The end of the obstacle avoidance action means that when the robot walks along the boundary of the walkable area or walks around the obstacle to form a closed loop, the robot exits the obstacle avoidance action.

[0059] The walkable area can be generated by the robot using a lidar to scan the environment it is in, or it can be pre-input into the robot's memory by the user through a terminal device such as a mobile phone or tablet computer, and the walkable area can be directly called from the storage when in use.

[0060] The robot's closed obstacle circumvention path is the closed-loop trajectory that the robot walks on when the obstacle circumvention action is completed.

[0061] Figure 2 This is a schematic diagram of obtaining a closed obstacle path of a robot in a traversable area in an exemplary embodiment of the present application. Figure 2 As shown, in some embodiments, obtaining a closed obstacle path of the robot in a traversable area may include:

[0062] Obtain the robot's traveled path 302;

[0063] Sequentially acquire a first target pixel point 3021 and a second target pixel point 3022 in the traveled path 302 according to a second preset direction; wherein the first target pixel point 3021 and the second target pixel point 3022 are adjacent to each other;

[0064] Taking the second target pixel point 3022 as the starting point, eight neighborhoods are traversed to search for pixels in the walked path;

[0065] When the first target pixel point 3021 is searched, the traveled path 302 is used as a closed obstacle path.

[0066] For example, the first pixel point of the starting position of the robot's obstacle circumvention action is taken as the first target pixel point 3021, and the adjacent pixel point along the robot's moving direction (counterclockwise) is taken as the second target pixel point 3022. The second target pixel point 3022 is used as the starting point, and the remaining pixel points in the traveled path are searched through the eight-neighborhood traversal. If the first target pixel point 3021 is found during the search process, it means that the traveled path is in a closed-loop state, and can be used as a closed-loop obstacle circumvention path for the robot to travel around the shape of the obstacle 201.

[0067] Among them, the traveled path can be the position coordinates of the robot in real time when the robot performs obstacle avoidance action. When obtaining the traveled path, all the recorded position coordinates are connected and fitted to form the robot's traveled path.

[0068] In addition, if the first target pixel point is not found when searching the traversed eight-neighborhood pixel points, the traversed path is not closed, and the obstacle avoidance action of the surface robot is interrupted due to external environmental factors or the robot's own movement failure. At this time, the robot can re-judge the interruption position and continue to execute the obstacle avoidance action until a closed loop is formed. There are no excessive restrictions on this in the embodiments of the present application.

[0069] In step S102, an internal area surrounded by a closed obstacle path is generated.

[0070] An internal area will be formed inside the closed-loop obstacle avoidance path. The closed-loop obstacle avoidance path is generated by the robot around the internal area when performing the obstacle avoidance action. That is, the internal area is the boundary of the walkable area or an obstacle in the walkable area, etc., which is a position that the robot cannot actually reach.

[0071] In some embodiments, generating an internal area formed around a closed obstacle path includes:

[0072] Obtain image information of closed obstacle path;

[0073] According to the image information, the inner contour of the closed obstacle path is extracted;

[0074] Generate the inner area based on the inner contour.

[0075] The path generated by the robot during walking has a certain width, and the width is determined based on the effective coverage area of ​​the robot. For example, when the robot is circular, the width of the robot's walking path is the diameter of the robot.

[0076] Therefore, the obtained closed-loop obstacle path is annular as a whole, having an inner contour and an outer contour. The inner area is produced by obtaining the inner contour of the closed-loop obstacle path.

[0077] The image information of the closed obstacle path can also be obtained by connection fitting and other methods according to the position coordinates where the robot has walked, and this is not restricted in this embodiment.

[0078] Figure 3 FIG. 1 is a schematic diagram of a robot performing an obstacle avoidance action in an exemplary embodiment of the present application. Figure 3 As shown, the robot 300 performs obstacle circumvention actions on multiple obstacles 201 that are close to each other in a counterclockwise direction in the walkable area 200. At this time, multiple closed obstacle circumvention paths 301 are formed, and these multiple closed obstacle circumvention paths 301 overlap. When the closed obstacle circumvention paths 301 are obtained, the overlapping parts will also be used as closed obstacle paths, but the area inside them is not generated by walking around the obstacles 201.

[0079] Figure 4 FIG. 1 is a schematic diagram of a robot performing an obstacle avoidance action in another exemplary embodiment of the present application. Figure 4 As shown, the robot 300 performs a walking action along the boundary in the walkable area 200 in a counterclockwise direction, wherein there is an obstacle 201 close to the boundary in the walkable area 200, or part of the walkable area 200 is irregular, resulting in the robot 300 bypassing the boundary of the walkable area 200 and also forming a closed obstacle path 301. At this time, the interior of the closed obstacle path 301 is generated by bypassing the obstacle 201, and the interior of the entire closed-loop walking path along the boundary is an unwalked area.

[0080] Therefore, after generating the internal area according to the closed obstacle path, it is necessary to identify the internal area to avoid treating the actually walkable area as a non-walkable area, which will affect the working efficiency of the robot.

[0081] In some embodiments, generating an internal area formed by a closed obstacle path further includes:

[0082] Determine whether the inner contour is a valid contour.

[0083] When the inner contour is a valid contour, the inner area is generated according to the valid contour.

[0084] By judging whether the inner contour is valid, it is determined whether the inner contour is generated by a closed obstacle path actually generated by walking around the obstacle, so as to ensure that the obtained inner area is the area where the obstacle that the robot cannot actually reach is located.

[0085] Figure 5 FIG. 1 is a schematic diagram of determining whether an inner contour is a valid inner contour in an exemplary embodiment of the present application. Figure 5 As shown, in some embodiments, determining whether the inner contour is a valid contour may include:

[0086] Taking the initial position of the obstacle circumvention action as the starting point, the position sequence number of each pixel point that has been walked in the closed obstacle circumvention path 301 is obtained in sequence according to the first preset direction; wherein the position sequence number increases along the first preset direction, and the first preset direction is the same as the moving direction of the robot;

[0087] Traversing the walked pixel points adjacent to the inner contour in a first preset direction;

[0088] When the position serial number of the walked pixel point increases, the inner contour is recorded as the valid contour 3011.

[0089] Among them, the position number of each pixel point that has been walked can be recorded in real time during the robot's walking process. When the closed obstacle path 301 is obtained, the position number of each pixel point in the closed obstacle path 301 is obtained, and the position number is increased in sequence according to the robot's moving direction.

[0090] When the robot actually circumvents obstacles, the closed obstacle path 301 is continuous, so the adjacent pixels of the inner contour formed by the closed obstacle path are also increased in sequence in the direction of the robot's movement. On the contrary, if the inner contour is generated due to the overlap of multiple closed obstacle paths 301, the adjacent pixels are discontinuous and the position numbers are chaotic, and this inner contour can be used as an invalid contour 3012. In this way, it is possible to determine whether the inner contour is a valid contour, and then generate a non-travelable area based on the valid contour.

[0091] In addition, in some embodiments, generating an internal area formed by a closed obstacle path further includes:

[0092] When the inner contour is an invalid contour, a missing area is generated according to the invalid contour;

[0093] At the end of the robot's walking action, the missing area is obtained;

[0094] Control the robot to make supplementary walking movements in the missed areas.

[0095] The walking action of the robot may be the end of the obstacle avoidance action, or the end of all walking actions in the entire walkable area.

[0096] By supplementing the missed areas with walking, the robot can completely pass through the walkable positions in the walkable area, and is less likely to miss large areas due to dense obstacles, thereby further improving the robot's work efficiency.

[0097] In some embodiments, controlling the robot to perform supplementary walking actions on the missed area includes:

[0098] Get the current position of the robot in the walkable area;

[0099] Get the starting target pixel point in the missing area that is the shortest distance from the current position;

[0100] Taking the starting target pixel as the starting point, traverse all the remaining pixels in the missing area to generate a supplementary walking path;

[0101] The robot is controlled to perform a supplementary walking action along the supplementary walking path.

[0102] Among them, when traversing the remaining pixel points in the missing area, it is also necessary to follow the travel direction set by the robot, such as clockwise or counterclockwise. The path can be an arch path or a circular path. In this embodiment, there are no excessive restrictions on this, so that the robot can pass through each pixel point in the missing area according to the supplementary walking path.

[0103] Of course, while generating the supplementary walking path, it is also necessary to generate the shortest moving path from the current position to the starting target pixel point, which can also be generated using a flooding algorithm, and this is not specifically limited in this embodiment.

[0104] In step S103, the inner area is recorded as a non-walkable area.

[0105] By treating the inner area as a non-walkable area, the robot will not use the non-walkable area as a missed area for supplementary walking in subsequent walking actions, thereby reducing the robot's redundant paths and improving the robot's work efficiency. In addition, by judging whether the inner contour of the robot's closed obstacle path is a valid contour, it is possible to identify whether the inner contour is a real area where an obstacle is located, thereby improving the credibility of the robot's walking path planning.

[0106] Figure 6 FIG. 1 is a structural diagram of a robot walking path planning device in an exemplary embodiment of the present application. According to the above-mentioned robot walking path planning method, the present application embodiment also provides a robot walking path planning device, such as Figure 6 As shown, the robot walking path planning device 400 includes: an acquisition module 401, a generation module 402 and a recording module 403.

[0107] The acquisition module 401 is used to acquire a closed obstacle-avoiding path of the robot in the walkable area when the robot's obstacle-avoiding action ends. For details, please refer to the relevant description of the above step S101, which will not be repeated here.

[0108] The generating module 402 is used to generate an internal area surrounded by a closed obstacle path. For details, please refer to the relevant description of the above step S102, which will not be repeated here.

[0109] The recording module 403 is used to record the inner area as a non-walkable area. For details, please refer to the relevant description of the above step S103, which will not be repeated here.

[0110] Through the mutual cooperation of the above modules, after the robot's obstacle circumvention action forms a closed loop, the internal area formed by the closed loop obstacle path can be used as a non-walkable area, avoiding the robot from taking obstacles and other positions in the walkable area as missed areas for supplementary walking, reducing redundant paths and improving the robot's work efficiency.

[0111] Figure 7 FIG. 1 is a schematic diagram of the structure of an electronic device in an exemplary embodiment of the present application. Figure 7 As shown, the hangar device 500 of this embodiment may include: a memory 501 and a processor 502. The memory 501 stores a computer program. When the computer program is executed by the processor 502, the processor 502 executes the robot walking path planning method in the above embodiment.

[0112] The processor 502 and the memory 501 are connected, for example, via a bus.

[0113] The processor 502 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It may implement or execute various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. The processor 502 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like.

[0114] The bus may include a path to transmit information between the above components. The bus may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0115] The memory 501 may be a ROM (Read Only Memory) or other types of static storage devices that can store static information and instructions, a RAM (Random Access Memory) or other types of dynamic storage devices that can store information and instructions, or an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory) or other optical disk storage, optical disk storage (including compressed optical disk, laser disk, optical disk, digital versatile disk, Blu-ray disk, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.

[0116] The memory 501 is used to store the application code for executing the solution of the present application, and the execution is controlled by the processor 502. The processor 502 is used to execute the application code stored in the memory 501 to implement the contents shown in the above method embodiment.

[0117] The electronic devices include, but are not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), and fixed terminals such as digital TVs, desktop computers, etc. It can also be a server, etc. Figure 7 The electronic device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0118] The electronic device of this embodiment can be used to execute the robot walking method of any of the above embodiments. The implementation principle and technical effect are similar and will not be described in detail here.

[0119] The present application also provides a non-transitory computer storage medium storing computer-readable instructions. When the instructions are executed by a processor, the processor executes the robot walking path planning method in the above embodiment.

[0120] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.

[0121] The embodiments of the present application are described in detail above. Specific examples are used herein to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and its core idea of ​​the present application. At the same time, changes or deformations made by those skilled in the art based on the ideas of the present application, the specific implementation methods and the scope of application of the present application, all belong to the scope of protection of the present application. In summary, the content of this specification should not be construed as a limitation on the present application.

Claims

1. A robot walking path planning method, characterized in that: include: When the robot's obstacle circumvention action ends, obtaining a closed obstacle circumvention path of the robot in the traversable area; Generate an internal area surrounded by the closed obstacle path; Recording the inner area as a non-walkable area; The step of generating an internal area surrounded by the closed obstacle path includes: Acquire image information of the closed obstacle path; Extracting the inner contour of the closed obstacle path according to the image information; generating the inner area according to the inner contour; Determining whether the inner contour is a valid contour; When the inner contour is a valid contour, generating the inner area according to the valid contour; Wherein, the determining whether the inner contour is a valid contour comprises: Taking the initial position of the obstacle circumvention action as the starting point, sequentially acquiring the position number of each pixel point that has been walked in the closed obstacle circumvention path according to a first preset direction; wherein the position number increases along the first preset direction, and the first preset direction is the same as the moving direction of the robot; Traversing the walked pixel points adjacent to the inner contour in the first preset direction; When the position sequence number of the walked pixel point increases, the inner contour is recorded as a valid contour.

2. The robot walking path planning method according to claim 1, characterized in that: The step of generating an internal area formed by the closed obstacle path includes: When the inner contour is an invalid contour, generating a missing area according to the invalid contour; When the walking action of the robot ends, obtaining the missing area; The robot is controlled to perform a supplementary walking action on the missing area.

3. The robot walking path planning method according to claim 2, characterized in that: The controlling the robot to perform a supplementary walking action on the missing area includes: Obtaining the current position of the robot in the walkable area; Obtaining a starting target pixel point in the missing area that is shortest from the current position; Taking the starting target pixel point as the starting point, traverse all the remaining pixel points in the missing area to generate a supplementary walking path; The robot is controlled to perform the supplementary walking action along the supplementary walking path.

4. The robot walking path planning method according to any one of claims 1 to 3, characterized in that: The obtaining of a closed obstacle path of the robot in a walkable area includes: Obtaining a traveled path of the robot; Sequentially acquiring a first target pixel point and a second target pixel point in the traveled path according to a second preset direction; wherein the first target pixel point and the second target pixel point are adjacent to each other; Taking the second target pixel point as the starting point, searching for pixel points in the walked path through eight neighborhoods; When the first target pixel point is searched, the traveled path is used as the closed obstacle path.

5. A robot walking path planning device, characterized in that: include: An acquisition module, used for acquiring a closed obstacle circumventing path of the robot in the walkable area when the robot's obstacle circumventing action ends; A generating module, used for generating an inner area formed by the closed-loop obstacle path; A recording module, used for recording that the internal area is a non-walkable area; Wherein, the generating module is used for: Acquire image information of the closed obstacle path; Extracting the inner contour of the closed obstacle path according to the image information; generating the inner area according to the inner contour; Determining whether the inner contour is a valid contour; When the inner contour is a valid contour, generating the inner area according to the valid contour; Wherein, the generating module is also used for: Taking the initial position of the obstacle circumvention action as the starting point, sequentially acquiring the position number of each pixel point that has been walked in the closed obstacle circumvention path according to a first preset direction; wherein the position number increases along the first preset direction, and the first preset direction is the same as the moving direction of the robot; Traversing the walked pixel points adjacent to the inner contour in the first preset direction; When the position sequence number of the walked pixel point increases, the inner contour is recorded as a valid contour.

6. An electronic device, characterized in that: include: processor; A memory storing a computer program, which, when executed by the processor, enables the processor to execute the robot walking path planning method according to any one of claims 1 to 4.

7. A non-transitory computer-readable storage medium, characterized in that: Computer-readable instructions are stored thereon, and when the instructions are executed by a processor, the processor executes the robot walking path planning method as described in any one of claims 1-4.