Path planning method and electronic device

By detecting and adjusting the diversion point route of the mobile robot, the problem of long path planning and resource usage of the mobile robot is solved, fast and accurate path adjustment is achieved, and user needs are met.

CN116300861BActive Publication Date: 2024-09-06SHANGHAI MUANT ROBOT TECH CO LTD
View PDF 15 Cites 0 Cited by

Patent Information

Application Number
CN202211642440.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-20
Publication Date
2024-09-06
Estimated Expiration
2042-12-20

AI Technical Summary

Technical Problem

The path planning of the mobile robot from the unloading site to the pickup site takes a long time, takes up a lot of system computing resources, and uneven parking of equipment makes path adjustment difficult.

Method used

By detecting the change of the task destination, the remaining untraveled road sections will be detected as diversion points, the pre-stored driving route will be searched, the computing resource consumption of re-planning the route will be reduced, and the equipment movement route will be adjusted to quickly reach the new task point.

Benefits of technology

It reduces the occupation of system resources by path planning, improves the speed and quality of path planning, meets the user's need to quickly change target task points, and avoids congestion caused by uneven parking of equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116300861B
    Figure CN116300861B
Patent Text Reader

Abstract

The present invention discloses a path planning method and an electronic device. The method comprises: controlling the current device to move to the first task point according to the first driving route; when it is detected that the task destination is adjusted from the first task point to the second task point, detecting the diversion point corresponding to the remaining untraveled section of the first driving route, and the diversion point can separate a road into at least two roads along the driving direction; if it is detected that there is a pre-set diversion point on the remaining untraveled section, searching for a second driving route from the diversion point to the second task point from the pre-stored driving routes; and controlling the current device to move to the second task point according to the second driving route. According to the technical solution of the present invention, while reducing the occupation of system resources by path planning, the path can still be quickly searched, achieving the effect of rapid diversion, avoiding congestion, meeting the needs of users to change target task points, and improving the quality of path planning.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of path planning, and in particular to a path planning method and an electronic device. Background Art

[0002] With the rapid development of computer technology, sensor technology, artificial intelligence and other technologies, the application of mobile robots, AGVs, unmanned vehicles and other equipment has gradually become popular, playing an increasingly important role in many industries such as smart factories, smart warehouses and smart logistics.

[0003] Taking the mobile robot in the logistics scenario as an example, the warehouse pickup site area has high cargo storage requirements and cannot accommodate many returning mobile robots. Each warehouse pickup site has certain restrictions on the number of robots that can park. However, since the path of the mobile robot from the unloading site back to the pickup site is usually 100 meters or even longer, after the destination pickup site of each mobile robot is configured according to the current pickup site situation at the unloading site, a variety of uncontrollable situations may occur during the movement process, such as the temporary adjustment of the pickup site due to uneven parking of vehicles at the target pickup site, etc., the mobile robot needs to re-plan the path, and the global path planning of the mobile robot takes a long time and will occupy more system computing resources. Summary of the invention

[0004] The present invention provides a path planning method, device, electronic device and storage medium to solve the problems of uneven equipment parking, long path planning time and large occupation of system computing resources.

[0005] According to one aspect of the present invention, a path planning method is provided, the method comprising:

[0006] Controlling the current device to move toward the first task point along the first driving route;

[0007] When it is detected that the mission destination is adjusted from the first mission point to the second mission point, a diversion point detection is performed on the remaining untraveled road section corresponding to the first driving route, and the diversion point can separate one road into at least two roads along the driving direction;

[0008] If it is detected that there is a pre-set diverging point on the remaining untraveled road section, searching for a second driving route from the diverging point to the second task point from the pre-stored driving routes;

[0009] The current device is controlled to move toward the second task point according to the second driving route.

[0010] According to another aspect of the present invention, a path planning device is provided, the device comprising:

[0011] The equipment moving module is used to control the current equipment to move to the first task point according to the first driving route;

[0012] A diverging point detection module is used to detect diverging points on the remaining untraveled road sections corresponding to the first driving route when it is detected that the mission destination is adjusted from the first mission point to the second mission point. The diverging point can separate one road into at least two roads along the driving direction;

[0013] A route search module, configured to search for a second driving route from the diverging point to the second task point from the pre-stored driving routes if a pre-set diverging point is detected on the remaining untraveled road section;

[0014] The device movement update module is used to control the current device to move to the second task point according to the second driving route.

[0015] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0016] at least one processor; and

[0017] a memory communicatively connected to at least one processor; wherein,

[0018] The memory stores a computer program that can be executed by at least one processor. The computer program is executed by at least one processor so that the at least one processor can execute the path planning method of any embodiment of the present invention.

[0019] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the path planning method of any embodiment of the present invention when executed.

[0020] According to the technical solution of the present invention, whether the current task point is idle or not is determined by the occupancy of the equipment within the task point location range; and when it is detected that the task destination has been adjusted, the diversion point detection is automatically performed on the remaining untraveled sections corresponding to the first driving route, so that the first driving route that has been determined can retain some untraveled sections, and only the driving route from the detected diversion point to the second task point needs to be determined based on the pre-stored driving route, thereby reducing the computing resources consumed when redetermining the route and alleviating the computing pressure of the current device. The current device is controlled to move to the second task point through the second driving route, so that after the current device task destination is modified, it can correctly arrive at the task destination. Through the above steps, while the occupation of system resources by path planning is reduced, the path can be searched faster, achieving the effect of rapid diversion, meeting the needs of users to change target task points, and improving the quality of path planning.

[0021] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0023] Figure 1 is a flow chart of a path planning method provided according to Embodiment 1 of the present invention;

[0024] Figure 2 is a schematic diagram of the structure of the distribution of diversion points applicable to the embodiment of the present invention;

[0025] Figure 3 is a flow chart of another path planning method provided according to Embodiment 2 of the present invention;

[0026] Figure 4 is a schematic diagram of the structure of a path planning device provided according to Embodiment 3 of the present invention;

[0027] Figure 5 It is a structural schematic diagram of an electronic device for implementing the path planning method according to an embodiment of the present invention. DETAILED DESCRIPTION

[0028] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0029] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0030] Embodiment 1

