Key point map construction method, device and electronic device

Through the key point map construction method, the map drawing process of unmanned vehicles is simplified, the problem of complex map drawing and high cost in the existing technology is solved, concise road information is generated, and the efficiency and safety of path planning are improved. .

CN114323041BActive Publication Date: 2024-09-20SHENZHEN UNITY-DRIVE INNOVATION TECH CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202111599121.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-24
Publication Date
2024-09-20
Estimated Expiration
2041-12-24

AI Technical Summary

Technical Problem

Existing mapping for driverless vehicles is complex and costly. The map contains too much environmental information, resulting in slow loading speeds. Moreover, driverless vehicles only require current environmental information, leaving much of the information unused.

Method used

The key point map construction method is used to obtain discrete high-precision maps to determine the starting point and end point of the lane center line and the traffic change point of the cutting lane. The lane cutting points are obtained based on the driving direction, and the attribute information and connection relationships of the key points are obtained to generate Simple keypoint diagram.

Benefits of technology

It reduces the complexity and cost of map drawing, improves map loading speed, provides concise and clear road information required for driverless vehicles, and improves the efficiency and safety of path planning.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114323041B
    Figure CN114323041B
Patent Text Reader

Abstract

The present invention relates to fields related to unmanned driving technology, and specifically to a key point map construction method, device and electronic device. The method includes: obtaining a discrete high-precision map of a target road; obtaining the starting point, end point and first point corresponding to the lane centerline's trafficability change point; obtaining the starting point, end point and lane-cutting point corresponding to the first point; obtaining the attribute information of the key points and the connection relationship between the key points and generating a key point map. The key point map construction method provided in an embodiment of the present invention defines the position information, direction information and connection relationship of key points on the road by establishing a dotted map, and concisely and clearly represents the information required by unmanned vehicles when driving on the road in various autonomous driving tasks.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field related to unmanned driving technology, and in particular to a key point map construction method, device and electronic equipment. Background Art

[0002] Path planning is an important part of autonomous driving. Its task is to find a drivable and safe path from the starting point to the end point. When performing path planning, some road information of the current environment needs to be given in advance so that the path planning program of the autonomous vehicle knows how to go in the current environment. Among them, a navigation map describing the lane access in the relevant area is essential.

[0003] For driverless vehicles, common opendrive maps are too large and contain a lot of content, resulting in slow map loading and high mapping costs. However, driverless vehicles do not need so much environmental information when performing tasks. They only need to know how to move in the current environment. Therefore, much of the information describing the environmental status contained in the map is not used. The map definition of this information is complex and will take up a lot of memory. The cost of map production is high and the mapping process is complicated. Summary of the invention

[0004] The embodiments of the present invention mainly solve the problem of complex map making suitable for unmanned vehicles in the prior art.

[0005] In order to solve the above technical problems, a technical solution adopted in the embodiment of the present invention is: to provide a key point map construction method, the method comprising:

[0006] Obtaining a discrete high-precision map of the target road, wherein the high-precision map includes discrete points for representing lane edge lines and lane center lines;

[0007] Based on the high-precision discrete map, the starting point, the end point and the lane-cutting passability change point of the lane centerline are obtained, and the corresponding first point is obtained according to the lane-cutting passability change point, wherein the lane-cutting passability change point is a point on the lane centerline of the lane where the lane-cutting passability changes, and the first point is a point obtained by moving the lane-cutting passability change point in the opposite direction of travel by half the lane-cutting distance;

[0008] Based on the starting point, the end point and the first point, in combination with the driving direction, sequentially taking lane-cutting points in the left lane, and sequentially taking lane-cutting points in the right lane based on the starting point, the end point and the first point, so as to obtain the lane-cutting points;

[0009] Recording the starting point, the end point, the first point and the lane-cutting point as key points, acquiring attribute information of the key points, and determining a connection relationship between adjacent key points based on the attribute information of the key points, wherein the attribute information includes road information of the road corresponding to the key points and direction information of the key points;

[0010] A key point graph is generated based on the key points and the connection relationships.

[0011] Optionally, obtaining the lane cut passability change point corresponding to the lane centerline based on the high-precision discrete map includes:

[0012] Acquire discrete points on the center line of the lane corresponding to the drivable lane based on the high-precision discrete map;

[0013] Determining in sequence whether the discrete point is allowed to take a lane-cutting point to an adjacent lane, so as to determine whether the discrete point is a lane-cutting passability change point, includes:

[0014] Determine whether the discrete point is allowed to take a lane-cutting point to the left lane, if the current discrete point is allowed to pass through the current lane and the next discrete point is not allowed to pass through the current lane and the left lane is cut, or the current discrete point is allowed to pass through the current lane and the previous discrete point is not allowed to pass through the current lane and the left lane is cut, then determine that the current discrete point is a lane-cutting passability change point;

[0015] Determine whether the discrete point is allowed to take a lane-cutting point to the right lane. If the current discrete point is allowed to pass through the current lane and cut right, and the next discrete point is not allowed to pass through the current lane and cut right, or the current discrete point is allowed to pass through the current lane and cut right, and the previous discrete point is not allowed to pass through the current lane and cut right, then determine that the current discrete point is a lane-cutting passability change point.

[0016] Optionally, if the lane is a lane that allows two-way driving, then the lane passability change points corresponding to the two driving directions are obtained respectively.

[0017] Optionally, the lane cutting point includes:

[0018] Continuously performing a single lane change action to the left based on the current discrete point until there is no lane that can be changed, so as to obtain the lane-cutting point of the current point on the left side of the lane;

[0019] Based on the current discrete point, a single lane change action is continuously performed to the right until there is no lane that can be changed, so as to obtain the lane cutting point of the current point on the right side of the lane.

[0020] Optionally, the lane-changing point is a point after the vehicle executes the single-lane lane-changing action relative to a point before the vehicle executes the single-lane lane-changing action, and the lane-changing distance is a relative distance that the vehicle moves along the driving direction during the execution of the single-lane lane-changing action.

[0021] Optionally, the method further includes merging similar key points, wherein the merging similar key points includes:

[0022] Acquire two adjacent key points whose relative distance along the driving direction is less than a preset parameter;

[0023] If the direction information of the two adjacent key points is the same, the two adjacent key points are merged.

[0024] Optionally, generating a key point graph based on the key points and the connection relationships includes:

[0025] Acquire the key points in the same lane and with the same direction information;

[0026] Based on the connection relationship of the key points, sequentially generating connection lines along the driving direction to connect adjacent key points;

[0027] Acquire two lanes adjacent to each other at the head and tail, and acquire two key points at the connection of the two lanes;

[0028] Based on the direction information of the key points, generating a connecting line along the driving direction to connect the two key points;

[0029] A key point graph is generated based on the key points and the connecting lines.

[0030] In order to solve the above technical problems, another technical solution adopted in the embodiment of the present invention is: to provide a key point map construction device, the device comprising:

[0031] An information acquisition module, used to acquire a discrete high-precision map of a target road, wherein the high-precision map includes discrete points for representing lane edge lines and lane center lines;

[0032] A discrete point acquisition module, used for acquiring the starting point, the end point and the lane cutting passability change point of the lane centerline based on the high-precision discrete map, wherein the lane cutting passability change point is a point on the lane centerline of the lane where the lane cutting passability changes;

[0033] a lane-cutting point generating module, configured to sequentially obtain lane-cutting points in the left lane based on the starting point, the end point and the lane-cutting passability change point, in combination with the driving direction, and sequentially obtain lane-cutting points in the right lane based on the starting point, the end point and the lane-cutting passability change point, so as to obtain lane-cutting points;

[0034] A key point acquisition module, used to acquire the starting point, the end point and the lane-cutting point as key points, acquire attribute information of the key points, and determine the connection relationship between adjacent key points based on the attribute information of the key points, wherein the attribute information includes road information of the road corresponding to the key point and direction information of the key point;

[0035] A map generation module is used to generate a key point map based on the key points and the connection relationships.

[0036] Optionally, the device further includes a key point merging module, and the key point merging module is used to:

[0037] Acquire two adjacent key points whose relative distance along the driving direction is less than a preset parameter;

[0038] If the direction information of the two adjacent key points is the same, the two adjacent key points are merged.

[0039] In order to solve the above technical problems, another technical solution adopted by the embodiment of the present invention is: to provide an electronic device, characterized in that it includes:

[0040] at least one processor;

[0041] a memory communicatively coupled to the at least one processor;

[0042] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the key point graph construction method described above.

[0043] Different from the related art, the present invention provides a key point map construction method, device and electronic device, the method comprising: obtaining a discrete high-precision map of the target road; obtaining the starting point, end point and first point corresponding to the lane centerline and the lane crossing passability change point; obtaining the lane crossing point corresponding to the starting point, end point and first point; obtaining the attribute information of the key points and the connection relationship between the key points and generating a key point map. The key point map construction method provided in the embodiment of the present invention defines the location information, direction information and connection relationship of the key points on the road by establishing a dot map, and concisely and clearly represents the information required by the unmanned vehicle when driving on the road in various autonomous driving tasks. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] One or more embodiments are exemplarily described by corresponding drawings, which do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and the figures in the drawings do not constitute proportional limitations unless otherwise stated.

[0045] Figure 1 It is a schematic diagram of the process of the key point graph construction method provided by an embodiment of the present invention;

[0046] Figure 2 is a schematic diagram of a process for obtaining the starting point, end point and lane-cutting passability change point of a lane centerline provided by an embodiment of the present invention;

[0047] Figure 3 is a schematic diagram of a process for obtaining a lane-cutting point corresponding to a starting point, an end point, and a lane-cutting passability change point provided by an embodiment of the present invention;

[0048] Figure 4 is a schematic diagram of a flow chart of obtaining attribute information of key points and connection relationships between key points provided by an embodiment of the present invention;

[0049] Figure 5 is an example diagram of a lane cutting point provided by an embodiment of the present invention;

[0050] Figure 6 is an example diagram of obtaining a lane-cutting point based on a lane-cutting passability change point provided by an embodiment of the present invention;

[0051] Figure 7 is a flow chart of a key point graph construction method provided by an embodiment of the present invention;

[0052] Figure 8 is a schematic diagram of a process for merging similar key points provided by an embodiment of the present invention;

[0053] Fig. 9 is a structural schematic diagram of a key point graph construction device provided by an embodiment of the present invention;

[0054] Fig.10 It is a structural block diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0055] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0056] It should be noted that, if there is no conflict, the various features in the embodiments of the present invention can be combined with each other, and all are within the protection scope of the present invention. In addition, although the functional modules are divided in the device schematic diagram and the logical order is shown in the flow chart, in some cases, the steps shown or described can be performed in a different order from the module division in the device schematic diagram or the order in the flow chart.

[0057] Unless otherwise defined, all technical and scientific terms used in this specification have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "and / or" used in this specification includes any and all combinations of one or more of the related listed items.

[0058] The present invention provides a method for constructing a key point graph. Figure 1 , the method comprising:

[0059] S11. Obtain a discrete high-precision map of the target road, wherein the high-precision map includes discrete points for representing lane edge lines and lane center lines. A discrete high-precision map is a map expression method for describing road structure, which uses discrete points to represent lane edge lines, lane center lines, and road reference lines. The discrete points record information such as their positions on the corresponding roads and the driving direction of the roads. The discrete point sequence composed of discrete points corresponding to the double yellow lines or isolation belts on the road can be called the reference line of the road. The two sides of the reference line of the road are usually lanes with different driving directions. For example, on a highway, the isolation belt in the middle of the road is the reference line, and the driving directions of the lanes on both sides are different.

[0060] S12. Based on the high-precision discrete map, the starting point, the end point and the lane-cutting passability change point of the lane centerline are obtained, and the corresponding first point is obtained according to the lane-cutting passability change point, wherein the lane-cutting passability change point is the point on the lane centerline of the lane where the lane-cutting passability changes, and the first point is the point obtained by moving the passability change point in the opposite direction of travel by half the lane-cutting distance. If a lane is impassable, then this lane is not included in the acquisition range. If a lane can be driven in both directions, then the starting point and the end point corresponding to the two driving directions need to be indicated respectively, which can be recorded as the starting point s and the end point d, and the starting point and the end point both include the corresponding driving direction.

[0061] For details, please refer to Figure 2 , the method for obtaining the lane cut passability change point corresponding to the lane centerline includes:

[0062] S121, obtaining discrete points on the center line corresponding to the drivable lane based on the high-precision discrete map;

[0063] S122. Determine in sequence whether the discrete points are allowed to take lane-cutting points to adjacent lanes, so as to determine whether the discrete points are lane-cutting passability change points.

[0064] For a lane, it is possible to determine whether discrete points are trafficability change points starting from the starting point of the center line of the lane until the end point of the center line of the lane is determined. Specifically, if the current discrete point allows the current lane to cut left, and the next discrete point does not allow the current lane to cut left, or the current discrete point allows the current lane to cut left, and the previous discrete point does not allow the current lane to cut left, then the current discrete point is determined to be a trafficability change point for the cutting lane. Among them, the trafficability change point obtained based on whether it is allowed to take a cutting lane point to the left lane can also be called a trafficability change point for the left cutting lane.

