Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present inventionAttached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is onlyThe embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill peopleThe model that the present invention protects all should belong in member's every other embodiment obtained without making creative workIt encloses.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, "Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this wayData be interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein can in addition to illustrating herein orSequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that coverCover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited toStep or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, productOr other step or units that equipment is intrinsic.
According to embodiments of the present invention, a kind of embodiment of the method for the processing method of GPS positioning data is provided, needs to illustrate, step shown in the flowchart of the accompanying drawings can hold in a computer system such as a set of computer executable instructionsRow, although also, logical order is shown in flow charts, and it in some cases, can be to be different from sequence hereinExecute shown or described step.
Fig. 1 is the flow chart of the processing method of GPS positioning data according to an embodiment of the present invention.As shown in Figure 1, this methodIt may include steps of:
Step S102 obtains multiple location points of the collected target object of GPS terminal.Wherein, location point may includeAt least one location parameter.Specifically, (such as acquisition each second is primary or every two seconds acquire according to default collection rule for GPS terminalOne inferior collection rule, specifically can be depending on the configuration parameter of GPS terminal, and this is not limited by the present invention) in a period of timeMultiple location points of interior acquisition target object (such as user of GPS terminal or handhold GPS terminal), also, each positionPoint includes at least one location parameter (such as speed, time, longitude, latitude and direction).
For example, GPS terminal each second acquires the location point of a target object, then in a period of time (such as 1.5 minutes)Interior, GPS terminal will collect 90 location points;In the case that network condition is poor, of the collected location point of GPS terminalNumber may tail off, and such as only collect 60 location points.
In this embodiment, it is abnormal that noise, offset point or shift point etc. be may include in these collected location pointsData need to handle collected multiple location points as basic parameter before reporting the location point of target object,Using determine one accurately and effectively location point as the position of target object.
Step S104 screens multiple location points according to preset screening rule, and the location point that screening is obtainedIt is added in Trusted List as active position point.It specifically, can be according to the location parameter of location point to collected multipleLocation point is screened, and to give up inoperative position point (such as noise, offset point or shift point), retains effective location point.
Optionally, carrying out screening to multiple location points according to preset screening rule may include steps of:
Step S1, judges whether the angle parameter of location point be greater than the first predetermined angle, the height above sea level of location pointWhether preset towards in range greater than preset height and the direction of location point.Wherein, at least one location parameter further includesAngle parameter, height above sea level and direction.
It should be noted that the angle parameter in location point is not more than the first predetermined angle, the height above sea level of location point notGreater than preset height and the direction of location point not in the case where presetting towards in range, step S3 is executed;In location pointAngle parameter is greater than the first predetermined angle, the height above sea level of location point is greater than preset height and the direction of location point is in default courtIn the case where into range, step S5 is executed.
Step S3, gives up location point.
Location point is added in coordinate point list by step S5 according to preset modulus parameter.
Wherein, angle parameter, height above sea level and direction are the collected initial data of GPS terminal.
In an alternative embodiment, the first predetermined angle can be able to be 100 meters for 2, preset height and presetDirection may range from 2 to 1000.So in this embodiment, when the angle parameter of location point is little no more than 2, height above sea levelWhen in 100 meters or towards not in the range of 2 to 1000, then judge that the location point is inoperative position point, and by the positionPoint is given up;Otherwise, then retain the location point.According to above-mentioned first predetermined angle, preset height and it is default towards range to adoptingAfter all location points collected are screened, all location points remained are added to seat according to preset modulus parameterIn punctuate list.
It should be noted that above-mentioned first predetermined angle, preset height and it is default can be according to GPS terminal towards rangeConcrete application scene and be arranged, the numerical value in above-described embodiment only makees exemplary illustration, and the present invention is not to the first preset angleIt degree, preset height and default is defined towards range.
Above-described embodiment through the invention based on the first predetermined angle, preset height and is preset towards range to acquisitionThe location point arrived carries out a preliminary screening, gives up the location point (location point that such as height above sea level is -1000) of obvious exception, fromAnd relatively accurate basic data is provided for subsequent processing, to improve the efficiency of subsequent processing.
Further, location point is added in coordinate point list according to preset modulus parameter may include: according to takingAll location points are grouped by mould parameter;Location point is added in coordinate point list by group, wherein the number of coordinate point list withThe group number that all location points are grouped is consistent, includes one group of location point in each coordinate point list.
Specifically, all location points remained in above-described embodiment are grouped according to preset modulus parameter,And the location point for belonging to same group is added in the same coordinate point list.Optionally, after grouping available one group orPerson's multiple groups location point, it is corresponding, one or more coordinate point list will be obtained, i.e. the number of coordinate point list is obtained with groupingGroup number it is consistent.
For example, GPS terminal has collected 90 location points, according to the first predetermined angle in above-described embodiment, default heightDegree and it is default collected 90 location points are screened towards range after, the location point remained has 80, thisWhen, this 80 coordinate points are grouped according to preset modulus parameter (such as 30), three groups will be obtained, optionally, can be incited somebody to action80 location points are divided into one group for every 30 in sequence, one group of the conduct less than 30.After the grouping, by these three groupsLocation point (quantity of every group of location point is respectively 30,30,20) is respectively added in three coordinate point lists.
For another example, GPS terminal has collected 60 location points, according to the first predetermined angle in above-described embodiment, default heightDegree and it is default collected 60 location points are screened towards range after, the location point remained has 40, thisWhen, this 40 coordinate points are grouped according to preset modulus parameter (such as 40), a group will be obtained, the position that this is organizedPoint (quantity of location point is 40) is set to be added in a coordinate point list.
In the above embodiment of the present invention, location point is being added to according to preset modulus parameter by it in coordinate point listAfterwards, above-mentioned method can also include the following steps:
Whether step S2 successively judges the angle parameter of each location point in coordinate point list in predetermined angle rangeWhether the calculating speed of interior, each location point is within the scope of the first pre-set velocity and whether the speed of each location point is secondWithin the scope of pre-set velocity.Wherein, the calculating speed of a location point is the mobile speed that a location point corresponds to previous location pointDegree.
Wherein, the angle parameter of the location point in coordinate point list is not within the scope of predetermined angle, the calculating of location pointSpeed executes step not within the scope of the first pre-set velocity or in the case that the speed of location point is not within the scope of the second pre-set velocityRapid S4;The angle parameter of location point in coordinate point list within the scope of predetermined angle, the calculating speed of location point is firstWithin the scope of pre-set velocity and in the case that the speed of location point is within the scope of the second pre-set velocity, step S6 is executed.
Step S4, gives up location point.
Step S6 determines that location point is the location point that screening obtains.
Specifically, if after location point is added to coordinate point list according to preset modulus parameter, a seat has been obtainedPunctuate list, then judge each location point in the coordinate point list angle parameter whether within the scope of predetermined angle, it is eachWhether the calculating speed of location point is within the scope of the first pre-set velocity and whether the speed of each location point is in the second default speedIt spends in range;If after location point is added to coordinate point list according to preset modulus parameter, having obtained multiple coordinate point rangesTable is then performed both by above-mentioned judgement to each coordinate point list and operates.
The above embodiment of the present invention is discussed in detail with the explanation of the judgement operation to a coordinate point list below.
In an alternative embodiment, predetermined angle, which may range from the 3 to 43, first pre-set velocity, may range from 0It may range from 3.32 to 400 metre per second (m/s)s to 98 metre per second (m/s)s and the second pre-set velocity.So in this embodiment, work as location pointAngle parameter not in the range of 3 to 43, calculating speed not in the range of 0 to 98 metre per second (m/s) or speed not 3.32 toWhen in the range of 400 metre per second (m/s)s, then judge that the location point is inoperative position point, and the location point is given up;Otherwise, then retainThe location point, and determine the location point for obtaining the location point as screening.In this embodiment, according to above-mentioned predetermined angle modelEnclose, the first pre-set velocity range and the second pre-set velocity range screen the location point Jing Guo preliminary screening again, canFurther to remove unreasonable location point, the accuracy of GPS positioning is improved.
It should be noted that above-mentioned predetermined angle range, the first pre-set velocity range and the second pre-set velocity range canIt is arranged with the concrete application scene according to GPS terminal, the numerical value in above-described embodiment only makees exemplary illustration, and the present invention is notPredetermined angle range, the first pre-set velocity range and the second pre-set velocity range are defined.
Above-described embodiment through the invention, based on the default speed of predetermined angle range, the first pre-set velocity range and secondDegree range screens the location point Jing Guo preliminary screening again, further gives up abnormal position point, to be subsequent placeReason provides more accurate basic data, to further improve the efficiency of subsequent processing.
It should be further noted that calculating speed be according to time of current location point, current location point it is previousThe speed that the distance between the time of location point and the two location points are calculated illustrates current location point relative to itThe movement speed of previous location point;The angle parameter and speed of each location point are then the original number that GPS terminal collectsAccording to.
According to that above embodiment of the present invention, the location point that screening obtains is added in Trusted List as active position pointIt may include: to judge whether the angle parameter of the active position point in each coordinate point list is greater than the second predetermined angle;If havingThe angle parameter for imitating location point is greater than the second predetermined angle, then a mark is arranged for active position point;If active position pointAngle parameter is not more than the second predetermined angle, then judges whether the speed of active position point is greater than the second pre-set velocity;If effectivelyThe speed of location point is greater than the second pre-set velocity, then a mark is arranged for active position point;Judge each coordinate point listWhether the number of mark corresponding to all active position points is greater than preset threshold;If all active position points of coordinate point listThe number of corresponding mark is greater than preset threshold, then judges that each active position point is motor point, and will be each effectiveLocation point is added in Trusted List as motor point, wherein the corresponding Trusted List of a coordinate point list;If coordinate pointsThe number of mark corresponding to all active position points of list is not more than preset threshold, then judges that each active position point is equalFor rest point, and it is added in Trusted List using each active position point as rest point.
Specifically, will the obtained location point of screening as active position point, if according to preset modulus parameter by location pointIt is added to after coordinate point list, has obtained multiple coordinate point lists, then respectively to the active position in each coordinate point listPoint is performed both by above-mentioned judgement operation, and in this case, each coordinate point list will obtain a corresponding Trusted List;IfAfter location point is added to coordinate point list according to preset modulus parameter, a coordinate point list has been obtained, then respectively shouldActive position point in coordinate point list executes above-mentioned judgement operation, and obtains a corresponding Trusted List.
It is illustrated by taking a coordinate point list as an example below.
In an alternative embodiment, the second predetermined angle can be able to be 0 for the 43, second pre-set velocity.So existIn the embodiment, when the angle parameter of active position point is greater than 43, then one mark is set for the active position point;Otherwise,Then continue to judge whether the speed of the active position point is greater than 0;When judge the active position point speed be greater than 0 when, then forA mark is arranged in the active position point.If the angle parameter of active position point is not more than the angle of 43 or active position pointParameter is greater than 43 but is not more than 0, then being not active position point setting mark.
In this embodiment, after being performed both by judgement operation to all active position points in coordinate point list, systemCount the number of the mark of all active position points, and judge mark number whether be greater than preset threshold (such as 5, the preset thresholdIt can be set according to practical situations, which is not limited by the present invention);The case where the number of mark is greater than preset thresholdUnder, judge that active position point is motor point;Otherwise, then judge that active position point is rest point.And by it is each effectively untilIt is added in a Trusted List as motor point or rest point.
Optionally, in this embodiment, in order to improve the accuracy of judging result, when judging active position point for movementWhen point, can also judge whether the direction of the active position point is default less than first towards threshold value (such as 1000) again;When judgingWhen active position point is rest point, can also judge whether the direction of the active position point is default less than second towards threshold value again(such as 20).When the direction of the active position point as motor point is default not less than first towards threshold value or when as rest pointThe direction of active position point it is default not less than second towards threshold value when, then it is assumed that the active position point is abnormal point, and is given upIt abandons;When the direction of the active position point as motor point is default less than first towards threshold value or when the significance bit as rest pointSet direction a little it is default less than second towards threshold value when, then it is assumed that the active position point is effective point, and being added to canBelieve in list.
Above-described embodiment through the invention, according to above-mentioned second predetermined angle and the second pre-set velocity to active position pointMotion state is judged, can effectively judge that target object is to be in stationary state in motion state, thus into oneImprove the accuracy of GPS positioning in step ground.
It should be noted that above-mentioned second predetermined angle and the second pre-set velocity can be according to the concrete applications of GPS terminalScene and be arranged, the numerical value in above-described embodiment only makees exemplary illustration, and the present invention is not to predetermined angle range, first defaultVelocity interval and the second pre-set velocity range are defined.
Step S106 calculates the average speed of each active position point in Trusted List.Specifically, divide from Trusted ListThe speed of each active position point is not read;The average value for calculating the speed of each active position point read, as eachThe average speed of active position point.
In this embodiment, when only obtaining a Trusted List, each active position point in the Trusted List is calculatedThe available average speed value of average speed;When obtaining multiple Trusted Lists, calculate separately in multiple Trusted ListsEach active position point the available multiple average speed values of average speed.So based on credible obtained from average speedThe number of point position is just consistent with the number of Trusted List.
Step S108 judges whether average speed is the first pre-set velocity.Optionally, the first pre-set velocity can be 0.
Wherein, in the case where judging average speed is the first pre-set velocity, step S110 is executed;Judging averagelyIn the case that speed is not the first pre-set velocity, step S112 is executed.
Step S110 obtains the average value of each location parameter of all active position points, and according to each location parameterAverage value determine a trustworthy location point.Wherein, trustworthy location point is used to indicate the location of target object.
Specifically, it is credible that this is obtained when its corresponding average speed is the first pre-set velocity for a Trusted ListEach location parameter (e.g., time, angle, longitude, latitude and the speed etc.) of all active position points is averaged in listValue, and determine that (point is one positioned on map according to location parameter to a point according to the average value of each location parameterPoint) it is used as trustworthy location point, to indicate the location of target object.
In this embodiment, for multiple Trusted Lists, then aforesaid operations are performed both by each Trusted List, so as toObtain multiple trustworthy location points.
Step S112, obtains the speed of all active position points and the difference of average speed, and by the difference with average speedIt is worth the point of active position corresponding to the smallest speed as trustworthy location point.Wherein, at least one location parameter includes speed.
Specifically, for a Trusted List, when its corresponding average speed is not or not first pre-set velocity, then obtaining shouldThe difference of the speed of all active position points and average speed in Trusted List, and will be effective corresponding to the smallest speed of differenceLocation point is as trustworthy location point, to indicate the location of target object.
In this embodiment, for multiple Trusted Lists, then aforesaid operations are performed both by each Trusted List, so as toObtain multiple trustworthy location points.
Step S114 reports trustworthy location point.Specifically, if obtaining a Trusted List, a Trusted List is reportedCorresponding trustworthy location point, wherein the corresponding trustworthy location point of a Trusted List;If obtaining multiple Trusted Lists, onReport the trustworthy location point of time the latest in the corresponding trustworthy location point of multiple Trusted Lists, wherein at least one location parameter packetInclude the time.
Using the embodiment of the present invention, after the multiple location points for obtaining the collected target object of GPS terminal, according to pre-If screening rule multiple location points are screened, abnormal position point can be given up;Will the obtained location point of screening as havingEffect location point is added in Trusted List, can be handled based on active position point relatively accurate after screening, to obtain standardTrue ground positioning result;Calculate Trusted List in each active position point average speed, based on the average speed determine one canLetter location point simultaneously reports the trustworthy location point, can further filter out abnormal position point (such as noise, shift point), obtainThe trustworthy location point of target object present position is accurately indicated, to solve vehicle-mounted in the prior art or handhold GPS terminalThe technical problem of positioning result inaccuracy realizes the effect for accurately reporting the position of target object, improves vehicle-mounted or hand-heldThe accuracy of GPS terminal positioning result.
Below with reference to Fig. 2, for obtaining the application scenarios of a coordinate point list according to modulus parameter, the application is above-mentionedA kind of optinal plan that embodiment can provide is as follows.This method may include steps of:
Step S201 obtains the collected location point of GPS terminal.Wherein, location point may include GPS coordinate point and at leastOne location parameter, such as speed, time, longitude, latitude, direction and angle.
Specifically, the implementation of the step is consistent with the implementation of step S102 in the above embodiment of the present invention,Details are not described herein.
Step S202 judges whether the angle in the location parameter of location point is greater than whether 2, height above sea level is greater than 100 metersAnd towards whether in the range of 2 to 1000.
Wherein, the angle in the location parameter for judging location point is greater than 2, height above sea level and is greater than 100 meters and directionIn the case where in the range of 2 to 1000, step S204 is executed;Otherwise, step S203 is executed.
Specifically, the implementation of the step is consistent with the implementation of step S1 in the above embodiment of the present invention,This is repeated no more.
Step S203 gives up the location point.
Step S204 obtains preset modulus parameter.
Location point is added in coordinate point list by step S205 according to modulus parameter.
In this embodiment, all location points are added in the same coordinate point list.
Specifically, the implementation of the step is consistent with the implementation of step S5 in the above embodiment of the present invention,This is repeated no more.
Whether step S206 judges the angle of each location point in coordinate point list in the range of 3 to 43, calculating speedWhether degree (such as point distance calculate speed) is in the range of 0 to 98 metre per second (m/s) and whether speed is in 3.32 to 400 metre per second (m/s)sIn the range of.
Wherein, in the range of judging the angle of each location point in coordinate point list 3 to 43, calculating speed existsIn the range of 0 to 98 metre per second (m/s) and in the case that speed is in the range of 3.32 to 400 metre per second (m/s), step S207 is executed;It is noThen, step S208 is executed.
Specifically, the implementation of the step is consistent with the implementation of step S2 in the above embodiment of the present invention,This is repeated no more.
Step S207 is added in Trusted List using each location point as motor point or rest point.
Wherein, in this embodiment, due to only one coordinate point list, only one credible column in the embodimentTable
Specifically, " the location point for obtaining screening of the step in the implementation and the above embodiment of the present invention of the stepBe added in Trusted List as active position point " implementation it is consistent, details are not described herein.
Step S208 gives up the location point.
Step S209 obtains all location points in Trusted List.
Step S210, calculate Trusted List in all location points average speed, and judge the average speed whether be0。
Wherein, in the case where average speed is 0, step S211 is executed;In the case where average speed is not 0, executeStep S212.
Specifically, the realization of the step S106 and step S108 in the implementation and the above embodiment of the present invention of the stepMode is consistent, and details are not described herein.
Step S211 obtains the average value of each location parameter of all location points in Trusted List, as trusted bitSet location parameter a little.
Specifically, the implementation of the step is consistent with the implementation of step S110 in the above embodiment of the present invention,Details are not described herein.
Step S212 obtains the smallest position of difference of the speed and average speed of all location points in Trusted ListPoint, as trustworthy location point.
Specifically, the implementation of the step is consistent with the implementation of step S112 in the above embodiment of the present invention,Details are not described herein.
Step S213 reports the trustworthy location point.
Specifically, the implementation of the step is consistent with the implementation of step S114 in the above embodiment of the present invention,Details are not described herein.
Above-described embodiment through the invention can acquire GPS positioning data (location point i.e. in above-described embodiment)In the case of, all kinds of unreasonable data such as the collected noise of GPS terminal, offset point are filtered optimization.Pass through check bitSet the movement shape that the target object of GPS terminal is held in the speed of point (the collected anchor point of such as GPS terminal), angle and judgementState etc., after the location point of GPS terminal acquisition a period of time, according to above-mentioned condition, all positions of comprehensive evaluating in this timeIt sets a little, allows GPS terminal that a trustworthy location point is reported to make GPS terminal in various rings after abnormal position point is abandoned by accountingOneself position can accurately be reported under border, preferably provide legal effective location information for GPS terminal user, solveThe inaccurate problem of GPS terminal positioning.
Further, above-described embodiment through the invention, increases to handhold GPS terminal or GPS terminal in the marketIn the front-end processing for reporting GPS positioning data, avoids and erroneous point is reported to perplex to user's bring.It is raw to GPS terminal producerThe GPS positioning data that the GPS terminal that output is come reports optimize, the GPS for reporting handhold GPS terminal or GPS terminalLocation data (the trustworthy location point i.e. in the above embodiment of the present invention) is more accurate.
Fig. 3 is the schematic diagram of the processing unit of GPS positioning data according to an embodiment of the present invention.As shown in figure 3, the deviceIt may include: acquiring unit 10, screening unit 30, computing unit 50, the first judging unit 70, the first determination unit 90, secondDetermination unit 110 and reporting unit 130.
Wherein, acquiring unit 10 is used to obtain multiple location points of the collected target object of GPS terminal.Wherein, positionPoint may include at least one location parameter.Specifically, GPS terminal according to default collection rule (such as acquisition each second it is primary orEvery two seconds one inferior collection rules of acquisition, specifically can be depending on the configuration parameter of GPS terminal, and this is not limited by the present invention)Multiple location points of target object (such as user of GPS terminal or handhold GPS terminal) are acquired whithin a period of time, andAnd each location point includes at least one location parameter (such as speed, time, longitude, latitude and direction).
In this embodiment, it is abnormal that noise, offset point or shift point etc. be may include in these collected location pointsData need to handle collected multiple location points as basic parameter before reporting the location point of target object,Using determine one accurately and effectively location point as the position of target object.
Screening unit 30 is for screening multiple location points according to preset screening rule, and the position that screening is obtainedA conduct active position point is set to be added in Trusted List.It specifically, can be according to the location parameter of location point to collectedMultiple location points are screened, and to give up inoperative position point (such as noise, offset point or shift point), retain active positionPoint.
Optionally, screening unit 30 may include: first judgment module, and whether the angle parameter for judging location point is bigWhether whether it is greater than the direction of preset height and location point in default direction in the first predetermined angle, the height above sea level of location pointIn range, wherein at least one location parameter further includes angle parameter, height above sea level and direction;Give up module, in placeAngle parameter a little is set no more than the first predetermined angle, the height above sea level of location point no more than preset height and the court of location pointIn the case where to not default towards in range, give up location point;Adding module is greater than for the angle parameter in location pointOne predetermined angle, the height above sea level of location point are greater than preset height and the direction of location point is being preset towards the situation in rangeUnder, location point is added in coordinate point list according to preset modulus parameter.
Wherein, angle parameter, height above sea level and direction are the collected initial data of GPS terminal.
In an alternative embodiment, the first predetermined angle can be able to be 100 meters for 2, preset height and presetDirection may range from 2 to 1000.So in this embodiment, when the angle parameter of location point is little no more than 2, height above sea levelWhen in 100 meters or towards not in the range of 2 to 1000, then judge that the location point is inoperative position point, and by the positionPoint is given up;Otherwise, then retain the location point.According to above-mentioned first predetermined angle, preset height and it is default towards range to adoptingAfter all location points collected are screened, all location points remained are added to seat according to preset modulus parameterIn punctuate list.
It should be noted that above-mentioned first predetermined angle, preset height and it is default can be according to GPS terminal towards rangeConcrete application scene and be arranged, the numerical value in above-described embodiment only makees exemplary illustration, and the present invention is not to the first preset angleIt degree, preset height and default is defined towards range.
Above-described embodiment through the invention based on the first predetermined angle, preset height and is preset towards range to acquisitionThe location point arrived carries out a preliminary screening, gives up the location point (location point that such as height above sea level is -1000) of obvious exception, fromAnd relatively accurate basic data is provided for subsequent processing, to improve the efficiency of subsequent processing.
Further, adding module may include: grouping submodule, for dividing all location points according to modulus parameterGroup;Submodule is added, for location point to be added in coordinate point list by group, wherein the number of coordinate point list with by instituteThe group number for having location point to be grouped is consistent, includes one group of location point in each coordinate point list.
Specifically, all location points remained in above-described embodiment are grouped according to preset modulus parameter,And the location point for belonging to same group is added in the same coordinate point list.Optionally, after grouping available one group orPerson's multiple groups location point, it is corresponding, one or more coordinate point list will be obtained, i.e. the number of coordinate point list is obtained with groupingGroup number it is consistent.
In the above embodiment of the present invention, above-mentioned device can also include:
Second judgment unit, for after location point is added in coordinate point list according to preset modulus parameter,Successively judge the angle parameter of each location point in coordinate point list whether within the scope of predetermined angle, the meter of each location pointSpeed is calculated whether within the scope of the first pre-set velocity and the speed of each location point is whether within the scope of the second pre-set velocity,In, the calculating speed of a location point is the movement speed that a location point corresponds to previous location point;Give up unit, is used forThe angle parameter of location point in coordinate point list is not within the scope of predetermined angle, the calculating speed of location point is not default firstIn velocity interval or in the case that the speed of location point is not within the scope of the second pre-set velocity, give up location point;Third determines singleMember, angle parameter for the location point in coordinate point list within the scope of predetermined angle, the calculating speed of location point isWithin the scope of one pre-set velocity and in the case that the speed of location point is within the scope of the second pre-set velocity, determine location point for screeningObtained location point.
Specifically, if after location point is added to coordinate point list according to preset modulus parameter, a seat has been obtainedPunctuate list, then judge each location point in the coordinate point list angle parameter whether within the scope of predetermined angle, it is eachWhether the calculating speed of location point is within the scope of the first pre-set velocity and whether the speed of each location point is in the second default speedIt spends in range;If after location point is added to coordinate point list according to preset modulus parameter, having obtained multiple coordinate point rangesTable is then performed both by above-mentioned judgement to each coordinate point list and operates.
It should be noted that above-mentioned predetermined angle range, the first pre-set velocity range and the second pre-set velocity range canIt is arranged with the concrete application scene according to GPS terminal, the numerical value in above-described embodiment only makees exemplary illustration, and the present invention is notPredetermined angle range, the first pre-set velocity range and the second pre-set velocity range are defined.
Above-described embodiment through the invention, based on the default speed of predetermined angle range, the first pre-set velocity range and secondDegree range screens the location point Jing Guo preliminary screening again, further gives up abnormal position point, to be subsequent placeReason provides more accurate basic data, to further improve the efficiency of subsequent processing.
It should be further noted that calculating speed be according to time of current location point, current location point it is previousThe speed that the distance between the time of location point and the two location points are calculated illustrates current location point relative to itThe movement speed of previous location point;The angle parameter and speed of each location point are then the original number that GPS terminal collectsAccording to.
According to that above embodiment of the present invention, screening unit 30 can also include: the second judgment module, for judging each seatWhether the angle parameter of the active position point in punctuate list is greater than the second predetermined angle;First setup module, for effectiveIn the case that the angle parameter of location point is greater than the second predetermined angle, one mark is set for active position point;Third judges mouldBlock, for judging the speed of active position point in the case where the angle parameter of active position point is not more than the second predetermined angleWhether the second pre-set velocity is greater than;Second setup module is greater than the feelings of the second pre-set velocity for the speed in active position pointUnder condition, one mark is set for active position point;4th judgment module, for judging all significance bits of each coordinate point listWhether the number for setting a little corresponding mark is greater than preset threshold;First determining module, for all sieves in coordinate point listIn the case where selecting the number of mark corresponding to obtained location point to be greater than preset threshold, determines and judge what each screening obtainedLocation point is motor point, and each obtained location point that screens is added in Trusted List as motor point, wherein oneCoordinate point list corresponds to a Trusted List;Second determining module, the position obtained for all screenings in coordinate point listIn the case that the number of the corresponding mark of point is not more than preset threshold, determines and judge that each obtained location point that screens isRest point, and each obtained location point that screens is added in Trusted List as rest point.
Specifically, will the obtained location point of screening as active position point, if according to preset modulus parameter by location pointIt is added to after coordinate point list, has obtained multiple coordinate point lists, then respectively to the active position in each coordinate point listPoint is performed both by above-mentioned judgement operation, and in this case, each coordinate point list will obtain a corresponding Trusted List;IfAfter location point is added to coordinate point list according to preset modulus parameter, a coordinate point list has been obtained, then respectively shouldActive position point in coordinate point list executes above-mentioned judgement operation, and obtains a corresponding Trusted List.
Optionally, in this embodiment, in order to improve the accuracy of judging result, when judging active position point for movementWhen point, can also judge whether the direction of the active position point is default less than first towards threshold value (such as 1000) again;When judgingWhen active position point is rest point, can also judge whether the direction of the active position point is default less than second towards threshold value again(such as 20).When the direction of the active position point as motor point is default not less than first towards threshold value or when as rest pointThe direction of active position point it is default not less than second towards threshold value when, then it is assumed that the active position point is abnormal point, and is given upIt abandons;When the direction of the active position point as motor point is default less than first towards threshold value or when the significance bit as rest pointSet direction a little it is default less than second towards threshold value when, then it is assumed that the active position point is effective point, and being added to canBelieve in list.
Above-described embodiment through the invention, according to above-mentioned second predetermined angle and the second pre-set velocity to active position pointMotion state is judged, can effectively judge that target object is to be in stationary state in motion state, thus into oneImprove the accuracy of GPS positioning in step ground.
It should be noted that above-mentioned second predetermined angle and the second pre-set velocity can be according to the concrete applications of GPS terminalScene and be arranged, the numerical value in above-described embodiment only makees exemplary illustration, and the present invention is not to predetermined angle range, first defaultVelocity interval and the second pre-set velocity range are defined.
Computing unit 50 is used to calculate the average speed of each active position point in Trusted List.Specifically, computing unit50 may include: read module, for reading the speed of each active position point respectively from Trusted List;Computing module is usedAverage speed in the average value for the speed for calculating each active position point read, as each active position point.
In this embodiment, when only obtaining a Trusted List, each active position point in the Trusted List is calculatedThe available average speed value of average speed;When obtaining multiple Trusted Lists, calculate separately in multiple Trusted ListsEach active position point the available multiple average speed values of average speed.So based on credible obtained from average speedThe number of point position is just consistent with the number of Trusted List.
First judging unit 70 is for judging whether average speed is the first pre-set velocity.Optionally, the first pre-set velocityIt can be 0.
First determination unit 90 is used to obtain all active position points in the case where average speed is the first pre-set velocityEach location parameter average value, and a trustworthy location point is determined according to the average value of each location parameter, wherein credibleLocation point is used to indicate the location of target object.
Specifically, it is credible that this is obtained when its corresponding average speed is the first pre-set velocity for a Trusted ListEach location parameter (e.g., time, angle, longitude, latitude and the speed etc.) of all active position points is averaged in listValue, and determine that (point is one positioned on map according to location parameter to a point according to the average value of each location parameterPoint) it is used as trustworthy location point, to indicate the location of target object.
In this embodiment, for multiple Trusted Lists, then aforesaid operations are performed both by each Trusted List, so as toObtain multiple trustworthy location points.
Second determination unit 110 is used in the case where average speed is not the first pre-set velocity, obtains all significance bitsThe difference of speed and average speed a little is set, and will be made with active position point corresponding to the smallest speed of the difference of average speedFor trustworthy location point, wherein at least one location parameter includes speed.
Specifically, for a Trusted List, when its corresponding average speed is not or not first pre-set velocity, then obtaining shouldThe difference of the speed of all active position points and average speed in Trusted List, and will be effective corresponding to the smallest speed of differenceLocation point is as trustworthy location point, to indicate the location of target object.
In this embodiment, for multiple Trusted Lists, then aforesaid operations are performed both by each Trusted List, so as toObtain multiple trustworthy location points.
Reporting unit 130 is for reporting trustworthy location point.Specifically, reporting unit 130 may include: first to report mouldBlock, in the case where obtaining a Trusted List, reporting the corresponding trustworthy location point of a Trusted List, wherein oneTrusted List corresponds to a trustworthy location point;Second reporting module is more for reporting in the case where obtaining multiple Trusted ListsThe trustworthy location point of time the latest in the corresponding trustworthy location point of a Trusted List, wherein when at least one location parameter includesBetween.
Using the embodiment of the present invention, after the multiple location points for obtaining the collected target object of GPS terminal, according to pre-If screening rule multiple location points are screened, abnormal position point can be given up;Will the obtained location point of screening as havingEffect location point is added in Trusted List, can be handled based on active position point relatively accurate after screening, to obtain standardTrue ground positioning result;Calculate Trusted List in each active position point average speed, based on the average speed determine one canLetter location point simultaneously reports the trustworthy location point, can further filter out abnormal position point (such as noise, shift point), obtainThe trustworthy location point of target object present position is accurately indicated, to solve vehicle-mounted in the prior art or handhold GPS terminalThe technical problem of positioning result inaccuracy realizes the effect for accurately reporting the position of target object, improves vehicle-mounted or hand-heldThe accuracy of GPS terminal positioning result.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
In the above embodiment of the invention, it all emphasizes particularly on different fields to the description of each embodiment, does not have in some embodimentThe part of detailed description, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed technology contents can pass through othersMode is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of the unit, Ke YiweiA kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine orPerson is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutualBetween coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of unit or moduleIt connects, can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unitThe component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multipleOn unit.It can some or all of the units may be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unitIt is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated listMember both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent productWhen, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantiallyThe all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other wordsIt embodies, which is stored in a storage medium, including some instructions are used so that a computerEquipment (can for personal computer, server or network equipment etc.) execute each embodiment the method for the present invention whole orPart steps.And storage medium above-mentioned includes: that USB flash disk, read-only memory (ROM, Read-Only Memory), arbitrary access are depositedReservoir (RAM, Random Access Memory), mobile hard disk, magnetic or disk etc. be various to can store program codeMedium.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the artFor member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answeredIt is considered as protection scope of the present invention.