CN107621268B - Navigation interest point retrieval method and device - Google Patents

Navigation interest point retrieval method and device Download PDF

Info

Publication number
CN107621268B
CN107621268B CN201710775103.9A CN201710775103A CN107621268B CN 107621268 B CN107621268 B CN 107621268B CN 201710775103 A CN201710775103 A CN 201710775103A CN 107621268 B CN107621268 B CN 107621268B
Authority
CN
China
Prior art keywords
retrieval
administrative
module
code
administrative district
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
CN201710775103.9A
Other languages
Chinese (zh)
Other versions
CN107621268A (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.)
Huizhou Foryou General Electronics Co Ltd
Original Assignee
Huizhou Foryou General Electronics 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 Huizhou Foryou General Electronics Co Ltd filed Critical Huizhou Foryou General Electronics Co Ltd
Priority to CN201710775103.9A priority Critical patent/CN107621268B/en
Publication of CN107621268A publication Critical patent/CN107621268A/en
Application granted granted Critical
Publication of CN107621268B publication Critical patent/CN107621268B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a navigation interest point retrieval method and a navigation interest point retrieval device, wherein the method comprises the following steps: s1, acquiring the current position information of the vehicle; s2, generating a destination retrieval range request through the current position information; s3, reading corresponding administrative region codes from a map database according to the destination retrieval range request; s4, judging whether the administrative district code is an effective administrative district code, if so, entering S6, and if not, entering the next step; s5, modifying the administrative district code into a default administrative district code; s6, storing the current position information and the administrative district code into a user data file; s7, receiving an interest point retrieval request input by a user; s8, searching interest points in the administrative district corresponding to the administrative district code according to the search request; and S9, displaying the interest point searching result. The invention improves the retrieval stability of the navigation system.

Description

Navigation interest point retrieval method and device
Technical Field
The invention relates to the technical field of vehicle navigation, in particular to a navigation interest point retrieval method and device.
Background
The vehicle-mounted navigation equipment can realize driving guide of complex routes, and great convenience is brought to people for going out. The vehicle navigation device generally comprises a positioning module, a navigation engine and map data. The positioning module is configured to obtain current location information of the vehicle-mounted navigation device, which is generally latitude and longitude, and the navigation engine matches the current location information of the positioning module with map data after receiving the current location information, so as to display a location name (for example, a heaven and earth gate) where the vehicle-mounted navigation device is located, which is generally called a Point of Interest (POI). The POI is generally related to an administrative district, that is, the same POI may exist in a plurality of administrative districts, and therefore, when retrieving the POI input by the user, the vehicle-mounted navigation device first acquires an administrative district code where the current position information of the vehicle-mounted navigation device is located.
In general, the administrative area code where the current location information is located can be acquired when the POI is retrieved, but when the vehicle is located at some special locations, such as at sea, islands without road sections, wharfs without roads, and the like, and errors of the positioning module are added, the administrative area code where the current location information of the vehicle-mounted navigation device is located cannot be acquired when the POI input by the user is retrieved by the vehicle-mounted navigation device, and if the current area is used for retrieval, the vehicle-mounted navigation device is halted, and the vehicle-mounted navigation device cannot be used after the vehicle-mounted navigation system is restarted, so that the user experience is poor.
Therefore, the prior art is in need of further improvement.
Disclosure of Invention
The invention provides a navigation interest point retrieval method and a navigation interest point retrieval device, which aim to overcome the defects in the prior art and improve the retrieval stability of a navigation system.
In order to achieve the purpose, the technical scheme adopted by the invention is as follows:
the invention provides a navigation interest point retrieval method on one hand, which comprises the following steps:
s1, acquiring the current position information of the vehicle;
s2, generating a destination retrieval range request through the current position information;
s3, reading corresponding administrative region codes from a map database according to the destination retrieval range request;
s4, judging whether the administrative district code is an effective administrative district code, if so, entering S6, and if not, entering the next step;
s5, modifying the administrative district code into a default administrative district code;
s6, storing the current position information and the administrative district code into a user data file;
s7, receiving an interest point retrieval request input by a user;
s8, searching interest points in the administrative district corresponding to the administrative district code according to the search request;
and S9, displaying the interest point searching result.
Further, after S4, the method further includes:
s41, retrieving in a searching range with the current position information as a center and a preset distance as a radius;
s42, judging whether the MESH exists in the searching range, if so, entering the next step, otherwise, entering S5;
s43, traversing the administrative district point column information of each MESH to obtain the shapes of each administrative district;
and S44, traversing the shapes of the administrative districts to obtain administrative district codes corresponding to the administrative districts closest to the current position information.
Specifically, the S41 includes:
s411, calculating the left, lower, right and upper ranges of the current position;
s412, taking an intersection rectangle of the lower left range, the upper right range and the map data;
s413, searching whether the MESH information exists in the intersection rectangle by using a first index range, if so, entering S43, otherwise, entering the next step;
s414, searching whether the MESH information exists in the intersection rectangle by using a second index range, if so, entering S43, otherwise, entering the next step;
s415, searching whether the MESH information exists in the intersection rectangle by using a third index range, if so, entering S43, otherwise, entering S5.
Specifically, the first index range is 4 nautical miles, the second index range is 8 nautical miles, and the third index range is 12 nautical miles.
Specifically, the current location information is longitude and latitude of the current location.
The invention provides a navigation interest point retrieval device, which comprises a positioning module, a retrieval mode selection module, a retrieval range request module, a map database, a administrative region code reading module, an administrative region code judging module, an administrative region code setting module, a user database, an interest point input module, a retrieval engine module and a retrieval display module, wherein the retrieval engine module is used for receiving a retrieval request message;
the positioning module is used for acquiring current position information;
the retrieval mode selection module is used for selecting a retrieval mode;
the retrieval range request module is used for generating a destination retrieval range request through the current position information;
the map database is used for storing navigation map data;
the administrative region code reading module is used for reading the corresponding administrative region code from a map database according to the interest point retrieval range request;
the administrative region code judging module is used for judging whether the administrative region code is effective or not;
the administrative district code setting module is used for modifying the administrative district code into a default administrative district code when the current administrative district code is invalid;
the user database is used for storing user data files;
the interest point input module is used for inputting the name of the interest point;
the retrieval engine module is used for retrieving the interest points according to the retrieval request;
and the retrieval display module is used for displaying the retrieval result of the interest points.
Furthermore, the system also comprises an administrative district searching module used for searching administrative districts in the preset searching range.
The invention has the beneficial effects that: according to the method and the device, when the administrative area code of the current position information is judged to be invalid, the default administrative area code is written into the EDB file, and then the interest point is searched in the administrative area corresponding to the default administrative area code, so that the navigation system breakdown caused by the fact that the administrative area code is invalid is avoided, and the navigation system searching stability is improved.
Drawings
FIG. 1 is a schematic flow chart diagram of a navigation interest point retrieval method of the present invention;
FIG. 2 is a schematic view of a search interface for a point of interest query in accordance with the present invention;
FIG. 3 is a schematic diagram of a search interface using a current region in accordance with the present invention;
FIG. 4 is another flow chart of the navigation interest point retrieval method of the present invention;
FIG. 5 is a schematic structural diagram of a navigation interest point retrieval apparatus according to the present invention;
FIG. 6 is a schematic diagram of another structure of the navigation interest point retrieving device of the present invention.
Detailed Description
The embodiments of the present invention will be described in detail with reference to the accompanying drawings, which are for reference and illustrative purposes only and are not intended to limit the scope of the invention.
Example 1:
as shown in fig. 1, the present embodiment provides a navigation interest point retrieval method, including:
step 1, obtaining the current position information of the vehicle.
In a car navigation system, current position information is generally acquired through a navigation positioning module, and positioning can also be assisted through a data network.
The current position information mainly comprises longitude and latitude of the current position, and can also comprise height.
And 2, generating a destination retrieval range request through the current position information.
In the vehicle navigation system, a destination retrieval module is provided and is generally displayed as a retrieval interface, and the retrieval interface includes icons of various retrieval types, such as an "interest point query" icon, a "classification query" icon, and the like, which can be set according to actual application. Each search category is divided into a plurality of search information input methods, for example, a "use current area" button exists in a "point of interest query" search category, and a user often determines a destination search range of a vehicle by clicking the button, as shown in fig. 2 and 3.
And 3, reading the corresponding administrative region code from the map database according to the destination retrieval range request.
The map database contains information about points of interest in each administrative area, which are associated with administrative area codes. For example, "a comedy hotel" may be in either huizhou or guangzhou.
The administrative region codes can be provincial, city and county, are unique in the map, and are searched and inquired by the navigation engine according to the administrative region codes of the map data.
And 4, judging whether the administrative region code is an effective administrative region code, if so, entering the step 6, and otherwise, entering the next step.
In specific implementation, if the flag bit of the administrative district code is 0, the administrative district code is an invalid administrative district number.
And 5, modifying the administrative district code into a default administrative district code.
In specific implementation, the administrative district corresponding to the default administrative district code may be preset, for example, in beijing, or the user may specify the administrative district corresponding to the commonly used administrative district code, for example, the guangzhou city river district.
And 6, storing the current position information and the administrative area codes into a user data file.
In specific implementation, the User data file is an EDB file, and the EDB is an abbreviation of End User database, that is, an End User database, which is a part of a map database file and is used for storing User data, such as User setting information, a current administrative area, device parameters, and the like.
And 7, receiving an interest point retrieval request input by a user.
And 8, searching interest points in the administrative regions corresponding to the administrative region codes according to the search request.
And 9, displaying the interest point retrieval result.
When the administrative region code of the current position information is judged to be invalid, the default administrative region code is written into the EDB file, and then the interest point is retrieved in the administrative region corresponding to the default administrative region code, so that the navigation system breakdown caused by the fact that the administrative region code is invalid is avoided.

