A route planning method, device, system and storage medium

By obtaining and using reference points of altitude information in UAV route planning to generate customized routes, the problem of low route planning efficiency in complex terrain environments in the existing technology is solved, and more efficient UAV operations are achieved.

CN112166394BActive Publication Date: 2024-10-18SZ DJI TECH CO LTD

Patent Information

Application Number
CN201980030367.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-10-31
Publication Date
2024-10-18
Estimated Expiration
2039-10-31

AI Technical Summary

Technical Problem

Existing UAV route planning methods fail to effectively consider terrain undulations, resulting in multiple rises and falls and useless movements, which reduces the operating efficiency of UAVs.

Method used

By obtaining the reference point selection operation on the user interface, a custom route containing altitude information is generated, avoiding multiple ascents and descents or complex round-trip routes, and improving the user's freedom in editing routes.

Benefits of technology

It improves the operating efficiency of drones, achieves a balance between automated planning and manual planning, reduces manual workload, and improves the efficiency of route planning.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112166394B_ABST
    Figure CN112166394B_ABST
Patent Text Reader

Abstract

A route planning method, device, system and storage medium, wherein the method comprises: obtaining a selection operation on a reference point on a first user interface; determining multiple reference points according to the selection operation; generating a first flight route according to the order of the selection operation and the multiple reference points, so that a drone performs a first designated task according to the first flight route; wherein each waypoint in the first flight route includes altitude information. Setting reference points through the selection operation and customizing the route planning according to the order of the selection operation improves the user's freedom in editing the route, effectively avoids complex routes such as multiple ascents and descents or round trips, and improves the operating efficiency of the drone.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present invention relate to the field of unmanned aerial vehicle navigation technology, and in particular to a route planning method, device, system and storage medium. Background Art

[0002] Drones are increasingly being used, such as agricultural drones, industrial drones, etc. In the application of drones, drone route planning is a very important step. Currently, drone route planning in the application process is to generate an operating area by mapping the terrain, and then generate a round-trip route within the operating area.

[0003] However, on the one hand, this round-trip route only considers the two-dimensional information of the planned area, and does not consider the factors of terrain undulations. This may cause the planned route to rise and fall multiple times when performing tasks in complex terrain, reducing the execution efficiency. On the other hand, this round-trip route often performs a lot of useless movements during the round-trip movement, reducing the operating efficiency of the drone. Therefore, how to plan routes more effectively is an issue that needs to be solved urgently. Summary of the invention

[0004] The embodiments of the present invention provide a route planning method, device, system and storage medium, which realize customized route planning, improve the user's freedom to edit routes, and effectively avoid complex routes such as multiple ascents and descents or round trips through user selection, thereby improving the operating efficiency of the drone.

[0005] In a first aspect, an embodiment of the present invention provides a route planning method, comprising:

[0006] Acquire a selection operation on a reference point on the first user interface;

[0007] Determine a plurality of reference points according to the selection operation;

[0008] Generating a first flight route according to the order of the selected operations and the plurality of reference points, so that the drone performs a first designated task according to the first flight route;

[0009] Wherein, each waypoint in the first flight route includes altitude information.

[0010] In a second aspect, an embodiment of the present invention provides a route planning device, including: a memory and a processor;

[0011] The memory is used to store programs;

[0012] The processor is used to call the program, and when the program is executed, is used to perform the following operations:

[0013] Acquire a selection operation on a reference point on the first user interface;

[0014] Determine a plurality of reference points according to the selection operation;

[0015] Generating a first flight route according to the order of the selected operations and the plurality of reference points, so that the drone performs a first designated task according to the first flight route;

[0016] Wherein, each waypoint in the first flight route includes altitude information.

[0017] In a third aspect, an embodiment of the present invention provides a route planning system, including: a route planning device and a drone,

[0018] The route planning device is used to obtain a selection operation on a reference point on a first user interface; determine a plurality of reference points according to the selection operation; generate a first flight route according to the order of the selection operation and the plurality of reference points, and send the first flight route to the drone, wherein each waypoint in the first flight route includes altitude information;

[0019] The drone is used to perform a first designated task according to the first flight route.

[0020] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the route planning method as described in the first aspect above.

[0021] In an embodiment of the present invention, a selection operation on a reference point is obtained on a first user interface, and multiple reference points are determined according to the selection operation, and a first flight route is generated according to the order of the selection operation and the multiple reference points, so that the drone can perform a first designated task according to the first flight route; wherein each waypoint in the first flight route includes altitude information. Setting reference points through selection operations and customizing the planned routes according to the order of the selection operations improves the user's freedom in editing routes. By setting reference points, the generated routes better reflect the user's intentions, so that any desired routes can be generated, and complex routes such as multiple ascents and descents or round trips can be effectively avoided through the user's choice, thereby improving the operating efficiency of the drone and achieving a balance between automated planning and manual planning. The smaller manual workload brings about a great improvement in efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. 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 paying creative work.

[0023] Figure 1 is a structural schematic diagram of a route planning system provided by an embodiment of the present invention;

[0024] Figure 2 It is a flowchart of a route planning method provided by an embodiment of the present invention;

[0025] Figure 3 is a schematic diagram of an interface for selecting an operation provided by an embodiment of the present invention;

[0026] Figure 4 is a schematic diagram of another interface for selecting an operation provided by an embodiment of the present invention;

[0027] Figure 5a is a schematic diagram of an interface of a reference point provided by an embodiment of the present invention;

[0028] Figure 5b is a schematic diagram of an interface of a route provided by an embodiment of the present invention;

[0029] Figure 5c is a schematic diagram of another route interface provided by an embodiment of the present invention;

[0030] Figure 5d is a schematic diagram of another route interface provided by an embodiment of the present invention;

[0031] Figure 6a is a schematic diagram of an interface for inserting a path point provided by an embodiment of the present invention;

[0032] Figure 6b is a schematic diagram of another interface for inserting a path point provided by an embodiment of the present invention;

[0033] Figure 7 is a flow chart of another route planning method provided by an embodiment of the present invention;

[0034] Figure 8 is a flowchart of another route planning method provided by an embodiment of the present invention;

[0035] Fig. 9 is a schematic diagram of another route interface provided by an embodiment of the present invention;

[0036] Fig.10 It is a structural schematic diagram of a route planning device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0037] The technical solutions in the embodiments of the present invention will be described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present disclosure, rather than all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.

[0038] Some embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.

[0039] The route planning method proposed in the embodiment of the present invention can be applied to a route planning system, and specifically can be applied to a route planning device in a route planning system. In some embodiments, the route planning system also includes a drone. In some embodiments, the route planning device can be installed on a drone; in some embodiments, the route planning device can be spatially independent of the drone, such as the route planning device can be installed on a remote control device, a smart terminal (such as a mobile phone, a tablet computer, etc.). In some embodiments, a communication connection is established between the route planning device and the drone. In some embodiments, the drone includes one or more motors for providing mobile power for the drone; in some embodiments, the drone also includes a power component rotatably connected to the motor, and in some embodiments, the power component includes a propeller. In some embodiments, the drone can be an agricultural drone, such as a spraying drone, or an industry drone, such as a surveying drone.

[0040] The following is combined with Figure 1 The route planning system provided by the embodiment of the present invention is schematically described.

[0041] See also Figure 1 , Figure 11 is a schematic diagram of the structure of a route planning system provided by an embodiment of the present invention. The route planning system includes: a route planning device 11 and a drone 12. The drone 12 and the route planning device 11 can establish a communication connection through a wireless communication connection. In some scenarios, the drone 12 and the route planning device 11 can also establish a communication connection through a wired communication connection. In some embodiments, the route planning device 11 can be set on the drone 12, and the drone 12 includes a power system 121, and the power system 121 is used to provide power for the drone 12 to move. In other embodiments, the drone 12 and the route planning device 11 are independent of each other, and the route planning device 11 may include one or more of a remote control device, a smart phone, a tablet computer, a laptop computer, and a wearable device, wherein the route planning device 11 can even be other terminal devices independent of the remote control device of the drone 12, and the terminal device can be connected to the remote control device of the drone 12. In other embodiments, the route planning device 11 can be independent of the drone 12, for example, the route planning device 11 is set in a cloud server and establishes a communication connection with the drone 12 through a wireless communication connection.

[0042] The route planning system can obtain the selection operation on the reference point on the first user interface through the route planning device 11, and determine multiple reference points based on the selection operation, so as to generate a first flight route according to the order of the selection operation and the multiple reference points, so that the drone 12 can perform the first designated task according to the first flight route, wherein each waypoint in the first flight route includes altitude information.

