Vehicle driving risk determination method and device, electronic equipment and storage medium

By obtaining and matching vehicle trajectories and headlight parameters, the driving risk is calculated, which solves the problem of difficulty in judging the driving risk caused by light interference in the driver's vision, realizes the quantitative assessment of vehicle driving risks and the adoption of safety measures, and improves driving efficiency. Security.

CN118701067APending Publication Date: 2024-09-27ZHEJIANG UNIVIEW TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310325633.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-27
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

During the driving of the vehicle, it is difficult to judge the driving risk caused by the interference of light to the driver's vision. Especially in night scenes, the high beams of oncoming vehicles will interfere with the driver's field of vision and increase the risk of accidents.

Method used

By obtaining the driving trajectories of the current vehicle and the oncoming vehicle, matching the historical trajectories, and determining the coverage and intensity of the vehicle lights according to the vehicle light parameters, the driving risk is calculated and a quantitative assessment of the vehicle driving risk is achieved.

Benefits of technology

When vehicle driving risks are high, safety measures can be taken promptly to improve driving safety and reduce traffic accidents caused by visual interference.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118701067A
    Figure CN118701067A
Patent Text Reader

Abstract

The invention discloses a vehicle driving risk determination method and device, electronic equipment and a storage medium. The method comprises the following steps: acquiring a driving track of a current vehicle, determining a historical track matched with the current vehicle according to the driving track of the current vehicle, acquiring a driving track of an opposite vehicle, and determining a historical track matched with the opposite vehicle according to the driving track of the opposite vehicle; according to the historical track matched with the current vehicle, the historical track matched with the opposite vehicle and the vehicle lamp parameters of the opposite vehicle, the opposite vehicle lamp coverage range and the opposite vehicle lamp intensity are determined; and determining the driving risk of the current vehicle according to the opposite vehicle lamp coverage range and the opposite vehicle lamp intensity. By using the technical scheme of the invention, quantitative evaluation of the vehicle driving risk can be realized, so that the driving safety is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to a method, device, electronic device and storage medium for determining vehicle driving risk. Background Art

[0002] With the popularity of vehicles, driving has become a mainstream mode of transportation. However, during the driving process, safety accidents are prone to occur due to the driver's vision being affected. For example, when the vehicle is driving to a corner, the driver's vision is temporarily unable to see the road ahead due to light reasons, resulting in traffic safety accidents. Especially in night scenes, the lights of oncoming vehicles, especially high beams, will interfere with the driver's field of vision, resulting in driving risks.

[0003] Therefore, how to judge the driving risk during vehicle driving has become an urgent problem to be solved. Summary of the invention

[0004] The present invention provides a method, device, electronic device and storage medium for determining vehicle driving risk, so as to achieve quantitative evaluation of vehicle driving risk, thereby improving driving safety.

[0005] In a first aspect, an embodiment of the present invention provides a method for determining a vehicle driving risk, the method comprising:

[0006] Acquire a driving trajectory of a current vehicle, and determine a historical trajectory matching the current vehicle according to the driving trajectory of the current vehicle, and acquire a driving trajectory of an oncoming vehicle, and determine a historical trajectory matching the oncoming vehicle according to the driving trajectory of the oncoming vehicle;

[0007] Determine the coverage range and intensity of the oncoming vehicle lights according to the historical track matched with the current vehicle, the historical track matched with the oncoming vehicle, and the light parameters of the oncoming vehicle;

[0008] The driving risk of the current vehicle is determined according to the coverage range of the oncoming vehicle lights and the intensity of the oncoming vehicle lights.

[0009] In a second aspect, an embodiment of the present invention further provides a device for determining a vehicle driving risk, the device comprising:

[0010] a trajectory matching module, used to obtain a driving trajectory of a current vehicle, and determine a historical trajectory matching the current vehicle according to the driving trajectory of the current vehicle, and to obtain a driving trajectory of an oncoming vehicle, and determine a historical trajectory matching the oncoming vehicle according to the driving trajectory of the oncoming vehicle;

[0011] A headlight range and intensity determination module, configured to determine the oncoming headlight coverage and the oncoming headlight intensity according to the historical trajectory matched with the current vehicle, the historical trajectory matched with the oncoming vehicle, and the headlight parameters of the oncoming vehicle;

[0012] The driving risk determination module is used to determine the driving risk of the current vehicle according to the coverage range of the oncoming vehicle lights and the intensity of the oncoming vehicle lights.

[0013] In a third aspect, an embodiment of the present invention further provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, a method for determining a vehicle driving risk as described in any one of the embodiments of the present invention is implemented.

