Unmanned aerial vehicle real-time flight path display method and system, electronic equipment and storage medium
By acquiring, parsing, and displaying real-time flight information of drones, the shortcomings of real-time visualization of drone flight trajectories have been solved, enabling users to intuitively display the dynamic position and path of drones, thereby improving monitoring efficiency and the timeliness of decision-making.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-27
- Publication Date
- 2026-03-10
AI Technical Summary
The lack of real-time visualization of drone flight trajectories in existing technologies makes it difficult for users to intuitively understand the dynamic position and path changes of drones.
By acquiring real-time flight information transmitted by the drone, using AI algorithms to analyze and process it to obtain location information, and then transmitting it to a message queue, the flight trajectory is finally drawn on the display.
It significantly improves users' intuitive perception of the dynamic position and path of drones, and enhances monitoring efficiency and the timeliness of operational decisions in complex mission scenarios.
Smart Images

Figure CN121644652A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The application belongs to the field of unmanned aerial vehicles, and particularly relates to a real-time flight trajectory display method for unmanned aerial vehicles, a real-time flight trajectory display system for unmanned aerial vehicles, an electronic device and a readable storage medium. BACKGROUND
[0002] In the field of unmanned aerial vehicle applications, real-time monitoring of the flight state of the unmanned aerial vehicle is an important link to ensure flight safety and task execution. In the prior art, flight data is collected by sensors carried by the unmanned aerial vehicle, and the data is transmitted to a ground control station for storage and analysis through wireless communication. However, these technologies mainly focus on data collection and storage, and lack real-time visual display methods for the flight trajectory of the unmanned aerial vehicle, which makes it difficult for users to intuitively understand the dynamic position and path changes of the unmanned aerial vehicle. SUMMARY
[0003] The purpose of the embodiments of the application is to provide a real-time flight trajectory display method for unmanned aerial vehicles, a real-time flight trajectory display system for unmanned aerial vehicles, an electronic device and a readable storage medium, which can solve the problem of lack of real-time visual display of the flight trajectory of the unmanned aerial vehicle in the prior art.
[0004] To solve the above technical problems, the application is implemented as follows: In a first aspect, the embodiments of the application provide a real-time flight trajectory display method for unmanned aerial vehicles, which comprises: acquiring flight information transmitted in real time by the unmanned aerial vehicle; analyzing and processing the flight information to obtain position information; transmitting the position information to a message queue; pushing the position information to a display end through subscription to the message queue, so that the display end draws the flight trajectory of the unmanned aerial vehicle on a display interface according to the position information.
[0005] Optionally, the acquiring of the flight information transmitted in real time by the unmanned aerial vehicle comprises: receiving the flight information transmitted at a predetermined frequency by the unmanned aerial vehicle through a coordination service system, the flight information comprising latitude information, longitude information and flight height information of the unmanned aerial vehicle.
[0006] Optionally, the analyzing and processing of the flight information to obtain position information comprises: analyzing the flight information received by the coordination service system using an AI algorithm to obtain the latitude information and the longitude information; using the latitude information and the longitude information as the position information.
[0007] Optionally, the AI algorithm is used to analyze the flight information received by the coordination service system to obtain the latitude information and the longitude information, comprising: Converting the latitude information and the longitude information in the flight information into a format and verifying the data to generate the latitude information and the longitude information that meet the message queue transmission requirements.
[0008] Optionally, the converting the latitude information and the longitude information in the flight information into a format and verifying the data comprises: When the deviation between consecutive data points exceeds a preset threshold, smoothing the latitude information and the longitude information; Wherein, each data point is determined by a pair of latitude information and longitude information.
[0009] Optionally, the flight information transmitted by the UAV at a predetermined frequency is received by the coordination service system, comprising: Obtaining the flight state of the UAV, the flight state comprising speed change and / or heading change; According to the flight state, dynamically adjusting the predetermined frequency, so that the UAV transmits the flight information according to the adjusted predetermined frequency.
[0010] Optionally, the flight information comprises high-frequency flight data and low-frequency flight data; and the flight information transmitted by the UAV at a predetermined frequency is received by the coordination service system, further comprising: According to the speed change and / or the heading change, dynamically adjusting the processing order of the high-frequency flight data and the low-frequency flight data, the high-frequency flight data at least comprising the latitude information and the longitude information, and the low-frequency flight data comprising the flight height information.
[0011] In a second aspect, the embodiments of the present application provide a real-time flight trajectory display system of a UAV, comprising: A flight information acquisition module is configured to acquire flight information transmitted by a UAV in real time; A flight information analysis module is configured to analyze the flight information to obtain position information; A position information transmission module is configured to transmit the position information to a message queue; A position information pushing module is configured to push the position information to a display end by subscribing to the message queue, so that the display end draws a flight trajectory of the UAV on a display interface according to the position information.
[0012] Optionally, the flight information obtaining module is configured to receive the flight information transmitted by the UAV at a predetermined frequency via the coordination service system, the flight information comprising latitude information, longitude information and flight height information of the UAV.
[0013] Optionally, the flight information analyzing module comprises: an analyzing module configured to analyze the flight information received by the coordination service system to obtain the latitude information and the longitude information by using an AI algorithm. a determining module configured to determine the latitude information and the longitude information as the position information.
[0014] Optionally, the analyzing module is configured to perform format conversion and data verification on the latitude information and the longitude information in the flight information to generate the latitude information and the longitude information meeting the message queue transmission requirement.
[0015] Optionally, the analyzing module is configured to perform smoothing processing on the latitude information and the longitude information when a deviation between consecutive data points exceeds a preset threshold. wherein each data point is determined by a pair of latitude information and longitude information.
[0016] Optionally, the flight information obtaining module comprises: a flight state obtaining module configured to obtain a flight state of the UAV, the flight state comprising a speed change and / or a heading change. a predetermined frequency adjusting module configured to dynamically adjust the predetermined frequency according to the flight state, so that the UAV transmits the flight information at the adjusted predetermined frequency.
[0017] Optionally, the flight information comprises high-frequency flight data and low-frequency flight data; and the flight information obtaining module further comprises: a sequence adjusting module configured to dynamically adjust a processing sequence of the high-frequency flight data and the low-frequency flight data according to the speed change and / or the heading change, the high-frequency flight data comprising at least the latitude information and the longitude information, and the low-frequency flight data comprising the flight height information.
[0018] In a third aspect, an electronic device is provided, which comprises a processor, a memory, and a program or instruction stored in the memory and executable on the processor, and the program or instruction, when executed by the processor, implements the steps of the method according to the first aspect.
[0019] Fourthly, embodiments of this application provide a readable storage medium on which a program or instructions are stored, which, when executed by a processor, implement the steps of the method described in the first aspect.
[0020] In this embodiment, by acquiring real-time flight information transmitted by the UAV, parsing the location information, transmitting it to a message queue, and pushing it to the display terminal to draw the flight trajectory, the user's intuitive perception of the UAV's dynamic position and path is significantly improved compared to the lack of real-time visualization in the prior art. This embodiment, through real-time processing and pushing of location information, enables the display terminal to instantly present the UAV's flight trajectory, thereby enhancing monitoring efficiency and the timeliness of operational decisions in complex task scenarios (such as navigation, search and rescue, or inspection), and providing users with more intuitive and real-time information on the UAV's operational status. Attached Figure Description
[0021] Figure 1 This is a flowchart illustrating the steps of a method for displaying the real-time flight trajectory of a drone according to an embodiment of this application; Figure 2 This is a flowchart illustrating the steps of a method for displaying the real-time flight trajectory of a drone based on a visual network, according to an embodiment of this application. Figure 3 This is a schematic diagram of the structure of a real-time flight trajectory display system for unmanned aerial vehicles (UAVs) according to an embodiment of this application; Figure 4 This is a schematic diagram of the hardware structure of an electronic device according to an embodiment of this application. Detailed Implementation
[0022] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0023] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.
[0024] The following description, in conjunction with the accompanying drawings, details a real-time flight trajectory display scheme for unmanned aerial vehicles (UAVs) provided in this application through specific embodiments and application scenarios.
[0025] Reference Figure 1 The diagram illustrates a flowchart of a method for displaying the real-time flight trajectory of a drone according to an embodiment of this application.
[0026] Step 101: Obtain the flight information transmitted by the UAV in real time.
[0027] After receiving control commands through the flight control platform, the UAV sends flight information to the relay service system at regular intervals (e.g., 3 times per second). This flight information may include, but is not limited to, key data such as the UAV's latitude, longitude, and altitude. The streaming media service system receives this flight information through the relay service system, ensuring its real-time nature and integrity. Specifically, the relay service system acts as an intermediary, forwarding the flight information sent by the UAV to the streaming media service system. This process may involve decoding and preliminary verification of data packets to ensure data accuracy during transmission. When receiving flight information, the streaming media service system must process high-frequency data streams to ensure it can adapt to the dynamic flight states of the UAV, maintaining stable data reception capabilities during high-speed flight or complex flight paths.
[0028] Step 102: Analyze and process the flight information to obtain the location information.
[0029] After receiving flight information relayed by the drone through the cooperative relay service system, the streaming media service system hands it over to the Artificial Intelligence (AI) algorithm software development kit (SDK) for data processing. Flight information typically contains multiple data fields, such as latitude, longitude, and flight altitude, among which latitude and longitude are core location information required for drawing the flight trajectory. The AI algorithm SDK uses parsing algorithms to unpack and convert the flight information, extracting the latitude and longitude information, and then performs data validation on the latitude and longitude information to ensure its validity. For example, the AI algorithm SDK may check whether the numerical range of the latitude and longitude information conforms to geographic coordinate standards, or filter out abnormal data points to prevent erroneous data from affecting trajectory drawing.
[0030] Step 103: Transmit the location information to the message queue.
[0031] After parsing and processing the flight information, the streaming media service system encapsulates the extracted latitude and longitude location information according to the message queue protocol format and transmits it through the message queue interface. As an asynchronous communication mechanism, message queues can effectively manage high-concurrency data streams, ensuring the stability of location information in high-frequency transmission scenarios. When transmitting location information, the streaming media service system must ensure data integrity and order to avoid errors in trajectory display due to network latency or data loss. For example, the message queue may employ a first-in, first-out (FIFO) mechanism, storing location information in timestamp order to ensure that the data received by the display device matches the actual flight path of the drone.
[0032] Step 104: Push the location information to the display terminal by subscribing to the message queue, so that the display terminal can draw the drone's flight trajectory on the display interface based on the location information.
[0033] The streaming media service system uses a message queue subscription mechanism to obtain location information stored in the message queue in real time and pushes it to the display terminal. The subscription mechanism ensures that the display terminal can receive the latest latitude and longitude information with low latency, thus supporting the drawing of dynamic trajectories. During the push process, the streaming media service system must ensure the real-time performance and reliability of the transmission, for example, by establishing a stable connection with the display terminal through WebSockets or other real-time communication protocols. After receiving the location information, the display terminal uses map rendering technology to draw the drone's flight trajectory on the display interface. Specifically, this involves converting continuous latitude and longitude pairs into waypoints on the map and connecting them with smooth curves or polylines to form the trajectory.
[0034] In this embodiment, by acquiring real-time flight information transmitted by the UAV, parsing the location information, transmitting it to a message queue, and pushing it to the display terminal to draw the flight trajectory, the user's intuitive perception of the UAV's dynamic position and path is significantly improved compared to the lack of real-time visualization in the prior art. This embodiment, through real-time processing and pushing of location information, enables the display terminal to instantly present the UAV's flight trajectory, thereby enhancing monitoring efficiency and the timeliness of operational decisions in complex task scenarios (such as navigation, search and rescue, or inspection), and providing users with more intuitive and real-time information on the UAV's operational status.
[0035] In one exemplary embodiment of this application, one way to obtain flight information transmitted in real time by a UAV is to receive flight information transmitted by the UAV at a predetermined frequency through a cooperative transfer service system. The flight information includes the latitude information, longitude information and flight altitude information of the UAV.
[0036] After receiving control commands from the flight control platform, the UAV generates flight information data packets containing latitude, longitude, and altitude information at a predetermined frequency (e.g., 3 times per second) and transmits them to the relay service system via wireless communication protocols (such as 4G / 5G or dedicated frequency bands). The relay service system, acting as a data relay node, receives these data packets and performs preliminary decoding and verification to ensure data integrity and format correctness before forwarding the data to the streaming media service system. During reception, the streaming media service system processes the high-frequency data stream to ensure real-time capture of the UAV's dynamic position and status information. To cope with network fluctuations or transmission interruptions, the relay service system may employ a caching mechanism to temporarily store flight information and continue forwarding it after network recovery. Furthermore, the relay service system needs to support scenarios with concurrent transmission from multiple UAVs, ensuring that flight information from different UAVs can be correctly distinguished and processed. The key to this embodiment is establishing an efficient and stable data transmission channel to ensure that the streaming media service system can acquire flight information containing latitude, longitude, and altitude information in a timely manner, providing a reliable data foundation for subsequent analysis and trajectory mapping.
[0037] This application embodiment receives flight information transmitted by a UAV at a predetermined frequency through a cooperative transfer service system. This information includes latitude, longitude, and flight altitude information. The streaming media service system can acquire comprehensive flight status data of the UAV in real time, laying the foundation for subsequent location information analysis and trajectory display. This significantly improves the reliability and real-time performance of data transmission, enabling users to monitor the position and altitude changes of the UAV in real time in complex task scenarios.
[0038] In one exemplary embodiment of this application, one method for parsing and processing flight information to obtain location information is as follows: using an AI algorithm to parse the flight information received by the co-transfer service system to obtain latitude and longitude information; and using the latitude and longitude information as location information.
[0039] Flight information is typically transmitted in complex data packets, containing latitude, longitude, altitude, and other auxiliary data (such as timestamps and attitude data). The streaming media service system uses an AI algorithm SDK to unpack these packets, identifying and extracting the latitude and longitude information. The AI algorithm SDK uses pre-defined parsing rules and machine learning models to perform format parsing and content filtering on the data. For example, it converts geographic coordinates in the raw data from a specific encoding format to a standardized numerical format, while verifying the validity of the data (e.g., checking if the latitude range is between -90° and +90°, and the longitude range is between -180° and +180°). Furthermore, the AI algorithm SDK may calibrate the timestamps to ensure that the extracted latitude and longitude information strictly corresponds to the drone's real-time location. This process requires high-efficiency computing power to handle the high-frequency transmission of flight information while ensuring the accuracy of the parsing results. The extracted latitude and longitude information is defined as location information and is directly used for subsequent message queue transmission, providing core data for trajectory drawing on the display end. This embodiment achieves the conversion from complex flight information to structured location information through efficient analysis using AI algorithms, providing crucial support for real-time trajectory display.
[0040] This application embodiment uses AI algorithms to analyze flight information and extract latitude and longitude information as location information. The streaming media service system can efficiently and accurately separate the core location information required for trajectory drawing from complex flight data, improving the accuracy and real-time performance of data processing and providing high-quality data support for subsequent trajectory display.
[0041] In one exemplary embodiment of this application, one implementation method for using AI algorithms to parse flight information received by the cooperative transfer service system to obtain latitude and longitude information is as follows: the latitude and longitude information in the flight information is format converted and data verified to generate dimension information and longitude information that meet the requirements of message queue transmission.
[0042] Format conversion involves transforming latitude and longitude information from the drone's raw data format (such as binary or protocol-specific encoding) into a standardized format supported by the message queue, such as JavaScript Object Notation (JSON) or Extensible Markup Language (XML), to facilitate subsequent transmission and processing. For example, AI algorithms might convert latitude and longitude information to decimal format and add necessary metadata (such as timestamps or drone identifiers). Data validation includes checking the completeness and reasonableness of the latitude and longitude information, such as verifying that the data is within a valid range, removing outliers (such as data outside the geographic coordinate range), and ensuring the time series continuity of the data points. The AI algorithm SDK may combine statistical analysis or machine learning techniques to identify potential noisy data and perform preliminary corrections to improve the reliability of the location information. Furthermore, the validation process must consider the message queue's transmission protocol requirements to ensure that the generated latitude and longitude information is compatible with the message queue's interface in terms of format and content. This embodiment optimizes the structuring and usability of latitude and longitude information through format conversion and data validation, providing a solid guarantee for efficient transmission of message queue data and subsequent trajectory mapping.
[0043] This application embodiment generates data that meets the requirements of message queue transmission by converting and verifying the latitude and longitude information in flight information. The streaming media service system significantly improves the standardization and reliability of location information, ensures the compatibility and accuracy of data in high-frequency transmission scenarios, and provides a high-quality data foundation for real-time trajectory display.
[0044] In one exemplary embodiment of this application, one method for format conversion and data verification of latitude and longitude information in flight information is as follows: when the deviation between consecutive data points exceeds a preset threshold, the latitude and longitude information are smoothed; wherein each data point is determined by a pair of latitude and longitude information.
[0045] Continuous data points refer to latitude and longitude pairs arranged in a time series, with each data point representing the drone's position at a specific moment. Deviation checking involves calculating the distance or angular changes between adjacent data points. For example, the geographical distance between two data points (latitude and longitude pairs) is calculated using the Euclidean distance formula. If the distance exceeds a preset threshold (e.g., tens of meters, depending on the drone type and mission scenario), it is considered that there may be data jumps or noise. Smoothing processing adjusts the latitude and longitude information using algorithms (such as moving average or Kalman filtering) to reduce the impact of abnormal fluctuations. For example, an AI algorithm SDK may interpolate abnormal data points to generate a smooth coordinate sequence, ensuring the continuity and realism of the trajectory drawing. This process needs to balance real-time performance and accuracy, avoiding excessive smoothing that could distort the location information. The smoothed latitude and longitude information is more suitable for message queue transmission and display rendering, effectively reducing jitter or discontinuity in trajectory drawing. This embodiment optimizes the data quality of location information through deviation checking and smoothing processing, providing smoother and more continuous coordinate data for subsequent trajectory display.
[0046] This application embodiment smooths latitude and longitude information where the deviation of continuous data points exceeds a preset threshold. The streaming media service system effectively eliminates data noise and jump phenomena, improves the continuity and stability of location information, and provides reliable data support for drawing smooth and realistic drone flight trajectories on the display end.
[0047] In one exemplary embodiment of this application, one implementation of receiving flight information transmitted by a UAV at a predetermined frequency through a cooperative transfer service system is as follows: acquiring the flight status of the UAV, including speed changes and / or heading changes; dynamically adjusting the predetermined frequency according to the flight status so that the UAV transmits flight information at the adjusted predetermined frequency.
[0048] Flight status can be acquired by parsing speed data (e.g., in meters per second) or heading data (e.g., changes in flight direction expressed as angles) from flight information. Based on this status information, the streaming media service system dynamically adjusts the sampling frequency of the receiver or requests the drone's transmission frequency. For example, when the drone's speed increases or its heading changes frequently (e.g., performing complex maneuvers), the streaming media service system may send instructions to the drone via a co-transfer service system to increase a predetermined frequency (e.g., from 3 times per second to 5 times per second) to capture denser position data; conversely, it may decrease the frequency during stable flight to reduce system load. The adjustment process may involve interaction with the flight control platform, which sends frequency adjustment instructions to the drone. When receiving the adjusted flight information, the co-transfer service system must ensure the stability and order of the data stream to avoid data loss due to frequency changes. This embodiment optimizes the efficiency of flight information reception by dynamically adjusting the predetermined frequency, adapting to the needs of different flight scenarios and providing flexible data support for real-time trajectory display.
[0049] This application embodiment dynamically adjusts the predetermined frequency according to the speed and / or heading changes of the UAV, enabling the streaming media service system to flexibly adapt to changes in the UAV's flight status, optimize the efficiency of flight information reception, ensure the capture of high-density data in complex flight scenarios, and reduce system load during stable flight, thus providing efficient and adaptive data support for real-time trajectory display.
[0050] In one exemplary embodiment of this application, the flight information includes high-frequency flight data and low-frequency flight data; an embodiment of receiving flight information transmitted by the UAV at a predetermined frequency through a co-transfer service system further includes: dynamically adjusting the processing order of high-frequency flight data and low-frequency flight data according to speed changes and / or heading changes, wherein the high-frequency flight data includes at least latitude and longitude information, and the low-frequency flight data includes flight altitude information.
[0051] High-frequency flight data (such as latitude and longitude information) requires higher processing priority because it is directly used for trajectory mapping; low-frequency flight data (such as flight altitude information) can be processed in a secondary order due to its lower update frequency. The streaming media service system determines the UAV's flight dynamics by analyzing speed and / or heading changes in the flight information. For example, in high-speed or frequently turning scenarios, the streaming media service system prioritizes high-frequency flight data to ensure timely parsing and transmission of latitude and longitude information; while during stable flight, the processing order is adjusted appropriately to balance the processing of low-frequency flight data (such as flight altitude information). Dynamic adjustment of the processing order can be implemented through AI algorithm SDKs, such as through a priority queue mechanism to allocate high-frequency flight data to high-priority processing threads. Upon receiving data, the co-transfer service system needs to identify high-frequency and low-frequency data (e.g., through data packet headers) so that the streaming media service system can correctly distinguish and sort them. This embodiment optimizes system resource allocation and improves the real-time performance and accuracy of trajectory mapping by dynamically adjusting the processing order.
[0052] This application embodiment dynamically adjusts the processing order of high-frequency and low-frequency flight data according to the speed and / or heading changes of the UAV. The streaming media service system prioritizes processing high-frequency flight data containing latitude and longitude information to ensure the real-time performance and accuracy of trajectory drawing. At the same time, it reasonably allocates resources to process low-frequency flight data containing flight altitude information, thereby optimizing system performance and data processing flexibility.
[0053] Based on the above description of an embodiment of a method for displaying real-time flight trajectories of unmanned aerial vehicles (UAVs), a method for displaying real-time flight trajectories of UAVs based on a visual network (VLR) is introduced below. This method integrates UAV control, data transmission, and visualization through a VLR platform to achieve real-time monitoring and dynamic presentation of the UAV's flight path.
[0054] Specifically, such as Figure 2 As shown in the figure, the method for displaying the real-time flight trajectory of a drone based on the visual network in this application includes the following steps: First, the flight control platform sends drone operation commands to the drone and simultaneously activates the drone's flight information push function, putting the drone into a real-time data acquisition and transmission state. Simultaneously, the intelligent analysis commands issued by the flight control platform are forwarded via the relay service system, ensuring that subsequent processing nodes can execute the corresponding intelligent analysis tasks according to the command content. After receiving the drone operation commands, the drone begins collecting its current flight status data at preset intervals (e.g., 3 times per second), including key parameters such as latitude, longitude, and flight altitude. This data is then packaged into flight information packets and continuously transmitted to the relay service system via the visual network's wireless communication link. The relay service system, acting as a data relay node in the visual network, is responsible for receiving these flight information packets, performing preliminary protocol conversion and data verification to ensure the integrity and sequence of the flight information packets, and then forwarding the processed drone flight information and intelligent analysis commands to the streaming media service system. After receiving flight information and intelligent analysis instructions, the streaming media service system calls its built-in AI algorithm SDK to parse and process the flight information. First, it unpacks the flight information, extracting latitude and longitude as location information. Second, it standardizes and validates the extracted latitude and longitude information to meet subsequent transmission requirements. If abnormal deviations are detected between consecutive location points, a smoothing algorithm is applied to adjust the location information to ensure trajectory continuity. After parsing, the streaming media service system reports the flight information to a message queue. This message queue uses a first-in-first-out (FIFO) mechanism, supporting high-concurrency access and asynchronous distribution. The front-end page, as a subscriber to the message queue, listens for location information updates in real time. Once new data is enqueued, it pushes the latitude and longitude information to the front-end display via the WebSocket protocol. After receiving the location information pushed to the front-end display, the integrated map application programming interface (API) is used to dynamically draw the flight trajectory on the display interface: continuous latitude-longitude point pairs are converted into path points in the map coordinate system and connected in the form of polylines or curves to form a real-time visualization of the flight trajectory. Flight altitude information can also be superimposed as an auxiliary marker.
[0055] This application fully utilizes the streaming media transmission capabilities and distributed architecture of the visual network to ensure that the end-to-end latency from drone data acquisition to trajectory display is controlled at the millisecond level, supporting concurrent monitoring scenarios of multiple drones. For example, in urban inspection or emergency rescue missions, users can intuitively view the drone path through a browser or mobile device, avoiding monitoring blind spots caused by data latency in traditional methods.
[0056] It should be noted that the drone real-time flight trajectory display method provided in this application embodiment can be executed by a drone real-time flight trajectory display system, or by a control module within the drone real-time flight trajectory display system for executing the drone real-time flight trajectory display method. This application embodiment uses the drone real-time flight trajectory display system executing the drone real-time flight trajectory display method as an example to illustrate the drone real-time flight trajectory display method provided in this application embodiment.
[0057] Reference Figure 3 This diagram illustrates the structure of a real-time flight trajectory display system for unmanned aerial vehicles (UAVs) according to an embodiment of this application. The system may specifically include the following modules: Flight information acquisition module 31 is used to acquire flight information transmitted by the UAV in real time; Flight information parsing module 32 is used to parse and process the flight information to obtain position information; Location information transmission module 33 is used to transmit the location information to a message queue; The location information push module 34 is used to push the location information to the display terminal by subscribing to the message queue, so that the display terminal can draw the flight trajectory of the drone on the display interface according to the location information.
[0058] In one exemplary embodiment of this application, the flight information acquisition module 31 is used to receive the flight information transmitted by the UAV at a predetermined frequency through a co-transfer service system. The flight information includes the latitude information, longitude information and flight altitude information of the UAV.
[0059] In one exemplary embodiment of this application, the flight information parsing module 32 includes: The parsing module is used to parse the flight information received by the cooperative transfer service system using AI algorithms to obtain the latitude information and the longitude information; The determination module is used to use the latitude information and the longitude information as the location information.
[0060] In one exemplary embodiment of this application, the parsing module is used to perform format conversion and data verification on the latitude information and longitude information in the flight information to generate the latitude information and longitude information that meet the transmission requirements of the message queue.
[0061] In one exemplary embodiment of this application, the parsing module is used to smooth the latitude information and the longitude information when the deviation between consecutive data points exceeds a preset threshold; Each data point is determined by a pair of the dimension information and the longitude information.
[0062] In one exemplary embodiment of this application, the flight information acquisition module 31 includes: A flight status acquisition module is used to acquire the flight status of the UAV, including speed changes and / or heading changes; A predetermined frequency adjustment module is used to dynamically adjust the predetermined frequency according to the flight status, so that the UAV transmits the flight information at the adjusted predetermined frequency.
[0063] In one exemplary embodiment of this application, the flight information includes high-frequency flight data and low-frequency flight data; the flight information acquisition module 31 further includes: The sequence adjustment module is used to dynamically adjust the processing order of the high-frequency flight data and the low-frequency flight data according to the speed change and / or the heading change. The high-frequency flight data includes at least the latitude information and the longitude information, and the low-frequency flight data includes the flight altitude information.
[0064] The real-time flight trajectory display system for drones in this application embodiment can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. For example, mobile electronic devices can be mobile phones, tablets, laptops, PDAs, in-vehicle electronic devices, wearable devices, Ultra-Mobile Personal Computers (UMPCs), netbooks, or Personal Digital Assistants (PDAs), etc., while non-mobile electronic devices can be servers, Network Attached Storage (NAS), Personal Computers (PCs), TeleVision (TVs), ATMs, or self-service machines, etc. This application embodiment does not impose specific limitations.
[0065] The real-time flight trajectory display system for drones in this application embodiment can be a device with an operating system. This operating system can be Android, iOS, or other possible operating systems; this application embodiment does not specifically limit it.
[0066] The real-time flight trajectory display system for unmanned aerial vehicles provided in this application embodiment can achieve... Figure 1 The method embodiments include various processes implemented by the UAV real-time flight trajectory display system, which will not be described again here to avoid repetition.
[0067] Optionally, this application embodiment also provides an electronic device, including a processor, a memory, and a program or instructions stored in the memory and executable on the processor. When the program or instructions are executed by the processor, they implement the various processes of the above-described embodiment of the real-time flight trajectory display method for drones and achieve the same technical effect. To avoid repetition, they will not be described again here.
[0068] It should be noted that the electronic devices in the embodiments of this application include the mobile electronic devices and non-mobile electronic devices described above.
[0069] Figure 4 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of this application.
[0070] The electronic device 1000 includes, but is not limited to, components such as: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010. The input unit 1004 may include a graphics processor 10041 and a microphone 10042. The display unit 1006 may include a display panel 10061. The user input unit 1007 may include a touch panel 10071 and other input devices 10072. The memory 1009 may include applications and an operating system.
[0071] Those skilled in the art will understand that the electronic device 1000 may also include a power supply (such as a battery) for supplying power to various components. The power supply may be logically connected to the processor 1010 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system. Figure 4 The electronic device structure shown does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.
[0072] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above-described embodiment of the method for displaying the real-time flight trajectory of a drone and achieve the same technical effect. To avoid repetition, they will not be described again here.
[0073] The processor mentioned above is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.
[0074] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and systems in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
[0075] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0076] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.
Claims
1. A method for displaying real-time flight trajectory of a UAV, characterized in that, The method comprises: acquiring flight information transmitted by a drone in real time; analyzing the flight information to obtain position information; transmitting the position information to a message queue; pushing the position information to a display end through subscription of the message queue, so that the display end draws a flight track of the drone on a display interface according to the position information.
2. The method of claim 1, wherein, The acquiring of the flight information transmitted by the drone in real time comprises: receiving, through a coordination service system, the flight information transmitted by the drone at a predetermined frequency, the flight information comprising latitude information, longitude information and flight height information of the drone.
3. The method of claim 2, wherein, The analyzing of the flight information to obtain position information comprises: analyzing, by using an AI algorithm, the flight information received by the coordination service system to obtain the latitude information and the longitude information; taking the latitude information and the longitude information as the position information.
4. The method of claim 3, wherein, The analyzing of the flight information received by the coordination service system by using an AI algorithm to obtain the latitude information and the longitude information comprises: performing format conversion and data verification on the latitude information and the longitude information in the flight information to generate the latitude information and the longitude information meeting transmission requirements of the message queue.
5. The method of claim 4, wherein, The performing of format conversion and data verification on the latitude information and the longitude information in the flight information comprises: when a deviation between continuous data points exceeds a preset threshold, performing smoothing processing on the latitude information and the longitude information; wherein each data point is determined by a pair of the latitude information and the longitude information.
6. The method of claim 2, wherein, The receiving of the flight information transmitted by the drone at a predetermined frequency through a coordination service system comprises: acquiring a flight state of the drone, the flight state comprising a speed change and / or a heading change; dynamically adjusting the predetermined frequency according to the flight state, so that the drone transmits the flight information at the adjusted predetermined frequency.
7. The method of claim 6, wherein, The flight information comprises high-frequency flight data and low-frequency flight data; and the receiving of the flight information transmitted by the drone at a predetermined frequency through a coordination service system further comprises: dynamically adjusting a processing order of the high-frequency flight data and the low-frequency flight data according to the speed change and / or the heading change, the high-frequency flight data at least comprising the latitude information and the longitude information, and the low-frequency flight data comprising the flight height information.
8. A real-time flight trajectory display system for unmanned aerial vehicles, characterized in that, The system comprises: a flight information acquisition module, configured to acquire flight information transmitted by a drone in real time; a flight information analysis module, configured to analyze the flight information to obtain position information; a position information transmission module, configured to transmit the position information to a message queue; a position information pushing module, configured to push the position information to a display end through subscription of the message queue, so that the display end draws a flight track of the drone on a display interface according to the position information.
9. An electronic device, comprising: The application discloses a method and device for displaying real-time flight track of unmanned aerial vehicle.
10. A readable storage medium, characterized by, The application discloses a method and device for displaying real-time flight track of unmanned aerial vehicle.