The present application claims priority from Japanese application serial no. JP2011-250774, filed on Nov. 16, 2011, the content of which is hereby incorporated by reference into this application.
The present invention relates to a technology that reduces the size of retrieval data.
A car navigation system (hereinafter, referred to as a car navigation) provides traffic guide information to a user by processing map data. Models using a hard disk drive (HDD) as recording means of the map data are prevalent in the related art, but in recent years, models using a semiconductor device memory such as an SD memory card or a solid state drive (SSD) have become mainstream.
The semiconductor device memory has advantages in that power consumption is lower and impact-resistance is larger, but has a disadvantage in that a price per capacity is higher, than the HDD in the related art. As a result, in order to provide the car navigation to the user in the same price range as the related art, the capacity of the used semiconductor device memory needs to be smaller. However, a content of data required for an operation of the car navigation is not changed even though a recording medium is the HDD or the semiconductor device memory, and further, since the size of a database tends to increase every year due to maintenance, etc. of new roads or facilities, the technology of reducing the size of data recorded in the car navigation has been required at all times. As means of reducing the data size, the following technology is proposed.
First, as means generally used to reduce the data size without changing the content of the data, a data compression technology disclosed in Japanese Unexamined Patent Application Publication No. Hei 8 (1996)-237138 is used. Since the data compression technology can easily reduce the data size, multiple compression methods have been proposed and have widely spread, in addition to the technology disclosed in Japanese Unexamined Patent Application Publication No. Hei 8 (1996)-237138.
Further, as an additional technology of reducing the size of the data recorded in the car navigation, a technology disclosed in Japanese Unexamined Patent Application Publication No. 2003-207354 is used. In the technology, the data stored in the car navigation in the related art is stored in a server device connected through a communication network, and required data is sequentially downloaded from the server device to perform navigation. Since the data does not need to be stored in the car navigation by the technology, the capacity of the recording medium of the car navigation can be significantly reduced.
Further, as an additional technology of reducing the size of the data recorded in the car navigation, a technology disclosed in Japanese Unexamined Patent Application Publication No. 2001-304874 is used. In this technology, when retrieval is performed while information on newly maintained roads or stores after selling the car navigation is stored in the database of the server device connected through the communication network, in the case where the database in the car navigation is first retrieved and the corresponding facility is not discovered in the database within the car navigation, input retrieval conditions (genre, telephone numbers, names in alphabetical order) are transmitted to the server device and retrieval is performed in the database of the server device. When this technology is used, since the information on the newly maintained roads or stores need not be recorded in the car navigation after selling the car navigation, the capacity of the recording medium of the car navigation is enough if a capacity to record the database at the time of selling the car navigation is provided, and an increase in the size of the database by the maintained roads or facilities does not need to be considered after selling the car navigation.
However, the technologies disclosed in Japanese Unexamined Patent Application Publication Nos. Hei 8 (1996)-237138, 2003-207354, and 2001-304874 have the following problems.
First, in the data compression technology disclosed in Japanese Unexamined Patent Application Publication No. Hei 8 (1996)-237138, processing (hereinafter, referred to as decompressing) to return compressed data to an original state is required before referring to data. Since decompressing takes time, when the data is just compressed, performance when various navigations are performed by referring to the data deteriorates.
Further, in the technology disclosed in Japanese Unexamined Patent Application Publication No. 2003-207354, processing of acquiring data from the server device through the communication network is required before referring to data. With recent development of a data communication technology, a data communication speed is improved, but there is a problem when communication processing exerts significant influence on a user's operability. As one example in which the communication processing greatly influences the user's operability, there is a function to retrieve addresses or facilities by inputting names. When data is retrieved by inputting the names in a general car navigation, whenever one character is input from a keyboard, a candidate name or the corresponding number is displayed, or a control to press only a key which is inputtable next is performed, in order to improve the user's operability. Since the processing is implemented by acquiring information from a retrieval database whenever one character is input, communication with the server device through the communication network occurs whenever one character is input, and in particular, in a device in which the communication means such as the car navigation is only low-speed mobile communication, the user's operability significantly deteriorates.
Further, in the technology disclosed in Japanese Unexamined Patent Application Publication No. 2001-304874, when data is retrieved, the database stored in the car navigation is first retrieved, and when the corresponding data is not provided in the database of the car navigation, the input retrieval conditions (genres, telephone numbers, names in alphabetical order, and the like) are transmitted to the server device and retrieval intends to be performed with the database of the server device, and this technology assumes that an inquiry on the database does not occur while a user inputs the retrieval conditions. However, as described above, a function to present the candidate name to the user whenever one character is input is difficult to be implemented by the technology disclosed in Japanese Unexamined Patent Application Publication No. 2001-304874 because an inquiry on the database inevitably occurs whenever one character is input.
By considering the above aspect, an object of the present invention is to reduce the size of the database stored in the car navigation without damaging the user's operability during retrieval operation.
According to an aspect of the present invention, there is provided a retrieval terminal device connected to a retrieval server device through a communication network, including: a retrieval tree data storing unit configured to store node information corresponding to the relationship between information configuring data to be retrieved and information of a lower layer configuring the data than the information and retrieval tree data corresponding to entity identification information for identifying entity data representing an entity of the data to be retrieved which is specified by the information or the lower information included in the node information; an input controlling unit configured to output a candidate of the data to be retrieved based on the information or the lower information inputted by a user and the node information stored in the retrieval tree data unit; and an entity data acquiring unit configured to transmit to the retrieval server device a retrieval request including the entity identification information corresponding to the information or the lower information included in the candidate of the data to be retrieved, which is output by the input controlling unit and acquire the entity data identified by the entity identification information from the retrieval server device.
According to another aspect of the present invention, there is provided a retrieval server device receiving a retrieval request of data to be retrieved from a retrieval terminal device through a communication network, including: an entity data storing unit configured to store a plurality of entity identification information pieces for identifying entity data representing an entity of the data to be retrieved and the entity data which correspond to each other; and an entity data managing unit configured to retrieve the data to be retrieved from a plurality of entity data pieces stored in the entity data storing unit based on entity identification information for identifying the data to be retrieved which is specified by node information and lower information included in node information corresponding the relationship between the information configuring the data to be retrieved and the lower information configuring the data than the information and the number of candidates of the data to be retrieved which is specified by the information included in the node information or the lower information, which is included in the retrieval request.
According to yet another aspect of the present invention, there is provided a retrieval tree compressing method of compressing retrieval tree data, including: a node information listing step of listing a plurality of node information pieces corresponding to the relationship between information configuring data to be retrieved and lower information configuring the data than the information in a predetermined order; a node information classifying step of classifying the plurality of node information pieces listed by the node information listing step into two or more groups; and a node information compressing step of performing different data compression processing or uncompression processing to two or more respective groups classified in the node information classifying step, respectively.
According to still another aspect of the present invention, there is provided a center-linked retrieval system in which a retrieval terminal device and a retrieval server device are connected to each other through a communication network to retrieve data to be retrieved, in which the retrieval device includes: a retrieval tree data storing unit configured to store node information corresponding to the relationship between information configuring data to be retrieved and information of a lower layer configuring the data than the information and retrieval tree data corresponding to entity identification information for identifying entity data representing an entity of the data to be retrieved which is specified by the information or the lower information included in the node information; an input controlling unit configured to output a candidate of the data to be retrieved based on the information or the lower information inputted by a user and the node information stored in the retrieval tree data unit; and an entity data acquiring unit configured to transmit to the retrieval server device a retrieval request including the entity identification information corresponding to the information or the lower information included in the candidate of the data to be retrieved, which is output by the input controlling unit and acquire the entity data identified by the entity identification information from the retrieval server device, and the retrieval server device includes: an entity data storing unit configured to store a plurality of entity identification information pieces for identifying entity data representing an entity of the data to be retrieved and the entity data which correspond to each other; and an entity data managing unit configured to retrieve the data to be retrieved from a plurality of entity data pieces stored in the entity data storing unit, based on the entity identification information included in the node information and the number of candidates of the data to be retrieved which is specified by the information or the lower information, which is included in the retrieval request.
According to the embodiments of the present invention, the size of the database stored in the car navigation can be reduced without damaging user's operability during retrieval operation.
Hereinafter, a name candidate presented retrieval system of a first embodiment will be described with reference to
In the first embodiment, when a user retrieves facility information, a candidate facility name is displayed whenever the name is input by one character, the facility information is inquired to a retrieval server device at the time when the user selects a candidate name to display the result thereof on a screen.
The retrieval terminal device 100 includes a retrieval tree validity judging unit 110 configured to judge validity of retrieval tree data, a name input controlling unit 120 configured to control inputting of a name, a node information acquiring unit 130 configured to acquire node information from the retrieval tree data, a retrieval tree data recording unit 140 configured to record one or more of retrieval tree data pieces 141, an entity data acquiring unit 150 configured to inquire entity data to the retrieval server device based on information included in the node information, a candidate name setting unit 160 configured to display a candidate name included in the node information on a name input screen, a retrieval tree data updating unit 180 configured to update the retrieval tree data, and a retrieval controlling unit 190 configured to display various screens required for a series of retrieval operations.
The retrieval server device 200 includes an entity data recording unit 230 configured to record one or more of index data pieces 231 and entity data 232, an update retrieval tree data recording unit 240 configured to record one or more of the latest retrieval tree data pieces (update retrieval tree data) 241, an entity data managing unit 250 configured to process a retrieval request of the entity data, and a retrieval tree data managing unit 280 configured to transmit information of the retrieval tree data to the retrieval terminal device.
The communication network 300 corresponds to a communication network which is usable in a car navigation, such as a mobile phone network and a wireless communication network as a general communication network.
The retrieval tree identifier 1411 is an identifier indicating the type of retrieval tree. In the example of the drawing, “100” is stored and represents retrieval data of a restaurant. The retrieval tree validity term 1412 represents a validity term of the retrieval tree data 141, and the retrieval tree data of the drawing means data which is valid up to Mar. 31, 2020.
The node information 1413 and 1414 list information of each node constituting the retrieval tree data 141. Characters and a list of information indicating the position of lower node information when the characters are input are stored in each node information piece. For example, node information (1) discloses information of first characters of all names and means that names in which first characters are “A”, “B”, and “D” are present. Similarly, node information (2) discloses information on a second character when the first character is “A”, and means that a name in which the second character is “A” or “C” is present. Node information (3) discloses information on a third character when the first character is “A” and the second character is “A”, and means that a name in which the third character is “B” is present.
Further, “¥0” which is a special control symbol is included in each node information piece, in addition to the general characters. “¥0” represents which part of the name list 1415 a candidate name corresponding to current node information starts. For example, “¥0” of the node information (2) represents that a candidate name when an input character string is “A” starts from a first row “A” of a name list, and “¥0” of the node information (3) represents that a candidate name when the input character string is “AA” starts from a second row “AAB” of the name list.
The above description is similarly applied even to other node information (4), (5), (6), and (7) disclosed in the drawing. Further, in the following description, the first node information (node information (1)) of the retrieval tree data is called root node information.
The node information 1413 and 1414 of the first embodiment is listed and recorded in a depth order of layers of the nodes (the order of characters constituting the character string). That is, the node information (1) corresponding to the first character, the node information (2) and (6) corresponding to the second character, the node information (3), (4), and (7) corresponding to the third character, and the node information (5) corresponding to a fourth character are recorded in sequence. Herein, the node information (3), (4), (7), and (5) (that is, the node information 1414) corresponding to the characters after the third character is stored in the retrieval tree data recording unit 140 in a data compressed state.
The name list 1415 stores retrievable names, and the number of cases and entity IDs required to inquire the names to the retrieval server device, which are listed and stored in alphabetical order of the names.
Hereinafter, the first embodiment will be described according to a processing flow when the user performs the retrieval operation.
Subsequently, the retrieval tree validity judging unit 110 compares the retrieval tree validity term 1412 acquired in steps S1101 and S1102 with the current time to judge the validity of the retrieval tree data 141 (step S1103). Further, the retrieval tree validity judging unit 110 instructs the display of the name input screen 121 to the retrieval controlling unit 190 when the current time is within the validity term (step S1104). Meanwhile, the retrieval tree validity judging unit 110 instructs the display of the retrieval tree data update screen 181 to the retrieval controlling unit 190 when the current time is over the validity term (step S1105). In addition, a processing flow of updating the retrieval tree data will be described below.
An operation of the name input screen 121 is as follows. First, when the user inputs the character “A” by using the keyboard 123, “A”, “AAB”, “AAC”, “AAD”, “AAE”, and “AAF” which are the candidate names are displayed on six candidate name buttons 124, respectively as well as “A” is displayed in the name input column 122. Subsequently, when the user inputs the character “C” by using the keyboard 123, “ACD” and “ACE” which are candidate names are displayed on two candidate name buttons 124, respectively.
The name input controlling unit 120 waits for pressing of the button by the user when the name is not determined as the result of judgment of step S1203 (step S1204). When the button is pressed, the name input controlling unit 120 first judges whether the pressed button is the candidate name button 124 (retrieval button) (step S1205). Meanwhile, when the pressed button is not the candidate name button 124 (retrieval button), that is, when the character is input by using the keyboard 123, the name input controlling unit 120 instructs acquisition of node information corresponding to the pressed character among lower node information of the node information which is completely acquired, to the node information acquiring unit 130 (step S1206). The name input controlling unit 120 acquires the lower node information and thereafter, repeats the processing from step S1202. During the repeated processing, when it is judged that the name is determined in step S1203 and when the candidate name button (retrieval button) 124 is pressed in step S1205, the name input controlling unit 120 acquires the number of cases and an entity ID corresponding to the pressed candidate name button (retrieval button) 124 from the candidate name setting unit 160, notifies the number of cases and the entity ID to the retrieval controlling unit 190 to instruct the display of the retrieval result acquiring screen 151 (step S1207).
When the instruction of the acquisition of the root node information is received, the node information acquiring unit 130 sets a first node of the node information 1413 included in the retrieval tree data 141 as the acquisition target node (step S1302). When acquisition of not the root node information but the lower node information is received, the node information acquiring unit 130 sets as node information corresponding to an input character as the acquisition target node in the lower node information included in the currently acquired node information (step S1303).
Subsequently, the node information acquiring unit 130 judges which information of the node information (uncompressed data) 1413 and the node information (compressed data) 1414 the acquisition target node is included in (step S1304). The judgment is achieved by verifying how many characters there are before the character that the acquisition target node corresponds to. That is, as described in
Subsequently, the candidate name setting unit 160 sets the acquired candidate names with respect to the candidate name buttons (retrieval buttons) 124, respectively (step S1602). Subsequently, the candidate name setting unit 160 judges whether or not the lower node information is included in the node information acquired by the node information acquiring unit 130 (step S1603). When the lower node information is not present, the candidate name setting unit 160 notifies to the name input controlling unit 120 that the name is determined (step S1604).
For example, in the case of the entity data request message illustrated in
Subsequently, in step S1103 of
By a content described above, since the retrieval tree data for displaying the candidate name is stored in the retrieval terminal device and communication processing does not thus occur, the user's operability at the time of inputting the name is not impaired. Further, when the node information is acquired from the retrieval tree data, since the compressed data is decompressed in step S1305 of
In detail, node information, which is included in a range where a time required to decompress the compressed data is equal to or less than a predetermined threshold according to a distribution of character numbers included in the node information of each layer in the node information constituting the retrieval tree data 141 illustrated in
Further, by the content described above, since the entity data referred to from the retrieval tree data may be stored in the retrieval server device, the size of the data stored in the retrieval terminal device may be reduced.
Hereinafter, a keyboard controlled retrieval system of a second embodiment will be described with reference to
The node information 1423 and 1424 list information of each node constituting the retrieval tree data 142. Characters, the number of cases when the characters are input, and a list of information indicating the position of lower node information when the characters are input are stored in each node information piece. For example, the node information (1) represents that the number of cases when “A” is input is 21 and the number when “B” is input is 26. It is the same in other characters.
Further, “¥0” which is a special control symbol is included in each node information piece, in addition to the general characters. When the character is “¥0”, a value acquired by adding up the numbers of all characters included in the node information is stored in a column in which the corresponding number of cases is stored, and an entity ID corresponding to the node information is recorded in a column representing the position of the lower node information. For example, the node information (4) is node information acquired when the user inputs the characters in the order of “AC”, and means that the number of cases when the input is “AC” is 12 and the entity ID in the case is 998.
Each node information piece constituting the node information (uncompressed data) 1423 and the node information (compressed data) 1424 of the second embodiment is listed and recorded in the order of the number represented by “¥0”. That is, the node information (1) of which the largest number of cases is 67 is disposed at the lead and subsequently, the node information (6) of which the number is 26 is disposed. It is the same even with respect to subsequent nodes. Herein, the node information (3) and (5) of which the number of cases is 10 or less is stored in the retrieval tree data recording unit 140 in the data compressed state.
Hereinafter, the second embodiment will be described according to a processing flow when the user performs the retrieval operation. A flow until the name input screen is displayed is the same as that of the first embodiment.
In an initial screen illustrated in
Operations of the name input controlling unit 120, the node information acquiring unit 130, and the keyboard controlling unit 170 will be described below with respect to processing for performing the operation illustrated in
The operation of the name input controlling unit 120 is the same as that of the first embodiment, except that the configuration that instructs the setting of the candidate name to the candidate name setting unit 160 in step S1202 of
The operation of the node information acquiring unit 130 is the same as that of the first embodiment, except that a reference for judging whether or not the acquisition target node is present in the compressed data in step S1304 of
In regard to the keyboard controlling unit 170, a flowchart illustrating the operation of the keyboard controlling unit 170 is illustrated in
In the name input controlling unit 120, when the name is determined in step S1203 of
By the content described above, since the retrieval tree data for displaying the number of cases whenever the user inputs one character and performing the control to enable only the key which is inputtable next to be pressed is stored in the retrieval terminal device and thus communication processing does not thus occur, the user's operability is not impaired. Further, the compressed data is decompressed at the time of acquiring the node information from the retrieval tree data only when the number of cases is 10 or less, and as a result, when the retrieval button 124 is pressed in a state in which the number is more than 10, operability by decompressing the compressed data does not deteriorate. In addition, the node information in which the number of cases is equal to or less than 10 is set as the compression target in the embodiment, but the number of cases is not limited to 10 or less and may be set according to the number of case included in the retrieval data.
In detail, node information of the number of cases in which a time required to decompress the compressed data is equal to or less than a predetermined threshold according to the number of characters included in the node information of each layer in the node information constituting the retrieval tree data 142 illustrated in
Further, as in the first embodiment, since the entity data referred to from the retrieval tree data may be stored in the retrieval server device, the size of the data stored in the retrieval terminal device may be reduced.
In addition, in the first embodiment and the second embodiment described above, node information in which the layer is deeper than any layer (for example, node information corresponding to a character displayed when the retrieval result is sufficiently narrowed) in the node information included in the retrieval tree data is referred to as node information which is small in the number, that is, node information of which a referred frequency is low, and as a result, only the node information may be set as the compression target. In this case, since node information of which a reference frequency is high is not compressed, an occurrence frequency of a stand-by time which is generated according to the decompressing of the compressed data may be reduced and user convenience may be further improved.
As such, as illustrated in the first embodiment and the second embodiment, for example, data (retrieval tree data) required whenever the user inputs one character as the name of the retrieval target is stored in the car navigation in the database required to retrieve the facility data, and an entity (data of a facility name, an address, a telephone number, and the like, that is, entity data) of the retrieval data referred to from the retrieval tree data is stored in an external retrieval server device connected through the communication network, processing to improve the user's operability at the time of inputting the name is executed by referring to the retrieval tree data stored in the car navigation, and the entity data is inquired to the retrieval server device at the time when the user instructs retrieval execution or at the time when the retrieval tree data is referred to, and as a result, it may be judged that more characters does not need to be inputted, and the result is displayed on the screen of the car navigation. As such, the data which significantly influences the user's operability is stored in the car navigation to reduce the size of the database stored in the car navigation without impairing the user's operability.
Further, the retrieval tree data stored in the car navigation is partially compressed. For example, when the user inputs the name of the retrieval target, a long name is rarely input to the end and in general, there are many cases in which the retrieval processing is executed at the time when a predetermined length is input to select a name to be targeted from a result list. That is, there are many cases in which a node corresponding to a character close to the lead of the name is particularly referred, but a node corresponding to a character close to the end of the name is not referred, among a plurality of nodes constituting the retrieval tree data. Only the node of which the reference frequency is low is selectively compressed to reduce the size of the database stored in the car navigation without impairing the user's operability.
In addition, when the retrieval tree data updating unit updates the retrieval tree data, the data recording unit stores history information such as the number of times or a time to access the node information included in retrieval tree data in the past, and the node information of which the number of access times is small of the stored history information may be set as the compression target. As such, by determining the data to be compressed according to the history of the access to the node information, the compressed data may be set more efficiently.
The present invention is not limited to only the embodiments, but in the execution step, the components may be transformed and actualized within the scope without departing from the spirit thereof. For example, the retrieval method or the compression method disclosed in the first embodiment and the second embodiment may be, of course, appropriately combined or implemented in all selectable formats.
Number | Date | Country | Kind |
---|---|---|---|
2011-250774 | Nov 2011 | JP | national |