[0043] The implementation method of setting reference points through this selection operation and customizing the planned route according to the order of the selection operation improves the user's freedom in editing the route, and can generate any desired route. The desired route combines the user's consideration of the height information of the terrain in the map displayed on the first user interface, and can actively avoid the selection of reference points with large height differences in the process of selecting reference points, thereby effectively avoiding complex routes such as multiple ascents and descents or round trips, meeting the user's demand for automation and intelligence of route planning, and improving the operating efficiency of the drone. At the same time, each waypoint in the route includes height information, which can effectively adjust the height of the drone according to the terrain to perform effective operations within a suitable height range.

[0044] The route planning method, device, system and storage medium provided by the embodiments of the present invention can be applied to the scenario where an agricultural drone (such as a spraying drone) sprays multiple target crops in a crop area. Figure 2 -Attached Fig. 9The route planning method provided by the embodiment of the present invention is schematically described. Of course, the embodiment of the present invention can also be applied to scenarios other than the above-mentioned operation scenarios, which are not specifically limited here.

[0045] For details, please see Figure 2 , Figure 2 1 is a flow chart of a route planning method provided by an embodiment of the present invention. The method can be executed by a route planning device in a route planning system, wherein the specific explanation of the route planning system is as described above, and the embodiment of the present invention is described by taking the route planning device as a remote control device of a drone as an example. Specifically, the method of the embodiment of the present invention includes the following steps.

[0046] S201: Acquire a selection operation on a reference point on a first user interface.

[0047] In an embodiment of the present invention, the route planning device can obtain a selection operation on a reference point on a first user interface. In some embodiments, the selection operation includes but is not limited to a click operation, a slide operation, a press operation, etc. In some embodiments, the first user interface can be a user interface on a map on the route planning device, and in other embodiments, the first user interface can be a user interface on a display device other than the route planning device. In some embodiments, the display information of the first user interface includes but is not limited to map information of the operating area, selected reference points, height information of selected reference points, etc. Through this embodiment, the user can customize the selected reference points through the selection operation, thereby increasing the user's freedom to edit the route. It can be understood that when the route planning device is a drone, the first user interface can be a user interface on a display device other than the route planning device.

[0048] Specific can Figure 3 Take this as an example to illustrate: Figure 3 is a schematic diagram of an interface for selecting an operation provided by an embodiment of the present invention. Figure 3 As shown, assuming that the selection operation on the reference point is a click operation, the route planning device can obtain a click operation 31 on the reference point on the first user interface of the route planning device.

[0049] In one embodiment, during the selection operation, the route planning device may output the height information of the reference point. In some embodiments, the height information of the reference point may be determined by the three-dimensional spatial information obtained after the three-dimensional reconstruction of the operating area displayed on the first user interface. In some embodiments, the image captured by the shooting device of the drone (with surveying and mapping function) in the operating area may be obtained, and the position information of the drone and the posture of the shooting device may be obtained, so as to obtain the three-dimensional spatial information of the operating area according to the image, the position information and the posture, and the three-dimensional spatial information may include the position information and height information of each position point in the operating area. In some embodiments, the position information may be obtained using the Global Positioning System (GPS). In other embodiments, the position information may be obtained using real-time kinematic (RTK) carrier phase differential technology.

[0050] Of course, in addition to using the above three-dimensional space information to obtain the height information of the reference point, other methods can also be used, which are not specifically limited here.

[0051] It can be understood that the height information of the reference point may include its actual height information in three-dimensional space, and may also include the safe flight height information of the drone, wherein the actual height information is obtained through three-dimensional space information such as that after the above-mentioned three-dimensional reconstruction.

[0052] by Figure 3 For example, when a click operation 31 on a reference point is obtained on the first user interface of the route planning device, a reference point 311 corresponding to the click operation 31 can be determined on the first user interface, and the height information of the reference point 311 can be output as 5m by performing three-dimensional reconstruction on the reference point 311.

[0053] In one embodiment, during the selection operation, if the height difference between the current reference point and the previous reference point is greater than a preset height threshold, the route planning device may output information prompting the user to reselect the current reference point.

[0054] In one embodiment, during the selection operation, the route planning device can output the altitude information of the current reference point and determine the altitude information of the previous reference point according to the order of the selection operation. If the altitude difference between the current reference point and the previous reference point is greater than a preset altitude threshold, information prompting the user to reselect the current reference point can be output.

[0055] This implementation method can prevent users from randomly clicking on reference points, which would result in too large a height difference between reference points on the route. This can also prevent the drone from repeatedly going up and downhill to perform tasks such as spraying on complex terrain with different slopes, helping to improve the efficiency of the drone in performing tasks.

[0056] by Figure 4 For example, Figure 4 FIG. 1 is a schematic diagram of another interface for selecting an operation provided by an embodiment of the present invention. Figure 4 As shown, during the selection operation, assuming that the height information of the current reference point 42 is 15m, the height information of the previous reference point 41 is determined to be 5m according to the order of the selection operation. If the preset height threshold is 2m, the height difference between the current reference point 42 and the previous reference point 41 is 10m. It can be determined that the height difference 10m between the current reference point 42 and the previous reference point 41 is greater than the preset height threshold 2m. Therefore, the route planning device can output information 43 prompting the user to reselect the current reference point.

[0057] S202: Determine a plurality of reference points according to the selection operation.

[0058] In the embodiment of the present invention, the route planning device can determine multiple reference points according to the selection operation.

[0059] In one embodiment, the route planning device may determine a plurality of reference points according to the order of the selection operation. In some embodiments, according to the order of the selection operation, the height difference between each adjacent reference point is less than or equal to a preset height threshold.

[0060] by Figure 5a For example, Figure 5a is a schematic diagram of a reference point interface provided by an embodiment of the present invention. Figure 5a As shown, assuming that three reference points are determined according to the order of the selection operation, namely reference point 51, reference point 52, and reference point 53, the height difference between reference point 51 and reference point 52, and the height difference between reference point 52 and reference point 53 are both less than or equal to the preset height threshold.

[0061] S203: Generate a first flight route according to the order of the selection operations and the multiple reference points, so that the drone performs a first designated task according to the first flight route, wherein each waypoint in the first flight route includes altitude information.

[0062] In an embodiment of the present invention, the route planning device may generate a first flight route according to the order of the selected operations and the plurality of reference points, so that the drone performs a first designated task according to the first flight route, wherein each waypoint in the first flight route includes altitude information. In some embodiments, the first designated task may include, but is not limited to, a spraying task, a surveying task, and the like.

[0063] In one embodiment, when the route planning device is set on a remote control device, after the route planning device generates a first flight route according to the order of the selected operations and the multiple reference points, it can send the first flight route to the drone to instruct the drone to perform a first designated task according to the first flight route.

[0064] In one embodiment, the route planning device can obtain the current mission mode of the drone and generate a first flight route according to the order of the selected operations, the multiple reference points and the current mission mode of the drone.

[0065] In one embodiment, when obtaining the current mission mode of the drone, the route planning device may obtain a selection operation on the mission mode on a second user interface, and determine the current mission mode of the drone based on the selection operation. In some embodiments, the selection operation includes but is not limited to a click operation, a press operation, a slide operation, etc. In some embodiments, the second user interface is different from the first user interface. In some embodiments, the second user interface is the same as the first user interface, and the area corresponding to the reference point selection operation and the area corresponding to the mission mode selection operation may be displayed in different areas of the same user interface. In some embodiments, the second user interface may be a user interface on a map on the route planning device. In other embodiments, the second user interface may be a user interface on a display device other than the route planning device. In some embodiments, the display information of the second user interface includes but is not limited to the mission mode; in some embodiments, the mission mode includes a first mode and a second mode. In one example, the first mode may be a continuous spraying mission mode, which is used to indicate spraying along a first flight route formed by a reference point, and the second mode may be a tree core spraying mission mode, which is used to indicate spraying along a first flight route formed by a tree core determined by a reference point, wherein the tree core may be a tree core of a crop, such as a fruit tree, or may not be a crop, such as a plant landscape in urban construction. It is understood that when the route planning device is a drone, the second user interface may be a user interface on a display device other than the route planning device.

[0066] In some embodiments, the mission mode includes a first mode, wherein the first mode is used to indicate that the waypoints in the first flight route include the reference point. In one example, the first mode may be a continuous spraying mission mode, and if the route planning device obtains a selection operation on the second user interface regarding the continuous spraying mission mode, the route planning device may determine that the current mission mode of the drone is the continuous spraying mission mode according to the selection operation.

[0067] In one embodiment, when the current mission mode of the drone is the first mode, the route planning device can obtain the order of the selection operations when generating the first flight route according to the order of the selection operations and the multiple reference points, and determine the order of each reference point according to the order of the selection operations, and determine the reference route generated by connecting each reference point in pairs according to the order of each reference point as the first flight route. In some embodiments, each reference point is a waypoint in the first flight route. Through this implementation, the user can customize the waypoints to generate the route, thereby realizing customized route planning.

