The content of the invention
In view of the above problems, it is proposed that the present invention so as to provide one kind overcome above mentioned problem or at least in part solve on
State a kind of air navigation aid and device of problem.
According to one aspect of the present invention, there is provided a kind of air navigation aid, including:
When terminal detects signal projector, the first position information of the signal projector is obtained;
The second place information of the terminal is obtained by GPS location;
Calculated according to the first position information and the second place information between the signal projector and terminal
Distance;
When distance between the signal projector and terminal exceedes pre-determined distance, according to the first position information pair
The second place information is corrected;
Navigation way is determined according to the second place information after correction and the positional information of destination, to realize navigation.
Alternatively, the positional information of the second place information and destination according to after correction determines navigation way, enters
One step includes:
According to the second place information after correction and the positional information of destination generation m bar navigation routes, led from the m bars
The most short navigation way of road surface distance is chosen in the line of air route, and is led using the most short navigation way of the road surface distance as what is determined
Air route line, the m are the integer more than or equal to 2;
Or,
According to the second place information after correction and the positional information of destination generation m bar navigation routes, led from the m bars
Choose the minimum navigation way of traffic congestion index in the line of air route, and using the minimum navigation way of the traffic congestion index as
The navigation way of determination;
Or,
According to the second place information after correction and the positional information of destination generation m bar navigation routes, led from the m bars
It will be handed in the line of air route according to road surface distance from n bar navigation routes before long order is chosen are short in the preceding n bar navigations route of selection
For the minimum navigation way of logical congestion index as the navigation way determined, the n is the integer more than or equal to 1, and less than m.
Alternatively, methods described also includes:
The navigation way is shown in electronic map.
Alternatively, the first position information for obtaining the signal projector, further comprises:
The mark of the signal projector is obtained, according to the mark of the signal projector by mapping relationship searching
The first position information of signal projector, the mapping relations include:Corresponding relation between mark and positional information.
Alternatively, it is described that the second place information is corrected according to the first position information, further comprise:
Using the first position information as the second place information, to realize the school to the second place information
Just.
Alternatively, the pre-determined distance for signal projector institute transmission signal maximum distance.
Alternatively, the signal projector is ibeacon transmitters.
According to another aspect of the present invention, there is provided a kind of guider, it is arranged in terminal, including:
First position acquiring unit, suitable for when terminal detects signal projector, obtaining the of the signal projector
One positional information;
Second place acquiring unit, suitable for obtaining the second place information of the terminal by GPS location;
Metrics calculation unit, sent out suitable for calculating the signal according to the first position information and the second place information
The distance between emitter and terminal;
Information correction unit, when exceeding pre-determined distance suitable for the distance between the signal projector and terminal, according to
The first position information is corrected to the second place information;
Route determining unit, suitable for determining navigation road according to the positional information of the second place information after correction and destination
Line, to realize navigation.
Alternatively, the route determining unit, it is further adapted for according to the second place information after correction and destination
Positional information generates m bar navigation routes, chooses the most short navigation way of road surface distance from the m bar navigations route, and by institute
The most short navigation way of road surface distance is stated as the navigation way determined, the m is the integer more than or equal to 2;
Or,
According to the second place information after correction and the positional information of destination generation m bar navigation routes, led from the m bars
Choose the minimum navigation way of traffic congestion index in the line of air route, and using the minimum navigation way of the traffic congestion index as
The navigation way of determination;
Or,
According to the second place information after correction and the positional information of destination generation m bar navigation routes, led from the m bars
It will be handed in the line of air route according to road surface distance from n bar navigation routes before long order is chosen are short in the preceding n bar navigations route of selection
For the minimum navigation way of logical congestion index as the navigation way determined, the n is the integer more than or equal to 1, and less than m.
Alternatively, described device also includes:
Route display unit, suitable for being shown in electronic map to the navigation way.
Alternatively, the first position acquiring unit, it is further adapted for obtaining the mark of the signal projector, according to institute
The mark for stating signal projector passes through the first position information of signal projector described in mapping relationship searching, the mapping relations bag
Include:Corresponding relation between mark and positional information.
Alternatively, described information correction unit, is further adapted for using the first position information as the second place
Information, to realize the correction to the second place information.
Alternatively, the pre-determined distance for signal projector institute transmission signal maximum distance.
Alternatively, the signal projector is ibeacon transmitters.
The present invention is no longer directly navigated using the positional information of GPS location, but first passes through the position of signal projector
Confidence breath judges whether GPS location is accurate, and in inaccuracy, GPS location is obtained according to the positional information of signal projector
Positional information is corrected, and is navigated using the positional information after correction, is avoided GPS location to a certain extent and is forbidden
The problem of, improve navigation accuracy and Consumer's Experience.
Embodiment
With reference to the accompanying drawings and examples, the embodiment of the present invention is described in further detail.Implement below
Example is used to illustrate the present invention, but is not limited to the scope of the present invention.
Fig. 1 is the flow chart of the air navigation aid of one embodiment of the present invention;Reference picture 1, methods described includes:
S101:When terminal detects signal projector, the first position information of the signal projector is obtained;
It should be noted that the executive agent of the method for present embodiment is terminal, the terminal be automobile navigation apparatus,
The equipment such as wearable smart machine, mobile phone, tablet personal computer, palm PC PDA or notebook, can also be that other have class certainly
Like the equipment of function, present embodiment is not any limitation as to this.
In the specific implementation, the first position information can be latitude and longitude information, certainly, or other information, this reality
Mode is applied not to be any limitation as this.
S102:The second place information of the terminal is obtained by GPS location;
It will be appreciated that be generally equipped with GPS location function in terminal, so, can open a terminal on GPS location work(
Can, the second place information of the terminal is obtained by GPS location, because GPS location is thicker or intelligent terminal is built in cloud layer
Build when thing blocks, it is understood that there may be the problem of positioning is inaccurate, so, the second place information, which differs, is set to the terminal
Residing actual position, certainly, the second place information are alternatively latitude and longitude information, certainly, or other information, this reality
Mode is applied not to be any limitation as this.
S103:According to the first position information and the second place information calculate the signal projector and terminal it
Between distance;
It should be noted that after first position information and second place information is obtained, can be believed according to the first position
Breath and the second place information calculate the distance between described signal projector and terminal, certainly, described information transmitter and
The distance between terminal is only the distance calculated by first position information and second place information, and not described terminal
Actual range between signal projector.
S104:When distance between the signal projector and terminal exceedes pre-determined distance, according to the first position
Information is corrected to the second place information;
In the specific implementation, the pre-determined distance can be configured as needed, but because terminal is able to detect that signal
Transmitter, the actual range between the terminal and signal projector should be no more than signal projector institute transmission signal
Maximum distance, adequately judging whether GPS location is accurate, so, in present embodiment, the pre-determined distance can be arranged to
The maximum distance of signal projector institute transmission signal, certainly, may also be configured to other values, present embodiment is not subject to this
Limitation.
It is not road it should be understood that by the maximum distance of signal projector institute transmission signal is air line distance
Identity distance from wait other with a distance from, so, in present embodiment, the distance between the signal projector and terminal be first position letter
Air line distance between breath and second place information.
It should be noted that when the distance between the signal projector and terminal exceedes pre-determined distance, it will be appreciated that be,
GPS location is forbidden, and now, the second place information can be corrected by the first position information, and by after correction
Positional information of the second place information as the terminal.
It will be appreciated that when the distance between the signal projector and terminal is not less than pre-determined distance, it will be appreciated that be,
GPS location is accurate, correspondingly, can directly using GPS location obtain second place information as the terminal positional information.
S105:Navigation way is determined according to the second place information after correction and the positional information of destination, led with realizing
Boat.
In the specific implementation, in the second place information after using correction as the positional information of the terminal after, you can root
Navigation way is determined according to the positional information of the terminal and the positional information of destination.
It will be appreciated that check the navigation way for the ease of user, can be right in electronic map in present embodiment
The navigation way is shown.
It should be noted that the positional information of the destination can be inputted by user when starting and navigating, also can be by user
Inputted in navigation procedure, present embodiment is not any limitation as to this.
Present embodiment is no longer directly navigated using the positional information of GPS location, but first passes through signal projector
Positional information judge whether GPS location accurate, in inaccuracy, GPS location is obtained according to the positional information of signal projector
The positional information taken is corrected, and is navigated using the positional information after correction, avoids GPS location to a certain extent
The problem of inaccurate, improve navigation accuracy and Consumer's Experience.
Fig. 2 is the flow chart of the air navigation aid of one embodiment of the present invention;Reference picture 2, methods described includes:
S201:When terminal detects signal projector, the first position information of the signal projector is obtained;
S202:The second place information of the terminal is obtained by GPS location;
S203:According to the first position information and the second place information calculate the signal projector and terminal it
Between distance;
S204:When distance between the signal projector and terminal exceedes pre-determined distance, according to the first position
Information is corrected to the second place information;
Step S201~S204 is identical with step S101~S104 of the embodiment shown in Fig. 1, will not be repeated here.
S205:According to the second place information after correction and the positional information of destination generation m bar navigation routes, from described
The most short navigation way of road surface distance is chosen in m bar navigation routes, and using the most short navigation way of the road surface distance as really
Fixed navigation way, to realize navigation, the m is the integer more than or equal to 2.
It will be appreciated that it can generally be generated according between the second place information and the positional information of destination after correction
M bar navigation routes, the m are the integer more than or equal to 2, if determining at random, a bar navigation route, can for the navigation way determined
The navigation way that can make determination is the longer route of road surface distance, adds time cost and the oil consumption of user, reduces use
Family is experienced, and to avoid the problem, in present embodiment, can determine the road surface distance of m bar navigation routes respectively, and by road surface distance
Most short navigation way is as the navigation way determined.
Fig. 3 is the flow chart of the air navigation aid of one embodiment of the present invention;Reference picture 3, methods described includes:
S301:When terminal detects signal projector, the first position information of the signal projector is obtained;
S302:The second place information of the terminal is obtained by GPS location;
S303:According to the first position information and the second place information calculate the signal projector and terminal it
Between distance;
S304:When distance between the signal projector and terminal exceedes pre-determined distance, according to the first position
Information is corrected to the second place information;
Step S301~S304 is identical with step S101~S104 of the embodiment shown in Fig. 1, will not be repeated here.
S305:According to the second place information after correction and the positional information of destination generation m bar navigation routes, from described
Choose the minimum navigation way of traffic congestion index in m bar navigation routes, and by the minimum navigation road of the traffic congestion index
Line is as the navigation way determined, and to realize navigation, the m is the integer more than or equal to 2.
It will be appreciated that because the traffic conditions in some cities are bad, and the jam situation of every route differs, if with
The navigation way that machine determines a bar navigation route to determine, the navigation way of determination may be made for the road of more jam situation
Line, has had a strong impact on the driving experience of user, and adds time cost and the oil consumption of user, reduces Consumer's Experience, this
In embodiment, the minimum navigation way of traffic congestion index can be chosen from the m bar navigations route, and the traffic is gathered around
The minimum navigation way of stifled index is as the navigation way determined.
It should be noted that because the jam situation of every road differs, so, it can first obtain every bar navigation route
Included road, and the congestion index per road included by bar navigation route is searched respectively, respectively to every bar navigation route institute
Congestion index including road is summed, using the navigation that the minimum navigation way of summed result is minimum as traffic congestion index
Route.
Fig. 4 is the flow chart of the air navigation aid of one embodiment of the present invention;Reference picture 4, methods described includes:
S401:When terminal detects signal projector, the first position information of the signal projector is obtained;
S402:The second place information of the terminal is obtained by GPS location;
S403:According to the first position information and the second place information calculate the signal projector and terminal it
Between distance;
S404:When distance between the signal projector and terminal exceedes pre-determined distance, according to the first position
Information is corrected to the second place information;
Step S401~S404 is identical with step S101~S104 of the embodiment shown in Fig. 1, will not be repeated here.
S405:According to the second place information after correction and the positional information of destination generation m bar navigation routes, from described
According to road surface distance from n bar navigation routes before long order is chosen are short in m bar navigation routes, by the preceding n bar navigations road of selection
The minimum navigation way of traffic congestion index is as the navigation way determined in line, and to realize navigation, the m is more than or equal to 2
Integer, the n be more than or equal to 1, and less than m integer.
It will be appreciated that to ensure that the navigation way determined is optimal navigation way, in present embodiment, according to correction
Second place information afterwards and the positional information generation m bar navigation routes of destination, according to road surface from the m bar navigations route
Distance n bar navigation routes before long order selection is short to are minimum by traffic congestion index in the preceding n bar navigations route of selection
Navigation way is as the navigation way determined, in the case where meeting road surface distance as far as possible, from the navigation road for meeting road surface distance
The minimum navigation way of traffic congestion index is selected in line, time cost and the oil consumption of user can be effectively reduced, improve use
Experience at family.
Fig. 5 is the flow chart of the air navigation aid of one embodiment of the present invention;Reference picture 5, methods described includes:
S501:When terminal detects signal projector, the mark of the signal projector is obtained, is sent out according to the signal
The mark of emitter passes through the first position information of signal projector described in mapping relationship searching, and the mapping relations include:Mark
Corresponding relation between positional information;
It will be appreciated that different signal projectors has different marks, the mark can use and be similar to MAC Address
Or the hardware identifier such as general unique identifier (Universally Unique Identifier, UUID), certainly, it can also use
Other marks that can be made a distinction to unlike signal transmitter, present embodiment are without restriction to this.
It will be appreciated that for ease of searching the first position information of the signal projector, the mapping can be pre-established
Relation.
In the specific implementation, the mapping relations can be stored in local, that is to say, that the mapping relations are stored in terminal
In, it can so ensure rapidly to search first position information, but so can be of a relatively high to the memory requirement of terminal.
In addition, the mapping relations can be also stored in location server, that is to say, that the terminal can be by the signal
The mark of transmitter is sent to location server, receives the first position information fed back by location server, such terminal without
Storage mapping relation is needed, but so needs holding fix server feedback first position information, is existed for network transfer speeds
High requirements.
S502:The second place information of the terminal is obtained by GPS location;
S503:According to the first position information and the second place information calculate the signal projector and terminal it
Between distance;
Step S502~S503 is identical with step S102~S103 of the embodiment shown in Fig. 1, will not be repeated here.
S504:When distance between the signal projector and terminal exceedes pre-determined distance, the first position is believed
Breath is used as the second place information, to realize the correction to the second place information;
In the specific implementation, the signal projector can use ibeacon transmitters, correspondingly, the signal receiver
Ibeacon receivers can be used, because ibeacon is to carry out accurate micro- location technology by low-power consumption bluetooth, so, it is described
Signal projector can easily set farthest transmission range when using ibeacon transmitters by adjusting Bluetooth power consumption.
It will be appreciated that if the maximum distance of signal projector institute transmission signal is too small, one is covered making signal projector
, it is necessary to lay excessive signal projector during panel region, cause cost higher, if the most long distance of signal projector institute transmission signal
It from excessive, can influence to correct the precision of the positional information of GPS location, in present embodiment, the signal projector can be sent out
The maximum distance for penetrating signal is arranged to 30~50 meters, certainly, may also be configured to other values, present embodiment is not limited this
System.
It should be noted that by the maximum distance of signal projector institute transmission signal is generally smaller, so, in school
Timing, can directly using the first position information as the second place information, certainly, can also by other correcting modes,
Present embodiment is not any limitation as to this.
S505:Navigation way is determined according to the second place information after correction and the positional information of destination, led with realizing
Boat.
Step S505 is identical with the step S105 of the embodiment shown in Fig. 1, will not be repeated here.
For embodiment of the method, in order to be briefly described, therefore it is all expressed as to a series of combination of actions, but this area
Technical staff should know that the embodiment of the present invention is not limited by described sequence of movement, because implementing according to the present invention
Example, some steps can use other orders or carry out simultaneously.Secondly, those skilled in the art should also know, specification
Described in embodiment belong to preferred embodiment, necessary to the involved action not necessarily embodiment of the present invention.
Fig. 6 is the structured flowchart of the guider of one embodiment of the present invention;Reference picture 6, described device, is arranged at end
On end, including:
First position acquiring unit 601, suitable for when terminal detects signal projector, obtaining the signal projector
First position information;
Second place acquiring unit 602, suitable for obtaining the second place information of the terminal by GPS location;
Metrics calculation unit 603, suitable for calculating the letter according to the first position information and the second place information
The distance between number transmitter and terminal;
Information correction unit 604, when exceeding pre-determined distance suitable for the distance between the signal projector and terminal, root
The second place information is corrected according to the first position information;
Route determining unit 605, suitable for determining to lead according to the positional information of the second place information after correction and destination
Air route line, to realize navigation.
In a kind of alternative embodiment of the present invention, the route determining unit, it is further adapted for according to the after correction
Two positional informations and the positional information of destination generation m bar navigation routes, road surface distance is chosen most from the m bar navigations route
Short navigation way, and using the most short navigation way of the road surface distance as determine navigation way, the m be more than or equal to
2 integer;
Or,
According to the second place information after correction and the positional information of destination generation m bar navigation routes, led from the m bars
Choose the minimum navigation way of traffic congestion index in the line of air route, and using the minimum navigation way of the traffic congestion index as
The navigation way of determination;
Or,
According to the second place information after correction and the positional information of destination generation m bar navigation routes, led from the m bars
It will be handed in the line of air route according to road surface distance from n bar navigation routes before long order is chosen are short in the preceding n bar navigations route of selection
For the minimum navigation way of logical congestion index as the navigation way determined, the n is the integer more than or equal to 1, and less than m.
In a kind of alternative embodiment of the present invention, described device also includes:
Route display unit, suitable for being shown in electronic map to the navigation way.
In a kind of alternative embodiment of the present invention, the first position acquiring unit, it is further adapted for obtaining the letter
The mark of number transmitter, first that signal projector described in mapping relationship searching is passed through according to the mark of the signal projector
Confidence ceases, and the mapping relations include:Corresponding relation between mark and positional information.
In a kind of alternative embodiment of the present invention, described information correction unit, it is further adapted for the first position
Information is as the second place information, to realize the correction to the second place information.
The present invention a kind of alternative embodiment in, the pre-determined distance for signal projector institute transmission signal most
At a distance.
In a kind of alternative embodiment of the present invention, the signal projector is ibeacon transmitters.
For device embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, it is related
Part illustrates referring to the part of embodiment of the method.
It should be noted that in all parts of the device of the present invention, according to the function that it to be realized to therein
Part has carried out logical partitioning, and still, the present invention is not only restricted to this, all parts can be repartitioned as needed or
Person combines, for example, can be single part by some component combinations, or can be further broken into some parts more
Subassembly.
The all parts embodiment of the present invention can be realized with hardware, or to be run on one or more processor
Software module realize, or realized with combinations thereof.It will be understood by those of skill in the art that it can use in practice
Microprocessor or digital signal processor (DSP) realize some or all portions in device according to embodiments of the present invention
The some or all functions of part.The present invention is also implemented as the part or complete for performing method as described herein
The equipment or program of device (for example, computer program and computer program product) in portion.Such program for realizing the present invention
It can store on a computer-readable medium, or can have the form of one or more signal.Such signal can be with
Download and obtain from internet website, either provide on carrier signal or provided in the form of any other.
It should be noted that the present invention will be described rather than limits the invention for above-described embodiment, and ability
Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference symbol between bracket should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not
Element or step listed in the claims.Word "a" or "an" before element does not exclude the presence of multiple such
Element.The present invention can be by means of including the hardware of some different elements and being come by means of properly programmed computer real
It is existing.In if the unit claim of equipment for drying is listed, several in these devices can be by same hardware branch
To embody.The use of word first, second, and third does not indicate that any order.These words can be explained and run after fame
Claim.
Embodiment of above is only of the invention suitable for explanation, and not limitation of the present invention, about the common of technical field
Technical staff, without departing from the spirit and scope of the present invention, it can also make a variety of changes and modification, thus it is all
Equivalent technical scheme falls within scope of the invention, and scope of patent protection of the invention should be defined by the claims.