The content of the invention
The problem of present invention is solved is when deviate from the direction arrived at during user drives a car, it is impossible to and
When obtain it is corresponding indicate, so as to delay stroke.
To solve the above problems, the embodiments of the invention provide a kind of air navigation aid, including:Draw and lead on the electronic map
Boat reference route of the object from departure place to destination;Determine the current location information of the navigation object;Based on the navigation
The current location information of object determines angle offset parameter of the navigation object relative to the reference route;When the angle
When offset parameter is more than angle threshold, time parameter is recorded, wherein, the time parameter identifies the angle offset parameter and is more than
Angle threshold duration;When the time parameter is more than very first time threshold value and less than the second time threshold, to user
Configured information is sent, wherein the configured information is used to indicate that the navigation object revert to the direction of the reference route.
Alternatively, in addition to:When the time parameter be more than second time threshold, based on the navigation object work as
Front position information redefines navigation way with the destination.
Alternatively, the current location information for determining navigation object includes:According to the gps signal received, institute is determined
The current location information of navigation object is stated, wherein the current location information includes the navigation object on the electronic map
Coordinate information.
Alternatively, the current location information based on the navigation object determines the navigation object relative to the benchmark road
The angle offset parameter of line includes:According to the current coordinate information on the electronic map of the navigation object, it is determined that described
Angle angle between navigation object and the line and the reference route of the departure place;Based on the angle angle-determining institute
State angle offset parameter of the navigation object relative to the reference route.
Alternatively, the angle offset parameter refers to that the angle angle is more than the angle threshold more than angle threshold.
Alternatively, the angle threshold is 90 degree.
Alternatively, the very first time threshold value and the length of second time threshold based on the reference route are come really
It is fixed.
Alternatively, when the time parameter is more than second time threshold, the current location based on the navigation object
Information redefines navigation way with the destination to be included:When the time parameter be more than second time threshold, according to
The current coordinate information on the electronic map of the navigation object and coordinate of the destination on the electronic map
Information redefines navigation way, wherein the navigation way is using the current location of the navigation object as starting point, with the mesh
Ground be terminal.
Alternatively, the configured information includes turning prompt message, direction prompt message and/or information of place names.
The embodiment of the present invention additionally provides a kind of guider, including:
Drawing unit, for drawing navigation object on the electronic map from the reference route of departure place to destination;Position
Determining unit, the current location information for determining the navigation object;Angle parameter determining unit, for based on the position
The current location information for the navigation object that determining unit is determined determines angle of the navigation object relative to the reference route
Offset parameter;Time parameter determining unit, for being more than angle when the angle offset parameter that the angle parameter determining unit is determined
When spending threshold value, time parameter is recorded, wherein, the time parameter identifies the angle offset parameter to be continued more than angle threshold
Time;Indicating member, the time parameter for determining when the time parameter unit is more than very first time threshold value and less than the
Two time thresholds, issue the user with configured information, wherein the configured information is for indicating that it is described that the navigation object is revert to
On the direction of reference route.
Compared with prior art, technical solution of the present invention has the advantages that:
The present invention is obtained by drawing navigation object on the electronic map from the reference route of departure place to destination, and in real time
The current location information of the navigation object is taken, in angle of the current location of the navigation object relative to the reference route
When offset parameter is more than angle threshold, that is, think that the navigation object deviate from the direction of reference route, now need further
Consider that the navigation object deviates the time in reference route direction, i.e. start recording time parameter, wherein the time parameter mark
The angle offset parameter is known more than angle threshold duration;When the time parameter is more than very first time threshold value and small
In the second time threshold, configured information is issued the user with, wherein the configured information is used to indicate that the navigation object is revert to
On the direction of the reference route.
Further, when the time parameter is more than second time threshold, then it is assumed that the current position of navigation object
The direction that much deviate from and arrive at is put, consumption may be needed due to being travelled according still further to existing navigation way to destination
Take more times, therefore a new navigation way at this moment redefined according to the current location and destination of navigation object,
So that navigation object can be arrived at as early as possible.
In a particular embodiment, guider is believed by the current coordinate on the electronic map of the navigation object
Breath, determines the angle angle between the navigation object and the departure place or the line and the reference route of destination;Base
In angle offset parameter of the navigation object relative to the reference route described in the angle angle-determining.Further, it is described
Very first time threshold value and the second time threshold can be determined based on the length of the reference route.
The technical program causes the current location of navigation object when deviate from the direction of reference route, further combined with examining
Consider time factor, i.e., described navigation object deviates the time in reference route direction;Deviate reference route side in the navigation object
To time it is not oversize in the case of, user can obtain in time correlation prompt message, to continue according to existing navigation road
Line is arrived at;And the navigation object deviate time in reference route direction it is very long in the case of, guider
The new navigation way of a current location and destination based on navigation object can also be provided a user, so as to user's energy
Arrived at according to new navigation way.
Embodiment
For problem of the prior art, there is provided a kind of air navigation aid and guider by research by inventor so that leads
The current location of boat object is when deviate from the direction of reference route, further combined with time factor is considered, i.e., described navigation pair
Time as deviateing reference route direction;In the case where the time that the navigation object deviates reference route direction is not oversize,
User can obtain the prompt message of correlation in time, to continue to arrive at according to existing navigation way;And led described
The object that navigates deviate time in reference route direction it is very long in the case of, guider can also provide a user one and be based on
The current location of navigation object and the new navigation way of destination, so that user can reach purpose according to new navigation way
Ground.
It is understandable to enable the above objects, features and advantages of the present invention to become apparent, below in conjunction with the accompanying drawings to the present invention
Embodiment be described in detail.
Detail is elaborated in the following description to fully understand the present invention.But the present invention can with it is a variety of not
It is same as other manner described here to implement, those skilled in the art can do class in the case of without prejudice to intension of the present invention
Like popularization.Therefore the present invention is not limited by following public embodiment.
A kind of schematic flow sheet of the embodiment of air navigation aid of the invention as shown in Figure 1.With reference to Fig. 1, institute
Stating air navigation aid includes:
Step S1:Reference route of the navigation object from departure place to destination is drawn on the electronic map;
Step S2:Determine the current location information of the navigation object;
Step S3:Current location information based on the navigation object determines the navigation object relative to the benchmark road
The angle offset parameter of line;
Step S4:When the angle offset parameter is more than angle threshold, time parameter is recorded, wherein, the time ginseng
The number mark angle offset parameter is more than angle threshold duration;
Step S5:When the time parameter is more than very first time threshold value and less than the second time threshold, finger is issued the user with
Show information, wherein the configured information is used to indicate that the navigation object revert to the direction of the reference route;
Step S6:When the time parameter is more than second time threshold, the current location based on the navigation object
Information redefines navigation way with the destination.
Specifically, in the present embodiment, the navigation object is to be mounted with that the embodiment of the present invention is provided on automobile, the automobile
Guider, for user driving navigation way is provided.In actual applications, after user opens the guider,
The guider will obtain the position that automobile (i.e. described navigation object) is currently located automatically by built-in gps receiver,
The usual position can be used as departure place.Then, user inputs destination on the display of guider, wherein the purpose
Ground can be specific road name and guideboard number (such as crossdrift No. 211 all the way), can also be specified place (such as Four Seasons Hotel).
It should be noted that in the present embodiment, the guider is according to the departure place of above-mentioned determination and purpose
Ground has calculated a bar navigation route.Further, guider will be drawn according to departure place and destination on the electronic map
One reference route, the reference route be one using departure place and destination as the straightway of two-end-point, identify from starting point
The direction (i.e. step S1) of the navigation way is indicated to the direction of destination, that is, the reference route.As can be seen that this
In reference route be not that guider calculates the obtained navigation way from the departure place to destination, the reference route
What is actually represented is the direction of navigation, i.e., the direction arrived at from departure place.In actual applications, guider is shown
The colouring discrimination of the reference route shown on device is in navigation way, in order to the user discrimination reference route.
Then, the satellite of known location is measured by the gps receiver built in guider to the gps receiver
The distance between (i.e. navigation object), then the data in conjunction with multiple satellites be assured that the specific position of the navigation object
Put, then shown the current location information of the navigation object on the electronic map by the display of the guider
(i.e. step S2).Wherein, the operation principle of the gps receiver is known to the skilled person technology, will not be repeated here.
Further, in the present embodiment, the current location information includes the seat navigation object on the electronic map
Mark information.It will be appreciated by those skilled in the art that the current location of the general navigation object got by gps receiver is logical
Cross gps coordinate to represent, the gps coordinate is built upon in the coordinate system of real world, by two parameters of longitude and latitude
To represent.Guider needs the gps coordinate being converted into local Gauss plane coordinate, to realize gps coordinate electronically
Correct matching in figure.The process that specific gps coordinate is converted into local Gauss plane coordinate is as well known to those skilled in the art
Technology, will not be described here.
Then, the current location information based on the navigation object determines the navigation object relative to the reference route
Angle offset parameter (i.e. step S3).
This step includes:First, according to the current coordinate information on the electronic map of the navigation object, institute is determined
State the angle angle between navigation object and the line and the reference route of the departure place.
Specifically, with reference to Fig. 2, it is assumed here that A points are that departure place, B points are destination;AB straightways 00 are the departure place
The navigation way that reference route, AB curved sections 01 to destination are the departure place A to destination B.Navigation object (does not show
Go out) it is current by way of C points from A points, i.e., described C points are the current location of the navigation object, on the electronic map can be true
The coordinate information of the fixed C points.Now, the folder between the C points and the line AC and the reference route of the departure place A points
Angle angle is α.Because each Points And lines section on the electronic map all has coordinate information, and utilize the goniometer of guider
Function is calculated, those skilled in the art can calculate the angle angle [alpha], and therefore not to repeat here for its calculating process.
Then, the angle based on navigation object described in the angle angle-determining relative to the reference route offsets ginseng
Number.In a present embodiment, it is preferred that directly the angle angle [alpha] that obtains above-mentioned calculating as the navigation object relative to institute
The angle offset parameter of reference route is stated, but in actual applications, however it is not limited to this.Because the coordinate information on electronic map exists
It is possible that error in calculating process, therefore can also be described to determine based on obtained angle angle [alpha] plus-minus error is calculated
Angle offset parameter.
Correspondingly, in step s 4, when the angle offset parameter is more than angle threshold, time parameter is recorded, wherein,
The time parameter identifies the angle offset parameter and is more than angle threshold duration.
In the present embodiment, it is right angle to set the angle threshold, i.e., when the navigation object current location (i.e. C points) and
When angle angle [alpha] between the line AC and the reference route of the departure place A is more than 90 degree, it is determined that presently described navigation
Object deviate from the direction (direction of destination in other words) of the reference route, but now the navigation object may have must
The direction of the reference route is temporarily deviate from, in practical situation, navigation object may need to enter neighbouring high-grade road
Road, such as highway, it is overhead section.Accordingly, it would be desirable to further consider time factor, determine that the navigation object starts partially
Play duration in direction from the reference route.
With continued reference to Fig. 2, navigation object it is current by way of C points when, the angle angle [alpha] is more than 90 degree, now starts to remember
Record time parameter.Then, the navigation object continues on arrival C ' points, now, line of the C ' points with departure place A points
Angle angle between AC ' and the reference route is α ', it is assumed that the angle angle [alpha] ' also greater than 90 degree.Can be with from Fig. 2
Find out, when navigation object is from during C points advance to C ' points, the navigation object and departure place A line and the benchmark
Angle angle between route is greater than 90 degree all the time, i.e., in this period parameter t, the angle offset parameter is both greater than
Angle threshold.It should be noted that the angle threshold (90 degree) set by the present embodiment is only reference value, in actual applications,
Other angle values can also be set as the angle threshold.
Then, when the time parameter is more than very first time threshold value and less than the second time threshold, instruction is issued the user with
Information, wherein the configured information is used for direction (the i.e. step for indicating that the navigation object revert to the reference route
S5)。
In the present embodiment, the very first time threshold value and the second time threshold can the length based on the reference route
To determine.Generally, if the distance between departure place and destination are more remote, i.e., the length of described reference route is longer, then can be with
Determine that the time of the very first time threshold value and the second time threshold is longer.And if the distance between departure place and destination compared with
Closely, i.e., the length of described reference route is shorter, then can determine time of the very first time threshold value and the second time threshold compared with
It is short.In other embodiments, the very first time threshold value and the second time threshold can also the length based on navigation way come really
It is fixed.Further, the very first time threshold value is less than second time threshold,
The time parameter t obtained according to above-mentioned steps S4, if the time parameter t is more than the set very first time
Threshold value and less than the second time threshold, it is believed that although the navigation object has deviateed the direction of reference route, offset is not
Greatly, therefore by issuing the user with configured information the direction for guiding user to make the navigation object revert to reference route again
On.Wherein, the mode for issuing the user with configured information can be that the configured information directly is included into the display in guider
On device, or by configured information described in player voice broadcast, but not limited to this.
In the present embodiment, the configured information can be turn information, and navigation object is to the left or to the right as described in indicating
Turn to be returned on the direction of reference route;Can also be directional information, indicate as described in navigation object along West Nanjing Road to
Head west and sail etc. to be returned on the direction of reference route;Or information of place names is can also be, before indicating that the navigation object reaches
Four Seasons Hotel etc. at 500 meters of side is to be returned to the direction of reference route, but the configured information not limited to this.Configured information can
To guide navigation object to come back on the direction of the reference route (the AB straightways 00 in such as Fig. 2) in time, thus not
Navigation way must be recalculated, so as to reduce the amount of calculation of guider.
Further, as described in step S6, when the time parameter is more than second time threshold, based on the navigation
The current location information of object redefines navigation way with the destination.
In the present embodiment, specifically, now think that the navigation object much deviate from the reference route, at this
Plant under situation, if can on the direction of reference route by guiding user the navigation object is revert to again by configured information again
It can need to take a long time.
Therefore, in the present embodiment, when it is determined that the time parameter t is then led more than second time threshold according to
Navigate the current coordinate information on the electronic map of object and coordinate information weight of the destination on the electronic map
It is new to determine navigation way.In other words, as guider is by using the current location of the navigation object as starting point, with described
Destination (i.e. original destination B) is that terminal recalculates a bar navigation route.Wherein, the navigation way of recalculating
Process is known to the skilled person technology, will not be described here.
It should be noted that in actual applications, when the time parameter is more than very first time threshold value and is less than second
Between threshold value, guider will send configured information, and indicate that the navigation object will be revert on the direction of reference route.But if with
When family does not follow the guide of the configured information, it may result in the navigation object and further offset from the reference route
Direction, so that away from destination.Now, will be according to the current of the navigation object according to technical solution of the present invention guider
Navigation way is recalculated in position and destination, and such navigation object can just be arrived at according to new navigation way.
The embodiment of the present invention additionally provides a kind of guider, as shown in Fig. 3 a kind of of the invention guider
The structural representation of specific embodiment.
With reference to Fig. 3, the guider 1 includes:Drawing unit 11, for drawing navigation object on the electronic map from going out
The reference route of hair ground to destination;Position determination unit 12, the current location information for determining the navigation object;Angle
Parameter determination unit 13, the current location information determination of the navigation object for being determined based on the position determination unit 12 is described
Angle offset parameter of the navigation object relative to the reference route;Time parameter determining unit 14, for when angle ginseng
When the angle offset parameter that number determining unit 13 is determined is more than angle threshold, start recording time parameter, wherein, the time ginseng
The number mark angle offset parameter is more than the time of angle threshold;Indicating member 15, for when the time parameter unit 14
The time parameter of determination is more than very first time threshold value and less than the second time threshold, configured information is issued the user with, wherein described
Configured information is used to indicate that the navigation object revert to the direction of the reference route;And computing unit 16, for working as
The time parameter that the time parameter unit 14 is determined is more than second time threshold, the present bit based on the navigation object
Confidence ceases redefines navigation way with the destination.
In a particular embodiment, the navigation object is to be mounted with the guider 1 on automobile, the automobile, is user
Driving provides navigation way.Generally after user opens guider 1, the guider 1 is by by built-in
It is current that gps receiver (can be the position determination unit 12 in the present embodiment) obtains automobile (i.e. described navigation object) automatically
The position at place, usual position can be used as departure place.Then, user is defeated on the display (not shown) of guider 1
Enter destination, wherein the destination can be specific road name and guideboard number (such as crossdrift No. 211 all the way), can also be tool
Body place (such as Four Seasons Hotel).
One reference route, the base are drawn by the drawing unit 11 on the electronic map according to departure place and destination
Quasi- route be one using departure place and destination as the straightway of two-end-point, identify the direction from starting point to destination.Need
It is noted that reference route here, which is not guider, calculates the obtained navigation road from the departure place to destination
Line.In actual applications, the colouring discrimination of the reference route shown on guider display in navigation way, in order to
The user discrimination reference route.
Then, the current location information of the navigation object is measured by the position determination unit 12, and shown
Show on the electronic map.The current location information includes the coordinate information navigation object on the electronic map.This area
Technical staff understands that the current location of the navigation object typically got by gps receiver is come table by gps coordinate
Show, the gps coordinate is built upon in the coordinate system of real world, represented by two parameters of longitude and latitude.Navigation dress
Put needs and the gps coordinate is converted into local Gauss plane coordinate, to realize gps coordinate correct in electronic map
Match somebody with somebody.The process that specific gps coordinate is converted into local Gauss plane coordinate is technology as well known to those skilled in the art, is refused herein
Repeat.
Then, the navigation object determined by the angle parameter determining unit 13 based on the position determination unit 12
Current location information determines angle offset parameter of the navigation object relative to the reference route.Specifically, according to described
The current coordinate information on the electronic map of navigation object, determines line and institute of the navigation object with the departure place
State the angle angle between reference route;Based on navigation object described in the angle angle-determining relative to the reference route
Angle offset parameter.
Then, when the angle offset parameter that the angle parameter determining unit 13 is determined is more than angle threshold, institute is passed through
The start recording time parameter of time parameter determining unit 14 is stated, wherein, it is big that the time parameter identifies the angle offset parameter
In the time of angle threshold.In actual applications, in the guider 1, the time parameter determining unit 14 can be
One timer, when the angle offset parameter that the angle parameter determining unit 13 is determined is more than angle threshold, starts the meter
When device start timing, until the angle parameter determining unit 13 determine angle offset parameter be less than angle threshold when, the meter
When device stop timing, so that it is determined that the time parameter.In the present embodiment, the angle offset parameter is more than angle threshold
Refer to the angle angle more than the angle threshold.The angle threshold is right angle.
When the time parameter that the time parameter unit 14 is determined is more than very first time threshold value and less than the second time threshold,
Configured information is issued the user with by the indicating member 15, wherein the configured information is used to indicate that the navigation object is returned
Onto the direction of the reference route.In the present embodiment, the very first time threshold value and second time threshold are based on described
The length of reference route is determined.In the present embodiment, the configured information includes turning prompt message, direction prompt message
And/or information of place names.
When the time parameter that the time parameter unit 14 is determined is more than second time threshold, calculate single by described
Member 16 is according to the current coordinate information on the electronic map of the navigation object with the destination in the electronic map
On coordinate information redefine navigation way, wherein the navigation way is using the current location of the navigation object as starting point,
Using the destination as terminal.
The specific implementation process of unit may be referred to the embodiment described in Fig. 1 and Fig. 2 in above-mentioned guider 1,
It will not be repeated here.
In summary, the present invention by drawing benchmark road of the navigation object from departure place to destination on the electronic map
Line, and the current location information of the navigation object is obtained in real time, in the current location of the navigation object relative to the base
When the angle offset parameter of quasi- route is more than angle threshold, that is, think that the navigation object deviate from the direction of reference route, this
When need further to consider that the navigation object deviates the time in reference route direction, i.e. start recording time parameter, wherein institute
State time parameter and the time that the angle offset parameter is more than angle threshold is identified by the time parameter;When time ginseng
Number issues the user with configured information, wherein the configured information is used for more than very first time threshold value and less than the second time threshold
Indicate that the navigation object is revert on the direction of the reference route.
Further, when the time parameter is more than second time threshold, then it is assumed that the current position of navigation object
The direction that much deviate from and arrive at is put, consumption may be needed due to being travelled according still further to existing navigation way to destination
Take more times, therefore a new navigation way at this moment redefined according to the current location and destination of navigation object,
So that navigation object can be arrived at as early as possible.
In a particular embodiment, guider is believed by the current coordinate on the electronic map of the navigation object
Breath, determines the angle angle between the navigation object and the departure place or the line and the reference route of destination;Base
In angle offset parameter of the navigation object relative to the reference route described in the angle angle-determining.Further, it is described
Very first time threshold value and the second time threshold can be determined based on the length of the reference route.
Using the technical program so that:When the current location of navigation object deviate from the direction of reference route, enter one
Step takes time factor into consideration, i.e., described navigation object deviates the time in reference route direction;Deviate base in the navigation object
In the case that the time of quasi- route direction is not oversize, user can obtain the prompt message of correlation in time, to continue according to existing
Navigation way arrive at;And the navigation object deviate time in reference route direction it is very long in the case of,
Guider can also provide a user the new navigation way of a current location and destination based on navigation object, with
Just user can arrive at according to new navigation way.
Although the present invention is disclosed as above with preferred embodiment, it is not for limiting the present invention, any this area
Technical staff without departing from the spirit and scope of the present invention, may be by the methods and techniques content of the disclosure above to this hair
Bright technical scheme makes possible variation and modification, therefore, every content without departing from technical solution of the present invention, according to the present invention
Any simple modifications, equivalents, and modifications made to above example of technical spirit, belong to technical solution of the present invention
Protection domain.