[go: up one dir, main page]

WO2020237471A1 - Flight route generation method, terminal and unmanned aerial vehicle - Google Patents

Flight route generation method, terminal and unmanned aerial vehicle Download PDF

Info

Publication number
WO2020237471A1
WO2020237471A1 PCT/CN2019/088609 CN2019088609W WO2020237471A1 WO 2020237471 A1 WO2020237471 A1 WO 2020237471A1 CN 2019088609 W CN2019088609 W CN 2019088609W WO 2020237471 A1 WO2020237471 A1 WO 2020237471A1
Authority
WO
WIPO (PCT)
Prior art keywords
grid
sub
block
area
drone
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2019/088609
Other languages
French (fr)
Chinese (zh)
Inventor
贾向华
黄振昊
徐富
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SZ DJI Technology Co Ltd
Original Assignee
SZ DJI Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SZ DJI Technology Co Ltd filed Critical SZ DJI Technology Co Ltd
Priority to CN201980011942.0A priority Critical patent/CN111699455B/en
Priority to PCT/CN2019/088609 priority patent/WO2020237471A1/en
Publication of WO2020237471A1 publication Critical patent/WO2020237471A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/10Simultaneous control of position or course in three dimensions
    • G05D1/101Simultaneous control of position or course in three dimensions specially adapted for aircraft

Definitions

  • the embodiments of the present application relate to the technical field of flight control, and in particular to a method for generating a flight route, a terminal, and a drone.
  • UAV aerial survey as a powerful supplement to traditional aerial photogrammetry methods, is widely used.
  • users before they conduct aerial surveys on a larger aerial survey area, they usually need to segment the aerial survey area, that is, divide a large task into several sub-regions and sub-tasks, so as to better segment and manage large-area tasks.
  • the current plan generally simply divides the large aerial survey area into multiple small areas, and the division method is not flexible. There are often unreasonable divisions of aerial survey areas, and the current plan cannot be optimally adapted according to the type of aircraft. This makes the drone fit in the aerial survey area, resulting in low aerial survey work efficiency and poor user experience.
  • the embodiments of the present application provide a method for generating a flight route, a terminal, and a drone, which can flexibly divide the operation area, and adapt each divided operation sub-block to the route distance of the drone as much as possible, thereby This makes the division of the operation area more reasonable and effectively improves the work efficiency of aerial surveys.
  • an embodiment of the present application provides a method for generating a flight route, which is applied to a control terminal, where the control terminal is used to control at least one drone, and the method includes:
  • a flight route is generated on a plurality of the operation sub-blocks respectively.
  • the embodiments of the present application provide a method for generating flight routes, which is applied to drones, including:
  • a flight route is generated on a plurality of the operation sub-blocks respectively.
  • an embodiment of the present application provides a control terminal, including: a processor, and a storage device connected to the processing.
  • the storage device is used to store operation instructions.
  • the processor executes the operation instructions, the processing The device is used to execute the flight route generation method according to any one of the first aspect.
  • an embodiment of the present application provides an unmanned aerial vehicle, including a processor, and a storage device connected to the processing, the storage device is used to store operation instructions, and when the processor executes the operation instructions, the The processor is used to execute the flight route generation method according to any one of the first aspect.
  • an embodiment of the present application provides a readable storage medium with a computer program stored on the readable storage medium; when the computer program is executed, the embodiment of the present application is implemented as in the first aspect or the second aspect.
  • the method for generating the flight route when the computer program is executed, the embodiment of the present application is implemented as in the first aspect or the second aspect.
  • an embodiment of the present application provides a program product, the program product includes a computer program, the computer program is stored in a readable storage medium, and at least one processor of the drone can download it from the readable storage medium The computer program is read, and the at least one processor executes the computer program to enable the drone to implement the flight route generation method according to the embodiment of the present application in the first aspect or the second aspect.
  • the flight route generation method, terminal, and drone provided by the embodiments of the present application obtain the parameter information of the segmented grid by obtaining the operation area, wherein the parameter information is related to the flight range of the drone, and according to the
  • the parameter information of the grid is divided, the operation area is divided into multiple operation sub-blocks, and flight routes are generated on the multiple operation sub-blocks, so that the operation area can be flexibly divided, and each operation area can be divided as much as possible.
  • Each divided operation sub-block is adapted to the UAV's such as route distance and flight time, so that the division of the operation area is more reasonable, and the work efficiency of aerial survey is effectively improved.
  • Fig. 1 is a schematic architecture diagram of an unmanned aerial system according to an embodiment of the present application
  • FIG. 2 is a flowchart of a method for generating a flight route provided by an embodiment of the application
  • Figure 3 is a schematic diagram of a work area provided by an embodiment of the application.
  • FIG. 4 is a schematic diagram of a segmentation grid provided by an embodiment of the application.
  • FIG. 5 is a schematic diagram of an adjusted segmentation grid provided by an embodiment of the application.
  • FIG. 6 is a schematic diagram of an operation sub-block provided by an embodiment of this application.
  • FIG. 7 is a schematic diagram of numbered operation sub-blocks provided by an embodiment of the application.
  • FIG. 8 is a flowchart of a method for generating a flight route according to another embodiment of the application.
  • FIG. 9 is a schematic structural diagram of a control terminal provided by an embodiment of this application.
  • FIG. 10 is a schematic structural diagram of a drone provided by an embodiment of the application.
  • a component when a component is said to be “fixed to” another component, it can be directly on the other component or a central component may also exist. When a component is considered to be “connected” to another component, it can be directly connected to another component or there may be a centered component at the same time.
  • the embodiments of the present application provide a method for generating a flight route, a terminal, and a drone.
  • the following description of this application uses drones as an example. It will be obvious to those skilled in the art that other types of drones can be used without restriction, and the embodiments of the present application can be applied to various types of drones.
  • the drone can be a small or large drone.
  • the drone may be a rotorcraft, for example, a multi-rotor drone that is propelled through the air by multiple propulsion devices.
  • the embodiments of the present application are not limited to this. It can also be other types of drones, such as fixed-wing drones, or a combination of rotary-wing drones and fixed-wing drones.
  • Fig. 1 is a schematic architecture diagram of an unmanned aerial system according to an embodiment of the present application.
  • a rotary wing drone is taken as an example for description.
  • the unmanned flying system 100 may include a drone 110, a display device 130, and a control terminal 140.
  • the UAV 110 may include a power system 150, a flight control system 160, a frame, and a pan/tilt 120 carried on the frame.
  • the drone 110 can wirelessly communicate with the control terminal 140 and the display device 130.
  • the display device 130 may be provided on the control terminal 140, that is, the control terminal 140 is provided with the display device 130, which is not limited herein.
  • the frame may include a fuselage and a tripod (also called a landing gear).
  • the fuselage may include a center frame and one or more arms connected to the center frame, and the one or more arms extend radially from the center frame.
  • the tripod is connected with the fuselage, and is used for supporting the UAV 110 when landing.
  • the power system 150 may include one or more electronic speed regulators (referred to as ESCs) 151, one or more propellers 153, and one or more motors 152 corresponding to the one or more propellers 153, wherein the motors 152 are connected to Between the electronic governor 151 and the propeller 153, the motor 152 and the propeller 153 are arranged on the arm of the UAV 110; the electronic governor 151 is used to receive the driving signal generated by the flight control system 160 and provide driving according to the driving signal Current is supplied to the motor 152 to control the speed of the motor 152.
  • the motor 152 is used to drive the propeller to rotate, thereby providing power for the flight of the drone 110, and the power enables the drone 110 to realize one or more degrees of freedom of movement.
  • the drone 110 may rotate about one or more rotation axes.
  • the aforementioned rotation axis may include a roll axis (Roll), a yaw axis (Yaw), and a pitch axis (pitch).
  • the motor 152 may be a DC motor or an AC motor.
  • the motor 152 may be a brushless motor or a brushed motor.
  • the flight control system 160 may include a flight controller 161 and a sensing system 162.
  • the sensing system 162 is used to measure the attitude information of the drone, that is, the position information and state information of the drone 110 in space, such as three-dimensional position, three-dimensional angle, three-dimensional velocity, three-dimensional acceleration, and three-dimensional angular velocity.
  • the sensing system 162 may include, for example, at least one of sensors such as a gyroscope, an ultrasonic sensor, an electronic compass, an inertial measurement unit (IMU), a vision sensor, a global navigation satellite system, and a barometer.
  • sensors such as a gyroscope, an ultrasonic sensor, an electronic compass, an inertial measurement unit (IMU), a vision sensor, a global navigation satellite system, and a barometer.
  • IMU inertial measurement unit
  • the global navigation satellite system may be a global positioning system (Global Positioning System, GPS) or an RTK (Real-time kinematic) carrier phase differential positioning system.
  • the flight controller 161 is used to control the flight of the drone 110, for example, it can control the flight of the drone 110 according to the attitude information measured by the sensor system 162. It should be understood that the flight controller 161 can control the drone 110 according to pre-programmed program instructions, and can also control the drone 110 by responding to one or more control instructions from the control terminal 140.
  • the pan/tilt head 120 may include a motor 122.
  • the pan/tilt is used to carry loads 123 such as shooting devices, spraying devices, and spreading devices.
  • the load may be a pesticide spraying device or a seed sowing device, etc.
  • the load may include a containing box, a pipe, a pump, and a spray head. Wherein, one end of the pipe can be extended into the containing box, the other end of the pipe is connected with the suction port of the pump, and the discharge port of the pump is connected with the spray head, so that by using the pump, the object to be sprayed in the containing box can be removed from the spray head through the pipe Squirting.
  • the flight controller 161 can control the movement of the pan-tilt 120 through the motor 122.
  • the pan/tilt head 120 may further include a controller for controlling the movement of the pan/tilt head 120 by controlling the motor 122.
  • the pan-tilt 120 may be independent of the drone 110 or a part of the drone 110.
  • the motor 122 may be a DC motor or an AC motor.
  • the motor 122 may be a brushless motor or a brushed motor.
  • the pan-tilt may be located on the top of the drone or on the bottom of the drone.
  • the load 123 may be, for example, a photographing device.
  • the photographing device may be a device for capturing images such as a camera or a video camera.
  • the photographing device may communicate with the flight controller and be controlled by the flight controller. To shoot.
  • the imaging device of this embodiment at least includes a photosensitive element, and the photosensitive element is, for example, a Complementary Metal Oxide Semiconductor (CMOS) sensor or a Charge-coupled Device (CCD) sensor. It can be understood that the camera can also be directly fixed on the drone 110, so the pan/tilt 120 can be omitted.
  • CMOS Complementary Metal Oxide Semiconductor
  • CCD Charge-coupled Device
  • the display device 130 is located at the ground end of the unmanned aerial system 100, can communicate with the drone 110 in a wireless manner, and can be used to display the attitude information of the drone 110.
  • the image taken by the photographing device may also be displayed on the display device 130.
  • the display device 130 may be an independent device or integrated in the control terminal 140.
  • the control terminal 140 is located on the ground end of the unmanned aerial system 100, and can communicate with the drone 110 in a wireless manner for remote control of the drone 110.
  • the control terminal 140 can be a remote control, a mobile phone, a tablet, a computer, a ground service station, etc.
  • the control terminal can connect and communicate with the drone through a connection method such as Bluetooth, cellular network, and wireless network. limited.
  • Fig. 2 is a flowchart of a method for generating a flight route according to an embodiment of the application. As shown in Fig. 2, the method of this embodiment can be applied to a control terminal, and the control terminal is used to control at least one drone.
  • the methods can include:
  • Fig. 3 is a schematic diagram of the operation area provided by an embodiment of the application.
  • the area shown in Fig. 3 is a large-scale aerial survey area, which needs to be divided, and the flight path of the drone is generated in the divided area .
  • obtaining the operation area on the background map includes: obtaining a target flight mission file, where the target flight mission file includes the location information of the target waypoint; and determining the target waypoint based on the location information of the target waypoint Operating area.
  • the work area can also be displayed on the background map.
  • the target flight mission file includes the location information of the target waypoints, and the operation area formed by the target waypoints can be determined based on the location information of the target waypoints. Therefore, the control terminal can obtain the operation area from the target flight mission file, and finally display the operation area on the background map.
  • the target flight mission file may be a Keyhole Markup Language (KML) file, which includes the location information of the target waypoint; in another embodiment, the KML file may also include action information and/or parameter information, such as The actions or parameters to be performed by the drone in the operating area are not limited here.
  • KML Keyhole Markup Language
  • acquiring the work area on the background map includes: receiving a first instruction sent by the user; determining the work area on the background map according to the first instruction; wherein the first instruction includes: a click signal and/or a sliding signal.
  • the work area can also be obtained according to a user's manual operation.
  • the user sets target waypoints on the background map by clicking, sliding, etc., and these target waypoints constitute a work area.
  • the user can also set the boundary lines of the operation area on the background map by clicking, clicking, sliding, etc., and these boundary lines constitute the operation area.
  • S202 Acquire parameter information of the segmented grid.
  • the parameter information is related to the flight range of the UAV.
  • the parameters such as the model and flight height of the drone have a greater impact on the endurance and flight range of the drone. Therefore, the segmentation grid parameters can be determined according to the model parameters of the drone, etc., or the segmentation grid parameters can be manually set by the user.
  • the parameter information of the divided grid includes: the type of the divided grid and/or the area of the divided grid.
  • the flying range of a drone refers to the range of a single flight of the drone. Of course, the flying range of the drone can also be set independently by the user as needed. For example, when the user expects the flying range of the drone to be a certain range, the segmentation grid parameters can be manually set as needed, which is not limited here.
  • the parameter information of the divided grid input by the user is received.
  • the parameter information of the segmentation grid input by the user may be received.
  • the grid area of the user input (such as 0.5km 2 ) is used to generate a grid of the corresponding length.
  • the default planned segmentation shape is square, and the square is directly assigned to the area entered by the user. That is, if the user sets the area to be 0.5km 2 , the side length of the divided square is 0.707km.
  • the user may also need other grid types, such as rectangle, triangle, circle and so on.
  • the user can also determine the area of the divided grid by setting the side length and radius. For example, select the grid type as rectangle, set the side lengths to 1km and 0.5km respectively, and the area of the divided grid to be 0.5km 2 .
  • the parameter information of the segmented grid is determined according to the parameters of the drone.
  • parameters such as the model and flight height of the drone have a greater impact on the endurance and flight range of the drone. Therefore, the parameters of the segmentation grid can be automatically determined according to the parameters of the drone.
  • determining the parameter information of the segmented grid according to the parameters of the drone including: determining the endurance time and/or route distance of the drone according to the model of the drone and the flying height of the drone; Endurance time and/or route distance determine the range of a single operation of the UAV; determine the parameter information of the split grid according to the range of a single operation of the UAV.
  • the relative altitude of the flight relative to the ground can be set in the route planning App and the ground station software, and this altitude can be regarded as the altitude that the aircraft needs to ascend.
  • the flight control module calculates the length of the route that the aircraft can fly in one sortie according to the aircraft model and battery type, as well as the set relative height to the ground (that is, the height that the aircraft needs to rise in the sub-zone). After planning the length of a single flight route, it can be planned according to the square route, and the area involved in the planned square route is regarded as the sub-block area.
  • the drone calculates the length of the flight path that the aircraft can fly in a sortie, it can first calculate the cost of the drone during the ascent and descent by setting the altitude and the type of the drone. Electricity, and then get the precise route length that can be flown in a sortie.
  • the power required for the drone to fly from the take-off point to the starting point of the operating area can also be calculated first, and from the end point of the operating area The power required to return to the takeoff point. For example, take the circumscribed rectangle of the working area as the boundary, calculate the round-trip distance from the center of the circumscribed rectangle to the take-off point, and then calculate the distance and model to obtain the power consumption of the horizontal round-trip distance, and then get a more accurate The length of the route that the sorties can fly.
  • the estimated power consumption can also be adjusted according to external environmental factors, such as weather.
  • the calculated power consumption can be adjusted, such as appropriately increasing the power consumption of the drone during the ascent and descent, or appropriately increasing the power consumption from the starting point to the The round-trip power consumption of the work area, etc.
  • this embodiment is only an exemplary description, and is not limited herein.
  • acquiring the parameter information of the segmented grid further includes: displaying the segmented grid in a preset line type on the background map according to the parameter information; wherein the projection range of the segmented grid on the background map covers the work area.
  • the segmented grid may also be displayed in a preset line type on the background map.
  • Fig. 4 is a schematic diagram of a grid segmentation provided by an embodiment of the application. As shown in Fig. 4, the screen is a grid according to the size of the planned work sub-area, and the grid is represented by a dotted line and covers the entire work area. However, the split grid only realizes the preliminary division of the work area, and the split grid does not fit well with the boundary line of the work area. The split grid will be adjusted later.
  • S203 Divide the work area into multiple work sub-blocks according to the parameter information of the split grid.
  • the division grid realizes the preliminary division of the operation area, but the division grid does not fit well with the boundary line of the operation area, which will affect the division of the operation sub-blocks and thus the flight path of the drone Efficiency of planning. Therefore, before dividing the work area into multiple work sub-blocks according to the parameter information of the split grid, it also includes: adjusting the position of the split grid on the background map. Adjusting the position of the split grid on the background map can be manually adjusted through a control command input by the user, or automatically adjusted according to a preset strategy.
  • Figure 5 is a schematic diagram of an adjusted segmented grid provided by an embodiment of the application. As shown in Figure 5, the lower interface and right boundary of the working area coincide with the boundary of the segmented grid, so that the grid shape and distribution can be maximized The limit fits the target operation area.
  • adjusting the position of the segmented grid on the background map includes: receiving a second instruction input by the user; according to the second instruction, controlling the segmented grid to perform any one or more of the following operations: move left; move right ; Move up; move down; rotate the preset angle clockwise; rotate the preset angle counterclockwise.
  • the division grid is moved, rotated and other operations are performed through instructions input by the user to adjust the position of the division grid on the background map, so that the boundary line of the division grid coincides with the work area, so that the grid The shape and distribution can fit the target work area as much as possible.
  • adjusting the position of the segmented grid on the background map includes: adjusting the position of the segmented grid on the background map according to a preset strategy; wherein, the preset strategy refers to the minimum number of grids occupied by the work area .
  • the position of the division grid can be automatically adjusted according to a preset strategy, so that the number of grids occupied by the work area is the smallest, so that the work sub-blocks can be more conveniently and quickly delineated.
  • dividing the work area into multiple work sub-blocks according to the parameter information of the split grid includes: dividing the work area into multiple partitions according to the parameter information of the split grid; and merging the multiple partitions , Get the job sub-block.
  • the work area can be divided into multiple partitions according to the parameter information of the division grid to obtain a preliminary division result. Then, the adjacent partitions can be merged or unmerged, etc., and finally the job sub-block is obtained.
  • the merging processing of adjacent partitions may be performed according to an instruction input by the user, or may be merged according to a preset merging strategy.
  • Fig. 6 is a schematic diagram of job sub-blocks provided by an embodiment of the application. As shown in Fig. 6, after obtaining multiple partitions according to the division grid, some adjacent partitions are merged, and finally 6 job sub-blocks are obtained. A solid line is used to distinguish the boundaries between the job sub-blocks.
  • merging multiple partitions to obtain a job sub-block includes: receiving a third instruction input by the user; determining the grid to be merged according to the third instruction; and merging the partitions in the grid to be merged into A job sub-block.
  • the method further includes: receiving a fourth instruction input by the user; and canceling the merge of the partitions according to the fourth instruction.
  • the user can choose to merge or undo the merge.
  • the division can be merged according to the operation instruction input by the user, or the division can be cancelled after the division is merged. In this way, the flexibility of the division can be increased.
  • merging multiple partitions to obtain job sub-blocks includes: traversing all the partitions, and if the area occupied by the partition is smaller than the area of the split grid, then merge the partition and other adjacent partitions into one job sub-block ; Until the area of all partitions is greater than 1/2 of the area of the divided grid.
  • automatic partition merging can be performed according to a preset strategy. For example, starting from the entire grid area and searching according to the grid area (degree of completeness), when the area occupied by the partition is smaller than the area of the divided grid, the partition and other adjacent partitions are merged into one job sub-block. Traverse all partitions until the area of all partitions is greater than 1/2 of the area of the division grid.
  • merging multiple partitions to obtain job sub-blocks includes: traversing all partitions, if the area occupied by the partition is less than 1/4 of the area of the division grid, and the total area after the partition is merged with the adjacent partition When the area is less than the total area of the two division grids, merge the partition with the adjacent partition.
  • automatic partition merging can be performed according to a preset strategy. For example, starting from the entire grid area and searching according to the grid area (degree of completeness), when the area occupied by the partition is less than 1/4 of the area of the divided grid, and the total area after the partition and the adjacent partition are merged is less than When dividing the total area of the two grids, merge the partition with the adjacent partition. Traverse all partitions until the area of all partitions is greater than 1/4 of the area of the divided grid.
  • multiple partitions are merged to obtain job sub-blocks, including: traversing all partitions, if there are two or more adjacent partitions and partitions that meet the merge condition, then combine the partition with the smallest adjacent area and the partition To merge.
  • automatic partition merging can be performed according to a preset strategy. For example, starting from the entire grid area in turn, searching according to the grid area (degree of completeness), when there are two or more adjacent partitions and partitions that meet the merge conditions, merge the adjacent partition with the smallest area and the partition . Traverse all partitions until all partitions do not meet the merge conditions.
  • the method further includes: determining whether there is an inflection point in the graph endpoint corresponding to the merged job sub-block; if there is an inflection point, cancel the merge.
  • no corners are allowed to appear at the endpoints of the combined graphics.
  • the merge is cancelled.
  • methods such as slope and derivation can be used to calculate whether each of the merged endpoints is an inflection point.
  • generating flight routes on the multiple operation sub-blocks respectively includes: determining the target task of each operation sub-block; according to the target task, separate the multiple operation sub-blocks Generate flight routes.
  • the target task includes at least one of the following: flight mode, gimbal parameters, camera parameters, and flight altitude.
  • independent camera parameter setting route planning can be performed inside it to generate a set route. How to generate the flight route according to the target mission can refer to the description of the related technology, which will not be repeated here.
  • setting the target task you can set it as a whole, or set each sub-block individually. For example, for the whole, you can set whether to use the ground-like flight function, or when the user does not need to perform the ground-like flight function for the entire area, you can set whether to perform the ground-like flight function for a single area.
  • the drones in each operation sub-block can perform the same or different target tasks, which is not limited here.
  • the method further includes: numbering the job sub-blocks, and determining a flag bit corresponding to the number of the job sub-block.
  • the job sub-blocks can be numbered sequentially, from 1 to N.
  • Fig. 7 is a schematic diagram of the numbered operation sub-block provided by an embodiment of the application. As shown in Fig. 7, the operation sub-block is numbered, and the number of the operation sub-block can be added to the aerial survey data sent by the drone, which is convenient management. It is also possible to set a flag bit for the job sub-block support to mark whether the job of this block has been operated. In addition, the job progress and breakpoint resume function are added. If the execution is not completed at a time, the breakpoint resume flight can be executed.
  • it further includes: receiving aerial survey data sent by the drone, the aerial survey data including the number of the operation sub-block; and setting a flag bit corresponding to the number of the operation sub-block.
  • setting the flag bit corresponding to the number of the operation sub-block includes: determining whether the aerial survey data is successfully received; if the aerial survey data is successfully received, setting the flag bit corresponding to the number of the operation sub-block.
  • it also includes: reading the flag bit corresponding to each job sub-block; if there is an unset flag bit, sending an instruction to the drone corresponding to the job sub-block, and the instruction is used to control the drone to execute the
  • the set flag bit corresponds to the aerial survey task of the operation sub-block; the flag bit corresponding to the next operation sub-block is obtained until the flag bits corresponding to all the operation sub-blocks are set.
  • controlling the drone to perform an aerial survey task for the operation sub-block corresponding to the unset flag bit includes: determining whether the operation sub-block corresponding to the unset flag bit has an operation record of the drone; Including: the last UAV flight end position and/or remaining flight path.
  • determine whether there is an operation record of the drone in the operation sub-block corresponding to the unset flag including: if there is an operation record of the drone, the last flight end position of the drone is the starting point, execute The aerial survey task of the remaining flight route; if there is no operation record of the drone, the aerial survey task will be executed according to the flight route of the operation sub-block.
  • the aerial survey data of the drone after receiving the aerial survey data of the drone, it can be determined whether the aerial survey data is successfully received; if the aerial survey data is received successfully, the flag bit corresponding to the number of the operation sub-block is set. If there is an unset flag bit, send an instruction to the drone corresponding to the operation sub-block to control the drone to perform aerial survey tasks for the operation sub-block corresponding to the unset flag bit. If there is a UAV operation record in the unset operation sub-block, the last UAV flight end position is the starting point, and the aerial survey task of the remaining flight route is performed; if there is no UAV operation record, follow the operation The flight path of the sub-block performs aerial survey tasks. In this way, it realizes the monitoring of the work progress, and realizes functions such as resuming the flight at a breakpoint, improving work efficiency and optimizing user experience.
  • Fig. 8 is a flowchart of a method for generating a flight route according to another embodiment of the application. As shown in Fig. 8, the method of this embodiment can be applied to a drone, and the method of this embodiment can include:
  • Fig. 3 is a schematic diagram of the operation area provided by an embodiment of the application.
  • the area shown in Fig. 3 is a large-scale aerial survey area, which needs to be divided to generate the flight route of the UAV.
  • obtaining the operation area includes: obtaining a target flight task file, where the target flight task file includes location information of the target waypoint; and determining the operation area formed by the target waypoint according to the location information of the target waypoint.
  • the target flight mission file includes the location information of the target waypoints, and the operation area formed by the target waypoints can be determined based on the location information of the target waypoints. Therefore, the drone can obtain the operating area from the target flight mission file.
  • the drone can obtain target flight mission files such as KML files from the control terminal.
  • acquiring the operation area includes: selecting the position information of multiple target waypoints on the flight trajectory of the drone; and determining the operation area formed by the target waypoints according to the position information of the target waypoints.
  • the work area can also be obtained according to a user's manual operation. For example, by directly hitting the drone, the position information of multiple target waypoints is selected on the flight trajectory of the drone, and these target waypoints constitute the operating area.
  • the parameters such as the model and flight height of the drone have a greater impact on the endurance and flight range of the drone. Therefore, the segmentation grid parameters can be determined according to the model parameters of the drone, etc., or the segmentation grid parameters can be manually set by the user.
  • the parameter information of the divided grid includes: the type of the divided grid and/or the area of the divided grid.
  • the flying range of a drone refers to the range of a single flight of the drone. Of course, the flying range of the drone can also be set independently by the user as needed. For example, when the user expects the flying range of the drone to be a certain range, the segmentation grid parameters can be manually set as needed, which is not limited here.
  • acquiring the parameter information of the segmentation grid includes: receiving the parameter information of the segmentation grid input by the user.
  • the parameter information of the segmentation grid input by the user may be received.
  • the grid area of the user input (such as 0.5km 2 ) is used to generate a grid of the corresponding length.
  • the default planned segmentation shape is square, and the square is directly assigned to the area entered by the user. That is, if the user sets the area to be 0.5km 2 , the side length of the divided square is 0.707km.
  • the user may also need other grid types, such as rectangle, triangle, circle and so on.
  • the user can also determine the area of the divided grid by setting the side length and radius. For example, select the grid type as rectangle, set the side lengths to 1km and 0.5km respectively, and the area of the divided grid to be 0.5km 2 .
  • obtaining the parameter information of the segmentation grid includes: determining the parameter information of the segmentation grid according to the parameters of the drone.
  • parameters such as the model and flight height of the drone have a greater impact on the endurance and flight range of the drone. Therefore, the parameters of the segmentation grid can be automatically determined according to the parameters of the drone.
  • determining the parameter information of the segmented grid according to the parameters of the drone including: determining the endurance time and/or route distance of the drone according to the model of the drone and the flying height of the drone; Endurance time and/or route distance determine the range of a single operation of the UAV; determine the parameter information of the split grid according to the range of a single operation of the UAV.
  • the relative altitude of the flight relative to the ground can be set in the route planning App and the ground station software, and this altitude can be regarded as the altitude that the aircraft needs to ascend.
  • the flight control module calculates the length of the route that the aircraft can fly in one sortie according to the aircraft model and battery type, as well as the set relative height to the ground (that is, the height that the aircraft needs to rise in the sub-zone). After planning the length of a single flight route, it can be planned according to the square route, and the area involved in the planned square route is regarded as the sub-block area.
  • the power consumption of the drone during the ascent and descent process, or the round-trip from the starting point to the operation area can be appropriately increased. Calculation of power consumption, etc., to obtain a more accurate route length that can be flown in one sortie, which will not be repeated here.
  • acquiring the parameter information of the segmented grid further includes: displaying the segmented grid in a preset line type on the background map according to the parameter information; wherein the projection range of the segmented grid on the background map covers the work area.
  • the segmented grid may also be displayed in a preset line type on the background map.
  • Fig. 4 is a schematic diagram of a grid segmentation provided by an embodiment of the application. As shown in Fig. 4, the screen is a grid according to the size of the planned work sub-area, and the grid is represented by a dotted line and covers the entire work area. However, the split grid only realizes the preliminary division of the work area, and the split grid does not fit well with the boundary line of the work area. The split grid will be adjusted later.
  • S803 Divide the work area into multiple work sub-blocks according to the parameter information of the split grid.
  • the division grid realizes the preliminary division of the operation area, but the division grid does not fit well with the boundary line of the operation area, which will affect the division of the operation sub-blocks and thus the flight path of the drone Efficiency of planning. Therefore, before dividing the work area into multiple work sub-blocks according to the parameter information of the split grid, it also includes: adjusting the position of the split grid on the background map. Adjusting the position of the split grid on the background map can be manually adjusted through a control command input by the user, or automatically adjusted according to a preset strategy.
  • Figure 5 is a schematic diagram of an adjusted segmented grid provided by an embodiment of the application. As shown in Figure 5, the lower interface and right boundary of the working area coincide with the boundary of the segmented grid, so that the grid shape and distribution can be maximized The limit fits the target operation area.
  • adjusting the position of the segmented grid on the background map includes: receiving a second instruction input by the control terminal; according to the second instruction, controlling the segmented grid to perform any one or more of the following operations: move left; right Move; move up; move down; rotate the preset angle clockwise; rotate the preset angle counterclockwise.
  • the division grid is moved, rotated and other operations are performed through instructions input by the user to adjust the position of the division grid on the background map, so that the boundary line of the division grid coincides with the work area, so that the grid The shape and distribution can fit the target work area as much as possible.
  • adjusting the position of the segmented grid on the background map includes: adjusting the position of the segmented grid on the background map according to a preset strategy; wherein, the preset strategy refers to the minimum number of grids occupied by the work area .
  • the position of the division grid can be automatically adjusted according to a preset strategy, so that the number of grids occupied by the work area is the smallest, so that the work sub-blocks can be more conveniently and quickly delineated.
  • dividing the work area into multiple work sub-blocks according to the parameter information of the split grid includes: dividing the work area into multiple partitions according to the parameter information of the split grid; and merging the multiple partitions, Get the job sub-block.
  • the work area can be divided into multiple partitions according to the parameter information of the division grid to obtain a preliminary division result. Then, the adjacent partitions can be merged or unmerged, etc., and finally the job sub-block is obtained.
  • the merging of adjacent partitions may be performed according to instructions input by the user, or may be merged according to a preset merging strategy.
  • Fig. 6 is a schematic diagram of the job sub-blocks provided by an embodiment of the application. As shown in Fig. 6, after obtaining multiple partitions according to the division grid, some adjacent partitions are merged, and finally 6 job sub-blocks are obtained. A solid line is used to distinguish the boundaries between the job sub-blocks.
  • merging multiple partitions to obtain a job sub-block includes: receiving a third instruction input by the user; determining the grid to be merged according to the third instruction; and merging the partitions in the grid to be merged into A job sub-block.
  • the method further includes: receiving a fourth instruction input by the user; and canceling the merge of the partitions according to the fourth instruction.
  • the user can choose to merge or undo the merge.
  • the division can be merged according to the operation instruction input by the user, or the division can be cancelled after the division is merged. In this way, the flexibility of the division can be increased.
  • merging multiple partitions to obtain job sub-blocks includes: traversing all the partitions, and if the area occupied by the partition is smaller than the area of the split grid, then merge the partition and other adjacent partitions into one job sub-block ; Until the area of all partitions is greater than 1/2 of the area of the divided grid.
  • automatic partition merging can be performed according to a preset strategy. For example, starting from the entire grid area and searching according to the grid area (degree of completeness), when the area occupied by the partition is smaller than the area of the divided grid, the partition and other adjacent partitions are merged into one job sub-block. Traverse all partitions until the area of all partitions is greater than 1/2 of the area of the division grid.
  • merging multiple partitions to obtain job sub-blocks includes: traversing all partitions, if the area occupied by the partition is less than 1/4 of the area of the division grid, and the total area after the partition is merged with the adjacent partition When the area is less than the total area of the two division grids, merge the partition with the adjacent partition.
  • automatic partition merging can be performed according to a preset strategy. For example, starting from the entire grid area and searching according to the grid area (degree of completeness), when the area occupied by the partition is less than 1/4 of the area of the divided grid, and the total area after the partition and the adjacent partition are merged is less than When dividing the total area of the two grids, merge the partition with the adjacent partition. Traverse all partitions until the area of all partitions is greater than 1/4 of the area of the divided grid.
  • multiple partitions are merged to obtain job sub-blocks, including: traversing all partitions, if there are two or more adjacent partitions and partitions that meet the merge condition, then combine the partition with the smallest adjacent area and the partition To merge.
  • automatic partition merging can be performed according to a preset strategy. For example, starting from the entire grid area in turn, searching according to the grid area (degree of completeness), when there are two or more adjacent partitions and partitions that meet the merge conditions, merge the adjacent partition with the smallest area and the partition . Traverse all partitions until all partitions do not meet the merge conditions.
  • the method further includes: determining whether there is an inflection point in the graph endpoint corresponding to the merged job sub-block; if there is an inflection point, cancel the merge.
  • no corners are allowed to appear at the endpoints of the combined graphics.
  • the merge is cancelled.
  • methods such as slope and derivation can be used to calculate whether each of the merged endpoints is an inflection point.
  • generating flight routes on the multiple operation sub-blocks respectively includes: determining the target task of each operation sub-block; according to the target task, separate the multiple operation sub-blocks Generate flight routes.
  • the target task includes at least one of the following: flight mode, gimbal parameters, camera parameters, and flight altitude.
  • independent camera parameter setting route planning can be performed inside it to generate a set route. How to generate the flight route according to the target mission can refer to the description of the related technology, which will not be repeated here.
  • setting the target task you can set it as a whole, or set each sub-block individually. For example, for the whole, you can set whether to use the ground-like flight function, or when the user does not need to perform the ground-like flight function for the entire area, you can set whether to perform the ground-like flight function for a single area.
  • the drones in each operation sub-block can perform the same or different target tasks, which is not limited here.
  • the method further includes: numbering the job sub-blocks, and determining a flag bit corresponding to the number of the job sub-block.
  • the job sub-blocks can be numbered sequentially, from 1 to N.
  • Fig. 7 is a schematic diagram of the numbered operation sub-block provided by an embodiment of the application. As shown in Fig. 7, the operation sub-block is numbered, and the number of the operation sub-block can be added to the aerial survey data sent by the drone, which is convenient management. It is also possible to set a flag bit for the job sub-block support to mark whether the job of this block has been operated. In addition, the job progress and breakpoint resume function are added. If the execution is not completed at a time, the breakpoint resume flight can be executed.
  • it further includes: receiving aerial survey data sent by the drone, the aerial survey data including the number of the operation sub-block; and setting a flag bit corresponding to the number of the operation sub-block.
  • setting the flag bit corresponding to the number of the operation sub-block includes: determining whether the aerial survey data is successfully received; if the aerial survey data is successfully received, setting the flag bit corresponding to the number of the operation sub-block.
  • it also includes: reading the flag bit corresponding to each job sub-block; if there is an unset flag bit, sending an instruction to the drone corresponding to the job sub-block, and the instruction is used to control the drone to execute the
  • the set flag bit corresponds to the aerial survey task of the operation sub-block; the flag bit corresponding to the next operation sub-block is obtained until the flag bits corresponding to all the operation sub-blocks are set.
  • controlling the drone to perform an aerial survey task for the operation sub-block corresponding to the unset flag bit includes: determining whether the operation sub-block corresponding to the unset flag bit has an operation record of the drone; Including: the last UAV flight end position and/or remaining flight path.
  • determine whether there is an operation record of the drone in the operation sub-block corresponding to the unset flag including: if there is an operation record of the drone, the last flight end position of the drone is the starting point, execute The aerial survey task of the remaining flight route; if there is no operation record of the drone, the aerial survey task will be executed according to the flight route of the operation sub-block.
  • the aerial survey data of the drone after receiving the aerial survey data of the drone, it can be determined whether the aerial survey data is successfully received; if the aerial survey data is received successfully, the flag bit corresponding to the number of the operation sub-block is set. If there is an unset flag bit, send an instruction to the drone corresponding to the operation sub-block to control the drone to perform aerial survey tasks for the operation sub-block corresponding to the unset flag bit. If there is a UAV operation record in the unset operation sub-block, the last UAV flight end position is the starting point, and the aerial survey task of the remaining flight route is performed; if there is no UAV operation record, follow the operation The flight path of the sub-block performs aerial survey tasks. In this way, it realizes the monitoring of the work progress, and realizes functions such as resuming the flight at a breakpoint, improving work efficiency and optimizing user experience.
  • FIG. 9 is a schematic structural diagram of a control terminal provided by an embodiment of this application.
  • the control terminal 90 of this embodiment may include a processor 91 and a memory 92.
  • the memory 92 is used to store programs; the memory 92 may include volatile memory (English: volatile memory), such as random-access memory (English: random-access memory, abbreviation: RAM), such as static random-access memory (English: volatile memory) : Static random-access memory, abbreviation: SRAM), double data rate synchronous dynamic random access memory (English: Double Data Rate Synchronous Dynamic Access Memory, abbreviation: DDR SDRAM), etc.; memory can also include non-volatile memory (English: non-volatile memory), such as flash memory (English: flash memory).
  • the memory 92 is used to store computer programs (such as application programs and functional modules that implement the above methods), computer instructions, etc., and the above computer programs, computer instructions, etc. may be partitioned and stored in one or more memories 92.
  • the aforementioned computer programs, computer instructions, data, etc. can be called by the processor 91.
  • the aforementioned computer programs, computer instructions, etc. may be partitioned and stored in one or more memories 92.
  • the aforementioned computer programs, computer instructions, data, etc. can be called by the processor 91.
  • the processor 91 is configured to execute a computer program stored in the memory 92 to implement each step in the method involved in the foregoing embodiment.
  • the processor 91 and the memory 92 may be independent structures, or may be an integrated structure integrated together. When the processor 91 and the memory 92 are independent structures, the memory 92 and the processor 91 may be coupled and connected through the bus 93.
  • the control terminal 90 of this embodiment can execute the technical solution in the method shown in FIG. 2, and for the specific implementation process and technical principle, please refer to the related description in the method shown in FIG. 2, which will not be repeated here.
  • FIG. 10 is a schematic structural diagram of an unmanned aerial vehicle provided by an embodiment of the application.
  • the unmanned aerial vehicle 1000 of this embodiment may include a processor 1001 and a memory 1002.
  • the memory 1002 is used to store programs; the memory 1002 may include volatile memory (English: volatile memory), such as random access memory (English: random-access memory, abbreviation: RAM), such as static random access memory (English: volatile memory) : Static random-access memory, abbreviation: SRAM), double data rate synchronous dynamic random access memory (English: Double Data Rate Synchronous Dynamic Access Memory, abbreviation: DDR SDRAM), etc.; memory can also include non-volatile memory (English: non-volatile memory), such as flash memory (English: flash memory).
  • the memory 1002 is used to store computer programs (such as application programs and functional modules that implement the above methods), computer instructions, etc., and the above computer programs, computer instructions, etc. may be partitioned and stored in one or more memories 1002.
  • the aforementioned computer programs, computer instructions, data, etc. can be called by the processor 1001.
  • the aforementioned computer programs, computer instructions, etc. may be partitioned and stored in one or more memories 1002.
  • the aforementioned computer programs, computer instructions, data, etc. can be called by the processor 1001.
  • the processor 1001 is configured to execute a computer program stored in the memory 1002 to implement each step in the method involved in the foregoing embodiment.
  • the processor 1001 and the memory 1002 may be independent structures, or may be an integrated structure integrated together. When the processor 1001 and the memory 1002 are independent structures, the memory 1002 and the processor 1001 may be coupled and connected through the bus 1003.
  • the drone 1000 of this embodiment can execute the technical solution in the method shown in FIG. 8.
  • the specific implementation process and technical principle please refer to the related description in the method shown in FIG. 8, which will not be repeated here.
  • the embodiments of the present application also provide a computer-readable storage medium.
  • the computer-readable storage medium stores computer-executable instructions.
  • the user equipment executes the aforementioned various possibilities. Methods.
  • the computer-readable medium includes a computer storage medium and a communication medium
  • the communication medium includes any medium that facilitates the transfer of a computer program from one place to another.
  • the storage medium may be any available medium that can be accessed by a general-purpose or special-purpose computer.
  • An exemplary storage medium is coupled to the processor, so that the processor can read information from the storage medium and can write information to the storage medium.
  • the storage medium may also be an integral part of the processor.
  • the processor and the storage medium may be located in the ASIC.
  • the ASIC may be located in the user equipment.
  • the processor and the storage medium may also exist as discrete components in the communication device.
  • the program product includes a computer program.
  • the computer program is stored in a readable storage medium.
  • At least one processor of the server can read the computer program from the readable storage medium.
  • At least one processor executes the computer program so that The server implements any of the methods in the foregoing embodiments of the present invention.
  • a person of ordinary skill in the art can understand that all or part of the steps in the above method embodiments can be implemented by a program instructing relevant hardware.
  • the foregoing program can be stored in a computer readable storage medium. When the program is executed, it is executed. Including the steps of the foregoing method embodiment; and the foregoing storage medium includes: read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disks or optical disks, etc., which can store program codes Medium.

