A method and device for generating a lane virtual boundary line

Through an automated method, Bezier curve fitting and splicing technology are used to generate lane virtual boundary lines in electronic maps, solving the problems of low manual drawing efficiency and low accuracy in the existing technology, and achieving more efficient and accurate lanes. Virtual boundary line generation.

CN117994385BActive Publication Date: 2024-10-29TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202410409278.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-07
Publication Date
2024-10-29
Estimated Expiration
2044-04-07

AI Technical Summary

Technical Problem

In the existing technology, generating virtual lane boundary lines in electronic maps relies on manual drawing, which is inefficient and inaccurate, and prone to errors.

Method used

An automated method is used to generate the lane virtual boundary line. By obtaining the entry and exit lane lines of the intersection, the turning start line is determined, multi-segment control points are fitted based on the Bezier curve, and the fitted curve is spliced ​​to generate the lane virtual boundary line.

Benefits of technology

It improves the efficiency and accuracy of lane virtual boundary line generation, avoids manual dependence, can flexibly control the position of the fitting curve, and generates more accurate lane virtual boundary lines.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117994385B_ABST
    Figure CN117994385B_ABST
Patent Text Reader

Abstract

The present application discloses a method for generating a lane virtual boundary line and a related device, which can be applied to electronic maps, autonomous driving, assisted driving, smart transportation, cloud technology, artificial intelligence and other fields. The entry lane line and exit lane line of the intersection to be processed are obtained, and the corresponding turning start lines are determined respectively. For the entry lane line and exit lane line to be connected, multiple control points are determined based on the turning start lines corresponding to the entry lane line and exit lane line to be connected, and the turning information between the two. Bezier curve fitting is performed on each control point to obtain multiple fitting curves, and the lane virtual boundary line is obtained by splicing based on the multiple fitting curves. In this way, the lane virtual boundary line is automatically generated, and the generation efficiency and accuracy of the lane virtual boundary are improved. In addition, by drawing the lane virtual boundary line by multiple control points, the position where the fitting curve actually passes can be flexibly controlled, thereby facilitating the generation of a more accurate lane virtual boundary line.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a method for generating a lane virtual boundary line and a related device. Background Art

[0002] In the real world, road intersections generally do not have actual lane boundary lines, and the driver usually controls the vehicle to turn from the intersection to an exit lane of the intersection based on actual experience.

[0003] With the application of electronic maps in the driving field, in order to provide more accurate information through electronic maps and improve driving safety, when generating electronic maps, it is necessary to generate virtual lane boundaries for intersections that do not have actual lane boundaries in the real world, so as to limit the driving area of ​​​​the driving tools at the intersection.

[0004] In the related art, the virtual lane boundary lines of the intersection are manually drawn by the drawing staff referring to the intersection point cloud, photo trajectory and other data. However, this method relies on manual work, the drawing efficiency is low, and the drawing results of different drawing staff may be different, resulting in the low accuracy of the drawn virtual lane boundary lines, which is prone to errors or unreasonable situations. Summary of the invention

[0005] In order to solve the above technical problems, the present application provides a method and a related device for generating a lane virtual boundary line, which can automatically generate a lane virtual boundary line, thereby avoiding manual dependence and improving the efficiency and accuracy of generating a lane virtual boundary. In addition, the lane virtual boundary line is obtained by splicing together a fitting curve drawn by multiple control points. The multi-segment splicing can flexibly control the position where the fitting curve actually passes, thereby facilitating the generation of a more accurate lane virtual boundary line.

[0006] The embodiments of the present application disclose the following technical solutions:

[0007] On the one hand, an embodiment of the present application provides a method for generating a lane virtual boundary line, the method comprising:

[0008] Get the entry lane line and exit lane line of the intersection to be processed;

[0009] Determine a turning start line of the entry lane line and a turning start line of the exit lane line, wherein the turning start line is used to indicate a starting position of entering the intersection to be processed along the entry lane line and a starting position of leaving the intersection to be processed along the exit lane line;

[0010] For the entry lane line and the exit lane line to be connected, based on the turning start lines respectively corresponding to the entry lane line and the exit lane line to be connected, and the turning information between the entry lane line and the exit lane line to be connected, determining multiple control points;

[0011] Bezier curve fitting is performed on each of the multiple control points to obtain multiple fitting curves, and lane virtual boundary lines are obtained by splicing based on the multiple fitting curves. The lane virtual boundary lines are used to connect the entry lane line and the exit lane line to be connected.

[0012] On the one hand, an embodiment of the present application provides a device for generating a lane virtual boundary line, the device comprising an acquisition unit, a determination unit, a fitting unit and a splicing unit:

[0013] The acquisition unit is used to acquire the entry lane line and the exit lane line of the intersection to be processed;

[0014] The determination unit is used to determine the turning start line of the entry lane line and the turning start line of the exit lane line, wherein the turning start line is used to indicate the starting position of entering the intersection to be processed along the entry lane line and the starting position of leaving the intersection to be processed along the exit lane line;

[0015] The determination unit is further configured to determine, for the entry lane line and the exit lane line to be connected, a plurality of control points based on the turning start lines respectively corresponding to the entry lane line and the exit lane line to be connected, and the turning information between the entry lane line and the exit lane line to be connected;

[0016] The fitting unit is used to perform Bezier curve fitting on each of the multiple control points to obtain multiple fitting curves;

[0017] The splicing unit is used to obtain a lane virtual boundary line by splicing based on the multiple fitting curves, and the lane virtual boundary line is used to connect the entry lane line and the exit lane line to be connected.

[0018] In one aspect, an embodiment of the present application provides a computer device, the computer device comprising a processor and a memory:

[0019] The memory is used to store a computer program and transmit the computer program to the processor;

[0020] The processor is configured to execute the method described in any one of the preceding aspects according to instructions in the computer program.

[0021] On the one hand, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium is used to store a computer program, and when the computer program is executed by a processor, the processor executes the method described in any of the aforementioned aspects.

[0022] In one aspect, an embodiment of the present application provides a computer program product, including a computer program, which implements the method described in any of the aforementioned aspects when executed by a processor.

[0023] It can be seen from the above technical solution that when it is necessary to generate a virtual lane boundary line in an intersection on an electronic map, the entry lane line and the exit lane line of the intersection to be processed can be obtained first, and the turning start line of the entry lane line and the turning start line of the exit lane line can be determined. The turning start line is used to indicate the starting position of entering the intersection to be processed along the entry lane line and the starting position of leaving the intersection to be processed along the exit lane line, so as to determine the position where the driving tool starts turning and ends turning in the intersection, so as to determine the starting position and ending position of the lane virtual boundary line in the intersection. Some of the entry lane lines and exit lane lines of the intersection to be processed need to be connected through the lane virtual boundary line, so as to indicate the driving area range in the intersection to be processed through the lane virtual boundary line. For the entry lane lines and exit lane lines to be connected, the lane virtual boundary line can be generated by Bezier curve fitting. The control point is the key element of Bezier curve fitting, so multiple control points can be determined based on the turning start lines corresponding to the entry lane lines and exit lane lines to be connected, and the turning information between the entry lane lines and exit lane lines to be connected. Each segment of control points is used to determine the shape and direction of the corresponding curve, and then Bezier curve fitting is performed on each segment of the multiple control points to obtain multiple segments of fitting curves, and the multiple segments of fitting curves are spliced ​​to obtain a lane virtual boundary line used to connect the entry lane line and the exit lane line to be connected. The present application can automatically generate lane virtual boundary lines, thereby avoiding manual dependence and improving the generation efficiency and accuracy of lane virtual boundaries. In addition, by splicing together the fitting curves drawn by multiple segments of control points to obtain lane virtual boundary lines, multi-segment splicing can flexibly control the position where the fitting curve actually passes, thereby facilitating the generation of more accurate lane virtual boundary lines. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technical members in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0025] Figure 1 An application scenario architecture diagram of a method for generating a lane virtual boundary line provided in an embodiment of the present application;

[0026] Figure 2 A flowchart of a method for generating a lane virtual boundary line provided in an embodiment of the present application;

[0027] Figure 3 An example diagram of an intersection to be processed provided in an embodiment of the present application;

[0028] Figure 4 An example diagram of a lane virtual boundary line based on a crosswalk provided in an embodiment of the present application;

[0029] Figure 5 An example diagram of the positional relationship between virtual boundary lines of lanes with different turns provided in an embodiment of the present application;

[0030] Figure 6 Another example diagram of the positional relationship between virtual boundary lines of lanes with different turns provided in an embodiment of the present application;

[0031] Figure 7 An example diagram of the positional relationship between virtual boundary lines of lanes of different turns provided in an embodiment of the present application;

[0032] Figure 8 An example diagram of a turning start line provided in an embodiment of the present application;

[0033] Fig. 9 An example diagram of a multi-segment control point provided in an embodiment of the present application;

[0034] Fig.10 An example diagram of multiple control points that meet positional relationship control conditions provided in an embodiment of the present application;

[0035] Fig.11 An example diagram of multiple control points determined based on lane width provided in an embodiment of the present application;

[0036] Fig.12 A structural diagram of a lane virtual boundary line generation device provided in an embodiment of the present application;

[0037] Fig.13 A structural diagram of a terminal provided in an embodiment of the present application;

[0038] Fig.14 A structural diagram of a server provided in an embodiment of the present application. DETAILED DESCRIPTION

[0039] The embodiments of the present application are described below in conjunction with the accompanying drawings.

[0040] Lane borders or lane lines are also called road markings in the industry. For example, they are white or yellow dashed or solid lines that define a complete lane on a road. They are used to control the boundaries of the driving range of vehicles in the lane. However, there are generally no actual lane borders at the intersection of the road. Usually, the driver controls the vehicle to turn from the intersection to an exit lane of the intersection based on actual experience.

