WO2019091226A1 - Unmanned aerial vehicle control method and terminal - Google Patents

Unmanned aerial vehicle control method and terminal Download PDF

Info

Publication number
WO2019091226A1
WO2019091226A1 PCT/CN2018/106539 CN2018106539W WO2019091226A1 WO 2019091226 A1 WO2019091226 A1 WO 2019091226A1 CN 2018106539 W CN2018106539 W CN 2018106539W WO 2019091226 A1 WO2019091226 A1 WO 2019091226A1
Authority
WO
WIPO (PCT)
Prior art keywords
unmanned aerial
aerial vehicle
route
terminal
information
Prior art date
Application number
PCT/CN2018/106539
Other languages
French (fr)
Chinese (zh)
Inventor
冯银华
Original Assignee
深圳市道通智能航空技术有限公司
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 深圳市道通智能航空技术有限公司 filed Critical 深圳市道通智能航空技术有限公司
Publication of WO2019091226A1 publication Critical patent/WO2019091226A1/en

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course or altitude of land, water, air, or space vehicles, e.g. automatic pilot
    • 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 present application relates to the field of information technology, and in particular to a control method and terminal for an unmanned aerial vehicle.
  • a drone can be understood as an Unmanned Aerial Vehicle (UAV).
  • UAV Unmanned Aerial Vehicle
  • the mission function of the route becomes more and more important. That is, the unmanned opportunity receives the route task sent by the terminal and conducts the flight according to the route task.
  • the embodiment of the present application provides a control method and terminal for an unmanned aerial vehicle, so that the unmanned aerial vehicle can continue to execute an unfinished flight path.
  • the embodiment of the present application provides a control method for an unmanned aerial vehicle, including:
  • the terminal When the terminal detects disconnection from the UAV, the terminal saves the route information of the flight path of the UAV;
  • the terminal After the terminal re-establishes a connection with the unmanned aerial vehicle, the terminal determines, according to the route information, whether the unmanned aerial vehicle has not completed the flight route;
  • the terminal sends the route information to the unmanned aerial vehicle to control the unmanned aerial vehicle to complete the remaining routes in the flight route according to the route information.
  • the terminal saves the route information of the flight route, including:
  • the terminal saves location information of all waypoints in the flight path of the UAV, and location information of the unmanned aerial vehicle that was last acquired before disconnecting from the UAV;
  • Determining, by the terminal, whether the unmanned aerial vehicle has not completed the flight route according to the route information including:
  • the terminal determines that the unmanned aerial vehicle has not completed the flight path.
  • the method further includes:
  • the terminal determines, according to the location information of the UAV and the location information of all the waypoints in the flight path, the remaining waypoints included in the remaining routes of the flight route, and the remaining waypoints Location information;
  • the terminal saves the route information of the flight route, including:
  • the terminal saves location information of the remaining waypoints and an uncompleted route identifier
  • Determining, by the terminal, whether the unmanned aerial vehicle has not completed the flight route according to the route information including:
  • the terminal determines that the unmanned aerial vehicle has not completed the flight path.
  • the method before the terminal sends the route information to the unmanned aerial vehicle, the method further includes:
  • the terminal outputs prompt information, where the prompt information is used to prompt the user whether to control the unmanned aerial vehicle to complete the remaining route;
  • the terminal After detecting the confirmation operation of the prompt information by the user, the terminal sends the route information to the unmanned aerial vehicle.
  • the method further includes:
  • the terminal saves flight mode and/or flight parameter information corresponding to the flight path
  • the terminal transmits the flight mode and/or flight parameter information to the UAV to control the UAV to complete the remaining course in accordance with the flight mode and/or flight parameter information.
  • the embodiment of the present application further provides a terminal, including: a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the following steps when executing the computer program:
  • the route information is sent to the unmanned aerial vehicle to control the unmanned aerial vehicle to complete the remaining routes in the flight route according to the route information.
  • the method further implements:
  • the method further implements:
  • the method further implements:
  • the prompt information Before transmitting the route information to the unmanned aerial vehicle, outputting prompt information, the prompt information being used to prompt the user whether to control the unmanned aerial vehicle to complete the remaining route;
  • the route information is sent to the unmanned aerial vehicle.
  • the method further implements:
  • the flight mode and/or flight parameter information is transmitted to the UAV to control the UAV to complete the remaining course in accordance with the flight mode and/or flight parameter information.
  • the embodiment of the present application also provides a control device for an unmanned aerial vehicle.
  • the device includes a functional module.
  • the function module is used to implement any of the above methods.
  • the embodiment of the present application further provides a computer readable storage medium storing computer executable instructions for the control method of the unmanned aerial vehicle.
  • the terminal when the terminal is disconnected from the UAV, the terminal may save the route information of the flight path of the UAV. Further, after the terminal re-establishes a connection with the unmanned aerial vehicle, it can determine whether the drone completes the flight route according to the saved route information, and if it is determined that the unmanned aerial vehicle has not completed the flight route, the route information can be sent to the unmanned aerial vehicle. Therefore, the unmanned aerial vehicle can complete the remaining routes according to the route information. In the above manner, the efficiency of the UAV acquiring the flight path can be improved, the user operation can be simplified, and the power consumption of the UAV during the flight can be reduced.
  • FIG. 1 is a flowchart of a method for controlling an unmanned aerial vehicle according to Embodiment 1 of the present application;
  • FIG. 2 is a flowchart of a method for controlling an unmanned aerial vehicle according to Embodiment 2 of the present application;
  • FIG. 3 is a flowchart of a method for controlling an unmanned aerial vehicle according to Embodiment 3 of the present application;
  • FIG. 4 is a flowchart of a method for controlling an unmanned aerial vehicle according to Embodiment 4 of the present application;
  • FIG. 5 is a schematic structural diagram of a terminal according to an embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of a module of a control device for an unmanned aerial vehicle according to an embodiment of the present application.
  • FIG. 1 shows a control method of an unmanned aerial vehicle provided by Embodiment 1 of the present application, which can be performed by a terminal.
  • the terminal may be a terminal that includes an Android operating system, an iOS operating system, a Windows operating system, or other operating systems, such as a smart phone, a mobile computer, a tablet computer, a PDA (Personal Digital Assistant), and the like.
  • An unmanned aerial vehicle related application can be installed in the terminal, and the application can communicate with the unmanned aerial vehicle.
  • the application can receive flight information of the unmanned aerial vehicle through the terminal, such as flight status, flight parameters, and the like.
  • the application can send commands to the unmanned aerial vehicle through the terminal to control the flight state of the unmanned aerial vehicle and the like.
  • the terminal can also be connected to a remote control device for transmitting remote control commands to the unmanned aerial vehicle, for example, the flight direction of the remote control aircraft.
  • the communication between the terminal and the UAV can be directly implemented, or implemented by a remote control device, and is not limited herein.
  • the terminal can be configured with a function of interacting with the user.
  • the terminal can be configured with a hardware function such as a touch display screen, or can be implemented by displaying the human-computer interaction interface and the like through the application program on the terminal.
  • the combination of the above may be included, and is not limited herein.
  • the method may include the following steps.
  • Step 101 When the terminal detects disconnection from the UAV, the terminal saves the route information of the flight path of the UAV.
  • the terminal is connected to the UAV, and the terminal and the UAV may be directly connected by wireless, or the terminal may be connected to the UAV through the UAV remote controller, which is not limited herein.
  • the terminal can interact with the UAV.
  • the terminal does not obtain the signal returned by the UAV for a specified time, it may be determined that the UAV is disconnected, wherein the UAV may perform due to insufficient battery power, abnormal weather, and natural Disasters, too far distance from the terminal, etc., result in disconnection from the terminal.
  • the UAV can take measures such as returning to the starting point or emergency landing according to a preset flight strategy.
  • the route information saved by the terminal may be location information of all the waypoints in the flight path of the UAV, and the unmanned aerial vehicle that is last acquired before disconnecting from the UAV
  • the location information, or the route information saved by the terminal may also be the location information of the remaining waypoints and the unfinished route identifier.
  • the manner in which the terminal saves the route information may be associated with the unmanned aerial vehicle, that is, the terminal is connected to different unmanned aerial vehicles, and the manner in which the terminal stores the route information is different.
  • the manner in which the terminal saves the route information is associated with the flight route, that is, the different flight routes, and the manner in which the terminal stores the route information is different.
  • the terminal may save the route information in a manner of alternate rotation or the like.
  • the manner in which the terminal saves the route information is not limited.
  • the flight path of the UAV may include a plurality of waypoints, each of which corresponds to location information, and the location information may include longitude information and latitude information of the waypoint.
  • the flight route may include a completed waypoint and a remaining waypoint
  • the completed waypoint refers to a waypoint included in the completed route in the flight route
  • the remaining waypoint refers to a waypoint included in the unfinished route in the flight route, That is, the waypoints included in the remaining routes.
  • the completed route or the remaining route in the flight route may be determined according to the position information of the unmanned aerial vehicle acquired by the terminal last time.
  • Step 102 After the terminal re-establishes a connection with the unmanned aerial vehicle, the terminal determines, according to the route information, whether the unmanned aerial vehicle has not completed the flight route.
  • the terminal may determine, according to whether the uncompleted route identifier is included in the route information, whether the unmanned aerial vehicle has not completed the flight route. If the terminal determines that the route information includes the unfinished route identifier, it may be determined that the unmanned aerial vehicle has not completed the flight route.
  • the terminal may determine whether the route information includes the location information of the UAV and the location information of all the waypoints in the flight route. If it is determined to be included, it can be determined according to the above location information whether the unmanned aerial vehicle has not completed the flight route.
  • Step 103 If yes, the terminal sends the route information to the unmanned aerial vehicle to control the unmanned aerial vehicle to complete remaining routes in the flight route according to the route information.
  • the terminal may send location information of all the waypoints in the flight path of the UAV and location information of the unmanned aerial vehicle to the unmanned aerial vehicle, or send location information of the remaining waypoints. To the unmanned aerial vehicle.
  • a new flight route may be formulated for the UAV, for example, from the stored flight.
  • One or more flight routes are selected as new flight routes in the route, and the new flight route is sent to the unmanned aerial vehicle, which is not limited herein.
  • the terminal when the terminal is disconnected from the UAV, the terminal may save the route information of the flight path of the UAV. Further, after the terminal re-establishes a connection with the unmanned aerial vehicle, it can determine whether the drone completes the flight route according to the saved route information, and if it is determined that the unmanned aerial vehicle has not completed the flight route, the route information can be sent to the unmanned aerial vehicle. Therefore, the unmanned aerial vehicle can complete the remaining routes according to the route information. In the above manner, the efficiency of the UAV acquiring the flight path can be improved, the user operation can be simplified, and the power consumption of the UAV during the flight can be reduced.
  • the method can include the following steps.
  • Step 201 When the terminal detects disconnection from the UAV, the terminal saves location information of all the waypoints in the UAV flight path, and last acquired before disconnecting from the UAV The location information of the unmanned aerial vehicle.
  • the terminal does not need to judge whether the unmanned aerial vehicle completes the current route, and can save the location information of all the waypoints in the flight route and the position information of the last acquired unmanned aerial vehicle.
  • Step 202 The terminal re-establishes a connection with the UAV.
  • the unmanned aerial vehicle is the same as the unmanned aerial vehicle in step 201.
  • a reconnected UAV and a disconnected UAV are the same unmanned aerial vehicle, ie, the unique identifier of the UAV.
  • the reconnected UAV is of the same type as the disconnected UAV, or the same airspace, and is not limited herein.
  • Step 203 The terminal determines, according to the location information of the unmanned aerial vehicle and the location information of the all waypoints, whether the unmanned aerial vehicle reaches the end of the flight path; if not, step 204 is performed. If yes, the process ends;
  • Step 204 The terminal sends location information of the UAV and location information of the all waypoints to the UAV to control the UAV to complete remaining routes in the flight path.
  • the unmanned aerial vehicle can fly to the position represented by the position information according to the position information of the transmitted unmanned aerial vehicle. And according to the location information of all waypoints and the location of the unmanned aerial vehicle, the remaining routes are determined, and the remaining routes are completed.
  • the terminal may determine location information of the remaining waypoints of the remaining routes according to the location information of the unmanned aerial vehicle and the location information of all the waypoints, and transmit the location information of the unmanned aerial vehicle and the location information of the remaining waypoints to the unmanned aerial vehicle. . Further, the UAV completes the remaining routes based on the received information.
  • the method may include the following steps:
  • Step 301 When the terminal detects disconnection from the UAV, the terminal acquires location information that is sent by the UAV for the last time before disconnecting;
  • Step 302 the terminal determines whether the unmanned aerial vehicle reaches the end of the flight path, if yes, step 303 is performed, if not, step 304 is performed;
  • Step 303 the terminal saves all the waypoint information and the completed route identifier in the flight route, or only saves the completed route identifier, and performs step 305;
  • the completed route identifier indicates that the unmanned aerial vehicle has completed the flight route.
  • the terminal may save or not save the waypoint information in the flight route according to a preset policy.
  • Step 304 the terminal determines, according to the location information of the unmanned aerial vehicle and the location information of the all waypoints, the remaining waypoints included in the remaining routes of the flight route, and the location information of the remaining waypoints, Saving location information of the remaining waypoints and an unfinished route identifier;
  • the terminal determines the location information of the remaining waypoints according to the location information of the unmanned aerial vehicle and the location information of the all waypoints, and further determines the remaining routes.
  • the remaining waypoint may refer to a waypoint that the UAV needs to pass through the current position of the UAV to the end of the flight path.
  • the remaining routes consist of the remaining waypoints.
  • the unfinished route identifier indicates that the unmanned aerial vehicle has not completed the flight route.
  • a flag can be set, for example, when the flag position is 1, it indicates that the route has been completed, and when it is set to 0, it indicates that the route is not completed; of course, when the flag position is 0, it indicates that the route has been completed, and is set to At 1 o'clock, it indicates that the route is not completed; two identifiers may also be set, which respectively correspond to the completed route identifier and the unfinished route identifier, which are not limited herein.
  • Step 305 the terminal re-establishes a connection with the unmanned aerial vehicle
  • Step 306 The terminal determines whether the route information includes an uncompleted route identifier; if yes, step 307 is performed, and if no, the process ends.
  • Step 307 The terminal determines that the UAV does not complete the flight path, and sends location information of the remaining waypoints to the UAV to control the UAV to complete the flight path. The remaining routes.
  • the method may include the following steps:
  • Step 401 When the terminal detects disconnection from the UAV, the terminal saves the route information of the flight path of the UAV;
  • the terminal may further save information of the UAV, and the information of the UAV is used to uniquely identify an UAV;
  • the information of the UAV may include: identification information of the UAV, such as one of the factory serial number of the UAV, the model of the UAV, or the name of the UAV, and the like. Kind or combination.
  • identification information of the UAV such as one of the factory serial number of the UAV, the model of the UAV, or the name of the UAV, and the like.
  • kind or combination In order to enable the aircraft information to be used to uniquely identify an unmanned aerial vehicle, or a type of unmanned aerial vehicle, it is not limited herein.
  • the terminal further saves flight mode and/or flight parameter information corresponding to the flight path;
  • the flight mode corresponding to the flight path may include one or more of the closest distance flight between the waypoints, a preset trajectory flight between the waypoints, N rounds of flying around one or more waypoints, and the like.
  • the flight parameter information may include at least one of: flight speed information, fly height information, distance range information, low battery warning information, return information, and the like.
  • the flight speed information may be for one or more waypoints.
  • the flight altitude information can be for one or more waypoints.
  • the distance range information means that the distance between the UAV and the waypoint needs to be within the distance indicated in the distance range information.
  • the distance range information can be for one or more waypoints.
  • the low battery warning message may be an alarm that is input when the power of the unmanned aerial vehicle is low, for example, the prompt information may be displayed in the terminal, the alarm sound may be sounded, and the like.
  • the return flight information may include a return flight condition and a return flight point information.
  • the UAV's own vision system or GPS record automatically returns to the return point and completes the automatic landing.
  • the return point can also be defaulted to the starting point or updated to the location of the terminal.
  • Step 402 The terminal re-establishes a connection with the UAV;
  • Step 403 The terminal determines, according to the route information, whether the unmanned aerial vehicle has not completed the flight route; if yes, step 404 is performed; if not, the process ends;
  • the terminal further determines whether the unmanned aerial vehicle connected to the UAV is the same as the UAV connected last time, and the UAV can be saved by the terminal.
  • the information is compared with the information of the connected unmanned aerial vehicle. If it is not the same unmanned aerial vehicle, the process is terminated, and a new flight route can be set for the connected unmanned aerial vehicle, which is not limited herein.
  • Step 404 the terminal outputs prompt information, where the prompt information is used to prompt the user whether to control the unmanned aerial vehicle to complete the remaining route;
  • the prompt information may be display prompt information, voice prompt information, etc., and is not limited herein.
  • Step 405 The terminal detects a confirmation operation of the prompt information by the user, and sends the route information to the unmanned aerial vehicle to control the unmanned aerial vehicle to complete the flight route according to the route information. The remaining routes.
  • the confirmation operation of the user may include at least one of a touch operation, a keyboard input operation, and a voice operation.
  • the terminal further transmits the flight mode and/or flight parameter information to the UAV to control the UAV to complete the remaining route according to the flight mode and/or flight parameter information.
  • the UAV passes one or more remaining waypoints according to the received flight mode; or, the UAV completes the route task on the corresponding waypoint according to the flight parameter information.
  • the embodiment of the present application further provides a terminal, where the terminal may be a terminal including an Android operating system, an iOS operating system, a Windows operating system, or another operating system, such as a smart phone, a mobile computer, a tablet computer, a PDA, or an image. Display terminals, etc.
  • the terminal is used to implement the foregoing embodiments and implementation manners, and details have been omitted for description.
  • the terminal of the embodiment of the present application includes: a memory 51, a processor 52, and a computer program stored on the memory 51 and executable on the processor.
  • the processor implements the following steps when executing the computer program:
  • the route information is sent to the unmanned aerial vehicle to control the unmanned aerial vehicle to complete the remaining routes in the flight route according to the route information.
  • the method further implements:
  • the method further implements:
  • the terminal may further include an input/output device 53 for interacting with the user according to the control of the processor, and the input/output device 53 may include an input unit 531 and an output unit 532, wherein the input unit 531
  • the touch screen, the keyboard, the mouse, the microphone, and the like may be included for receiving input operations of the user, including a confirmation operation of the user, a setting operation, and the like.
  • the output unit 532 may include a display screen, a speaker, and the like for outputting a prompt or providing an option for selection by a user, such as an image or a sound.
  • the input unit 531 and the output unit 332 may be combined together, such as a touch screen or the like.
  • the method further implements:
  • the prompt information is used to prompt the user whether to control the unmanned aerial vehicle to complete the remaining route;
  • the route information is sent to the unmanned aerial vehicle.
  • the prompt information, the voice prompt information, and the like can be displayed by the output unit 532.
  • the prompt window can also include “Yes” and "No” two button controls.
  • the input unit 531 detects that the user clicks the "Yes” button control, the route information is transmitted to the UAV.
  • the method further implements:
  • the flight mode and/or flight parameter information is transmitted to the UAV to control the UAV to complete the remaining course in accordance with the flight mode and/or flight parameter information.
  • the terminal may also include other devices, such as communication devices, etc., for enabling a communication connection with the UAV.
  • Other devices or circuit configurations included in the terminal are not limited herein.
  • the embodiment of the present application further provides a control device for an unmanned aerial vehicle, which is used to implement the foregoing embodiments and implementation manners, and has not been described again.
  • a control device for an unmanned aerial vehicle which is used to implement the foregoing embodiments and implementation manners, and has not been described again.
  • the term "module” can be software, hardware, or a combination of both to implement the functions described above.
  • control device of the UAV of the embodiment of the present application includes:
  • a saving module 61 configured to save route information of a flight path of the unmanned aerial vehicle when detecting disconnection from the unmanned aerial vehicle;
  • the first judging module 62 is configured to determine, according to the route information, whether the unmanned aerial vehicle has not completed the flight path after reestablishing a connection with the unmanned aerial vehicle;
  • the sending module 63 is configured to send the route information to the UAV if the first determining module determines to be YES, to control the UAV to complete the remaining in the flight path according to the route information. route.
  • the saving module 61 is configured to save location information of all the waypoints in the flight path of the UAV, and the last acquired unmanned aerial vehicle before disconnecting from the UAV location information;
  • the determining module 62 is configured to determine, according to the location information of the UAV and the location information of the all waypoints, whether the UAV arrives at an end point of the flight path; if not, determine the None The human aircraft did not complete the flight route.
  • the device further includes a second determining module, configured to, when detecting disconnection from the UAV, according to being disconnected from the UAV The last acquired position information, determining whether the unmanned aerial vehicle reaches the end of the flight path;
  • the saving module 61 is further configured to: when the second determining module determines to be no, determine the remaining routes of the flight route according to the location information of the unmanned aerial vehicle and the location information of all the waypoints in the flight route. The remaining waypoints included, and the location information of the remaining waypoints, the location information of the remaining waypoints and the unfinished route identifiers are saved;
  • the first determining module 62 is configured to determine whether the route information includes an uncompleted route identifier; if yes, determine that the unmanned aerial vehicle does not complete the flight route.
  • the device further includes an output module, configured to output prompt information, where the prompt information is used to prompt the user whether to control the unmanned aerial vehicle to complete the remaining route;
  • the sending module 63 is configured to send the route information to the unmanned aerial vehicle after detecting a confirmation operation of the prompt information by the user.
  • the saving module 61 is further configured to save flight mode and/or flight parameter information corresponding to the flight path;
  • the sending module 63 is further configured to send the flight mode and/or flight parameter information to the UAV to control the UAV to complete the remaining according to the flight mode and/or flight parameter information. route.
  • the embodiment of the present application further provides a computer readable storage medium storing computer executable instructions for executing the control method of the unmanned aerial vehicle.
  • the computer readable storage medium may include, but is not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic disk. Or a variety of media such as optical discs that can store program code.

