Road map data processing method and device and storage medium
By extracting and processing the target map data from the first map data, an electronic map displaying lane information is generated, which solves the problem that existing technology cannot visually display road and intersection attribute information, improves user experience and reduces collection costs.
Patent Information
- Application Number
- CN202410832725.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-25
- Publication Date
- 2024-10-01
AI Technical Summary
Existing online electronic maps on the Web cannot allow users to intuitively view and understand attribute information on roads and intersections, resulting in relatively poor user experience and feelings.
By acquiring target map data from the first map data, including target road segments, number of lanes, composite road data, intersection point marks, traffic light information, vehicle signal arrow information and driving direction information, these data are processed to generate an electronic display showing lane information. Maps include road boundary lines, lane lines, virtual medians, traffic lights, traffic signal arrows, stop lines and other elements.
It significantly improves the user experience, reduces the collection cost of map data production, avoids the use of high-precision equipment and data re-collection, and enhances the product market competitiveness.
Smart Images

Figure CN118733694A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a road map data processing method, device and storage medium. Background Art
[0002] The Internet electronic map platform can display online electronic maps on the Web, making it easy for users to query relevant road information in the target area through the Web.
[0003] However, existing online electronic maps on the Web are all road-level rendering styles and effects. They only express and display different levels of roads by configuring different colors to improve the rendering effect of map data. For example, expressways or urban expressways are displayed in orange, national and provincial roads are displayed in light yellow, and ordinary roads are displayed in white. There is no expression and display of detailed information on the road, such as lane markings, double solid lines, lane arrows and other elements. Users cannot intuitively view and understand the attribute information on the road and intersections, and the user experience and experience are relatively poor. Summary of the invention
[0004] The present application provides a road map data processing method, device and storage medium to solve the problem that the existing online electronic maps on the Web cannot allow users to intuitively view and understand the attribute information on the road and intersection locations, and the user experience and feeling are relatively poor.
[0005] In a first aspect, the present application provides a road map data processing method, comprising:
[0006] Acquire target map data from first map data; the first map data is used to generate an electronic map showing road information; the target map data includes a target road segment and the number of lanes corresponding to the target road segment;
[0007] Determining the geometric shapes of the road boundary line and the lane line corresponding to the target road segment according to the number of lanes corresponding to the target road segment and the preset lane width;
[0008] According to the geometric shapes of the road boundary line and the lane line corresponding to the target road segment, second map data including road boundary line elements and lane line elements is obtained, and the second map data is used to generate an electronic map showing lane information.
[0009] In a possible design, the target map data further includes composite road data, and the composite road data is used to indicate the relative position relationship between different road segments; and the method further includes:
[0010] Acquire composite road data corresponding to the target road segment, and determine whether the composite road data of a plurality of target road segments are matched uplink and downlink separated roads;
[0011] If so, the target road segments corresponding to the matched uplink and downlink separated roads are merged to obtain the second map data including the updated road boundary line elements.
[0012] In a possible design, after merging the target road segments corresponding to the matched uplink and downlink separated roads, the method further includes:
[0013] Determining the geometric shape of a virtual isolation zone according to the updated road boundary line elements; the virtual isolation zone is located between the road boundary lines on both sides and has the same geometric shape as the road boundary lines;
[0014] According to the geometric shape of the virtual isolation zone, second map data including virtual isolation zone elements are obtained.
[0015] In a possible design, the target map data also includes intersection identification and traffic light information; the method further includes:
[0016] Determine the intersection surface range according to the intersection point identifier;
[0017] According to the intersection surface range and traffic light information, second map data including traffic light elements are obtained.
[0018] In a possible design, the target map data further includes vehicle arrow information and driving direction information corresponding to the target road line, which are used to indicate the driving direction of the lane at the target road line; and the method further includes:
[0019] Determine a setting range of a vehicle signal arrow according to the intersection surface range and the vehicle signal arrow information and driving direction information corresponding to the target road line;
[0020] According to the vehicle signal arrow setting range and the lane line, second map data including vehicle signal arrow elements are obtained.
[0021] In one possible design, the method further includes:
[0022] Determine the stop line setting range according to the intersection surface range and the driving direction information corresponding to the target road line;
[0023] According to the stop line setting range and the preset distance, the second map data including the stop line element is obtained; the preset distance is the distance between the stop line and the intersection surface range.
[0024] In a possible design, the target map data further includes a line segment attribute corresponding to the target road line segment; and the acquiring the target map data from the first map data includes:
[0025] If the line segment attribute corresponding to the target road line segment of the target map data obtained in the first map data is a non-target line segment attribute, the target map data corresponding to the target road line segment is deleted, and the target map data is updated; the non-target line segment attribute includes a U-turn attribute and / or an intersection attribute.
[0026] In a second aspect, the present application provides a road map data processing device, comprising:
[0027] An acquisition module, used to acquire target map data from first map data; the first map data is used to generate an electronic map showing road information; the target map data includes a target road segment and the number of lanes corresponding to the target road segment;
[0028] A processing module, used to determine the geometric shapes of the road boundary line and the lane line corresponding to the target road segment according to the number of lanes corresponding to the target road segment and the preset lane width;
[0029] The processing module is further used to obtain second map data containing road boundary line elements and lane line elements according to the geometric shapes of the road boundary lines and lane lines corresponding to the target road segment, and the second map data is used to generate an electronic map showing lane information.
[0030] In a possible design, the processing module is further used for:
[0031] Acquire composite road data corresponding to the target road segment, and determine whether the composite road data of a plurality of target road segments are matched uplink and downlink separated roads;
[0032] If so, the target road segments corresponding to the matched uplink and downlink separated roads are merged to obtain the second map data including the updated road boundary line elements.
[0033] In a possible design, the processing module is further used for:
[0034] Determining the geometric shape of a virtual isolation zone according to the updated road boundary line elements; the virtual isolation zone is located between the road boundary lines on both sides and has the same geometric shape as the road boundary lines;
[0035] According to the geometric shape of the virtual isolation zone, second map data including virtual isolation zone elements are obtained.
[0036] In a possible design, the target map data also includes intersection identification and traffic light information; the processing module is further used to:
[0037] Determine the intersection surface range according to the intersection point identifier;
[0038] According to the intersection surface range and traffic light information, second map data including traffic light elements are obtained.
[0039] In a possible design, the target map data further includes vehicle arrow information and driving direction information corresponding to the target road line, which are used to indicate the driving direction of the lane at the target road line; and the processing module is further used to:
[0040] Determine a setting range of a vehicle signal arrow according to the intersection surface range and the vehicle signal arrow information and driving direction information corresponding to the target road line;
[0041] According to the vehicle signal arrow setting range and the lane line, second map data including vehicle signal arrow elements are obtained.
[0042] In a possible design, the processing module is further used for:
[0043] Determine the stop line setting range according to the intersection surface range and the driving direction information corresponding to the target road line;
[0044] According to the stop line setting range and the preset distance, the second map data including the stop line element is obtained; the preset distance is the distance between the stop line and the intersection surface range.
[0045] In a possible design, the target map data further includes a line segment attribute corresponding to the target road line segment; and the processing module is further used to:
[0046] If the line segment attribute corresponding to the target road line segment of the target map data obtained in the first map data is a non-target line segment attribute, the target map data corresponding to the target road line segment is deleted, and the target map data is updated; the non-target line segment attribute includes a U-turn attribute and / or an intersection attribute.
[0047] In a third aspect, the present application provides an electronic device, comprising: a processor, and a memory communicatively connected to the processor;
[0048] The memory stores computer-executable instructions;
[0049] The processor executes the computer-executable instructions stored in the memory to implement a road map data processing method.
[0050] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to implement a road map data processing method when executed by a processor.
[0051] In a fifth aspect, the present application provides a computer program product, including a computer program, which implements a road map data processing method when executed by a processor.
[0052] The road map data processing method, device and storage medium provided in the present application obtain target map data from first map data; the first map data is used to generate an electronic map displaying road information; the target map data includes a target road segment and the number of lanes corresponding to the target road segment; according to the number of lanes corresponding to the target road segment and the preset lane width, the geometric shape of the road boundary line and lane line corresponding to the target road segment is determined; according to the geometric shape of the road boundary line and lane line corresponding to the target road segment, second map data including road boundary line elements and lane line elements is obtained, and the second map data is used to generate an electronic map displaying lane information. With respect to the defects in the prior art, the present application obtains electronic map data showing elements such as road boundary lines, lane lines, virtual isolation belts, traffic lights, vehicle arrows, stop lines, etc. in lane information by processing the target road segments in the first map data, the number of lanes corresponding to the target road segments, composite road data, intersection point signs, traffic light information, vehicle signal arrow information corresponding to the target road lines, driving direction information, and segment attributes corresponding to the target road segments. This avoids the use of high-precision equipment and eliminates the need to re-collect data, significantly reducing the collection cost of map data production. The collected data can be used to batch update electronic maps. The method is simple and effective, significantly improving the application display effect, enhancing the product's market competitiveness, and improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0054] Figure 1 A schematic diagram of an application scenario of road map data processing provided in an embodiment of the present application;
[0055] Figure 2 Schematic diagram of the process of the road map data processing method provided in the embodiment of the present application Figure 1 ;
[0056] Figure 3 Schematic diagram of the process of the road map data processing method provided in the embodiment of the present application Figure 2 ;
[0057] Figure 4 A schematic diagram of the structure of a road map data processing device provided in an embodiment of the present application;
[0058] Figure 5 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application;
[0059] Figure 6 An electronic map capable of displaying lane information and generated using second map data provided in an embodiment of the present application. DETAILED DESCRIPTION
[0060] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementation methods described in the following exemplary embodiments do not represent all implementation methods consistent with the present application. On the contrary, they are only examples of devices and methods consistent with some aspects of the present application, rather than all embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0061] The existing commonly used mainstream Internet electronic map platforms all use road-level rendering styles and effects on the web-based online electronic maps, that is, only a single road or multiple roads are displayed in color, or road-level electronic maps with arrow directions added to the roads. They do not express and display richer road information, such as lane markings, central isolation belts, lane arrows, stop lines and other detailed information, which cannot allow users to experience the real scenes of electronic maps intuitively and immersively, and the user experience is poor.
[0062] Or, even if there is electronic map display information showing lane information, it is basically collected, made and produced by high-precision equipment based on the high-precision map production process. It is mainly used for autonomous driving, assisted positioning, unmanned driving simulation, etc. The production process is complicated and the production cost is very high, which is not suitable for popularization on every road.
[0063] Moreover, the coverage of high-precision map data from major map vendors basically only serves expressways and main roads in some cities. For roads other than expressways and main roads in some cities, there is no lane-level map data coverage, which restricts the generation and application of lane-level map data and reduces the user experience.
[0064] The existing Web-based online electronic map has clearly defined standards for collecting information in the data collection process before building the map, such as road line data, composite road data, road point data, and detailed lane data. However, when generating the Web-based online electronic map, only the road line data is rendered and displayed to form the first map data, while the composite road data, road point data, and detailed lane data are only associated with the first map data and used when calculating and generating the navigation route in the background.
[0065] Based on the above technical problems, the inventive concept of the present application is to utilize the data collected before map construction on the existing Web-based online electronic map, or to extract relevant target map data from the first map data, and to process the target map data to obtain second map data capable of generating an electronic map displaying lane information, thereby avoiding the acquisition cost of high-precision acquisition equipment and resource consumption of data re-collection required for the existing electronic map displaying lane information, and utilizing the existing acquired data only through data processing to improve the user experience, thereby solving the above technical problems of the prior art.
[0066] The specific application scenarios of this application are as follows:
[0067] Figure 1 Schematic diagram of the application scenario of the road map data processing method provided in the embodiment of the present application. Figure 1 As shown, the solid line 101 represents the content displayed by the first map data.
[0068] Among them, the solid line 101 can be data obtained by merging, widening and smoothly connecting the road line data and the composite road data. The road line data records the line segment identification, length, attributes and other information that constitute the road. For example, the line segment identification in the two road line data is A, indicating that the two line segments are on the same road. For example, the attributes include geometry, U-turns, intersections, uplink and downlink separated roads and other attribute information. These attribute information can assist in determining whether the line segment is displayed when generating an electronic map.
[0069] During data collection, the first map data also needs to record composite road data for characterizing the relative positional relationship of multiple road line data, such as which road line segments are adjacent, which road line segments should be merged into one road, and so on.
[0070] Optionally, in the first map data, different roads are distinguished by rendering different colors inside the solid line 101, for example, expressways are rendered in orange, elevated roads are rendered in yellow, and ordinary roads are rendered in white.
[0071] Among the contents not displayed in the first map data, there is also a dotted line 102 as shown in the figure. The dotted line 102 includes the direction of travel and is used to guide path planning. However, because path planning is determined based on a specific destination, it is difficult to display all of it, and it will make the map appear messy and disordered and unable to express clearly. Therefore, it will not be actually displayed in the first map data.
[0072] Optionally, multiple indicator arrows are set inside the solid line 101 according to the travel direction of the dotted line 102 to indicate the travel direction of the road. For example, two arrows in opposite directions can be set inside the solid line 101 to indicate that the road is a two-way road, or only a single-direction arrow can be marked inside the solid line to indicate that the road is a one-way road.
[0073] In addition, the first map data will also record road point data at key locations to assist in forming various road information such as road changes and road directions. For example, recording road point data corresponding to intersection points at intersections can assist in determining the intersection surface range. Among them, intersection points can also include two types, one that records the intersection location and all information related to the intersection, including but not limited to whether there is a traffic light, the number of traffic lights, whether there is a crosswalk, the location of the crosswalk, whether the intersection boundary is an arc or a right angle, etc., such as the first intersection point 103, and a marking point that only marks the location information, such as the second intersection point 104. The first intersection point 103 and the second intersection point 104 can be recorded in combination.
[0074] However, since these road point data cannot intuitively express the corresponding information, that is, they cannot be directly read by users, they will not be displayed in the first map data. However, they can be used to assist in determining the intersection information required for the electronic map displaying lane information, such as the intersection surface range and the location of red lights.
[0075] Furthermore, detailed lane data is recorded for each line segment that constitutes the road line. The detailed lane data includes the number of lanes corresponding to the line segment, turn arrow information, etc., so that path planning can be performed based on the detailed lane data. Therefore, the width of the entire lane required for the electronic map displaying the lane information can be determined based on the number of lanes, and the turn arrow can assist in determining the vehicle arrow information for each lane required for the electronic map displaying the lane information.
[0076] Therefore, for the first map data containing the above data, the data required for determining the electronic map displaying lane information, such as road line data, composite road data, detailed lane data, road point data, etc., can be extracted based on the first map data and the data corresponding to the first map data, thereby achieving the goal of generating an electronic map displaying lane information with richer content and better meeting user needs by utilizing the data combination of the first map data without the need for resampling or sampling with high-precision equipment.
[0077] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0078] Figure 2 Schematic diagram of the road map data processing method provided in the embodiment of the present application Figure 1 .like Figure 2 As shown, the method includes:
[0079] S201: Acquire target map data from first map data.
[0080] The first map data is used to generate an electronic map showing road information; the target map data includes a target road segment and the number of lanes corresponding to the target road segment.
[0081] For example, an electronic map that displays road information usually only shows the geometry of the entire road and the overall driving direction of the road. However, electronic maps generally have a path planning function. Therefore, when collecting data before generating an electronic map, multiple information on the road surface will be collected at the same time. For example, if the road is not a straight road, it will be recorded in sections according to line segments, and the number of lanes of the road can be recorded at the same time, so that multiple information corresponding to the road can be recorded in one collection.
[0082] Since more road information may be collected in the first map data, but only part of the data can be used to display lane information, or the first map data contains all the data collected in different road ranges, but only part of the area may need to display lane information, therefore, the data that needs to display lane information is used as the target map data.
[0083] For example, the first map data may include the logo and location information of roadside shops, but this information is irrelevant to the lane and is therefore not target map data.
[0084] For another example, the first map data may contain crossing segments or U-turn segments used for navigation planning. This information is also irrelevant to lanes and may easily cause lane overlap when lanes are generated based on the segments. Therefore, it is not target map data.
[0085] For another example, there are some trunk road areas in the first map data, and the lane information has been collected by high-precision equipment, so there is no need to process it again, and it is non-target map data.
[0086] S202: Determine the geometric shapes of the road boundary line and the lane line corresponding to the target road segment according to the number of lanes corresponding to the target road segment and a preset lane width.
[0087] Exemplarily, the target road segment is a geometric segment that is similar to the actual road, and the geometric shape formed by connecting the end to the end is also similar to the actual road. Therefore, the geometric shape formed by connecting the end to the end can be used to determine the geometric shape of the road boundary line. The lane width itself has a minimum width required by the standard. Therefore, the approximate range of the road surface, that is, the road boundary line, can be determined by multiplying the recorded number of lanes by the width of a single lane.
[0088] After the road boundary line is determined, the road boundary lines on both sides can be closed to obtain the road surface. Since the number of lanes has been determined and the number of lanes corresponds to the road segments, the road surface corresponding to the road segments can be evenly divided according to the number of lanes to obtain the lane lines.
[0089] Among them, the road segments near the intersection will have intersection signs. Correspondingly, when processing, all lane lines near the intersection need to be displayed, while lane lines at non-intersections can be partially displayed.
[0090] S203. Obtain second map data including road boundary line elements and lane line elements according to the geometric shapes of the road boundary line and the lane line corresponding to the target road segment, wherein the second map data is used to generate an electronic map displaying lane information.
[0091] Exemplarily, the geometric shapes of road boundary lines and lane lines can be converted into new map data, that is, new data is formed in a processed form, and these data include road boundary line elements and lane line elements that can generate second map data. Here, elements refer to a type of data, namely, a data set that constitutes road boundary lines and a data set that constitutes lane lines. Therefore, the processing method of the present application is different from the previous rendering method. Instead, it forms new data after processing the data, and then generates a map based on the formed new data.
[0092] The method provided in this embodiment obtains electronic map data displaying lane information by processing the first map data, avoids the use of high-precision equipment and does not require re-data collection, significantly reduces the collection cost of map data production, and can use the collected data to batch update the electronic map, significantly improve the application display effect, enhance the product market competitiveness, and improve the user experience.
[0093] The road map data processing method of the present application is described in detail below in conjunction with a specific embodiment.
[0094] Figure 3 Schematic diagram of the road map data processing method provided in the embodiment of the present application Figure 2 .like Figure 3 As shown, the method includes:
[0095] S301: Acquire target map data from first map data.
[0096] Among them, the first map data is used to generate an electronic map displaying road information; the target map data includes a target road segment, the number of lanes corresponding to the target road segment, composite road data, intersection point identification, traffic light information, vehicle arrow information corresponding to the target road line, driving direction information, and segment attributes corresponding to the target road segment.
[0097] The specific implementation of S301 is similar to that of S201 and will not be described in detail in this embodiment.
[0098] Optionally, if the segment attribute corresponding to the target road segment is a non-target segment attribute, the target map data corresponding to the target road segment is deleted, and the target map data is updated; the non-target segment attribute includes a U-turn attribute and / or an intersection attribute.
[0099] For example, the first map data contains multiple road segments, which can be used to generate navigation path planning in the electronic map. Therefore, it is necessary to include road segments that go straight through the intersection and road segments that make U-turns at the intersection. These road segments may overlap within the intersection range, and the intersection can directly determine the intersection surface range based on the intersection point identifier, and then directly convert the intersection surface range into the intersection surface, without the need for road segments to assist in generating road boundary lines. Therefore, before data processing, they can be eliminated first, that is, road segments containing U-turn attributes, intersection attributes, U-turn attributes and intersection attributes can be eliminated, and the remaining segments can be used as target road segments for corresponding data processing to reduce the data processing volume and reduce the interference of irrelevant data on the generation of the second map data.
[0100] S302: Determine the geometric shapes of the road boundary line and lane line corresponding to the target road segment according to the number of lanes corresponding to the target road segment and a preset lane width.
[0101] S303: Obtain second map data including road boundary line elements and lane line elements according to the geometric shapes of the road boundary line and lane line corresponding to the target road segment.
[0102] The specific implementation of S302 and 303 is similar to the specific implementation of S201 and 202, and will not be repeated in this embodiment.
[0103] S304: If the composite road data of the plurality of target road segments are determined to be matching uplink and downlink separated roads according to the association relationship in the composite road data, the target road segments are merged to obtain second map data containing updated road boundary line elements.
[0104] The composite road data mainly stores the relative position relationship between road segments.
[0105] For example, when the association relationship between road segment 1 and road segment 2 is an up-and-down separated road at the same position, it indicates that road segment 1 and road segment 2 are on the same road, but the driving directions are opposite.
[0106] For another example, when the association relationship between road segment 3 and road segment 4 is end-to-end connection, it indicates that road segment 3 and road segment 4 are sequentially connected on the same-direction road. Therefore, according to the combination of composite road data and road segments, isolated road segments can be connected into a continuous road.
[0107] For example, other roads, such as one-way roads or small roads without driving direction divisions, can directly use the target road segment as the center line to widen the road boundary line. If the association relationship of the target road segment is a road with up and down separation, its road boundary line should be the boundary on both sides after the up and down roads are merged, rather than the result of widening the two target road segments as the center line, because this may also cause the middle overlap after overtime, and it does not match the scene in real life where the two-way road is a whole continuous road surface. Therefore, for the up and down separation road, additional merging processing is required. After the merging, the merged road segment is used as the center line, and it is widened to both sides according to the number of lanes on both sides to obtain the relevant data of the road boundary lines on both sides after widening.
[0108] S305: Determine the geometric shape of the virtual isolation zone according to the updated road boundary line elements.
[0109] The virtual isolation zone is located between the road boundary lines on both sides and has the same geometric shape as the road boundary lines.
[0110] Optionally, the virtual isolation zone is located in the middle position between the road boundary lines on both sides, and the road boundary lines on both sides are determined according to the geometric shapes of the road line segments. Therefore, the geometric shapes of the road boundary lines on both sides are basically similar, and the geometric shapes of the center lines between the corresponding road boundary lines on both sides are also similar. The determined center line is then differentiated and deformed, for example, from a single solid line to a double solid line, so as to obtain a virtual isolation zone that is different from the road boundary lines and lane lines.
[0111] S306: Obtain second map data including virtual isolation zone elements according to the geometric shape of the virtual isolation zone.
[0112] For example, after determining the geometric shape of the virtual isolation zone, such as the position and the expression of the double solid line, it is also necessary to convert it into the form of data to obtain the second map data that can generate the virtual isolation zone element.
[0113] S307: Determine the intersection surface range according to the intersection point identifier.
[0114] There may be multiple intersection point identifiers according to the actual situation of the intersection, and the intersection point attribute needs to be associated with at least one intersection point identifier.
[0115] For example, Figure 6 It is the road line segment and intersection point identification information at some intersections recorded in the first map data. Figure 6 As shown, for a crossroad, an intersection point marker needs to be set on at least one side of each intersection, so a total of at least four intersection point markers are required. These four intersection point markers can enclose a square area, which is the determined intersection surface range.
[0116] The intersection surface determined by this method may be different from the complex intersection conditions in the real world, but the approximate locations and number of corresponding lanes and intersections are consistent. Therefore, it can meet the actual usage needs of users without consuming a lot of resources for one-to-one geographical environment replication, saving survey resources.
[0117] S308. Obtain second map data including traffic light elements according to the intersection surface range and traffic light information.
[0118] Exemplarily, the traffic light information element is only for illustration, indicating that there is a traffic light at the intersection, and there is no need to record the specific location of the traffic light at the actual intersection. Therefore, for the schematic traffic light, it is only necessary to set a traffic light icon in the center of the intersection.
[0119] The traffic light information here can be information about whether there is a traffic light at the intersection, or it can be information about where the traffic light is specifically set at the intersection. However, after conversion, only the location information of a traffic light needs to be obtained as the second map data containing the traffic light element, and the location information is the central position of the intersection surface, thereby simplifying the complexity of data processing.
[0120] S309: Determine a setting range of a vehicle signal arrow according to the intersection surface range and the vehicle signal arrow information and driving direction information corresponding to the target road line.
[0121] For example, a car signal arrow is usually not set within the intersection surface range, but a car signal arrow needs to be set at the intersection. Therefore, the setting position of the car signal arrow can be determined by the intersection surface range, for example, starting to set it outside the intersection surface range, thereby limiting the car signal arrow to a U-shaped area outside the intersection surface range; and because the car signal arrow is usually set at the front end of the driving direction, the driving direction can be combined with the intersection surface range to further narrow the U-shaped area range. For example, when the intersection is a two-way traffic intersection, the U-shaped area range can be reduced by half, and the reduced area is the car signal arrow setting range.
[0122] S310. Obtain second map data including a vehicle arrow element according to the vehicle arrow setting range and the lane line.
[0123] Exemplarily, since the vehicle signal arrow information is recorded in sequence at the road segment near the intersection, for example, in order from left to right, the vehicle signal arrows are recorded in sequence as left turn, left turn and straight ahead, straight ahead, straight ahead and right turn; or, in order from right to left, the vehicle signal arrows are recorded in sequence as straight ahead and right turn, straight ahead, left turn and straight ahead, and left turn.
[0124] Optionally, after determining the setting range and setting order of the vehicle signal arrow, since the element information of the lane line has been determined in the previous steps, it is also necessary to associate the vehicle signal arrow with the lane line, for example, associating corresponding vehicle signal arrows on both sides of each lane line, or associating corresponding vehicle signal arrows only on the preset side of the lane line, thereby obtaining the vehicle signal arrow element after the vehicle signal arrow and lane line data are fused.
[0125] Since intersections are usually the areas where the most lane-level information is displayed, and the car-signal arrows at intersections are one of the features that map users pay most attention to, integrating the lane lines with the car-signal arrow information for display will be more in line with real-life scenarios and meet the needs of displaying lane-level electronic maps to users.
[0126] S311. Determine a stop line setting range according to the intersection surface range and the driving direction information corresponding to the target road line.
[0127] For example, in addition to lane lines and traffic arrows, stop lines are also provided at real intersections to indicate the stop position of vehicles when the red light is on. Since the stop line is also provided at the front end of the driving direction, that is, the stop line is not required on the road in the opposite direction, the stop line and the setting position of the traffic arrow can be associated, for example, the front end of the traffic arrow can be used as the setting range of the stop line.
[0128] S312: Obtain second map data including stop line elements according to the stop line setting range and the preset spacing.
[0129] The preset distance is the distance between the stop line and the intersection surface range.
[0130] Exemplarily, since a crosswalk needs to be reserved at an intersection to prevent pedestrians from randomly crossing the intersection and affecting the normal driving of other vehicles going straight or turning, the stop line needs to be spaced a certain distance from the boundary of the intersection. For example, a line segment perpendicular to the direction of road travel is set at a preset interval from the boundary line of the intersection. The length of the line segment is related to the width of the road in the direction of travel. The length of the stop line is obtained by referring to the single-direction road surface width calculated based on the number of lanes and the preset lane width in the above steps, thereby obtaining a stop line element related to the stop line.
[0131] Optionally, after determining the stop line element, the lane lines, vehicle arrows, virtual isolation belts and other elements in the above steps need to be moved backward as a whole according to the stop line element, that is, moved to one side of the stop line to avoid image overlap between elements and interfere with map display.
[0132] In some embodiments, the crosswalk element can also be determined based on the intersection surface range, which is similar to the method of determining the stop line element. The difference is that the crosswalk element does not need to distinguish between up and down roads, but can directly cross the entire road surface, and the crosswalk is a combination of multiple arrays of short solid lines, and the direction of the short solid lines is parallel to the direction of the lane lines at the intersection.
[0133] S313: Generate an electronic map showing lane information according to the second map data.
[0134] Figure 6 The electronic map that can display lane information is generated by using the second map data provided in the embodiment of the present application. Figure 6 As shown, at the intersection, there are lane information such as road boundary line 601, lane line 602, virtual isolation belt 603, traffic light 604, car arrow 605, stop line 606, etc. The overall displayed lane information is compared with Figure 1 The solid line shows more abundant information.
[0135] The method provided in this embodiment obtains electronic map data showing elements such as road boundary lines, lane lines, virtual isolation belts, traffic lights, vehicle arrows, stop lines, etc. in lane information by processing target road segments in the first map data, the number of lanes corresponding to the target road segments, composite road data, intersection point identification, traffic light information, vehicle arrow information corresponding to the target road segments, driving direction information, and segment attributes corresponding to the target road segments. This avoids the use of high-precision equipment and eliminates the need to re-collect data, significantly reducing the collection cost of map data production. The collected data can be used to batch update electronic maps. The method is simple and effective, significantly improving application display effects, enhancing product market competitiveness, and improving user experience.
[0136] Figure 4 This is a schematic diagram of the structure of the road map data processing device provided in the embodiment of the present application. Figure 4 As shown, the device includes:
[0137] The acquisition module 401 is used to acquire target map data from first map data; the first map data is used to generate an electronic map showing road information; the target map data includes a target road segment and the number of lanes corresponding to the target road segment.
[0138] The processing module 402 is used to determine the geometric shapes of the road boundary line and the lane line corresponding to the target road segment according to the number of lanes corresponding to the target road segment and the preset lane width.
[0139] The processing module 402 is further used to obtain second map data including road boundary line elements and lane line elements according to the geometric shapes of the road boundary lines and lane lines corresponding to the target road segment, and the second map data is used to generate an electronic map showing lane information.
[0140] Further, based on the above embodiment, the processing module 402 is further used for:
[0141] Acquire composite road data corresponding to the target road segment, and determine whether the composite road data of a plurality of target road segments are matched uplink and downlink separated roads;
[0142] If so, the target road segments corresponding to the matched uplink and downlink separated roads are merged to obtain the second map data including the updated road boundary line elements.
[0143] Further, based on the above embodiment, the processing module 402 is further used for:
[0144] Determining the geometric shape of a virtual isolation zone according to the updated road boundary line elements; the virtual isolation zone is located between the road boundary lines on both sides and has the same geometric shape as the road boundary lines;
[0145] According to the geometric shape of the virtual isolation zone, second map data including virtual isolation zone elements are obtained.
[0146] Further, based on the above embodiment, the target map data also includes intersection point identification and traffic light information;
[0147] The processing module 402 is further configured to:
[0148] Determine the intersection surface range according to the intersection point identifier;
[0149] According to the intersection surface range and traffic light information, second map data including traffic light elements are obtained.
[0150] Further, based on the above embodiment, the target map data further includes vehicle arrow information and driving direction information corresponding to the target road line, which is used to indicate the driving direction of the lane at the target road line;
[0151] The processing module 402 is further configured to:
[0152] Determine a setting range of a vehicle signal arrow according to the intersection surface range and the vehicle signal arrow information and driving direction information corresponding to the target road line;
[0153] According to the vehicle signal arrow setting range and the lane line, second map data including vehicle signal arrow elements are obtained.
[0154] Further, based on the above embodiment, the processing module 402 is further used for:
[0155] Determine the stop line setting range according to the intersection surface range and the driving direction information corresponding to the target road line;
[0156] According to the stop line setting range and the preset distance, the second map data including the stop line element is obtained; the preset distance is the distance between the stop line and the intersection surface range.
[0157] Further, based on the above embodiment, the target map data further includes line segment attributes corresponding to the target road line segment;
[0158] The processing module 402 is further configured to:
[0159] If the line segment attribute corresponding to the target road line segment of the target map data obtained in the first map data is a non-target line segment attribute, deleting the target map data corresponding to the target road line segment, and updating the target map data;
[0160] The non-target line segment attributes include U-turn attributes and / or intersection attributes.
[0161] The road map data processing device provided in this embodiment can execute the road map data processing method of the above embodiment, and its implementation principle and technical effect are similar, which will not be described in detail in this embodiment.
[0162] The embodiment of the present invention can divide the electronic device or the main control device into functional modules according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing unit. The above integrated unit can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present invention is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0163] In the specific implementation of the aforementioned road map data processing device, each module may be implemented as a processor, and the processor may execute computer-executable instructions stored in the memory, so that the processor executes the aforementioned road map data processing method.
[0164] Figure 5 The hardware structure diagram of the electronic device provided in the embodiment of the present application is shown in FIG. Figure 5 As shown, the electronic device includes:
[0165] At least one processor 501 and a memory 502 .
[0166] The electronic device further comprises a communication component 503 .
[0167] The processor 501 , the memory 502 and the communication component 503 are connected via a bus 504 .
[0168] In the specific implementation process, at least one processor 501 executes the computer-executable instructions stored in the memory 502, so that at least one processor 501 executes the road map data processing method executed by the electronic device side as above.
[0169] The specific implementation process of the processor 501 can be found in the above method embodiment, and its implementation principle and technical effect are similar, so this embodiment will not be repeated here.
[0170] In the above embodiments, it should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the invention may be directly implemented as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor.
[0171] The memory may include a high-speed RAM memory, and may also include a non-volatile storage NVM, such as at least one disk storage.
[0172] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of the present application is not limited to only one bus or one type of bus.
[0173] The above describes the solutions provided by the embodiments of the present invention with respect to the functions implemented by the electronic device and the main control device.
[0174] It is understandable that, in order to realize the above functions, the electronic device or the main control device includes the corresponding hardware structure and / or software module for executing each function.
[0175] In combination with the units and algorithm steps of each example described in the embodiment disclosed in the embodiment of the present invention, the embodiment of the present invention can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the technical solution of the embodiment of the present invention.
[0176] The present application also provides a computer program product, including a computer program, which implements a road map data processing method when executed by a processor.
[0177] The computer program product provided in this embodiment can execute the road map data processing method of the above-mentioned embodiment. Its implementation principle and technical effect are similar, and this embodiment will not be repeated here.
[0178] The present application also provides a computer-readable storage medium, in which computer-executable instructions are stored. When a processor executes the computer-executable instructions, the above road map data processing method is implemented.
[0179] The computer-readable storage medium provided in this embodiment can execute the road map data processing method of the above-mentioned embodiment, and its implementation principle and technical effect are similar, which will not be described in detail in this embodiment.
[0180] The computer-readable storage medium mentioned above can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The readable storage medium can be any available medium that can be accessed by a general or special-purpose computer.
[0181] An exemplary readable storage medium is coupled to a processor so that the processor can read information from the readable storage medium and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can be located in an application specific integrated circuit (Application Specific Integrated Circuits, referred to as: ASIC). Of course, the processor and the readable storage medium can also exist as discrete components in an electronic device or a main control device.
[0182] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.
[0183] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0184] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A road map data processing method, characterized in that: include: Acquiring target map data from the first map data; The first map data is used to generate an electronic map showing road information; The target map data includes a target road segment and the number of lanes corresponding to the target road segment; Determining the geometric shapes of the road boundary line and the lane line corresponding to the target road segment according to the number of lanes corresponding to the target road segment and the preset lane width; According to the geometric shapes of the road boundary line and the lane line corresponding to the target road segment, second map data including road boundary line elements and lane line elements is obtained, and the second map data is used to generate an electronic map showing lane information.
2. The method according to claim 1, characterized in that The target map data also includes composite road data, and the composite road data is used to indicate the relative position relationship between different road segments; the method also includes: Acquire composite road data corresponding to the target road segment, and determine whether the composite road data of a plurality of target road segments are matched uplink and downlink separated roads; If so, the target road segments corresponding to the matched uplink and downlink separated roads are merged to obtain the second map data including the updated road boundary line elements.
3. The method according to claim 2, characterized in that After merging the target road segments corresponding to the matched uplink and downlink separated roads, the method further includes: Determining the geometric shape of a virtual isolation zone according to the updated road boundary line elements; the virtual isolation zone is located in the middle between the road boundary lines on both sides and has the same geometric shape as the road boundary lines; According to the geometric shape of the virtual isolation zone, second map data including virtual isolation zone elements are obtained.
4. The method according to any one of claims 1 to 3, characterized in that: The target map data also includes intersection identification and traffic light information; the method also includes: Determine the intersection surface range according to the intersection point identifier; According to the intersection surface range and traffic light information, second map data including traffic light elements are obtained.
5. The method according to claim 4, characterized in that The target map data also includes vehicle arrow information and driving direction information corresponding to the target road line, which are used to indicate the driving direction of the lane at the target road line; the method also includes: Determine a setting range of a vehicle signal arrow according to the intersection surface range and the vehicle signal arrow information and driving direction information corresponding to the target road line; According to the vehicle signal arrow setting range and the lane line, second map data including vehicle signal arrow elements are obtained.
6. The method according to claim 5, characterized in that The method further comprises: Determine the stop line setting range according to the intersection surface range and the driving direction information corresponding to the target road line; According to the stop line setting range and the preset distance, the second map data including the stop line element is obtained; the preset distance is the distance between the stop line and the intersection surface range.
7. The method according to any one of claims 1 to 3, characterized in that: The target map data further includes a line segment attribute corresponding to the target road line segment; and the acquiring the target map data from the first map data includes: If the line segment attribute corresponding to the target road line segment of the target map data obtained in the first map data is a non-target line segment attribute, the target map data corresponding to the target road line segment is deleted, and the target map data is updated; the non-target line segment attribute includes a U-turn attribute and / or an intersection attribute.
8. A road map data processing device, characterized in that: include: An acquisition module, used for acquiring target map data from the first map data; The first map data is used to generate an electronic map showing road information; The target map data includes a target road segment and the number of lanes corresponding to the target road segment; A processing module, used to determine the geometric shapes of the road boundary line and the lane line corresponding to the target road segment according to the number of lanes corresponding to the target road segment and the preset lane width; The processing module is further used to obtain second map data containing road boundary line elements and lane line elements according to the geometric shapes of the road boundary lines and lane lines corresponding to the target road segment, and the second map data is used to generate an electronic map showing lane information.
9. An electronic device, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 7.
10. A computer-readable storage medium / computer program product, characterized in that: The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any one of claims 1 to 7; and / or a computer program product, including a computer program, which, when executed by a processor, implements the method as described in any one of claims 1 to 7.