[0041] With the application of electronic maps in the field of driving, such as using electronic maps for navigation, using electronic maps for assisted driving, and automatic driving, in order to provide more accurate information through electronic maps and improve driving safety, when generating electronic maps, it is necessary to generate virtual lane boundaries for intersections that do not have actual lane boundaries in the real world to limit the driving area of ​​the vehicle at the intersection. For example, when using electronic maps for intelligent driving (assisted driving, automatic driving), if the electronic map provides virtual lane boundaries, the intelligent driving system can be helped to decide the driving route of the vehicle at the intersection based on the virtual lane boundaries to ensure that the automatic driving vehicle safely drives in the intersection. In manual driving, in order to help the driver better identify and understand the intersection conditions and reduce the risk of traffic accidents caused by misjudgment or negligence.

[0042] The related technology uses manual drawing to obtain lane virtual boundary lines, which has low drawing efficiency and different drawing results may be different, resulting in low accuracy of the drawn lane virtual boundary lines, which is prone to errors or unreasonable situations.

[0043] In order to solve the above technical problems, an embodiment of the present application provides a method for generating a lane virtual boundary line, which generates the lane virtual boundary line in an automated manner, thereby avoiding manual dependence and improving the efficiency and accuracy of generating the lane virtual boundary. In addition, in the automated generation process, for the entry lane line and the exit lane line to be connected, the lane virtual boundary line can be generated by Bezier curve fitting. Specifically, the lane virtual boundary line is obtained by splicing together the fitting curve drawn by multiple control points. The multi-segment splicing can flexibly control the position where the fitting curve actually passes, thereby facilitating the generation of a more accurate lane virtual boundary line.

[0044] It should be noted that the method for generating lane virtual boundary lines provided in the embodiments of the present application can be applied to electronic maps, autonomous driving, assisted driving, smart transportation, cloud technology, artificial intelligence and other fields, and electronic maps may need to be used in these fields. The method provided in the embodiments of the present application can generate lane virtual boundary lines at intersections in electronic maps. The scenarios in which electronic maps are used can be, for example, autonomous driving, high-precision positioning, lane-level positioning, traffic management, urban planning, tourism, logistics, games, virtual reality, augmented reality and other scenarios, which are not limited in the embodiments of the present application.

[0045] The method for generating a lane virtual boundary line provided in the embodiment of the present application can be executed by a computer device, which can be, for example, a server or a terminal. The server can be an independent physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server providing cloud computing services. The terminal includes but is not limited to a smart phone, a computer, an intelligent voice interaction device, a smart home appliance, a vehicle terminal, an aircraft, etc.

[0046] like Figure 1 As shown, Figure 1 An application scenario architecture diagram of a method for generating a lane virtual boundary line is shown, and the application scenario may include a server 100 and a terminal 200. The server 100 can generate a lane virtual boundary line, and then generate an electronic map with a lane virtual boundary line in an intersection, and provide an electronic map service for the terminal 200. An electronic map application can be installed on the terminal 200. When a user opens the electronic map application through the terminal 200, an electronic map can be obtained from the server 200 and displayed on the terminal 200. The intersection of the electronic map has a lane virtual boundary line generated by the method provided in the embodiment of the present application.

[0047] When it is necessary to generate a virtual lane boundary line within an intersection on an electronic map, the server 100 can first obtain the entry lane line and the exit lane line of the intersection to be processed, and determine the turning start line of the entry lane line and the turning start line of the exit lane line. The turning start line is used to indicate the starting position of entering the intersection to be processed along the entry lane line and the starting position of leaving the intersection to be processed along the exit lane line, thereby determining the position where the driving tool starts turning and ends turning within the intersection, so as to determine the starting position and ending position of the virtual lane boundary line within the intersection.

[0048] Some of the entry lane lines and exit lane lines of the intersection to be processed need to be connected through the lane virtual boundary line, so that the lane virtual boundary line can indicate the driving area range in the intersection to be processed. For the entry lane lines and exit lane lines to be connected, the server 100 can generate lane virtual boundary lines by Bezier curve fitting. The control point is a key element of Bezier curve fitting, so when the lane virtual boundary line is obtained by Bezier curve fitting, the server 100 can first determine multiple control points based on the turning start lines corresponding to the entry lane lines and exit lane lines to be connected, and the turning information between the entry lane lines and exit lane lines to be connected. Each control point is used to determine the shape and direction of the corresponding curve, and then the server 100 performs Bezier curve fitting on each control point in the multiple control points to obtain multiple fitting curves, and splices based on the multiple fitting curves to obtain lane virtual boundary lines for connecting the entry lane lines and exit lane lines to be connected.

[0049] For example, Figure 1 In the method, the obtained multi-segment control points are three-segment control points, namely the first segment control points, the second segment control points and the third segment control points. Bezier curve fitting is performed on the first segment control points to obtain the first segment fitting curve, Bezier curve fitting is performed on the second segment control points to obtain the second segment fitting curve, and Bezier curve fitting is performed on the third segment control points to obtain the third segment fitting curve. Then, the first segment fitting curve, the second segment fitting curve and the third segment fitting curve are spliced ​​to obtain a lane virtual boundary line for connecting the entry lane line and the exit lane line to be connected.

[0050] In this way, the lane virtual boundary line can be automatically generated, thus avoiding manual dependence and improving the efficiency and accuracy of the lane virtual boundary generation. In addition, the lane virtual boundary line is obtained by splicing the fitting curve drawn by multiple control points together. The multi-segment splicing can flexibly control the actual position of the fitting curve, thereby facilitating the generation of a more accurate lane virtual boundary line.

[0051] It can be understood that the method provided in the embodiment of the present application can be integrated into a map data production system, embedded into the intersection editing production line of the map data production system, and automatically generate virtual lane boundary lines at intersections.

[0052] The method provided in the embodiment of the present application may involve artificial intelligence technology, and the virtual boundary line of the lane is automatically generated by artificial intelligence technology. Artificial Intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results. In other words, artificial intelligence is a comprehensive technology in computer science that attempts to understand the essence of intelligence and produce a new intelligent machine that can respond in a similar way to human intelligence. Artificial intelligence is to study the design principles and implementation methods of various intelligent machines so that the machines have the functions of perception, reasoning and decision-making.

[0053] Artificial intelligence technology is a comprehensive discipline that covers a wide range of fields, including both hardware-level and software-level technologies. Basic artificial intelligence technologies generally include sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technology, pre-trained model technology, operation / interaction systems, mechatronics, etc. Among them, pre-trained models are also called large models and basic models. After fine-tuning, they can be widely used in downstream tasks in various major directions of artificial intelligence. Artificial intelligence software technology mainly includes computer vision technology, speech processing technology, natural language processing technology, and machine learning / deep learning.

[0054] It should be noted that in the specific implementation of this application, user information and other related data may be involved in the entire process. When the above embodiments of this application are applied to specific products or technologies, the user's separate consent or separate permission is required, and the collection, use and processing of relevant data need to comply with the relevant laws, regulations and standards of relevant countries and regions.

[0055] Next, the method for generating a lane virtual boundary line provided by the embodiment of the present application will be introduced with reference to the accompanying drawings, taking the computer device being a server as an example. Figure 2 , Figure 2 A flow chart of a method for generating a lane virtual boundary line is shown, and the method includes S201-S204.

[0056] S201. Obtain an entry lane line and an exit lane line of the intersection to be processed.

[0057] An intersection is a place where roads converge, which refers to one end of a road. It is a point where cars, pedestrians and other vehicles must pass when driving. It is the confluence point of each section of the road network. At the intersection, various vehicles (such as buses, cars, trains, motorcycles) can complete turning operations such as left turn, right turn, U-turn, and straight driving. In addition, traffic safety should be ensured as much as possible, and the intersection should be passed as soon as possible when the light is green. Intersection safety is an important basis for driver driving safety. For this reason, it is necessary to generate lane virtual boundary lines at the intersection of the electronic map to limit the driving area of ​​the vehicle at the intersection and ensure driving safety. The intersection can be a cross building intersection, a T-junction, etc., and the intersection to be processed can be an intersection where a lane virtual boundary line needs to be generated.

[0058] An entry lane line may be a line on a road used to identify the starting position or boundary of an entry lane. It may be a solid line or a dashed line used to visually clarify the scope and boundary of an entry lane. An entry lane may be a lane that enters a pending intersection according to the direction of travel of a vehicle. An exit lane line may be a line on a road used to identify the starting position or boundary of an exit lane. It may be a solid line or a dashed line used to visually clarify the scope and boundary of an exit lane. An exit lane may be a lane that exits a pending intersection according to the direction of travel of a vehicle.

[0059] S202: Determine a turning start line of the entry lane line and a turning start line of the exit lane line.

[0060] The vehicle is driving normally in the entry lane. When it reaches a certain position in the entry lane and is ready to enter the intersection to be processed, it can perform turning operations such as left turn, right turn, U-turn, and straight driving at the intersection to be processed. The above turning operations are completed at a certain position in the exit lane, and the vehicle leaves the intersection to be processed and continues to drive in the exit lane. In order to clarify the position where the turn starts on the entry lane and ends on the exit lane, so as to accurately generate the lane virtual boundary line later, the turning start line of the entry lane line and the turning start line of the exit lane line can be determined first. The turning start line is used to indicate the starting position of entering the intersection to be processed along the entry lane line and the starting position of leaving the intersection to be processed along the exit lane line, thereby determining the position where the vehicle starts turning and ends turning in the intersection, so as to determine the starting position and ending position of the lane virtual boundary line in the intersection.

[0061] It is understandable that there may be multiple roads merging into the intersection to be processed, each road may include multiple lanes, and multiple lanes with the same driving direction on a road may be called a lane group. The entry lane line or exit lane line of the same lane group may have the same turning start line. Figure 3 As shown, in Figure 3There are 4 roads merging into the intersection to be processed, each road includes an entry lane and an exit lane. For example, lane 1 and lane 2 are two entry lanes on the same road. These two entry lanes can be called a lane group and may have the same turning start line.

[0062] S203. For the entry lane line and the exit lane line to be connected, determine multiple control points based on the turning start lines respectively corresponding to the entry lane line and the exit lane line to be connected, and the turning information between the entry lane line and the exit lane line to be connected.