Abstract

Provided are a control method for an unmanned aerial vehicle and a terminal. The method comprises: upon detecting that the terminal is disconnected from the unmanned aerial vehicle, the terminal saves flight route information of the flight route of the unmanned aerial vehicle (101); after the connection between the terminal and the unmanned aerial vehicle is reestablished, the terminal determines whether the unmanned aerial vehicle does not finish the flight route according to the flight route information (102); and if it is determined that the unmanned aerial vehicle does not finish the flight route, the terminal sends the flight route information to the unmanned aerial vehicle, so as to control the unmanned aerial vehicle to finish the rest flight route in the flight route according to the flight route information (103). According to the method of the embodiment of the invention, the efficiency of obtaining the flight route by the unmanned aerial vehicle can be improved and the user operation can be simplified. The power consumption of the unmanned aerial vehicle during the non-flight period can be reduced.

Description

一种无人飞行器的控制方法和终端Control method and terminal for unmanned aerial vehicle
本申请要求于2017年11月13日提交中国专利局、申请号为201711115437X、申请名称为“一种无人飞行器的控制方法和终端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 200911115437X, filed on November 13, 2017, the entire disclosure of which is incorporated herein by reference. In this application.
技术领域Technical field
本申请涉及信息技术领域,尤指一种无人飞行器的控制方法和终端。The present application relates to the field of information technology, and in particular to a control method and terminal for an unmanned aerial vehicle.
背景技术Background technique
随着无人机航拍技术的不断发展,越来越多的消费级无人机也正在生产研制,消费级无人机也逐步日趋普及。无人机可以理解为是一种无人驾驶飞行器(Unmanned Aerial Vehicle,UAV),在无人飞行器飞行过程中,航线任务功能也变得越来越重要。即无人机会接收终端发送的航线任务,并根据航线任务进行飞行。With the continuous development of unmanned aerial photography technology, more and more consumer-grade UAVs are also being produced and developed, and consumer-grade UAVs are gradually becoming more and more popular. A drone can be understood as an Unmanned Aerial Vehicle (UAV). During the flight of an unmanned aerial vehicle, the mission function of the route becomes more and more important. That is, the unmanned opportunity receives the route task sent by the terminal and conducts the flight according to the route task.
当前,如果无人飞行器在飞行航线任务未完成的情况下与终端断开连接,会按照之前设置的飞行策略采取返航或者紧急降落等措施。如果无人飞行器重新与终端连接之后还需要执行之前未完成的航线任务,则需要用户重新设定航线信息。Currently, if the UAV is disconnected from the terminal in the event that the flight route mission is not completed, measures such as return flight or emergency landing will be taken according to the previously set flight strategy. If the UAV is still connected to the terminal and needs to perform a previously unfinished route task, the user needs to reset the route information.
发明内容Summary of the invention
本申请实施例提供了一种无人飞行器的控制方法和终端,以使无人飞行器可以继续执行未完成的飞行航线。The embodiment of the present application provides a control method and terminal for an unmanned aerial vehicle, so that the unmanned aerial vehicle can continue to execute an unfinished flight path.
本申请实施例提供了一种无人飞行器的控制方法,包括:The embodiment of the present application provides a control method for an unmanned aerial vehicle, including:
当终端检测到与无人飞行器断开连接时,所述终端保存所述无人飞行器 的飞行航线的航线信息;When the terminal detects disconnection from the UAV, the terminal saves the route information of the flight path of the UAV;
当所述终端重新与所述无人飞行器建立连接后,所述终端根据所述航线信息判断所述无人飞行器是否未完成所述飞行航线;After the terminal re-establishes a connection with the unmanned aerial vehicle, the terminal determines, according to the route information, whether the unmanned aerial vehicle has not completed the flight route;
若为是,所述终端将所述航线信息发送至所述无人飞行器,以控制所述无人飞行器根据所述航线信息完成所述飞行航线中的剩余航线。If yes, the terminal sends the route information to the unmanned aerial vehicle to control the unmanned aerial vehicle to complete the remaining routes in the flight route according to the route information.
可选地,所述终端保存所述飞行航线的航线信息,包括:Optionally, the terminal saves the route information of the flight route, including:
所述终端保存所述无人飞行器飞行航线中全部航点的位置信息,以及在与所述无人飞行器断开连接前最后一次获取的所述无人飞行器的位置信息;The terminal saves location information of all waypoints in the flight path of the UAV, and location information of the unmanned aerial vehicle that was last acquired before disconnecting from the UAV;
所述终端根据所述航线信息判断所述无人飞行器是否未完成所述飞行航线,包括:Determining, by the terminal, whether the unmanned aerial vehicle has not completed the flight route according to the route information, including:
所述终端根据所述无人飞行器的位置信息和所述全部航点的位置信息,判断所述无人飞行器是否到达所述飞行航线的终点;Determining, by the terminal, whether the unmanned aerial vehicle reaches an end point of the flight path according to position information of the unmanned aerial vehicle and position information of the all waypoints;
若为否,所述终端确定所述无人飞行器未完成所述飞行航线。If not, the terminal determines that the unmanned aerial vehicle has not completed the flight path.
可选地,当所述终端检测到与所述无人飞行器断开连接时,所述方法还包括:Optionally, when the terminal detects disconnection from the UAV, the method further includes:
所述终端根据在与所述无人飞行器在断开连接前最后一次获取的位置信息,判断所述无人飞行器是否到达所述飞行航线的终点;Determining, by the terminal, whether the unmanned aerial vehicle reaches an end point of the flight path according to position information acquired last time before disconnecting from the unmanned aerial vehicle;
若为否,所述终端根据所述无人飞行器的位置信息和所述飞行航线中全部航点的位置信息,确定所述飞行航线的剩余航线所包括的剩余航点,以及所述剩余航点的位置信息;If not, the terminal determines, according to the location information of the UAV and the location information of all the waypoints in the flight path, the remaining waypoints included in the remaining routes of the flight route, and the remaining waypoints Location information;
所述终端保存所述飞行航线的航线信息,包括:The terminal saves the route information of the flight route, including:
所述终端保存所述剩余航点的位置信息和未完成航线标识;The terminal saves location information of the remaining waypoints and an uncompleted route identifier;
所述终端根据所述航线信息判断所述无人飞行器是否未完成所述飞行航线,包括:Determining, by the terminal, whether the unmanned aerial vehicle has not completed the flight route according to the route information, including:
所述终端判断所述航线信息中是否包括未完成航线标识;Determining, by the terminal, whether the route information includes an uncompleted route identifier;
若为是,所述终端确定所述无人飞行器未完成所述飞行航线。If so, the terminal determines that the unmanned aerial vehicle has not completed the flight path.
可选地,所述终端将所述航线信息发送至所述无人飞行器之前,所述方法还包括:Optionally, before the terminal sends the route information to the unmanned aerial vehicle, the method further includes:
所述终端输出提示信息,所述提示信息用于提示用户是否控制所述无人飞行器完成所述剩余航线;The terminal outputs prompt information, where the prompt information is used to prompt the user whether to control the unmanned aerial vehicle to complete the remaining route;
所述终端将所述航线信息发送至所述无人飞行器,包括:Sending, by the terminal, the route information to the unmanned aerial vehicle, including:
所述终端检测到用户针对所述提示信息的确认操作后,将所述航线信息发送至所述无人飞行器。After detecting the confirmation operation of the prompt information by the user, the terminal sends the route information to the unmanned aerial vehicle.
可选地,所述方法还包括:Optionally, the method further includes:
所述终端保存与所述飞行航线对应的飞行模式和/或飞行参数信息;The terminal saves flight mode and/or flight parameter information corresponding to the flight path;
所述终端将所述飞行模式和/或飞行参数信息发送至所述无人飞行器,以控制所述无人飞行器按照所述飞行模式和/或飞行参数信息完成所述剩余航线。The terminal transmits the flight mode and/or flight parameter information to the UAV to control the UAV to complete the remaining course in accordance with the flight mode and/or flight parameter information.
本申请实施例还提供了一种终端,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现以下步骤:The embodiment of the present application further provides a terminal, including: a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the following steps when executing the computer program:
当检测到与无人飞行器断开连接时,保存所述无人飞行器的飞行航线的航线信息;Saving route information of a flight path of the unmanned aerial vehicle when detecting disconnection from the unmanned aerial vehicle;
当重新与所述无人飞行器建立连接后,根据所述航线信息判断所述无人 飞行器是否未完成所述飞行航线;After reestablishing the connection with the unmanned aerial vehicle, determining, according to the route information, whether the unmanned aerial vehicle has not completed the flight path;
若为是,将所述航线信息发送至所述无人飞行器,以控制所述无人飞行器根据所述航线信息完成所述飞行航线中的剩余航线。If yes, the route information is sent to the unmanned aerial vehicle to control the unmanned aerial vehicle to complete the remaining routes in the flight route according to the route information.
可选地,所述处理器执行所述计算机程序时还实现:Optionally, when the processor executes the computer program, the method further implements:
保存所述无人飞行器飞行航线中全部航点的位置信息,以及在与所述无人飞行器断开连接前最后一次获取的所述无人飞行器的位置信息;Preserving location information of all waypoints in the UAV flight path, and location information of the UAV obtained last time before disconnecting from the UAV;
根据所述无人飞行器的位置信息和所述全部航点的位置信息,判断所述无人飞行器是否到达所述飞行航线的终点;Determining whether the unmanned aerial vehicle reaches an end point of the flight path according to position information of the unmanned aerial vehicle and position information of the all waypoints;
若为否,确定所述无人飞行器未完成所述飞行航线。If not, it is determined that the unmanned aerial vehicle has not completed the flight path.
可选地,所述处理器执行所述计算机程序时还实现:Optionally, when the processor executes the computer program, the method further implements:
当所述终端检测到与所述无人飞行器断开连接时,根据在与所述无人飞行器在断开连接前最后一次获取的位置信息,判断所述无人飞行器是否到达所述飞行航线的终点;Determining, when the terminal detects disconnection from the UAV, whether the UAV arrives at the flight path according to location information acquired last time before the UAV is disconnected from the UAV end;
若为否,根据所述无人飞行器的位置信息和所述飞行航线中全部航点的位置信息,确定所述飞行航线的剩余航线所包括的剩余航点,以及所述剩余航点的位置信息;If not, determining, according to the location information of the unmanned aerial vehicle and the location information of all the waypoints in the flight route, the remaining waypoints included in the remaining routes of the flight route, and the location information of the remaining waypoints ;
保存所述剩余航点的位置信息和未完成航线标识;Saving location information of the remaining waypoints and an unfinished route identifier;
判断所述航线信息中是否包括未完成航线标识;Determining whether the route information includes an unfinished route identifier;
若为是,确定所述无人飞行器未完成所述飞行航线。If so, it is determined that the unmanned aerial vehicle has not completed the flight path.
可选地,所述处理器执行所述计算机程序时还实现:Optionally, when the processor executes the computer program, the method further implements:
将所述航线信息发送至所述无人飞行器之前,输出提示信息,所述提示信息用于提示用户是否控制所述无人飞行器完成所述剩余航线;Before transmitting the route information to the unmanned aerial vehicle, outputting prompt information, the prompt information being used to prompt the user whether to control the unmanned aerial vehicle to complete the remaining route;
检测到用户针对所述提示信息的确认操作后,将所述航线信息发送至所述无人飞行器。After detecting the confirmation operation of the prompt information by the user, the route information is sent to the unmanned aerial vehicle.
可选地,所述处理器执行所述计算机程序时还实现:Optionally, when the processor executes the computer program, the method further implements:
保存与所述飞行航线对应的飞行模式和/或飞行参数信息;Saving flight mode and/or flight parameter information corresponding to the flight path;
将所述飞行模式和/或飞行参数信息发送至所述无人飞行器,以控制所述无人飞行器按照所述飞行模式和/或飞行参数信息完成所述剩余航线。The flight mode and/or flight parameter information is transmitted to the UAV to control the UAV to complete the remaining course in accordance with the flight mode and/or flight parameter information.
本申请实施例还提供了一种无人飞行器的控制装置。该装置包括功能模块。功能模块用于实现上述任意一种方法。The embodiment of the present application also provides a control device for an unmanned aerial vehicle. The device includes a functional module. The function module is used to implement any of the above methods.
本申请实施例还提供了一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于上述无人飞行器的控制方法。The embodiment of the present application further provides a computer readable storage medium storing computer executable instructions for the control method of the unmanned aerial vehicle.
在本申请实施例中,当终端与无人飞行器断开连接时,终端可以保存无人飞行器的飞行航线的航线信息。进而,当终端重新与无人飞行器建立连接后,可以根据保存的航线信息判断无人机是否完成飞行航线,若判断所述无人飞行器没有完成飞行航线,则可以将航线信息发送至无人飞行器,从而无人飞行器可以根据所述航线信息完成剩余航线。通过上述方式,能够提升无人飞行器获取飞行航线的效率,简化用户操作;并能够降低无人飞行器未飞行期间的功耗。In the embodiment of the present application, when the terminal is disconnected from the UAV, the terminal may save the route information of the flight path of the UAV. Further, after the terminal re-establishes a connection with the unmanned aerial vehicle, it can determine whether the drone completes the flight route according to the saved route information, and if it is determined that the unmanned aerial vehicle has not completed the flight route, the route information can be sent to the unmanned aerial vehicle. Therefore, the unmanned aerial vehicle can complete the remaining routes according to the route information. In the above manner, the efficiency of the UAV acquiring the flight path can be improved, the user operation can be simplified, and the power consumption of the UAV during the flight can be reduced.
附图说明DRAWINGS
一个或多个实施例通过与之对应的附图中的图片进行示例性说明,这些示例性说明并不构成对实施例的限定,附图中具有相同参考数字标号的元件表示为类似的元件,除非有特别申明,附图中的图不构成比例限制。The one or more embodiments are exemplified by the accompanying drawings in the accompanying drawings, and FIG. The figures in the drawings do not constitute a scale limitation unless otherwise stated.
图1为本申请实施例一提供的一种无人飞行器的控制方法的流程图;1 is a flowchart of a method for controlling an unmanned aerial vehicle according to Embodiment 1 of the present application;
图2为本申请实施例二提供的一种无人飞行器的控制方法的流程图;2 is a flowchart of a method for controlling an unmanned aerial vehicle according to Embodiment 2 of the present application;
图3为本申请实施例三提供的一种无人飞行器的控制方法的流程图;3 is a flowchart of a method for controlling an unmanned aerial vehicle according to Embodiment 3 of the present application;
图4为本申请实施例四提供的一种无人飞行器的控制方法的流程图;4 is a flowchart of a method for controlling an unmanned aerial vehicle according to Embodiment 4 of the present application;
图5为本申请实施例提供的一种终端的结构示意图;FIG. 5 is a schematic structural diagram of a terminal according to an embodiment of the present application;
图6为本申请实施例提供的一种无人飞行器的控制装置的模块组成示意图。FIG. 6 is a schematic structural diagram of a module of a control device for an unmanned aerial vehicle according to an embodiment of the present application.
具体实施方式Detailed ways
下面结合附图对本申请实施例进行说明。The embodiments of the present application are described below with reference to the accompanying drawings.
实施例一Embodiment 1
图1示出了本申请实施例一提供的一种无人飞行器的控制方法,该方法可由终端执行。其中,所述终端可以是包括运行Android操作系统、iOS操作系统、Windows操作系统或其他操作系统的终端,例如智能手机、移动电脑、平板电脑、PDA(Personal Digital Assistant,个人数字助理)等。该终端中可以安装有与无人飞行器相关的应用程序,该应用程序可以实现与无人飞行器进行通信。例如,该应用程序可以通过终端接收无人飞行器的飞行信息,例如飞行状态、飞行参数等。或者,该应用程序可以通过终端向无人飞行器发送指令,以控制无人飞行器的飞行状态等。该终端还可以与遥控设备连接,该遥控设备用于向无人飞行器发送遥控指令,例如,遥控飞行器的飞行方向等。其中,终端与无人飞行器之间的通信可以直接实现,或者通过遥控设备实现等,在此不予限定。终端上可以配置有与用户交互的功能,例如,终端上可以配置有触控显示屏等硬件功能实现,或者通过终端上的上述应用程序显示人机交互界面等软件功能实现。当然,可以包括上述二者结合,在此不予限定。FIG. 1 shows a control method of an unmanned aerial vehicle provided by Embodiment 1 of the present application, which can be performed by a terminal. The terminal may be a terminal that includes an Android operating system, an iOS operating system, a Windows operating system, or other operating systems, such as a smart phone, a mobile computer, a tablet computer, a PDA (Personal Digital Assistant), and the like. An unmanned aerial vehicle related application can be installed in the terminal, and the application can communicate with the unmanned aerial vehicle. For example, the application can receive flight information of the unmanned aerial vehicle through the terminal, such as flight status, flight parameters, and the like. Alternatively, the application can send commands to the unmanned aerial vehicle through the terminal to control the flight state of the unmanned aerial vehicle and the like. The terminal can also be connected to a remote control device for transmitting remote control commands to the unmanned aerial vehicle, for example, the flight direction of the remote control aircraft. The communication between the terminal and the UAV can be directly implemented, or implemented by a remote control device, and is not limited herein. The terminal can be configured with a function of interacting with the user. For example, the terminal can be configured with a hardware function such as a touch display screen, or can be implemented by displaying the human-computer interaction interface and the like through the application program on the terminal. Of course, the combination of the above may be included, and is not limited herein.
如图1所示,该方法可以包括如下步骤。As shown in FIG. 1, the method may include the following steps.
步骤101,当终端检测到与无人飞行器断开连接时,所述终端保存所述无人飞行器的飞行航线的航线信息。Step 101: When the terminal detects disconnection from the UAV, the terminal saves the route information of the flight path of the UAV.
其中,所述终端与无人飞行器连接,可以是终端与无人飞行器通过无线方式直接连接,也可以是终端通过无人机遥控器与无人飞行器连接,在此不予限定。终端与无人飞行器连接后,终端可以与无人飞行器之间实现信息交互。当所述终端持续指定时间没有获得所述无人飞行器返回的信号,则可以判断与无人飞行器断开连接,其中,无人飞行器在执行航线任务时,可能由于电池电量不足、天气异常、自然灾害、与终端距离过远等情况导致与终端断开连接。在与终端断开连接的情况下,无人飞行器可按照预先设置的飞行策略,采取返回出发点或者紧急降落等措施。The terminal is connected to the UAV, and the terminal and the UAV may be directly connected by wireless, or the terminal may be connected to the UAV through the UAV remote controller, which is not limited herein. After the terminal is connected to the UAV, the terminal can interact with the UAV. When the terminal does not obtain the signal returned by the UAV for a specified time, it may be determined that the UAV is disconnected, wherein the UAV may perform due to insufficient battery power, abnormal weather, and natural Disasters, too far distance from the terminal, etc., result in disconnection from the terminal. In the case of disconnection from the terminal, the UAV can take measures such as returning to the starting point or emergency landing according to a preset flight strategy.
可选地,所述终端保存的航线信息可以是所述无人飞行器飞行航线中全部航点的位置信息,以及在与所述无人飞行器断开连接前最后一次获取的所述无人飞行器的位置信息,或者,终端保存的航线信息也可以是剩余航点的位置信息和未完成航线标识。Optionally, the route information saved by the terminal may be location information of all the waypoints in the flight path of the UAV, and the unmanned aerial vehicle that is last acquired before disconnecting from the UAV The location information, or the route information saved by the terminal may also be the location information of the remaining waypoints and the unfinished route identifier.
可选地,终端保存航线信息的方式可以是与无人飞行器相关联,即终端与不同的无人飞行器连接,终端所保存航线信息的方式不同。或者,终端保存航线信息的方式与飞行航线相关联,即不同的飞行航线,终端所保存航线信息的方式不同。或者,终端保存航线信息的方式可以是轮流交替等。在此,终端对保存航线信息的方式不予限定。其中,无人飞行器的飞行航线可以包括多个航点,每个航点均对应有位置信息,所述位置信息可以包括该航点的经度信息和纬度信息等。Optionally, the manner in which the terminal saves the route information may be associated with the unmanned aerial vehicle, that is, the terminal is connected to different unmanned aerial vehicles, and the manner in which the terminal stores the route information is different. Alternatively, the manner in which the terminal saves the route information is associated with the flight route, that is, the different flight routes, and the manner in which the terminal stores the route information is different. Alternatively, the terminal may save the route information in a manner of alternate rotation or the like. Here, the manner in which the terminal saves the route information is not limited. The flight path of the UAV may include a plurality of waypoints, each of which corresponds to location information, and the location information may include longitude information and latitude information of the waypoint.
其中,飞行航线可以包括完成航点和剩余航点,完成航点是指飞行航线中已完成的航线所包括的航点,剩余航点是指飞行航线中未完成的航线所包括的航点,即剩余航线包括的航点。其中,飞行航线中已完成航线或剩余航线可以根据终端最后一次获取的无人飞行器的位置信息确定。The flight route may include a completed waypoint and a remaining waypoint, the completed waypoint refers to a waypoint included in the completed route in the flight route, and the remaining waypoint refers to a waypoint included in the unfinished route in the flight route, That is, the waypoints included in the remaining routes. Wherein, the completed route or the remaining route in the flight route may be determined according to the position information of the unmanned aerial vehicle acquired by the terminal last time.
步骤102,当所述终端重新与所述无人飞行器建立连接后,所述终端根据所述航线信息判断所述无人飞行器是否未完成所述飞行航线。Step 102: After the terminal re-establishes a connection with the unmanned aerial vehicle, the terminal determines, according to the route information, whether the unmanned aerial vehicle has not completed the flight route.
可选地,终端可以根据航线信息中是否包括未完成航线标识,来判断无人飞行器是否未完成飞行航线。若终端确定航线信息中包括未完成航线标识,则可以判断该无人飞行器未完成飞行航线。Optionally, the terminal may determine, according to whether the uncompleted route identifier is included in the route information, whether the unmanned aerial vehicle has not completed the flight route. If the terminal determines that the route information includes the unfinished route identifier, it may be determined that the unmanned aerial vehicle has not completed the flight route.
进一步地,若终端确定航线信息中不包括未完成航线标识,则可以确定航线信息中是否包括无人飞行器的位置信息和飞行航线中全部航点的位置信息。若确定包括,则可以根据上述位置信息判断无人飞行器是否未完成飞行航线。Further, if the terminal determines that the route information does not include the unfinished route identifier, it may determine whether the route information includes the location information of the UAV and the location information of all the waypoints in the flight route. If it is determined to be included, it can be determined according to the above location information whether the unmanned aerial vehicle has not completed the flight route.
步骤103,若为是,所述终端将所述航线信息发送至所述无人飞行器,以控制所述无人飞行器根据所述航线信息完成所述飞行航线中的剩余航线。Step 103: If yes, the terminal sends the route information to the unmanned aerial vehicle to control the unmanned aerial vehicle to complete remaining routes in the flight route according to the route information.
其中,所述终端可以将所述无人飞行器的飞行航线中全部航点的位置信息,以及所述无人飞行器的位置信息发送至所述无人飞行器,也可以将剩余航点的位置信息发送至所述无人飞行器。The terminal may send location information of all the waypoints in the flight path of the UAV and location information of the unmanned aerial vehicle to the unmanned aerial vehicle, or send location information of the remaining waypoints. To the unmanned aerial vehicle.
在一种实现方式中,若所述终端根据所述航线信息判断所述无人飞行器已完成所述飞行航线,则可以为所述无人飞行器制定新的飞行航线,例如,从与存储的飞行航线中选取一个或多个飞行航线作为新的飞行航线,并将新的飞行航线发送至无人飞行器,在此不予限定。In an implementation manner, if the terminal determines, according to the route information, that the UAV has completed the flight route, a new flight route may be formulated for the UAV, for example, from the stored flight. One or more flight routes are selected as new flight routes in the route, and the new flight route is sent to the unmanned aerial vehicle, which is not limited herein.
在本申请实施例中,当终端与无人飞行器断开连接时,终端可以保存无人飞行器的飞行航线的航线信息。进而,当终端重新与无人飞行器建立连接后,可以根据保存的航线信息判断无人机是否完成飞行航线,若判断所述无人飞行器没有完成飞行航线,则可以将航线信息发送至无人飞行器,从而无人飞行器可以根据所述航线信息完成剩余航线。通过上述方式,能够提升无人飞行器获取飞行航线的效率,简化用户操作;并能够降低无人飞行器未飞行期间的功耗。In the embodiment of the present application, when the terminal is disconnected from the UAV, the terminal may save the route information of the flight path of the UAV. Further, after the terminal re-establishes a connection with the unmanned aerial vehicle, it can determine whether the drone completes the flight route according to the saved route information, and if it is determined that the unmanned aerial vehicle has not completed the flight route, the route information can be sent to the unmanned aerial vehicle. Therefore, the unmanned aerial vehicle can complete the remaining routes according to the route information. In the above manner, the efficiency of the UAV acquiring the flight path can be improved, the user operation can be simplified, and the power consumption of the UAV during the flight can be reduced.
实施例二Embodiment 2
如图2所示,该方法可以包括如下步骤。As shown in FIG. 2, the method can include the following steps.
步骤201,当终端检测到与无人飞行器断开连接时,所述终端保存所述无人飞行器飞行航线中全部航点的位置信息,以及在与所述无人飞行器断开连接前最后一次获取的所述无人飞行器的位置信息。Step 201: When the terminal detects disconnection from the UAV, the terminal saves location information of all the waypoints in the UAV flight path, and last acquired before disconnecting from the UAV The location information of the unmanned aerial vehicle.
本步骤中,终端无需判断无人飞行器是否完成当前航线,可以将飞行航线中全部航点的位置信息以及最后一次获取的无人飞行器的位置信息进行保存。In this step, the terminal does not need to judge whether the unmanned aerial vehicle completes the current route, and can save the location information of all the waypoints in the flight route and the position information of the last acquired unmanned aerial vehicle.
步骤202,所述终端重新与所述无人飞行器建立连接。Step 202: The terminal re-establishes a connection with the UAV.
其中,该无人飞行器与步骤201中的无人飞行器相同。例如,重新连接的无人飞行器与断开连接的无人飞行器为同一架无人飞行器,即无人飞行器的唯一标识相同。或者,重新连接的无人飞行器与断开连接的无人飞行器的类型相同,或者所在空域相同等,在此不予限定。Wherein, the unmanned aerial vehicle is the same as the unmanned aerial vehicle in step 201. For example, a reconnected UAV and a disconnected UAV are the same unmanned aerial vehicle, ie, the unique identifier of the UAV. Alternatively, the reconnected UAV is of the same type as the disconnected UAV, or the same airspace, and is not limited herein.
步骤203,所述终端根据所述无人飞行器的位置信息和所述全部航点的位 置信息,判断所述无人飞行器是否到达所述飞行航线的终点;若为否,则执行步骤204,若为是,则结束流程;Step 203: The terminal determines, according to the location information of the unmanned aerial vehicle and the location information of the all waypoints, whether the unmanned aerial vehicle reaches the end of the flight path; if not, step 204 is performed. If yes, the process ends;
步骤204,所述终端将所述无人飞行器的位置信息和所述全部航点的位置信息发送至所述无人飞行器,以控制所述无人飞行器完成所述飞行航线中的剩余航线。Step 204: The terminal sends location information of the UAV and location information of the all waypoints to the UAV to control the UAV to complete remaining routes in the flight path.
其中,无人飞行器可以根据发送的无人飞行器的位置信息,飞行至该位置信息所表征的位置上。并根据全部航点的位置信息以及该无人飞行器所在的位置,确定剩余航线,并完成剩余航线。Wherein, the unmanned aerial vehicle can fly to the position represented by the position information according to the position information of the transmitted unmanned aerial vehicle. And according to the location information of all waypoints and the location of the unmanned aerial vehicle, the remaining routes are determined, and the remaining routes are completed.
或者,终端可以根据无人飞行器的位置信息和全部航点的位置信息,确定剩余航线的剩余航点的位置信息,并将无人飞行器的位置信息和剩余航点的位置信息发送给无人飞行器。进而,无人飞行器根据接收到的信息完成剩余航线。Alternatively, the terminal may determine location information of the remaining waypoints of the remaining routes according to the location information of the unmanned aerial vehicle and the location information of all the waypoints, and transmit the location information of the unmanned aerial vehicle and the location information of the remaining waypoints to the unmanned aerial vehicle. . Further, the UAV completes the remaining routes based on the received information.
实施例三Embodiment 3
如图3所示,该方法可以包括如下步骤:As shown in FIG. 3, the method may include the following steps:
步骤301,当终端检测到与无人飞行器断开连接时,所述终端获取所述无人飞行器在断开连接前最后一次发送的位置信息;Step 301: When the terminal detects disconnection from the UAV, the terminal acquires location information that is sent by the UAV for the last time before disconnecting;
步骤302,所述终端判断所述无人飞行器是否到达所述飞行航线的终点,若为是,则执行步骤303,若为否,则执行步骤304; Step 302, the terminal determines whether the unmanned aerial vehicle reaches the end of the flight path, if yes, step 303 is performed, if not, step 304 is performed;
步骤303,所述终端保存所述飞行航线中全部航点信息和已完成航线标识,或者仅保存已完成航线标识,执行步骤305; Step 303, the terminal saves all the waypoint information and the completed route identifier in the flight route, or only saves the completed route identifier, and performs step 305;
其中,所述已完成航线标识表示所述无人飞行器已完成所述飞行航线。Wherein the completed route identifier indicates that the unmanned aerial vehicle has completed the flight route.
在本步骤中,终端可以按照预设的策略保存或不保存飞行航线中航点信息。In this step, the terminal may save or not save the waypoint information in the flight route according to a preset policy.
步骤304,所述终端根据所述无人飞行器的位置信息和所述全部航点的位置信息,确定所述飞行航线的剩余航线所包括的剩余航点,以及所述剩余航点的位置信息,保存所述剩余航点的位置信息和未完成航线标识; Step 304, the terminal determines, according to the location information of the unmanned aerial vehicle and the location information of the all waypoints, the remaining waypoints included in the remaining routes of the flight route, and the location information of the remaining waypoints, Saving location information of the remaining waypoints and an unfinished route identifier;
其中,终端根据所述无人飞行器的位置信息和所述全部航点的位置信息,确定剩余航点的位置信息,进而确定剩余航线。其中,剩余航点可以是指无人飞行器当前位置至飞行航线的终点所需要经过的航点。剩余航线由剩余航点组成。The terminal determines the location information of the remaining waypoints according to the location information of the unmanned aerial vehicle and the location information of the all waypoints, and further determines the remaining routes. Wherein, the remaining waypoint may refer to a waypoint that the UAV needs to pass through the current position of the UAV to the end of the flight path. The remaining routes consist of the remaining waypoints.
其中,所述未完成航线标识表示所述无人飞行器还没有完成所述飞行航线。可以设置一个标识位,例如,当该标识位置为1时,表示已完成航线,置为0时,表示未完成航线;当然,也可以当该标识位置为0时,表示已完成航线,置为1时,表示未完成航线;也可以设置两个标识,分别对应已完成航线标识和未完成航线标识,此处不予限定。Wherein the unfinished route identifier indicates that the unmanned aerial vehicle has not completed the flight route. A flag can be set, for example, when the flag position is 1, it indicates that the route has been completed, and when it is set to 0, it indicates that the route is not completed; of course, when the flag position is 0, it indicates that the route has been completed, and is set to At 1 o'clock, it indicates that the route is not completed; two identifiers may also be set, which respectively correspond to the completed route identifier and the unfinished route identifier, which are not limited herein.
步骤305,所述终端重新与所述无人飞行器建立连接; Step 305, the terminal re-establishes a connection with the unmanned aerial vehicle;
步骤306,所述终端判断所述航线信息中是否包括未完成航线标识;若为是,则执行步骤307,若为否,则结束流程。Step 306: The terminal determines whether the route information includes an uncompleted route identifier; if yes, step 307 is performed, and if no, the process ends.
步骤307,所述终端确定所述无人飞行器未完成所述飞行航线,将所述剩余航点的位置信息发送至所述无人飞行器,以控制所述无人飞行器完成所述飞行航线中的剩余航线。Step 307: The terminal determines that the UAV does not complete the flight path, and sends location information of the remaining waypoints to the UAV to control the UAV to complete the flight path. The remaining routes.
实施例四Embodiment 4
如图4所示,该方法可以包括如下步骤:As shown in FIG. 4, the method may include the following steps:
步骤401,当终端检测到与无人飞行器断开连接时,所述终端保存所述无人飞行器的飞行航线的航线信息;Step 401: When the terminal detects disconnection from the UAV, the terminal saves the route information of the flight path of the UAV;
可选地,所述终端还可以保存所述无人飞行器的信息,所述无人飞行器的信息用于唯一标识一个无人飞行器;Optionally, the terminal may further save information of the UAV, and the information of the UAV is used to uniquely identify an UAV;
其中,所述无人飞行器的信息可以包括:无人飞行器的标识信息,例如所述无人飞行器的出厂序列号、所述无人飞行器的型号、或所述无人飞行器的名称等中的一种或结合。以使该飞行器信息能够用于唯一标识一个无人飞行器,或一类无人飞行器,在此不予限定。The information of the UAV may include: identification information of the UAV, such as one of the factory serial number of the UAV, the model of the UAV, or the name of the UAV, and the like. Kind or combination. In order to enable the aircraft information to be used to uniquely identify an unmanned aerial vehicle, or a type of unmanned aerial vehicle, it is not limited herein.
可选地,所述终端还保存与所述飞行航线对应的飞行模式和/或飞行参数信息;Optionally, the terminal further saves flight mode and/or flight parameter information corresponding to the flight path;
飞行航线对应的飞行模式可以包括航点之间最近距离飞行、航点之间预设轨迹飞行、针对一个或多个航点进行N次环绕飞行等中的一种或多种。The flight mode corresponding to the flight path may include one or more of the closest distance flight between the waypoints, a preset trajectory flight between the waypoints, N rounds of flying around one or more waypoints, and the like.
所述飞行参数信息可包括如下至少之一:飞行速度信息、飞行高度信息、距离范围信息、低电量警告信息、返航信息等。The flight parameter information may include at least one of: flight speed information, fly height information, distance range information, low battery warning information, return information, and the like.
其中,飞行速度信息可以针对一个或多个航点。飞行高度信息可以针对一个或多个航点。Wherein, the flight speed information may be for one or more waypoints. The flight altitude information can be for one or more waypoints.
距离范围信息是指无人飞行器与航点之间的距离需要在距离范围信息中所指示的距离范围内。距离范围信息可以针对一个或多个航点。The distance range information means that the distance between the UAV and the waypoint needs to be within the distance indicated in the distance range information. The distance range information can be for one or more waypoints.
所述低电量警告信息可以是在无人飞行器电量低时,输入何种告警,例如可以是在终端中显示提示信息、发出告警声音等。The low battery warning message may be an alarm that is input when the power of the unmanned aerial vehicle is low, for example, the prompt information may be displayed in the terminal, the alarm sound may be sounded, and the like.
所述返航信息可以包括返航条件和返航点信息,当完成航线任务或电量 低或丢失控制信号时,通过无人机自身视觉系统或GPS的记录,自动返回返航点上方并完成自动降落。返航点也可以默认为起始点,或更新为终端所在位置点。The return flight information may include a return flight condition and a return flight point information. When the route task or the low battery or the loss control signal is completed, the UAV's own vision system or GPS record automatically returns to the return point and completes the automatic landing. The return point can also be defaulted to the starting point or updated to the location of the terminal.
步骤402,所述终端重新与所述无人飞行器建立连接;Step 402: The terminal re-establishes a connection with the UAV;
步骤403,所述终端根据所述航线信息判断所述无人飞行器是否未完成所述飞行航线;若是,则执行步骤404,若否,则结束流程;Step 403: The terminal determines, according to the route information, whether the unmanned aerial vehicle has not completed the flight route; if yes, step 404 is performed; if not, the process ends;
可选地,所述终端重新与所述无人飞行器建立连接后,所述终端还判断此次连接的无人飞行器与上次连接的无人飞行器是否相同,可以通过终端保存所述无人飞行器的信息与此次连接的无人飞行器的信息进行比对,若不是同一无人飞行器,则结束流程,可以对此次连接的无人飞行器进行设置新的飞行航线等,在此不予限定。Optionally, after the terminal re-establishes a connection with the UAV, the terminal further determines whether the unmanned aerial vehicle connected to the UAV is the same as the UAV connected last time, and the UAV can be saved by the terminal. The information is compared with the information of the connected unmanned aerial vehicle. If it is not the same unmanned aerial vehicle, the process is terminated, and a new flight route can be set for the connected unmanned aerial vehicle, which is not limited herein.
步骤404,所述终端输出提示信息,所述提示信息用于提示用户是否控制所述无人飞行器完成所述剩余航线; Step 404, the terminal outputs prompt information, where the prompt information is used to prompt the user whether to control the unmanned aerial vehicle to complete the remaining route;
其中,所述提示信息可以是显示提示信息、语音提示信息等,在此不予限定。The prompt information may be display prompt information, voice prompt information, etc., and is not limited herein.
步骤405,所述终端检测到用户针对所述提示信息的确认操作,将所述航线信息发送至所述无人飞行器,以控制所述无人飞行器根据所述航线信息完成所述飞行航线中的剩余航线。Step 405: The terminal detects a confirmation operation of the prompt information by the user, and sends the route information to the unmanned aerial vehicle to control the unmanned aerial vehicle to complete the flight route according to the route information. The remaining routes.
其中,用户的确认操作可以包括触控操作、键盘输入操作、语音操作中的至少一种。The confirmation operation of the user may include at least one of a touch operation, a keyboard input operation, and a voice operation.
可选地,所述终端还将所述飞行模式和/或飞行参数信息发送至所述无人飞行器,以控制所述无人飞行器按照所述飞行模式和/或飞行参数信息完成所 述剩余航线。Optionally, the terminal further transmits the flight mode and/or flight parameter information to the UAV to control the UAV to complete the remaining route according to the flight mode and/or flight parameter information. .
例如,无人飞行器按照接收到的飞行模式经过某一个或多个剩余航点;或者,无人飞行器根据飞行参数信息完成对应航点上的航线任务。For example, the UAV passes one or more remaining waypoints according to the received flight mode; or, the UAV completes the route task on the corresponding waypoint according to the flight parameter information.
上述各实施例中的步骤可结合,在此不予限定。上述各实施例中相同步骤的描述可以相互参见,在此不予赘述。The steps in the above embodiments may be combined and are not limited herein. The description of the same steps in the above embodiments may be referred to each other and will not be described herein.
本申请实施例还提供了一种终端,所述终端可以是包括运行Android操作系统、iOS操作系统、Windows操作系统或其他操作系统的终端,例如智能手机、移动电脑、平板电脑、PDA,或者图像显示终端等。该终端用于实现上述实施例及实施方式,已经进行过说明的不再赘述。The embodiment of the present application further provides a terminal, where the terminal may be a terminal including an Android operating system, an iOS operating system, a Windows operating system, or another operating system, such as a smart phone, a mobile computer, a tablet computer, a PDA, or an image. Display terminals, etc. The terminal is used to implement the foregoing embodiments and implementation manners, and details have been omitted for description.
如图5所示,本申请实施例的终端,包括:存储器51、处理器52及存储在存储器51上并可在处理器上运行的计算机程序。As shown in FIG. 5, the terminal of the embodiment of the present application includes: a memory 51, a processor 52, and a computer program stored on the memory 51 and executable on the processor.
所述处理器执行所述计算机程序时实现以下步骤:The processor implements the following steps when executing the computer program:
当检测到与无人飞行器断开连接时,保存所述无人飞行器的飞行航线的航线信息;Saving route information of a flight path of the unmanned aerial vehicle when detecting disconnection from the unmanned aerial vehicle;
当重新与所述无人飞行器建立连接后,根据所述航线信息判断所述无人飞行器是否未完成所述飞行航线;After reestablishing the connection with the unmanned aerial vehicle, determining, according to the route information, whether the unmanned aerial vehicle has not completed the flight route;
若为是,将所述航线信息发送至所述无人飞行器,以控制所述无人飞行器根据所述航线信息完成所述飞行航线中的剩余航线。If yes, the route information is sent to the unmanned aerial vehicle to control the unmanned aerial vehicle to complete the remaining routes in the flight route according to the route information.
可选地,所述处理器执行所述计算机程序时还实现:Optionally, when the processor executes the computer program, the method further implements:
保存所述无人飞行器飞行航线中全部航点的位置信息,以及在与所述无人飞行器断开连接前最后一次获取的所述无人飞行器的位置信息;Preserving location information of all waypoints in the UAV flight path, and location information of the UAV obtained last time before disconnecting from the UAV;
根据所述无人飞行器的位置信息和所述全部航点的位置信息,判断所述无人飞行器是否到达所述飞行航线的终点;Determining whether the unmanned aerial vehicle reaches an end point of the flight path according to position information of the unmanned aerial vehicle and position information of the all waypoints;
若为否,确定所述无人飞行器未完成所述飞行航线。If not, it is determined that the unmanned aerial vehicle has not completed the flight path.
可选地,所述处理器执行所述计算机程序时还实现:Optionally, when the processor executes the computer program, the method further implements:
当所述终端检测到与所述无人飞行器断开连接时,根据在与所述无人飞行器在断开连接前最后一次获取的位置信息,判断所述无人飞行器是否到达所述飞行航线的终点;Determining, when the terminal detects disconnection from the UAV, whether the UAV arrives at the flight path according to location information acquired last time before the UAV is disconnected from the UAV end;
若为否,根据所述无人飞行器的位置信息和所述飞行航线中全部航点的位置信息,确定所述飞行航线的剩余航线所包括的剩余航点,以及所述剩余航点的位置信息;If not, determining, according to the location information of the unmanned aerial vehicle and the location information of all the waypoints in the flight route, the remaining waypoints included in the remaining routes of the flight route, and the location information of the remaining waypoints ;
保存所述剩余航点的位置信息和未完成航线标识;Saving location information of the remaining waypoints and an unfinished route identifier;
判断所述航线信息中是否包括未完成航线标识;Determining whether the route information includes an unfinished route identifier;
若为是,确定所述无人飞行器未完成所述飞行航线。If so, it is determined that the unmanned aerial vehicle has not completed the flight path.
可选地,所述终端还可以包括用于根据所述处理器的控制与用户进行交互的输入输出装置53,所述输入输出装置53可以包括输入单元531和输出单元532,其中,输入单元531可以包括触控屏、键盘、鼠标、麦克风等,用于接收用户的输入操作,包括用户的确认操作、设置操作等。所述输出单元532可以包括显示屏、扬声器等,用于通过图像或声音等方式,输出提示或提供可选项供用户选择。在一些实施例中,所述输入单元531和输出单元332可以结合在一起,例如显示触控屏等。Optionally, the terminal may further include an input/output device 53 for interacting with the user according to the control of the processor, and the input/output device 53 may include an input unit 531 and an output unit 532, wherein the input unit 531 The touch screen, the keyboard, the mouse, the microphone, and the like may be included for receiving input operations of the user, including a confirmation operation of the user, a setting operation, and the like. The output unit 532 may include a display screen, a speaker, and the like for outputting a prompt or providing an option for selection by a user, such as an image or a sound. In some embodiments, the input unit 531 and the output unit 332 may be combined together, such as a touch screen or the like.
可选地,所述处理器执行所述计算机程序时还实现:Optionally, when the processor executes the computer program, the method further implements:
将所述航线信息发送至所述无人飞行器之前,输出提示信息,所述提示 信息用于提示用户是否控制所述无人飞行器完成所述剩余航线;Before transmitting the route information to the unmanned aerial vehicle, outputting prompt information, the prompt information is used to prompt the user whether to control the unmanned aerial vehicle to complete the remaining route;
检测到用户针对所述提示信息的确认操作后,将所述航线信息发送至所述无人飞行器。After detecting the confirmation operation of the prompt information by the user, the route information is sent to the unmanned aerial vehicle.
其中,可以通过输出单元532显示提示信息、语音提示信息等。例如,可以通过显示提示窗口以提示“是否继续执行剩余航线”,提示窗口中还可以包括“是”和“否”两个按钮控件。当输入单元531检测到用户点击“是”按钮控件,则将所述航线信息发送至所述无人飞行器。The prompt information, the voice prompt information, and the like can be displayed by the output unit 532. For example, you can display the prompt window to prompt "Whether to continue to execute the remaining routes", and the prompt window can also include "Yes" and "No" two button controls. When the input unit 531 detects that the user clicks the "Yes" button control, the route information is transmitted to the UAV.
可选地,所述处理器执行所述计算机程序时还实现:Optionally, when the processor executes the computer program, the method further implements:
保存与所述飞行航线对应的飞行模式和/或飞行参数信息;Saving flight mode and/or flight parameter information corresponding to the flight path;
将所述飞行模式和/或飞行参数信息发送至所述无人飞行器,以控制所述无人飞行器按照所述飞行模式和/或飞行参数信息完成所述剩余航线。The flight mode and/or flight parameter information is transmitted to the UAV to control the UAV to complete the remaining course in accordance with the flight mode and/or flight parameter information.
当然,该终端还可以包括其他装置,例如,通信装置等,用以实现与无人飞行器的通信连接。对于终端包括的其他装置或电路结构等,在此不予限定。Of course, the terminal may also include other devices, such as communication devices, etc., for enabling a communication connection with the UAV. Other devices or circuit configurations included in the terminal are not limited herein.
本申请实施例还提供了一种无人飞行器的控制装置,该装置用于实现上述实施例及实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以是用于实现上述功能的软件、硬件或二者组合。The embodiment of the present application further provides a control device for an unmanned aerial vehicle, which is used to implement the foregoing embodiments and implementation manners, and has not been described again. As used below, the term "module" can be software, hardware, or a combination of both to implement the functions described above.
如图6所示,本申请实施例的无人飞行器的控制装置包括:As shown in FIG. 6, the control device of the UAV of the embodiment of the present application includes:
保存模块61,用于当检测到与无人飞行器断开连接时,保存所述无人飞行器的飞行航线的航线信息;a saving module 61, configured to save route information of a flight path of the unmanned aerial vehicle when detecting disconnection from the unmanned aerial vehicle;
第一判断模块62,用于当重新与所述无人飞行器建立连接后,根据所述 航线信息判断所述无人飞行器是否未完成所述飞行航线;The first judging module 62 is configured to determine, according to the route information, whether the unmanned aerial vehicle has not completed the flight path after reestablishing a connection with the unmanned aerial vehicle;
发送模块63,用于若所述第一判断模块判断为是,将所述航线信息发送至所述无人飞行器,以控制所述无人飞行器根据所述航线信息完成所述飞行航线中的剩余航线。The sending module 63 is configured to send the route information to the UAV if the first determining module determines to be YES, to control the UAV to complete the remaining in the flight path according to the route information. route.
可选地,所述保存模块61,用于保存所述无人飞行器飞行航线中全部航点的位置信息,以及在与所述无人飞行器断开连接前最后一次获取的所述无人飞行器的位置信息;Optionally, the saving module 61 is configured to save location information of all the waypoints in the flight path of the UAV, and the last acquired unmanned aerial vehicle before disconnecting from the UAV location information;
所述判断模块62,用于根据所述无人飞行器的位置信息和所述全部航点的位置信息,判断所述无人飞行器是否到达所述飞行航线的终点;若为否,确定所述无人飞行器未完成所述飞行航线。The determining module 62 is configured to determine, according to the location information of the UAV and the location information of the all waypoints, whether the UAV arrives at an end point of the flight path; if not, determine the None The human aircraft did not complete the flight route.
可选地,所述装置还包括第二判断模块,所述第二判断模块,用于当检测到与所述无人飞行器断开连接时,根据在与所述无人飞行器在断开连接前最后一次获取的位置信息,判断所述无人飞行器是否到达所述飞行航线的终点;Optionally, the device further includes a second determining module, configured to, when detecting disconnection from the UAV, according to being disconnected from the UAV The last acquired position information, determining whether the unmanned aerial vehicle reaches the end of the flight path;
所述保存模块61,还用于所述第二判断模块判断为否时,根据所述无人飞行器的位置信息和所述飞行航线中全部航点的位置信息,确定所述飞行航线的剩余航线所包括的剩余航点,以及所述剩余航点的位置信息,保存所述剩余航点的位置信息和未完成航线标识;The saving module 61 is further configured to: when the second determining module determines to be no, determine the remaining routes of the flight route according to the location information of the unmanned aerial vehicle and the location information of all the waypoints in the flight route. The remaining waypoints included, and the location information of the remaining waypoints, the location information of the remaining waypoints and the unfinished route identifiers are saved;
所述第一判断模块62,用于判断所述航线信息中是否包括未完成航线标识;若为是,确定所述无人飞行器未完成所述飞行航线。The first determining module 62 is configured to determine whether the route information includes an uncompleted route identifier; if yes, determine that the unmanned aerial vehicle does not complete the flight route.
可选地,所述装置还包括输出模块,用于输出提示信息,所述提示信息用于提示用户是否控制所述无人飞行器完成所述剩余航线;Optionally, the device further includes an output module, configured to output prompt information, where the prompt information is used to prompt the user whether to control the unmanned aerial vehicle to complete the remaining route;
所述发送模块63,用于检测到用户针对所述提示信息的确认操作后,将所述航线信息发送至所述无人飞行器。The sending module 63 is configured to send the route information to the unmanned aerial vehicle after detecting a confirmation operation of the prompt information by the user.
可选地,所述保存模块61,还用于保存与所述飞行航线对应的飞行模式和/或飞行参数信息;Optionally, the saving module 61 is further configured to save flight mode and/or flight parameter information corresponding to the flight path;
所述发送模块63,还用于将所述飞行模式和/或飞行参数信息发送至所述无人飞行器,以控制所述无人飞行器按照所述飞行模式和/或飞行参数信息完成所述剩余航线。The sending module 63 is further configured to send the flight mode and/or flight parameter information to the UAV to control the UAV to complete the remaining according to the flight mode and/or flight parameter information. route.
上述模块的功能可由上述终端实现。The functions of the above modules can be implemented by the above terminals.
本申请实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述无人飞行器的控制方法。The embodiment of the present application further provides a computer readable storage medium storing computer executable instructions for executing the control method of the unmanned aerial vehicle.
在本实施例中,上述计算机可读存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。In this embodiment, the computer readable storage medium may include, but is not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic disk. Or a variety of media such as optical discs that can store program code.
虽然本申请所揭露的实施方式如上,但所述的内容仅为便于理解本申请而采用的实施方式。任何本领域内的技术人员,在不脱离本申请所揭露的精神和范围的前提下,可以在实施的形式及细节上进行任何的修改与变化。Although the embodiments disclosed in the present application are as above, the described content is only an embodiment adopted to facilitate understanding of the present application. Any modification and variation in the form and details of the embodiments may be made by those skilled in the art without departing from the spirit and scope of the invention.