[0068] In one example, Figure 5b For example, Figure 5b : is a schematic diagram of an interface of a route provided by an embodiment of the present invention. When the current mission mode of the drone is the first mode, such as the continuous spraying mission mode, if the route planning device obtains the order of the selection operation as the selection operation of reference point 51, the selection operation of reference point 52, and the selection operation of reference point 53, the order of the reference points can be determined to be reference point 51, reference point 52, and reference point 53. Therefore, according to the order of reference point 51, reference point 52, and reference point 53, reference point 51 can be connected with reference point 52 and reference point 52 can be connected with reference point 53 to generate reference route 54, and reference route 54 can be determined as the first flight route.

[0069] In one embodiment, the route planning device can also determine whether the distance between adjacent waypoints of the drone meets the conditions for inserting waypoints. If so, waypoints can be inserted between adjacent waypoints, and at least some of the waypoints can be determined as waypoints in the first flight route. Through this implementation, the waypoints in the first flight route can be optimized to avoid the problem of the drone colliding with obstacles when the distance between the reference points is large and the terrain between the reference points is undulating. It can also avoid the problem of wasting spraying resources when the distance between the reference points is large and there is no spraying demand between the reference points.

[0070] In one embodiment, when determining whether the distance between adjacent waypoints of the drone meets the condition for inserting a path point, the route planning device may obtain the location information of each waypoint of the drone, and determine the distance between adjacent waypoints based on the location information of each waypoint of the drone. If the distance between adjacent waypoints is greater than a preset distance threshold, it may be determined that the condition for inserting a path point is met. The distance between adjacent waypoints may be the line distance between adjacent waypoints or the horizontal distance between adjacent waypoints, which may be set as needed.

[0071] In one embodiment, when the current mission mode of the UAV is the first mode, the route planning device can obtain the position information of each reference point of the UAV, and determine the distance between adjacent reference points based on the position information of each reference point of the UAV. If the distance between adjacent reference points is greater than a preset distance threshold, it can be determined that the conditions for inserting a path point are met.

[0072] by Figure 5b For example, when the current mission mode of the UAV is the first mode, the route planning device can obtain the position information of the reference point 51, reference point 52, and reference point 53 of the UAV, and determine the distance between reference point 51 and reference point 52, and the distance between reference point 52 and reference point 53 according to the position information of the reference point 51, reference point 52, and reference point 53 of the UAV. If the distance between reference point 51 and reference point 52 is greater than the preset distance threshold, or the distance between reference point 52 and reference point 53 is greater than the preset distance threshold, it can be determined that the conditions for inserting the path point are met.

[0073] In one embodiment, when inserting a path point between adjacent waypoints, the route planning device may insert the path point at the average distance point between the adjacent waypoints by calculating the average distance between the adjacent waypoints. In some embodiments, other methods may be used to insert path points between adjacent waypoints, which are not specifically limited in the embodiments of the present invention, and only require that after inserting one or more path points, the distance between the adjacent reference point and the path point is less than a preset distance threshold.

[0074] In one embodiment, when the current mission mode of the drone is the first mode, the route planning device can insert a path point at an average distance point between adjacent reference points by calculating the average distance between adjacent reference points. It can be understood that in some embodiments, the inserted path point can be a waypoint, so after inserting the path point between the reference points, another path point can be inserted between the path points or between the reference point and the path.

[0075] In one example, Figure 6a For example, Figure 6a: is a schematic diagram of an interface for inserting a path point provided by an embodiment of the present invention. When the current mission mode of the drone is the first mode, if the calculated distance between the reference point 51 and the reference point 52 is greater than the preset distance threshold, the route planning device can insert the path point 61 between the reference point 51 and the reference point 52 by means of the average distance. If the calculated distance between the reference point 51 and the path point 61 is greater than the preset distance threshold, the path point 62 can be inserted between the reference point 51 and the path point 61 by means of the average distance. If the distance between the path point 62 and the reference point 51 and the distance between the path point 62 and the path point 61 are both less than the preset distance threshold, the path point insertion between the reference point 51 and the path point 61 is stopped. If the calculated distance between the path point 61 and the reference point 52 is greater than the preset distance threshold, the path point 63 can be inserted between the path point 61 and the reference point 52 by means of the average distance. If the distance between the path point 61 and the path point 63 and the distance between the path point 63 and the reference point 52 are both less than the preset distance threshold, the path point insertion between the path point 61 and the reference point 52 is stopped.

[0076] In one embodiment, the route planning device may also determine whether the inserted waypoint is collinear with the adjacent waypoint, and if so, the inserted waypoint that is collinear with the adjacent waypoint may be deleted from the first flight route. That is, not all inserted waypoints are waypoints in the first flight route, and not all inserted waypoints will be retained.

[0077] by Figure 6a For example, if the route planning device determines that the inserted waypoint 61 is colinear with the reference point 51 and the reference point 52 , the inserted waypoint 61 may be deleted from the first flight route 54 .

[0078] Through this implementation, redundant path points that are not waypoints on the same line can be deleted, further optimizing the waypoints in the first flight route. When optimizing the waypoints in the first flight route, the reference points may not be deleted.

[0079] Among them, in addition to the above-mentioned optimization method, the inserted path points whose height difference with the adjacent waypoints is greater than the preset height value, and / or the inserted path points whose front and rear distance differences with the adjacent waypoints are less than the preset distance value can also be deleted to further increase the smoothness of the UAV during actual flight.

[0080] In one embodiment, when determining whether an inserted path point is collinear with an adjacent waypoint, the route planning device may determine whether the path point is collinear with the adjacent waypoint based on the height information of the inserted path point and the adjacent waypoint. For example, if the inserted path point and the adjacent waypoint are not at the same height, it can be known that the inserted path point and the adjacent waypoint are not collinear. Specifically, the adjacent waypoints may be connected, and then the distance between the inserted path point and the adjacent waypoint is calculated to be less than a preset threshold. If the distance is less than the preset threshold, it can be determined that the inserted path point and the adjacent waypoint are collinear. It can be understood that collinearity includes that the inserted path point and the adjacent waypoint are on the same straight line, and also allows the distance between the inserted path point and the adjacent waypoint to be within a certain distance range.

[0081] In one embodiment, each of the waypoints includes semantic information, the semantic information includes task attributes, and the task attributes are used to instruct the drone to execute or stop executing the first designated task at each of the waypoints. In one example, when the first designated task is a spraying task, the task attributes of the semantic information of each waypoint include a spraying switch attribute, i.e., an on state and an off state of a spraying switch.

[0082] In one embodiment, the drone can execute or stop executing the first designated task at each waypoint in the order of the waypoints according to the task attributes included in the semantic information of each waypoint on the first flight route. This embodiment can avoid the drone from executing the task at a waypoint that does not need to execute the task when executing the first designated task, thereby saving resources.

[0083] Taking 6a as an example, assuming that the first flight route is a route in which the inserted waypoint 61 is deleted from the first flight route 54, and the first designated task is a spraying task, if the task attribute of the reference point 51 is open, the task attribute of the waypoint 62 is closed, the task attribute of the waypoint 63 is open, and the task attribute of the reference point 52 is open, then the UAV can perform the spraying task at the reference point 51 in the order of the waypoints, stop performing the spraying task at the waypoint 62, and perform the spraying task at the waypoint 63 and the reference point 52.

[0084] In one embodiment, at least part of the waypoints include semantic information, the semantic information includes obstacle information, and the obstacle information is used to instruct the drone to perform an obstacle avoidance operation at the corresponding waypoint.

[0085] In one embodiment, the drone can bypass the waypoints including obstacle information according to the order of the waypoints based on the obstacle information included in the semantic information of each waypoint on the first flight route. This embodiment helps the drone avoid obstacles and improves the safety of the drone.

[0086] Taking 6a as an example, assuming that the first flight route is a route in which the inserted waypoint 61 is deleted from the first flight route 54, and the first designated task is a spraying task, if the task attribute of the reference point 51 is in the open state, the task attribute of the waypoint 62 is in the closed state, the semantic information of the waypoint 63 is obstacle information, and the task attribute of the reference point 52 is in the open state, then the UAV can perform the spraying task at the reference point 51 in the order of each waypoint, stop performing the spraying task at the waypoint 62, and perform the spraying task when bypassing the waypoint 63 and flying to the reference point 52.

[0087] In an embodiment of the present invention, the route planning device can obtain a selection operation on a reference point on a first user interface, and determine multiple reference points according to the selection operation, and generate a first flight route according to the order of the selection operation and the multiple reference points, so that the drone can perform a first designated task according to the first flight route; wherein each waypoint in the first flight route includes altitude information. Setting reference points through selection operations and customizing the planned routes according to the order of the selection operations increases the user's freedom to edit routes. By setting reference points, the generated routes better reflect the user's intentions, so that any desired routes can be generated, and complex routes such as multiple ascents and descents or round trips can be effectively avoided through the user's choice, thereby improving the operating efficiency of the drone and achieving a balance between automated planning and manual planning. The smaller manual workload brings about a great improvement in efficiency.

[0088] For details, please see Figure 7 , Figure 7 1 is a flow chart of another route planning method provided by an embodiment of the present invention. The method can be executed by a route planning device in a route planning system. The specific explanation of the route planning system is as described above. The embodiment of the present invention is described by taking the route planning device as a remote control device of a drone as an example. Figure 2 The difference between the embodiments is that the embodiment of the present invention describes an embodiment in the second mode. Specifically, the method of the embodiment of the present invention includes the following steps.

[0089] S701: Acquire a selection operation on a reference point on a first user interface.

[0090] In an embodiment of the present invention, the route planning device can obtain a selection operation on a reference point on the first user interface. The specific embodiment is as described above and will not be repeated here.

[0091] S702: Determine multiple reference points according to the selection operation.

[0092] In the embodiment of the present invention, the route planning device can determine multiple reference points according to the selection operation. The specific embodiments and examples are as described above and will not be repeated here.

[0093] S703: Obtain the current mission mode of the UAV, and generate a first flight route according to the order of the selected operations, the multiple reference points and the current mission mode of the UAV, wherein the mission mode includes a second mode, and each waypoint in the first flight route includes altitude information.

[0094] In an embodiment of the present invention, the route planning device can obtain the current mission mode of the drone, and generate a first flight route according to the order of the selection operation, the multiple reference points and the current mission mode of the drone, wherein each waypoint in the first flight route includes altitude information. In some embodiments, the mission mode includes a second mode, and the second mode is used to indicate that the waypoints in the first flight route include mission points determined based on the reference points. In one example, the second mode can be a tree core spraying mission, and the mission point can be a tree core.

[0095] In one example, when the method is applied to a spraying drone, the second mode may be a tree core spraying mission mode. If the route planning device obtains a selection operation on the tree core spraying mission mode on the second user interface, the route planning device may determine that the current mission mode of the drone is the tree core spraying mission mode based on the selection operation.

[0096] In one embodiment, when the current mission mode of the UAV is the second mode, the route planning device can obtain the order of the selection operations when generating the first flight route according to the order of the selection operations and multiple reference points, and determine the order of each reference point according to the order of the selection operations, and connect each reference point in pairs according to the order of each reference point to generate a reference route, and determine the first flight route of the UAV according to the reference route.

[0097] In one embodiment, when the route planning device determines the first flight route of the UAV based on the reference route, it can determine the mission points within a preset range of the reference route, and determine the first flight route of the UAV based on the mission points, wherein each of the mission points is a waypoint in the first flight route.

[0098] In some embodiments, the task point can be obtained by identifying the task point in the work area after the route planning device performs three-dimensional reconstruction of the work area on the map to determine the three-dimensional spatial information. In one example, assuming that the task point is a tree heart, the route planning device can identify the tree heart of the tree in the work area after performing three-dimensional reconstruction of the target crop area on the map to determine the three-dimensional spatial information. The identification of the tree heart can be achieved through machine learning.

[0099] Through this implementation, task points such as the center of a tree can be determined based on a reference route generated based on a user-defined reference point, which helps to generate a route for the task point based on the determined task point.

[0100] In one embodiment, when determining the mission points within the preset range of the reference route, the route planning device may determine two reference lines parallel to the reference route on both sides of the reference route, and determine the mission points between the two reference lines. In some embodiments, the preset distance between each reference line and the reference route is the same. In some embodiments, points on the two reference lines may belong to mission points. Through this implementation, the mission points can be effectively determined to determine the route composed of mission points, thereby facilitating the drone to perform tasks such as spraying at mission points such as tree cores.

[0101] by Figure 5c For example, Figure 5c is a schematic diagram of another route interface provided by an embodiment of the present invention, such as Figure 5c As shown, the route planning device can determine two reference lines parallel to the reference route 54 on both sides of the reference route 54, namely, reference line 55 and reference line 56, and determine task points 57, task point 58, task point 59, task point 510, and task point 511 between reference line 55 and reference line 56.

[0102] In some embodiments, the route planning device can construct a circle with each reference point as the center and a preset distance as the radius, and determine the mission point within each circle. In other embodiments, the route planning device can also determine the mission point in other ways, and the embodiment of the present invention does not specifically limit the determination of the mission point within the preset range of the reference route.

[0103] In one embodiment, when the route planning device determines the first flight route of the UAV based on the mission points, it can obtain the arrangement order of the projection points of the mission points on the reference route along the length direction of the reference route, and according to the arrangement order, connect each of the mission points in pairs to generate the first flight route of the UAV.

[0104] by Figure 5dFor example, Figure 5d It is an interface diagram of another route provided by an embodiment of the present invention. The route planning device can obtain the arrangement order of the projection points of task points 57, task points 58, task points 59, task points 510, and task points 511 on the reference route 54 along the length direction of the reference route 54, and connect each task point in pairs according to the arrangement order to generate the first flight route 512 of the UAV.

[0105] In one embodiment, when the current mission mode of the UAV is the second mode, the route planning device can obtain the location information of each mission point of the UAV, and determine the distance between adjacent mission points based on the location information of each mission point of the UAV. If the distance between adjacent mission points is greater than a preset distance threshold, it can be determined that the conditions for inserting a path point are met.

[0106] by Figure 5d For example, when the current mission mode of the drone is the second mode, the route planning device can obtain the location information of the drone's mission points 57, 58, 59, 510, and 511, and determine the distance between mission point 57 and mission point 58, the distance between mission point 58 and mission point 59, the distance between mission point 59 and mission point 510, the distance between mission point 510 and mission point 511, and the distance between mission point 511 and mission point 512 based on the location information of the drone's mission points 57, 58, 59, 510, and 511. If the distance between mission point 57 and mission point 58 is greater than a preset distance threshold, or the distance between mission point 58 and mission point 59 is greater than the preset distance threshold, or the distance between mission point 59 and mission point 510 is greater than the preset distance threshold, or the distance between mission point 510 and mission point 511 is greater than the preset distance threshold, it can be determined that the conditions for inserting a path point are met.

[0107] In one embodiment, when the current mission mode of the drone is the second mode, the route planning device may insert a path point at an average distance point between adjacent mission points by calculating the average distance between adjacent mission points.

[0108] In one example, Figure 6b For example, Figure 6b64 is another interface schematic diagram for inserting a path point provided by an embodiment of the present invention. When the current mission mode of the drone is the second mode, if the route planning device calculates that the distance between the mission point 57 and the mission point 58 is greater than the preset distance threshold, the path point 64 can be inserted between the mission point 57 and the mission point 58 by averaging the distance, wherein after the insertion of the path point 64, the distance between the mission point 57 and the path point 64, and the distance between the path point 64 and the mission point 58 are both less than the preset distance threshold.

[0109] In one embodiment, the route planning device may also determine whether the inserted waypoint is collinear with the adjacent waypoint. If so, the inserted waypoint that is collinear with the adjacent waypoint may be deleted from the first flight route. Figure 6b For example, if the route planning device determines that the inserted waypoint 64 is collinear with the reference point 57 and the reference point 58, the inserted waypoint 64 can be deleted in the first flight route 512. Through this implementation, the redundant waypoints that are collinear can be deleted, further optimizing the waypoints in the route.

[0110] In one embodiment, when determining whether an inserted waypoint is collinear with an adjacent waypoint, the route planning device may determine whether the waypoint is collinear with the adjacent waypoint based on the altitude information of the inserted waypoint and the adjacent waypoint.

[0111] In one embodiment, each of the waypoints includes semantic information, the semantic information includes task attributes, and the task attributes are used to instruct the drone to execute or stop executing the first designated task at each of the waypoints. In one example, when the first designated task is a spraying task, the task attributes of the semantic information of each waypoint include a spraying switch attribute, i.e., an on state and an off state of a spraying switch.

[0112] In one embodiment, the drone can execute or stop executing the first designated task at each waypoint in the order of the waypoints according to the task attributes included in the semantic information of each waypoint on the first flight route. This embodiment can avoid the drone from executing the task at a waypoint that does not need to execute the task when executing the first designated task, thereby saving resources.

[0113] Taking 6b as an example, assuming that the first flight route is a route in which the inserted path point 64 is deleted from the first flight route 512, and the first designated task is a spraying task, if the task attribute of task point 57 is open, the task attribute of task point 58 is closed, the task attribute of task point 59 is closed, the task attribute of task point 510 is open, and the task attribute of task point 511 is open, then the drone can perform the spraying task at task point 57, stop performing the spraying task at task point 58, stop performing the spraying task at task point 59, perform the spraying task at task point 510, and perform the spraying task at task point 511 in the order of the task points.

[0114] In one embodiment, at least some of the waypoints include semantic information, the semantic information includes obstacle information, and the obstacle information is used to instruct the drone to perform obstacle avoidance operations at the corresponding waypoints. In some embodiments, the semantic information of each waypoint on the first flight route may include mission attributes and obstacle information; in some embodiments, the semantic information of some waypoints on the first flight route may include mission attributes and obstacle information; in some embodiments, the semantic information of each waypoint on the first flight route may include obstacle information; in some embodiments, the semantic information of some waypoints on the first flight route may include obstacle information. Wherein, when the semantic information of each waypoint includes obstacle information, the obstacle information may indicate the need for obstacle avoidance or the need for obstacle avoidance, and when the semantic information of some waypoints includes obstacle information, the obstacle information may indicate the need for obstacle avoidance.

[0115] In one embodiment, the drone can perform obstacle avoidance operations at corresponding waypoints in the order of each waypoint according to the obstacle information included in the semantic information of the corresponding waypoints on the first flight route. This embodiment helps the drone avoid obstacles and improves the safety of the drone.

[0116] Taking 6b as an example, the first flight route is the route in which the inserted path point 64 is deleted from the first flight route 512, and the first designated task is the spraying task. If the task attribute of task point 57 is in the open state, the task attribute of task point 58 is in the closed state, the task attribute of task point 59 is in the closed state, the semantic information of task point 510 includes obstacle information, and the task attribute of task point 511 is in the open state, then the drone can perform the spraying task at task point 57 in the order of each task point, stop performing the spraying task at task point 58, stop performing the spraying task at task point 59, bypass task point 510 and fly to task point 511 to perform the spraying task.

[0117] In an embodiment of the present invention, the route planning device can obtain a selection operation on a reference point on a first user interface, and determine multiple reference points according to the selection operation, and generate a first flight route according to the order of the selection operation, the multiple reference points and the current mission mode of the drone by obtaining the current mission mode of the drone, wherein the mission mode includes a second mode, so that the drone can perform a first specified mission according to the first flight route; wherein each waypoint in the first flight route includes altitude information. By selecting the reference points set by the operation and according to the order of the selection operation and the identified mission points, a route for executing the mission for the mission point is customized and planned, thereby improving the user's freedom in editing the route. By setting the reference points, the generated route better reflects the user's intention, so that any desired route can be generated, and the user's choice can effectively avoid complex routes such as multiple ascents and descents or round trips, thereby improving the operating efficiency of the drone, and achieving a balance between automated planning and manual planning. The small manual workload brings great efficiency improvement. For example, for tasks such as spraying the heart of fruit trees, since fruit trees are not planted in a strict straight line, and are sometimes even scattered in the area, compared with the traditional Z-shaped round-trip mode, the user's selection of reference points can reduce a lot of useless movements of the drone, and can ensure that the drone can operate efficiently according to the actual distribution of fruit trees and the user's expectations, bypassing large areas of treeless areas. The specific distribution of fruit trees does not require users to select one by one, but is automatically divided into ranges based on the user's selection, and the heart of the tree is identified among them, which reflects the balance between automated planning and manual planning.

[0118] For details, please see Figure 8 , Figure 8 1 is a flow chart of another route planning method provided by an embodiment of the present invention. The method can be executed by a route planning device in a route planning system. The specific explanation of the route planning system is as described above. The embodiment of the present invention is described by taking the route planning device as a remote control device of a drone as an example. Figure 7 The difference between the above embodiments is that the present invention embodiment describes an embodiment of generating a second flight route according to the altitude information of the reference point and the reference point. Specifically, the method of the present invention embodiment includes the following steps.

[0119] S801: Acquire a selection operation on a reference point on a first user interface.

[0120] In an embodiment of the present invention, the route planning device can obtain a selection operation on a reference point on the first user interface. The specific embodiment is as described above and will not be repeated here.

[0121] S802: Determine multiple reference points according to the selection operation.

[0122] In the embodiment of the present invention, the route planning device can determine multiple reference points according to the selection operation. The specific embodiments and examples are as described above and will not be repeated here.

[0123] S803: Acquire the height information of each reference point.

[0124] In the embodiment of the present invention, the route planning device can obtain the altitude information of each reference point. Figure 3 As shown, the route planning device can obtain the height information of the reference point 311 as 5m.

[0125] S804: Generate a second flight route according to the altitude information of each of the reference points and the plurality of reference points, so that the UAV performs a second designated task according to the second flight route, wherein each waypoint in the second flight route includes altitude information.

[0126] In an embodiment of the present invention, the route planning device can generate a second flight route based on the altitude information of each of the reference points and the plurality of reference points, so that the drone performs a second designated task according to the second flight route, wherein each waypoint in the second flight route includes altitude information. In some embodiments, the second designated task can be a task within the same altitude range. In one example, the second designated task can be a terrace spraying task. In the process of executing a task, multiple tasks within different altitude ranges can be included.

[0127] In one embodiment, when the route planning device generates the second flight route according to the altitude information of each reference point and the plurality of reference points, the altitude ranking of each reference point can be determined according to the altitude information of each reference point, and the altitude ranking of each reference point can be connected in pairs to generate the second flight route. Through this implementation, the second flight route can be automatically generated according to the altitude information of the reference point and the reference point, realizing the customized planning of the route within the same altitude range, which helps to improve the efficiency of the UAV in performing tasks within the same altitude range.

[0128] by Fig. 9 For example, Fig. 9This is another interface diagram of a route provided by an embodiment of the present invention. Assuming that the route planning device obtains reference point 91, reference point 92, and reference point 93, if the obtained height information of reference point 91 is 5m, the height information of reference point 92 is 6m, and the height information of reference point 93 is 4m, then the route planning device can determine the height order of each reference point from low to high according to the height information of each reference point, which is reference point 93, reference point 91, and reference point 92. The route planning device can generate a second flight route 94 by connecting reference point 93 with reference point 91 and connecting reference point 91 with reference point 92 according to the height order of each reference point from low to high, so that the drone can operate in sequence according to the height order, effectively avoiding the repeated lifting and lowering of the drone. For example, the spraying drone can effectively perform the terrace spraying task according to the second flight route 94. Due to the terrain, the terrace can include multiple spraying areas with different height ranges. In this way, the spraying area at the same altitude can be sprayed, and the spraying areas in different height ranges can be sprayed in sequence according to the size of the height range.

[0129] It can be understood that in the process of generating the second flight route, the relevant technologies in the aforementioned embodiments can also be used, such as the selection of mission mode, insertion of path points, optimization of routes, etc., and similar technical effects can be achieved, which will not be repeated here.

[0130] In an embodiment of the present invention, the route planning device can obtain a selection operation on a reference point on a first user interface, determine multiple reference points according to the selection operation, and obtain the height information of each of the reference points, thereby generating a second flight route according to the height information of each of the reference points and the multiple reference points, so that the UAV performs a second designated task according to the second flight route, wherein each waypoint in the second flight route includes height information. By selecting the height information of the reference point set by the selection operation and generating a second flight route within the same height range of the reference point, the operating efficiency of the UAV in performing the second designated task within the same height range is improved.

[0131] See also Fig.10 , Fig.10 It is a structural diagram of a route planning device provided by an embodiment of the present invention. Specifically, the route planning device includes: a memory 1001, a processor 1002 and a data interface 1003.

[0132] The memory 1001 may include a volatile memory; the memory 1001 may also include a non-volatile memory; the memory 1001 may also include a combination of the above-mentioned types of memories. The processor 1002 may be a central processing unit (CPU). The processor 1002 may further include a hardware route planning device. The above-mentioned hardware route planning device may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof. Specifically, for example, it may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA) or any combination thereof.

[0133] Furthermore, the memory 1001 is used to store a program. When the program is executed, the processor 1002 may call the program stored in the memory 1001 to perform the following steps:

[0134] Acquire a selection operation on a reference point on the first user interface;

[0135] Determine a plurality of reference points according to the selection operation;

[0136] Generating a first flight route according to the order of the selected operations and the plurality of reference points, so that the drone performs a first designated task according to the first flight route;

[0137] Wherein, each waypoint in the first flight route includes altitude information.