[0065] Similarly, the passability change point obtained based on whether it is allowed to cut into the right lane can also be called the right lane cut passability change point. Specifically, if the current discrete point allows the right lane to be cut through the current lane, and the next discrete point does not allow the right lane to be cut through the current lane, or the current discrete point allows the right lane to be cut through the current lane, and the previous discrete point does not allow the right lane to be cut through the current lane, then the current discrete point is determined to be the lane cut passability change point.

[0066] S13, based on the starting point, the end point and the first point, in combination with the driving direction, sequentially select the lane-cutting points in the left lane, and sequentially select the lane-cutting points in the right lane based on the starting point, the end point and the first point, so as to obtain the lane-cutting points. Figure 3 , the lane cutting point includes:

[0067] S131, continuously performing a single lane change action to the left based on the current discrete point until there is no lane that can be changed, so as to obtain the lane-cutting point of the current point on the left side of the lane;

[0068] S132. Continuously perform a single lane change action to the right based on the current discrete point until there is no lane that can be changed, so as to obtain the lane-cutting point of the current point on the right side of the lane.

[0069] Among them, the lane-changing point is the point after the vehicle executes the single-lane lane-changing action relative to the point before the vehicle executes the single-lane lane-changing action, and the lane-changing distance is the relative distance that the vehicle moves along the driving direction during the execution of the single-lane lane-changing action.

[0070] Please combine Figure 5 , Figure 5A section of road in includes lanes a, b, c and d. These four lanes are different lanes in the same driving direction, and the driving direction is from bottom to top. For the convenience of distinction, five vertical solid lines are used to represent the lane edge lines in the figure, and four vertical dashed lines are used to represent the lane center lines of the four lanes. It is assumed that the left lane edge line of lane a is the reference line of the road. In the figure, the lane cutting point Q0 is taken as an example, and the single lane lane change action is performed from point Q0 to the left, that is, from Q0 of lane c to the left to lane b, when the lane change is completed, it is located at Q1 of lane b, and then from Q1 of lane b to the left to lane a. Among them, the relative distance from Q0 to Q1 relative to the reference line direction is recorded as q, q is the lane cutting distance, and then Q11 is obtained based on Q1 and q. It should be noted that the reference line in the figure is a straight line. In some other embodiments, the reference line can also be a curve. In this case, find the first point of the reference line corresponding to point Q0 and the second point of the reference line corresponding to point Q1. The arc length from the first point to the second point is the lane-cutting distance q of Q0. Figure 5 The Q0 in the figure is just an example to explain how to select the lane cutting point. Q0 is not the starting point, end point or first point of the road. When the lane cutting point is actually selected, only the starting point, end point or first point will be selected.

[0071] Figure 5 In the figure, after obtaining the lane cutting distance q, the lane cutting points corresponding to Q0 in all lanes can be obtained according to the position of Q0 and the lane cutting distance q, combined with the reference line corresponding to the road. For example, Q1, Q11 and Q12 in the figure are all left lane cutting points of Q0, among which Q12 is obtained by taking the lane cutting point to the right in the opposite direction of driving. Since Q12 is still obtained based on the data of Q0's left lane (left lane cutting distance and driving direction), Q12 is still regarded as the left lane cutting point of Q0 here. Similarly, at Q0, a single-lane lane change action is performed to the left to obtain Q2, and then Q21 and Q22 are obtained in sequence according to the lane change distance and Q2. Q2, Q21 and Q22 are all right lane change points of Q0, among which Q21 and Q22 are obtained by taking the lane change point to the left in the opposite direction of travel from Q0. Since Q21 and Q22 are still obtained based on the data of the right lane change of Q0 (right lane change distance and travel direction), for the same reason as above, Q21 and Q22 are still regarded as the right lane change points of Q0. The left lane change point of Q0 and the right lane change point of Q0 both belong to the lane change points corresponding to Q0, and the obtained lane change points are all points on the center line of the lane. It should be noted that if a single-lane lane change action is performed, if the lane to be changed is not passable, or the lane change process violates traffic regulations, then the lane change point corresponding to the lane to be changed cannot be obtained.

[0072] See also Figure 6 , Figure 6A schematic diagram of obtaining the lane cutting point corresponding to the first point according to the trafficability change point. Figure 6 A section of road in includes lanes e, f, g and h. The first half of these four lanes are different lanes with the same driving direction, and the driving direction is from bottom to top. The second half of lane g and lane h are right-turn lanes. For the convenience of distinction, the lane edge lines are still represented by solid lines, and the lane center lines of the four lanes are represented by dotted lines. It is assumed that the left lane edge line of lane e is the reference line of the road. In addition, the reference line corresponding to the second half of lane g and lane h can be the lane edge line of the left curve of lane g.

