Driving risk warning method, vehicle and storage medium

By identifying the driver's intention to drink water and combining the risk assessment with the type of water cup and road conditions, the warning strategy is dynamically adjusted, which solves the problem of insufficient identification of driving risks caused by physiological needs in existing technologies, and improves the pertinence and safety of driving risk warnings.

CN121650671APending Publication Date: 2026-03-13GREAT WALL MOTOR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-01-23
Publication Date
2026-03-13

AI Technical Summary

Technical Problem

Existing driving risk warning methods mainly assess typical high-risk behaviors such as fatigued driving and distracted driving. However, there is a lack of effective identification and warning mechanisms for driving risks caused by physiological needs during driving, making it difficult to detect and intervene in a timely manner, thus affecting driving safety.

Method used

By identifying the driver's intention to drink water, obtaining the type of water cup, vehicle speed, and road condition, and combining the risk level of the water cup with the driving risk level, the warning strategy is dynamically adjusted to adapt to the actual risk level. This includes real-time image acquisition and target recognition to improve the timeliness and accuracy of drinking intention recognition.

Benefits of technology

It enables multi-dimensional risk perception and judgment before drinking water occurs, reduces unnecessary interference, improves the pertinence and reliability of driving risk warnings, and enhances driving safety while ensuring the driver's physiological needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121650671A_ABST
    Figure CN121650671A_ABST
Patent Text Reader

Abstract

The invention provides a driving risk warning method, a vehicle and a storage medium, and relates to the technical field of safe driving, and the method comprises the steps: recognizing the water drinking intention of a driver in the driving process of the vehicle, enabling the driver to intervene in advance before the actual occurrence of related operation behaviors, and providing a time window for the subsequent risk assessment and warning. After the water drinking intention is recognized, the water cup type, the vehicle speed and the road condition type are obtained, and the differences of different water drinking operations in the aspects of operation complexity and distraction degree can be distinguished. Meanwhile, the driving risk level is determined by combining the vehicle speed and the road condition type, the influence of the current driving state of the vehicle and the road environment on the safety can be reflected, and the risk assessment result dynamically changes along with the vehicle scene. Therefore, the corresponding warning strategy is determined and executed according to the water cup risk level and the driving risk level, so that the warning mode is matched with the actual risk degree, and the pertinence and reliability of driving risk warning are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of safe driving technology, and in particular to a driving risk warning method, a vehicle, and a storage medium. Background Technology

[0002] With the increasing prevalence of long-distance driving, drivers inevitably experience physiological needs such as drinking water during continuous driving, and the impact of these behaviors on driving safety is gradually attracting attention.

[0003] Current methods of warning about driving risks typically analyze factors such as driving duration and visual deviation to assess the driver's risk profile and issue warnings. It can be seen that these risk warning methods mainly assess typical high-risk driving behaviors such as fatigued driving and distracted driving. However, they lack effective identification and warning mechanisms for driving risks arising from physiological needs during driving, making it difficult to detect and intervene in these risks in a timely manner, thus affecting driving safety. Summary of the Invention

[0004] In view of the above problems, this disclosure provides a driving risk warning method, vehicle, and storage medium to overcome or at least partially solve the problem of the lack of an effective identification and warning mechanism for driving risks caused by physiological needs during driving. The technical solution is as follows: A method for warning of driving risks, the method includes: When the driver is detected to have the intention to drink water while the vehicle is in motion, the type of water cup, vehicle speed, and road condition type are obtained. The risk level of the water cup is determined based on its type, and the driving risk level is determined based on vehicle speed and road conditions. Determine warning strategies based on the risk levels of the water cup and the driving risk levels, and issue warnings in accordance with the warning strategies.

[0005] In the above solution, firstly, when the driver's intention to drink water is detected during vehicle operation, the type of water cup, vehicle speed, and road condition type are obtained. Then, the water cup risk level is determined based on its type, and the driving risk level is determined based on vehicle speed and road condition type. Finally, a warning strategy is determined based on the water cup risk level and the driving risk level, and the warning is issued accordingly. In this way, by identifying the driver's intention to drink water during driving and combining this with a tiered assessment based on water cup type, vehicle speed, and road condition type, multi-dimensional risk perception and judgment can be completed before the behavior occurs. Specifically, on the one hand, the operational complexity and distraction level corresponding to different water cup types are quantified into water cup risk levels, avoiding a blanket assessment of all drinking behaviors; on the other hand, vehicle speed and road condition type together reflect the safety constraints of the current driving environment, allowing the driving risk level to dynamically change with the actual driving scenario. Subsequently, based on the risk level of the water cup and the driving risk level, corresponding warning strategies are determined and implemented to ensure that the timing and intensity of warning intervention are appropriate to the degree of risk. This reduces unnecessary interference while providing effective reminders in high-risk scenarios, thereby improving the pertinence, rationality, and driving safety of the risk assessment and warning for drinking behavior.

[0006] Optionally, the method also includes: Real-time images of the driver's driving behavior in the driving area are collected during vehicle operation; Target recognition processing is performed on driving behavior images to determine the target distance between the driver's finger and the water cup; When the target distance is less than the distance threshold, it is determined that the driver intends to drink water.

[0007] In this way, by capturing images of the driver's driving behavior in real time during vehicle operation and performing target recognition on these images to obtain the target distance between the driver's fingers and the water cup, the potential operational behavior of the driver can be judged based on objective spatial positional relationships. When the target distance is less than a preset distance threshold, the driver's intention to drink water can be accurately identified before the actual drinking action occurs, thus avoiding reliance on explicit actions or results for post-event judgment and improving the timeliness and accuracy of drinking intention recognition.

[0008] Optionally, the water cup types include open-mouth cups, single-handed opening cups, and two-handed opening cups. The risk level of the water cup is determined based on the water cup type, including: When the water cup is an open-mouthed cup, the risk level of the water cup is determined to be high risk; When the water cup is a two-handed lid-opening cup, the risk level of the water cup is determined to be medium risk; When the water cup is a one-handed opening cup, the risk level of the water cup is determined to be low risk.

[0009] In this way, by differentiating different types of water cups and determining their corresponding risk levels, the risks of drinking behavior can be graded and assessed based on the actual usage of water cups during driving. Open cups are prone to shaking and spilling, significantly interfering with the driver's attention, and are therefore classified as high-risk; cups requiring both hands to open require both hands, impacting driving operations, and are classified as medium-risk; cups that can be opened with one hand are easy to operate and cause minimal interference with driving, and are classified as low-risk. This risk level classification makes the water cup risk levels more consistent with actual driving scenarios, providing an effective basis for the development of subsequent warning strategies.

[0010] Optionally, the types of traffic conditions to be retrieved include: Collect road data and obstacle data; road data includes road slope and curvature, and obstacle data includes the number of obstacles that are less than a distance threshold from the vehicle; The road condition is classified as complex when the road gradient is greater than or equal to the gradient threshold, or the curvature is greater than or equal to the curvature threshold, or the number of obstacles is greater than or equal to the number threshold. When the road gradient is less than the gradient threshold, the curvature is less than the curvature threshold, and the number of obstacles is less than the number threshold, the road condition type is determined to be a simple road condition.

[0011] Thus, when the slope, curvature, or number of nearby obstacles reaches a corresponding threshold, the road condition is classified as complex, reflecting the handling difficulty and potential safety risks faced by the vehicle during driving. When all the above parameters are below the threshold, the road condition is classified as simple, which is beneficial for identifying relatively stable driving environments. By simultaneously considering road geometry and the surrounding traffic environment, the current driving conditions are characterized in multiple dimensions, making the determination of road condition types more consistent with actual driving conditions, thereby improving the accuracy and reliability of road condition type identification.

[0012] Optionally, the driving risk level can be determined based on vehicle speed and road condition type, including: When the vehicle speed exceeds the first speed threshold, or when the road condition is complex, the driving risk level is determined to be high risk. When the vehicle speed is less than the second speed threshold and the road condition is simple, the driving risk level is determined to be low risk.

[0013] Thus, when the vehicle speed exceeds a preset speed threshold or is in complex road conditions, the driving risk level is determined to be high, reflecting the actual situation where high-speed driving or complex environments demand high levels of driver control and attention. When the vehicle speed is below the speed threshold and in simple road conditions, the driving risk level is determined to be low, representing scenarios where the vehicle's driving state is relatively stable and the safety margin is large. Therefore, by combining vehicle speed and road condition type to classify driving risk, the vehicle's operating state and driving environment factors can be incorporated into the driving risk assessment process. This allows the driving risk level to be dynamically adjusted according to changes in vehicle speed and road conditions, avoiding bias caused by judging a single factor, thereby improving the rationality of the driving risk assessment and its consistency with actual driving safety conditions.

[0014] Optionally, warning strategies can be determined based on the risk level of the water cup and the driving risk level, including: By combining the risk levels of the water cup and the driving risk, a combined risk level is obtained. Warning strategies are determined based on the level of integration risk.

[0015] Thus, firstly, by integrating the risk level of the water cup with the risk level of driving, a fused risk level is obtained, which can simultaneously consider the impact of drinking behavior risk and driving environment risk on driving safety. Then, based on the fused risk level, corresponding warning strategies are determined, ensuring that the warning methods match the actual risk level. This effectively improves the targeting and effectiveness of driving risk warnings while reducing unnecessary interference.

[0016] Optionally, the water cup risk level includes high risk, medium risk, and low risk, and the driving risk level includes high risk and low risk. Combining the water cup risk level and the driving risk level yields a combined risk level, which includes: When the driving risk level is low and the water cup risk level is low, the fusion risk level is determined to be the first risk level. When the driving risk level is low and the water cup risk level is medium, the fusion risk level is determined to be the second risk level. When the driving risk level is low and the water cup risk level is high, the fusion risk level is determined to be the third risk level. When the driving risk level is high and the water cup risk level is low, the fusion risk level is determined to be the fourth risk level. When the driving risk level is high and the water cup risk level is medium, the fusion risk level is determined to be the fifth risk level. When both the driving risk level and the water cup risk level are high, the fusion risk level is determined to be the sixth risk level.

[0017] In this way, by combining the risk level of drinking water with the risk level of driving, and dividing it into multiple integrated risk levels based on different combinations, it is possible to finely distinguish the superposition of risks from drinking behavior and driving environment. When both the risk level of driving and the risk level of drinking water are low, the integrated risk level is correspondingly low; as either risk level increases, the integrated risk level increases progressively, thus accurately reflecting the comprehensive impact of drinking behavior on driving safety in different driving scenarios. Through this classification method, the integrated risk level has clear hierarchy and differentiation, providing a clear basis for the differentiated formulation of subsequent warning strategies, and helping to improve the pertinence and rationality of risk assessment and warning decisions.

[0018] Optionally, warning strategies can be determined based on the level of integration risk, including: When the risk level of the fusion is the highest level, the warning strategy is to use silent monitoring. When the risk level is set to the second risk level, the warning strategy is to control the display of the first prompt on the vehicle screen; the first prompt is used to indicate the action that can be performed. When the risk level is set to the third risk level, the warning strategy is to control the in-vehicle voice system to send a second prompt; the second prompt is used to indicate the action that can be performed. When the risk level is the fourth risk level, the warning strategy is to control the display of the third prompt on the vehicle screen, record the intention to drink water, and continuously monitor the vehicle speed and road conditions until the driving risk level drops to low risk, at which point the first or second prompt is issued; the third prompt is used to indicate that the operation is not allowed. When the risk level is the fifth risk level, the warning strategy is to control the in-vehicle voice system to send a fourth prompt, record the intention to drink water, and continuously monitor the vehicle speed and road condition until the driving risk level drops to low risk, at which point the first or second prompt is issued; the fourth prompt is used to indicate that the operation is not allowed. When the risk level is the sixth risk level, the warning strategy is determined to control the vehicle to send the fifth alert with the highest priority and trigger the linkage with the driver assistance system. The fifth alert is used to remind drivers to drive safely.

[0019] In this way, by setting differentiated warning strategies for different levels of vehicle integration risk, the warning methods can be progressively strengthened with the overall risk level. At low integration risk levels, silent monitoring or light prompts are the primary methods to reduce unnecessary interference with the driver. At medium integration risk levels, screen or voice prompts guide the driver to choose appropriate timing for operation. At higher integration risk levels, delayed prompts, explicit prohibitions, or high-priority warnings linked to driver assistance systems are used to enhance safety intervention. Through this tiered warning mechanism, the warning strategies ensure driving safety while also considering driving comfort and acceptability, thereby improving the targeting, timeliness, and overall effectiveness of risk intervention.

[0020] A driving risk warning device, the device comprising: The acquisition module is used to acquire information such as the type of water cup, vehicle speed, and road condition when it detects that the driver intends to drink water while the vehicle is in motion. The determination module is used to determine the risk level of a water cup based on its type, and to determine the driving risk level based on vehicle speed and road condition. The warning module is used to determine the warning strategy based on the risk level of the water cup and the driving risk level, and to issue warnings according to the warning strategy.

[0021] Optionally, the acquisition module is also used to collect images of the driver's driving behavior in the driving area in real time during vehicle operation; The determination module is also used to perform target recognition processing on driving behavior images to determine the target distance between the driver's finger and the water cup; The determination module is also used to determine whether the driver intends to drink water when the target distance is less than a distance threshold.

[0022] Optional cup types include open-mouth cups, single-handed opening cups, and two-handed opening cups; The module is specifically used for: When the water cup is an open-mouthed cup, the risk level of the water cup is determined to be high risk; When the water cup is a two-handed lid-opening cup, the risk level of the water cup is determined to be medium risk; When the water cup is a one-handed opening cup, the risk level of the water cup is determined to be low risk.

[0023] Optional, the acquisition module is specifically used for: Collect road data and obstacle data; road data includes road slope and curvature, and obstacle data includes the number of obstacles that are less than a distance threshold from the vehicle; The road condition is classified as complex when the road gradient is greater than or equal to the gradient threshold, or the curvature is greater than or equal to the curvature threshold, or the number of obstacles is greater than or equal to the number threshold. When the road gradient is less than the gradient threshold, the curvature is less than the curvature threshold, and the number of obstacles is less than the number threshold, the road condition type is determined to be a simple road condition.

[0024] Optional, determine the module, specifically used for: When the vehicle speed exceeds the first speed threshold, or when the road condition is complex, the driving risk level is determined to be high risk. When the vehicle speed is less than the second speed threshold and the road condition is simple, the driving risk level is determined to be low risk.

[0025] Optional, alert module, specifically used for: By combining the risk levels of the water cup and the driving risk, a combined risk level is obtained. Warning strategies are determined based on the level of integration risk.

[0026] Optionally, the risk levels for water cups include high risk, medium risk, and low risk, and the risk levels for driving include high risk and low risk; The alert module is specifically used for: When the driving risk level is low and the water cup risk level is low, the fusion risk level is determined to be the first risk level. When the driving risk level is low and the water cup risk level is medium, the fusion risk level is determined to be the second risk level. When the driving risk level is low and the water cup risk level is high, the fusion risk level is determined to be the third risk level. When the driving risk level is high and the water cup risk level is low, the fusion risk level is determined to be the fourth risk level. When the driving risk level is high and the water cup risk level is medium, the fusion risk level is determined to be the fifth risk level. When both the driving risk level and the water cup risk level are high, the fusion risk level is determined to be the sixth risk level.

[0027] Optional, alert module, specifically used for: When the risk level of the fusion is the highest level, the warning strategy is to use silent monitoring. When the risk level is set to the second risk level, the warning strategy is to control the display of the first prompt on the vehicle screen; the first prompt is used to indicate the action that can be performed. When the risk level is set to the third risk level, the warning strategy is to control the in-vehicle voice system to send a second prompt; the second prompt is used to indicate the action that can be performed. When the risk level is the fourth risk level, the warning strategy is to control the display of the third prompt on the vehicle screen, record the intention to drink water, and continuously monitor the vehicle speed and road conditions until the driving risk level drops to low risk, at which point the first or second prompt is issued; the third prompt is used to indicate that the operation is not allowed. When the risk level is the fifth risk level, the warning strategy is to control the in-vehicle voice system to send a fourth prompt, record the intention to drink water, and continuously monitor the vehicle speed and road condition until the driving risk level drops to low risk, at which point the first or second prompt is issued; the fourth prompt is used to indicate that the operation is not allowed. When the risk level is the sixth risk level, the warning strategy is determined to control the vehicle to send the fifth alert with the highest priority and trigger the linkage with the driver assistance system. The fifth alert is used to remind drivers to drive safely.

[0028] A vehicle includes an electronic device comprising a memory for storing a computer program and a processor for implementing any of the optional driving risk warning methods described above when executing the computer program.

[0029] A computer-readable storage medium storing a computer program that, when executed by a processor, implements any of the optional driving risk warning methods described above.

[0030] A computer program product, when run on a computer, causes the computer to perform the aforementioned related steps to implement any of the optional driving risk warning methods described above.

[0031] By employing the aforementioned technical solution, this disclosure provides a driving risk warning method, vehicle, and storage medium. First, it identifies the driver's intention to drink water during vehicle operation, allowing for early intervention before the actual occurrence of the relevant action, providing a time window for subsequent risk assessment and warnings. Then, after identifying the drinking intention, it obtains the type of water cup, distinguishing the differences in operational complexity and distraction levels among different drinking actions, thereby quantifying the potential risks of the drinking behavior itself. Simultaneously, it determines the driving risk level by combining vehicle speed and road condition type, reflecting the impact of the vehicle's current driving state and road environment on safety, allowing the risk assessment results to dynamically change with the driving scenario. Based on this, it determines and executes corresponding warning strategies according to the water cup risk level and the driving risk level, matching the warning method with the actual risk level. This effectively reduces the impact of drinking behavior on driving safety while ensuring the driver's necessary physiological needs, improving the targeting and reliability of driving risk warnings.

[0032] The above description is merely an overview of the technical solution disclosed herein. In order to better understand the technical means of this disclosure and to implement it in accordance with the contents of the specification, and to make the above and other objects, features and advantages of this disclosure more apparent and understandable, specific embodiments of this disclosure are described below. Attached Figure Description

[0033] Various other advantages and benefits will become apparent to those skilled in the art upon reading the following detailed description of preferred embodiments. The accompanying drawings are for illustrative purposes only and are not intended to limit the scope of this disclosure. Furthermore, the same reference numerals denote the same parts throughout the drawings. In the drawings: Figure 1 One of the flowcharts of the driving risk warning method provided in this disclosure is shown; Figure 2 A second schematic flowchart of the driving risk warning method provided in this embodiment of the present disclosure is shown; Figure 3 The third schematic flowchart of the driving risk warning method provided in this embodiment of the present disclosure is shown; Figure 4 The fourth schematic flowchart of the driving risk warning method provided in this embodiment of the present disclosure is shown; Figure 5 This diagram illustrates the structure of a driving risk warning device according to an embodiment of the present disclosure; Figure 6 A schematic diagram of the structure of an electronic device in a vehicle provided by an embodiment of this disclosure is shown. Detailed Implementation

[0034] Exemplary embodiments of the present disclosure will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.

[0035] Current methods for warning about driving risks mainly assess typical high-risk driving behaviors such as fatigued driving and distracted driving. However, there is a lack of effective identification and warning mechanisms for driving risks caused by physiological needs during driving. As a result, it is difficult to detect and intervene in these risks in a timely manner, which in turn affects driving safety.

[0036] To address the aforementioned issues, this disclosure provides a driving risk warning solution. First, it identifies the driver's intention to drink water during vehicle operation, allowing for early intervention before the actual action occurs, providing a window for subsequent risk assessment and warnings. Second, after identifying the drinking intention, it obtains the type of water cup, distinguishing the differences in operational complexity and distraction levels among different drinking actions, thus quantifying the potential risks of the drinking behavior itself. Simultaneously, it determines the driving risk level by combining vehicle speed and road condition type, reflecting the impact of the vehicle's current driving state and road environment on safety, allowing the risk assessment results to dynamically change with the driving scenario. Based on this, it determines and executes corresponding warning strategies according to the water cup risk level and the driving risk level, matching the warning method to the actual risk level. This effectively reduces the impact of drinking behavior on driving safety while ensuring the driver's necessary physiological needs, improving the targeting and reliability of driving risk warnings.

[0037] The driving risk warning method provided in this disclosure is applicable to various driving scenarios where drivers need to drink water while driving, such as long-distance driving, daily commuting, and driving on urban roads or highways. The driving risk warning method provided in this disclosure can also be executed by a driving risk warning device, which can be hardware or software. When the driving risk warning device is hardware, it can be an electronic device with driving risk warning functionality. When the driving risk warning device is software, it can be installed in the aforementioned electronic device. It can be implemented as multiple software programs or software modules, or as a single software program or software module. No specific limitations are made here.

[0038] Based on the aforementioned driving risk warning system, and to address the technical problem that current driving risk warning schemes lack an effective identification and warning mechanism for driving risks arising from physiological needs during driving, this disclosure provides a driving risk warning method, such as... Figure 1 As shown, Figure 1 This is a schematic flowchart of a driving risk warning method provided in an embodiment of this disclosure. The method may include the following steps S1-S3: S1. When the driver is detected to have the intention to drink water while the vehicle is in motion, obtain the type of water cup, vehicle speed, and road condition type.

[0039] First, the system identifies whether the driver intends to drink water while the vehicle is in motion. Specifically, this can be achieved by acquiring the driver's behavioral characteristics during the journey and analyzing this information in conjunction with the status of water cups within the cabin. This analysis determines whether the driver exhibits behaviors related to drinking, such as picking up or raising a cup, thus identifying their intention to drink. For example, in-vehicle cameras and cabin sensors can be used to acquire facial images, upper limb movements, and changes in gaze, detecting whether the driver is picking up or raising a cup, or shifting their gaze towards the cup. Then, by combining the cup's position, the relative relationship between the hand and the cup, and the duration of the behavior, a comprehensive judgment is made using pre-defined rules or a behavioral recognition model to determine whether the driver intends to drink water.

[0040] Next, the type of water cup, vehicle speed, and road condition are obtained. Specifically, this can be achieved by first acquiring cabin perception information, vehicle operation information, and environmental or navigation information, and then analyzing the data related to the water cup and driving status to determine the water cup type, current vehicle speed, and road condition. For example, in-vehicle vision sensors (such as a wide-angle camera to capture images of the driver's area) can identify the appearance or usage status of the water cup to distinguish different types; vehicle status sensors can acquire vehicle speed, turn signals, gear position, and other signals via the Controller Area Network (CAN) bus; and environmental perception modules, such as the forward-facing camera and millimeter-wave radar data from Advanced Driver Assistance Systems (ADAS), or real-time road condition information integrated with navigation maps, can determine road conditions such as curves, slopes, and ramps.

[0041] S2. Determine the risk level of the water cup based on its type, and determine the driving risk level based on vehicle speed and road conditions.

[0042] Firstly, determining the risk level of a water cup based on its type can be done in two ways. One is by establishing a pre-defined mapping between water cup types and risk levels, directly mapping the identified water cup type to its corresponding risk level. Alternatively, the water cup type can be used as one of the input features, fed into a pre-trained water cup risk assessment model. This model then analyzes factors such as the water cup's structural characteristics and usage complexity, outputting the water cup's risk level corresponding to its type, thus achieving an assessment of the risk level for different water cup types.

[0043] In some embodiments, the water cup type includes an open-mouth cup, a cup that can be opened with one hand, and a cup that can be opened with two hands. The risk level of a water cup can be determined as follows: if the water cup is an open-mouth cup, the risk level is determined to be high; if the water cup is a cup that can be opened with two hands, the risk level is determined to be medium; and if the water cup is a cup that can be opened with one hand, the risk level is determined to be low.

[0044] Specifically, open cups are prone to shaking and spilling, significantly interfering with driver attention and thus classified as high-risk; cups requiring both hands to open require both hands, impacting driving operation and thus classified as medium-risk; cups that can be opened with one hand are easy to operate and cause minimal interference with driving, thus classified as low-risk. By differentiating different types of water cups and determining their corresponding risk levels, the risks of drinking behavior can be graded based on actual usage of water cups during driving. Therefore, this risk level classification method makes water cup risk levels more consistent with actual driving scenarios, providing an effective basis for the development of subsequent warning strategies.

[0045] Secondly, similarly, determining driving risk levels based on vehicle speed and road condition type can also be done by establishing a pre-defined mapping relationship between vehicle speed, road condition type, and risk level, directly mapping vehicle speed and road condition type to the corresponding driving risk level. Alternatively, vehicle speed and road condition type can be used as input features to a pre-trained driving risk assessment model. This model then analyzes factors such as the magnitude of speed changes and the complexity of road conditions, outputting a driving risk level that matches the current driving state and situation, thereby achieving the assessment of driving risk under different combinations of vehicle speed and road condition types.

[0046] In some embodiments, the driving risk level is determined based on vehicle speed and road condition type by determining the driving risk level as high risk when the vehicle speed is greater than a first speed threshold or when the road condition type is complex. When the vehicle speed is less than a second speed threshold and the road condition type is simple, the driving risk level is determined as low risk.

[0047] The preset values ​​for the first and second speed thresholds can be, for example, default values ​​or values ​​set by relevant personnel based on actual conditions. For instance, the first speed threshold could be 80 kilometers per hour (km / h), and the second speed threshold could be 40 km / h.

[0048] Specifically, when the vehicle speed exceeds a preset speed threshold or is in complex road conditions, the driving risk level is determined to be high-risk, reflecting the actual situation where high-speed driving or complex environments demand high levels of driver control and attention. When the vehicle speed is below the speed threshold and in simple road conditions, the driving risk level is determined to be low-risk, representing scenarios where the vehicle's driving state is relatively stable and the safety margin is large. In this way, by combining vehicle speed and road condition type to classify driving risk, the vehicle's operating state and driving environment factors can be incorporated into the driving risk assessment process. This allows the driving risk level to be dynamically adjusted according to changes in vehicle speed and road conditions, avoiding bias caused by a single factor, thereby improving the rationality of the driving risk assessment and its consistency with actual driving safety conditions.

[0049] S3. Determine the warning strategy based on the risk level of the water cup and the driving risk level, and issue warnings in accordance with the warning strategy.

[0050] First, determine the warning strategy based on the risk level of the water cup and the risk level of driving.

[0051] Specifically, determining the warning strategy based on the risk level of the water cup and the driving risk level can be done in two ways. First, it can be based on pre-established combination rules between the water cup and driving risk levels, determining warning strategies corresponding to different risk combinations. For example, when both the water cup and driving risk levels are high, a stronger warning strategy is triggered; when either risk level is low, a weaker warning strategy is used. Alternatively, the water cup and driving risk levels can be used as input features to a pre-trained warning decision model. This model then integrates the impact of different risk levels on driving safety and outputs a warning strategy that matches the current risk state, thus achieving adaptive adjustment of the warning method and intensity.

[0052] Secondly, issue warnings according to the warning strategy.

[0053] Specifically, the warning method based on the warning strategy can be to control the vehicle system to output prompt information to the driver in the corresponding form of warning, such as through voice broadcast, instrument or central control interface prompts, light or icon reminders, and adjust the triggering time, duration or intensity of the warning according to the warning level corresponding to the warning strategy, so as to reduce the driver's distraction and achieve effective risk reminder.

[0054] In the above scheme, firstly, when the driver's intention to drink water is detected during vehicle operation, the type of water cup, vehicle speed, and road condition type are obtained. Then, the water cup risk level is determined based on its type, and the driving risk level is determined based on vehicle speed and road condition type. Finally, a warning strategy is determined based on the water cup risk level and the driving risk level, and the warning is issued according to the strategy. In this way, by identifying the driver's intention to drink water during driving and combining it with a graded assessment based on water cup type, vehicle speed, and road condition type, multi-dimensional risk perception and judgment can be completed before the behavior occurs. That is, on the one hand, the operational complexity and distraction level corresponding to different water cup types are quantified into water cup risk levels, avoiding a blanket assessment of all drinking behaviors; on the other hand, vehicle speed and road condition type together reflect the safety constraints of the current driving environment, allowing the driving risk level to dynamically change with the actual driving scenario. Subsequently, based on the risk level of the water cup and the driving risk level, corresponding warning strategies are determined and implemented to ensure that the timing and intensity of warning intervention are appropriate to the degree of risk. This reduces unnecessary interference while providing effective reminders in high-risk scenarios, thereby improving the pertinence, rationality, and driving safety of the risk assessment and warning for drinking behavior.

[0055] In some embodiments, such as Figure 2 As shown, before step S1 above, the driving risk warning method may also include the following steps S01-S03.

[0056] S01. Real-time acquisition of images of the driver's driving behavior in the driving area during vehicle operation.

[0057] Specifically, in-vehicle vision sensors (such as wide-angle cameras, fisheye cameras, binocular cameras, etc.) can be used to collect real-time images of the driver's driving behavior in the driving area.

[0058] S02. Perform target recognition processing on the driving behavior image to determine the target distance between the driver's finger and the water cup.

[0059] Specifically, the driver's finger position and water cup position can be located by performing target detection and key point recognition on driving behavior images. After obtaining the coordinates of the finger key points and the target area coordinates of the water cup, distance calculation is performed based on pixel distance, depth information, or calibration parameters to obtain the target distance between the finger and the water cup. Alternatively, spatial information obtained from a depth camera or binocular vision can be combined to estimate the actual distance between the finger and the water cup, thereby improving the accuracy of the target distance calculation.

[0060] S03. When the target distance is less than the distance threshold, determine that the driver intends to drink water.

[0061] The target distance is a preset value, such as a default value or a value set by relevant personnel according to the actual situation.

[0062] In the above solution, by acquiring real-time images of the driver's driving behavior in the driving area during vehicle operation and performing target recognition on these images to obtain the target distance between the driver's fingers and the water cup, the potential operational behavior of the driver can be judged based on objective spatial positional relationships. When the target distance is less than a preset distance threshold, the driver's intention to drink water can be accurately identified before the actual drinking action occurs, thus avoiding reliance on explicit actions or result states for post-event judgment and improving the timeliness and accuracy of drinking intention recognition.

[0063] In some embodiments, such as Figure 3 As shown, the method of obtaining the road condition type in step S1 above can be achieved through the following steps S11-S13.

[0064] S11. Collect road data and obstacle data.

[0065] The road data includes the road's slope and curvature, while the obstacle data includes the number of obstacles that are less than a distance threshold from the vehicle.

[0066] Specifically, a vehicle environment perception system can acquire sensing information related to roads and surrounding obstacles, analyze the sensing results to extract road data such as road slope and curvature, and simultaneously filter the sensed obstacles, counting the number of obstacles whose distance from the vehicle is less than a preset distance threshold as obstacle data. The vehicle environment perception system may include modules such as onboard cameras, millimeter-wave radar, lidar, or navigation systems.

[0067] S12. Determine whether the road slope is greater than or equal to the slope threshold. If the road slope is greater than or equal to the slope threshold, execute step S13. If the road slope is less than the slope threshold, execute step S14.

[0068] The slope threshold is a preset value, which can be a default value or a value set by relevant personnel according to the actual situation.

[0069] S13. The road condition type is determined to be complex.

[0070] Specifically, when the slope of a road is greater than or equal to the slope threshold, it indicates that the current driving environment is on an uphill or downhill section or is about to enter an uphill or downhill section. The longitudinal force on the vehicle changes significantly, the difficulty of speed control increases, and the complexity of driving operations increases. Therefore, the road condition type can be identified as a complex road condition.

[0071] Similarly, when the road curvature is greater than or equal to the curvature threshold, it indicates that the current driving environment is a continuous curve or a sharp curve, which increases the difficulty of directional control and trajectory maintenance, and increases the complexity of driving operations. Therefore, the road condition type can be identified as a complex road condition.

[0072] When the number of obstacles less than a distance threshold from the vehicle is greater than or equal to a preset threshold, it indicates that the traffic participants around the vehicle are relatively dense. The driver needs to pay close attention to the surrounding environment and perform avoidance or following maneuvers, which increases the driving workload and the complexity of driving operations. Therefore, the road condition type can be identified as complex road condition.

[0073] Therefore, based on one or more of the above situations, the current road condition can be classified as a complex road condition.

[0074] S14. Determine whether the curvature of the road is greater than or equal to the curvature threshold. If the curvature is greater than or equal to the curvature threshold, execute step S13. If the curvature is less than the curvature threshold, execute step S15.

[0075] The curvature threshold is a preset value, such as a default value or a value set by relevant personnel according to the actual situation.

[0076] S15. Determine whether the number of obstacles is greater than or equal to the number threshold. If the number of obstacles is greater than or equal to the number threshold, execute step S13. If the number of obstacles is less than the number threshold, execute step S16.

[0077] The quantity threshold is a preset value, such as a default value or a value set by relevant personnel according to the actual situation.

[0078] S16. Determine the road condition type as simple.

[0079] Specifically, when the road gradient is less than the gradient threshold, the curvature is less than the curvature threshold, and the number of obstacles with a distance less than the distance threshold is less than the preset number threshold, it indicates that the current road is relatively straight, the longitudinal and lateral control burden of the vehicle is low, the surrounding traffic environment is relatively open, the driver's operating pressure is low, and the driving environment is stable. Therefore, the road condition type can be determined as simple road condition.

[0080] In the above scheme, when the slope, curvature, or number of nearby obstacles reaches the corresponding threshold, the road condition is classified as complex, reflecting the handling difficulty and potential safety risks faced by the vehicle during driving. When all the above parameters are below the threshold, the road condition is classified as simple, which is beneficial for identifying relatively stable driving environments. By simultaneously considering road geometry and the surrounding traffic environment, the current driving conditions are characterized in multiple dimensions, making the determination of road condition types more consistent with actual driving conditions, thereby improving the accuracy and reliability of road condition type identification.

[0081] In some embodiments, such as Figure 4 As shown, the method of determining the warning strategy based on the risk level of the water cup and the driving risk level in step S3 above can be achieved through the following steps S31-S32.

[0082] S31. By combining the risk level of the water cup and the risk level of driving, a combined risk level is obtained.

[0083] The risk levels for water cups are categorized as high, medium, and low, while the risk levels for driving are categorized as high and low.

[0084] Specifically, the method of combining the risk levels of the water cup and the driving risk to obtain the combined risk level can be based on pre-defined fusion rules, such as weighted summation, taking the higher risk level, or mapping according to a risk matrix to obtain the corresponding combined risk level; or the risk levels of the water cup and the driving risk are used as input features and input into a pre-trained fusion assessment model, which integrates the impact of the two types of risks on driving safety and outputs a combined risk level that matches the current state, thereby achieving an assessment of the overall risk of drinking water behavior.

[0085] In some embodiments, the method for obtaining a combined risk level by integrating the water cup risk level and the driving risk level can be as follows: when both the driving risk level and the water cup risk level are low, the combined risk level is determined as a first risk level; when both the driving risk level and the water cup risk level are low, the combined risk level is determined as a second risk level; when both the driving risk level and the water cup risk level are high, the combined risk level is determined as a third risk level; when both the driving risk level and the water cup risk level are high, the combined risk level is determined as a fourth risk level; when both the driving risk level and the water cup risk level are high, the combined risk level is determined as a fifth risk level; and when both the driving risk level and the water cup risk level are high, the combined risk level is determined as a sixth risk level. The relationship between the water cup risk level, the driving risk level, and the combined risk level is shown in Table 1 below.

[0086] Table 1

[0087] In this way, by combining the risk level of drinking water with the risk level of driving, and dividing it into multiple integrated risk levels based on different combinations, it is possible to finely distinguish the superposition of risks from drinking behavior and driving environment. When both the risk level of driving and the risk level of drinking water are low, the integrated risk level is correspondingly low; as either risk level increases, the integrated risk level increases progressively, thus accurately reflecting the comprehensive impact of drinking behavior on driving safety in different driving scenarios. Through this classification method, the integrated risk level has clear hierarchy and differentiation, providing a clear basis for the differentiated formulation of subsequent warning strategies, and helping to improve the pertinence and rationality of risk assessment and warning decisions.

[0088] S32. Determine warning strategies based on the integration risk level.

[0089] Specifically, the method of determining the warning strategy based on the fusion risk level can be either to directly match the warning strategy based on the pre-established correspondence between the fusion risk level and the warning strategy, or to use the fusion risk level as input to a pre-trained warning decision model, which will then output the corresponding warning method, warning intensity, or warning timing based on the risk level corresponding to different fusion risk levels, thereby achieving adaptive determination of the warning strategy.

[0090] In some embodiments, the way of determining the warning strategy based on the fusion risk level may include the following (1)-(6).

[0091] (1) When the risk level of the fusion is the first risk level, the warning strategy is to be silent monitoring, that is, not to give any reminders to avoid disturbing the driver.

[0092] At this risk level, since both the driving risk level and the water cup risk level are low, the driver's attention burden is low, and any prompts may constitute unnecessary interference. Therefore, by not triggering prompts, vigilance fatigue caused by "over-reminders" can be avoided, ensuring intervention only in scenarios with actual safety significance, thereby improving the rationality of the interaction.

[0093] (2) When the risk level of fusion is the second risk level, the warning strategy is to control the display of the first prompt on the vehicle screen.

[0094] The first prompt is used to indicate the actions that can be taken.

[0095] At this risk level, since the driving risk is low and the water cup risk is medium, the driving environment allows for distracted operation, but the status of the water cup is somewhat uncertain, requiring the driver to obtain safety confirmation before taking any action. In this situation, visual prompts via the in-vehicle screen can convey the actionable information (i.e., drinking water) to the driver without increasing cognitive load, thus maintaining a good human-machine interaction experience while ensuring safety. For example, a non-intrusive icon (such as a water cup icon) can be displayed on the head-up display (HUD) or dashboard to indicate to the driver that it is safe to drink water; this prompt can be called a lightweight prompt.

[0096] (3) When the risk level of fusion is the third risk level, the warning strategy is to control the vehicle voice system to send a second prompt.

[0097] The second prompt is used to indicate the actions that can be taken.

[0098] At this risk level, since driving is considered low-risk while the water cup is considered high-risk, the act of drinking water itself may require significant movement, posing a clear risk of distraction. In this situation, providing auditory prompts through the in-vehicle voice system can inform the driver of the risk without requiring them to look away, thus reducing visual interference and improving the timeliness and appropriateness of information delivery. For example, the in-vehicle voice system could issue a friendly, calm voice prompt, "Please note, you may drink water now."

[0099] (4) When the risk level of the vehicle is the fourth risk level, the warning strategy is to control the display of the third prompt on the vehicle screen and record the intention to drink water. At the same time, the vehicle speed and road condition are continuously monitored until the driving risk level drops to low risk, and then the first or second prompt is initiated.

[0100] The third prompt is used to indicate that an operation cannot be performed.

[0101] At this risk level, while driving is considered high-risk and drinking water is considered low-risk, the act of drinking water, though simple, could amplify driving risks in complex road conditions. Therefore, it's crucial to explicitly discourage immediate drinking. Simultaneously, given the low risk level of the water cup, it's unnecessary to interrupt the driver's judgment with forceful voice commands. Instead, a third visual alert is displayed on the in-vehicle screen, non-intrusively informing the driver that the action is prohibited and recording the intention to drink. Furthermore, vehicle speed and road conditions are continuously monitored; once the environmental risk decreases, a first or second alert is automatically triggered. This approach effectively ensures driving safety while avoiding excessive driver disturbance. For example, by continuously displaying a non-intrusive icon (such as a water cup icon with an "X") on the HUD or dashboard and recording the intention to drink water, but immediately remaining silent, while continuously monitoring road conditions until the environmental risk drops to low risk (i.e., the fusion risk level drops to one of the first to third risk levels), the system can automatically trigger either a first prompt (a delayed, lightweight prompt, such as displaying a non-intrusive icon on the HUD or dashboard) or a second prompt (a delayed voice prompt, such as "The road conditions are now stable, you can drink water now").

[0102] (5) When the risk level of the vehicle is the fifth risk level, the warning strategy is to control the vehicle voice system to send the fourth prompt, record the intention to drink water, and continuously monitor the vehicle speed and road condition type until the driving risk level drops to low risk, and then initiate the first or second prompt.

[0103] The fourth prompt is used to indicate that an operation cannot be performed.

[0104] At this risk level, since the driving risk level and the water cup risk level are at high and medium risk levels respectively, the complex driving environment and the inherent instability of drinking water operations, combined, could significantly increase the probability of an accident. In this situation, triggering a fourth warning and issuing a clear verbal warning can quickly guide the driver's attention, effectively suppressing dangerous behavior during the high-risk phase. For example, when the risk level is at the fifth level, a clear warning voice should be issued immediately, such as: "A curve ahead, please keep both hands firmly on the steering wheel." Simultaneously, the intention to drink water should be recorded, and a delayed warning (delayed light warning or delayed voice warning) should be triggered once the environmental risk level drops to low risk.

[0105] (6) When the risk level of the fusion is the sixth risk level, the warning strategy is to control the vehicle to send the fifth prompt with the highest priority and trigger the linkage with the driver assistance system.

[0106] The fifth alert is for safe driving, indicating that no actions should be taken and that the driver must concentrate on driving. Given the high risk level in the current scenario, the fifth alert needs to be clearly stated and not easily ignored. For example, it could be a voice prompt, or a combination of steering wheel vibration and voice prompts, to ensure the driver can perceive it promptly. The highest priority alert refers to the highest level directly related to driving safety risk in the vehicle alarm priority classification. This level of alert is executed first when triggered to ensure the driver perceives the safety risk immediately.

[0107] At this risk level, since both the driving and water cup risk levels are at high risk, any distracted operation could directly cause a traffic accident. Therefore, a single warning is insufficient to guarantee safety. In this situation, by triggering the fifth warning with the highest priority and in conjunction with the driver assistance system, a system-level safety backup can be provided in cases where the driver's reaction is insufficient, thereby minimizing safety risks in extreme scenarios. For example, when the risk level is the sixth risk level, a strong voice warning is immediately issued with the highest priority, such as "Danger! Do not be distracted!" accompanied by a short steering wheel vibration; simultaneously, the ADAS is activated to temporarily enhance Lane Keeping Assist (LKA) or following distance as a safety backup.

[0108] The relationship between risk levels and alert strategies is shown in Table 2 below.

[0109] Table 2

[0110] As can be seen, when a low-risk operation (such as drinking from a straw cup) encounters a high-risk road condition (corresponding to the fourth risk level), a strong reminder to "not drink" may be unnecessary because the operation itself is low-risk; however, not reminding might lead to missing the risk point. Therefore, a light reminder with a delayed execution can be chosen. During this delay, navigation information (such as "50 meters to the end of the curve") and vehicle sensors can be continuously monitored. Once the conditions are met (such as exiting the curve and maintaining a stable speed), a "green signal" should be proactively given.

[0111] When a medium-risk operation (such as unscrewing a loose lid) encounters a high-risk road condition (corresponding to risk level 5), the act of opening the lid itself requires a brief moment of distraction, which is dangerous in complex road conditions. Therefore, it must be stopped immediately. However, since the operation itself is not extremely dangerous, the system still "remembers" the driver's need for water and proactively provides a solution once the road conditions improve, offering a more considerate experience.

[0112] In addition, for scenarios with high-risk water cups (such as open cups), an instant voice reminder will be triggered in any environment (third and sixth risk levels), reflecting a "zero tolerance" attitude towards high-risk distracting behaviors; while for operations with low-risk water cups, the system is very "lenient," remaining silent in safe road conditions and "waiting silently" in unsafe road conditions, prompting that the operation can be performed after it is safe, thus improving the gradient and humanization of the warning strategy.

[0113] This differentiated warning strategy, tailored to different levels of integration risk, allows warning methods to progressively increase with the overall risk level. At low integration risk levels, silent monitoring or subtle prompts are primary, minimizing unnecessary interference with the driver. At medium integration risk levels, screen or voice prompts guide the driver to choose appropriate timing for actions. At higher integration risk levels, delayed prompts, explicit prohibitions, or high-priority warnings linked to driver assistance systems enhance safety intervention. This tiered warning mechanism ensures that warning strategies balance driving safety with driver comfort and acceptability, thereby improving the targetedness, timeliness, and overall effectiveness of risk intervention.

[0114] In the above solution, firstly, by integrating the risk level of the water cup with the risk level of driving, a fused risk level is obtained, which can simultaneously consider the impact of drinking behavior risk and driving environment risk on driving safety. Then, based on the fused risk level, corresponding warning strategies are determined, ensuring that the warning methods match the actual risk level. This effectively improves the targeting and effectiveness of driving risk warnings while reducing unnecessary interference.

[0115] In some embodiments, the core processing module of the driving risk warning device in this disclosure may include an intent recognition unit (for recognizing the intent to drink water), a risk assessment unit (for assessing the risk level), a decision output unit (for determining the warning strategy based on the risk level), and a warning execution unit (for executing the warning strategy).

[0116] In some embodiments, the water cup types disclosed herein can also be categorized into straw cups, screw-top cups, and open / unlidded cups. Thus, when determining the risk level of a water cup, a pre-trained image classification model, such as a Convolutional Neural Network (CNN), can be used to quickly classify the cup into straw cups (operable with one hand, low distraction), screw-top cups (which can be further distinguished into "new / tight lid" and "old / loose lid," the former requiring more extensive two-handed operation and high distraction; the latter being close to one-handed operation), and open / unlidded cups (high risk, prone to spillage, requiring high vigilance), etc.

[0117] Then, based on two core dimensions—"operational complexity" and "required attention / hands-occupancy"—the risk level of the water cup is categorized. For example, situations where the entire process of "taking, drinking, and putting away" can be completed with one hand, with simple and smooth operation and minimal impact on steering wheel control, are classified as low-risk. Examples include straw cups, push-button cups, and opened bottled water with strings / rings. Situations requiring "brief two-handed operation" are classified as medium-risk, with the main risk occurring during the "opening" and "closing" moments, during which the driver's eyes and hands may briefly leave the driving task. Examples include screw-on cups (old / loose caps) and pop-up cups (requiring one-handed pressing of the switch). Situations requiring "continuous two-handed operation" or "extremely high attention" are classified as high-risk. These situations are typically complex, time-consuming, and carry a high risk of liquid spillage, posing a significant threat to driving safety. Examples include screw-on cups (new / tight caps), and cups without caps / open cups (requiring both hands to hold the cup throughout to prevent spillage).

[0118] This disclosure embodiment can divide the driving risk warning device into functional modules according to the above method example. For example, each function can be divided into its own functional modules, or two or more functions can be integrated into one processing unit. The integrated modules can be implemented in hardware or as software functional modules. It should be noted that the module division in this disclosure embodiment is illustrative and only represents one logical functional division; other division methods may be used in actual implementation.

[0119] In addition, such as Figure 5 As shown, Figure 5 This is a schematic diagram of a driving risk warning device 700 provided in an embodiment of the present disclosure. The driving risk warning device 700 includes: The acquisition module 701 is used to acquire the type of water cup, vehicle speed and road condition type when the driver is detected to have the intention to drink water during vehicle operation. The determination module 702 is used to determine the risk level of a water cup based on its type and the driving risk level based on vehicle speed and road condition. The warning module 703 is used to determine the warning strategy based on the risk level of the water cup and the driving risk level, and to issue warnings according to the warning strategy.

[0120] In some embodiments, the acquisition module 701 is further configured to acquire images of the driver’s driving behavior in the driving area in real time during vehicle operation. The determination module 702 is also used to perform target recognition processing on the driving behavior image to determine the target distance between the driver's finger and the water cup; The determination module 702 is also used to determine that the driver has the intention to drink water when the target distance is less than a distance threshold.

[0121] In some embodiments, the cup type includes an open cup, a cup that can be opened with one hand, and a cup that can be opened with two hands; Module 702 is specifically used for: When the water cup is an open-mouthed cup, the risk level of the water cup is determined to be high risk; When the water cup is a two-handed lid-opening cup, the risk level of the water cup is determined to be medium risk; When the water cup is a one-handed opening cup, the risk level of the water cup is determined to be low risk.

[0122] In some embodiments, the acquisition module 701 is specifically used for: Collect road data and obstacle data; road data includes road slope and curvature, and obstacle data includes the number of obstacles that are less than a distance threshold from the vehicle; The road condition is classified as complex when the road gradient is greater than or equal to the gradient threshold, or the curvature is greater than or equal to the curvature threshold, or the number of obstacles is greater than or equal to the number threshold. When the road gradient is less than the gradient threshold, the curvature is less than the curvature threshold, and the number of obstacles is less than the number threshold, the road condition type is determined to be a simple road condition.

[0123] In some embodiments, the determining module 702 is specifically used for: When the vehicle speed exceeds the first speed threshold, or when the road condition is complex, the driving risk level is determined to be high risk. When the vehicle speed is less than the second speed threshold and the road condition is simple, the driving risk level is determined to be low risk.

[0124] In some embodiments, the warning module 703 is specifically used for: By combining the risk levels of the water cup and the driving risk, a combined risk level is obtained. Warning strategies are determined based on the level of integration risk.

[0125] In some embodiments, the risk levels of a water cup include high risk, medium risk, and low risk, and the risk levels of driving include high risk and low risk; Alert module 703 is specifically used for: When the driving risk level is low and the water cup risk level is low, the fusion risk level is determined to be the first risk level. When the driving risk level is low and the water cup risk level is medium, the fusion risk level is determined to be the second risk level. When the driving risk level is low and the water cup risk level is high, the fusion risk level is determined to be the third risk level. When the driving risk level is high and the water cup risk level is low, the fusion risk level is determined to be the fourth risk level. When the driving risk level is high and the water cup risk level is medium, the fusion risk level is determined to be the fifth risk level. When both the driving risk level and the water cup risk level are high, the fusion risk level is determined to be the sixth risk level.

[0126] In some embodiments, the warning module 703 is specifically used for: When the risk level of the fusion is the highest level, the warning strategy is to use silent monitoring. When the risk level is set to the second risk level, the warning strategy is to control the display of the first prompt on the vehicle screen; the first prompt is used to indicate the action that can be performed. When the risk level is set to the third risk level, the warning strategy is to control the in-vehicle voice system to send a second prompt; the second prompt is used to indicate the action that can be performed. When the risk level is the fourth risk level, the warning strategy is to control the display of the third prompt on the in-vehicle screen, record the intention to drink water, and continuously monitor the vehicle speed and road conditions until the driving risk level drops to low risk, at which point the first or second prompt is issued. When the risk level is the fifth risk level, the warning strategy is to control the in-vehicle voice system to send a fourth prompt, record the intention to drink water, and continuously monitor the vehicle speed and road condition until the driving risk level drops to low risk, at which point the first or second prompt is issued; the fourth prompt is used to indicate that the operation is not allowed. When the risk level is the sixth risk level, the warning strategy is determined to control the vehicle to send the fifth alert with the highest priority and trigger the linkage with the driver assistance system. The fifth alert is used to remind drivers to drive safely.

[0127] Regarding the apparatus in the above embodiments, the specific manner in which each unit performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.

[0128] Figure 6 This is a schematic diagram of the structure of an electronic device 800 in a vehicle according to an embodiment of this disclosure. For example, as shown... Figure 6 As shown, the electronic device 800 includes a memory 801 and a processor 802. The memory 801 stores executable program code 8011, and the processor 802 is used to call and execute the executable program code 8011 to perform the driving risk warning method.

[0129] This embodiment can divide the driving risk warning system into functional modules according to the above method example. For example, each module can correspond to a separate function, or two or more functions can be integrated into one processing module. The integrated module can be implemented in hardware. It should be noted that the module division in this embodiment is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods.

[0130] When each functional module is divided according to its corresponding function, the driving risk warning system may include: an acquisition module, a determination module, and a warning module. It should be noted that all relevant content of each step involved in the above method embodiments can be referenced from the functional descriptions of the corresponding functional modules, and will not be repeated here.

[0131] The driving risk warning system provided in this embodiment is used to execute the driving risk warning method described above, and therefore can achieve the same effect as the above implementation method.

[0132] When using integrated units, the driving risk warning system may include a processing module and a storage module. The processing module is used to control and manage the actions of the driving risk warning system. The storage module is used to support the execution of program code and data by the driving risk warning system.

[0133] The processing module may be a processor or a controller, which can implement or execute various exemplary logic blocks, modules, and circuits described in conjunction with embodiments of this disclosure. The processor may also be a combination of functions that implement computing capabilities, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc., and the storage module may be a memory.

[0134] This disclosure also provides a vehicle including the aforementioned driving risk warning system.

[0135] This disclosure also provides a computer-readable storage medium (including but not limited to disk storage, compact disc read-only memory (CD-ROM), optical storage, etc.) storing computer program code. When the computer program code is run on a computer, the computer executes the above-mentioned related method steps to implement the driving risk warning method provided in the above embodiments.

[0136] This disclosure also provides a computer program product that, when run on a computer, causes the computer to perform the aforementioned steps to implement a driving risk warning method provided in the above embodiments.

[0137] The beneficial effects of the above embodiments can be referred to the beneficial effects of the corresponding methods provided above, and will not be repeated here.

[0138] Through the above description of the embodiments, those skilled in the art will understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0139] In the embodiments provided in this disclosure, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection of devices or units may be electrical, mechanical, or other forms.

[0140] In the description of this disclosure, it should be understood that if the terms "upper", "lower", "front", "rear", "left" and "right" are used to indicate the orientation or positional relationship based on the orientation or positional relationship shown in the drawings, they are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the position or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of this disclosure.

[0141] It should be noted that, in this document, relational terms such as "first" and "second" are used only 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. It should also be noted that 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 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.

[0142] The above are merely embodiments of this disclosure and are not intended to limit the scope of this disclosure. Various modifications and variations can be made to this disclosure by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this disclosure should be included within the scope of the claims of this disclosure.

Claims

1. A method for warning of driving risks, characterized in that, The method includes: When the driver is detected to have the intention to drink water while the vehicle is in motion, the type of water cup, vehicle speed, and road condition type are obtained. The risk level of the water cup is determined based on the type of water cup, and the driving risk level is determined based on the vehicle speed and the road condition type. A warning strategy is determined based on the risk level of the water cup and the risk level of the driving, and a warning is issued in accordance with the warning strategy.

2. The driving risk warning method according to claim 1, characterized in that, The method further includes: Real-time images of the driver's driving behavior in the driving area are collected during vehicle operation; The driving behavior image is processed for target recognition to determine the target distance between the driver's finger and the water cup; When the target distance is less than a distance threshold, it is determined that the driver intends to drink water.

3. The driving risk warning method according to claim 1, characterized in that, The types of water cups include open-mouth cups, cups that can be opened with one hand, and cups that can be opened with two hands. Determining the risk level of a water cup based on its type includes: When the water cup type is an open cup, the water cup risk level is determined to be high risk; When the water cup type is a two-handed opening cup, the risk level of the water cup is determined to be medium risk; When the water cup type is a one-handed opening cup, the risk level of the water cup is determined to be low risk.

4. The driving risk warning method according to claim 1, characterized in that, The types of traffic conditions obtained include: Collect road data and obstacle data; the road data includes the slope and curvature of the road, and the obstacle data includes the number of obstacles whose distance from the vehicle is less than a distance threshold; When the slope of the road is greater than or equal to a slope threshold, or the curvature is greater than or equal to a curvature threshold, or the number of obstacles is greater than or equal to a number threshold, the road condition type is determined to be a complex road condition. When the slope of the road is less than a slope threshold, the curvature is less than a curvature threshold, and the number of obstacles is less than a number threshold, the road condition type is determined to be a simple road condition.

5. The driving risk warning method according to claim 4, characterized in that, The process of determining the driving risk level based on the vehicle speed and the road condition type includes: When the vehicle speed is greater than a first vehicle speed threshold, or when the road condition type is complex road condition, the driving risk level is determined to be high risk; When the vehicle speed is less than the second vehicle speed threshold and the road condition type is simple, the driving risk level is determined to be low risk.