Landscapes

  • Engineering & Computer Science (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Navigation (AREA)
  • Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)

Abstract

Disclosed are a flight route generation method, a terminal, and an unmanned aerial vehicle. The method comprises: obtaining an operation area (S201); obtaining parameter information of a segmented grid (S202), wherein the parameter information is related to the flight range of an unmanned aerial vehicle; dividing the operation area into a plurality of operation sub-blocks on the basis of the parameter information of the segmented grid (S203); and generating flight routes on the plurality of operation sub-blocks, respectively (S204). The method can flexibly divide the operation area such that each divided operation sub-block can be adaptive as much as possible to the flight route distance of the unmanned aerial vehicle, thereby making the division of the operation area more reasonable and effectively improving the work efficiency of aerial surveys .

Description

飞行航线生成方法、终端和无人机Flight route generation method, terminal and drone 技术领域Technical field

本申请实施例涉及飞行控制技术领域,尤其涉及一种飞行航线生成方法、终端和无人机。The embodiments of the present application relate to the technical field of flight control, and in particular to a method for generating a flight route, a terminal, and a drone.

背景技术Background technique

随着无人机技术和测量技术的发展,无人机航测作为传统航空摄影测量手段的有力补充,被广泛地应用。目前,在用户对较大航测区域进行航测之前,通常需要对航测区域进行分割,即将一个大任务分割为若干个子区域和子任务,从而能够更好地对大面积任务进行分割与管理。With the development of UAV technology and measurement technology, UAV aerial survey, as a powerful supplement to traditional aerial photogrammetry methods, is widely used. At present, before users conduct aerial surveys on a larger aerial survey area, they usually need to segment the aerial survey area, that is, divide a large task into several sub-regions and sub-tasks, so as to better segment and manage large-area tasks.

然而,目前的方案一般是简单地将大航测区域分为多个小区域,划分方式不灵活,经常会出现航测区划分不合理的情况,而且目前的方案也无法根据飞机的类型进行最佳适配,使得无人机适配于该航测区域,从而使得航测的工作效率低下,用户体验差。However, the current plan generally simply divides the large aerial survey area into multiple small areas, and the division method is not flexible. There are often unreasonable divisions of aerial survey areas, and the current plan cannot be optimally adapted according to the type of aircraft. This makes the drone fit in the aerial survey area, resulting in low aerial survey work efficiency and poor user experience.

发明内容Summary of the invention

本申请实施例提供一种飞行航线生成方法、终端和无人机,能够灵活地对作业区域进行划分,尽可能地使每个划分的作业子块与无人机的航线距离相适配,从而使得作业区域的划分更加合理,有效地提高了航测的工作效率。The embodiments of the present application provide a method for generating a flight route, a terminal, and a drone, which can flexibly divide the operation area, and adapt each divided operation sub-block to the route distance of the drone as much as possible, thereby This makes the division of the operation area more reasonable and effectively improves the work efficiency of aerial surveys.

第一方面,本申请实施例提供一种飞行航线生成方法,应用于控制终端,所述控制终端用于控制至少一个无人机,所述方法包括:In a first aspect, an embodiment of the present application provides a method for generating a flight route, which is applied to a control terminal, where the control terminal is used to control at least one drone, and the method includes:

获取作业区域;Get the work area;

获取分割网格的参数信息,其中,所述参数信息与所述无人机的飞行范围相关;Acquiring parameter information of the segmented grid, where the parameter information is related to the flight range of the drone;

根据所述分割网格的参数信息,将所述作业区域划分为多个作业子块;Dividing the work area into multiple work sub-blocks according to the parameter information of the split grid;

在多个所述作业子块上分别生成飞行航线。A flight route is generated on a plurality of the operation sub-blocks respectively.

第二方面,本申请实施例提供一种飞行航线生成方法,应用于无人机,包括:In the second aspect, the embodiments of the present application provide a method for generating flight routes, which is applied to drones, including:

获取作业区域;Get the work area;

获取分割网格的参数信息,其中,所述参数信息与所述无人机的飞行范围相关;Acquiring parameter information of the segmented grid, where the parameter information is related to the flight range of the drone;

根据所述分割网格的参数信息,将所述作业区域划分为多个作业子块;Dividing the work area into multiple work sub-blocks according to the parameter information of the split grid;

在多个所述作业子块上分别生成飞行航线。A flight route is generated on a plurality of the operation sub-blocks respectively.

第三方面,本申请实施例提供一种控制终端,包括:处理器,以及与所述处理连接的存储装置,所述存储装置用于存储运行指令,当处理器执行运行指令时,所述处理器用于执行如第一方面任一项所述的飞行航线生成方法。In a third aspect, an embodiment of the present application provides a control terminal, including: a processor, and a storage device connected to the processing. The storage device is used to store operation instructions. When the processor executes the operation instructions, the processing The device is used to execute the flight route generation method according to any one of the first aspect.

第四方面,本申请实施例提供一种无人机,包括:处理器,以及与所述处理连接的存储装置,所述存储装置用于存储运行指令,当处理器执行运行指令时,所述处理器用于执行如第一方面任一项所述的飞行航线生成方法。In a fourth aspect, an embodiment of the present application provides an unmanned aerial vehicle, including a processor, and a storage device connected to the processing, the storage device is used to store operation instructions, and when the processor executes the operation instructions, the The processor is used to execute the flight route generation method according to any one of the first aspect.

第五方面,本申请实施例提供一种可读存储介质,所述可读存储介质上存储有计算机程序;所述计算机程序在被执行时,实现如第一方面或第二方面本申请实施例所述的飞行航线生成方法。In a fifth aspect, an embodiment of the present application provides a readable storage medium with a computer program stored on the readable storage medium; when the computer program is executed, the embodiment of the present application is implemented as in the first aspect or the second aspect. The method for generating the flight route.

第六方面,本申请实施例提供一种程序产品,所述程序产品包括计算机程序,所述计算机程序存储在可读存储介质中,无人机的至少一个处理器可以从所述可读存储介质读取所述计算机程序,所述至少一个处理器执行所述计算机程序使得无人机实施如第一方面或第二方面本申请实施例所述的飞行航线生成方法。In a sixth aspect, an embodiment of the present application provides a program product, the program product includes a computer program, the computer program is stored in a readable storage medium, and at least one processor of the drone can download it from the readable storage medium The computer program is read, and the at least one processor executes the computer program to enable the drone to implement the flight route generation method according to the embodiment of the present application in the first aspect or the second aspect.

本申请实施例提供的飞行航线生成方法、终端和无人机,通过获取作业区域,获取分割网格的参数信息,其中,所述参数信息与所述无人机的飞行范围相关,根据所述分割网格的参数信息,将所述作业区域划分为多个作业子块,并在多个所述作业子块上分别生成飞行航线,从而能够灵活地对作业区域进行划分,尽可能地使每个划分的作业子块与无人机的诸如航线距离、飞行时间等相适配,从而使得作业区域的划分更加合理,有效地提高了航测的工作效率。The flight route generation method, terminal, and drone provided by the embodiments of the present application obtain the parameter information of the segmented grid by obtaining the operation area, wherein the parameter information is related to the flight range of the drone, and according to the The parameter information of the grid is divided, the operation area is divided into multiple operation sub-blocks, and flight routes are generated on the multiple operation sub-blocks, so that the operation area can be flexibly divided, and each operation area can be divided as much as possible. Each divided operation sub-block is adapted to the UAV's such as route distance and flight time, so that the division of the operation area is more reasonable, and the work efficiency of aerial survey is effectively improved.

附图说明Description of the drawings

为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下 面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly describe the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work.

图1为根据本申请的实施例的无人飞行系统的示意性架构图;Fig. 1 is a schematic architecture diagram of an unmanned aerial system according to an embodiment of the present application;

图2为本申请一实施例提供的飞行航线生成方法的流程图;2 is a flowchart of a method for generating a flight route provided by an embodiment of the application;

图3为本申请一实施例提供的作业区域的示意图;Figure 3 is a schematic diagram of a work area provided by an embodiment of the application;

图4为本申请一实施例提供的分割网格的示意图;FIG. 4 is a schematic diagram of a segmentation grid provided by an embodiment of the application;

图5为本申请一实施例提供的调整后的分割网格的示意图;FIG. 5 is a schematic diagram of an adjusted segmentation grid provided by an embodiment of the application;

图6为本申请一实施例提供的作业子块的示意图;FIG. 6 is a schematic diagram of an operation sub-block provided by an embodiment of this application;

图7为本申请一实施例提供的编号后的作业子块的示意图;FIG. 7 is a schematic diagram of numbered operation sub-blocks provided by an embodiment of the application;

图8为本申请另一实施例提供的飞行航线生成方法的流程图;FIG. 8 is a flowchart of a method for generating a flight route according to another embodiment of the application;

图9为本申请一实施例提供的控制终端的结构示意图;FIG. 9 is a schematic structural diagram of a control terminal provided by an embodiment of this application;

图10为本申请一实施例提供的无人机的结构示意图。FIG. 10 is a schematic structural diagram of a drone provided by an embodiment of the application.

具体实施方式Detailed ways

为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of this application.

需要说明的是,当组件被称为“固定于”另一个组件,它可以直接在另一个组件上或者也可以存在居中的组件。当一个组件被认为是“连接”另一个组件,它可以是直接连接到另一个组件或者可能同时存在居中组件。It should be noted that when a component is said to be "fixed to" another component, it can be directly on the other component or a central component may also exist. When a component is considered to be "connected" to another component, it can be directly connected to another component or there may be a centered component at the same time.

除非另有定义,本文所使用的所有的技术和科学术语与属于本申请的技术领域的技术人员通常理解的含义相同。本文中在本申请的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本申请。本文所使用的术语“及/或”包括一个或多个相关的所列项目的任意的和所有的组合。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the technical field of this application. The terms used in the description of the application herein are only for the purpose of describing specific embodiments, and are not intended to limit the application. The term "and/or" as used herein includes any and all combinations of one or more related listed items.

下面结合附图,对本申请的一些实施方式作详细说明。在不冲突的情况下,下述的实施例及实施例中的特征可以相互组合。Hereinafter, some embodiments of the present application will be described in detail with reference to the accompanying drawings. In the case of no conflict, the following embodiments and features in the embodiments can be combined with each other.

本申请的实施例提供了飞行航线生成方法、终端和无人机。以下对本申请的描述使用无人机作为示例。对于本领域技术人员将会显而易见的是,可 以不受限制地使用其他类型的无人机,本申请的实施例可以应用于各种类型的无人机。例如,无人机可以是小型或大型的无人机。在某些实施例中,无人机可以是旋翼无人机(rotorcraft),例如,由多个推动装置通过空气推动的多旋翼无人机,本申请的实施例并不限于此,无人机也可以是其它类型的无人机,例如固定翼无人机,或旋翼无人机与固定翼无人机的组合。The embodiments of the present application provide a method for generating a flight route, a terminal, and a drone. The following description of this application uses drones as an example. It will be obvious to those skilled in the art that other types of drones can be used without restriction, and the embodiments of the present application can be applied to various types of drones. For example, the drone can be a small or large drone. In some embodiments, the drone may be a rotorcraft, for example, a multi-rotor drone that is propelled through the air by multiple propulsion devices. The embodiments of the present application are not limited to this. It can also be other types of drones, such as fixed-wing drones, or a combination of rotary-wing drones and fixed-wing drones.

图1是根据本申请的实施例的无人飞行系统的示意性架构图。本实施例以旋翼无人机为例进行说明。Fig. 1 is a schematic architecture diagram of an unmanned aerial system according to an embodiment of the present application. In this embodiment, a rotary wing drone is taken as an example for description.

无人飞行系统100可以包括无人机110、显示设备130和控制终端140。其中,无人机110可以包括动力系统150、飞行控制系统160、机架和承载在机架上的云台120。无人机110可以与控制终端140和显示设备130进行无线通信。可以理解,在一种实施方式中,显示设备130可以设置在控制终端140上,也就是说,控制终端140设置有显示设备130,在此不做限定。The unmanned flying system 100 may include a drone 110, a display device 130, and a control terminal 140. Among them, the UAV 110 may include a power system 150, a flight control system 160, a frame, and a pan/tilt 120 carried on the frame. The drone 110 can wirelessly communicate with the control terminal 140 and the display device 130. It can be understood that, in an embodiment, the display device 130 may be provided on the control terminal 140, that is, the control terminal 140 is provided with the display device 130, which is not limited herein.

机架可以包括机身和脚架(也称为起落架)。机身可以包括中心架以及与中心架连接的一个或多个机臂,一个或多个机臂呈辐射状从中心架延伸出。脚架与机身连接,用于在无人机110着陆时起支撑作用。The frame may include a fuselage and a tripod (also called a landing gear). The fuselage may include a center frame and one or more arms connected to the center frame, and the one or more arms extend radially from the center frame. The tripod is connected with the fuselage, and is used for supporting the UAV 110 when landing.

动力系统150可以包括一个或多个电子调速器(简称为电调)151、一个或多个螺旋桨153以及与一个或多个螺旋桨153相对应的一个或多个电机152,其中电机152连接在电子调速器151与螺旋桨153之间,电机152和螺旋桨153设置在无人机110的机臂上;电子调速器151用于接收飞行控制系统160产生的驱动信号,并根据驱动信号提供驱动电流给电机152,以控制电机152的转速。电机152用于驱动螺旋桨旋转,从而为无人机110的飞行提供动力,该动力使得无人机110能够实现一个或多个自由度的运动。在某些实施例中,无人机110可以围绕一个或多个旋转轴旋转。例如,上述旋转轴可以包括横滚轴(Roll)、偏航轴(Yaw)和俯仰轴(pitch)。应理解,电机152可以是直流电机,也可以交流电机。另外,电机152可以是无刷电机,也可以是有刷电机。The power system 150 may include one or more electronic speed regulators (referred to as ESCs) 151, one or more propellers 153, and one or more motors 152 corresponding to the one or more propellers 153, wherein the motors 152 are connected to Between the electronic governor 151 and the propeller 153, the motor 152 and the propeller 153 are arranged on the arm of the UAV 110; the electronic governor 151 is used to receive the driving signal generated by the flight control system 160 and provide driving according to the driving signal Current is supplied to the motor 152 to control the speed of the motor 152. The motor 152 is used to drive the propeller to rotate, thereby providing power for the flight of the drone 110, and the power enables the drone 110 to realize one or more degrees of freedom of movement. In some embodiments, the drone 110 may rotate about one or more rotation axes. For example, the aforementioned rotation axis may include a roll axis (Roll), a yaw axis (Yaw), and a pitch axis (pitch). It should be understood that the motor 152 may be a DC motor or an AC motor. In addition, the motor 152 may be a brushless motor or a brushed motor.

飞行控制系统160可以包括飞行控制器161和传感系统162。传感系统162用于测量无人机的姿态信息,即无人机110在空间的位置信息和状态信息,例如,三维位置、三维角度、三维速度、三维加速度和三维角速度等。传感系统162例如可以包括陀螺仪、超声传感器、电子罗盘、惯性测量单元 (Inertial Measurement Unit,IMU)、视觉传感器、全球导航卫星系统和气压计等传感器中的至少一种。例如,全球导航卫星系统可以是全球定位系统(Global Positioning System,GPS)或者RTK(Real-time kinematic,实时动态)载波相位差分定位系统。飞行控制器161用于控制无人机110的飞行,例如,可以根据传感系统162测量的姿态信息控制无人机110的飞行。应理解,飞行控制器161可以按照预先编好的程序指令对无人机110进行控制,也可以通过响应来自控制终端140的一个或多个控制指令对无人机110进行控制。The flight control system 160 may include a flight controller 161 and a sensing system 162. The sensing system 162 is used to measure the attitude information of the drone, that is, the position information and state information of the drone 110 in space, such as three-dimensional position, three-dimensional angle, three-dimensional velocity, three-dimensional acceleration, and three-dimensional angular velocity. The sensing system 162 may include, for example, at least one of sensors such as a gyroscope, an ultrasonic sensor, an electronic compass, an inertial measurement unit (IMU), a vision sensor, a global navigation satellite system, and a barometer. For example, the global navigation satellite system may be a global positioning system (Global Positioning System, GPS) or an RTK (Real-time kinematic) carrier phase differential positioning system. The flight controller 161 is used to control the flight of the drone 110, for example, it can control the flight of the drone 110 according to the attitude information measured by the sensor system 162. It should be understood that the flight controller 161 can control the drone 110 according to pre-programmed program instructions, and can also control the drone 110 by responding to one or more control instructions from the control terminal 140.

云台120可以包括电机122。云台用于携带诸如拍摄装置、喷洒装置、播撒装置等负载123。例如在农业应用领域,负载可以为农药喷洒装置或者可以为播撒种子装置等,进一步地,负载可以包括容纳箱、导管、泵、喷头。其中,导管的一端可以伸入所述容纳箱中,导管的另一端与泵的吸入口连接,泵的排出口与喷头连接,如此通过使用泵可以通过导管将容纳箱中的待喷洒物从喷头喷出。飞行控制器161可以通过电机122控制云台120的运动。可选地,作为另一实施例,云台120还可以包括控制器,用于通过控制电机122来控制云台120的运动。应理解,云台120可以独立于无人机110,也可以为无人机110的一部分。应理解,电机122可以是直流电机,也可以是交流电机。另外,电机122可以是无刷电机,也可以是有刷电机。还应理解,云台可以位于无人机的顶部,也可以位于无人机的底部。The pan/tilt head 120 may include a motor 122. The pan/tilt is used to carry loads 123 such as shooting devices, spraying devices, and spreading devices. For example, in the field of agricultural applications, the load may be a pesticide spraying device or a seed sowing device, etc. Further, the load may include a containing box, a pipe, a pump, and a spray head. Wherein, one end of the pipe can be extended into the containing box, the other end of the pipe is connected with the suction port of the pump, and the discharge port of the pump is connected with the spray head, so that by using the pump, the object to be sprayed in the containing box can be removed from the spray head through the pipe Squirting. The flight controller 161 can control the movement of the pan-tilt 120 through the motor 122. Optionally, as another embodiment, the pan/tilt head 120 may further include a controller for controlling the movement of the pan/tilt head 120 by controlling the motor 122. It should be understood that the pan-tilt 120 may be independent of the drone 110 or a part of the drone 110. It should be understood that the motor 122 may be a DC motor or an AC motor. In addition, the motor 122 may be a brushless motor or a brushed motor. It should also be understood that the pan-tilt may be located on the top of the drone or on the bottom of the drone.

在一种实施方式中,负载123例如可以为拍摄装置,进一步地,拍摄装置例如可以是照相机或摄像机等用于捕获图像的设备,拍摄装置可以与飞行控制器通信,并在飞行控制器的控制下进行拍摄。本实施例的拍摄装置至少包括感光元件,该感光元件例如为互补金属氧化物半导体(Complementary Metal Oxide Semiconductor,CMOS)传感器或电荷耦合元件(Charge-coupled Device,CCD)传感器。可以理解,拍摄装置也可直接固定于无人机110上,从而云台120可以省略。In one embodiment, the load 123 may be, for example, a photographing device. Further, the photographing device may be a device for capturing images such as a camera or a video camera. The photographing device may communicate with the flight controller and be controlled by the flight controller. To shoot. The imaging device of this embodiment at least includes a photosensitive element, and the photosensitive element is, for example, a Complementary Metal Oxide Semiconductor (CMOS) sensor or a Charge-coupled Device (CCD) sensor. It can be understood that the camera can also be directly fixed on the drone 110, so the pan/tilt 120 can be omitted.

显示设备130位于无人飞行系统100的地面端,可以通过无线方式与无人机110进行通信,并且可以用于显示无人机110的姿态信息。另外,还可以在显示设备130上显示拍摄装置拍摄的图像。应理解,显示设备130可以是独立的设备,也可以集成在控制终端140中。The display device 130 is located at the ground end of the unmanned aerial system 100, can communicate with the drone 110 in a wireless manner, and can be used to display the attitude information of the drone 110. In addition, the image taken by the photographing device may also be displayed on the display device 130. It should be understood that the display device 130 may be an independent device or integrated in the control terminal 140.

控制终端140位于无人飞行系统100的地面端,可以通过无线方式与无人机110进行通信,用于对无人机110进行远程操纵。具体地,控制终端140可以是遥控器、手机、平板电脑、计算机、地面服务站等设备,控制终端可以通过蓝牙、蜂窝网络、无线网络等连接方式与无人机进行连接通信,在此不做限定。The control terminal 140 is located on the ground end of the unmanned aerial system 100, and can communicate with the drone 110 in a wireless manner for remote control of the drone 110. Specifically, the control terminal 140 can be a remote control, a mobile phone, a tablet, a computer, a ground service station, etc. The control terminal can connect and communicate with the drone through a connection method such as Bluetooth, cellular network, and wireless network. limited.

应理解,上述对于无人飞行系统各组成部分的命名仅是出于标识的目的,并不应理解为对本申请的实施例的限制。It should be understood that the aforementioned naming of the components of the unmanned aerial system is only for identification purposes, and should not be understood as a limitation to the embodiments of the present application.

图2为本申请一实施例提供的飞行航线生成方法的流程图,如图2所示,本实施例的方法可以应用于控制终端中,控制终端用于控制至少一个无人机,本实施例的方法可以包括:Fig. 2 is a flowchart of a method for generating a flight route according to an embodiment of the application. As shown in Fig. 2, the method of this embodiment can be applied to a control terminal, and the control terminal is used to control at least one drone. The methods can include:

S201、获取作业区域。S201. Obtain a work area.

本实施例中,在航测过程中,用户面临的往往是较大范围的航测区域,对于大航测区域,需要对航测区域进行分割,将一个大任务分割为若干个子区域和子任务,能够更好地对大面积任务进行分割与管理。因此,首先需要在背景地图上获取作业区域,作业区域的获得方式可以有多种,例如从诸如KML文件的目标飞行任务文件中获取作业区域,也可以通过在控制终端上用户手动圈地等形式设定作业区域。图3为本申请一实施例提供的作业区域的示意图,如图3所示的区域就是较大范围的航测区域,需要对其进行分割,并在分割后的区域内生成无人机的飞行航线。In this embodiment, during the aerial survey process, the user is often faced with a larger aerial survey area. For a large aerial survey area, the aerial survey area needs to be segmented. A large task is divided into several sub-regions and sub-tasks, which can better Divide and manage large-scale tasks. Therefore, it is first necessary to obtain the work area on the background map. There are many ways to obtain the work area. For example, the work area can be obtained from the target flight mission file such as KML files, or the user can manually enclose the area on the control terminal. Set the work area. Fig. 3 is a schematic diagram of the operation area provided by an embodiment of the application. The area shown in Fig. 3 is a large-scale aerial survey area, which needs to be divided, and the flight path of the drone is generated in the divided area .

可选地,在背景地图上获取作业区域,包括:获取目标飞行任务文件,其中,目标飞行任务文件包括目标航点的位置信息;以及根据目标航点的位置信息,确定由目标航点构成的作业区域。可选地,还可以在背景地图上显示作业区域。Optionally, obtaining the operation area on the background map includes: obtaining a target flight mission file, where the target flight mission file includes the location information of the target waypoint; and determining the target waypoint based on the location information of the target waypoint Operating area. Optionally, the work area can also be displayed on the background map.

在一些实施例中,目标飞行任务文件包括目标航点的位置信息,可以根据这些目标航点的位置信息,确定由目标航点构成的作业区域。因此,控制终端可以从目标飞行任务文件中获取作业区域,并最终在背景地图上显示作业区域。例如,目标飞行任务文件可以为Keyhole Markup Language(KML)文件,该KML文件包括目标航点的位置信息;在另一种实施方式中,KML文件还可以包括动作信息和/或参数信息,例如在作业区域无人机所要执行的动作或者参数等,在此不做限定。In some embodiments, the target flight mission file includes the location information of the target waypoints, and the operation area formed by the target waypoints can be determined based on the location information of the target waypoints. Therefore, the control terminal can obtain the operation area from the target flight mission file, and finally display the operation area on the background map. For example, the target flight mission file may be a Keyhole Markup Language (KML) file, which includes the location information of the target waypoint; in another embodiment, the KML file may also include action information and/or parameter information, such as The actions or parameters to be performed by the drone in the operating area are not limited here.

可选地,在背景地图上获取作业区域,包括:接收用户发送的第一指令;根据第一指令,确定背景地图上的作业区域;其中,第一指令包括:点击信号和/或滑动信号。Optionally, acquiring the work area on the background map includes: receiving a first instruction sent by the user; determining the work area on the background map according to the first instruction; wherein the first instruction includes: a click signal and/or a sliding signal.

在一些实施例中,还可以根据用户的手动操作获取作业区域。例如,用户在背景地图上,通过点击、滑动等操作方式设置目标航点,这些目标航点构成作业区域。用户也可以在背景地图上,通过点击、点击、滑动等操作方式设置作业区域的边界线,这些边界线构成作业区域。In some embodiments, the work area can also be obtained according to a user's manual operation. For example, the user sets target waypoints on the background map by clicking, sliding, etc., and these target waypoints constitute a work area. The user can also set the boundary lines of the operation area on the background map by clicking, clicking, sliding, etc., and these boundary lines constitute the operation area.

S202、获取分割网格的参数信息。其中,参数信息与无人机的飞行范围相关。S202: Acquire parameter information of the segmented grid. Among them, the parameter information is related to the flight range of the UAV.

本实施例中,无人机的型号、飞行高度等参数对无人机的续航时间、飞行范围都存在较大影响。因此,可以根据无人机的型号参数等确定分割网格参数,也可以由用户手动设置分割网格参数。其中,分割网格的参数信息包括:分割网格的类型和/或分割网格的面积。无人机的飞行范围是指无人机单次飞行的范围。当然,无人机的飞行范围也可以根据需要由用户自主设定。例如,当用户期望无人机的飞行范围为某一范围时,可以根据需要手动设置分割网格参数,在此不做限定。In this embodiment, the parameters such as the model and flight height of the drone have a greater impact on the endurance and flight range of the drone. Therefore, the segmentation grid parameters can be determined according to the model parameters of the drone, etc., or the segmentation grid parameters can be manually set by the user. Wherein, the parameter information of the divided grid includes: the type of the divided grid and/or the area of the divided grid. The flying range of a drone refers to the range of a single flight of the drone. Of course, the flying range of the drone can also be set independently by the user as needed. For example, when the user expects the flying range of the drone to be a certain range, the segmentation grid parameters can be manually set as needed, which is not limited here.

可选地,接收用户输入的分割网格的参数信息。Optionally, the parameter information of the divided grid input by the user is received.

在一些实施例中,可以接收用户输入的分割网格的参数信息。例如,当用户采用手动输入网格面积时,通过用户输入的网格面积(如0.5km 2)来生成相对应长度的网格,默认规划分割形状为正方形,直接对用户输入的面积开根号即可,如用户设定面积为0.5km 2,分割正方形边长为0.707km。需要说明的是,用户也可以需要其他的网格的类型,如矩形、三角形、圆形等等。用户也可以通过设置边长、半径等方式,确定分割网格面积。例如,选择网格类型为矩形,设定边长分别为1km和0.5km,分割网格面积为0.5km 2In some embodiments, the parameter information of the segmentation grid input by the user may be received. For example, when the user manually enters the grid area, the grid area of the user input (such as 0.5km 2 ) is used to generate a grid of the corresponding length. The default planned segmentation shape is square, and the square is directly assigned to the area entered by the user. That is, if the user sets the area to be 0.5km 2 , the side length of the divided square is 0.707km. It should be noted that the user may also need other grid types, such as rectangle, triangle, circle and so on. The user can also determine the area of the divided grid by setting the side length and radius. For example, select the grid type as rectangle, set the side lengths to 1km and 0.5km respectively, and the area of the divided grid to be 0.5km 2 .

可选地,根据无人机的参数,确定分割网格的参数信息。Optionally, the parameter information of the segmented grid is determined according to the parameters of the drone.

在一些实施例中,无人机的型号、飞行高度等参数对无人机的续航时间、飞行范围都存在较大影响。因此,可以根据无人机的参数,自动确定分割网格的参数。In some embodiments, parameters such as the model and flight height of the drone have a greater impact on the endurance and flight range of the drone. Therefore, the parameters of the segmentation grid can be automatically determined according to the parameters of the drone.

可选地,根据无人机的参数,确定分割网格的参数信息,包括:根据无人机的机型和无人机的飞行高度,确定无人机的续航时间和/或航线距离;根 据续航时间和/或航线距离,确定无人机的单次作业的范围;根据无人机的单次作业的范围,确定分割网格的参数信息。Optionally, determining the parameter information of the segmented grid according to the parameters of the drone, including: determining the endurance time and/or route distance of the drone according to the model of the drone and the flying height of the drone; Endurance time and/or route distance determine the range of a single operation of the UAV; determine the parameter information of the split grid according to the range of a single operation of the UAV.

在一些实施例中,可以在航线规划App、地面站软件中设定飞行相对地面的相对高度,可以认为此高度即为飞机需要上升的高度。飞控模块根据飞机机型和电池类型,以及设定的对地相对高度(即飞机在子区内需要上升的高度),从而计算出飞机在一个架次内能够飞行的航线长度。规划出单架次航线长度后可以按照正方形航线规划,将规划相关的正方形航线涉及区域作为子块面积。In some embodiments, the relative altitude of the flight relative to the ground can be set in the route planning App and the ground station software, and this altitude can be regarded as the altitude that the aircraft needs to ascend. The flight control module calculates the length of the route that the aircraft can fly in one sortie according to the aircraft model and battery type, as well as the set relative height to the ground (that is, the height that the aircraft needs to rise in the sub-zone). After planning the length of a single flight route, it can be planned according to the square route, and the area involved in the planned square route is regarded as the sub-block area.

进一步地,在无人机计算飞机在一个架次内能够飞行的航线长度前,可以先通过设定的高度和无人机的机型,来计算该无人机在上升和下降的过程中的耗电量,进而得到精确的在一个架次能够飞行的航线长度。Furthermore, before the drone calculates the length of the flight path that the aircraft can fly in a sortie, it can first calculate the cost of the drone during the ascent and descent by setting the altitude and the type of the drone. Electricity, and then get the precise route length that can be flown in a sortie.

在另一种实施例中,当无人机从起飞点飞至作业区域时,还可以先计算无人机从起飞点飞至作业区域的起始点所需要的电量,以及从作业区域的结束点返回至起飞点所需要的电量。例如,以作业区域的外接矩形为边界,计算其外接矩形中心到起飞点的往返距离,然后通过距离和机型来进行计算,获取水平往返此距离的耗电量,进而得到更精确的在一个架次能够飞行的航线长度。In another embodiment, when the drone flies from the take-off point to the operating area, the power required for the drone to fly from the take-off point to the starting point of the operating area can also be calculated first, and from the end point of the operating area The power required to return to the takeoff point. For example, take the circumscribed rectangle of the working area as the boundary, calculate the round-trip distance from the center of the circumscribed rectangle to the take-off point, and then calculate the distance and model to obtain the power consumption of the horizontal round-trip distance, and then get a more accurate The length of the route that the sorties can fly.

当然,也可以根据外界环境因素,例如天气等,对上述预估的耗电量进行调整。例如,当风速大于某一预设阈值时,可以对计算获取的耗电量进行调整,例如适当增大无人机在上升和下降的过程中的耗电量,或者适当增大从起始点到作业区域的往返耗电量等,本实施例仅为示例性说明,在此不做限定。Of course, the estimated power consumption can also be adjusted according to external environmental factors, such as weather. For example, when the wind speed is greater than a preset threshold, the calculated power consumption can be adjusted, such as appropriately increasing the power consumption of the drone during the ascent and descent, or appropriately increasing the power consumption from the starting point to the The round-trip power consumption of the work area, etc., this embodiment is only an exemplary description, and is not limited herein.

可选地,获取分割网格的参数信息,还包括:根据参数信息,在背景地图上以预设的线型显示分割网格;其中,分割网格在背景地图上的投影范围覆盖作业区域。Optionally, acquiring the parameter information of the segmented grid further includes: displaying the segmented grid in a preset line type on the background map according to the parameter information; wherein the projection range of the segmented grid on the background map covers the work area.

在一些实施例中,还可以在背景地图上以预设的线型显示分割网格。图4为本申请一实施例提供的分割网格的示意图,如图4所示,将屏幕按照规划的作业子区面积大小为网格,网格用虚线表示,覆盖整个作业区域。但是,分割网格只实现了对作业区域的初步划分,分割网格与作业区域的边界线没有很好的贴合,后续将对分割网格进行调整。In some embodiments, the segmented grid may also be displayed in a preset line type on the background map. Fig. 4 is a schematic diagram of a grid segmentation provided by an embodiment of the application. As shown in Fig. 4, the screen is a grid according to the size of the planned work sub-area, and the grid is represented by a dotted line and covers the entire work area. However, the split grid only realizes the preliminary division of the work area, and the split grid does not fit well with the boundary line of the work area. The split grid will be adjusted later.

S203、根据分割网格的参数信息,将作业区域划分为多个作业子块。S203: Divide the work area into multiple work sub-blocks according to the parameter information of the split grid.

本实施例中,分割网格实现了对作业区域的初步划分,但是分割网格与作业区域的边界线没有很好的贴合,这将影响作业子块的划分,进而影响无人机的航线规划的效率。因此,在根据分割网格的参数信息,将作业区域划分为多个作业子块之前,还包括:调整分割网格在背景地图上的位置。调整分割网格在背景地图上的位置,可以通过用户输入的控制指令进行手动调整,也可以根据预设的策略进行自动调整。In this embodiment, the division grid realizes the preliminary division of the operation area, but the division grid does not fit well with the boundary line of the operation area, which will affect the division of the operation sub-blocks and thus the flight path of the drone Efficiency of planning. Therefore, before dividing the work area into multiple work sub-blocks according to the parameter information of the split grid, it also includes: adjusting the position of the split grid on the background map. Adjusting the position of the split grid on the background map can be manually adjusted through a control command input by the user, or automatically adjusted according to a preset strategy.

图5为本申请一实施例提供的调整后的分割网格的示意图,如图5所示,作业区域的下界面、右边界与分割网格边界线重合,从而使得网格形状和分布能够最大限度贴合目标作业区域。Figure 5 is a schematic diagram of an adjusted segmented grid provided by an embodiment of the application. As shown in Figure 5, the lower interface and right boundary of the working area coincide with the boundary of the segmented grid, so that the grid shape and distribution can be maximized The limit fits the target operation area.

可选地,调整分割网格在背景地图上的位置,包括:接收用户输入的第二指令;根据第二指令,控制分割网格执行以下任一或者任多操作:向左移动;向右移动;向上移动;向下移动;向顺时针方向旋转预设角度;向逆时针方向旋转预设角度。Optionally, adjusting the position of the segmented grid on the background map includes: receiving a second instruction input by the user; according to the second instruction, controlling the segmented grid to perform any one or more of the following operations: move left; move right ; Move up; move down; rotate the preset angle clockwise; rotate the preset angle counterclockwise.

在一些实施例中,通过用户输入的指令,对分割网格进行移动、旋转等操作,调整分割网格在背景地图上的位置,使得分割网格的边界线与作业区域重合,从而使得网格形状和分布能够最大限度贴合目标作业区域。In some embodiments, the division grid is moved, rotated and other operations are performed through instructions input by the user to adjust the position of the division grid on the background map, so that the boundary line of the division grid coincides with the work area, so that the grid The shape and distribution can fit the target work area as much as possible.

可选地,调整分割网格在背景地图上的位置,包括:根据预设策略,调整分割网格在背景地图上的位置;其中,预设策略是指:作业区域所占据的网格数量最少。Optionally, adjusting the position of the segmented grid on the background map includes: adjusting the position of the segmented grid on the background map according to a preset strategy; wherein, the preset strategy refers to the minimum number of grids occupied by the work area .

在一些实施例中,可以根据预设的策略,自动对分割网格的位置进行调整,以使得作业区域所占据的网格数量最少,从而可以更加方便、快捷地划定作业子块。In some embodiments, the position of the division grid can be automatically adjusted according to a preset strategy, so that the number of grids occupied by the work area is the smallest, so that the work sub-blocks can be more conveniently and quickly delineated.

可选地,根据分割网格的参数信息,将作业区域划分为多个作业子块,包括:根据分割网格的参数信息,将作业区域划分为多个分区;以及对多个分区进行合并处理,得到作业子块。Optionally, dividing the work area into multiple work sub-blocks according to the parameter information of the split grid includes: dividing the work area into multiple partitions according to the parameter information of the split grid; and merging the multiple partitions , Get the job sub-block.

本实施例中,可以根据分割网格的参数信息,将作业区域划分为多个分区,得到初步的划分结果。然后,可以对相邻的分区进行合并或者撤销合并等处理,最终得到作业子块。对相邻的分区进行合并处理,可以是根据用户输入的指令进行,也可以根据预设的合并策略进行分区合并。图6为本申请 一实施例提供的作业子块的示意图,如图6所示,根据分割网格得到多个分区之后,部分相邻分区进行了合并处理,最终得到了6个作业子块。作业子块之间用实线区分边界。In this embodiment, the work area can be divided into multiple partitions according to the parameter information of the division grid to obtain a preliminary division result. Then, the adjacent partitions can be merged or unmerged, etc., and finally the job sub-block is obtained. The merging processing of adjacent partitions may be performed according to an instruction input by the user, or may be merged according to a preset merging strategy. Fig. 6 is a schematic diagram of job sub-blocks provided by an embodiment of the application. As shown in Fig. 6, after obtaining multiple partitions according to the division grid, some adjacent partitions are merged, and finally 6 job sub-blocks are obtained. A solid line is used to distinguish the boundaries between the job sub-blocks.

可选地,对多个分区进行合并处理,得到作业子块,包括:接收用户输入的第三指令;根据第三指令,确定待合并的网格;将待合并的网格中的分区合并为一个作业子块。Optionally, merging multiple partitions to obtain a job sub-block includes: receiving a third instruction input by the user; determining the grid to be merged according to the third instruction; and merging the partitions in the grid to be merged into A job sub-block.

可选地,在对多个分区进行合并处理之后,还包括:接收用户输入的第四指令;根据第四指令,撤销对分区的合并。Optionally, after the multiple partitions are merged, the method further includes: receiving a fourth instruction input by the user; and canceling the merge of the partitions according to the fourth instruction.

在一些实施例中,对于相邻子块,用户可以选择进行合并或者撤销合并。可以根据用户输入的操作指令,进分区合并,也可以在分区合并之后撤销对分区的合并,如此,可以增加分区的灵活性。In some embodiments, for adjacent sub-blocks, the user can choose to merge or undo the merge. The division can be merged according to the operation instruction input by the user, or the division can be cancelled after the division is merged. In this way, the flexibility of the division can be increased.

可选地,对多个分区进行合并处理,得到作业子块,包括:遍历所有分区,若分区占据的面积小于分割网格的面积,则将分区与相邻的其他分区合并为一个作业子块;直到所有分区的面积均大于分割网格面积的1/2。Optionally, merging multiple partitions to obtain job sub-blocks includes: traversing all the partitions, and if the area occupied by the partition is smaller than the area of the split grid, then merge the partition and other adjacent partitions into one job sub-block ; Until the area of all partitions is greater than 1/2 of the area of the divided grid.

在一些实施例中,对于相邻的分区,可以根据预设的策略进行自动分区合并。例如,依次从整网格区域开始,按照网格面积(完整程度)进行搜索,当分区占据的面积小于分割网格的面积时,则将分区与相邻的其他分区合并为一个作业子块。遍历所有分区,直到所有分区的面积均大于分割网格面积的1/2。In some embodiments, for adjacent partitions, automatic partition merging can be performed according to a preset strategy. For example, starting from the entire grid area and searching according to the grid area (degree of completeness), when the area occupied by the partition is smaller than the area of the divided grid, the partition and other adjacent partitions are merged into one job sub-block. Traverse all partitions until the area of all partitions is greater than 1/2 of the area of the division grid.

可选地,对多个分区进行合并处理,得到作业子块,包括:遍历所有分区,若分区占据的面积小于分割网格的面积的1/4,且分区与相邻的分区合并之后的总面积小于两个分割网格的总面积时,将分区与相邻的分区进行合并。Optionally, merging multiple partitions to obtain job sub-blocks includes: traversing all partitions, if the area occupied by the partition is less than 1/4 of the area of the division grid, and the total area after the partition is merged with the adjacent partition When the area is less than the total area of the two division grids, merge the partition with the adjacent partition.

在一些实施例中,对于相邻的分区,可以根据预设的策略进行自动分区合并。例如,依次从整网格区域开始,按照网格面积(完整程度)进行搜索,当分区占据的面积小于分割网格的面积的1/4,且分区与相邻的分区合并之后的总面积小于两个分割网格的总面积时,将分区与相邻的分区进行合并。遍历所有分区,直到所有分区的面积均大于分割网格面积的1/4。In some embodiments, for adjacent partitions, automatic partition merging can be performed according to a preset strategy. For example, starting from the entire grid area and searching according to the grid area (degree of completeness), when the area occupied by the partition is less than 1/4 of the area of the divided grid, and the total area after the partition and the adjacent partition are merged is less than When dividing the total area of the two grids, merge the partition with the adjacent partition. Traverse all partitions until the area of all partitions is greater than 1/4 of the area of the divided grid.

可选地,对多个分区进行合并处理,得到作业子块,包括:遍历所有分区,若存在两个或以上的相邻分区与分区符合合并条件,则将相邻的面积最小的分区与分区进行合并。Optionally, multiple partitions are merged to obtain job sub-blocks, including: traversing all partitions, if there are two or more adjacent partitions and partitions that meet the merge condition, then combine the partition with the smallest adjacent area and the partition To merge.

在一些实施例中,对于相邻的分区,可以根据预设的策略进行自动分区合并。例如,依次从整网格区域开始,按照网格面积(完整程度)进行搜索,当存在两个或以上的相邻分区与分区符合合并条件,则将相邻的面积最小的分区与分区进行合并。遍历所有分区,直到所有分区不符合合并条件。In some embodiments, for adjacent partitions, automatic partition merging can be performed according to a preset strategy. For example, starting from the entire grid area in turn, searching according to the grid area (degree of completeness), when there are two or more adjacent partitions and partitions that meet the merge conditions, merge the adjacent partition with the smallest area and the partition . Traverse all partitions until all partitions do not meet the merge conditions.

可选地,在将待合并的网格中的分区合并为一个作业子块之后,还包括:确定合并得到的作业子块对应的图形端点是否存在拐点;若存在拐点,则撤销合并。Optionally, after the partitions in the grid to be merged are merged into one job sub-block, the method further includes: determining whether there is an inflection point in the graph endpoint corresponding to the merged job sub-block; if there is an inflection point, cancel the merge.

在一些实施例中,通过合并后图形的端点不允许出现拐角。当合并后的图形端点是拐点时,则撤销合并。具体地,可以通过斜率、求导等方法,计算合并后的各个端点是否为拐点。In some embodiments, no corners are allowed to appear at the endpoints of the combined graphics. When the endpoint of the merged graph is an inflection point, the merge is cancelled. Specifically, methods such as slope and derivation can be used to calculate whether each of the merged endpoints is an inflection point.

S204、在多个作业子块上分别生成飞行航线。S204. Generate flight routes on multiple operation sub-blocks respectively.

本实施例中,在获得多个作业子块之后,在多个作业子块上分别生成飞行航线,包括:确定每个作业子块的目标任务;根据目标任务,在多个作业子块上分别生成飞行航线。可选地,目标任务包括以下至少一种:飞行模式、云台参数、相机参数、飞行高度。In this embodiment, after obtaining multiple operation sub-blocks, generating flight routes on the multiple operation sub-blocks respectively includes: determining the target task of each operation sub-block; according to the target task, separate the multiple operation sub-blocks Generate flight routes. Optionally, the target task includes at least one of the following: flight mode, gimbal parameters, camera parameters, and flight altitude.

在一些实施例中,对于每个独立子块,可以在其内部进行独立进行相机参数设定航线规划,生成设定航线。如何根据目标任务生成飞行航线可以参见相关技术的描述,此处不再赘述。在设定目标任务时,可以进行整体设定,也可以对各个作业子块进行单独设定。例如,对于整体,可以设定是否使用仿地飞行功能,或者当用户不需要对整体区域进行仿地飞行的时候,可设定是否对单个区域进行仿地飞行功能。每个作业子块内的无人机可以执行相同或不同的目标任务,在此不做限定。In some embodiments, for each independent sub-block, independent camera parameter setting route planning can be performed inside it to generate a set route. How to generate the flight route according to the target mission can refer to the description of the related technology, which will not be repeated here. When setting the target task, you can set it as a whole, or set each sub-block individually. For example, for the whole, you can set whether to use the ground-like flight function, or when the user does not need to perform the ground-like flight function for the entire area, you can set whether to perform the ground-like flight function for a single area. The drones in each operation sub-block can perform the same or different target tasks, which is not limited here.

可选地,还包括:对作业子块进行编号,并确定与作业子块的编号对应的标志位。Optionally, the method further includes: numbering the job sub-blocks, and determining a flag bit corresponding to the number of the job sub-block.

在一些实施例中,可以对作业子块依次进行编号,从1到N。图7为本申请一实施例提供的编号后的作业子块的示意图,如图7所示,对作业子块进行编号,可以在无人机发送的航测数据中增加作业子块的编号,便于管理。还可以对于作业子块支持设定一个标志位,标志此块作业是否被作业过,另外增加作业进度与断点续飞功能,如果一次没有执行完,可执行断点续飞。In some embodiments, the job sub-blocks can be numbered sequentially, from 1 to N. Fig. 7 is a schematic diagram of the numbered operation sub-block provided by an embodiment of the application. As shown in Fig. 7, the operation sub-block is numbered, and the number of the operation sub-block can be added to the aerial survey data sent by the drone, which is convenient management. It is also possible to set a flag bit for the job sub-block support to mark whether the job of this block has been operated. In addition, the job progress and breakpoint resume function are added. If the execution is not completed at a time, the breakpoint resume flight can be executed.

可选地,还包括:接收无人机发送的航测数据,航测数据包括作业子块 的编号;置位作业子块的编号对应的标志位。可选地,置位作业子块的编号对应的标志位,包括:确定航测数据是否接收成功;若航测数据接收成功,则置位作业子块的编号对应的标志位。Optionally, it further includes: receiving aerial survey data sent by the drone, the aerial survey data including the number of the operation sub-block; and setting a flag bit corresponding to the number of the operation sub-block. Optionally, setting the flag bit corresponding to the number of the operation sub-block includes: determining whether the aerial survey data is successfully received; if the aerial survey data is successfully received, setting the flag bit corresponding to the number of the operation sub-block.

可选地,还包括:读取每个作业子块对应的标志位;若存在未置位的标志位,发送指令至作业子块对应的无人机,指令用于控制无人机执行对未置位的标志位对应的作业子块的航测任务;获取下一个作业子块对应的标志位,直至置位所有作业子块对应的标志位。Optionally, it also includes: reading the flag bit corresponding to each job sub-block; if there is an unset flag bit, sending an instruction to the drone corresponding to the job sub-block, and the instruction is used to control the drone to execute the The set flag bit corresponds to the aerial survey task of the operation sub-block; the flag bit corresponding to the next operation sub-block is obtained until the flag bits corresponding to all the operation sub-blocks are set.

可选地,控制无人机执行对未置位的标志位对应的作业子块的航测任务,包括:确定未置位的标志位对应的作业子块是否存在无人机的作业记录;作业记录包括:上一次无人机的飞行结束位置和/或剩余飞行航线。Optionally, controlling the drone to perform an aerial survey task for the operation sub-block corresponding to the unset flag bit includes: determining whether the operation sub-block corresponding to the unset flag bit has an operation record of the drone; Including: the last UAV flight end position and/or remaining flight path.

可选地,确定未置位的标志位对应的作业子块是否存在无人机的作业记录,包括:若存在无人机的作业记录,则以上一次无人机的飞行结束位置为起点,执行剩余飞行航线的航测任务;若不存在无人机的作业记录,则按照作业子块的飞行航线执行航测任务。Optionally, determine whether there is an operation record of the drone in the operation sub-block corresponding to the unset flag, including: if there is an operation record of the drone, the last flight end position of the drone is the starting point, execute The aerial survey task of the remaining flight route; if there is no operation record of the drone, the aerial survey task will be executed according to the flight route of the operation sub-block.

在一些实施例中,可以在接收无人机的航测数据后,确定航测数据是否接收成功;若航测数据接收成功,则置位作业子块的编号对应的标志位。若存在未置位的标志位,发送指令至作业子块对应的无人机,从而控制无人机执行对未置位的标志位对应的作业子块的航测任务。若未置位的作业子块存在无人机的作业记录,则以上一次无人机的飞行结束位置为起点,执行剩余飞行航线的航测任务;若不存在无人机的作业记录,则按照作业子块的飞行航线执行航测任务。如此,实现了对作业进度的监控,以及实现了断点续飞等功能,提升工作效率,优化用户体验。In some embodiments, after receiving the aerial survey data of the drone, it can be determined whether the aerial survey data is successfully received; if the aerial survey data is received successfully, the flag bit corresponding to the number of the operation sub-block is set. If there is an unset flag bit, send an instruction to the drone corresponding to the operation sub-block to control the drone to perform aerial survey tasks for the operation sub-block corresponding to the unset flag bit. If there is a UAV operation record in the unset operation sub-block, the last UAV flight end position is the starting point, and the aerial survey task of the remaining flight route is performed; if there is no UAV operation record, follow the operation The flight path of the sub-block performs aerial survey tasks. In this way, it realizes the monitoring of the work progress, and realizes functions such as resuming the flight at a breakpoint, improving work efficiency and optimizing user experience.

图8为本申请另一实施例提供的飞行航线生成方法的流程图,如图8所示,本实施例的方法可以应用于无人机中,本实施例的方法可以包括:Fig. 8 is a flowchart of a method for generating a flight route according to another embodiment of the application. As shown in Fig. 8, the method of this embodiment can be applied to a drone, and the method of this embodiment can include:

S801、获取作业区域。S801. Obtain a work area.

本实施例中,在航测过程中,用户面临的往往是较大范围的航测区域,对于大航测区域,需要对航测区域进行分割,将一个大任务分割为若干个子区域和子任务,能够更好地对大面积任务进行分割与管理。因此,首先需要在背景地图上获取作业区域,作业区域的获得方式可以有多种,例如从目标飞行任务文件中获取作业区域,也可以通过在无人机上手动圈地等形式设定 作业区域。图3为本申请一实施例提供的作业区域的示意图,如图3所示的区域就是较大范围的航测区域,需要对其进行分割,并生成无人机的飞行航线。In this embodiment, during the aerial survey process, the user is often faced with a larger aerial survey area. For a large aerial survey area, the aerial survey area needs to be segmented. A large task is divided into several sub-regions and sub-tasks, which can better Divide and manage large-scale tasks. Therefore, it is first necessary to obtain the operation area on the background map. There are many ways to obtain the operation area, such as obtaining the operation area from the target flight mission file, or setting the operation area by manually enclosing it on the drone. Fig. 3 is a schematic diagram of the operation area provided by an embodiment of the application. The area shown in Fig. 3 is a large-scale aerial survey area, which needs to be divided to generate the flight route of the UAV.

可选地,获取作业区域,包括:获取目标飞行任务文件,其中,目标飞行任务文件包括目标航点的位置信息;根据目标航点的位置信息,确定由目标航点构成的作业区域。Optionally, obtaining the operation area includes: obtaining a target flight task file, where the target flight task file includes location information of the target waypoint; and determining the operation area formed by the target waypoint according to the location information of the target waypoint.

在一些实施例中,目标飞行任务文件包括目标航点的位置信息,可以根据这些目标航点的位置信息,确定由目标航点构成的作业区域。因此,无人机可以从目标飞行任务文件中获取作业区域。例如,无人机可以从控制终端获取诸如KML文件的目标飞行任务文件。In some embodiments, the target flight mission file includes the location information of the target waypoints, and the operation area formed by the target waypoints can be determined based on the location information of the target waypoints. Therefore, the drone can obtain the operating area from the target flight mission file. For example, the drone can obtain target flight mission files such as KML files from the control terminal.

可选地,获取作业区域,包括:在无人机的飞行轨迹上选取多个目标航点的位置信息;根据目标航点的位置信息,确定由目标航点构成的作业区域。Optionally, acquiring the operation area includes: selecting the position information of multiple target waypoints on the flight trajectory of the drone; and determining the operation area formed by the target waypoints according to the position information of the target waypoints.

在一些实施例中,还可以根据用户的手动操作获取作业区域。例如,通过无人机直接打的的方式,在在无人机的飞行轨迹上选取多个目标航点的位置信息,这些目标航点构成作业区域。In some embodiments, the work area can also be obtained according to a user's manual operation. For example, by directly hitting the drone, the position information of multiple target waypoints is selected on the flight trajectory of the drone, and these target waypoints constitute the operating area.

S802、获取分割网格的参数信息,其中,参数信息与无人机的飞行范围相关。S802. Obtain parameter information of the segmented grid, where the parameter information is related to the flight range of the UAV.

本实施例中,无人机的型号、飞行高度等参数对无人机的续航时间、飞行范围都存在较大影响。因此,可以根据无人机的型号参数等确定分割网格参数,也可以由用户手动设置分割网格参数。其中,分割网格的参数信息包括:分割网格的类型和/或分割网格的面积。无人机的飞行范围是指无人机单次飞行的范围。当然,无人机的飞行范围也可以根据需要由用户自主设定。例如,当用户期望无人机的飞行范围为某一范围时,可以根据需要手动设置分割网格参数,在此不做限定。In this embodiment, the parameters such as the model and flight height of the drone have a greater impact on the endurance and flight range of the drone. Therefore, the segmentation grid parameters can be determined according to the model parameters of the drone, etc., or the segmentation grid parameters can be manually set by the user. Wherein, the parameter information of the divided grid includes: the type of the divided grid and/or the area of the divided grid. The flying range of a drone refers to the range of a single flight of the drone. Of course, the flying range of the drone can also be set independently by the user as needed. For example, when the user expects the flying range of the drone to be a certain range, the segmentation grid parameters can be manually set as needed, which is not limited here.

可选地,获取分割网格的参数信息,包括:接收用户输入的分割网格的参数信息。Optionally, acquiring the parameter information of the segmentation grid includes: receiving the parameter information of the segmentation grid input by the user.

在一些实施例中,可以接收用户输入的分割网格的参数信息。例如,当用户采用手动输入网格面积时,通过用户输入的网格面积(如0.5km 2)来生成相对应长度的网格,默认规划分割形状为正方形,直接对用户输入的面积开根号即可,如用户设定面积为0.5km 2,分割正方形边长为0.707km。需要说 明的是,用户也可以需要其他的网格的类型,如矩形、三角形、圆形等等。用户也可以通过设置边长、半径等方式,确定分割网格面积。例如,选择网格类型为矩形,设定边长分别为1km和0.5km,分割网格面积为0.5km 2In some embodiments, the parameter information of the segmentation grid input by the user may be received. For example, when the user manually enters the grid area, the grid area of the user input (such as 0.5km 2 ) is used to generate a grid of the corresponding length. The default planned segmentation shape is square, and the square is directly assigned to the area entered by the user. That is, if the user sets the area to be 0.5km 2 , the side length of the divided square is 0.707km. It should be noted that the user may also need other grid types, such as rectangle, triangle, circle and so on. The user can also determine the area of the divided grid by setting the side length and radius. For example, select the grid type as rectangle, set the side lengths to 1km and 0.5km respectively, and the area of the divided grid to be 0.5km 2 .

可选地,获取分割网格的参数信息,包括:根据无人机的参数,确定分割网格的参数信息。Optionally, obtaining the parameter information of the segmentation grid includes: determining the parameter information of the segmentation grid according to the parameters of the drone.

在一些实施例中,无人机的型号、飞行高度等参数对无人机的续航时间、飞行范围都存在较大影响。因此,可以根据无人机的参数,自动确定分割网格的参数。In some embodiments, parameters such as the model and flight height of the drone have a greater impact on the endurance and flight range of the drone. Therefore, the parameters of the segmentation grid can be automatically determined according to the parameters of the drone.

可选地,根据无人机的参数,确定分割网格的参数信息,包括:根据无人机的机型和无人机的飞行高度,确定无人机的续航时间和/或航线距离;根据续航时间和/或航线距离,确定无人机的单次作业的范围;根据无人机的单次作业的范围,确定分割网格的参数信息。Optionally, determining the parameter information of the segmented grid according to the parameters of the drone, including: determining the endurance time and/or route distance of the drone according to the model of the drone and the flying height of the drone; Endurance time and/or route distance determine the range of a single operation of the UAV; determine the parameter information of the split grid according to the range of a single operation of the UAV.

在一些实施例中,可以在航线规划App、地面站软件中设定飞行相对地面的相对高度,可以认为此高度即为飞机需要上升的高度。飞控模块根据飞机机型和电池类型,以及设定的对地相对高度(即飞机在子区内需要上升的高度),从而计算出飞机在一个架次内能够飞行的航线长度。规划出单架次航线长度后可以按照正方形航线规划,将规划相关的正方形航线涉及区域作为子块面积。In some embodiments, the relative altitude of the flight relative to the ground can be set in the route planning App and the ground station software, and this altitude can be regarded as the altitude that the aircraft needs to ascend. The flight control module calculates the length of the route that the aircraft can fly in one sortie according to the aircraft model and battery type, as well as the set relative height to the ground (that is, the height that the aircraft needs to rise in the sub-zone). After planning the length of a single flight route, it can be planned according to the square route, and the area involved in the planned square route is regarded as the sub-block area.

进一步地,也可以在无人机计算飞机在一个架次内能够飞行的航线长度前,对无人机在上升和下降的过程中的耗电量,或者适当增大从起始点到作业区域的往返耗电量等进行计算,从而得到更精确的在一个架次能够飞行的航线长度,在此不再赘述。Further, before the drone calculates the length of the flight path that the aircraft can fly in a sortie, the power consumption of the drone during the ascent and descent process, or the round-trip from the starting point to the operation area can be appropriately increased. Calculation of power consumption, etc., to obtain a more accurate route length that can be flown in one sortie, which will not be repeated here.

可选地,获取分割网格的参数信息,还包括:根据参数信息,在背景地图上以预设的线型显示分割网格;其中,分割网格在背景地图上的投影范围覆盖作业区域。Optionally, acquiring the parameter information of the segmented grid further includes: displaying the segmented grid in a preset line type on the background map according to the parameter information; wherein the projection range of the segmented grid on the background map covers the work area.

在一些实施例中,还可以在背景地图上以预设的线型显示分割网格。图4为本申请一实施例提供的分割网格的示意图,如图4所示,将屏幕按照规划的作业子区面积大小为网格,网格用虚线表示,覆盖整个作业区域。但是,分割网格只实现了对作业区域的初步划分,分割网格与作业区域的边界线没有很好的贴合,后续将对分割网格进行调整。In some embodiments, the segmented grid may also be displayed in a preset line type on the background map. Fig. 4 is a schematic diagram of a grid segmentation provided by an embodiment of the application. As shown in Fig. 4, the screen is a grid according to the size of the planned work sub-area, and the grid is represented by a dotted line and covers the entire work area. However, the split grid only realizes the preliminary division of the work area, and the split grid does not fit well with the boundary line of the work area. The split grid will be adjusted later.

