Real map and simulation environment map conversion analysis method, electronic equipment and medium

By developing a conversion analysis method of real maps and simulated environment maps in the autonomous driving simulation environment, the analysis and conversion problems of different map formats in the simulation environment are solved, cross-environmental application of map data is realized, and map utilization is improved.

CN119557382APending Publication Date: 2025-03-04BAIC MOTOR CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411601219.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-11
Publication Date
2025-03-04

AI Technical Summary

Technical Problem

The prior art is difficult to effectively analyze and convert data in different map formats in an autonomous driving simulation environment, resulting in a specific simulation environment that can only support specific map formats, limiting the application scope of maps.

Method used

Through a conversion analysis method of real maps and simulated environment maps, a customized OpenStreetMap road network is built based on the technology stack, automatically converted into an OpenDrive road network, and buildings and traffic facilities around the road are built.

Benefits of technology

Reduces map conversion time, improves map utilization, and enables real map data to be used effectively in different simulation environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119557382A_ABST
    Figure CN119557382A_ABST
Patent Text Reader

Abstract

The invention discloses a real map and simulation environment map conversion analysis method, electronic equipment and a medium. The method comprises the following steps: acquiring real map data; analyzing the real map data, and converting the analyzed real map data into a simulation environment map; and generating buildings around the road in the simulation environment map, and outputting simulation environment map data. According to the method, based on the technology stack, the customized OpenStreetMap road network is established and automatically converted into the OpenDrive road network, and the buildings and traffic facilities around the road are established, so that the map conversion time is shortened, and the map utilization rate is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of map data analysis, and more specifically, to a conversion and analysis method, electronic equipment and medium for real map and simulated environment map. Background Art

[0002] In terms of map data parsing and road network construction, the autonomous driving simulation environment supports both OSM format map data and OpenDrive format map data. Specific simulation environments can only parse supported map formats and data.

[0003] Therefore, it is necessary to develop a conversion and analysis method, electronic equipment and medium for real map and simulated environment map.

[0004] The information disclosed in the background technology section of the present invention is only intended to deepen the understanding of the general background technology of the present invention, and should not be regarded as acknowledging or suggesting in any form that the information constitutes the prior art already known to those skilled in the art. Summary of the invention

[0005] The present invention proposes a conversion and parsing method, electronic device and medium for real map and simulated environment map, which can build a customized OpenStreetMap road network based on the technology stack, automatically convert it into an OpenDrive road network and construct buildings and traffic facilities around the road, thereby reducing map conversion time and improving map utilization.

[0006] In a first aspect, an embodiment of the present disclosure provides a method for converting and parsing a real map and a simulated environment map, comprising:

[0007] Get real map data;

[0008] Parsing the real map data, and then converting the parsed real map data into a simulation environment map;

[0009] Buildings around roads are generated in the simulation environment map, and the simulation environment map data is output.

[0010] Preferably, the real map data is OSM map data.

[0011] Preferably, obtaining OSM map data includes:

[0012] Get the real OSM map area through the OSM website or official.

[0013] Preferably, parsing the real map data includes:

[0014] Parse .osm format data and extract road networks and surrounding facilities.

[0015] Preferably, the simulation environment map is OpenDrive map data.

[0016] Preferably, converting the parsed real map data into a simulation environment map comprises:

[0017] Convert .osm format data to .xodr format data.

[0018] Preferably, generating buildings around roads in the simulation environment map comprises:

[0019] Obtain the road network and surrounding facilities, perform map rendering and map drawing, and then generate building rendering and materials.

[0020] In a second aspect, an embodiment of the present disclosure further provides an electronic device, the electronic device comprising:

[0021] A memory storing executable instructions;

[0022] A processor runs the executable instructions in the memory to implement the conversion and parsing method of the real map and the simulated environment map.

[0023] In a third aspect, an embodiment of the present disclosure further provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the method for converting and parsing the real map and the simulated environment map is implemented.

[0024] The methods and apparatus of the present invention have other features and advantages that will be apparent from, or will be described in detail in, the accompanying drawings and subsequent detailed descriptions incorporated herein, which together serve to explain the specific principles of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] The above and other objects, features and advantages of the present invention will become more apparent through a more detailed description of exemplary embodiments of the present invention in conjunction with the accompanying drawings, wherein like reference numerals generally represent like components throughout the exemplary embodiments of the present invention.

[0026] Figure 1 A flowchart showing the steps of a method for converting and parsing a real map and a simulated environment map according to an embodiment of the present invention.

[0027] Figure 2 A schematic diagram of the logical architecture of OSM road network parsing and conversion according to an embodiment of the present invention is shown.

[0028] Figure 3A schematic diagram of the OSM road network parsing timing according to an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0029] The preferred embodiments of the present invention will be described in more detail below. Although the preferred embodiments of the present invention are described below, it should be understood that the present invention can be implemented in various forms and should not be limited to the embodiments set forth herein.

[0030] To facilitate understanding of the solutions and effects of the embodiments of the present invention, three specific application examples are given below. Those skilled in the art should understand that the examples are only for facilitating understanding of the present invention, and any specific details thereof are not intended to limit the present invention in any way.

[0031] Example 1

[0032] Figure 1 A flowchart showing the steps of a method for converting and parsing a real map and a simulated environment map according to an embodiment of the present invention.

[0033] like Figure 1 As shown, the conversion and parsing method of the real map and the simulated environment map includes:

[0034] Step 101, obtaining real map data;

[0035] Step 102, parsing the real map data, and then converting the parsed real map data into a simulation environment map;

[0036] Step 103, generating buildings around the road in the simulation environment map, and outputting simulation environment map data.

[0037] In one example, the real map data is OSM map data.

[0038] In one example, obtaining OSM map data includes:

[0039] Get the real OSM map area through the OSM website or official.

[0040] In one example, parsing real map data includes:

[0041] Parse .osm format data and extract road networks and surrounding facilities.

[0042] In one example, the simulation environment map is OpenDrive map data.

[0043] In one example, converting the parsed real map data into a simulated environment map includes:

[0044] Convert .osm format data to .xodr format data.

[0045] In one example, generating buildings around roads in a simulation environment map includes:

[0046] Obtain the road network and surrounding facilities, perform map rendering and map drawing, and then generate building rendering and materials.

[0047] Figure 2 A schematic diagram of the logical architecture of OSM road network parsing and conversion according to an embodiment of the present invention is shown.

[0048] Figure 3 A schematic diagram of the OSM road network parsing timing according to an embodiment of the present invention is shown.

[0049] Specifically, Figure 2-3 As shown, based on the road network protocols and standards in OSM format and OpenDrive format, the OSM format map data of the real map is converted into the OpenDrive format map data of the simulation environment. By extracting the features of the OSM format map data, such as road network, intersections, streets, buildings, traffic signs, etc., it can be converted into the OpenDrive format road network according to the road network structure, and buildings, green spaces and other facilities are automatically generated around the roads, and finally a map data in the OpenDrive format that can be imported into the simulation environment is generated.

[0050] The process of parsing and converting road network data is:

[0051] Analyze OSM format protocol and standard road network data and extract feature data; Analyze OpenDrive format protocol and standard road network data and extract feature data; Establish the correlation between OSM road network features and OpenDrive road network features; Generate buildings and green spaces around the road network structure, and perform rational mapping of building appearance; Generate OpenDrive format road network structure and road surrounding facilities and resources; Read OpenDrive road network data through a simulation environment and perform autonomous driving simulation.

[0052] exist Figure 2 You can see that the OSM map conversion tool is divided into four steps to convert OSM map data into OpenDrive map data, namely selecting the OSM map area and obtaining OSM map data, OSM road network analysis and OpenDrive road network analysis and conversion, road surrounding building generation, and outputting .xodr road network and 3D materials.

[0053] OSM map area and obtain OSM map data: obtain the real OSM map area through the OSM official website; download the real OSM map data through the official website.

[0054] OSM road network analysis and OpenDrive road network analysis and conversion: analyze .osm format data, extract road networks and surrounding facilities; convert .osm format data into .xodr format data.

