UAV communication method, device, computer readable storage medium and equipment

Receive UAV information through the autonomous communication network and combine it with environmental data to adjust the UAV flight route and parameters, solving the problem of flight failures in traditional UAV control solutions and improving mission completion efficiency.

CN112925335BActive Publication Date: 2024-10-01丰翼科技(深圳)有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201911245001.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-12-06
Publication Date
2024-10-01
Estimated Expiration
2039-12-06

AI Technical Summary

Technical Problem

Traditional drone control solutions fail to consider the flight environment and information of the drone in real time, causing the drone to malfunction during flight and fail to successfully complete its mission.

Method used

Receive the flight information and parameters sent by the drone through the autonomous communication network, combined with the location and meteorological information obtained by the terminal, determine whether the drone flight route matches the target route, and determine whether the parameters match the meteorological information. If they do not match, Then control instructions are generated to adjust the flight of the drone.

Benefits of technology

It improves the communication signal coverage and flight area of ​​the UAV in the wild flying area, reduces flight failures, and improves the efficiency of task completion.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112925335B_ABST
    Figure CN112925335B_ABST
Patent Text Reader

Abstract

The present application relates to a drone control method, device, computer-readable storage medium and computer equipment, the method comprising: receiving drone flight information and drone parameters sent by a drone through an autonomous communication networking network; using the autonomous communication networking network, receiving location information and meteorological information about the flight environment of the drone obtained by a terminal; formulating a target flight route for the drone according to the location information; judging whether the drone flight route matches the target flight route according to the drone flight information, and judging whether the drone parameters match the meteorological information; if the drone flight route does not match the target flight route, and the drone parameters do not match the meteorological information, then obtaining corresponding prompt information; generating a first control instruction according to the prompt information and the drone parameters, and controlling the drone through the first control instruction. The flight failures during the drone flight process are reduced, and the efficiency of the drone in successfully completing the task is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of drone technology, and in particular to a drone communication method, device, computer-readable storage medium, and computer equipment. Background Art

[0002] With the development of drone technology, the performance of drones has been continuously enhanced and the types have been increasing, which has led to a continuous increase in the demand for their application in various fields. For example, in tasks that require frequent repetition and are difficult and high-risk, such as power inspection, forest fire prevention, and logistics distribution, drones play a very important role.

[0003] However, traditional drone control schemes do not take into account the drone's flight environment and drone information in real time, which may result in flight failures during the flight and the inability to successfully complete the corresponding tasks. Summary of the invention

[0004] Based on this, it is necessary to provide a drone communication method, device, computer-readable storage medium and computer equipment to address the technical problems that may occur during the flight of the drone and the inability to successfully complete the corresponding mission.

[0005] A method for controlling a drone, comprising:

[0006] Receive UAV flight information and UAV parameters sent by the UAV through the autonomous communication network;

[0007] Using the autonomous communication network, receiving the location information and weather information about the flight environment of the UAV acquired by the terminal;

[0008] formulating a target flight route for the drone based on the location information;

[0009] Determining whether the flight route of the drone matches the target flight route based on the drone flight information, and determining whether the drone parameters match the meteorological information;

[0010] If the flight route of the UAV does not match the target flight route, and the UAV parameters do not match the weather information, then obtaining corresponding prompt information;

[0011] A first control instruction is generated according to the prompt information and the drone parameters, and the drone is controlled by the first control instruction.

[0012] A drone control device, comprising:

[0013] A first receiving module is used to receive UAV flight information and UAV parameters sent by the UAV through the autonomous communication network;

[0014] A second receiving module is used to receive the location information and weather information acquired by the terminal through the autonomous communication network;

[0015] A location module, used to formulate a target flight route for the UAV according to the location information;

[0016] A judgment module, used to judge whether the flight route of the drone matches the target flight route according to the drone flight information, and to judge whether the drone parameters match the meteorological information;

[0017] An information acquisition module, used for acquiring corresponding prompt information if the flight route of the UAV does not match the target flight route and the UAV parameters do not match the meteorological information;

[0018] The control module is used to generate a first control instruction according to the prompt information and the drone parameters, and control the drone through the first control instruction.

[0019] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor executes the steps of a drone control method.

[0020] The above-mentioned UAV communication method, device, computer-readable storage medium and computer equipment use the autonomous communication networking network to receive the UAV flight information and UAV parameters sent by the UAV and the position information and meteorological information obtained by the terminal in real time, thereby increasing the signal coverage area of ​​the UAV communication and expanding the field flight area of ​​the UAV; and judging whether the UAV flight route matches the target flight route and whether the UAV parameters match the meteorological information according to the UAV flight information, and if not, sending a prompt message to the control terminal, and monitoring the surrounding environment data including the position information and meteorological information of the UAV flight environment obtained autonomously in real time through the autonomous communication networking terminal equipment in real time, and judging whether the surrounding environment data matches the UAV information by calculating the endurance and external force resistance of the UAV under the real-time position information and meteorological information. Compared with the technical solution in the traditional technology that simply compares the surrounding environment data with the UAV information after obtaining the surrounding environment data and does not calculate the endurance and external force resistance of the UAV under the surrounding environment data, this solution improves the efficiency of real-time monitoring and early warning of the UAV. Generate control instructions according to the prompt information and the UAV parameters, and control the UAV in time through the control instructions, thereby reducing the flight failures of the UAV during the flight process and improving the efficiency of the UAV in successfully completing the corresponding tasks. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1A diagram showing an application environment of a drone control method in one embodiment;

[0022] Figure 2 A schematic diagram of a flow chart of a method for controlling a drone in one embodiment;

[0023] Figure 3 A schematic diagram of a flow chart of a drone control step in an embodiment;

[0024] Figure 4 A schematic diagram of a flow chart of a drone control step in an embodiment;

[0025] Figure 5 A schematic diagram of a flow chart of a drone control step in an embodiment;

[0026] Figure 6 A schematic diagram of a flow chart of a drone control step in an embodiment;

[0027] Figure 7 A schematic diagram of a flow chart of a method for controlling a drone in one embodiment;

[0028] Figure 8 is a structural block diagram of a drone control device in one embodiment;

[0029] Fig. 9 is a structural block diagram of a drone control device in one embodiment;

[0030] Fig.10 FIG. 4 is a structural block diagram of a computer device in one embodiment. DETAILED DESCRIPTION

[0031] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0032] Figure 1 FIG. 1 is an application environment diagram of a drone control method in an embodiment. Figure 1, the drone control method is applied to a drone control system. The drone control system includes a drone 110, a server 120 and a terminal 130. The drone 110, the terminal 130 and the server 120 are connected through a network. The server 120 receives the drone flight information and drone parameters sent by the drone 110 through an autonomous communication networking network; uses the autonomous communication networking network to receive the location information and meteorological information about the flight environment of the drone obtained by the terminal 130; the server 120 formulates a target flight route for the drone according to the location information; determines whether the drone flight route matches the target flight route based on the drone flight information, and determines whether the drone parameters match the meteorological information; if the drone flight route does not match the target flight route, and the drone parameters do not match the meteorological information, then obtain the corresponding prompt information; generate a first control instruction according to the prompt information and the drone parameters, and control the drone 110 through the first control instruction.

[0033] The terminal 130 may be a device including a location sensor, a weather sensor, a controller and a display screen, and may be a desktop terminal or a mobile terminal, and the mobile terminal may be at least one of a mobile phone, a tablet computer, a laptop computer, etc. The server 120 may be implemented as an independent server or a server cluster consisting of multiple servers.

[0034] like Figure 2 As shown, in one embodiment, a method for controlling a drone is provided. This embodiment mainly applies the method to the above Figure 1 The server 120 in FIG. Figure 2 , the drone control method specifically includes the following steps:

[0035] S202, receiving drone flight information and drone parameters sent by the drone through the autonomous communication network.