[0073] Figure 6 Point A in the figure represents the position where lane g leaves lane f. According to the above method, we can determine Figure 6 Point P0 in the figure is a point where the left-cutting lane passability changes in lane g, that is, P0 allows the current lane g to cut left to lane f, and the next discrete point does not allow the current lane g to cut left to lane f. Here, the left lane edge line of lane e is used as the reference line, and the lane cutting distance q is calculated based on the position of P0 relative to the reference line. For ease of display, the lane cutting distance is represented on the lane edge line corresponding to point A in the figure, and the distance of P0 relative to point A in the reference line direction is half of the lane cutting distance q.

[0074] According to the lane-cutting passability change point P0, the corresponding first point is obtained, that is, point P2 obtained by moving P0 in the opposite driving direction by half the lane-cutting distance. The driving direction of the lane in the figure is from bottom to top, then point P2 where P0 moves downward by 0.5q is the first point corresponding to P0, and then the left lane-cutting points corresponding to the first point P2 are obtained, namely P3, P31 and P21.

[0075] In some other embodiments, different from the above scheme, the first point corresponding to the lane-changing passability change point can be obtained according to the lane-changing passability change point. The lane-changing point can be obtained based on the second point. The second point is the point obtained by moving half the lane-changing distance along the driving direction at the corresponding point of the lane-changing passability change point on the lane to be changed. Figure 6 , the point where the left lane passability of lane g changes is P0, the corresponding point of P0 on the lane to be changed f is P1, and the point P3 obtained by moving P1 along the driving direction by half the lane cutting distance 0.5q is the second point. Similarly, obtain the left lane cutting points corresponding to the second point P3, namely P31, P2 and P21. The lane cutting points obtained by this method are the same as those obtained by the above method. In actual use, any appropriate method can be selected to calculate the lane cutting points, or two methods can be used to calculate the lane cutting points at the same time and then the average of the corresponding results of the two methods can be taken.

[0076] According to the above method of obtaining the lane-cutting point through the first point or / and the second point, a certain buffer distance can be added to the unmanned vehicle. For example, the unmanned vehicle needs Figure 6 If the vehicle waits until the vehicle reaches the trafficability change point P0 before changing lanes to the left, the lane change may fail due to some reasons. For example, if there is some delay in the transmission of positioning information, it is very likely that the unmanned vehicle has passed the P0 point when it starts to change lanes. During the lane change process, it will hit the isolation belt at point A and cause a traffic accident. The method provided in this embodiment allows the vehicle to change lanes to the left at P2, leaving enough buffer distance, which greatly reduces the probability of accidents. It should be noted that the method of taking the corresponding lane-cutting point based on the trafficability change point is not limited to the above two methods. In some other embodiments, it can also be a method different from the above content, as long as it can ensure the safety of the unmanned vehicle when changing lanes. It is not limited here.

[0077] S14. Record the starting point, the end point, the first point and the lane-cutting point as key points, obtain attribute information of the key points, and determine the connection relationship between adjacent key points based on the attribute information of the key points, wherein the attribute information includes road information of the road corresponding to the key point and direction information of the key point.

[0078] S15, generating a key point graph based on the key points and the connection relationship. Figure 4 , generating a key point graph based on the key points and the connection relationship comprises:

[0079] S151. Acquire the key points of the same lane and the same direction information; wherein the key points include the starting point, the end point, the first point and their corresponding lane intersection points of a lane, and the key points contain the location information and driving direction information of the corresponding road and the connection relationship between adjacent key points and other information.

[0080] S152. Based on the connection relationship of the key points, connecting lines are sequentially generated along the driving direction to connect the adjacent key points; thereby connecting the key points in the same lane to form a key point sequence corresponding to the lane.

[0081] S153, obtaining two lanes adjacent to each other at the head and tail, and obtaining two key points at the connection of the two lanes;

[0082] S154. Based on the direction information of the key points, generate a connecting line along the driving direction to connect the two key points; for example, for two lanes connected front and back, the end point of the front lane is connected to the starting point of the rear lane, and the key point sequences corresponding to the two lanes connected front and back are connected according to the two starting points and end points. If the number of lanes changes, for example, a road is a single-lane road, and the road adjacent to its end point is a multi-lane road, then the end points of the lanes in the single-lane road are respectively connected to the starting points of each lane in the multi-lane road, and the situation of connecting multiple lanes to a single lane is similar to the above situation. In addition, when multiple lanes are connected to multiple lanes, the key point sequence corresponding to each front lane is spliced ​​with the key point sequences corresponding to all rear lanes that can be directly driven into.

[0083] S155, generating a key point map based on the key points and the connecting lines. The key points and the connecting relationships obtained above are displayed in a key point map in the form of key points, and the key point map includes a number of key points and connecting lines connecting the key points, and each of the key points is accompanied by its corresponding road attributes, including location information, lane change information, and driving direction information.

[0084] In some other embodiments, see Figure 7 , the method comprising:

[0085] S21. Obtain a discrete high-precision map of the target road; wherein a discrete point sequence consisting of discrete points corresponding to double yellow lines or isolation belts in the road can be called a reference line of the road. The two sides of the reference line of the road are usually lanes with different driving directions. For example, in a highway, the isolation belt in the middle of the road is the reference line, and the driving directions of the lanes on both sides are different.

[0086] S22, obtaining the starting point, the end point and the first point corresponding to the lane centerline trafficability change point;

[0087] S23, obtaining the lane-cutting points corresponding to the starting point, the end point and the first point as key points; for the method of obtaining the lane-cutting points, please refer to the above embodiment, which will not be repeated here.

[0088] S24, acquiring attribute information of the key points and connection relationships between the key points; wherein the attribute information includes road information of the road corresponding to the key points and direction information of the key points.

[0089] S25, merge similar key points. Figure 8 , the key points of the merger are similar:

[0090] S251. Acquire two adjacent key points whose relative distance along the driving direction is less than a preset parameter; the preset parameter may be set in advance by the production personnel. For example, if the relative distance between two adjacent key points along the driving direction is less than 0.05, it can be determined that the positions of the two points are very close.

[0091] S252: If the direction information of the two adjacent key points is the same, merge the two adjacent key points. When two key points that meet the above conditions are detected, since their positions are very close and their driving directions are the same, for the simplicity of the map, the two key points can be merged into one point, and its position information can be set to the average of the position information of the two key points before merging.

[0092] S26, generating a key point map. According to the connection relationship between the key point and the adjacent key points, a key point map is generated, wherein the key point map includes a plurality of key points and lines connecting the key points, and each key point is accompanied by its corresponding road attributes, including location information, lane change information, and driving direction information.

[0093] See also Fig. 9 , an embodiment of the present invention provides a key point graph construction device 300, comprising:

[0094] The information acquisition module 31 is used to obtain a discrete high-precision map of the target road, wherein the high-precision map includes discrete points for representing lane edge lines and lane center lines. A discrete high-precision map is a map expression method for describing a road structure, which represents lane edge lines, lane center lines, and road reference lines of a road in the form of discrete points, and the discrete points record information such as their position on the corresponding road and the direction of travel on the road.

[0095] The discrete point acquisition module 32 is used to acquire the starting point, end point and lane-cutting passability change point of the lane centerline based on the high-precision discrete map, and acquire the corresponding first point according to the lane-cutting passability change point, wherein the lane-cutting passability change point is the point on the lane centerline of the lane where the lane-cutting passability changes, and the first point is the point obtained by moving the passability change point in the opposite direction of travel by half the lane-cutting distance. In addition, if a lane is impassable, then this lane is not included in the acquisition range. If a lane can travel in both directions, then the starting point and end point corresponding to the two driving directions need to be indicated respectively, which can be recorded as the starting point s and the end point d, and the starting point and the end point both include the corresponding driving direction.

[0096] A lane-cutting point generating module 33 is used to sequentially select lane-cutting points in the left lane based on the starting point, the end point and the first point, in combination with the driving direction, and sequentially select lane-cutting points in the right lane based on the starting point, the end point and the first point, so as to obtain lane-cutting points. The lane-cutting point is the point after the vehicle performs the single-lane lane-changing action relative to the point before the single-lane lane-changing action is performed, and the lane-cutting distance is the relative distance that the vehicle moves along the driving direction when performing the single-lane lane-changing action.

[0097] A key point acquisition module 34, the key point acquisition module 34 is used to acquire the starting point, the end point, the first point and the lane-cutting point as key points, acquire attribute information of the key points, and determine the connection relationship between adjacent key points based on the attribute information of the key points, wherein the attribute information includes road information of the road corresponding to the key point and direction information of the key point;

[0098] A map generation module 35 is used to generate a key point map based on the key points and the connection relationships.

[0099] In some other embodiments, the apparatus 300 further includes a key point merging module 36, and the key point merging module 36 is used to:

[0100] Acquire two adjacent key points whose relative distance along the driving direction is less than a preset parameter;

[0101] If the direction information of the two adjacent key points is the same, the two adjacent key points are merged.

[0102] It should be noted that the above-mentioned key point map construction device can execute the key point map construction method provided in the embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method. For technical details not fully described in the key point map construction device embodiment, please refer to the key point map construction method provided in the embodiment of the present invention.

[0103] See also Fig.10 , an embodiment of the present invention provides an electronic device 500, including:

[0104] at least one processor 51;

[0105] a memory 52 in communication with the at least one processor 51;

[0106] The memory 52 stores instructions that can be executed by the at least one processor 51, and the instructions are executed by the at least one processor 51 so that the at least one processor 51 can execute the key point map drawing method described above.

[0107] The processor 51 and the memory 52 may be connected via a bus or other means. Fig.10 In the example of bus connection, the memory 52 is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs, non-volatile computer executable programs and modules. The processor 51 executes various functional applications and data processing by running the non-volatile software programs, instructions and modules stored in the memory 52, that is, the key point map construction method in the above embodiment is realized.

[0108] The memory 52 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created by the use of the electronic device, etc. In addition, the memory 52 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 52 may optionally include a memory 52 remotely arranged relative to the processor 51. These remote memories may be connected to the electronic device 500 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0109] The one or more modules are stored in the memory 52, and when executed by the one or more processors 51, execute the key point graph construction method in any of the above embodiments, for example, execute Figures 1 to 4 The method steps in .

[0110] The above product can execute the key point map construction method provided in the embodiment of the present invention, and has the corresponding functional modules for executing the key point map construction method. For technical details not described in detail in this embodiment, please refer to the key point map construction method provided in the embodiment of the present invention.

[0111] Through the description of the above implementation methods, ordinary technicians in this field can clearly understand that each implementation method can be implemented by means of software plus a general hardware platform, and of course, it can also be implemented by hardware. Ordinary technicians in this field can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing related hardware through a computer program, and the program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0112] 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 them. Under the concept of the present invention, the technical features in the above embodiments or different embodiments may also be combined, the steps may be implemented in any order, and there are many other changes in different aspects of the present invention as described above, which are not provided in detail for the sake of simplicity. Although the present invention has been described in detail with reference to the aforementioned embodiments, a person of ordinary skill in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for building a key point graph, It is characterized in that The method comprises: Obtaining a discrete high-precision map of the target road, wherein the high-precision map includes discrete points for representing lane edge lines and lane center lines; Based on the high-precision discrete map, the starting point, the end point and the lane-cutting passability change point of the lane centerline are obtained, and the corresponding first point is obtained according to the lane-cutting passability change point, wherein the lane-cutting passability change point is a point on the lane centerline of the lane where the lane-cutting passability changes, and the first point is a point obtained by moving the lane-cutting passability change point in the opposite direction of travel by half the lane-cutting distance; Based on the starting point, the end point and the first point, in combination with the driving direction, sequentially taking lane-cutting points in the left lane, and sequentially taking lane-cutting points in the right lane based on the starting point, the end point and the first point, so as to obtain the lane-cutting points; Recording the starting point, the end point, the first point and the lane-cutting point as key points, acquiring attribute information of the key points, and determining a connection relationship between adjacent key points based on the attribute information of the key points, wherein the attribute information includes road information of the road corresponding to the key points and direction information of the key points; Generate a key point graph based on the key points and the connection relationships; Wherein, obtaining the lane cut passability change point corresponding to the lane centerline based on the high-precision discrete map includes: Based on the high-precision discrete map, a discrete point on the center line of the lane corresponding to the drivable lane is obtained; and the discrete point is judged in turn whether it is allowed to take a lane-cutting point to an adjacent lane, so as to judge whether the discrete point is a lane-cutting passability change point, including: Determine whether the discrete point is allowed to take a lane-cutting point to the left lane, if the current discrete point is allowed to pass through the current lane and the next discrete point is not allowed to pass through the current lane and the left lane is cut, or if the current discrete point is allowed to pass through the current lane and the previous discrete point is not allowed to pass through the current lane and the left lane is cut, then determine that the current discrete point is a lane-cutting passability change point; Determine whether the discrete point is allowed to take a lane-cutting point to the right lane. If the current discrete point is allowed to pass through the current lane to cut right, and the next discrete point is not allowed to pass through the current lane to cut right, or the current discrete point is allowed to pass through the current lane to cut right, and the previous discrete point is not allowed to pass through the current lane to cut right, then determine that the current discrete point is a lane-cutting passability change point.