[0014] In a fourth aspect, an embodiment of the present invention further provides a storage medium storing computer executable instructions, wherein the computer executable instructions, when executed by a computer processor, are used to execute a method for determining a vehicle driving risk as described in any one of the embodiments of the present invention.

[0015] The technical solution of the embodiment of the present invention determines the matched historical tracks for the current vehicle and the oncoming vehicle respectively, determines the coverage range and intensity of the oncoming vehicle lights respectively according to the historical tracks matched with the current vehicle, the historical tracks matched with the oncoming vehicle and the light parameters of the oncoming vehicle, and determines the driving risk of the current vehicle according to the coverage range and intensity of the oncoming vehicle lights. The quantitative assessment of the driving risk of the vehicle is achieved, so that safety measures can be taken in time when the driving risk of the vehicle is high, thereby improving driving safety.

[0016] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0018] Figure 1 is a flow chart of a method for determining vehicle driving risk provided by Embodiment 1 of the present invention;

[0019] Figure 2 is a flow chart of a method for determining vehicle driving risk provided by Embodiment 2 of the present invention;

[0020] Figure 3 This is a schematic diagram of a two-way lane vehicle intersection provided by the second embodiment of the present invention;

[0021] Figure 4 is a schematic diagram of the coverage range of an oncoming vehicle light provided in the second embodiment of the present invention;

[0022] Figure 5 is a schematic diagram of a curve of a change in vehicle distance and a headlight intensity coefficient before a vehicle intersection provided by a second embodiment of the present invention;

[0023] Figure 6 is a schematic diagram of a curve of a change in vehicle distance and a vehicle light intensity coefficient during a vehicle intersection process provided by a second embodiment of the present invention;

[0024] Figure 7 It is a structural schematic diagram of a device for determining vehicle driving risk provided by Embodiment 3 of the present invention;

[0025] Figure 8 It is a structural schematic diagram of an electronic device provided in Embodiment 4 of the present invention. DETAILED DESCRIPTION

[0026] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

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

[0028] Embodiment 1

[0029] Figure 1A flowchart of a method for determining vehicle driving risk is provided for embodiment 1 of the present invention. This embodiment can be applied to determining the driving risk caused by the headlights of an oncoming vehicle to the vehicle. The method can be executed by a device for determining vehicle driving risk. The device for determining vehicle driving risk can be implemented in the form of hardware and / or software. The device for determining vehicle driving risk can be configured in a server.

[0030] like Figure 1 As shown, the method includes:

[0031] S110, obtaining a driving trajectory of a current vehicle, and determining a historical trajectory matching the current vehicle according to the driving trajectory of the current vehicle, and obtaining a driving trajectory of an oncoming vehicle, and determining a historical trajectory matching the oncoming vehicle according to the driving trajectory of the oncoming vehicle.

[0032] The driving trajectory of the current vehicle can be determined based on the current position of the current vehicle and the various historical positions of the current vehicle in a period of time before the current moment. The oncoming vehicle refers to a vehicle traveling in the opposite lane of the lane where the current vehicle is located and traveling in the opposite direction of the current vehicle. Accordingly, the driving trajectory of the oncoming vehicle can be determined based on the current position of the oncoming vehicle and the various historical positions of the oncoming vehicle in a period of time before the current moment. This embodiment does not limit the specific method of determining the driving trajectory of the vehicle.

[0033] The historical track may be the driving track of historical vehicles collected in the lane where the current vehicle is located. Specifically, the driving tracks of each historical vehicle in the lane where the current vehicle is located in the historical time period are collected, wherein the historical vehicles may be all vehicles that have traveled in the lane where the current vehicle is located in the historical time period, or may be vehicles that have had safety accidents in the lane where the current vehicle is located in the historical time period, and this embodiment does not limit this.

[0034] Furthermore, after collecting the driving trajectories of historical vehicles in the lane where the current vehicle is located in the historical time period, the driving trajectories of each historical vehicle can be classified. Specifically, since the driving risk of a vehicle is related to factors such as vehicle condition, road condition, weather, scene brightness, and vehicle speed, the driving trajectories of each historical vehicle can be classified according to the above factors to obtain different types of historical trajectories.

[0035] Accordingly, determining the historical track matching the current vehicle according to the driving track of the current vehicle may be, according to the above factors, determining the historical track matching the driving track of the current vehicle from among the different types of historical tracks. Similarly, determining the historical track matching the driving track of the oncoming vehicle according to the driving track of the oncoming vehicle may be, according to the above factors, determining the historical track matching the driving track of the oncoming vehicle from among the different types of historical tracks.