[0036] In one embodiment, the server is connected to the drone through an autonomous communication network. The self-organizing communication network is a network that can realize the mutual conversion of radio data and mobile communication data, and is composed of one or more portable servers and drone communication base stations. The drone communication base station is equipped with a communication module, a positioning module and a signal transmitter. The server, the terminal and the drone form a self-organizing communication network by receiving the signal sent by the signal transmitter of the drone communication base station, and send the control instruction to the communication module of the drone communication base station. The communication module sends the control instruction to the signal transmitter. The signal transmitter adjusts and amplifies the signal according to the control instruction and sends it to the terminal and the drone. After receiving the control instruction, the terminal and the drone complete the corresponding operation. The drone communication base station can be located by the positioning module on the drone communication base station, and the autonomous communication network signal with the base station as the center is from strong to weak. When multiple base stations are added to form a base station network, a larger and more stable autonomous communication network area can be formed, in which the base stations establish communication connections through the server.

[0037] In one embodiment, the antenna in the drone communication base station radiates signals upward to ensure that the server can communicate with drones flying at high altitudes without mobile communication networks. The size of the area covered by the self-organizing communication network signal is not affected by the terrain environment. Radio data can be used to communicate with drones and terminals in forest areas, plateaus, hills, islands and other areas with sparse population and less coverage of mobile communication network signal towers to ensure smooth communication between the server and the drones and terminals. During the execution of the mission, the drone can establish a communication connection with one or more drone base stations. When the drone flies out of the signal reception range of a drone base station, it establishes a communication connection with the drone base station within the new signal range. When the drone receives signals transmitted by multiple drone base stations, it judges the strength of each signal, and the drone connects to the strongest signal to maintain a smooth communication connection with the server.

[0038] In one embodiment, the components of the drone include a communication device, a controller, a positioning device, a propeller, and a battery. The drone flight information includes the drone positioning information, the current flight attitude, and the real-time flight speed. The drone positioning module monitors the drone positioning information in real time. The drone positioning information includes the longitude and latitude coordinates, flight altitude, and altitude of the drone flight, which are represented by three-dimensional positioning coordinates (116.389550, 39.928167, 120, 3500), wherein 116.389550 represents the longitude position of the drone, 39.928167 represents the latitude position of the drone, 120 represents the flight altitude of the drone from the ground (in meters), and 3500 represents the altitude of the drone flight (in meters). The controller controls the flight angle of the drone fuselage and the rotation speed of the propeller to adjust the drone flight attitude and flight speed. The drone flight attitude includes level flight attitude, pitch attitude, and roll attitude. The flight speed is related to the drone flight attitude, and different flight attitudes have different effects on the flight speed. For example, tilting up 25 degrees, the rising speed is 6 meters per second, tilting down 25 degrees, the descending speed is 4 meters per second, tilting to the right 35 degrees, and the turning speed is 1 meter per second. Drone parameters include power value and external force resistance. The controller monitors the battery status of the drone in real time, such as 100% power is full power, 100% to 30% power is normal power, 30%-10% power is low power, and 10% and below power is warning power. The power system, structural type, and structural design of the drone determine the drone's external force resistance. The external force resistance performance includes wind resistance value and three-proof level, among which the three-proof level is the performance index of the drone body components such as waterproof, dustproof, and anti-corrosion. The manufacturing material, structural design, production and installation process of the drone determine the three-proof level of the drone. Regarding the wind resistance values ​​at different flight speeds, generally speaking, the larger the drone size and the greater the power of the power system, the greater the wind resistance value and the better the wind resistance performance of the drone. For example, the maximum wind resistance value of a 1.4kg drone when flying with the wind is 8 meters / second, and the maximum wind resistance value when flying against the wind is 5 meters / second. The maximum wind resistance value of a 0.74kg drone when flying with the wind is 6 meters / second, and the maximum wind resistance value when flying against the wind is 3 meters / second.

[0039] In one embodiment, the UAV flight information and the UAV parameters can be stored in the UAV, and the controller in the UAV uses a communication device to send the UAV flight information and the UAV parameters to the server through the autonomous communication network. The server receives the UAV flight information and the UAV parameters.

[0040] In one embodiment, the server connects to the communication device on the drone through an autonomous communication network to communicate with the drone. The server accesses the drone controller to obtain the drone flight information and drone parameters stored in the drone controller.

[0041] S204, using the autonomous communication network, receiving the location information and weather information about the flight environment of the UAV obtained by the terminal.

[0042] In one embodiment, the flight environment of the drone refers to the surrounding environment for the drone to fly, which is composed of location information and meteorological information. The flight environment of the drone includes geographical environments such as plains, forests, plateaus, hills, islands, and deserts. Different geographical environments have different effects on the flight of the drone. For example, there are many trees in the forest area and many obstacles. The desert is vast, but the remoteness of the desert makes it inconvenient to power the terminal, and the wind speed is high and the visibility is low during sandstorms. The flight environment also includes social environments such as areas with dense tall buildings, construction sites, and public areas of airports and stations. Different social environments have different effects on the flight of the drone. For example, when the surrounding environment is an area with dense tall buildings, there are many obstacles and people. When the surrounding environment is a power plant, a high-voltage transmission line, a communication base station and other buildings, it will affect the normal communication of the drone and affect flight safety.

[0043] In one embodiment, the terminal includes a position sensor, through which the position information of the flight environment of the drone is obtained. The position sensor calculates the terrain undulations, the length, width and height of each object, the distance and distribution between each object in the flight environment of the drone through the global positioning system, radar, infrared, ultrasonic and laser, etc., to form the position information. The position information of the flight environment of the drone can be displayed through a three-dimensional map. The position information of the flight environment of the drone also includes the longitude and latitude coordinates and the altitude of the flight area, such as (116.389550-117.389550, 39.928167-39.728167, 3500-3700), where 116.389550-117.389550 represents the longitude range of the drone flight area, 39.928167-39.728167 represents the latitude range of the drone flight area, and 3500-3700 represents the altitude range of the drone flight area (in meters).

[0044] In one embodiment, the terminal includes a meteorological monitoring sensor for real-time monitoring of various meteorological elements such as wind speed, wind direction, rainfall, solar radiation intensity, air pressure, temperature and humidity. The server communicates with the meteorological sensor through an autonomous communication network to obtain real-time meteorological information of the flight environment, and performs statistical analysis and processing based on the obtained real-time meteorological information, such as predicting the rainfall change in the future period based on the rainfall change in the previous period. When the server obtains that the rainfall monitored by the meteorological monitoring sensor in the past half hour has dropped from 40 mm to 20 mm, showing a downward trend, the server analyzes and predicts that the rainfall in the next half hour will continue to drop.

[0045] S206, establishing a target flight route for the UAV according to the location information.

[0046] In one embodiment, the server obtains the location information sent by the location sensor, and determines the flight area of ​​the drone according to the location information, which refers to the area where the drone is not restricted from taking off, flying freely, and landing. The flight area of ​​the drone is a non-restricted flight area and an area covered by an autonomous communication network. The restricted flight area includes a warning area, an enhanced warning area, an authorized area, a restricted height area, a no-fly zone, etc., such as an airport clearance protection area, a military control area, a railway station and other densely populated areas, and airspace above 50 meters in true height are all restricted flight areas.

[0047] In one embodiment, the server obtains the location information sent by the location sensor, and determines the take-off point, target point, and forced landing point of the drone based on the location information, wherein the target point includes the end point and the relay station. The take-off point, target point, and forced landing point of the drone need to be open and obstacle-free with a flat ground suitable for the drone to stop. Places such as water surfaces, bushes, and cliffs are not suitable as the take-off point, target point, and forced landing point of the drone.

