Lane broken road detection method and device, electronic equipment and readable storage medium

Point cloud data processing is performed through the detection equipment on the vehicle to detect lane conditions in real time, which solves the problem of dependence on road network data in the existing technology and improves the accuracy and safety of dead end road detection.

CN118692233APending Publication Date: 2024-09-24CHONGQING CHANGAN AUTOMOBILE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410739515.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-07
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

Existing dead ends detection solutions rely too much on road network data, which increases the difficulty and cost of detection, and may result in new dead ends not being detected in time, affecting driver safety.

Method used

Point cloud data is obtained through the detection equipment on the vehicle, and point cloud screening, spatio-temporal alignment and lane screening are performed. The vehicle's motion parameters are used to predict the current lane conditions, and the counter determines whether there is a dead end in the lane, reducing reliance on road network data.

Benefits of technology

It reduces the difficulty and cost of dead end road detection, achieves real-time updates and accurate detection, and improves driving safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118692233A
    Figure CN118692233A
Patent Text Reader

Abstract

The embodiment of the invention provides a lane broken road detection method and device, electronic equipment and a readable storage medium, and the method comprises the steps: obtaining the point cloud data of a peripheral region of a vehicle through detection equipment on the vehicle when the vehicle runs, and carrying out the point cloud screening, time-space synchronization and lane screening of the point cloud data, screening to obtain target point clouds respectively corresponding to different lanes at historical moments; predicting target point clouds corresponding to different lanes at the current moment based on the motion parameters and historical information of the vehicle; according to current information and historical information of the point cloud data, counting values of counters corresponding to the different lanes are controlled, and then whether a broken road exists in the lanes or not is judged. According to the embodiment of the invention, the broken road is detected no longer depending on road network information, the original detection equipment on the vehicle is utilized, the difficulty and the cost of broken road detection are reduced, whether the broken road exists in the lane or not is updated in real time, and the driving safety of the vehicle is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present invention relate to the technical field of autonomous driving vehicle technology, and in particular, to a method for detecting a dead end in a lane, a device for detecting a dead end in a lane, an electronic device, and a computer-readable storage medium. Background Art

[0002] A dead-end road refers to a road in a certain small or medium-sized area that is not connected to other corresponding road networks. It is a special road form with special road location characteristics. At dead-end roads, drivers often have traffic accidents because they do not know the road conditions in advance or plan their driving routes in advance, which affects the safety of drivers. With the development of autonomous driving technology, dead-end roads can be identified in many ways.

[0003] In the prior art, dead-end road detection using road network data is a common method. Dead-end road detection can also be performed using remote sensing data, but it also relies on road network data. However, the acquisition and storage of road network data requires relevant qualifications, and the road network data needs to be processed, which increases the difficulty and cost of dead-end road detection, thereby increasing the cost of autonomous driving. In addition, road network data is not updated in real time. Excessive reliance on road network data will result in some newly emerging dead-end roads not being detected, making it impossible to plan in advance to avoid the impact of dead-end roads on drivers. Summary of the invention

[0004] The embodiments of the present invention provide a lane dead-end detection method, device, electronic device and computer-readable storage medium to solve the problem that in existing dead-end detection schemes, excessive reliance on road network data not only increases the difficulty and cost of dead-end detection, but also causes the problem of affecting drivers due to the inability to plan in advance to avoid dead-ends.

[0005] An embodiment of the present invention discloses a method for detecting a dead end of a lane, the method comprising:

[0006] When the vehicle is traveling on the road, point cloud data of the surrounding area of ​​the vehicle is obtained by using a detection device on the vehicle, and the point cloud data is screened to obtain a usable point cloud;

[0007] Aligning the spatiotemporal information of the available point clouds to obtain an aligned point cloud; the spatiotemporal information includes time information and space information;

[0008] Perform lane screening on the aligned point cloud to obtain target point clouds corresponding to different lanes on the road at the historical moment;

[0009] Based on the motion parameters of the vehicle and the target point clouds corresponding to the different lanes on the road at the historical moment, the target point clouds corresponding to the different lanes on the road at the current moment are predicted;

[0010] According to the distances between the target point clouds corresponding to the different lanes on the road at the historical moment and the target point clouds corresponding to the different lanes on the road at the current moment, control the counters corresponding to the different lanes on the road to count and obtain count values;

[0011] When the count value of the counter corresponding to the lane is greater than the count threshold, it is determined that a dead end exists in the lane.

[0012] Optionally, the point cloud data includes millimeter wave radar point cloud and camera drivable area point cloud.

[0013] Optionally, the step of screening the point cloud data to obtain a usable point cloud includes:

[0014] Screening the millimeter-wave radar point cloud according to the driving speed of the vehicle and the speed of the millimeter-wave radar point cloud to obtain a first point cloud;

[0015] According to the label information of the camera drivable area point cloud, point cloud screening is performed in the camera drivable area point cloud to obtain a second point cloud;

[0016] The first point cloud and the second point cloud are used as the available point clouds.

[0017] Optionally, aligning the spatiotemporal information of the available point clouds to obtain an aligned point cloud includes:

[0018] Synchronizing the time of the available point cloud to the system timestamp according to the timestamp in the available point cloud, and transforming the coordinate system corresponding to the available point cloud to the target coordinate system according to the transformation matrix, so as to align the time information and the spatial information of the available point cloud, thereby obtaining the aligned point cloud;

[0019] Among them, the timestamp in the available point cloud is the system timestamp corresponding to the time of obtaining the millimeter-wave radar point cloud and the camera drivable area point cloud, and the transformation matrix includes translation information and rotation information. The translation information is used to describe the position of the coordinate system corresponding to the available point cloud relative to the target coordinate system, and the rotation information is used to describe the direction of the coordinate system corresponding to the available point cloud relative to the target coordinate system.

[0020] Optionally, the lanes include a left lane, a self-lane, and a right lane, and the lane screening of the aligned point cloud to obtain target point clouds corresponding to different lanes on the road at a historical moment includes:

[0021] According to the coordinates of the aligned point cloud and the lane line equation, target data corresponding to the lane line equation is obtained; the target data corresponding to the lane line equation includes left target data and right target data;

[0022] Determining the alignment point clouds corresponding to the different lanes on the road according to the size relationship between the coordinates of the alignment point cloud and the target data corresponding to the different lane line equations;

[0023] The aligned point clouds corresponding to different lanes on the road are respectively sorted by coordinates, and the target point clouds corresponding to different lanes on the road at the historical moment are determined in the aligned point clouds corresponding to different lanes on the road.

[0024] Optionally, the coordinates of the aligned point cloud include a ordinate and a ordinate, and determining the aligned point clouds corresponding to different lanes on the road according to the size relationship between the coordinates of the aligned point cloud and the target data corresponding to the different lane line equations respectively includes:

[0025] Comparing the ordinates of the aligned point cloud with the target data respectively;

[0026] When the ordinate of the alignment point cloud is smaller than the left target data and the ordinate of the alignment point cloud is not greater than the right target data, determining the alignment point cloud as the alignment point cloud corresponding to the left lane on the road;

[0027] When the ordinate of the alignment point cloud is smaller than the left target data and the ordinate of the alignment point cloud is larger than the right target data, the alignment point cloud is determined as the alignment point cloud corresponding to the lane on the road;

[0028] When the ordinate of the alignment point cloud is not less than the left target data and the ordinate of the alignment point cloud is greater than the right target data, determining the alignment point cloud as the alignment point cloud corresponding to the right lane on the road;