[0036] S120: Determine the coverage range and intensity of the oncoming vehicle lights according to the historical trajectory matched with the current vehicle, the historical trajectory matched with the oncoming vehicle, and the headlight parameters of the oncoming vehicle.

[0037] Among them, the headlight parameters can be used to represent the headlight model, headlight intensity, the coverage of the illumination area of ​​the headlight at different distances, and the angle of the illumination area of ​​the headlight at different distances of the vehicle. The headlight parameters can be collected in advance through the Internet of Vehicles. Specifically, different types of vehicles upload their headlight parameters to the Internet of Vehicles server respectively. It is also possible to calculate the headlight parameters such as the coverage of the illumination area of ​​the headlight at different distances and the angle of the illumination area of ​​the headlight at different distances based on the video frame images captured by the monitoring equipment. It is also possible to identify the headlight type of the vehicle, compare the identified headlight type with the headlight type of the stored headlight parameters, and use the headlight parameters of the stored headlight type with higher similarity as the headlight parameters of the vehicle. This embodiment does not limit the specific content and acquisition method of the headlight parameters.

[0038] Among them, the oncoming headlight coverage is used to indicate the range of the current vehicle driver's field of vision covered by the oncoming vehicle's headlights under the illumination of the oncoming vehicle's headlights, and the oncoming headlight intensity is used to indicate the impact of the intensity of the oncoming vehicle's headlights on the current vehicle driver at the current position. It can be understood that the larger the oncoming headlight coverage, that is, the larger the range of the current vehicle driver's field of vision covered by the oncoming vehicle's headlights, the higher the degree of interference in the current vehicle driver's field of vision, and the greater the driving risk. The greater the oncoming headlight intensity, that is, the greater the impact of the intensity of the oncoming vehicle's headlights on the current vehicle driver at the current position, the greater the driving risk.

[0039] In this embodiment, the headlights of the oncoming vehicle will cause different degrees of interference to the line of sight of the current vehicle driver, thereby causing different degrees of vehicle driving risks. The degree of interference of the headlights of the oncoming vehicle on the line of sight of the current vehicle driver is related to the headlight intensity of the oncoming vehicle headlights at the current position and the coverage range of the driver's field of vision under the illumination of the oncoming headlights. Therefore, in this embodiment, after determining the historical trajectory matching the current vehicle and the historical trajectory matching the oncoming vehicle, the relative angle of the historical trajectory between the two vehicles can be determined based on the historical trajectory matching the current vehicle and the historical trajectory matching the oncoming vehicle, and then the coverage range and intensity of the oncoming headlights can be determined based on the distance between the current positions of the two vehicles and the headlight parameters of the oncoming vehicle, thereby determining the driving risk of the current vehicle based on the coverage range and intensity of the oncoming headlights.

[0040] S130: Determine the driving risk of the current vehicle according to the coverage range of the oncoming vehicle lights and the intensity of the oncoming vehicle lights.

[0041] In this embodiment, the driving risk of the current vehicle is not only related to the degree to which the headlights of the oncoming vehicle interfere with the current vehicle driver's line of sight, but also to factors such as vehicle condition, road condition, weather, scene brightness, and vehicle speed. In the above embodiment, the driving trajectories of each historical vehicle are classified according to the above factors, and different types of historical trajectories are obtained. Therefore, different types of historical trajectories have different risk levels, and the risk level can be represented by a risk coefficient. The risk coefficients of different types of historical trajectories can be determined separately according to the historical information corresponding to different types of historical trajectories. It can be understood that the more complex the road conditions (mountain roads, winding roads, etc.), the worse the weather, the darker the scene, and the faster the vehicle speed, the greater the corresponding risk coefficient and the greater the driving risk.

[0042] After determining the historical trajectory matched by the current vehicle, the risk coefficient matched with the current vehicle can be determined, thereby determining the driving risk according to the coverage of the oncoming vehicle lights, the intensity of the oncoming vehicle lights and the risk coefficient.

[0043] Optionally, S130 may further include: determining a risk coefficient matching the current vehicle; and taking the sum of the coverage range of the oncoming vehicle lights and the intensity of the oncoming vehicle lights, multiplied by the risk coefficient, as the driving risk of the current vehicle.

[0044] Correspondingly, determining the risk coefficient that matches the current vehicle may include: determining a risk coefficient table, the risk coefficient table being used to represent the risk coefficients corresponding to different distances between the current vehicle and the oncoming vehicle when the current vehicle travels according to the historical trajectory that matches the current vehicle; determining the risk coefficient that matches the current vehicle based on the current distance between the current vehicle and the oncoming vehicle and the risk coefficient table.