Claims (7)

1. A navigation interest point retrieval method is characterized by comprising the following steps:
s1, acquiring the current position information of the vehicle;
s2, generating a destination retrieval range request through the current position information;
s3, reading corresponding administrative region codes from a map database according to the destination retrieval range request;
s4, judging whether the administrative district code is an effective administrative district code, if so, entering S6, and if not, entering the next step;
s5, modifying the administrative district code into a default administrative district code;
s6, storing the current position information and the administrative district code into a user data file;
s7, receiving an interest point retrieval request input by a user;
s8, searching interest points in the administrative district corresponding to the administrative district code according to the search request;
and S9, displaying the interest point searching result.
2. The navigation interest point retrieval method of claim 1, further comprising, after S4:
s41, retrieving in a searching range with the current position information as a center and a preset distance as a radius;
s42, judging whether the MESH exists in the searching range, if so, entering the next step, otherwise, entering S5;
s43, traversing the administrative district point column information of each MESH to obtain the shapes of each administrative district;
and S44, traversing the shapes of the administrative districts to obtain administrative district codes corresponding to the administrative districts closest to the current position information.
3. The navigation interest point retrieval method of claim 2, wherein the S41 includes:
s411, calculating the left, lower, right and upper ranges of the current position;
s412, taking an intersection rectangle of the lower left range, the upper right range and the map data;
s413, searching whether the MESH information exists in the intersection rectangle by using a first index range, if so, entering S43, otherwise, entering the next step;
s414, searching whether the MESH information exists in the intersection rectangle by using a second index range, if so, entering S43, otherwise, entering the next step;
s415, searching whether the MESH information exists in the intersection rectangle by using a third index range, if so, entering S43, otherwise, entering S5.
4. The method of claim 3, wherein the first index range is 4 nautical miles, the second index range is 8 nautical miles, and the third index range is 12 nautical miles.
5. The navigation point of interest retrieval method of claim 1, wherein the current location information is a longitude and latitude of a current location.
6. A navigation interest point retrieval device is characterized by comprising a positioning module, a retrieval mode selection module, a retrieval range request module, a map database, a administrative region code reading module, an administrative region code judging module, an administrative region code setting module, a user database, an interest point input module, a retrieval engine module and a retrieval display module;
the positioning module is used for acquiring current position information;
the retrieval mode selection module is used for selecting a retrieval mode;
the retrieval range request module is used for generating a destination retrieval range request through the current position information;
the map database is used for storing navigation map data;
the administrative region code reading module is used for reading the corresponding administrative region code from a map database according to the destination retrieval range request;
the administrative region code judging module is used for judging whether an administrative region code is effective or not, if so, the current position information and the administrative region code are stored in a user database, otherwise, the administrative region code setting module is notified to set the administrative region code as a default administrative region code, and then the default administrative region code is stored in the user database;
the administrative district code setting module is used for modifying the administrative district code into a default administrative district code when the current administrative district code is invalid;
the user database is used for storing user data files;
the interest point input module is used for inputting the name of the interest point;
the retrieval engine module is used for retrieving the interest points according to the retrieval request;
and the retrieval display module is used for displaying the retrieval result of the interest points.
7. The navigation point of interest retrieval device of claim 6, further comprising an administrative district search module for performing administrative district search within a preset search range.
CN201710775103.9A 2017-08-31 2017-08-31 Navigation interest point retrieval method and device Active CN107621268B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710775103.9A CN107621268B (en) 2017-08-31 2017-08-31 Navigation interest point retrieval method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710775103.9A CN107621268B (en) 2017-08-31 2017-08-31 Navigation interest point retrieval method and device