[0063] The vehicle enters the intersection to be processed from an entry lane and exits the intersection to be processed from an exit lane. The entry lane and exit lane for the vehicle to complete this complete driving path can be called the entry lane and exit lane to be connected, and the entry lane and exit lane to be connected can be connected through the connecting lane. The boundary line of the connecting lane can be called the lane virtual boundary line, which is used to limit the scope of the connecting lane. The entry lane line and exit lane line that need to be connected through the lane virtual boundary line can be called the entry lane line and exit lane line to be connected.

[0064] For all the entry lane lines and exit lane lines of the intersection to be processed, some of the entry lane lines and exit lane lines need to be connected through lane virtual boundary lines, so as to form a connected lane through the lane virtual boundary lines, thereby indicating the driving area range in the intersection to be processed. For the entry lane lines and exit lane lines to be connected, in the embodiment of the present application, the server can generate lane virtual boundary lines by Bezier curve fitting.

[0065] Bezier curves are mathematical curves used in two-dimensional graphics applications. Bezier curves can be obtained through Bezier fitting. An n-order Bezier curve can be determined by n+1 control points. Therefore, by adjusting the position and number of these control points, the shape and direction of the Bezier curve can be flexibly changed, thereby achieving accurate Bezier curve fitting. It can be seen that control points are the key elements of Bezier curve fitting. Therefore, when obtaining the virtual boundary line of the lane through Bezier curve fitting, the server can first determine multiple control points based on the turning start lines corresponding to the entry lane line and the exit lane line to be connected, and the turning information between the entry lane line and the exit lane line to be connected.

[0066] The steering information may indicate the steering operation required based on the lane entry and exit lines to be connected, thereby clarifying what kind of steering operation the subsequently determined lane virtual boundary line is used to indicate, such as left turn, right turn, U-turn, and straight ahead. Different steering information may also determine different multiple control points, thereby generating a lane virtual boundary line that meets the necessary conditions.

[0067] The embodiment of the present application does not limit the number of segments of the multi-segment control points, for example, it can be two segments of control points, three segments of control points, etc. The embodiment of the present application does not limit the number of control points included in each segment of control points, for example, each segment of control points can include 2 control points, 3 control points, 4 control points, etc.

[0068] Bezier curves can be drawn very smoothly through control points. The embodiment of the present application uses multi-segment control points to draw the curve. Compared with single-segment control points, which are difficult to control the position points of the path except the first and last points, multi-segment control points can flexibly control the actual position of the curve, so as to generate a more accurate and reasonable lane virtual boundary line.

[0069] S204 , performing Bezier curve fitting on each of the multiple control points to obtain multiple fitting curves, and splicing the multiple fitting curves to obtain a lane virtual boundary line.

[0070] Each control point is used to determine the shape and direction of the corresponding curve. Then the server performs Bezier curve fitting on each of the multiple control points to obtain multiple fitting curves, and splices the multiple fitting curves to obtain a lane virtual boundary line used to connect the entry lane line and the exit lane line to be connected. The lane virtual boundary line is used to connect the entry lane line and the exit lane line to be connected.

[0071] Through actual online data production effect evaluation feedback, 85% of the online intersections can realize automatic drawing of lane virtual boundary lines, which greatly improves the efficiency of producing virtual lane boundary lines at intersections of electronic maps, especially high-precision maps.

[0072] It can be seen from the above technical solution that when it is necessary to generate a virtual lane boundary line in an intersection on an electronic map, the entry lane line and the exit lane line of the intersection to be processed can be obtained first, and the turning start line of the entry lane line and the turning start line of the exit lane line can be determined. The turning start line is used to indicate the starting position of entering the intersection to be processed along the entry lane line and the starting position of leaving the intersection to be processed along the exit lane line, so as to determine the position where the driving tool starts turning and ends turning in the intersection, so as to determine the starting position and ending position of the lane virtual boundary line in the intersection. Some of the entry lane lines and exit lane lines of the intersection to be processed need to be connected through the lane virtual boundary line, so as to indicate the driving area range in the intersection to be processed through the lane virtual boundary line. For the entry lane lines and exit lane lines to be connected, the lane virtual boundary line can be generated by Bezier curve fitting. The control point is the key element of Bezier curve fitting, so multiple control points can be determined based on the turning start lines corresponding to the entry lane lines and exit lane lines to be connected, and the turning information between the entry lane lines and exit lane lines to be connected. Each segment of control points is used to determine the shape and direction of the corresponding curve, and then Bezier curve fitting is performed on each segment of the multiple control points to obtain multiple segments of fitting curves, and the multiple segments of fitting curves are spliced ​​to obtain a lane virtual boundary line used to connect the entry lane line and the exit lane line to be connected. The present application can automatically generate lane virtual boundary lines, thereby avoiding manual dependence and improving the generation efficiency and accuracy of lane virtual boundaries. In addition, by splicing together the fitting curves drawn by multiple segments of control points to obtain lane virtual boundary lines, multi-segment splicing can flexibly control the position where the fitting curve actually passes, thereby facilitating the generation of more accurate lane virtual boundary lines.

[0073] It should be noted that the connecting lanes in all directions at the intersection need to meet the basic restrictions of traffic regulations and also meet certain process requirements of autonomous driving for the connecting lanes at the intersection. Therefore, the connecting lanes at the intersection must meet the following necessary conditions:

[0074] (1) To make a U-turn, you need to cross the pedestrian crossing at the intersection. Figure 4 The virtual lane boundaries T-1 and T-2 of the connecting lanes used to restrict U-turns need to be crossed Figure 4 The crosswalk shown on 401.

[0075] (2) The virtual lane boundary line of the connecting lane for left turn in the same entry lane needs to be tangent to the virtual lane boundary line of the connecting lane for U-turn. Figure 4In the left side 1 entering lane, the virtual boundary line L-2 of the connecting lane for left turn is tangent to the virtual boundary line T-2 of the connecting lane for U-turn. L-2 cannot be on the left of T-2. L-1 is tangent to T-1, and L-1 cannot be on the left of T-1.

[0076] (3) Adjacent non-straight-moving vehicles entering an intersection cannot overlap each other. Figure 5 , Figure 6 and Figure 7 As shown. Figure 5 In the case of T-2 and L-1, they shall not overlap each other but may be tangent to each other. Figure 6 In the example, L-2 and the virtual boundary line R-1 of the connecting lane for right turn shall not overlap each other, but may be tangent to each other; Figure 7 In the example, T-2 and R-1 shall not overlap each other, but they can be tangent to each other.

[0077] In the embodiment of the present application, the lane virtual boundary line is obtained by splicing together the fitting curves drawn by the multiple control points. In order to obtain the lane virtual boundary line that meets the above necessary conditions, the determination of the turning start line and the determination of the multiple control points are very critical. The determination of the turning start line and the determination of the multiple control points will be described in detail in conjunction with the accompanying drawings.

[0078] In a possible implementation, the turning starting line for entering the lane line and the turning starting line for exiting the lane line can be determined separately. For the entry direction (i.e., the entry lane line), all turning operations can be the same turning starting line. In some cases, since both left turns and U-turns are turning to the left, in order to meet the tangency, it can be required that the left turn and U-turn in the same entry lane must start turning at the same position, so the left turn and U-turn share the same turning starting line. The right turn is different from the left side in that there are two directions, so the right turn has an independent turning starting line. At this time, the turning starting line can be divided into two types, one is the turning starting line that controls left turns and U-turns, and the other is the turning starting line that controls straight driving and right turns. Since it is in the entry direction, the turning starting line that controls left turns and U-turns can be called the left turn U-turn entry starting line, and the turning starting line that controls straight driving and right turns can be called the right turn straight driving entry starting line.

[0079] Similar to the entry direction, for the exit direction (i.e., exit lane line), all turning operations can have the same turn start line. In some cases, the left turn and the right turn can be distinguished according to the process requirements. Different car manufacturers or applications have different requirements for the exit direction of the intersection on the electronic map, and the same turn start line or different turn start lines can be used.

[0080] There may be facilities such as crosswalks, stop lines, non-crossable guardrails, and hard-separated central isolation belts near the intersection. The existence and specific location of these facilities may affect the determination of the turning start line. Therefore, in order to obtain a turning start line that is more in line with traffic rules and actual road conditions, so that a lane virtual boundary line that meets the necessary conditions can be obtained based on the turning start line, in a possible implementation method, the method for determining the turning start line of the entry lane line and the turning start line of the exit lane line can be to obtain the map element data of the intersection to be processed. The map element data can reflect whether there are facilities such as crosswalks, stop lines, non-crossable guardrails, and hard-separated central isolation belts near the intersection to be processed, and if the above facilities exist, the specific location of the above facilities. Therefore, the turning start line of the entry lane line and the turning start line of the exit lane line can be determined based on the map element data, thereby determining a turning start line that is more in line with traffic rules and actual road conditions, so that a lane virtual boundary line that meets the necessary conditions can be obtained based on the turning start line.

[0081] In some cases, it is easy for a pedestrian crossing to exist at the intersection to be processed. The embodiment of the present application mainly considers the influence of the pedestrian crossing on the turning starting line, and introduces the method for determining the turning starting line. In this case, according to the map element data, the turning starting line of the entry lane line and the turning starting line of the exit lane line can be determined in the following way: for the entry lane line, if it is determined based on the map element data that there is a first pedestrian crossing at the entry lane line of the intersection to be processed, then the turning starting line of the entry lane line can be divided into two types: the left turn U-turn entry starting line and the right turn straight entry starting line, so as to ensure the tangency requirement of the left turn. At this time, the left turn U-turn entry starting line can be determined according to the position of the first inner boundary of the first pedestrian crossing. The first inner boundary is the boundary of the first pedestrian crossing away from the entry lane line, so that the left turn U-turn entry starting line can be at a position that crosses the first pedestrian crossing. In addition, the right turn straight entry starting line can be determined according to the position of the end point of the entry lane line. If it is determined based on map element data that there is no first crosswalk at the entrance lane line at the intersection to be processed, the turning starting line of the entrance lane line can be determined according to the position of the end point of the entrance lane line, and all turning operations can be on the same turning starting line.

[0082] For the exit lane line, similar to the entry lane line, if it is determined based on the map element data that there is a second pedestrian crossing at the exit lane line of the intersection to be processed, then the turning starting line of the exit lane line can be divided into two types: the left turn U-turn exit starting line and the right turn straight exit starting line, so as to ensure the tangency requirement of the left turn. At this time, the left turn U-turn exit starting line can be determined according to the position of the second inner boundary of the second pedestrian crossing. The second inner boundary is the boundary of the second pedestrian crossing away from the exit lane line, so that the left turn U-turn exit starting line can be located across the second pedestrian crossing. In addition, the right turn straight exit starting line can be determined according to the position of the starting point of the exit lane line. If it is determined based on the map element data that there is no second pedestrian crossing at the exit lane line of the intersection to be processed, the turning starting line of the entry lane line can be determined according to the position of the starting point of the exit lane line, and all turning operations can be the same turning starting line.

[0083] Through the above method, the influence of the presence or absence of a pedestrian crosswalk on the determination of the turning starting line can be fully considered, so as to determine a more reasonable turning starting line, which is helpful to standardize the driving trajectory of the vehicle, ensure that the vehicle turns in the correct position and direction, and reduce the risk of traffic congestion and accidents.

[0084] In a possible implementation, the left turn U-turn entry starting line may be determined according to the position of the first inner boundary of the first crosswalk by extending from the end point of the entry lane line along the first driving direction to a first position beyond the first inner boundary, and determining the line perpendicular to the first driving direction at the first position as the left turn U-turn entry starting line. The right turn straight entry starting line may be determined according to the position of the end point of the entry lane line by extending from the end point of the entry lane line along the first driving direction to a second position by a first preset distance, and determining the line perpendicular to the first driving direction at the second position as the right turn straight entry starting line. The left turn U-turn exit starting line may be determined according to the position of the second inner boundary of the second crosswalk by extending from the starting point of the exit lane line along the direction opposite to the second driving direction to a third position beyond the second inner boundary, and determining the line perpendicular to the second driving direction at the third position as the left turn U-turn exit starting line. According to the position of the starting point of the exit lane line, the method of determining the right turn straight exit starting line can be to extend the fourth position of the second preset distance in the direction opposite to the second driving direction from the starting point of the exit lane line, and determine the line perpendicular to the second driving direction at the fourth position as the right turn straight exit starting line. The first preset distance and the second preset distance can be set according to actual needs, for example, can be set to 1 meter, and this embodiment of the application does not limit this.

[0085] It should be noted that, without considering facilities such as crosswalks, stop lines, non-crossable guardrails, and hard-separated central isolation strips, the line extending from the end point of the entry lane line along the first driving direction to a position beyond the first inner boundary can be used as the default, and the line perpendicular to the first driving direction at this position is determined as the turning start line. Similarly, the line extending from the starting point of the exit lane line along the direction opposite to the second driving direction for a second preset distance can be used as the default, and the line perpendicular to the second driving direction at this position is determined as the turning start line.

[0086] See also Figure 8 As shown, Figure 8 It shows the left turn to enter the starting line, the right turn to enter the starting line, the left turn to exit the starting line, and the right turn to exit the starting line. The arrows indicate the driving direction of the lane entering and exiting the lane at the intersection to be processed, which is convenient for distinguishing the driving direction of the intersection to be processed. 801 and 802 represent crosswalks respectively. Figure 8 The middle mark for turning left and entering the starting line is closer to the inside of the intersection to be processed than turning right and going straight into the starting line, because the left turn requires crossing Figure 8 U-turns and left turns are only possible at the middle pedestrian crossing. Figure 8 The left turn U-turn exit starting line and the right turn straight exit starting line are marked in the middle. Similarly, the left turn U-turn exit starting line is closer to the inside of the intersection to be processed than the right turn straight exit starting line.

[0087] It should be noted that the multiple control points determined in S203 are for Bezier curve fitting and splicing into a completed lane virtual boundary line. In order to make the final overall curve (lane virtual boundary line) smoother and more natural, the last control point in the previous control point in the multiple control points is the first control point in the next control point. Take any two adjacent control points as the first control point and the second control point as an example, the first control point is closer to the entry lane line in the entry lane line and the exit lane line to be connected than the second control point, that is, the first control point is the previous control point, and the second control point is the next control point, then the last control point in the first control point is the first control point in the second control point.

[0088] See also Fig. 9 As shown, Fig. 9In the figure, there are multiple control points for a left turn and a U-turn. One of the two control points for the U-turn is {u1,u2,u3}, {u3,u4,u5}, and the other two control points for the left turn is {left1,left2,left3}, {left3,left4,left5}. For the convenience of description, two control points are used as an example. In the two control points for the U-turn, the last control point u3 in the control point segment {u1,u2,u3} is the first control point in the control point segment {u3,u4,u5}, that is, u3 is the connection point of the two control points; the last control point left3 in the control point segment {left1,left2,left3} is the first control point in the control point segment {left3,left4,left5}, that is, left3 is the connection point of the two control points.

[0089] There are connecting points between the multiple control points determined above. The existence of the connecting points means that the directions and curvatures of different segments of the curves at this point are consistent, thereby avoiding abrupt turns or breaks and making the final overall curve (lane virtual boundary line) more smooth and natural.

[0090] It is understandable that the lane virtual boundary line finally obtained in the embodiment of the present application is obtained by splicing multiple segments of fitting curves, and when splicing multiple segments of fitting curves, the key is how to ensure the smooth connection of multiple segments of fitting curves. Smooth connection can ensure that the entire lane virtual boundary line presents a continuous and natural appearance visually, and helps to guide the driving tool to smoothly perform turning operations at the intersection to be processed. Whether the multiple segments of fitting curves are smoothly connected is related to each segment of the fitting curve, and each segment of the fitting curve is determined by the corresponding control point. Therefore, the smooth connection of multiple segments of fitting curves can be achieved by controlling the positions of multiple segments of control points. In one possible implementation method, in any two adjacent control points, the connection point and a control point before the connection point and a control point after the connection point are on the same straight line. Taking any two adjacent control points of the first section and the second section as an example, the connecting point of the first section and the second section is on the same straight line as the first control point in the first section and the second control point in the second section, the connecting point is the last control point in the first section and the first control point in the second section, the first control point is the control point in the first section, and the second control point is the control point in the second section.

[0091] Continue to see Fig. 9As shown in the figure, for the two control points {u1,u2,u3} and {u3,u4,u5} for U-turn, the control points {u1,u2,u3} can be the first control point, the control points {u3,u4,u5} can be the second control point, and u3 is the connecting point. u2 is the control point adjacent to the connecting point u3 in the control points {u1,u2,u3}, and u4 is the control point adjacent to the connecting point u3 in the control points {u3,u4,u5}. When determining multiple control points, it is necessary to ensure that u2, u3 and u4 are on a straight line, or u3 is on the straight line segment {u2,u4}. Similarly, for the two control points {left1,left2,left3} and {left3,left4,left5} for left turn, left3 is on the straight line segment {left2,left4}.

[0092] By determining multiple control points that meet the above positional relationship, it can be ensured that the curves generated by the multiple control points are smoothly connected when spliced, thereby obtaining a continuous and natural lane virtual boundary line.

[0093] In some cases, there may be obstacles near the intersection to be processed, such as stone piers and other obstacles. In order to ensure driving safety, the generated lane virtual boundary line needs to bypass the obstacles. The lane virtual boundary line is generated based on multiple control points, so when determining the multiple control points, the existence of obstacles can be considered. In this case, based on the turning start lines corresponding to the entry lane line and the exit lane line to be connected, and the turning information between the entry lane line and the exit lane line to be connected, the method of determining the multiple control points can be to obtain the obstacle data of the intersection to be processed. The obstacle data can reflect whether there are obstacles near the intersection to be processed, and the specific location of the obstacle when there are obstacles. Then, according to the obstacle data, the turning start lines corresponding to the entry lane line and the exit lane line to be connected, and the turning information between the entry lane line and the exit lane line to be connected, the multiple control points can be determined, so as to determine a more reasonable lane virtual boundary line that ensures driving safety while considering the obstacles.

[0094] If it is determined that there is no obstacle according to the obstacle data, multiple control points are determined according to a reasonable driving route under normal circumstances. If it is determined that there is an obstacle according to the obstacle data, multiple control points that can avoid the obstacle are further determined in combination with the specific location of the obstacle reflected in the obstacle data.

[0095] Through the above method, more reasonable multi-segment control points can be determined according to whether there are obstacles, thereby ensuring driving safety.

[0096] In the necessary conditions (2) and (3) described above, there are certain requirements for the positional relationship between the virtual boundary lines of lanes for different turns. In a possible implementation method, the lane lines in the intersection need to meet two conditions: the connecting lanes of different turns entering the intersection to be processed from the same entry lane cannot overlap each other, and the connecting lanes of the same exit lane leaving the intersection to be processed from different entry lanes cannot overlap each other. In this case, based on the turning start lines corresponding to the entry lane lines and exit lane lines to be connected, and the turning information between the entry lane lines and exit lane lines to be connected, the method of determining multiple control points can be based on the turning start lines corresponding to the entry lane lines and exit lane lines to be connected, and the turning information between the entry lane lines and exit lane lines to be connected, to determine multiple control points that meet the positional relationship control conditions. The positional relationship control conditions are that the connecting lanes of different turns entering the intersection to be processed from the same entry lane cannot overlap each other, and the connecting lanes of the same exit lane leaving the intersection to be processed from different entry lanes cannot overlap each other.