[0045] In the embodiment of the present invention, after the driving trajectories of each historical vehicle are classified according to factors such as vehicle condition, road condition, weather, scene brightness, vehicle speed, etc., for different types of historical trajectories, a risk coefficient table matching the historical trajectory is determined according to the corresponding historical information such as vehicle condition, road condition, weather, scene brightness, vehicle speed, etc. It can be understood that when the current vehicle is driving according to the historical trajectory matching the current vehicle, the shorter the distance between the current vehicle and the oncoming vehicle, the greater the risk coefficient.

[0046] After determining the historical trajectory that matches the current vehicle, the risk coefficient table of the current vehicle can be determined, and then the risk coefficient at the current distance can be determined based on the current distance between the current vehicle and the oncoming vehicle. The sum of the oncoming vehicle light coverage and the oncoming vehicle light intensity multiplied by the risk coefficient is used as the driving risk of the current vehicle.

[0047] Furthermore, after determining the coverage range and intensity of the oncoming vehicle lights, the coverage range and intensity of the oncoming vehicle lights can be normalized respectively, and the normalized coverage range and intensity of the oncoming vehicle lights can be summed and then multiplied by the risk coefficient to obtain the driving risk. This embodiment does not limit this.

[0048] In this embodiment, the degree to which the headlights of oncoming vehicles interfere with the current vehicle's driver's line of sight, as well as the impact of factors such as vehicle conditions, road conditions, weather, scene brightness, and vehicle speed on driving risks are fully considered. This allows for a quantitative assessment of the current vehicle's driving risk and an accurate measure of the current vehicle's driving risk.

[0049] The technical solution of the embodiment of the present invention determines the matched historical tracks for the current vehicle and the oncoming vehicle respectively, determines the coverage range and intensity of the oncoming vehicle lights respectively according to the historical tracks matched with the current vehicle, the historical tracks matched with the oncoming vehicle and the light parameters of the oncoming vehicle, and determines the driving risk of the current vehicle according to the coverage range and intensity of the oncoming vehicle lights. The quantitative assessment of the driving risk of the vehicle is achieved, so that safety measures can be taken in time when the driving risk of the vehicle is high, thereby improving driving safety.

[0050] Embodiment 2

[0051] Figure 2 A flow chart of a method for determining vehicle driving risk provided in the second embodiment of the present invention. Based on the above embodiments, the embodiment of the present invention further specifies the process of determining the historical trajectory matching the current vehicle and the oncoming vehicle, the process of determining the coverage range of the oncoming vehicle lights, the process of determining the intensity of the oncoming vehicle lights, and the process of determining the driving risk.

[0052] like Figure 2 As shown, the method includes:

[0053] S210: Acquire a historical trajectory and historical information matching the historical trajectory.

[0054] The historical information includes core factor information and non-core factor information, and the historical information includes at least two of the following: weather information, time information, road condition information, and vehicle status information.

[0055] It is understandable that different types of historical information have different influences on driving risk, and the historical information with greater influence on driving risk can be used as the core factor information. For example, weather information, road condition information and time information can be used as the core factor information.

[0056] S220 , classifying each historical trajectory according to the core factor information and the non-core factor information of each historical trajectory to obtain different types of historical trajectories.

[0057] In this embodiment, multiple historical trajectories in the lane where the current vehicle is located within the historical time period and historical information corresponding to each historical trajectory are counted, and each historical trajectory is classified according to core factor information and non-core factor information of each historical trajectory.

[0058] Specifically, after determining the core factor information, firstly, the historical tracks with the same core factor information are classified into one category, and then the historical tracks classified into one category are further classified according to the remaining non-core factor information.

[0059] For example, if the core factor information is determined to be weather information, road condition information, time information, and vehicle speed, then the historical trajectories with weather information A, road condition information B, time information C, and vehicle speed D are first classified into one category. The non-core factor information is vehicle condition information, personnel information, and other information. The historical information of the six historical trajectories with weather information A, road condition information B, time information C, and vehicle speed D is shown in Table 1 below:

[0060] serial number Weather Information Traffic information Time Information Vehicle speed Vehicle status information Personnel situation Additional Information 1 A B C D E1 F2 G1 2 A B C D E1 F1 G3 3 A B C D E1 F1 G5 4 A B C D E2 F6 G3 5 A B C D E2 F3 G2 6 A B C D E2 F6 G9