[0031] Figure 1 A flow chart of a path planning method is provided for the first embodiment of the present invention. This embodiment is applicable to the situation where the target task point can be freely changed when multiple devices are mobilized to perform tasks. The method can be performed by a path planning device, which can be implemented in the form of hardware and / or software. The path planning device can be configured in any electronic device with network communication function. Figure 1 As shown, the method includes:

[0032] S110: Control the current device to move toward the first task point according to the first driving route.

[0033] The device may be a device that can be controlled by presetting and / or network transmission, and has the ability to move and / or perform set tasks, including but not limited to mobile robots, AGVs, and unmanned vehicles. The first driving route may be the driving route that the current device is currently moving, and the first task point may be the location where the current device is currently set to perform a task. The present invention is not limited to this.

[0034] When executing a task through the current device, the first driving route of the current device will be determined, so that the current device can correctly move to the first task point according to the determined first driving route. The determination of the first driving route can be a driving route pre-set to the current device, sent to the current device through the network, or obtained by the current device after calculation and analysis.

[0035] Optionally, controlling the current device to move toward the first task point according to the first driving route includes:

[0036] In response to the task request, generating a first driving route from a current location of the current device to a first task point for performing the task;

[0037] Control the current device to move toward the first task point according to the driving section indicated by the first driving route.

[0038] When the current device is required to perform a task, the task point of the current device needs to be set, so that the current device can determine a driving route leading to the set task point according to the set task point, determine the driving route as the first driving route, and determine the task point as the first task point. After the current device determines the first driving route leading to the first task point, it will move to the first task point along the first driving route.

[0039] S120: When it is detected that the mission destination is adjusted from the first mission point to the second mission point, a diversion point detection is performed on the remaining untraveled road section corresponding to the first driving route, and the diversion point can separate one road into at least two roads along the driving direction.

[0040] The second mission point may be a mission point after the current device mission point is switched, and the diversion point may be a mark for whether there are multiple roads leading to different mission points in the remaining untraveled road section at the current device location.

[0041] Figure 2 Schematic diagram of the distribution of diversion points applicable to the embodiment of the present invention. Figure 2 The location of the diversion point must be located on the main road and branch road of the equipment moving road. The present invention does not limit the number and location of the diversion point.

[0042] When the current device is heading to the first task point along the first driving route, problems such as road congestion, remote temporary adjustment, or cancellation of the current device operation by the first task point may occur, which may cause the current device to give up moving to the first task point to perform the task and instead move to the second task point to perform the task.

[0043] At this time, the current device continues to move along the first driving route, but detects whether there is a diversion point in the remaining undriven section during the movement, and then determines whether the current device can go to other task points through the undriven section in the first driving route, so that the current device and / or server determines whether the determined first driving route can retain some undriven sections.

[0044] In an optional solution, before performing diverging point detection on the remaining untraveled road section corresponding to the first driving route, steps A1-A2 are also included:

[0045] Step A1: Detect the equipment occupancy status within the preset position range of the first task point, where the equipment occupancy status is used to describe whether the task point is in an idle state.

[0046] Step A2: when the first task point is in a non-idle state, a second task point is selected from the task points in the task area to which the first task point belongs, and the task destination is adjusted from the first task point to the second task point.

[0047] In order to facilitate path selection when the equipment moves, all mission points are divided into multiple mission areas, each of which contains at least two mission points.

[0048] The preset location range may be a preset location range size including the first task point range. The device occupancy status may be the number of devices called or to be called in the first task point. The idle state may be a situation where the number of devices called at the first task point at the current moment does not reach the total number required by the first task point.

[0049] When the device occupancy is greater than or equal to a preset value, it is determined that the first task point is in a non-idle state at the current moment, and the current device has not triggered a task destination adjustment event. At this time, the current device will select another task point in the task area to which the first task point belongs as the second task point, or select a task point in other task areas except the task area to which the first task point belongs as the second task point, and determine the second task point as the task destination.

[0050] In another optional solution, before performing diverging point detection on the remaining untraveled road section corresponding to the first driving route, steps A3-A4 are also included:

[0051] Step A3: Detect whether a task destination adjustment event of the current device is triggered.

[0052] Step A4: When a task destination adjustment event is detected, the task destination is adjusted from the first task point to the second task point indicated by the task destination adjustment event. The task destination adjustment event is generated by selecting and triggering a task point in the task area to which the first task point belongs, or by selecting and triggering a task point in a reference task area, where the reference task area is a task area other than the task area to which the first task point belongs.

[0053] The task destination adjustment event may be an event that requires the current device to go to another task point.

[0054] When the current device goes to the first task point according to the first driving route, the device occupancy status within the preset position range of the first task point will be detected, and then whether the first task point is in an idle state will be determined based on the device occupancy status.

[0055] When the current device is heading to the first task point according to the first driving route, when the current device triggers a task destination adjustment event, it will give up going to the first task point, and determine the task point information carried in the task destination adjustment event according to the triggered task destination adjustment event, and use this task point as the second task point.

[0056] Among them, the triggering of the task destination adjustment event can be triggered by the on-site dispatcher when scheduling equipment, or by the current equipment determining that the first task point is in a non-idle state, and sending a request to the background staff, etc. The present invention does not limit this.

[0057] In an optional solution, detecting the occupancy of equipment within a preset position range of the first task point includes steps A11-A12:

[0058] Step A11, detect the occupancy of the first device associated with the first task point, the occupancy of the first device is determined at least by the number of first-category devices and / or the number of second-category devices, the first-category devices include devices that have arrived at the first task point to perform the task, and the second-category devices include devices that will arrive at the first task point to perform the task within a preset time.

[0059] Step A12: If it is detected that the occupancy of the first device is greater than a preset value, it is determined that the first task point is in a non-idle state.

[0060] At a task point, devices that have arrived at the task point or are about to arrive at the task point will associate themselves with the current task point, so that other devices can query the information of other devices associated with this task point, and then determine the number of devices that have arrived at the task point or are about to arrive at the task point, and then determine the device occupancy, so as to judge whether this task point is idle.

[0061] When the current device goes to the first task point, the device associated with the first task point will be checked to determine the occupancy of the first device associated with the first task point, and whether the first task point is idle is determined based on the occupancy of the first device. The occupancy of the first device can be the number of devices associated with the first task point.

[0062] When the first device occupancy is greater than the preset number value, it means that the first task point is associated with more devices, and then the first task point is determined to be in a non-idle state. The preset number value can be pre-set according to the actual situation of the current task point, and the maximum number of devices that can be associated with the current task point.

