Driving behavior risk prediction method and electronic device

By using event-based processing of multimodal perception data and time-series alignment with sliding time windows, time-series related events are detected, solving the problem of high false alarm and false negative rates in existing technologies. This enables causal, proactive, and accurate prediction of driving behavior risks, and is applicable to in-vehicle edge computing terminals.

CN123180720APending Publication Date: 2026-11-27QINGDAO HISENSE TRANS TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611170623.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-03
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing technologies have a high probability of false alarms and false alarms in predicting driving behavior risks, low accuracy in identifying and predicting dangerous driving behaviors, and cannot effectively identify the causal relationship between the driver's subjective abnormal behavior and external environmental risks.

Method used

By acquiring multimodal perception data, converting it into sensor events, and constructing a sliding time window with the target time as the endpoint for time-series alignment, we can detect time-series related events and output driving behavior assessment results by combining the time-series correlation assessment results, thereby achieving causal, proactive, and accurate risk prediction.

Benefits of technology

It significantly improves the targeting and accuracy of dangerous driving risk identification, reduces the false alarm rate, adapts to the real-time proactive warning needs of complex driving scenarios, and meets the requirements of interpretability and lightweight deployment of vehicle-mounted equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123180720A_ABST
    Figure CN123180720A_ABST
Patent Text Reader

Abstract

The application relates to the technical field of vehicles and provides a driving behavior risk prediction method and electronic equipment. An embodiment of the driving behavior risk prediction method comprises the following steps: acquiring multi-modal perception data and converting the multi-modal perception data into sensor events; a sliding time window is constructed with a target time as an end point; sensor events with timestamps located in the sliding time window are time-sequentially aligned to obtain a fusion event set; whether a time-sequentially correlated event meeting a time-sequential correlation condition exists in the fusion event set is detected; when the time-sequentially correlated event meeting the time-sequential correlation condition exists in the fusion event set, a time-sequential correlation evaluation result is determined according to the time-sequentially correlated event; the time-sequential correlation condition is that the timestamp of an abnormal behavior event is earlier than the timestamp of an external environment risk event, and the time difference between the abnormal behavior event and the external environment risk event is less than or equal to the window length of the sliding time window; and a driving behavior evaluation result is output according to the time-sequential correlation evaluation result.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of vehicle technology, and in particular to a method and electronic device for predicting driving behavior risks. Background Technology

[0002] With the development of intelligent connected vehicle technology, vehicle active safety systems have become an important means of reducing traffic accidents. Existing technologies mainly include: DMS (Driver Monitoring System): monitoring the driver's state through in-vehicle cameras, such as fatigue driving, inattention, talking on the phone, smoking, etc.; ADAS (Advanced Driver Assistance Systems): monitoring obstacles ahead through forward-facing cameras and radar, providing functions such as forward collision warning (FCW), pedestrian collision warning (PCW), and distance monitoring warning (HMW); BSD (Blind Spot Detection System): monitoring targets in the vehicle's blind spots through side cameras or radar, providing lane change assist warnings. However, the above technologies can only provide a single detection result and cannot identify real dangerous driving behaviors. Moreover, the probability of false alarms and missed alarms is high. When false alarms occur, drivers often receive frequent warnings, leading to a decrease in vigilance, while ignoring real warnings can lead to dangerous accidents.

[0003] Therefore, based on the above discussion, there is an urgent need to propose new methods for predicting driving behavior risks in order to improve the accuracy of identifying and predicting dangerous driving behaviors. Summary of the Invention

[0004] This application provides an exemplary embodiment of a driving behavior risk prediction method and electronic device to address the problems of high false alarm and false negative probabilities and low accuracy in identifying and predicting dangerous driving behaviors when performing driving behavior risk prediction in related technologies.

[0005] The technical solutions provided in this application are as follows: In a first aspect, embodiments of this application provide a method for predicting driving behavior risks, including: Acquire multimodal perception data and convert it into sensor events, wherein the sensor events include at least abnormal behavior events characterizing the driver's state and external environmental risk events characterizing the vehicle's driving risk; A sliding time window is constructed with the target time as the endpoint, and the sensor events whose timestamps are located within the sliding time window are time-aligned to obtain a fused event set; The system detects whether there are any time-series-related events in the fused event set that satisfy the time-series-related conditions. When there are time-series-related events in the fused event set that satisfy the time-series-related conditions, the system determines the time-series-related evaluation result based on the time-series-related events. The time-series-related conditions are: the timestamp of the abnormal behavior event is earlier than the timestamp of the external environment risk event, and the time difference between the abnormal behavior event and the external environment risk event is less than or equal to the window length of the sliding time window. Based on the temporal correlation evaluation results, the driving behavior evaluation results are output.

[0006] In an optional embodiment, acquiring multimodal sensing data and converting it into sensor events includes: The driver behavior data collected by the driver monitoring system is acquired, the driver behavior data is subjected to event detection, and the abnormal behavior event is generated. The abnormal behavior event carries the abnormal behavior type, the abnormal behavior intensity value and the corresponding timestamp. The system acquires target data in front of the vehicle collected by the assisted driving system, performs event detection on the target data in front of the vehicle, and generates the external environmental risk event. The external environmental risk event carries the risk event type, risk intensity value and corresponding timestamp. Acquire vehicle lateral target data collected by the blind spot detection system, perform event detection on the vehicle lateral target data, and generate lateral blind spot risk events. The lateral blind spot risk events carry lateral target distance values ​​and corresponding timestamps.

[0007] In an optional embodiment, constructing the sliding time window with the target time as the endpoint includes: Multiple sub-windows with different window lengths are constructed. The multiple sub-windows include a first sub-window with a first window length, a second sub-window with a second window length, and a third sub-window with a third window length. The first sub-window is used to detect whether there is a sudden event in the fused event set whose event intensity value reaches a first threshold within a preset time. The second sub-window is used to detect the time-series related events. The third sub-window is used to detect whether there is a continuous event in the fused event set whose cumulative duration of the same event type reaches a second threshold. The length of the third window is greater than the length of the second window, and the length of the second window is greater than the length of the first window. Slide the first sub-window, the second sub-window, and the third sub-window independently, and align the sensor events with timestamps located in the corresponding sub-windows in time sequence to obtain a fusion event set corresponding to each sub-window.

[0008] In an optional embodiment, the sensor event further includes an event intensity value, which characterizes the confidence level of the sensor event, and the construction of the sliding time window with the target time as the endpoint includes: Detect whether there are any abnormal events in the abnormal behavior events or external environmental risk events whose event intensity value exceeds a preset intensity threshold; When the abnormal event is detected, the sliding time window is constructed with the time when the abnormal event is detected as the target time. If no abnormal event is detected, enter low-power monitoring mode and pause the construction of the sliding time window.

[0009] In an optional embodiment, constructing the sliding time window with the target time as the endpoint includes: The length of the sliding time window is dynamically adjusted according to the current driving environment. Specifically, when the current road condition is detected to be urban congestion, the window length is adjusted to the congestion window length. When the current road condition is detected to be a high-speed cruise road condition, the window length is adjusted to the high-speed road condition window length, which is greater than the congested road condition window length. When the current weather conditions are detected as severe, the window length is adjusted to the severe weather window length, which is greater than the congested traffic condition window length.

[0010] In an optional embodiment, determining the temporal correlation evaluation result based on the temporal correlation events includes: Obtain the first event type of the abnormal behavior event and the second event type of the external environmental risk event in the time-series related events; Based on the first event type and the second event type, the corresponding correlation coefficient is queried from the preset correlation matrix. The correlation matrix is ​​used to characterize the degree of causal relationship between different abnormal behavior event types and different external environmental risk event types. Obtain the time difference between the timestamp of the abnormal behavior event and the timestamp of the external environmental risk event; A time series factor is determined based on the time difference, and the time series factor is negatively correlated with the time difference; The time-series correlation evaluation result is determined based on the correlation coefficient and the time-series factor.

[0011] In an optional embodiment, the method further includes: Obtain each of the abnormal behavior events from the fusion event set; Based on the event type of each abnormal behavior event, the corresponding behavior weight and duration factor are determined respectively. The duration factor is the ratio of the actual duration of the abnormal behavior event to a preset reference threshold time. The driver's behavioral risk value is obtained by multiplying the event intensity value of each abnormal behavior event by its corresponding behavior weight and duration factor, and then summing the results.

[0012] In an optional embodiment, the method further includes: Obtain each of the external environmental risk events in the fused event set, and each external environmental risk event carries a collision time value, a forward target distance value, and a vehicle speed value; The collision time factor, forward distance factor, and speed factor are calculated for each of the aforementioned external environmental risk events. The collision time factor is negatively correlated with the collision time value, the forward distance factor is negatively correlated with the forward target distance value, and the speed factor is positively correlated with the vehicle speed value. The collision time factor, the forward distance factor, and the speed factor of each external environmental risk event are multiplied together and then summed to obtain the forward collision risk value. and / or The method further includes: Obtain each of the lateral blind zone risk events in the fusion event set, and each of the lateral blind zone risk events carries a lateral target distance value; Calculate the lateral distance factor for each of the lateral blind zone risk events, wherein the lateral distance factor is negatively correlated with the lateral target distance value; The lateral distance factors of each of the aforementioned lateral blind zone risk events are summed to obtain the lateral blind zone risk value.

[0013] In an optional embodiment, the step of outputting the driving behavior assessment result based on the temporal correlation assessment result includes: Obtain the driver behavior risk value, the forward collision risk value, and / or the lateral blind spot risk value; The time-series correlation assessment results, the driver behavior risk value, the forward collision risk value, and the lateral blind spot risk value are weighted and fused to obtain a comprehensive risk value; The driving behavior assessment results are determined and output based on the comprehensive risk value.

[0014] Secondly, embodiments of this application provide an electronic device, the electronic device comprising: Memory, used to store executable program code; A processor is configured to call and execute the executable program code from the memory, causing the display device to perform the driving behavior risk prediction method as described in any of the first aspects.