[0061] Among them, since historical trajectory 2 and historical trajectory 3 have the same non-core factors of vehicle condition information and personnel situation, historical trajectory 2 and historical trajectory 3 are classified into one category; since historical trajectory 4 and historical trajectory 6 have the same non-core factors of vehicle condition information and personnel situation, historical trajectory 4 and historical trajectory 6 are classified into one category; historical trajectory 1 and historical trajectory 5 are each classified as a separate category.

[0062] S230: Acquire a driving trajectory of the current vehicle, and determine a historical trajectory matching the current vehicle from among the historical trajectories of each type according to a matching degree between the driving trajectory of the current vehicle and each type of historical trajectory.

[0063] It should be noted that the collection and classification of historical trajectories are performed according to the road direction and lane. For example, when the road is a two-way two-lane road, the historical trajectories of the two lanes in different directions are collected and classified respectively. When the road is a two-way four-lane road, similarly, the historical trajectories of the four lanes are collected and classified respectively.

[0064] After determining the driving trajectory of the current vehicle, the matching degree between each type of historical trajectory of the lane where the current vehicle is located and the driving trajectory of the current vehicle is calculated respectively, and the historical trajectory with the highest matching degree is selected as the historical trajectory matching the current vehicle. Specifically, points can be taken for the driving trajectory of the current vehicle and each type of historical trajectory of the lane where the current vehicle is located respectively, for example, a position point is taken every 100ms, and the position point is marked. When the distance between the position point on the driving trajectory and the position point on the historical trajectory is less than a preset distance threshold, the position point on the driving trajectory is considered to be the same as the position point on the historical trajectory, and the ratio of the number of the same position points to the number of all position points on the driving trajectory is used as the matching degree of the driving trajectory and the historical trajectory. However, this embodiment does not specifically limit the method of calculating the matching degree between the driving trajectory of the current vehicle and each historical trajectory of the lane where the current vehicle is located.

[0065] S240: Acquire a driving trajectory of an oncoming vehicle, and determine a historical trajectory matching the oncoming vehicle from among the historical trajectories of each type according to a matching degree between the driving trajectory of the oncoming vehicle and each type of historical trajectory.

[0066] Similarly, after determining the driving trajectory of the oncoming vehicle, the matching degree between each type of historical trajectory of the lane where the oncoming vehicle is located and the driving trajectory of the oncoming vehicle is calculated respectively, and the historical trajectory with the highest matching degree is selected as the historical trajectory matching the oncoming vehicle.

[0067] S250: Obtain a current distance between the current vehicle and the oncoming vehicle.

[0068] Among them, the distance between the current vehicle and the oncoming vehicle affects the coverage range of the oncoming vehicle lights, the intensity of the oncoming vehicle lights and the risk factor.

[0069] S260: Determine the headlight coverage and headlight angle of the oncoming vehicle at the current distance according to the headlight parameters of the oncoming vehicle.

[0070] Since the headlight parameters are used to describe the headlight coverage and headlight angle of the oncoming vehicle at different distances, after obtaining the current distance, the headlight coverage and headlight angle of the oncoming vehicle at the current distance can be determined.

[0071] S270. Determine the headlight coverage of an oncoming vehicle according to the historical trajectory matched with the current vehicle, the historical trajectory matched with the oncoming vehicle, the current distance, and the headlight coverage and headlight angle of the oncoming vehicle at the current distance.

[0072] After determining the historical tracks that match the current vehicle and the historical tracks that match the oncoming vehicle, the vehicle angle of the current vehicle and the vehicle angle of the oncoming vehicle can be determined. The oncoming vehicle light coverage can be determined based on the headlight angle of the oncoming vehicle at the current distance, the vehicle angle of the current vehicle, the vehicle angle of the oncoming vehicle, and the headlight coverage of the oncoming vehicle at the current distance.

[0073] Figure 3 A schematic diagram of a two-way lane vehicle intersection is provided, such as Figure 3 As shown, when vehicle 1 and vehicle 2 intersect, if vehicle 1 is the current vehicle and vehicle 2 is the oncoming vehicle, the distance between vehicle 1 and vehicle 2, the vehicle angle between vehicle 1 and vehicle 2, and the headlight coverage and headlight angle of vehicle 2 will all affect the coverage of the oncoming headlights of vehicle 1 by the headlights of vehicle 2.