[0063] In an optional solution, selecting the second task point from the task points in the task area to which the first task point belongs includes steps A21-A23:

[0064] Step A21, detecting the equipment occupancy status of the remaining task points within the preset position range of the task area to which the first task point belongs, where the equipment occupancy status is used to describe whether the task point is in an idle state.

[0065] Step A22: If the equipment occupancy status of the remaining task points indicates that there are remaining task points in an idle state, the remaining task points in the idle state are selected as the second task points.

[0066] Step A23: If the device occupancy status of the remaining task points indicates that there are no remaining task points in an idle state, then select the task point closest to the current device from the task area to which the first task point belongs, and when it is detected that the closest task point is not the first task point, use the closest task point as the second task point.

[0067] When it is determined that the first task point is in a non-idle state and no task destination adjustment event is triggered, the current device will automatically detect the device occupancy status of the remaining task points within the preset position range of the task area to which the first task point belongs, and then judge the idle status of the remaining task points based on the detected device occupancy status.

[0068] If there is at least one task point in an idle state, the current device can select an idle task point within the preset position range of the remaining task points as the second task point by random selection or by selecting the device with the smallest occupancy or the device closest to the current device.

[0069] If there is not at least one task point in an idle state, the current device will select the task point closest to the current device in the task area, and compare the selected task point with the first task point to determine whether the selected task point is the first task point.

[0070] When it is detected that the selected task point is not the first task point, the task point is used as the second task point.

[0071] In an optional solution, when selecting the second task point from the task points in the task area to which the first task point belongs, the method further includes:

[0072] If the equipment occupancy status of the remaining task points indicates that there are no remaining task points in an idle state, the current equipment is controlled to dock at the diversion point and wait for the remaining task points in an idle state to exist in the task area to which the first task point belongs before making adjustments.

[0073] In addition to the above-mentioned step A23, in the case where there is not at least one task point in an idle state, it may also be caused by the device being offline, damaged, or the inability to add the current device to each task point. At this time, the current device will choose to dock at the diversion point and wait at the diversion point for the task points in the task area to which the first task point belongs to become idle, and make adjustments based on the idle state of the waiting task point.

[0074] In an optional solution, detecting the equipment occupancy status of the remaining task points in the task area to which the first task point belongs includes steps A211-A213:

[0075] Step A211, detect the occupancy of the second device associated with the remaining task point, the occupancy of the second device is determined by at least the number of third-category devices, the number of fourth-category devices, the number of fifth-category devices and / or the number of sixth-category devices, the third-category devices include devices that have arrived at the remaining task point to perform the task, the fourth-category devices include devices that will arrive at the remaining task point to perform the task within a preset time, the fifth-category devices include devices that move toward the remaining task point along the driving route, and the sixth-category devices include devices that have been disconnected within the preset position range of the remaining task point.

[0076] Step A212: If it is detected that the occupancy of the second device is greater than a preset value, it is determined that the remaining task points are in a non-idle state.

[0077] Step A213: If it is detected that the occupancy of the second device is not greater than the preset quantity value, it is determined that the remaining task points are in an idle state.

[0078] The second device occupancy may be the device occupancy in each task point except the first task point in the task area to which the first task point belongs. The third type of equipment may be equipment that arrives at the remaining task points in the task area and performs the tasks normally according to the equipment. The fourth type of equipment may be equipment that will arrive at the remaining task points and perform the tasks within a preset time. The fifth type of equipment may be equipment that moves toward the remaining task points along a determined driving route when detecting the occupancy of the second device associated with the remaining task points. The sixth type of equipment may be equipment that is disconnected due to abnormalities and other problems within a preset range of the remaining task points. The preset quantity value may be a pre-set quantity value used to describe the maximum device occupancy of a task point.

[0079] When inserting the current device in the remaining task point, only the devices executing the tasks in the remaining task point at the current moment are considered, so other devices transferred to the remaining task area may make wrong judgments when determining the device occupancy.

[0080] Therefore, when detecting the equipment occupancy status of the remaining task points in the task area to which the first task point belongs, in addition to the equipment that is currently located at the remaining task points to perform tasks, it is also necessary to calculate the equipment that will arrive at the remaining task points to perform tasks within the preset time, the equipment that is moving toward the remaining task points along the driving route, and the equipment that has been disconnected within the preset position range of the remaining task points.

[0081] The detected number of third-category devices, fourth-category devices, fifth-category devices and / or sixth-category devices are calculated to obtain the accurate occupancy of the second devices associated with the remaining task points, and the remaining task points are determined to be in a non-idle state based on the obtained second-device occupancy.

[0082] When the second device occupancy is greater than the preset quantity value, it indicates that the number of devices in the remaining task points has reached the maximum number of devices that the remaining task points can accommodate, thereby determining that the remaining task points are in a non-idle state.

[0083] When the second device occupancy is less than or equal to the preset quantity value, it indicates that the number of devices in the remaining task points has not reached the maximum number of devices that the remaining task points can accommodate, and then it is determined that the remaining task points are in an idle state.

[0084] In an optional solution, selecting the remaining task points in an idle state as the second task points includes:

[0085] The remaining task points that are in an idle state and meet the target condition are selected as the second task points, and the target condition includes that the occupancy of the second device of the remaining task points is the smallest.

[0086] After the current device detects the second device occupancy of the remaining task points in the task area to which the first task point belongs, the detected second device occupancy of the remaining task points is compared to determine the remaining task point with the smallest second device occupancy, and this task point is set as the second task point.

[0087] In an optional solution, performing divergence point detection on the remaining untraveled road section corresponding to the first driving route includes:

[0088] By querying the diversion point configuration information, it is detected whether there is a pre-set diversion point corresponding to the remaining untraveled section of the first driving route.

[0089] The diversion point configuration information includes the position coordinates of each diversion point pre-set on the road in the working area where the current device is located.

[0090] The diversion point configuration information may be diversion point information identifying a task area and / or leading to the task area.

[0091] When the current device performs diversion point detection on the remaining undriven section corresponding to the first driving route, the diversion point configuration information corresponding to the remaining undriven section in the first driving route will be queried, and then it will be determined whether there is a pre-set diversion point corresponding to the remaining undriven section of the first driving route.

