Embedded map data loading method
Through the embedded map data loading method, new index files and new data files in the map data loading package are used to replace or add original map data files in the embedded device, solving the problem of low maintenance efficiency of map data updates and maintenance, and achieving rapid update and efficient maintenance of map data.
Patent Information
- Application Number
- CN202411810146.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-10
- Publication Date
- 2025-04-15
AI Technical Summary
The large amount of map data in embedded devices leads to frequent changes in data during software maintenance and upgrading. How to quickly update and maintain map data has become an urgent problem.
Provide an embedded map data loading method. By obtaining map data loading packages, comparing the geospatial locations of the original index file and the new index file, determining the data area that needs to be updated, and replacing or adding the original data file with the new data file, updating the index file to record changes.
It realizes rapid update of map data, only operates on data areas that need to be updated, improves maintenance efficiency and reduces the complexity of software maintenance.
Smart Images

Figure CN119829589A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of embedded application software, and in particular to a method for loading embedded map data. Background Art
[0002] As the performance of embedded devices improves, the application scope of embedded map engines has expanded, and the demand for map data is increasing. Due to the application environment and scenario limitations of embedded devices, the map data required by the map engine is usually stored in an electronic disk. The large amount of map data requires frequent data changes during software maintenance and upgrades. Therefore, how to quickly update and maintain map data has become an urgent problem to be solved in the development of embedded map applications. Summary of the invention
[0003] In view of this, an embodiment of the present application provides an embedded map data loading method, which is based on an embedded map engine application and can more conveniently and efficiently maintain and update map data, thereby improving the efficiency of subsequent maintenance work.
[0004] The present application provides an embedded map data loading method, the method comprising:
[0005] Acquire a map data loading package for updating an original map data package, wherein the original map data package includes an original index file and an original data file, and the map data loading package includes a new index file and a new data file, wherein the index file is used to record index information of a corresponding data file, and the index information includes geographic space location information and a relative location of a corresponding data file in a storage space;
[0006] Based on the original index file and the new index file, a regional comparison of the geographic spatial position is performed to determine whether the data in the original map data package needs to be updated and to determine which specific regions of the original data files need to be updated;
[0007] According to the determined information, the original data file to be updated is updated using the new data file in the area corresponding to the original data file to be updated;
[0008] Determine whether the original data file that needs to be updated is updated successfully;
[0009] The new index file corresponding to the successfully updated data is written into the original index file for updating.
[0010] According to a specific implementation of the embodiment of the present application, the determining whether the original data file to be updated is updated successfully includes:
[0011] All new data files in the new index file are traversed, and after verification and comparison of the updated data files, the verification results are sent to the output device, and the output device is used to check whether the original data files that need to be updated are updated successfully.
[0012] According to a specific implementation method of an embodiment of the present application, the updating method includes data replacement or data addition.
[0013] According to a specific implementation of the embodiment of the present application, the updating of the original data file to be updated by using the new data file in the area corresponding to the original data file to be updated includes:
[0014] By copying the new data file in the area corresponding to the original data file that needs to be updated in the map data loading package, the original data file in the corresponding area is replaced or the new data file is directly added.
[0015] According to a specific implementation of the embodiment of the present application, the data file stores map data of different regions in regions using grids as units.
[0016] According to a specific implementation method of an embodiment of the present application, the map data includes elevation data, image data and vector data.
[0017] According to a specific implementation of the embodiment of the present application, the map data loading package is consistent with the original map data package in terms of spatial reference system, scale and layering method.
[0018] Beneficial effects:
[0019] The embedded map data loading method in the embodiment of the present application adopts the principle of update loading, that is, replacing the original data file with a new data file. For data that does not need to be updated, no update operation is required. Only the data of certain areas that need to be updated need to be updated. This can maintain and update map data more conveniently and efficiently, and improve the efficiency of subsequent maintenance work. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0021] Figure 1 is a flow chart of an embedded map data loading method according to an embodiment of the present invention;
[0022] Figure 2FIG. 4 is a block diagram of a device for updating embedded map data according to an embodiment of the present invention. DETAILED DESCRIPTION
[0023] The embodiments of the present application are described in detail below with reference to the accompanying drawings.
[0024] The following describes the implementation methods of the present application through specific examples, and those skilled in the art can easily understand other advantages and effects of the present application from the contents disclosed in this specification. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The present application can also be implemented or applied through other different specific implementation methods, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present application. It should be noted that, in the absence of conflict, the following embodiments and the features in the embodiments can be combined with each other. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work belong to the scope of protection of the present application.
[0025] It should be noted that various aspects of the embodiments within the scope of the appended claims are described below. It should be apparent that the aspects described herein can be embodied in a wide variety of forms, and any specific structure and / or function described herein is merely illustrative. Based on the present application, it should be understood by those skilled in the art that an aspect described herein can be implemented independently of any other aspect, and two or more of these aspects can be combined in various ways. For example, any number of aspects described herein can be used to implement the device and / or practice the method. In addition, other structures and / or functionalities other than one or more of the aspects described herein can be used to implement this device and / or practice this method.
[0026] It should also be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present application. The illustrations only show the components related to the present application rather than being drawn according to the number, shape and size of the components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed at will, and the component layout may also be more complicated.
[0027] Additionally, in the following description, specific details are provided to facilitate a thorough understanding of the examples. However, it will be understood by those skilled in the art that the aspects described may be practiced without these specific details.
[0028] The present application embodiment provides a method for loading embedded map data. Figure 1 The method comprises the following steps:
[0029] Acquire a map data loading package for updating an original map data package, wherein the original map data package includes an original index file and an original data file, and the map data loading package includes a new index file and a new data file, wherein the index file is used to record index information of a corresponding data file, and the index information includes geographic space location information and a relative location of a corresponding data file in a storage space;
[0030] Based on the original index file and the new index file, a regional comparison of the geographic spatial position is performed to determine whether the data in the original map data package needs to be updated and to determine which specific regions of the original data files need to be updated;
[0031] According to the determined information, the original data file to be updated is updated using the new data file in the area corresponding to the original data file to be updated;
[0032] Determine whether the original data file that needs to be updated is updated successfully;
[0033] The new index file corresponding to the successfully updated data is written into the original index file for updating.
[0034] In one embodiment, the determining whether the original data file to be updated is updated successfully includes:
[0035] All new data files in the new index file are traversed, and after verification and comparison of the updated data files, the verification results are sent to the output device, and the output device is used to check whether the original data files that need to be updated are updated successfully.
[0036] Furthermore, the updating method includes data replacement or data addition.
[0037] Further, the updating of the original data file that needs to be updated by using the new data file in the area corresponding to the original data file that needs to be updated includes:
[0038] By copying the new data file in the area corresponding to the original data file that needs to be updated in the map data loading package, the original data file in the corresponding area is replaced or the new data file is directly added.
[0039] Furthermore, the data file stores map data of different regions in regions using grids as units.
[0040] Furthermore, the map data includes elevation data, image data and vector data.
[0041] Furthermore, the map data loading package is consistent with the original map data package in terms of spatial reference system, scale and layering method.
[0042] In specific implementation, the embedded map engine needs basic map data as support to realize the display and navigation functions of the map. Map data mainly includes elevation data, image data and vector data. For these three types of map data, the loading method of this application is used to realize the rapid update of map data. The principle of update loading is to replace the original data file with the new data file. Figure 1 and Figure 2 , specifically including the following:
[0043] (1) A map data loading package is obtained by connecting to a map data updating device, wherein the geographic data loading package corresponds to map data of a global area with a grid as a unit; the original map data package (stored in an electronic disk on the aircraft, i.e., a map data storage device, see Figure 2 ) and the map data loading package, i.e. the data package to be updated (stored in the map data updating device map) both include corresponding index files (including index information of data files) and data files, wherein the map data files store map data of different regions in grid units, and the map data include elevation data, image data and vector data; the index file of map data is used to record the index information of the corresponding geographic data file, including geographic location information and the relative position of the corresponding map data file in the storage space; the map data loading package is consistent with the original map data package in terms of spatial reference system, scale and layering method; the index file and map data file in the map data loading package are hereinafter referred to as new index file and new data file respectively; the index file and map data file in the original map data package are hereinafter referred to as original index file and original data file respectively;
[0044] (2) The data processing module reads the new index file in the map data loading package and the original index file in the original map data package, performs regional comparison of geographic spatial locations, determines whether the data in the original map data package needs to be updated, and determines which specific map data files to replace or add.
[0045] (3) updating the three types of map data files in the map data storage device according to the new index file, by copying the new data file in the map data loading package, replacing the original data file of the corresponding grid area stored in the electronic disk or directly adding the new data file; and updating the original index file in the map data storage device.
[0046] (4) The data processing module traverses all new data files in the new index file, verifies and compares the updated data files, and sends the verification results to the output device. The output device checks whether the data in the map data loading package is updated successfully. If some map data fails to be updated, the index file of the successfully updated data is written into the original index file for updating, and then the update operation is performed again from the first step. This process can be repeated until all map data are successfully updated, and finally ensures that the data in the map data loading package has been completely updated. After all the updates are successful, the map data loading process ends.
[0047] In the embodiment provided by the present invention, the principle of updating and loading the embedded map data is to replace the original data file with a new data file. For data that does not need to be updated, no update operation is required, and only the data of certain areas that need to be updated need to be updated. This can make the maintenance and update of map data more convenient and efficient, and improve the efficiency of subsequent maintenance work.
[0048] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.
Claims
1. A method for loading embedded map data, characterized in that: The method comprises: Acquire a map data loading package for updating an original map data package, wherein the original map data package includes an original index file and an original data file, and the map data loading package includes a new index file and a new data file, wherein the index file is used to record index information of a corresponding data file, and the index information includes geographic space location information and a relative location of a corresponding data file in a storage space; Based on the original index file and the new index file, a regional comparison of the geographic spatial position is performed to determine whether the data in the original map data package needs to be updated and to determine which specific regions of the original data files need to be updated; According to the determined information, the original data file to be updated is updated using the new data file in the area corresponding to the original data file to be updated; Determine whether the original data file that needs to be updated is updated successfully; The new index file corresponding to the successfully updated data is written into the original index file for updating.
2. The embedded map data loading method according to claim 1, characterized in that: The determining whether the original data file to be updated is updated successfully includes: All new data files in the new index file are traversed, and after verification and comparison of the updated data files, the verification results are sent to the output device, and the output device is used to check whether the original data files that need to be updated are updated successfully.
3. The embedded map data loading method according to claim 1, characterized in that: The updating method includes data replacement or data addition.
4. The embedded map data loading method according to claim 3, characterized in that: The updating of the original data file to be updated by using the new data file in the area corresponding to the original data file to be updated includes: By copying the new data file in the area corresponding to the original data file that needs to be updated in the map data loading package, the original data file in the corresponding area is replaced or the new data file is directly added.
5. The embedded map data loading method according to claim 1, characterized in that: The data file stores map data of different regions in regions using grids as units.
6. The embedded map data loading method according to claim 5, characterized in that: The map data includes elevation data, image data and vector data.
7. The embedded map data loading method according to claim 1, characterized in that: The map data loading package is consistent with the original map data package in terms of spatial reference system, scale and layering method.