[0015] As can be seen from the above technical solutions, the driving behavior risk prediction method of this application constitutes a complete driving behavior risk prediction technical solution through event-based structured processing of multimodal perception data, time-series alignment and fusion of sliding time windows, time-series correlation verification of cause and effect, multi-dimensional independent risk assessment, and weighted fusion output. Compared with the prior art, this application only determines that the two types of events constitute time-series related events with causal logic when the timestamp of the driver's abnormal behavior event is earlier than that of the external environmental risk event, and the time difference between the two types of events does not exceed the effective window length of the sliding time window. This allows for the screening of real driving risks caused by the driver's subjective abnormal behavior, eliminating the interference of accidental events without causal relationship, improving the shortcomings of traditional fixed threshold passive alarms and the inexplicability of black-box models, and significantly improving the pertinence and accuracy of dangerous driving risk identification. Attached Figure Description

[0016] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0017] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0018] Figure 1 This invention provides a schematic flowchart illustrating the steps of the driving behavior risk prediction method according to the first embodiment of this application. Figure 2 A schematic diagram of the architecture of an in-vehicle terminal applying the prediction method of this application is shown; Figure 3 This is a flowchart illustrating step S10 of this application; Figure 4 This diagram illustrates the data processing flow of the driving behavior risk prediction method of this application. Figure 5 This is a flowchart illustrating step S30 of this application; Figure 6 The flowcharts illustrating different methods for obtaining the comprehensive risk value of this application are shown. Figure 7 This diagram illustrates the process by which the driver's behavioral risk value is determined in this application. Figure 8This diagram illustrates the process by which the present application determines the forward collision risk value. Figure 9 This diagram illustrates the process of determining the lateral blind zone risk value in this application. Figure 10 This diagram illustrates the process by which the present application determines the overall risk value based on multiple risk values. Figure 11 This illustration shows an architectural diagram of another embodiment of an electronic device according to this application. Detailed Implementation

[0019] To better understand the above-mentioned objectives, features, and advantages of this application, the solution of this application will be further described below. It should be noted that, unless otherwise specified, the embodiments and features described in these embodiments can be combined with each other.

[0020] Many specific details are set forth in the following description in order to provide a full understanding of this application, but this application may also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only some embodiments of this application, and not all embodiments.

[0021] Existing driving risk analysis technologies can be categorized into three types based on their implementation principles: single-modal passive response analysis, multi-event rule combination analysis, and deep learning end-to-end intelligent analysis. All of these mainstream technologies have inherent limitations, making it difficult to meet the application requirements of high accuracy, low false alarm rate, interpretability, and real-time proactive warnings in complex driving scenarios.

[0022] Single-modal passive response analysis is a common foundational technology in current vehicle warning systems. This approach relies solely on a single-dimensional feature and a fixed threshold to determine passive risk. Related technologies include fatigue detection schemes based on driver eye characteristics, which analyze parameters such as blink frequency and eye closure duration using algorithms, triggering fatigue alarms based on eyelid closure rate thresholds. Other related technologies include warning schemes based on vehicle motion parameters. Traditional ADAS systems calculate the Time-of-Collision (TTC) and trigger forward collision warnings when the TTC falls below a preset threshold of 4.0 seconds.

[0023] This type of technology has obvious shortcomings: First, the early warning is delayed, and it can only passively alarm when danger is approaching or after it occurs, and cannot achieve proactive prediction in advance; second, it has weak anti-interference ability and a high false alarm rate. The single mode is easily affected by environmental factors such as lighting and occlusion, and the detection stability is poor; third, it lacks the ability to correlate time sequence, and can only judge the instantaneous state. It cannot explore the temporal causal relationship between driver behavior and vehicle state, and cannot identify the complete risk transmission chain, resulting in insufficient comprehensiveness of risk identification.

[0024] Rule-based multi-event combination analysis is an improvement on the shortcomings of single-modal analysis. It broadens the scope of risk identification by constructing IF-THEN static rules to combine multiple driving events. However, this technology suffers from rigid rules, lacks adaptability, and does not possess temporal analysis capabilities, failing to distinguish the logical sequence and correlation of events. Furthermore, this approach has extremely poor scalability; when the number of fused features is large, the number of rules increases exponentially, making system configuration, maintenance, and iteration extremely difficult, and unable to adapt to complex and dynamic real-world driving scenarios.

[0025] To overcome the limitations of rule-based algorithms, the industry widely adopts end-to-end deep learning analysis techniques, leveraging the nonlinear fitting capabilities of models to achieve multi-feature fusion and abnormal driving prediction. Related technologies include multi-dimensional feature fusion prediction schemes based on attention mechanisms, analysis schemes that fuse vehicle trajectory and driver state, and technologies that directly identify dangerous driving behaviors using dedicated deep learning models.

[0026] While deep learning end-to-end solutions can learn the nonlinear relationships between features, they have significant technical bottlenecks: First, the model is a black box structure, the decision-making process is not transparent, the basis for early warning judgment cannot be traced, the interpretability is poor, it is not conducive to system investigation and iteration, and it is difficult to meet the reliability and compliance requirements of vehicle equipment; Second, the model has a large number of parameters, high computational complexity, and long inference time, which cannot adapt to the lightweight and low-latency operation requirements of embedded edge devices, and it is difficult to achieve real-time early warning for real vehicles.

[0027] In summary, existing driving risk analysis technologies generally suffer from defects such as lack of temporal correlation capabilities, passive and delayed risk prediction, high false alarm rate, unexplainable decision-making, and poor edge real-time performance, making them unsuitable for the needs of proactive, accurate, real-time, and explainable dangerous driving risk warnings in complex scenarios.

[0028] In view of this, this application proposes a driving behavior risk prediction method and electronic device to solve one or more of the above problems.

[0029] like Figure 1 As shown, the driving behavior risk prediction method of this application includes: S10. Acquire multimodal perception data and convert it into sensor events, wherein the sensor events include at least abnormal behavior events characterizing the driver's state and external environmental risk events characterizing the vehicle's driving risk.

[0030] S20. Construct a sliding time window with the target time as the endpoint, and align the sensor events whose timestamps are located within the sliding time window in time sequence to obtain a fused event set; S30. Detect whether there are any time-series correlated events in the fused event set that meet the time-series correlated conditions. When there are time-series correlated events in the fused event set that meet the time-series correlated conditions, determine the time-series correlated evaluation result based on the time-series correlated events. The time-series correlated conditions are: the timestamp of the abnormal behavior event is earlier than the timestamp of the external environment risk event, and the time difference between the abnormal behavior event and the external environment risk event is less than or equal to the window length of the sliding time window. If not, return to step S10 to continue acquiring multimodal perception data. S40. Based on the time-series correlation evaluation results, output the driving behavior evaluation results.

[0031] This application achieves causal, proactive, and accurate prediction of dangerous driving risks through event-based structuring of multimodal perception data, time-series alignment and fusion via sliding time windows, time-series correlation verification of cause and effect, and risk assessment output based on correlation relationships.

[0032] This invention first acquires multimodal sensing data and then transforms the heterogeneous raw sensing data into standardized sensor events. These sensor events are mainly divided into abnormal behavior events characterizing the driver's own state and external environmental risk events characterizing the vehicle's driving conditions. Compared to existing technologies that directly use raw sensor data for threshold judgment, this invention unifies the expression dimensions and data formats of multi-source data through data event-based and structured transformation. This effectively solves the problems of heterogeneous multimodal data, inconsistent dimensions, and difficulty in linkage analysis, providing a regular and unified data foundation for subsequent cross-modal time-series correlation analysis.

[0033] Among them, abnormal driver behavior events are used to characterize risk triggers on the driving end, including abnormal driving behaviors such as fatigue with eyes closed, yawning, talking on the phone, smoking, looking down, and distraction; external environmental risk events are used to characterize objective road risks faced by the vehicle during driving, including forward collision risk, close following risk, and blind spot lateral target approach risk.

[0034] Furthermore, this invention constructs a sliding time window with the target time of real-time detection as the endpoint, filters all sensor events within the window's time range, and completes cross-modal time sequence alignment based on the timestamps of each event, resulting in a time-unified fused event set. This approach overcomes the shortcomings of existing technologies, such as inconsistent sampling frequencies of multiple types of sensors, disordered event time bases, and the inability to achieve cross-modal event matching and joint analysis. It integrates discrete and asynchronous driver behavior events and vehicle environmental risk events into the same time sequence system, providing reliable time sequence support for subsequent mining of causal relationships between risk events.

[0035] Building upon the aforementioned steps, this invention performs temporal correlation detection on the fused event set. Only when the timestamp of a driver's abnormal behavior event occurs earlier than that of an external environmental risk event, and the time difference between the two types of events does not exceed the effective window length of the sliding time window, are the two types of events determined to constitute a temporally correlated event with causal logic. Through this temporal constraint mechanism, this invention filters out genuine driving risks caused by the driver's subjective abnormal behavior, eliminates interference from the superposition of random events without causal relationship, and calculates the corresponding temporal correlation evaluation result based on the identified temporally correlated events. Combining the temporal correlation evaluation result, a comprehensive judgment is made and the current driving behavior evaluation result is output. This overcomes the technical drawbacks of traditional fixed-threshold passive alarms, rigid rule superposition, and the uninterpretable nature of black-box models. While retaining the advantages of lightweight design and real-time edge deployment, it significantly improves the targeting and accuracy of dangerous driving risk identification.

[0036] The driving behavior risk prediction method described in this application can be deployed on an in-vehicle edge computing terminal. All calculations are performed locally, with only key risk events and summary data reported to the cloud platform. Figure 2 As shown, the in-vehicle edge computing terminal includes a data acquisition module, a multimodal data fusion module, a risk calculation module, and a risk prediction engine. The data acquisition module includes a driver monitoring camera (DMS camera), a forward-facing assist camera (ADAS forward-facing camera), a side blind spot monitoring device (BSD side radar / camera), and a CAN bus interface. The multimodal data fusion module performs time-series alignment and event aggregation on data from different sensors. The risk calculation module includes a driver behavior (DMS) risk calculation module, a forward collision (ADAS) risk calculation module, a side blind spot (BSD) risk calculation module, and a time-series correlation risk calculation module. Specifically, the driver behavior risk calculation module calculates driver behavior risk values ​​based on abnormal behavior events; the forward collision risk calculation module calculates forward collision risk values ​​based on external environmental risk events; the side blind spot risk calculation module calculates side blind spot risk values ​​based on side blind spot risk events; the time-series correlation risk calculation module calculates time-series correlation risk values ​​based on time-series correlation events; and the risk prediction engine integrates multi-dimensional risk values ​​to output the final risk assessment result.

[0037] The driving behavior risk prediction method of this embodiment will now be explained in conjunction with the above-described vehicle-mounted edge computing terminal: S10: Acquire multimodal sensing data and convert it into sensor events.

[0038] The multimodal perception data includes at least abnormal behavioral events characterizing the driver's state and external environmental risk events characterizing the vehicle's driving risk.

[0039] For example, the vehicle-mounted edge computing terminal receives raw data from various sensors through a data acquisition module, performs event detection on the raw data, and converts continuous sensor signals into structured event tuples. Each sensor event carries at least the event type and the corresponding timestamp.

[0040] Sensor events from each channel are stored in the history cache as tuples, for example, in the format (timestamp, event_type, intensity). Here, timestamp is the timestamp of the event, event_type is the event type identifier, and intensity is the event intensity value. The history cache stores all valid events within the sliding time window. Sensor events whose timestamps are earlier than the start of the window are automatically cleared.

[0041] In an optional embodiment, such as Figure 3 As shown, this embodiment further refines step S10, including steps S11 to S13.

[0042] S11: Obtain driver behavior data collected by the driver monitoring system, perform event detection on the driver behavior data, and generate the abnormal behavior event.

[0043] For example, the DMS camera captures driver facial images at a frame rate of 25fps. The edge computing terminal runs the DMS algorithm to analyze the images in real time and detect abnormal driver behavior. When abnormal behavior is detected, a corresponding abnormal behavior event is generated. The abnormal behavior event carries the abnormal behavior type, abnormal behavior intensity value, and corresponding timestamp.

[0044] In some embodiments, the abnormal behavior events include, but are not limited to: blinking, yawning, calling, smoking, head-down, and looking around. Each event type corresponds to a different behavior weight and reference threshold time. For example, calling requires more driver attention than blinking, therefore the reference weight for calling (0.7) is higher than that for blinking (0.3).

[0045] Those skilled in the art can determine different weights for different event types based on the correlation between vehicle model and various event types, in order to adapt to different vehicles.

[0046] In one embodiment, when the same event type occurs multiple times within the same frame, the event intensity values ​​are accumulated. For example, when the DMS algorithm detects a driver closing their eyes multiple times in the same frame, the intensity values ​​of each detection are accumulated and used as the final intensity value of the eye-closing event in that frame, in order to avoid misjudgments caused by fluctuations in the confidence of a single detection.

[0047] S12: Acquire target data in front of the vehicle collected by the driver assistance system, perform event detection on the target data in front of the vehicle, and generate the external environmental risk event.

[0048] For example, the ADAS forward-facing camera captures images of the road ahead at a frame rate of 25fps. The edge computing terminal runs the ADAS algorithm to detect and track targets ahead, calculating the time to collision (TTC) and distance between the vehicle and obstacles. When the TTC or distance falls below a preset time threshold, a corresponding external environmental risk event is generated, indicating a risk of an impending collision between the vehicle and an external vehicle. This external environmental risk event carries the risk event type, risk intensity value, and a corresponding timestamp.

[0049] In some embodiments, the event types of the external environmental risk events include, but are not limited to: forward collision warning (FCW) events, pedestrian collision warning (PCW) events, and vehicle distance monitoring warning (HMW) events. Among these, the danger level of forward collision warning events (FCW) and pedestrian collision warning events (PCW) is higher than that of vehicle distance monitoring warning events (HMW). Therefore, the reference weights for FCW and PCW (4.0s) are higher than the reference weight for HMW (2.0s). Correspondingly, the TTC warning thresholds for forward collision warning events and pedestrian collision warning events are also more stringent.

[0050] S13: Acquire vehicle lateral target data collected by the blind spot detection system, perform event detection on the vehicle lateral target data, and generate lateral blind spot risk events.

[0051] For example, a BSD side radar or camera scans the vehicle's side blind spots at 50ms intervals. When a side target is detected, a side blind spot risk event is generated. The side blind spot risk event carries the distance value of the side target and a corresponding timestamp.

[0052] In this embodiment, by simultaneously collecting data from DMS, ADAS, and BSD, the system obtains a comprehensive perception of the driver's status, the risks of the road ahead, and the risks of the lateral blind spots, providing a data foundation for subsequent multi-dimensional risk fusion.

[0053] Compared to solutions using only a single sensor, this embodiment utilizes the collaborative acquisition of multiple heterogeneous sensors, including DMS, ADAS, and BSD, to comprehensively assess driving risks across a wider range of perception dimensions. This effectively addresses the issues of weak anti-interference capability of single-modal sensors, susceptibility to environmental factors such as lighting and occlusion, resulting in poor detection stability and high false alarm rates, thereby enhancing the robustness of risk perception in complex driving environments.

[0054] Compared to traditional ADAS solutions that rely solely on vehicle motion parameters, this embodiment incorporates driver behavior data collection and event-based transformation into a risk assessment system. This allows the system to comprehensively assess driving risks from multiple dimensions, including the driver, vehicle, and environment, overcoming the shortcomings of existing technologies that rely solely on vehicle motion parameters while ignoring the risk factor of driver status, resulting in delayed warnings and incomplete risk identification.

[0055] S20: Construct a sliding time window with the target time as the endpoint, and align the sensor events whose timestamps are located within the sliding time window in time sequence to obtain a fused event set.

[0056] The target time is the current time. The fusion layer constructs a sliding time window by backtracking from the current time. Events from each channel's sensors are mapped to this window according to their timestamps, achieving temporal alignment across sensor events. After mapping the events from each channel's sensors to the sliding time window, the fusion layer aggregates similar events within the window. For example, for DMS events, the sum of the intensities of all abnormal behaviors within the window is used as the DMS aggregation intensity; ADAS events are weighted and summed according to 1 / (TTC+0.1), with smaller collision time values ​​resulting in larger weights to highlight high-risk ADAS warning events; BSD events have a distance factor calculated according to 1 / (distance+0.1), with closer lateral target distances resulting in larger factors. After aggregation, aggregated features corresponding to each modality are obtained, which are then used by the subsequent risk calculation module.

[0057] Figure 4 This is a schematic diagram of the data processing flow for the driving behavior risk prediction method of this application. See also... Figure 4 The system adopts a time-series processing architecture with multi-source parallel acquisition and sliding window fusion. Four data channels continuously output data according to their respective time bases: the DMS camera acquires driver facial images at 25fps, detecting abnormal behaviors such as blinking, making phone calls, and smoking in real time; the ADAS forward-facing camera outputs road targets ahead at 25fps, triggering FCW collision warning; the BSD side radar / camera scans the vehicle's blind spot at a 50ms cycle, detecting lateral approach targets; and the CAN bus interface synchronously acquires vehicle status information such as vehicle speed and steering wheel angle at a 10ms refresh rate.

[0058] The fusion layer constructs a 500ms sliding time window with the current time as the endpoint, aligning events from the four channels within the window according to their timestamps. When an abnormal event occurs (such as the DMS detecting a driver making a phone call), the fusion module searches for related ADAS events (such as FCW alarms within the same time period) within the windows before and after the event. If a related event is found, a time-series correlation marker is triggered, recording it as a causal correlation event. Through this cross-modal time-series alignment mechanism, the system can identify combinations of related events scattered across various sensors, thereby more accurately determining the true risk level.

[0059] Step S20 of this application, "Constructing a sliding time window with the target time as the endpoint", provides multiple ways to determine the window length, including the default fixed window method, the event-driven window method, and the dynamic adaptive window method. The above methods can be used individually or in combination according to the actual scenario.

[0060] In an optional embodiment, step S20 includes: Multiple sub-windows with different window lengths are constructed. The multiple sub-windows include a first sub-window with a first window length, a second sub-window with a second window length, and a third sub-window with a third window length. The first sub-window is used to detect whether there is a sudden event in the fused event set whose event intensity value reaches a first threshold within a preset time. The second sub-window is used to detect the time-series related events. The third sub-window is used to detect whether there is a continuous event in the fused event set whose cumulative duration of the same event type reaches a second threshold. The length of the third window is greater than the length of the second window, and the length of the second window is greater than the length of the first window. Slide the first sub-window, the second sub-window, and the third sub-window independently, and align the sensor events with timestamps located in the corresponding sub-windows in time sequence to obtain a fusion event set corresponding to each sub-window.

[0061] In this embodiment, the first sub-window has a first window length, such as 200ms, and is used to detect whether there are abrupt events in the fused event set whose event intensity values ​​reach a first threshold within a preset time period. Abrupt events typically correspond to sudden, high-risk behaviors, such as when braking suddenly, the brake pedal opening changes from 0 to over 80% within 100ms, or when changing lanes urgently, the steering wheel angular velocity exceeds a preset angular velocity threshold within 150ms. A short window can more sensitively capture such events and avoid the smoothing dilution of abrupt features due to an excessively long window.

[0062] The second sub-window has a second window length, for example, 500ms, for detecting the time-series related events. The second window length is greater than the first window length. The length of the second window is configured to cover the typical causal time difference between anomalous behavior events and external environmental risk events.