[0092] In an optional solution, a diversion point separates a road into at least two roads along the driving direction allowed by the road, and the at least two separated roads correspond to different mission points respectively, and the distance between the diversion point and at least one mission point is less than a preset distance.

[0093] The preset distance may be a preset longest distance that can ensure as much as possible that the result of whether the current device is in an idle state for the task point is correct.

[0094] When the current device determines the second task point, if the distance between the task point and the current device is too long, the actual device occupancy of the second task point may be different from the judgment result of the current device when the current device arrives at the second task point, which may lead to traffic jams and other problems. Therefore, when setting the diversion point, it is necessary to ensure that the distance between the diversion point and at least one task point is less than the preset distance as much as possible, so as to ensure that the result of the current device's judgment of the device occupancy of the second task point is as consistent as possible with the actual device occupancy of the second task point.

[0095] In an optional solution, before detecting whether there is a pre-set diverging point corresponding to the remaining untraveled section of the first driving route, the method further includes steps B1-B2:

[0096] Step B1: When the current device is in an idle state, detect whether the diversion point set on the road in the working area where the current device is located is updated.

[0097] Step B2: If a diversion point update is detected, then the updated diversion point configuration information is loaded.

[0098] Since the diversion points often do not change after being set and the number of diversion points is often large, the current device can load and save the diversion points on the workspace where the current device is located when it is in an idle state, and detect the stored diversion points when it is in an idle state next time to determine whether the saved diversion points have been updated and / or whether new diversion points have appeared.

[0099] When it is detected that the saved diversion point has been updated or a new diversion point has appeared, the new diversion point configuration information will be reloaded and saved, thereby ensuring that when the diversion point is detected, the occurrence of problems such as traffic congestion caused by untimely diversion point updates can be avoided as much as possible.

[0100] S130: If it is detected that there is a pre-set diverging point on the remaining untraveled road section, a second driving route from the diverging point to the second task point is searched from the pre-stored driving routes.

[0101] The pre-stored driving route may be a pre-stored driving route that can reach all mission points.

[0102] When the mission destination of the current device is adjusted from the first mission point to the second mission point, a divergence point detection is performed on the remaining untraveled road section corresponding to the first driving route. If a pre-set divergence point can be detected on the remaining untraveled road section, it is determined that the current device can reach the divergence point along the first driving route, and can travel to the second mission point according to the divergence point.

[0103] Therefore, the current device will use the detected diverging point as a starting point to search for a second driving route that reaches the second mission point in the pre-stored driving routes.

[0104] By performing divergence point detection on the remaining untraveled sections corresponding to the first driving route, when a pre-set divergence point is detected on the remaining untraveled sections, it is further determined whether the second task point can be reached through this divergence point, so that the first driving route that has been determined can retain some untraveled sections, and only the driving route from the detected divergence point to the second task point needs to be determined based on the pre-stored driving route, thereby reducing the computing resources consumed when redetermining the route and alleviating the computing pressure of the current device.

[0105] S140: Control the current device to move toward the second task point according to the second driving route.

[0106] After determining the second driving route, the current device will move along the first driving route until it reaches the detected diverging point, and after reaching the diverging point, the driving route will be switched to the second driving route, and continue to move toward the second mission point according to the second driving route.

[0107] The current device is controlled to move to the second task point through the second driving route, so that after the task destination of the current device is modified, it can arrive at the task destination as accurately as possible.

[0108] According to the technical solution of the present invention, during the execution of the task by the current device, whether the first task point is idle or not is automatically detected; when it is detected that the task destination has been adjusted, the diversion point detection is performed on the remaining untraveled section corresponding to the first driving route. If it is detected that there is a pre-set diversion point on the remaining untraveled section, it is planned to reach the second task point through this diversion point, so that the first driving route that has been determined can retain some untraveled sections, and only needs to determine the driving route from the detected diversion point to the second task point based on the pre-stored driving route, thereby reducing the computing resources consumed when re-determining the route, and reducing the computing pressure of the current device. The current device is controlled to move to the second task point through the second driving route, so that after the current device task destination is modified, it can correctly reach the adjusted task destination. Through the above steps, while the occupation of system resources by path planning is reduced, the path can still be quickly searched, which has the effect of rapid diversion, avoids congestion, meets the needs of users to change target task points, and improves the quality of path planning.

[0109] Embodiment 2

[0110] Figure 3 A flowchart of another path planning method is provided for an embodiment of the present invention. Based on the above embodiment, this embodiment further optimizes the process of searching for a second driving route from the diverging point to the second task point from the pre-stored driving routes if a pre-set diverging point is detected on the remaining untraveled road section, and controlling the current device to move to the second task point according to the second driving route. This embodiment can be combined with various optional solutions in one or more of the above embodiments. Figure 3 As shown, the method includes:

[0111] S210: Control the current device to move toward the first task point according to the first driving route.

[0112] S220: When it is detected that the mission destination is adjusted from the first mission point to the second mission point, a diversion point detection is performed on the remaining untraveled road section corresponding to the first driving route, and the diversion point can separate one road into at least two roads along the driving direction.

[0113] In an optional solution, after detecting the diverging point on the remaining untraveled road section corresponding to the first driving route, the method further includes steps E1-E2:

[0114] Step E1: If it is detected that there is no pre-set diversion point on the remaining untraveled road section, a first local area map is selected from pre-stored local area maps for representing different area range sizes. The area range corresponding to the first local area map includes the first mission point and the second mission point. The local area maps for representing different area range sizes are in a nested relationship.

[0115] Step E2: Generate a second driving route from the current device to the second task point based on the first local area map.

[0116] The local area map may be an area map including multiple mission areas or mission points, and the map includes but is not limited to information such as the location of mission points in the map, paths between mission points, diversion points, and paths to other areas. The first local area map may be the smallest local area map including the first mission point and the second mission point.

[0117] When detecting the diverging point for the remaining untraveled section corresponding to the first driving route, the current device can only obtain two results, one result is that the diverging point exists, and the other result is that the diverging point does not exist. The situation where the diverging point exists has been explained clearly in the above embodiment and will not be repeated here.

[0118] After the current device performs a diverging point detection on the remaining untraveled section corresponding to the first driving route, if the detection result is that there is no diverging point, it is determined that the second task point cannot be reached along the remaining untraveled section in the first driving route.

[0119] At this time, the current device will select the local area map with the smallest amount of data that contains both the first task point and the second task point from the pre-stored local area maps, and determine this local area map as the first local area map, and generate a second driving route based on the first local area map that allows the current device to reach the second task point.

[0120] In an optional embodiment, the method further comprises steps E3-E4:

[0121] Step E3: When the current device is in an idle state, local areas of different area ranges are delineated according to the positions of each task point. The local areas of different area ranges are obtained by superimposing different numbers of reference areas, and there is a regional nesting relationship between the local areas of different area ranges. The reference area is a preset area range centered on the task point.

[0122] Step E4: construct local area maps corresponding to local areas of different area ranges, wherein the local area maps record the roads and locations of the local areas.

[0123] When the device is in idle state, in addition to updating the diversion point configuration information, the area containing all task points will be divided into multiple local areas according to the location of each task point, and the multiple local areas will be further divided into smaller local areas according to the preset area range centered on the task point.

[0124] Therefore, the current device will store multiple area maps, including an area map with all mission points, a local area map divided according to the area map with all mission points, and a smaller local area map divided according to a preset area range centered on the mission point, etc. Therefore, there is a regional nesting relationship between local areas of different area ranges.

[0125] Therefore, when the driving routes of the first and second mission points cannot be determined in a smaller local area map divided according to a preset area range centered on the mission point, the driving routes will be further determined based on the local area map divided according to the area map with all the mission points.

[0126] In an optional solution, generating a second driving route from the current device to the second task point according to the first local area map includes steps E21-E23:

[0127] Step E21, detecting whether the current position of the current device is in the local area corresponding to the first local area map, the current position being the position when the task destination adjustment instruction is received.

[0128] Step E22: If it is not within the local area corresponding to the first local area map, determine the connecting position between the first driving route and the local area corresponding to the first local area map, and generate a driving route from the connecting position to the second mission point based on the first local area map as the second driving route.

[0129] Step E23: If the device is within the local area corresponding to the first local area map, a driving route from the current position of the current device to the second mission point is generated according to the first local area map as a second driving route.

[0130] After the positions of the first local area and the second task point are determined, it is determined whether the position of the current device when receiving the task destination adjustment instruction is located within the first local area map.

[0131] When it is determined that the location of the current device when receiving the task destination adjustment instruction is not located in the local area corresponding to the first local area map, the connecting position of the first driving route and the local area corresponding to the first local area map is determined to determine the route of the current device entering the local area through the first driving route. And based on the connecting position as the starting point, the driving route from the connecting position to the second task point is determined, and the determined driving route is used as the second driving route.

[0132] The docking location may be a location where the first driving route intersects the local area corresponding to the first local area map.

[0133] When it is determined that the position of the current device when receiving the task destination adjustment instruction is located in the local area corresponding to the first local area map, a driving route from the second task point to the current position of the current device will be directly generated, and this driving route will be determined as the second driving route.

[0134] S230: If it is detected that there are pre-set diversion points on the remaining untraveled road section, the relative distances from the current device to each diversion point set on the remaining untraveled road section are detected.

[0135] When performing divergence point detection on the remaining untraveled road section corresponding to the first driving route, if it is detected that there are pre-set divergence points on the remaining untraveled road section, the relative distance from the current device to each divergence point set on the remaining untraveled road section is detected, and then the relative distance from the current device to each divergence point set on the remaining untraveled road section is determined.

[0136] In an optional solution, before searching the pre-stored driving routes for the second driving route from the diverging point to the second task point, steps C1-C2 are also included:

[0137] Step C1: when the current device is in an idle state, detect whether the diversion point set on the road in the working area where the current device is located is updated.

[0138] Step C2: If it is detected that the diversion point is updated, the driving routes from the updated diversion point to each task point are searched and updated and stored in the pre-stored driving routes.

[0139] When the current device is in idle state, in addition to detecting and updating the diversion point configuration information and the local area map, it will also detect whether the diversion points set on the roads in the working area of ​​the current device are updated. When the diversion points are updated, the driving routes from all diversion points to each task point will be searched, and the updated driving routes will be stored in the pre-stored driving routes of the current device.

[0140] The pre-stored driving route may be a driving route including all diversion points to reach each task point.

[0141] In an optional solution, before searching the pre-stored driving routes for the second driving route from the diverging point to the second task point, the method further includes:

[0142] The diversion points that are in a non-idle state are eliminated from the diversion points set on the remaining untraveled road sections. The diversion points that are in a non-idle state include the diversion points that are occupied by other equipment.

[0143] When the current device moves along the second driving route, in addition to the current device, there are often other devices in the route. Other devices include but are not limited to disconnected devices, moving devices, and devices queued due to road congestion. At this time, if the current device still drives to the diversion point in a non-idle state, it will cause the current device to fall into road congestion or cause road blockage, affecting device calling.

[0144] Therefore, after detecting each diversion point set on the remaining untraveled road section, the detected diversion points will be detected again to determine whether each diversion point is in a non-idle state. After determining that the diversion point is in a non-idle state, it will be eliminated.

[0145] S240: When there are diversion points whose relative distances are greater than the preset distance, determine available diversion points from the diversion points whose relative distances are greater than the preset distance.

[0146] S250: When there is no diversion point whose relative distance is greater than the preset distance, control the current device to stop moving or reduce the moving speed, and determine an available diversion point from the diversion points whose relative distance is not greater than the preset distance.

[0147] After detecting the relative distance from the current device to each diversion point set on the remaining untraveled road section, two detection results will be obtained, one is that there is a diversion point with a relative distance greater than the preset distance, and the other is that there is no diversion point with a relative distance greater than the preset distance.

[0148] When there is a diverging point whose relative distance is greater than the preset distance, the current device has enough time to calculate data information such as the subsequent driving route. At this time, the current device will determine the available diverging points from the diverging points whose relative distance is greater than the preset distance.

[0149] When there is no diverging point with a relative distance greater than the preset distance, the current device may not be able to calculate the data information in time due to the fast moving speed, resulting in the current device missing the calculated diverging point and causing the driving route to deviate. Therefore, when there is no diverging point with a relative distance greater than the preset distance, the current device will stop moving or reduce the moving speed to ensure that the current device can obtain enough time to calculate the data information.

[0150] S260: Extract a second driving route from the available diversion point to the second mission point from the pre-stored driving routes.

[0151] S270: Replace a portion of the first driving route from the diverging point to the first task point with the second driving route to obtain a third driving route.

[0152] After obtaining the pre-stored driving route, the current device will obtain the driving route from the selected available diversion point to the second task point according to the pre-stored driving route, and determine this driving route as the second driving route.

[0153] After determining the second driving route, the current device now has two driving routes, one is the driving route from the first driving route to the selected diverging point, and the other is the driving route from the selected diverging point to the second mission point, which is the second driving route. Therefore, after determining the two driving routes, the current device will integrate the routes to obtain a complete driving route from the current position of the current device to the selected diverging point and then to the second mission point, and determine it as the third driving route.

[0154] By extracting the second driving route from the available diversion point to the second task point, the third driving route is determined, so that the current device can move according to one driving route, thereby avoiding the problem of abnormal movement of the current device due to the need to switch the driving route during the movement of the current device.

[0155] S280. Control the current device to move toward the second task point according to the third driving route.

[0156] After determining the third driving route, the current device obtains a complete driving route from the current position of the current device to the second task point. The current device will move to the second task point according to the driving route.

[0157] According to the technical solution of the present invention, the current device's moving state is adjusted by detecting the relative distance from the current device to each diversion point set on the remaining untraveled road section, so that the current device has sufficient data processing time before moving to the diversion point. The third driving route is determined by extracting the second driving route from the available diversion point to the second task point, so that the current device can move according to a driving route, thereby avoiding the problem of abnormal movement of the current device due to the need to switch the driving route during the movement of the current device.

[0158] Embodiment 3

[0159] Figure 4 The present invention provides a structural block diagram of a path planning device. This embodiment is applicable to the situation where the target task point can be freely changed when multiple devices are mobilized to perform tasks. The path planning device can be implemented in the form of hardware and / or software, and the path planning device can be configured in an electronic device with data processing capabilities. Figure 4 As shown, the path planning device of this embodiment may include: a device movement module 310, a diversion point detection module 320, a route search module 330 and a device movement adjustment module 340. Among them:

[0160] The device movement module 310 is used to control the current device to move to the first task point according to the first driving route;

[0161] A diverging point detection module 320, configured to detect a diverging point on the remaining untraveled road section corresponding to the first driving route when it is detected that the mission destination is adjusted from the first mission point to the second mission point, wherein the diverging point can separate one road into at least two roads along the driving direction;

[0162] The route search module 330 is used to search for a second driving route from the pre-stored driving routes to the second task point if a pre-set diverging point is detected on the remaining untraveled road section;

[0163] The device movement adjustment module 340 is used to control the current device to move to the second task point according to the second driving route.

[0164] Based on the above embodiment, optionally, the device moving module 310 is specifically used for:

[0165] In response to the task request, generating a first driving route from a current position of the current device to a first task point for performing the task;

[0166] Control the current device to move toward the first task point according to the driving section indicated by the first driving route.

[0167] Based on the above embodiment, optionally, before the diversion point detection module 320, the following is further included:

[0168] An occupancy detection module is used to detect the occupancy of equipment within a preset position range of the first task point, and the equipment occupancy is used to describe whether the task point is in an idle state;

[0169] The task point adjustment module is used to select a second task point from the task points in the task area to which the first task point belongs when the first task point is in a non-idle state, and adjust the task destination from the first task point to the second task point.

[0170] Based on the above embodiment, optionally, before the diversion point detection module 320, the following is further included:

[0171] An adjustment event detection module is used to detect whether a task destination adjustment event of the current device is triggered;

[0172] A task point change module is used to adjust the task destination from a first task point to a second task point indicated by the task destination adjustment event when a task destination adjustment event is detected. The task destination adjustment event is generated by selecting and triggering a task point in a task area to which the first task point belongs, or by selecting and triggering a task point in a reference task area, wherein the reference task area is a task area other than the task area to which the first task point belongs.

[0173] Based on the above embodiment, optionally, the occupancy detection module is specifically used to:

[0174] Detecting the occupancy of a first device associated with the first task point, where the occupancy of the first device is determined at least by the number of first-category devices and / or the number of second-category devices, where the first-category devices include devices that have arrived at the first task point to perform a task, and the second-category devices include devices that will arrive at the first task point to perform a task within a preset time;

[0175] If it is detected that the occupancy of the first device is greater than a preset value, it is determined that the first task point is in a non-idle state.

[0176] Based on the above embodiment, optionally, the task point adjustment module includes:

[0177] A device occupancy detection unit, used to detect the device occupancy status within the preset position range of the remaining task points in the task area to which the first task point belongs, wherein the device occupancy status is used to describe whether the task point is in an idle state;

[0178] an idle state adjustment unit, configured to select the idle remaining task point as the second task point if the equipment occupancy status of the remaining task points indicates that there are remaining task points in an idle state;

[0179] A non-idle adjustment unit is used to select a task point closest to the current device from the task area to which the first task point belongs if the device occupancy status of the remaining task points indicates that there are no remaining task points in an idle state, and when it is detected that the task point closest to the current device is not the first task point, use the task point closest to the first task point as the second task point.

[0180] Based on the above embodiment, optionally, the device occupancy detection unit includes:

[0181] an occupancy acquisition subunit, for detecting the occupancy of a second device associated with the remaining task point, the occupancy of the second device being determined at least by the number of third-category devices, the number of fourth-category devices, the number of fifth-category devices and / or the number of sixth-category devices, the third-category devices including devices that have arrived at the remaining task point to perform tasks, the fourth-category devices including devices that will arrive at the remaining task point to perform tasks within a preset time, the fifth-category devices including devices that are moving along a driving route toward the remaining task point, and the sixth-category devices including devices that are offline within a preset position range of the remaining task point;

[0182] A larger occupancy adjustment subunit, configured to determine that the remaining task points are in a non-idle state if it is detected that the occupancy of the second device is greater than a preset value;

[0183] The smaller occupancy adjustment subunit is used to determine that the remaining task points are in an idle state if it is detected that the occupancy of the second device is not greater than a preset value.

[0184] Based on the above embodiment, optionally, the idle state adjustment unit is specifically configured to:

[0185] The remaining task points that are in an idle state and meet a target condition are selected as second task points, wherein the target condition includes that the occupancy of the second device of the remaining task points is the smallest.

