A kind of embedded POI data increment updating method supporting incremental update
Technical field
The present invention relates to field of navigation systems, particularly to a kind of embedding supporting incremental update
Formula POI data increment updating method.
Background technology
Embedded navigation and the upgrading mode of map products data in the market all compare single
One, the mode being substantially overall data replacement updates to realize data.Due to POI data ratio
Relatively big, institute cannot download upgrading, the renewal of conventional car machine by mobile network by this way
Mode is all to go for professional to help upgrading to 4S shop, brings to customer upgrade data
A lot of inconvenience.This patent is to design a kind of solution that can automatically update, and enormously simplify
The complexity of customer upgrade data.
Term: navigation system: full name " auto-navigation system ", be embedded hardware, GPS,
The product that geographical information technology and software are combined closely, for motor vehicle operators provide comprehensive, careful,
Traveling guidance accurately.
GIS:Geographic Information System, i.e. GIS-Geographic Information System.
POI: user interest point.
Incremental update: the only update mode of the data of more new change, also known as difference update.
Summary of the invention
The invention aims to solve conventional navigation, map cannot automatically update, data
The problem of scaling difficulty, spy provides a kind of embedded POI data increment supporting incremental update
Update method.
The invention provides a kind of embedded POI data incremental update side supporting incremental update
Method, it is characterised in that: incremental update process is to increase in legacy data by differential data, makes
Legacy data upgrades to up-to-date data, meets invertibity;Software increases a collector
Realize incremental update, the point of interest of the data storage basic version Ver1 in data storage area
Information, deposits differential data in differential data memory module, data compilation module is responsible for difference
Data in data module update in data storage area;
The implementation method of data compilation module is as follows:
Traversal record, traversal new data and the every data record in the differential data of former data,
It is carried out difference lookup;Search respective record, search in former data according to point of interest ID
The data block at respective record place;Compiling, if find corresponding record in former data.Will
This interest point information difference in differential data is also compiled in former data;Update and counted
According to, the new data block after difference having been compiled is updated directly in former data;Compiling,
If not finding corresponding record in former data, say that this record is the record newly increased,
Data direct compilation is become the form of former data a newly-built block, these data are preserved;
Inserting new data, the blocks of data after compiling being completed is inserted in former data;Through above step,
Just redaction data new data has been obtained;
The detailed difference stream that the differential data found in former data is compiled in metadata
Journey is as follows:
Point of interest in traversal block, the data of the data of checking the mark between traversal new data and former data
All interest point datas in block;Search insertion position, the corresponding block of former data is searched the
One interest point information less than or equal to this point of interest ID;Update data with existing, if found
The point of interest that ID is equal, if this points of interest attribute changes, the most directly replaces change
Attribute information.If deleting, the most directly delete this point of interest;Insert new data, as
Fruit does not find point of interest equal for ID, illustrates that this point of interest is newly-increased data, directly
It is inserted into this position.
Advantages of the present invention:
The embedded POI data increment updating method of support incremental update of the present invention, makes
Auto-increment renewal that navigation is tangible with map software, substantially increases customer upgrade POI data
Convenience.
Accompanying drawing explanation
Below in conjunction with the accompanying drawings and embodiment the present invention is further detailed explanation:
Fig. 1 is incremental update principle schematic;
Fig. 2 is architecture diagram
Fig. 3 is the flow chart of data compilation module
Fig. 4 is the detailed difference stream that the differential data found in former data is compiled in former data
Cheng Tu.
Detailed description of the invention
Embodiment 1
Present embodiments provide a kind of embedded POI data incremental update supporting incremental update
Method, it is characterised in that: incremental update process is to increase in legacy data by differential data,
Make legacy data upgrade to up-to-date data, meet invertibity;Software increases a compiling mould
Block realizes incremental update, the interest of the data storage basic version Ver1 in data storage area
Dot information, deposits differential data in differential data memory module, data compilation module is responsible for difference
Data in divided data module update in data storage area;
The implementation method of data compilation module is as follows:
Traversal record, traversal new data and the every data record in the differential data of former data,
It is carried out difference lookup;Search respective record, search in former data according to point of interest ID
The data block at respective record place;Compiling, if find corresponding record in former data.Will
This interest point information difference in differential data is also compiled in former data;Update and counted
According to, the new data block after difference having been compiled is updated directly in former data;Compiling,
If not finding corresponding record in former data, say that this record is the record newly increased,
Data direct compilation is become the form of former data a newly-built block, these data are preserved;
Inserting new data, the blocks of data after compiling being completed is inserted in former data;Through above step,
Just redaction data new data has been obtained;
The detailed difference stream that the differential data found in former data is compiled in metadata
Journey is as follows:
Point of interest in traversal block, the data of the data of checking the mark between traversal new data and former data
All interest point datas in block;Search insertion position, the corresponding block of former data is searched the
One interest point information less than or equal to this point of interest ID;Update data with existing, if found
The point of interest that ID is equal, if this points of interest attribute changes, the most directly replaces change
Attribute information.If deleting, the most directly delete this point of interest;Insert new data, as
Fruit does not find point of interest equal for ID, illustrates that this point of interest is newly-increased data, directly
It is inserted into this position.