Publications (2)

Publication Number Publication Date
CN107621268A CN107621268A (en) 2018-01-23
CN107621268B true CN107621268B (en) 2021-02-05

Family

ID=61089217

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710775103.9A Active CN107621268B (en) 2017-08-31 2017-08-31 Navigation interest point retrieval method and device

Country Status (1)

Country Link
CN (1) CN107621268B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102096082A (en) * 2010-11-22 2011-06-15 东莞市泰斗微电子科技有限公司 Map loading method used for satellite navigation device
CN102195729A (en) * 2011-04-29 2011-09-21 四川长虹电器股份有限公司 Radio based on position information and automatic channel scanning method thereof
CN102270213A (en) * 2011-04-20 2011-12-07 深圳市凯立德科技股份有限公司 Searching method and device for interesting points of navigation system, and location service terminal
JP5046107B2 (en) * 2007-10-29 2012-10-10 アイシン・エィ・ダブリュ株式会社 POI information address data update system and program
CN103116600A (en) * 2012-12-20 2013-05-22 沈阳美行科技有限公司 House number retrieval method for navigation device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7720844B2 (en) * 2007-07-03 2010-05-18 Vulcan, Inc. Method and system for continuous, dynamic, adaptive searching based on a continuously evolving personal region of interest

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5046107B2 (en) * 2007-10-29 2012-10-10 アイシン・エィ・ダブリュ株式会社 POI information address data update system and program
CN102096082A (en) * 2010-11-22 2011-06-15 东莞市泰斗微电子科技有限公司 Map loading method used for satellite navigation device
CN102270213A (en) * 2011-04-20 2011-12-07 深圳市凯立德科技股份有限公司 Searching method and device for interesting points of navigation system, and location service terminal
CN102195729A (en) * 2011-04-29 2011-09-21 四川长虹电器股份有限公司 Radio based on position information and automatic channel scanning method thereof
CN103116600A (en) * 2012-12-20 2013-05-22 沈阳美行科技有限公司 House number retrieval method for navigation device

Also Published As

Publication number Publication date
CN107621268A (en) 2018-01-23

Similar Documents

Publication Publication Date Title
US7805317B2 (en) Method of organizing map data for affinity relationships and application for use thereof
JP4695830B2 (en) Area map providing device for moving body
US6415222B1 (en) Navigation system and storage medium
US20090265340A1 (en) Proximity search for point-of-interest names combining inexact string match with an expanding radius search
US20110010376A1 (en) Location search device, location search method, and computer-readable storage medium storing location search program
EP1233250A2 (en) Navigation system
CN101046392A (en) Storage and visualising of interest in a navigation system
KR980010940A (en) Vehicle navigation device and storage media
JP3944671B2 (en) Navigation device
WO2004008073A1 (en) Navigation method, processing method for navigation system, map data management device, map data management program, and computer program
US6950100B2 (en) Map display device, a memory medium and a map display method
WO2005069147A1 (en) Search data update method and update system
US6560530B1 (en) Navigation system
US8117041B1 (en) Method of using map data that has been organized for affinity relationships
JP4534209B2 (en) Navigation device
CN107621268B (en) Navigation interest point retrieval method and device
JP2000180194A (en) Destination candidate display method of route searching system
JP2005017206A (en) Navigation apparatus
JP3580272B2 (en) Navigation device
JP5322080B2 (en) Map information display device and map information display method
JP3325245B2 (en) Navigation device
JPH0821739A (en) On-vehicle navigation apparatus
JP4455173B2 (en) Navigation device
JP3575446B2 (en) Navigation device
JP3573118B2 (en) Navigation device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant