A road characterization method, device and equipment
The lane centerline and edge line composed of discrete points are combined with road attributes and type information to characterize the road, solving the problems of slow map loading and large memory usage in driverless vehicles, and achieving efficient multi-lane road support.
Patent Information
- Application Number
- CN202111670979.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-31
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2041-12-31
AI Technical Summary
Existing road representation methods are not suitable for autonomous vehicles, resulting in slow map loading, large memory usage, and inability to support complete multi-lane route situations.
The lane centerline and lane edge line composed of discrete points are used, combined with road attribute information and type information, to determine the intersection area and connection information, and represent the road in polygon form, reducing complexity and supporting multi-lane roads.
It improves the efficiency and applicability of road representation, is suitable for path planning of driverless vehicles, reduces unnecessary environmental information, and reduces memory usage.
Smart Images

Figure CN114323059B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field related to unmanned driving, and in particular to a road characterization method, device and 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, it is necessary to represent the road information of the current environment in advance so that the vehicle's path planning program knows how to go in the current environment. Currently, the commonly used road representation methods are opendrive maps and dot maps. Opendrive maps use analytical expressions to represent the shape of lanes, and dot maps add custom attributes to track points to represent lanes. These maps define the three-dimensional shape of each lane, the shape of the lane line, and the position of some static objects on the road.
[0003] For driverless vehicles, the route quality of the dotted map is not high enough to support complete multi-lane routes; the opendrive map is too large and contains a lot of content, which results in slow map loading and high mapping costs. Driverless vehicles do not need so much environmental information when performing tasks. They only need to know how to go 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. Driverless vehicles do not make high use of map information. Summary of the invention
[0004] The main technical problem solved by the embodiments of the present invention is that the existing road representation method is not suitable for use by unmanned vehicles.
[0005] In order to solve the above technical problems, a technical solution adopted by the embodiment of the present invention is: to provide a road characterization method, the method comprising:
[0006] Acquire at least one target path, wherein the target path includes a lane centerline and a lane edge line formed by a plurality of discrete points;
[0007] Acquire the road attribute information of the discrete point, and acquire the road type information of the road corresponding to the discrete point;
[0008] Determine an intersection area according to the road attribute information and the road type information, and obtain intersection information corresponding to the discrete points in the intersection area;
[0009] Determine connection information of each discrete point of the target path;
[0010] The road is characterized according to the road attribute information, the road type information, the intersection information and the link information.
[0011] Optionally, the road attribute information specifically includes:
[0012] Position information, which is the position of the discrete point;
[0013] Speed information, which is the speed of the vehicle when it passes through the discrete point;
[0014] Direction information, which is the direction of the vehicle when it passes through the discrete point;
[0015] Vehicle driving action information, which is the driving action requirements when the vehicle passes through the discrete points;
[0016] The vehicle driving road condition information is the road condition near the discrete point.
[0017] Optionally, obtaining the road type information of the road corresponding to the discrete point includes:
[0018] According to the road attribute information of the discrete point and in combination with a preset road type table, the road type of the road corresponding to the discrete point is determined.
[0019] Optionally, determining an intersection area according to the road attribute information and the road type information, and acquiring intersection information corresponding to the discrete points in the intersection area includes:
[0020] Determine a single road end area based on the road attribute information and the road type information, wherein the single road end area includes the discrete points corresponding to the road ends of the target path;
[0021] Determine a road junction area according to the positional relationship of the single road end areas, wherein the road junction area includes at least two single road end areas that are adjacent in positional relationship;
[0022] Based on the road attribute information of the discrete points corresponding to the intersection area, the intersection information of the intersection corresponding to the discrete points in the intersection area is obtained.
[0023] Optionally, the obtaining of intersection information of an intersection corresponding to the discrete point in the intersection area:
[0024] According to the road attribute information of the discrete point and in combination with a preset intersection type table, the intersection type of the intersection area corresponding to the discrete point is determined.
[0025] Optionally, the determining of connection information of each discrete point of the target path includes:
[0026] Obtaining position information and direction information of the discrete points in the target path;
[0027] The connection information of the discrete points is determined according to the position information and the direction information, and the connection information is used to characterize the path direction of adjacent discrete points.
[0028] Optionally, characterizing the road according to the road attribute information, the road type information, the intersection information and the connection information includes:
[0029] The target path is displayed, wherein the target path includes a lane centerline and a lane edge line formed by a plurality of discrete points, and a line connecting the plurality of discrete points, wherein the discrete points are accompanied by road attribute information and road type information of the corresponding roads, and the discrete points in the intersection area are accompanied by the corresponding intersection information.
[0030] Optionally, the method further includes:
[0031] Obtaining object attribute information of a special object in the road corresponding to the target path;
[0032] The special object is bound to a corresponding road or a corresponding intersection area in a polygonal form based on the object attribute information.
[0033] Optionally, the method further includes:
[0034] The special object is displayed in the form of a polygon, wherein the polygon is accompanied by the corresponding object attribute information.
[0035] In order to solve the above technical problems, another technical solution adopted by the embodiment of the present invention is: to provide a road characterization device, the device comprising:
[0036] A target path acquisition module, used to acquire at least one target path, wherein the target path includes a lane center line and a lane edge line formed by a plurality of discrete points;
[0037] A road information acquisition module, used to acquire the road attribute information of the discrete points and acquire the road type information of the roads corresponding to the discrete points;
[0038] An intersection information acquisition module, used to determine an intersection area according to the road attribute information and the road type information, and to acquire intersection information corresponding to the discrete points in the intersection area;
[0039] A connection information acquisition module, used to determine the connection information of each discrete point of the target path;
[0040] A road characterization module is used to characterize the road according to the road attribute information, the road type information, the intersection information and the connection information.
[0041] In order to solve the above technical problems, another technical solution adopted by the embodiment of the present invention is: to provide a road characterization device, including:
[0042] at least one processor;
[0043] a memory communicatively coupled to the at least one processor;
[0044] 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 described above.
[0045] Different from the related art, the road characterization method, device and equipment provided in the embodiments of the present invention characterize the road corresponding to the target path through the lane center line and lane edge line composed of discrete points, and the connecting lines between the discrete points, and display the target path in the application, thereby reducing the complexity of road characterization and supporting complete multi-lane road conditions, which is more suitable for use by unmanned vehicles. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] 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.
[0047] Figure 1 is a flow chart of a road characterization method provided by an embodiment of the present invention;
[0048] Figure 2a is an example diagram of a discrete map provided by an embodiment of the present invention. Figure 2b is discrete Figure 2a The schematic diagram at A in the middle, Figure 2c is an example diagram of another discrete map provided by an embodiment of the present invention. Figure 2d is discrete Figure 2c A simple schematic diagram of
[0049] Figure 3 is an example diagram of road attribute information of discrete points in an embodiment of the present invention;
[0050] Figure 4 is an example diagram of road type representation in an embodiment of the present invention;
[0051] Figure 5a An example of a road type is a highway; Figure 5b is an example of a road type called a rural road. Figure 5c is an example of a road type for urban roads. Figure 5d is an example of a highway entrance and exit road type. Figure 5eAn example of a road type is two highways that connect to each other. Figure 5f It is an example of a special road type to be set;
[0052] Figure 6 It is a schematic diagram of a process of determining an intersection area and obtaining intersection information provided by an embodiment of the present invention;
[0053] Figure 7 is an example diagram showing the types of intersections in an embodiment of the present invention;
[0054] Figure 8 are example diagrams of some intersection areas in embodiments of the present invention;
[0055] Fig. 9 is an example diagram of a special object representation in an embodiment of the present invention;
[0056] Fig.10 is a schematic diagram of a road characterization device provided by an embodiment of the present invention;
[0057] Fig.11 It is a structural block diagram of a road characterization device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0058] 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.
[0059] 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.
[0060] 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 related listed items. In addition, the technical features involved in the different embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0061] The present invention provides a road characterization method. Figure 1 , Figure 2a and Figure 2b , the road characterization method comprises the following steps:
[0062] S11, obtaining at least one target path, wherein the target path includes a lane centerline and a lane edge line composed of a number of discrete points. The target path may correspond to all roads within the target range, that is, the roads within the target range may have a lane centerline and a lane edge line composed of corresponding discrete points, wherein the unmanned vehicle can determine the current driving lane according to the lane centerline when actually traveling, and the lane edge line can indicate the range of the lane, and can also help plan the maximum driving deviation range of the unmanned vehicle when driving without changing lanes. It should be noted that, in some special cases, if a road is not suitable for being represented by a lane centerline, the target path corresponding to the road may only include a lane edge line, but not a lane centerline. Each of the target paths includes at least two discrete points at different positions, and each discrete point includes the road attribute information corresponding to the discrete point and the road type information of the corresponding road, wherein the road attribute information is used to describe the position, direction, road condition and other information of all roads within the target range, and the road type information is used to describe the road type of the road corresponding to the discrete point.
[0063] The representation of the discrete points can be found in Figure 2a and Figure 2c , Figure 2a and Figure 2c This is an example of how the target path is presented in the application, that is, the application can be presented to the user in the form of a discrete map, and the target path combined with the map coordinate system constitutes a discrete map for representing the road, and the position coordinates of each discrete point in the discrete map are fixed. Figure 2c The schematic diagram of the intersection area is divided in Figure 2b and Figure 2d , Figure 2b yes Figure 2a The enlarged schematic diagram of A in the figure is as follows: Figure 2b In the example, the road contains four lanes, which are distinguished by a, b, c and d. Figure 2d yes Figure 2c A simple schematic diagram of the road centerline and road edge line. For ease of understanding, Figure 2b and 2d In the figure, the lane edge line is represented by a solid line, and the lane center line is represented by a dotted line. In an actual discrete map, the lane edge line and the lane center line are both composed of discrete points.
[0064] S12, obtaining the road attribute information of the discrete point, and obtaining the road type information of the road corresponding to the discrete point. The road attribute information and the road type information can help characterize the corresponding road, and can also assist the vehicle in path planning. The road attribute information includes location information, and the location information is used to characterize the location of the discrete point.
[0065] The road attribute information includes position information and direction information. Specifically, the position information is the position of the discrete point; the direction information is the direction of the corresponding road. The position information and the direction information are specifically expressed as the position coordinates (x, y, θ) of the discrete point in the discrete map. For details, please refer to Figure 3 The example diagram of road attribute information corresponding to a discrete point shown in FIG. 1 shows a position coordinate (x, y, θ) in FIG. Figure 3 In it, it is represented as x, y and yaw and their values, where x is used to describe the horizontal coordinate corresponding to the discrete point in the coordinate system of the discrete map, and its value range is (-inf, inf), and inf represents infinity; y is used to describe the vertical coordinate corresponding to the discrete point in the coordinate system of the discrete map, and its value range is (-inf, inf); θ is Figure 3 The yaw and its value in are used to describe the direction information of the road corresponding to the discrete point, specifically the angle between the road direction or lane direction and the x-axis of the coordinate system of the discrete map, and the value range is (-180,180].
[0066] In addition to the above-mentioned location information and direction information, the road attribute information also includes speed information, which is the speed limit of the vehicle when it is on the corresponding road. Figure 3 It is represented by speed min limit, speed max limit and direction and their values. Among them, speed min limit is the minimum speed of the vehicle on the road, and the value range is [0, inf); speed max limit is the maximum speed of the vehicle on the road, and the value range is [0, inf); direction is the speed direction of the vehicle on the road, and the value is 0 or 1. Specifically, 0 means that the vehicle needs to travel forward in this lane, and 1 means that the vehicle needs to travel in reverse in this lane. For example, Figure 3 The speed min limit value, speed max limit value and direction value of the discrete point in the example are 0, 36 and 0 respectively. The speed unit set in this embodiment is km / h, which means that the minimum speed of the road corresponding to the discrete point is 0, the maximum speed is 36km / h, and forward driving is required, which means that the unmanned vehicle can pass through the road at any speed between 0-36km / h when performing the driving task. The speed can be 0, which means that it is allowed to stop here, but it cannot reverse.
[0067] Optionally, the road attribute information also includes vehicle driving action information and vehicle driving road condition information. Specifically, the vehicle driving action information is the driving action requirements when the vehicle passes through the corresponding road, and the vehicle driving action information may include vehicle obstacle avoidance mode information, storage path confirmation information, checkpoint confirmation information, turn signal selection information, and horn selection information.
[0068] The vehicle obstacle avoidance mode information is the obstacle avoidance mode and the obstacle avoidance behavior of the vehicle when passing through the road, for example Figure 3 The avoid mode and near and their values. The avoid mode and its value are the obstacle avoidance modes when the vehicle passes through the road. The value range is an integer in [0,3]. Specifically, 0 means that the vehicle is allowed to avoid obstacles and can retreat when passing through the road. 1 means that the vehicle is allowed to avoid obstacles but cannot retreat when passing through the road, for example, it can go around to avoid obstacles. 2 means that the vehicle is not allowed to avoid obstacles but can retreat when passing through the road, for example, it can retreat slightly to maintain a safe distance. 3 means that the vehicle is not allowed to avoid obstacles and cannot retreat when passing through the road. Near and its value are the obstacle avoidance behaviors that the vehicle can take when passing through the road. The value is 0 or 1 or 2. Specifically, 0 means that the vehicle can avoid obstacles normally by leaning to the left or right when passing through the road. 1 means that the vehicle tends to lean to the right to avoid obstacles when passing through the road. 2 means that the vehicle tends to lean to the left to avoid obstacles when passing through the road. For example, Figure 3 The avoid mode value of the discrete point corresponding to the road in the example is 0, and the near value is 2, which means that the vehicle can avoid obstacles and retreat when driving to this place, and tends to avoid obstacles to the left when encountering obstacles.
[0069] The entry path confirmation information can help the vehicle determine whether the discrete point belongs to the entry path, and the entry path represents the path for the vehicle to return to the parking position, for example Figure 3 The is parking node and its value are 0 or 1. Specifically, 0 indicates that the discrete point does not belong to the entry path, and 0 indicates that the discrete point belongs to the entry path.
[0070] In the process of unmanned vehicles performing tasks, in order to better determine whether the vehicle performs the task normally, checkpoints can be set on the necessary paths. The checkpoint confirmation information can help the vehicle determine whether the discrete points are checkpoints. Figure 3 In the is check point and its value, the check point means that the vehicle must drive to the check point before continuing to drive during the driving task. The value is 0 or 1. Specifically, 0 indicates that the discrete point is not a check point, and 1 indicates that the discrete point is a check point.
[0071] The turn signal selection information indicates whether the vehicle needs to turn on the turn signal and how to turn on the turn signal when passing the discrete point, for example Figure 3 The turning and its value are 0, 1 or 2. Specifically, 0 means that the vehicle does not need to turn on the turn signal when driving here, 1 means that the vehicle needs to turn on the left turn signal when driving here, and 2 means that the vehicle needs to turn on the right turn signal when driving here.
[0072] The horn selection information is the horn request when a vehicle passes by this place, for example Figure 3 The horn and its value in the horn are 0 or 1. Specifically, 0 means that the vehicle does not need to honk when it drives to this place, and 1 means that the vehicle needs to honk when it drives to this place.
[0073] Specifically, the vehicle driving road condition information is used to represent the road condition near the discrete point, and the vehicle driving road condition information may include traffic light indication information, parking area confirmation information, intersection confirmation information, lane information and special road section confirmation information, etc.
[0074] The signal light indication information indicates whether there is a traffic light at this location, and how the vehicle should drive according to the indication information of the traffic light when passing by, for example Figure 3 The traffic light stop point and its value in the range are integers in [0,3]. Specifically, 0 means there is no traffic light here, 1 means there is a traffic light here, and the vehicle drives according to the left turn signal when passing by here, 2 means there is a traffic light here, and the vehicle drives according to the straight light when passing by here, and 3 means there is a traffic light here, and the vehicle drives according to the right turn signal when passing by here.
[0075] The parking area confirmation information describes whether the corresponding road belongs to a parking pole area, which indicates that this is the entrance and exit of a parking area such as a garage or a temporary parking lot, where cars may frequently enter and exit. Figure 3 The parking area confirmation information is represented by is parking rod and its value, which is 0 or 1. Specifically, 0 indicates that this is not a parking rod area, and 1 indicates that this is a parking rod area. When a vehicle drives to this area, there may be special driving requirements. For example, in order to avoid traffic jams, the vehicle cannot be parked here.
[0076] The intersection confirmation information indicates the type of the corresponding road section, including whether the discrete point belongs to the intersection area and the type of intersection. Figure 3 The road type and its value in are 0, 1 or 2. Specifically, 0 indicates that the discrete point is an ordinary straight section, 1 indicates that the discrete point is a crossroad, 2 indicates that the discrete point is a T-junction, etc.
[0077] The lane information indicates the number of lanes on the road corresponding to the discrete point, for example Figure 3 The left lanes number and its value in represent the number of lanes to the left of the lane where the discrete point is located, and its value range is an integer in [0,5]. The right lanes number and its value represent the number of lanes to the right of the lane where the discrete point is located, and its value range is an integer in [0,5]. Figure 3 In the example, the values of the left lanes number and the right lanes number at the discrete point are both 0, which means that the road corresponding to the discrete point is a one-way street and a single-lane road section, and the vehicle can only travel in this lane.
[0078] The special road section confirmation information describes whether the road corresponding to the discrete point is a special road section, for example Figure 3 The road crosswalk and its value indicate whether the discrete point belongs to the zebra crossing area, and the value is 0 or 1. Specifically, 0 indicates that the discrete point is not in the zebra crossing area, and 1 indicates that the discrete point is in the zebra crossing area; Figure 3 The road attention and its value indicate whether the discrete point is a special road section, and the value is 0 or 1. Specifically, 0 indicates that the discrete point does not belong to a special road section, and 1 indicates that the discrete point belongs to a special road section. The specific special road section is set according to the actual situation. For example, if there is a school near the road, 1 is set to indicate that the discrete point belongs to the school road section.
[0079] In some other embodiments, the vehicle driving road condition information may also include task type information, which indicates the task attributes corresponding to different types of work tasks. Since different vehicles perform different tasks, most vehicles need to move from point to point when performing tasks, such as logistics vehicles moving from the starting point to the end point; while other special vehicles do not necessarily move from point to point when performing tasks, such as road sweepers need to move along the roadside and clean the road surface when performing work tasks. Taking a road sweeper as an example, the road sweeper needs to move along the roadside when performing tasks. Figure 3 The task type and its value in the task type are 0 or 1. Specifically, 0 indicates that the discrete point is a discrete point corresponding to a point-to-point moving task, and 1 indicates that the discrete point is a discrete point corresponding to a sweeper's edge cleaning task. It should be noted that the task type information includes but is not limited to point-to-point moving tasks and edge moving tasks, and can also be special driving tasks corresponding to other unmanned vehicles.
[0080] In some other embodiments, the vehicle driving road condition information may also include re-planning information, which can help the vehicle determine whether the road corresponding to the discrete point allows re-planning of the path when performing path planning. Figure 3 It is represented by is can replan and its value, which is 0 or 1. Specifically, 0 means that replanning is allowed at this location when planning the path, and 1 means that replanning is not allowed at this location when planning the path.
[0081] The vehicles described in this embodiment include a cleaning vehicle, a logistics vehicle, a shuttle vehicle or any other unmanned vehicle.
[0082] The step of obtaining the road type information of the road corresponding to the discrete point specifically includes: determining the road type of the road corresponding to the discrete point according to the road attribute information of the discrete point and in combination with a preset road type table. Figure 4 , Figure 4 is an example diagram of a road type table in an embodiment of the present invention. In a discrete map representing a road, the discrete point also includes road type information of the road corresponding to the discrete point. Figure 4 The table content in the table records the serial number corresponding to the road type. Specifically, the road type can refer to Figure 4 , for example, the road corresponding to a discrete point is a normal drivable road in a city, that is, Figure 4 In real driving, the road type information from sequence number 1 to the discrete point can be recorded, indicating that the road corresponding to the discrete point is a road that can be driven and has wires on the ground, and this type of road does not belong to other road types; for example, the road type corresponding to a discrete point is a bus lane, corresponding to Figure 4 The bus in the table means that the road type information of the discrete point can be recorded as 5.
[0083] Please combine Figure 5a to Figure 5f , Figure 5a to Figure 5f The example is Figure 4 Some road types in Figure 5c The "curb" in the figure represents the roadside, which is used to separate the median strip from the highway lanes.
[0084] Figure 4 The virtual driving corresponding to sequence number 2 indicates that the road is a road without lines on the ground, such as a one-way lane or a rural road without markings. Figure 5a to Figure 5fThe example in . The path corresponding to sequence number 3 indicates that the road is a road generated based on a dot map, where a dot map is a map that represents roads through path points and the lines between the path points. The tram corresponding to sequence number 4 indicates that the road is a light rail or tram lane. The bus corresponding to sequence number 5 indicates that the road is a bus lane. The road types corresponding to sequence numbers 1 to 5 are very common road types when representing roads, and are usually covered when the road type table is preset.
[0085] Biking, which corresponds to sequence number 6, indicates that the road is a lane reserved for cyclists, for example Figure 5c The Sidewalk corresponding to sequence number 7 indicates that the road is a road that allows pedestrians to walk on it, for example Figure 5c The Parking corresponding to sequence number 8 indicates that the road is a lane with parking spaces, for example Figure 5c Examples in .
[0086] The Stop corresponding to sequence number 9 indicates that the road is a hard shoulder of the highway and is used for emergency stops, for example Figure 5a The Shoulder corresponding to sequence number 10 indicates that the road is a soft boundary of the road edge, for example Figure 5a to Figure 5c The Border corresponding to sequence number 11 indicates that the road is a hard boundary at the edge of the road. In addition, the road has the same height as the normal lane for driving, for example Figure 5a to Figure 5c The Restricted corresponding to No. 12 indicates that the road is a lane where no vehicles should drive on it. Usually, this lane has the same height as the driving lane. Solid lines and dashed lines are usually used to separate such roads. For example Figure 5b Examples in .
[0087] The Left turn waiting area corresponding to number 13 indicates that the road is a left turn waiting area. The Straight waiting area corresponding to number 14 indicates that the road is a straight waiting area. The Median corresponding to number 15 indicates that the road is a lane between lanes in different directions. In cities, such roads are usually used to separate traffic in different directions on large roads, similar to the reference line in the opendrive map (the road where the reference line is located), such as a double yellow solid line or a median, for example Figure 5c Examples in .
[0088] The exit corresponding to sequence number 16 indicates that the road is parallel to the main road section and is mainly used for deceleration lanes, such as Figure 5d and Figure 5eThe entry corresponding to sequence number 17 indicates that the road is parallel to the main road section and is mainly used for acceleration lanes, for example Figure 5d and Figure 5e The onramp corresponding to sequence number 18 indicates that the road is a ramp leading from a rural or urban road to a highway, for example Figure 5e The offRamp corresponding to sequence number 19 indicates that the road is the ramp required to exit the highway and drive to a rural or urban road, for example Figure 5e The connectingRamp corresponding to sequence number 20 indicates that the road is a ramp connecting two highways, for example Figure 5d The highway intersection in the example. The road types corresponding to numbers 16 to 20 mostly represent the road end area located on the highway, which is used to connect different roads. It should be noted that the determination of road type is not limited to Figure 4 The judgment in the road type table shown, Figure 4 This is just an example of a road type table. In actual application, a suitable road type table can be set according to different situations.
[0089] In some other embodiments, the road type table may also reserve some road types to be set, for example Figure 4 The road types of numbers 21-23 in the table are special 1-special 3, which are used to handle some special road types that have not yet been defined to meet potential needs and avoid the situation where discrete points cannot obtain corresponding road type information because the corresponding numbers cannot be found. Figure 5f The road type in does not belong to any of the above sequence numbers 1-20. At this time, the road can be proposed as a new road type, that is, Figure 4 The bidirectional corresponding to sequence number 24 indicates that the road has two-way lanes. Figure 4 A new number 24 is added to represent bidirectional. In actual scenarios, the new road type can be directly mapped to number 21, and the road type corresponding to number 21 is set to bidirectional.
[0090] S13, determining an intersection area according to the road attribute information and the road type information, and obtaining intersection information corresponding to the discrete points in the intersection area. Figure 6 , Figure 6: is a flow chart of determining an intersection area and obtaining intersection information provided by an embodiment of the present invention, wherein determining an intersection area according to the road attribute information and the road type information, and obtaining intersection information corresponding to the discrete points in the intersection area includes:
[0091] S131, determining a single road end area based on the road attribute information and the road type information, wherein the single road end area includes the discrete points corresponding to the road ends of the target path, wherein the road ends are the end positions of a road with a constant number of lanes.
[0092] S132. Determine an intersection area according to the positional relationship of the single-road-end areas, and the intersection area includes at least two single-road-end areas that are adjacent in positional relationship. If the number of lanes of a road changes, for example, a single lane becomes a double lane, then the single lane part is one road, the double lane part is another road, and the part where the number of lanes changes is the intersection area. If there is a physical obstacle in the middle of a road, the left and right parts of the obstacle are set as two different roads. The intersection area includes at least one of the following: a connection area of adjacent sections, a bifurcation area from a single lane to multiple lanes, and a merging area from multiple lanes to a single lane, wherein if there are at least two adjacent intersection areas, the at least two intersection areas are merged into one intersection area. When characterizing the intersection area, a polygon is constructed to include the single-road-end area of the intersection area as a polygon corresponding to an intersection area, and the discrete points contained in the intersection area are the discrete points corresponding to the intersection area.
[0093] See also Figure 7 , Figure 7 This is an example of an intersection type table provided in an embodiment of the present invention. Similar to the above-mentioned road type table, the determination of the intersection type is not limited to Figure 7 The judgment in the intersection type table shown, Figure 7 This is just an example of the intersection type table. In actual application, a suitable intersection type table can be set according to different situations. Similarly, the intersection type table also has special types to be set, which are used to handle some special intersection types that have not yet been defined to cope with potential needs that may exist.
[0094] S133, based on the road attribute information of the discrete points corresponding to the intersection area, obtain the intersection information corresponding to the discrete points in the intersection area. The intersection information includes the intersection type information corresponding to the intersection area, and the location information of the intersection area obtained based on the location information of the discrete points in the intersection. The division of the intersection area in the road can refer to Figure 2c Examples in .
[0095] For examples of road and intersection area division, please refer to Figure 8 , Figure 8 Ramp 1 and ramp 2 in the figure can be regarded as the same case. The ramp that merges into the main road is a separate road. The intersection area where the ramp and the main road meet is the intersection area. The intersection type is an entry ramp or an exit ramp.
[0096] exist Figure 8 In the example of the safety island in the figure, safety island 1 is a safety island located in the middle of the road, that is, the road is divided at the safety island and converges after the safety island. In this case, the two sections of road before and after the safety island belong to two different roads, and the intersection of the safety island and the road is an intersection area, and the intersection type is a safety island; Figure 8 The safety island 2 in the figure belongs to the safety island between the left turn lane, the straight lane and the straight lane ahead at the intersection, then the entire intersection belongs to an intersection area (including the safety island), and the intersection type is a protected intersection or an unprotected intersection.
[0097] exist Figure 8 In the roundabout example, the entire roundabout belongs to an intersection area, the intersection type is roundabout, and the intersection area includes all entrance parts of the roundabout and the roads on the roundabout.
[0098] exist Figure 8 In the auxiliary road example in , the main road and the auxiliary road are two roads, and their intersection is recorded as the intersection area, and the intersection type is auxiliary road.
[0099] exist Figure 8 In the example of the shaded lines in the figure, the blank part of the road is a road, the shaded part is none, and the road type corresponding to the shaded part is restrict.
[0100] exist Figure 8 In the example of the change in the number of lanes in , the road shown changes from a single-lane road to a two-lane road from left to right, the part in the middle where the number of lanes changes is the intersection area, the intersection type is a change in the number of lanes, and the left and right sides of the intersection area belong to two different roads.
[0101] It should be noted that the intersection area described in the embodiment of the present invention is not limited to Figure 8 There are several examples in the Figure 8 The intersection area shown in also belongs to the intersection area in the embodiment of the present invention, such as an intersection or a bridge with a changing number of lanes, which is not limited here.
[0102] S14, determining the connection information of each discrete point of the target path, specifically including: obtaining the position information and direction information of the discrete points in the target path; determining the connection information of the discrete points according to the position information and direction information, wherein the connection information is used to characterize the path direction of adjacent discrete points.
[0103] Each of the discrete points has corresponding road attribute information, and the road attribute information includes the location information of the discrete point. The location information includes the location coordinates and path direction of the discrete point, wherein the connection information between the discrete points includes the road direction between the front and rear adjacent discrete points.
[0104] The path direction is used to describe the direction of the road corresponding to the target path, which is usually equivalent to the direction information of the discrete points. In addition, based on the connection information between the discrete points, the connection information of the road and / or intersection area perspective can be obtained, that is, the connection information between the two adjacent roads is equivalent to: the connection information from the discrete point at the end of the front road to the discrete point at the end of the rear road. Similarly, the connection information of the road and the adjacent intersection area can be obtained.
[0105] S15, characterize the road according to the road attribute information, the road type information, the intersection information and the connection information. Specifically, based on the road attribute information, the road type information, the intersection information and the connection information, connect the corresponding discrete point sequences. Take the connection of two adjacent roads as an example, obtain the discrete point sequences corresponding to the two roads, and obtain the position information and direction information of these discrete points, find at least one pair of discrete points with the same or adjacent position information in the two discrete point sequences, the at least one pair of discrete points belongs to the discrete point sequences corresponding to different roads, but the position information is the same or adjacent, and the direction information is the same, connect the two adjacent roads based on the connection information between the at least one pair of discrete points, and so on, connect all the adjacent roads and discrete points corresponding to the intersection area, and characterize the road by the target path composed of several discrete points, and the target path can also be displayed by a discrete map, each of the discrete points is accompanied by road attribute information and road type information of the corresponding road, and the discrete points belonging to the intersection area are also accompanied by the intersection type information of the intersection area.
[0106] In some other embodiments, the method further comprises:
[0107] S16, obtaining object attribute information of a special object in the road corresponding to the target path. The special object is used to represent an object other than a lane in the target road, and the attribute information includes the position information and height information of the special object. Fig. 9The special objects can be obstacles that affect the driving of vehicles on the road, or items that affect the road by expanding, delimiting and supplementing the road direction, such as parking spaces, crosswalks or traffic barriers, etc. Special objects are generally described by simple polygons. For example, the width, length and height are defined for common quadrilaterals; the radius and height are defined for common circles. The existence of special objects will affect the later path planning of the vehicle or the decision-making during vehicle driving. After obtaining the object attribute information of the special object, the type of the special object is determined according to the object attribute information and combined with the preset special object table.
[0108] S17. Bind the special object to the corresponding road or intersection area in the form of a polygon based on the object attribute information. When characterizing the special object, it is directly displayed in the discrete map in the form of a simple polygon plus height information, and the type of the special object is recorded. If the special object can be bound to the corresponding road or intersection area, it is bound to the corresponding road section or intersection area. If it cannot be bound, the special object is displayed separately in the high-precision discrete map based on its location information.
[0109] The road characterization method provided in the embodiment of the present invention characterizes the road corresponding to the target path through the lane center line and lane edge line composed of discrete points, as well as the connection information between the discrete points, and displays the target path in the application, thereby reducing the complexity of road characterization and supporting complete multi-lane road conditions, which is more suitable for use by unmanned vehicles.
[0110] The embodiment of the present invention provides a road characterization device 20, see Fig.10 , the device comprises:
[0111] The target path acquisition module 21 can acquire at least one target path, wherein the target path includes a lane center line and a lane edge line composed of a plurality of discrete points; each of the target paths includes at least two discrete points at different positions, and each discrete point includes road attribute information corresponding to the discrete point and road type information of the corresponding road, wherein the road attribute information is used to describe information such as the position, direction and road condition of all roads within the target range, and the road type information is used to describe the road type of the road corresponding to the discrete point.
[0112] The road information acquisition module 22 can acquire the road attribute information of the discrete points and the road type information of the roads corresponding to the discrete points; the road attribute information and the road type information can help characterize the corresponding roads and assist the vehicle in path planning.
[0113] An intersection information acquisition module 23, the intersection information acquisition module 23 can determine the intersection area according to the road attribute information and the road type information, and obtain the intersection information of the intersection corresponding to the discrete points in the intersection area; the intersection information includes the intersection type information corresponding to the intersection area, and the position information of the intersection area obtained based on the position information of the discrete points contained in the intersection.
[0114] A connection information acquisition module 24, the connection information acquisition module 24 can determine the connection information of each discrete point of the target path; specifically, it can obtain the position information and direction information of the discrete points in the target path; determine the connection information of the discrete points based on the position information and direction information, and the connection information is used to characterize the path direction of adjacent discrete points.
[0115] The road characterization module 25 can characterize the road according to the road attribute information, the road type information, the intersection information and the connection information, so as to characterize the road corresponding to the target path in the form of a discrete map.
[0116] In some embodiments, the road characterization device 20 also includes a special object acquisition module, which can obtain object attribute information of special objects in the road corresponding to the target path, and can also bind the special objects to the corresponding roads or corresponding intersection areas in the form of polygons based on the object attribute information, and can also display the special objects in the form of polygons to a discrete map, wherein the polygons are accompanied by the corresponding object attribute information.
[0117] It should be noted that the above-mentioned road characterization device can execute the road characterization method provided in the embodiment of the present invention, and has the functional modules and beneficial effects corresponding to the execution method. For technical details not fully described in the embodiment of the road characterization device, please refer to the road characterization method provided in the embodiment of the present invention.
[0118] See also Fig.11 The embodiment of the present invention provides a road characterization device 30, including: at least one processor 31, a memory 32 communicatively connected to the at least one processor 31, and a communication module 33 for establishing a communication connection.
[0119] The memory 32 stores instructions that can be executed by the at least one processor 31, and the instructions are executed by the at least one processor 31 to enable the at least one processor to perform the road characterization method described in any one of the above method embodiments, for example, to perform the method steps S11 to S15 described above, etc., to achieve Fig.10 The functions of each module in.
[0120] The processor 31 , the memory 32 and the communication module 33 establish a communication connection between any two of them through a bus.
[0121] The processor 31 can be any type of control chip with one or more processing cores. It can perform single-thread or multi-thread operations and is used to parse instructions to perform operations such as acquiring data, performing logical operations, and issuing operation results.
[0122] The memory 32 is a non-transitory computer-readable storage medium that can be used to store non-transitory software programs, non-transitory computer executable programs and modules, such as program instructions / modules corresponding to the road characterization method in the embodiment of the present invention (for example, Fig.10 The processor 31 executes the non-transitory software programs, instructions and modules stored in the memory 32, thereby implementing various functional applications and data processing of the solid line road characterization device 20, that is, realizing the road characterization method in any of the above method embodiments.
[0123] The memory 32 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required by at least one function; the data storage area may store data created according to the use of the road characterization device 20, etc. In addition, the memory 32 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 devices. In some embodiments, the memory 32 may optionally include a memory remotely arranged relative to the processor 31, and these remote memories may be connected to the road characterization device 30 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.
[0124] The communication module 33 is a functional module for establishing a communication connection and providing a physical channel. The communication module 33 can be any type of wireless or wired communication module 33, including but not limited to a WiFi module or a Bluetooth module.
[0125] The road characterization device 30 can execute the road characterization method provided in the embodiment of the present invention, and has the corresponding functional modules and beneficial effects of executing the road characterization method. For technical details not described in detail in this embodiment, please refer to the road characterization method provided in the embodiment of the present invention.
[0126] 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 road characterization method, characterized in that: The method comprises: Acquire at least one target path, wherein the target path includes a lane centerline and a lane edge line formed by a plurality of discrete points; Acquire the road attribute information of the discrete point, and acquire the road type information of the road corresponding to the discrete point; Determine a single road end area based on the road attribute information and the road type information, the single road end area including the discrete points corresponding to the road end of the target path; determine an intersection area based on the positional relationship of the single road end area, the intersection area including at least two single road end areas that are adjacent in positional relationship; based on the road attribute information corresponding to the discrete points in the intersection area, obtain intersection information corresponding to the discrete points in the intersection area; Determine connection information of each discrete point of the target path; The road is characterized according to the road attribute information, the road type information, the intersection information and the link information.
2. The road characterization method according to claim 1, characterized in that: The road attribute information specifically includes: Position information, which is the position of the discrete point; Speed information, which is the speed of the vehicle when it passes through the discrete point; Direction information, which is the direction of the vehicle when it passes through the discrete point; Vehicle driving action information, which is the driving action requirements when the vehicle passes through the discrete points; The vehicle driving road condition information is the road condition near the discrete point.
3. The road characterization method according to claim 1, characterized in that: The obtaining of the road type information of the road corresponding to the discrete point comprises: According to the road attribute information of the discrete point and in combination with a preset road type table, the road type of the road corresponding to the discrete point is determined.
4. The road characterization method according to claim 1, characterized in that: The step of obtaining intersection information of the intersection corresponding to the discrete points in the intersection area: According to the road attribute information of the discrete point and in combination with a preset intersection type table, the intersection type of the intersection area corresponding to the discrete point is determined.
5. The road characterization method according to claim 1, characterized in that: The determining of the connection information of each discrete point of the target path includes: Obtaining position information and direction information of the discrete points in the target path; The connection information of the discrete points is determined according to the position information and the direction information, and the connection information is used to characterize the path direction of adjacent discrete points.
6. The road characterization method according to claim 5, characterized in that: The characterizing the road according to the road attribute information, the road type information, the intersection information and the connection information comprises: The target path is displayed, wherein the target path includes a lane centerline and a lane edge line formed by a plurality of discrete points, and a line connecting the plurality of discrete points, wherein the discrete points are accompanied by road attribute information and road type information of the corresponding roads, and the discrete points in the intersection area are accompanied by the corresponding intersection information.
7. The road characterization method according to claim 1, characterized in that: The method further comprises: Obtaining object attribute information of a special object in the road corresponding to the target path; The special object is bound to a corresponding road or a corresponding intersection area in a polygonal form based on the object attribute information.
8. The road characterization method according to claim 7, characterized in that: The method further comprises: The special object is displayed in the form of a polygon, wherein the polygon is accompanied by the corresponding object attribute information.
9. A road characterization device, characterized in that: The device comprises: A target path acquisition module, used to acquire at least one target path, wherein the target path includes a lane center line and a lane edge line formed by a plurality of discrete points; A road information acquisition module, used to acquire the road attribute information of the discrete points and acquire the road type information of the roads corresponding to the discrete points; A road intersection information acquisition module is used to determine a single road end area based on the road attribute information and the road type information, the single road end area includes the discrete points corresponding to the road end of the target path; determine an intersection area according to the positional relationship of the single road end areas, the intersection area includes at least two single road end areas with adjacent positional relationships; based on the road attribute information corresponding to the discrete points of the intersection area, obtain the intersection information of the intersection corresponding to the discrete points of the intersection area; A connection information acquisition module, used to determine the connection information of each discrete point of the target path; A road characterization module is used to characterize the road according to the road attribute information, the road type information, the intersection information and the connection information.
10. A road characterization device, 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 8.
