Lane change early warning method and device, electronic equipment and storage medium

By calculating the driving direction angle and distance between adjacent vehicles and their own vehicles, we can judge whether there is a lane change trend and provide early warnings for adjacent vehicles, which solves the problem of low accuracy of lane change warning in the prior art and improves the road Traffic safety.

CN118877004APending Publication Date: 2024-11-01ZHEJIANG GEELY HLDG GRP CO LTD +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411153881.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-21
Publication Date
2024-11-01

AI Technical Summary

Technical Problem

The existing lane change warning method is not very accurate, and it is impossible to effectively judge whether adjacent vehicles have a lane change trend, especially when the front of the car is biased towards the bicycle and the wheels have no steering angle.

Method used

By obtaining the position information between the adjacent vehicle and its own vehicle, calculating the driving direction angle and lateral distance, and using the preset threshold value to determine whether there is a lane change trend in the adjacent vehicle, and warning is made.

Benefits of technology

It improves the accuracy of lane change warning, reduces driving risks, and enhances road traffic safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118877004A_ABST
    Figure CN118877004A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a lane changing early warning method and device, electronic equipment and a storage medium, and relates to the technical field of intelligent driving, and the method comprises the steps: obtaining the position information of a second vehicle; the second vehicle is a vehicle adjacent to the first vehicle; according to the position information of the second vehicle, the distance between the second vehicle and the first vehicle and the driving direction included angle are obtained; according to the distance and the driving direction included angle, determining whether the second vehicle has a trend of changing the lane to the lane where the first vehicle is located; and under the condition that the second vehicle has the trend of changing the lane towards the lane where the first vehicle is located, lane changing early warning is carried out. The method can effectively improve the accuracy of lane change prediction and reduce the driving risk of the first vehicle.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of intelligent driving, and in particular to a lane change warning method, device, electronic device and storage medium. Background Art

[0002] With the continuous development of economy, the number of cars has increased year by year, and people pay more and more attention to road traffic safety. During the driving process, changing lanes at will is an important cause of road safety accidents.

[0003] In related technologies, the steering angle of the front vehicle's wheels can be identified through image recognition technology. If the steering angle of the front vehicle's wheels is greater than a preset angle, it can be determined that the front vehicle has the intention to change lanes, and the driver can be warned of the lane change to reduce the probability of road safety accidents.

[0004] However, the accuracy of the above-mentioned early warning methods is not high. Summary of the invention

[0005] The embodiments of the present application provide a lane change warning method, device, electronic device and storage medium, which can effectively improve the accuracy of lane change warning.

[0006] In a first aspect, an embodiment of the present application provides a lane change warning method, which is applied to a first vehicle, and the method includes:

[0007] Acquiring position information of a second vehicle; the second vehicle is a vehicle in a lane adjacent to the first vehicle;

[0008] According to the position information of the second vehicle, obtaining the distance and the driving direction angle between the second vehicle and the first vehicle;

[0009] determining, according to the distance and the angle between the driving directions, whether the second vehicle has a tendency to change lanes to the lane where the first vehicle is located;

[0010] When the second vehicle has a tendency to change lanes into the lane where the first vehicle is located, a lane change warning is issued.

[0011] In some embodiments, acquiring the distance and the driving direction angle between the second vehicle and the first vehicle according to the position information of the second vehicle includes:

[0012] Construct a position coordinate system;

[0013] In the position coordinate system, according to the position information of the second vehicle, obtaining a lateral distance and a longitudinal distance between the first vehicle and the second vehicle;

[0014] The driving direction angle between the second vehicle and the first vehicle is acquired according to the lateral distance and the longitudinal distance.

[0015] In some embodiments, the lateral distance includes a first lateral distance and a second lateral distance, and the longitudinal distance includes a first longitudinal distance and a second longitudinal distance;

[0016] The first lateral distance is the lateral distance between the front of the first vehicle and the front of the second vehicle, and the second lateral distance is the lateral distance between the front of the first vehicle and the rear of the second vehicle;

[0017] The first longitudinal distance is the longitudinal distance between the front of the first vehicle and the front of the second vehicle, and the second longitudinal distance is the longitudinal distance between the front of the first vehicle and the rear of the second vehicle;

[0018] The obtaining, according to the lateral distance and the longitudinal distance, a driving direction angle between the second vehicle and the first vehicle, comprises:

[0019] The driving direction angle between the second vehicle and the first vehicle is acquired according to the first lateral distance and the second lateral distance, and the first longitudinal distance and the second longitudinal distance.

[0020] In some embodiments, determining, based on the distance and the angle between the driving directions, that the second vehicle has a tendency to change lanes to the lane where the first vehicle is located includes:

[0021] When the first lateral distance is less than or equal to a first threshold, if the angle of the driving direction angle is greater than a preset angle, it is determined that the second vehicle has a tendency to change lanes to the lane where the first vehicle is located;

[0022] or,

[0023] When the first lateral distance is less than or equal to a threshold value, if the angle of the driving direction angle is less than or equal to a preset angle, reacquiring the first lateral distance;

[0024] If the reacquired first lateral distance is smaller than the current first lateral distance, it is determined that the second vehicle has a tendency to change lanes to the lane where the first vehicle is located.