[0029] The alignment point cloud corresponding to the left lane on the road, the alignment point cloud corresponding to the self-lane on the road, and the alignment point cloud corresponding to the right lane on the road are used as the alignment point clouds corresponding to different lanes on the road.

[0030] Optionally, the coordinate sorting of the aligned point clouds corresponding to the different lanes on the road, and determining the target point clouds corresponding to the different lanes on the road at the historical moment from the aligned point clouds corresponding to the different lanes on the road, includes:

[0031] According to the sizes of the horizontal coordinates of the aligned point clouds corresponding to different lanes on the road, the aligned point clouds corresponding to different lanes on the road are sorted to determine the target point clouds corresponding to different lanes on the road at the historical moment; wherein the horizontal coordinate of the target point cloud is greater than zero and is the smallest among the horizontal coordinates of the aligned point clouds corresponding to different lanes on the road.

[0032] Optionally, controlling the counters corresponding to the different lanes to count and obtain count values ​​according to the distances between the target point clouds corresponding to the different lanes on the road at the historical moment and the target point clouds corresponding to the different lanes on the road at the current moment includes:

[0033] Determine the Euclidean distance between the target point clouds corresponding to the different lanes on the road at the historical moment and the target point clouds corresponding to the different lanes on the road at the current moment;

[0034] When the Euclidean distance is less than a distance threshold, counters corresponding to different lanes on the road are controlled to count, and the count value is increased by one.

[0035] The embodiment of the present invention further discloses a device for detecting a dead-end road of a lane, the device comprising:

[0036] A point cloud screening module, used for obtaining point cloud data of the surrounding area of ​​the vehicle through a detection device on the vehicle when the vehicle is driving on the road, and performing point cloud screening on the point cloud data to obtain a usable point cloud;

[0037] An alignment module, used to align the spatiotemporal information of the available point clouds to obtain an aligned point cloud; the spatiotemporal information includes time information and space information;

[0038] A lane screening module, used to perform lane screening on the aligned point cloud to obtain target point clouds corresponding to different lanes on the road at a historical moment;

[0039] A prediction module, configured to predict target point clouds corresponding to different lanes on the road at a current moment based on motion parameters of the vehicle and target point clouds corresponding to different lanes on the road at the historical moment;

[0040] A control module, for controlling the counters corresponding to the different lanes on the road to count and obtain count values ​​according to the distances between the target point clouds corresponding to the different lanes on the road at the historical moment and the target point clouds corresponding to the different lanes on the road at the current moment;

[0041] The determination module is used to determine that a dead-end road exists in the lane when the count value of the counter corresponding to the lane is greater than a count threshold.

[0042] The embodiment of the present invention further discloses an electronic device, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;

[0043] The memory is used to store computer programs;

[0044] The processor is used to implement the method described in the embodiment of the present invention when executing the program stored in the memory.

[0045] The embodiment of the present invention further discloses a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method described in the embodiment of the present invention.

[0046] The embodiment of the present invention further discloses a computer-readable storage medium having instructions stored thereon, which, when executed by one or more processors, enables the processors to execute the method described in the embodiment of the present invention.

[0047] The embodiments of the present invention include the following advantages:

[0048] In an embodiment of the present invention, when a vehicle is traveling on a road, point cloud data of the surrounding area of ​​the vehicle is obtained through the detection equipment on the vehicle, and the point cloud data is screened to obtain an available point cloud; the spatiotemporal information of the available point cloud is aligned to obtain an aligned point cloud; the spatiotemporal information includes time information and space information; the aligned point cloud is screened for lanes to obtain target point clouds corresponding to different lanes on the road at historical moments; based on the motion parameters of the vehicle and the target point clouds corresponding to different lanes on the road at the historical moments, the target point clouds corresponding to different lanes on the road at the current moment are predicted; according to the distance between the target point clouds corresponding to different lanes on the road at the historical moments and the target point clouds corresponding to different lanes on the road at the current moment, the counters corresponding to different lanes on the road are controlled to count to obtain count values; when the count value of the counter corresponding to the lane is greater than the count threshold, it is determined that there is a dead end in the lane. The embodiment of the present invention performs point cloud screening, spatiotemporal synchronization and lane screening through point cloud data to screen out useful point cloud data; according to the current information and historical information of these point cloud data, it is known whether there is a dead end in the lane on the road. In the embodiment of the present invention, the detection equipment on the vehicle is used to detect the dead-end road, which no longer needs to rely on the road network information, but uses the original detection equipment of the automatic driving system on the vehicle, which greatly reduces the difficulty and cost of the dead-end road detection, thereby reducing the cost of automatic driving. At the same time, the detection equipment on the vehicle is used to perform real-time detection and update in real time whether there is a dead-end road in the lane on the road, which can remind the driver in time, thereby greatly improving the safety of the vehicle during driving. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] Figure 1 is a flowchart of the steps of a method for detecting a dead end of a lane provided in an embodiment of the present invention;

[0050] Figure 2 is a structural block diagram of a lane dead-end detection device provided in an embodiment of the present invention;

[0051] Figure 3 is a schematic diagram of the hardware structure of an electronic device for implementing various embodiments of the present invention;

[0052] Figure 4 is a schematic diagram of a computer-readable medium provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0053] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0054] Reference Figure 1, shows a flowchart of a method for detecting a dead end of a lane provided in an embodiment of the present invention, which may specifically include the following steps:

[0055] Step 101: When a vehicle is driving on a road, point cloud data of the surrounding area of ​​the vehicle is obtained through a detection device on the vehicle, and the point cloud data is screened to obtain a usable point cloud; the point cloud data includes a millimeter-wave radar point cloud and a camera drivable area point cloud.

[0056] When a vehicle is driving on the road, point cloud data of the area around the vehicle can be obtained through the detection equipment on the vehicle. In the vehicle's automatic driving system, millimeter-wave radar and camera are both commonly used sensors. Millimeter-wave radar is used to detect the distance, speed and angle of target objects around the vehicle, and the camera is used to detect the environment of the area around the vehicle. Therefore, in the embodiment of the present invention, the millimeter-wave radar will periodically emit radio waves and receive the reflected signals to obtain the millimeter-wave radar point cloud, and obtain the camera's drivable area point cloud through the camera on the vehicle, and use the millimeter-wave radar point cloud and the camera's drivable area point cloud as the point cloud data of the vehicle's surrounding area.

[0057] In an embodiment of the present invention, point cloud data for detecting lane dead ends is obtained through cameras and millimeter-wave radars on the vehicle. It no longer relies on road network information, but instead utilizes the original detection equipment on the vehicle, greatly reducing the difficulty and cost of dead-end detection, thereby reducing the cost of autonomous driving.

[0058] When performing point cloud screening on point cloud data, it is necessary to obtain the speed information of the vehicle and the speed of the millimeter-wave radar point cloud, calculate the speed of the millimeter-wave radar point cloud relative to the vehicle based on the speed information of the vehicle and the speed of the millimeter-wave radar point cloud, and set a speed threshold. When the speed of the millimeter-wave radar point cloud relative to the vehicle is less than the speed threshold, these millimeter-wave radar point clouds can be determined to be stationary point clouds, that is, the objects represented by the stationary point clouds can be considered to be stationary. Moreover, the camera first obtains the camera point cloud. At this time, the camera point cloud needs to be preprocessed, and then the preprocessed camera point cloud is classified to obtain point clouds under different categories, and then the camera drivable area point cloud can be determined, and then the point cloud that is not an obstacle can be determined based on the attribute information of the camera drivable area point cloud. Although the camera drivable area point cloud already belongs to the point cloud on the drivable area, and in the prior art, the drivable area can be understood as an area that does not include obstacles, but when the camera point cloud is initially roughly classified, some obstacle point clouds may be mistakenly classified as drivable areas. These misclassified point clouds may affect the results of subsequent dead-end road detection. Therefore, in order to improve the accuracy of the dead-end road detection results, it is necessary to further determine the point cloud that is not an obstacle based on the attribute information of the camera drivable area point cloud.

[0059] In an embodiment of the present invention, a large amount of point cloud data initially acquired includes many different types of point clouds. By performing point cloud screening on a large amount of point cloud data, static point clouds and point clouds that are not obstacles can be screened out, thereby reducing the amount of data that needs to be processed, simplifying subsequent data analysis and processing processes, and obtaining broken head detection results more quickly, thereby promptly reminding the driver, greatly improving the safety of the vehicle during driving.

[0060] Step 102: aligning the spatiotemporal information of the available point clouds to obtain an aligned point cloud; the spatiotemporal information includes time information and space information;

[0061] In an embodiment of the present invention, the available point cloud includes the stationary point cloud in the millimeter-wave radar point cloud and the non-obstacle point cloud in the camera's drivable area point cloud. These two point clouds come from different detection devices on the vehicle, that is, data from different sensors. At this time, the data from different sensors need to be fused, so the stationary point cloud and the non-obstacle point cloud need to be kept consistent in time information and spatial information to achieve more accurate data fusion.

[0062] Moreover, in the subsequent process of processing point cloud data, many vehicle algorithms need to be processed based on data sets with consistent spatiotemporal information. Directly aligning the time information at the initial stage can simplify the implementation of these vehicle algorithms.

[0063] Furthermore, in the embodiment of the present invention, it is necessary to determine whether there is a dead end on the lane based on these point cloud data. That is to say, the vehicle's automatic driving system needs to respond to environmental changes in real time. Therefore, the static point cloud and the point cloud without obstacles need to be kept consistent in time and space information. This can ensure that the latest data is used in the subsequent detection process, and thus it can be determined in real time whether there is a dead end on the lane.

[0064] Step 103, performing lane screening on the aligned point cloud to obtain target point clouds corresponding to different lanes on the road at the historical moment;

[0065] In an embodiment of the present invention, it is necessary to screen out point clouds falling within the left lane, the own lane and the right lane according to the lane line equation in the point cloud data after point cloud screening and time alignment, and then in the corresponding point clouds of different lanes, the point cloud with the closest longitudinal distance to the vehicle is marked with the corresponding lane label.

[0066] By determining the point clouds corresponding to different lanes and marking them with lane labels, we can understand the status of the lane where the vehicle is and the adjacent lanes in real time. If the nearest point of a lane suddenly disappears or the distance to the vehicle increases sharply, this may be a sign that the lane has a dead end. In addition, using historical data, the vehicle's autonomous driving system can predict the position changes of lane lines on the road. If the predicted result is inconsistent with the actual detected nearest point position, it may indicate that the lane line has disappeared, which means that the lane has a dead end.

[0067] In this case, the vehicle's automatic driving system can accurately monitor the status of different lanes on the road the vehicle is traveling on, detect dead ends in a timely manner, and respond quickly, reminding the driver in time, thereby greatly improving the safety of the vehicle during driving.

[0068] Step 104: based on the motion parameters of the vehicle and the target point clouds corresponding to the different lanes on the road at the historical moments, predict the target point clouds corresponding to the different lanes on the road at the current moment;

[0069] In an embodiment of the present invention, in order to detect the road environment on the road on which the vehicle is traveling in real time, it is necessary not only to judge the road environment based on the point cloud data at historical moments, but also to judge the road environment in combination with the point cloud data under the current circumstances. The combination of the two can better understand the changes in the road environment on the road on which the vehicle is traveling, and then better determine whether there is a dead end in the lane in the future.

[0070] The target point clouds corresponding to different lanes at the current moment can be obtained in real time through the aforementioned processing steps, or can be predicted through the vehicle's motion parameters and the target point clouds corresponding to different lanes at historical moments.

[0071] However, in this method of obtaining the target point clouds corresponding to different lanes at the current moment in real time, since a series of processes such as equipment acquisition, point cloud screening, spatiotemporal alignment, and lane screening are required, not only high computing resources are required, but also the target point clouds obtained by this method will have a certain delay when the vehicle is driving at high speed or in a complex environment, which will affect the subsequent dead-end road detection. In this method of obtaining the target point clouds corresponding to different lanes at the current moment by prediction, not only can a response be made before the real-time data arrives, but also the environmental status on the current vehicle driving road can be better judged by prediction. Therefore, in an embodiment of the present invention, the target point clouds corresponding to different lanes at the current moment are predicted by the vehicle's motion parameters and the target point clouds corresponding to different lanes at historical moments.

[0072] Specifically, first calculate the rotation matrix from the previous moment to the current moment based on the rotation angle γ and the lateral and longitudinal displacements ΔX1 and ΔY1 of the vehicle And the vehicle's movement vector [ΔX1, ΔY1] T ; Multiply the rotation matrix by the position coordinates minus the moving distance to get the predicted coordinates of each lane point at the current moment;

[0073] Step 105, according to the distance between the target point clouds corresponding to the different lanes on the road at the historical moment and the target point clouds corresponding to the different lanes on the road at the current moment, control the counters corresponding to the different lanes on the road to count and obtain count values;

[0074] In lane dead-end detection, in order to evaluate the continuity and stability of lane lines, it is necessary to determine the distance between the target point clouds corresponding to different lanes at the historical moment and the target point clouds corresponding to different lanes at the current moment, and set a threshold. If the distance is less than the threshold, this usually means that the lane line has not changed significantly in a short period of time. It may be because the vehicle is blocked, such as encountering a dead-end, a construction area or other traffic obstacles. In this case, the vehicle cannot continue to move forward, resulting in an increase in vehicle density in the area. Therefore, the possibility of a dead-end on the lane increases. Therefore, it is necessary to control the counter on the lane to increase the count value of the counter by one. In the subsequent dead-end detection, the detection result needs to be determined based on the count value of the counter.

[0075] Step 106: When the count value of the counter corresponding to the lane is greater than the count threshold, it is determined that a dead end exists in the lane.

[0076] Since point cloud data may be affected by factors such as environmental noise and equipment errors, the distance between the target point clouds corresponding to different lanes at historical moments and the target point clouds corresponding to different lanes at the current moment may occasionally be less than the threshold, which does not necessarily reflect the actual traffic conditions. If a dead-end road is judged based on a single distance less than the distance threshold, it may cause a false alarm due to accidental traffic congestion or vehicle deceleration. Therefore, it is necessary to determine the count value of the counter obtained by multiple accumulations to further avoid the misjudgment of the dead-end road by close-range noise points. In this way, these accidental errors can be filtered out, thereby improving the accuracy of the dead-end road detection results. In one embodiment of the present invention, when the count value of the lane counter is greater than five times, it is determined that there is a dead-end road in the lane.

[0077] While a vehicle is driving, traffic conditions may change due to various reasons, such as temporary traffic control, accidents, etc. Through multiple consecutive detections, it is possible to determine whether the change is continuous, thereby more accurately identifying dead-end roads.

[0078] In actual situations, assume that the roads on which vehicles travel are divided into A, B, and C, where A and C are traffic jams, resulting in the distance being less than the threshold constantly occurring. At this time, other information, such as vehicle speed, vehicle density, historical data, etc., can be combined to make a comprehensive judgment. For example, if the vehicle speed on roads A and C is significantly lower than normal and lasts for a long time, the vehicle's automatic driving system may determine it as a traffic jam rather than a dead end. At the same time, the vehicle's automatic driving system may set more complex logic to distinguish different types of traffic conditions to improve the accuracy of dead-end road detection.

[0079] As an optional embodiment of the present invention, after obtaining the target point clouds corresponding to different lanes at the current moment, if the distance between the target point cloud corresponding to the self-lane at the current moment and the self-vehicle is smaller than the distance between the target point cloud corresponding to the self-lane at the historical moment and the self-vehicle, the target point cloud corresponding to the self-lane at the historical moment is deleted, and the target point cloud corresponding to the self-lane at the current moment is saved and updated. Similarly, the target point clouds corresponding to the left lane and the right lane can also be saved and updated in the same way.

[0080] In an embodiment of the present invention, when a vehicle is traveling on a road, point cloud data of the surrounding area of ​​the vehicle is obtained through the detection equipment on the vehicle, and the point cloud data is screened to obtain an available point cloud; the spatiotemporal information of the available point cloud is aligned to obtain an aligned point cloud; the spatiotemporal information includes time information and space information; the aligned point cloud is screened for lanes to obtain target point clouds corresponding to different lanes on the road at historical moments; based on the motion parameters of the vehicle and the target point clouds corresponding to different lanes on the road at the historical moments, the target point clouds corresponding to different lanes on the road at the current moment are predicted; according to the distance between the target point clouds corresponding to different lanes on the road at the historical moments and the target point clouds corresponding to different lanes on the road at the current moment, the counters corresponding to different lanes on the road are controlled to count to obtain count values; when the count value of the counter corresponding to the lane is greater than the count threshold, it is determined that there is a dead end in the lane. The embodiment of the present invention performs point cloud screening, spatiotemporal synchronization and lane screening through point cloud data to screen out useful point cloud data; according to the current information and historical information of these point cloud data, it is known whether there is a dead end in the lane on the road. In the embodiment of the present invention, the detection equipment on the vehicle is used to detect the dead-end road, which no longer needs to rely on the road network information, but uses the original detection equipment of the automatic driving system on the vehicle, which greatly reduces the difficulty and cost of the dead-end road detection, thereby reducing the cost of automatic driving. At the same time, the detection equipment on the vehicle is used to perform real-time detection and update in real time whether there is a dead-end road in the lane on the road, which can remind the driver in time, thereby greatly improving the safety of the vehicle during driving.

[0081] In one embodiment of the present invention, in step 101, point cloud screening is performed on the point cloud data to obtain a usable point cloud, including:

[0082] Screening the millimeter-wave radar point cloud according to the driving speed of the vehicle and the speed of the millimeter-wave radar point cloud to obtain a first point cloud;

[0083] According to the label information of the camera drivable area point cloud, point cloud screening is performed in the camera drivable area point cloud to obtain a second point cloud;

[0084] The first point cloud and the second point cloud are used as the available point clouds.

[0085] When performing point cloud screening on point cloud data, it is necessary to obtain the speed information of the vehicle and the speed of the millimeter-wave radar point cloud, calculate the speed of the millimeter-wave radar point cloud relative to the vehicle based on the speed information of the vehicle and the speed of the millimeter-wave radar point cloud, and set a speed threshold. When the speed of the millimeter-wave radar point cloud relative to the vehicle is less than the speed threshold, these millimeter-wave radar point clouds can be determined to be stationary point clouds, that is, the objects represented by the stationary point clouds can be considered to be stationary.

[0086] The process of screening the millimeter-wave radar point cloud to obtain a stationary point cloud is as follows: the vehicle's own vehicle speed can be obtained through the vehicle's CAN bus (Controller Area Network) or through a speed sensor integrated in the vehicle; by analyzing the millimeter-wave radar point cloud, the radar can calculate the distance, speed and angle of each point cloud detected, and the speed information of the millimeter-wave radar point cloud is usually calculated by the Doppler effect, expressed as the speed relative to the radar; for. This can be calculated by vector subtraction of the speed measured by the radar from the speed of the vehicle to obtain the speed of the millimeter-wave radar point cloud relative to the vehicle. If the vector difference between the speed of the point cloud and the speed of the vehicle is close to zero, it can be considered that the object represented by the point cloud is stationary and marked as a stationary point cloud.

[0087] Specifically, according to the vehicle speed Vveh and the speed Vr and azimuth angle θ of the millimeter-wave radar point cloud, the stationary point cloud is screened out; first, the speed component Vveh*cosθ of the vehicle speed in the direction of the radar point is calculated, and then the absolute value of the difference between Vveh*cosθ and Vr is calculated. If the absolute value is less than the threshold value (0.3m / s), the radar point is considered to be stationary;

[0088] For the point cloud of the front millimeter-wave radar, in addition to filtering out static point clouds, it is also necessary to filter out point clouds whose lateral and longitudinal positions are within a certain distance range. The lateral position of the point cloud is within a certain distance to the left and right (usually points within the width of three lanes on the left and right, such as within 15m to the left and right of the vehicle), and the longitudinal position is within a certain distance in front and behind (generally no more than 5 times the time distance in front and within the effective range of the sensor, such as 80m in front of the vehicle and generally no more than 40m behind).

[0089] Moreover, the camera first obtains the camera point cloud. At this time, the camera point cloud needs to be preprocessed, and then the preprocessed camera point cloud is classified to obtain point clouds under different categories, and then the camera drivable area point cloud can be determined, and then the point cloud that is not an obstacle can be determined based on the attribute information of the camera drivable area point cloud. Although the camera drivable area point cloud already belongs to the point cloud on the drivable area, and in the prior art, the drivable area can be understood as an area that does not include obstacles, but when the camera point cloud is initially roughly classified, some obstacle point clouds may be mistakenly classified as drivable areas. These misclassified point clouds may affect the results of subsequent dead-end road detection. Therefore, in order to improve the accuracy of the dead-end road detection results, it is necessary to further determine the point cloud that is not an obstacle based on the attribute information of the camera drivable area point cloud.

[0090] Specifically, for the front-view camera, point clouds that may be elements that constitute the road boundary, such as static obstacles, curbs, guardrails, water barrier fences, cones, etc., are selected and classified, and the lateral position of the point cloud is within a certain distance to the left and right (usually points within the width of three lanes on the left and right, such as within 15m to the left and right of the vehicle), and the longitudinal position is within a certain distance front and back (generally no more than 5 times the time distance in front and within the effective range of the sensor, such as 80m in front of the vehicle and 40m behind).

[0091] In an embodiment of the present invention, a large amount of point cloud data initially acquired includes many different types of point clouds. By performing point cloud screening on a large amount of point cloud data, static point clouds and point clouds that are not obstacles can be screened out, thereby reducing the amount of data that needs to be processed, simplifying subsequent data analysis and processing processes, and obtaining broken head detection results more quickly, thereby promptly reminding the driver, greatly improving the safety of the vehicle during driving.

[0092] In one embodiment of the present invention, the step 102 of aligning the spatiotemporal information of the available point clouds to obtain an aligned point cloud includes:

[0093] Synchronizing the time of the available point cloud to the system timestamp according to the timestamp in the available point cloud, and transforming the coordinate system corresponding to the available point cloud to the target coordinate system according to the transformation matrix, so as to align the time information and the spatial information of the available point cloud, thereby obtaining the aligned point cloud;

[0094] Among them, the timestamp in the available point cloud is the system timestamp corresponding to the time of obtaining the millimeter-wave radar point cloud and the camera drivable area point cloud, and the transformation matrix includes translation information and rotation information. The translation information is used to describe the position of the coordinate system corresponding to the available point cloud relative to the target coordinate system, and the rotation information is used to describe the direction of the coordinate system corresponding to the available point cloud relative to the target coordinate system.

[0095] In the embodiment of the present invention, it is necessary to fuse the data from different sensors, so it is necessary to keep the time information and spatial information of the stationary point cloud and the point cloud without obstacles consistent to achieve more accurate data fusion. In addition, in the subsequent data processing of the point cloud data, many vehicle algorithms need to be processed based on data sets with consistent time and space information. Directly aligning the time information at the initial stage can simplify the implementation of these vehicle algorithms.

[0096] Furthermore, in the embodiment of the present invention, it is necessary to determine whether there is a dead end on the lane based on these point cloud data. That is to say, the vehicle's automatic driving system needs to respond to environmental changes in real time. Therefore, the static point cloud and the point cloud without obstacles need to be kept consistent in time and space information. This can ensure that the latest data is used in the subsequent detection process, and thus it can be determined in real time whether there is a dead end on the lane.

[0097] The millimeter-wave radar coordinate system usually takes the installation position of the radar as the origin, and its coordinate axis direction may be related to the physical direction of the radar. Camera coordinate system: usually takes the optical center of the camera as the origin, and the coordinate axis direction follows the image coordinate system, that is, the X axis points to the right, the Y axis points downward, and the Z axis points outward. Vehicle coordinate system (target coordinate system): usually takes a fixed point of the vehicle (such as the center of the rear axle) as the origin, and the coordinate axis direction is X axis forward, Y axis left, and Z axis upward.

[0098] In the process of coordinate system conversion, it is necessary to know the installation position (translation) and installation angle (rotation) of the radar relative to the vehicle coordinate system, and it is also necessary to know the installation position and installation angle of the camera relative to the vehicle coordinate system.

[0099] In the process of converting the coordinate system of the millimeter-wave radar point cloud, specifically, the stationary point cloud is converted from the radar coordinate system to the vehicle coordinate system and synchronized to the system timestamp; first, the coordinates of the radar point in the radar rectangular coordinate system are calculated according to the radial distance r and azimuth θ of the radar point, and the rotation matrix from the radar coordinate system to the vehicle coordinate system is obtained according to the horizontal installation angle α and the installation position X and Y of the radar. and the translation vector [X, Y] T, multiply the rotation matrix by the radar point coordinates, and add the translation vector to obtain the coordinates of the radar point in the vehicle coordinate system; then, according to the rotation angle and the lateral and longitudinal displacements ΔX and ΔY of the vehicle between the radar point cloud timestamp t_0 and the system timestamp t_1, the rotation matrix is ​​obtained and the movement vector [ΔX, ΔY] T , multiply the point cloud coordinates by the rotation matrix, subtract the moving distance, and get the coordinates of the point cloud at the system timestamp; the process of converting the point cloud of the camera's drivable area into a coordinate system also involves translation and rotation, and requires the use of the camera's installation position and angle relative to the vehicle coordinate system.

[0100] In one embodiment of the present invention, the lanes include a left lane, a self-lane, and a right lane. The step 103 of performing lane screening on the aligned point cloud to obtain target point clouds corresponding to different lanes on the road at a historical moment includes:

[0101] According to the coordinates of the aligned point cloud and the lane line equation, target data corresponding to the lane line equation is obtained; the target data corresponding to the lane line equation includes left target data and right target data;

[0102] Determining the alignment point clouds corresponding to the different lanes on the road according to the size relationship between the coordinates of the alignment point cloud and the target data corresponding to the different lane line equations;

[0103] The aligned point clouds corresponding to different lanes on the road are respectively sorted by coordinates, and the target point clouds corresponding to different lanes on the road at the historical moment are determined in the aligned point clouds corresponding to different lanes on the road.

[0104] In an embodiment of the present invention, it is necessary to screen out point clouds falling within the left lane, the own lane and the right lane according to the lane line equation in the point cloud data after point cloud screening and time alignment, and then in the corresponding point clouds of different lanes, the point cloud with the closest longitudinal distance to the vehicle is marked with the corresponding lane label.

[0105] The lane line equation includes the left lane line equation f(x)_left and the right lane line equation f(x)_right. In order to determine the lane in which each point cloud is located, the coordinates of the point cloud are (x, y). At this time, it is necessary to substitute the horizontal coordinate of each point cloud into the left lane line equation and the right lane line equation respectively, and then obtain the left target data and the right target data. The left target data y(left) and the right target data y(right) are compared with the vertical coordinate y to determine which lane the point cloud is located in.

[0106] The point cloud data obtained by the detection equipment on the vehicle, even after a series of point cloud processing, the amount of point cloud data corresponding to each lane is still large. In the process of detecting lane dead ends, only the point closest to the vehicle in each lane needs to be paid attention to, because the closest point is the most direct point to understand the current position of the vehicle and the surrounding environment, and in order to improve the vehicle's automatic driving system to make a faster judgment on whether there is a dead end in the lane, paying attention to the most representative point can not only simplify the data processing and judgment process, but also improve the efficiency of dead end detection under limited resources. The nearest point cloud is determined based on the coordinate data of the point cloud. When the horizontal coordinate is the smallest and greater than zero, the point cloud is the target point cloud corresponding to the lane.

[0107] By determining the target point clouds corresponding to different lanes and marking them with lane labels, we can understand the status of the lane where the vehicle is and the adjacent lanes in real time. If the nearest point of a lane suddenly disappears or the distance to the vehicle increases sharply, this may be a sign that the lane has a dead end. In addition, using historical data, the vehicle's autonomous driving system can predict the position changes of the lane line on the road. If the predicted result is inconsistent with the actual detected nearest point position, it may indicate that the lane line has disappeared, which means that the lane has a dead end.

[0108] In this case, the vehicle's automatic driving system can accurately monitor the status of different lanes on the road the vehicle is traveling on, detect dead ends in a timely manner, and respond quickly, reminding the driver in time, thereby greatly improving the safety of the vehicle during driving.

[0109] In one embodiment of the present invention, the coordinates of the alignment point cloud include a ordinate and a ordinate, and determining the alignment point clouds corresponding to different lanes on the road according to the size relationship between the coordinates of the alignment point cloud and the target data corresponding to the different lane line equations respectively includes:

[0110] Comparing the ordinates of the aligned point cloud with the target data respectively;

[0111] When the ordinate of the alignment point cloud is smaller than the left target data and the ordinate of the alignment point cloud is not greater than the right target data, determining the alignment point cloud as the alignment point cloud corresponding to the left lane on the road;

[0112] When the ordinate of the alignment point cloud is smaller than the left target data and the ordinate of the alignment point cloud is larger than the right target data, the alignment point cloud is determined as the alignment point cloud corresponding to the lane on the road;

[0113] When the ordinate of the aligned point cloud is not less than the left target data and the ordinate of the aligned point cloud is greater than the right target data, determine the aligned point cloud as the aligned point cloud corresponding to the right lane on the road;

[0114] Take the aligned point cloud corresponding to the left lane on the road, the aligned point cloud corresponding to the self-lane on the road, and the aligned point cloud corresponding to the right lane on the road as the aligned point clouds corresponding to different lanes on the road respectively.

[0115] The lane line equation includes the left lane line equation f(x)_left and the right lane line equation f(x)_right. To determine the lane where each point cloud is located, the coordinates of the point cloud are (x, y). At this time, the abscissa of each point cloud needs to be substituted into the left lane line equation and the right lane line equation respectively, so as to obtain the left target data and the right target data. Compare the left target data y(left) and the right target data y(right) with the ordinate y, and then determine which lane the point cloud is located in.

[0116] In the embodiment of the present invention, assuming that the coordinates of each point cloud data are (x, y), substituting the coordinates into the left lane line equation f(x)_left and the right lane line equation f(x)_right respectively, the left target data y(left) and the right target data y(right) can be obtained. At this time, in the case of y(right) < y < y(left), it can be determined that the lane corresponding to the point cloud is the self-lane. Similarly, it can be known that in the case of y < y(right), it can be determined that the lane corresponding to the point cloud is the right lane, and in the case of y > y(left), it can be determined that the lane corresponding to the point cloud is the left lane. At this time, the point cloud data corresponding to different lanes can be determined through the lane line equation.

[0117] Determine the target point clouds corresponding to different lanes respectively and label them with lane tags, so that the state of the lane where the vehicle is located and the adjacent lanes can be understood in real time. If the nearest point of a certain lane suddenly disappears or the distance from the vehicle increases sharply, this may be a sign that there is a dead-end road in the lane. Moreover, using historical data, the vehicle's automatic driving system can predict the position change of the lane lines on the road. If the prediction result is inconsistent with the position of the nearest point actually detected, it may indicate that the lane lines have disappeared, that is, it represents that there is a dead-end road in the lane.

[0118] In this case, the vehicle's automatic driving system can accurately monitor the states of different lanes on the vehicle's driving road, discover the dead-end road in time and make a quick response, and can timely remind the driver, thereby greatly improving the safety during the vehicle driving process.

[0119] In one embodiment of the present invention, the coordinate sorting of the aligned point clouds corresponding to different lanes on the road, and determining the target point clouds corresponding to different lanes on the road at the historical moment in the aligned point clouds corresponding to different lanes on the road include:

[0120] According to the sizes of the horizontal coordinates of the aligned point clouds corresponding to different lanes on the road, the aligned point clouds corresponding to different lanes on the road are sorted to determine the target point clouds corresponding to different lanes on the road at the historical moment; wherein the horizontal coordinate of the target point cloud is greater than zero and is the smallest among the horizontal coordinates of the aligned point clouds corresponding to different lanes on the road.

[0121] After the lane line equation is used to determine the point cloud data corresponding to different lanes, the amount of point cloud data corresponding to each lane is still large. In the process of detecting lane dead ends, we only need to pay attention to the point closest to the vehicle in each lane, because the closest point is the most direct point to understand the current position of the vehicle and the surrounding environment. In order to improve the vehicle's automatic driving system to make a faster judgment on whether there is a dead end in the lane, paying attention to the most representative point can not only simplify the data processing and judgment process, but also improve the efficiency of dead end detection when resources are limited.

[0122] Moreover, during the driving process, the vehicle usually drives forward, and the environmental information in front of the vehicle (x>0) is more critical for the detection of lane dead ends, while the environment behind the vehicle (x<0) has little effect on the current driving decision, unless the vehicle is reversing or the traffic conditions behind need to be considered. In the process of lane dead ends detection, the focus is often on the environment in front of the vehicle. Therefore, in the embodiment of the present invention, in addition to paying attention to the point closest to the vehicle in each lane, it is also necessary to pay attention to the point cloud with a horizontal coordinate greater than zero. In this way, in the process of data processing, computing resources can be used more effectively, because the point cloud is more related to the current driving state of the vehicle, and processing the points behind the vehicle (x<0) may consume unnecessary computing resources.

[0123] In the embodiment of the present invention, the nearest point cloud is determined based on the coordinate data of the point cloud. When the horizontal coordinate is the smallest and greater than zero, the point cloud is the target point cloud corresponding to the lane.

[0124] For example, in the point cloud data corresponding to the self-driving lane, sort each point cloud according to its x coordinate, find the point with the smallest x coordinate in x>0, and this point is the point closest to the self-driving car. Use this point cloud as the target point cloud corresponding to the self-driving lane, and label the target point cloud with the self-driving lane label.

[0125] By determining the target point clouds corresponding to different lanes and marking them with lane labels, we can understand the status of the lane where the vehicle is and the adjacent lanes in real time. If the nearest point of a lane suddenly disappears or the distance to the vehicle increases sharply, this may be a sign that the lane has a dead end. In addition, using historical data, the vehicle's autonomous driving system can predict the position changes of the lane line on the road. If the predicted result is inconsistent with the actual detected nearest point position, it may indicate that the lane line has disappeared, which means that the lane has a dead end.

[0126] In this case, the vehicle's automatic driving system can accurately monitor the status of different lanes on the road the vehicle is traveling on, detect dead ends in a timely manner, and respond quickly, reminding the driver in time, thereby greatly improving the safety of the vehicle during driving.

[0127] In one embodiment of the present invention, controlling the counters corresponding to the different lanes to count and obtain count values ​​according to the distances between the target point clouds corresponding to the different lanes on the road at the historical moment and the target point clouds corresponding to the different lanes on the road at the current moment includes:

[0128] Determine the Euclidean distance between the target point clouds corresponding to the different lanes on the road at the historical moment and the target point clouds corresponding to the different lanes on the road at the current moment;

[0129] When the Euclidean distance is less than a distance threshold, counters corresponding to different lanes on the road are controlled to count, and the count value is increased by one.

[0130] In the embodiment of the present invention, by comparing the predicted position (the position of the target point cloud corresponding to different lanes at the current moment) with the current actual position (the position of the target point cloud corresponding to different lanes at the historical moment), the judgment of the dead-end road by close-range noise points can be avoided. Therefore, it is necessary to determine the Euclidean distance between the target point cloud corresponding to different lanes at the historical moment and the target point cloud corresponding to different lanes at the current moment. The Euclidean distance is the straight-line distance between two points in Euclidean space. It is a commonly used distance measurement method used to calculate the straight-line distance between two points in two-dimensional space. Of course, the Euclidean distance can also be used to calculate the straight-line distance between two points in three-dimensional space.

[0131] Assume that the coordinates of the target point cloud corresponding to the self-driving lane at the historical moment are (x1, y1), and the coordinates of the target point cloud corresponding to the self-driving lane at the current moment are (x2, y2). At this time, the Euclidean distance d between the two point clouds can be determined by the following formula:

[0132]

[0133] In addition to Euclidean distance, there are several other commonly used ways to calculate the distance between two points, which are suitable for different scenarios and needs. The following are some common distance measurement methods:

[0134] 1) Manhattan Distance: Manhattan distance is the sum of the distances that two points move along the axis in a coordinate system. It is applicable to grid-like paths, such as city blocks. For two points (x1, y1) and (x2, y2) in two-dimensional space, the calculation formula for their Manhattan distance d is as follows:

[0135] d=|x2-x1|+|y2-y1|

[0136] 2) Chebyshev distance: Chebyshev distance is the maximum difference between two points in each dimension. For two points (x1, y1) and (x2, y2) in two-dimensional space, the calculation formula of their Chebyshev distance d is as follows:

[0137] d=max(|x2-x1|,|y2-y1|)

[0138] 3) Minkowski distance: Minkowski distance is a generalization of Euclidean distance and Manhattan distance. Its parameter p determines how the distance is calculated. For two points (x1, y1) and (x2, y2) in two-dimensional space, the calculation formula for the Minkowski distance d is as follows:

[0139]

[0140] When p=1, the Minkowski distance is the Manhattan distance; when p=2, the Minkowski distance is the Euclidean distance.

[0141] If the distance between the target point clouds corresponding to different lanes at the historical moment and the target point clouds corresponding to different lanes at the current moment is less than the distance threshold (0.5m can be taken at this time), this usually means that the lane line has not changed significantly in a short period of time. It may be because the vehicle is blocked, such as encountering a dead-end road, a construction area or other traffic obstacles. In this case, the vehicle cannot continue to move forward, resulting in an increase in vehicle density in the area. Therefore, the possibility that there may be a dead-end road on the lane is also increased. At this time, the vehicle flow on each lane can be counted by the corresponding counter on each lane. Therefore, it is necessary to control the counter on the lane. When the distance between the historical target point cloud and the current target point cloud is less than the distance threshold, the counter count value is increased by one, otherwise the counter count value is reduced by one. In the subsequent dead-end road detection, it is necessary to determine the detection result based on the counter count value.

[0142] The embodiment of the present invention uses point cloud data to perform point cloud screening, spatiotemporal synchronization, and lane screening to screen out useful point cloud data; based on the current information and historical information of these point cloud data, it is known whether there is a dead end in the lane on the road. In the embodiment of the present invention, the detection equipment on the vehicle is used to detect dead ends, which no longer needs to rely on road network information. Instead, the original millimeter-wave radar and camera of the automatic driving system on the vehicle are used, which greatly reduces the difficulty and cost of dead end detection, thereby reducing the cost of automatic driving. At the same time, real-time detection is performed through the detection equipment on the vehicle, and real-time updates are made on whether there is a dead end in the lane on the road, which can promptly remind the driver, thereby greatly improving the safety of the vehicle during driving.

[0143] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.

[0144] Reference Figure 2 , shows a structural block diagram of a lane dead-end detection device provided in an embodiment of the present invention, which may specifically include the following modules:

[0145] The point cloud screening module 201 is used to obtain point cloud data of the surrounding area of ​​the vehicle through the detection equipment on the vehicle when the vehicle is driving on the road, and perform point cloud screening on the point cloud data to obtain a usable point cloud;

[0146] An alignment module 202 is used to align the spatiotemporal information of the available point clouds to obtain an aligned point cloud; the spatiotemporal information includes time information and space information;

[0147] A lane screening module 203 is used to perform lane screening on the aligned point cloud to obtain target point clouds corresponding to different lanes on the road at a historical moment;

[0148] A prediction module 204 is used to predict the target point clouds corresponding to the different lanes on the road at the current moment based on the motion parameters of the vehicle and the target point clouds corresponding to the different lanes on the road at the historical moment;

[0149] The control module 205 is used to control the counters corresponding to the different lanes on the road to count and obtain count values ​​according to the distances between the target point clouds corresponding to the different lanes on the road at the historical moment and the target point clouds corresponding to the different lanes on the road at the current moment;

[0150] The determination module 206 is configured to determine that a dead-end road exists in the lane when the count value of the counter corresponding to the lane is greater than a count threshold.

[0151] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0152] In addition, an embodiment of the present invention further provides an electronic device, including: a processor, a memory, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, each process of the above-mentioned lane dead-end detection method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.

[0153] The embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, each process of the above-mentioned lane dead-end detection method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0154] An embodiment of the present invention also provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned lane dead-end detection method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0155] Figure 3 A schematic diagram of the hardware structure of an electronic device for implementing various embodiments of the present invention.

[0156] The electronic device 300 includes but is not limited to: a radio frequency unit 301, a network module 302, an audio output unit 303, an input unit 304, a sensor 305, a display unit 306, a user input unit 307, an interface unit 308, a memory 309, a processor 310, and a power supply 311. Those skilled in the art will appreciate that Figure 3 The electronic device structure shown in the figure does not constitute a limitation on the electronic device, and the electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. In the embodiments of the present invention, the electronic device includes but is not limited to a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted terminal, a wearable device, and a pedometer.

[0157] It should be understood that in the embodiment of the present invention, the radio frequency unit 301 can be used for receiving and sending signals during information transmission or communication. Specifically, after receiving downlink data from the base station, it is sent to the processor 310 for processing; in addition, uplink data is sent to the base station. Generally, the radio frequency unit 301 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc. In addition, the radio frequency unit 301 can also communicate with the network and other devices through a wireless communication system.

[0158] The electronic device provides users with wireless broadband Internet access through the network module 302, such as helping users to send and receive emails, browse web pages, and access streaming media.

[0159] The audio output unit 303 can convert the audio data received by the RF unit 301 or the network module 302 or stored in the memory 309 into an audio signal and output it as sound. Moreover, the audio output unit 303 can also provide audio output related to a specific function performed by the electronic device 300 (for example, a call signal reception sound, a message reception sound, etc.). The audio output unit 303 includes a speaker, a buzzer, a receiver, etc.

[0160] The input unit 304 is used to receive audio or video signals. The input unit 304 may include a graphics processor (GPU) 3041 and a microphone 3042, and the graphics processor 3041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The processed image frame can be displayed on the display unit 306. The image frame processed by the graphics processor 3041 can be stored in the memory 309 (or other storage medium) or sent via the radio frequency unit 301 or the network module 302. The microphone 3042 can receive sound and can process such sound into audio data. The processed audio data can be converted into a format output that can be sent to a mobile communication base station via the radio frequency unit 301 in the case of a telephone call mode.

[0161] The electronic device 300 also includes at least one sensor 305, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 3061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 3061 and / or the backlight when the electronic device 300 is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), and can detect the magnitude and direction of gravity when stationary, which can be used to identify the posture of the electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; the sensor 305 can also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be repeated here.

[0162] The display unit 306 is used to display information input by the user or information provided to the user. The display unit 306 may include a display panel 3061, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.

[0163] The user input unit 307 can be used to receive input digital or character information, and to generate key signal input related to user settings and function control of the electronic device. Specifically, the user input unit 307 includes a touch panel 3071 and other input devices 3072. The touch panel 3071, also known as a touch screen, can collect the user's touch operation on or near it (such as the user's operation on the touch panel 3071 or near the touch panel 3071 using any suitable object or accessory such as a finger, stylus, etc.). The touch panel 3071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the contact point coordinates, and then sends it to the processor 310, receives the command sent by the processor 310 and executes it. In addition, the touch panel 3071 can be implemented using multiple types such as resistive, capacitive, infrared and surface acoustic waves. In addition to the touch panel 3071, the user input unit 307 may also include other input devices 3072. Specifically, other input devices 3072 may include but are not limited to a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail here.

[0164] Furthermore, the touch panel 3071 may be overlaid on the display panel 3061. When the touch panel 3071 detects a touch operation on or near it, it is transmitted to the processor 310 to determine the type of touch event. Then, the processor 310 provides corresponding visual output on the display panel 3061 according to the type of touch event. Figure 3 In the figure, the touch panel 3071 and the display panel 3061 are used as two independent components to realize the input and output functions of the electronic device. However, in some embodiments, the touch panel 3071 and the display panel 3061 can be integrated to realize the input and output functions of the electronic device, which is not limited here.

[0165] The interface unit 308 is an interface for connecting an external device to the electronic device 300. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input / output (I / O) port, a video I / O port, a headphone port, etc. The interface unit 308 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic device 300 or may be used to transmit data between the electronic device 300 and an external device.

[0166] The memory 309 can be used to store software programs and various data. The memory 309 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application required for a function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 309 can include a high-speed random access memory, and can 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.

[0167] The processor 310 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. By running or executing software programs and / or modules stored in the memory 309 and calling data stored in the memory 309, it performs various functions of the electronic device and processes data, thereby monitoring the electronic device as a whole. The processor 310 may include one or more processing units; preferably, the processor 310 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 310.

[0168] The electronic device 300 may also include a power supply 311 (such as a battery) for supplying power to each component. Preferably, the power supply 311 may be logically connected to the processor 310 through a power management system, thereby implementing functions such as charging, discharging, and power consumption management through the power management system.

[0169] In addition, the electronic device 300 includes some functional modules not shown, which will not be described in detail here.

[0170] like Figure 4 As shown, in another embodiment provided by the present invention, a computer-readable storage medium 401 is also provided, in which instructions are stored. When the computer-readable storage medium 401 is run on a computer, the computer executes the lane dead-end detection method described in the above embodiment.

[0171] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0172] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0173] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the enlightenment of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are within the protection of the present invention.

[0174] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in the embodiments of the present invention can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0175] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0176] In the embodiments provided in the present application, it should be understood that the disclosed 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 through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0177] 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.

[0178] In addition, each functional unit in each embodiment of the present invention 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.

[0179] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the 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 several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, ROM, RAM, magnetic disks, or optical disks.

[0180] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A method for detecting a dead end of a lane, characterized in that: include: When the vehicle is traveling on the road, point cloud data of the surrounding area of ​​the vehicle is acquired by a detection device on the vehicle, and the point cloud data is screened to obtain a usable point cloud; Aligning the spatiotemporal information of the available point clouds to obtain an aligned point cloud; the spatiotemporal information includes time information and space information; Perform lane screening on the aligned point cloud to obtain target point clouds corresponding to different lanes on the road at the historical moment; Based on the motion parameters of the vehicle and the target point clouds corresponding to the different lanes on the road at the historical moment, the target point clouds corresponding to the different lanes on the road at the current moment are predicted; According to the distances between the target point clouds corresponding to the different lanes on the road at the historical moment and the target point clouds corresponding to the different lanes on the road at the current moment, control the counters corresponding to the different lanes on the road to count and obtain count values; When the count value of the counter corresponding to the lane is greater than the count threshold, it is determined that a dead end exists in the lane.

2. The method according to claim 1, characterized in that The point cloud data includes millimeter wave radar point cloud and camera drivable area point cloud.

3. The method according to claim 2, characterized in that The step of screening the point cloud data to obtain a usable point cloud includes: Screening the millimeter-wave radar point cloud according to the driving speed of the vehicle and the speed of the millimeter-wave radar point cloud to obtain a first point cloud; According to the label information of the camera drivable area point cloud, point cloud screening is performed in the camera drivable area point cloud to obtain a second point cloud; The first point cloud and the second point cloud are used as the available point clouds.

4. The method according to claim 2, characterized in that: The step of aligning the spatiotemporal information of the available point clouds to obtain an aligned point cloud includes: Synchronizing the time of the available point cloud to the system timestamp according to the timestamp in the available point cloud, and transforming the coordinate system corresponding to the available point cloud to the target coordinate system according to the transformation matrix, so as to align the time information and the spatial information of the available point cloud, thereby obtaining the aligned point cloud; Among them, the timestamp in the available point cloud is the system timestamp corresponding to the time of obtaining the millimeter-wave radar point cloud and the camera drivable area point cloud, and the transformation matrix includes translation information and rotation information. The translation information is used to describe the position of the coordinate system corresponding to the available point cloud relative to the target coordinate system, and the rotation information is used to describe the direction of the coordinate system corresponding to the available point cloud relative to the target coordinate system.

5. The method according to claim 1, characterized in that The lanes include a left lane, a self-lane and a right lane. The lane screening of the aligned point cloud to obtain target point clouds corresponding to different lanes on the road at a historical moment includes: According to the coordinates of the aligned point cloud and the lane line equation, target data corresponding to the lane line equation is obtained; the target data corresponding to the lane line equation includes left target data and right target data; Determining the alignment point clouds corresponding to the different lanes on the road according to the size relationship between the coordinates of the alignment point cloud and the target data corresponding to the different lane line equations; The aligned point clouds corresponding to different lanes on the road are respectively sorted by coordinates, and the target point clouds corresponding to different lanes on the road at the historical moment are determined in the aligned point clouds corresponding to different lanes on the road.

6. The method according to claim 5, characterized in that The coordinates of the alignment point cloud include a ordinate and a lateral coordinate, and determining the alignment point clouds corresponding to different lanes on the road according to the size relationship between the coordinates of the alignment point cloud and the target data corresponding to the different lane line equations respectively includes: Comparing the ordinates of the aligned point cloud with the target data respectively; When the ordinate of the alignment point cloud is smaller than the left target data and the ordinate of the alignment point cloud is not greater than the right target data, determining the alignment point cloud as the alignment point cloud corresponding to the left lane on the road; When the ordinate of the alignment point cloud is smaller than the left target data and the ordinate of the alignment point cloud is larger than the right target data, the alignment point cloud is determined as the alignment point cloud corresponding to the lane on the road; When the ordinate of the alignment point cloud is not less than the left target data and the ordinate of the alignment point cloud is greater than the right target data, determining the alignment point cloud as the alignment point cloud corresponding to the right lane on the road; The alignment point cloud corresponding to the left lane on the road, the alignment point cloud corresponding to the self-lane on the road, and the alignment point cloud corresponding to the right lane on the road are used as the alignment point clouds corresponding to different lanes on the road.

7. The method according to claim 6, characterized in that The step of sorting the coordinates of the aligned point clouds corresponding to the different lanes on the road, and determining the target point clouds corresponding to the different lanes on the road at the historical moment in the aligned point clouds corresponding to the different lanes on the road, comprises: According to the sizes of the horizontal coordinates of the aligned point clouds corresponding to different lanes on the road, the aligned point clouds corresponding to different lanes on the road are sorted to determine the target point clouds corresponding to different lanes on the road at the historical moment; wherein the horizontal coordinate of the target point cloud is greater than zero and is the smallest among the horizontal coordinates of the aligned point clouds corresponding to different lanes on the road.

8. The method according to claim 1, characterized in that According to the distance between the target point clouds corresponding to the different lanes on the road at the historical moment and the target point clouds corresponding to the different lanes on the road at the current moment, controlling the counters corresponding to the different lanes to count and obtain count values ​​includes: Determine the Euclidean distance between the target point clouds corresponding to the different lanes on the road at the historical moment and the target point clouds corresponding to the different lanes on the road at the current moment; When the Euclidean distance is less than a distance threshold, counters corresponding to different lanes on the road are controlled to count, and the count value is increased by one.

9. A device for detecting a dead end of a lane, characterized in that: include: A point cloud screening module, used for obtaining point cloud data of the surrounding area of ​​the vehicle through a detection device on the vehicle when the vehicle is driving on the road, and performing point cloud screening on the point cloud data to obtain a usable point cloud; An alignment module, used for aligning the spatiotemporal information of the available point clouds to obtain an aligned point cloud; The spatiotemporal information includes time information and space information; A lane screening module, used to perform lane screening on the aligned point cloud to obtain target point clouds corresponding to different lanes on the road at a historical moment; A prediction module, configured to predict target point clouds corresponding to different lanes on the road at a current moment based on motion parameters of the vehicle and target point clouds corresponding to different lanes on the road at the historical moment; A control module, for controlling the counters corresponding to the different lanes on the road to count and obtain count values ​​according to the distances between the target point clouds corresponding to the different lanes on the road at the historical moment and the target point clouds corresponding to the different lanes on the road at the current moment; The determination module is used to determine that a dead-end road exists in the lane when the count value of the counter corresponding to the lane is greater than a count threshold.

10. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; The memory is used to store computer programs; The processor is used to implement the method according to any one of claims 1 to 8 when executing the program stored in the memory.

11. A computer-readable storage medium having instructions stored thereon, which, when executed by one or more processors, cause the processors to perform the method according to any one of claims 1 to 8.