[0063] The third sub-window has a third window length, for example, 2000 ms, and is used to detect whether there are persistent events of the same event type in the fused event set whose cumulative duration reaches a second threshold. The third window length is greater than the second window length. Persistent events correspond to chronic risk accumulation behaviors, such as a driver continuously looking down for more than 2000 ms or continuously closing their eyes for more than 1500 ms. The long window ensures complete capture of cumulative behaviors and avoids misjudging persistent risks as instantaneous events due to an excessively short window.

[0064] In step S20, after constructing the sub-windows, each sub-window is slid independently, and the sensor events with timestamps located within the corresponding sub-windows are time-aligned to obtain a fused event set corresponding to each sub-window. The sub-windows do not interfere with each other, and each outputs its corresponding fused event set for subsequent risk assessment.

[0065] In this embodiment, by setting sub-windows with different time scales, the system can simultaneously capture risk behaviors of three different time patterns: immediate danger, time-related danger, and cumulative danger, thereby achieving a comprehensive assessment of risks at multiple time scales.

[0066] Compared to the approach of using a single fixed-length window, this embodiment solves the contradiction that a single window cannot simultaneously capture short-term mutation events and statistically analyze long-term cumulative behaviors by using multiple independently sliding sub-windows that correspond to risk detection at different time scales. The short window ensures a sensitive response to mutation events, the long window ensures complete capture of chronic cumulative behaviors, and the medium window accurately matches the typical time difference of causal relationships, enabling the system to perform parallel monitoring and comprehensive evaluation of risk behaviors of multiple time patterns on the same time axis.

[0067] Compared to fixed threshold judgment schemes, this embodiment uses a first sub-window to detect sudden high-risk behaviors, such as emergency braking and sharp turns, which can capture sudden high-risk behaviors. This avoids the problem of missed detections due to the smoothing and dilution of mutation features caused by excessively long windows, and improves the response sensitivity to instantaneous high-risk behaviors.

[0068] In some embodiments, the sensor event further includes an event intensity value, which characterizes the severity or confidence level of the event. For example, the intensity value of a DMS detecting a driver making a phone call can be normalized to 0.7 based on detection confidence, and the intensity value of an ADAS detecting an FCW warning can be calculated based on the time-to-collision (TTC) time.

[0069] In another optional embodiment, constructing the sliding time window with the target time as the endpoint further includes: Detect whether there are any abnormal events in the abnormal behavior events or external environmental risk events whose event intensity value exceeds a preset intensity value threshold; When the abnormal event is detected, the sliding time window is constructed with the time when the abnormal event is detected as the target time. If no abnormal event is detected, enter low-power monitoring mode and pause the construction of the sliding time window.

[0070] In this embodiment, under the event-driven mode of constructing a sliding time window, the system does not continuously construct and merge the sliding window, but only activates the window mechanism when an abnormal event is detected, thereby significantly reducing computational power consumption.

[0071] Compared to the traditional approach of continuously running sliding windows and fusion computing, this embodiment uses an event-driven triggering mechanism to put the multimodal data fusion layer and risk calculation module into a dormant state under normal conditions without abnormal events. It only runs the event detection algorithm at a reduced frame rate, which solves the problem of wasted computing resources and excessive power consumption caused by the existing system continuously performing high-overhead fusion computing in the entire time domain. It is especially suitable for vehicle scenarios that require long-term continuous monitoring, significantly reducing the overall power consumption of the vehicle edge computing terminal and extending the service life of the device.

[0072] Compared to the solution of running all algorithms at a fixed frame rate, this embodiment significantly reduces the system's computing resource consumption under normal conditions by dynamically switching between low-power monitoring mode and normal working mode, while ensuring zero missed detection of abnormal events. This enables the vehicle-mounted edge computing terminal to achieve long-term continuous monitoring under limited computing power conditions.

[0073] In low-power monitoring mode, the data acquisition module remains active, continuously receiving raw data from the DMS camera, ADAS forward-facing camera, BSD side radar / camera, and CAN bus interface. However, the multimodal data fusion layer and risk calculation module are suspended. The event detection algorithm runs at a reduced frame rate, solely for determining whether an abnormal event with an intensity value exceeding a preset threshold exists. When an abnormal event is detected, the system immediately switches to normal operating mode, activating the multimodal data fusion layer and risk calculation module. A sliding time window is constructed with the moment the abnormal event is detected as the target time for subsequent fusion and evaluation calculations.

[0074] The preset intensity threshold can be set according to the event type. For example, the intensity threshold for a DMS phone call event is 0.5, and the intensity threshold for ADAS and FCW events is 0.6. When the event intensity value exceeds the corresponding threshold, the system determines it as an abnormal event and triggers window construction.

[0075] In other embodiments, the window size can also be dynamically adjusted according to the type of triggering event. For example, a DMS abnormal behavior event activates a long window of 1000ms, while an ADAS risk event activates a short window of 300ms. When no event occurs, the system enters a low-power monitoring mode, running only the event detection algorithm and waiting for the next abnormal event to be triggered.

[0076] In some embodiments, expired events within the sliding time window, i.e., events with timestamps earlier than the start of the window, are automatically cleared, and only valid events within the sliding time window are retained. The sliding time window slides with a fixed step size, and each trigger of the fusion calculation outputs a fusion feature vector.

[0077] In another optional embodiment, the length of the sliding time window is dynamically adjusted according to the current driving environment: When the current traffic condition is detected to be urban congestion, the window length is adjusted to the congestion traffic condition window length. When the current road condition is detected to be a high-speed cruise road condition, the window length is adjusted to the high-speed road condition window length, which is greater than the congested road condition window length. When severe weather conditions are detected, the window length is adjusted to the severe weather window length, which is greater than the congested traffic condition window length. The sliding time window updates forward from the target time according to a preset step size, where the target time is the current time or the time when an abnormal event is triggered.

[0078] In this embodiment, the window length is not fixed at 500ms, but is dynamically adjusted according to the current driving environment. For example, when the current road condition is detected as urban congestion, the window length is adjusted to the congestion window length, such as 300ms, to improve the response sensitivity to frequent start-stop scenarios; when the current road condition is detected as highway cruising, the window length is adjusted to the highway window length, such as 800ms. The highway window length is greater than the congestion window length to reduce false triggers caused by fluctuations of distant targets ahead; when the current weather condition is detected as rain, snow, or heavy fog, the window length is adjusted to the severe weather window length, such as 1200ms. The severe weather window length is greater than the congestion window length to improve the accuracy of correlation analysis under low visibility conditions.

[0079] The above values ​​are merely examples. The specific value of the window length can be flexibly configured according to the sensor sampling rate, computing resources and actual application scenarios, and does not constitute a limitation on the present invention.

[0080] In this embodiment, the window length is not a fixed value, but is dynamically adjusted according to the current driving environment.

[0081] Compared to a fixed window length approach, this embodiment solves the problem of fixed windows being unable to adapt to changing driving environments by dynamically adjusting the window length based on urban traffic congestion, highway cruising conditions, and severe weather conditions. In congested scenarios, the window is shortened to improve the response sensitivity to frequent starts and stops; in highway scenarios, the window is extended to reduce false triggers caused by fluctuations in distant targets; and in severe weather, the window is extended to improve the accuracy of correlation analysis under low visibility conditions. This achieves optimal matching between window parameters and the driving environment, further reducing the false alarm rate and improving the risk identification accuracy in different scenarios.

[0082] Compared to rigid, static configuration schemes, this embodiment utilizes a dynamic adaptive adjustment mechanism for the window length. This allows the system to autonomously optimize window parameters based on real-time perceived traffic and weather information, without manual intervention. This solves the problems of difficult parameter configuration and poor generalization ability in complex dynamic scenarios found in existing technologies. In an optional embodiment, the sliding time window has a length of 500ms, and it updates by sliding forward from the target time in 100ms increments. The target time is either the current time or the time when an abnormal event is triggered.

[0083] In some embodiments, a 500ms window length is sufficient to cover the typical causal time difference between abnormal behavioral events and external environmental risk events. For example, driver distraction, such as making a phone call to trigger a collision warning, typically occurs within hundreds of milliseconds to several seconds, and a 500ms window can capture most causal relationships. Furthermore, the window length is moderate, preventing the introduction of too much irrelevant event noise due to an excessively long window, nor causing the omission of valid causal relationships due to a window that is too short. A 100ms step size keeps the system response latency within 100ms, ensuring real-time performance.

[0084] In summary, this application provides multiple methods for determining window length, including a default fixed window method, an event-driven window method, and a dynamically adaptive window method. These methods can be used individually or in combination according to the actual scenario.

[0085] Among them, the default fixed window method is suitable for conventional scenarios with stable sensor sampling rates, sufficient computing resources, and relatively stable driving environments. It achieves a balance between system real-time performance and computing efficiency by using a 500ms window length and a 100ms step size. The event-driven window method is suitable for vehicle scenarios that require long-term continuous monitoring and are sensitive to power consumption. It reduces power consumption by pausing fusion computing when there are no abnormal events. The dynamic adaptive window method is suitable for complex scenarios with changing driving environments that require flexible adjustment of window parameters to adapt to different road conditions and weather conditions.

[0086] Those skilled in the art can flexibly choose one or more combinations of the above window determination methods according to the actual application scenario, sensor configuration and computing resources, and these all fall within the protection scope of this invention.

[0087] S30: Detect whether there are any time-series related events in the fusion event set that satisfy the time-series related conditions. When there are time-series related events in the fusion event set that satisfy the time-series related conditions, determine the time-series related evaluation result based on the time-series related events.

[0088] The time-series correlation condition is that the timestamp of the abnormal behavior event is earlier than the timestamp of the external environmental risk event, and the time difference between the abnormal behavior event and the external environmental risk event is less than or equal to the window length of the sliding time window.

[0089] In other words, if within a time window, an abnormal behavior event representing an abnormal driver state occurs first, followed by an external environmental risk event representing a risk to vehicle operation, and the time interval between the two is within the window length, then it is determined that there is a temporal causal relationship between the abnormal behavior event and the external environmental risk event, constituting a temporally related event pair.

[0090] In some embodiments, if the time difference between a DMS event and an ADAS event exceeds the window length, it indicates that the two are not related in time and do not constitute a temporal correlation, and the system will not mark them as temporally correlated events.

[0091] For example, in a typical causal relationship scenario, the DMS detects that the driver is making a phone call, and the timestamp of the abnormal behavior event is t1. Subsequently, because the driver's attention is occupied by the phone call, the driver fails to notice the vehicle in front that is slowing down in time, causing the forward collision warning system to trigger the FCW alarm, and the timestamp of the external environmental risk event is t2. t2>t1, and (t2-t1)≤window length. Then the system marks the phone call action as a time-series related event, which is the abnormal behavior event and the FCW risk warning event.

[0092] Conversely, if a driver makes a phone call and a BSD blind spot warning event occurs a few seconds later, but there is no reasonable causal relationship between the call and the blind spot warning, the system will not mark them as time-related events. Through the above-mentioned timing constraint mechanism, the system effectively eliminates interference from accidental concurrent events.

[0093] In an optional embodiment, this embodiment further refines step S30, "determining the temporal correlation evaluation result based on the temporal correlation events," as follows: Figure 5 As shown, it includes steps S31 to S33.

[0094] S31: Obtain the first event type of the abnormal behavior event and the second event type of the external environment risk event in the time-series related events.

[0095] For example, in a time-series related event, the first event type is "CALL" and the second event type is "Forward Collision Warning" (FCW).

[0096] S32: Based on the first event type and the second event type, query the corresponding correlation coefficient from the preset correlation matrix.

[0097] The correlation matrix is ​​used to characterize the degree of causal association between different types of abnormal behavior events and different types of external environmental risk events. The correlation matrix is ​​pre-stored in the storage unit of the edge computing terminal, and the values ​​can be calibrated through experimental statistics or expert experience.

[0098] In one example, the correlation coefficient between the abnormal behavior event of making a phone call (CALL) and the forward warning event (FCW) in the external environmental risk event is 0.30, while the correlation coefficient between the abnormal behavior event of blinking (BLINK) and the distance monitoring warning event (HMW) in the external environmental risk event is 0.15. Because there is a stronger causal relationship between distraction caused by making a phone call and forward collision, the correlation coefficient between the CALL event and the FCW event is greater than that between the BLINK event and the HMW event.

[0099] This embodiment introduces an association matrix to evaluate the differentiated association strength of different event type combinations, so that the temporal association assessment results can accurately reflect the actual risk level of different causal links, avoiding the misjudgment of simply regarding any temporally adjacent events as equally risky associations.

[0100] S33: Obtain the time difference between the timestamp of the abnormal behavior event and the timestamp of the external environmental risk event.

[0101] For example, if the timestamp of the phone call event is t1 and the timestamp of the FCW event is t2, then the time difference Δt between the time-series related events consisting of the abnormal behavior event and the external environmental risk event is t2-t1.

[0102] S34: Determine the timing factor based on the time difference.

[0103] The time series factor is negatively correlated with the time difference. When the time difference approaches zero, the time series factor approaches its maximum value (e.g., 1.0); when the time difference approaches the window length, the time series factor approaches zero.

[0104] In one embodiment, the timing factor is calculated according to the following formula: Time factor = 1.0 - Δt / window length; Where Δt represents the time difference between the abnormal behavior event and the external environmental risk event, and the window length is the length of the sliding time window. A linear decay model is used to quantify the timeliness of the causal relationship. If the FCW alarm is triggered immediately after the phone call event, Δt approaches 0, and the time factor is close to 1.0, indicating a strong causal relationship between the phone call event and the FCW event. If the interval Δt is close to 500ms, the time factor approaches zero, indicating a weak causal relationship between the phone call event and the FCW event.

[0105] S35: Determine the time-series correlation evaluation result based on the correlation coefficient and the time-series factor.

[0106] In one embodiment, the temporal correlation evaluation result is calculated according to the following formula: The time-series correlation assessment result = correlation coefficient × time-series factor.

[0107] In this embodiment, the temporal correlation evaluation result is positively correlated with the correlation coefficient. The larger the correlation coefficient, the higher the temporal correlation evaluation result, indicating a stronger causal relationship between abnormal behavior events and external environmental risk events.

[0108] In this embodiment, a correlation coefficient is introduced to evaluate the differentiated correlation strength of different event type combinations. At the same time, a time series factor is introduced to quantify the timeliness of the correlation. This enables the time series correlation assessment results to accurately distinguish between three situations: "close causal relationship", "weak causal relationship" and "coincidental concurrent occurrence", avoiding the misjudgment of simply regarding any time-adjacent events as equally risky correlations.

[0109] Compared to existing technologies that simply treat events occurring sequentially as related and fail to distinguish between causal logic and accidental concurrency, this embodiment assigns differentiated causal correlation strengths to different combinations of event types through a correlation coefficient matrix. This solves the problem that existing technologies cannot distinguish the differences in the strength of causal logic between different event types. For example, the causal correlation strength between making a phone call and FCW should be higher than that between blinking and HMW. Through the time difference decay mechanism of the time sequence factor, the shorter the event interval, the stronger the causal correlation. When the interval is close to the window length, the causal correlation approaches zero. This solves the problem that existing technologies ignore the impact of the time interval between events on the strength of causal relationships.

[0110] Compared to black-box models that cannot explain the basis for decision-making, this embodiment makes every component of the time-series correlation evaluation result traceable through explicit correlation coefficient query and time-series factor calculation. This solves the problems of opaque decision-making process and inability to trace the basis for early warning judgment in existing technologies, and meets the interpretability requirements of vehicle-mounted equipment.

[0111] S40: Output driving behavior assessment results based on the time-series correlation assessment results.

[0112] The risk prediction engine uses the time-series correlation assessment results as one of the bases for risk determination, outputting a comprehensive driving behavior assessment result. This risk level can be sent to the in-vehicle display terminal for early warning, or reported to the cloud platform for fleet safety management.

[0113] In this embodiment, the method runs on an in-vehicle edge computing terminal. Steps S10 to S40 are all completed locally, and only the driving behavior evaluation results and / or sensor events that meet preset reporting conditions are uploaded to the cloud. All calculations are performed locally at the edge, which reduces data transmission bandwidth requirements and cloud computing costs, and avoids uploading raw perception data, especially sensitive data such as driver facial images, effectively protecting driver privacy.

[0114] In this embodiment, by detecting the temporal sequence and causal chain between abnormal behavior events and external environmental risk events, isolated events originally scattered in each individual sensor are combined into a identifiable composite dangerous behavior. This solves the technical problem in the prior art that a single modal system can only provide local detection results and cannot identify the causal relationship between abnormal driver behavior and risk events, thus realizing a shift from passive response to proactive prediction.

[0115] It is worth noting that the temporal correlation evaluation results in this embodiment are not limited to those obtained in steps S31-S35. In order to more comprehensively evaluate the temporal correlation risks in different scenarios, this application constructs a risk value calculation system with different risk dimensions through the following embodiments, thereby providing richer inputs for subsequent comprehensive risk values.

[0116] In an optional embodiment, such as Figure 6 and Figure 7 As shown, the method further includes: S51. Obtain each of the abnormal behavior events in the fusion event set.

[0117] The fused event set may contain multiple anomalous behavior events, such as detecting two anomalous behavior events, "making a phone call" and "closing eyes," simultaneously within the same time window.

[0118] S52. Based on the event type of each abnormal behavior event, determine the corresponding behavior weight and duration factor, wherein the duration factor is the ratio of the actual duration of the abnormal behavior event to a preset reference threshold time.

[0119] For example, if the reference threshold time for a phone call event is 0.5 seconds, and the actual duration is 1.5 seconds, then the duration factor is 3.0.

[0120] The behavior weights and reference threshold times for each event type can be set as shown in Table 1 below.

[0121] Table 1. Correspondence between event types, behavior weights, and reference threshold times:

[0122] As shown in Table 1, taking a phone call as an example, the actual duration is 1.5 seconds, and the reference threshold time is 0.5 seconds. Therefore, the duration factor is 3.0, indicating that the duration of this behavior far exceeds the reference threshold time, and the risk is significantly increased.

[0123] In an alternative embodiment, such as Figure 7 As shown, for each abnormal behavior event, the actual duration is compared with the warning threshold and danger threshold corresponding to that event type in Table 1, and the event intensity value is determined based on the comparison result.

[0124] For example, when the actual duration does not reach the warning threshold, the intensity value is 1.0, indicating that the event is within the normal monitoring range; when the actual duration reaches the warning threshold but not the danger threshold, the intensity value is 1.5, indicating that the event has reached the warning level; when the actual duration reaches or exceeds the danger threshold, the intensity value is 2.0, indicating that the event has reached the danger level. Through the above-mentioned dual-layer threshold determination mechanism, the system can distinguish different degrees of abnormal severity within the same behavior type.

[0125] It should be noted that the reference threshold and the warning threshold are the same value in this embodiment, but they have different uses: the reference threshold is used to calculate the duration factor to quantify the cumulative effect of abnormal behavior, while the warning threshold is used to determine the level of event intensity to characterize the severity of abnormal behavior. In Table 1, both values ​​are the same, but this is not a limitation of the invention. Those skilled in the art can independently configure the specific values ​​of the reference threshold and the warning threshold according to the actual application scenario.

[0126] S53. Multiply the event intensity value of each abnormal behavior event by the corresponding behavior weight and duration factor to obtain the abnormal behavior risk value corresponding to each abnormal behavior event. S54. Sum the abnormal behavior risk values ​​corresponding to all the abnormal behavior events to obtain the driver behavior risk value; S55. Based on the driver behavior risk value and the time-series correlation assessment result, output the driving behavior assessment result.

[0127] In some embodiments, the Driver Behavior Risk Value (DMS__score) is calculated according to the following formula: Driver behavior risk value = Σ(behavior weight × duration factor × event intensity value); That is, DMS_score = Σ(event_weight × duration_factor × intensity); Among them, the behavior weight event_weight is the reference weight corresponding to each abnormal behavior event type, which is used to characterize the difference in the degree of impact of different types of abnormal behavior on driving safety; The duration factor = actual duration / reference threshold time, which is used to quantify the cumulative effect of abnormal behavior. The longer the actual duration, the larger the duration factor. The event intensity value is used to characterize the severity level of the abnormal behavior event. The event intensity value can be the real-time confidence level after permuting the current detection result using the DMS algorithm.

[0128] In this embodiment, by comprehensively considering three factors—behavior type weight, duration, and real-time detection confidence—the driver behavior risk value can more comprehensively reflect the severity of the driver's current abnormal state.

[0129] Figure 7 This is a schematic diagram of the processing flow of the driver behavior risk analysis module in this application. First, for each abnormal behavior event in the fused event set, the abnormal behavior risk value event_score is calculated. The single-event abnormal behavior risk value is calculated according to the following formula: event_score=weight×duration_factor×intensity; Wherein, weight is the behavior weight, duration_factor is the duration factor, and intensity is the event intensity value. For example, if a "make a phone call" event is detected in the current window, the independent risk contribution value of the event is calculated based on the behavior weight, duration factor, and event intensity value corresponding to the phone call event.

[0130] Then, determine if there are any other unprocessed abnormal behavior events in the current window: if so, return to the previous step to continue calculating the independent risk contribution value of the next abnormal behavior event; if not, sum the independent risk contribution values ​​of all abnormal behavior events in the window to obtain the original driver behavior risk value DMS_score, i.e.: DMS_score=Σ(event_score)=Σ(weight×duration_factor×intensity); Finally, the original driver behavior risk values ​​are normalized, mapping them to a numerical range of 0 to 100. In one embodiment, the normalization coefficient is 25, i.e.: Final driver behavior risk score = DMS_score × 25; The above normalization process ensures that the range of driver behavior risk values ​​is consistent with the comprehensive risk value system, facilitating subsequent weighted fusion with other risk values.

[0131] The process described above—first calculating the risk value independently for each abnormal behavior event, then summing and accumulating the results, and finally normalizing the output—ensures that the risk contribution of multiple abnormal behavior events within the same time window is included in the final risk value, thus avoiding the neglect of the cumulative effect of multiple events due to focusing only on a single event.

[0132] Compared to existing technologies that determine fatigue or distraction based on a single threshold, this embodiment differentiates the evaluation of different event types by using behavioral weights, such as giving more weight to making phone calls than blinking. It also uses duration factors to reflect different degrees of abnormality within the same behavioral type, such as distinguishing between brief and prolonged distraction. Furthermore, it integrates real-time detection confidence and threshold-based dual-layer risk level determination by using event intensity values. This solves the problem that existing technologies cannot distinguish the severity of different abnormalities within the same behavioral type, giving driver behavior risk values ​​a more refined risk differentiation.

[0133] Compared to the approach of directly using DMS detection confidence as the basis for risk assessment, this embodiment quantifies the cumulative effect of abnormal behavior by using the duration factor, which solves the problem of existing technologies ignoring the contribution of behavior duration to risk accumulation, and makes the assessment results more accurately reflect the real-time deterioration trend of the driver's condition.

[0134] In this embodiment, the calculation of the time-series correlation assessment result in step S30 is a quantification of the causal relationship between abnormal behavior events and external environmental risk events, while steps S51 to S53 are independent assessments of the severity of the abnormal behavior events themselves. The two together constitute a comprehensive judgment of the driver's risk from different dimensions.

[0135] In an optional embodiment, such as Figure 8 As shown, this embodiment provides steps for calculating the forward collision risk value, and the method further includes: S71. Obtain each of the external environmental risk events in the fusion event set, each of the external environmental risk events carrying a collision time value, a forward target distance value, and a vehicle speed value.

[0136] Each of the aforementioned external environmental risk events carries a Time-of-Collision (TTC) value, a distance to the target ahead value, and a vehicle speed value. The fused event set may contain multiple external environmental risk events, such as FCW and PCW events being triggered simultaneously within the same time window.

[0137] In some embodiments, the risk types of external environmental risk events include forward collision warning (FCW) events, pedestrian collision warning (PCW) events, and vehicle distance monitoring warning (HMW) events. Different types of external environmental risk events correspond to different warning thresholds, as shown in Table 2 below: Table 2. Correspondence between External Environmental Risk Event Types and Early Warning Thresholds

[0138] As shown in Table 2, the collision time thresholds for both FCW and PCW are 4.0s, higher than the 2.0s threshold for HMW. This is because forward collisions and pedestrian collisions are more urgent and have more severe consequences, thus requiring earlier warnings to allow sufficient driver reaction time. The distance threshold for PCW is 30m, lower than the 50m threshold for FCW. This is because pedestrian targets are more vulnerable than vehicle targets, and the trajectory of pedestrians is more uncertain, requiring a comprehensive judgment based on both the collision time threshold and the distance threshold.

[0139] S72. Calculate the collision time factor, forward distance factor, and speed factor for each of the external environmental risk events. The collision time factor is negatively correlated with the collision time value, the forward distance factor is negatively correlated with the forward target distance value, and the speed factor is positively correlated with the vehicle speed value.

[0140] A smaller collision time value indicates a shorter collision time between the vehicle and the obstacle in front, resulting in a higher level of danger; therefore, a larger collision time factor is required. In one embodiment, the collision time factor is calculated according to the following formula: Collision time factor = 1.0 / (TTC + 0.1); Where TTC is the collision time value, the addition of 0.1 to the denominator is to prevent the factor from diverging to infinity when TTC approaches zero, thus ensuring numerical stability.

[0141] The forward distance factor is negatively correlated with the forward target distance value. The smaller the forward target distance value, the closer the longitudinal distance between the vehicle and the obstacle ahead, and the higher the risk of a rear-end collision; therefore, the larger the forward distance factor, the better. The forward target distance value is the longitudinal distance from the vehicle along the driving direction to the obstacle ahead, in meters, and typically ranges from 2m to 200m.

[0142] In one embodiment, the forward distance factor is calculated according to the following formula: Forward distance factor = 1.0 / (distance + 1.0); Where distance is the distance to the target ahead. Adding 1.0 to the denominator is to avoid division by zero and to make the range of values ​​for the distance factor smoother.

[0143] The speed factor is positively correlated with the vehicle speed value. A higher vehicle speed indicates a greater severity of collision under the same collision time and distance conditions, thus resulting in a larger speed factor. In one embodiment, the speed factor is calculated according to the following formula: Speed ​​factor = 1.0 + ego_speed / 100; Where ego_speed is the vehicle speed value (unit: km / h). For example, when the vehicle speed is 50 km / h, the speed factor is 1.5; when the vehicle speed is 100 km / h, the speed factor is 2.0.

[0144] S73. Multiply the collision time factor, the forward distance factor and the speed factor for each external environmental risk event to obtain the environmental risk value corresponding to each external environmental risk event. S74. Sum the environmental risk values ​​corresponding to all the external environmental risk events to obtain the forward collision risk value; S75. Based on the forward collision risk value, the driver behavior risk value, and the time-series correlation assessment result, output the driving behavior assessment result.

[0145] In one embodiment, the forward collision risk value is calculated according to the following formula: Forward collision risk value = Σ(collision time factor × forward distance factor × speed factor); That is, ADAS_score = Σ(TTC_factor × distance_factor × speed_factor); The collision time factor TTC_factor = 1.0 / (TTC + 0.1). The smaller the collision time value TTC, the shorter the collision time between the vehicle and the obstacle in front, and the higher the degree of danger. Therefore, the larger the collision time factor is. The forward distance factor is 1.0 / (distance+1.0). The smaller the forward target distance value, the closer the longitudinal distance between the vehicle and the obstacle in front, and the higher the risk of rear-end collision. Therefore, the forward distance factor should be larger. The speed factor is calculated as 1.0 + ego_speed / 100. The higher the vehicle's speed value ego_speed, the greater the severity of the collision under the same collision time and distance conditions, and therefore the larger the speed factor.

[0146] By multiplying and fusing the above three factors, this embodiment comprehensively considers the risk factors of three dimensions: collision time, forward longitudinal distance, and vehicle speed. Any deterioration in any dimension (decrease in TTC, decrease in distance, or increase in speed) will increase the independent risk contribution value of the external environmental risk event, thereby improving the overall forward collision risk value and realizing a multi-dimensional comprehensive evaluation of forward collision risk.

[0147] For each external environmental risk event in the fusion event set, its collision time factor, forward distance factor, and speed factor are multiplied to obtain the independent collision risk contribution value of that event. Then, the contribution values ​​of all events are summed to obtain the forward collision risk value.

[0148] In this embodiment, by comprehensively considering three factors—collision time, forward longitudinal distance, and vehicle speed—the forward collision risk value can accurately reflect the real-time collision risk between the vehicle and the obstacle ahead. Compared to traditional ADAS solutions that rely on only a single factor, such as using only TTC or only distance, this embodiment solves the problem of false alarms or missed alarms caused by improper threshold settings for a single factor by fusing the product of the collision time factor, forward distance factor, and speed factor. For example, when relying solely on TTC, although the TTC value is small in high-speed scenarios, the actual distance is still within a safe range. This embodiment effectively reduces the false alarm rate in such scenarios by simultaneously considering the distance factor, thus improving the accuracy and robustness of forward collision risk assessment.

[0149] In an optional embodiment, such as Figure 9 As shown, this embodiment provides steps for calculating the lateral blind zone risk value, and the method further includes: S81: Obtain each of the lateral blind zone risk events in the fusion event set.

[0150] Each of the aforementioned lateral blind spot risk events carries a lateral target distance value. The lateral target distance value characterizes the lateral distance between a target object within the vehicle's lateral blind spot and the side of the vehicle body, measured in meters, typically ranging from 0.5m to 5m. This value differs substantially from the forward target distance value (longitudinal distance) in both physical meaning and numerical range. The fused event set may contain multiple lateral blind spot risk events; for example, blind spot targets may be detected simultaneously on the left and right sides of the vehicle within the same time window.

[0151] S82: Calculate the lateral distance factor for each of the aforementioned lateral blind zone risk events.

[0152] The lateral distance factor is negatively correlated with the lateral target distance value. A smaller lateral target distance value indicates that the target in the blind spot is closer to the vehicle, increasing the risk of collision during lane changes or turns; therefore, a larger lateral distance factor is required. In one embodiment, the lateral distance factor is calculated according to the following formula: Lateral distance factor = 1.0 / (side_distance + 0.1); Here, side_distance represents the lateral target distance value. Adding 0.1 to the denominator is to avoid division by zero errors and ensure numerical stability. For example, when the lateral target distance is 1.0m, the lateral distance factor is approximately 0.91; when the lateral target distance is 0.2m, the lateral distance factor is approximately 3.33, indicating that the risk of targets in the near-range blind zone increases significantly.

[0153] S83: Sum the lateral distance factors of each of the lateral blind zone risk events to obtain the lateral blind zone risk value.

[0154] S84: Output driving behavior assessment results based on the forward collision risk value, the driver behavior risk value, the time-series correlation assessment results, and / or the lateral blind spot risk value.

[0155] In one embodiment, the lateral blind zone risk value is calculated according to the following formula: Lateral blind zone risk value = Σ(1 / (side_distance+0.1)); For each lateral blind zone risk event in the fused event set, its lateral distance factor is calculated, and then all lateral distance factors are summed to obtain the lateral blind zone risk value. When multiple lateral blind zone risk events exist simultaneously, the sum of the lateral distance factors indicates the superposition of risks when targets exist in multiple blind zones simultaneously. For example, when targets in close-range blind zones exist on both the left and right sides simultaneously, the lateral blind zone risk value is higher than the risk value when only one side has a target in a blind zone.

[0156] In this embodiment, by calculating the sum of lateral target distance factors, the lateral blind spot risk value can quantify the proximity of targets within the vehicle's lateral blind spot. In this embodiment, by comprehensively considering the distance and number of targets within the blind spot, the lateral blind spot risk value can accurately reflect the real-time lateral collision risk of the vehicle, effectively reducing the probability of traffic accidents caused by ignoring targets in the blind spot when changing lanes or turning.

[0157] In this embodiment, the lateral blind spot risk value can serve as an auxiliary decision-making basis for the driver when changing lanes or turning. When the driver activates the vehicle's turn signal, the system outputs the current lateral blind spot risk value in real time. If the risk value exceeds the preset lane change safety threshold, a lane change warning is triggered to remind the driver that there is a target vehicle within the blind spot, thus avoiding collision accidents caused by ignoring the target in the blind spot when changing lanes.

[0158] Compared to methods that only judge whether the distance to each lateral target is below a threshold, this embodiment solves the problem of difficulty in quantifying the comprehensive risk when multiple targets exist simultaneously in the blind spot by using a distance factor accumulation mechanism. When there are close blind spot targets on both the left and right sides at the same time, the accumulated lateral blind spot risk value is higher than the risk value when there is only a blind spot target on one side, making lane change assistance decisions more comprehensive and accurate, and effectively reducing the probability of collision accidents caused by ignoring blind spot targets in multiple directions.

[0159] Compared to solutions that rely solely on distance judgment, this embodiment models longitudinal and lateral distances as independent risk dimensions, thus solving the problem of existing technologies conflating distance parameters with different physical meanings. This allows forward collision risk and lateral blind spot risk to be accurately evaluated in their respective physical dimensions, and each contributes its own risk indication in the weighted fusion, ultimately achieving a comprehensive evaluation of the risks of the vehicle's external environment.

[0160] It should be noted that the "distance value of the forward target" in the forward collision risk value and the "distance value of the lateral target" in the lateral blind spot risk value have fundamentally different physical meanings: The forward target distance value represents the longitudinal distance from the vehicle along the driving direction to the obstacle in front. It is concerned with whether a rear-end collision or a collision with the obstacle will occur. The value range is usually from 2m to 200m. Add 1.0 to the denominator to make it suitable for smooth scaling of the larger value range.

[0161] The lateral target distance value represents the lateral distance from the side of the vehicle body to the target in the blind spot. It focuses on whether a lateral collision will occur with the target in the blind spot when changing lanes or turning. The value range is usually 0.5m to 5m. 0.1 is added to the denominator to obtain a more sensitive response curve in the close range.

[0162] The forward target distance value and the lateral target distance value evaluate external environmental risks from the longitudinal and lateral dimensions, respectively. While they differ substantially in physical meaning, numerical range, and calculation formula, they together constitute the multi-dimensional external environmental risk assessment system of this invention. During weighted fusion, both values ​​are calculated independently and then input into the comprehensive risk value formula, reflecting longitudinal and lateral risks respectively, ultimately achieving a comprehensive evaluation of the vehicle's external environmental risks.

[0163] Based on the driver behavior risk value obtained in steps S51-S53, the forward collision risk value obtained in steps S71-S73, and the forward collision risk value obtained in steps S81-S13, this embodiment integrates the time-series correlation assessment results, driver behavior risk value, forward collision risk value, and lateral blind spot risk value through a weighted fusion method to obtain a comprehensive risk value that characterizes the overall driving risk.

[0164] In an optional embodiment, this embodiment further refines step S40, "outputting driving behavior evaluation results based on the time-series correlation evaluation results," as follows: Figure 10 As shown, steps S41 to S43 are included.

[0165] S41: Obtain the driver behavior risk value, the forward collision risk value, and the lateral blind spot risk value.

[0166] S42: The time-series correlation assessment results, the driver behavior risk value, the forward collision risk value, and the lateral blind spot risk value are weighted and fused to obtain a comprehensive risk value.

[0167] In one embodiment, the overall risk value is calculated according to the following formula: Overall risk value = α × driver behavior risk value + β × forward collision risk value + γ × lateral blind spot risk value + δ × time-series correlation assessment result; Wherein, α, β, γ, and δ are the weighting coefficients for each risk value, which can be configured according to the actual application scenario and security management requirements.

[0168] For example, the configuration methods for weighting coefficients include, but are not limited to: fixed preset values, dynamic adjustment based on vehicle speed, dynamic adjustment based on weather conditions, and personalized configuration based on driver's historical behavior profiles. For instance, the weight of speed-related risk values ​​can be appropriately increased under high-speed conditions, and the weight of lateral blind spot risk values ​​can be increased under rainy or snowy weather to compensate for the uncertainty in lateral perception caused by reduced visibility.

[0169] In one specific embodiment, the weighting coefficient δ of the time-series correlation assessment result is higher than other risk values ​​because the time-series correlation assessment result reflects the causal relationship between abnormal driver behavior and external risks, and is the strongest indication signal of complex dangerous behavior.

[0170] S43: Determine and output the driving behavior assessment result based on the comprehensive risk value.

[0171] In one embodiment, the comprehensive risk value is represented by a numerical range of 0 to 100, with higher values ​​indicating greater risk. The driving behavior assessment result is determined based on the preset numerical range in which the comprehensive risk value falls, with different numerical ranges corresponding to different risk levels.

[0172] Specifically, multiple progressively increasing numerical ranges are preset, each corresponding to a risk level. In this embodiment, four numerical ranges are preset, each corresponding to a progressive risk level: when the comprehensive risk value is in the first range of 0 to 30, the current driving risk is determined to be low; when the comprehensive risk value is in the second range of 31 to 60, the current driving risk is determined to be medium; when the comprehensive risk value is in the third range of 61 to 80, the current driving risk is determined to be high; and when the comprehensive risk value is in the fourth range of 81 to 100, the current driving risk is determined to be extremely high.

[0173] Different risk levels correspond to different early warning response methods. For example, when the risk level is determined to be low, the system only logs the information without triggering an alarm; when the risk level is determined to be medium, the system triggers an in-vehicle alert to remind the driver; when the risk level is determined to be high, the system triggers a voice alarm, advising the driver to slow down or stop and rest; when the risk level is determined to be extremely high, the system triggers an emergency alarm, advising the driver to brake immediately or take evasive action, and automatically reports the situation to the cloud platform.

[0174] In a specific example, if the overall risk value is 75, it falls into the third numerical range of 61 to 80. The system will then output a high risk level and trigger a voice alarm.

[0175] The above-described interval division and response methods are merely examples. Specific thresholds and response strategies can be flexibly configured based on actual application scenarios, vehicle parameters, and safety management requirements. For instance, in commercial scenarios such as buses or logistics fleets, the initial threshold for high-risk intervals can be appropriately lowered to improve the sensitivity of safety monitoring; in private car scenarios, the threshold can be appropriately increased to reduce unnecessary alarm interference. These all fall within the scope of protection of this invention.

[0176] In an optional embodiment, after obtaining the comprehensive risk value in step S42 and before outputting the risk level in step S43, step S40 further includes: S42A: Get the current vehicle speed value.

[0177] S42B: Determine a speed amplification factor based on the current vehicle speed value, wherein the speed amplification factor is positively correlated with the current vehicle speed value. In one embodiment, the speed amplification factor = 1.0 + ego_speed / 100.

[0178] S42C: Multiply the overall risk value by the speed amplification factor to obtain the speed-corrected overall risk value. Corrected overall risk value = Overall risk value × Speed ​​amplification factor.

[0179] S42D: Determine and output the driving behavior assessment result based on the comprehensive risk value after speed correction.

[0180] This embodiment introduces a speed amplification factor, resulting in a higher overall risk value for high-speed driving scenarios compared to low-speed driving scenarios under the same levels of driver behavioral abnormality and external environmental risks. This is because at high speeds, vehicle braking distances increase significantly, and the driver's reaction time window shortens. The same level of driver distraction can lead to more severe traffic accidents at high speeds. Through this speed amplification mechanism, the system achieves differentiated risk assessment of dangerous driving behaviors under different speed conditions, improving the sensitivity of risk warnings in high-speed scenarios while avoiding excessive alarms in low-speed scenarios.

[0181] This embodiment integrates the time-series correlation assessment results with multi-dimensional independent risk values ​​in a weighted manner. The system can comprehensively utilize the complementary information from DMS, ADAS, and BSD data to make a comprehensive judgment on dangerous driving behaviors.

[0182] Compared to schemes that rely on only a single assessment dimension, the comprehensive risk value in this embodiment can more comprehensively reflect the actual level of danger in driving scenarios. In particular, the introduction of temporal correlation assessment results enables the system to identify abnormal behavior and risk warnings. Even if each independent risk value is at a moderate level, once a temporal causal relationship is detected between the abnormal behavior event and the external risk event, the comprehensive risk value will be effectively amplified, thereby issuing a timely warning.

[0183] Compared to fixed-weight fusion schemes, this embodiment uses configurable weight coefficients to enable the system to adapt to different application scenarios, such as bus fleets, logistics fleets, and private cars. This solves the problem that existing technologies cannot adapt to diverse scenario requirements and improves the system's scenario adaptability and customization capabilities.

[0184] In summary, this application constitutes a complete driving behavior risk prediction technical solution through event-based structured processing of multimodal perception data, time-series alignment and fusion via sliding time windows, time-series correlation verification of cause and effect, multi-dimensional independent risk assessment, and weighted fusion output. Compared with existing technologies, this application has achieved significant technical progress in terms of time-series correlation capabilities, proactive risk prediction, and false alarm rate control, and can effectively adapt to the needs of proactive, accurate, and real-time dangerous driving risk warning in complex driving scenarios.

[0185] Based on the same concept, this application also provides an electronic device, which includes: Memory, used to store executable program code; A processor is configured to call and execute executable program code from memory, causing the electronic device to perform the prediction method described in the above embodiments.

[0186] A processor can also be a combination of functions that perform computation, such as a combination of one or more microprocessors, digital signal processing (DSP) and microprocessors, etc.

[0187] Figure 11 A schematic block diagram of an electronic device 200 according to an embodiment of this application is shown. The electronic device 200 includes a processor 201, an internal bus 202, a network interface 203, a memory 204, and a non-volatile memory 205, and may also include other hardware required for services. The processor 201 can read the corresponding computer program from the non-volatile memory 205 into the memory 204 and then run it to implement the steps of the method described above. Of course, in addition to the software implementation, this application does not exclude other implementation methods, such as logic devices or a combination of hardware and software, etc. That is to say, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.

[0188] The aforementioned storage devices may include, but are not limited to, USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, optical disks, and other media capable of storing computer programs.

[0189] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes the element.

[0190] The above are merely specific embodiments of this application, enabling those skilled in the art to understand or implement this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to these embodiments, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for predicting driving behavior risks, characterized in that, include: Acquire multimodal perception data and convert it into sensor events, wherein the sensor events include at least abnormal behavior events characterizing the driver's state and external environmental risk events characterizing the vehicle's driving risk; A sliding time window is constructed with the target time as the endpoint, and the sensor events whose timestamps are located within the sliding time window are time-aligned to obtain a fused event set; The system detects whether there are any time-series-related events in the fused event set that satisfy the time-series-related conditions. When there are time-series-related events in the fused event set that satisfy the time-series-related conditions, the system determines the time-series-related evaluation result based on the time-series-related events. The time-series-related conditions are: the timestamp of the abnormal behavior event is earlier than the timestamp of the external environment risk event, and the time difference between the abnormal behavior event and the external environment risk event is less than or equal to the window length of the sliding time window. Based on the temporal correlation evaluation results, the driving behavior evaluation results are output.

2. The method according to claim 1, characterized in that, The acquisition of multimodal sensing data and its conversion into sensor events includes: The driver behavior data collected by the driver monitoring system is acquired, the driver behavior data is subjected to event detection, and the abnormal behavior event is generated. The abnormal behavior event carries the abnormal behavior type, the abnormal behavior intensity value and the corresponding timestamp. The system acquires target data in front of the vehicle collected by the assisted driving system, performs event detection on the target data in front of the vehicle, and generates the external environmental risk event. The external environmental risk event carries the risk event type, risk intensity value and corresponding timestamp. Acquire vehicle lateral target data collected by the blind spot detection system, perform event detection on the vehicle lateral target data, and generate lateral blind spot risk events. The lateral blind spot risk events carry lateral target distance values ​​and corresponding timestamps.

3. The method according to claim 1, characterized in that, The process involves constructing a sliding time window with the target time as the endpoint, and aligning the sensor events whose timestamps fall within the sliding time window in time sequence to obtain a fused event set, including: Multiple sub-windows with different window lengths are constructed. The multiple sub-windows include a first sub-window with a first window length, a second sub-window with a second window length, and a third sub-window with a third window length. The first sub-window is used to detect whether there is a sudden event in the fused event set whose event intensity value reaches a first threshold within a preset time. The second sub-window is used to detect the time-series related events. The third sub-window is used to detect whether there is a continuous event in the fused event set whose cumulative duration of the same event type reaches a second threshold. The length of the third window is greater than the length of the second window, and the length of the second window is greater than the length of the first window. Slide the first sub-window, the second sub-window, and the third sub-window independently, and align the sensor events with timestamps located in the corresponding sub-windows in time sequence to obtain a fusion event set corresponding to each sub-window.

4. The method according to claim 1, characterized in that, The sensor event also includes an event intensity value, which characterizes the confidence level of the sensor event. The construction of the sliding time window with the target time as the endpoint includes: Detect whether there are any abnormal events in the abnormal behavior events or external environmental risk events whose event intensity value exceeds a preset intensity threshold; When the abnormal event is detected, the sliding time window is constructed with the time when the abnormal event is detected as the target time. If no abnormal event is detected, enter low-power monitoring mode and pause the construction of the sliding time window.

5. The method according to claim 1, characterized in that, The construction of the sliding time window with the target time as the endpoint includes: dynamically adjusting the window length of the sliding time window according to the current driving environment. Specifically, when the current road condition is detected to be urban congestion, the window length is adjusted to the congestion window length. When the current road condition is detected to be a highway cruising condition, the window length is adjusted to the highway condition window length; When the current weather conditions are detected as severe, the window length is adjusted to the severe weather window length.

6. The method according to claim 1, characterized in that, The step of determining the temporal correlation evaluation result based on the temporal correlation events includes: Obtain the first event type of the abnormal behavior event and the second event type of the external environmental risk event in the time-series related events; Based on the first event type and the second event type, the corresponding correlation coefficient is queried from the preset correlation matrix. The correlation matrix is ​​used to characterize the degree of causal relationship between different abnormal behavior event types and different external environmental risk event types. Obtain the time difference between the timestamp of the abnormal behavior event and the timestamp of the external environmental risk event; A time series factor is determined based on the time difference, and the time series factor is negatively correlated with the time difference; The time-series correlation evaluation result is determined based on the correlation coefficient and the time-series factor.

7. The method according to claim 2, characterized in that, The method further includes: Obtain all the abnormal behavior events in the fusion event set; Based on the event type of each abnormal behavior event, the behavior weight and duration factor corresponding to each abnormal behavior event are determined respectively. The duration factor is the ratio of the actual duration of the abnormal behavior event to a preset reference threshold time. The event intensity value of each abnormal behavior event is multiplied by the corresponding behavior weight and duration factor to obtain the abnormal behavior risk value corresponding to each abnormal behavior event. The driver's behavior risk value is obtained by summing the risk values ​​corresponding to all the abnormal behavior events. Based on the driver behavior risk value and the time-series correlation assessment result, the driving behavior assessment result is output.

8. The method according to claim 7, characterized in that, The method further includes: All external environmental risk events in the fused event set are obtained, and each external environmental risk event carries a collision time value, a forward target distance value, and a vehicle speed value. For each of the aforementioned external environmental risk events, calculate the collision time factor, forward distance factor, and speed factor. The collision time factor is negatively correlated with the collision time value, the forward distance factor is negatively correlated with the forward target distance value, and the speed factor is positively correlated with the vehicle speed value. The collision time factor, the forward distance factor, and the speed factor for each external environmental risk event are multiplied together to obtain the environmental risk value corresponding to each external environmental risk event. The forward collision risk value is obtained by summing the environmental risk values ​​corresponding to all the external environmental risk events. Based on the forward collision risk value, the driver behavior risk value, and the time-series correlation assessment result, the driving behavior assessment result is output; and / or The method further includes: Obtain all the lateral blind zone risk events in the fusion event set, each of which carries a lateral target distance value; Calculate the lateral distance factor for each of the lateral blind zone risk events, wherein the lateral distance factor is negatively correlated with the lateral target distance value; The lateral distance factor of all the lateral blind zone risk events is summed to obtain the lateral blind zone risk value; Based on the forward collision risk value, the driver behavior risk value, the temporal correlation assessment result, and / or the lateral blind spot risk value, the driving behavior assessment result is output.

9. The method according to claim 8, characterized in that, The step of outputting a driving behavior assessment result based on the forward collision risk value, the driver behavior risk value, the temporal correlation assessment result, and / or the lateral blind spot risk value includes: Obtain the driver behavior risk value, the forward collision risk value, and / or the lateral blind spot risk value; The time-series correlation assessment results, the driver behavior risk value, the forward collision risk value, and the lateral blind spot risk value are weighted and fused to obtain a comprehensive risk value; The driving behavior assessment results are determined and output based on the comprehensive risk value.

10. An electronic device, characterized in that, include: One or more processors; Storage device for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the method as described in any one of claims 1 to 9.