[0055] Generation of buildings around roads: Extracting road networks and surrounding facilities based on road network data; map rendering and map drawing; building rendering and material generation.

[0056] Output .xodr data and 3D materials: Output .xodr format road network data; Output 3D resources of buildings around the road.

[0057] Example 2

[0058] The present disclosure provides an electronic device, which includes: a memory storing executable instructions; a processor, the processor runs the executable instructions in the memory to implement the above-mentioned conversion and analysis method of the real map and the simulation environment map.

[0059] An electronic device according to an embodiment of the present disclosure includes a memory and a processor.

[0060] The memory is used to store non-temporary computer-readable instructions. Specifically, the memory may include one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may, for example, include random access memory (RAM) and / or cache memory (cache), etc. The non-volatile memory may, for example, include read-only memory (ROM), hard disk, flash memory, etc.

[0061] The processor may be a central processing unit (CPU) or other forms of processing units having data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device to perform desired functions. In one embodiment of the present disclosure, the processor is used to run the computer-readable instructions stored in the memory.

[0062] Those skilled in the art should be able to understand that in order to solve the technical problem of how to obtain a good user experience, the present embodiment may also include well-known structures such as a communication bus and an interface, and these well-known structures should also be included in the protection scope of the present disclosure.

[0063] For detailed description of this embodiment, reference may be made to the corresponding descriptions in the aforementioned embodiments, which will not be repeated here.

[0064] Example 3

[0065] An embodiment of the present disclosure provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the conversion and parsing method of a real map and a simulated environment map is implemented.

[0066] According to the computer-readable storage medium of the embodiment of the present disclosure, non-transitory computer-readable instructions are stored thereon. When the non-transitory computer-readable instructions are executed by a processor, all or part of the steps of the method of each embodiment of the present disclosure are executed.

[0067] The above-mentioned computer-readable storage media include, but are not limited to: optical storage media (e.g., CD-ROM and DVD), magneto-optical storage media (e.g., MO), magnetic storage media (e.g., magnetic tape or mobile hard disk), media with built-in rewritable non-volatile memory (e.g., memory card) and media with built-in ROM (e.g., ROM box).

[0068] Those skilled in the art should understand that the purpose of the above description of the embodiments of the present invention is only to exemplarily illustrate the beneficial effects of the embodiments of the present invention, and is not intended to limit the embodiments of the present invention to any given examples.

[0069] The embodiments of the present invention have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments.

Claims

1. A method for converting and parsing a real map and a simulated environment map, characterized in that: include: Get real map data; Parsing the real map data, and then converting the parsed real map data into a simulation environment map; Buildings around roads are generated in the simulation environment map, and the simulation environment map data is output.

2. The method for converting and analyzing a real map and a simulated environment map according to claim 1, wherein: The real map data is OSM map data.

3. The method for converting and analyzing a real map and a simulated environment map according to claim 2, wherein: Obtaining OSM map data includes: Get the real OSM map area through the OSM website or official.

4. The method for converting and analyzing a real map and a simulated environment map according to claim 1, wherein: Parsing the real map data includes: Parse .osm format data and extract road networks and surrounding facilities.

5. The method for converting and analyzing a real map and a simulated environment map according to claim 4, wherein: The simulation environment map is OpenDrive map data.

6. The method for converting and analyzing a real map and a simulated environment map according to claim 5, wherein: Converting the parsed real map data into a simulated environment map includes: Convert .osm format data to .xodr format data.

7. The method for converting and analyzing a real map and a simulated environment map according to claim 1, wherein: Generating buildings around roads in the simulation environment map includes: Obtain the road network and surrounding facilities, perform map rendering and map drawing, and then generate building rendering and materials.

8. An electronic device, characterized in that: The electronic device comprises: A memory storing executable instructions; A processor, wherein the processor runs the executable instructions in the memory to implement the conversion and parsing method of a real map and a simulated environment map according to any one of claims 1 to 7.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for converting and parsing a real map and a simulated environment map according to any one of claims 1 to 7 is implemented.