CN108255835B - Product data generator, generation method and navigation system - Google Patents

Product data generator, generation method and navigation system Download PDF

Info

Publication number
CN108255835B
CN108255835B CN201611236576.3A CN201611236576A CN108255835B CN 108255835 B CN108255835 B CN 108255835B CN 201611236576 A CN201611236576 A CN 201611236576A CN 108255835 B CN108255835 B CN 108255835B
Authority
CN
China
Prior art keywords
file
data
interface
module
navigation
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201611236576.3A
Other languages
Chinese (zh)
Other versions
CN108255835A (en
Inventor
熊涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Navinfo Co Ltd
Original Assignee
Navinfo Co Ltd
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 Navinfo Co Ltd filed Critical Navinfo Co Ltd
Priority to CN201611236576.3A priority Critical patent/CN108255835B/en
Publication of CN108255835A publication Critical patent/CN108255835A/en
Application granted granted Critical
Publication of CN108255835B publication Critical patent/CN108255835B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/178Techniques for file synchronisation in file systems
    • G06F16/1794Details of file format conversion
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code

Abstract

The invention discloses a product data generator, a generation method and a navigation system, wherein the generator comprises: the data loading module is used for loading a file directory template file and a data column name description file; the file generation engine is used for calling a related data processing interface in the file generation engine to process the pre-loaded initial navigation data according to the file directory template file and the data column name description file so as to generate a navigation data file; the file coding module is used for converting the navigation data file into a specified coding format according to preset coding parameters; and the file distribution module is used for distributing the navigation data file subjected to coding processing to a corresponding product directory structure according to the specified data specification to generate a navigation data product with the specified specification. The invention can meet the requirements of different customers on the data specification by changing the file directory template file and the data listing description file, avoids changing the core code and improves the product generation effect.

Description

Product data generator, generation method and navigation system
Technical Field
The invention relates to the field of electronic maps, in particular to a product data generator, a product data generating method and a navigation system.
Background
In the field of electronic maps, the requirements of different enterprise customers for the data specification do not form a uniform specification, and each enterprise customer may have its own requirements, for example, the specifications of electronic map data built in vehicles sold by different automobile manufacturers may be different, automobile manufacturer a requires that the chinese names of all data be placed in one file, and automobile manufacturer B requires that different types of chinese names be stored in different files.
In addition, file names and field names of different enterprise clients for data storage of roads, points of interest (POIs), connectivity, background, and the like may all be inconsistent. Therefore, the demands of the enterprise customers make it necessary for the map provider to separately develop a data specification specific to the customer when providing data for different enterprise customers, implement the data specification by separately writing a program, and hard-code the name and field definitions of the data specification file into the program, however, this results in modification of the core code when the demands are changed, which results in inefficient product generation and low reusability of the program.
In the course of investigation, the inventors of the present invention found that: in order to improve the production efficiency of products, it is necessary to provide a technical solution for producing electronic map products with high production efficiency and high reusability.
Disclosure of Invention
In view of this, embodiments of the present invention provide a product data generator, a product data generating method, and a navigation system, so as to improve the generation efficiency of a product without changing a core code.
Wherein the present invention provides a product data generator comprising:
the data loading module is used for loading a file directory template file and a data column name description file;
the file generation engine is used for calling a related data processing interface in the file generation engine to process the preloaded initial navigation data according to the file directory template file and the data column name description file to generate a navigation data file;
the file coding module is used for converting the navigation data file into a specified coding format according to preset coding parameters;
and the file distribution module is used for distributing the navigation data file subjected to coding processing to a corresponding product directory structure according to the specified data specification to generate a navigation data product with the specified specification.
Optionally, based on the above technical solution, the generator further includes:
and the specification adjusting module is used for adjusting the specification of the navigation data product by modifying the file directory template file and/or the data column name description file.
Optionally, the formats of the navigation data file include a mif format and a mid format, and the related data processing interface includes: a data definition interface, a geometric data interface, a mif file interface and a mid file interface;
based on the above technical solution, the file generation engine further includes:
the data definition module is used for calling the data definition interface to define description data for the mif format file structure;
the geometric data module is used for calling the geometric data interface to analyze spatial data in the initial navigation data;
the mif file conversion module is used for calling the mif file interface to convert the analyzed spatial data into a mif format file according to the description data defined by the data definition module;
and the mid file conversion module is used for calling the mid file interface to convert the non-spatial data in the initial navigation data into a mid format file.
Optionally, the related data processing interface further comprises a data sorting interface, and/or a display style and color interface;
based on the above technical solution, the file generation engine further includes:
the data sorting module is used for sorting data according to the sorting field of the file directory template file, so that the navigation data which are generated each time and are not changed keep a fixed sequence in the file; and/or the presence of a gas in the gas,
and the display style module is used for calling the display style and the color interface to process the style and the color of the navigation data.
Optionally, based on the above technical solution, the file encoding module further includes:
the reading unit is used for reading the specified coding format in the configuration file and reading in the navigation data file;
an encoding unit for re-encoding the mif format file and/or the mid format file according to a specified encoding format;
and the output unit is used for outputting the encoded mif format file and/or mid format file.
Correspondingly, the invention provides a product data generation method, which comprises the steps of constructing a product data generator in advance, wherein the product data generator is provided with a file directory template file for generating files and a data column name description file for extracting data; the product data generation method comprises the following steps:
loading a pre-established file directory template file and a data column name description file;
starting a file generation engine, and calling a related data processing interface in the file generation engine to process the preloaded initial navigation data based on the file directory template file and the data column name description file to generate a navigation data file;
and according to a preset coding mode, coding the generated navigation data file, converting the navigation data file into a navigation data file with a specified coding format, distributing the navigation data file subjected to coding processing to a corresponding product directory structure, and generating a navigation data product with a specified specification.
Optionally, based on the above technical solution, the method further includes:
and adjusting the specification of the navigation data product by modifying the file directory template file and/or the data column name description file.
Optionally, the invoking a related data processing interface in the file generation engine to process the preloaded initial navigation data, and generating the navigation data file further includes:
searching and extracting initial navigation data from a database according to the data column name description file, wherein the format of the navigation data file comprises a mif format and a mid format, and the related data processing interface comprises: the system comprises a data definition interface, a geometric data interface, a mif file interface, a mid file interface, a data sorting interface, a display style and a color interface;
calling the data definition interface to define description data for the mif format file structure; calling the geometric data interface to analyze spatial data in a database, and calling the mif file interface to convert the analyzed spatial data into a mif format file according to defined description data; calling a mid file interface to convert non-spatial data in a database into a mid format file; and/or the presence of a gas in the gas,
calling the data sorting interface, and sorting data according to the sorting field of the file directory template file, so that the navigation data which are generated each time and are not changed keep a fixed sequence in the file; and/or, calling the display style and color interface to process the style and color of the navigation data.
Optionally, the encoding the generated navigation data file according to the configured encoding method, and the converting into the specified encoding method further includes:
reading the appointed coding format in the configuration file, and reading in the navigation data file;
recoding the mif format file and/or the mid format file according to the specified coding format;
and outputting the encoded mif format file and/or mid format file.
Optionally, the present invention provides a navigation system, comprising:
the data module is used for storing and updating electronic map data, and the electronic map data is navigation data generated by any product data generator;
the search module is used for executing search operation according to the user instruction and outputting a search result;
the navigation module is used for providing two-dimensional/three-dimensional path planning and navigation service for the user according to the obtained navigation instruction;
the entertainment module is used for providing games, music and other video entertainment items;
the communication module is used for acquiring updated map data, dynamic traffic information and one-to-one or group voice/video communication;
the information entry module is used for receiving an instruction manually input by a user through a touch screen or a key;
the intelligent voice interaction module is used for receiving a user voice instruction, performing voice awakening and voice control and outputting a result of executing the user voice instruction in a voice mode;
the analysis module is used for carrying out voice recognition, semantic analysis and instruction conversion on the user voice instruction and informing the corresponding module to execute the recognized user voice instruction; wherein, the user voice command is the expression of any sentence pattern in any language;
the display module is used for displaying the search result provided by the search module, and the navigation path provided by the navigation module, the map data provided by the data module and the dynamic traffic information provided by the communication module are displayed in a voice, two-dimensional/three-dimensional graphic representation and/or text mode;
the driving interest operating system is used for providing operating environment and support for the modules;
and the sensing system is used for monitoring the vehicle state and road condition information and providing real-time dynamic information for the driving interest operating system.
Compared with the prior art, the invention has the following advantages:
the invention constructs a product data generator in advance, processes the preloaded initial navigation data to generate a navigation data file, and codes the generated navigation data file according to a preset coding mode so as to convert the navigation data file into a navigation data file with a specified coding format. And then, distributing the navigation data file after the coding processing to a corresponding product directory structure to generate a navigation data product with a specified specification. In addition, the invention can meet the requirements of different customers on the data specification by changing the file directory template file and the data column name description file, avoids changing the core code, and improves the product generation effect, thereby achieving the purpose of rapidly corresponding to the customer requirement change and greatly improving the processing speed of the requirement change.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and not to limit the invention. In the drawings:
FIG. 1 is a schematic diagram of a product data generation method provided by an embodiment of the invention;
FIG. 2 is a schematic diagram of a product data generation method according to another embodiment of the present invention;
FIG. 3 is a schematic diagram of a product data generator provided by an embodiment of the present invention;
fig. 4 is a schematic composition diagram of a navigation system according to an embodiment of the present invention.
Description of the reference numerals
305 data load module 310 file generation engine
315 File encoding Module 320 File distribution Module
325 data definition interface 330 mif File interface
335 mid File interface 340 data ordering interface
345 geometric data interface 350 display style and color interface
355 data definition Module 360 mif File conversion Module
365 mid file conversion module 370 data sorting module
375 geometric data module 380 display style module
385 reading unit 390 coding unit
395 roll-out unit 300 specification adjusting module
Detailed Description
As used in the specification and in the claims, certain terms are used to refer to particular components. As one skilled in the art will appreciate, manufacturers may refer to a component by different names. This specification and claims do not intend to distinguish between components that differ in name but not function. In the following description and in the claims, the terms "include" and "comprise" are used in an open-ended fashion, and thus should be interpreted to mean "include, but not limited to. "substantially" means within an acceptable error range, and a person skilled in the art can solve the technical problem within a certain error range to substantially achieve the technical effect. The following description is of the preferred embodiment for carrying out the invention, and is made for the purpose of illustrating the general principles of the invention and not for the purpose of limiting the scope of the invention. The scope of the present invention is defined by the appended claims.
In order to solve the problems in the prior art, the invention aims to realize that the same data generation technical scheme is used for producing data products according to the requirements of different enterprise customers, and the change of customer data specifications is displayed through the configuration of a user in a service-oriented change mode.
In order to implement the change of the DATA specification by changing the configuration, the present invention provides a file directory template file (CONF _ DATA _ estimate) and a DATA column name description file (TAB _ COL _ CONF) which can be used as a basis for generating a file and extracting DATA. Aiming at different data specifications of customers, only the file directory template file and the data column description file need to be changed, and the core code does not need to be changed.
Method embodiment
Fig. 1 shows a flow of a product data generation method provided by the present invention, where the method includes:
step 105, loading a pre-established file directory template file and a data column name description file;
before generating product data, the embodiment pre-constructs a product data generator, and the product data generator is provided with a file directory template file for generating files and a data column name description file for extracting data;
step 110, starting a file generation engine, and calling a related data processing interface in the file generation engine to process the preloaded initial navigation data based on a file directory template file and a data column name description file to generate a navigation data file;
and 115, coding the generated navigation data file according to a preset coding mode, converting the navigation data file into a navigation data file with a specified coding format, distributing the navigation data file subjected to coding processing to a corresponding product directory structure, and generating a navigation data product with a specified specification.
It should be noted that, in each embodiment of the present invention, after the data loading engine or the data loading module loads the specification data of the electronic map provider into the memory, the file generation engine may call different interfaces to write the data into the file in order. In this embodiment, after the encoding process is performed by the configured encoding method, the corresponding mif/mid file is distributed to the corresponding product directory structure, so as to form the product. The product may be provided to a customer, such as an enterprise, or an intermediate compiler or supplier.
The above steps are further explained as follows:
in step 105, the file directory template file and/or the data column name description file may be modified, so that the specification of the navigation data product may be adjusted according to the modified file directory template file and/or the data column name description file.
In step 105, an example of loading a file directory template file (CONF _ DATA _ issue. sql) is as follows:
insert into CONF_DATA_ISSUE(D_FILE,F_FILES,D_TYPE,ORDERBY)
values(‘back’,‘BL’,‘1’,‘ID’);
insert into CONF_DATA_ISSUE(D_FILE,F_FILES,D_TYPE,ORDERBY)
values(‘back’,‘BN’,‘1’,‘ID’);
insert into CONF_DATA_ISSUE(D_FILE,F_FILES,D_TYPE,ORDERBY)
values(‘back’,‘BP’,‘1’,‘ID’);
insert into CONF_DATA_ISSUE(D_FILE,F_FILES,D_TYPE,ORDERBY)
values(‘back’,‘BPL’,‘1’,‘POLYGON_ID,LINK_ID’);
insert into CONF_DATA_ISSUE(D_FILE,F_FILES,D_TYPE,ORDERBY)
values(‘back’,‘BUP’,‘1’,‘UNIONP_ID,POLYGON_ID’);
insert into CONF_DATA_ISSUE(D_FILE,F_FILES,D_TYPE,ORDERBY)
values(‘back’,‘D’,‘1’,‘AdminCode,Kind’);
optionally, in step 110, initial navigation data may be searched and extracted from the database according to the data column name description file, the format of the navigation data file includes a mif format and a mid format, and the related data processing interface may include: data definition interface, geometry data interface, mif file interface, mid file interface, data ordering interface, and display style and color interface.
Calling a data definition interface to define description data for the mif format file structure; calling a geometric data interface to analyze spatial data in the database, and calling a mif file interface to convert the analyzed spatial data into a mif format file according to defined description data; calling a mid file interface to convert the non-spatial data in the database into a mid format file; and/or calling a data sorting interface, and sorting data according to a sorting field of the file directory template file, so that the navigation data which are generated each time and are not changed keep a fixed sequence in the file; and/or, invoking a display style and color interface to process the style and color of the navigation data.
In step 110, an example of loading a data column name description file (TAB _ COL _ conf.sql) is as follows:
INSERT INTO TAB_COL_CONF(TABLE_NAME,COLUMN_NAME)VALUES(‘BL’,‘Encode_ID’);
INSERT INTO TAB_COL_CONF(TABLE_NAME,COLUMN_NAME)VALUES(‘BL’,‘ID’);
INSERT INTO TAB_COL_CONF(TABLE_NAME,COLUMN_NAME)VALUES(‘BL’,‘Kind’);
INSERT INTO TAB_COL_CONF(TABLE_NAME,COLUMN_NAME)VALUES(‘BL’,‘MapID’);
INSERT INTO TAB_COL_CONF(TABLE_NAME,COLUMN_NAME)VALUES(‘BL’,‘Snode_ID’);
INSERT INTO TAB_COL_CONF(TABLE_NAME,COLUMN_NAME)VALUES(‘BL’,‘RWCOLOR’);
INSERT INTO TAB_COL_CONF(TABLE_NAME,COLUMN_NAME)VALUES(‘BN’,‘Adjoin_MID’);
INSERT INTO TAB_COL_CONF(TABLE_NAME,COLUMN_NAME)VALUES(‘BN’,‘Adjoin_NID’);
INSERT INTO TAB_COL_CONF(TABLE_NAME,COLUMN_NAME)VALUES(‘BN’,‘ID’);
INSERT INTO TAB_COL_CONF(TABLE_NAME,COLUMN_NAME)VALUES(‘BN’,‘Adjoin_Kind’);
INSERT INTO TAB_COL_CONF(TABLE_NAME,COLUMN_NAME)VALUES(‘BN’,‘Kind_num’);
INSERT INTO TAB_COL_CONF(TABLE_NAME,COLUMN_NAME)VALUES(‘BN’,‘MapID’);
INSERT INTO TAB_COL_CONF(TABLE_NAME,COLUMN_NAME)VALUES(‘BN’,‘Node_LID’);
INSERT INTO TAB_COL_CONF(TABLE_NAME,COLUMN_NAME)VALUES(‘BP’,‘AdminCode’);
INSERT INTO TAB_COL_CONF(TABLE_NAME,COLUMN_NAME)VALUES(‘BP’,‘ZoneCode’);
INSERT INTO TAB_COL_CONF(TABLE_NAME,COLUMN_NAME)VALUES(‘BP’,‘DispClass’);
INSERT INTO TAB_COL_CONF(TABLE_NAME,COLUMN_NAME)VALUES(‘BP’,‘ID’);
INSERT INTO TAB_COL_CONF(TABLE_NAME,COLUMN_NAME)VALUES(‘BP’,‘Kind’);
INSERT INTO TAB_COL_CONF(TABLE_NAME,COLUMN_NAME)VALUES(‘BP’,‘MapID’);
optionally, in step 115, the specified encoding format in the configuration file may be read, and the navigation data file is read in; recoding the mif format file and/or the mid format file according to the specified coding format; and outputting the encoded mif format file and/or mid format file.
In an optional embodiment, in the process of converting the data of the electronic map service provider into the data specification according to the customer requirement, the corresponding data storage TABLE may be found in the outbound library through TABLE _ NAME in the TAB _ COL _ CONF configuration file, and the data in the configured COLUMN _ NAME COLUMN may be extracted to the memory.
Referring to fig. 2, as an alternative implementation, the product data generation method may further include:
step 120: and adjusting the specification of the navigation data product by modifying the file directory template file and/or the data column name description file.
For example: and sorting the DATA according to a sorting field configured in an ORDERBY column in the CONF _ DATA _ ISSUE configuration file. The product library is a temporary library (a carrier for storing data) for each product line data conversion.
In an alternative embodiment, after the data is extracted and sequenced, the structure definition description data may be generated for the mif format file using a data definition interface, an example of which is as follows:
Version 300
Charset“windowsSimpChinese”
Delimiter“,”
CoordSys Earth
Projection 1,0
Columns 5
MapID Char(8)
ID Char(13)
Kind Char(9)
Snode_ID Char(13)
Enode_ID Char(13)
Data
the method comprises the steps that spatial data in an oracle database can be analyzed by using a Geometric (GEOMETRY) data interface and converted into mif format file data; the mid file interface can be used for transferring other conventional data except for non-space of the product specification and company specification corresponding table from the oracle database into the mid file, wherein the product specification refers to the data specification of the product provided by the electronic map provider, and the company specification refers to the data specification of the product required by the customer.
In the process of data format conversion, firstly, the geometric type is judged according to sdo _ gtype in geometry. sdo _ gtype may be 2001: dots, 2002: lines, 2003: faces. Then, point data extraction, line data extraction and surface data extraction are performed. During the POINT data extraction process, the x, y coordinates in sdo _ POINT in geometry are transferred to the mif file, such as POINT 116.5477339.87347. In the process of extracting the online data, the PLINE number is output according to the number of shape points of the sdo _ ordinates calculation line in geometry, and then x and y coordinates of each shape point are written in sequence. In the process of extracting the surface data, the number of regions is output according to the number of shape points of the sdo _ ordinates calculation line in geometry, and then x and y coordinates of each shape point are written in sequence.
In addition, in each of the above embodiments, the encoding processing of the generated navigation data file according to the configured encoding method, and the converting into the specified encoding method may further include:
reading the appointed coding format in the configuration file, and reading in the navigation data file;
recoding the mif format file and/or the mid format file according to the specified coding format;
roll out the recoded mif and/or mid format files
In this embodiment, the mif/mid file data that has been generated can be re-encoded according to the encoding method specified by the customer. For example, a file may be read in a byte stream and then transferred out using a client-specified encoding scheme for the byte stream.
In addition, in this embodiment, the mif/mid file after transcoding may be distributed to a corresponding folder according to the correspondence between the directory structure and the file defined by the parameter f _ files column in the file directory template file conf _ data _ issue. After the mif/mid files are distributed to the corresponding folders, the product data with the directory hierarchy can be provided to the customer.
In addition, the above embodiments may also use the display style and color interface to electronically map the style and color of roads, buildings, grass, etc. For example, display styles may also be divided into three categories, namely:
1) dot, output format: symbol (1,2, color);
2) line, output format: pen (1,2, color);
3) the output format is divided into two types: lines in the face: pen (1,2, color), face-fill color Brush (1,0, color).
The processing flow of the display style and the color interface is as follows: firstly, judging which type the current processing belongs to, then extracting color data in the data and then outputting the color data.
As can be seen from the foregoing embodiments, in the foregoing embodiments, a product data generator is constructed in advance, initial navigation data loaded in advance is processed to generate a navigation data file, and the generated navigation data file is encoded according to a preconfigured encoding method and is further converted into a navigation data file in a specified encoding format. And then, distributing the navigation data file after the coding processing to a corresponding product directory structure to generate a navigation data product with a specified specification.
In addition, the embodiment can also meet the requirements of different customers on the data specification by changing the file directory template file and the data column name description file, avoids changing the core code, and improves the product generation effect, thereby achieving the purpose of rapidly corresponding to the customer requirement change and greatly improving the processing speed of the requirement change.
Product examples
The above embodiment of the product data generating method is explained, and the product data generator provided by the present invention is further explained with reference to fig. 3, where the product data generator includes: a data loading module 305, a file generation engine 310, a file encoding module 315, and a file distribution module 320. Wherein:
the data loading module 305 may be configured to load a file directory template file and a data column name description file; the navigation data processing system comprises a file generation engine 310, a file encoding module 315, a file distribution module 320 and a file processing module, wherein the file generation engine 310 is used for calling a related data processing interface in the file generation engine to process pre-loaded initial navigation data and generate a navigation data file, the format of the navigation data file comprises a mif format and a mid format, the file encoding module 315 is used for converting the navigation data file into a specified encoding format according to preset encoding parameters, and the file distribution module 320 is used for distributing the navigation data file after encoding processing into a corresponding product directory structure according to a specified data specification and generating a navigation data product with a specified specification. The file generation engine 310 may include a plurality of associated data processing interfaces such as a data definition interface 325, a mif file interface 330, a mid file interface 335, a data ordering interface 340, a geometry data interface 345, and a display style and color interface 350, among others.
A file encoding module 315 that can re-encode the mif format file and/or the mid format file in the client-specified encoding format; and the file distribution module 320 is used for distributing the recoded mif format file and/or mid format file to the corresponding directory according to the parameter F _ FILES in the file directory template file, so that the product data can be formed and provided for the client.
As an optional embodiment, the data generator further comprises a specification adjusting module 300 for adjusting the specification of the navigation data product by modifying the file directory template file and/or the data column name description file.
As an optional implementation, the file generation engine 310 further includes: a data definition module 355, a mif file conversion module 360, a mid file conversion module 365, a data ordering module 370, a geometry data module 375, and/or a display style module 380. Each module is used for calling a corresponding interface to complete a corresponding function, for example, the data definition module 355 is used for calling the data definition interface to define description data for the mif format file structure; a geometric data module 375, configured to invoke a geometric data interface to analyze spatial data in the initial navigation data; a mif file conversion module 360, configured to invoke a mif file interface to convert the parsed spatial data into a mif format file according to the description data defined by the data definition module; a mid file conversion module 365 for calling a mid file interface to convert the non-spatial data in the initial navigation data into mid format files, and a data sorting module 370 for sorting the data according to the sorting field of the file directory template file, so that the navigation data generated each time and not changed are kept in a fixed sequence in the file; and a display style module 380 for calling the display style and color interface to process the style and color of the navigation data.
Wherein, the mif/mid file generation process can comprise the following steps: generating a header file, generating a data file and generating a space coordinate.
As an optional manner, the data definition interface 325 may define description data for the mif file structure, the data sorting interface 340 may sort the data according to the parameter ORDERBY in the file directory template file, the mif file interface 330 may convert the parsed spatial data into a mif format file, the mid file interface 335 may convert the non-spatial data into a mid format file, the geometry data interface 345 may parse the spatial data in the database, and the display style and color interface 350 may present a style and a color of map data presentation.
As an alternative embodiment, document encoding module 310 may include reading unit 385, encoding unit 390, and roll-out unit 395. The reading unit 385 is used for reading the specified coding format in the configuration file and reading in the navigation data file; an encoding unit 390 for re-encoding the mif format file and/or the mid format file according to a specified encoding format; a roll-out unit 395 for rolling out the re-encoded mif format file and/or mid format file.
Further, the present invention provides a navigation apparatus, as shown in fig. 4, comprising: a data module 405, a search module 410, a navigation module 415, an entertainment module 420, a communications module 425, a vehicle drive-fun operating system 400, a sensing system 450, and a user interaction module. Optionally, the user interaction module includes an information entry module 430, an intelligent voice interaction module 435, an analysis module 440, and a display module 445. Wherein:
a data module 405, configured to store and update electronic map data, where the electronic map data is obtained by using the electronic map intelligent production system according to any one of the embodiments; the search module 410 is used for executing search operation according to a user instruction and outputting a search result;
the navigation module 415 is configured to provide two-dimensional/three-dimensional path planning and navigation services for the user according to the obtained navigation instruction;
the entertainment module 420 is used for providing games, music and other video entertainment items; a communication module 425 for obtaining updated map data, dynamic traffic information, one-to-one or group voice/video communication;
the information entry module 430 is used for receiving an instruction manually input by a user through a touch screen or a key;
an intelligent voice interaction module 435 for receiving a user voice instruction, performing voice wakeup and voice control, and outputting a result of executing the user voice instruction by voice;
the analysis module 440 is configured to perform voice recognition, semantic analysis, and instruction conversion on the user voice instruction, and notify the corresponding module to execute the recognized user voice instruction; wherein, the user voice command is the expression of any sentence pattern in any language;
the display module 445 is configured to display the search result provided by the search module, the navigation path provided by the navigation module, the map data provided by the data module, and the dynamic traffic information provided by the communication module, and display the results in a voice, two-dimensional/three-dimensional graphic representation, and/or text manner;
the vehicle-mounted interesting driving operation system 400 is used for providing an operation environment and support for the modules;
and the sensing system 450 is used for monitoring vehicle state and road condition information and providing real-time dynamic information for the driving interest operating system.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may 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, and the like) having computer-usable program code embodied therein.
While the foregoing specification illustrates and describes several particular embodiments of the invention, it is to be understood, as noted above, that the invention is not limited to the forms disclosed herein, but is not intended to be exhaustive of other embodiments and may be used in various other combinations, modifications, and environments and is capable of changes within the scope of the inventive concept as described herein, commensurate with the above teachings, or the skill or knowledge of the relevant art. And that modifications and variations may be effected by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A product data generator, comprising:
the data loading module is used for loading a file directory template file and a data column name description file;
the file generation engine is used for calling a related data processing interface in the file generation engine to process the preloaded initial navigation data according to the file directory template file and the data column name description file to generate a navigation data file;
the file generation engine is further to:
based on the file directory template file and the data column name description file, calling the data processing interface, generating structure definition description data for the mif format file, analyzing spatial data in the initial navigation data, converting the analyzed spatial data into the mif format file according to the structure definition description data, and converting non-spatial data in the initial navigation data into a mid format file;
the file coding module is used for converting the navigation data file into a specified coding format according to preset coding parameters;
and the file distribution module is used for distributing the navigation data file subjected to coding processing to a corresponding product directory structure according to the specified data specification to generate a navigation data product with the specified specification.
2. The product data generator of claim 1, further comprising:
and the specification adjusting module is used for adjusting the specification of the navigation data product by modifying the file directory template file and/or the data column name description file.
3. A product data generator as claimed in claim 1 or claim 2, wherein the formats of the navigation data file include mif format and mid format, and the associated data processing interface comprises: a data definition interface, a geometric data interface, a mif file interface and a mid file interface;
wherein the file generation engine further comprises:
the data definition module is used for calling the data definition interface to define description data for the mif format file structure;
the geometric data module is used for calling the geometric data interface to analyze spatial data in the initial navigation data;
the mif file conversion module is used for calling the mif file interface to convert the analyzed spatial data into a mif format file according to the description data defined by the data definition module;
and the mid file conversion module is used for calling the mid file interface to convert the non-spatial data in the initial navigation data into a mid format file.
4. The product data generator of claim 3, wherein the associated data processing interface further comprises a data ordering interface, and/or a display style and color interface;
the file generation engine further comprises:
the data sorting module is used for sorting data according to the sorting field of the file directory template file, so that the navigation data which are generated each time and are not changed keep a fixed sequence in the file; and/or the presence of a gas in the gas,
and the display style module is used for calling the display style and the color interface to process the style and the color of the navigation data.
5. The product data generator of claim 1, wherein the file encoding module further comprises:
the reading unit is used for reading the specified coding format in the configuration file and reading in the navigation data file;
an encoding unit for re-encoding the mif format file and/or the mid format file according to a specified encoding format;
and the output unit is used for outputting the encoded mif format file and/or mid format file.
6. A product data generation method is characterized in that a product data generator is constructed in advance, and the product data generator is provided with a file directory template file for generating files and a data column name description file for extracting data; the product data generation method comprises the following steps:
loading a pre-established file directory template file and a data column name description file;
starting a file generation engine, and calling a related data processing interface in the file generation engine to process the preloaded initial navigation data based on the file directory template file and the data column name description file to generate a navigation data file;
the processing of the preloaded initial navigation data by calling a related data processing interface in the file generation engine based on the file directory template file and the data column name description file further comprises:
based on the file directory template file and the data column name description file, calling the data processing interface, generating structure definition description data for the mif format file, analyzing spatial data in the initial navigation data, converting the analyzed spatial data into the mif format file according to the structure definition description data, and converting non-spatial data in the initial navigation data into a mid format file;
and according to a preset coding mode, coding the generated navigation data file, converting the navigation data file into a navigation data file with a specified coding format, distributing the navigation data file subjected to coding processing to a corresponding product directory structure, and generating a navigation data product with a specified specification.
7. The product data generation method according to claim 6, further comprising:
and adjusting the specification of the navigation data product by modifying the file directory template file and/or the data column name description file.
8. The method according to claim 6 or 7, wherein the invoking of the relevant data processing interface in the file generation engine processes the preloaded initial navigation data, and generating the navigation data file further comprises:
searching and extracting initial navigation data from a database according to the data column name description file, wherein the format of the navigation data file comprises a mif format and a mid format, and the related data processing interface comprises: the system comprises a data definition interface, a geometric data interface, a mif file interface, a mid file interface, a data sorting interface, a display style and a color interface;
calling the data definition interface to define description data for the mif format file structure; calling the geometric data interface to analyze spatial data in a database, and calling the mif file interface to convert the analyzed spatial data into a mif format file according to defined description data; calling a mid file interface to convert non-spatial data in a database into a mid format file; and/or the presence of a gas in the gas,
calling the data sorting interface, and sorting data according to the sorting field of the file directory template file, so that the navigation data which are generated each time and are not changed keep a fixed sequence in the file; and/or, calling the display style and color interface to process the style and color of the navigation data.
9. The product data generation method according to claim 6, wherein the encoding processing of the generated navigation data file according to the configured encoding method and the conversion into the designated encoding method further comprises:
reading the appointed coding format in the configuration file, and reading in the navigation data file;
recoding the mif format file and/or the mid format file according to the specified coding format;
and outputting the encoded mif format file and/or mid format file.
10. A navigation system, comprising:
a data module for storing and updating electronic map data, the electronic map data being navigation data generated by the product data generator according to any one of claims 1-5;
the search module is used for executing search operation according to the user instruction and outputting a search result;
the navigation module is used for providing two-dimensional/three-dimensional path planning and navigation service for the user according to the obtained navigation instruction;
the entertainment module is used for providing games, music and other video entertainment items;
the communication module is used for acquiring updated map data, dynamic traffic information and one-to-one or group voice/video communication;
the information entry module is used for receiving an instruction manually input by a user through a touch screen or a key;
the intelligent voice interaction module is used for receiving a user voice instruction, performing voice awakening and voice control and outputting a result of executing the user voice instruction in a voice mode;
the analysis module is used for carrying out voice recognition, semantic analysis and instruction conversion on the user voice instruction and informing the corresponding module to execute the recognized user voice instruction; wherein, the user voice command is the expression of any sentence pattern in any language;
the display module is used for displaying the search result provided by the search module, and the navigation path provided by the navigation module, the map data provided by the data module and the dynamic traffic information provided by the communication module are displayed in a voice, two-dimensional/three-dimensional graphic representation and/or text mode;
the driving interest operating system is used for providing operating environment and support for the modules;
and the sensing system is used for monitoring the vehicle state and road condition information and providing real-time dynamic information for the driving interest operating system.
CN201611236576.3A 2016-12-28 2016-12-28 Product data generator, generation method and navigation system Active CN108255835B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611236576.3A CN108255835B (en) 2016-12-28 2016-12-28 Product data generator, generation method and navigation system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611236576.3A CN108255835B (en) 2016-12-28 2016-12-28 Product data generator, generation method and navigation system