[0186] Based on the above embodiment, optionally, the device occupancy detection unit further includes:

[0187] If the equipment occupancy status of the remaining task points indicates that there are no remaining task points in an idle state, the current equipment is controlled to dock at the diversion point and wait for the remaining task points in an idle state to exist in the task area to which the first task point belongs before making adjustments.

[0188] Based on the above embodiment, optionally, the diversion point detection module 320 includes:

[0189] By querying the diversion point configuration information, detecting whether there is a pre-set diversion point corresponding to the remaining untraveled section of the first driving route;

[0190] The diversion point configuration information includes the position coordinates of each diversion point pre-set on the road in the working area where the current device is located.

[0191] Based on the above embodiment, optionally, the diversion point separates a road into at least two roads along the driving direction allowed by the road, and the at least two separated roads correspond to different task points respectively, and the distance between at least one task point of the diversion point is less than a preset distance.

[0192] Based on the above embodiment, optionally, before detecting whether there is a pre-set diverging point corresponding to the remaining untraveled section of the first driving route, the method further includes:

[0193] When the current device is in an idle state, detecting whether a diversion point set on a road in a working area where the current device is located is updated;

[0194] If a diversion point update is detected, the updated diversion point configuration information is loaded.

[0195] Based on the above embodiment, optionally, before the route search module 330, the following is further included:

[0196] A diversion point checking module, used for detecting whether the diversion point set on the road in the working area where the current device is located is updated when the current device is in an idle state;

[0197] The driving route traversal module is used to traverse and search the driving routes from the updated diversion point to each task point if it is detected that the diversion point is updated, and update and store the pre-stored driving routes.

[0198] Based on the above embodiment, optionally, the route search module 330 includes:

[0199] A relative distance determination unit, used to detect the relative distance from the current device to each diversion point set on the remaining untraveled road section;

[0200] A larger distance adjustment unit, used for determining an available diversion point from the diversion points with a relative distance greater than the preset distance when there are diversion points with a relative distance greater than the preset distance;

[0201] A smaller distance adjustment unit, used to control the current device to stop moving or reduce the moving speed when there is no diversion point with a relative distance greater than the preset distance, and determine an available diversion point from the diversion points with a relative distance not greater than the preset distance;

[0202] The driving route extraction unit is used to extract a second driving route from the available diversion point to the second task point from the pre-stored driving routes.

[0203] Based on the above embodiment, optionally, before the route search module 330, the following is further included:

[0204] The diversion point elimination module is used to eliminate the diversion points in a non-idle state from the diversion points set on the remaining untraveled road sections. The diversion points in the non-idle state include the diversion points occupied by other equipment.

[0205] Based on the above embodiment, optionally, the device movement adjustment module 340 includes:

[0206] a driving route replacement unit, configured to replace a portion of the first driving route from the diverging point to the first task point with the second driving route to obtain a third driving route;

[0207] The current equipment moving unit is used to control the current equipment to move to the second task point according to the three driving routes.

[0208] Based on the above embodiment, optionally, after the diversion point detection module 320, the following further includes:

[0209] an area map determination module, for selecting a first local area map from pre-stored local area maps for representing different area sizes if it is detected that there is no pre-set diversion point on the remaining untraveled road section, wherein the area range corresponding to the first local area map includes the first mission point and the second mission point, and the local area maps for representing different area sizes are in a nested relationship;

[0210] The driving route generation module is used to generate a second driving route from the current device to the second task point based on the first local area map.

[0211] Based on the above embodiment, optionally, the area map determination module includes:

[0212] A current position detection unit, used to detect whether the current position of the current device is in the local area corresponding to the first local area map, the current position being the position when the task destination adjustment instruction is received;

[0213] a driving route acquisition unit, configured to determine a connecting position between the first driving route and the local area corresponding to the first local area map, and generate a driving route from the connecting position to the second mission point as a second driving route according to the first local area map, if the first driving route is not within the local area corresponding to the first local area map;

[0214] The driving route acquisition unit is used to generate a driving route from the current position of the current device to the second mission point according to the first local area map as a second driving route if the current position is within the local area corresponding to the first local area map.

[0215] Based on the above embodiment, optionally, after the diversion point detection module 320, the following further includes:

[0216] A local area determination unit, configured to define local areas of different area ranges according to the positions of each task point when the current device is in an idle state, wherein the local areas of different area ranges are obtained by superimposing different numbers of reference areas, and there is a regional nesting relationship between the local areas of different area ranges, and the reference area is a preset area range centered on the task point;

[0217] The local area map acquisition unit is used to construct local area maps corresponding to local areas of different area ranges, and the local area maps record the roads and positions of the local areas.

[0218] The path planning device provided in the embodiment of the present invention can execute the path planning method provided in any embodiment of the present invention mentioned above, and has the corresponding functions and beneficial effects of executing the path planning method. For detailed process, please refer to the relevant operations of the path planning method in the above embodiment.

[0219] Embodiment 4

[0220] Figure 5 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0221] like Figure 5 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0222] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0223] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a path planning method.

[0224] In some embodiments, the path planning method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the path planning method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the path planning method in any other appropriate manner (e.g., by means of firmware).

