WO2016101797A1 - Electronic map compilation method and apparatus - Google Patents

Electronic map compilation method and apparatus Download PDF

Info

Publication number
WO2016101797A1
WO2016101797A1 PCT/CN2015/097117 CN2015097117W WO2016101797A1 WO 2016101797 A1 WO2016101797 A1 WO 2016101797A1 CN 2015097117 W CN2015097117 W CN 2015097117W WO 2016101797 A1 WO2016101797 A1 WO 2016101797A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
navigation
navigation data
compiling
data block
Prior art date
Application number
PCT/CN2015/097117
Other languages
French (fr)
Chinese (zh)
Inventor
贾双成
叶旻
Original Assignee
高德软件有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 高德软件有限公司 filed Critical 高德软件有限公司
Publication of WO2016101797A1 publication Critical patent/WO2016101797A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/38Electronic maps specially adapted for navigation; Updating thereof
    • G01C21/3863Structures of map data
    • G01C21/387Organisation of map data, e.g. version management or database structures
    • G01C21/3881Tile-based structures
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09BEDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
    • G09B29/00Maps; Plans; Charts; Diagrams, e.g. route diagram
    • G09B29/10Map spot or coordinate position indicators; Map reading aids

Definitions

  • the present invention relates to the field of electronic map technology, and in particular, to an electronic map compiling method and apparatus.
  • navigation software With the wide application of satellite positioning technology and mobile internet technology, navigation software is developing in the direction of intelligence, convenience and personalization. However, since the data formats of the navigation maps in the navigation software are various and not uniform, it is more and more important to compile the data of the navigation map.
  • the data compilation of the navigation map refers to a conversion method that converts one navigation data format into another navigation data format.
  • data compilation in the NDS (Navigation Data Standard) format is an important field of navigation map data compilation.
  • the NDS format is a new data format, which is a format jointly created by BMW, Volkswagen, Daimler and other mainstream European and American car manufacturers. It aims to establish a standardized data format and make the navigation map a universal zero for the car. component.
  • an NDS compiler conversion program from an RDF (Resource Description Framework) exchange data format to an NDS format developed by a specific language may be generally used, wherein the specific language may be C, C++, Java, Python, or Perl.
  • RDF Resource Description Framework
  • the specific language may be C, C++, Java, Python, or Perl.
  • the associated code of all other modules associated with this module causes the program developer's learning curve to be long and the program development efficiency to be low, so that when the NDS compiler conversion program is used to compile the compiled navigation data, the navigation data is compiled. Flexibility and efficiency are low.
  • the embodiment of the invention provides an electronic map compiling method and device, which at least solves the problem that the navigation data compilation flexibility and the efficiency are low in the related art.
  • An embodiment of the present invention provides an electronic map compiling method, including:
  • the navigation data with high coupling in the navigation data of the first data format is divided into one data block to obtain a plurality of data blocks, and the coupling between the plurality of data blocks is low;
  • the embodiment of the invention further provides an electronic map compiling device, comprising:
  • a data block dividing unit configured to divide the navigation data with high coupling in the navigation data of the first data format into one data block, to obtain a plurality of data blocks, and the coupling between the plurality of data blocks is low;
  • the navigation data compiling unit is configured to, according to the type of the navigation data in each data block, invoke a compiling tool corresponding to the type of the navigation data in each data block, and respectively convert the navigation data in each data block into the second data format. And intermediate data; and performing spatial index segmentation on each intermediate data, and performing tile filling on the spatial index segmentation data to obtain navigation data of the second data format.
  • the navigation data to be compiled is divided into a plurality of data blocks with low coupling between each other, because the navigation data in each data block can be used in the data block.
  • the compilation tools corresponding to the types of navigation data are compiled separately, which improves the flexibility and efficiency of navigation data compilation.
  • FIG. 1 is a schematic flowchart diagram of an electronic map compiling method according to Embodiment 1 of the present invention
  • FIG. 2 is a schematic structural diagram of an electronic map compiling apparatus according to Embodiment 2 of the present invention.
  • Embodiment 1 is a diagrammatic representation of Embodiment 1:
  • An embodiment of the present invention provides an electronic map compiling method. As shown in FIG. 1 , it is a schematic flowchart of an electronic map compiling method according to the first embodiment of the present invention.
  • the electronic map compiling method may include the following steps:
  • Step 101 Receive navigation data to be compiled.
  • the data format of the navigation data to be compiled may be referred to as a first data format.
  • the first data format is a data format used by each electronic map manufacturer.
  • the received navigation data to be compiled is included
  • the navigation data can have one or more navigation data formats. That is to say, in the embodiment of the present invention, input data of one or more formats can be adapted, so that compared with the current input data adapted only to a certain format, such as the RDF format, The earth improves the applicability and practicability of navigation compilation.
  • Step 102 Divide the received navigation data with high coupling in the to-be-compiled navigation data into one data block to obtain a plurality of data blocks, and the coupling between the plurality of data blocks is low.
  • the received navigation data to be compiled may be divided into mutual couplings that are not higher than a preset threshold (the preset threshold may be adjusted according to actual conditions).
  • the preset threshold may be adjusted according to actual conditions.
  • the navigation data with high coupling in the received navigation data is divided into one data block to obtain a plurality of data blocks, which may include:
  • the navigation data with high coupling in the navigation data to be compiled is divided into one data block to obtain a plurality of data blocks.
  • the data format of the navigation data that is finally required to be compiled may also be referred to, wherein in the embodiment of the present invention, the final required
  • the data format of the compiled navigation data is referred to as a second data format.
  • the second data format may be a standard data format suitable for data exchange, such as NDS, but is not limited thereto.
  • the correlation between the data models of the navigation data and the data may be The requirement of the NDS data format is to divide the navigation data with high coupling in the navigation data to be compiled into one data block to obtain a plurality of data blocks, but is not limited thereto.
  • the data format of the navigation data to be compiled is taken as an example of the NDS data format, and the plurality of data blocks obtained by dividing the data block to be compiled into the navigation data may include at least the following data blocks. Any number of data blocks:
  • 3D (3D) data block DTM (Digital Terrain Model) block, ORTHO (orthogonal image) block, voice data block, road information block, POI (point of interest) information data block, Landuse (background display) information data block, direction kanban data block, intersection indication map data block, road warning information data block, TMC (Traffic Message Channel) data block, administrative division Information data block and toll station information data block, etc.
  • Step 103 According to the type of the navigation data in each data block, a compiling tool corresponding to the type of the navigation data in each data block is called, and the navigation data in each data block is respectively converted into the intermediate data in the set data format.
  • the setting data format is the data format of the navigation data that is finally required to be compiled, that is, the second data format.
  • the divided plurality of data blocks are determined according to the data block division result of step 102: a 3D data data block, a DTM data block, an ORTHO data block, a voice data data block, a direction kanban data block, and a road direction indication map data.
  • Block, according to the type of navigation data in each data block, calling a compilation tool corresponding to the type of navigation data in each data block, can be executed as:
  • the corresponding 3D data compilation tool, DTM compilation tool, ORTHO compilation tool are called. , voice data compilation tools, direction kanban compiler tools and intersection indicator map compilation tools.
  • an extensible compilation tool set (Toolkit) may be pre-established before the navigation data to be compiled is divided into a plurality of data blocks.
  • the scalable compilation tool set may include one or more independently developable tools after the initial establishment, and may further divide the result according to the data block of the navigation data to be compiled or other requirements. Add or modify the corresponding compilation tool. That is to say, the function and the number of the initial compilation tools in the extensible compilation tool set are not fixed, and can be adjusted according to actual conditions.
  • the following multiple compilation tools may be established in the scalable compilation tool set: 3D data compilation tool, DTM compilation tool, ORTHO compilation tool,
  • the voice data compilation tool, the direction kanban compilation tool, and the intersection indication map compiling tool sequentially implement the compilation function of data such as 3D data, DTM, ORTHO, voice data, direction board, and intersection indication map.
  • any compilation tool may not be established in advance, or after the first generation of the scalable compilation tool set is established, the scalable compilation tool may be used.
  • the concentration may also not include any compilation tools, but the corresponding compilation tools are further established according to the data block division results or other requirements of the subsequent navigation data to be better adapted to the compilation of the navigation data to be compiled.
  • the divided plurality of data blocks are: 3D data data block, DTM data block, ORTHO data block, voice data data block, direction kanban data block, and intersection indication map data block according to the data block division result
  • the following multiple compilation tools are established: 3D data compilation tool, DTM compilation tool, ORTHO compilation tool, voice data compilation tool, direction kanban compilation tool, intersection indication map compilation tool, to realize 3D data, DTM, Compilation function of data such as ORTHO, voice data, direction board, and intersection indication map.
  • the compiling tool corresponding to the type of the navigation data in each data block is invoked according to the type of the navigation data in each data block, and may include:
  • a compilation tool corresponding to the type of the navigation data in each data block is called from among a plurality of compilation tools in the pre-established scalable compilation tool set; or, the call is based on the A compilation tool that is created by compiling the data block partition result of the navigation data and corresponding to the type of navigation data in each data block.
  • the compiling tool corresponding to the type of the navigation data in each data block is invoked according to the type of the navigation data in each data block, and may further include:
  • a compilation tool corresponding to the type of navigation data in each data block and corresponding to the data format of the navigation data in each data block is called.
  • the compiled tool corresponding to the type of navigation data in the data block is invoked in addition to the type of navigation data in the data block.
  • it may also correspond to the data format of the navigation data in the data block.
  • the called type corresponding to the navigation data in the data block corresponds to Compilation tool may be a corresponding to the DTM type and the MIF format
  • the translation tool that is, a compilation tool capable of compiling the navigation data of the MIF format in the DTM data block into a set data format (ie, the second data format described above, such as the NDS data format).
  • each compilation tool may be connected to each other based on a glue language, such as a Shell language.
  • the glue language is a programming language (usually a scripting language) for connecting software components, and a utility developed by many unrelated languages (such as C, C++, Java, Python, or Perl, etc.) is glued.
  • Languages, such as the Shell language can be seamlessly combined to form a tool set.
  • each independent, low-coupling, independently developable compilation tool can be developed in any programming language, so that existing existing NDS compiler conversion programs are often used in a specific language. Developed, so that programmers who only master the Java language can not develop the NDS compiler conversion program developed by C or C++ language, thereby reducing the program development cost and further improving the flexibility and efficiency of navigation data compilation. .
  • the navigation data in the data block may further be divided into one or more sub-blocks according to the degree of coupling between each other.
  • the compiling tool corresponding to the type of the navigation data in any of the data blocks may specifically include one or more compiling sub-tools for respectively navigating the navigation data with the one or more sub-blocks The type corresponds.
  • the road information data block if the navigation data in the road information data block can be further divided into the lane information sub-block, the bus information sub-block, and the pedestrian information sub-block, the road information data
  • the compiling tool corresponding to the block may specifically include a corresponding lane information compiling subtool, a bus information compiling subtool, and a pedestrian information compiling subtool to implement data compiling functions of lane information, bus information, pedestrian information, and the like, respectively. There is no limit to this.
  • the compiling tool corresponding to the type of the navigation data in each data block is invoked according to the type of the navigation data in each data block, and specifically includes:
  • the data format corresponds to the compilation tool.
  • any data block whose correlation is lower than the set correlation threshold (such as no correlation) it is not necessary to distinguish the compilation order of the navigation data in the two data blocks, that is, at this time.
  • the calling sequence of the compiling tools corresponding to the type of the navigation data in the two data blocks is randomly determined.
  • the divided data blocks are the toll station information data block, the road information data block, and the lane information data block, and the corresponding compiling tools are the toll station information compiling tool, the road information compiling tool, and the lane information compiling tool, :
  • the lane information is related to the road information, and the lane information depends on the road information, and further, the toll booth information is not related to the lane information, and therefore, the compiling tool is determined.
  • the order of the calls is between, the following results are obtained (sorted in order from the first to the last in order):
  • a glue language such as a Shell language
  • the compiling tool is not described in detail in the embodiment of the present invention.
  • Step 104 Perform spatial index segmentation on each intermediate data, and perform tile filling on the data obtained by dividing the spatial index to obtain navigation data in a set data format.
  • the intermediate data may be spatially indexed by calling the corresponding compilation tool, and the obtained data is divided according to the tile filling space index.
  • the intermediate data may be spatially indexed by calling the corresponding compilation tool, and the obtained data is divided according to the tile filling space index.
  • the corresponding version information or other required information may also be filled in, which is not described in detail in the embodiment of the present invention.
  • the method may further include:
  • the compiler for changing the attribute of the navigation data is invoked.
  • the properties of the compiled navigation data are modified accordingly.
  • the navigation data may be established for changing. a compiling tool of the attribute, and modifying the attribute of the navigation data to be compiled by calling a built-up compiler tool for changing the attribute of the navigation data; or
  • the attributes of the navigation data to be compiled may be modified correspondingly by directly calling a pre-established compiling tool for changing the attributes of the navigation data.
  • the compiling tool for changing the attributes of the navigation data may be pre-established (as may be existing in the extensible compilation tool set), or may be flexibly established according to actual needs, the embodiment of the present invention. I will not go into details about this.
  • the method may further include:
  • the supplementary data is divided into a new data block
  • a compilation tool corresponding to the type of the navigation data in the new data block may be established, and Compiling the supplementary data by calling a built-up compiler tool corresponding to the type of navigation data in the new data block; or
  • a method of calling a compilation tool corresponding to a type of navigation data in the new data block that is established in advance when determining that a compilation tool corresponding to a type of navigation data in the new data block has been established in advance Compile the supplementary data accordingly.
  • an independently developable compilation tool corresponding to the supplementary data can be flexibly established according to actual needs, thereby realizing separate compilation of various supplementary data and reducing development. Difficulty and achieve the goal of improving the adaptability of data compilation.
  • the first embodiment of the present invention provides an electronic map compiling method.
  • the navigation data to be compiled can be divided into multiple data blocks with low coupling between each other and each
  • the navigation data in the data block can be separately compiled by an independently developable compilation tool corresponding to the type of navigation data in the data block, thereby greatly improving the flexibility and efficiency of navigation data compilation.
  • each compiling tool can be connected to each other based on a glue language, such as a Shell language, so that each compiling tool can be developed by using any programming language, thereby solving the existing program development.
  • Personnel can only use the specific programming language to develop the problem of NDS compiler conversion program, in order to reduce the program development cost, and further improve the flexibility and efficiency of navigation data compilation.
  • the data included in the received navigation data to be compiled may have one or more navigation data formats, that is, in the embodiment of the present invention, Adapting to input data in one or more formats, which greatly improves the applicability and practicability of navigation compilation, compared to current input data that only adapts to a certain format, such as RDF format.
  • an independently developable compilation tool corresponding to the supplementary data can be flexibly established according to actual needs, thereby implementing various types of supplementary data.
  • the separate compilation reduces the difficulty of development and achieves the purpose of improving the adaptability of data compilation.
  • Embodiment 2 is a diagrammatic representation of Embodiment 1:
  • the second embodiment of the present invention provides an electronic map compiling device that can be used to implement the electronic map compiling method in the first embodiment of the present invention.
  • the electronic map compiling device refer to the first embodiment of the method.
  • FIG. 2 is a schematic structural diagram of the electronic map compiling device according to the second embodiment of the present invention, and the electronic map compiling device may include a data block dividing unit 21 and Navigation data compilation unit 22, wherein:
  • the data block dividing unit 21 may be configured to divide the navigation data with high coupling in the navigation data of the first data format into one data block to obtain a plurality of data blocks, and the coupling between the plurality of data blocks is low;
  • the data included in the navigation data of the first data format may have one or more navigation data formats. That is to say, in the embodiment of the present invention, the input data of one or more formats can be adapted, so that the input data adapted to only a certain format, such as the RDF format, can be greatly improved. Improve the applicability and usability of navigation compilation.
  • the navigation data compiling unit 22 is configured to, according to the type of the navigation data in each data block, invoke a compiling tool corresponding to the type of the navigation data in each data block, and respectively convert the navigation data in each data block into the second data.
  • Intermediate data of the format and, spatially indexing each intermediate data, and performing tile filling on the spatial index segmentation data to obtain navigation data of the second data format.
  • the data block dividing unit 21 is configured to divide the navigation data with high coupling in the navigation data to be compiled into one data block according to the correlation between the data models of the navigation data, to obtain multiple mutual The data blocks with low coupling are so that the navigation data in each data block can be separately compiled, so as to improve the rapid development of the module and improve the flexibility and efficiency of the navigation data compilation.
  • the data block dividing unit 21 may be configured to divide the navigation data of the first data format into the following. In any of several data blocks:
  • 3D data data block DTM data block, ORTHO data block, voice data data block, road information data block, POI information data block, Landuse information data block, direction kanban data block, intersection indication map data block, road warning information data block, TMC data block, administrative division information data block, and toll station information data block.
  • the navigation data compiling unit 22 is specifically configured to call a compiling tool corresponding to the type of the navigation data in each data block and corresponding to the data format of the navigation data in each data block. That is, for any data block, the compiled tool corresponding to the type of navigation data in the data block is called, in addition to the type of navigation data in the data block, The data format of the navigation data in the data block corresponds.
  • the electronic map compiling apparatus may further include a compiling tool establishing unit 23, and the compiling tool establishing unit 23 may be configured to establish a plurality of data and each data according to the data block dividing result of the navigation data of the first data format.
  • the compilation tool corresponding to the type of navigation data in the block.
  • the navigation data compiling unit 22 is specifically configured to call, from a plurality of compiling tools in the pre-established extensible compilation tool set, a compiling tool corresponding to the type of the navigation data in each data block, wherein the The scalable compilation tool set may be pre-established by the electronic map compiling device (such as the compiling tool establishing unit 23), or may be pre-established by other devices or program developers, and is not limited by the embodiment of the present invention; or The compilation tool corresponding to the type of navigation data in each data block established by the compilation tool establishing unit 23 is called.
  • the navigation data compiling unit 22 may be further configured to determine a correlation between each data block, and determine a sequence of compiling the navigation data in each data block according to the correlation between the data blocks; And calling, according to the sequence, a compilation tool corresponding to the type of the navigation data in each data block, or calling the type of the navigation data in each data block according to the sequence, and in each data block
  • the navigation data corresponds to the data format of the compilation tool.
  • the compilation order of the navigation data in the two data blocks may not be distinguished, that is, the data may be randomly selected at this time. Determining a calling sequence of the compiling tools corresponding to the types of the navigation data in the two data blocks.
  • each compiling tool can be connected to each other based on a glue language, such as a Shell language, so that each compiling tool can be developed by using any programming language, thereby solving the existing program development.
  • Personnel can only use the specific programming language to develop the problem of NDS compiler conversion program, in order to reduce the program development cost, and further improve the flexibility and efficiency of navigation data compilation.
  • the navigation data compiling unit 22 is further configured to: if receiving instruction information indicating that the attribute of the navigation data of the first data format needs to be modified, a compilation tool for changing attributes of the navigation data, for the first data format The properties of the navigation data are modified accordingly.
  • the compilation tool for changing the attributes of the navigation data may be pre-established (as may exist in the extensible compilation tool set), or may be flexibly established according to actual needs (eg, may be the compilation)
  • the tool establishing unit 23 is flexibly established according to the actual requirements, which is not described in detail in the embodiment of the present invention.
  • the data block dividing unit 21 is further configured to: if the supplementary data that cannot be divided into the plurality of data blocks is received, divide the supplementary data into a new data. In the block;
  • the navigation data compiling unit 22 is further configured to: according to a type of the navigation data in the new data block, invoke a compiling tool corresponding to a type of the navigation data in the new data block, and compile the supplementary data.
  • the compilation tool corresponding to the type of the navigation data in the new data block may be pre-established (such as may exist in the extensible compilation tool set), or may be flexibly established according to actual needs. (For example, the compiler tool establishing unit 23 may be flexibly established according to actual requirements), which is not described in detail in the embodiment of the present invention.
  • the second embodiment of the present invention provides an electronic map compiling apparatus.
  • the navigation data to be compiled can be divided into multiple data blocks with low coupling between each other and each
  • the navigation data in the data block can be separately compiled by an independently developable compilation tool corresponding to the type of navigation data in the data block, thereby greatly improving the flexibility and efficiency of navigation data compilation.
  • each compiling tool can be connected to each other based on a glue language, such as a Shell language, so that each compiling tool can be developed by using any programming language, thereby solving the existing program development.
  • Personnel can only use the specific programming language to develop the problem of NDS compiler conversion program, in order to reduce the program development cost, and further improve the flexibility and efficiency of navigation data compilation.
  • the data included in the received navigation data to be compiled may have one or more navigation data formats, that is, in the embodiment of the present invention,
  • the input data can be adapted to one or more formats, so that the applicability and practicability of navigation compilation can be greatly improved compared with the current input data that only adapts to a certain format, such as RDF format.
  • an independently developable compilation tool corresponding to the supplementary data can be flexibly established according to actual needs, thereby implementing various types of supplementary data.
  • the separate compilation reduces the difficulty of development and achieves the purpose of improving the adaptability of data compilation.
  • embodiments of the present invention can be provided as a method, apparatus (device), or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • a computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Abstract

An electronic map compilation method and apparatus. The method comprises: receiving navigation data to be compiled (101); grouping navigation data having high coupling in the navigation data in a first data format into one data block, to obtain multiple data blocks, where the multiple data blocks have low coupling (102); according to a type of navigation data in each data block, invoking a compilation tool corresponding to the type of the navigation data in each data block, and converting the navigation data in each data block respectively into intermediate data in a second data format (103); and performing spatial index partitioning on each intermediate data, and performing tile packing on data obtained through spatial index partitioning, to obtain navigation data in the second data format (104). By means of this solution, navigation data to be compiled can be grouped into multiple data blocks having low coupling, and for navigation data in each data block, a compilation tool corresponding to a type of the navigation data in the data block can be used to perform compilation, thereby improving flexibility and efficiency of compiling navigation data.

Description

一种电子地图编译方法及装置Electronic map compiling method and device
本申请要求在2014年12月25日提交中国专利局、申请号为201410827159.0、发明名称为“一种电子地图编译方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 201410827159.0, filed on Dec. 25, 2014, the entire disclosure of which is incorporated herein by reference. in.
技术领域Technical field
本发明涉及电子地图技术领域,尤其涉及一种电子地图编译方法及装置。The present invention relates to the field of electronic map technology, and in particular, to an electronic map compiling method and apparatus.
背景技术Background technique
随着卫星定位技术以及移动互联网技术的广泛应用,现阶段导航软件正朝着智能化、便捷化、个性化的方向发展。但是,由于各导航软件中的导航地图的数据格式多种多样、并不统一,因此,使得导航地图的数据编译越来越重要。With the wide application of satellite positioning technology and mobile internet technology, navigation software is developing in the direction of intelligence, convenience and personalization. However, since the data formats of the navigation maps in the navigation software are various and not uniform, it is more and more important to compile the data of the navigation map.
导航地图的数据编译是指把一种导航数据格式转换为另一种导航数据格式的转换方法。目前来说,NDS(Navigation Data Standard,导航数据标准)格式的数据编译是导航地图数据编译的一个重要领域。其中,NDS格式是一种新的数据格式,是宝马、大众、戴姆勒等欧美主流车厂共同创立的一种格式,旨在建立一种标准化的数据格式,使导航地图成为汽车的通用型零部件。The data compilation of the navigation map refers to a conversion method that converts one navigation data format into another navigation data format. At present, data compilation in the NDS (Navigation Data Standard) format is an important field of navigation map data compilation. Among them, the NDS format is a new data format, which is a format jointly created by BMW, Volkswagen, Daimler and other mainstream European and American car manufacturers. It aims to establish a standardized data format and make the navigation map a universal zero for the car. component.
在进行NDS格式的数据编译时,通常可采用由特定语言开发的从RDF(Resource Description Framework,资源描述框架)交换数据格式到NDS格式的NDS编译转换程序,其中,所述特定语言可以为C、C++、Java、Python或Perl等。但是,由于从RDF交换数据格式到NDS格式的NDS编译转换程序的整体性很强,程序的各个部分之间存在强耦合的现象,从而导致程序开发人员在开发某一模块时,需要得知与这一模块相关联的其他所有模块的关联代码,导致程序开发人员的学习曲线很长、程序开发效率较低,进而使得利用所述NDS编译转换程序对待编译导航数据进行编译时,导航数据编译的 灵活性以及效率均较低。When performing data compilation in the NDS format, an NDS compiler conversion program from an RDF (Resource Description Framework) exchange data format to an NDS format developed by a specific language may be generally used, wherein the specific language may be C, C++, Java, Python, or Perl. However, due to the strong integrity of the NDS compiler conversion program from RDF exchange data format to NDS format, there is a strong coupling between various parts of the program, which leads the program developer to know and develop a module. The associated code of all other modules associated with this module causes the program developer's learning curve to be long and the program development efficiency to be low, so that when the NDS compiler conversion program is used to compile the compiled navigation data, the navigation data is compiled. Flexibility and efficiency are low.
综上所述,相关技术中,把一种导航数据格式转换为另一种导航数据格式时,将导航数据作为一个整体进行编译,并且编译转换程序整体性较高,这至少导致了以下两个方面的问题:In summary, in the related art, when converting one navigation data format into another navigation data format, the navigation data is compiled as a whole, and the compilation conversion program is high overall, which leads to at least the following two Aspects of the problem:
一方面,导航数据编译的灵活性以及效率均较低;另一方面,导致程序开发人员的学习曲线很长、程序开发效率较低。On the one hand, the flexibility and efficiency of navigation data compilation are low; on the other hand, the program developer has a long learning curve and low program development efficiency.
发明内容Summary of the invention
本发明实施例提供了一种电子地图编译方法及装置,至少用以解决相关技术中导航数据编译灵活性较差以及效率较低的问题。The embodiment of the invention provides an electronic map compiling method and device, which at least solves the problem that the navigation data compilation flexibility and the efficiency are low in the related art.
本发明实施例提供了一种电子地图编译方法,包括:An embodiment of the present invention provides an electronic map compiling method, including:
将第一数据格式的导航数据中耦合性高的导航数据划分到一个数据块中,得到多个数据块,所述多个数据块之间的耦合性低;The navigation data with high coupling in the navigation data of the first data format is divided into one data block to obtain a plurality of data blocks, and the coupling between the plurality of data blocks is low;
根据各数据块中的导航数据的类型,调用与各数据块中的导航数据的类型对应的编译工具,分别将各数据块中的导航数据转换成第二数据格式的中间数据;Generating, according to the type of the navigation data in each data block, a compilation tool corresponding to the type of the navigation data in each data block, and converting the navigation data in each data block into the intermediate data in the second data format;
对各中间数据进行空间索引切分,并对空间索引切分所得数据进行瓦片填充,得到所述第二数据格式的导航数据。Performing spatial index segmentation on each intermediate data, and performing tile filling on the spatial index segmentation data to obtain navigation data of the second data format.
本发明实施例还提供了一种电子地图编译装置,包括:The embodiment of the invention further provides an electronic map compiling device, comprising:
数据块划分单元,用于将第一数据格式的导航数据中耦合性高的导航数据划分到一个数据块中,得到多个数据块,所述多个数据块之间的耦合性低;a data block dividing unit, configured to divide the navigation data with high coupling in the navigation data of the first data format into one data block, to obtain a plurality of data blocks, and the coupling between the plurality of data blocks is low;
导航数据编译单元,用于根据各数据块中的导航数据的类型,调用与各数据块中的导航数据的类型对应的编译工具,分别将各数据块中的导航数据转换成第二数据格式的中间数据;以及,对各中间数据进行空间索引切分,并对空间索引切分所得数据进行瓦片填充,得到所述第二数据格式的导航数据。The navigation data compiling unit is configured to, according to the type of the navigation data in each data block, invoke a compiling tool corresponding to the type of the navigation data in each data block, and respectively convert the navigation data in each data block into the second data format. And intermediate data; and performing spatial index segmentation on each intermediate data, and performing tile filling on the spatial index segmentation data to obtain navigation data of the second data format.
本发明有益效果如下: The beneficial effects of the present invention are as follows:
通过本发明实施例的电子地图编译方法及装置,将待编译导航数据划分至相互之间耦合性低的多个数据块中,由于每个数据块中的导航数据可采用与该数据块中的导航数据的类型对应的编译工具进行单独编译,提高了导航数据编译的灵活性以及效率。According to the electronic map compiling method and apparatus of the embodiment of the present invention, the navigation data to be compiled is divided into a plurality of data blocks with low coupling between each other, because the navigation data in each data block can be used in the data block. The compilation tools corresponding to the types of navigation data are compiled separately, which improves the flexibility and efficiency of navigation data compilation.
附图说明DRAWINGS
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简要介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域的普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention, Those skilled in the art can also obtain other drawings based on these drawings without paying any creative work.
图1所示为本发明实施例一中电子地图编译方法的流程示意图;FIG. 1 is a schematic flowchart diagram of an electronic map compiling method according to Embodiment 1 of the present invention;
图2所示为本发明实施例二中电子地图编译装置的结构示意图。FIG. 2 is a schematic structural diagram of an electronic map compiling apparatus according to Embodiment 2 of the present invention.
具体实施方式detailed description
为了使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明作进一步地详细描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。The present invention will be further described in detail with reference to the accompanying drawings, in which FIG. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
实施例一:Embodiment 1:
本发明实施例一提供了一种电子地图编译方法,如图1所示,其为本发明实施例一中所述电子地图编译方法的流程示意图,所述电子地图编译方法可包括以下步骤:An embodiment of the present invention provides an electronic map compiling method. As shown in FIG. 1 , it is a schematic flowchart of an electronic map compiling method according to the first embodiment of the present invention. The electronic map compiling method may include the following steps:
步骤101:接收待编译导航数据。在本发明所述实施例中,可将待编译导航数据的数据格式称为第一数据格式。一般地,第一数据格式为各个电子地图厂商使用的数据格式。Step 101: Receive navigation data to be compiled. In the embodiment of the present invention, the data format of the navigation data to be compiled may be referred to as a first data format. Generally, the first data format is a data format used by each electronic map manufacturer.
可选地,在本发明所述实施例中,所接收到的待编译导航数据中所包含 的导航数据可具有一种或多种导航数据格式。也就是说,在本发明所述实施例中,可适应一种或多种格式的输入数据,从而相较于目前来说的仅适应某一格式,如RDF格式的输入数据来说,可极大地提高导航编译的可适用性和实用性。Optionally, in the embodiment of the present invention, the received navigation data to be compiled is included The navigation data can have one or more navigation data formats. That is to say, in the embodiment of the present invention, input data of one or more formats can be adapted, so that compared with the current input data adapted only to a certain format, such as the RDF format, The earth improves the applicability and practicability of navigation compilation.
步骤102:将接收到的所述待编译导航数据中耦合性高的导航数据划分到一个数据块中,得到多个数据块,所述多个数据块之间的耦合性低。Step 102: Divide the received navigation data with high coupling in the to-be-compiled navigation data into one data block to obtain a plurality of data blocks, and the coupling between the plurality of data blocks is low.
也就是说,在本发明所述实施例中,可将接收到的所述待编译导航数据划分至相互之间耦合性不高于预设阈值(该预设阈值可根据实际情况进行调整设定)的多个数据块中,以使得每个数据块中的导航数据可以被单独编译,以达到提高模块快速开发以及提高导航数据编译的灵活性以及效率的目的。That is, in the embodiment of the present invention, the received navigation data to be compiled may be divided into mutual couplings that are not higher than a preset threshold (the preset threshold may be adjusted according to actual conditions). Among the multiple data blocks, so that the navigation data in each data block can be separately compiled, so as to improve the rapid development of the module and improve the flexibility and efficiency of the navigation data compilation.
可选地,将接收到的所述待编译导航数据中耦合性高的导航数据划分到一个数据块中,得到多个数据块,可以包括:Optionally, the navigation data with high coupling in the received navigation data is divided into one data block to obtain a plurality of data blocks, which may include:
按照导航数据的数据模型之间的相关性,将所述待编译导航数据中耦合性高的导航数据划分到一个数据块中,得到多个数据块。According to the correlation between the data models of the navigation data, the navigation data with high coupling in the navigation data to be compiled is divided into one data block to obtain a plurality of data blocks.
可选地,在对所述待编译导航数据进行数据块的划分时,还可以参考最终所需编译成的导航数据的数据格式,其中,在本发明所述实施例中,可将最终所需编译成的导航数据的数据格式称为第二数据格式,一般的,第二数据格式可以为适于数据交换的标准数据格式,如NDS等,但不限于此。例如,以最终所需编译成的导航数据的数据格式为NDS数据格式为例,在对所述待编译导航数据进行数据块的划分时,可按照导航数据的数据模型之间的相关性以及所述NDS数据格式的要求,将所述待编译导航数据中耦合性高的导航数据划分到一个数据块中,得到多个数据块,但不限于此。Optionally, when the data block to be compiled is divided into data blocks, the data format of the navigation data that is finally required to be compiled may also be referred to, wherein in the embodiment of the present invention, the final required The data format of the compiled navigation data is referred to as a second data format. Generally, the second data format may be a standard data format suitable for data exchange, such as NDS, but is not limited thereto. For example, taking the data format of the navigation data that is finally required to be compiled into an NDS data format as an example, when the data block to be compiled is divided into data blocks, the correlation between the data models of the navigation data and the data may be The requirement of the NDS data format is to divide the navigation data with high coupling in the navigation data to be compiled into one data block to obtain a plurality of data blocks, but is not limited thereto.
进一步地,仍以所需编译成的导航数据的数据格式为NDS数据格式为例,对所述待编译导航数据进行数据块的划分所得到的多个数据块可至少包括以下多个数据块中的任意多个数据块:Further, the data format of the navigation data to be compiled is taken as an example of the NDS data format, and the plurality of data blocks obtained by dividing the data block to be compiled into the navigation data may include at least the following data blocks. Any number of data blocks:
3D(三维)数据数据块、DTM(Digital Terrain Model,数字高程模型)数据块、ORTHO(正交影像图)数据块、语音数据数据块、道路信息数据块、 POI(兴趣点)信息数据块、Landuse(背景显示)信息数据块、方向看板数据块、路口指示图数据块、道路警告信息数据块、TMC(Traffic Message Channel,实时交通信息)数据块、行政区划信息数据块以及收费站信息数据块等。3D (3D) data block, DTM (Digital Terrain Model) block, ORTHO (orthogonal image) block, voice data block, road information block, POI (point of interest) information data block, Landuse (background display) information data block, direction kanban data block, intersection indication map data block, road warning information data block, TMC (Traffic Message Channel) data block, administrative division Information data block and toll station information data block, etc.
步骤103:根据各数据块中的导航数据的类型,调用与各数据块中的导航数据的类型对应的编译工具,分别将各数据块中的导航数据转换成设定数据格式的中间数据。在本发明所述实施例中,所述设定数据格式即为上述最终所需编译成的导航数据的数据格式,即第二数据格式。Step 103: According to the type of the navigation data in each data block, a compiling tool corresponding to the type of the navigation data in each data block is called, and the navigation data in each data block is respectively converted into the intermediate data in the set data format. In the embodiment of the present invention, the setting data format is the data format of the navigation data that is finally required to be compiled, that is, the second data format.
可选地,假设根据步骤102的数据块划分结果确定所划分的多个数据块为:3D数据数据块、DTM数据块、ORTHO数据块、语音数据数据块、方向看板数据块以及路口指示图数据块,则根据各数据块中的导航数据的类型,调用与各数据块中的导航数据的类型对应的编译工具,可以执行为:Optionally, it is assumed that the divided plurality of data blocks are determined according to the data block division result of step 102: a 3D data data block, a DTM data block, an ORTHO data block, a voice data data block, a direction kanban data block, and a road direction indication map data. Block, according to the type of navigation data in each data block, calling a compilation tool corresponding to the type of navigation data in each data block, can be executed as:
根据各数据块中的导航数据的类型,即3D数据类型、DTM类型、ORTHO类型、语音数据类型、方向看板类型以及路口指示图类型,调用相应的3D数据编译工具、DTM编译工具、ORTHO编译工具、语音数据编译工具、方向看板编译工具以及路口指示图编译工具。According to the type of navigation data in each data block, that is, 3D data type, DTM type, ORTHO type, voice data type, direction kanban type, and intersection indication map type, the corresponding 3D data compilation tool, DTM compilation tool, ORTHO compilation tool are called. , voice data compilation tools, direction kanban compiler tools and intersection indicator map compilation tools.
可选地,在本发明所述实施例中,在将所述待编译导航数据划分为多个数据块之前,可预先建立一个可扩展编译工具集(Toolkit)。其中,所述可扩展编译工具集在初次建立之后,其中可包含一个或多个可独立开发的编译工具(Tool),并且,还可根据待编译导航数据的数据块划分结果或其他需求再进行相应编译工具的添加或修改等。也就是说,所述可扩展编译工具集中的初始编译工具的功能以及数目并不固定,可根据实际情况进行调整设定。比如,以所需编译成的导航数据的数据格式为NDS数据格式为例,可预先在所述可扩展编译工具集中建立以下多个编译工具:3D数据编译工具、DTM编译工具、ORTHO编译工具、语音数据编译工具、方向看板编译工具、路口指示图编译工具,以依次实现3D数据、DTM、ORTHO、语音数据、方向看板、路口指示图等数据的编译功能。 Optionally, in the embodiment of the present invention, before the navigation data to be compiled is divided into a plurality of data blocks, an extensible compilation tool set (Toolkit) may be pre-established. The scalable compilation tool set may include one or more independently developable tools after the initial establishment, and may further divide the result according to the data block of the navigation data to be compiled or other requirements. Add or modify the corresponding compilation tool. That is to say, the function and the number of the initial compilation tools in the extensible compilation tool set are not fixed, and can be adjusted according to actual conditions. For example, taking the data format of the navigation data to be compiled into an NDS data format as an example, the following multiple compilation tools may be established in the scalable compilation tool set: 3D data compilation tool, DTM compilation tool, ORTHO compilation tool, The voice data compilation tool, the direction kanban compilation tool, and the intersection indication map compiling tool sequentially implement the compilation function of data such as 3D data, DTM, ORTHO, voice data, direction board, and intersection indication map.
当然需要说明的是,在将所述待编译导航数据划分为多个数据块之前,也可不事先建立任何编译工具,或者,在初次建立所述可扩展编译工具集之后,所述可扩展编译工具集中也可不包含任何编译工具,而是根据后续待编译导航数据的数据块划分结果或其他需求再建立相应的编译工具,以更好地适应待编译导航数据的编译。例如,假设根据数据块划分结果确定所划分的多个数据块为:3D数据数据块、DTM数据块、ORTHO数据块、语音数据数据块、方向看板数据块、路口指示图数据块,则可根据上述数据块划分结果,建立以下多个编译工具:3D数据编译工具、DTM编译工具、ORTHO编译工具、语音数据编译工具、方向看板编译工具、路口指示图编译工具,以依次实现3D数据、DTM、ORTHO、语音数据、方向看板、路口指示图等数据的编译功能。It should be noted that, before the navigation data to be compiled is divided into multiple data blocks, any compilation tool may not be established in advance, or after the first generation of the scalable compilation tool set is established, the scalable compilation tool may be used. The concentration may also not include any compilation tools, but the corresponding compilation tools are further established according to the data block division results or other requirements of the subsequent navigation data to be better adapted to the compilation of the navigation data to be compiled. For example, if it is determined that the divided plurality of data blocks are: 3D data data block, DTM data block, ORTHO data block, voice data data block, direction kanban data block, and intersection indication map data block according to the data block division result, The above data block division results, the following multiple compilation tools are established: 3D data compilation tool, DTM compilation tool, ORTHO compilation tool, voice data compilation tool, direction kanban compilation tool, intersection indication map compilation tool, to realize 3D data, DTM, Compilation function of data such as ORTHO, voice data, direction board, and intersection indication map.
相应地,在本发明所述实施例中,根据各数据块中的导航数据的类型,调用与各数据块中的导航数据的类型对应的编译工具,可以包括:Correspondingly, in the embodiment of the present invention, the compiling tool corresponding to the type of the navigation data in each data block is invoked according to the type of the navigation data in each data block, and may include:
根据各数据块中的导航数据的类型,从预先建立的可扩展编译工具集中的多个编译工具中,调用与各数据块中的导航数据的类型对应的编译工具;或者,调用根据所述待编译导航数据的数据块划分结果所建立的、与各数据块中的导航数据的类型对应的编译工具。Depending on the type of the navigation data in each data block, a compilation tool corresponding to the type of the navigation data in each data block is called from among a plurality of compilation tools in the pre-established scalable compilation tool set; or, the call is based on the A compilation tool that is created by compiling the data block partition result of the navigation data and corresponding to the type of navigation data in each data block.
进一步地,在本发明所述实施例中,根据各数据块中的导航数据的类型,调用与各数据块中的导航数据的类型对应的编译工具,具体还可以包括:Further, in the embodiment of the present invention, the compiling tool corresponding to the type of the navigation data in each data block is invoked according to the type of the navigation data in each data block, and may further include:
调用与各数据块中的导航数据的类型相对应、且与各数据块中的导航数据的数据格式相对应的编译工具。A compilation tool corresponding to the type of navigation data in each data block and corresponding to the data format of the navigation data in each data block is called.
也就是说,在本发明所述实施例中,针对任一数据块,所调用的与所述数据块中的导航数据的类型相对应的编译工具除了可与该数据块中的导航数据的类型相对应之外,还可与该数据块中的导航数据的数据格式相对应。That is, in the embodiment of the present invention, for any data block, the compiled tool corresponding to the type of navigation data in the data block is invoked in addition to the type of navigation data in the data block. In addition to the correspondence, it may also correspond to the data format of the navigation data in the data block.
如,当所述数据块中的导航数据的类型为DTM类型、且所述数据块中的导航数据的数据格式为MIF格式时,所调用的与所述数据块中的导航数据的类型相对应的编译工具可为与所述DTM类型以及所述MIF格式均对应的编 译工具,即能够将DTM数据块中的MIF格式的导航数据编译为设定数据格式(即上述第二数据格式,如NDS数据格式)的编译工具。For example, when the type of the navigation data in the data block is a DTM type, and the data format of the navigation data in the data block is a MIF format, the called type corresponding to the navigation data in the data block corresponds to Compilation tool may be a corresponding to the DTM type and the MIF format The translation tool, that is, a compilation tool capable of compiling the navigation data of the MIF format in the DTM data block into a set data format (ie, the second data format described above, such as the NDS data format).
进一步地,需要说明的是,在本发明所述实施例中,各编译工具可基于胶水语言,如Shell语言来相互连接。其中,所述胶水语言是用来连接软件组件的程序设计语言(通常是脚本语言),很多原本不相关的语言(如C、C++、Java、Python或Perl等)所开发的实用工具,通过胶水语言,如Shell语言可以无缝地结合起来,组成一个工具集。在此基础上,各相互独立、耦合性低的、可独立开发的编译工具可采用任意的程序语言来开发,从而可解决目前存在的由于现有NDS编译转换程序往往是用某种特定语言所开发的,所以导致仅掌握Java语言的程序开发人员无法开发由C或C++语言开发的NDS编译转换程序的问题,从而可达到降低程序开发成本,以及进一步提高导航数据编译的灵活性以及效率的目的。Further, it should be noted that, in the embodiment of the present invention, each compilation tool may be connected to each other based on a glue language, such as a Shell language. The glue language is a programming language (usually a scripting language) for connecting software components, and a utility developed by many unrelated languages (such as C, C++, Java, Python, or Perl, etc.) is glued. Languages, such as the Shell language, can be seamlessly combined to form a tool set. On this basis, each independent, low-coupling, independently developable compilation tool can be developed in any programming language, so that existing existing NDS compiler conversion programs are often used in a specific language. Developed, so that programmers who only master the Java language can not develop the NDS compiler conversion program developed by C or C++ language, thereby reducing the program development cost and further improving the flexibility and efficiency of navigation data compilation. .
进一步地,需要说明的是,在本发明所述实施例中,针对任一数据块,所述数据块中的导航数据还可进一步按照相互之间的耦合性高低划分至一个或多个子数据块中,相应地,与所述任一数据块中的导航数据的类型相对应的编译工具具体可包括一个或多个编译子工具,以分别与所述一个或多个子数据块中的导航数据的类型相对应。例如,针对道路信息数据块,若所述道路信息数据块中的导航数据可进一步划分至车道信息子数据块、公交信息子数据块、以及行人信息子数据块中,则与所述道路信息数据块相对应的编译工具具体可包括相应的车道信息编译子工具、公交信息编译子工具以及行人信息编译子工具,以分别实现车道信息、公交信息、行人信息等的数据编译功能,本发明实施例对此不作任何限定。Further, it should be noted that, in the embodiment of the present invention, for any data block, the navigation data in the data block may further be divided into one or more sub-blocks according to the degree of coupling between each other. Correspondingly, the compiling tool corresponding to the type of the navigation data in any of the data blocks may specifically include one or more compiling sub-tools for respectively navigating the navigation data with the one or more sub-blocks The type corresponds. For example, for the road information data block, if the navigation data in the road information data block can be further divided into the lane information sub-block, the bus information sub-block, and the pedestrian information sub-block, the road information data The compiling tool corresponding to the block may specifically include a corresponding lane information compiling subtool, a bus information compiling subtool, and a pedestrian information compiling subtool to implement data compiling functions of lane information, bus information, pedestrian information, and the like, respectively. There is no limit to this.
进一步地,在本发明所述实施例中,根据各数据块中的导航数据的类型,调用与各数据块中的导航数据的类型对应的编译工具,具体还可包括:Further, in the embodiment of the present invention, the compiling tool corresponding to the type of the navigation data in each data block is invoked according to the type of the navigation data in each data block, and specifically includes:
确定各数据块之间的相关性,即各数据块相互之间的依赖性;并Determining the correlation between the data blocks, that is, the dependence of each data block on each other;
根据各数据块之间的相关性,确定对各数据块中的导航数据进行编译的先后顺序;以及, Determining a sequence of compiling the navigation data in each data block according to the correlation between the data blocks;
按照所述先后顺序调用与各数据块中的导航数据的类型对应的编译工具,或者,按照所述先后顺序调用与各数据块中的导航数据的类型相对应、且与各数据块中的导航数据的数据格式相对应的编译工具。Compiling a compilation tool corresponding to the type of the navigation data in each data block according to the sequence, or calling the navigation data in each data block according to the sequence, and the navigation in each data block The data format corresponds to the compilation tool.
特殊地,针对任意两个相关性低于设定的相关性阈值(如不具备相关性)的数据块,可无需区分所述两个数据块中的导航数据的编译先后顺序,即此时可随机确定所述两个数据块中的导航数据的类型所对应的编译工具的调用先后顺序。In particular, for any data block whose correlation is lower than the set correlation threshold (such as no correlation), it is not necessary to distinguish the compilation order of the navigation data in the two data blocks, that is, at this time. The calling sequence of the compiling tools corresponding to the type of the navigation data in the two data blocks is randomly determined.
例如,假设所划分的数据块为收费站信息数据块、道路信息数据块以及车道信息数据块,且对应的编译工具分别为收费站信息编译工具、道路信息编译工具、以及车道信息编译工具,则:For example, if the divided data blocks are the toll station information data block, the road information data block, and the lane information data block, and the corresponding compiling tools are the toll station information compiling tool, the road information compiling tool, and the lane information compiling tool, :
由于收费站信息与道路信息相关且收费站信息依赖于道路信息、车道信息与道路信息相关且车道信息依赖于道路信息,再者,收费站信息与车道信息并不相关,因此,在确定编译工具之间的调用先后顺序时,可得到以下结果(按调用顺序从先到后的顺序依次排序):Since the toll booth information is related to the road information and the toll booth information depends on the road information, the lane information is related to the road information, and the lane information depends on the road information, and further, the toll booth information is not related to the lane information, and therefore, the compiling tool is determined. When the order of the calls is between, the following results are obtained (sorted in order from the first to the last in order):
道路信息编译工具、车道信息编译工具、收费站信息编译工具;或者,Road information compilation tool, lane information compilation tool, toll station information compilation tool; or
道路信息编译工具、收费站信息编译工具、车道信息编译工具。Road information compilation tool, toll station information compilation tool, lane information compilation tool.
进一步地,需要说明的是,在调用与各数据块中的导航数据的类型对应的编译工具时,通常可采用胶水语言(如Shell语言)来组织调用与各数据块中的导航数据的类型对应的编译工具,本发明实施例对此不作赘述。Further, it should be noted that when a compiling tool corresponding to the type of navigation data in each data block is invoked, a glue language (such as a Shell language) is generally used to organize the call corresponding to the type of navigation data in each data block. The compiling tool is not described in detail in the embodiment of the present invention.
步骤104:对各中间数据进行空间索引切分,并对空间索引切分所得数据进行瓦片填充,得到设定数据格式的导航数据。Step 104: Perform spatial index segmentation on each intermediate data, and perform tile filling on the data obtained by dividing the spatial index to obtain navigation data in a set data format.
可选地,在得到设定数据格式的各中间数据之后,可通过调用相应的编译工具的方式,对各中间数据进行空间索引切分,并按照瓦片填充空间索引切分所得到的各数据,以得到最终所需的设定数据格式的导航数据,实现待编译导航数据的编译。Optionally, after obtaining the intermediate data in the set data format, the intermediate data may be spatially indexed by calling the corresponding compilation tool, and the obtained data is divided according to the tile filling space index. To obtain the navigation data of the final required setting data format, and to compile the navigation data to be compiled.
进一步地,在按照瓦片填充空间索引切分所得到的各数据之后,还可填入相应的版本信息或其他所需的信息,本发明实施例对此不作赘述。 Further, after the data is divided according to the tile-filled spatial index, the corresponding version information or other required information may also be filled in, which is not described in detail in the embodiment of the present invention.
进一步地,在本发明所述实施例中,所述方法还可包括:Further, in the embodiment of the present invention, the method may further include:
若接收到用于表示需对所述待编译导航数据(即上述所述第一数据格式的导航数据)的属性进行修改的指令信息,则调用用于改变导航数据的属性的编译工具,对所述待编译导航数据的属性进行相应修改。If the instruction information indicating that the attribute of the navigation data to be compiled (ie, the navigation data of the first data format described above) needs to be modified is received, the compiler for changing the attribute of the navigation data is invoked. The properties of the compiled navigation data are modified accordingly.
具体地,在接收到用于表示需对所述待编译导航数据的属性进行修改的指令信息时,若确定事先未建立有用于改变导航数据的属性的编译工具,则可建立用于改变导航数据的属性的编译工具,并通过调用建立的用于改变导航数据的属性的编译工具的方式,对所述待编译导航数据的属性进行相应修改;或者,Specifically, when receiving the instruction information for indicating that the attribute of the navigation data to be compiled needs to be modified, if it is determined that the compilation tool for changing the attribute of the navigation data is not established in advance, the navigation data may be established for changing. a compiling tool of the attribute, and modifying the attribute of the navigation data to be compiled by calling a built-up compiler tool for changing the attribute of the navigation data; or
若确定事先已建立有用于改变导航数据的属性的编译工具,则可通过直接调用事先建立的用于改变导航数据的属性的编译工具的方式,对所述待编译导航数据的属性进行相应修改。If it is determined that a compiling tool for changing the attributes of the navigation data has been established in advance, the attributes of the navigation data to be compiled may be modified correspondingly by directly calling a pre-established compiling tool for changing the attributes of the navigation data.
也就是说,所述用于改变导航数据的属性的编译工具可以是预先建立的(如可以是可扩展编译工具集中即已存在的),也可以是根据实际需求灵活建立的,本发明实施例对此不作赘述。That is, the compiling tool for changing the attributes of the navigation data may be pre-established (as may be existing in the extensible compilation tool set), or may be flexibly established according to actual needs, the embodiment of the present invention. I will not go into details about this.
进一步地,在本发明所述实施例中,所述方法还可包括:Further, in the embodiment of the present invention, the method may further include:
若接收到无法划分至所述多个数据块中的补充数据,则将所述补充数据划分到一新数据块中;并If the supplementary data that cannot be divided into the plurality of data blocks is received, the supplementary data is divided into a new data block; and
根据所述新数据块中的导航数据的类型,调用与所述新数据块中的导航数据的类型相对应的编译工具,对所述补充数据进行编译。And compiling the supplementary data according to a type of navigation data in the new data block by calling a compilation tool corresponding to a type of navigation data in the new data block.
具体地,针对所述新数据块,可在确定事先未建立有与所述新数据块相对应的编译工具时,建立与所述新数据块中的导航数据的类型相对应的编译工具,并通过调用建立的与所述新数据块中的导航数据的类型相对应的编译工具的方式,对所述补充数据进行相应编译;或者,Specifically, for the new data block, when it is determined that the compilation tool corresponding to the new data block is not established in advance, a compilation tool corresponding to the type of the navigation data in the new data block may be established, and Compiling the supplementary data by calling a built-up compiler tool corresponding to the type of navigation data in the new data block; or
可在确定事先已建立有与所述新数据块中的导航数据的类型相对应的编译工具时,通过调用事先建立的与所述新数据块中的导航数据的类型相对应的编译工具的方式,对所述补充数据进行相应编译。 A method of calling a compilation tool corresponding to a type of navigation data in the new data block that is established in advance when determining that a compilation tool corresponding to a type of navigation data in the new data block has been established in advance Compile the supplementary data accordingly.
也就是说,针对每一类补充数据,都可以根据实际需求灵活地建立一个与所述补充数据相对应的可独立开发的编译工具,从而可实现各类补充数据的分别编译,降低了开发的难度,并达到了提高数据编译的适应性的目的。That is to say, for each type of supplementary data, an independently developable compilation tool corresponding to the supplementary data can be flexibly established according to actual needs, thereby realizing separate compilation of various supplementary data and reducing development. Difficulty and achieve the goal of improving the adaptability of data compilation.
本发明实施例一提供了一种电子地图编译方法,在本发明实施例一所述技术方案中,由于可将待编译导航数据划分至相互之间耦合性低的多个数据块中且每个数据块中的导航数据可采用与该数据块中的导航数据的类型对应的可独立开发的编译工具进行单独编译,因此,能极大地提高导航数据编译的灵活性以及效率。The first embodiment of the present invention provides an electronic map compiling method. In the technical solution of the first embodiment of the present invention, the navigation data to be compiled can be divided into multiple data blocks with low coupling between each other and each The navigation data in the data block can be separately compiled by an independently developable compilation tool corresponding to the type of navigation data in the data block, thereby greatly improving the flexibility and efficiency of navigation data compilation.
另外,由于在本发明所述实施例中,各编译工具可基于胶水语言,如Shell语言来相互连接,从而可使得各编译工具可采用任意的程序语言来开发,从而可解决目前存在的程序开发人员仅能使用特定的程序语言开发NDS编译转换程序的问题,以达到降低程序开发成本,以及进一步提高导航数据编译的灵活性以及效率的目的。In addition, in the embodiment of the present invention, each compiling tool can be connected to each other based on a glue language, such as a Shell language, so that each compiling tool can be developed by using any programming language, thereby solving the existing program development. Personnel can only use the specific programming language to develop the problem of NDS compiler conversion program, in order to reduce the program development cost, and further improve the flexibility and efficiency of navigation data compilation.
再有,由于在本发明所述实施例中,所接收到的待编译导航数据所包含的数据可具有一种或多种导航数据格式,也就是说,在本发明所述实施例中,可适应一种或多种格式的输入数据,从而相对于目前来说的仅适应某一格式,如RDF格式的输入数据来说,可极大地提高导航编译的可适用性和实用性。Further, in the embodiment of the present invention, the data included in the received navigation data to be compiled may have one or more navigation data formats, that is, in the embodiment of the present invention, Adapting to input data in one or more formats, which greatly improves the applicability and practicability of navigation compilation, compared to current input data that only adapts to a certain format, such as RDF format.
最后,由于在本发明所述实施例中,针对每一类补充数据,都可以根据实际需求灵活地建立一个与所述补充数据相对应的可独立开发的编译工具,从而可实现各类补充数据的分别编译,降低了开发的难度,并达到了提高数据编译的适应性的目的。Finally, in the embodiment of the present invention, for each type of supplementary data, an independently developable compilation tool corresponding to the supplementary data can be flexibly established according to actual needs, thereby implementing various types of supplementary data. The separate compilation reduces the difficulty of development and achieves the purpose of improving the adaptability of data compilation.
实施例二:Embodiment 2:
基于同一发明构思,本发明实施例二提供了一种可用于实现本发明实施例一中所述电子地图编译方法的电子地图编译装置,该电子地图编译装置的具体实施可参见上述方法实施例一中的相关描述,重复之处不再赘述,如图2所示,其为本发明实施例二中所述电子地图编译装置的结构示意图,所述电子地图编译装置可包括数据块划分单元21以及导航数据编译单元22,其中: Based on the same inventive concept, the second embodiment of the present invention provides an electronic map compiling device that can be used to implement the electronic map compiling method in the first embodiment of the present invention. For the specific implementation of the electronic map compiling device, refer to the first embodiment of the method. The related description in the above, the repeated description is not repeated, as shown in FIG. 2, which is a schematic structural diagram of the electronic map compiling device according to the second embodiment of the present invention, and the electronic map compiling device may include a data block dividing unit 21 and Navigation data compilation unit 22, wherein:
所述数据块划分单元21可用于将第一数据格式的导航数据中耦合性高的导航数据划分到一个数据块中,得到多个数据块,所述多个数据块之间的耦合性低;其中,所述第一数据格式的导航数据所包含的数据可具有一种或多种导航数据格式。也就是说,在本发明所述实施例中,可适应一种或多种格式的输入数据,从而相对于目前来说的仅适应某一格式,如RDF格式的输入数据来说,可极大地提高导航编译的可适用性和实用性。The data block dividing unit 21 may be configured to divide the navigation data with high coupling in the navigation data of the first data format into one data block to obtain a plurality of data blocks, and the coupling between the plurality of data blocks is low; The data included in the navigation data of the first data format may have one or more navigation data formats. That is to say, in the embodiment of the present invention, the input data of one or more formats can be adapted, so that the input data adapted to only a certain format, such as the RDF format, can be greatly improved. Improve the applicability and usability of navigation compilation.
所述导航数据编译单元22可用于根据各数据块中的导航数据的类型,调用与各数据块中的导航数据的类型对应的编译工具,分别将各数据块中的导航数据转换成第二数据格式的中间数据;以及,对各中间数据进行空间索引切分,并对空间索引切分所得数据进行瓦片填充,得到所述第二数据格式的导航数据。The navigation data compiling unit 22 is configured to, according to the type of the navigation data in each data block, invoke a compiling tool corresponding to the type of the navigation data in each data block, and respectively convert the navigation data in each data block into the second data. Intermediate data of the format; and, spatially indexing each intermediate data, and performing tile filling on the spatial index segmentation data to obtain navigation data of the second data format.
可选地,所述数据块划分单元21可用于按照导航数据的数据模型之间的相关性,将所述待编译导航数据中耦合性高的导航数据划分到一个数据块中,得到多个相互之间的耦合性低的数据块,以使得每个数据块中的导航数据可以被单独编译,以达到提高模块快速开发以及提高导航数据编译的灵活性以及效率的目的。Optionally, the data block dividing unit 21 is configured to divide the navigation data with high coupling in the navigation data to be compiled into one data block according to the correlation between the data models of the navigation data, to obtain multiple mutual The data blocks with low coupling are so that the navigation data in each data block can be separately compiled, so as to improve the rapid development of the module and improve the flexibility and efficiency of the navigation data compilation.
具体地,以所需编译成的导航数据的数据格式(即第二数据格式)为NDS数据格式为例,所述数据块划分单元21可用于将所述第一数据格式的导航数据划分至以下多个数据块中的任意多个数据块中:Specifically, taking the data format of the navigation data that is required to be compiled (ie, the second data format) as an example of the NDS data format, the data block dividing unit 21 may be configured to divide the navigation data of the first data format into the following. In any of several data blocks:
3D数据数据块、DTM数据块、ORTHO数据块、语音数据数据块、道路信息数据块、POI信息数据块、Landuse信息数据块、方向看板数据块、路口指示图数据块、道路警告信息数据块、TMC数据块、行政区划信息数据块以及收费站信息数据块等。3D data data block, DTM data block, ORTHO data block, voice data data block, road information data block, POI information data block, Landuse information data block, direction kanban data block, intersection indication map data block, road warning information data block, TMC data block, administrative division information data block, and toll station information data block.
进一步地,所述导航数据编译单元22具体可用于调用与各数据块中的导航数据的类型相对应、且与各数据块中的导航数据的数据格式相对应的编译工具。即,针对任一数据块,所调用的与所述数据块中的导航数据的类型相对应的编译工具除了可与该数据块中的导航数据的类型相对应之外,还可与 该数据块中的导航数据的数据格式相对应。Further, the navigation data compiling unit 22 is specifically configured to call a compiling tool corresponding to the type of the navigation data in each data block and corresponding to the data format of the navigation data in each data block. That is, for any data block, the compiled tool corresponding to the type of navigation data in the data block is called, in addition to the type of navigation data in the data block, The data format of the navigation data in the data block corresponds.
进一步地,所述电子地图编译装置还可包括编译工具建立单元23,所述编译工具建立单元23可用于根据所述第一数据格式的导航数据的数据块划分结果,建立多个分别与各数据块中的导航数据的类型相对应的编译工具。Further, the electronic map compiling apparatus may further include a compiling tool establishing unit 23, and the compiling tool establishing unit 23 may be configured to establish a plurality of data and each data according to the data block dividing result of the navigation data of the first data format. The compilation tool corresponding to the type of navigation data in the block.
相应地,所述导航数据编译单元22具体可用于从预先建立的可扩展编译工具集中的多个编译工具中,调用与各数据块中的导航数据的类型相对应的编译工具,其中,所述可扩展编译工具集可以是所述电子地图编译装置(如编译工具建立单元23)预先建立的,也可以是其他设备或程序开发人员预先建立的,本发明实施例对此不作任何限定;或者,调用所述编译工具建立单元23建立的与各数据块中的导航数据的类型相对应的编译工具。Correspondingly, the navigation data compiling unit 22 is specifically configured to call, from a plurality of compiling tools in the pre-established extensible compilation tool set, a compiling tool corresponding to the type of the navigation data in each data block, wherein the The scalable compilation tool set may be pre-established by the electronic map compiling device (such as the compiling tool establishing unit 23), or may be pre-established by other devices or program developers, and is not limited by the embodiment of the present invention; or The compilation tool corresponding to the type of navigation data in each data block established by the compilation tool establishing unit 23 is called.
进一步地,所述导航数据编译单元22具体还可用于确定各数据块之间的相关性,并根据各数据块之间的相关性,确定对各数据块中的导航数据进行编译的先后顺序;以及,按照所述先后顺序调用与各数据块中的导航数据的类型对应的编译工具,或者,按照所述先后顺序调用与各数据块中的导航数据的类型相对应、且与各数据块中的导航数据的数据格式相对应的编译工具。Further, the navigation data compiling unit 22 may be further configured to determine a correlation between each data block, and determine a sequence of compiling the navigation data in each data block according to the correlation between the data blocks; And calling, according to the sequence, a compilation tool corresponding to the type of the navigation data in each data block, or calling the type of the navigation data in each data block according to the sequence, and in each data block The navigation data corresponds to the data format of the compilation tool.
其中,针对任意两个相关性低于设定的相关性阈值(如不具备相关性)的数据块,可无需区分所述两个数据块中的导航数据的编译先后顺序,即此时可随机确定所述两个数据块中的导航数据的类型所对应的编译工具的调用先后顺序。Wherein, for any data block whose correlation is lower than the set correlation threshold (such as no correlation), the compilation order of the navigation data in the two data blocks may not be distinguished, that is, the data may be randomly selected at this time. Determining a calling sequence of the compiling tools corresponding to the types of the navigation data in the two data blocks.
进一步地,在本发明所述实施例中,各编译工具可基于胶水语言,如Shell语言来相互连接,从而可使得各编译工具可采用任意的程序语言来开发,从而可解决目前存在的程序开发人员仅能使用特定的程序语言开发NDS编译转换程序的问题,以达到降低程序开发成本,以及进一步提高导航数据编译的灵活性以及效率的目的。Further, in the embodiment of the present invention, each compiling tool can be connected to each other based on a glue language, such as a Shell language, so that each compiling tool can be developed by using any programming language, thereby solving the existing program development. Personnel can only use the specific programming language to develop the problem of NDS compiler conversion program, in order to reduce the program development cost, and further improve the flexibility and efficiency of navigation data compilation.
进一步地,在本发明所述实施例中,所述导航数据编译单元22还可用于若接收到用于表示需对所述第一数据格式的导航数据的属性进行修改的指令信息,则调用用于改变导航数据的属性的编译工具,对所述第一数据格式的 导航数据的属性进行相应修改。Further, in the embodiment of the present invention, the navigation data compiling unit 22 is further configured to: if receiving instruction information indicating that the attribute of the navigation data of the first data format needs to be modified, a compilation tool for changing attributes of the navigation data, for the first data format The properties of the navigation data are modified accordingly.
其中,所述用于改变导航数据的属性的编译工具可以是预先建立的(如可以是可扩展编译工具集中即已存在的),也可以是根据实际需求灵活建立的(如可以是所述编译工具建立单元23根据实际需求灵活建立的),本发明实施例对此不作赘述。The compilation tool for changing the attributes of the navigation data may be pre-established (as may exist in the extensible compilation tool set), or may be flexibly established according to actual needs (eg, may be the compilation) The tool establishing unit 23 is flexibly established according to the actual requirements, which is not described in detail in the embodiment of the present invention.
进一步地,在本发明所述实施例中,所述数据块划分单元21还可用于若接收到无法划分至所述多个数据块中的补充数据,则将所述补充数据划分到一新数据块中;Further, in the embodiment of the present invention, the data block dividing unit 21 is further configured to: if the supplementary data that cannot be divided into the plurality of data blocks is received, divide the supplementary data into a new data. In the block;
所述导航数据编译单元22还可用于根据所述新数据块中的导航数据的类型,调用与所述新数据块中的导航数据的类型相对应的编译工具,对所述补充数据进行编译。The navigation data compiling unit 22 is further configured to: according to a type of the navigation data in the new data block, invoke a compiling tool corresponding to a type of the navigation data in the new data block, and compile the supplementary data.
其中,所述与所述新数据块中的导航数据的类型相对应的编译工具可以是预先建立的(如可以是可扩展编译工具集中即已存在的),也可以是根据实际需求灵活建立的(如可以是所述编译工具建立单元23根据实际需求灵活建立的),本发明实施例对此不作赘述。The compilation tool corresponding to the type of the navigation data in the new data block may be pre-established (such as may exist in the extensible compilation tool set), or may be flexibly established according to actual needs. (For example, the compiler tool establishing unit 23 may be flexibly established according to actual requirements), which is not described in detail in the embodiment of the present invention.
本发明实施例二提供了一种电子地图编译装置,在本发明实施例二所述技术方案中,由于可将待编译导航数据划分至相互之间耦合性低的多个数据块中且每个数据块中的导航数据可采用与该数据块中的导航数据的类型对应的可独立开发的编译工具进行单独编译,因此,能极大地提高导航数据编译的灵活性以及效率。The second embodiment of the present invention provides an electronic map compiling apparatus. In the technical solution of the second embodiment of the present invention, the navigation data to be compiled can be divided into multiple data blocks with low coupling between each other and each The navigation data in the data block can be separately compiled by an independently developable compilation tool corresponding to the type of navigation data in the data block, thereby greatly improving the flexibility and efficiency of navigation data compilation.
另外,由于在本发明所述实施例中,各编译工具可基于胶水语言,如Shell语言来相互连接,从而可使得各编译工具可采用任意的程序语言来开发,从而可解决目前存在的程序开发人员仅能使用特定的程序语言开发NDS编译转换程序的问题,以达到降低程序开发成本,以及进一步提高导航数据编译的灵活性以及效率的目的。In addition, in the embodiment of the present invention, each compiling tool can be connected to each other based on a glue language, such as a Shell language, so that each compiling tool can be developed by using any programming language, thereby solving the existing program development. Personnel can only use the specific programming language to develop the problem of NDS compiler conversion program, in order to reduce the program development cost, and further improve the flexibility and efficiency of navigation data compilation.
再有,由于在本发明所述实施例中,所接收到的待编译导航数据所包含的数据可具有一种或多种导航数据格式,也就是说,在本发明所述实施例中, 可适应一种或多种格式的输入数据,从而相对于目前来说的仅适应某一格式,如RDF格式的输入数据来说,可极大地提高导航编译的可适用性和实用性。Further, in the embodiment of the present invention, the data included in the received navigation data to be compiled may have one or more navigation data formats, that is, in the embodiment of the present invention, The input data can be adapted to one or more formats, so that the applicability and practicability of navigation compilation can be greatly improved compared with the current input data that only adapts to a certain format, such as RDF format.
最后,由于在本发明所述实施例中,针对每一类补充数据,都可以根据实际需求灵活地建立一个与所述补充数据相对应的可独立开发的编译工具,从而可实现各类补充数据的分别编译,降低了开发的难度,并达到了提高数据编译的适应性的目的。Finally, in the embodiment of the present invention, for each type of supplementary data, an independently developable compilation tool corresponding to the supplementary data can be flexibly established according to actual needs, thereby implementing various types of supplementary data. The separate compilation reduces the difficulty of development and achieves the purpose of improving the adaptability of data compilation.
本领域技术人员应明白,本发明的实施例可提供为方法、装置(设备)、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, apparatus (device), or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
本发明是参照根据本发明实施例的方法、装置(设备)和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus, and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了 基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。Although a preferred embodiment of the invention has been described, one of ordinary skill in the art will recognize Additional changes and modifications to these embodiments can be made in the basic inventive concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and the modifications and
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。 It is apparent that those skilled in the art can make various modifications and variations to the invention without departing from the spirit and scope of the invention. Thus, it is intended that the present invention cover the modifications and modifications of the invention

Claims (10)

  1. 一种电子地图编译方法,其特征在于,包括:An electronic map compiling method, comprising:
    将第一数据格式的导航数据中耦合性高的导航数据划分到一个数据块中,得到多个数据块,所述多个数据块之间的耦合性低;The navigation data with high coupling in the navigation data of the first data format is divided into one data block to obtain a plurality of data blocks, and the coupling between the plurality of data blocks is low;
    根据各数据块中的导航数据的类型,调用与各数据块中的导航数据的类型对应的编译工具,分别将各数据块中的导航数据转换成第二数据格式的中间数据;Generating, according to the type of the navigation data in each data block, a compilation tool corresponding to the type of the navigation data in each data block, and converting the navigation data in each data block into the intermediate data in the second data format;
    对各中间数据进行空间索引切分,并对空间索引切分所得数据进行瓦片填充,得到所述第二数据格式的导航数据。Performing spatial index segmentation on each intermediate data, and performing tile filling on the spatial index segmentation data to obtain navigation data of the second data format.
  2. 如权利要求1所述的电子地图编译方法,其特征在于,根据各数据块中的导航数据的类型,调用与各数据块中的导航数据的类型对应的编译工具,包括:The electronic map compiling method according to claim 1, wherein the compiling tool corresponding to the type of the navigation data in each data block is invoked according to the type of the navigation data in each data block, including:
    调用与各数据块中的导航数据的类型相对应、且与各数据块中的导航数据的数据格式相对应的编译工具。A compilation tool corresponding to the type of navigation data in each data block and corresponding to the data format of the navigation data in each data block is called.
  3. 如权利要求1或2所述的电子地图编译方法,其特征在于,根据各数据块中的导航数据的类型,调用与各数据块中的导航数据的类型对应的编译工具,包括:The electronic map compiling method according to claim 1 or 2, wherein the compiling tool corresponding to the type of the navigation data in each data block is called according to the type of the navigation data in each data block, including:
    确定各数据块之间的相关性;Determine the correlation between the data blocks;
    根据各数据块之间的相关性,确定对各数据块中的导航数据进行编译的先后顺序;Determining a sequence of compiling the navigation data in each data block according to the correlation between the data blocks;
    按照所述先后顺序调用与各数据块中的导航数据的类型对应的编译工具,或者,按照所述先后顺序调用与各数据块中的导航数据的类型相对应、且与各数据块中的导航数据的数据格式相对应的编译工具。Compiling a compilation tool corresponding to the type of the navigation data in each data block according to the sequence, or calling the navigation data in each data block according to the sequence, and the navigation in each data block The data format corresponds to the compilation tool.
  4. 如权利要求1或2所述的电子地图编译方法,其特征在于,所述方法还包括:The method of compiling an electronic map according to claim 1 or 2, wherein the method further comprises:
    若接收到用于表示需对所述第一数据格式的导航数据的属性进行修改的 指令信息,则调用用于改变导航数据的属性的编译工具,对所述第一数据格式的导航数据的属性进行修改。If the attribute indicating that the navigation data of the first data format needs to be modified is received The instruction information invokes a compilation tool for changing the attributes of the navigation data to modify the attributes of the navigation data of the first data format.
  5. 如权利要求1或2所述的电子地图编译方法,其特征在于,所述方法还包括:The method of compiling an electronic map according to claim 1 or 2, wherein the method further comprises:
    若接收到无法划分至所述多个数据块中的补充数据,则将所述补充数据划分到一新数据块中;并If the supplementary data that cannot be divided into the plurality of data blocks is received, the supplementary data is divided into a new data block; and
    根据所述新数据块中的导航数据的类型,调用与所述新数据块中的导航数据的类型相对应的编译工具,对所述补充数据进行编译。And compiling the supplementary data according to a type of navigation data in the new data block by calling a compilation tool corresponding to a type of navigation data in the new data block.
  6. 一种电子地图编译装置,其特征在于,包括:An electronic map compiling device, comprising:
    数据块划分单元,用于将第一数据格式的导航数据中耦合性高的导航数据划分到一个数据块中,得到多个数据块,所述多个数据块之间的耦合性低;a data block dividing unit, configured to divide the navigation data with high coupling in the navigation data of the first data format into one data block, to obtain a plurality of data blocks, and the coupling between the plurality of data blocks is low;
    导航数据编译单元,用于根据各数据块中的导航数据的类型,调用与各数据块中的导航数据的类型对应的编译工具,分别将各数据块中的导航数据转换成第二数据格式的中间数据;以及,对各中间数据进行空间索引切分,并对空间索引切分所得数据进行瓦片填充,得到所述第二数据格式的导航数据。The navigation data compiling unit is configured to, according to the type of the navigation data in each data block, invoke a compiling tool corresponding to the type of the navigation data in each data block, and respectively convert the navigation data in each data block into the second data format. And intermediate data; and performing spatial index segmentation on each intermediate data, and performing tile filling on the spatial index segmentation data to obtain navigation data of the second data format.
  7. 如权利要求6所述的电子地图编译装置,其特征在于,The electronic map compiling device according to claim 6, wherein
    所述导航数据编译单元,具体用于调用与各数据块中的导航数据的类型相对应、且与各数据块中的导航数据的数据格式相对应的编译工具。The navigation data compiling unit is specifically configured to invoke a compiling tool corresponding to the type of the navigation data in each data block and corresponding to the data format of the navigation data in each data block.
  8. 如权利要求6或7所述的电子地图编译装置,其特征在于,The electronic map compiling device according to claim 6 or 7, wherein
    所述导航数据编译单元,具体用于确定各数据块之间的相关性,并根据各数据块之间的相关性,确定对各数据块中的导航数据进行编译的先后顺序;以及,按照所述先后顺序调用与各数据块中的导航数据的类型对应的编译工具,或者,按照所述先后顺序调用与各数据块中的导航数据的类型相对应、且与各数据块中的导航数据的数据格式相对应的编译工具。The navigation data compiling unit is specifically configured to determine a correlation between each data block, and determine, according to the correlation between the data blocks, a sequence of compiling the navigation data in each data block; and, according to the Compiling a compilation tool corresponding to the type of navigation data in each data block in sequence, or calling the types of navigation data in each data block in accordance with the sequence, and the navigation data in each data block A compilation tool that corresponds to the data format.
  9. 如权利要求6或7所述的电子地图编译装置,其特征在于,The electronic map compiling device according to claim 6 or 7, wherein
    所述导航数据编译单元,还用于若接收到用于表示需对所述第一数据格 式的导航数据的属性进行修改的指令信息,则调用用于改变导航数据的属性的编译工具,对所述第一数据格式的导航数据的属性进行修改。The navigation data compiling unit is further configured to: if received, to indicate that the first data grid is required The instruction information of the modified navigation data is modified, and the compilation tool for changing the attribute of the navigation data is called to modify the attribute of the navigation data of the first data format.
  10. 如权利要求6或7所述的电子地图编译装置,其特征在于,The electronic map compiling device according to claim 6 or 7, wherein
    所述数据块划分单元,还用于若接收到无法划分至所述多个数据块中的补充数据,则将所述补充数据划分到一新数据块中;The data block dividing unit is further configured to: if the supplementary data that cannot be divided into the plurality of data blocks is received, divide the supplementary data into a new data block;
    所述导航数据编译单元,还用于根据所述新数据块中的导航数据的类型,调用与所述新数据块中的导航数据的类型相对应的编译工具,对所述补充数据进行编译。 The navigation data compiling unit is further configured to: according to a type of the navigation data in the new data block, invoke a compiling tool corresponding to a type of the navigation data in the new data block, and compile the supplementary data.
PCT/CN2015/097117 2014-12-25 2015-12-11 Electronic map compilation method and apparatus WO2016101797A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410827159.0A CN105783931B (en) 2014-12-25 2014-12-25 A kind of electronic map Compilation Method and device
CN201410827159.0 2014-12-25

Publications (1)

Publication Number Publication Date
WO2016101797A1 true WO2016101797A1 (en) 2016-06-30

Family

ID=56149229

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/097117 WO2016101797A1 (en) 2014-12-25 2015-12-11 Electronic map compilation method and apparatus

Country Status (2)

Country Link
CN (1) CN105783931B (en)
WO (1) WO2016101797A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108628969A (en) * 2018-04-24 2018-10-09 咪咕文化科技有限公司 A kind of spatial key indexing means and platform, storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110718078B (en) * 2018-07-13 2021-06-15 阿里巴巴(中国)有限公司 Traffic incident information publishing method and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1442835A (en) * 2002-03-05 2003-09-17 麦士威(香港)电子技术有限公司 Programme setting method of electronic map
CN101551252A (en) * 2009-05-22 2009-10-07 四川长虹电器股份有限公司 Method for vector chart making and rapid loading display
CN101582068A (en) * 2008-05-14 2009-11-18 北京灵图软件技术有限公司 Method and system for organizing geographic data
CN101976534A (en) * 2010-11-01 2011-02-16 百度在线网络技术(北京)有限公司 Electronic map generation method and device
CN103187002A (en) * 2011-12-29 2013-07-03 北京移动坚石信息技术有限公司 Method for generating electronic map
CN103712628A (en) * 2014-01-03 2014-04-09 宇龙计算机通信科技(深圳)有限公司 Navigation path drawing method and terminal
JP2014153824A (en) * 2013-02-06 2014-08-25 Mitsubishi Electric Corp Map generation device and display method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103729372B (en) * 2012-10-15 2017-07-04 北京四维图新科技股份有限公司 data extraction method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1442835A (en) * 2002-03-05 2003-09-17 麦士威(香港)电子技术有限公司 Programme setting method of electronic map
CN101582068A (en) * 2008-05-14 2009-11-18 北京灵图软件技术有限公司 Method and system for organizing geographic data
CN101551252A (en) * 2009-05-22 2009-10-07 四川长虹电器股份有限公司 Method for vector chart making and rapid loading display
CN101976534A (en) * 2010-11-01 2011-02-16 百度在线网络技术(北京)有限公司 Electronic map generation method and device
CN103187002A (en) * 2011-12-29 2013-07-03 北京移动坚石信息技术有限公司 Method for generating electronic map
JP2014153824A (en) * 2013-02-06 2014-08-25 Mitsubishi Electric Corp Map generation device and display method
CN103712628A (en) * 2014-01-03 2014-04-09 宇龙计算机通信科技(深圳)有限公司 Navigation path drawing method and terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108628969A (en) * 2018-04-24 2018-10-09 咪咕文化科技有限公司 A kind of spatial key indexing means and platform, storage medium

Also Published As

Publication number Publication date
CN105783931A (en) 2016-07-20
CN105783931B (en) 2018-12-11

Similar Documents

Publication Publication Date Title
AU2010212391B2 (en) Integration environment generator
US9536023B2 (en) Code generation for using an element in a first model to call a portion of a second model
US10579349B2 (en) Verification of a dataflow representation of a program through static type-checking
US9501269B2 (en) Automatic source code generation for accelerated function calls
CN109388566A (en) A kind of code coverage rate analysis method, apparatus, equipment and storage medium
CN105468797B (en) A kind of information processing method and device
EP2406714A1 (en) Apparatus & associated methodology of generating a multi-core communications topology
CN102708234A (en) Integration platform and method of Matlab (matrix laboratory) simulation model based on HLA (high level architecture)
WO2016101797A1 (en) Electronic map compilation method and apparatus
CN107797805A (en) A kind of code wrap method, apparatus and computer-readable recording medium
CN109086044B (en) Simulation model development method based on components
CN106446064A (en) Data conversion method and device
US9632759B1 (en) Generation of an interface for interaction between a modeling environment and an external system
CN104077252A (en) USB (universal serial bus) device communication method and device and electronic device
CN104750468A (en) Server side topological data conversion method and device
CN109520513B (en) Three-dimensional map drawing method and device
CN110019538A (en) A kind of tables of data switching method and device
CN105843993B (en) IP generation method and tool
CN106547528B (en) Interface layout method and device
CN113010489A (en) Data migration method and system
CN109460236A (en) Program version building and inspection method and system
CN109697167A (en) Management method, system, electronic equipment and the storage medium of test variable
CN110442373A (en) Adding method, device and the medium of copyright information
CN107343040A (en) Analogy method, device, terminal and the computer-readable recording medium of physical operation device
CN103559068A (en) Configuration method and device for elementary calculation environment component

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15871866

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15871866

Country of ref document: EP

Kind code of ref document: A1