Publications (2)

Publication Number Publication Date
CN108255835A CN108255835A (en) 2018-07-06
CN108255835B true CN108255835B (en) 2021-12-21

Family

ID=62719523

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611236576.3A Active CN108255835B (en) 2016-12-28 2016-12-28 Product data generator, generation method and navigation system

Country Status (1)

Country Link
CN (1) CN108255835B (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101536933B1 (en) * 2008-06-19 2015-07-15 삼성전자주식회사 Method and apparatus for providing information of location
CN101634566B (en) * 2009-07-31 2013-08-21 深圳市凯立德科技股份有限公司 Navigation system and method adopted by same for correcting map data

Also Published As

Publication number Publication date
CN108255835A (en) 2018-07-06

Similar Documents

Publication Publication Date Title
CN106575166B (en) Method for processing hand input character, splitting and merging data and processing encoding and decoding
US8583707B2 (en) Method, computer program, and system-model converter for converting system model
CN100447779C (en) Document information processing apparatus, document information processing method, and document information processing program
CN108932220A (en) article generation method and device
CN105005642A (en) Three-dimensional model batch format conversion and weight reduction method
CN101968800A (en) Metadata driving based method for realizing dynamic form
CN102103605A (en) Method and system for intelligently extracting document structure
CN102375746A (en) Method and device for enabling input method to self-adapt to application program
CN105094775B (en) Webpage generation method and device
CN110502227A (en) The method and device of code completion, storage medium, electronic equipment
US8543978B2 (en) Systems and methods for creating software
CN113836038A (en) Test data construction method, device, equipment and storage medium
CN110413721B (en) Vector map generation method and device
CN107103035A (en) This earth's surface data-updating method and device
CN111367514B (en) Page card development method and device, computing device and storage medium
WO2011074942A1 (en) System and method of converting data from a multiple table structure into an edoc format
CN105912723A (en) Storage method of custom field
CN108255835B (en) Product data generator, generation method and navigation system
CN112767933B (en) Voice interaction method, device, equipment and medium of highway maintenance management system
JP2008052356A (en) Source code automatic generation device
JP7026659B2 (en) Response device, response method, and program
CN112036130B (en) Excel data export method and device and electronic equipment
KR101872197B1 (en) Module for writing military scenario and method for writing military scenario
CN111124548B (en) Rule analysis method and system based on YAML file
JP5600826B1 (en) Unstructured data processing system, unstructured data processing method and program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant