CN109683180A - GPS movement track optimization method and system - Google Patents
GPS movement track optimization method and system Download PDFInfo
- Publication number
- CN109683180A CN109683180A CN201910147593.7A CN201910147593A CN109683180A CN 109683180 A CN109683180 A CN 109683180A CN 201910147593 A CN201910147593 A CN 201910147593A CN 109683180 A CN109683180 A CN 109683180A
- Authority
- CN
- China
- Prior art keywords
- anchor point
- satellite
- signal
- target
- module
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 230000033001 locomotion Effects 0.000 title claims abstract description 79
- 238000005457 optimization Methods 0.000 title claims abstract description 29
- 238000000034 method Methods 0.000 title claims abstract description 24
- 238000004364 calculation method Methods 0.000 claims abstract description 25
- 238000004458 analytical method Methods 0.000 claims description 6
- 230000005540 biological transmission Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 238000004321 preservation Methods 0.000 description 4
- 230000003321 amplification Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000012217 deletion Methods 0.000 description 2
- 230000037430 deletion Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000003199 nucleic acid amplification method Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S19/00—Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
- G01S19/01—Satellite radio beacon positioning systems transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
- G01S19/13—Receivers
- G01S19/24—Acquisition or tracking or demodulation of signals transmitted by the system
- G01S19/28—Satellite selection
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S19/00—Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
- G01S19/38—Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system
- G01S19/39—Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system the satellite radio beacon positioning system transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
- G01S19/40—Correcting position, velocity or attitude
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S19/00—Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
- G01S19/38—Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system
- G01S19/39—Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system the satellite radio beacon positioning system transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
- G01S19/42—Determining position
Landscapes
- Engineering & Computer Science (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Position Fixing By Use Of Radio Waves (AREA)
Abstract
The invention provides a GPS movement track optimization method and a system, wherein the method comprises the following steps: acquiring a satellite signal; arranging the satellite signals according to the signal intensity of the satellite signals; selecting a preset number of satellite information arranged in front of the array every a first preset time to perform positioning calculation to obtain positioning points; randomly selecting one positioning point from the calculated positioning points as a target positioning point every other second preset time length; and connecting the target positioning points to obtain a motion track. The invention improves the positioning precision of the GPS movement track, reduces the information quantity, reduces the occupied memory capacity and improves the comprehensive performance of products.
Description
Technical field
The present invention relates to GPS track field of locating technology, espespecially a kind of GPS motion profile optimization method and system.
Background technique
GPS (GlobalPositioningSystem, global positioning system) is using GPS positioning satellite, in global model
Enclose the system of interior real-time perfoming positioning, navigation.Currently, GPS technology has been widely used in every field.GPS system has
It shows the function of motion profile, i.e., obtains the location information of positioning terminal in real time using GPS system, and believe according to the position of acquisition
Breath shows the location track of positioning terminal on map.In the prior art, it when obtaining location information, generallys use according to one
The mode that fixed time interval repeatedly continuously uploads, i.e., just every the GPS module being arranged in certain time interval, positioning terminal
A location information is uploaded, the location information obtained each time can be regarded as a sampled point, when wherein included corresponding
Between the data such as information and coordinate position.Each sampled point is shown on map according to coordinate position, it is suitable further according to the time
Sequence successively line, can be obtained complete path curves.
For example, conventional location algorithm is to choose best preceding 3 satellites of signal after searching satellite and carry out anchor point meter
It calculates, the interval for calculating the time is to calculate 1 time for 5 seconds or so, and the value of information of the anchor point of calculating simultaneously preserves, that is, calculates
Once, memory is primary, and the connection of all anchor points is just obtained motion profile.
But the conventional location algorithm of the example above has the shortcomings that following two.Disadvantage one: every five seconds calculates 1 anchor point
The value of information, but actual location bigger error, the value of information for the anchor point being calculated is also not enough precisely.Disadvantage two: if
Want to reduce position error, makes positioning higher more accurate, then can be designed as high density calculating, shorten the letter for calculating anchor point
The value of information that every five seconds calculates 1 anchor point is for example improved to the every 1 second information for calculating 1 anchor point by the time interval of breath value
Value, it is same calculate every time after just save it is primary, but this way will lead to anchor point information content it is double increase, double to account for
With memory size, memory size is insufficient, the worse vicious circle such as cause the product speed of service slow.
Summary of the invention
The object of the present invention is to provide a kind of GPS motion profile optimization method and system, realize that improving GPS motion profile determines
Position precision, reduces information content, reduces committed memory capacity, improves the purpose of product comprehensive performance.
Technical solution provided by the invention is as follows:
The present invention provides a kind of GPS motion profile optimization method, comprising:
Obtain satellite-signal;
The satellite-signal is arranged according to the signal strength of the satellite-signal;
Location Calculation is carried out every the satellite information that the first preset duration chooses the preset quantity of arrangement front to be positioned
Point;
An anchor point is arbitrarily chosen from the anchor point being calculated as target anchor point every the second preset duration;
It connects the target anchor point and obtains motion profile.
Further, further includes: second preset duration is greater than first preset duration.
Further, obtain satellite-signal after, according to the signal strength of the satellite-signal to the satellite-signal into
Include: before row arrangement
The satellite-signal is amplified, the satellite-signal that obtains that treated.
Further, described arbitrarily to choose an anchor point from the anchor point being calculated every the second preset duration
After target anchor point, connects the target anchor point and obtain and include: before motion profile
After a selected anchor point is as target anchor point, the selected target anchor point is saved, remaining is deleted
Anchor point.
Further, further includes:
An anchor point is chosen from the anchor point being calculated as target anchor point every the second preset duration;
Calculate the difference between any two anchor point;
If the difference of some anchor point and other anchor points is more than or equal to preset threshold, delete described with others
The biggish anchor point of the difference of anchor point calculates the average value of other anchor points, chooses and the smallest positioning of average value difference
Point is target anchor point;
If the difference of all anchor points and other anchor points is less than preset threshold, being averaged for all anchor points is calculated
Value, choosing with the smallest anchor point of average value difference is target anchor point.
The present invention also provides a kind of GPS motion profile optimization systems, comprising:
Module is obtained, satellite-signal is obtained;
Arrange module, according to it is described acquisition module obtain the satellite-signal signal strength to the satellite-signal into
Row arrangement;
Computing module chooses the satellite information of the preset quantity before the arrangement module array every the first preset duration
It carries out location Calculation and obtains anchor point;
Module is chosen, arbitrarily chooses one from the anchor point that the computing module is calculated every the second preset duration
Anchor point is as target anchor point;
Analysis module connects the target anchor point for choosing module selection and obtains motion profile.
Further, further includes: second preset duration is greater than first preset duration.
Further, further includes:
Processing module, the satellite-signal obtained to the acquisition module amplify, the satellite letter that obtains that treated
Number.
Further, further includes:
Memory module saves the selection after selection module selectes an anchor point as target anchor point
The selected target anchor point of module, deletes remaining anchor point that the computing module is calculated.
Further, further includes:
The selection module chooses an anchor point as mesh every the second preset duration from the anchor point being calculated
Demarcate site;
The selection module specifically includes:
Computing unit calculates the difference between any two anchor point that the computing module is calculated;
Selection unit, if the difference of some anchor point and other anchor points that the computing unit obtains is more than or equal to
Preset threshold deletes the biggish anchor point of difference with other anchor points, calculates the average value of other anchor points,
Choosing with the smallest anchor point of average value difference is target anchor point;
The selection unit, if the difference of all anchor points and other anchor points that the computing unit obtains is less than
Preset threshold calculates the average value of all anchor points, and choosing with the smallest anchor point of average value difference is target anchor point.
A kind of GPS motion profile optimization method and system provided through the invention, can bring following at least one to have
Beneficial effect:
1, in the present invention, guarantee to calculate anchor point according to satellite-signal high density by adjusting the first preset duration, thus
Improve the positioning accuracy of motion profile.
2, in the present invention, anchor point is calculated by high density, low-density, which saves anchor point, reduces information content, reduces in occupying
Capacity is deposited, product comprehensive performance is improved.
3, in the present invention, anchor point is randomly selected as target anchor point when low-density saves anchor point, is reduced partially
The probability that biggish anchor point is chosen for target anchor point is moved, the positioning accuracy of motion profile is improved;
4, in the present invention, when low-density saves anchor point by calculating the difference compared between anchor point, to exclude
Biggish anchor point is deviated, the positioning accuracy of motion profile is improved.
Detailed description of the invention
Below by clearly understandable mode, preferred embodiment is described with reference to the drawings, a kind of GPS motion profile is optimized
Above-mentioned characteristic, technical characteristic, advantage and its implementation of method and system are further described.
Fig. 1 is a kind of flow chart of one embodiment of GPS motion profile optimization method of the present invention;
Fig. 2 is a kind of flow chart of another embodiment of GPS motion profile optimization method of the present invention;
Fig. 3 is a kind of flow chart of another embodiment of GPS motion profile optimization method of the present invention;
Fig. 4 is a kind of flow chart of another embodiment of GPS motion profile optimization method of the present invention;
Fig. 5 is a kind of structural schematic diagram of one embodiment of GPS motion profile optimization system of the present invention;
Fig. 6 is a kind of structural schematic diagram of another embodiment of GPS motion profile optimization system of the present invention;
Fig. 7 is a kind of structural schematic diagram of another embodiment of GPS motion profile optimization system of the present invention;
Fig. 8 is a kind of structural schematic diagram of another embodiment of GPS motion profile optimization system of the present invention.
Drawing reference numeral explanation:
100GPS motion profile optimization system
110 obtain module
120 arrangement modules
130 computing modules
140 choose 141 computing unit of module, 142 selection unit
150 analytical units
160 processing units
170 storage units
Specific embodiment
It, below will be to ordinarily in order to clearly illustrate the embodiment of the present invention or technical solution in the prior art
Bright book Detailed description of the invention a specific embodiment of the invention.It should be evident that the accompanying drawings in the following description is only of the invention one
A little embodiments for those of ordinary skill in the art without creative efforts, can also be according to these
Attached drawing obtains other attached drawings, and obtains other embodiments.
In order to make simplified form, part related to the present invention is only schematically shown in each figure, their not generations
Its practical structures as product of table.In addition, there is identical structure or function in some figures so that simplified form is easy to understand
Component, only symbolically depict one of those, or only marked one of those.Herein, "one" not only table
Show " only this ", can also indicate the situation of " more than one ".
One embodiment of the present of invention, as shown in Figure 1, a kind of GPS motion profile optimization method, comprising:
Obtain satellite-signal;
The satellite-signal is arranged according to the signal strength of the satellite-signal;
Location Calculation is carried out every the satellite information that the first preset duration chooses the preset quantity of arrangement front to be positioned
Point;
An anchor point is arbitrarily chosen from the anchor point being calculated as target anchor point every the second preset duration;
It connects the target anchor point and obtains motion profile.
Specifically, in the present embodiment, applied to mobile phone products, wearing product, digital product etc. with GPS positioning function
The limited terminal device of memory headroom.Terminal device search obtains satellite-signal, and according to the signal strength of satellite-signal by big
The satellite-signal searched is arranged to small, since terminal device receives the various factors such as signal, satellite transmitted signal
It influences, the number and intensity for the satellite-signal that terminal device can search may all change at any time, therefore according to letter
The sequence of the satellite-signal of number intensity arrangement is frequent to update fluctuation.
Location Calculation is carried out every the satellite information that the first preset duration chooses the preset quantity of arrangement front to be positioned
Point, such as the satellite information of best 3 satellites of every 1 second selection signal carry out anchor point calculating, the first preset duration therein
It is 1 second, preset quantity 3, the setting of the first preset duration depends on the calculation processing ability of terminal device, chooses the pre- of satellite
If quantity, which depends on terminal device, which calculates the calculation method that anchor point is taken, needs the satellite information of quantity to be applied, the calculating
Method is current published technological means, therefore is not described in detail here.
An anchor point is arbitrarily chosen from the anchor point being calculated as target anchor point every the second preset duration,
Such as the satellite information of best 3 satellites of every 1 second selection signal carries out anchor point calculating, every five seconds is fixed from 5 be calculated
An anchor point is randomly selected in site as target anchor point, the second preset duration therein is 5 seconds.Finally according to time elder generation
The target anchor point for being linked in sequence afterwards all obtains the motion profile of terminal device.
It is saved once if according to an existing conventional location algorithm anchor point of every calculating, if that wherein have
Anchor point deviation is larger, and the probability that the biggish anchor point of the deviation is counted into motion profile is 100%.But according to the present embodiment
Method, the probability that the biggish anchor point of deviation is counted into motion profile can reduce, such as 3 that every 1 second selection signal is best
The satellite information of satellite carries out anchor point calculating, and every five seconds randomly selects an anchor point from 5 anchor points being calculated and makees
For target anchor point, if there are a biggish anchor point of deviation, the biggish anchor points of the deviation in this 5 anchor points
The probability for being counted into motion profile as target anchor point only has 20%, and the target anchor point being counted into motion profile is more,
The accuracy of obtained motion profile is higher.
The present invention guarantees to calculate anchor point according to satellite-signal high density by adjusting the first preset duration, to improve fortune
The positioning accuracy of dynamic rail mark, and randomly select when saving anchor point anchor point as target anchor point, reduce offset compared with
Big anchor point is chosen for the probability of target anchor point, improves the positioning accuracy of motion profile.
Another embodiment of the invention is the optimal enforcement example of the above embodiments, as shown in Figure 2, comprising:
Obtain satellite-signal;
The satellite-signal is amplified, the satellite-signal that obtains that treated;
The satellite-signal is arranged according to the signal strength of the satellite-signal;
Location Calculation is carried out every the satellite information that the first preset duration chooses the preset quantity of arrangement front to be positioned
Point;
An anchor point is arbitrarily chosen from the anchor point being calculated as target anchor point every the second preset duration;
Second preset duration is greater than first preset duration;
It connects the target anchor point and obtains motion profile.
Specifically, terminal device search obtains satellite-signal, since ambient enviroment and terminal device connect in the present embodiment
The influence of the various factors such as receiving apparatus, the satellite-signal that terminal device searches sometimes may be too weak, are unfavorable for terminal device
Subsequent acquisition satellite information calculates anchor point, therefore after terminal device searches satellite-signal, first to satellite-signal into
Row amplification, the satellite-signal that obtains that treated.By the satellite-signal after above-mentioned enhanced processing according to the power of signal strength by big
It to being arranged smallly, and is updated in real time, to guarantee rapidly and accurately select to believe when subsequent calculating anchor point
Number receiving preferable satellite carries out data transmission.
Location Calculation is carried out every the satellite information that the first preset duration chooses the preset quantity of arrangement front to be positioned
Point arbitrarily chooses an anchor point as target anchor point every the second preset duration from the anchor point being calculated, and second
Preset duration is greater than the first preset duration.For example, the satellite information of best 3 satellites of every 1 second selection signal carries out anchor point
It calculating, every five seconds randomly selects an anchor point as target anchor point from 5 anchor points being calculated, and therein first
Preset duration is 1 second, and the second preset duration is 5 seconds.Finally, connecting all selected target anchor points according to chronological order
Obtain the motion profile of terminal device.
Terminal device amplifies processing to satellite-signal, to improve after searching satellite-signal in the present invention
Anchor point computational accuracy.In addition, the second preset duration is greater than the first preset duration in the present invention, high density calculates anchor point, low
Density saves anchor point, reduces the information content for needing to store, and the memory size of anchor point occupancy is reduced, therefore, for interior
It deposits for the limited terminal device of capacity, reduces EMS memory occupation, to improve product comprehensive performance.
Another embodiment of the invention is the optimal enforcement example of the above embodiments, as shown in Figure 3, comprising:
Obtain satellite-signal;
The satellite-signal is arranged according to the signal strength of the satellite-signal;
Location Calculation is carried out every the satellite information that the first preset duration chooses the preset quantity of arrangement front to be positioned
Point;
An anchor point is arbitrarily chosen from the anchor point being calculated as target anchor point every the second preset duration;
After a selected anchor point is as target anchor point, the selected target anchor point is saved, remaining is deleted
Anchor point;
It connects the target anchor point and obtains motion profile.
Specifically, terminal device search obtains satellite-signal in the present embodiment, it is descending according to the power of signal strength
Ground arranges the satellite-signal searched, and is updated in real time, thus can be fast when guaranteeing subsequent calculating anchor point
Accurately the preferable satellite of selection signal reception carries out data transmission speed.
Location Calculation is carried out every the satellite information that the first preset duration chooses the preset quantity of arrangement front to be positioned
Point arbitrarily chooses an anchor point as target anchor point every the second preset duration from the anchor point being calculated.It is elected
After a fixed anchor point is as target anchor point, in order to reduce the EMS memory occupation of terminal device, only selection saves selected institute
Target anchor point is stated, remaining unselected anchor point for target anchor point is deleted.Finally, being connected according to chronological order
The target anchor point of all preservations obtains the motion profile of terminal device.
For example, the satellite information of best 3 satellites of every 1 second selection signal carries out anchor point calculating, every five seconds is from calculating
To 5 anchor points in randomly select an anchor point as target anchor point and saved, remaining 4 positioning point deletions,
It avoids occupying memory space, the first preset duration therein is 1 second, and the second preset duration is 5 seconds.By parity of reasoning, selectes one by one
Target anchor point is saved, finally, obtaining terminal device according to the target anchor point that chronological order connects all preservations
Motion profile.
In the present invention, since the second preset duration is greater than the first preset duration, target anchor point is from multiple anchor points
It chooses, therefore is not that the anchor point that each is calculated can be saved as target anchor point, in reducing
The occupancy deposited needs to delete in time for the anchor point of non-targeted anchor point, to improve product comprehensive performance.
Another embodiment of the invention is the optimal enforcement example of the above embodiments, as shown in Figure 4, comprising:
Obtain satellite-signal;
The satellite-signal is arranged according to the signal strength of the satellite-signal;
Location Calculation is carried out every the satellite information that the first preset duration chooses the preset quantity of arrangement front to be positioned
Point;
An anchor point is arbitrarily chosen from the anchor point being calculated as target anchor point every the second preset duration;
Further include:
An anchor point is chosen from the anchor point being calculated as target anchor point every the second preset duration;
Calculate the difference between any two anchor point;
If the difference of some anchor point and other anchor points is more than or equal to preset threshold, delete described with others
The biggish anchor point of the difference of anchor point calculates the average value of other anchor points, chooses and the smallest positioning of average value difference
Point is target anchor point;
If the difference of all anchor points and other anchor points is less than preset threshold, being averaged for all anchor points is calculated
Value, choosing with the smallest anchor point of average value difference is target anchor point;
It connects the target anchor point and obtains motion profile.
Specifically, terminal device search obtains satellite-signal in the present embodiment, then according to the power of signal strength by big
It to arranging the satellite-signal searched smallly, and is updated in real time, to guarantee energy when subsequent calculating anchor point
Enough rapidly and accurately selection signals receive preferable satellite and carry out data transmission.Arrangement front is chosen every the first preset duration
The satellite information of preset quantity carries out location Calculation and obtains anchor point, every the second preset duration from the anchor point being calculated
An anchor point is chosen as target anchor point.
Present embodiment discloses two kinds of selection modes of target anchor point.One of selection mode is to randomly select, from
And reduce the probability that the biggish anchor point of deviation is chosen to be target anchor point.For example, best 3 of every 1 second selection signal defend
The satellite information of star carries out anchor point calculating, and every five seconds randomly selects an anchor point conduct from 5 anchor points being calculated
Target anchor point, the first preset duration therein are 1 second, and the second preset duration is 5 seconds.Finally, connecting according to chronological order
It connects all selected target anchor points and obtains the motion profile of terminal device.
Another chooses mode are as follows: the difference first between calculating any two anchor point, then by all differences
It is compared with preset threshold, the set-up mode of preset threshold is varied, such as preset threshold can depend on terminal device
Movement speed, such as when identifying that user's carried terminal equipment is in walking on the way, preset threshold is then according to user's walking speed
Degree is set, to be determined anchor point with the presence or absence of biggish offset compared with preset threshold according to difference.
If the difference of some anchor point and other anchor points is more than or equal to preset threshold, then it is assumed that the anchor point is
The biggish anchor point of deviation deletes the biggish anchor point of the deviation, and remaining anchor point calculates average value, chooses with average value most
Small anchor point is target anchor point.
If the mutual difference of all anchor points is both less than preset threshold, then it is assumed that all anchor points are all to close
Reason, therefore the average value of all anchor points is calculated, choosing with the smallest anchor point of average value difference is target anchor point.
Finally, the target anchor point for connecting all selections according to chronological order obtains the movement rail of terminal device
Mark.
It is mutual by the anchor point for calculating more all when choosing target anchor point in multiple anchor points in the present invention
Between difference, thus exclude wherein deviate biggish anchor point, then by calculating average value screen to obtain target anchor point,
To improve the positioning accuracy of motion profile.
One embodiment of the present of invention, as shown in figure 5, a kind of GPS motion profile optimization system, comprising:
Module 110 is obtained, satellite-signal is obtained;
Module 120 is arranged, the signal strength of the satellite-signal obtained according to the acquisition module 110 is to the satellite
Signal is arranged;
Computing module 130 chooses defending for the preset quantity of the arrangement module 120 arrangement front every the first preset duration
Star information carries out location Calculation and obtains anchor point;
Module 140 is chosen, is arbitrarily selected from the anchor point that the computing module 130 is calculated every the second preset duration
Take an anchor point as target anchor point;
Analysis module 150 connects the target anchor point for choosing the selection of module 140 and obtains motion profile.
Specifically, in the present embodiment, applied to mobile phone products, wearing product, digital product etc. with GPS positioning function
The limited terminal device of memory headroom.Terminal device search obtains satellite-signal, and according to the signal strength of satellite-signal by big
The satellite-signal searched is arranged to small, since terminal device receives the various factors such as signal, satellite transmitted signal
It influences, the number and intensity for the satellite-signal that terminal device can search may all change at any time, therefore according to letter
The sequence of the satellite-signal of number intensity arrangement is frequent to update fluctuation.
Location Calculation is carried out every the satellite information that the first preset duration chooses the preset quantity of arrangement front to be positioned
Point, such as the satellite information of best 3 satellites of every 1 second selection signal carry out anchor point calculating, the first preset duration therein
It is 1 second, preset quantity 3, the setting of the first preset duration depends on the calculation processing ability of terminal device, chooses the pre- of satellite
If quantity, which depends on terminal device, which calculates the calculation method that anchor point is taken, needs the satellite information of quantity to be applied, the calculating
Method is current published technological means, therefore is not described in detail here.
An anchor point is arbitrarily chosen from the anchor point being calculated as target anchor point every the second preset duration,
Such as the satellite information of best 3 satellites of every 1 second selection signal carries out anchor point calculating, every five seconds is fixed from 5 be calculated
An anchor point is randomly selected in site as target anchor point, the second preset duration therein is 5 seconds.Finally according to time elder generation
The target anchor point for being linked in sequence afterwards all obtains the motion profile of terminal device.
It is saved once if according to an existing conventional location algorithm anchor point of every calculating, if that wherein have
Anchor point deviation is larger, and the probability that the biggish anchor point of the deviation is counted into motion profile is 100%.But according to the present embodiment
Method, the probability that the biggish anchor point of deviation is counted into motion profile can reduce, such as 3 that every 1 second selection signal is best
The satellite information of satellite carries out anchor point calculating, and every five seconds randomly selects an anchor point from 5 anchor points being calculated and makees
For target anchor point, if there are a biggish anchor point of deviation, the biggish anchor points of the deviation in this 5 anchor points
The probability for being counted into motion profile as target anchor point only has 20%, and the target anchor point being counted into motion profile is more,
The accuracy of obtained motion profile is higher.
The present invention guarantees to calculate anchor point according to satellite-signal high density by adjusting the first preset duration, to improve fortune
The positioning accuracy of dynamic rail mark, and randomly select when saving anchor point anchor point as target anchor point, reduce offset compared with
Big anchor point is chosen for the probability of target anchor point, improves the positioning accuracy of motion profile.
Another embodiment of the invention is the optimal enforcement example of the above embodiments, as shown in Figure 6, comprising:
Module 110 is obtained, satellite-signal is obtained;
Processing module 160, the satellite-signal obtained to the acquisition module 110 amplify, and obtain that treated
Satellite-signal;
Module 120 is arranged, the signal strength of the satellite-signal obtained according to the acquisition module 110 is to the satellite
Signal is arranged;
Computing module 130 chooses defending for the preset quantity of the arrangement module 120 arrangement front every the first preset duration
Star information carries out location Calculation and obtains anchor point;
Module 140 is chosen, is arbitrarily selected from the anchor point that the computing module 130 is calculated every the second preset duration
Take an anchor point as target anchor point;Second preset duration is greater than first preset duration;
Analysis module 150 connects the target anchor point for choosing the selection of module 140 and obtains motion profile.
Specifically, terminal device search obtains satellite-signal, since ambient enviroment and terminal device connect in the present embodiment
The influence of the various factors such as receiving apparatus, the satellite-signal that terminal device searches sometimes may be too weak, are unfavorable for terminal device
Subsequent acquisition satellite information calculates anchor point, therefore after terminal device searches satellite-signal, first to satellite-signal into
Row amplification, the satellite-signal that obtains that treated.By the satellite-signal after above-mentioned enhanced processing according to the power of signal strength by big
It to being arranged smallly, and is updated in real time, to guarantee rapidly and accurately select to believe when subsequent calculating anchor point
Number receiving preferable satellite carries out data transmission.
Location Calculation is carried out every the satellite information that the first preset duration chooses the preset quantity of arrangement front to be positioned
Point arbitrarily chooses an anchor point as target anchor point every the second preset duration from the anchor point being calculated, and second
Preset duration is greater than the first preset duration.For example, the satellite information of best 3 satellites of every 1 second selection signal carries out anchor point
It calculating, every five seconds randomly selects an anchor point as target anchor point from 5 anchor points being calculated, and therein first
Preset duration is 1 second, and the second preset duration is 5 seconds.Finally, connecting all selected target anchor points according to chronological order
Obtain the motion profile of terminal device.
Terminal device amplifies processing to satellite-signal, to improve after searching satellite-signal in the present invention
Anchor point computational accuracy.In addition, the second preset duration is greater than the first preset duration in the present invention, high density calculates anchor point, low
Density saves anchor point, reduces the information content for needing to store, and the memory size of anchor point occupancy is reduced, therefore, for interior
It deposits for the limited terminal device of capacity, reduces EMS memory occupation, to improve product comprehensive performance.
Another embodiment of the invention is the optimal enforcement example of the above embodiments, as shown in fig. 7, comprises:
Module 110 is obtained, satellite-signal is obtained;
Module 120 is arranged, the signal strength of the satellite-signal obtained according to the acquisition module 110 is to the satellite
Signal is arranged;
Computing module 130 chooses defending for the preset quantity of the arrangement module 120 arrangement front every the first preset duration
Star information carries out location Calculation and obtains anchor point;
Module 140 is chosen, is arbitrarily selected from the anchor point that the computing module 130 is calculated every the second preset duration
Take an anchor point as target anchor point;
Memory module 170 saves institute after the selection module 140 selectes an anchor point as target anchor point
It states and chooses the selected target anchor point of module 140, delete remaining anchor point that the computing module 130 is calculated;
Analysis module 150 connects the target anchor point for choosing the selection of module 140 and obtains motion profile.
Specifically, terminal device search obtains satellite-signal in the present embodiment, it is descending according to the power of signal strength
Ground arranges the satellite-signal searched, and is updated in real time, thus can be fast when guaranteeing subsequent calculating anchor point
Accurately the preferable satellite of selection signal reception carries out data transmission speed.
Location Calculation is carried out every the satellite information that the first preset duration chooses the preset quantity of arrangement front to be positioned
Point arbitrarily chooses an anchor point as target anchor point every the second preset duration from the anchor point being calculated.It is elected
After a fixed anchor point is as target anchor point, in order to reduce the EMS memory occupation of terminal device, only selection saves selected institute
Target anchor point is stated, remaining unselected anchor point for target anchor point is deleted.Finally, being connected according to chronological order
The target anchor point of all preservations obtains the motion profile of terminal device.
For example, the satellite information of best 3 satellites of every 1 second selection signal carries out anchor point calculating, every five seconds is from calculating
To 5 anchor points in randomly select an anchor point as target anchor point and saved, remaining 4 positioning point deletions,
It avoids occupying memory space, the first preset duration therein is 1 second, and the second preset duration is 5 seconds.By parity of reasoning, selectes one by one
Target anchor point is saved, finally, obtaining terminal device according to the target anchor point that chronological order connects all preservations
Motion profile.
In the present invention, since the second preset duration is greater than the first preset duration, target anchor point is from multiple anchor points
It chooses, therefore is not that the anchor point that each is calculated can be saved as target anchor point, in reducing
The occupancy deposited needs to delete in time for the anchor point of non-targeted anchor point, to improve product comprehensive performance.
Another embodiment of the invention is the optimal enforcement example of the above embodiments, as shown in Figure 8, comprising:
Module 110 is obtained, satellite-signal is obtained;
Module 120 is arranged, the signal strength of the satellite-signal obtained according to the acquisition module 110 is to the satellite
Signal is arranged;
Computing module 130 chooses defending for the preset quantity of the arrangement module 120 arrangement front every the first preset duration
Star information carries out location Calculation and obtains anchor point;
Module 140 is chosen, is arbitrarily selected from the anchor point that the computing module 130 is calculated every the second preset duration
Take an anchor point as target anchor point;
The selection module 140 is chosen an anchor point every the second preset duration from the anchor point being calculated and is made
For target anchor point;
The selection module 140 specifically includes:
Computing unit 141 calculates the difference between any two anchor point that the computing module 130 is calculated;
Selection unit 142, if the difference of some anchor point and other anchor points that the computing unit 141 obtains is big
In being equal to preset threshold, the biggish anchor point of difference with other anchor points is deleted, calculates other anchor points
Average value, choosing with the smallest anchor point of average value difference is target anchor point;
The selection unit 142, if the difference of all anchor points and other anchor points that the computing unit 141 obtains
Value is less than preset threshold, calculates the average value of all anchor points, and it is fixed for target with the smallest anchor point of average value difference to choose
Site.
Analysis module 150 connects the target anchor point for choosing the selection of module 140 and obtains motion profile.
Specifically, terminal device search obtains satellite-signal in the present embodiment, then according to the power of signal strength by big
It to arranging the satellite-signal searched smallly, and is updated in real time, to guarantee energy when subsequent calculating anchor point
Enough rapidly and accurately selection signals receive preferable satellite and carry out data transmission.Arrangement front is chosen every the first preset duration
The satellite information of preset quantity carries out location Calculation and obtains anchor point, every the second preset duration from the anchor point being calculated
An anchor point is chosen as target anchor point.
Present embodiment discloses two kinds of selection modes of target anchor point.One of selection mode is to randomly select, from
And reduce the probability that the biggish anchor point of deviation is chosen to be target anchor point.For example, best 3 of every 1 second selection signal defend
The satellite information of star carries out anchor point calculating, and every five seconds randomly selects an anchor point conduct from 5 anchor points being calculated
Target anchor point, the first preset duration therein are 1 second, and the second preset duration is 5 seconds.Finally, connecting according to chronological order
It connects all selected target anchor points and obtains the motion profile of terminal device.
Another chooses mode are as follows: the difference first between calculating any two anchor point, then by all differences
It is compared with preset threshold, the set-up mode of preset threshold is varied, such as preset threshold can depend on terminal device
Movement speed, such as when identifying that user's carried terminal equipment is in walking on the way, preset threshold is then according to user's walking speed
Degree is set, to be determined anchor point with the presence or absence of biggish offset compared with preset threshold according to difference.
If the difference of some anchor point and other anchor points is more than or equal to preset threshold, then it is assumed that the anchor point is
The biggish anchor point of deviation deletes the biggish anchor point of the deviation, and remaining anchor point calculates average value, chooses with average value most
Small anchor point is target anchor point.
If the mutual difference of all anchor points is both less than preset threshold, then it is assumed that all anchor points are all to close
Reason, therefore the average value of all anchor points is calculated, choosing with the smallest anchor point of average value difference is target anchor point.
Finally, the target anchor point for connecting all selections according to chronological order obtains the movement rail of terminal device
Mark.
It is mutual by the anchor point for calculating more all when choosing target anchor point in multiple anchor points in the present invention
Between difference, thus exclude wherein deviate biggish anchor point, then by calculating average value screen to obtain target anchor point,
To improve the positioning accuracy of motion profile.
It should be noted that above-described embodiment can be freely combined as needed.The above is only of the invention preferred
Embodiment, it is noted that for those skilled in the art, in the premise for not departing from the principle of the invention
Under, several improvements and modifications can also be made, these modifications and embellishments should also be considered as the scope of protection of the present invention.
Claims (10)
1. a kind of GPS motion profile optimization method characterized by comprising
Obtain satellite-signal;
The satellite-signal is arranged according to the signal strength of the satellite-signal;
Location Calculation, which is carried out, every the satellite information that the first preset duration chooses the preset quantity of arrangement front obtains anchor point;
An anchor point is arbitrarily chosen from the anchor point being calculated as target anchor point every the second preset duration;
It connects the target anchor point and obtains motion profile.
2. GPS motion profile optimization method according to claim 1, which is characterized in that further include: it is described second it is default when
It is long to be greater than first preset duration.
3. GPS motion profile optimization method according to claim 1, which is characterized in that after obtaining satellite-signal, according to
The signal strength of the satellite-signal includes: before being arranged the satellite-signal
The satellite-signal is amplified, the satellite-signal that obtains that treated.
4. GPS motion profile optimization method according to claim 1, which is characterized in that every the second preset duration from meter
After an anchor point is arbitrarily chosen in obtained anchor point as target anchor point, connects the target anchor point and transported
Include: before dynamic rail mark
After a selected anchor point is as target anchor point, the selected target anchor point is saved, it is fixed to delete remaining
Site.
5. GPS motion profile optimization method described in -5 any one according to claim 1, which is characterized in that further include:
An anchor point is chosen from the anchor point being calculated as target anchor point every the second preset duration;
Calculate the difference between any two anchor point;
If the difference of some anchor point and other anchor points is more than or equal to preset threshold, deletes and described positioned with others
The biggish anchor point of difference of point, calculates the average value of other anchor points, and selection is with the smallest anchor point of average value difference
Target anchor point;
If the difference of all anchor points and other anchor points is less than preset threshold, the average value of all anchor points is calculated,
Choosing with the smallest anchor point of average value difference is target anchor point.
6. a kind of GPS motion profile optimization system characterized by comprising
Module is obtained, satellite-signal is obtained;
Module is arranged, the signal strength of the satellite-signal obtained according to the acquisition module arranges the satellite-signal
Column;
Computing module is carried out every the satellite information that the first preset duration chooses the preset quantity before the arrangement module array
Location Calculation obtains anchor point;
Module is chosen, arbitrarily chooses a positioning from the anchor point that the computing module is calculated every the second preset duration
Point is used as target anchor point;
Analysis module connects the target anchor point for choosing module selection and obtains motion profile.
7. GPS motion profile optimization system according to claim 6, which is characterized in that further include: it is described second it is default when
It is long to be greater than first preset duration.
8. GPS motion profile optimization system according to claim 6, which is characterized in that further include:
Processing module, the satellite-signal obtained to the acquisition module amplify, the satellite-signal that obtains that treated.
9. GPS motion profile optimization system according to claim 6, which is characterized in that further include:
Memory module saves the selection module after selection module selectes an anchor point as target anchor point
The selected target anchor point deletes remaining anchor point that the computing module is calculated.
10. according to GPS motion profile optimization system described in claim 6-9 any one, which is characterized in that further include:
It is fixed as target to choose an anchor point every the second preset duration from the anchor point being calculated for the selection module
Site;
The selection module specifically includes:
Computing unit calculates the difference between any two anchor point that the computing module is calculated;
Selection unit is preset if the difference of some anchor point and other anchor points that the computing unit obtains is more than or equal to
Threshold value deletes the biggish anchor point of difference with other anchor points, calculates the average value of other anchor points, chooses
It is target anchor point with the smallest anchor point of average value difference;
The selection unit is preset if the difference of all anchor points and other anchor points that the computing unit obtains is less than
Threshold value calculates the average value of all anchor points, and choosing with the smallest anchor point of average value difference is target anchor point.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910147593.7A CN109683180B (en) | 2019-02-28 | 2019-02-28 | GPS movement track optimization method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910147593.7A CN109683180B (en) | 2019-02-28 | 2019-02-28 | GPS movement track optimization method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109683180A true CN109683180A (en) | 2019-04-26 |
CN109683180B CN109683180B (en) | 2022-10-18 |
Family
ID=66196170
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910147593.7A Active CN109683180B (en) | 2019-02-28 | 2019-02-28 | GPS movement track optimization method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109683180B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111510553A (en) * | 2020-03-25 | 2020-08-07 | 华为技术有限公司 | Motion trail display method and device and readable storage medium |
CN112240770A (en) * | 2020-10-15 | 2021-01-19 | 浙江欣奕华智能科技有限公司 | Method, device and terminal for generating robot motion trail |
CN117092664A (en) * | 2023-10-17 | 2023-11-21 | 青岛杰瑞自动化有限公司 | Positioning anti-interference method and system based on time service system and electronic equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1574875A1 (en) * | 2004-03-09 | 2005-09-14 | Sony Ericsson Mobile Communications AB | GPS receiver carried on fast moving vehicles |
CN103558617A (en) * | 2013-10-30 | 2014-02-05 | 无锡赛思汇智科技有限公司 | Positioning method and device |
CN105184382A (en) * | 2015-07-14 | 2015-12-23 | 成都乐动信息技术有限公司 | Optimization method of trajectory and device |
CN109212570A (en) * | 2018-11-15 | 2019-01-15 | 中国科学院深圳先进技术研究院 | A kind of low-power consumption satellite positioning method, system and electronic equipment |
-
2019
- 2019-02-28 CN CN201910147593.7A patent/CN109683180B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1574875A1 (en) * | 2004-03-09 | 2005-09-14 | Sony Ericsson Mobile Communications AB | GPS receiver carried on fast moving vehicles |
CN103558617A (en) * | 2013-10-30 | 2014-02-05 | 无锡赛思汇智科技有限公司 | Positioning method and device |
CN105184382A (en) * | 2015-07-14 | 2015-12-23 | 成都乐动信息技术有限公司 | Optimization method of trajectory and device |
CN109212570A (en) * | 2018-11-15 | 2019-01-15 | 中国科学院深圳先进技术研究院 | A kind of low-power consumption satellite positioning method, system and electronic equipment |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111510553A (en) * | 2020-03-25 | 2020-08-07 | 华为技术有限公司 | Motion trail display method and device and readable storage medium |
CN111510553B (en) * | 2020-03-25 | 2021-06-22 | 华为技术有限公司 | Motion trail display method and device and readable storage medium |
CN112240770A (en) * | 2020-10-15 | 2021-01-19 | 浙江欣奕华智能科技有限公司 | Method, device and terminal for generating robot motion trail |
CN117092664A (en) * | 2023-10-17 | 2023-11-21 | 青岛杰瑞自动化有限公司 | Positioning anti-interference method and system based on time service system and electronic equipment |
CN117092664B (en) * | 2023-10-17 | 2024-01-09 | 青岛杰瑞自动化有限公司 | Positioning anti-interference method and system based on time service system and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN109683180B (en) | 2022-10-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109683180A (en) | GPS movement track optimization method and system | |
DE602004002854T2 (en) | SYSTEM AND METHOD FOR SPEKTRAL CORRECTED FLASH DETECTION | |
DE602004002310T2 (en) | tracking system | |
Anagnostopoulos et al. | A reproducible comparison of RSSI fingerprinting localization methods using LoRaWAN | |
CN106291619B (en) | A kind of wireless long-period spread spectrum code signal high-performance catching method of aeronautical satellite inter-satellite link | |
DE112010003869B4 (en) | A method and system for determining the location of a moving wireless communication unit | |
CN105120433A (en) | WLAN indoor positioning method based on continuous sampling and fuzzy clustering | |
CN103364770B (en) | Radar target detecting system based on matrix filling and detecting method thereof | |
CN104597440B (en) | Intelligent radar based on target motion match | |
CN106371084A (en) | Detection method for electron density of ionization layer based on radar echoes | |
CN108072896B (en) | A kind of fully automatically seismic wave first break pickup method and system | |
CN110856100B (en) | Method and device for terminal positioning and positioning model construction based on 5G signal | |
CN103558591A (en) | Ground testing method under satellite-borne microwave radar non-darkroom condition | |
CN113759362B (en) | Method, device, equipment and storage medium for radar target data association | |
CN108983186B (en) | Real-time adjusting method for PRF of spaceborne interference imaging altimeter | |
CN106291612A (en) | A kind of aeronautical satellite inter-satellite link wireless signal high-performance prize judgment method | |
CN112305588B (en) | Automatic first arrival wave pickup method and device | |
WO2005112498A1 (en) | Method for locating a mobile radio terminal in a mobile radio network | |
CN115293246A (en) | Ultra-wideband non-line-of-sight signal identification method and device and computer equipment | |
CN1886673B (en) | Positioning method and apparatus | |
CN102547980B (en) | Positioning smooth stabilization mechanism based on generation tree | |
CN110784884B (en) | Satellite communication-in-motion satellite exchange strategy determination method and system based on breadth-first search | |
CN110261818A (en) | Method and device for identifying indirect ultra-wideband signal and eliminating error and storage medium | |
CN104407361B (en) | satellite search method and receiver | |
CN116972837B (en) | Self-adaptive vehicle-mounted combined navigation positioning method and related equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |