1. Field of the Invention
The present invention relates to a name searching apparatus of a place name or a point of interest (POI) data, and is applicable to a technical field beginning with a navigation system having updatable map data.
2. Description of the Related Art
A function of searching a POI suited to a preference or purpose of a user is provided for a car navigation system and a communication terminal, and becomes important. A POI search function of the car navigation system is divided into two main functions. A first function is a narrow search function which narrows down POI candidates, as a destination, obtained by inputting a search keyword via the user, and a second function is a display function which displays this narrowed POI list after narrowing down the POI candidates.
Among the above-described functions, the narrow search function displays the number of hits of the POI and next candidate characters based on the search keyword input by the user. The search keyword input by the user means a keyword such as a Japanese syllabary of a POI name input using a keyboard, an area of the POI, and a category indicating a type of the POI. The next candidate characters mean a candidate list of characters following characters of a POI name input by the user. The user updates, whenever inputting a Japanese syllabary of the POI name using keys, the next candidate characters and the number of hits of the POI which begins with an input character by the narrow search function. In the narrow search, a keyboard is displayed on a screen of a display unit and at first, all keys of the keyboard on the screen are displayed to be bright, whereby the user can feed data using all the keys. When characters are input, the number of hits of the POI is updated for each addition of the input character. Also about the next candidate characters, only keys of the next candidate characters following a last input character are displayed to be bright, and the user can feed data. Further, in the function for displaying the narrowed POI list, when a POI narrowed by the narrow search function is displayed as a list, the display is performed in the order corresponding to the POI ID (Identifier).
For the purpose of realizing the narrow search function at high speed, there is used the above-described method for previously holding as the navigation data an index having the number of hits and the next candidate character data and referring to the index during the search. However, there is a problem that when the index has the number of hits and next candidate character data corresponding to all the search keywords, the number of patterns of the search keywords is enormous and therefore, an index size becomes large.
As a method to cope with this above-described problem, JP-A-2007-11438 discloses a technique where the number of hits and next candidate characters stored in the index are narrowed down up to only the number of specific characters such as, for example, a first character, thereby deleting the index size. Also, JP-A-2007-11438 discloses a technique where when computing the number of hits and next candidate characters not stored in the index, the number of hits and the next candidate characters are computed with reference to records one by one during the search.
JP-A-2008-191798 discloses a technique where when a destination such as a POI name is supplied to a car navigation system, the number of hits and the next candidate characters are computed with reference to POI data one by one and a display state such as a size of the next candidate characters is changed based on a ratio of the number of hits.
Further, JP-A-2003-316784 discloses a technique where the number of hits and the next candidate characters are computed without index data on the number of hits with reference to records one by one during the search. Also, JP-A-2003-316784 discloses a technique where when the number of hits is extremely large, computation of the number of hits is terminated, thus reducing a waiting time of the user by the sacrifice of the computation of the number of correct hits.
However, there is a problem that in JP-A-2007-11438 disclosing a technique for storing the number of hits and the next candidate characters up to the number of specific characters, when the number of hits is still large at the time of narrowing down a search up to the number of characters not stored in the index, a time required for counting the POI data and a time required for sorting data at the time of displaying the narrowed POI list are elongated.
There is a problem that in JP-A-2008-191798, in the case where the number of hits is large, since measures fail to be taken, the search time is elongated.
Further, there is a problem that in JP-A-2003-316784, when the number of hits is more than or equal to a specific number, a display of the search time is quickly performed without counting data and therefore, the number of correct hits provided by a conventional car navigation system is not output.
To cope with the above-described problem, the proposed name searching apparatus of the present invention provides a search method for allowing speeding up of the narrow search suppressing an index size.
To accomplish the above-described objects, according to one aspect of the present invention, there is provided a name searching apparatus. This apparatus includes a search data switch unit using a narrow index recording a narrow search result in addition to a search unit and input unit of name data. The search data switch unit switches a processing of referring to an index previously having a narrow search result with a processing of sequentially referring to the name data and computing the narrow search result based on a size of a search time of the narrow search.
The name searching apparatus includes data on the number of hits and the next candidate characters with respect to only the search keyword where a computation time of the number of hits of a POI is more than or equal to a fixed value. As a result, when storing only the search keyword where the search time of the narrow search is more than a fixed value, the name searching apparatus can speed up the narrow search suppressing the index size. Further, the name searching apparatus can be designed in consideration of restrictions on system resources of a main storage unit or an auxiliary storage unit as well as on a display time of the search results.
The name searching apparatus of the present invention can speed up a searching processing and shorten a search result response time to the user in the narrow search at the time of searching a destination using a car navigation system.
One embodiment according to the present invention will be described below with reference to the accompanying drawings.
A POI data storage unit 100 stores therein POI data T1 with a data structure as in a table illustrated in
Further, the POI data storage unit 100 can refer to data mutually so as to refer to the sort ID 225, the POI name 235, and the POI name Japanese syllabary 235 from data on the POI category 240 and the address 237 or, on the contrary, so as to refer to the sort ID 225 and the POI category 240 from the POI name Japanese syllabary 235. By this function, the POI data can be searched and the number of hits of the POI data can be obtained using as a search keyword a value of the POI name Japanese syllabary, the sort ID, and the POI category. In addition, among data blocks included in the table of the POI data T1, the POI name Japanese syllabary 235 may have a plurality of Japanese syllabaries such as a formal name and another name with respect to one POI. When the POI name Japanese syllabary 235 has a plurality of Japanese syllabaries, a desired POI can be searched and computed even using another name or a formal name at the time of searching the POI name Japanese syllabary. For example, “Toratemu Tohkai-ten” having p1 as the POI ID in the first line of a table of the POI data T1 can be searched even using the formal name of “Toratemu Tohkai-ten” or the another name of “Tohkai Toratemu”.
Suppose that a plurality of Japanese syllabaries are registered with respect to one POI as in the first and second lines of a table of the POI data T1. As to data stored in the POI data storage unit 100, when a narrow search of the POI is performed using the Japanese syllabary as a search key, there is the possibility that the duplicated POIs are found and the number of hits of the Japanese syllabary and the number of the real POIs fail to be coincided with each other. For example, with respect to the POI data of the POI data storage unit 100 in
Note, however, that when the Japanese syllabaries hit by the narrow search fail to be associated with the duplicated POIs, the number of the POIs is matched with the number of the search results using the Japanese syllabary, and therefore, the processing for elimination of duplication is not required. For example, the search results of the Japanese syllabary 235 beginning with “hi” in the search keyword are two of “Higashiden-shobo” and “Hitachi-eki”. Since the POI IDs are p2 and p4, and also the number of the corresponding POIs is two, the processing for elimination of duplication is not required. Here, a term “-eki” means a term “a railroad station”.
In the processing for elimination of duplication, the POI ID to be deduplicated is required to be referenced one by one and compared with the other POI IDs of the search results. Therefore, a processing time proportional to the number (the number of the Japanese syllabaries hit by an input character string) of the POI IDs before the processing for elimination of duplication is required.
A narrow POI search result storage unit 110 is configured by storage media such as a large capacity hard disc capable of holding a memory without a power source. Data indicating keywords for the narrow search at the time of performing the narrow search of the POI data storage unit 100, the search keyword ID allocated to its search keywords, the number of hits of the POI satisfying the search keywords, and data on the next candidate characters are registered in the narrow POI search result storage unit 110. Further, the narrow POI search result storage unit 110 stores therein narrow search result data T2 with a data structure as in a table illustrated in
For example, the first line of the narrow search result data T2 means the following. That is, when an input character of the narrow search keywords is “a”, the number of the POIs having the Japanese syllabary of a POI name beginning with “a” is 627825 in the POI data stored in the POI data storage unit 100 and characters next to “a” are “a, i, u, e, . . . , n” in the Japanese syllabaries of the POIs included therein. Similarly, the second line of the narrow search result data T2 means the following. That is, the number of the POI where an input character of the narrow search keywords is “a” and the address is Ibaragi is 21456 in the POI data stored in the POI data storage unit 100 and characters of the Japanese syllabary next to “a” are “ka, ki, . . . , wo” in the Japanese syllabaries of the POIs included therein.
The narrow search result data T2 stores, in the items of the address 205 and the POI category 210, data “-” for meaning that the search keywords are not specified in the case where the address 205 and the POI category 210 as the items of the search keywords except for the input characters are not specified. When the narrow search has both patterns of the search keyword of the case where the search keyword items such as the address and the POI category are specified and the case where they are not specified, data which means that the search keywords are not specified as in the data “-” is required to be stored.
When the POI data T1 of the POI data storage unit 100 is referenced one by one and the narrow search is performed, the search results are previously prepared in relation to the narrow search that a time more than the required upper limit is required and stored as the narrow search result data T2 in the narrow POI search result storage unit 110. The narrow search time is a processing time at the time of computing the number of hits of the POI, and is a total value of a reference time of the Japanese syllabaries 235 of all the POI names hit by the search using an input character of the POI data T1 and further, when the elimination of duplication is required, a processing time required for the processing for elimination of duplication. The reference time of the POI name Japanese syllabaries 235 and the processing time of the processing for elimination of duplication get longer to be proportional to the number of hits of the POI name Japanese syllabaries 235. Here, suppose that one proportional coefficient of the number of hits with respect to the reference time of the POI name Japanese syllabaries 235 of the POI names is set to “a” and another proportional coefficient of the number of hits with respect to the processing time of the processing for elimination of duplication is set to “b”. Values of the proportional coefficients “a” and “b” are determined by a search performance of a POI data search unit 145. As the search performance is higher, the values of the proportional coefficients are smaller. When these proportional coefficients “a” and “b” are used, the search time in the case where the processing for elimination of duplication is not required is equal to “a×the number of hits of the POI name Japanese syllabaries”. On the other hand, the search time in the case where the processing for elimination of duplication is required is equal to “(a+b)×the number of hits of the POI name Japanese syllabaries”.
When the upper limit of the time required for the narrow search is set to “t”, conditions for storing narrow search results in the narrow search result data T2 are represented as an inequality “the number of hits of the POI name Japanese syllabaries>t/a” in the case where the processing for elimination of duplication is not required. On the other hand, the conditions are represented as an inequality “the number of hits of the POI name Japanese syllabaries>t/(a+b)” in the case where the processing for elimination of duplication is required. From now, “t/a” is called the upper limit of the number of hits without the processing for elimination of duplication, and “t/(a+b)” is called the upper limit of the number of hits with the processing for elimination of duplication. The narrow POI search result storage unit 110 stores therein the upper limit of the number of hits with the processing for elimination of duplication at the time of preparing the narrow search result data T2. As to whether to require the processing for elimination of duplication at the time of computing the number of hits of the POI, the POI data T1 is required to be searched and determined at the time of preparing the narrow search result data T2.
A processing of preparing a table of the narrow search result data T2 from the POI data T1 of the POI data storage unit 100 will be described below with reference to
A process flow of
In step S1010, for the purpose of extracting a narrow search input character 200 stored in a table of the narrow search result data T2 of the narrow POI search result storage unit 110, an initial value of a character string length n to be extracted is stored in the temporary storage unit 130. Since the character string length n is increased to 1, 2, 3, . . . in a successive processing loop, one is stored as the initial value.
Next, the processing loop in relation to the character string length n of the input character will be described. In step S1015, all character strings stored in the POI data T1 of the POI storage unit 100 as a value of the POI name Japanese syllabary is searched using as a target only its leading n characters according to values of the character string length n to be extracted in step S1015 and the leading n characters resulting from eliminating duplicated character strings from search results is stored in the table T9 of the leading n characters of the POI name Japanese syllabary stored in the temporary storage unit 130.
In step S1020, whether a character string of leading n characters or more in the POI name Japanese syllabary is found in the search of step S1015 is determined. If Yes, the process goes to step S1023. On the other hand, if No, it is considered that there is no POI name of leading n characters or more and the process is terminated.
In step S1023, both data blocks of the POI category 922 and the address 923 of the narrow search keyword storage table T11 stored in the temporary storage unit 130 are cleared. This narrow search keyword storage table T11 is a data table for storing the POI category and address specified as the narrow search keywords. A state where both the data blocks of the POI category 922 and the address 923 are cleared is represented by data “-”, and the data means that the data blocks are cleared and the items are not specified by the search keywords. E110, E115, E120, and E125 of
The above-described step S1025 is a processing for performing a search about data on leading n characters of the POI name Japanese syllabary, and calls a subroutine SUB01 which stores a search result in the narrow POI search result storage unit 110.
In step S1105, the number of hits of the POI associated with the Japanese syllabary searched in step S1100 is computed. The POI ID associated with the Japanese syllabary searched in step S1100 is searched and the number of hits of the POI is set to the number of the POI IDs where duplication is eliminated. The number of hits of the POI is stored in the number of hits of the POI 940 stored in the narrow search result storage table T14 of the temporary storage unit 130.
In step S1110, whether the number of hits of the POI computed in step S1105 is equal to the number of hits of the POI name Japanese syllabary computed in step S1100 is determined. The number of hits of the POI name Japanese syllabary 935 and the number of hits of the POI 940 stored in the narrow search result storage table T14 are compared with each other. If both values are equal to each other, the process goes to step S1117, and on the other hand, if both values are not equal to each other, the process goes to step S1115.
In step S1115, when a computation time of the number of hits of the POI computed in step S1105 exceeds the upper limit “t” of the search time, the process is branched. If the number of hits of the POI name Japanese syllabary 935 stored in the narrow search result storage table T14 exceeds the upper limit t/(a+b) of the number of hits with the processing for elimination of duplication, the process goes to step S1120. If No, the process skips a processing of registering the narrow search result in a table of the narrow search result data T2 and goes to step S1140. In step S1117, if the computation time of the number of hits of the POI name Japanese syllabary computed in step S1100 exceeds the upper limit “t” of the search time, the process is branched. If the number of hits of the POI name Japanese syllabary 935 of the narrow search result storage table T14 exceeds the upper limit t/a of the number of hits without the processing for elimination of duplication, the process goes to process S1120. If No, the process skips a processing of registering the narrow search result in a table of the narrow search result data T2 and goes to step S1140.
In step S1120, lines are added to a table of the narrow search result data T2 of the narrow POI search result storage unit 110, and the number of hits and next candidate characters corresponding to the narrow search input characters are stored in the lines. The number of hits of the POI 940 and next candidate characters 945 stored in the narrow search result storage table T14 are stored in the number of hits 212 and next candidate characters 214 of the lines added to the narrow search result data T2, respectively.
In step S1125, the POI name Japanese syllabary as the narrow search keywords is stored in the narrow POI search result storage unit 110. For the purpose, the leading n characters of the POI name Japanese syllabary used in step S1100 as the narrow search keywords are stored in the narrow search input character 200 of the line added to the narrow search result data T2 in step S1120. Similarly, in step S1130, the POI category and the address as the narrow search keywords are stored in the narrow POI search result storage unit 110. For the purpose, values of the POI category 922 and address 923 stored in the narrow search keyword storage table T11 are stored in the POI category 210 and address 205 of the lines added to the narrow search result data T2, respectively.
In step S1135, the search keyword ID for uniquely identifying the narrow search keywords at the time of computing the search result stored in the narrow search result data T2 is stored in the narrow search result data T2 of the narrow POI search result storage unit 110. In this search keyword ID, a serial number is allocated to the narrow search keyword whenever storing one narrow search result in the narrow search result data T2. For the purpose, the search keyword ID is stored in the temporary storage unit 130. In step S1135, a value updated by adding one to a value of the search keyword ID stored in the temporary storage unit 130 is stored in the search keyword ID 215 of the line added to the narrow search result data T2 of the narrow POI search result storage unit 110 in step S1120. Further, this updated value of the search keyword ID is stored also in the temporary storage unit 130 and the search keyword ID is overwritten.
In step S1140, completion determination of the narrow search is performed. Here, there is determined whether the narrow search is performed using as the search keywords all of the leading n characters of the POI name Japanese syllabary stored in the table T9 of the leading n characters of the POT name Japanese syllabary. If the narrow search is performed with respect to all the characters, the process returns to the processing of the calling origin of the subroutine SUB01. If No, the process returns to step S1100.
In the processing of
In step S1200 of the subroutine SUB02 illustrated in
In step S1210, the subroutine SUB01 is called, and the narrow search of the POIs falling under the POI category of the narrow search keyword storage table T11 specified in step S1200 as a target is performed using data of the leading n characters of the POI name Japanese syllabary. If a processing time exceeds the upper limit “t” of the search time, its search results are stored in the narrow search keyword storage table T11 of the narrow POI search result storage unit 110. If the processing of the subroutine SUB01 is terminated, the process goes to step S1220.
In step S1220, for the purpose of performing completion determination of the narrow search, whether the narrow search is terminated with respect to all the POI categories stored in the POI category table T7 is determined. If the search is terminated, the process terminates the subroutine SUB02 and returns to the processing of the calling origin. If No, the process returns to step S1200.
If step S1030 in which the subroutine SUB02 is called is terminated in the processing of
In step S1300 of the subroutine SUB03 illustrated in
In step S1305, the subroutine SUB01 is called, and the narrow search of the POIs falling under the address of the narrow search keyword storage table T11 specified in step S1300 as a target is performed using data of the leading n characters of the POI name Japanese syllabary. If the processing time exceeds the upper limit “t” of the search time, its search results are stored in the narrow search keyword storage table T11 of the narrow POI search result storage unit 110. If the processing of the subroutine SUB01 is terminated, the process goes to step S1310.
In step S1310, for the purpose of performing completion determination of the narrow search, whether the narrow search is terminated with respect to all the addresses stored in the POI address table T8 is determined. If Yes, the process terminates the subroutine SUB03 and returns to the processing of the calling origin. If No, the process returns to step S1300.
If step S1035 in which the subroutine SUB03 is called is terminated in the processing of
In step S1400 of
In step S1405, the subroutine SUB01 is called, and the narrow search of the POIs falling under the POI category and address of the narrow search keyword storage table T11 specified in step S1400 as a target is performed using data of the leading n characters of the POI name Japanese syllabary. If the processing time exceeds the upper limit “t” of the search time, its search results are stored in the narrow search keyword storage table T11 of the narrow POI search result storage unit 110. If the processing of the subroutine SUB01 is terminated, the process goes to step S1410.
In step S1410, for the purpose of performing completion determination of the narrow search, there is determined whether the narrow search is terminated with respect to combinations of all the respective values stored in the POI category 900 of the POI category table T7 and the POI address 905 of the POI address table T8. If the narrow search is terminated, the process terminates the subroutine SUB04 and returns to the processing of the calling origin. If the narrow search is not terminated, the process returns to step S1400.
In the processing of
As can be seen from the above discussion, the narrow search result data T2 which is stored in the narrow POI search result storage unit 110 is previously generated.
In the POI data T1 stored in the POI data storage unit 100, all the POI data blocks satisfying the respective narrow search keywords including a combination of data of the narrow search input character 200, address 205, and POI category 210 which are registered in the narrow search result data T2 stored in the narrow POI search result storage unit 110 are sorted in each search keyword ID of the relevant search keyword in the order corresponding to the sort ID of the POI. The sorted POI data blocks are stored as the POI list data T3 illustrated in
In the narrow search result data T2 of the narrow POI search result storage unit 110, all the narrow search results are not necessarily stored. The reason is that when the processing time at the time of performing the narrow search exceeds the upper limit “t” of the search time, its search results are previously stored in the narrow search result data T2 of the narrow POI search result storage unit 110. To cope with the above-described problem, when at the time of performing the narrow search, the narrow search result acquisition unit 150 searches the narrow search result data T2 of the narrow POI search result storage unit 110 and the search results are not found, the search data switch unit 135 instructs the POI data search unit 145 to search the POI data storage unit 100.
A display unit 140 is a unit which presents as presentation data to a user the search keywords set via an input unit 125 by a user and the narrow search results. A unit used for a display may be a visual display such as an LCD display and a cathode-ray tube. Or, alternatively, a speaker may be used for presentation via voices. For generating presentation information, a video card which converts character data into a displayable form on a screen may be used in the case of presenting video data, or a voice synthesis software which converts character data into audio data may be used in the case of presenting audio data.
The input unit 125 is a unit which receives input data via a user such as an input character through the narrow search, the POI category, and the address, and which converts the input data into an electric signal. A unit such as a touch panel for performing an input operation by pushing a mechanical switch or a button displayed on the display unit, or a unit which recognizes voices of the user may be used as the input unit. In the case of the touch panel, a portion having displayed thereon the search keywords of the POI is touched on the display unit 140 by hand so as to supply the search keywords to this unit. When performing a selection operation in the case of the mechanical switch, a physical button is pushed so as to supply the search keywords to this unit. When using the unit which recognizes voices, it is required that a microphone is provided on the input unit 125, and voices of the user are converted into an electric signal. Further, the search keywords input by the user via voices are required to be extracted from an electric signal using software for recognizing voices.
The temporary storage unit 130 is a storage area provided for temporarily storing data read out from the POI data storage unit 100 or the narrow POI search result storage unit 110. The temporary storage unit 130 may be provided on a main storage apparatus (not illustrated), or configured by special semiconductor storage elements. The temporary storage unit 130 used in the present invention may be configured by a nonvolatile memory, or a memory in which when power is turned off, data is erased. Further, data can be preferably read and written from and to the temporary storage unit 130 at high speed as compared with a large capacity storage medium such as a hard disc configuring the POI data storage unit 100.
The POI data search unit 145 has a function for searching the POI data storage unit 100 and computing the narrow search results based on the search keywords such as the input character, the address, and the POI category in the narrow search. The POI data search unit 145 will be specifically described using the POI data T1 illustrated in
The narrow search result acquisition unit 150 searches the narrow search result data T2 of the narrow POI search result storage unit 110, and obtains the narrow search result previously computed at the time of preparing data. A method for obtaining the narrow search result will be specifically described using the narrow search result data T2 illustrated in
The control unit 155 has a function for controlling each unit of the car navigation system 10. Specifically, the control unit 155 performs management for transmitting and receiving data between units and control for causing each unit to function according to a present timing. The control unit 155 performs control, for example, in the case of transferring data on the search results of the POI data search unit 145 to the temporary storage unit 130, or transferring the POI data stored in the temporary storage unit 130 to the display unit 140 for presentation.
The sort processing unit 170 sorts based on a value of the sort ID 600 the extraction POI data T4 being the POI data copied to the temporary storage unit 130 searched by the POI data search unit 145. The sort results are stored in the temporary storage unit 130 as the sorted extraction POI data T5, and can be displayed on the display unit.
The sorted POI list acquisition unit 180 obtains a sorted POI list from the sorted POI list storage unit 115 in the order corresponding to the sort ID of the POI using as a search key the search keyword ID 250 of the POI list data T3, and copies the obtained sorted POI list to the temporary storage unit 130.
A processing of the narrow search based on a control according to the control unit 155 of
In step S105, the narrow search result acquisition unit 150 searches the narrow POI search result storage unit 110 based on the search keywords produced from the input unit 125. When the search results are stored in the narrow search result data T2, the narrow search result acquisition unit 150 obtains each value of the number of hits 212 and next candidate characters 214 of the narrow search results, and the search keyword ID 215 used at the time of displaying the POI list.
In step S110, the narrow search result acquisition unit 150 determines whether the search result is found in step S105. If the search result is found, the narrow search result acquisition unit 150 obtains the search keyword IDs corresponding to the search results from the narrow search result data T2, and copies the obtained search keyword IDs to the temporary storage unit 130. The process then goes to step S160. If the search result is not found, the process goes to step S120.
Step S120 is a processing in the case where the narrow search result is not found in step S105, and corresponds to the case where the narrow search is performed by the search keywords in which the number of hits is smaller than a threshold. If the search result is not found in the narrow search result data T2 of the narrow POI search result storage unit 110, the search data switch unit 135 requests the POI data search unit 145 to perform the narrow search using the search keywords requested in step S100 and obtain its search results.
In step S130, the POI data search unit 145 searches the POI data T1 of the POI data storage unit 100 according to the requested search keywords, and refers to the POI data one by one. Further, the POI data search unit 145 computes the number of hits and next candidate characters of the POI name Japanese syllabary 235 using the same processing method as that at the time of preparing the narrow search result data T2, and stores the computed number of hits and the next candidate characters in the temporary storage unit 130.
In step S133, whether the processing for elimination of duplication is necessary for the number of hits computed in step S130 and the search time exceeds the upper limit even if performing the processing for elimination of duplication is determined and the process is branched. If the number of hits of the Japanese syllabary exceeds the upper limit t/(a+b) of the number of hits with the processing for elimination of duplication, the process goes to step S140. If No, the process goes to step S136. In addition, the upper limit of the number of hits with the processing for elimination of duplication is assumed to be previously stored in the narrow POI search result storage unit 110 at the time of preparing the narrow search result data T2, and is read from the narrow POI search result storage unit 110 and used.
In step S136, the processing for elimination of duplication is performed and the number of hits of the POI is computed. For the purpose, the POI ID corresponding to the POI name Japanese syllabary searched in step S130 is obtained, and the processing for elimination of duplication about the POI ID is performed, thus computing the number of hits of the POI. The computed number of hits of the POI is overwritten in the number of hits of the Japanese syllabary stored in the temporary storage unit 130 in step S130 and stored in the temporary storage unit 130.
In step S140, the display unit 140 displays values of the number of hits and next candidate characters stored in the temporary storage unit 130 in steps S130 and S136. D1 to D3 of
In step S145, the display unit 140 determines whether the user who views the number of hits of the narrow search result displayed in step S140 requests a list display of the POI of the narrow search result. If the list display of the POI is requested, the process goes to step S150. If the list display of the POI is not requested, the process returns to step S100 and waits for an input from the user. As to the request of the list display, for example, the user pushes a “display” button 410 of lower right of the screens of D1 to D3 illustrated in
In step S150, the subroutine of the display processing 1 for performing the list display of the POI in the case where the search time is short is called.
In a flowchart of the display processing 1 illustrated in
In step S510, the temporary storage unit 130 sorts each POI data of the extraction POI data T4 in the order corresponding to the sort ID 600 using the sort processing unit 170. As a method used for sort, use of a method for sorting data as fast as possible such as a quick sort permits the search time to be deleted among methods for comparing data of the sort ID 600 and sorting data in ascending order or in descending order. As a result of sorting data, the temporary storage unit 130 stores therein the POI data in which sorting is terminated in the order corresponding to the sort ID as the sorted extraction POI data T5 illustrated in
On the other hand, in step S160, the display unit 140 displays the number of hits and next candidate characters obtained in step S105 based on the narrow search result previously stored in the narrow search result data T2 of the narrow POI search result storage unit. The display unit 140 performs the same processing as that of the above-described step S140 about the display of the number of hits and the next candidate characters.
In step S165, the display unit 140 determines whether the user who views the number of hits of the narrow search results displayed in step S160 requests the list display of the POI of the narrow search results. If the user requests the display of the POI list, the process goes to step S170. If the user does not request the display of the POI list, the process returns to step S100 and waits for an input from the user again. In addition, the same description as that of the above-described step S145 is provided also in relation to the request of the list display.
In step S170, the display unit 140 calls the subroutine of the display processing 2 for performing the list display of the POI when the number of hits are large.
In the flowchart of the display processing 2 illustrated in
In step S720, the display unit 140 presents to the user the list data of the sorted POI data copied to the temporary storage unit 130 in step S700. As the method for presenting the POI data to the user, a method for presenting as a list the POI names lined according to the sort order based on the sorted POI data list on the above-described screen as illustrated in D4 of
As can be seen from the above discussion, the narrow search results are previously prepared in relation to the search keywords such that the search time increases. When performing the narrow search interactively, the previously prepared search results are used in the case where the search time increases. In the case where the search time does not increase, the search is actually performed, thereby preventing a response time from being reduced and suppressing the search results from increasing.
A search technology of the POI name described in this present embodiment can be applied to not only a car navigation system mounted on a vehicle, but also a PND (Portable Navigation Device) for searching the POI names or a portable mobile terminal as represented by a cellular phone.
The proposed name searching apparatus of the present invention can be applied to an in-car navigation system, a stationary computer, and a portable mobile terminal.
It should be further understood by those skilled in the art that although the foregoing description has been made on embodiments of the invention, the invention is not limited thereto and various changes and modifications may be made without departing from the spirit of the invention and the scope of the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
2009-154509 | Jun 2009 | JP | national |