S803、根据分割网格的参数信息,将作业区域划分为多个作业子块。S803: Divide the work area into multiple work sub-blocks according to the parameter information of the split grid.

本实施例中,分割网格实现了对作业区域的初步划分,但是分割网格与作业区域的边界线没有很好的贴合,这将影响作业子块的划分,进而影响无人机的航线规划的效率。因此,在根据分割网格的参数信息,将作业区域划分为多个作业子块之前,还包括:调整分割网格在背景地图上的位置。调整分割网格在背景地图上的位置,可以通过用户输入的控制指令进行手动调整,也可以根据预设的策略进行自动调整。图5为本申请一实施例提供的调整后的分割网格的示意图,如图5所示,作业区域的下界面、右边界与分割网格边界线重合,从而使得网格形状和分布能够最大限度贴合目标作业区域。In this embodiment, the division grid realizes the preliminary division of the operation area, but the division grid does not fit well with the boundary line of the operation area, which will affect the division of the operation sub-blocks and thus the flight path of the drone Efficiency of planning. Therefore, before dividing the work area into multiple work sub-blocks according to the parameter information of the split grid, it also includes: adjusting the position of the split grid on the background map. Adjusting the position of the split grid on the background map can be manually adjusted through a control command input by the user, or automatically adjusted according to a preset strategy. Figure 5 is a schematic diagram of an adjusted segmented grid provided by an embodiment of the application. As shown in Figure 5, the lower interface and right boundary of the working area coincide with the boundary of the segmented grid, so that the grid shape and distribution can be maximized The limit fits the target operation area.

可选地,调整分割网格在背景地图上的位置,包括:接收控制终端输入的第二指令;根据第二指令,控制分割网格执行以下任一或者任多操作:向左移动;向右移动;向上移动;向下移动;向顺时针方向旋转预设角度;向逆时针方向旋转预设角度。Optionally, adjusting the position of the segmented grid on the background map includes: receiving a second instruction input by the control terminal; according to the second instruction, controlling the segmented grid to perform any one or more of the following operations: move left; right Move; move up; move down; rotate the preset angle clockwise; rotate the preset angle counterclockwise.

在一些实施例中,通过用户输入的指令,对分割网格进行移动、旋转等操作,调整分割网格在背景地图上的位置,使得分割网格的边界线与作业区域重合,从而使得网格形状和分布能够最大限度贴合目标作业区域。In some embodiments, the division grid is moved, rotated and other operations are performed through instructions input by the user to adjust the position of the division grid on the background map, so that the boundary line of the division grid coincides with the work area, so that the grid The shape and distribution can fit the target work area as much as possible.

可选地,调整分割网格在背景地图上的位置,包括:根据预设策略,调整分割网格在背景地图上的位置;其中,预设策略是指:作业区域所占据的网格数量最少。Optionally, adjusting the position of the segmented grid on the background map includes: adjusting the position of the segmented grid on the background map according to a preset strategy; wherein, the preset strategy refers to the minimum number of grids occupied by the work area .

在一些实施例中,可以根据预设的策略,自动对分割网格的位置进行调整,以使得作业区域所占据的网格数量最少,从而可以更加方便、快捷地划定作业子块。In some embodiments, the position of the division grid can be automatically adjusted according to a preset strategy, so that the number of grids occupied by the work area is the smallest, so that the work sub-blocks can be more conveniently and quickly delineated.

可选地,根据分割网格的参数信息,将作业区域划分为多个作业子块,包括:根据分割网格的参数信息,将作业区域划分为多个分区;对多个分区进行合并处理,得到作业子块。Optionally, dividing the work area into multiple work sub-blocks according to the parameter information of the split grid includes: dividing the work area into multiple partitions according to the parameter information of the split grid; and merging the multiple partitions, Get the job sub-block.

本实施例中,可以根据分割网格的参数信息,将作业区域划分为多个分区,得到初步的划分结果。然后,可以对相邻的分区进行合并或者撤销合并等处理,最终得到作业子块。对相邻的分区进行合并处理,可以是根据用户输入的指令进行,也可以根据预设的合并策略进行分区合并。图6为本申请一实施例提供的作业子块的示意图,如图6所示,根据分割网格得到多个分 区之后,部分相邻分区进行了合并处理,最终得到了6个作业子块。作业子块之间用实线区分边界。In this embodiment, the work area can be divided into multiple partitions according to the parameter information of the division grid to obtain a preliminary division result. Then, the adjacent partitions can be merged or unmerged, etc., and finally the job sub-block is obtained. The merging of adjacent partitions may be performed according to instructions input by the user, or may be merged according to a preset merging strategy. Fig. 6 is a schematic diagram of the job sub-blocks provided by an embodiment of the application. As shown in Fig. 6, after obtaining multiple partitions according to the division grid, some adjacent partitions are merged, and finally 6 job sub-blocks are obtained. A solid line is used to distinguish the boundaries between the job sub-blocks.

可选地,对多个分区进行合并处理,得到作业子块,包括:接收用户输入的第三指令;根据第三指令,确定待合并的网格;将待合并的网格中的分区合并为一个作业子块。可选地,在对多个分区进行合并处理之后,还包括:接收用户输入的第四指令;根据第四指令,撤销对分区的合并。Optionally, merging multiple partitions to obtain a job sub-block includes: receiving a third instruction input by the user; determining the grid to be merged according to the third instruction; and merging the partitions in the grid to be merged into A job sub-block. Optionally, after the multiple partitions are merged, the method further includes: receiving a fourth instruction input by the user; and canceling the merge of the partitions according to the fourth instruction.

在一些实施例中,对于相邻子块,用户可以选择进行合并或者撤销合并。可以根据用户输入的操作指令,进分区合并,也可以在分区合并之后撤销对分区的合并,如此,可以增加分区的灵活性。In some embodiments, for adjacent sub-blocks, the user can choose to merge or undo the merge. The division can be merged according to the operation instruction input by the user, or the division can be cancelled after the division is merged. In this way, the flexibility of the division can be increased.

可选地,对多个分区进行合并处理,得到作业子块,包括:遍历所有分区,若分区占据的面积小于分割网格的面积,则将分区与相邻的其他分区合并为一个作业子块;直到所有分区的面积均大于分割网格面积的1/2。Optionally, merging multiple partitions to obtain job sub-blocks includes: traversing all the partitions, and if the area occupied by the partition is smaller than the area of the split grid, then merge the partition and other adjacent partitions into one job sub-block ; Until the area of all partitions is greater than 1/2 of the area of the divided grid.

在一些实施例中,对于相邻的分区,可以根据预设的策略进行自动分区合并。例如,依次从整网格区域开始,按照网格面积(完整程度)进行搜索,当分区占据的面积小于分割网格的面积时,则将分区与相邻的其他分区合并为一个作业子块。遍历所有分区,直到所有分区的面积均大于分割网格面积的1/2。In some embodiments, for adjacent partitions, automatic partition merging can be performed according to a preset strategy. For example, starting from the entire grid area and searching according to the grid area (degree of completeness), when the area occupied by the partition is smaller than the area of the divided grid, the partition and other adjacent partitions are merged into one job sub-block. Traverse all partitions until the area of all partitions is greater than 1/2 of the area of the division grid.

可选地,对多个分区进行合并处理,得到作业子块,包括:遍历所有分区,若分区占据的面积小于分割网格的面积的1/4,且分区与相邻的分区合并之后的总面积小于两个分割网格的总面积时,将分区与相邻的分区进行合并。Optionally, merging multiple partitions to obtain job sub-blocks includes: traversing all partitions, if the area occupied by the partition is less than 1/4 of the area of the division grid, and the total area after the partition is merged with the adjacent partition When the area is less than the total area of the two division grids, merge the partition with the adjacent partition.

在一些实施例中,对于相邻的分区,可以根据预设的策略进行自动分区合并。例如,依次从整网格区域开始,按照网格面积(完整程度)进行搜索,当分区占据的面积小于分割网格的面积的1/4,且分区与相邻的分区合并之后的总面积小于两个分割网格的总面积时,将分区与相邻的分区进行合并。遍历所有分区,直到所有分区的面积均大于分割网格面积的1/4。In some embodiments, for adjacent partitions, automatic partition merging can be performed according to a preset strategy. For example, starting from the entire grid area and searching according to the grid area (degree of completeness), when the area occupied by the partition is less than 1/4 of the area of the divided grid, and the total area after the partition and the adjacent partition are merged is less than When dividing the total area of the two grids, merge the partition with the adjacent partition. Traverse all partitions until the area of all partitions is greater than 1/4 of the area of the divided grid.

可选地,对多个分区进行合并处理,得到作业子块,包括:遍历所有分区,若存在两个或以上的相邻分区与分区符合合并条件,则将相邻的面积最小的分区与分区进行合并。Optionally, multiple partitions are merged to obtain job sub-blocks, including: traversing all partitions, if there are two or more adjacent partitions and partitions that meet the merge condition, then combine the partition with the smallest adjacent area and the partition To merge.

在一些实施例中,对于相邻的分区,可以根据预设的策略进行自动分区合并。例如,依次从整网格区域开始,按照网格面积(完整程度)进行搜索, 当存在两个或以上的相邻分区与分区符合合并条件,则将相邻的面积最小的分区与分区进行合并。遍历所有分区,直到所有分区不符合合并条件。In some embodiments, for adjacent partitions, automatic partition merging can be performed according to a preset strategy. For example, starting from the entire grid area in turn, searching according to the grid area (degree of completeness), when there are two or more adjacent partitions and partitions that meet the merge conditions, merge the adjacent partition with the smallest area and the partition . Traverse all partitions until all partitions do not meet the merge conditions.

可选地,在将待合并的网格中的分区合并为一个作业子块之后,还包括:确定合并得到的作业子块对应的图形端点是否存在拐点;若存在拐点,则撤销合并。Optionally, after the partitions in the grid to be merged are merged into one job sub-block, the method further includes: determining whether there is an inflection point in the graph endpoint corresponding to the merged job sub-block; if there is an inflection point, cancel the merge.

在一些实施例中,通过合并后图形的端点不允许出现拐角。当合并后的图形端点是拐点时,则撤销合并。具体地,可以通过斜率、求导等方法,计算合并后的各个端点是否为拐点。In some embodiments, no corners are allowed to appear at the endpoints of the combined graphics. When the endpoint of the merged graph is an inflection point, the merge is cancelled. Specifically, methods such as slope and derivation can be used to calculate whether each of the merged endpoints is an inflection point.

S804、在多个作业子块上分别生成飞行航线。S804: Generate flight routes on multiple operation sub-blocks.

本实施例中,在获得多个作业子块之后,在多个作业子块上分别生成飞行航线,包括:确定每个作业子块的目标任务;根据目标任务,在多个作业子块上分别生成飞行航线。可选地,目标任务包括以下至少一种:飞行模式、云台参数、相机参数、飞行高度。In this embodiment, after obtaining multiple operation sub-blocks, generating flight routes on the multiple operation sub-blocks respectively includes: determining the target task of each operation sub-block; according to the target task, separate the multiple operation sub-blocks Generate flight routes. Optionally, the target task includes at least one of the following: flight mode, gimbal parameters, camera parameters, and flight altitude.

在一些实施例中,对于每个独立子块,可以在其内部进行独立进行相机参数设定航线规划,生成设定航线。如何根据目标任务生成飞行航线可以参见相关技术的描述,此处不再赘述。在设定目标任务时,可以进行整体设定,也可以对各个作业子块进行单独设定。例如,对于整体,可以设定是否使用仿地飞行功能,或者当用户不需要对整体区域进行仿地飞行的时候,可设定是否对单个区域进行仿地飞行功能。每个作业子块内的无人机可以执行相同或不同的目标任务,在此不做限定。In some embodiments, for each independent sub-block, independent camera parameter setting route planning can be performed inside it to generate a set route. How to generate the flight route according to the target mission can refer to the description of the related technology, which will not be repeated here. When setting the target task, you can set it as a whole, or set each sub-block individually. For example, for the whole, you can set whether to use the ground-like flight function, or when the user does not need to perform the ground-like flight function for the entire area, you can set whether to perform the ground-like flight function for a single area. The drones in each operation sub-block can perform the same or different target tasks, which is not limited here.

可选地,还包括:对作业子块进行编号,并确定与作业子块的编号对应的标志位。Optionally, the method further includes: numbering the job sub-blocks, and determining a flag bit corresponding to the number of the job sub-block.

在一些实施例中,可以对作业子块依次进行编号,从1到N。图7为本申请一实施例提供的编号后的作业子块的示意图,如图7所示,对作业子块进行编号,可以在无人机发送的航测数据中增加作业子块的编号,便于管理。还可以对于作业子块支持设定一个标志位,标志此块作业是否被作业过,另外增加作业进度与断点续飞功能,如果一次没有执行完,可执行断点续飞。In some embodiments, the job sub-blocks can be numbered sequentially, from 1 to N. Fig. 7 is a schematic diagram of the numbered operation sub-block provided by an embodiment of the application. As shown in Fig. 7, the operation sub-block is numbered, and the number of the operation sub-block can be added to the aerial survey data sent by the drone, which is convenient management. It is also possible to set a flag bit for the job sub-block support to mark whether the job of this block has been operated. In addition, the job progress and breakpoint resume function are added. If the execution is not completed at a time, the breakpoint resume flight can be executed.

可选地,还包括:接收无人机发送的航测数据,航测数据包括作业子块的编号;置位作业子块的编号对应的标志位。可选地,置位作业子块的编号对应的标志位,包括:确定航测数据是否接收成功;若航测数据接收成功, 则置位作业子块的编号对应的标志位。Optionally, it further includes: receiving aerial survey data sent by the drone, the aerial survey data including the number of the operation sub-block; and setting a flag bit corresponding to the number of the operation sub-block. Optionally, setting the flag bit corresponding to the number of the operation sub-block includes: determining whether the aerial survey data is successfully received; if the aerial survey data is successfully received, setting the flag bit corresponding to the number of the operation sub-block.

可选地,还包括:读取每个作业子块对应的标志位;若存在未置位的标志位,发送指令至作业子块对应的无人机,指令用于控制无人机执行对未置位的标志位对应的作业子块的航测任务;获取下一个作业子块对应的标志位,直至置位所有作业子块对应的标志位。Optionally, it also includes: reading the flag bit corresponding to each job sub-block; if there is an unset flag bit, sending an instruction to the drone corresponding to the job sub-block, and the instruction is used to control the drone to execute the The set flag bit corresponds to the aerial survey task of the operation sub-block; the flag bit corresponding to the next operation sub-block is obtained until the flag bits corresponding to all the operation sub-blocks are set.

可选地,控制无人机执行对未置位的标志位对应的作业子块的航测任务,包括:确定未置位的标志位对应的作业子块是否存在无人机的作业记录;作业记录包括:上一次无人机的飞行结束位置和/或剩余飞行航线。Optionally, controlling the drone to perform an aerial survey task for the operation sub-block corresponding to the unset flag bit includes: determining whether the operation sub-block corresponding to the unset flag bit has an operation record of the drone; Including: the last UAV flight end position and/or remaining flight path.

可选地,确定未置位的标志位对应的作业子块是否存在无人机的作业记录,包括:若存在无人机的作业记录,则以上一次无人机的飞行结束位置为起点,执行剩余飞行航线的航测任务;若不存在无人机的作业记录,则按照作业子块的飞行航线执行航测任务。Optionally, determine whether there is an operation record of the drone in the operation sub-block corresponding to the unset flag, including: if there is an operation record of the drone, the last flight end position of the drone is the starting point, execute The aerial survey task of the remaining flight route; if there is no operation record of the drone, the aerial survey task will be executed according to the flight route of the operation sub-block.

在一些实施例中,可以在接收无人机的航测数据后,确定航测数据是否接收成功;若航测数据接收成功,则置位作业子块的编号对应的标志位。若存在未置位的标志位,发送指令至作业子块对应的无人机,从而控制无人机执行对未置位的标志位对应的作业子块的航测任务。若未置位的作业子块存在无人机的作业记录,则以上一次无人机的飞行结束位置为起点,执行剩余飞行航线的航测任务;若不存在无人机的作业记录,则按照作业子块的飞行航线执行航测任务。如此,实现了对作业进度的监控,以及实现了断点续飞等功能,提升工作效率,优化用户体验。In some embodiments, after receiving the aerial survey data of the drone, it can be determined whether the aerial survey data is successfully received; if the aerial survey data is received successfully, the flag bit corresponding to the number of the operation sub-block is set. If there is an unset flag bit, send an instruction to the drone corresponding to the operation sub-block to control the drone to perform aerial survey tasks for the operation sub-block corresponding to the unset flag bit. If there is a UAV operation record in the unset operation sub-block, the last UAV flight end position is the starting point, and the aerial survey task of the remaining flight route is performed; if there is no UAV operation record, follow the operation The flight path of the sub-block performs aerial survey tasks. In this way, it realizes the monitoring of the work progress, and realizes functions such as resuming the flight at a breakpoint, improving work efficiency and optimizing user experience.

图9为本申请一实施例提供的控制终端的结构示意图,如图9所示,本实施例的控制终端90可以包括:处理器91和存储器92。FIG. 9 is a schematic structural diagram of a control terminal provided by an embodiment of this application. As shown in FIG. 9, the control terminal 90 of this embodiment may include a processor 91 and a memory 92.

存储器92,用于存储程序;存储器92,可以包括易失性存储器(英文:volatile memory),例如随机存取存储器(英文:random-access memory,缩写:RAM),如静态随机存取存储器(英文:static random-access memory,缩写:SRAM),双倍数据率同步动态随机存取存储器(英文:Double Data Rate Synchronous Dynamic Random Access Memory,缩写:DDR SDRAM)等;存储器也可以包括非易失性存储器(英文:non-volatile memory),例如快闪存储器(英文:flash memory)。存储器92用于存储计算机程序(如实现上述方法的应用程序、功能模块等)、计算机指令等,上述的计 算机程序、计算机指令等可以分区存储在一个或多个存储器92中。并且上述的计算机程序、计算机指令、数据等可以被处理器91调用。The memory 92 is used to store programs; the memory 92 may include volatile memory (English: volatile memory), such as random-access memory (English: random-access memory, abbreviation: RAM), such as static random-access memory (English: volatile memory) : Static random-access memory, abbreviation: SRAM), double data rate synchronous dynamic random access memory (English: Double Data Rate Synchronous Dynamic Access Memory, abbreviation: DDR SDRAM), etc.; memory can also include non-volatile memory (English: non-volatile memory), such as flash memory (English: flash memory). The memory 92 is used to store computer programs (such as application programs and functional modules that implement the above methods), computer instructions, etc., and the above computer programs, computer instructions, etc. may be partitioned and stored in one or more memories 92. In addition, the aforementioned computer programs, computer instructions, data, etc. can be called by the processor 91.

上述的计算机程序、计算机指令等可以分区存储在一个或多个存储器92中。并且上述的计算机程序、计算机指令、数据等可以被处理器91调用。The aforementioned computer programs, computer instructions, etc. may be partitioned and stored in one or more memories 92. In addition, the aforementioned computer programs, computer instructions, data, etc. can be called by the processor 91.

处理器91,用于执行存储器92存储的计算机程序,以实现上述实施例涉及的方法中的各个步骤。The processor 91 is configured to execute a computer program stored in the memory 92 to implement each step in the method involved in the foregoing embodiment.

具体可以参见前面方法实施例中的相关描述。For details, refer to the related description in the foregoing method embodiment.

处理器91和存储器92可以是独立结构,也可以是集成在一起的集成结构。当处理器91和存储器92是独立结构时,存储器92、处理器91可以通过总线93耦合连接。The processor 91 and the memory 92 may be independent structures, or may be an integrated structure integrated together. When the processor 91 and the memory 92 are independent structures, the memory 92 and the processor 91 may be coupled and connected through the bus 93.

本实施例的控制终端90可以执行图2所示方法中的技术方案,其具体实现过程和技术原理参见图2所示方法中的相关描述,此处不再赘述。The control terminal 90 of this embodiment can execute the technical solution in the method shown in FIG. 2, and for the specific implementation process and technical principle, please refer to the related description in the method shown in FIG. 2, which will not be repeated here.