[0138] Further, the processor 1002 is further configured to:

[0139] Obtain the current mission mode of the drone;

[0140] When the processor 1002 generates the first flight route according to the order of the selection operations and the plurality of reference points, it is specifically configured to:

[0141] A first flight route is generated according to the order of the selection operations, the multiple reference points and the current mission mode of the UAV.

[0142] Further, when the processor 1002 obtains the current mission mode of the drone, it is specifically used to:

[0143] Acquire a selection operation on the task mode on a second user interface;

[0144] The current mission mode of the UAV is determined according to the selection operation.

[0145] Further, the task mode includes a first mode and a second mode;

[0146] The first mode is used to indicate that the waypoints in the first flight route include the reference point, and the second mode is used to indicate that the waypoints in the first flight route include mission points determined based on the reference point.

[0147] Further, when the processor 1002 generates the first flight route according to the order of the selection operations and the plurality of reference points, it is specifically configured to:

[0148] Obtaining the order of the selection operation;

[0149] Determining the order of each of the reference points according to the order of the selection operations;

[0150] According to the order of each of the reference points, a reference route generated by connecting each of the reference points in pairs is determined as a first flight route.

[0151] Furthermore, each of the reference points is a waypoint in the first flight route.

[0152] Further, when the processor 1002 determines the reference route generated by connecting each reference point in pairs as the first flight route according to the order of each reference point, it is specifically configured to:

[0153] According to the order of each of the reference points, each of the reference points is connected in pairs to generate a reference route;

[0154] A first flight route of the UAV is determined according to the reference route.

[0155] Further, when the processor 1002 determines the first flight route of the drone according to the reference route, it is specifically configured to:

[0156] Determining a mission point within a preset range of the reference route;

[0157] A first flight route of the UAV is determined according to the mission points, wherein each of the mission points is a waypoint in the first flight route.

[0158] Further, when the processor 1002 determines the mission point within the preset range of the reference route, it is specifically configured to:

[0159] Determining two reference lines parallel to the reference route on both sides of the reference route;

[0160] A task point between the two reference lines is determined.

[0161] Furthermore, the preset distance between each of the reference lines and the reference route is the same.

[0162] Further, when the processor 1002 determines the first flight route of the drone according to the mission point, it is specifically configured to:

[0163] Obtaining the arrangement order of the projection points of the mission points on the reference route along the length direction of the reference route;

[0164] According to the arrangement order, each of the mission points is connected in pairs to generate a first flight route of the UAV.

[0165] Further, the processor 1002 is further configured to:

[0166] Determining whether the distance between adjacent waypoints of the drone satisfies a condition for inserting a waypoint;

[0167] If so, waypoints are inserted between adjacent waypoints, and at least some of the waypoints are determined as waypoints in the first flight route.

[0168] Further, when the processor 1002 determines whether the distance between adjacent waypoints of the drone meets the condition for inserting a waypoint, it is specifically used to:

[0169] Obtaining location information of each waypoint of the drone;

[0170] Determine the distance between adjacent waypoints according to the position information of each waypoint of the drone;

[0171] If the distance between adjacent waypoints is greater than a preset distance threshold, it is determined that the condition for inserting a waypoint is met.

[0172] Further, the processor 1002 is further configured to:

[0173] Determine whether the inserted waypoint is collinear with adjacent waypoints;

[0174] If they are collinear, the inserted waypoints that are collinear with the adjacent waypoints are deleted from the first flight route.

[0175] Furthermore, each of the waypoints includes semantic information, and the semantic information includes task attributes, and the task attributes are used to instruct the drone to execute or stop executing the first designated task at each of the waypoints.

[0176] Furthermore, at least some of the waypoints include semantic information, and the semantic information includes obstacle information, and the obstacle information is used to instruct the drone to perform an obstacle avoidance operation at the corresponding waypoint.

[0177] Further, the processor 1002 is further configured to:

[0178] During the selection operation, the height information of the reference point is output.

[0179] Further, the processor 1002 is further configured to:

[0180] During the selection operation, if the height difference between the current reference point and the previous reference point is greater than a preset height threshold, information prompting the user to reselect the current reference point is output.

[0181] Further, the processor 1002 is further configured to:

[0182] Acquire the height information of each of the reference points;

[0183] generating a second flight route according to the altitude information of each of the reference points and the plurality of reference points, so that the UAV performs a second designated task according to the second flight route;

[0184] Wherein, each waypoint in the second flight route includes altitude information.

[0185] Further, when the processor 1002 generates the second flight route according to the altitude information of each reference point and the plurality of reference points, it is specifically configured to:

[0186] Determine the height ranking of each of the reference points according to the height information of each of the reference points;

[0187] According to the height sorting of each reference point, each reference point is connected in pairs to generate a second flight route.

[0188] In an embodiment of the present invention, the route planning device can obtain a selection operation on a reference point on a first user interface, and determine multiple reference points according to the selection operation, and generate a first flight route according to the order of the selection operation and the multiple reference points, so that the drone can perform a first designated task according to the first flight route; wherein each waypoint in the first flight route includes altitude information. Setting reference points through selection operations and customizing the planned routes according to the order of the selection operations increases the user's freedom to edit routes. By setting reference points, the generated routes better reflect the user's intentions, so that any desired routes can be generated, and complex routes such as multiple ascents and descents or round trips can be effectively avoided through the user's choice, thereby improving the operating efficiency of the drone and achieving a balance between automated planning and manual planning. The smaller manual workload brings about a great improvement in efficiency.

[0189] The embodiment of the present invention further provides a route planning system, the system comprising a route planning device and a drone.

[0190] The route planning device is used to obtain a selection operation on a reference point on a first user interface; determine a plurality of reference points according to the selection operation; generate a first flight route according to the order of the selection operation and the plurality of reference points, and send the first flight route to the drone, wherein each waypoint in the first flight route includes altitude information;

[0191] The drone is used to perform a first designated task according to the first flight route.

[0192] Furthermore, the route planning device is also used for:

[0193] Obtain the current mission mode of the drone;

[0194] When the route planning device generates the first flight route according to the order of the selection operations and the plurality of reference points, it is specifically used to:

[0195] A first flight route is generated according to the order of the selection operations, the multiple reference points and the current mission mode of the UAV.

[0196] Furthermore, when the route planning device obtains the current mission mode of the drone, it is specifically used to:

[0197] Acquire a selection operation on the task mode on a second user interface;

[0198] The current mission mode of the UAV is determined according to the selection operation.

[0199] Further, the task mode includes a first mode and a second mode;

[0200] The first mode is used to indicate that the waypoints in the first flight route include the reference point, and the second mode is used to indicate that the waypoints in the first flight route include mission points determined based on the reference point.

[0201] Further, when the route planning device generates the first flight route according to the order of the selection operations and the plurality of reference points, it is specifically used to:

[0202] Obtaining the order of the selection operation;

[0203] Determining the order of each of the reference points according to the order of the selection operations;

[0204] According to the order of each of the reference points, a reference route generated by connecting each of the reference points in pairs is determined as a first flight route.

[0205] Furthermore, each of the reference points is a waypoint in the first flight route.

[0206] Further, when the route planning device determines the reference route generated by connecting each of the reference points in pairs as the first flight route according to the order of each of the reference points, it is specifically used to:

[0207] According to the order of each of the reference points, each of the reference points is connected in pairs to generate a reference route;

[0208] A first flight route of the UAV is determined according to the reference route.

[0209] Furthermore, when the route planning device determines the first flight route of the UAV according to the reference route, it is specifically used to:

[0210] Determining a mission point within a preset range of the reference route;

[0211] A first flight route of the UAV is determined according to the mission points, wherein each of the mission points is a waypoint in the first flight route.

[0212] Furthermore, when the route planning device determines the mission point within the preset range of the reference route, it is specifically used to:

[0213] Determining two reference lines parallel to the reference route on both sides of the reference route;

[0214] A task point between the two reference lines is determined.

[0215] Furthermore, the preset distance between each of the reference lines and the reference route is the same.

[0216] Furthermore, when the route planning device determines the first flight route of the drone according to the mission point, it is specifically used to:

[0217] Obtaining the arrangement order of the projection points of the mission points on the reference route along the length direction of the reference route;

[0218] According to the arrangement order, each of the mission points is connected in pairs to generate a first flight route of the UAV.

[0219] Furthermore, the route planning device is also used for:

[0220] Determining whether the distance between adjacent waypoints of the drone satisfies a condition for inserting a waypoint;

[0221] If so, waypoints are inserted between adjacent waypoints, and at least some of the waypoints are determined as waypoints in the first flight route.

