CN102901501B - Target position query method and server - Google Patents

Target position query method and server Download PDF

Info

Publication number
CN102901501B
CN102901501B CN201110210182.1A CN201110210182A CN102901501B CN 102901501 B CN102901501 B CN 102901501B CN 201110210182 A CN201110210182 A CN 201110210182A CN 102901501 B CN102901501 B CN 102901501B
Authority
CN
China
Prior art keywords
target location
descriptor
user
crossing
current position
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201110210182.1A
Other languages
Chinese (zh)
Other versions
CN102901501A (en
Inventor
李伟冬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba China Co Ltd
Original Assignee
Autonavi Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Autonavi Software Co Ltd filed Critical Autonavi Software Co Ltd
Priority to CN201110210182.1A priority Critical patent/CN102901501B/en
Publication of CN102901501A publication Critical patent/CN102901501A/en
Application granted granted Critical
Publication of CN102901501B publication Critical patent/CN102901501B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Navigation (AREA)

Abstract

The embodiment of the present invention provides a kind of target position query method and server, wherein, target position query method comprises: the location request message receiving the descriptor being used for the target location that acquisition request user will arrive, and described location request message comprises: the mark of the target location that the descriptor of the current position of user and user will arrive; According to the descriptor of the current position of described user and the mark of target location, obtain the descriptor of described target location, the descriptor of described target location comprises: target location is relative to the direction descriptor of the current position of user and the current position of the user distance descriptor to target location.Adopt technique scheme, target location can be got to the relative direction of the current position of user and target location to the range information of the current position of user, enable user find target location fast.

Description

Target position query method and server
Technical field
The present invention relates to technical field of information processing, particularly a kind of target position query method and server.
Background technology
In inquiry application in the target location that current user will arrive, to the address information that the description of target location generally adopts government offices to formulate, it mainly comprises administrative division title, street name, number etc., as " No. 3, Suzhou Street, Haidian District, Beijing City ", " No.2699, Qianjin Avenue, Changchun City, Jilin Province ".
Because China is with a long history, the name of address is often with very strong human driving factors, belong to the customary nomenclature of people, not through the design of any science, so the regularity of China's address name is poor, such as, same word may indicate a street, also can indicate a place name or a cell name.And there is the discontinuous situation of house number.
Prior art has following shortcoming:
In prior art, in the inquiry application in target location, even if inquiry system provides the specific address of this target location, because the regularity of this address is poor, user is also difficult to fast to this target location.
Summary of the invention
The embodiment of the present invention provides a kind of target position query method and server, can get target location to the relative direction of the current position of user and target location to the range information of the current position of user, enable user find target location fast.
In view of this, the embodiment of the present invention provides:
A kind of target position query method, comprising:
Receive the location request message of the descriptor being used for the target location that acquisition request user will arrive, described location request message comprises: the mark of the target location that the descriptor of the current position of user and user will arrive;
According to the descriptor of the current position of described user and the mark of target location, obtain the descriptor of described target location, the descriptor of described target location comprises: target location is relative to the direction descriptor of the current position of user and the current position of the user distance descriptor to target location.
A kind of server, comprising:
Receiving element, for receiving the location request message of the descriptor of the target location that will arrive for acquisition request user, described location request message comprises: the mark of the target location that the descriptor of the current position of user and user will arrive;
Acquiring unit, for according to the descriptor of the current position of described user and the mark of target location, obtain the descriptor of described target location, the descriptor of described target location comprises: target location is relative to the direction descriptor of the current position of user and the current position of the user distance descriptor to target location.
The descriptor of the embodiment of the present invention according to the current position of user and the mark of target location, obtain target location relative to the direction descriptor of the current position of user and the current position of the user distance descriptor to target location, the descriptor of this target location can make user find target location fast.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme of the embodiment of the present invention, be briefly described to the accompanying drawing used required in embodiment below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of target position query method process flow diagram that the embodiment of the present invention one provides;
Fig. 2 is a kind of target position query method process flow diagram that the embodiment of the present invention two provides;
Fig. 3 is the structural drawing of the server that the embodiment of the present invention three provides.
Embodiment
Embodiment one:
Consult Fig. 1, the embodiment of the present invention one provides a kind of target position query method, and it mainly comprises:
101, receive the location request message of the descriptor being used for the target location that acquisition request user will arrive, described location request message comprises: the mark of the target location that the descriptor of the current position of user and user will arrive.
Wherein, in this embodiment, the executive agent of each step can be called server.Wherein, the mark of target location can uniquely point to this target location, and it can be the title, phone etc. of target location.Under normal circumstances, target location can be a point of interest (PointofInterest, POI), the title of mark this POI preferred of target location.
Wherein, the descriptor of the current position of user can be GPS (GlobalPositioningSystem, the GPS) coordinate of the current position of user.
102, according to the descriptor of the current position of described user and the mark of target location, obtain the descriptor of described target location, the descriptor of described target location comprises: target location is relative to the direction descriptor of the current position of user and the current position of the user distance descriptor to target location.
In this step, server according to the mark of target location, can determine the gps coordinate of target location, then according to the gps coordinate of the current position of user and the gps coordinate of target location, obtains the descriptor of target location.
Wherein, target location relative to the obtain manner of the direction descriptor of the current position of user is: determine that the line direction of the current position of described user to target location is relative to the anglec of rotation of predetermined direction in the clockwise direction or in counter clockwise direction; Determine the direction of the described target location corresponding to the described anglec of rotation relative to the current position of user; Obtain the direction descriptor of described target location relative to the current position of user.Wherein, predetermined direction can be direct north, Due South to or user's working direction.
Wherein, conveniently user finds target location fast and accurately, and the descriptor of this target location also comprises: the descriptor of the peripheral path of target location, the reference point of interest of target location periphery, and/or the descriptor at the crossing of target location periphery.Subsequent embodiment is specifically by the direction descriptor of target location relative to the current position of user, the current position of user is to the distance descriptor of target location, the descriptor of the peripheral path of target location, the reference point of interest of target location periphery, and the concrete obtain manner of the descriptor at the crossing of target location periphery describes in detail.
Concrete, in step 101, receiving position request message specifically can in the following way:
First kind of way: the location request message that server receives client sends.Wherein, client is the vehicle-mounted end at user place.
The second way: server receives the location request message of staff's input, this mode is applicable to following situation: the staff of user's call server side, the staff of the mark Tell server side of the target location that the descriptor of current for user position and user will be arrived, the staff of server side inputs above-mentioned location request message to server.
The descriptor of server according to the current position of user and the mark of target location in the embodiment of the present invention, obtain target location relative to the direction descriptor of the current position of user and the current position of the user distance descriptor to target location, the descriptor of this target location can make user find target location fast.
Embodiment two:
Consult Fig. 2, the technical scheme provided to make the above embodiment of the present invention is clearly understood, the technical scheme provided above-described embodiment describes in detail by the embodiment of the present invention two:
201, server receives the location request message that vehicle-mounted end sends, and this location request message is used for the descriptor of the target location that acquisition request user will arrive.Wherein, this location request message comprises: the title of the target location that the gps coordinate of the current position of user, the working direction of user and user will arrive.
Wherein, the working direction of user is the GPS direction that user advances, the mode that concrete vehicle-mounted end obtains this GPS direction is as follows: vehicle-mounted end measures the gps coordinate of user's several points of movement within a period of time, and according to these gps coordinate determination straight lines, the direction of this straight line is GPS direction.
202, server determines the direction of target location relative to the current position of user, obtains the direction descriptor of described target location relative to the current position of user.
Wherein, the gps coordinate of server according to the current position of user and the gps coordinate of target location, determine the direction of target location relative to the current position of user.
Wherein, in a kind of embodiment, can determine that the line direction of the current position of user to target location is relative to user's working direction anglec of rotation in the clockwise direction, then according to first corresponding relation in preset angle and direction, determine the direction corresponding to this anglec of rotation, determined direction is the direction of target location relative to the current position of user;
In another kind of embodiment, determine that the line direction of the current position of user to target location is relative to user's working direction anglec of rotation in the counterclockwise direction, then according to second corresponding relation in preset angle and direction, determine the direction corresponding to this anglec of rotation, determined direction is the direction of target location relative to the current position of user.
In above-mentioned two kinds of embodiments, specifically can with the current position of user for true origin, the X-axis being coordinate system with the vertical direction of line direction before line direction, this user before user and Y-axis, in this coordinate system, ask the current position of user to the line direction of target location relative to user's working direction anglec of rotation in the clockwise direction, or, the current position of user to the line direction of target location relative to user's working direction anglec of rotation in the counterclockwise direction.
Wherein, first corresponding relation in preset angle and direction can as secondary series, the 3rd in table 1 arrange in corresponding relation.Concrete, direction descriptor can as shown in the 3rd row in table 1.
Table 1
203, server determines the distance of the current position of user to target location, obtains the distance descriptor of the current position of described user to target location.
Wherein, the gps coordinate of server according to the current position of user and the gps coordinate of target location, determine the distance of the current position of user to target location, wherein, the current position of user to the distance of target location is: the current position of user is to the air line distance of target location.
Concrete, when the current position of user is less than or equal to a rice to the air line distance of target location, this air line distance descriptor is: " near your current position ".Wherein, a is a predetermined numerical value, such as 150.In this case, the descriptor of target location only can comprise the air line distance descriptor of the current position of this user to target location, does not comprise other information, does not such as comprise the direction descriptor of above-mentioned target location relative to the current position of user.When the current position of user is greater than a rice to the air line distance of target location and is less than 1000 meters, this air line distance descriptor is: " be about b rice apart from your current position, wherein, b is the air line distance of the current position of user to target location.When the current position of user is greater than or equal to 1000 meters to the air line distance of target location, this air line distance descriptor is: " being about c kilometer apart from your current position ", and wherein, numerical value c comprises: integer-bit and a decimal place.C kilometer is that server is determined to the air line distance of target location according to the current position of user, if the current position of user is 1200 meters to the air line distance of target location, then this air line distance descriptor is: " apart from your about 1.2 kilometers, current position.”
204, server determines the peripheral path of target location, obtains the descriptor of the peripheral path of target location.
Concrete, server is according to the gps coordinate of target location, determine whether there is available roadways near target location, wherein, available roadways is and distance between target location is less than the road of first threshold, wherein, the distance between certain road and target location is the vertical range that this road is arrived in target location, if there is available roadways, if when target location is less than or equal to Second Threshold to the air line distance of the current position of user, determine the peripheral path of the minimum road of distance in each available roadways and between target location as target location, GPS due to vehicle-mounted end shows the current travel route of user always, and target location is when being less than or equal to Second Threshold to the air line distance of the current position of user, illustrate that the current position of distance users has been within sight in target location, now, now may be presented on vehicle-mounted end to the road that the vertical range of target location is minimum, be convenient to user and find target location.If when target location is greater than Second Threshold to the air line distance of the current position of user, searches the road that each available roadways middle grade is the highest, determine the peripheral path of at least one road in the road that the highest described grade as target location; Wherein, first threshold can be 500 meters, and Second Threshold can be 1000 meters.Target location illustrates that the current position of distance users, target location also has a segment distance when the air line distance of the current position of user is greater than Second Threshold, the travel direction of the vehicle-mounted end prompting user that is now more convenient for by road the highest grade notice vehicle-mounted end.
Concrete, according to the corresponding relation of such as following table 2 middle grade and category of roads, search the road that each available roadways middle grade is the highest.
Grade Category of roads
1 Highway
2 National highway
3 City expressway
4 City thoroughfare
5 City secondary distributor road
6 City ordinary road
7 Provincial highway
8 County road
9 Township highway
10 Village of counties and townships internal passageway
11 Path
Table 2
Wherein, determine that at least one road in the road that the highest grade as the mode of the peripheral path of target location can be: when the road that the highest grade is many, determine the peripheral path of the minimum road of distance in the road that the highest grade and between target location as target location.In another kind of embodiment, when the road that the highest grade is many, also can determine the peripheral path of the minimum and secondary little two road of distance in the road that the highest grade and between target location as target location.
If there is not available roadways near target location, then the peripheral path of target location need not be determined.
205, server determines the reference point of interest of target location periphery.
Concrete, the gps coordinate of server according to the current position of user and the gps coordinate of target location, determine that the air line distance of the current position of user is arrived in target location, when target location to the air line distance of the current position of user be greater than the 4th threshold value and exist the air line distance arriving target location be less than the point of interest of the 3rd threshold value time, be not less than lookup names in the point of interest of the 3rd threshold value in the air line distance arriving target location identical with the title of target location and there is not the available point of interest of relation of inclusion; Wherein, the 3rd threshold value can be 300 meters, and the 4th threshold value also can be 300 meters.Such as, the name of hypothetical target position is called: " Shenzhen University ", if the name of certain point of interest is called in " Shenzhen University hotel ", then this point of interest can not as available point of interest, because " Shenzhen University hotel " comprises " Shenzhen University ", " Shenzhen University hotel ", probably just in " Shenzhen University " the inside, even if so server provides this point of interest to vehicle-mounted end, subsequent user can not utilize this point of interest to find target location.
Wherein, it should be noted that, in the embodiment of the present invention, in the location request message that the vehicle-mounted end that server receives sends, carry the title of target location, so server can directly lookup names be identical with the title of target location and there is not the available point of interest of relation of inclusion in this step; If the mark of the target location of carrying in the location request message that the vehicle-mounted end that server receives sends is not the title of target location, but other information of target location, the telephone number etc. of such as target location, then determine the title of target location according to the mark of this target location, and then lookup names is not identical with the title of target location and there is not the available point of interest of relation of inclusion.
In a kind of concrete embodiment, the popularity of this available point of interest also needs the popularity higher than described target location, because popularity is higher, the possibility that user knows is larger, so require the popularity of popularity higher than target location of available point of interest, be convenient to user and find target location.In another kind of embodiment, the length of the title of this available point of interest also needs to be less than predetermined length, is such as less than 16 words; And/or the character in this available point of interest is Chinese character or numeral, these two requirements are also find target location for the ease of user.
If the air line distance arriving target location is less than in the point of interest of the 3rd threshold value there is available point of interest, then using the reference point of interest of at least one found available point of interest as target location periphery; If the air line distance arriving target location is less than in the point of interest of the 3rd threshold value there is not available point of interest, then need not determine the reference point of interest of target location periphery.
When target location be less than or equal to the 4th threshold value to the air line distance of the current position of user or do not exist the air line distance arriving target location be less than the point of interest of the 3rd threshold value time, then need not determine the reference point of interest of target location periphery.
It should be noted that, in another kind of embodiment, also directly can be less than in the point of interest of the 3rd threshold value in the air line distance arriving target location and search available point of interest, and not consider that the air line distance of the current position of user is arrived in target location.
206, server determines the descriptor at the crossing of target location periphery.
Concrete, server, according to the gps coordinate of target location, judges whether to there is available crossing, and wherein, described crossing is the crossing that crosses in two road, and described available crossing is the crossing that the air line distance of distance objective position is less than the 5th threshold value; Wherein, the 5th threshold value is a predetermined numerical value, and it can be 500 meters.
It should be noted that, for the intersection on map, may to cross many roads an intersection, such as 1 intersection has crossed 3 roads, road 1, road 2 and road 3, then server is to should intersection on map, have recorded 3 intersection informations, the i.e. crossing that crosses of road 1 and road 2, the crossing that crosses of road 2 and road 3, and the crossing that crosses of road 1 and road 3.That is, although road 1, road 2 and road 3 cross is same crossing, server can be recorded as 3 crossings.
If there is available crossing, obtain and cross to the weights in the two road at available crossing, utilize formula y=x 1+ x 2+ (t 1-t 2)/(t 1× B), determine the weights y at each available crossing; Wherein, x 1and x 2the weights crossed to the two road at available crossing respectively; t 1for described 5th threshold value; t 2for available crossing is to the air line distance of target location; B is Dynamic gene, and B represents the available crossing importance degree of air line distance in the weights y at available crossing to target location, and general, described B is identical with the weights of city secondary distributor road.Using the crossing of the crossing of maximum weight in each available crossing as target location periphery, and obtain the descriptor at the crossing of this target location periphery, wherein, the descriptor at the crossing of target location periphery can be: the crossing near [title of the first road], [title of the second road] "; wherein, the first road, the second road are two roads crossed to this crossing respectively.It should be noted that, for the same intersection on map, continuous above-mentioned example, assuming that the weights of road 1, road 2 and road 3 are respectively 50,60 and 70, have employed aforesaid way provided by the invention, the descriptor at the crossing of the target location periphery obtained is: near the crossing of [road 2], [road 3], this road of the larger expression of weights due to a road runs off name, two road in the descriptor at the then crossing of target location periphery are more famous two road, can so that user finds crossing as early as possible.
If there is no can crossing, then need not determine the crossing of target location periphery.
Wherein, obtaining the weights crossed to the two road at available crossing specifically can in the following way: the category of roads belonging to the two road determining to cross to available crossing, then according to the corresponding relation of preset category of roads and weights, the weights corresponding to the category of roads belonging to two road crossed to available crossing are obtained.Wherein, category of roads and road weights corresponding relation for: highway, national highway, city expressway, city thoroughfare, city secondary distributor road, city ordinary road weights corresponding respectively reduce successively; Provincial highway, county road, township highway weights corresponding respectively reduce successively; Village of counties and townships internal passageway, path weights corresponding respectively reduce successively; Wherein, provincial highway, village of counties and townships internal passageway are identical with the weights corresponding to major urban arterial highway three; County road is identical with the weights corresponding to the subsidiary road of city, and township highway is identical with the weights corresponding to the ordinary road of city.
Wherein, the corresponding relation of preset category of roads and road weights is as shown in table 3:
Grade Category of roads Road weights Remarks
1 Highway 100
2 National highway 90
3 City expressway 80
4 City thoroughfare 70
5 City secondary distributor road 60
6 City ordinary road 50
7 Provincial highway 70 At the same level with major urban arterial highway
8 County road 60 At the same level with city subsidiary road
9 Township highway 50 At the same level with city ordinary road
10 Village of counties and townships internal passageway 70 At the same level with major urban arterial highway
11 Path 40
Table 3
Give an actual example weights as follows that illustrate and how to obtain certain crossing:
Assuming that the two road crossed to certain crossing are respectively road a and road b, wherein, the category of roads of road a is city expressway, as can be seen from Table 3, the weights of its correspondence are 80, and the category of roads of road b is city thoroughfare, the weights of its correspondence are 70, assuming that t 1be 500 meters, t 2be 300 meters, B is the weights (namely B equals 60) of city secondary distributor road, then the weights y at this crossing is:
y=80+70+(500-300)/(500*60)
207, server sends the descriptor of target location to vehicle-mounted end, wherein, the descriptor of this target location comprises: target location relative to the direction descriptor of the current position of user, the current position of user to the descriptor at the crossing of the descriptor of peripheral path of the distance descriptor of target location, target location, the reference point of interest of target location periphery and target location periphery.
208, vehicle-mounted end shows or reports the descriptor of this target location, makes user can find target location fast.
The descriptor of embodiment of the present invention server according to the current position of user and the title of target location, obtain target location relative to the direction descriptor of the current position of user, the current position of user to the descriptor at the crossing of the descriptor of peripheral path of the distance descriptor of target location, target location, the reference point of interest of target location periphery and target location periphery, and notify vehicle-mounted end, vehicle-mounted end reinforms user, enables user find target location fast.
It should be noted that, location request message in above-described embodiment in step 201 also can not comprise: user's working direction, now, obtain the direction descriptor of target location relative to the current position of user in the following way: determine that the line direction of the current position of user to target location is relative to the direct north anglec of rotation in the clockwise direction, then according to the 3rd corresponding relation in preset angle and direction, determine the direction corresponding to this anglec of rotation, determined direction is the direction of target location relative to the current position of user, or, determine that the line direction of the current position of user to target location is relative to the direct north anglec of rotation in the counterclockwise direction, then according to the 4th corresponding relation in preset angle and direction, determine the direction corresponding to this anglec of rotation, determined direction is the direction of target location relative to the current position of user, such as, the positive north, north-east, positive east etc., then the direction descriptor of target location relative to the current position of user is obtained, such as " the positive north at you ", " north-east at you " or " the positive east at you ".
Concrete, the initial point that can be coordinate system with the current position of user, with the coordinate axis that North and South direction and east-west direction are coordinate system, in the coordinate system, determine that this line direction is relative to the direct north anglec of rotation in the clockwise direction, wherein, the 3rd corresponding relation in preset angle and direction can as shown in the secondary series in table 4 and the 3rd arranges, and direction descriptor can be as shown in the 4th row in table 4:
Table 4
In order to the beneficial effect of the clearer explanation embodiment of the present invention, comparing of the descriptor of the target location that the address showing the target location that prior art provides as following table 5 provides with the embodiment of the present invention:
Table 5
As can be seen from the secondary series (address of the target location that prior art provides) of above-mentioned table 5 and the comparative result of the 3rd row (descriptor of target location provided by the invention), due to the embodiment of the present invention from direction, the reference point of interest of distance, peripheral path, periphery, the many aspects such as the crossing of periphery describe target location, so can make user very fast find target location.
Consult Fig. 3, the embodiment of the present invention three provides a kind of server, and this server comprises:
Receiving element 10, for receiving the location request message of the descriptor of the target location that will arrive for acquisition request user, described location request message comprises: the mark of the target location that the descriptor of the current position of user and user will arrive;
Acquiring unit 20, for according to the descriptor of the current position of described user and the mark of target location, obtain the descriptor of described target location, the descriptor of described target location comprises: target location is relative to the direction descriptor of the current position of user and the current position of the user distance descriptor to target location.
Optionally, when receiving element 10 receives the location request message of the descriptor of the target location that will arrive for acquisition request user that client sends, this server also comprises: transmitting element 30, for sending the descriptor of described target location to client.
Concrete, acquiring unit 20 comprises:
Direction descriptor acquiring unit 21, for obtaining the direction descriptor of target location relative to the current position of user;
Distance descriptor acquiring unit 22, for obtaining the distance descriptor of the current position of user to target location.
In a kind of embodiment, described direction descriptor acquiring unit 21 specifically comprises: anglec of rotation determining unit, for determining that the line direction of the current position of described user to target location is relative to the anglec of rotation of predetermined direction in the clockwise direction or in counter clockwise direction; Direction-determining unit, for determining the direction of the described target location corresponding to the described anglec of rotation relative to the current position of user; Descriptor acquiring unit, for obtaining the direction descriptor of the determined described target location of described first direction determining unit relative to the current position of user.Concrete, predetermined direction can be direct north, now, if the anglec of rotation in the clockwise direction, direction-determining unit can according to the 3rd corresponding relation in predetermined angle and direction, determine the direction (namely target location is relative to the direction of the current position of user) corresponding to the described anglec of rotation, concrete, 3rd corresponding relation can be as shown in table 4, if the anglec of rotation in the counterclockwise direction, direction-determining unit can according to the 4th corresponding relation in predetermined angle and direction, determine the direction (namely target location is relative to the direction of the current position of user) corresponding to the described anglec of rotation.Or, predetermined direction is user's working direction, now, if the anglec of rotation in the clockwise direction, can according to first corresponding relation in predetermined angle and direction, determine the direction (namely target location is relative to the direction of the current position of user) corresponding to the described anglec of rotation, concrete, first corresponding relation can be as shown in table 1, if the anglec of rotation in the counterclockwise direction, can according to second corresponding relation in predetermined angle and direction, determine the direction (namely target location is relative to the direction of the current position of user) corresponding to the described anglec of rotation.
Target location is found faster in order to make user, server can also obtain the descriptor of the peripheral path of target location, described acquiring unit also comprises: peripheral path descriptor acquiring unit 23, this peripheral path descriptor acquiring unit 23 specifically comprises: available roadways determining unit, for determining each available roadways, wherein, available roadways is and distance between target location is less than the road of first threshold; First peripheral path determining unit, if be less than or equal to Second Threshold for target location to the air line distance of the current position of user, determines the peripheral path of the minimum road of distance in each available roadways and between target location as target location; Second peripheral path determining unit, if when being greater than Second Threshold for target location to the air line distance of the current position of user, search the road that each available roadways middle grade is the highest; Determine the peripheral path of at least one road in the road that the highest described grade as target location; The descriptor acquiring unit of peripheral path, for obtaining the descriptor of the peripheral path of the described target location that the first peripheral path determining unit or the second peripheral path determining unit are determined; The descriptor of described target location also comprises: the descriptor of the peripheral path of target location.Wherein, described second peripheral path determining unit, for when target location is greater than Second Threshold to the air line distance of the current position of user, searches the road that each available roadways middle grade is the highest; When the road that the highest described grade is many, determine the peripheral path of the minimum road of distance in the road that the highest described grade and between target location as target location; When the road that the highest described grade is one, determine the highest described grade the road peripheral path as target location.
In one embodiment, the mark of target location can be the title of target location, target location is found faster in order to make user, server can also obtain the reference point of interest of target location periphery, now, described acquiring unit also comprises: with reference to point of interest acquiring unit 24, for being less than in the point of interest of the 3rd threshold value from the air line distance to target location, and lookup names is not identical with the title of target location and there is not the available point of interest of relation of inclusion; Using the reference point of interest of at least one found available point of interest as target location periphery.In a kind of optimal way, the popularity of above-mentioned available point of interest needs the popularity higher than described target location; And/or the length of above-mentioned available interest point name needs to be less than predetermined length, such as 16 characters; And/or the character in above-mentioned available point of interest is Chinese character or numeral.
Target location is found faster in order to make user, server can also obtain the descriptor at the crossing of described target location periphery, now, described acquiring unit also comprises: crossing descriptor acquiring unit 25, this crossing descriptor acquiring unit 25 specifically comprises: available crossing determining unit, for determining available crossing, described crossing is the crossing that crosses in two road, and described available crossing is the crossing that the air line distance of distance objective position is less than the 5th threshold value; The crossing determining unit of target location periphery, for according to crossing to the weights in the two road at available crossing, utilizes formula y=x 1+ x 2+ (t 1-t 2)/(t 1× B), determine the weights y at each available crossing; Using the crossing of the crossing of maximum weight in each available crossing as target location periphery; Wherein, x 1and x 2the weights crossed to the two road at available crossing respectively; t 1it is the 5th threshold value; t 2for available crossing is to the air line distance of target location, B is Dynamic gene, and this B represents the air line distance importance degree among the weights ys at available crossing of available crossing to target location; The descriptor acquiring unit at the crossing of target location periphery, for obtaining the descriptor at the crossing of described target location periphery, the form of concrete descriptor is see the description of embodiment of the method part.
The descriptor of embodiment of the present invention server according to the current position of user and the mark of target location, obtain target location to the relative direction descriptor of the current position of user, target location to the descriptor at the crossing of the descriptor of peripheral path of the distance descriptor of the current position of user, target location, the reference point of interest of target location periphery and target location periphery, and notify vehicle-mounted end, vehicle-mounted end reinforms user, enables user find target location fast.
One of ordinary skill in the art will appreciate that all or part of step realized in above-described embodiment method is that the hardware that can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, such as ROM (read-only memory), disk or CD etc.
The target position query method provided the embodiment of the present invention above and server are described in detail, apply specific case herein to set forth principle of the present invention and embodiment, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (12)

1. a target position query method, is characterized in that, comprising:
Receive the location request message of the descriptor being used for the target location that acquisition request user will arrive, described location request message comprises: the mark of the target location that the descriptor of the current position of user and user will arrive, and the descriptor of the current position of described user comprises the global position system GPS coordinate of the current position of user;
According to the descriptor of the current position of described user and the mark of target location, obtain the descriptor of described target location, the descriptor of described target location comprises: target location is relative to the direction descriptor of the current position of user and the current position of the user distance descriptor to target location;
Wherein, described target location relative to the obtain manner of the direction descriptor of the current position of user is:
Determine that the line direction of the current position of described user to target location is relative to the anglec of rotation of predetermined direction in the clockwise direction or in counter clockwise direction;
Determine the direction of the described target location corresponding to the described anglec of rotation relative to the current position of user;
Obtain the direction descriptor of described target location relative to the current position of user, described predetermined direction is user's working direction.
2. method according to claim 1, is characterized in that,
The descriptor of described target location also comprises: the descriptor of the peripheral path of target location;
The obtain manner of the descriptor of the peripheral path of described target location is:
Determine each available roadways, wherein, described available roadways is and distance between target location is less than the road of first threshold;
If target location is less than or equal to Second Threshold to the air line distance of the current position of user, determine the peripheral path of the minimum road of distance in each available roadways and between target location as target location;
If target location is greater than Second Threshold to the air line distance of the current position of user, search the road that each available roadways middle grade is the highest; Determine the peripheral path of at least one road in the road that the highest described grade as target location;
Obtain the descriptor of the peripheral path of described target location.
3. method according to claim 2, is characterized in that,
Determine that at least one road in the road that the highest described grade is specially as the peripheral path of target location:
When the road that the highest described grade is many, determine the peripheral path of the minimum road of distance in the road that the highest described grade and between target location as target location.
4. method according to claim 1, is characterized in that,
The descriptor of described target location also comprises: the reference point of interest of target location periphery;
The obtain manner of the reference point of interest of described target location periphery is:
Be less than the point of interest of the 3rd threshold value from the air line distance to target location, lookup names is not identical with the title of target location and there is not the available point of interest of relation of inclusion;
Using the reference point of interest of at least one found available point of interest as target location periphery.
5. method according to claim 4, is characterized in that,
The popularity of described available point of interest is higher than the popularity of described target location;
Or,
The length of the title of described available point of interest is less than predetermined length;
Or,
Character in described available point of interest is Chinese character or numeral.
6. method according to claim 1, is characterized in that,
The descriptor of described target location also comprises: the descriptor at the crossing of target location periphery;
The obtain manner of the descriptor at the crossing of described target location periphery is:
Determine available crossing, described crossing is the crossing that crosses in two road, and described available crossing is the crossing that the air line distance of distance objective position is less than the 5th threshold value;
According to the weights crossed to the two road at available crossing, utilize following formula, determine the weights y at each available crossing;
y=x 1+x 2+(t 1-t 2)/(t 1×B)
Wherein, x 1and x 2the weights crossed to the two road at available crossing respectively; t 1for described 5th threshold value; t 2for available crossing is to the air line distance of target location, B is Dynamic gene;
Using the crossing of the crossing of maximum weight in each available crossing as target location periphery;
Obtain the descriptor at the crossing of described target location periphery.
7. a server, is characterized in that, comprising:
Receiving element, for receiving the location request message of the descriptor of the target location that will arrive for acquisition request user, described location request message comprises: the mark of the target location that the descriptor of the current position of user and user will arrive, and the descriptor of the current position of described user comprises the global position system GPS coordinate of the current position of user;
Acquiring unit, for according to the descriptor of the current position of described user and the mark of target location, obtain the descriptor of described target location, the descriptor of described target location comprises: target location is relative to the direction descriptor of the current position of user and the current position of the user distance descriptor to target location;
Wherein, described acquiring unit comprises:
Direction descriptor acquiring unit, for obtaining the direction descriptor of target location relative to the current position of user;
Distance descriptor acquiring unit, for obtaining the distance descriptor of the current position of user to target location;
Wherein, described direction descriptor acquiring unit comprises:
Anglec of rotation determining unit, for determining that the line direction of the current position of described user to target location is relative to the anglec of rotation of predetermined direction in the clockwise direction or in counter clockwise direction;
Direction-determining unit, for determining the direction of the described target location corresponding to the described anglec of rotation relative to the current position of user;
Descriptor acquiring unit, for obtaining the direction descriptor of the determined described target location of described direction-determining unit relative to the current position of user, described predetermined direction is user's working direction.
8. server according to claim 7, is characterized in that,
Described acquiring unit also comprises: peripheral path descriptor acquiring unit,
Peripheral path descriptor acquiring unit specifically comprises:
Available roadways determining unit, for determining each available roadways, wherein, described available roadways is and distance between target location is less than the road of first threshold;
First peripheral path determining unit, if be less than or equal to Second Threshold for target location to the air line distance of the current position of user, determines the peripheral path of the minimum road of distance in each available roadways and between target location as target location;
Second peripheral path determining unit, if when being greater than Second Threshold for target location to the air line distance of the current position of user, search the road that each available roadways middle grade is the highest; Determine the peripheral path of at least one road in the road that the highest described grade as target location;
The descriptor acquiring unit of peripheral path, for obtaining the descriptor of the peripheral path of the described target location that the first peripheral path determining unit or the second peripheral path determining unit are determined;
The descriptor of described target location also comprises: the descriptor of the peripheral path of target location.
9. server according to claim 8, is characterized in that,
Described second peripheral path determining unit, for when target location is greater than Second Threshold to the air line distance of the current position of user, searches the road that each available roadways middle grade is the highest; When the road that the highest described grade is many, determine the peripheral path of the minimum road of distance in the road that the highest described grade and between target location as target location.
10. server according to claim 7, is characterized in that,
The mark of described target location is the title of described target location;
Described acquiring unit also comprises:
With reference to point of interest acquiring unit, for being less than in the point of interest of the 3rd threshold value from the air line distance to target location, lookup names is not identical with the title of target location and there is not the available point of interest of relation of inclusion; Using the reference point of interest of at least one found available point of interest as target location periphery.
11. servers according to claim 10, is characterized in that,
The popularity of described available point of interest is higher than the popularity of described target location;
Or,
The length of described available interest point name is less than predetermined length;
Or,
Character in described available point of interest is Chinese character or numeral.
12. servers according to claim 7, is characterized in that,
Described acquiring unit also comprises: crossing descriptor acquiring unit,
Described crossing descriptor acquiring unit specifically comprises:
Available crossing determining unit, for determining available crossing, described crossing is the crossing that crosses in two road, and described available crossing is the crossing that the air line distance of distance objective position is less than the 5th threshold value;
The crossing determining unit of target location periphery, for according to crossing to the weights in the two road at available crossing, utilizes formula y=x 1+ x 2+ (t 1-t 2)/(t 1× B), determine the weights y at each available crossing; Using the crossing of the crossing of maximum weight in each available crossing as target location periphery; Wherein, x 1and x 2the weights crossed to the two road at available crossing respectively; t 1for described 5th threshold value; t 2for described available crossing is to the air line distance of target location, B is Dynamic gene;
The descriptor acquiring unit at the crossing of target location periphery, for obtaining the descriptor at the crossing of described target location periphery;
The descriptor of described target location also comprises: the descriptor at the crossing of target location periphery.
CN201110210182.1A 2011-07-26 2011-07-26 Target position query method and server Active CN102901501B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110210182.1A CN102901501B (en) 2011-07-26 2011-07-26 Target position query method and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110210182.1A CN102901501B (en) 2011-07-26 2011-07-26 Target position query method and server

Publications (2)

Publication Number Publication Date
CN102901501A CN102901501A (en) 2013-01-30
CN102901501B true CN102901501B (en) 2016-03-02

Family

ID=47573867

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110210182.1A Active CN102901501B (en) 2011-07-26 2011-07-26 Target position query method and server

Country Status (1)

Country Link
CN (1) CN102901501B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103218406B (en) * 2013-03-21 2019-11-26 百度在线网络技术(北京)有限公司 The processing method and equipment of the address information of point of interest

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104215246B (en) * 2013-05-31 2018-10-23 歌乐株式会社 Mobile terminal device and vehicle navigation apparatus
CN104331423B (en) * 2014-10-14 2018-07-06 北京奇虎科技有限公司 A kind of localization method and device based on electronic map
CN104330081B (en) * 2014-10-14 2018-03-06 北京奇虎科技有限公司 A kind of generation method and device of descriptive position indicating information
CN105989707B (en) * 2015-02-16 2021-05-28 杭州快迪科技有限公司 Method for determining relative position of GPS equipment and target position
CN105992153B (en) * 2015-06-03 2019-12-27 法法汽车(中国)有限公司 Positioning information display method and device
CN106126628A (en) * 2016-06-22 2016-11-16 四川农业大学 A kind of public territory intelligent information inquiry tracing system and method
CN109682387B (en) * 2017-10-19 2021-03-05 阿里巴巴(中国)有限公司 Method and device for determining navigation position point
WO2020014990A1 (en) * 2018-07-20 2020-01-23 深圳前海达闼云端智能科技有限公司 Multi-map alignment method and device, terminal and storage medium
CN111143499A (en) * 2019-12-26 2020-05-12 长城汽车股份有限公司 Target location display method, system and terminal
CN113533695A (en) * 2021-07-26 2021-10-22 山东省农业机械科学研究院 Farmland soil moisture content data estimation method and system
CN113918819A (en) * 2021-10-25 2022-01-11 广州新华学院 Intelligent information query method, system and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101122468A (en) * 2006-08-09 2008-02-13 高德软件有限公司 Interest point information storing method and navigation method using interest point information
CN101415160A (en) * 2008-12-02 2009-04-22 河北理工大学 System for enquiring position-related information using mobile phone short message
CN101526365A (en) * 2009-04-07 2009-09-09 深圳市凯立德计算机系统技术有限公司 Fuzzy navigation method and device thereof
CN101720142A (en) * 2009-11-20 2010-06-02 中兴通讯股份有限公司 Position area-based interest point information querying system and position area-based interest point information querying method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201548960U (en) * 2009-04-23 2010-08-11 厦门高德软件有限公司 Equipment for acquiring bus information

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101122468A (en) * 2006-08-09 2008-02-13 高德软件有限公司 Interest point information storing method and navigation method using interest point information
CN101415160A (en) * 2008-12-02 2009-04-22 河北理工大学 System for enquiring position-related information using mobile phone short message
CN101526365A (en) * 2009-04-07 2009-09-09 深圳市凯立德计算机系统技术有限公司 Fuzzy navigation method and device thereof
CN101720142A (en) * 2009-11-20 2010-06-02 中兴通讯股份有限公司 Position area-based interest point information querying system and position area-based interest point information querying method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103218406B (en) * 2013-03-21 2019-11-26 百度在线网络技术(北京)有限公司 The processing method and equipment of the address information of point of interest

Also Published As

Publication number Publication date
CN102901501A (en) 2013-01-30

Similar Documents

Publication Publication Date Title
CN102901501B (en) Target position query method and server
US11295519B2 (en) Method for determining polygons that overlap with a candidate polygon or point
US11933622B2 (en) Collective vehicle traffic routing
CN101358856B (en) Navigation device, navigation method and navigation system
RU2448327C2 (en) Virtual position markers for mobile mapping
CN105674995A (en) Method for acquiring commuting route based on user's travel locus, and apparatus thereof
CN103136954B (en) The reminding method of crucial road conditions and device on navigator and guidance path
US10209083B2 (en) Method and apparatus for providing node-based map matching
US20110098910A1 (en) Method and apparatus for intelligent guidance using markers
CN101944095A (en) Path planning method and system
CA3053971C (en) Road determination method and device
CN105136160A (en) Mobile terminal-augmented reality technology-based close range optimal bus station navigation method
EP3505867B1 (en) Method, apparatus, and computer program product for traffic optimized routing
CN101587650A (en) GPS bus transfering navigation method and system thereof
Brimicombe et al. Mobile space‐time envelopes for location‐based services
CN105592120A (en) Method and apparatus for providing geographic position information
CN101619981A (en) Self-service tour guide and navigation terminal and method for optimally selecting tour guide and navigation information
CN104931037A (en) Navigation prompting information generation method and device
AU2016201843A1 (en) Method for representing linear features in a location content management system
CN101807196A (en) Method and device for searching information
CN105352493A (en) Navigation route generation method and user terminal
US20170238134A1 (en) Method and apparatus for selective zone-based communications
CN105466418A (en) A map positioning method and a device
EP3359917A1 (en) Flexible organization of navigation attributes to support hybrid navigation and data streaming
US8914357B1 (en) Mapping keywords to geographic features

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20200511

Address after: 310052 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: Alibaba (China) Co.,Ltd.

Address before: 102200, No. 8, No., Changsheng Road, Changping District science and Technology Park, Beijing, China. 1-5

Patentee before: AUTONAVI SOFTWARE Co.,Ltd.

TR01 Transfer of patent right