[0048] In one embodiment, the server obtains the location information sent by the location sensor, and determines the target flight route of the drone according to the location information. The target flight route of the drone is the flight route from the take-off point to the target point planned in the flight area. The server first obtains the straight line route from the take-off point to the target point, obtains the obstacle distribution in the straight line route, such as buildings, trees, and restricted flight areas, and sets the turning detour route or the ascending and descending route of the drone according to the height, spacing and distribution of the obstacles. When the server obtains that the turning angle of the detour obstacle is too large or the detour route is far, and the obstacle height fluctuation is small, the server plans the ascending and descending route for the safety of the drone flight. When the server obtains that the turning angle of the detour obstacle is small or the detour route is short, the obstacle height fluctuation is large or it is a restricted flight area, the server plans the turning detour route, and the server combines the straight line route from the take-off point of the drone to the target point with the turning detour route or the ascending and descending route of the drone to obtain the target flight route of the drone.

[0049] For example, if there is an obstacle in the straight line between the take-off point and the target point and the obstacle is a bridge, the detour route is longer and the height fluctuation of the bridge deck is smaller. The server plans an ascending or descending route, ascending above the bridge deck and passing through the bridge deck or descending to the bridge deck and passing through the bridge hole.

[0050] In one embodiment, the server determines the flight altitude of the drone in the target flight route based on the undulation height of the terrain in the location information and the height of obstacles in the target flight route, so that the height of the drone from the ground is basically stable during flight. The real-time flight altitude of the drone is adjusted only when the terrain changes steeply or the height of the obstacle changes too much, so that the drone basically flies at a certain altitude following the undulations of the terrain.

[0051] In one embodiment, the target flight route of the drone formulated by the server includes a target flight attitude and a target flight speed. The corresponding target flight attitude is formulated according to the undulation of the terrain and the height and distribution of obstacles in the location information. The corresponding target flight speed is formulated according to the flight range from the take-off point to the target point, the terrain, and the distribution of obstacles. For example, when encountering obstacle A, the target flight attitude of the drone is formulated to be 25 degrees upward tilt and a rising speed of 6 meters per second.

[0052] S208, judging whether the flight route of the drone matches the target flight route based on the drone flight information, and judging whether the drone parameters match the meteorological information.

[0053] In one embodiment, the server compares the real-time three-dimensional positioning of the drone with the coordinates of each point on the target flight route. The coordinates of each point on the target flight route include the target longitude and latitude coordinates, the target flight altitude, and the target altitude. When the real-time three-dimensional positioning is inconsistent with the coordinates of each point on the target flight route, the drone's flight route does not match the target flight route, that is, the drone's flight route deviates from the target flight route.

[0054] In one embodiment, the server compares the current flight attitude and real-time flight speed of the drone with the target flight attitude and target flight speed in the target flight route. For example, when encountering obstacle A, the current flight attitude and real-time flight speed of the drone are 24 degrees upward tilt and 5 meters / second ascent speed, while the target flight attitude and target flight speed of the drone are 25 degrees upward tilt and 6 meters / second ascent speed. Then, the current flight attitude and real-time flight speed of the drone do not match the target flight attitude and target flight speed in the target flight route, that is, the route of the drone does not match the target flight route.

[0055] In one embodiment, the server determines whether the positioning information, current flight attitude and real-time flight speed of the drone are within the deviation range of each value in the target flight route. If they are within the deviation range of each value, the route of the drone flight matches the target flight route. For example, when encountering obstacle A, the current flight attitude and real-time flight speed of the drone are tilted upward by 24 degrees and the rising speed is 5 meters per second, while the target flight attitude and target flight speed of the drone and the preset deviation target flight attitude and target flight speed are tilted upward by 23-25 ​​degrees and the rising speed is 4-6 meters per second, then the current flight attitude and real-time flight speed of the drone match the target flight attitude and target flight speed in the target flight route.

[0056] In one embodiment, the server compares the parameters of the drone with the meteorological information. The parameters of the drone include the power value and the wind resistance value. The meteorological information includes wind speed, wind direction, rainfall, solar radiation intensity, temperature and humidity, air pressure, etc. When the battery of the drone is a solar cell, the solar radiation intensity has an impact on the power value of the drone. The stronger the solar radiation intensity, the stronger the power output of the solar cell, and the longer the flight distance of the drone. The server compares the output power of the solar cell with the power consumption of the drone to calculate the endurance distance of the drone, that is, the maximum distance that the power value supports the drone to fly at the current flight speed. When the output power of the solar cell is less than the power consumption of the drone required for the drone to complete the remaining route distance, that is, when the endurance distance of the drone is less than the remaining route distance, the drone cannot complete the remaining route flight, that is, the drone parameters do not match the meteorological information. Temperature and humidity have an impact on the power value of the drone. When the temperature is high, it will affect the heat dissipation of the drone battery, causing the output power of the drone battery to be too large, accelerating the power consumption of the drone; when the temperature is low, it will affect the discharge state of the drone battery, causing the output power of the drone battery to be too small, affecting the flight speed and flight safety of the drone. When the humidity is high and the temperature is too low, condensation and ice are likely to form on the drone body and propeller blades, affecting flight safety.

[0057] The server compares the drone's external force resistance performance with real-time meteorological information, such as comparing the drone's wind resistance value with the real-time wind speed and wind direction, and comparing the drone's three-defense level with the real-time rainfall. When the drone's external force resistance performance is lower than the meteorological value in the real-time meteorological information, the drone cannot resist the various external forces brought by the weather, that is, the drone parameters do not match the meteorological information.

[0058] S210: If the flight route of the UAV does not match the target flight route and the UAV parameters do not match the weather information, corresponding prompt information is obtained.

[0059] In one embodiment, the prompt information obtained by the server from the drone includes early warning information and warning information. When the real-time three-dimensional positioning, current flight attitude and real-time flight speed of the drone and the coordinates of each point on the target flight route, the target flight attitude and the target flight speed deviate within the preset deviation range, the server obtains the deviation warning information issued by the drone; when the real-time three-dimensional positioning, flight attitude and real-time flight speed of the drone deviate greatly from the coordinates of each point on the target flight route, the target flight attitude and the target flight speed, and exceed the preset deviation range, the server obtains the deviation warning information issued by the drone. When the power of the drone is lower than the normal power, the server obtains the low power warning information issued by the drone; when the power of the drone is lower than the warning power, the server obtains the low power warning information issued by the drone. When the difference between the external force resistance performance of the drone and the meteorological value is lower than the preset external force warning value, the server obtains the external force warning information issued by the drone; when the difference between the external force resistance performance of the drone and the meteorological value is lower than the preset external force warning value, the server obtains the external force warning information issued by the drone.

[0060] For example, when a drone flies against the wind, the maximum wind resistance value is 15 m / s, and at this time the headwind speed is 12 m / s, and the preset external force warning value is 4 m / s. At this time, the difference between the drone's external force resistance performance and the meteorological value is 3 m / s, which is lower than the preset external force warning value. The server obtains the preset external force warning information issued by the drone.

[0061] S212: Generate a first control instruction according to the prompt information and the drone parameters, and control the drone through the first control instruction.

[0062] In one embodiment, the first control instruction is used by the server to send to the drone so that the drone automatically adjusts the current flight attitude and real-time flight speed according to the first control instruction. The server obtains warning information and generates corresponding flight attitude adjustment control instructions or flight speed adjustment instructions according to the warning information. When the server receives the offset warning information, it generates a flight attitude adjustment control instruction carrying the flight attitude adjustment scheme; when the server receives the low battery warning information or the external force warning information, it generates a flight speed adjustment instruction carrying the flight speed adjustment. For example, when the server receives the low battery warning information, the real-time flight speed of the drone is 10 meters / second. The server calculates the flight speed required to complete the remaining route distance with the current battery according to the current battery and the remaining route distance, and generates a flight speed adjustment instruction carrying the adjustment of the flight speed to 13 meters / second, wherein the remaining route distance is the distance from the current position of the drone to the target point.