Claims (11)

  1. 一种无人飞行器的控制方法,其特征在于,包括:A method for controlling an unmanned aerial vehicle, comprising:
    当终端检测到与无人飞行器断开连接时,所述终端保存所述无人飞行器的飞行航线的航线信息;When the terminal detects disconnection from the UAV, the terminal saves the route information of the flight path of the UAV;
    当所述终端重新与所述无人飞行器建立连接后,所述终端根据所述航线信息判断所述无人飞行器是否未完成所述飞行航线;After the terminal re-establishes a connection with the unmanned aerial vehicle, the terminal determines, according to the route information, whether the unmanned aerial vehicle has not completed the flight route;
    若为是,所述终端将所述航线信息发送至所述无人飞行器,以控制所述无人飞行器根据所述航线信息完成所述飞行航线中的剩余航线。If yes, the terminal sends the route information to the unmanned aerial vehicle to control the unmanned aerial vehicle to complete the remaining routes in the flight route according to the route information.
  2. 根据权利要求1所述的方法,其特征在于,所述终端保存所述飞行航线的航线信息,包括:The method according to claim 1, wherein the terminal saves the route information of the flight route, including:
    所述终端保存所述无人飞行器飞行航线中全部航点的位置信息,以及在与所述无人飞行器断开连接前最后一次获取的所述无人飞行器的位置信息;The terminal saves location information of all waypoints in the flight path of the UAV, and location information of the unmanned aerial vehicle that was last acquired before disconnecting from the UAV;
    所述终端根据所述航线信息判断所述无人飞行器是否未完成所述飞行航线,包括:Determining, by the terminal, whether the unmanned aerial vehicle has not completed the flight route according to the route information, including:
    所述终端根据所述无人飞行器的位置信息和所述全部航点的位置信息,判断所述无人飞行器是否到达所述飞行航线的终点;Determining, by the terminal, whether the unmanned aerial vehicle reaches an end point of the flight path according to position information of the unmanned aerial vehicle and position information of the all waypoints;
    若为否,所述终端确定所述无人飞行器未完成所述飞行航线。If not, the terminal determines that the unmanned aerial vehicle has not completed the flight path.
  3. 根据权利要求1所述的方法,其特征在于,当所述终端检测到与所述无人飞行器断开连接时,所述方法还包括:The method of claim 1, wherein when the terminal detects disconnection from the UAV, the method further comprises:
    所述终端根据在与所述无人飞行器在断开连接前最后一次获取的位置信息,判断所述无人飞行器是否到达所述飞行航线的终点;Determining, by the terminal, whether the unmanned aerial vehicle reaches an end point of the flight path according to position information acquired last time before disconnecting from the unmanned aerial vehicle;
    若为否,所述终端根据所述无人飞行器的位置信息和所述飞行航线中全 部航点的位置信息,确定所述飞行航线的剩余航线所包括的剩余航点,以及所述剩余航点的位置信息;If not, the terminal determines, according to the location information of the UAV and the location information of all the waypoints in the flight path, the remaining waypoints included in the remaining routes of the flight route, and the remaining waypoints Location information;
    所述终端保存所述飞行航线的航线信息,包括:The terminal saves the route information of the flight route, including:
    所述终端保存所述剩余航点的位置信息和未完成航线标识;The terminal saves location information of the remaining waypoints and an uncompleted route identifier;
    所述终端根据所述航线信息判断所述无人飞行器是否未完成所述飞行航线,包括:Determining, by the terminal, whether the unmanned aerial vehicle has not completed the flight route according to the route information, including:
    所述终端判断所述航线信息中是否包括未完成航线标识;Determining, by the terminal, whether the route information includes an uncompleted route identifier;
    若为是,所述终端确定所述无人飞行器未完成所述飞行航线。If so, the terminal determines that the unmanned aerial vehicle has not completed the flight path.
  4. 根据权利要求1~3中任意一项所述的方法,其特征在于,所述终端将所述航线信息发送至所述无人飞行器之前,所述方法还包括:The method according to any one of claims 1 to 3, wherein before the terminal transmits the route information to the unmanned aerial vehicle, the method further includes:
    所述终端输出提示信息,所述提示信息用于提示用户是否控制所述无人飞行器完成所述剩余航线;The terminal outputs prompt information, where the prompt information is used to prompt the user whether to control the unmanned aerial vehicle to complete the remaining route;
    所述终端将所述航线信息发送至所述无人飞行器,包括:Sending, by the terminal, the route information to the unmanned aerial vehicle, including:
    所述终端检测到用户针对所述提示信息的确认操作后,将所述航线信息发送至所述无人飞行器。After detecting the confirmation operation of the prompt information by the user, the terminal sends the route information to the unmanned aerial vehicle.
  5. 根据权利要求1~3中任意一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 3, wherein the method further comprises:
    所述终端保存与所述飞行航线对应的飞行模式和/或飞行参数信息;The terminal saves flight mode and/or flight parameter information corresponding to the flight path;
    所述终端将所述飞行模式和/或飞行参数信息发送至所述无人飞行器,以控制所述无人飞行器按照所述飞行模式和/或飞行参数信息完成所述剩余航线。The terminal transmits the flight mode and/or flight parameter information to the UAV to control the UAV to complete the remaining course in accordance with the flight mode and/or flight parameter information.
  6. 一种终端,包括:存储器、处理器及存储在存储器上并可在处理器 上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现以下步骤:A terminal comprising: a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein the processor executes the computer program to implement the following steps:
    当检测到与无人飞行器断开连接时,保存所述无人飞行器的飞行航线的航线信息;Saving route information of a flight path of the unmanned aerial vehicle when detecting disconnection from the unmanned aerial vehicle;
    当重新与所述无人飞行器建立连接后,根据所述航线信息判断所述无人飞行器是否未完成所述飞行航线;After reestablishing the connection with the unmanned aerial vehicle, determining, according to the route information, whether the unmanned aerial vehicle has not completed the flight route;
    若为是,将所述航线信息发送至所述无人飞行器,以控制所述无人飞行器根据所述航线信息完成所述飞行航线中的剩余航线。If yes, the route information is sent to the unmanned aerial vehicle to control the unmanned aerial vehicle to complete the remaining routes in the flight route according to the route information.
  7. 根据权利要求6所述的终端,其特征在于,所述处理器执行所述计算机程序时还实现:The terminal according to claim 6, wherein the processor further implements when the computer program is executed:
    保存所述无人飞行器飞行航线中全部航点的位置信息,以及在与所述无人飞行器断开连接前最后一次获取的所述无人飞行器的位置信息;Preserving location information of all waypoints in the UAV flight path, and location information of the UAV obtained last time before disconnecting from the UAV;
    根据所述无人飞行器的位置信息和所述全部航点的位置信息,判断所述无人飞行器是否到达所述飞行航线的终点;Determining whether the unmanned aerial vehicle reaches an end point of the flight path according to position information of the unmanned aerial vehicle and position information of the all waypoints;
    若为否,确定所述无人飞行器未完成所述飞行航线。If not, it is determined that the unmanned aerial vehicle has not completed the flight path.
  8. 根据权利要求6所述的终端,其特征在于,所述处理器执行所述计算机程序时还实现:The terminal according to claim 6, wherein the processor further implements when the computer program is executed:
    当所述终端检测到与所述无人飞行器断开连接时,根据在与所述无人飞行器在断开连接前最后一次获取的位置信息,判断所述无人飞行器是否到达所述飞行航线的终点;Determining, when the terminal detects disconnection from the UAV, whether the UAV arrives at the flight path according to location information acquired last time before the UAV is disconnected from the UAV end;
    若为否,根据所述无人飞行器的位置信息和所述飞行航线中全部航点的位置信息,确定所述飞行航线的剩余航线所包括的剩余航点,以及所述剩余 航点的位置信息;If not, determining, according to the location information of the unmanned aerial vehicle and the location information of all the waypoints in the flight route, the remaining waypoints included in the remaining routes of the flight route, and the location information of the remaining waypoints ;
    保存所述剩余航点的位置信息和未完成航线标识;Saving location information of the remaining waypoints and an unfinished route identifier;
    判断所述航线信息中是否包括未完成航线标识;Determining whether the route information includes an unfinished route identifier;
    若为是,确定所述无人飞行器未完成所述飞行航线。If so, it is determined that the unmanned aerial vehicle has not completed the flight path.
  9. 根据权利要求6~8中任意一项所述的终端,其特征在于,所述处理器执行所述计算机程序时还实现:The terminal according to any one of claims 6 to 8, wherein the processor further implements when the computer program is executed:
    将所述航线信息发送至所述无人飞行器之前,输出提示信息,所述提示信息用于提示用户是否控制所述无人飞行器完成所述剩余航线;Before transmitting the route information to the unmanned aerial vehicle, outputting prompt information, the prompt information being used to prompt the user whether to control the unmanned aerial vehicle to complete the remaining route;
    检测到用户针对所述提示信息的确认操作后,将所述航线信息发送至所述无人飞行器。After detecting the confirmation operation of the prompt information by the user, the route information is sent to the unmanned aerial vehicle.
  10. 根据权利要求6~8中任意一项所述的终端,其特征在于,所述处理器执行所述计算机程序时还实现:The terminal according to any one of claims 6 to 8, wherein the processor further implements when the computer program is executed:
    保存与所述飞行航线对应的飞行模式和/或飞行参数信息;Saving flight mode and/or flight parameter information corresponding to the flight path;
    将所述飞行模式和/或飞行参数信息发送至所述无人飞行器,以控制所述无人飞行器按照所述飞行模式和/或飞行参数信息完成所述剩余航线。The flight mode and/or flight parameter information is transmitted to the UAV to control the UAV to complete the remaining course in accordance with the flight mode and/or flight parameter information.
  11. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1-5任一项所述的无人飞行器的控制方法。A computer readable storage medium storing computer executable instructions for performing the control method of the unmanned aerial vehicle of any of claims 1-5.
PCT/CN2018/106539 2017-11-13 2018-09-19 Unmanned aerial vehicle control method and terminal WO2019091226A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201711115437.X 2017-11-13
CN201711115437.XA CN107831785A (en) 2017-11-13 2017-11-13 The control method and terminal of a kind of unmanned vehicle

Publications (1)

Publication Number Publication Date
WO2019091226A1 true WO2019091226A1 (en) 2019-05-16

Family

ID=61654169

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/106539 WO2019091226A1 (en) 2017-11-13 2018-09-19 Unmanned aerial vehicle control method and terminal

Country Status (2)

Country Link
CN (1) CN107831785A (en)
WO (1) WO2019091226A1 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107831785A (en) * 2017-11-13 2018-03-23 深圳市道通智能航空技术有限公司 The control method and terminal of a kind of unmanned vehicle
DE102018120013A1 (en) * 2018-08-16 2020-02-20 Autel Robotics Europe Gmbh METHOD, DEVICE AND SYSTEM FOR TRANSMITTING TRAVEL INFORMATION, UNMANNED AIRCRAFT, GROUND STATION AND COMPUTER READABLE STORAGE MEDIUM
CN109445464B (en) * 2019-01-08 2021-06-25 深圳市道通智能航空技术股份有限公司 Flight control method and flight control system
CN110345945B (en) * 2019-05-29 2022-02-15 深圳市道通智能航空技术股份有限公司 Transmission method and device of reference flight point data and unmanned aerial vehicle
CN110597283A (en) * 2019-09-06 2019-12-20 深圳市道通智能航空技术有限公司 Flight method, terminal device, aircraft and flight system
CN111754357A (en) * 2019-10-28 2020-10-09 广州极飞科技有限公司 Job control method, device, system, equipment and readable storage medium
CN111449572A (en) * 2020-03-26 2020-07-28 北京石头世纪科技股份有限公司 Cleaning robot control method and device, storage medium and cleaning robot
CN113485428A (en) * 2021-07-23 2021-10-08 中国科学院地理科学与资源研究所 Unmanned aerial vehicle flight route management system, method and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104516354A (en) * 2014-12-25 2015-04-15 中国人民解放军总参谋部第六十研究所 Intelligent return route control method for unmanned helicopter power line patrol
CN105867181A (en) * 2016-04-01 2016-08-17 腾讯科技(深圳)有限公司 Control method and apparatus of unmanned aerial vehicle
CN106371457A (en) * 2016-10-26 2017-02-01 广州极飞科技有限公司 Operation method and device for plant protection unmanned aerial vehicle
US20170200376A1 (en) * 2016-01-12 2017-07-13 Fuji Jukogyo Kabushiki Kaisha Travel path setting apparatus, method of setting travel path, and recording medium
EP3205977A1 (en) * 2016-02-15 2017-08-16 Topcon Corporation Flight plan preparing method and flying vehicle guiding system
CN107179779A (en) * 2017-06-23 2017-09-19 深圳市乐升科技有限公司 A kind of Intelligent unattended machine control system and method
CN107831785A (en) * 2017-11-13 2018-03-23 深圳市道通智能航空技术有限公司 The control method and terminal of a kind of unmanned vehicle

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104516354A (en) * 2014-12-25 2015-04-15 中国人民解放军总参谋部第六十研究所 Intelligent return route control method for unmanned helicopter power line patrol
US20170200376A1 (en) * 2016-01-12 2017-07-13 Fuji Jukogyo Kabushiki Kaisha Travel path setting apparatus, method of setting travel path, and recording medium
EP3205977A1 (en) * 2016-02-15 2017-08-16 Topcon Corporation Flight plan preparing method and flying vehicle guiding system
CN105867181A (en) * 2016-04-01 2016-08-17 腾讯科技(深圳)有限公司 Control method and apparatus of unmanned aerial vehicle
CN106371457A (en) * 2016-10-26 2017-02-01 广州极飞科技有限公司 Operation method and device for plant protection unmanned aerial vehicle
CN107179779A (en) * 2017-06-23 2017-09-19 深圳市乐升科技有限公司 A kind of Intelligent unattended machine control system and method
CN107831785A (en) * 2017-11-13 2018-03-23 深圳市道通智能航空技术有限公司 The control method and terminal of a kind of unmanned vehicle

Also Published As

Publication number Publication date
CN107831785A (en) 2018-03-23

Similar Documents

Publication Publication Date Title
WO2019091226A1 (en) Unmanned aerial vehicle control method and terminal
WO2019085430A1 (en) Method for controlling unmanned aerial vehicle, and terminal
US11041737B2 (en) Method, device and system for processing a flight task
WO2019119829A1 (en) Unmanned aerial vehicle control method and device, remote control apparatus, and unmanned aerial vehicle system
EP3792726B1 (en) Unmanned aerial vehicle control method and apparatus, base station and unmanned aerial vehicle
JP6212663B1 (en) Unmanned aircraft flight control application and unmanned aircraft flight control method
WO2022166501A1 (en) Unmanned aerial vehicle control
CN110471443B (en) Method, device and system for transmitting route information, unmanned aerial vehicle, ground station and computer readable storage medium
WO2019006773A1 (en) Return flight method and device for unmanned aerial vehicle in low electric quantity
US10964220B2 (en) Methods and apparatus for providing continuous flight trajectories for aircraft
US11877253B2 (en) Aircraft time synchronization system and method
US20190221128A1 (en) Flight control method, device, and smart terminal
WO2021114154A1 (en) Control method for unmanned aerial vehicle, terminal device, unmanned aerial vehicle and storage medium
WO2021043325A1 (en) Flight method, terminal device, aircraft, and flight system
CN114071794A (en) Multi-device pairing control method and device, remote controller and storage medium
US20190195641A1 (en) Electronic device for providing operation information of vehicle and method for the same
WO2019241970A1 (en) Unmanned aerial vehicle speaker control method and device
WO2023025204A1 (en) Remote control method and device and first and second control ends
EP4046911A1 (en) Information processing device, information processing system, information processing method, and program
US11971729B2 (en) Unmanned aerial vehicle control method and terminal
WO2019041246A1 (en) Method and device for retrieving unmanned aerial vehicle upon interruption of communication link, and computation device
WO2020118500A1 (en) Control method, control system, computer readable storage medium, and flyable device
WO2020113399A1 (en) State prompting method, system and apparatus for fixed rtk base station, mobile rtk station and mobile device
WO2022040884A1 (en) Control method and terminal, unmanned aerial vehicle, system and computer-readable storage medium
CN114758503B (en) Driving data processing method, device, server 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: 18877206

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: 18877206

Country of ref document: EP

Kind code of ref document: A1