[0025] In some embodiments, the method further comprises:

[0026] If the reacquired first lateral distance is smaller than the current first lateral distance and smaller than a second threshold, it is determined that the second vehicle has a tendency to change lanes to the lane where the first vehicle is located; and the second threshold is smaller than the first threshold.

[0027] In some embodiments, performing lane change warning includes:

[0028] Providing voice and / or light warning to the user of the first vehicle, and / or controlling the first vehicle to avoid an obstacle based on the positional relationship between the second vehicle and the first vehicle, and the relationship between the second longitudinal distance and a third threshold; the avoidance includes one of deceleration, acceleration, and braking.

[0029] In some embodiments, the method further comprises:

[0030] The third threshold is acquired according to the speed of the first vehicle, the speed of the second vehicle, and the acceleration or deceleration of the first vehicle.

[0031] In a second aspect, an embodiment of the present application provides a lane change warning device, which is applied to a first vehicle, and the device includes:

[0032] An acquisition module, used to acquire position information of a second vehicle; the second vehicle is a vehicle in a lane adjacent to the first vehicle;

[0033] A processing module, configured to obtain a distance and a driving direction angle between the second vehicle and the first vehicle according to the position information of the second vehicle;

[0034] a prediction module, configured to determine, based on the distance and the angle between the driving directions, whether the second vehicle has a tendency to change lanes to the lane where the first vehicle is located;

[0035] The warning module is used to issue a lane change warning when the second vehicle has a tendency to change lanes into the lane where the first vehicle is located.

[0036] In a third aspect, the present application provides an electronic device, including: a memory and a processor;

[0037] The memory is used to store computer instructions; the processor is used to execute the computer instructions stored in the memory to implement any method in the first aspect.

[0038] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, and the computer program is executed by a processor to implement any one of the methods in the first aspect.

[0039] In a fifth aspect, the present application provides a computer program product, comprising a computer program, which implements any one of the methods in the first aspect when executed by a processor.

[0040] The lane change warning method, device, electronic device and storage medium provided in the embodiment of the present application obtain the position information of the second vehicle; the second vehicle is a vehicle in the adjacent lane of the first vehicle; according to the position information of the second vehicle, the distance and the driving direction angle between the second vehicle and the first vehicle are obtained; according to the distance and the driving direction angle, it is determined whether the second vehicle has a tendency to change lanes to the lane where the first vehicle is located; if the second vehicle has a tendency to change lanes to the lane where the first vehicle is located, a lane change warning is performed. Predicting whether the second vehicle has the possibility of changing lanes based on the distance and the driving direction angle between the second vehicle and the first vehicle can effectively improve the accuracy of lane change prediction and reduce the driving risk of the first vehicle. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 A schematic diagram of a scenario provided for an embodiment of the present application;

[0042] Figure 2 A schematic diagram of a lane change warning method provided in an embodiment of the present application Figure 1 ;

[0043] Figure 3 A schematic diagram of a driving direction angle provided in an embodiment of the present application;

[0044] Figure 4 A schematic diagram of a lane change warning method provided in an embodiment of the present application Figure 2 ;

[0045] Figure 5 A schematic diagram of a longitudinal distance and a lateral distance provided in an embodiment of the present application;

[0046] Figure 6 A schematic diagram of the structure of a lane change warning device provided in an embodiment of the present application;

[0047] Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0048] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0049] In the embodiments of the present application, words such as "first" and "second" are used to distinguish the same or similar items with substantially the same functions and effects, and do not limit their order. Those skilled in the art can understand that words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not necessarily limit them to be different.

[0050] It should be noted that in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0051] With the continuous development of the economy, the number of cars has increased year by year, and people pay more and more attention to road traffic safety. In the process of driving, changing lanes without turning on the turn signal is an important cause of road safety accidents.

[0052] In related technologies, the steering angle of the front vehicle's wheels in the adjacent lane can be identified through image recognition technology. If the steering angle of the front vehicle's wheels is greater than a preset angle, it can be determined that the front vehicle intends to change lanes, and the driver can be warned of the lane change to reduce the probability of road safety accidents.

[0053] However, when the front of the vehicle is leaning towards the vehicle itself and the wheels have no steering angle, it is impossible to determine whether there is a trend of changing lanes, resulting in low accuracy of warning using this method.

[0054] In view of this, the embodiments of the present application provide a vehicle warning method, device, electronic device and storage medium, which can judge whether the vehicle in the adjacent lane has a lane changing trend by the angle between the driving directions of the two vehicles, the lateral distance between the two vehicles and the changing trend of the lateral distance, thereby improving the reliability of the lane changing trend judgment of the leading vehicle, thereby improving the accuracy of the warning.

[0055] The following specific embodiments are used to describe in detail the technical solution of the present application and how the technical solution of the present application solves the above technical problems. The following specific embodiments can be implemented independently or in combination with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.

[0056] Figure 1 Schematic diagram of application scenarios of the embodiments of the present application, such as Figure 1 As shown, a first vehicle 101 and a second vehicle 102 are included.

[0057] The second vehicle 102 may be a vehicle in the same driving direction as the first vehicle 101 in an adjacent lane. Optionally, the second vehicle 102 may be a front vehicle in an adjacent lane of the first vehicle 101, or the second vehicle 102 may be a rear vehicle in an adjacent lane of the first vehicle 101.

[0058] During the driving process, the first vehicle 101 can obtain the position information of the second vehicle 102 through a collection sensor (for example, a camera, a laser radar, etc.), and calculate the lateral distance and the driving direction angle between the first vehicle 101 and the second vehicle 102 according to the position information of the second vehicle 102. When the lateral distance and the driving direction angle between the first vehicle 101 and the second vehicle 102 meet the preset conditions, the first vehicle 101 determines that the second vehicle 102 has a tendency to change lanes to the lane where the first vehicle 101 is located.

[0059] When the first vehicle 101 determines that the second vehicle 102 has a tendency to change lanes into its own lane, it can turn on the lane change warning to prompt its own driver, thereby reducing the collision risk caused by the second vehicle 102 changing lanes.

[0060] exist Figure 1 Based on the application scenario shown, the lane change warning method provided in the embodiment of the present application is introduced in detail below, taking the first vehicle as an example.

[0061] Figure 2 Schematic diagram of the process of the lane change warning method provided in the embodiment of the present application Figure 1 The execution subject of the embodiment of the present application is the first vehicle, or the controller of the first vehicle. The subsequent execution subject takes the first vehicle as an example. The method includes the following steps:

[0062] S201. Acquire position information of a second vehicle; the second vehicle is a vehicle in a lane adjacent to the first vehicle.

[0063] In some embodiments, the first vehicle may obtain the position information of the second vehicle through a sensor mounted on the first vehicle, for example, by collecting image data of adjacent lanes through an image sensor, identifying the image data, and extracting the position information of the second vehicle.

[0064] In some embodiments, the first vehicle may regard a vehicle traveling in the same direction in an adjacent lane as the second vehicle, for example, the vehicle in front of or behind the left lane of the first vehicle as the second vehicle.

[0065] Optionally, the first vehicle may use a vehicle in an adjacent lane within a preset distance and in the same direction of travel as the second vehicle. For example, the first vehicle uses a vehicle in an adjacent lane that is less than 20 meters away from itself as the second vehicle. Generally speaking, a vehicle that is far away from the first vehicle changes lanes, which has a lower impact on the driving of the first vehicle. By limiting the range of the second vehicle, the amount of data processed by the first vehicle can be reduced, thereby improving the efficiency of the first vehicle's lane change warning. It should be understood that the preset distance can be set according to actual needs, and the embodiments of the present application do not limit this.

[0066] S202: Acquire the distance and the driving direction angle between the second vehicle and the first vehicle according to the position information of the second vehicle.

[0067] In some embodiments, the distance between the second vehicle and the first vehicle may refer to a lateral distance and / or a longitudinal distance between the first vehicle and the second vehicle.

[0068] For example, Figure 3 As shown, the driving direction angle (α) between the second vehicle and the first vehicle may refer to the angle between the extension lines of the first vehicle and the second vehicle's forward directions.

[0069] In some embodiments, the first vehicle may construct a position coordinate system, place the first vehicle and the second vehicle in the same coordinate system, and calculate the distance and the driving direction angle between the second vehicle and the first vehicle based on the position information of the second vehicle. For example, a position coordinate system is established with the first vehicle as the origin, the position information of the second vehicle is converted into coordinates in the position coordinate system, and the lateral distance and longitudinal distance between the first vehicle and the second vehicle are obtained based on the position coordinates of the second vehicle, as well as the distance and the driving direction angle between the second vehicle and the first vehicle.

[0070] S203: Determine, based on the distance and the driving direction angle, whether the second vehicle has a tendency to change lanes to the lane where the first vehicle is located.

[0071] In some embodiments, the first vehicle can determine whether the second vehicle has a tendency to change lanes to the lane where the first vehicle is located based on the relationship between the distance between the first vehicle and the second vehicle and a preset threshold, and based on the relationship between the driving direction angle and a preset angle.

[0072] Exemplarily, if the lateral distance between the first vehicle and the second vehicle is less than a preset lateral distance threshold, and the angle of the driving directions is greater than a preset angle, the first vehicle can determine whether the second vehicle has a tendency to change lanes to the lane where the first vehicle is located.

[0073] Optionally, if the longitudinal distance between the first vehicle and the second vehicle is less than a preset longitudinal distance threshold, and the angle of the driving directions is greater than a preset angle, the first vehicle can determine whether the second vehicle has a tendency to change lanes to the lane where the first vehicle is located.

[0074] Optionally, if the longitudinal distance between the first vehicle and the second vehicle is less than a preset longitudinal distance threshold, the lateral distance between the first vehicle and the second vehicle is less than a preset lateral distance threshold, and the angle of the driving directions is greater than a preset angle, the first vehicle can determine whether the second vehicle has a tendency to change lanes to the lane where the first vehicle is located.

[0075] It should be understood that the above-mentioned preset horizontal distance, preset longitudinal distance and preset angle can be set according to actual needs, and the embodiments of the present application are not limited to this.

[0076] S204: When the second vehicle has a tendency to change lanes into the lane where the first vehicle is located, issue a lane change warning.

[0077] In some embodiments, when the first vehicle determines that the second vehicle has a tendency to change lanes into the lane where the first vehicle is located, the first vehicle can control the lighting equipment and / or sound equipment inside the first vehicle to issue a lane change warning to the user of the first vehicle that the second vehicle may change lanes, so as to prompt the user of the first vehicle to control the first vehicle to avoid the second vehicle.

[0078] Exemplarily, the lighting equipment on the center console of the first vehicle is controlled to flash, and the sound equipment emits a prompt sound (for example, the front vehicle in the left lane may change lanes, please pay attention to avoid it) to prompt the user of the first vehicle.

[0079] In some embodiments, to further improve the safety of vehicle driving, when the first vehicle determines that the second vehicle has a tendency to change lanes to the lane where the first vehicle is located, the first vehicle can also control itself to avoid the second vehicle. For example, if the second vehicle is the front vehicle, the first vehicle can decelerate or brake to avoid the second vehicle.

[0080] The lane change warning method provided in the embodiment of the present application obtains the position information of the second vehicle; the second vehicle is a vehicle in the adjacent lane of the first vehicle; according to the position information of the second vehicle, the distance and the driving direction angle between the second vehicle and the first vehicle are obtained; according to the distance and the driving direction angle, it is determined whether the second vehicle has a tendency to change lanes to the lane where the first vehicle is located; when the second vehicle has a tendency to change lanes to the lane where the first vehicle is located, a lane change warning is performed. Predicting whether the second vehicle has the possibility of changing lanes based on the distance and the driving direction angle between the second vehicle and the first vehicle can effectively improve the accuracy of lane change prediction and reduce the driving risk of the first vehicle.

[0081] Based on the above embodiments, Figure 4 The lane change warning method provided in the embodiment of the present application is further introduced.

[0082] Figure 4 Schematic diagram of the process of the lane change warning method provided in the embodiment of the present application Figure 2 ,like Figure 4 As shown, including:

[0083] S401. Acquire position information of a second vehicle; the second vehicle is a vehicle in a lane adjacent to the first vehicle.

[0084] The specific implementation method shown in S401 in the embodiment of the present application can be referred to Figure 2 The specific implementation method shown in S201 in the illustrated embodiment will not be repeated here.

[0085] S402: construct a position coordinate system, and obtain a lateral distance and a longitudinal distance between the first vehicle and the second vehicle according to the position information of the second vehicle in the position coordinate system.

[0086] In some embodiments, the lateral distance includes a first lateral distance (D1) and a second lateral distance (D2), and the longitudinal distance includes a first longitudinal distance (L1) and a second longitudinal distance (L2).

[0087] Among them, Figure 5 As shown, the first lateral distance is the lateral distance between the front of the first vehicle and the front of the second vehicle, and the second lateral distance is the lateral distance between the front of the first vehicle and the rear of the second vehicle.

[0088] The first longitudinal distance is a longitudinal distance between a front end of the first vehicle and a front end of the second vehicle, and the second longitudinal distance is a longitudinal distance between a front end of the first vehicle and a rear end of the second vehicle.

[0089] Optionally, the lateral distance may also be the lateral distance between the center point of the first vehicle and the center point of the second vehicle, and the longitudinal distance may be the longitudinal distance between the center point of the first vehicle and the center point of the second vehicle.

[0090] S403: Acquire a driving direction angle between the second vehicle and the first vehicle according to the lateral distance and the longitudinal distance.

[0091] In some embodiments, the first vehicle may determine the driving direction angle based on the first lateral distance (D1), the second lateral distance (D2), the first longitudinal distance (L1), and the second longitudinal distance (L2).

[0092] For example, the driving direction angle may satisfy the following formula:

[0093]

[0094] Optionally, if the lateral distance is also the lateral distance between the center point of the first vehicle and the center point of the second vehicle, and the longitudinal distance is the longitudinal distance between the center point of the first vehicle and the center point of the second vehicle, the driving direction angle may satisfy the following formula:

[0095]

[0096] Wherein, D is the lateral distance between the center point of the first vehicle and the center point of the second vehicle, and L is the longitudinal distance between the center point of the first vehicle and the center point of the second vehicle.

[0097] S404, determine whether the first horizontal distance is greater than a first threshold, if not, execute step S405, if yes, the process ends.

[0098] In some embodiments, the first lateral distance may indicate whether the second vehicle is close to the first vehicle. The smaller the first lateral distance is, the closer the second vehicle is to the first vehicle.

[0099] like Figure 5 As shown, when the first lateral distance is greater than the first threshold, it can be considered that the behavior of the second vehicle has little impact on the driving of the first vehicle, the first vehicle does not need to pay attention to the behavior of the second vehicle, and the current process ends.

[0100] When the first lateral distance is less than or equal to the first threshold, the second vehicle is close to the first vehicle, and the behavior of the second vehicle may have a greater impact on the driving of the first vehicle. The first vehicle can predict whether the second vehicle has a tendency to change lanes based on the driving direction angle.

[0101] S405, determine whether the angle of the driving direction is greater than a preset angle, if so, execute step S406, if not, execute step S409.

[0102] In some embodiments, a larger angle of the driving direction angle may indicate that the second vehicle is more inclined relative to the first vehicle, that is, the possibility of lane change is greater.

[0103] When the first vehicle determines that the angle of the driving direction is greater than a preset angle, it can be considered that the second vehicle has a tendency to change lanes to the lane where the first vehicle is located, and a subsequent lane change warning is executed.

[0104] When the first vehicle determines that the angle of the driving direction is less than or equal to the preset angle, the first vehicle may execute the step shown in S409 to determine whether the second vehicle has a tendency to change lanes to the lane where the first vehicle is located.

[0105] S406, determine whether the first longitudinal distance is greater than a third threshold, if not, execute step S407, if yes, execute step S408.

[0106] In some embodiments, the first lateral distance may represent a front-to-rear distance between the second vehicle and the first vehicle, and the smaller the first longitudinal distance is, the closer the second vehicle is to the first vehicle.

[0107] When the first longitudinal distance is greater than the third threshold, it can be considered that the front-to-rear distance between the first vehicle and the second vehicle is relatively far, and the danger caused by the second vehicle's lane change to the driving of the first vehicle is more avoidable, that is, when the second vehicle changes lanes, the driver of the first vehicle may have enough reaction time to avoid it, and the early warning step shown in S408 can be executed.

[0108] When the first longitudinal distance is less than or equal to the third threshold, it can be considered that the front-to-rear distance between the first vehicle and the second vehicle is relatively close. At this time, when the second vehicle changes lanes, the driver of the first vehicle may not have enough reaction time to make an emergency avoidance. To reduce the risk of collision, the first vehicle can adopt the warning steps shown in S407.

[0109] Optionally, the second longitudinal distance and the corresponding threshold value may also be used to characterize the front-to-rear distance between the second vehicle and the first vehicle.

[0110] In some embodiments, the third threshold may be determined based on the speed of the first vehicle, the speed of the second vehicle, or the acceleration or deceleration of the first vehicle.

[0111] Exemplarily, if the second vehicle is a vehicle in front of the first vehicle, the third threshold value (D3) may satisfy the following formula:

[0112]

[0113] Where a is the maximum deceleration of the first vehicle, v后 is the current speed of the first vehicle, v 前 is the current speed of the second vehicle.

[0114] If the second vehicle is the vehicle behind the first vehicle, the third threshold value (D3) may satisfy the following formula:

[0115]

[0116] Where a is the maximum acceleration and deceleration of the first vehicle, v 后 is the current speed of the first vehicle, v 前 is the current speed of the second vehicle.

[0117] S407: Perform lane change warning, and control the first vehicle to brake or accelerate.

[0118] In some embodiments, the lane change warning may be to prompt the user of the first vehicle that the second vehicle may change lanes through lighting equipment and / or sound equipment inside the first vehicle.

[0119] If the first longitudinal distance between the first vehicle and the second vehicle is less than or equal to the third threshold, in order to further reduce the occurrence of a collision accident, the first vehicle may also control the first vehicle to brake or accelerate based on the position of the second vehicle to reduce the risk of a collision.

[0120] For example, if the second vehicle is in front of the first vehicle, the first vehicle can brake to increase the distance between the first vehicle and the second vehicle, providing sufficient distance for the second vehicle to change lanes, thereby reducing the probability of a collision. If the second vehicle is behind the first vehicle, the first vehicle can accelerate to increase the distance between the first vehicle and the second vehicle, providing sufficient distance for the second vehicle to change lanes, thereby reducing the probability of a collision.

[0121] Optionally, when the first vehicle is braking or accelerating, the distance between the first vehicle and the vehicle in front of or behind the lane where the first vehicle is located needs to be considered. If the distance between the first vehicle and the vehicle in front of or behind meets the braking or accelerating conditions, the first vehicle is controlled to brake or accelerate. If the distance between the first vehicle and the vehicle in front of or behind does not meet the braking or accelerating conditions, only lane change warning may be performed.

[0122] Optionally, when the conditions for controlling the first vehicle to brake or accelerate are not met, the degree of lane change warning may be more intense than when the conditions for controlling the first vehicle to brake or accelerate are met. For example, a yellow light may be used for warning when the conditions for controlling the first vehicle to brake or accelerate are met, and a red light may be used for warning when the conditions for controlling the first vehicle to brake or accelerate are not met. This embodiment of the application is not limited to this.

[0123] S408. Perform lane change warning.

[0124] The specific implementation method of step S408 in the embodiment of the present application is as follows: Figure 2 The specific implementation method shown in S204 is similar and will not be repeated here.

[0125] It should be understood that S406 and S407 are optional steps. When the first vehicle determines that the second vehicle has a tendency to change lanes to the lane where the first vehicle is located, it may also only perform a light and / or voice prompt warning.

[0126] S409: Reacquire the first horizontal distance.

[0127] In some embodiments, when the first lateral distance between the second vehicle and the first vehicle is less than the first threshold and the angle of the driving direction is greater than a preset angle, it can be determined whether the second vehicle is always approaching the first vehicle based on the subsequent first lateral distance between the second vehicle and the first vehicle (the change trend of the first lateral distance). When the second vehicle is always approaching the first vehicle, there may be a tendency to change lanes.

[0128] The first vehicle may re-collect the position information of the second vehicle through a sensor, and obtain the first lateral distance according to the position information.

[0129] Optionally, the first vehicle may re-collect the position information of the second vehicle multiple times, for example, obtain the position information of the second vehicle at multiple consecutive sampling moments, and judge the position change trend of the second vehicle based on multiple first lateral distances, thereby improving the accuracy of judging whether the second vehicle is always approaching the first vehicle.

[0130] S410, determining whether the re-acquired first horizontal distance is smaller than the current first horizontal distance and smaller than the second threshold value, if so, executing the step shown in S406, if not, the process ends.

[0131] In some embodiments, the first vehicle determines that the re-acquired first lateral distance is less than the current first lateral distance, and it can be determined that the second vehicle has been approaching the first vehicle. If the re-acquired first lateral distance is less than a second threshold, it can be considered that the second vehicle is too close to the first vehicle and the second vehicle has a tendency to change lanes, and subsequent lane change warning steps are executed.

[0132] In some embodiments, in order to improve the efficiency of warning and reduce the complexity of processing, when the first vehicle determines that the re-acquired first lateral distance is less than the current first lateral distance, it can confirm that the second vehicle is closer to the first vehicle and may change lanes. The first vehicle can execute subsequent lane change warning steps.

[0133] Optionally, when the first vehicle is executing a lane change warning, if the lane change warning is performed based on the situation that the re-acquired first lateral distance is less than the current first lateral distance, the warning means may be milder than the warning method of performing a lane change warning based on the situation that the re-acquired first lateral distance is less than the current first lateral distance and the re-acquired first lateral distance is less than the second threshold. For example, when performing a lane change warning based on the situation that the re-acquired first lateral distance is less than the current first lateral distance, a yellow light may be used for warning, and when performing a lane change warning based on the situation that the re-acquired first lateral distance is less than the current first lateral distance and the re-acquired first lateral distance is less than the second threshold, a red light may be used for warning.

[0134] It should be understood that in the embodiments of the present application, the first threshold, the second threshold and the preset angle can be set according to actual needs, and the embodiments of the present application are not limited to this.

[0135] In summary, the lane change warning method provided in the embodiment of the present application can effectively improve the accuracy of judging whether a second vehicle in an adjacent lane has a lane change trend during the driving of the first vehicle, thereby improving the driving safety of the first vehicle.

[0136] Based on the above embodiments, the embodiments of the present application also provide a lane change warning device.

[0137] Figure 6 A schematic diagram of the structure of the lane change warning device 60 provided in the embodiment of the present application is shown in FIG. Figure 6 As shown, including:

[0138] The acquisition module 601 is used to acquire the position information of a second vehicle; the second vehicle is a vehicle in a lane adjacent to the first vehicle.

[0139] The processing module 602 is used to obtain the distance and the driving direction angle between the second vehicle and the first vehicle according to the position information of the second vehicle.

[0140] A prediction module 603, configured to determine whether the second vehicle has a tendency to change lanes to the lane where the first vehicle is located according to the distance and the driving direction angle;

[0141] The warning module 604 is used to issue a lane change warning when the second vehicle has a tendency to change lanes into the lane where the first vehicle is located.

[0142] In some embodiments, the processing module 602 is also used to construct a position coordinate system; in the position coordinate system, the lateral distance and longitudinal distance between the first vehicle and the second vehicle are obtained according to the position information of the second vehicle; and the driving direction angle between the second vehicle and the first vehicle is obtained according to the lateral distance and the longitudinal distance.

[0143] In some embodiments, the lateral distance includes a first lateral distance and a second lateral distance, and the longitudinal distance includes a first longitudinal distance and a second longitudinal distance; the first lateral distance is the lateral distance between the front of the first vehicle and the front of the second vehicle, and the second lateral distance is the lateral distance between the front of the first vehicle and the rear of the second vehicle; the first longitudinal distance is the longitudinal distance between the front of the first vehicle and the front of the second vehicle, and the second longitudinal distance is the longitudinal distance between the front of the first vehicle and the rear of the second vehicle.

[0144] In some embodiments, the processing module 602 is further used to obtain a driving direction angle between the second vehicle and the first vehicle according to the first lateral distance and the second lateral distance, and the first longitudinal distance and the second longitudinal distance.

[0145] In some embodiments, the prediction module 603 is also used to determine that the second vehicle has a tendency to change lanes to the lane where the first vehicle is located if the angle of the driving direction angle is greater than a preset angle when the first lateral distance is less than or equal to a first threshold.

[0146] In some embodiments, the prediction module 603 is also used to re-acquire the first lateral distance when the first lateral distance is less than or equal to a threshold value and if the angle of the driving direction is less than or equal to a preset angle; if the re-acquired first lateral distance is less than the current first lateral distance, it is determined that the second vehicle has a tendency to change lanes to the lane where the first vehicle is located.

[0147] In some embodiments, the prediction module 603 is also used to determine that the second vehicle has a tendency to change lanes to the lane where the first vehicle is located if the first lateral distance retrieved is smaller than the current first lateral distance and smaller than a second threshold; the second threshold is smaller than the first threshold.

[0148] In some embodiments, the warning module 604 is also used to provide voice and / or light warnings to the user of the first vehicle, and / or control the first vehicle to avoid the vehicle based on the positional relationship between the second vehicle and the first vehicle, and the relationship between the second longitudinal distance and a third threshold; the avoidance includes one of decelerating, accelerating, and braking.

[0149] In some embodiments, the processing module 602 is used to obtain the third threshold value according to the speed of the first vehicle, the speed of the second vehicle, and the acceleration or deceleration of the first vehicle.

[0150] The lane change warning device provided in the embodiment of the present application can execute the lane change warning method provided in any of the above embodiments, and its principles and technical effects are similar, which will not be repeated here.

[0151] An embodiment of the present application also provides an electronic device.

[0152] Figure 7 A schematic diagram of the structure of an electronic device 70 provided in an embodiment of the present application is shown in FIG. Figure 7 As shown, including:

[0153] Processor 701.

[0154] The memory 702 is used to store executable instructions of the terminal device.

[0155] Specifically, the program may include program codes, and the program codes include computer operation instructions. The memory 702 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.

[0156] The processor 701 is used to execute the computer-executable instructions stored in the memory 702 to implement the technical solution of the lane change warning method embodiment described in the aforementioned method embodiment.

[0157] The processor 701 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.

[0158] Optionally, the electronic device 70 may further include a communication interface 703, so that communication interaction can be performed with an external device through the communication interface 703. The external device may be, for example, a user terminal (e.g., a mobile phone, a tablet). In a specific implementation, if the communication interface 703, the memory 702, and the processor 701 are implemented independently, the communication interface 703, the memory 702, and the processor 701 may be interconnected through a bus and communicate with each other.

[0159] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc., but it does not mean that there is only one bus or one type of bus.

[0160] Optionally, in a specific implementation, if the communication interface 703, the memory 702 and the processor 701 are integrated on a chip, the communication interface 703, the memory 702 and the processor 701 can communicate through an internal interface.

[0161] In an embodiment of the present application, a computer-readable storage medium is also provided, on which a computer program is stored. When the computer program is executed by a processor, the technical solution of the above-mentioned lane change warning method embodiment is implemented. The implementation principle and technical effect are similar and will not be repeated here.

[0162] In one possible implementation, a computer-readable medium may include a random access memory (RAM), a read-only memory (ROM), a compact disc read-only memory (CD-ROM) or other optical disk storage, a magnetic disk storage or other magnetic storage device, or any other medium that is intended to carry or store the required program code in the form of instructions or data structures and can be accessed by a computer. Moreover, any connection is appropriately referred to as a computer-readable medium. For example, if the software is transmitted from a website, server or other remote source using a coaxial cable, a fiber optic cable, a twisted pair, a digital subscriber line (DSL) or wireless technologies such as infrared, radio and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL or wireless technologies such as infrared, radio and microwave are included in the definition of the medium. Disks and optical disks as used herein include optical disks, laser disks, optical disks, digital versatile disks (DVDs), floppy disks and Blu-ray disks, where disks usually reproduce data magnetically, while optical disks reproduce data optically using lasers. Combinations of the above should also be included within the scope of computer-readable media.

[0163] A computer program product is also provided in an embodiment of the present application, including a computer program. When the computer program is executed by a processor, the technical solution of the above-mentioned lane change warning method embodiment is implemented. The implementation principle and technical effect are similar and will not be repeated here.

[0164] In the specific implementation of the above-mentioned terminal device or server, it should be understood that the processor can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. The general-purpose processor can be a microprocessor or the processor can be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware processor, or can be executed by a combination of hardware and software modules in the processor.

[0165] Those skilled in the art will appreciate that all or part of the steps of any of the above method embodiments may be completed by hardware associated with program instructions. The aforementioned program may be stored in a computer-readable storage medium, and when the program is executed, all or part of the steps of the above method embodiments are executed.

[0166] If the technical solution of the present application is implemented in the form of software and sold or used as a product, it can be stored in a computer-readable storage medium. Based on such an understanding, all or part of the technical solution of the present application can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a computer program or several instructions. The computer software product enables a computer device (which can be a personal computer, a server, a network device, or a similar electronic device) to perform all or part of the steps of the method described in the embodiment of the present application.

[0167] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, 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 optional embodiments, and the actions and modules involved are not necessarily required by the present application.

[0168] It should be further noted that, although the various steps in the flowchart are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless there is a clear description in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flowchart may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.

[0169] It should be understood that the above-mentioned device embodiments are only illustrative, and the device of the present application can also be implemented in other ways. For example, the division of units / modules in the above-mentioned embodiments is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units, modules or components can be combined, or can be integrated into another system, or some features can be ignored or not executed.

[0170] In addition, unless otherwise specified, each functional unit / module in each embodiment of the present application may be integrated into one unit / module, each unit / module may exist physically separately, or two or more units / modules may be integrated together. The above-mentioned integrated unit / module may be implemented in the form of hardware or in the form of a software program module.