[0063] In one embodiment, when the server obtains the warning information, it generates a return control command or a forced landing control command according to the warning information. The server calculates whether the drone can complete the flight of the return route distance according to the drone power, return route distance, external force resistance performance and meteorological information. If the remaining power value of the drone is greater than the power value required to complete the return route distance, and the difference between the drone's external force resistance performance and the meteorological value is greater than the preset external force warning value, a return control command is issued to instruct the drone to return; if the remaining power value of the drone is less than the power value required to complete the return route distance, or the difference between the drone's external force resistance performance and the meteorological value is less than the preset external force warning value, a forced landing control command is issued to instruct the drone to make an emergency landing at the nearest forced landing point.

[0064] In the above-mentioned drone control method, the server uses the autonomous communication network to receive the drone flight information and drone parameters sent by the drone, as well as the location information and weather information obtained by the terminal in real time, which increases the signal coverage area of ​​the drone communication, expands the flight area, and reduces the restrictions on the drone's flight in the wild; and judges whether the drone flight route matches the target flight route based on the drone flight information, and judges whether the drone flight information matches the weather information. If they do not match, the prompt information is obtained, and the surrounding environment data is monitored in real time, and the surrounding environment data is matched with the drone information, so that the real-time monitoring and early warning of the drone can be realized. The control instructions are generated according to the prompt information and the drone parameters, and the drone is controlled by the control instructions, which reduces the flight failures of the drone during the flight and improves the efficiency of the drone in successfully completing the corresponding tasks.

[0065] like Figure 3 As shown, in one embodiment, S208 specifically includes the following contents:

[0066] S302: Determine a first flight route according to various positioning information of the UAV.

[0067] In one embodiment, the first flight route is the current positioning information of the UAV, that is, the latitude and longitude coordinates, flight altitude, altitude, flight attitude and flight speed of the current UAV.

[0068] S304, predicting a second flight route at the next moment according to the current flight attitude.

[0069] In one embodiment, the second flight route is the latitude and longitude coordinates, flight altitude, altitude, and flight attitude of the UAV at the next moment.

[0070] S306, combining the first flight route and the second flight route to obtain a combined flight route.

[0071] In one embodiment, the server combines the current positioning information sent by the drone and the flight attitude at the next moment according to the current flight speed of the drone to obtain the latitude and longitude coordinates, flight altitude, altitude and flight attitude of the drone at the next moment, that is, the combined flight route.

[0072] For example, the server obtains the positioning information sent by the drone as (116.389550, 39.928167, 120, 3500), where 116.389550 represents the longitude of the drone, 39.928167 represents the latitude of the drone, 120 represents the flight altitude of the drone from the ground (in meters), 3500 represents the altitude of the drone (in meters), and the flight attitude is flying straight eastward. The server obtains the first flight route of the drone as (116.389550, 39.928167, 120, 3500), and the server obtains the current flight attitude sent by the drone as flying straight eastward. The positioning information and flight attitude of the drone at the next moment are predicted to be flying straight eastward, that is, the positioning information of the second flight route and the flight attitude of the drone flying straight eastward. The server obtains the current flight speed of the UAV, and combines the first flight route (116.389550, 39.928167, 120, 3500), the UAV's flight attitude and the positioning information at the next moment (such as the next second) and the UAV's flight attitude according to the current flight speed, and obtains the three-dimensional positioning coordinates of the UAV's positioning information at the next moment with the combined flight route. The flight attitude is a straight line flying in the east direction.

[0073] S308, determining whether the combined flight route matches the target flight route.

[0074] In one embodiment, the server compares the combined flight route of the drone with the target flight route. When the predicted positioning information of the drone at the next moment is compared with the positioning information corresponding to the next moment in the target flight route, the predicted flight attitude of the drone at the next moment is compared with the target flight attitude at the next moment in the target flight route. When the predicted positioning coordinates at the next moment are inconsistent with the positioning coordinates corresponding to the next moment in the target flight route, or the predicted flight attitude of the drone at the next moment is different from the target flight attitude at the next moment in the target flight route, the route of the combined flight of the drone does not match the target flight route, that is, the predicted route of the drone flight will deviate from the target flight route.

[0075] In the above embodiment, the first flight route is determined according to the positioning information of the drone, the second flight route at the next moment is predicted according to the current flight attitude, the first flight route and the second flight route are combined to obtain a combined flight route, and it is determined whether the combined flight route matches the target flight route. The flight route at the next moment is predicted in advance according to the positioning information and flight attitude of the drone, and compared with the target flight route to see whether it matches, which reduces the flight failures of the drone during flight and improves the efficiency of the drone in successfully completing the corresponding tasks.

[0076] like Figure 4 As shown, in one embodiment, after S210, the following contents are specifically included:

[0077] S402, calculating the UAV's cruising range based on the flight speed, battery value and weather information.

[0078] In one embodiment, the cruising range is the maximum distance that the drone can fly at the current flight speed supported by the power value. When the weather value in the weather information is no wind, that is, the wind speed is 0, the server calculates the current consumption speed and consumption time of the remaining power value. The consumption time of the remaining power value is the time required for the server to consume the remaining power value according to the consumption speed of the remaining power value, that is, the time the drone can fly at the current flight speed, and the drone cruising range is calculated based on the consumption time of the drone at the current flight speed and the remaining power value.

[0079] When the meteorological value in the meteorological information is greater than 0, that is, the meteorological information is an external force that conflicts with the flight speed of the drone, such as headwind, the drone increases the battery output power to maintain the current flight speed. The server calculates the consumption time of the power value after the battery output power is increased, and calculates the drone's endurance distance based on the drone's current flight speed and the power value consumption time after the battery output power is increased.

[0080] When the meteorological value in the meteorological information is less than 0, that is, the meteorological information is an external force that promotes the flight speed of the drone, such as when there is a tailwind, the drone reduces the battery output power to maintain the current flight speed. The server calculates the consumption time of the power value after reducing the battery output power, and calculates the drone's endurance distance based on the drone's current flight speed and the power value consumption time after reducing the battery output power.

[0081] Among them, the battery output power is proportional to the flight speed of the drone, and inversely proportional to the length of time the power is consumed.

[0082] S404, using the positioning information and the location information, calculate the remaining route distance of the UAV.

[0083] In one embodiment, the server compares the latitude and longitude coordinates, flight altitude, and altitude in the positioning information with the coordinates of each point in the target flight route to determine whether the current positioning information of the drone deviates from the target flight route. When the coordinates of each point in the positioning information of the drone are the same as those in the target flight route, the positioning information of the drone is on the target flight route, that is, the drone has not deviated from the target flight route, and the server calculates the remaining route distance of the drone based on the coordinates of the target point in the positioning information of the drone and the position information.

[0084] In one embodiment, when the coordinates of the drone positioning information and each point in the target flight route are different, the drone positioning information is not on the target flight route, that is, the drone deviates from the target flight route, the server determines a nearest point on the target flight route based on the drone positioning information, so that the distance from the drone to the nearest point is the shortest route distance to return to the target flight route, and the distance between the two points is calculated based on the point coordinates of the nearest point of the drone returning to the target flight route and the coordinates of the target point in the position information. This distance is the remaining route distance of the target flight route. The server combines the shortest route distance of the drone returning to the target flight route with the remaining route distance of the target flight route to obtain the remaining route distance of the drone.

[0085] S406, when the UAV's cruising range is less than the remaining route distance, executing the step of generating a first control instruction according to the prompt information and the UAV parameters.

[0086] In one embodiment, when the flight range of the drone at the current flight speed is less than the remaining route distance, that is, the drone's power cannot complete the flight of the remaining route distance at the current flight speed, the server obtains a prompt message, which is a warning message that the remaining route distance cannot be completed. The server calculates the flight speed required to complete the remaining route distance based on the remaining power value in the drone parameters, generates a first control instruction carrying the target flight speed, and instructs the drone to increase the flight speed to the target flight speed, and complete the flight of the remaining route distance at the target flight speed.

[0087] In one embodiment, when the endurance distance of the drone at the current flight speed is less than the remaining route distance, that is, the drone's power cannot complete the remaining route distance at the current flight speed, and the remaining route distance cannot be completed according to the adjusted target flight speed, the server calculates the return distance according to the drone positioning information and the location of the take-off point in the location information, and calculates the return flight speed required to complete the return distance according to the remaining power value and meteorological information in the drone parameters. If the return distance can be completed according to the return flight speed, a return target flight route is generated. The server generates a first control instruction for returning according to the return target flight route and the return flight speed, instructing the drone to return according to the return target flight route and the return flight speed.

[0088] In one embodiment, when the power of the drone cannot complete the flight of the remaining route distance according to the current flight speed, the remaining route distance cannot be completed according to the adjusted flight speed, and the return distance cannot be completed according to the return flight speed, that is, the drone's cruising distance is less than the remaining route distance, and the return distance is greater than the drone's cruising distance, the closest forced landing point to the drone is obtained according to the location information. The server obtains the straight line route from the drone to the nearest forced landing point, sets the turning detour route or the ascending and descending route of the drone according to the height, spacing and distribution of obstacles in the straight line in the location information, and combines the straight line route from the drone to the nearest forced landing point to obtain the forced landing route from the drone to the forced landing point. The forced landing flight speed required to complete the forced landing distance of the forced landing route is calculated according to the remaining power value in the drone parameters and the meteorological information. The server generates a first control instruction for forced landing according to the forced landing route and the forced landing flight speed, and instructs the drone to make a forced landing to the forced landing point according to the forced landing route and the forced landing flight speed in the first control instruction.

[0089] In the above embodiment, the drone's cruising range is calculated based on the flight speed, the battery value and the meteorological information; the positioning information and location information are used to calculate the drone's remaining route distance; when the drone's cruising range is less than the remaining route distance, a first control instruction is generated to instruct the drone to adjust the flight speed; when the drone's cruising range is less than the remaining route distance, the drone's return distance is calculated, and a first control instruction is generated to instruct the drone to return; when the drone cannot return, a first control instruction is generated to instruct the drone to make an emergency landing at the nearest emergency landing point. By comparing the drone's cruising range with the remaining route distance, the return distance and the emergency landing distance, the optimal and safest control instruction is generated for the drone, thereby reducing the drone's flight failures during flight and improving the efficiency of the drone in successfully completing the corresponding tasks.

[0090] like Figure 5 As shown, in one embodiment, after S210, the following contents are specifically included:

[0091] S502, sending prompt information to the control terminal.

[0092] In one embodiment, when the flight range of the drone at the current flight speed is less than the remaining route distance, that is, the drone's battery power is unable to complete the remaining route distance at the current flight speed, the server sends a prompt message to the control end, and the prompt message is a warning message that the remaining route cannot be completed.

[0093] S504, the prompt information is used to instruct the control end to control the drone through the second control instruction according to the second control instruction obtained in response to the prompt information.

[0094] In one embodiment, when the drone's flight range at the current flight speed is less than the remaining route distance, that is, the drone's battery power is unable to complete the remaining route distance at the current flight speed, the control end calculates the flight speed required to complete the remaining route distance based on the remaining battery value in the drone parameters, generates a second control instruction carrying the target flight speed, and the server instructs the drone to complete the remaining route distance at the target flight speed based on the second control instruction.

[0095] In one embodiment, when the endurance distance of the drone at the current flight speed is less than the remaining route distance, that is, the drone's power cannot complete the remaining route distance at the current flight speed, and the remaining route distance cannot be completed according to the adjusted target flight speed, the control end calculates the return distance of the drone to the take-off point according to the drone positioning information and the position of the take-off point in the position information, and calculates the return flight speed required to complete the return distance according to the remaining power value and meteorological information in the drone parameters. If the return distance can be completed according to the return flight speed, a return target flight route is generated. The control end generates a second control instruction for returning according to the return target flight route and the return flight speed, and the control end instructs the drone to return according to the return target flight route and the return flight speed according to the second control instruction.

[0096] In one embodiment, when the power of the drone cannot complete the flight of the remaining route distance according to the current flight speed, the remaining route distance cannot be completed according to the adjusted flight speed, and the return distance cannot be completed according to the return flight speed, that is, the drone's endurance distance is less than the remaining route distance, and the return distance is greater than the drone's endurance distance, the closest forced landing point to the drone is obtained according to the location information. The control end obtains the straight line route from the drone to the nearest forced landing point, sets the turning detour route or the ascending and descending route of the drone according to the height, spacing and distribution of obstacles in the straight line route in the location information, and combines the straight line route from the drone to the nearest forced landing point to obtain the forced landing route from the drone to the forced landing point. The forced landing flight speed required to complete the forced landing distance of the forced landing route is calculated according to the remaining power value in the drone parameters and the meteorological information. The control end generates a second control instruction for forced landing according to the forced landing route and the forced landing flight speed, and the control end instructs the drone to make a forced landing to the forced landing point according to the forced landing route and the forced landing flight speed in the first control instruction according to the second control instruction.

[0097] In the above embodiment, the control end calculates the UAV's cruising distance according to the flight speed, the power value and the meteorological information; uses the positioning information and the location information to calculate the UAV's remaining route distance; when the UAV's cruising distance is less than the remaining route distance, generates a first control instruction to instruct the UAV to adjust the flight speed; when the UAV's cruising distance is less than the remaining route distance, calculates the UAV's return distance, generates a first control instruction to instruct the UAV to return; when the UAV cannot return, generates a first control instruction to instruct the UAV to make an emergency landing at the nearest emergency landing point. The control end compares the UAV's cruising distance with the remaining route distance, the return distance and the emergency landing distance, respectively, and generates the best and safest control instruction for the UAV, thereby reducing the UAV's flight failures during flight and improving the efficiency of the UAV in successfully completing the corresponding tasks.

[0098] In one embodiment, S210 specifically further includes:

[0099] S602, when the UAV deviates from the target flight path, a prompt message is sent to the control end.

[0100] When the real-time three-dimensional positioning of the UAV, the current flight attitude, the coordinates of each point on the target flight route, and the target flight attitude deviate within the preset deviation range, the prompt information sent by the server to the control end is the deviation warning information. When the real-time three-dimensional positioning of the UAV, the current flight attitude, the coordinates of each point on the target flight route, and the target flight attitude deviate greatly and exceed the preset deviation range, the prompt information sent by the server to the control end is the deviation warning information.

[0101] S604, the prompt information is used to instruct the control end to control the drone through the second control instruction according to the second control instruction obtained in response to the prompt information.

[0102] When the control end receives the deviation warning information, the control end determines the coordinates of the nearest point on the target flight route based on the UAV positioning information, so that the distance from the UAV to the nearest point is the shortest route distance returning to the target flight route, and generates a second control instruction carrying a flight attitude adjustment plan, and controls the UAV to adjust the flight attitude according to the second control instruction to fly to the nearest point.

[0103] When the control end receives the deviation warning information, it generates a return control command or an forced landing control command according to the deviation warning information. The control end calculates whether the drone can complete the flight of the remaining route distance based on the drone's real-time power, remaining route distance, external force resistance performance and meteorological information. If the remaining power of the drone is greater than the power required to complete the remaining route distance, and the difference between the drone's external force resistance performance and the meteorological value is greater than the preset external force warning value, a return control command is issued to instruct the drone to return or return to the target flight route; if the remaining power of the drone is less than the power required to complete the remaining route distance, or the difference between the drone's external force resistance performance and the meteorological value is less than the preset external force warning value, a forced landing control command is issued to instruct the drone to make an emergency landing at the nearest forced landing point.

[0104] In the above embodiment, when the UAV deviates from the target flight route, a prompt message is sent to the control end, and the control end controls the UAV through the second control instruction obtained in response to the prompt message. By controlling the UAV that deviates from the target flight route through the control end, flight failures of the UAV during flight are reduced, and the efficiency of the UAV in successfully completing corresponding tasks is improved.

[0105] As an example, the existing drone control technology cannot uniformly monitor the drone and its related equipment, and cannot timely match the location information of the surrounding environment, weather information and drone information, resulting in the inability to communicate and control the drone in a timely and effective manner. In view of the above problems, the embodiment of the present invention proposes a drone control method, such as Figure 7 , the method mainly includes the following contents:

[0106] S702, the server connects to the autonomous communication network.

[0107] The server is connected to the nearby mobile communication network. When there is no mobile communication network nearby or the mobile communication network signal is poor and cannot support the communication between the server and the drone or terminal, the server is connected to the self-organizing communication network. The self-organizing communication network is a network that can realize the mutual conversion of radio data and mobile communication data, and is composed of one or more portable servers and drone communication base stations. The drone communication base station is equipped with a communication module, a positioning module and a signal transmitter. The server, the terminal and the drone form a self-organizing communication network by receiving the signal sent by the signal transmitter of the drone communication base station, and send the control command to the communication module of the drone communication base station. The communication module sends the control command to the signal transmitter. The signal transmitter adjusts and amplifies the signal according to the control command and sends it to the terminal and the drone. After receiving the control command, the terminal and the drone complete the corresponding operation. The positioning module on the drone communication base station can locate the drone communication base station, and the autonomous communication network signal with the base station as the center is from strong to weak. When multiple base stations are added to form a base station network, a larger and more stable autonomous communication network area can be formed, in which the base stations establish communication connections through the server.

[0108] S704, using the autonomous communication network, receiving the location information about the flight environment of the UAV obtained by the terminal, and formulating a target flight route for the UAV according to the location information.

[0109] The terminal includes a position sensor, through which the position information of the flight environment of the drone is obtained. The position sensor calculates the terrain undulations, the length, width and height of each object, the distance and distribution between objects in the flight environment of the drone through the global positioning system, radar, infrared, ultrasonic and laser, etc., to form position information. The position information also includes the latitude and longitude coordinates, altitude and environmental vibration of the flight environment. The position information of the flight environment of the drone can be displayed through a three-dimensional map. The server obtains the position information sent by the position sensor, and determines the flight area of ​​the drone according to the position information, which refers to the area where the drone takes off, flies freely and lands without restrictions. The take-off point, target point and forced landing point of the drone are determined according to the position information, wherein the target point includes the end point and the relay station. The take-off point, target point and forced landing point of the drone need to be a place with open space and no obstacles around, and the ground is stable and suitable for the drone to stop.

[0110] The server determines the target flight route of the drone based on the location information. The target flight route of the drone is the flight route from the take-off point to the target point planned in the drone's flight area. The server first obtains the straight line route from the take-off point to the target point, obtains the obstacle distribution in the straight line route, such as buildings, trees, and restricted flight areas, and sets the turning route or the ascending and descending route of the drone according to the height, spacing, and distribution of the obstacles. When the server obtains that the turning angle of the obstacle is too large or the detour route is far, and the obstacle height fluctuation is small, the server plans the ascending and descending route for the safety of the drone flight. When the server obtains that the turning angle of the obstacle is small or the detour route is short, the obstacle height fluctuation is large or it is a restricted flight area, the server plans the turning route. The server combines the straight line route from the take-off point to the target point of the drone with the turning route or the ascending and descending route of the drone to obtain the target flight route of the drone.

[0111] In order to improve the accuracy of location information, the drone operator reconfirms the surrounding environment through the information recorder, and analyzes and adjusts the target flight route of the drone determined by the server based on the location information.

[0112] S706, using the autonomous communication network, receiving the meteorological information about the flight environment of the UAV obtained by the terminal.

[0113] The terminal includes a meteorological monitoring sensor for real-time monitoring of various meteorological elements such as wind speed, wind direction, rainfall, solar radiation intensity, temperature and humidity, and air pressure. The server communicates with the meteorological sensor through an autonomous communication network to obtain real-time meteorological information of the flight environment, and performs statistical analysis and processing based on the real-time meteorological information obtained. The meteorological information after statistical analysis and processing is used as a basis for further confirmation of the flight area. For example, the server determines whether the wind speed and direction of the flight area are conducive to the flight operation of the drone, whether the solar radiation intensity meets the power supply requirements of the drone solar cells, and whether the temperature and humidity meet the requirements of the drone operating environment based on the meteorological information after statistical analysis and processing. If the wind speed and direction are conducive to the flight operation of the drone, meet the power supply requirements of the drone solar cells, and the temperature and humidity meet the requirements of the drone operating environment, the flight area is confirmed and the target flight route is adjusted again based on the meteorological information.

[0114] S708, real-time monitoring of whether the drone communication connection is smooth.

[0115] During the mission, the drone can establish a communication connection with one or more drone base stations. When the drone flies out of the signal reception range of a drone base station, it will establish a communication connection with a drone base station in the new signal range. When the drone receives signals transmitted by multiple drone base stations, it determines the strength of each signal and connects to the strongest signal to maintain a smooth communication connection with the server.

[0116] S710, comparing the UAV flight information with the location information, and comparing the UAV parameters with the weather information, to determine whether the UAV can complete the remaining flight route.

[0117] The server receives the UAV flight information and UAV parameters through the autonomous communication network. The UAV flight information includes the UAV positioning information, current flight attitude and real-time flight speed. The UAV positioning information includes the latitude and longitude coordinates, flight altitude and altitude of the UAV flight. The UAV flight attitude includes level flight attitude, pitch attitude and roll attitude. The flight speed is related to the UAV flight attitude. Different flight attitudes have different effects on the flight speed. Compare the UAV flight information with the position information. When the real-time three-dimensional positioning, current flight attitude and real-time flight speed of the UAV flight deviate from the coordinates of each point on the target flight route, the target flight attitude and the target flight speed, the UAV cannot complete the flight of the remaining route distance.

[0118] The drone parameters include power value and wind resistance value. The server compares the drone parameters with the meteorological information. When the drone battery is a solar cell, the solar radiation intensity has an impact on the drone power value. The stronger the solar radiation intensity, the stronger the power output of the solar cell and the longer the drone's flight distance. The server compares the solar cell output power with the drone power consumption to calculate the drone's endurance distance, that is, the maximum distance that the drone can fly at the current flight speed supported by the power value. When the solar cell output power is less than the drone power consumption required for the drone to complete the remaining route distance, that is, when the drone's endurance distance is less than the remaining route distance, the drone cannot complete the remaining route flight. The server compares the drone's wind resistance value with the real-time wind speed and wind direction in the meteorological information. When the drone's wind resistance value is lower than the headwind wind speed value in the real-time meteorological information, the drone cannot resist the headwind and cannot complete the remaining route flight.

[0119] S712, if the UAV cannot complete the remaining flight route, obtain corresponding prompt information, generate instructions according to the prompt information and UAV parameters, and control the UAV through control instructions.

[0120] The prompt information obtained by the server from the drone includes early warning information and warning information. The server obtains early warning information and generates corresponding flight attitude adjustment control instructions or flight speed adjustment instructions based on the early warning information. When the server receives the offset warning information, it generates a flight attitude adjustment control instruction carrying a flight attitude adjustment plan; when the battery of the drone is lower than the normal battery, the server obtains low battery warning information issued by the drone; when the battery of the drone is lower than the warning battery, the server obtains low battery warning information issued by the drone. When the difference between the drone's wind resistance value and the headwind wind speed value is lower than the preset wind force warning value, the server obtains wind speed warning information issued by the drone; when the difference between the drone's wind resistance value and the headwind wind speed value is lower than the preset wind force warning value, the server obtains wind speed warning information issued by the drone. When the drone's battery value can support the drone to complete a flight distance that is less than the remaining route distance, and the headwind speed continues to increase, the server obtains a warning message from the drone that the remaining route cannot be completed. For example, the drone is flying at a speed of 15 meters per second, the battery value is 50%, and the remaining route distance is 30%. At this time, the drone can complete the remaining route distance. When a headwind of 15 meters per second occurs and the headwind speed continues to increase, the server determines that the drone cannot complete the remaining route distance and issues a warning message that the remaining route cannot be completed.

[0121] The server obtains the warning information and generates the corresponding flight attitude control command or flight speed adjustment command according to the warning information. For example, when the server receives the low battery warning information, the real-time flight speed of the drone is 10 meters per second. The server calculates the flight speed required to complete the remaining route distance based on the current battery power and the remaining route distance, and generates a flight speed adjustment command to adjust the flight speed to 13 meters per second.

[0122] When the server obtains the warning information, it generates a return control command or an forced landing control command based on the warning information. The server calculates whether the drone can complete the flight of the return route distance based on the drone's battery value, remaining route distance, wind resistance value and headwind wind speed. If the drone's remaining battery value is greater than the battery value required to complete the return route distance, and the difference between the drone's wind resistance value and the headwind wind speed is greater than the preset wind warning value, a return control command is issued to instruct the drone to return; if the drone's remaining battery value is less than the battery value required to complete the return route distance, or the difference between the drone's external force resistance performance and the meteorological value is less than the preset wind warning value, a forced landing control command is issued to instruct the drone to make an emergency landing at the nearest landing point.

[0123] In the above embodiment, by utilizing the autonomous communication networking network, the signal coverage area of ​​the drone communication is increased, the flight area is expanded, and the restrictions on the drone flying in the wild are reduced. The server receives the location information about the drone's flight environment obtained by the terminal, and formulates a target flight route for the drone based on the location information. The server receives the meteorological information about the drone's flight environment obtained by the terminal and adjusts the flight environment and the target flight route again, ensuring that the drone's flight environment is conducive to the drone's flight operation. The drone's flight information is compared with the location information, and the drone's parameters are compared with the meteorological information to determine whether the drone can complete the remaining flight route. If the drone cannot complete the remaining flight route, the corresponding prompt information is obtained, and instructions are generated based on the prompt information and the drone's parameters. The drone is controlled through the control instructions, which reduces the drone's flight failures during flight and improves the efficiency of the drone in successfully completing the corresponding tasks.

[0124] Figure 2-7 FIG. 1 is a flow chart of a method for controlling a drone in one embodiment. It should be understood that although Figure 2-7 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 2-7 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.

[0125] A drone control device, the drone control device specifically includes: a first receiving module 802, a second receiving module 804, a position module 806, a judgment module 808, an information acquisition module 810, and a control module 812, wherein:

[0126] The first receiving module 802 is used to receive the UAV flight information and UAV parameters sent by the UAV through the autonomous communication network;

[0127] The second receiving module 804 is used to receive the location information and weather information obtained by the terminal through the autonomous communication network;

[0128] A location module 806 is used to set a target flight route for the UAV based on the location information;

[0129] The judgment module 808 is used to judge whether the flight route of the drone matches the target flight route based on the drone flight information, and whether the drone parameters match the meteorological information;

[0130] The information acquisition module 810 is used to acquire corresponding prompt information if the flight route of the drone does not match the target flight route and the drone parameters do not match the weather information;

[0131] The control module 812 is used to generate a first control instruction according to the prompt information and the drone parameters, and control the drone through the first control instruction.

[0132] The above-mentioned drone control method uses the first receiving module to use the autonomous communication network to receive the drone flight information and drone parameters sent by the drone, and the second receiving module receives the location information and meteorological information obtained in real time by the terminal, so as to uniformly monitor the drone and its related equipment; and judge whether the drone flight route matches the target flight route according to the drone flight information, and judge whether the drone flight information matches the meteorological information through the judgment module. If they do not match, the information acquisition module obtains prompt information, and can realize real-time monitoring and early warning of the drone by real-time monitoring of the surrounding environment data and matching the surrounding environment data with the drone information. The control instructions are generated according to the prompt information and the drone parameters, and the control module controls the drone through the control instructions, thereby reducing the flight failures of the drone during the flight and improving the efficiency of the drone in successfully completing the corresponding tasks.

[0133] In one embodiment, the judgment module 808 is also used to determine the first flight route based on the positioning information of the UAV; predict the second flight route at the next moment based on the current flight posture; combine the first flight route and the second flight route to obtain a combined flight route; and determine whether the combined flight route matches the target flight route.

[0134] In one embodiment, the control module 812 is also used to calculate the UAV's cruising range based on the flight speed, battery level and weather information; calculate the UAV's remaining route distance using the positioning information and location information; and when the UAV's cruising range is less than the remaining route distance, execute the step of generating a first control instruction based on the prompt information and the UAV parameters.

[0135] In one embodiment, the control module 812 is further used to send a prompt message to the control end; the prompt message is used to instruct the control end to control the drone through the second control instruction obtained in response to the prompt message.

[0136] In one embodiment, the control module 812 is also used to determine whether the UAV deviates from the target flight route based on the positioning information and current flight attitude of the UAV; when the UAV deviates from the target flight route, a prompt message is sent to the control end; the prompt message is used to instruct the control end to control the UAV through the second control instruction obtained in response to the prompt message.

[0137] In the above embodiment, the current flight route is combined with the predicted flight route based on the predicted flight route at the next moment, and the combined flight route is compared with the target flight route to predict in advance whether the drone deviates from the target flight route. It is also used to calculate the drone's endurance distance based on the flight speed, battery value and meteorological information, calculate the remaining route distance of the drone based on the drone's positioning information and position information, compare the drone's endurance distance with the remaining route distance, and determine whether the drone can complete the flight mission. When the drone deviates from the target flight route or cannot complete the flight mission, the drone is controlled according to the first command issued by the server or the second control command issued by the control terminal, thereby reducing the drone's flight failures during flight and improving the efficiency of the drone in successfully completing the corresponding task.

[0138] In one embodiment, Fig. 9 As shown, the control module 812 includes:

[0139] The flight speed control module 902 is used to determine the target flight speed of the drone according to the prompt information and drone parameters when the drone's cruising range is less than the remaining route distance; the target flight speed is less than the flight speed; and generate a first control instruction carrying the target flight speed.

[0140] In one embodiment, Fig. 9 As shown, the control module 812 also includes:

[0141] The return control module 904 is used to calculate the return distance of the drone when the drone's endurance distance is less than the remaining route distance; when the return distance is less than the drone's endurance distance, adjust the drone's return flight speed according to the drone parameters and weather information; and generate a first control instruction for controlling the drone to return according to the target flight route based on the prompt information and the return flight speed.

[0142] In one embodiment, Fig. 9 As shown, the control module 812 also includes:

[0143] The forced landing control module 906 is used to obtain the forced landing point closest to the drone when the drone's cruising range is less than the remaining route distance and the return distance is greater than the drone's cruising range; determine the forced landing route of the drone to the forced landing point; the distance of the forced landing route is less than the drone's cruising range; and generate a first control instruction carrying the forced landing route based on the prompt information and drone parameters.

[0144] In the above embodiment, by comparing the UAV's cruising range with the remaining route distance, return distance, and forced landing route distance, control instructions for adjusting the flight speed, returning, or forced landing are generated respectively, thereby reducing flight failures of the UAV during flight and improving the efficiency of the UAV in successfully completing corresponding tasks.