[0074] Figure 4 A schematic diagram of the coverage of the oncoming vehicle lights is provided, such as Figure 4 As shown in the schematic diagram on the left, the elliptical area is used to represent the headlight coverage area of ​​vehicle 2, the rounded rectangular area is the front window area of ​​vehicle 1, and the intersection of the elliptical area and the rounded rectangular area is the oncoming headlight coverage area of ​​vehicle 1. Figure 4 As shown in the schematic diagram on the right side, the elliptical area is used to represent the headlight coverage area of ​​vehicle 1, the rounded rectangular area is the front window area of ​​vehicle 2, and the intersection area of ​​the elliptical area and the rounded rectangular area is the oncoming headlight coverage range of vehicle 2.

[0075] S280: Determine the headlight intensity of the oncoming vehicle according to the headlight parameters of the oncoming vehicle.

[0076] S290: Determine a vehicle headlight intensity coefficient that matches the current distance according to the current distance and a curve of changes in the distance and the vehicle headlight intensity coefficient.

[0077] Among them, the headlight intensity coefficient is used to indicate the influence of headlight intensity on the driver's field of vision.

[0078] Figure 5A schematic diagram of the change curve of the vehicle distance and the headlight intensity coefficient before the vehicle intersection is provided, such as Figure 5 As shown, the horizontal axis represents the vehicle distance, and the vehicle distance ranges from large to small. The vertical axis represents the headlight intensity coefficient. As the vehicle distance becomes closer, the intersection area of ​​the headlight coverage area of ​​the oncoming vehicle and the front area of ​​the current vehicle increases, and the current vehicle driver's field of vision will be rapidly affected by the headlight intensity. However, as the current vehicle driver's eyes gradually adapt, the change in the field of vision affected by the headlight intensity will tend to be gentle. Figure 6 A schematic diagram of the change curve of vehicle distance and headlight intensity coefficient during vehicle intersection is provided, such as Figure 6 As shown, the horizontal axis represents the vehicle distance. As the vehicle distance increases from small to large, when two vehicles meet and pass each other, the field of vision of the current vehicle driver will be gradually affected by the intensity of the headlights.

[0079] S2100. Determine the intensity of the oncoming vehicle lights according to the intensity of the oncoming vehicle lights and a light intensity coefficient that matches the current distance.

[0080] Specifically, after the headlight intensity of the oncoming vehicle and the headlight intensity coefficient matching the current distance are determined, the product of the headlight intensity and the headlight intensity coefficient can be used as the oncoming headlight intensity.

[0081] S2110. Determine a risk factor that matches the current vehicle.

[0082] The process of determining the risk factor of the current vehicle has been described in the above embodiment, and will not be repeated in this embodiment.

[0083] S2120. Taking the product of the sum of the coverage range of the oncoming vehicle lights and the intensity of the oncoming vehicle lights and the risk coefficient as the driving risk of the current vehicle.

[0084] The process of calculating the driving risk has been described in the above embodiment, and will not be repeated in this embodiment.

[0085] Further, after the driving risk is calculated, if it is determined that the value of the driving risk is less than the first threshold, it means that the driving risk is small at this time, and no measures can be taken temporarily, and the driving risk monitoring is still continued. If it is determined that the value of the driving risk is greater than or equal to the first threshold, at least one of the following measures is performed according to the value of the driving risk: risk warning is performed, and measures such as deceleration, shock prevention, and seat belt tightening are taken in conjunction with the vehicle's automatic driving system, auxiliary driving system, etc. Specifically, if it is determined that the value of the driving risk is greater than or equal to the first threshold and less than the second threshold, it means that there is a certain driving risk at this time, and a risk warning is performed. Further, the risk warning can be in the form of voice prompts, display screen text prompts, etc. If it is determined that the value of the driving risk is greater than the second threshold, it means that the driving risk is large at this time, and measures such as deceleration, shock prevention, and seat belt tightening can be taken in conjunction with the vehicle's automatic driving system, auxiliary driving system, etc. This embodiment does not limit the specific types of corresponding measures taken under different driving risks.

[0086] Embodiment 3

[0087] Figure 7 This is a schematic diagram of the structure of a device for determining vehicle driving risk provided by Embodiment 3 of the present invention. Figure 7 As shown, the device includes: a trajectory matching module 310, a vehicle light range and intensity determination module 320, and a driving risk determination module 330. Among them:

[0088] The trajectory matching module 310 is used to obtain the driving trajectory of the current vehicle and determine the historical trajectory matching the current vehicle according to the driving trajectory of the current vehicle, and to obtain the driving trajectory of the oncoming vehicle and determine the historical trajectory matching the oncoming vehicle according to the driving trajectory of the oncoming vehicle;