[0171] If the integrated unit / module is implemented in the form of hardware, the hardware may be a digital circuit, an analog circuit, etc. The physical implementation of the hardware structure includes but is not limited to transistors, memristors, etc. If not specifically stated, the processor may be any appropriate hardware processor, such as a CPU, a GPU, an FPGA, a DSP, an ASIC, etc. If not specifically stated, the storage unit may be any appropriate magnetic storage medium or magneto-optical storage medium, such as a resistive random access memory RRAM (Resistive Random Access Memory), a dynamic random access memory DRAM (Dynamic Random Access Memory), a static random access memory SRAM (Static Random-Access Memory), an enhanced dynamic random access memory EDRAM (Enhanced Dynamic Random Access Memory), a high-bandwidth memory HBM (High-Bandwidth Memory), a hybrid memory cube HMC (Hybrid Memory Cube), etc.

[0172] If the integrated unit / module is implemented in the form of a software program module and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a memory and includes several instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.

[0173] In the above embodiments, the description of each embodiment has its own emphasis. For the part not described in detail in a certain embodiment, please refer to the relevant description of other embodiments. The technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0174] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A lane change warning method, characterized in that: Applied to a first vehicle, the method comprises: Acquiring position information of a second vehicle; the second vehicle is a vehicle in a lane adjacent to the first vehicle; According to the position information of the second vehicle, obtaining the distance and the driving direction angle between the second vehicle and the first vehicle; determining, according to the distance and the angle between the driving directions, whether the second vehicle has a tendency to change lanes to the lane where the first vehicle is located; When the second vehicle has a tendency to change lanes into the lane where the first vehicle is located, a lane change warning is issued.

2. The method according to claim 1, characterized in that The acquiring, according to the position information of the second vehicle, the distance and the driving direction angle between the second vehicle and the first vehicle comprises: Construct a position coordinate system; In the position coordinate system, according to the position information of the second vehicle, obtaining a lateral distance and a longitudinal distance between the first vehicle and the second vehicle; The driving direction angle between the second vehicle and the first vehicle is acquired according to the lateral distance and the longitudinal distance.

3. The method according to claim 2, characterized in that The lateral distance includes a first lateral distance and a second lateral distance, and the longitudinal distance includes a first longitudinal distance and a second longitudinal distance; The first lateral distance is the lateral distance between the front of the first vehicle and the front of the second vehicle, and the second lateral distance is the lateral distance between the front of the first vehicle and the rear of the second vehicle; The first longitudinal distance is the longitudinal distance between the front of the first vehicle and the front of the second vehicle, and the second longitudinal distance is the longitudinal distance between the front of the first vehicle and the rear of the second vehicle; The obtaining, according to the lateral distance and the longitudinal distance, a driving direction angle between the second vehicle and the first vehicle, comprises: The driving direction angle between the second vehicle and the first vehicle is acquired according to the first lateral distance and the second lateral distance, and the first longitudinal distance and the second longitudinal distance.

4. The method according to claim 3, characterized in that The determining, based on the distance and the included angle of the driving direction, that the second vehicle has a tendency to change lanes to the lane where the first vehicle is located includes: When the first lateral distance is less than or equal to a first threshold, if the angle of the driving direction angle is greater than a preset angle, it is determined that the second vehicle has a tendency to change lanes to the lane where the first vehicle is located; or, When the first lateral distance is less than or equal to a threshold value, if the angle of the driving direction angle is less than or equal to a preset angle, reacquiring the first lateral distance; If the reacquired first lateral distance is smaller than the current first lateral distance, it is determined that the second vehicle has a tendency to change lanes to the lane where the first vehicle is located.

5. The method according to claim 4, characterized in that The method further comprises: If the reacquired first lateral distance is smaller than the current first lateral distance and smaller than a second threshold, it is determined that the second vehicle has a tendency to change lanes to the lane where the first vehicle is located; and the second threshold is smaller than the first threshold.

6. The method according to any one of claims 3 to 5, characterized in that: The lane change warning comprises: Providing voice and / or light warning to the user of the first vehicle, and / or controlling the first vehicle to avoid an obstacle based on the positional relationship between the second vehicle and the first vehicle, and the relationship between the second longitudinal distance and a third threshold; the avoidance includes one of deceleration, acceleration, and braking.

7. The method according to claim 6, characterized in that The method further comprises: The third threshold is acquired according to the speed of the first vehicle, the speed of the second vehicle, and the acceleration or deceleration of the first vehicle.

8. A lane change warning device, characterized in that: Applied to a first vehicle, the device comprises: An acquisition module, used to acquire position information of a second vehicle; the second vehicle is a vehicle in a lane adjacent to the first vehicle; A processing module, configured to obtain a distance and a driving direction angle between the second vehicle and the first vehicle according to the position information of the second vehicle; a prediction module, configured to determine, based on the distance and the angle between the driving directions, whether the second vehicle has a tendency to change lanes to the lane where the first vehicle is located; The warning module is used to issue a lane change warning when the second vehicle has a tendency to change lanes into the lane where the first vehicle is located.

9. An electronic device, characterized in that: include: Memory for storing computer programs; A processor, configured to execute the computer program to implement the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and the computer program is executed by a processor to implement the method according to any one of claims 1 to 7.