Disclosure of Invention
Aiming at the defects in the prior art, the invention provides a general aviation flight plan and monitoring target association method, which solves the defects in the prior art.
In order to realize the purpose, the technical scheme adopted by the invention is as follows:
a general aviation flight plan and monitoring target association method is realized on the basis of a general aviation flight plan and monitoring target association system;
the generic aviation flight planning and surveillance target association system comprises: the system comprises a protocol conversion module, a target data processing module, a flight plan association module and a navigation monitoring management module;
the protocol conversion module provides isolation between internal and external information of the device system, only data which accords with a system unified protocol can be analyzed, and the protocol conversion module receives target information and a flight plan sent from the outside of the system and converts the target information and the flight plan into a device internal data format;
the target data processing module receives the decoded monitoring data, analyzes, tracks and fuses the monitoring data, and outputs a target track of a monitoring means;
the flight plan processing module receives the decoded flight plan data, analyzes, extracts and splices the flight plan data in an airspace, and outputs an airspace scheme corresponding to the general aviation flight plan;
the flight plan association module integrates a target track and a flight plan airspace scheme, and completes association of the target track and the flight plan airspace through a matching algorithm so as to further realize association of the flight plan and a monitored target;
the navigation monitoring management module reads various monitoring means target flight path and message data comprehensive information processed by the server based on geographic data and spatial information calculation and display capability provided by a GIS engine, displays the information to a user in a man-machine interaction interface mode after combination, encapsulation and rendering processing, monitors interface operation and instruction operation of the user, and feeds back and distributes the information to the server in an event and network stream mode;
the method for associating the aviation flight plan with the monitoring target comprises the following steps:
step 1, a protocol conversion module monitors a network port, receives network data, judges whether a data format accords with a protocol, acquires a corresponding data template if the data format accords with the protocol, judges whether a matched data template is acquired if the data format does not accord with the protocol, converts the data template according to the template if the data format accords with the protocol, acquires a sending address if the data format does not accord with the protocol, sends target data from radar equipment, ADS-B equipment and data link equipment to a target data processing module, and sends flight plan data to the flight plan processing module;
step 2, the target data processing module converts the received radar, ADS-B and data link data into JSON character strings from binary systems, then generates JSON processing objects, judges the data types according to the equipment address and source address information in the data, converts the JSON objects into corresponding monitoring data objects, and sends the monitoring data objects into a data processing queue; the real-time data processing and the playback data processing are consistent and only different in the flag bit value; the data processing respectively processes different monitoring data according to the object type of the incoming data; firstly, according to a target distinguishing identifier, a target type and a data source in monitoring data, generating a target identifier KEY, then detecting whether corresponding target monitoring data exists or not according to the KEY, updating the existing data, if the corresponding target monitoring data does not exist, newly establishing a monitoring data object of a corresponding type, and simultaneously generating a corresponding recorded data object for the monitoring data for recording to a file;
step 3, the flight plan processing module takes out flight plan data, and since the analyzed flight plan data is stored in a JSON format, whether a KEY representing an aircraft identification number exists is detected, if not, an exception is output, and the current round of processing is terminated; if yes, the processing thread judges the KEY value representing the take-off and landing airport in the JSON data in the first cycle, detects whether the general aviation flight plan contains the take-off and landing airport, extracts index information of the take-off and landing airport if yes, and further obtains detailed longitude and latitude and controlled airspace coverage parameters of each airport from basic data based on the index information; if not, entering a second cycle, judging through a KEY value representing the temporary take-off and landing point in JSON data, detecting whether the temporary take-off and landing point is used in the general aviation flight plan, extracting index information of the temporary take-off and landing point, and further obtaining detailed longitude and latitude and airspace coverage parameters of each temporary take-off and landing point from basic data based on the index information; then, detecting whether the navigation flight plan relates to a transition channel, and extracting core control parameters of each channel if the navigation flight plan relates to the transition channel; finally, expanding the flight plan parameters subjected to information extraction into a polygonal or circular airspace form, and then storing each airspace primitive into an airspace use scheme database in a list form, wherein the airspace use scheme represents the flight plan;
step 4, the flight plan association module takes out all data to be subjected to association detection in the period, firstly searches a target flight path consistent with the identification number in the flight plan airspace scheme, and filters out the rest target flight paths; expanding all polygonal airspace and circular airspace graphs, calculating the minimum external rectangle MBR, quickly detecting whether the current position of the target track is out of the range of the MBR or not through the MBR, and performing consistency detection alarm if the current position of the target track is out of the range of the MBR, or performing more precise detection judgment if the current position of the target track is in the range of the MBR; directly comparing the target track with a polygonal airspace and a circular airspace in a flight plan airspace scheme, detecting whether the current position of the target track is out of the range of any graph by a geometrical calculation method, carrying out consistency detection alarm if the current position of the target track is out of the range of any graph, and indicating that the flight plan is consistent with a monitored target if the current position of the target track is in the range of any graph;
and 5, the navigation monitoring management module reads various monitoring means target flight path and message data processed by the server based on geographic data and spatial information calculation and display capabilities provided by a GIS engine by applying computer graphics, UI interaction, computer vision and network communication technologies, displays the data to a user in a man-machine interaction interface mode after the data are combined, packaged and rendered, monitors interface operation and instruction operation of the user, and feeds back and distributes the data to the server in an event and network flow mode.
Furthermore, the protocol conversion module supports the access of radar, ADS-B and data link equipment;
the radar data includes: heartbeat messages, state messages, radar target scatter messages and radar target messages, wherein the radar target messages comprise: including longitude, latitude, pitch, azimuth and speed;
ADS-B data includes: the method comprises the following steps of heartbeat messages, status messages and ADS-B target messages, wherein the ADS-B target messages comprise: longitude, latitude, altitude, speed, call sign, S-mode address;
the data link device data includes: heartbeat messages, state messages and target messages, wherein the target messages comprise: longitude, latitude, altitude, speed, and identification number.
Compared with the prior art, the invention has the advantages that:
1. the horizontal and longitudinal expansion of the system can be realized, the correlation processing performance is improved, and the expansibility of the system is enhanced;
2. by utilizing the method of converting the template by the unified protocol, different monitoring source data can be automatically introduced according to actual requirements under the condition of less change;
3. the consistency of the internal transmission data of different monitoring data messages can be realized;
4. the automatic analysis of the navigation flight plan can be realized;
5. the navigation flight plan is integrated and spliced into an airspace use scheme, and further airspace use efficiency evaluation can be supported.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be further described in detail below with reference to the accompanying drawings by way of examples.
A general aviation flight planning and surveillance target association system, comprising:
the system comprises a protocol conversion module, a target data processing module, a flight plan association module and a navigation monitoring management module. The technical framework of streaming processing is adopted to complete the receiving, processing, associating, displaying and managing of navigation monitoring data and flight plans, and the processing architecture of the whole system is shown in fig. 1.
The protocol conversion module provides isolation between internal and external information of the device system, only data which accords with a unified protocol of the system can be analyzed, and the protocol conversion module receives target information and a flight plan sent from the outside of the system and converts the target information and the flight plan into a data format inside the device.
And the target data processing module receives the decoded monitoring data, analyzes, tracks, fuses and the like the monitoring data, and outputs a target track of the monitoring means.
And the flight plan processing module receives the decoded flight plan data, analyzes, extracts information, splices airspace and the like on the flight plan data, and outputs an airspace scheme corresponding to the general aviation flight plan.
The flight plan association module integrates a target track and a flight plan airspace scheme, and completes association of the target track and the flight plan airspace through a matching algorithm, so that association of the flight plan and a monitored target is realized.
The navigation monitoring management module reads comprehensive information such as various monitoring means target flight tracks, message data and the like processed by a server based on geographic data and spatial information calculation and display capabilities provided by a GIS engine, applies technologies in the fields of computer graphics, UI interaction, computer vision, network communication and the like, displays the comprehensive information to a user in a man-machine interaction interface mode after processing such as combination, packaging, rendering and the like, monitors interface operation and instruction operation of the user, and feeds back and distributes the comprehensive information to the server in an event mode, a network flow mode and the like.
Protocol conversion module
The protocol conversion module aims to process various monitoring data messages by using a uniform interface protocol and ensure the consistency of the storage and transmission of the monitoring data in the whole device. The protocol conversion module defined in the invention supports the access of radar, ADS-B and data link equipment and the access of flight plan, and the flow of the protocol conversion module is shown as 0.
The radar data includes: heartbeat messages, state messages, radar target scatter messages, radar target messages (mainly comprising longitude, latitude, pitching, azimuth, speed and the like).
ADS-B data includes: heartbeat messages, status messages, ADS-B target messages (mainly containing longitude, latitude, altitude, speed, call sign, S mode address, etc.).
The data link device data includes: heartbeat messages, status messages, target messages (mainly containing longitude, latitude, altitude, speed, identification number and the like).
Flight plan data includes: a take-off and landing airport, a standby airport, a temporary take-off and landing point, an aircraft identification number, a transition passage and the like.
The monitoring information after protocol conversion adopts a JSON format, the data of each target is in a row, the parameters are separated by commas, brackets are used for internal classes, the arrangement sequence of all the parameters is fixed, and the data is analyzed according to the parameter sequence during data processing to generate a corresponding target data object.
Target data processing module
And the target data processing module receives the decoded monitoring data such as the radar, the ADS-B and the data link, analyzes, tracks and fuses the monitoring data in a classified manner, and outputs target tracks of various monitoring means. And initializing to generate a corresponding data analysis and data processing object for each monitoring thread, simultaneously generating a common data recording function object for all the data processing objects, and starting each function thread. The monitoring receiving function module is composed of monitoring threads, and each thread monitors a network port independently. The monitoring adopts a blocking mode, after receiving the data, a data object to be processed is established, the data is stored, a receiving timestamp is set, then the data is sent into a real-time data processing queue or a playback data processing queue according to the receiving type, and the flow of the target data processing module is shown as 0.
And converting the received data from a binary system into a JSON character string, then generating a JSON processing object, judging the data type according to the equipment address and source address information in the data, converting the JSON object into a corresponding monitoring data object, and sending the monitoring data object into a data processing queue. The real-time data processing and the playback data processing are consistent and only different in the flag bit value. The data processing processes different monitoring data respectively according to the object type of the incoming data. Firstly, generating a target identification KEY according to a target distinguishing identification, a target type, a data source and the like in monitoring data, then detecting whether corresponding target monitoring data exists according to the KEY, updating the existing data, creating a monitoring data object of a corresponding type for the nonexistent data, and generating a corresponding recorded data object for the monitoring data for recording to a file.
Different monitoring data types have different data periods and are maintained by a unified track management function. The track management is mainly based on data cycle and track processing time stamp. And when the track is newly built or updated, the corresponding timestamp information is updated at the same time. And the track management periodically detects all track data time stamps, the updated track is kept unchanged in the period, the track which is not updated and is not deleted is kept so as to be convenient for continuing the track after the subsequent monitoring data is updated, and the track which is not updated and exceeds the deletion time is deleted.
Flight plan processing module
And the system device receives the decoded flight plan data, analyzes, extracts information, splices airspace and the like on the flight plan data, and outputs an airspace scheme corresponding to the general aviation flight plan. And initializing each analysis thread by adopting a blocking pulling mode, pulling a plan message from the original data cache pool of the flight plan, analyzing the message into a JSON data format according to a protocol format, and enabling the flow of a flight plan processing module to be as shown as 0.
Each flight plan processing module thread extracts a piece of flight plan data from the flight plan analysis cache pool, and the analyzed flight plan data is stored in a JSON format, so that the processing thread firstly detects whether a KEY representing an aircraft identification number exists or not, and if not, outputs an exception and terminates the processing of the current wheel; if yes, the processing thread judges the KEY value representing the take-off and landing airport in the JSON data in the first cycle, detects whether the general aviation flight plan contains the take-off and landing airport, extracts index information of the take-off and landing airport if yes, and further obtains detailed longitude and latitude and controlled airspace coverage parameters of each airport from basic data based on the index information; and if not, entering a second cycle, judging through a KEY value representing the temporary take-off and landing point in the JSON data, detecting whether the temporary take-off and landing point is used in the general aviation flight plan, extracting index information of the temporary take-off and landing point, and further obtaining detailed longitude and latitude and airspace coverage parameters of each temporary take-off and landing point from the basic data based on the index information. And then, detecting whether the navigation flight plan relates to a transition channel, and if so, extracting core control parameters of each channel.
And finally, the airspace splicing thread expands the flight plan parameters subjected to information extraction into airspace forms such as polygons and circles, and then stores all airspace primitives into an airspace use scheme database in a list form, and the airspace use scheme represents the flight plan.
Flight plan association module
The system device integrates a target track and a flight plan airspace scheme, and completes the association of the target track and the flight plan airspace through a matching algorithm, thereby realizing the association of the flight plan and the monitored target. And initializing each data reading thread, reading a flight plan airspace scheme from a database in a blocking pulling mode, reading a batch of monitored target tracks from the database, sending the data into a flight plan association module for caching, wherein the flow of the flight plan association module is shown as 0.
Each flight plan association module processing thread extracts all data to be subjected to association detection in the period from a cache pool, firstly, a target track consistent with an identification number in a flight plan airspace scheme is searched, and other target tracks are filtered; expanding all polygonal airspace and circular airspace graphs, calculating the minimum circumscribed rectangle (MBR) of the polygonal airspace and circular airspace graphs, quickly detecting whether the current position of the target track is out of the range of the MBR or not through the MBR, and performing consistency detection alarm if the current position of the target track is out of the range of the MBR, or performing more precise detection judgment if the current position of the target track is in the range of the MBR; and thirdly, directly comparing the target track with a polygonal airspace and a circular airspace in the flight plan airspace scheme, detecting whether the current position of the target track is out of the range of any graph or not by a method of calculating geometry, carrying out consistency detection alarm if the current position of the target track is out of the range of any graph, and indicating that the flight plan is consistent with the monitored target if the current position of the target track is in the range of any graph.
Navigation monitoring management module
The navigation monitoring management module reads comprehensive information such as various monitoring means target flight tracks, message data and the like processed by a server based on geographic data and spatial information calculation and display capabilities provided by a GIS engine, applies technologies in the fields of computer graphics, UI interaction, computer vision, network communication and the like, displays the comprehensive information to a user in a man-machine interaction interface mode after processing such as combination, packaging, rendering and the like, monitors interface operation and instruction operation of the user, and feeds back and distributes the comprehensive information to the server in an event mode, a network flow mode and the like.
The main functions of the navigation monitoring management module comprise situation comprehensive display, flight plan airspace use scheme display, layer display management, consistency detection alarm display, target position management and the like.
It will be appreciated by those of ordinary skill in the art that the examples described herein are intended to assist the reader in understanding the manner in which the invention is practiced, and it is to be understood that the scope of the invention is not limited to such specifically recited statements and examples. Those skilled in the art can make various other specific changes and combinations based on the teachings of the present invention without departing from the spirit of the invention, and these changes and combinations are within the scope of the invention.