2. The method according to claim 1, It is characterized in that If the lane is a lane that allows two-way driving, then the lane-cutting passability change points corresponding to the two driving directions are respectively obtained.

3. The method according to claim 1 or 2, It is characterized in that The lane cutting point includes: Continuously performing a single lane change action to the left based on the current discrete point until there is no lane that can be changed, so as to obtain the lane-cutting point where the current point is on the left side of the lane; Based on the current discrete point, a single lane change action is continuously performed to the right until there is no lane that can be changed, so as to obtain the lane cutting point on the right side of the lane at the current point.

4. The method according to claim 3, It is characterized in that The lane-changing point is a point after the vehicle performs the single-lane lane-changing action relative to a point before the vehicle performs the single-lane lane-changing action, and the lane-changing distance is a relative distance that the vehicle moves along the driving direction during the single-lane lane-changing action.

5. The method according to claim 1, It is characterized in that The method further includes merging similar key points, wherein the merging similar key points includes: Acquire two adjacent key points whose relative distance along the driving direction is less than a preset parameter; If the direction information of the two adjacent key points is the same, the two adjacent key points are merged.

6. The method according to claim 1, It is characterized in that Generating a key point graph based on the key points and the connection relationship comprises: Acquire the key points in the same lane and with the same direction information; Based on the connection relationship of the key points, sequentially generating connection lines along the driving direction to connect adjacent key points; Acquire two lanes adjacent to each other at the head and tail, and acquire two key points at the connection of the two lanes; Based on the direction information of the key points, generating a connecting line along the driving direction to connect the two key points; A key point graph is generated based on the key points and the connecting lines.

7. A key point map construction device, It is characterized in that The device comprises: An information acquisition module, used to acquire a discrete high-precision map of a target road, wherein the high-precision map includes discrete points for representing lane edge lines and lane center lines; A discrete point acquisition module, for acquiring the starting point, the end point and the lane-cutting passability change point of the lane centerline based on the high-precision discrete map, and acquiring a corresponding first point according to the lane-cutting passability change point, wherein the lane-cutting passability change point is a point on the lane centerline of the lane where the lane-cutting passability changes, and the first point is a point obtained by moving the lane-cutting passability change point in the opposite direction of travel by half the lane-cutting distance; a lane-cutting point generating module, configured to sequentially obtain lane-cutting points for the left lane based on the starting point, the end point and the first point in combination with the driving direction, and sequentially obtain lane-cutting points for the right lane based on the starting point, the end point and the first point, so as to obtain lane-cutting points; A key point acquisition module, used to acquire the starting point, the end point, the first point and the lane-cutting point as key points, acquire attribute information of the key points, and determine the connection relationship between adjacent key points based on the attribute information of the key points, wherein the attribute information includes road information of the road corresponding to the key point and direction information of the key point; A map generation module, used for generating a key point map based on the key points and the connection relationships; The discrete point acquisition module is specifically used to acquire discrete points on the center line of the drivable lane corresponding to the high-precision discrete map; and sequentially determine whether the discrete points are allowed to take lane-cutting points to the adjacent lanes, so as to determine whether the discrete points are lane-cutting passability change points, including: Determine whether the discrete point is allowed to take a lane-cutting point to the left lane, if the current discrete point is allowed to pass through the current lane and the next discrete point is not allowed to pass through the current lane and the left lane is cut, or if the current discrete point is allowed to pass through the current lane and the previous discrete point is not allowed to pass through the current lane and the left lane is cut, then determine that the current discrete point is a lane-cutting passability change point; Determine whether the discrete point is allowed to take a lane-cutting point to the right lane. If the current discrete point is allowed to pass through the current lane to cut right, and the next discrete point is not allowed to pass through the current lane to cut right, or the current discrete point is allowed to pass through the current lane to cut right, and the previous discrete point is not allowed to pass through the current lane to cut right, then determine that the current discrete point is a lane-cutting passability change point.

8. The device according to claim 7, It is characterized in that The device further includes a key point merging module, and the key point merging module is used to: Acquire two adjacent key points whose relative distance along the driving direction is less than a preset parameter; If the direction information of the two adjacent key points is the same, the two adjacent key points are merged.

9. An electronic device, It is characterized in that include: at least one processor; a memory communicatively coupled to the at least one processor; The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Generation system for high-precision road map

    CN106525057A

  • Global path planning method and device

    CN109916422A

  • Navigation information determination method, device and equipment, and storage medium

    CN110160552A

  • Method and device for constructing high-precision map

    CN111238497A

  • Multi-semantic security map construction, use and scheduling method for AGV navigation scheduling

    CN112308076A