图10为本申请一实施例提供的无人机的结构示意图,如图10所示,本实施例的无人机1000可以包括:处理器1001和存储器1002。FIG. 10 is a schematic structural diagram of an unmanned aerial vehicle provided by an embodiment of the application. As shown in FIG. 10, the unmanned aerial vehicle 1000 of this embodiment may include a processor 1001 and a memory 1002.

存储器1002,用于存储程序;存储器1002,可以包括易失性存储器(英文:volatile memory),例如随机存取存储器(英文:random-access memory,缩写:RAM),如静态随机存取存储器(英文:static random-access memory,缩写:SRAM),双倍数据率同步动态随机存取存储器(英文:Double Data Rate Synchronous Dynamic Random Access Memory,缩写:DDR SDRAM)等;存储器也可以包括非易失性存储器(英文:non-volatile memory),例如快闪存储器(英文:flash memory)。存储器1002用于存储计算机程序(如实现上述方法的应用程序、功能模块等)、计算机指令等,上述的计算机程序、计算机指令等可以分区存储在一个或多个存储器1002中。并且上述的计算机程序、计算机指令、数据等可以被处理器1001调用。The memory 1002 is used to store programs; the memory 1002 may include volatile memory (English: volatile memory), such as random access memory (English: random-access memory, abbreviation: RAM), such as static random access memory (English: volatile memory) : Static random-access memory, abbreviation: SRAM), double data rate synchronous dynamic random access memory (English: Double Data Rate Synchronous Dynamic Access Memory, abbreviation: DDR SDRAM), etc.; memory can also include non-volatile memory (English: non-volatile memory), such as flash memory (English: flash memory). The memory 1002 is used to store computer programs (such as application programs and functional modules that implement the above methods), computer instructions, etc., and the above computer programs, computer instructions, etc. may be partitioned and stored in one or more memories 1002. In addition, the aforementioned computer programs, computer instructions, data, etc. can be called by the processor 1001.

上述的计算机程序、计算机指令等可以分区存储在一个或多个存储器1002中。并且上述的计算机程序、计算机指令、数据等可以被处理器1001调用。The aforementioned computer programs, computer instructions, etc. may be partitioned and stored in one or more memories 1002. In addition, the aforementioned computer programs, computer instructions, data, etc. can be called by the processor 1001.

处理器1001,用于执行存储器1002存储的计算机程序,以实现上述 实施例涉及的方法中的各个步骤。The processor 1001 is configured to execute a computer program stored in the memory 1002 to implement each step in the method involved in the foregoing embodiment.

具体可以参见前面方法实施例中的相关描述。For details, refer to the related description in the foregoing method embodiment.

处理器1001和存储器1002可以是独立结构,也可以是集成在一起的集成结构。当处理器1001和存储器1002是独立结构时,存储器1002、处理器1001可以通过总线1003耦合连接。The processor 1001 and the memory 1002 may be independent structures, or may be an integrated structure integrated together. When the processor 1001 and the memory 1002 are independent structures, the memory 1002 and the processor 1001 may be coupled and connected through the bus 1003.

本实施例的无人机1000可以执行图8所示方法中的技术方案,其具体实现过程和技术原理参见图8所示方法中的相关描述,此处不再赘述。The drone 1000 of this embodiment can execute the technical solution in the method shown in FIG. 8. For the specific implementation process and technical principle, please refer to the related description in the method shown in FIG. 8, which will not be repeated here.

此外,本申请实施例还提供一种计算机可读存储介质,计算机可读存储介质中存储有计算机执行指令,当用户设备的至少一个处理器执行该计算机执行指令时,用户设备执行上述各种可能的方法。In addition, the embodiments of the present application also provide a computer-readable storage medium. The computer-readable storage medium stores computer-executable instructions. When at least one processor of the user equipment executes the computer-executable instructions, the user equipment executes the aforementioned various possibilities. Methods.

其中,计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是通用或专用计算机能够存取的任何可用介质。一种示例性的存储介质耦合至处理器,从而使处理器能够从该存储介质读取信息,且可向该存储介质写入信息。当然,存储介质也可以是处理器的组成部分。处理器和存储介质可以位于ASIC中。另外,该ASIC可以位于用户设备中。当然,处理器和存储介质也可以作为分立组件存在于通信设备中。Among them, the computer-readable medium includes a computer storage medium and a communication medium, and the communication medium includes any medium that facilitates the transfer of a computer program from one place to another. The storage medium may be any available medium that can be accessed by a general-purpose or special-purpose computer. An exemplary storage medium is coupled to the processor, so that the processor can read information from the storage medium and can write information to the storage medium. Of course, the storage medium may also be an integral part of the processor. The processor and the storage medium may be located in the ASIC. In addition, the ASIC may be located in the user equipment. Of course, the processor and the storage medium may also exist as discrete components in the communication device.

本申请还提供一种程序产品,程序产品包括计算机程序,计算机程序存储在可读存储介质中,服务器的至少一个处理器可以从可读存储介质读取计算机程序,至少一个处理器执行计算机程序使得服务器实施上述本发明实施例任一的方法。This application also provides a program product. The program product includes a computer program. The computer program is stored in a readable storage medium. At least one processor of the server can read the computer program from the readable storage medium. At least one processor executes the computer program so that The server implements any of the methods in the foregoing embodiments of the present invention.