[0222] Furthermore, when the route planning device determines whether the distance between adjacent waypoints of the drone meets the condition for inserting a waypoint, it is specifically used to:

[0223] Obtaining location information of each waypoint of the drone;

[0224] Determine the distance between adjacent waypoints according to the position information of each waypoint of the drone;

[0225] If the distance between adjacent waypoints is greater than a preset distance threshold, it is determined that the condition for inserting a waypoint is met.

[0226] Furthermore, the route planning device is also used for:

[0227] Determine whether the inserted waypoint is collinear with adjacent waypoints;

[0228] If they are collinear, the inserted waypoints that are collinear with the adjacent waypoints are deleted from the first flight route.

[0229] Furthermore, each of the waypoints includes semantic information, and the semantic information includes mission attributes; and the drone is further used for:

[0230] The first designated task is executed or stopped at each waypoint according to the task attributes included in the semantic information of each waypoint in the first flight route.

[0231] Furthermore, at least some of the waypoints include semantic information, and the semantic information includes obstacle information; and the drone is further used for:

[0232] According to the obstacle information included in the semantic information of the corresponding waypoint in the first flight route, an obstacle avoidance operation is performed at the corresponding waypoint.

[0233] Furthermore, the route planning device is also used for:

[0234] During the selection operation, the height information of the reference point is output.

[0235] Furthermore, the route planning device is also used for:

[0236] During the selection operation, if the height difference between the current reference point and the previous reference point is greater than a preset height threshold, information prompting the user to reselect the current reference point is output.

[0237] Furthermore, the route planning device is also used for:

[0238] Acquire the height information of each of the reference points;

[0239] generating a second flight route according to the altitude information of each of the reference points and the plurality of reference points, so that the UAV performs a second designated task according to the second flight route;

[0240] Wherein, each waypoint in the second flight route includes altitude information.

[0241] Furthermore, when the route planning device generates the second flight route according to the altitude information of each reference point and the plurality of reference points, it is specifically used to:

[0242] Determine the height ranking of each of the reference points according to the height information of each of the reference points;

[0243] According to the height sorting of each reference point, each reference point is connected in pairs to generate a second flight route.

[0244] In an embodiment of the present invention, the route planning system can obtain the selection operation of the reference point on the first user interface through the route planning device, and determine multiple reference points according to the selection operation, and generate a first flight route according to the order of the selection operation and the multiple reference points, and send the first flight route to the drone, so that the drone can perform the first designated task according to the first flight route; wherein each waypoint in the first flight route includes altitude information. Setting reference points through the selection operation and customizing the planned route according to the order of the selection operation increases the user's freedom to edit the route. By setting reference points, the generated route better reflects the user's intention, so that any desired route can be generated, and the user's choice can effectively avoid complex routes such as multiple ascents and descents or round trips, thereby improving the operating efficiency of the drone and achieving a balance between automated planning and manual planning. The smaller manual workload brings about a great improvement in efficiency.

[0245] In an embodiment of the present invention, a computer-readable storage medium is further provided. The computer-readable storage medium stores a computer program. When the computer program is executed by a processor, the embodiment of the present invention is implemented. Figure 2 , Figure 7 or Figure 8 The route planning method described in Fig.10 The route planning device corresponding to the embodiment of the present invention will not be described in detail here.

[0246] The computer-readable storage medium may be an internal storage unit of the device described in any of the foregoing embodiments, such as a hard disk or memory of the device. The computer-readable storage medium may also be an external storage device of the device, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the device. Furthermore, the computer-readable storage medium may also include both an internal storage unit of the device and an external storage device. The computer-readable storage medium is used to store the computer program and other programs and data required by the device. The computer-readable storage medium may also be used to temporarily store data that has been output or is to be output.

[0247] A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0248] The above disclosure is only part of the embodiments of the present invention, which certainly cannot be used to limit the scope of the present invention. Therefore, equivalent changes made according to the claims of the present invention are still within the scope of the present invention.

Claims

1. A route planning method, It is characterized in that include: Acquire a selection operation on a reference point on the first user interface; Determine a plurality of reference points according to the selection operation; as well as generating a target flight route according to the plurality of reference points, so that the UAV performs a first designated task according to the target flight route; Each waypoint in the target flight route includes altitude information, and Generating a target flight route according to the plurality of reference points comprises: Generate a task point within a preset range of a reference route, wherein the reference route is formed by connecting a plurality of the reference points, at least one of the task points is located outside the reference route, and the task attribute of the task point is to execute the first designated task or stop executing the first designated task; The target flight route is determined according to the mission point, and the waypoints in the target flight route include the mission point.

2. The method according to claim 1, It is characterized in that The method further comprises: Obtain the current mission mode of the drone; Generating a target flight route according to the plurality of reference points comprises: The target flight route is generated according to the multiple reference points and the current mission mode of the UAV.

3. The method according to claim 2, It is characterized in that The obtaining of the current mission mode of the UAV includes: Acquire a selection operation on the task mode on a second user interface; The current mission mode of the UAV is determined according to the selection operation.

4. The method according to claim 2, It is characterized in that The task mode includes a first mode and a second mode; The first mode is used to indicate that the waypoints in the target flight route include the reference point, and the second mode is used to indicate that the waypoints in the target flight route include mission points determined based on the reference point.

5. The method according to claim 1, It is characterized in that The generation of the reference route includes: Obtaining the order of the selection operation; Determining the order of each of the reference points according to the order of the selection operations; According to the order of each of the reference points, each of the reference points is connected in pairs to generate the reference route.

6. The method according to claim 4, It is characterized in that Also includes: The target flight route is determined according to the reference route, and each of the reference points in the first mode is a waypoint in the target flight route.

7. The method according to claim 1, It is characterized in that The generating of the mission point within the preset range of the reference route includes: Determining two reference lines parallel to the reference route on both sides of the reference route; The task point between the two reference lines is determined.

8. The method according to claim 7, It is characterized in that The preset distance between each reference line and the reference route is the same.

9. The method according to claim 1, It is characterized in that Determining the target flight route of the UAV according to the mission point includes: Obtaining the arrangement order of the projection points of the mission points on the reference route along the length direction of the reference route; According to the arrangement order, each of the mission points is connected in pairs to generate the target flight route of the UAV.

10. The method according to claim 1, It is characterized in that The method further comprises: Determining whether the distance between adjacent waypoints of the drone satisfies a condition for inserting a waypoint; If so, waypoints are inserted between adjacent waypoints, and at least some of the waypoints are determined as waypoints in the target flight route.

11. The method according to claim 10, It is characterized in that The determining whether the distance between adjacent waypoints of the drone meets the condition of inserting a waypoint includes: Obtaining location information of each waypoint of the drone; Determine the distance between adjacent waypoints according to the position information of each waypoint of the drone; If the distance between adjacent waypoints is greater than a preset distance threshold, it is determined that the condition for inserting a waypoint is met.

12. The method according to claim 11, It is characterized in that The method further comprises: Determine whether the inserted waypoint is collinear with adjacent waypoints; If they are collinear, the inserted waypoints that are collinear with the adjacent waypoints are deleted from the target flight route.

13. The method according to claim 1, It is characterized in that in: Each of the waypoints includes semantic information, and the semantic information includes the task attributes of the task point.

14. The method according to claim 1 or 6, It is characterized in that At least some of the waypoints include semantic information, wherein the semantic information includes obstacle information, and the obstacle information is used to instruct the drone to perform an obstacle avoidance operation at the corresponding waypoint.

15. The method according to claim 1, It is characterized in that The method further comprises: During the selection operation, the height information of the reference point is output.

16. The method according to claim 1, It is characterized in that The method further comprises: During the selection operation, if the height difference between the current reference point and the previous reference point is greater than a preset height threshold, information prompting the user to reselect the current reference point is output.

17. The method according to claim 1, It is characterized in that The generation of the reference route includes: Acquire the height information of each of the reference points; Determine the height ranking of each of the reference points according to the height information of each of the reference points; According to the height sorting of each reference point, each reference point is connected in pairs to generate the reference route.

18. A route planning device, It is characterized in that include: Memory and processor; The memory is used to store programs; The processor is used to call the program, and when the program is executed, is used to perform the following operations: Acquire a selection operation on a reference point on the first user interface; Determine a plurality of reference points according to the selection operation; generating a target flight route according to the plurality of reference points, so that the UAV performs a first designated task according to the target flight route; Each waypoint in the target flight route includes altitude information, and Generating a target flight route according to the plurality of reference points comprises: Generate a task point within a preset range of a reference route, wherein the reference route is formed by connecting a plurality of the reference points, at least one of the task points is located outside the reference route, and the task attribute of the task point is to execute the first designated task or stop executing the first designated task; The target flight route is determined according to the mission point, and the waypoints in the target flight route include the mission point.