6. The driving risk warning method according to claim 1, characterized in that, The step of determining the warning strategy based on the risk level of the water cup and the risk level of the driving includes: By combining the risk level of the water cup and the risk level of the driving, a combined risk level is obtained; Warning strategies are determined based on the aforementioned fusion risk level.

7. The driving risk warning method according to claim 6, characterized in that, The water cup risk level includes high risk, medium risk, and low risk; the driving risk level includes high risk and low risk; and the process of fusing the water cup risk level and the driving risk level to obtain a fused risk level includes: When the driving risk level is low and the water cup risk level is low, the fusion risk level is determined to be the first risk level. When the driving risk level is low and the water cup risk level is medium, the fusion risk level is determined to be the second risk level. When the driving risk level is low and the water cup risk level is high, the fusion risk level is determined to be the third risk level. When the driving risk level is high and the water cup risk level is low, the fusion risk level is determined to be the fourth risk level. When the driving risk level is high and the water cup risk level is medium, the fusion risk level is determined to be the fifth risk level. When the driving risk level is high and the water cup risk level is high, the fusion risk level is determined to be the sixth risk level.

8. The driving risk warning method according to claim 7, characterized in that, The step of determining the warning strategy based on the fusion risk level includes: When the fusion risk level is the first risk level, the warning strategy is determined to be silent monitoring; When the fusion risk level is the second risk level, the warning strategy is determined to be to control the vehicle screen to display a first prompt; the first prompt is used to indicate an operable operation. When the fusion risk level is the third risk level, the warning strategy is determined to be to control the in-vehicle voice system to send a second prompt; the second prompt is used to indicate an operable operation. When the fusion risk level is the fourth risk level, the warning strategy is determined to control the vehicle screen to display a third prompt and record the intention to drink water, while continuously monitoring the vehicle speed and road condition type until the driving risk level drops to low risk, at which point the first prompt or the second prompt is initiated; the third prompt is used to indicate that the operation cannot be performed. When the fusion risk level is the fifth risk level, the warning strategy is determined to control the in-vehicle voice system to send a fourth prompt, while recording the intention to drink water, and continuously monitoring the vehicle speed and road condition type until the driving risk level drops to low risk, at which point the first prompt or the second prompt is initiated; the fourth prompt is used to indicate that the operation cannot be performed. When the fusion risk level is the sixth risk level, the warning strategy is determined to control the vehicle to send the fifth prompt with the highest priority and trigger the linkage with the driver assistance system. The fifth prompt is used to remind drivers to drive safely.

9. A vehicle, comprising electronic equipment, characterized in that, The electronic device includes: Memory, used to store computer programs; A processor, configured to implement the steps of the driving risk warning method as described in any one of claims 1 to 8 when executing the computer program.

10. A computer-readable storage medium, characterized in that, include: A computer program is stored on the computer-readable storage medium, which, when executed by a processor, implements the driving risk warning method as described in any one of claims 1 to 8.