本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:只读内存(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。A person of ordinary skill in the art can understand that all or part of the steps in the above method embodiments can be implemented by a program instructing relevant hardware. The foregoing program can be stored in a computer readable storage medium. When the program is executed, it is executed. Including the steps of the foregoing method embodiment; and the foregoing storage medium includes: read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disks or optical disks, etc., which can store program codes Medium.

最后应说明的是:以上各实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述各实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改, 或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the application, not to limit them; although the application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand: It is still possible to modify the technical solutions described in the foregoing embodiments, or equivalently replace some or all of the technical features; these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the embodiments of the application range.

Claims (60)

一种飞行航线生成方法,应用于控制终端,其特征在于,所述控制终端用于控制至少一个无人机,所述方法包括:A flight route generation method applied to a control terminal, wherein the control terminal is used to control at least one UAV, and the method includes: 获取作业区域;Get the work area; 获取分割网格的参数信息,其中,所述参数信息与所述无人机的飞行范围相关;Acquiring parameter information of the segmented grid, where the parameter information is related to the flight range of the drone; 根据所述分割网格的参数信息,将所述作业区域划分为多个作业子块;Dividing the work area into multiple work sub-blocks according to the parameter information of the split grid; 在多个所述作业子块上分别生成飞行航线。A flight route is generated on a plurality of the operation sub-blocks respectively. 根据权利要求1所述的方法,其特征在于,所述获取作业区域,包括:The method according to claim 1, wherein said obtaining a work area comprises: 在背景地图上获取作业区域。Get the work area on the background map. 根据权利要求2所述的方法,其特征在于,所述在背景地图上获取作业区域,包括:The method according to claim 2, characterized in that said obtaining a work area on a background map comprises: 获取目标飞行任务文件,其中,所述目标飞行任务文件包括目标航点的位置信息;Acquiring a target flight mission file, where the target flight mission file includes location information of the target waypoint; 根据所述目标航点的位置信息,确定由所述目标航点构成的所述作业区域。According to the position information of the target waypoint, the operation area formed by the target waypoint is determined. 根据权利要求3所述的方法,其特征在于,在所述背景地图上显示所述作业区域。The method according to claim 3, wherein the work area is displayed on the background map. 根据权利要求2所述的方法,其特征在于,在背景地图上获取作业区域,包括:The method according to claim 2, characterized in that, obtaining the work area on the background map comprises: 接收用户发送的第一指令;Receive the first instruction sent by the user; 根据所述第一指令,确定所述背景地图上的作业区域;其中,所述第一指令包括:点击信号和/或滑动信号。According to the first instruction, the work area on the background map is determined; wherein, the first instruction includes: a click signal and/or a sliding signal. 根据权利要求1-5任一项所述的方法,其特征在于,所述参数信息包括:所述分割网格的类型和/或所述分割网格的面积。The method according to any one of claims 1-5, wherein the parameter information comprises: the type of the division grid and/or the area of the division grid. 根据权利要求1-5任一项所述的方法,其特征在于,所述无人机的飞行范围是指所述无人机单次飞行的范围。The method according to any one of claims 1 to 5, wherein the flying range of the drone refers to the range of a single flight of the drone. 根据权利要求1-5任一项所述的方法,其特征在于,所述获取分割网格的参数信息,包括:The method according to any one of claims 1 to 5, wherein the obtaining parameter information of the segmented grid comprises: 接收用户输入的所述分割网格的参数信息。Receiving the parameter information of the segmented grid input by the user. 根据权利要求1-5任一项所述的方法,其特征在于,所述获取所述分割网格的参数信息,包括:The method according to any one of claims 1-5, wherein the obtaining parameter information of the segmented grid comprises: 根据所述无人机的参数,确定所述分割网格的参数信息。Determine the parameter information of the segmented grid according to the parameters of the drone. 根据权利要求9所述的方法,其特征在于,所述根据所述无人机的参数,确定所述分割网格的参数信息,包括:The method according to claim 9, wherein the determining the parameter information of the segmentation grid according to the parameters of the drone comprises: 根据所述无人机的机型和所述无人机的飞行高度,确定所述无人机的续航时间和/或航线距离;Determine the endurance time and/or route distance of the drone according to the model of the drone and the flying height of the drone; 根据所述续航时间和/或航线距离,确定所述无人机的单次作业的范围;Determine the range of a single operation of the drone according to the endurance time and/or route distance; 根据所述无人机的单次作业的范围,确定所述分割网格的参数信息。Determine the parameter information of the division grid according to the range of the single operation of the drone. 根据权利要求2所述的方法,其特征在于,所述获取分割网格的参数信息,还包括:The method according to claim 2, wherein said acquiring parameter information of the segmented grid further comprises: 根据所述参数信息,在所述背景地图上以预设的线型显示所述分割网格;其中,所述分割网格在所述背景地图上的投影范围覆盖所述作业区域。According to the parameter information, the division grid is displayed in a preset line type on the background map; wherein the projection range of the division grid on the background map covers the work area. 根据权利要求2所述的方法,其特征在于,在根据所述分割网格的参数信息,将所述作业区域划分为多个作业子块之前,还包括:The method according to claim 2, characterized in that, before dividing the work area into a plurality of work sub-blocks according to the parameter information of the division grid, the method further comprises: 调整所述分割网格在所述背景地图上的位置。Adjusting the position of the segmented grid on the background map. 根据权利要求12所述的方法,其特征在于,所述调整所述分割网格在所述背景地图上的位置,包括:The method according to claim 12, wherein the adjusting the position of the segmentation grid on the background map comprises: 接收用户输入的第二指令;Receiving the second instruction input by the user; 根据所述第二指令,控制所述分割网格执行以下任一或者任多操作:According to the second instruction, control the segmented grid to perform any one or more of the following operations: 向左移动;move to the left; 向右移动;move to the right; 向上移动;Move up; 向下移动;Move Downward; 向顺时针方向旋转预设角度;Rotate the preset angle clockwise; 向逆时针方向旋转预设角度。Rotate the preset angle counterclockwise. 根据权利要求12所述的方法,其特征在于,所述调整所述分割网格在所述背景地图上的位置,包括:The method according to claim 12, wherein the adjusting the position of the segmentation grid on the background map comprises: 根据预设策略,调整所述分割网格在所述背景地图上的位置;其中,所述预设策略是指:所述作业区域所占据的网格数量最少。Adjust the position of the segmented grid on the background map according to a preset strategy; wherein, the preset strategy refers to the least number of grids occupied by the work area. 根据权利要求1所述的方法,其特征在于,根据所述分割网格的参数信息,将所述作业区域划分为多个作业子块,包括:The method according to claim 1, wherein the dividing the work area into multiple work sub-blocks according to the parameter information of the split grid comprises: 根据所述分割网格的参数信息,将所述作业区域划分为多个分区;Dividing the work area into multiple partitions according to the parameter information of the split grid; 对多个所述分区进行合并处理,得到所述作业子块。The multiple partitions are combined to obtain the job sub-block. 根据权利要求15所述的方法,其特征在于,所述对多个所述分区进行合并处理,得到所述作业子块,包括:15. The method according to claim 15, wherein the merging of a plurality of the partitions to obtain the job sub-block comprises: 接收用户输入的第三指令;Receive the third instruction input by the user; 根据所述第三指令,确定待合并的网格;Determine the grid to be merged according to the third instruction; 将所述待合并的网格中的分区合并为一个作业子块。Combine the partitions in the grid to be combined into one job sub-block. 根据权利要求16所述的方法,其特征在于,在对多个所述分区进行合并处理之后,还包括:The method according to claim 16, characterized in that, after the multiple partitions are merged, the method further comprises: 接收用户输入的第四指令;Receiving the fourth instruction input by the user; 根据所述第四指令,撤销对所述分区的合并。According to the fourth instruction, the merge of the partition is cancelled. 根据权利要求15所述的方法,其特征在于,所述对多个所述分区进行合并处理,得到所述作业子块,包括:15. The method according to claim 15, wherein the merging of a plurality of the partitions to obtain the job sub-block comprises: 遍历所有所述分区,若所述分区占据的面积小于所述分割网格的面积,则将所述分区与相邻的其他分区合并为一个作业子块;直到所有分区的面积均大于所述分割网格面积的1/2。Traverse all the partitions, if the area occupied by the partition is smaller than the area of the division grid, merge the partition with other adjacent partitions into one job sub-block; until the area of all partitions is larger than the partition 1/2 of the grid area. 根据权利要求15所述的方法,其特征在于,所述对多个所述分区进行合并处理,得到所述作业子块,包括:15. The method according to claim 15, wherein the merging of a plurality of the partitions to obtain the job sub-block comprises: 遍历所有所述分区,若所述分区占据的面积小于所述分割网格的面积的1/4,且所述分区与相邻的分区合并之后的总面积小于两个所述分割网格的总面积时,将所述分区与所述相邻的分区进行合并。Traverse all the partitions, if the area occupied by the partition is less than 1/4 of the area of the division grid, and the total area after the partition and the adjacent partition are merged is less than the total of the two division grids In the case of area, the partition is merged with the adjacent partition. 根据权利要求15所述的方法,其特征在于,所述对多个所述分区进行合并处理,得到所述作业子块,包括:15. The method according to claim 15, wherein the merging of a plurality of the partitions to obtain the job sub-block comprises: 遍历所有所述分区,若存在两个或以上的相邻分区与所述分区符合合并条件,则将相邻的面积最小的分区与所述分区进行合并。Traverse all the partitions, and if there are two or more adjacent partitions that meet the merge condition with the partition, merge the partition with the smallest adjacent area with the partition. 根据权利要求15-20任一项所述的方法,其特征在于,在将所述待合并的网格中的分区合并为一个作业子块之后,还包括:The method according to any one of claims 15-20, wherein after merging the partitions in the grid to be merged into one job sub-block, the method further comprises: 确定合并得到的所述作业子块对应的图形端点是否存在拐点;Determining whether there is an inflection point at the end point of the graph corresponding to the combined operation sub-block; 若存在拐点,则撤销合并。If there is an inflection point, cancel the merger. 根据权利要求1所述的方法,其特征在于,在多个所述作业子块上分别生成飞行航线,包括:The method according to claim 1, wherein generating a flight route on a plurality of the operation sub-blocks respectively comprises: 确定每个所述作业子块的目标任务;Determine the target task of each of the job sub-blocks; 根据所述目标任务,在多个所述作业子块上分别生成飞行航线。According to the target task, a flight route is generated on a plurality of the operation sub-blocks. 根据权利要求22所述的方法,其特征在于,所述目标任务包括以下至少一种:飞行模式、云台参数、相机参数、飞行高度。The method according to claim 22, wherein the target task includes at least one of the following: flight mode, pan/tilt parameters, camera parameters, and flight altitude. 根据权利要求1所述的方法,其特征在于,还包括:The method according to claim 1, further comprising: 对所述作业子块进行编号,并确定与所述作业子块的编号对应的标志位。The operation sub-blocks are numbered, and a flag bit corresponding to the number of the operation sub-block is determined. 根据权利要求24所述的方法,其特征在于,还包括:The method according to claim 24, further comprising: 接收无人机发送的航测数据,所述航测数据包括所述作业子块的编号;Receiving aerial survey data sent by a drone, where the aerial survey data includes the number of the operation sub-block; 置位所述作业子块的编号对应的标志位。Set the flag bit corresponding to the number of the job sub-block. 根据权利要求25所述的方法,其特征在于,所述置位所述作业子块的编号对应的标志位,包括:The method according to claim 25, wherein the setting a flag bit corresponding to the number of the job sub-block comprises: 确定所述航测数据是否接收成功;Determine whether the aerial survey data is successfully received; 若所述航测数据接收成功,则置位所述作业子块的编号对应的标志位。If the aerial survey data is successfully received, the flag bit corresponding to the number of the operation sub-block is set. 根据权利要求26所述的方法,其特征在于,还包括:The method according to claim 26, further comprising: 读取每个所述作业子块对应的所述标志位;Reading the flag bit corresponding to each of the job sub-blocks; 若存在未置位的所述标志位,发送指令至所述作业子块对应的无人机,所述指令用于控制所述无人机执行对未置位的标志位对应的作业子块的航测任务;If there is an unset flag bit, send an instruction to the drone corresponding to the operation sub-block, and the instruction is used to control the drone to execute the operation sub-block corresponding to the unset flag bit Aerial survey mission; 获取下一个所述作业子块对应的标志位,直至置位所有所述作业子块对应的标志位。Obtain the flag bits corresponding to the next job sub-block until the flag bits corresponding to all the job sub-blocks are set. 根据权利要求27所述的方法,其特征在于,所述控制所述无人机执行对所述未置位的标志位对应的作业子块的航测任务,包括:The method according to claim 27, wherein the controlling the drone to perform an aerial survey task of the operation sub-block corresponding to the unset flag bit comprises: 确定所述未置位的标志位对应的作业子块是否存在无人机的作业记录;所述作业记录包括:上一次无人机的飞行结束位置和/或剩余飞行航线。It is determined whether the operation sub-block corresponding to the unset flag has an operation record of the UAV; the operation record includes: the flight end position of the last UAV and/or the remaining flight route. 根据权利要求28所述的方法,其特征在于,确定所述未置位的标志位对应的作业子块是否存在无人机的作业记录,包括:The method according to claim 28, wherein determining whether the operation sub-block corresponding to the unset flag bit has an operation record of a drone includes: 若存在无人机的作业记录,则以上一次无人机的飞行结束位置为起点, 执行所述剩余飞行航线的航测任务;If there is a UAV operation record, the last UAV flight end position is the starting point, and the aerial survey task of the remaining flight route is performed; 若不存在无人机的作业记录,则按照所述作业子块的飞行航线执行航测任务。If there is no operation record of the UAV, the aerial survey task is executed according to the flight route of the operation sub-block. 一种飞行航线生成方法,应用于无人机,其特征在于,包括:A method for generating flight routes applied to unmanned aerial vehicles, characterized in that it includes: 获取作业区域;Get the work area; 获取分割网格的参数信息,其中,所述参数信息与所述无人机的飞行范围相关;Acquiring parameter information of the segmented grid, where the parameter information is related to the flight range of the drone; 根据所述分割网格的参数信息,将所述作业区域划分为多个作业子块;Dividing the work area into multiple work sub-blocks according to the parameter information of the split grid; 在多个所述作业子块上分别生成飞行航线。A flight route is generated on a plurality of the operation sub-blocks respectively. 根据权利要求30所述的方法,其特征在于,所述获取作业区域,包括:The method according to claim 30, wherein said obtaining a work area comprises: 获取目标飞行任务文件,其中,所述目标飞行任务文件包括目标航点的位置信息;Acquiring a target flight mission file, where the target flight mission file includes location information of the target waypoint; 根据所述目标航点的位置信息,确定由所述目标航点构成的所述作业区域。According to the position information of the target waypoint, the operation area formed by the target waypoint is determined. 根据权利要求30所述的方法,其特征在于,所述获取作业区域,包括:The method according to claim 30, wherein said obtaining a work area comprises: 在无人机的飞行轨迹上选取多个目标航点的位置信息;Select the location information of multiple target waypoints on the flight trajectory of the drone; 根据所述目标航点的位置信息,确定由所述目标航点构成的所述作业区域。According to the position information of the target waypoint, the operation area formed by the target waypoint is determined. 根据权利要求30-32任一项所述的方法,其特征在于,所述参数信息包括:所述分割网格的类型和/或所述分割网格的面积。The method according to any one of claims 30-32, wherein the parameter information comprises: the type of the division grid and/or the area of the division grid. 根据权利要求30-32任一项所述的方法,其特征在于,所述无人机的飞行范围是指所述无人机单次飞行的范围。The method according to any one of claims 30-32, wherein the flying range of the drone refers to the range of a single flight of the drone. 根据权利要求30-32任一项所述的方法,其特征在于,所述获取分割网格的参数信息,包括:The method according to any one of claims 30-32, wherein the obtaining parameter information of the segmented grid comprises: 接收用户输入的所述分割网格的参数信息。Receiving the parameter information of the segmented grid input by the user. 根据权利要求30-32任一项所述的方法,其特征在于,所述获取所述分割网格的参数信息,包括:The method according to any one of claims 30-32, wherein the acquiring parameter information of the segmentation grid comprises: 根据所述无人机的参数,确定所述分割网格的参数信息。Determine the parameter information of the segmented grid according to the parameters of the drone. 根据权利要求36所述的方法,其特征在于,所述根据所述无人机的参数,确定所述分割网格的参数信息,包括:The method according to claim 36, wherein the determining the parameter information of the segmentation grid according to the parameters of the UAV comprises: 根据所述无人机的机型和所述无人机的飞行高度,确定所述无人机的续航时间和/或航线距离;Determine the endurance time and/or route distance of the drone according to the model of the drone and the flying height of the drone; 根据所述续航时间和/或航线距离,确定所述无人机的单次作业的范围;Determine the range of a single operation of the drone according to the endurance time and/or route distance; 根据所述无人机的单次作业的范围,确定所述分割网格的参数信息。Determine the parameter information of the division grid according to the range of the single operation of the drone. 根据权利要求30所述的方法,其特征在于,所述获取分割网格的参数信息,还包括:The method according to claim 30, wherein said obtaining parameter information of the segmentation grid further comprises: 根据所述参数信息,在背景地图上以预设的线型显示所述分割网格;其中,所述分割网格在所述背景地图上的投影范围覆盖所述作业区域。According to the parameter information, the segmented grid is displayed in a preset line on a background map; wherein the projection range of the segmented grid on the background map covers the work area. 根据权利要求30所述的方法,其特征在于,在根据所述分割网格的参数信息,将所述作业区域划分为多个作业子块之前,还包括:The method according to claim 30, wherein before dividing the work area into a plurality of work sub-blocks according to the parameter information of the division grid, the method further comprises: 调整所述分割网格在背景地图上的位置。Adjust the position of the segmented grid on the background map. 根据权利要求39所述的方法,其特征在于,所述调整所述分割网格在背景地图上的位置,包括:The method according to claim 39, wherein said adjusting the position of said segmentation grid on a background map comprises: 接收控制终端输入的第二指令;Receiving a second instruction input by the control terminal; 根据所述第二指令,控制所述分割网格执行以下任一或者任多操作:According to the second instruction, control the segmented grid to perform any one or more of the following operations: 向左移动;move to the left; 向右移动;move to the right; 向上移动;Move up; 向下移动;Move Downward; 向顺时针方向旋转预设角度;Rotate the preset angle clockwise; 向逆时针方向旋转预设角度。Rotate the preset angle counterclockwise. 根据权利要求39所述的方法,其特征在于,所述调整所述分割网格在所述背景地图上的位置,包括:The method according to claim 39, wherein said adjusting the position of said segmentation grid on said background map comprises: 根据预设策略,调整所述分割网格在所述背景地图上的位置;其中,所述预设策略是指:所述作业区域所占据的网格数量最少。Adjust the position of the segmented grid on the background map according to a preset strategy; wherein, the preset strategy refers to the least number of grids occupied by the work area. 根据权利要求30所述的方法,其特征在于,根据所述分割网格的参数信息,将所述作业区域划分为多个作业子块,包括:The method according to claim 30, wherein dividing the work area into a plurality of work sub-blocks according to the parameter information of the split grid comprises: 根据所述分割网格的参数信息,将所述作业区域划分为多个分区;Dividing the work area into multiple partitions according to the parameter information of the split grid; 对多个所述分区进行合并处理,得到所述作业子块。The multiple partitions are combined to obtain the job sub-block. 根据权利要求42所述的方法,其特征在于,所述对多个所述分区进行合并处理,得到所述作业子块,包括:42. The method according to claim 42, wherein said merging a plurality of said partitions to obtain said job sub-block comprises: 接收用户输入的第三指令;Receive the third instruction input by the user; 根据所述第三指令,确定待合并的网格;Determine the grid to be merged according to the third instruction; 将所述待合并的网格中的分区合并为一个作业子块。Combine the partitions in the grid to be combined into one job sub-block. 根据权利要求43所述的方法,其特征在于,在对多个所述分区进行合并处理之后,还包括:The method according to claim 43, characterized in that, after merging the multiple partitions, the method further comprises: 接收用户输入的第四指令;Receiving the fourth instruction input by the user; 根据所述第四指令,撤销对所述分区的合并。According to the fourth instruction, the merge of the partition is cancelled. 根据权利要求42所述的方法,其特征在于,所述对多个所述分区进行合并处理,得到所述作业子块,包括:42. The method according to claim 42, wherein said merging a plurality of said partitions to obtain said job sub-block comprises: 遍历所有所述分区,若所述分区占据的面积小于所述分割网格的面积,则将所述分区与相邻的其他分区合并为一个作业子块;直到所有分区的面积均大于所述分割网格面积的1/2。Traverse all the partitions, if the area occupied by the partition is smaller than the area of the division grid, merge the partition with other adjacent partitions into one job sub-block; until the area of all partitions is larger than the partition 1/2 of the grid area. 根据权利要求42所述的方法,其特征在于,所述对多个所述分区进行合并处理,得到所述作业子块,包括:42. The method according to claim 42, wherein said merging a plurality of said partitions to obtain said job sub-block comprises: 遍历所有所述分区,若所述分区占据的面积小于所述分割网格的面积的1/4,且所述分区与相邻的分区合并之后的总面积小于两个所述分割网格的总面积时,将所述分区与所述相邻的分区进行合并。Traverse all the partitions, if the area occupied by the partition is less than 1/4 of the area of the division grid, and the total area after the partition and the adjacent partition are merged is less than the total of the two division grids In the case of area, the partition is merged with the adjacent partition. 根据权利要求42所述的方法,其特征在于,所述对多个所述分区进行合并处理,得到所述作业子块,包括:42. The method according to claim 42, wherein said merging a plurality of said partitions to obtain said job sub-block comprises: 遍历所有所述分区,若存在两个或以上的相邻分区与所述分区符合合并条件,则将相邻的面积最小的分区与所述分区进行合并。Traverse all the partitions, and if there are two or more adjacent partitions that meet the merge condition with the partition, merge the partition with the smallest adjacent area with the partition. 根据权利要求42-47任一项所述的方法,其特征在于,在将所述待合并的网格中的分区合并为一个作业子块之后,还包括:The method according to any one of claims 42-47, wherein after merging the partitions in the grid to be merged into one job sub-block, the method further comprises: 确定合并得到的所述作业子块对应的图形端点是否存在拐点;Determining whether there is an inflection point at the end point of the graph corresponding to the combined operation sub-block; 若存在拐点,则撤销合并。If there is an inflection point, cancel the merger. 根据权利要求30所述的方法,其特征在于,在多个所述作业子块上分别生成飞行航线,包括:The method according to claim 30, wherein generating a flight route on a plurality of the operation sub-blocks respectively comprises: 确定每个所述作业子块的目标任务;Determine the target task of each of the job sub-blocks; 根据所述目标任务,在多个所述作业子块上分别生成飞行航线。According to the target task, a flight route is generated on a plurality of the operation sub-blocks. 根据权利要求49所述的方法,其特征在于,所述目标任务包括以下至少一种:飞行模式、云台参数、相机参数、飞行高度。The method according to claim 49, wherein the target task includes at least one of the following: flight mode, pan/tilt parameters, camera parameters, and flight altitude. 根据权利要求30所述的方法,其特征在于,还包括:The method according to claim 30, further comprising: 对所述作业子块进行编号,并确定与所述作业子块的编号对应的标志位。The operation sub-blocks are numbered, and a flag bit corresponding to the number of the operation sub-block is determined. 根据权利要求51所述的方法,其特征在于,还包括:The method of claim 51, further comprising: 向控制终端发送航测数据,所述航测数据包括所述作业子块的编号;以使得所述控制终端置位所述作业子块的编号对应的标志位。Sending aerial survey data to the control terminal, where the aerial survey data includes the number of the operation sub-block; so that the control terminal sets a flag bit corresponding to the number of the operation sub-block. 根据权利要求52所述的方法,其特征在于,所述控制终端仅在成功接收所述航测数据时置位所述作业子块的编号对应的标志位。The method according to claim 52, wherein the control terminal only sets a flag bit corresponding to the number of the operation sub-block when successfully receiving the aerial survey data. 根据权利要求53所述的方法,其特征在于,还包括:The method of claim 53, further comprising: 接收所述控制终端发送的任务指令;Receiving a task instruction sent by the control terminal; 根据所述任务指令,执行未置位的标志位对应的作业子块的航测任务。According to the task instruction, the aerial survey task of the operation sub-block corresponding to the unset flag bit is executed. 根据权利要求54所述的方法,其特征在于,所述执行未置位的标志位对应的作业子块的航测任务,包括:The method according to claim 54, characterized in that the executing the aerial survey task of the operation sub-block corresponding to the unset flag bit comprises: 确定所述未置位的标志位对应的作业子块是否存在无人机的作业记录;所述作业记录包括:上一次无人机的飞行结束位置和/或剩余飞行航线。It is determined whether the operation sub-block corresponding to the unset flag has an operation record of the UAV; the operation record includes: the flight end position of the last UAV and/or the remaining flight route. 根据权利要求55所述的方法,其特征在于,确定所述未置位的标志位对应的作业子块是否存在无人机的作业记录,包括:The method according to claim 55, wherein determining whether the operation sub-block corresponding to the unset flag bit has a UAV operation record includes: 若存在无人机的作业记录,则以上一次无人机的飞行结束位置为起点,执行所述剩余飞行航线的航测任务;If there is a UAV operation record, the last UAV flight end position is the starting point, and the aerial survey task of the remaining flight route is performed; 若不存在无人机的作业记录,则按照所述作业子块的飞行航线执行航测任务。If there is no operation record of the UAV, the aerial survey task is executed according to the flight route of the operation sub-block. 一种控制终端,其特征在于,包括:处理器,以及与所述处理连接的存储装置,所述存储装置用于存储运行指令,当处理器执行运行指令时,所述处理器用于执行如1-29任一项所述的飞行航线生成方法。A control terminal, characterized by comprising: a processor, and a storage device connected to the processing, the storage device is used to store operating instructions, when the processor executes the operating instructions, the processor is used to execute operations such as 1. -29 The flight route generation method described in any one. 一种无人机,其特征在于,包括:处理器,以及与所述处理连接的存储装置,所述存储装置用于存储运行指令,当处理器执行运行指令时,所述处理器用于执行如30-56任一项所述的飞行航线生成方法。An unmanned aerial vehicle, characterized by comprising: a processor, and a storage device connected to the processing, the storage device is used to store operating instructions, when the processor executes the operating instructions, the processor is used to execute 30-56 Any one of the flight route generation method. 一种可读存储介质,其特征在于,所述可读存储介质上存储有计算机程序;所述计算机程序在被执行时,实现如权利要求1-29任一项所述的飞行航线生成方法。A readable storage medium, characterized in that a computer program is stored on the readable storage medium; when the computer program is executed, the method for generating a flight route according to any one of claims 1-29 is realized. 一种可读存储介质,其特征在于,所述可读存储介质上存储有计算机程序;所述计算机程序在被执行时,实现如权利要求30-56任一项所述的飞行航线生成方法。A readable storage medium, wherein a computer program is stored on the readable storage medium; when the computer program is executed, the method for generating a flight route according to any one of claims 30-56 is realized.
PCT/CN2019/088609 2019-05-27 2019-05-27 Flight route generation method, terminal and unmanned aerial vehicle Ceased WO2020237471A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201980011942.0A CN111699455B (en) 2019-05-27 2019-05-27 Flight route generation method, terminal and unmanned aerial vehicle
PCT/CN2019/088609 WO2020237471A1 (en) 2019-05-27 2019-05-27 Flight route generation method, terminal and unmanned aerial vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/088609 WO2020237471A1 (en) 2019-05-27 2019-05-27 Flight route generation method, terminal and unmanned aerial vehicle

Publications (1)

Publication Number Publication Date
WO2020237471A1 true WO2020237471A1 (en) 2020-12-03

Family

ID=72476445

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/088609 Ceased WO2020237471A1 (en) 2019-05-27 2019-05-27 Flight route generation method, terminal and unmanned aerial vehicle

Country Status (2)

Country Link
CN (1) CN111699455B (en)
WO (1) WO2020237471A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114610067A (en) * 2022-03-16 2022-06-10 北京市农林科学院智能装备技术研究中心 A UAV operation method, device, electronic equipment and storage medium

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112697147B (en) * 2020-12-01 2022-06-21 广州极飞科技股份有限公司 Method, device and system for determining aerial survey mode
CN114600055A (en) * 2020-12-29 2022-06-07 深圳市大疆创新科技有限公司 Spray planning method, equipment, drone and storage medium for drones
CN113340307A (en) * 2021-05-31 2021-09-03 南通大学 Unmanned aerial vehicle path planning method based on field division
CN114320862A (en) * 2021-11-23 2022-04-12 国网浙江省电力有限公司嘉兴供电公司 Energy-saving optimization method for air compressor
CN114489149A (en) * 2022-02-23 2022-05-13 中山大学 Three-dimensional reconstruction-oriented multi-unmanned aerial vehicle coverage path planning method
CN114647256A (en) * 2022-05-23 2022-06-21 山东省地质测绘院 Geological mapping method and system based on unmanned aerial vehicle
CN115133871A (en) * 2022-07-19 2022-09-30 阳光新能源开发股份有限公司 Method and system for measuring reflectance, photovoltaic system
CN115406561A (en) * 2022-09-28 2022-11-29 北京智芯微电子科技有限公司 Temperature measurement calibration method and device for temperature measurement chip, electronic equipment, medium and chip
CN115438063A (en) * 2022-11-07 2022-12-06 深圳市道通智能航空技术股份有限公司 Data processing method, data processing device and electronic equipment of cluster system
CN116703535A (en) * 2023-08-08 2023-09-05 先正达集团现代农业科技有限公司 Order execution method and system for flight protection operation service

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105549619A (en) * 2016-02-03 2016-05-04 苏州大势智慧信息科技有限公司 Multi-rising-and-landing-point course planning method used for cruising power of unmanned aircraft
CN106371456A (en) * 2016-08-31 2017-02-01 中测新图(北京)遥感技术有限责任公司 Unmanned plane patrol method and system
CN107037829A (en) * 2017-05-09 2017-08-11 广东容祺智能科技有限公司 A kind of cluster unmanned plane route planning method
CN107924188A (en) * 2016-07-04 2018-04-17 深圳市大疆创新科技有限公司 Flight path planning, control method and the system of a kind of unmanned plane
CN108366118A (en) * 2018-02-11 2018-08-03 苏州光之翼智能科技有限公司 A kind of real-time mapping system of distributed unmanned plane based on cloud computing
CN109253729A (en) * 2018-09-19 2019-01-22 沈阳无距科技有限公司 A kind of unmanned plane route planning method, device and electronic equipment
CN109520504A (en) * 2018-11-27 2019-03-26 北京航空航天大学 A kind of unmanned plane inspection method for optimizing route based on grid discretization

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106970637A (en) * 2017-05-23 2017-07-21 厦门南羽科技有限公司 Flight course planning method and device
CN109035869A (en) * 2017-07-26 2018-12-18 广州极飞科技有限公司 The generation method and device in unmanned plane course line
CN109324337B (en) * 2017-07-31 2022-01-14 广州极飞科技股份有限公司 Unmanned aerial vehicle route generation and positioning method and device and unmanned aerial vehicle
WO2019119187A1 (en) * 2017-12-18 2019-06-27 深圳市大疆创新科技有限公司 Route planning method for unmanned aerial vehicle, control device, and storage medium
CN109035871B (en) * 2018-07-17 2020-05-22 深圳常锋信息技术有限公司 Unmanned aerial vehicle flight route planning method, device and system and intelligent terminal
CN109375636A (en) * 2018-12-13 2019-02-22 广州极飞科技有限公司 Generation method, device, unmanned plane and the storage medium in unmanned plane course line

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105549619A (en) * 2016-02-03 2016-05-04 苏州大势智慧信息科技有限公司 Multi-rising-and-landing-point course planning method used for cruising power of unmanned aircraft
CN107924188A (en) * 2016-07-04 2018-04-17 深圳市大疆创新科技有限公司 Flight path planning, control method and the system of a kind of unmanned plane
CN106371456A (en) * 2016-08-31 2017-02-01 中测新图(北京)遥感技术有限责任公司 Unmanned plane patrol method and system
CN107037829A (en) * 2017-05-09 2017-08-11 广东容祺智能科技有限公司 A kind of cluster unmanned plane route planning method
CN108366118A (en) * 2018-02-11 2018-08-03 苏州光之翼智能科技有限公司 A kind of real-time mapping system of distributed unmanned plane based on cloud computing
CN109253729A (en) * 2018-09-19 2019-01-22 沈阳无距科技有限公司 A kind of unmanned plane route planning method, device and electronic equipment
CN109520504A (en) * 2018-11-27 2019-03-26 北京航空航天大学 A kind of unmanned plane inspection method for optimizing route based on grid discretization

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
PENG, HUI ET AL.: "Research on Multiple UAV Cooperative Area Coverage Searching", JOURNAL OF SYSTEM SIMULATION, vol. 19, no. 11, 30 June 2007 (2007-06-30), ISSN: 1004-731X, DOI: 20200224170535A *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114610067A (en) * 2022-03-16 2022-06-10 北京市农林科学院智能装备技术研究中心 A UAV operation method, device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN111699455A (en) 2020-09-22
CN111699455B (en) 2024-06-14

Similar Documents

Publication Publication Date Title
CN111699455B (en) Flight route generation method, terminal and unmanned aerial vehicle
US12222218B2 (en) Techniques for collaborative map construction between an unmanned aerial vehicle and a ground vehicle
US20230274653A1 (en) Techniques for sharing mapping data between an unmanned aerial vehicle and a ground vehicle
CN110771141B (en) Shooting method and unmanned aerial vehicle
CN106774431B (en) Method and device for planning air route of surveying and mapping unmanned aerial vehicle
CN112912811B (en) Unmanned aerial vehicle path planning method and device and unmanned aerial vehicle
WO2021052334A1 (en) Return method and device for unmanned aerial vehicle, and unmanned aerial vehicle
CN111650962B (en) Multi-rotor unmanned aerial vehicle route planning and aerial photography method suitable for banded survey area
CN105045279A (en) System and method for automatically generating panorama photographs through aerial photography of unmanned aerial aircraft
CN104994355A (en) Intelligent active image acquisition and update system and method
WO2021232407A1 (en) Spraying control method and apparatus
US20240176367A1 (en) Uav dispatching method, server, dock apparatus, system, and storage medium
WO2021159249A1 (en) Route planning method and device, and storage medium
CN112639735A (en) Distribution of calculated quantities
WO2020062178A1 (en) Map-based method for identifying target object, and control terminal
WO2021237462A1 (en) Altitude limting method and apparatus for unmanned aerial vehicle, unmanned aerial vehicle, and storage medium
WO2022011623A1 (en) Photographing control method and device, unmanned aerial vehicle, and computer-readable storage medium
WO2021168819A1 (en) Return control method and device for unmanned aerial vehicle
US20210208608A1 (en) Control method, control apparatus, control terminal for unmanned aerial vehicle
Bailey Unmanned aerial vehicle path planning and image processing for orthoimagery and digital surface model generation
US20240019866A1 (en) Aerial vehicle control method and apparatus, aerial vehicle, and storage medium
US20220214700A1 (en) Control method and device, and storage medium
WO2020225979A1 (en) Information processing device, information processing method, program, and information processing system
CN117311391A (en) Unmanned aerial vehicle flight control method, unmanned aerial vehicle system and storage medium
WO2023082066A1 (en) Operation planning method, control apparatus, control terminal, and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19930737

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19930737

Country of ref document: EP

Kind code of ref document: A1