[0225] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0226] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0227] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0228] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0229] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0230] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0231] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0232] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A path planning method, characterized in that: include: Controlling the current device to move toward the first task point along the first driving route; When it is detected that the mission destination is adjusted from the first mission point to the second mission point, a diverging point detection is performed on the remaining untraveled road section corresponding to the first driving route, and the diverging point can separate one road into at least two roads along the driving direction; If it is detected that there is a pre-set diverging point on the remaining untraveled road section, searching for a second driving route from the diverging point to the second task point from the pre-stored driving routes; Controlling the current device to move toward a second task point according to the second driving route; The step of performing diversion point detection on the remaining untraveled road sections corresponding to the first driving route includes: By querying the diversion point configuration information, detecting whether there is a pre-set diversion point corresponding to the remaining untraveled section of the first driving route; The diversion point configuration information includes the position coordinates of each diversion point pre-set on the road in the working area where the current device is located, the diversion point separates a road into at least two roads along the driving direction allowed by the road, the at least two separated roads correspond to different task points respectively, and the distance between the diversion point and at least one task point is less than a preset distance; Before searching the pre-stored driving routes for the second driving route from the diverging point to the second task point, the method further includes: Eliminate the non-idle diversion points from the diversion points set on the remaining untraveled road sections. The non-idle diversion points include the diversion points occupied by other equipment. Before detecting the diversion point on the remaining untraveled road section corresponding to the first driving route, the method further includes: Detecting the occupancy of equipment within a preset location range of the first task point, where the occupancy of equipment is used to describe whether the task point is in an idle state; When the first task point is in a non-idle state, a second task point is selected from the task points in the task area to which the first task point belongs, and the task destination is adjusted from the first task point to the second task point; and / or, detecting whether a task destination adjustment event of the current device is triggered; When a task destination adjustment event is detected, the task destination is adjusted from a first task point to a second task point indicated by the task destination adjustment event, wherein the task destination adjustment event is generated by selecting and triggering a task point in a task area to which the first task point belongs or by selecting and triggering a task point in a reference task area, wherein the reference task area is a task area other than the task area to which the first task point belongs; Wherein, when selecting the second task point from the task points in the task area to which the first task point belongs, it includes: If the equipment occupancy status of the remaining task points indicates that there are no remaining task points in an idle state, the current device is controlled to dock at the diversion point, and adjustments are made when there are remaining task points in an idle state in the task area to which the first task point belongs, and the equipment occupancy status is used to describe whether the task point is in an idle state; Wherein, detecting the equipment occupancy within the preset position range of the remaining task points in the task area to which the first task point belongs includes: Detecting the occupancy of the second device associated with the remaining task point, where the occupancy of the second device is determined by at least the number of the third type of devices, the number of the fourth type of devices, the number of the fifth type of devices and / or the number of the sixth type of devices, where the third type of devices include devices that have arrived at the remaining task point to perform tasks, the fourth type of devices include devices that will arrive at the remaining task point to perform tasks within a preset time, the fifth type of devices include devices that move toward the remaining task point along the driving route, and the sixth type of devices include devices that are offline within a preset position range of the remaining task point; If it is detected that the occupancy of the second device is greater than a preset quantity value, it is determined that the remaining task points are in a non-idle state; If it is detected that the occupancy of the second device is not greater than the preset quantity value, it is determined that the remaining task points are in an idle state.

2. The method according to claim 1, characterized in that Detect the equipment occupancy within the preset location range of the first task point, including: Detecting the occupancy of a first device associated with the first task point, where the occupancy of the first device is determined at least by the number of first-category devices and / or the number of second-category devices, where the first-category devices include devices that have arrived at the first task point to perform a task, and the second-category devices include devices that will arrive at the first task point to perform a task within a preset time; If it is detected that the occupancy of the first device is greater than a preset value, it is determined that the first task point is in a non-idle state.

3. The method according to claim 1, characterized in that Selecting a second task point from task points in the task area to which the first task point belongs also includes: Detecting the equipment occupancy within the preset position range of the remaining task points in the task area to which the first task point belongs, wherein the equipment occupancy is used to describe whether the task point is in an idle state; If the equipment occupancy status of the remaining task points indicates that there are remaining task points in an idle state, the remaining task points in an idle state are selected as the second task points; If the device occupancy status of the remaining task points indicates that there are no remaining task points in an idle state, then the task point closest to the current device is selected from the task area to which the first task point belongs, and when it is detected that the closest task point is not the first task point, the closest task point is used as the second task point.

4. The method according to claim 1, characterized in that: Before detecting whether there is a pre-set diverging point corresponding to the remaining untraveled section of the first driving route, the method further includes: When the current device is in an idle state, detecting whether a diversion point set on a road in a working area where the current device is located is updated; If a diversion point update is detected, the updated diversion point configuration information is loaded; Before searching the pre-stored driving routes for a second driving route from the diverging point to the second task point, the method further includes: When the current device is in an idle state, detecting whether a diversion point set on a road in a working area where the current device is located is updated; If it is detected that the diversion point is updated, the driving routes from the updated diversion point to each task point are traversed and searched, and updated and stored in the pre-stored driving routes.

5. The method according to claim 1, characterized in that Searching for a second driving route from the diverging point to the second task point from the pre-stored driving routes includes: Detect the relative distance from the current device to each diversion point set on the remaining untraveled road section; When there are diversion points whose relative distance is greater than the preset distance, determining available diversion points from the diversion points whose relative distance is greater than the preset distance; When there is no diversion point whose relative distance is greater than the preset distance, control the current device to stop moving or reduce the moving speed, and determine an available diversion point from the diversion points whose relative distance is not greater than the preset distance; A second driving route from the available diverging point to the second mission point is extracted from the pre-stored driving routes.

6. The method according to claim 1, characterized in that After detecting the diverging points on the remaining untraveled sections corresponding to the first driving route, the method further includes: If it is detected that there is no pre-set diversion point on the remaining untraveled road section, a first local area map is selected from pre-stored local area maps for representing different area range sizes, the area range corresponding to the first local area map includes the first mission point and the second mission point, and the local area maps for representing different area range sizes are in a nested relationship; A second driving route from the current device to a second task point is generated according to the first local area map.

7. The method according to claim 6, characterized in that Generating a second driving route from the current device to the second task point according to the first local area map includes: Detecting whether the current position of the current device is within the local area corresponding to the first local area map, the current position being the position when the task destination adjustment instruction is received; If it is not within the local area corresponding to the first local area map, determining a connecting position between the first driving route and the local area corresponding to the first local area map, and generating a driving route from the connecting position to the second mission point according to the first local area map as the second driving route; If it is within the local area corresponding to the first local area map, a driving route from the current position of the current device to the second mission point is generated according to the first local area map as the second driving route.

8. The method according to claim 6, characterized in that The method further comprises: When the current device is in an idle state, local areas of different area ranges are delineated according to the positions of the respective task points, the local areas of different area ranges are obtained by superimposing different numbers of reference areas, and there is a regional nesting relationship between the local areas of different area ranges, and the reference area is a preset area range centered on the task point; A local area map corresponding to the local areas of different area ranges is constructed, wherein the local area map records the roads and the positions of the local areas.

9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the path planning method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Data caching processing method and device

    CN104182361A

  • Adaptive adjustment method and device for electronic map

    CN108344425A

  • Path planning method and device

    CN110567459A

  • Navigation method, device, equipment and system and storage medium

    CN111426326A

  • Control method of intelligent standby truck

    CN112381535A