[0089] A headlight range and intensity determination module 320, configured to determine the oncoming headlight coverage and the oncoming headlight intensity according to the historical trajectory matched with the current vehicle, the historical trajectory matched with the oncoming vehicle, and the headlight parameters of the oncoming vehicle;

[0090] The driving risk determination module 330 is used to determine the driving risk of the current vehicle according to the coverage range of the oncoming vehicle lights and the intensity of the oncoming vehicle lights.

[0091] The technical solution of the embodiment of the present invention determines the matched historical tracks for the current vehicle and the oncoming vehicle respectively, determines the coverage range and intensity of the oncoming vehicle lights respectively according to the historical tracks matched with the current vehicle, the historical tracks matched with the oncoming vehicle and the light parameters of the oncoming vehicle, and determines the driving risk of the current vehicle according to the coverage range and intensity of the oncoming vehicle lights. The quantitative assessment of the driving risk of the vehicle is achieved, so that safety measures can be taken in time when the driving risk of the vehicle is high, thereby improving driving safety.

[0092] Based on the above embodiment, the device further includes:

[0093] A historical track acquisition module, used to acquire the historical track and the historical information matching the historical track;

[0094] The historical information includes core factor information and non-core factor information, and the historical information includes at least two of the following: weather information, time information, road condition information, and vehicle status information;

[0095] The historical trajectory classification module is used to classify each historical trajectory according to the core factor information and non-core factor information of each historical trajectory to obtain different types of historical trajectories.

[0096] Based on the above embodiment, the trajectory matching module 310 includes:

[0097] A first historical track determination unit, configured to determine a historical track matching the current vehicle from among various types of historical tracks according to a matching degree between the driving track of the current vehicle and various types of historical tracks;

[0098] The second historical track determining unit is used to determine a historical track matching the oncoming vehicle from among the various types of historical tracks according to the matching degree between the driving track of the oncoming vehicle and the various types of historical tracks.

[0099] Based on the above embodiment, the vehicle light range and intensity determination module 320 includes:

[0100] A current distance acquisition unit, used to acquire the current distance between the current vehicle and the oncoming vehicle;

[0101] A headlight parameter determination unit, configured to determine the headlight coverage and headlight angle of the oncoming vehicle at a current distance according to the headlight parameters of the oncoming vehicle;

[0102] The oncoming vehicle headlight coverage range determination unit is used to determine the oncoming vehicle headlight coverage range based on the historical trajectory matching the current vehicle, the historical trajectory matching the oncoming vehicle, the current distance, and the headlight coverage range and headlight angle of the oncoming vehicle at the current distance.

[0103] Based on the above embodiment, the vehicle light range and intensity determination module 320 includes:

[0104] A headlight intensity determination unit, configured to determine the headlight intensity of the oncoming vehicle according to the headlight parameters of the oncoming vehicle;

[0105] A vehicle light intensity coefficient determination unit, configured to determine a vehicle light intensity coefficient that matches the current distance according to the current distance and a change curve between the distance and the vehicle light intensity coefficient;

[0106] The oncoming vehicle light intensity determination unit is used to determine the oncoming vehicle light intensity according to the oncoming vehicle light intensity and a light intensity coefficient matching the current distance.

[0107] Based on the above embodiment, the driving risk determination module 330 includes:

[0108] A risk coefficient determination unit, used to determine a risk coefficient matching the current vehicle;

[0109] The driving risk determination unit is used to take the product of the sum of the oncoming vehicle light coverage range and the oncoming vehicle light intensity and the risk coefficient as the driving risk of the current vehicle.

[0110] Based on the above embodiment, the risk coefficient determination unit is specifically used to:

[0111] Determine a risk coefficient table, the risk coefficient table being used to represent risk coefficients corresponding to different distances between the current vehicle and the oncoming vehicle when the current vehicle travels according to a historical trajectory matching the current vehicle;

[0112] A risk coefficient matching the current vehicle is determined according to a current distance between the current vehicle and the oncoming vehicle and the risk coefficient table.

[0113] The device for determining the vehicle driving risk provided in the embodiment of the present invention can execute the method for determining the vehicle driving risk provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0114] Embodiment 4

[0115] Figure 8A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0116] like Figure 8 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0117] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0118] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a method for determining vehicle driving risk.

[0119] In some embodiments, the method for determining the risk of vehicle driving may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the method for determining the risk of vehicle driving described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute the method for determining the risk of vehicle driving in any other appropriate manner (e.g., by means of firmware).

[0120] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0121] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0122] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0123] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0124] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0125] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0126] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0127] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for determining vehicle driving risk, characterized in that: include: Acquire a driving trajectory of a current vehicle, and determine a historical trajectory matching the current vehicle according to the driving trajectory of the current vehicle, and acquire a driving trajectory of an oncoming vehicle, and determine a historical trajectory matching the oncoming vehicle according to the driving trajectory of the oncoming vehicle; Determine the coverage range and intensity of the oncoming vehicle lights according to the historical track matched with the current vehicle, the historical track matched with the oncoming vehicle, and the light parameters of the oncoming vehicle; The driving risk of the current vehicle is determined according to the coverage range of the oncoming vehicle lights and the intensity of the oncoming vehicle lights.

2. The method according to claim 1, characterized in that The method further comprises: Acquire a historical track and historical information matching the historical track; The historical information includes core factor information and non-core factor information, and the historical information includes at least two of the following: weather information, time information, road condition information, and vehicle status information; According to the core factor information and non-core factor information of each historical trajectory, each historical trajectory is classified to obtain different types of historical trajectories.

3. The method according to claim 2, characterized in that Determining a historical track matching the current vehicle according to the driving track of the current vehicle includes: According to the matching degree between the driving trajectory of the current vehicle and each type of historical trajectory, determining the historical trajectory matching the current vehicle from each type of historical trajectory; Determining a historical trajectory matching the oncoming vehicle according to the driving trajectory of the oncoming vehicle includes: According to the matching degree between the driving trajectory of the oncoming vehicle and each type of historical trajectory, a historical trajectory matching the oncoming vehicle is determined from each type of historical trajectory.

4. The method according to claim 1, characterized in that: Determining the coverage range of the oncoming vehicle lights according to the historical track matched with the current vehicle, the historical track matched with the oncoming vehicle, and the light parameters of the oncoming vehicle, including: Acquire the current distance between the current vehicle and the oncoming vehicle; Determine the headlight coverage and headlight angle of the oncoming vehicle at the current distance according to the headlight parameters of the oncoming vehicle; The oncoming vehicle headlight coverage is determined according to the historical trajectory matched with the current vehicle, the historical trajectory matched with the oncoming vehicle, the current distance, and the headlight coverage and headlight angle of the oncoming vehicle at the current distance.

5. The method according to claim 4, characterized in that Determining the intensity of the oncoming vehicle lights according to the historical track matched with the current vehicle, the historical track matched with the oncoming vehicle, and the light parameters of the oncoming vehicle, including: Determining the headlight intensity of the oncoming vehicle according to the headlight parameters of the oncoming vehicle; Determining a headlight intensity coefficient that matches the current distance according to the current distance and a change curve of the distance and the headlight intensity coefficient; The intensity of the oncoming vehicle lights is determined according to the intensity of the oncoming vehicle lights and a light intensity coefficient that matches the current distance.

6. The method according to claim 1, characterized in that Determining the driving risk of the current vehicle according to the coverage range of the oncoming vehicle lights and the intensity of the oncoming vehicle lights includes: Determining a risk factor matching the current vehicle; The product of the sum of the oncoming vehicle light coverage range and the oncoming vehicle light intensity and the risk coefficient is used as the driving risk of the current vehicle.

7. The method according to claim 6, characterized in that Determining a risk factor matching the current vehicle includes: Determine a risk coefficient table, the risk coefficient table being used to represent risk coefficients corresponding to different distances between the current vehicle and the oncoming vehicle when the current vehicle travels according to a historical trajectory matching the current vehicle; A risk coefficient matching the current vehicle is determined according to a current distance between the current vehicle and the oncoming vehicle and the risk coefficient table.

8. A device for determining vehicle driving risk, characterized in that: include: a trajectory matching module, used to obtain a driving trajectory of a current vehicle, and determine a historical trajectory matching the current vehicle according to the driving trajectory of the current vehicle, and to obtain a driving trajectory of an oncoming vehicle, and determine a historical trajectory matching the oncoming vehicle according to the driving trajectory of the oncoming vehicle; A headlight range and intensity determination module, configured to determine the oncoming headlight coverage and the oncoming headlight intensity according to the historical trajectory matched with the current vehicle, the historical trajectory matched with the oncoming vehicle, and the headlight parameters of the oncoming vehicle; The driving risk determination module is used to determine the driving risk of the current vehicle according to the coverage range of the oncoming vehicle lights and the intensity of the oncoming vehicle lights.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the method for determining the vehicle driving risk as described in any one of claims 1-7 is implemented.

10. A storage medium storing computer executable instructions, characterized in that: The computer executable instructions are used to execute the vehicle driving risk determination method as described in any one of claims 1-7 when executed by a computer processor.