19. The device according to claim 18, It is characterized in that The processor is further configured to: Obtain the current mission mode of the drone; When the processor generates a target flight route according to the plurality of reference points, the processor is specifically used to: The target flight route is generated according to the multiple reference points and the current mission mode of the UAV.

20. The device according to claim 19, It is characterized in that When the processor obtains the current mission mode of the drone, it is specifically used to: Acquire a selection operation on the task mode on a second user interface; The current mission mode of the UAV is determined according to the selection operation.

21. The device according to claim 20, It is characterized in that The task mode includes a first mode and a second mode; The first mode is used to indicate that the waypoints in the target flight route include the reference point, and the second mode is used to indicate that the waypoints in the target flight route include mission points determined based on the reference point.

22. The apparatus according to claim 18, It is characterized in that When the processor generates the reference route, it is specifically used to: Obtaining the order of the selection operation; Determining the order of each of the reference points according to the order of the selection operations; According to the order of each of the reference points, each of the reference points is connected in pairs to generate the reference route.

23. The device according to claim 21, It is characterized in that Also includes: The target flight route is determined according to the reference route, and each of the reference points in the first mode is a waypoint in the target flight route.

24. The apparatus according to claim 18, It is characterized in that When the processor generates a task point within a preset range of the reference route, the processor is specifically used to: Determining two reference lines parallel to the reference route on both sides of the reference route; A task point between the two reference lines is determined.

25. The device according to claim 24, It is characterized in that The preset distance between each reference line and the reference route is the same.

26. The apparatus according to claim 18, It is characterized in that When the processor determines the target flight route of the UAV according to the mission point, it is specifically used to: Obtaining the arrangement order of the projection points of the mission points on the reference route along the length direction of the reference route; According to the arrangement order, each of the mission points is connected in pairs to generate the target flight route of the UAV.

27. The apparatus according to claim 18, It is characterized in that The processor is further configured to: Determining whether the distance between adjacent waypoints of the drone satisfies a condition for inserting a waypoint; If so, waypoints are inserted between adjacent waypoints, and at least some of the waypoints are determined as waypoints in the target flight route.

28. The device according to claim 27, It is characterized in that When the processor determines whether the distance between adjacent waypoints of the drone meets the condition for inserting a waypoint, it is specifically used to: Obtaining location information of each waypoint of the drone; Determine the distance between adjacent waypoints according to the position information of each waypoint of the drone; If the distance between adjacent waypoints is greater than a preset distance threshold, it is determined that the condition for inserting a waypoint is met.

29. The device according to claim 28, It is characterized in that The processor is further configured to: Determine whether the inserted waypoint is collinear with adjacent waypoints; If they are collinear, the inserted waypoints that are collinear with the adjacent waypoints are deleted from the target flight route.

30. The apparatus according to claim 18, It is characterized in that Each of the waypoints includes semantic information, and the semantic information includes task attributes, and the task attributes are used to instruct the drone to execute or stop executing the first designated task at each of the waypoints.

31. The apparatus according to claim 18 or 23, It is characterized in that At least some of the waypoints include semantic information, wherein the semantic information includes obstacle information, and the obstacle information is used to instruct the drone to perform an obstacle avoidance operation at the corresponding waypoint.

32. The apparatus according to claim 18, It is characterized in that The processor is further configured to: During the selection operation, the height information of the reference point is output.

33. The apparatus according to claim 18, It is characterized in that The processor is further configured to: During the selection operation, if the height difference between the current reference point and the previous reference point is greater than a preset height threshold, information prompting the user to reselect the current reference point is output.

34. The apparatus according to claim 18, It is characterized in that When generating the reference route, the processor is further configured to: Acquire the height information of each of the reference points; Determine the height ranking of each of the reference points according to the height information of each of the reference points; According to the height sorting of each reference point, each reference point is connected in pairs to generate the reference flight route.

35. A route planning system, It is characterized in that include: Route planning equipment and drones, The route planning device is used to obtain a selection operation on a reference point on a first user interface; Determine a plurality of reference points according to the selection operation; generate a target flight route according to the plurality of reference points, and send the target flight route to the UAV, wherein each waypoint in the target flight route includes altitude information; The drone is used to perform a first designated mission according to the target flight route; The step of generating a target flight route according to the plurality of reference points includes: Generate a task point within a preset range of a reference route, wherein the reference route is formed by connecting a plurality of the reference points, at least one of the task points is located outside the reference route, and the task attribute of the task point is to execute the first designated task or stop executing the first designated task; The target flight route is determined according to the mission point, and the waypoints in the target flight route include the mission point.

36. The system according to claim 35, It is characterized in that The route planning device is also used for: Obtain the current mission mode of the drone; When the route planning device generates a target flight route according to the plurality of reference points, it is specifically used to: The target flight route is generated according to the multiple reference points and the current mission mode of the UAV.

37. The system according to claim 36, It is characterized in that When the route planning device obtains the current mission mode of the drone, it is specifically used to: Acquire a selection operation on the task mode on a second user interface; The current mission mode of the UAV is determined according to the selection operation.

38. The system according to claim 36, It is characterized in that The task mode includes a first mode and a second mode; The first mode is used to indicate that the waypoints in the target flight route include the reference point, and the second mode is used to indicate that the waypoints in the target flight route include mission points determined based on the reference point.

39. The system according to claim 35, It is characterized in that When the route planning device generates a target flight route according to the plurality of reference points, it is specifically used to: Obtaining the order of the selection operation; Determining the order of each of the reference points according to the order of the selection operations; According to the order of each of the reference points, each of the reference points is connected in pairs to generate the reference route.

40. The system according to claim 38, It is characterized in that The route planning device also determines the target flight route based on the reference route, and each of the reference points in the first mode is a waypoint in the target flight route.

41. The system according to claim 35, It is characterized in that When the route planning device generates a task point within a preset range of the reference route, it is specifically used to: Determining two reference lines parallel to the reference route on both sides of the reference route; The task point between the two reference lines is determined.

42. The system according to claim 41, It is characterized in that The preset distance between each reference line and the reference route is the same.

43. The system according to claim 35, It is characterized in that When the route planning device determines the target flight route of the UAV according to the mission point, it is specifically used to: Obtaining the arrangement order of the projection points of the mission points on the reference route along the length direction of the reference route; According to the arrangement order, each of the mission points is connected in pairs to generate the target flight route of the UAV.

44. The system according to claim 35, It is characterized in that The route planning device is also used for: Determining whether the distance between adjacent waypoints of the drone satisfies a condition for inserting a waypoint; If so, waypoints are inserted between adjacent waypoints, and at least some of the waypoints are determined as waypoints in the target flight route.

45. The system according to claim 44, It is characterized in that When the route planning device determines whether the distance between adjacent waypoints of the drone meets the condition for inserting a waypoint, it is specifically used to: Obtaining location information of each waypoint of the drone; Determine the distance between adjacent waypoints according to the position information of each waypoint of the drone; If the distance between adjacent waypoints is greater than a preset distance threshold, it is determined that the condition for inserting a waypoint is met.

46. ​​The system according to claim 45, It is characterized in that The route planning device is also used for: Determine whether the inserted waypoint is collinear with adjacent waypoints; If they are collinear, the inserted waypoints that are collinear with the adjacent waypoints are deleted from the target flight route.

47. The system according to claim 35, It is characterized in that Each of the waypoints includes semantic information, and the semantic information includes the task attributes of the task point.

48. The system according to claim 35 or 40, It is characterized in that At least some of the waypoints include semantic information, wherein the semantic information includes obstacle information; and the drone is further configured to: According to the obstacle information included in the semantic information of the corresponding waypoint in the target flight route, an obstacle avoidance operation is performed at the corresponding waypoint.

49. The system according to claim 35, It is characterized in that The route planning device is also used for: During the selection operation, the height information of the reference point is output.

50. The system according to claim 35, It is characterized in that The route planning device is also used for: During the selection operation, if the height difference between the current reference point and the previous reference point is greater than a preset height threshold, information prompting the user to reselect the current reference point is output.

51. The system according to claim 35, It is characterized in that The route planning device is also used for: Acquire the height information of each of the reference points; Determine the height ranking of each of the reference points according to the height information of each of the reference points; According to the height sorting of each reference point, each reference point is connected in pairs to generate the reference flight route.

52. A computer-readable storage medium storing a computer program, It is characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 17 is implemented.

Citation Information

Patent Citations

  • Unmanned aerial vehicle flight path planning method and device

    CN106054920A

  • Unmanned aerial vehicle flight route planning method, device and system, and intelligent terminal

    CN109035871A

Cited By

  • Control device and control method

    US12698097B2