The present invention relates to a data access method and data access device for acquiring desired data by gaining access to a database.
For example, Patent Document 1 discloses a service function provider system which manages on a table addresses of service functional units for executing service functions and pointers to service function executing units, and executes a service function by acquiring, when making data access or calling a particular service function, the address corresponding to a pointer by referring to the table, and by starting a service function executing unit in accordance with the address. Referring to the table, the system can directly call a function linked to a parent program from a common library by using an entry name.
However, the Patent Document 1 contains no mention of relationships between a data access program that accesses real data and the management data of the addresses and pointers. Generally, when a data specification is altered, the data access program must be revised in accordance with it, and unless the data access program cannot cope with it, efficient data access cannot be achieved even if only changes of the addresses or offsets indicating storage locations of the data are managed.
In particular, as for the map data used by the navigation system in general, its volume has a variable length and is large, its update is made frequently, and its data format is changed often. In this case, every time the data specification is altered, data addresses or offsets based on a data specification after alteration and a data access program that accesses real data in accordance with them become necessary.
The present invention is implemented to solve the foregoing problems. Therefore it is an object of the present invention to provide a data access method and data access device capable of gaining access to desired data stored in a data group efficiently and quickly.
Patent Document 1: Japanese Patent No. 3022837.
According to a data access method in accordance with the present invention, an information processing apparatus, which comprises data management data that determines storage locations of real data in a data group in accordance with data definition information indicating a data structure of the data group storing the real data and a data access program that describes an access function to the real data whose data structure in the data group is specified in accordance with the data definition information, gains access to the real data of the data group by executing the data access program while determining the storage locations of the real data by referring to the data management data.
According to the present invention, the information processing apparatus, which comprises the data management data that determines storage locations of the real data in the data group in accordance with the data definition information indicating the data structure of the data group storing the real data and the data access program that describes the access function to the real data whose data structure in the data group is specified in accordance with the data definition information, gains access to the real data of the data group by executing the data access program while determining the storage locations of the real data by referring to the data management data. Accordingly, it offers an advantage of being able to access desired data stored in the data group efficiently and quickly.
The best mode for carrying out the invention will now be described with reference to the accompanying drawings to explain the present invention in more detail.
The term “data management data” refers to data that sets, in an aggregate of data (a database or file system) (a data group) used by a system for achieving a certain objective, an address indicating a storage location of data or an offset indicating the top of data or a distance from the top of data to a particular component (data item) (a storage location in the data group). The term “data access program” refers to a program that accesses real data in the data aggregate by referring to the data management data.
The data access device 1 comprises a data definition information input unit 2, a data definition information analysis unit 3, a data management data generating unit 4, a data access program generating unit 5, a data management data output unit 6, and a data access program output unit 7.
The data definition information input unit 2, which is a component for receiving data definition information, reads the data definition information from an external storage unit, for example. The data definition information analysis unit 3 is a component for analyzing the data definition information. The data definition information is information that defines a data structure in the data aggregate to be accessed. For example, it defines data items and their data lengths constituting the data.
The data management data generating unit 4 is a component for generating the data management data according to an analysis result of the data definition information analysis unit 3. In addition, the data access program generating unit 5 is a component for generating a data access program according to an analysis result of the data definition information analysis unit 3. The data management data output unit 6 is a component for generating and outputting the data management data about items to be output from the data management data generated by the data management data generating unit 4 by referring to data management data output definition information. Here, the term “data management data output definition information” is information indicating the output format of the data management data about items to be output and a data item of the data to be output.
The data access program output unit 7 is a component for generating and outputting the data access program to be output from the data access program generated by the data access program generating unit 5 by referring to data access program output definition information. Here, the term “data access program output definition information” refers to information that designates an output language, output type, naming rule and the like of the data access program to be output.
Incidentally, as the external storage unit 10, are mentioned a hard disk drive (HDD), a storage medium such as a CD or DVD and its drive, and a USB (Universal Serial Bus) memory.
The data access application program, application software program and software library are developed from the external storage unit 10 onto the memory 9, and are executed by the CPU 8. The CPU 8 implements, by executing the data access application program, the data definition information input unit 2, data definition information analysis unit 3, data management data generating unit 4, data access program generating unit 5, data management data output unit 6, and data access program output unit 7 shown in
A calculation result by the CPU 8 is supplied to the display device 11 via a bus and is displayed on its screen. The display device 11 executes map display and the like in the car navigation, for example. As the display device 11, is mentioned a liquid crystal display or a plasma display.
The communication device 12, a device for carrying out communication with the outside, receives GPS (Global Positioning System) radio waves or FM radio waves.
The input device 13, a device for operation and input from the outside, is implemented by comprising a keyboard, operation switches, a touch panel combined with the display device 11, and the like. In the case of the navigation system, conditions for a route search are input using the input device 13.
Incidentally, although
Next, the operation will be described.
First, the data definition information input unit 2 acquires the data definition information by accessing the external storage unit (step ST1). The data definition information acquired by the data definition information input unit 2 is supplied from the data definition information input unit 2 to the data definition information analysis unit 3.
The data definition information analysis unit 3 analyzes the contents of the data definition information received from the data definition information input unit 2 (step ST2).
At step ST3, the data management data generating unit 4 generates the data management data from the analysis result of the data definition information analysis unit 3. Here, a case will be described in which it determines the real data structure of the data aggregate from the fixed length data items and their data lengths and the presence or absence of the variable length data items of the individual data by analyzing the data definition information, and generates the data management data that defines an offset to the top of the individual data from the real data structure.
First, the data management data generating unit 4 acquires the analysis result of the data definition information analysis unit 3 (step ST10). Subsequently, the data management data generating unit 4 decides on whether there is variable length data in the data whose structure is defined by the data definition information from the analysis result of the data definition information acquired (step ST11). If no variable length data is present in the data (NO at step ST11), the data management data generating unit 4 determines offsets to individual items from the fixed length data items and their data lengths in the data, and generates the data management data in which the offsets are set (step ST12).
On the other hand, if variable length data is present in the data (YES at step ST11), the data management data generating unit 4 reads the real data of the data from the data aggregate to check the data size of the variable length data section (step ST13), and analyzes the data size of the variable length data section (step ST14). The data management data generating unit 4 specifies the real data structure including the variable length data items and their data lengths in the data obtained by the analysis in addition to the fixed length data items and their data lengths, and generates from the real data structure the data management data in which the offset values to the individual items are set (step ST12).
In the example of
Let us return to the explanation of
Receiving the data management data the data management data generating unit 4 generates, the data management data output unit 6 refers to the data management data output definition information, and outputs the data management data corresponding to the definition contents of objects to be output (step ST4).
For example, as for a function that requires the data of all the items A-E shown in
In addition, there are some cases where data items used in the processing vary depending on a function.
The data management data output definition information can be described in terms of an XML (eXtensible Markup Language) format or text format. In addition, the data management data output definition information is stored in advance in a memory whose storage contents are readable by the data management data output unit 6. For example, a memory is used which is included in the computer functioning as the data access device 1. Incidentally, a configuration is also possible which can add or update the data management data output definition information by external operation using the input device 13.
In addition, the data management data output unit 6 supplies the data management data to the external storage unit 10 of
As shown in
When the CPU 8 (see
Let us return to the description of
The data access program generating unit 5 receives the analysis result of the data definition information from the data definition information analysis unit 3, and generates a data access program from the analysis result (step ST5). Here, the data access program for having data access to the data aggregate is generated by using the data aggregate to be accessed and information indicating its data structure, which are acquired from the analysis result of the data definition information.
Subsequently, receiving the data access program the data access program generating unit 5 generates, the data access program output unit 7 outputs the data access program corresponding to the definition contents of objects to be output by referring to the data access program output definition information (step ST6).
In addition, the data access program output unit 7 supplies the data access program to the external storage unit 10 of
The data access program generating unit 5 generates, from the data aggregate to be accessed and its data structure obtained as the analysis result of the data definition information, the data access program for acquiring individual data (data items) in the data aggregate to be accessed as shown in
In addition, the data access program output definition information is stored in advance in a memory whose storage contents are readable by the data access program output unit 7. For example, a memory is used which is included in the computer functioning as the data access device 1. Incidentally, a configuration is also possible which can add or update the data access program output definition information by external operation using the input device 13.
In this case, referring to the data access program output definition information, the data access program output unit 7 generates data access programs for individual functions (A access program, B access program and C access program) 10c from the data access program generated by the data access program generating unit 5, and installs into the system.
When the CPU 8 (see
As described above, according to the present embodiment 1, the information processing system like a navigation system comprises the data management data that defines the storage locations of the real data in the data group on the basis of the data definition information indicating the data structure of the data group (data aggregate), and the data access program that describes the access function to the real data in which the data structure is specified on the basis of the data definition information; determines the storage locations of the real data by referring to the data management data; and accesses the real data in the data group by executing the data access program. Doing in this way enables efficient and quick access to the desired data.
In addition, according to the present embodiment 1, it comprises the data definition information input unit 2 for acquiring the data definition information indicating the data structure of the data group retaining the real data; the data definition information analysis unit 3 for analyzing the contents of the data definition information acquired by the data definition information input unit 2; the data management data generating unit 4 for generating the data management data that defines the storage location of the real data in the data group from the data structure of the data group obtained by analyzing the data definition information by the data definition information analysis unit 3; the data access program generating unit 5 for generating the data access program that describes the access function to the real data whose data structure in the data group is specified by analyzing the data definition information by the data definition information analysis unit 3; the data management data output unit 6 for producing the data management data that satisfies the contents to be output from the data management data generated by the data management data generating unit 4 by referring to the data management data output definition information that defines the contents to be output of the data management data; and the data access program output unit 7 for producing the data access program that satisfies the contents to be output from the data access program generated by the data access program generating unit 5 by referring to the data access program output definition information that defines the contents to be output of the data access program. With such an arrangement, it can automatically generate the data management data and data access program, which are used for having access to the desired data efficiently and quickly.
The SW library 10a has program elements installed for achieving various functions of the navigation system 14. For example, an object relating to a route search has a hierarchical structure consisting of program elements for implementing the various functions in the route search.
A map database (map DB) 10d is a data aggregate comprising map data. In addition, the navigation system 14 is implemented by the hardware configuration as shown in
The navigation function executing unit 15, which is a component for executing various functions relating to the navigation, is implemented by the CPU 8 that executes applications concerning the navigation. In this case, the CPU 8 executes the program element of a particular function of the SW library 10a, thereby operating as a functional unit 15a that executes the function. Referring to the data management data 10b, the functional unit 15a executes the data access program 10c, thereby acquiring the necessary data from the map DB 10d.
A position detecting unit 16 is a component for detecting the position of a vehicle that is equipped with the navigation system 14, and obtains the current position of the vehicle using GPS signals or map matching with measured values of a sensor group such as a vehicle speed sensor and gyro-sensor.
The data definition information 10e, which defines the map data structure of the map DB 10d, is stored in the storage apparatus whose storage contents are readable by the data definition information input unit 2.
Next, the operation will be described.
Here, an example of generating the data management data for the map graphic data of the map DB 10d will be described.
The data management data generating unit 4 decides on whether the map graphic data defined by the data definition information contains variable length data or not from the analysis result of the data definition information received from the data definition information analysis unit 3. As described above, since the data on the polygons and points are variable length data, the data management data generating unit 4 reads the real data on the polygons and points from the map DB 10d and analyzes the data sizes of the variable length data.
According to the analysis, the data management data generating unit 4 obtains the variable length data items (values of the parameters numPolygon and numPoint of
Receiving the data management data the data management data generating unit 4 generates, the data management data output unit 6 outputs the data management data defined by the data management data output definition information, and incorporates into the navigation system 14.
For example, the data management data output unit 6 extracts the coordinates of the polygons from the data management data the data management data generating unit 4 generates and generates the data management data shown in
Likewise, the data management data output unit 6 extracts the coordinates of the points from the data management data the data management data generating unit 4 generates and generates the data management data shown in
The data management data 10b and data access program 10c generated as described above are incorporated into the navigation system 14.
To execute a function such as a route search or map display, the functional unit 15a executes the data access program 10c, thereby acquiring necessary map graphic data from the map DB 10d by referring to the offset values of the data management data 10b. Doing in this way enables efficient and quick access to the desired map data.
In addition, it is also possible to generate the data management data 10b for each navigation function such as a route search or map display by designating the contents of the data management data output definition information in the same manner as the foregoing embodiment 1. In this case, for each navigation function, the addresses or offsets of the data necessary for executing the navigation function are assigned to the data management data 10b.
Thus classifying and managing the data for each function can facilitate the maintenance of the data.
Furthermore, together with the generation of the data management data 10b for each navigation function, it is also possible to generate the data access program 10c for each navigation function such as a route search or map display by designating the contents of the data access program output definition information in the same manner as the foregoing embodiment 1.
In this case, the functional unit 15a of the navigation function executing unit 15 gains access to the map DB 10d by referring to the data management data 10b of the corresponding navigation function by executing the data access program 10c, thereby acquiring the data necessary for the navigation function.
This enables more efficient and quick access to desired map data as compared with the case of setting them as separate data, by providing the data management data for each mesh of the map data and by locating in the map DB the storage location of the data necessary for processing each mesh by referring to the data management data corresponding to the mesh, for example.
As described above, according to the present embodiment 2, it comprises the data management data 10b which defines the storage locations of the real data in the map DB 10d in accordance with the data definition information 10e indicating the data structure of the map DB 10d that stores the real data of the map data; the data access program 10c that describes the access function to the real data whose data structure in the map DB 10d is specified by the data definition information 10e; and the functional unit 15a for determining the storage locations of the real data by referring to the data management data 10b and for gaining access to the real data of the map DB 10d by executing the data access program 10c. Accordingly, it can access the desired map data efficiently and quickly.
In addition, according to the present embodiment 2, since the data management data is the data that defines the storage locations of the real data used for the individual functions of the navigation, it can gain access to the map data used for the individual functions of the navigation efficiently and quickly. Furthermore, since the map data is classified in accordance with the individual functions, it can facilitate maintenance of the map data.
In addition, according to the present embodiment 2, since the data access program is a program that describes the access functions to the real data used for the individual functions of the navigation, it can access the map data corresponding to the individual functions efficiently and quickly.
Furthermore, according to the present embodiment 2, since the data management data is made an integral part of the map DB 10d as shown in
The data management data output from the data management data output unit 6 is stored in the external storage unit 10 or the like as shown in
The navigation function executing unit 15 (functional unit 15a) determines the storage locations of the real data by referring to the data management data 10b, and accesses the map DB 10d by executing the data access program 10c, thereby acquiring the real data used for the processing concerning the navigation.
As described above, according to the embodiment 3, since the navigation system 14a includes the configuration of the data access device 1, the navigation system 14a itself can generate the data management data 10b and data access program 10c automatically without waiting for the data access device 1 to incorporate the data management data 10b and data access program 10c as in the foregoing embodiment 2.
The present embodiment 4 shows a usage mode as a navigation system as in the foregoing embodiments 2 and 3. In the navigation system, if terrestrial facilities such as roads and buildings constituting a map change, it becomes necessary to update a map database in accordance with the changes. In addition, there are some cases that involve alteration of the data structure (data format) such as adding attributes of the map data in the update of the map database. Thus, when the update of the map database is necessary, the navigation system of the embodiment 4 updates the data definition information in such a manner as to show the data structure of the map database to be updated, which includes data about the terrestrial facilities to be updated, thereby enabling efficient and quick data access even if the map data is updated.
The updated map DB 10f is a map database including the map data of terrestrial facilities changed. The SW library 10a, data management data 10b, data access program 10c, map DB 10d, data definition information 10e and updated map DB 10f are stored in the external storage unit 10 shown in
In addition, causing the CPU 8 to execute a program element of the map DB update function in the SW library 10a enables the CPU 8 to operate as the map DB update unit 15b that executes the function.
The map DB update unit 15b is a component that executes the data access program 10c generated using the data definition information after the update, and acquires the map data from the map DB 10d and updated map DB 10f by referring to the data management data generated using the data definition information after the update, thereby reflecting the map data contents after the update in the navigation processing.
The data definition information update unit 17 is a component for updating the existing data definition information (data definition information of the map DB 10d) by using difference data about a portion to be changed (terrestrial facilities to be updated) between the existing map DB 10d and the updated map DB 10f.
Next, the operation will be described.
First, the data definition information update unit 17 reads the map data of the existing map DB 10d (step ST21), and then reads the map data of the updated map DB 10f (step ST22). For example, it reads the map data contained in tiles at corresponding locations in the map DB 10d and updated map DB 10f on a tile by tile basis.
Next, the data definition information update unit 17 compares the map data it successively reads from the map DB 10d and updated map DB 10f, and extracts the difference data corresponding to the a portion to be changed (terrestrial facilities to be updated) (step ST23). For example, in a case where the data size of the data item A in the map DB 10d is 2 bits, but the data size of the data item A of the updated map DB 10f becomes 4 bits, it specifies the changes in the data size between the corresponding data as the difference data. Incidentally, even if there is no change, it extracts the difference data with a data size change=0.
Extracting the difference data between the map data of the map DB 10d and the map data of the updated map DB 10f, the data definition information update unit 17 reads the data definition information corresponding to the map data (step ST24), compares the difference data with the data definition information, and extracts a portion to be changed in the data definition information (step ST25).
Here, the data definition information update unit 17 decides on whether the data definition information has a substantial change or not (step ST26). If the data definition information does not have any change because of the difference data with the data size change=0 (NO at step ST26), the data definition information update unit 17 terminates the update processing of the data definition information corresponding to the map data.
On the other hand, if the data definition information has a change (YES at step ST26), the data definition information update unit 17 updates the data definition information in such a manner as to reflect the difference data (step ST27). For example, if the data size of the data item A of the updated map DB 10f becomes 4 bits as mentioned above, it revises the data item A of the data definition information to the data item A of the updated map DB 10f with the data size of 4 bits.
The data definition information update unit 17 updates the data definition information (step ST30). The processing corresponds to the processing of
The data definition information analysis unit 3 analyzes the contents of the data definition information supplied from the data definition information input unit 2 (step ST32). After that, the data management data output unit 6 reads the data management data output definition information (step ST33).
Next, the data management data generating unit 4 decides on whether the map data whose structure is defined by the data definition information includes variable length data or not from the analysis result of the data definition information fed from the data definition information analysis unit 3 (step ST34). Unless the map data includes the variable length data (NO at step ST34), the data management data generating unit 4 determines offsets to individual items from fixed length data items and their data lengths in the map data, and generates the data management data in which the offsets are set. After that, the processing proceeds to step ST35.
On the other hand, if the data includes variable length data (YES at step ST34), the data management data generating unit 4 reads the real data of the map data from the updated map DB 10f to check the data size of the variable length data section (step ST36), and analyzes the data size of the variable length data section (step ST37). According to the analysis, the data management data generating unit 4 obtains the variable length data items and their data lengths in the map data, specifies the real data structure considering together with them the fixed length data items and their data lengths, and generates the data management data that sets the offset values to the individual items on the basis of the real data structure. After that, the processing proceeds to step ST35.
At step ST35, the data management data output unit 6 acquires the data management data the data management data generating unit 4 generates (the data management data corresponding to the updated map DB 10f), outputs the data management data corresponding to the definition contents of objects to be output by referring to the data management data output definition information and stores in the storage apparatus (external storage unit 10 or the like of
When the map data in the updated map DB 10f includes a new data item, a data access program for acquiring the data of the new item becomes necessary.
In this case also, in the same manner as the foregoing embodiment 1, the data access program generating unit 5 generates the data access program for acquiring the map data (data items) in the updated map DB 10f from the data structure of the updated map DB 10f obtained as the analysis result of the data definition information after the update.
After that, the data access program output unit 7 acquires the data access program generated in the data access program generating unit 5, outputs the data access program corresponding to the definition contents of objects to be output by referring to the data access program output definition information, and stores it in the storage apparatus (external storage unit 10 or the like of
(4) Reflection of Updated Map.
When executing a function such as a route search or map display, the map DB update unit 15b of the navigation function executing unit 15 executes the data access program 10c generated in accordance with the data definition information after the update, thereby acquiring necessary map graphic data from the updated map DB 10f by referring to the offset values to the data management data 10b generated in accordance with the data definition information after the update.
As described above, according to the present embodiment 4, it comprises the data definition information update unit 17 for updating, when the map DB 10d is updated as the updated map DB 10f, the data definition information 10e in such a manner that the updated data structure is reflected. With this configuration, it can automatically generate the data definition information 10e corresponding to the updated map DB 10f.
In addition, according to the present embodiment 4, the data definition information update unit 17 extracts a portion to be changed from the map DB 10d by comparing the real data in the existing map DB 10d with the real data in the updated map DB 10f, and updates the data definition information 10e in such a manner as to reflect the data structure in the portion to be changed. By thus doing, it can automatically generate the data definition information 10e corresponding to the updated map DB 10f.
Furthermore, according to the present embodiment 4, the data definition information analysis unit 3 analyzes, when the data definition information update unit 17 updates the data definition information, the contents of the data definition information after the update; the data management data generating unit 4 generates the data management data 10b that defines the storage locations of the real data in the updated map DB 10f from the data structure of the updated map DB 10f obtained by analyzing the data definition information after the update by the data definition information analysis unit 3; and the data access program generating unit 5 generates the data access program 10c that describes the access function to the real data whose data structure in the updated map DB 10f is specified by analyzing the data definition information after the update by the data definition information analysis unit 3. In this way, when the data definition information is updated to the data definition information 10e corresponding to the updated map DB 10f, the data management data 10b and data access program 10c are automatically updated accordingly. As a result, it can access the map data efficiently and quickly even if the map DB is updated dynamically.
The update information DB 10g is a database for storing the update definition information that defines the update contents in the map data of the updated map DB 10f. The SW library 10a, data management data 10b, data access program 10c, map DB 10d, data definition information 10e, updated map DB 10f and update information DB 10g are stored in the external storage unit 10 of
In addition, the data definition information update unit 17a is a component for updating the existing data definition information (data definition information of the map DB 10d) using the update definition information read from the update information DB 10g.
Next, the operation will be described.
First, the data definition information update unit 17a reads the update definition information from the update information DB 10g (step ST40), and analyzes the update definition information (step ST41).
Next, the data definition information update unit 17a reads the data definition information corresponding to the map data whose update contents are defined by the update definition information, and updates the data definition information in such a manner as to reflect the analysis result of the update definition information (step ST42).
When deleting data by update, set an item to be deleted as a data item to be updated, and assign 0 bit as its data length. Furthermore, when inserting data into the top location of the map data, set “0” to the insertion position.
Thus, the data definition information update unit 17a reads the existing data definition information corresponding to the map data, and updates it to the data definition information indicating the data structure in which the data of the item F with the data length of 8 bits is inserted next to the item C.
After that, the data definition information input unit 2 acquires the updated data definition information (step ST43). The data definition information acquired by the data definition information input unit 2 is delivered from the data definition information input unit 2 to the data definition information analysis unit 3.
The data definition information analysis unit 3 analyzes the contents of the data definition information fed from the data definition information input unit 2 (step ST44). The data management data output unit 6 reads the data management data output definition information (step ST45).
Next, the data management data generating unit 4 decides on whether the map data whose structure is defined by the data definition information includes variable length data or not from the analysis result of the data definition information fed from the data definition information analysis unit 3 (step ST46). Unless the map data includes the variable length data (NO at step ST46), the data management data generating unit 4 determines offsets to individual items from fixed length data items and their data lengths in the map data, and generates the data management data in which the offsets are set. After that, the processing proceeds to step ST47.
On the other hand, if the data includes variable length data (YES at step ST46), the data management data generating unit 4 reads the real data of the map data from the updated map DB 10f to check the data size of the variable length data section (step ST48), and analyzes the data size of the variable length data section (step ST49). According to the analysis, the data management data generating unit 4 obtains the variable length data items and their data lengths in the map data, specifies the real data structure considering together with them the fixed length data items and their data lengths, and generates the data management data that sets the offset values to the individual items on the basis of the real data structure. After that, the processing proceeds to step ST47.
At step ST47, the data management data output unit 6 acquires the data management data the data management data generating unit 4 generates (the data management data corresponding to the updated map DB 10f), outputs the data management data corresponding to the definition contents of objects to be output by referring to the data management data output definition information and stores in the storage apparatus (external storage unit 10 or the like of
As for the generating processing of the data access program in accordance with the data definition information after the update by the data access program generating unit 5 and data access program output unit 7 and as for the reflection processing of the update map by the map DB update unit 15b, they are the same as those of the foregoing embodiment 3.
As described above, according to the present embodiment 5, the data definition information update unit 17a updates the data definition information 10e in such a manner as to reflect the updated data structure in accordance with the update definition information indicating the changed contents in the updated map DB 10f from the map DB 10d. By thus doing, it can automatically generate the data definition information 10e corresponding to the updated map DB 10f.
In addition, according to the present embodiment 5, the data definition information analysis unit 3 analyzes, when the data definition information update unit 17a updates the data definition information, the contents of the data definition information after the update; the data management data generating unit 4 generates the data management data 10b that defines the storage locations of the real data in the updated map DB 10f from the data structure of the updated map DB 10f obtained by analyzing the data definition information after the update by the data definition information analysis unit 3; and the data access program generating unit 5 generates the data access program 10c that describes the access function to the real data whose data structure in the updated map DB 10f is specified by analyzing the data definition information after the update by the data definition information analysis unit 3. In this way, when the data definition information is updated to the data definition information 10e corresponding to the updated map DB 10f, the data management data 10b and data access program 10c are automatically updated accordingly. As a result, it can access the map data efficiently and quickly even if the map DB is updated dynamically.
In addition,
As described above, according to the present embodiment 6, it has the configuration as shown in
Incidentally, although the foregoing embodiments 3-6 show examples in which the data management data and map DB are provided as separate data, the data management data and map DB can be set as integrated data as shown in
For example, a configuration is also possible which is able to gain access to desired map data more efficiently and quickly as compared with the case where they are set as separate data by providing the data management data for each mesh of the map data, and by determining the storage location in the map DB of the data necessary for the processing of each mesh by referring to the data management data corresponding to the mesh.
A data access method in accordance with the present invention can gain access to the real data efficiently and quickly. Accordingly, it is suitable for an onboard navigation system and the like that requires quick navigation processing.
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/JP2010/002780 | 4/16/2010 | WO | 00 | 9/5/2012 |