[0145] Fig.10 The internal structure diagram of a computer device in one embodiment is shown. The computer device may specifically be Figure 1 Terminal 130 in. Fig.10 As shown, the computer device includes a position sensor and a meteorological sensor connected via a system bus. Among them, the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program, which, when executed by the processor, enables the processor to implement the drone control method. The internal memory may also store a computer program, which, when executed by the processor, enables the processor to execute the drone control method. The display screen of the computer device may be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device may be a touch layer covering the display screen, or a button, trackball or touchpad provided on the housing of the computer device, or an external keyboard, touchpad or mouse, etc.

[0146] Those skilled in the art will understand that Fig.10 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0147] In one embodiment, the drone control device provided by the present application can be implemented in the form of a computer program. The computer program can be Fig.10 The computer terminal is shown in FIG. 1 and is used to run the program. The memory of the computer terminal can store various program modules constituting the drone control device, for example, Figure 8The first receiving module 802, the second receiving module 804, the position module 806, the judgment module 808, the information acquisition module 810, and the control module 812 are shown. The computer program composed of each program module enables the processor to execute the steps of the drone control method of each embodiment of the present application described in this specification.

[0148] For example, Fig.10 The computer terminal shown can be Figure 8 The first receiving module 802 in the drone control device shown executes step S202. The computer terminal can execute step S204 through the second receiving module 804. The computer terminal can execute step S206 through the location module 806, the judgment module 808 executes step S208, the information acquisition module 810 executes step S210, and the control module 812 executes step S212.

[0149] In one embodiment, a computer terminal is provided, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes: receiving drone flight information and drone parameters sent by the drone through an autonomous communication networking network; using the autonomous communication networking network, receiving location information and meteorological information about the flight environment of the drone acquired by the terminal; formulating a target flight route for the drone according to the location information; judging whether the drone flight route matches the target flight route based on the drone flight information, and judging whether the drone parameters match the meteorological information; if the drone flight route does not match the target flight route, and the drone parameters do not match the meteorological information, obtaining corresponding prompt information; generating a first control instruction according to the prompt information and the drone parameters, and controlling the drone through the first control instruction.

[0150] In one embodiment, a computer-readable storage medium is provided, storing a computer program. When the computer program is executed by a processor, the processor executes: receiving drone flight information and drone parameters sent by the drone through an autonomous communication networking network; using the autonomous communication networking network, receiving location information and meteorological information about the flight environment of the drone acquired by a terminal; formulating a target flight route for the drone based on the location information; judging whether the drone flight route matches the target flight route based on the drone flight information, and judging whether the drone parameters match the meteorological information; if the drone flight route does not match the target flight route, and the drone parameters do not match the meteorological information, obtaining corresponding prompt information; generating a first control instruction based on the prompt information and the drone parameters, and controlling the drone through the first control instruction.

[0151] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0152] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0153] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A method for controlling a drone, comprising: Receiving the drone flight information and drone parameters sent by the drone through the autonomous communication network; the drone flight information includes the positioning information of the drone, the current flight posture of the drone and the real-time flight speed of the drone; Using the autonomous communication network, receiving the location information and weather information about the flight environment of the UAV acquired by the terminal; Determine a take-off point and a target point in the flight area of ​​the UAV according to the position information, and set a turning route or an ascending and descending route of the UAV according to the height, spacing and distribution of obstacles in a straight line between the take-off point and the target point, and combine the turning route or the ascending and descending route with the straight line to obtain a target flight route of the UAV; Determining the target flight attitude in the target flight route according to the height of the obstacle, the distribution of the obstacle, and the topography of the flight environment included in the position information; According to the flight speed, the positioning information and the predicted flight attitude at the next moment are combined to obtain a combined flight route, and it is determined whether the combined flight route matches the target flight route, and whether the UAV parameters match the meteorological information; When the positioning information in the combined flight route is inconsistent with the positioning information of the target flight route at the next moment, or the flight attitude at the next moment in the combined flight route is different from the target flight attitude, it is determined that the combined flight route does not match the target flight route; when the UAV parameters do not match the meteorological information, corresponding prompt information is obtained; A first control instruction is generated according to the prompt information and the drone parameters, and the drone is controlled by the first control instruction.

2. The method according to claim 1, characterized in that The drone parameters include a power value and a wind resistance value; the method further includes: Calculate the flight distance of the drone according to the flight speed, the battery value and the weather information; Calculating the remaining route distance of the UAV using the positioning information and the position information; When the cruising range of the drone is less than the remaining route distance, the step of generating a first control instruction according to the prompt information and the drone parameters is executed.

3. The method according to claim 2, characterized in that Generating the first control instruction according to the prompt information and the drone parameter includes: When the cruising range of the drone is less than the remaining route distance, determining a target flight speed of the drone according to the prompt information and the drone parameters; the target flight speed is less than the flight speed; A first control instruction carrying the target flight speed is generated.

4. The method according to claim 2, characterized in that: Generating the first control instruction according to the prompt information and the drone parameter includes: When the cruising range of the drone is less than the remaining route distance, calculating the return distance of the drone; When the return distance is less than the endurance distance of the drone, adjusting the return flight speed of the drone according to the drone parameters and the weather information; A first control instruction for controlling the UAV to return along the target flight route is generated according to the prompt information and the return flight speed.

5. The method according to claim 2, characterized in that: Generating the first control instruction according to the prompt information and the drone parameter includes: When the cruising distance of the drone is less than the remaining route distance and the return distance is greater than the cruising distance of the drone, obtaining the forced landing point closest to the drone; Determine a forced landing route for the UAV to fly to the forced landing point; the distance of the forced landing route is less than the flight range of the UAV; A first control instruction carrying the forced landing route is generated according to the prompt information and the drone parameters.

6. The method according to claim 2, characterized in that The method further comprises: The prompt information is sent to the control end; the prompt information is used to instruct the control end to control the drone through the second control instruction obtained in response to the prompt information.

7. A drone control device, characterized in that: The device comprises: A first receiving module is used to receive UAV flight information and UAV parameters sent by the UAV through an autonomous communication network; the UAV flight information includes positioning information of the UAV, current flight posture of the UAV and current flight speed of the UAV; A second receiving module is used to use the autonomous communication network to receive the location information and weather information about the flight environment of the UAV obtained by the terminal; A position module, for determining a take-off point and a target point in a flight area of ​​the UAV according to the position information, and setting a turning route or an ascending and descending route of the UAV according to the height, spacing and distribution of obstacles in a straight line between the take-off point and the target point, combining the turning route or the ascending and descending route with the straight line to obtain a target flight route of the UAV; determining a target flight attitude in the target flight route according to the height of the obstacle, the distribution of the obstacle and the terrain of the flight environment included in the position information; A judgment module, used to combine the positioning information and the predicted flight attitude at the next moment according to the flight speed to obtain a combined flight route, judge whether the combined flight route matches the target flight route, and judge whether the UAV parameters match the meteorological information; An information acquisition module, for determining that the combined flight route does not match the target flight route when the positioning information in the combined flight route is inconsistent with the positioning information at the next moment in the target flight route, or the flight attitude at the next moment in the combined flight route is different from the target flight attitude; and for acquiring corresponding prompt information when the UAV parameters do not match the meteorological information; The control module is used to generate a first control instruction according to the prompt information and the drone parameters, and control the drone through the first control instruction.

8. The device according to claim 7, characterized in that The drone parameters include a battery value and a wind resistance value; the control module is also used to: calculate the drone's endurance distance based on the flight speed, the battery value and the meteorological information; calculate the remaining route distance of the drone using the positioning information and the location information; when the drone's endurance distance is less than the remaining route distance, execute the step of generating a first control instruction based on the prompt information and the drone parameters.

9. The device according to claim 8, characterized in that The control module is also used for: when the UAV's cruising range is less than the remaining route distance, determining the UAV's target flight speed according to the prompt information and the UAV parameters; the target flight speed is less than the flight speed; and generating a first control instruction carrying the target flight speed.

10. A computer terminal comprising a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the method according to any one of claims 1 to 6.

11. A computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the processor is caused to perform the steps of the method according to any one of claims 1 to 6.