GPS deviation correction method and device based on aviation data standard
Through the GPS deviation correction method based on aviation data standards, the weighted average and offset point detection technology is used to solve the problem of data deviating from orbit during aircraft takeoff and landing stages, efficient and accurate GPS data deviation correction is achieved, and processing speed and versatility are improved.
Patent Information
- Application Number
- CN202211498858.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-28
- Publication Date
- 2025-04-22
- Estimated Expiration
- 2042-11-28
AI Technical Summary
The existing GPS data deviation correction methods are prone to data deviation from orbit during aircraft takeoff and landing stages, and due to the encryption of the geographical coordinate system, the domestic flight orbit is offset, and the correction correction processing speed is slow and inaccurate.
The GPS deviation correction method based on aviation data standards is adopted. By obtaining the GPS data on both sides of the aircraft and storing it in HDF5 files, GPS data points are parsed and extracted, weighted average processing and offset point detection are performed, abnormal points are filtered, and geographic coordinate system conversion and deviation correction are performed through pseudo-code.
It improves the efficiency and accuracy of GPS data deviation correction, reduces the number of data offset points, improves the smoothing efficiency of the trajectory, increases the processing speed by more than 40 times, and achieves cross-platform universality.
Smart Images

Figure CN115791746B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of aviation GPS deviation correction, and in particular to a GPS deviation correction method and device based on aviation data standards. Background Art
[0002] The Global Positioning System (English: Global Positioning System, usually referred to as GPS), is also known as the Global Satellite Positioning System.
[0003] The Earth Coordinate Reference System is a coordinate reference system that describes the position of an object on the Earth and in near-Earth space. There are currently three commonly used coordinate systems in domestic aviation, namely: WGS84 coordinate system, GCJ02 coordinate system and BD09 coordinate system. Among them, the WGS84 coordinate system is the Earth coordinate system (World Geodetic System), an internationally common coordinate system. The longitude and latitude obtained by the equipment containing GPS chips or Beidou chips are generally WGS84 geographic coordinate systems. The BD09 coordinate system is the Baidu coordinate system, which is a coordinate system encrypted from the GCJ02 coordinate system. The aircraft uses standard GPS to record data, and data drift may occur during the recording process, resulting in data points that are significantly offset from the orbit. Due to relevant regulations, domestic maps use the GCJ02 coordinate system or the GCJ02 encrypted coordinate system, and GPS data needs to be corrected to ensure that the flight trajectory is on the corresponding orbit.
[0004] At present, the general GPS data correction method is that during the flight of the aircraft, both sides will independently record the GPS to the relevant equipment. After the flight, the maintenance center will save the GPS data in the equipment into the HDF5 file, and parse the GPS information on the HDF5 through the corresponding program to display it on the map. There are two problems in the display process: First, during the takeoff and landing of the aircraft, due to various reasons, the recorded data points are particularly easy to deviate from the track, resulting in anomalies. Second, due to the encryption of the geographic coordinate system, the domestic flight track is offset. The current flight trajectory display relies on the GIS platform, which requires the GPS data to be pre-generated into a specified format file, and the correction is processed by the general function of the platform, which has poor independence. Due to the pursuit of universality by each platform, the correction processing speed is slow and inaccurate. Summary of the invention
[0005] Based on this, it is necessary to provide a GPS correction method and device based on aviation data standards, which can implement the correction principle through public algorithms, improve the efficiency and accuracy of correction, and ensure universality independently of the platform.
[0006] In a first aspect, the present application provides a GPS deviation correction method based on aviation data standards, the method comprising:
[0007] Acquire flight data to be corrected, where the flight data includes GPS data on both sides of the aircraft and is stored in a general aviation basic file HDF5;
[0008] Parsing the general aviation basic file HDF5 and extracting GPS data points on both sides of the aircraft to obtain GPS data;
[0009] Performing weighted averaging processing on the GPS data to implement a GPS data offset point detection algorithm, and filtering abnormal points according to the result of the GPS data offset point detection algorithm;
[0010] The filtered GPS data is converted into a geographic coordinate system through pseudo code, the filtered GPS data is converted into a programming language, and the data is corrected to obtain corrected GPS data.
[0011] In one embodiment, the obtaining of flight data to be corrected includes:
[0012] Independently record GPS data on both sides of the aircraft during flight.
[0013] In one embodiment, the weighted averaging of the GPS data includes:
[0014] When the aircraft turns, the weight of the GPS data inside the aircraft is reduced, the weight of the GPS data outside the aircraft is increased, and the average is calculated to reduce the number of GPS data offset points.
[0015] In one embodiment, it also includes:
[0016] The angle between adjacent offset points of the GPS data point is calculated through the vector. If the angle is less than 90°, the adjacent offset points of the GPS data point are discarded, and the data is repaired through the supplementary function.
[0017] In one embodiment, the step of converting the filtered GPS data into a geographic coordinate system by using pseudo code includes:
[0018] The inverse function of the geographic coordinate system is obtained by an approximation method, and the inverse function is used to cooperate with the pseudo code to obtain the corrected GPS data, wherein the geographic coordinate system uses the GCJ02 coordinate system, and the GCJ02 coordinate system is encrypted according to WGS84.
[0019] In one embodiment, the step of converting the filtered GPS data into a geographic coordinate system by pseudo code comprises:
[0020] The corrected GPS data is output to a specified file, and the GPS data in the specified file is used to display to the user.
[0021] In a second aspect, the present application provides a GPS deviation correction device based on aviation data standards, the device comprising:
[0022] A first acquisition module is used to acquire flight data to be corrected, wherein the flight data includes GPS data on both sides of the aircraft and is stored in a general aviation basic file HDF5;
[0023] A first extraction module is used to parse the general aviation basic file HDF5 and extract GPS data points on both sides of the aircraft to obtain GPS data;
[0024] A first processing module, configured to perform weighted average processing on the GPS data to implement a GPS data offset point detection algorithm, and filter abnormal points according to the result of the GPS data offset point detection algorithm;
[0025] The first correction module is used to perform geographic coordinate system conversion on the filtered GPS data through pseudo code, convert the filtered GPS data into a programming language, and correct the deviation of the data to obtain the corrected GPS data.
[0026] In one embodiment, the device further comprises:
[0027] The first recording module is used to independently record GPS data on both sides of the aircraft during its flight;
[0028] The second processing module is used to obtain the angle between adjacent offset points of the GPS data point through the vector, and if the angle is less than 90°, the adjacent offset points of the GPS data point are discarded, and the data are repaired through the supplementary function;
[0029] The first output module is used to output the corrected GPS data to a designated file, and the GPS data in the designated file is used to display to the user.
[0030] In a third aspect, the present application provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0031] Acquire flight data to be corrected, where the flight data includes GPS data on both sides of the aircraft and is stored in a general aviation basic file HDF5;
[0032] Parsing the general aviation basic file HDF5 and extracting GPS data points on both sides of the aircraft to obtain GPS data;
[0033] Performing weighted averaging processing on the GPS data to implement a GPS data offset point detection algorithm, and filtering abnormal points according to the result of the GPS data offset point detection algorithm;
[0034] The filtered GPS data is converted into a geographic coordinate system through pseudo code, the filtered GPS data is converted into a programming language, and the data is corrected to obtain corrected GPS data.
[0035] In a fourth aspect, the present application provides a computer storage medium storing a computer program, wherein when the computer program is executed by a processor, the following steps are implemented:
[0036] Acquire flight data to be corrected, where the flight data includes GPS data on both sides of the aircraft and is stored in a general aviation basic file HDF5;
[0037] Parsing the general aviation basic file HDF5 and extracting GPS data points on both sides of the aircraft to obtain GPS data;
[0038] Performing weighted averaging processing on the GPS data to implement a GPS data offset point detection algorithm, and filtering abnormal points according to the result of the GPS data offset point detection algorithm;
[0039] The filtered GPS data is converted into a geographic coordinate system through pseudo code, the filtered GPS data is converted into a programming language, and the data is corrected to obtain corrected GPS data.
[0040] The GPS correction method and device based on aviation data standard, during the flight of the aircraft, both sides of the aircraft will record GPS data, the service terminal obtains the flight data to be corrected, and stores the obtained flight data in the general aviation basic file HDF5, and parses the general aviation basic file HDF5 and extracts the GPS data points on both sides of the aircraft to obtain GPS data. Since the general aviation basic file HDF5 is applicable to all domestic and foreign airlines, it can be directly parsed without file format conversion. Then the extracted GPS data is weighted averaged to realize the GPS data offset point detection algorithm, and the abnormal points are filtered according to the results of the GPS data offset point detection algorithm. During the take-off and landing stages of the aircraft, the number of offset points is more dense, which is closely related to the aircraft steering jitter. When the aircraft turns, by reducing the weight of the inner GPS data and increasing the weight of the outer GPS data and then obtaining the average, the number of data offset points can be effectively reduced, and the accuracy of subsequent correction can be improved. Finally, the filtered GPS data is converted into a geographic coordinate system through pseudo code, the filtered GPS data is converted into a programming language, and the correction is performed to obtain the corrected GPS data. In addition, this method filters out abnormal points through targeted weighted average and offset point detection methods, greatly improving the smoothing efficiency of the trajectory. According to calculations, a trajectory of 8,000 GPS data points only takes 20 seconds to process through the weighted average algorithm, while the general smooth function takes more than 15 minutes to process, which is more than 40 times more efficient. Furthermore, this method realizes the conversion of geographic coordinate system through public pseudocode. It is code-free and has no relation to platform and language. Anyone can implement it in a way that they are familiar with, which has good versatility. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1 This is a flow chart of a GPS deviation correction method based on aviation data standards in one embodiment of the present application;
[0042] Figure 2 This is a flow chart of a GPS deviation correction method based on aviation data standards in one embodiment of the present application;
[0043] Figure 3 The calculation pseudo code (a) and the core pseudo code (b) of the pseudo code in the GPS deviation correction solution based on the aviation data standard in one embodiment of the present application;
[0044] Figure 4 This is a flowchart of the GPS deviation correction solution based on the aviation data standard of this embodiment;
[0045] Figure 5 This is a schematic diagram of the structure of a GPS deviation correction device based on aviation data standards in one embodiment of the present application;
[0046] Figure 6 This is a schematic diagram of the structure of a GPS deviation correction device based on aviation data standards in one embodiment of the present application;
[0047] Figure 7 This is a diagram of the internal structure of a computer device according to one embodiment of the present application. DETAILED DESCRIPTION
[0048] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0049] like Figure 1 As shown, in one embodiment, a GPS deviation correction method based on aviation data standards includes the following steps:
[0050] Step S110, obtaining the flight data to be corrected, the flight data including the GPS data on both sides of the aircraft and stored in the general aviation basic file HDF5.
[0051] Specifically, the server terminal obtains the flight data to be corrected according to the GPS data recorded on both sides of the aircraft during the flight, and stores the obtained flight data in the general aviation basic file HDF5.
[0052] Step S120, parsing the general aviation basic file HDF5 and extracting GPS data points on both sides of the aircraft to obtain GPS data.
[0053] Specifically, the server terminal parses the general aviation basic file HDF5 storing the flight data, extracts the GPS data points on both sides of the aircraft during its flight, and obtains the GPS data.
[0054] Step S130, performing weighted averaging processing on the GPS data to implement a GPS data offset point detection algorithm, and filtering abnormal points according to the result of the GPS data offset point detection algorithm.
[0055] Specifically, based on the GPS data acquired in step S120, the server terminal processes the GPS data using a weighted average algorithm to implement a GPS data offset point detection algorithm, and filters out GPS data abnormal points according to the detection results.
[0056] Step S140, converting the filtered GPS data into a geographic coordinate system through pseudo code, converting the filtered GPS data into a programming language, and correcting the GPS data to obtain corrected GPS data.
[0057] Specifically, the server terminal converts the filtered GPS data into a geographic coordinate system through pseudocode, converts the filtered GPS data into a programming language, and corrects the GPS data through the programming language to obtain the corrected GPS data.
[0058] In the GPS correction method based on aviation data standard, during the flight of the aircraft, GPS data will be recorded on both sides of the aircraft. The service terminal obtains the flight data to be corrected, and stores the obtained flight data in the general aviation basic file HDF5. The general aviation basic file HDF5 is parsed and the GPS data points on both sides of the aircraft are extracted to obtain GPS data. Since the general aviation basic file HDF5 is applicable to all domestic and foreign airlines, it can be directly parsed without file format conversion. Then, the extracted GPS data is weighted averaged to realize the GPS data offset point detection algorithm, and the abnormal points are filtered according to the results of the GPS data offset point detection algorithm. During the take-off and landing stages of the aircraft, the number of offset points is more dense, which is closely related to the aircraft steering jitter. When the aircraft turns, the weight of the inner GPS data is reduced and the weight of the outer GPS data is increased, and then the average is obtained, which can effectively reduce the number of data offset points and improve the accuracy of subsequent correction. Finally, the filtered GPS data is converted into a geographic coordinate system through pseudo code, the filtered GPS data is converted into a programming language, and the correction is performed to obtain the corrected GPS data. In addition, this method filters out abnormal points through targeted weighted average and offset point detection methods, greatly improving the smoothing efficiency of the trajectory. According to calculations, a trajectory of 8,000 GPS data points only takes 20 seconds to process through the weighted average algorithm, while the general smooth function takes more than 15 minutes to process, which is more than 40 times more efficient. Furthermore, this method realizes the conversion of geographic coordinate system through public pseudocode. It is code-free and has no relation to platform and language. Anyone can implement it in a way that they are familiar with, which has good versatility.
[0059] like Figure 2 As shown, in one embodiment, a GPS deviation correction method based on aviation data standards includes the following steps:
[0060] Step S210, independently record the GPS data of both sides of the aircraft during its flight.
[0061] Specifically, during the flight of the aircraft, both sides of the aircraft will independently record GPS data to the server terminal.
[0062] Step S220, obtaining the flight data to be corrected, the flight data including the GPS data on both sides of the aircraft and stored in the general aviation basic file HDF5.
[0063] Specifically, the server terminal obtains the flight data to be corrected according to the GPS data recorded on both sides of the aircraft during its flight in step S210, and stores the obtained flight data in the general aviation basic file HDF5.
[0064] Step S230, parsing the general aviation basic file HDF5 and extracting GPS data points on both sides of the aircraft to obtain GPS data.
[0065] Specifically, the server terminal parses the general aviation basic file HDF5 storing the flight data and extracts the GPS data points on both sides of the aircraft during its flight to obtain the GPS data.
[0066] Step S240, performing weighted averaging processing on the GPS data to implement a GPS data offset point detection algorithm, and filtering abnormal points according to the result of the GPS data offset point detection algorithm.
[0067] Specifically, based on the GPS data obtained in step S230, the server terminal processes the GPS data using a weighted averaging algorithm to implement a GPS data offset point detection algorithm. When the aircraft turns, the weight of the GPS data on the inside of the aircraft is reduced, and the weight of the GPS data on the outside of the aircraft is increased. The average is then obtained, and abnormal points are filtered out according to the offset point detection algorithm to reduce the number of GPS data offset points.
[0068] Step S250, obtaining the angle between adjacent offset points of the GPS data point through the vector, if the angle is less than 90 degrees, discarding the adjacent offset points of the GPS data point, and repairing the data through the supplementary function.
[0069] Specifically, based on the weighted average algorithm processing in step S240, the server terminal obtains the angle between adjacent offset points through the vector. If the obtained angle is less than 90°, the adjacent offset points are discarded, and the missing data after discarding the offset points is repaired through the supplementary function.
[0070] Step S260, converting the filtered GPS data into a geographic coordinate system through pseudo code, converting the filtered GPS data into a programming language, and correcting the GPS data to obtain corrected GPS data.
[0071] Specifically, the server terminal converts the filtered GPS data into a geographic coordinate system through pseudocode, converts the filtered GPS data into a programming language, and corrects the GPS data through the programming language. At the same time, the inverse function of the geographic coordinate system is obtained through the approximation method, and the corrected GPS data is obtained in conjunction with the pseudocode.
[0072] Step S270, outputting the corrected GPS data to a designated file, where the GPS data in the designated file is used to display to the user.
[0073] Specifically, after the GPS data is corrected, the server terminal outputs the corrected GPS data to a designated file, and the GPS data in the designated file can be displayed to the user through a map or the like.
[0074] In the GPS correction method based on aviation data standards, during the flight of the aircraft, GPS data will be recorded on both sides of the aircraft. The service terminal obtains the flight data to be corrected, and stores the obtained flight data in the general aviation basic file HDF5. The general aviation basic file HDF5 is parsed and the GPS data points on both sides of the aircraft are extracted to obtain GPS data. Since the general aviation basic file HDF5 is applicable to all domestic and foreign airlines, it can be directly parsed without file format conversion. Subsequently, the extracted GPS data is weighted averaged to realize the GPS data offset point detection algorithm, and the angle between adjacent offset points is obtained through vectors. If the obtained angle is less than 90°, the adjacent offset points are discarded, and the missing data after discarding the offset points is repaired through the supplementary function. During the takeoff and landing phases of the aircraft, the number of offset points is more dense, which is closely related to the aircraft steering jitter. When the aircraft turns, the number of data offset points can be effectively reduced by reducing the weight of the inner GPS data and increasing the weight of the outer GPS data and then obtaining the average. After weighted averaging, there are some data offset points mainly in the takeoff phase. These offset points generally form an angle less than 90° between the front and rear points. Filtering out these offset points less than 90° will further reduce the number of offset points and improve the accuracy of subsequent correction. Finally, the filtered GPS data is converted into a geographic coordinate system through pseudo code, the filtered GPS data is converted into a programming language, and the correction is performed to obtain the corrected GPS data. Finally, the corrected GPS data is output to the specified file for display to the user. In addition, this method filters out abnormal points through targeted weighted averaging and offset point detection methods, which greatly improves the smoothing efficiency of the trajectory. According to calculations, a trajectory of 8,000 GPS data points only takes 20 seconds to process through the weighted average algorithm, while the general smooth function takes more than 15 minutes to process, and the efficiency is relatively improved by more than 40 times. Furthermore, the method realizes the conversion of geographic coordinate system by means of public pseudocode. It is code-free and has nothing to do with platform and language. Anyone can implement it in a way that they are familiar with, and it has good versatility.
[0075] like Figure 3 and Figure 4 As shown, in one embodiment, a GPS correction solution based on aviation data standards, during the flight of the aircraft, both sides of the aircraft will independently record GPS data to related equipment, and the data offset points recorded on a single side are relatively large. During the take-off and landing phases, the number of offset points is even denser, which is closely related to the steering jitter of the aircraft.
[0076] At present, the GPS deviation correction of aviation flight tracks is based on the GIS platform. GIS-related platforms need to use files in specific formats. After the flight, the maintenance center will save the GPS data in the device to the general aviation basic file HDF5. The general aviation basic file HDF5 is applicable to all domestic and foreign airlines and does not require file format conversion. The server terminal parses the general aviation basic file HDF5 and extracts the GPS data from it, and then processes the extracted GPS data with a weighted average algorithm. When the aircraft turns, the weight of the inner GPS data is reduced and the weight of the outer GPS data is increased to obtain the average, which can effectively reduce the number of data offset points.
[0077] During the weighted average processing, there are some data offset points, mainly in the takeoff phase. These offset points generally form an angle less than 90° with the two points before and after. The angle is obtained by vector, and the offset point data is discarded. Then the supplementary function is used to repair the missing data after the discarding. After the weighted average processing, the GPS data points are converted to the geographic coordinate system through pseudo code. The GCJ02 coordinate system is encrypted according to the WGS84 coordinate system and is not public. At this time, the inverse function is obtained by approximation. The obtained function has a certain error, but this error has no significant impact on the display of GPS data. The pseudo code can convert the filtered GPS data into a programming language, and correct it through the programming language to obtain the corrected GPS data. Finally, the corrected GPS data is output to the specified file. The user can view the corrected GPS data through the specified file, and display the corrected GPS information on the map through the corresponding program.
[0078] The above GPS correction scheme based on aviation data standards requires specific formats for current GIS-related platforms, such as KML format files or gis format files. Compared with the existing technology, this scheme adopts HDF5 parsing based on the universal aviation standard file, which is applicable to all domestic and foreign airlines without the need for file format conversion. For the sake of versatility, the current GIS platform uses a built-in smooth function for the offset points in the flight trajectory. The smooth function is implemented based on the Bezier curve. The built-in function is not public and slow. This algorithm specifically uses weighted average and offset point detection methods to filter out abnormal points, which greatly improves the smoothing efficiency of the trajectory. According to calculations, it takes more than 15 minutes for the smooth function to process a trajectory with 8,000 GPS data points, while this technology only takes 20 seconds, and the efficiency is relatively improved by more than 40 times. In addition, the current GIS platform uses a built-in algorithm for geographic coordinate system algorithms. This technology realizes the conversion of geographic coordinate systems by public pseudocode. There is no code, no platform or language. Anyone can implement it in a way that they are familiar with, and it has high versatility.
[0079] like Figure 5 As shown, in one embodiment, a GPS deviation correction device based on aviation data standards includes a first acquisition module 510 , a first extraction module 520 , a first processing module 530 and a first deviation correction module 540 .
[0080] The first acquisition module 510 is used to acquire flight data to be corrected, where the flight data includes GPS data on both sides of the aircraft and is stored in a general aviation basic file HDF5.
[0081] The first extraction module 520 is used to parse the general aviation basic file HDF5 and extract the GPS data points on both sides of the aircraft to obtain GPS data.
[0082] The first processing module 530 is used to perform weighted average processing on the GPS data to implement the GPS data offset point detection algorithm, and filter abnormal points according to the results of the GPS data offset point detection algorithm.
[0083] The first correction module 540 is used to perform geographic coordinate system conversion on the filtered GPS data through pseudo code, convert the filtered GPS data into a programming language, and correct the deviation of the data to obtain the corrected GPS data.
[0084] The above-mentioned GPS correction device based on aviation data standard records GPS data on both sides of the aircraft during the flight process. The first acquisition module obtains the flight data to be corrected, and stores the obtained flight data containing GPS data on both sides of the aircraft in the general aviation basic file HDF5. The first extraction module parses the general aviation basic file HDF5 and extracts the GPS data points on both sides of the aircraft to obtain GPS data. Since the general aviation basic file HDF5 is applicable to all domestic and foreign airlines, it can be directly parsed without file format conversion. Subsequently, the extracted GPS data is weighted averaged by the first processing module to implement the GPS data offset point detection algorithm, and the abnormal points are filtered according to the results of the GPS data offset point detection algorithm. During the take-off and landing stages of the aircraft, the number of offset points is more dense, which is closely related to the aircraft steering jitter. When the aircraft turns, the weight of the inner GPS data is reduced and the weight of the outer GPS data is increased, and then the average is obtained, which can effectively reduce the number of data offset points and improve the accuracy of subsequent correction. Finally, the first correction module converts the filtered GPS data into a geographic coordinate system through pseudocode, converts the filtered GPS data into a programming language, and corrects it to obtain the corrected GPS data. In addition, the device filters out abnormal points through targeted weighted average and offset point detection methods, greatly improving the smoothing efficiency of the trajectory. It has been calculated that a trajectory of 8,000 GPS data points only takes 20 seconds to process through a weighted average algorithm, while a general smooth function takes more than 15 minutes to process, and the efficiency is relatively improved by more than 40 times. Furthermore, the device realizes the conversion of the geographic coordinate system through public pseudocode. It has no code and is independent of platform and language. Anyone can implement it in a way that they are familiar with, and it has good versatility.
[0085] like Figure 6 As shown, in one embodiment, a GPS correction device based on aviation data standards includes a first recording module 610, a first acquisition module 620, a first extraction module 630, a first processing module 640, a second processing module 650, a first correction module 660 and a first output module 670.
[0086] The first recording module 610 is used to independently record GPS data on both sides of the aircraft during its flight.
[0087] The first acquisition module 620 is used to acquire flight data to be corrected. The flight data includes GPS data on both sides of the aircraft and is stored in a general aviation basic file HDF5.
[0088] The first extraction module 630 is used to parse the general aviation basic file HDF5 and extract the GPS data points on both sides of the aircraft to obtain GPS data.
[0089] The first processing module 640 is used to perform weighted averaging processing on the GPS data to implement a GPS data offset point detection algorithm. When the aircraft turns, the weight of the GPS data on the inside of the aircraft is reduced, and the weight of the GPS data on the outside of the aircraft is increased to obtain the average. Abnormal points are filtered out based on the results of the GPS data offset point detection algorithm to reduce the number of GPS data offset points.
[0090] The second processing module 650 is used to obtain the angle between adjacent offset points of the GPS data point through the vector. If the angle is less than 90°, the adjacent offset points of the GPS data point are discarded and the data is repaired through the supplementary function.
[0091] The first correction module 660 is used to convert the filtered GPS data into a geographic coordinate system through pseudocode, convert the filtered GPS data into a programming language, and obtain the inverse function of the geographic coordinate system through an approximation method. The inverse function is used to cooperate with the pseudocode to obtain the corrected GPS data, wherein the geographic coordinate system uses the GCJ02 coordinate system, which is encrypted according to WGS84 and is not disclosed.
[0092] The first output module 670 is used to output the corrected GPS data to a designated file, and the GPS data in the designated file is used to display to the user.
[0093] In the GPS correction device based on aviation data standards, during the flight of the aircraft, the first recording module will record the GPS data on both sides of the aircraft, the first acquisition module will acquire the flight data to be corrected, and the acquired flight data containing the GPS data on both sides of the aircraft will be stored in the general aviation basic file HDF5, and the general aviation basic file HDF5 will be parsed by the first extraction module to extract the GPS data points on both sides of the aircraft to obtain GPS data. Since the general aviation basic file HDF5 is applicable to all domestic and foreign airlines, it can be directly parsed without file format conversion. Then, the extracted GPS data is weighted averaged by the first processing module to realize the GPS data offset point detection algorithm, and then the second processing module obtains the angle between adjacent offset points through vectors. If the obtained angle is less than 90°, the adjacent offset points are discarded, and the missing data after discarding the offset points is repaired by the supplementary function. During the takeoff and landing phases of the aircraft, the number of offset points is more dense, which is closely related to the aircraft's steering jitter. When the aircraft turns, by reducing the weight of the inner GPS data and increasing the weight of the outer GPS data and then calculating the average, the number of data offset points can be effectively reduced. After weighted averaging, there are some data offset points mainly in the takeoff phase. These offset points generally form an angle of less than 90° with the two points before and after. Filtering out these offset points less than 90° will further reduce the number of offset points and improve the accuracy of subsequent correction. Finally, the first correction module converts the filtered GPS data into a geographic coordinate system through pseudocode, converts the filtered GPS data into a programming language, and corrects it to obtain the corrected GPS data. Finally, the corrected GPS data is output to the specified file through the first output module for display to the user. In addition, this method filters out abnormal points through targeted weighted average and offset point detection methods, greatly improving the smoothing efficiency of the trajectory. According to calculations, a trajectory of 8,000 GPS data points only takes 20 seconds to process through the weighted average algorithm, while the general smooth function takes more than 15 minutes to process, which is more than 40 times more efficient. Furthermore, this method realizes the conversion of geographic coordinate system through public pseudocode. It is code-free and has no relation to platform and language. Anyone can implement it in a way that they are familiar with, which has good versatility.
[0094] In one embodiment, a computer device is provided. The computer device may be a smart terminal, and its internal structure diagram may be as follows: Figure 7As shown. The computer device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a GPS correction method based on an aviation data standard is implemented.
[0095] Those skilled in the art will understand that Figure 7 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.
[0096] In one embodiment, an electronic device includes a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps in the above method embodiments when executing the computer program.
[0097] In one embodiment, a computer storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the above method embodiments are implemented.
[0098] In one embodiment, a computer program product or computer program is provided, the computer program product or computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the steps in the above-mentioned method embodiments.
[0099] 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 computer program can be stored in a non-volatile computer-readable storage medium. When the computer 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 can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can 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).
[0100] 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.
[0101] The above-mentioned embodiments only express several implementation methods of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of the patent of the present invention. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.
Claims
1. A GPS deviation correction method based on aviation data standards, characterized in that: The method comprises: Acquire flight data to be corrected, where the flight data includes GPS data on both sides of the aircraft and is stored in a general aviation basic file HDF5; Parsing the general aviation basic file HDF5 and extracting GPS data points on both sides of the aircraft to obtain GPS data; The GPS data is subjected to weighted averaging processing to implement a GPS data offset point detection algorithm, and abnormal points are filtered out according to the result of the GPS data offset point detection algorithm, wherein when the aircraft turns, the weight of the GPS data inside the aircraft is reduced, and the weight of the GPS data outside the aircraft is increased, and the average is calculated to reduce the number of GPS data offset points, and the angle between adjacent offset points of the GPS data point is calculated through a vector, and if the angle is less than 90°, the adjacent offset points of the GPS data point are discarded, and the data is repaired through a supplementary function; The filtered GPS data is converted into a geographic coordinate system through pseudocode, the filtered GPS data is converted into a programming language, and is corrected to obtain the corrected GPS data, wherein the inverse function of the geographic coordinate system is obtained through an approximation method, and the inverse function is used to cooperate with the pseudocode to obtain the corrected GPS data, wherein the geographic coordinate system uses the GCJ02 coordinate system, and the GCJ02 coordinate system is encrypted according to WGS84.
2. The GPS deviation correction method based on aviation data standard according to claim 1, characterized in that: The obtaining of the flight data to be corrected previously includes: Independently record GPS data on both sides of the aircraft during flight.
3. The GPS deviation correction method based on aviation data standard according to claim 1, characterized in that: The pseudo code is used to convert the filtered GPS data into a geographic coordinate system, and then includes: The corrected GPS data is output to a specified file, and the GPS data in the specified file is used to display to the user.
4. A GPS deviation correction device based on aviation data standards, characterized in that: The device comprises: A first acquisition module is used to acquire flight data to be corrected, wherein the flight data includes GPS data on both sides of the aircraft and is stored in a general aviation basic file HDF5; A first extraction module is used to parse the general aviation basic file HDF5 and extract GPS data points on both sides of the aircraft to obtain GPS data; The first processing module is used to perform weighted average processing on the GPS data to implement a GPS data offset point detection algorithm, and filter abnormal points according to the result of the GPS data offset point detection algorithm, wherein when the aircraft turns, the weight of the GPS data inside the aircraft is reduced, the weight of the GPS data outside the aircraft is increased, and the average is calculated to reduce the number of GPS data offset points, and the angle between adjacent offset points of the GPS data point is calculated through a vector. If the angle is less than 90°, the adjacent offset points of the GPS data point are discarded, and the data is repaired through a supplementary function; The first correction module is used to convert the filtered GPS data into a geographic coordinate system through pseudocode, convert the filtered GPS data into a programming language, and correct the data to obtain the corrected GPS data, wherein the inverse function of the geographic coordinate system is obtained by an approximation method, and the inverse function is used to cooperate with the pseudocode to obtain the corrected GPS data, wherein the geographic coordinate system uses a GCJ02 coordinate system, and the GCJ02 coordinate system is encrypted according to WGS84.
5. The GPS deviation correction device based on aviation data standard according to claim 4, characterized in that: The device also includes: The first recording module is used to independently record GPS data on both sides of the aircraft during its flight; The second processing module is used to obtain the angle between adjacent offset points of the GPS data point through the vector, and if the angle is less than 90°, the adjacent offset points of the GPS data point are discarded, and the data are repaired through the supplementary function; The first output module is used to output the corrected GPS data to a designated file, and the GPS data in the designated file is used to display to the user.
6. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 3 are implemented.
7. A computer storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 3 are implemented.
Citation Information
Patent Citations
OTT data position-based intelligent correction method and device
CN111221014A
IMU / GPS (inertial measurement unit / global positioning system) integrated navigation method capable of sensitively detecting faults
CN113432604A