Summary of the invention
The present invention is exactly in view of the deficienciess of the prior art, provide a kind of for the concussion of aircraft flight path data jump
Processing method, the Supplementing Data that can will be lacked in aircraft flight path, by data modification wrong in aircraft flight path
Update, for can not modified data directly delete, can be drawn out in the case where excalation data complete and relatively just
True flight path.
To solve the above problems, the technical solution used in the present invention is as follows:
A kind of processing method for the concussion of aircraft flight path data jump, including to highly being jumped in flight path data
The processing of point, and the following steps are included:
S1, input longitude and latitude containing aircraft, height, horizontal velocity, vertical speed, the discrete point set of temporal information;
S2, using previous available point compared with current point, calculate distance between two points with speed and time, the original with reading
Beginning data comparison, if having big difference, corrigendum or deletion;
S3, discrete point set of the output without height jump point.
It as an improvement of the above technical solution, further include the processing shaken longitude and latitude in flight path data, and including
Following steps:
S ' 1, the discrete point set for inputting the latitude and longitude information containing aircraft;
S ' 2, each of discrete point set point is handled: given sequentially adjacent three points: ..., Pi,Pi+1,
Pi+2,...;
If with intermediate point Pi+1For vertex, Pi+1Pi,Pi+1Pi+2For the angle too small on side, then P is exchangedi+1And Pi+2..., Pi,
Pi+2,Pi+1,...;A point and these three points before reexamining these three points exchange later the first two point, i.e. Pi-1,Pi,
Pi+2;Conversely, three dot sequencies are constant, latter two point and a next point, i.e. P of these three points are checkedi+1,Pi+2,Pi+3;
The discrete point set that S ' 3, output are shaken without longitude and latitude.
Compared with prior art, implementation result of the invention is as follows by the present invention:
A kind of processing method for the concussion of aircraft flight path data jump of the present invention, by reading in point
In the process, the current point is judged including longitude and latitude, height, the speed of both direction, time using the data of a upper available point
Whether whether effective and the point height needs to change;Invalid data is deleted, valid data are the number for needing more new high degree
The problem of according to being stored in after update, being able to solve height jump point.In addition, being utilized by searching two available points being stored in every time
It is compared with the longitude and latitude data of current point, judges whether the sequence of these three points needs to change, and updates all data
Sequentially, the problem of being able to solve longitude and latitude concussion.
Specific embodiment
Illustrate the contents of the present invention below in conjunction with specific embodiments.
A kind of processing method for the concussion of aircraft flight path data jump provided by the present embodiment, including to flight
The processing of height jump point and the processing that longitude and latitude in flight path data is shaken in track data.Wherein:
One, as follows to the processing method of height jump point in flight path data:
1, it inputs:
Discrete point
Wherein: (x, y): longitude and latitude, height: height (m), sv: horizontal velocity (km/h), hv: vertical speed (ft/
Min), time: time (s).
The longitude and latitude time certainly exists, and height velocity is not necessarily.
2, it exports:
New discrete point
So that each Pi *Data are as complete as possible, and without height jump point.
3, core algorithm:
Using previous available point compared with current point, distance between two points are calculated with speed and time, it is original with reading
Data comparison, if having big difference, corrigendum or deletion.
4, specific algorithm:
Read in a discrete point Pi(∈ Original_Cdata) is moved if longitude and latitude shortage of data or height are negative
It removes;Otherwise:
4.1, if first data, Cdata*.pushback(Pi)。
If not 4.2, first data, with previous discrete point exP (∈ Cdata*) it is compared:
If two o'clock time interval is more than δ t, Cdata*.pushback(Pi)。
Otherwise:
RealDistance: the distance that earth surface is parallel between two o'clock is calculated with three-dimensional coordinate;
φ=arcos [cos (90-y2)cos(90-y1)+sin(90-y2)sin(90-y1)cos(x1-x2)] (2)
Wherein R=6371004 meters are earth radius, P1(x1, y1, h1), P2(x2, y2, h2) is that given two o'clock three-dimensional is sat
Mark.
ComputedDistance: the distance between two o'clock is calculated with horizontal velocity and time;
RealHeight=Pi.height: initial data PiHeight;ComputedHeight: with erecting for previous data
The height that straight speed and time calculate.
ComputedHeight=exP.height+000508 × exP.hv × time_interval (4)
If: d < ds and h < dv, Cdata*.pushback(Pi)。
If: d<ds and h>=dv update the height of Cdata with speed and time calculated height computedHeight
Degree evidence, Cdata*.pushback(Pi)。
Otherwise it removes.
Here δ t=10, ds=0.25, dv=0.1 are taken.That is, interval did not compared more than 10 seconds and is directly stored in, distance is accidentally
Difference is respectively smaller than 25% and 10% with height error.
Two, as follows to the processing method of longitude and latitude concussion in flight path data:
1, it inputs:
Discrete point
Wherein, (x, y): longitude and latitude.
2, it exports:
Discrete pointδ i is to resequence to subscript i, so that this group of data
Cdata*It will not knock-on under the latitude and longitude coordinates.
3, core algorithm:
Given sequentially adjacent three points: ..., Pi,Pi+1,Pi+2,...;
If with intermediate point Pi+1For vertex, Pi+1Pi,Pi+1Pi+2For the angle too small on side, then P is exchangedi+1And Pi+2..., Pi,
Pi+2,Pi+1,...;A point and these three points before reexamining these three points exchange later the first two point, i.e. Pi-1,Pi,
Pi+2.Conversely, three dot sequencies are constant, latter two point and a next point, i.e. P of these three points are checkedi+1,Pi+2,Pi+3。
4, specific algorithm:
4.1, first classify to data, the identical point of longitude and latitude is put together in chronological order.
Qi={ Pi| all PiLongitude and latitude is identical }
4.2, in order to adjacent three set Qi,Qi+1,Qi+2It is analyzed, respectively takes a point, P from three setl∈
Qi, Pj∈Qi+1, Pk∈Qi+2:
(a) the distance between every two point d is calculatedlj=| Pj-Pl|,dlk=| Pk-Pl|,djk=| Pk-Pj| given two o'clock Pj
(xj,yj), Pk(xk,yk), distance djkCalculation formula:
φ=arccos [cos (90-yk)cos(90-yj)+sin(90-yk)sin(90-yj)cos(xj-xk)] (8)
Wherein R=6371004 meters are earth radius.
(b) P is calculatedjPlWith PjPkAngle
IfIt is too small, Qi+1With Qi+2Position is exchanged, to Qi-1,Qi,Qi+2It is analyzed, goes to (a) (b);
If Qi+1With Qi+2Exchange position is not needed, to Qi+1,Qi+2,Qi+3It is analyzed, goes to (a) (b).
4.3, it exports.
5, points for attention:
If saving the classification of step 4.1, it is possible to result inaccuracy.Here we lift a counter-example to illustrate:
...,Pi(x1,y1,hi),Pi+1(x1,y1,hi+1),Pi+2(x1,y1,hi+2),Pi+3(x3,y3,hi+3),Pi+4(x3,y3,
hi+4),Pi+5(x3,y3,hi+5),Pi+6(x6,y6,hi+6),Pi+7(x6,y6,hi+7),...
Be easy to obtain: Pi to Pi+7 every three continuous points all meet angle conditions, do not have to exchange sequence;
However it can be seen that by figure Fig. 1, (xi,yi),(xi+3,yi+3),(xi+6,yi+6) in (xi+3,yi+3) at angle compare
It is small, so (xi+3,yi+3) and (xi+6,yi+6) two points need exchange sequence.
Three, specific processing example:
30 points are given, if only being denoised to height, 2 points (height of the two points is negative) is deleted, has updated 2 points
Height.
Fig. 2 and Fig. 3 is the time of remaining 28 point and height map after deleting the point that two height are negative.
In Fig. 2: broken line above is 28 points before updating, after broken line below is update.
In Fig. 3: the amplification of 24 points of right end of Fig. 2.Blue is 24 points before updating, after red is updates.It gives
Fixed 30 points denoise total data and are updated to height with the above-mentioned processing method to height jump point in flight path data
Afterwards, remaining 23 available points.
About longitude and latitude, with the above-mentioned processing method shaken longitude and latitude in flight path data, to the suitable of this 23 points
Sequence updates, and sees Fig. 4 and Fig. 5.
In Fig. 4: broken line above is the track before updating, after broken line below is update.
In Fig. 5: being amplified to the right end of Fig. 4.Before broken line above is update, broken line below is after updating.
During reading point, by mistake and the data that can not correct directly are deleted, by mistake but the data that can correct
It is stored in after update, solves the problems, such as height jump point.It calls the first two point to make comparisons with current point every time, solves longitude and latitude concussion
Problem.
The method be in the case where known all the points it is applicable, read in point during search two be stored in data
In the case where also can be used.But it is not allowed to due to searching two points during reading point, current focus is each
It attempts to solve the problems, such as the longitude and latitude to knock-on in the case of only calling one has been stored in a little.
The foregoing is a detailed description of the present invention in conjunction with specific embodiments, and it cannot be said that the present invention is specifically real
It applies and is only limitted to these explanations.For those skilled in the art to which the present invention belongs, before not departing from present inventive concept
It puts, a number of simple deductions or replacements can also be made, all shall be regarded as belonging to the scope of protection of the invention.