[0097] See also Fig.10 As shown, the entry lane line and exit lane line to be connected are Fig.10 As shown in 1001 and 1002, for example, the entry lane line and the exit lane line to be connected may need Fig.10 The lane virtual boundary line shown in 1003 is connected, and the lane virtual boundary line needs to meet the position relationship control condition, and the connected lanes of different turns in the same entry lane entering the to-be-processed intersection can be Fig.10 The connecting lane of the same entry lane line in the left U-turn, the same exit lane of the intersection to be processed can be different entry lanes Fig.10 If the multi-segment control points used to determine the virtual lane boundary line are {n0,n1,n2}, {n2,n3,n4}, {n4,n5,n6}, the first segment control point of the left U-turn closest to the entry is {in_rel0,in_ref1,in_ref2}, and the last segment control point of the U-turn closest to the exit below is {out_ref2,out_ref3,out_ref4}, in order to meet the position relationship control conditions, the position relationship between the determined multi-segment control points and the virtual lane boundary lines of other connected lanes is designed as follows:

[0098] (1) In order to conform to the driving trend, the first and last control points have in_ref0 and n0 as common points, in_ref1 and n1 as common points, out_ref3 and n5 as common points, and out_ref4 and n6 as common points.

[0099] (2) n2 needs to be on the right side of in_ref2, and the straight-line distance of n1->n2 is equal to the straight-line distance of in_ref1->in_ref2; similarly, n4 needs to be on the right side of out_ref2, and the straight-line distance of n4->n5 is equal to the straight-line distance of out_ref2->out_ref3; n2 and n4 are on arc segments with in_ref1->in_ref2 and out_ref3->out_ref2 as radii, with in_ref1 and out_ref3 as the centers, respectively. The entry direction is clockwise, and the exit direction is counterclockwise. The reason why the straight-line distance of in_ref1->in_ref2 is designed to be equal to the straight-line distance of n1->n2 is that the control points of Bezier curves with equal distances only need to control the angle parameter to determine the positional relationship of the generated different segments of the fitting curve. See Fig.10 It can be noted that n0, n2, n4, and n6 are the control points through which the lane virtual boundary line is finally generated, while n1, n3, and n5 are not.

[0100] Based on the guidance of the positional relationship between the above-mentioned multi-segment control points and the control points of other connected lanes, multi-segment control points that meet the positional relationship control conditions can be determined. Since there is a dependency relationship between the positional relationship, such as left turn depends on U-turn, U-turn depends on the crosswalk at the intersection, the position of the central isolation zone, etc., when generating the lane virtual boundary line for the intersection to be processed, the calculation order of the multi-segment control points of the virtual boundary line of each virtual lane is: multi-segment control points of U-turn, multi-segment control points of left turn, multi-segment control points of straight driving, and multi-segment control points of right turn (S-bends are not desired in the straight driving application in the intersection to be processed, so the straight driving is allowed to overlap each other, and there is no strict positional relationship requirement for the straight driving trajectory). Each turn is commonly dependent on the turning starting line in different directions, and the turning starting line depends on the crosswalk at the intersection and the non-crossable guardrails on the left and right sides of the intersection to be processed. Before calculating the specific multi-segment control points, it is necessary to calculate the position information of the crosswalk, non-crossable guardrail, hard isolation central isolation zone, etc. of the intersection to be processed in advance, and then calculate a reasonable turning starting line. Please refer to the above introduction for details, which will not be repeated here. The following introduces the specific method of determining the multi-segment control points for U-turns and left turns, where the positional relationship is most obvious.

[0101] in_ref0: The point where the extended ray of the entry lane line along the driving direction intersects the turning start line (i.e., turning left and entering the starting line).

[0102] in_ref1: the straight-line distance from in_ref0 to in_ref1 is the farthest distance of the actual U-turn within the intersection to be processed, because Fig.10The example in the figure is the second connected U-turn lane, that is, the connected lane for entering lane 1 and exiting lane 2 to make a U-turn. Here, it is necessary to refer to the height of the U-turn entering lane 1 and exiting lane 1 for proportional calculation.

[0103] Assume that the currently calculated in_ref1 is a U-turn entering and exiting lane 1, the straight-line distance from in_ref1 to in_ref0 is (entry lane width w1 + exit lane width w2) / 2+0.5 meters. The sum of the widths of the entry lane and the exit lane divided by 2 can be understood as the average width of the entry lane and the exit lane. This satisfies the lane width gradient. The U-turn into the farthest point of the intersection to be processed is the middle of the U-turn semicircle. The purpose of adding 0.5 meters is to reserve drawing space for the small water droplets on the left line of the innermost lane. The size of the small water droplets is about 0.5 meters above and below the turning starting line, and the width is 0.2 meters.

[0104] Canceling the above assumption, in_ref1 is Fig.10 The control point of the virtual boundary line of the right lane when entering lane 1 and exiting lane 2 is used. At this time, refer to the control point of the innermost U-turn, which is the virtual lane line used for U-turn in the above assumption, and calculate the distance ratio of the intersection of the outermost entering lane and exiting lane with the turning start line ratio=L2 / L1. The straight-line distance of in_ref1 relative to in_ref0 is obtained by the height of the innermost U-turn in_ref1 (the height calculated in the above assumption)*ratio, and then in_ref1 is obtained.

[0105] in_ref2: This control point is the middle point of the straight line that is parallel to the turning start line and passes through in_ref1, that is, the topmost point of the U-turn into the intersection to be processed.

[0106] out_ref2: The calculation is the same as in_ref2. It is actually a point on the same virtual boundary line of the lane used for U-turns, but it is given another name for the convenience of marking the direction.

[0107] out_ref3: The calculation method is the same as in_ref1. The control point of the innermost lane virtual boundary line for U-turn is calculated first, and then the control point of the outer lane virtual boundary line for U-turn is calculated according to the ratio. The difference here from in_ref1 is that the lane virtual boundary line for U-turn is located on the side of the exit to be processed.

[0108] out_ref4: The calculation method is the same as in_ref0, the intersection of the exit lane line and the turning starting line (i.e., turning left and exiting the starting line).

[0109] n0&n1&n5&n6: same as in_ref0, in_ref1, out_ref3, out_ref4 respectively.

[0110] n2&n4: These two control points are critical and determine the beauty and rationality of the left-turn fitting curve. You can first use the three control points {in_ref0, p*, out_ref4} to perform Bezier curve fitting to obtain the intersection of the fitting curve and the arc segments s1 and s2. If the two intersections satisfy the positional relationship, that is, the intersection with the arc segments is on the right side of in_ref2 and out_ref2 respectively, then the corresponding intersection can be directly used as the position points of n2 and n4, where p* is calculated as the intersection of the extended lines obtained by extending the entry lane line and the exit lane line along the driving direction. If you encounter a scenario where the fitting curve and the arc segment do not intersect, it means that the intersection to be processed is small or the shape of the intersection to be processed is not a regular intersection, resulting in the virtual boundary line of the lane used for U-turns being in an uncommon position such as the center of the intersection to be processed. In this case, you need to calculate n3 first, and then determine the position of n2&n4 in turn. In this case, n2&n4 passes through the intersection of n3 with the line segment and arc segment of n1&n4 respectively.

[0111] n3: If the two control points n2 & n4 have been obtained by fitting the Bezier curve through the three control points {in_ref0, p*, out_ref4} and the fitting curve intersects with the two arc segments, then the calculation of point n3 will be relatively easy. In this case, n3 is the intersection of the extension line of n1->n2 and the extension line of n5->n4. If the arc segments s1, s2 are fitted with the three control points {in_ref0, p*, out_ref4} and the fitting curve has no intersection, then the line connecting n1->n5 is used as the turning hypotenuse to calculate the perpendicular line, and n3 is taken on the perpendicular median line. If it intersects with the extension line segment n1->p* of the entry lane line first, n3 is half the distance between the intersection and the middle point (the foot of the perpendicular median line) of the turning hypotenuse n1->n5 as point n3; if it intersects with the extension line segment n5->p* of the exit lane line first, the calculation method is the same.

[0112] Fig.10 Mainly taking three-segment control points and each segment including three control points as an example, the method of determining the multi-segment control points is introduced. Of course, the number of segments of the multi-segment control points and the number of control points in each segment can also be other situations. In this case, the method of determining the multi-segment control points is similar to the above and will not be introduced one by one here.

[0113] The above-mentioned embodiment restricts the positional relationship of multiple control points in order to determine multiple control points that meet the positional relationship control conditions, thereby ensuring that the subsequently generated connecting lanes with different turns entering the same entry lane at the intersection to be processed do not overlap each other, and the connecting lanes of the same exit lane leaving the intersection to be processed with different entry lanes do not overlap each other, thereby ensuring driving safety.

[0114] It is understandable that the entry lane and the exit lane to be connected can be connected through the connecting lane, and the connecting lane can include the virtual boundary lines of the lanes on both sides. In order to obtain the virtual boundary line of each lane, multiple control points on each side can be determined. When determining the multiple control points on each side, the multiple control points on each side can be calculated independently, thereby improving the calculation efficiency of the multiple control points.

[0115] In some cases, since the entry lane line and exit lane line to be connected have corresponding lane widths, the two ends of the connecting lane in the intersection to be processed also need to adapt to the lane widths corresponding to the entry lane line and exit lane line to be connected, and the middle part of the connecting lane also needs to change gradually to ensure the natural beauty of the connecting lane and avoid abnormal lane widths of the connecting lane composed of multiple control points calculated due to different angles of entering and exiting the intersection to be processed, such as narrow in the middle and wide at both ends or wide in the middle and narrow at both ends, which is also one of the problems of inconsistent curvature changes. In this case, based on the turning start lines corresponding to the entry lane line and exit lane line to be connected, and the turning information between the entry lane line and exit lane line to be connected, the method of determining the multiple control points can be based on the turning start lines corresponding to the entry lane line and exit lane line to be connected, the turning information between the entry lane line and exit lane line to be connected, and the lane widths corresponding to the entry lane line and exit lane line to be connected.

[0116] When determining the multiple control points in combination with the lane widths corresponding to the entry lane line and the exit lane line to be connected, in order to better solve the above problem, and reduce the amount of calculation while solving the above problem, in another possible implementation method, the multiple control points of the virtual boundary line of the lane on one side of the connected lane can be calculated first, and then the multiple control points of the virtual boundary line of the lane on the other side can be calculated. The multiple control points of the virtual boundary line of the lane on the first side calculated do not need to be determined in combination with the lane width, and the multiple control points of the virtual boundary line of the lane on the second side calculated need to be determined in combination with the lane width. Among them, the calculation priority of the multiple control points of the virtual boundary line of the lane on the first side calculated is higher than the calculation priority of the multiple control points of the virtual boundary line of the lane on the second side calculated, so the multiple control points of the virtual boundary line of the lane on the first side calculated can be called the second level control points, and the multiple control points of the virtual boundary line of the lane on the second side calculated can be called the first level control points.

[0117] In this case, based on the turning start lines corresponding to the entry lane line and the exit lane line to be connected, the turning information between the entry lane line and the exit lane line to be connected, and the lane widths corresponding to the entry lane line and the exit lane line to be connected, the method of determining the multi-segment control points can be to determine the first control point and the last control point in the multi-segment control points according to the turning start lines corresponding to the entry lane line and the exit lane line to be connected. If it is determined that the multi-segment control points belong to the first-level control points according to the turning information between the entry lane line and the exit lane line to be connected, and the entry lane line and the exit lane line to be connected, it means that the multi-segment control points to be determined are the multi-segment control points of the virtual boundary line of the lane on one side calculated later, so the middle control points can be determined according to the second-level control points that have been obtained, and the lane widths corresponding to the entry lane line and the exit lane line to be connected. Among them, the first-level control points and the second-level control points are used to obtain the same connected lane, the connected lane includes the lane virtual boundary line, and the calculation priority of the first-level control points is lower than the calculation priority of the second-level control points. Then the first control point, the last control point and the middle control points are determined as multi-segment control points.

[0118] It is understandable that when the connecting lane is used for different turns, the distinction between the first-level control point and the second-level control point is different. When the connecting lane is used for left turn, the first-level control point can be the control point of the lane virtual boundary line on the right side of the connecting lane, and the second-level control point is the control point of the lane virtual boundary line on the left side of the connecting lane. When the connecting lane is used for right turn, the first-level control point can be the control point of the lane virtual boundary line on the left side of the connecting lane, and the second-level control point is the control point of the lane virtual boundary line on the right side of the connecting lane.

[0119] Below Fig.11 Take the example to introduce the method of determining the multi-segment control points combined with the lane width. Fig.11Taking the connecting lane for left turn above as an example, first calculate the multi-segment control points {l_p0,l_p1,l_p2}, {l_p2,l_p3,l_p4}, {l_p4,l_p5,l_p6} of the virtual boundary line of the left lane according to the method introduced above (that is, without combining the lane width), and then give a detailed introduction to the determination of the multi-segment control points of the virtual boundary line of the right lane. The fitting curve drawn based on the multi-segment control points {r_p0, r_p1, r_p2}, {r_p2, r_p3, r_p4}, {r_p4, r_p5, r_p6} of the lane virtual boundary on the right side needs to satisfy the trend similar to the lane virtual boundary line on the left side (approximately parallel but not parallel), and the lane width of the connected lane formed by this gradually changes from the lane width w_1 of the entry lane to the lane width w_2 of the exit lane. The difference in change between the lane width of the entry lane and the lane width of the exit lane is w_diff=w2-w1. The lane width of the middle part of the connected lane gradually changes, and the difference in change gradually increases from zero to w_diff. The following is the detailed determination method of the multi-segment control points.

[0120] r_p0&r_p6: The intersection points with the turning start line of the entry lane line and the turning start line of the exit lane line respectively, and at the same time determine the lane width w_1 (the straight line width of l_p0 and r_p0) and w_2 (the straight line width of l_p6 and r_p6) connecting the two ends of the lane.

[0121] r_p1: First calculate r_p2, then generate a ray parallel to l_p2->l_p1 through r_p2 (the length needs to be longer), and the intersection of this ray and the extended ray entering the lane line is r_p1.

[0122] r_p2: From the above introduction, we can know that the virtual boundary line of the left lane passes through l_p0, l_p2, l_p4, l_p6. Similarly, the virtual boundary line of the right lane also passes through r_p0, r_p2, r_p4, r_p6 and the left and right sides correspond one to one. r_p2 corresponds to l_p2. It is reasonable to assume that the connecting lanes have the same forward trend at the corresponding points. Then, the line segment l_p2->l_p3 on the left can be rotated 90 degrees clockwise to the right ( Fig.11In the figure, the virtual boundary line of the lane on the right side of the connecting lane is calculated. If the virtual boundary line of the lane on the left side is calculated, it is rotated 90 degrees counterclockwise) to form a ray. On this ray, r_p2 has a certain distance relative to l_p2. This distance controls the lane width of the connecting lane. The difference in lane width from l_p0 to l_p6 is w_diff. It is necessary to average w_diff into the entire path of the connecting lane. At this time, the difference in lane width at r_p2 is w_diff2=(current driving length l_p0->l_p1->l_p2) / (total length of the connecting lane l_p0->l_p1->l_p2->l_p3->l_p4->l_p5->l_p6)*w_diff. On the ray rotated 90 degrees, find a point whose distance from l_p2 is the difference w_diff2 calculated above plus the lane width w1 entering the intersection to be processed.

[0123] r_p3: The calculation method is similar to that of r_p1. You need to calculate r_p4 first and then r_p3. Generate a ray parallel to l_p4->l_p3 passing through r_p4 (the length needs to be longer). The intersection of this ray and the extended ray parallel to l_p2->l_p3 is r_p3.

[0124] r_p4: The calculation method is similar to that of r_p2. r_p4 corresponds to l_p4. If we reasonably assume that the connecting lanes have the same forward trend at the corresponding points, we can rotate the left line segment l_p4->l_p5 90 degrees clockwise to the right ( Fig.11 In the figure, the virtual boundary line of the lane on the right side of the connecting lane is calculated. If the virtual boundary line of the lane on the left side is calculated, it is rotated 90 degrees counterclockwise) to form a ray. On this ray, r_p4 has a certain distance relative to l_p4. This distance controls the lane width of the connecting lane. The difference in lane width from l_p0 to l_p6 is w_diff. It is necessary to average w_diff into the entire path of the connecting lane. At this time, the difference in lane width at r_p4 is w_diff4=(current driving length l_p0->l_p1->l_p2->l_p3->l_p4) / (total length of the connecting lane l_p0->l_p1->l_p2->l_p3->l_p4->l_p5->l_p6)*w_diff. On the 90-degree ray rotated by the ray, find a point whose distance from l_p4 is the difference w_diff4 calculated above plus the lane width w1 entering the intersection to be processed.

[0125] r_p5: Similar to the calculation method of r_p3, r_p6 is the intersection of the exit lane line and the turn start line. A ray parallel to l_p6->l_p5 passes through r_p6 (the length needs to be longer), and the intersection of this ray and the extended ray parallel to l_p6->l_p5 is r_p5.

[0126] The above embodiment can avoid abnormal lane width of the connecting lanes by determining multiple control points for lane width control, such as lane width problems that are narrow in the middle and wide at both ends or wide in the middle and narrow at both ends, thereby ensuring the natural beauty of the connecting lanes and ensuring driving safety.

[0127] It should be noted that, based on the implementation methods provided in the above aspects, this application can also be further combined to provide more implementation methods.

[0128] Based on the lane virtual boundary line generation method provided in the above embodiment, the embodiment of the present application further provides a lane virtual boundary line generation device 1200. Fig.12 As shown, the lane virtual boundary line generating device 1200 includes an acquiring unit 1201, a determining unit 1202, a fitting unit 1203 and a splicing unit 1204:

[0129] The acquisition unit 1201 is used to acquire the entry lane line and the exit lane line of the intersection to be processed;

[0130] The determining unit 1202 is used to determine the turning start line of the entry lane line and the turning start line of the exit lane line, wherein the turning start line is used to indicate the starting position of entering the intersection to be processed along the entry lane line and the starting position of leaving the intersection to be processed along the exit lane line;

[0131] The determining unit 1202 is further configured to determine, for the entry lane line and the exit lane line to be connected, a plurality of control points based on the turning start lines respectively corresponding to the entry lane line and the exit lane line to be connected, and the turning information between the entry lane line and the exit lane line to be connected;

[0132] The fitting unit 1203 is used to perform Bezier curve fitting on each of the multiple control points to obtain multiple fitting curves;

[0133] The splicing unit 1204 is used to obtain a lane virtual boundary line by splicing the multiple fitting curves, and the lane virtual boundary line is used to connect the entry lane line and the exit lane line to be connected.

[0134] In a possible implementation manner, the determining unit 1202 is configured to:

[0135] Acquire map element data of the intersection to be processed;

[0136] According to the map element data, a turning start line of the entry lane line and a turning start line of the exit lane line are determined.

[0137] In a possible implementation manner, the determining unit 1202 is configured to:

[0138] If it is determined based on the map element data that the intersection to be processed has a first crosswalk at the entry lane line, a left turn and U-turn entry starting line is determined according to the position of a first inner boundary of the first crosswalk, the first inner boundary being a boundary of the first crosswalk away from the entry lane line, and a right turn and straight entry starting line is determined according to the position of the end point of the entry lane line, the turning starting line of the entry lane line includes the left turn and U-turn entry starting line and the right turn and straight entry starting line;

[0139] If it is determined based on the map element data that the first pedestrian crossing does not exist at the entry lane line of the intersection to be processed, determining the turning start line of the entry lane line according to the position of the end point of the entry lane line;

[0140] If it is determined based on the map element data that the intersection to be processed has a second crosswalk at the exit lane line, a left turn and U-turn exit starting line is determined according to the position of a second inner boundary of the second crosswalk, the second inner boundary being a boundary of the second crosswalk away from the exit lane line, and a right turn and straight exit starting line is determined according to the position of the starting point of the exit lane line, the turning starting line of the exit lane line includes the left turn and U-turn exit starting line and the right turn and straight exit starting line;

[0141] If it is determined based on the map element data that the second crosswalk does not exist at the exit lane line of the intersection to be processed, the turning start line of the entry lane line is determined according to the position of the starting point of the exit lane line.

[0142] In a possible implementation, the determining unit 1202 is used to:

[0143] From the end point of the lane entry line, extend along the first driving direction to a first position beyond the first inner boundary, and determine the line perpendicular to the first driving direction at the first position as the left turn entry start line;

[0144] From the end point of the lane entry line, a second position of a first preset distance is extended along the first driving direction, and a line perpendicular to the first driving direction at the second position is determined as the right turn straight entry start line;

[0145] From the starting point of the exit lane line, extend in a direction opposite to the second driving direction to a third position beyond the second inner boundary, and determine a line perpendicular to the second driving direction at the third position as the left turn exit starting line;

[0146] From the starting point of the exit lane line, a fourth position of a second preset distance is extended in the direction opposite to the second driving direction, and a line perpendicular to the second driving direction at the fourth position is determined as the right turn straight exit starting line.

[0147] In a possible implementation, any two adjacent control points among the multiple control points are a first control point and a second control point, the first control point is closer to the entry lane line among the entry lane line and exit lane line to be connected than the second control point, and the last control point in the first control point is the first control point in the second control point.

[0148] In a possible implementation, the connection point of the first section of control points and the second section of control points is on the same straight line as the first control point in the first section of control points and the second control point in the second section of control points, the connection point is the last control point in the first section of control points and the first control point in the second section of control points, the first control point is the control point in the first section of control points adjacent to the connection point, and the second control point is the control point in the second section of control points adjacent to the connection point.

[0149] In a possible implementation manner, the determining unit 1202 is configured to:

[0150] Obtaining obstacle data of the intersection to be processed;

[0151] The multiple control points are determined according to the obstacle data, the turning start lines corresponding to the entry lane line and the exit lane line to be connected, and the turning information between the entry lane line and the exit lane line to be connected.

[0152] In a possible implementation manner, the determining unit 1202 is configured to:

[0153] Based on the turning start lines corresponding to the entry lane line and the exit lane line to be connected, and the turning information between the entry lane line and the exit lane line to be connected, multiple control points that meet the position relationship control conditions are determined, and the position relationship control conditions are that the connecting lanes with different turns entering the intersection to be processed from the same entry lane cannot overlap each other, and the connecting lanes of the same exit lane leaving the intersection to be processed from different entry lanes cannot overlap each other.

[0154] In a possible implementation manner, the determining unit 1202 is configured to:

[0155] The multiple control points are determined based on the turning start lines corresponding to the entry lane line and the exit lane line to be connected, the turning information between the entry lane line and the exit lane line to be connected, and the lane widths corresponding to the entry lane line and the exit lane line to be connected.

[0156] In a possible implementation manner, the determining unit 1202 is configured to:

[0157] Determine the first control point and the last control point of the multiple control points according to the turning start lines respectively corresponding to the entry lane line and the exit lane line to be connected;

[0158] If it is determined that the multiple control points belong to the first-level control points according to the turning information between the entry lane line and the exit lane line to be connected, and the entry lane line and the exit lane line to be connected, then the intermediate control points are determined according to the obtained second-level control points and the lane widths respectively corresponding to the entry lane line and the exit lane line to be connected; the first-level control points and the second-level control points are used to obtain the same connected lane, the connected lane includes the lane virtual boundary line, and the calculation priority of the first-level control points is lower than the calculation priority of the second-level control points;

[0159] The first control point, the last control point and the middle control point are determined as the multi-segment control points.

[0160] It can be seen from the above technical solution that when it is necessary to generate a virtual lane boundary line in an intersection on an electronic map, the entry lane line and the exit lane line of the intersection to be processed can be obtained first, and the turning start line of the entry lane line and the turning start line of the exit lane line can be determined. The turning start line is used to indicate the starting position of entering the intersection to be processed along the entry lane line and the starting position of leaving the intersection to be processed along the exit lane line, so as to determine the position where the driving tool starts turning and ends turning in the intersection, so as to determine the starting position and ending position of the lane virtual boundary line in the intersection. Some of the entry lane lines and exit lane lines of the intersection to be processed need to be connected through the lane virtual boundary line, so as to indicate the driving area range in the intersection to be processed through the lane virtual boundary line. For the entry lane lines and exit lane lines to be connected, the lane virtual boundary line can be generated by Bezier curve fitting. The control point is the key element of Bezier curve fitting, so multiple control points can be determined based on the turning start lines corresponding to the entry lane lines and exit lane lines to be connected, and the turning information between the entry lane lines and exit lane lines to be connected. Each segment of control points is used to determine the shape and direction of the corresponding curve, and then Bezier curve fitting is performed on each segment of the multiple control points to obtain multiple segments of fitting curves, and the multiple segments of fitting curves are spliced ​​to obtain a lane virtual boundary line used to connect the entry lane line and the exit lane line to be connected. The present application can automatically generate lane virtual boundary lines, thereby avoiding manual dependence and improving the generation efficiency and accuracy of lane virtual boundaries. In addition, by splicing together the fitting curves drawn by multiple segments of control points to obtain lane virtual boundary lines, multi-segment splicing can flexibly control the position where the fitting curve actually passes, thereby facilitating the generation of more accurate lane virtual boundary lines.

[0161] The embodiment of the present application also provides a computer device, which can execute the method for generating a lane virtual boundary line. The computer device can be a terminal, Fig.13 The structure diagram of a terminal provided by an embodiment of the present application is shown. Fig.13 In the example, the terminal is a smartphone:

[0162] refer to Fig.13The smartphone includes: a radio frequency (RF) circuit 1310, a memory 1320, an input unit 1330, a display unit 1340, a sensor 1350, an audio circuit 1360, a wireless fidelity (WiFi) module 1370, a processor 1380, and a power supply 1390. The input unit 1330 may include a touch panel 1331 and other input devices 1332, the display unit 1340 may include a display panel 1341, and the audio circuit 1360 may include a speaker 1361 and a microphone 1362. It is understood that Fig.13 The structure of the smartphone shown in the figure does not constitute a limitation of the smartphone, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0163] The memory 1320 can be used to store software programs and modules. The processor 1380 executes various functional applications and data processing of the smartphone by running the software programs and modules stored in the memory 1320. The memory 1320 may mainly 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 (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the smartphone (such as audio data, a phone book, etc.), etc. In addition, the memory 1320 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 volatile solid-state storage devices.

[0164] The processor 1380 is the control center of the smartphone, which uses various interfaces and lines to connect various parts of the entire smartphone, and executes various functions of the smartphone and processes data by running or executing software programs and / or modules stored in the memory 1320, and calling data stored in the memory 1320. Optionally, the processor 1380 may include one or more processing units; preferably, the processor 1380 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 1380.

[0165] In this embodiment, the processor 1380 in the smart phone can execute the method for generating lane virtual boundary lines provided in the embodiments of the present application.

[0166] The computer device provided in the embodiment of the present application may also be a server. Fig.14 As shown, Fig.14The structural diagram of the server 1400 provided in the embodiment of the present application, the server 1400 may have relatively large differences due to different configurations or performances, and may include one or more processors, such as a central processing unit (CPU) 1422, and a memory 1432, one or more storage media 1430 (such as one or more mass storage devices) storing application programs 1442 or data 1444. Among them, the memory 1432 and the storage medium 1430 can be short-term storage or persistent storage. The program stored in the storage medium 1430 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the server. Furthermore, the central processing unit 1422 can be configured to communicate with the storage medium 1430 and execute a series of instruction operations in the storage medium 1430 on the server 1400.

[0167] The server 1400 may also include one or more power supplies 1426, one or more wired or wireless network interfaces 1450, one or more input and output interfaces 1458, and / or one or more operating systems 1441, such as Windows Server 2003. TM , Mac OS X TM , Unix TM , Linux TM , FreeBSD TM etc.

[0168] In this embodiment, the central processor 1422 in the server 1400 can execute the method for generating lane virtual boundary lines provided in the embodiments of the present application.

[0169] According to one aspect of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium is used to store a computer program, wherein the computer program is used to execute the method for generating a lane virtual boundary line described in each of the aforementioned embodiments.

[0170] According to one aspect of the present application, a computer program product is provided, the computer program product comprising a computer program, the computer program being stored in a computer-readable storage medium. A processor of a computer device reads the computer program from the computer-readable storage medium, and the processor executes the computer program, so that the computer device executes the method provided in various optional implementations of the above-mentioned embodiments.

[0171] The descriptions of the processes or structures corresponding to the above-mentioned figures have different emphases. For parts that are not described in detail in a certain process or structure, please refer to the relevant descriptions of other processes or structures.

[0172] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein, for example. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0173] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0174] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0175] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0176] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a terminal, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), disk or optical disk and other media that can store computer programs.

[0177] In the embodiments of the present application, the term "module" or "unit" refers to a computer program or a part of a computer program that has a predetermined function and works together with other related parts to achieve a predetermined goal, and can be implemented in whole or in part by using software, hardware (such as processing circuits or memories), or a combination thereof. Similarly, a processor (or multiple processors or memories) can be used to implement one or more modules or units. In addition, each module or unit can be part of an overall module or unit that includes the function of the module or unit.

[0178] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, ordinary technical members in the art should understand that they can still modify the technical solutions recorded in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for generating a lane virtual boundary line, characterized in that: The method comprises: Get the entry lane line and exit lane line of the intersection to be processed; Determine a turning start line of the entry lane line and a turning start line of the exit lane line, wherein the turning start line is used to indicate a starting position of entering the intersection to be processed along the entry lane line and a starting position of leaving the intersection to be processed along the exit lane line; For the entry lane line and the exit lane line to be connected, based on the turning start lines respectively corresponding to the entry lane line and the exit lane line to be connected, and the turning information between the entry lane line and the exit lane line to be connected, determining multiple control points; Performing Bezier curve fitting on each of the multiple control points to obtain multiple fitting curves, and splicing the multiple fitting curves to obtain a lane virtual boundary line, wherein the lane virtual boundary line is used to connect the entry lane line and the exit lane line to be connected; each control point is used to determine the shape and direction of the curve; The determining of multiple control points based on the turning start lines respectively corresponding to the entry lane line and the exit lane line to be connected, and the turning information between the entry lane line and the exit lane line to be connected, includes: Determine the multiple control points based on the turning start lines respectively corresponding to the entry lane line and the exit lane line to be connected, the turning information between the entry lane line and the exit lane line to be connected, and the lane widths respectively corresponding to the entry lane line and the exit lane line to be connected; The determining of the multiple control points based on the turning start lines respectively corresponding to the entry lane line and the exit lane line to be connected, the turning information between the entry lane line and the exit lane line to be connected, and the lane widths respectively corresponding to the entry lane line and the exit lane line to be connected, comprises: Determine the first control point and the last control point of the multiple control points according to the turning start lines respectively corresponding to the entry lane line and the exit lane line to be connected; If it is determined that the multiple control points belong to the first-level control points according to the turning information between the entry lane line and the exit lane line to be connected, and the entry lane line and the exit lane line to be connected, then the intermediate control points are determined according to the obtained second-level control points and the lane widths respectively corresponding to the entry lane line and the exit lane line to be connected; the first-level control points and the second-level control points are used to obtain the same connected lane, the connected lane includes the lane virtual boundary line, and the calculation priority of the first-level control points is lower than the calculation priority of the second-level control points; The first control point, the last control point and the middle control point are determined as the multi-segment control points.

2. The method according to claim 1, characterized in that The determining of the turning start line of the entering lane line and the turning start line of the exiting lane line comprises: Acquire map element data of the intersection to be processed; According to the map element data, a turning start line of the entry lane line and a turning start line of the exit lane line are determined.

3. The method according to claim 2, characterized in that The step of determining the turning start line of the entry lane line and the turning start line of the exit lane line according to the map element data comprises: If it is determined based on the map element data that the intersection to be processed has a first crosswalk at the entry lane line, a left turn and U-turn entry starting line is determined according to the position of a first inner boundary of the first crosswalk, the first inner boundary being a boundary of the first crosswalk away from the entry lane line, and a right turn and straight entry starting line is determined according to the position of the end point of the entry lane line, the turning starting line of the entry lane line includes the left turn and U-turn entry starting line and the right turn and straight entry starting line; If it is determined based on the map element data that the first pedestrian crossing does not exist at the entry lane line of the intersection to be processed, determining the turning start line of the entry lane line according to the position of the end point of the entry lane line; If it is determined based on the map element data that the intersection to be processed has a second crosswalk at the exit lane line, a left turn and U-turn exit starting line is determined according to the position of a second inner boundary of the second crosswalk, the second inner boundary being a boundary of the second crosswalk away from the exit lane line, and a right turn and straight exit starting line is determined according to the position of the starting point of the exit lane line, the turning starting line of the exit lane line includes the left turn and U-turn exit starting line and the right turn and straight exit starting line; If it is determined based on the map element data that the second crosswalk does not exist at the exit lane line of the intersection to be processed, the turning start line of the exit lane line is determined according to the position of the starting point of the exit lane line.

4. The method according to claim 3, characterized in that The step of determining, according to the position of the first inner boundary of the first crosswalk, to turn left and enter the starting line includes: From the end point of the lane entry line, extend along the first driving direction to a first position beyond the first inner boundary, and determine the line perpendicular to the first driving direction at the first position as the left turn entry start line; Determining the right turn and straight-ahead entry start line according to the position of the end point of the entry lane line comprises: From the end point of the lane entry line, a second position extending a first preset distance along the first driving direction is determined, and a line perpendicular to the first driving direction at the second position is determined as the right turn straight entry start line; The step of determining the left turn and U-turn exit starting line according to the position of the second inner boundary of the second crosswalk comprises: From the starting point of the exit lane line, extend in a direction opposite to the second driving direction to a third position beyond the second inner boundary, and determine a line perpendicular to the second driving direction at the third position as the left turn exit starting line; Determining the right turn straight exit start line according to the position of the starting point of the exit lane line includes: From the starting point of the exit lane line, a fourth position of a second preset distance is extended in the direction opposite to the second driving direction, and a line perpendicular to the second driving direction at the fourth position is determined as the right turn straight exit starting line.

5. The method according to claim 1, characterized in that Any two adjacent control points in the multiple control points are the first control point and the second control point, the first control point is closer to the entry lane line of the entry lane line and the exit lane line to be connected than the second control point, and the last control point in the first control point is the first control point in the second control point.

6. The method according to claim 5, characterized in that The connecting point of the first section control points and the second section control points is on the same straight line as the first control point in the first section control points and the second control point in the second section control points, the connecting point is the last control point in the first section control points and the first control point in the second section control points, the first control point is the control point in the first section control points adjacent to the connecting point, and the second control point is the control point in the second section control points adjacent to the connecting point.

7. A device for generating a lane virtual boundary line, characterized in that: The device comprises an acquisition unit, a determination unit, a fitting unit and a splicing unit: The acquisition unit is used to acquire the entry lane line and the exit lane line of the intersection to be processed; The determination unit is used to determine the turning start line of the entry lane line and the turning start line of the exit lane line, wherein the turning start line is used to indicate the starting position of entering the intersection to be processed along the entry lane line and the starting position of leaving the intersection to be processed along the exit lane line; The determination unit is further configured to determine, for the entry lane line and the exit lane line to be connected, a plurality of control points based on the turning start lines respectively corresponding to the entry lane line and the exit lane line to be connected, and the turning information between the entry lane line and the exit lane line to be connected; The fitting unit is used to perform Bezier curve fitting on each of the multiple control points to obtain multiple fitting curves; The splicing unit is used to obtain a lane virtual boundary line by splicing the multiple fitting curves, wherein the lane virtual boundary line is used to connect the entry lane line and the exit lane line to be connected; each control point is used to determine the shape and direction of the curve; The determining unit is used for: Determine the multiple control points based on the turning start lines respectively corresponding to the entry lane line and the exit lane line to be connected, the turning information between the entry lane line and the exit lane line to be connected, and the lane widths respectively corresponding to the entry lane line and the exit lane line to be connected; The determining unit is used for: Determine the first control point and the last control point of the multiple control points according to the turning start lines respectively corresponding to the entry lane line and the exit lane line to be connected; If it is determined that the multiple control points belong to the first-level control points according to the turning information between the entry lane line and the exit lane line to be connected, and the entry lane line and the exit lane line to be connected, then the intermediate control points are determined according to the obtained second-level control points and the lane widths respectively corresponding to the entry lane line and the exit lane line to be connected; the first-level control points and the second-level control points are used to obtain the same connected lane, the connected lane includes the lane virtual boundary line, and the calculation priority of the first-level control points is lower than the calculation priority of the second-level control points; The first control point, the last control point and the middle control point are determined as the multi-segment control points.

8. The device according to claim 7, characterized in that The determining unit is used for: Acquire map element data of the intersection to be processed; According to the map element data, a turning start line of the entry lane line and a turning start line of the exit lane line are determined.

9. The device according to claim 8, characterized in that The determining unit is used for: If it is determined based on the map element data that the intersection to be processed has a first crosswalk at the entry lane line, a left turn and U-turn entry starting line is determined according to the position of a first inner boundary of the first crosswalk, the first inner boundary being a boundary of the first crosswalk away from the entry lane line, and a right turn and straight entry starting line is determined according to the position of the end point of the entry lane line, the turning starting line of the entry lane line includes the left turn and U-turn entry starting line and the right turn and straight entry starting line; If it is determined based on the map element data that the first pedestrian crossing does not exist at the entry lane line of the intersection to be processed, determining the turning start line of the entry lane line according to the position of the end point of the entry lane line; If it is determined based on the map element data that the intersection to be processed has a second crosswalk at the exit lane line, a left turn and U-turn exit starting line is determined according to the position of a second inner boundary of the second crosswalk, the second inner boundary being a boundary of the second crosswalk away from the exit lane line, and a right turn and straight exit starting line is determined according to the position of the starting point of the exit lane line, the turning starting line of the exit lane line includes the left turn and U-turn exit starting line and the right turn and straight exit starting line; If it is determined based on the map element data that the second crosswalk does not exist at the exit lane line of the intersection to be processed, the turning start line of the exit lane line is determined according to the position of the starting point of the exit lane line.

10. The device according to claim 9, characterized in that The determining unit is used for: From the end point of the lane entry line, extend along the first driving direction to a first position beyond the first inner boundary, and determine the line perpendicular to the first driving direction at the first position as the left turn entry start line; From the end point of the lane entry line, a second position extending a first preset distance along the first driving direction is determined, and a line perpendicular to the first driving direction at the second position is determined as the right turn straight entry start line; From the starting point of the exit lane line, extend in a direction opposite to the second driving direction to a third position beyond the second inner boundary, and determine a line perpendicular to the second driving direction at the third position as the left turn exit starting line; From the starting point of the exit lane line, a fourth position of a second preset distance is extended in the direction opposite to the second driving direction, and a line perpendicular to the second driving direction at the fourth position is determined as the right turn straight exit starting line.

11. The device according to claim 7, characterized in that Any two adjacent control points in the multiple control points are the first control point and the second control point, the first control point is closer to the entry lane line of the entry lane line and the exit lane line to be connected than the second control point, and the last control point in the first control point is the first control point in the second control point.

12. The device according to claim 11, characterized in that The connecting point of the first section control points and the second section control points is on the same straight line as the first control point in the first section control points and the second control point in the second section control points, the connecting point is the last control point in the first section control points and the first control point in the second section control points, the first control point is the control point in the first section control points adjacent to the connecting point, and the second control point is the control point in the second section control points adjacent to the connecting point.

13. A computer device, characterized in that: The computer device comprises a processor and a memory: The memory is used to store a computer program and transmit the computer program to the processor; The processor is configured to execute the method according to any one of claims 1 to 6 according to the instructions in the computer program.

14. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store a computer program, which, when executed by a processor, enables the processor to perform the method according to any one of claims 1 to 6.

15. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Intersection face virtual lane line generation method and device based on high-precision map

    CN116228917A