Fatigue driving early warning method, electronic equipment, storage medium and program product

By determining the target fatigue level based on vehicle and driver status data and dynamically adjusting the warning methods and parameters, the problem of poor effect of a single warning method is solved, and the effect of fatigue driving warning and driving safety are improved.

CN120014781APending Publication Date: 2025-05-16SINO TRUK JINAN POWER CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202510201823.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-24
Publication Date
2025-05-16

AI Technical Summary

Technical Problem

In the prior art, fatigue driving warning mainly relies on a single method, causing drivers to gradually get used to and ignore warning information, reducing the warning effect and increasing the safety hazards of fatigue driving.

Method used

By determining the target fatigue level based on vehicle status data and driver status data, using different early warning methods and parameters, dynamically adjusting the early warning plan to avoid driver numbness and taking more effective early warning measures when the fatigue level is upgraded.

Benefits of technology

It improves the effect of fatigue driving warning, reduces drivers' neglect of early warning information, reduces the risk of traffic accidents, and enhances driving safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120014781A_ABST
    Figure CN120014781A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a fatigue driving early warning method, an electronic device, a storage medium and a program product, a first target fatigue level is determined from preset fatigue information according to vehicle state data and driver state data, and when the cumulative occurrence frequency of the first target fatigue level is greater than or equal to a target upgrade threshold value, the fatigue driving early warning is performed. The first target fatigue level is upgraded according to the upgrading strategy to obtain a second target fatigue level, when the second target fatigue level reaches the highest preset fatigue level, the accumulated occurrence frequency of the first target fatigue level is reset, and when the accumulated occurrence frequency of the first target fatigue level is smaller than a target upgrading threshold value, the second target fatigue level is upgraded. And taking the first target fatigue level as a second target fatigue level, updating the accumulated occurrence frequency of the first target fatigue level, and executing a corresponding target early warning scheme according to the second target fatigue level, so as to improve the fatigue driving early warning effect and reduce the potential safety hazard of fatigue driving.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to fatigue driving warning technology, and in particular to a fatigue driving warning method, electronic equipment, storage medium and program product. Background Art

[0002] Fatigue driving refers to the phenomenon that the driver's physiological and psychological functions become unbalanced after long-term continuous driving, and objectively his driving skills decline. In recent years, the number of motor vehicles in my country has continued to increase, and the number of drivers has continued to rise, resulting in an increasing probability of traffic problems. According to relevant research, driver fatigue driving is the main cause of accidents, so timely monitoring and early warning of fatigue driving behavior has become increasingly important.

[0003] In the prior art, fatigue driving warning mainly uses a single warning method, for example, when the driver is detected to be fatigued, a voice broadcast is used to remind the driver.

[0004] However, when drivers frequently receive the same voice warning information, they will gradually get used to and ignore it. Therefore, the warning effect of a single warning method is poor, resulting in a great safety hazard of fatigue driving. Summary of the invention

[0005] The embodiments of the present application provide a fatigue driving warning method, electronic device, storage medium and program product to improve the effect of fatigue driving warning and reduce the safety hazards of fatigue driving.

[0006] In a first aspect, an embodiment of the present application provides a fatigue driving warning method, comprising:

[0007] Determining a first target fatigue level from preset fatigue information according to vehicle state data and driver state data, the vehicle state data including: the number of steering wheel turns, the lane deviation degree and the lane deviation duration, the driver state data including the time ratio of the driver's pupil being blocked, the preset fatigue information including preset thresholds corresponding to one or more preset fatigue levels, each of the multiple preset thresholds corresponding to the preset fatigue level including: a steering wheel turn number threshold, a lane deviation degree threshold, a lane deviation duration threshold and a time ratio threshold, the first target fatigue level is the highest preset fatigue level for which both the vehicle state data and the driver state data are greater than or equal to their respective corresponding preset thresholds;

[0008] Acquire a target upgrade threshold of the first target fatigue level and an upgrade strategy of the target upgrade threshold;

[0009] When the cumulative number of occurrences of the first target fatigue level is greater than or equal to the target upgrade threshold, the first target fatigue level is upgraded according to the upgrade strategy to obtain a second target fatigue level, and when the second target fatigue level reaches the maximum preset fatigue level, the cumulative number of occurrences of the first target fatigue level is reset;

[0010] When the cumulative number of occurrences of the first target fatigue level is less than the target upgrade threshold, taking the first target fatigue level as the second target fatigue level, and updating the cumulative number of occurrences of the first target fatigue level;

[0011] Execute a corresponding target warning plan according to the second target fatigue level.

[0012] In a possible implementation manner, executing a corresponding target warning scheme according to the second target fatigue level includes:

[0013] Determining a target warning mode from preset warning modes according to the second target fatigue level, wherein the preset warning modes include at least one of the following: voice warning, window warning, horn warning, double flash warning, vehicle control authority, speed control, contact person warning, or light warning;

[0014] Determining target warning parameters of the target warning method according to the second target fatigue level, the target warning parameters including at least one of the following: a target voice type of the voice warning, an audio volume of the voice warning, a target window height of the window warning, a target number of honking times of the horn warning, a target honking duration of the horn warning, a double flash duration of the vehicle control authority, a number of controllable functions of the vehicle control authority, a target vehicle speed of the vehicle speed control, a contact method corresponding to the contact warning, or a light flashing strategy of the light warning, at least one of the target number of honking times, the target honking duration, or the double flash duration is positively correlated with the second target fatigue level, and at least one of the target window height, the number of controllable functions, or the target vehicle speed is negatively correlated with the second target fatigue level;

[0015] Execute the target warning plan composed of the target warning method and the target warning parameters.

[0016] In a possible implementation manner, determining the target warning parameter of the target warning mode according to the second target fatigue level includes:

[0017] Acquire a warning parameter constraint relationship between each of the target warning modes, wherein the warning parameter constraint relationship is used to indicate a constraint relationship between one or more warning parameters of one or more target warning modes;

[0018] According to the warning parameter constraint relationship and the second target fatigue level, target warning parameters of the target warning method are determined.

[0019] In a possible implementation, it further includes:

[0020] When the second target fatigue level is a level requiring assisted driving, displaying prompt information, the prompt information is used to prompt the driver to enter an assisted driving mode or a warning mode;

[0021] When the driver selects the warning mode, entering the step of executing a corresponding target warning plan according to the second target fatigue level;

[0022] When the driver selects the assisted driving mode, the vehicle is controlled through the assisted driving mode.

[0023] In a possible implementation manner, controlling the vehicle through the assisted driving mode includes:

[0024] determining a current road type for the vehicle;

[0025] When the current road type is a highway, navigating to a service area closest to the current location;

[0026] When the current road type is not the expressway, displaying preset rest places, and navigating to a target rest place selected by a user from the preset rest places, wherein the target rest place is a preset rest place within a preset distance range;

[0027] When the target resting place selected by the user is not within the preset distance range or the navigation ends, the assisted driving mode is exited.

[0028] In a possible implementation, the method further includes:

[0029] Get the last warning time and the last fatigue level corresponding to the last warning;

[0030] Determine a time interval between two adjacent warnings according to the previous fatigue level and the second target fatigue level, wherein the time interval is positively correlated with the previous fatigue level and negatively correlated with the second target fatigue level;

[0031] When the time difference between the last warning time and the current time is greater than or equal to the time interval, the step of executing the corresponding target warning plan according to the second target fatigue level is entered.

[0032] In a second aspect, an embodiment of the present application provides a fatigue driving warning device, comprising:

[0033] a processing module, configured to determine a first target fatigue level from preset fatigue information according to vehicle state data and driver state data, wherein the vehicle state data includes: a number of steering wheel turns, a lane deviation degree, and a lane deviation duration; the driver state data includes a time ratio of the driver's pupil being blocked; the preset fatigue information includes preset thresholds corresponding to one or more preset fatigue levels, wherein the plurality of preset thresholds corresponding to each preset fatigue level includes: a steering wheel turn number threshold, a lane deviation degree threshold, a lane deviation duration threshold, and a time ratio threshold; and the first target fatigue level is a highest preset fatigue level for which both the vehicle state data and the driver state data are greater than or equal to their respective corresponding preset thresholds;

[0034] An acquisition module, configured to acquire a target upgrade threshold of the first target fatigue level and an upgrade strategy of the target upgrade threshold;

[0035] The processing module is further configured to upgrade the first target fatigue level to obtain a second target fatigue level according to the upgrade strategy when the cumulative number of occurrences of the first target fatigue level is greater than or equal to the target upgrade threshold, and reset the cumulative number of occurrences of the first target fatigue level when the second target fatigue level reaches the maximum preset fatigue level;

[0036] The processing module is further configured to, when the cumulative number of occurrences of the first target fatigue level is less than or equal to the target upgrade threshold, use the first target fatigue level as the second target fatigue level and update the cumulative number of occurrences of the first target fatigue level;

[0037] The processing module is further used to execute a corresponding target warning plan according to the second target fatigue level.

[0038] The provided fatigue driving warning device also includes:

[0039] The processing module is further used to determine a target warning mode from preset warning modes according to the second target fatigue level, wherein the preset warning modes include at least one of the following: voice warning, window warning, horn warning, double flash warning, vehicle control authority, vehicle speed control, contact warning, or light warning;

[0040] The processing module is further used to determine the target warning parameters of the target warning method according to the second target fatigue level, and the target warning parameters include at least one of the following: the target voice type of the voice warning, the audio volume of the voice warning, the target window height of the window warning, the target number of honking times of the horn warning, the target honking duration of the horn warning, the double flash duration of the vehicle control authority, the number of controllable functions of the vehicle control authority, the target vehicle speed of the vehicle speed control, the contact information corresponding to the contact warning, or the light flashing strategy of the light warning, at least one of the target number of honking times, the target honking duration, or the double flash duration is positively correlated with the second target fatigue level, and at least one of the target window height, the number of controllable functions, or the target vehicle speed is negatively correlated with the second target fatigue level;

[0041] The processing module is also used to execute the target warning scheme composed of the target warning method and the target warning parameters.

[0042] The provided fatigue driving warning device also includes:

[0043] An acquisition module, used for acquiring a warning parameter constraint relationship between each of the target warning modes, wherein the warning parameter constraint relationship is used for indicating a constraint relationship between one or more warning parameters of one or more target warning modes;

[0044] A processing module is used to determine the target warning parameter of the target warning method according to the warning parameter constraint relationship and the second target fatigue level.

[0045] The provided fatigue driving warning device also includes:

[0046] A processing module, configured to display a prompt message when the second target fatigue level belongs to a level requiring assisted driving, wherein the prompt message is used to prompt the driver to enter an assisted driving mode or an early warning mode;

[0047] The processing module is further configured to enter the step of executing a corresponding target warning scheme according to the second target fatigue level when the driver selects the warning mode;

[0048] The processing module is also used to control the vehicle through the assisted driving mode when the driver selects the assisted driving mode.

[0049] The provided fatigue driving warning device also includes:

[0050] a processing module for determining a current road type of the vehicle;

[0051] The processing module is further used to navigate to the service area closest to the current location when the current road type is a highway;

[0052] The processing module is further used to display a preset resting place when the current road type is not the expressway, and navigate to a target resting place selected by a user from the preset resting places, wherein the target resting place is a preset resting place within a preset distance range;

[0053] The processing module is also used to exit the assisted driving mode when the target resting place selected by the user is not within a preset distance range or when the navigation ends.

[0054] The provided fatigue driving warning device also includes:

[0055] An acquisition module is used to obtain the last warning time and the last fatigue level corresponding to the last warning;

[0056] a processing module, configured to determine a time interval between two adjacent warnings according to the previous fatigue level and the second target fatigue level, wherein the time interval is positively correlated with the previous fatigue level and negatively correlated with the second target fatigue level;

[0057] The processing module is used to enter the step of executing the corresponding target warning plan according to the second target fatigue level when the time difference between the last warning time and the current time is greater than or equal to the time interval.

[0058] In a third aspect, an embodiment of the present application provides an electronic device, including: a memory, a processor;

[0059] The memory stores computer-executable instructions;

[0060] The processor executes the computer-executable instructions stored in the memory, so that the processor executes the above first aspect and / or various possible implementations of the first aspect.

[0061] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the first aspect above and / or various possible implementations of the first aspect.

[0062] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the above first aspect and / or various possible implementation methods of the first aspect.

[0063] The embodiments of the present application provide a fatigue driving warning method, electronic device, storage medium and program product. According to vehicle status data and driver status data, a first target fatigue level is determined from preset fatigue information, and then a target upgrade threshold and an upgrade strategy for the target upgrade threshold are obtained for the first target fatigue level. When the cumulative number of occurrences of the first target fatigue level is greater than or equal to the target upgrade threshold, the first target fatigue level is upgraded according to the upgrade strategy to obtain a second target fatigue level. When the second target fatigue level reaches the highest preset fatigue level, the cumulative number of occurrences of the first target fatigue level is reset. When the cumulative number of occurrences of the first target fatigue level is less than the target upgrade threshold, the first target fatigue level is used as the second target fatigue level, and the cumulative number of occurrences of the first target fatigue level is updated. Finally, the corresponding target warning scheme is executed according to the second target fatigue level. Compared with the prior art, in which fatigue warnings are given to drivers only through a single warning method, the present application determines the target fatigue level based on vehicle status data and driver status data. Different target fatigue levels correspond to different fatigue warnings, so that the driver will not become numb to fatigue warnings and ignore fatigue warning information. At the same time, when the same level of target fatigue level appears continuously, by upgrading the fatigue level, a more effective warning plan is adopted to warn the driver before the driver reaches a deep fatigue state, thereby further improving driving safety. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0065] Figure 1 A schematic diagram of a scenario of a fatigue driving warning method provided in this application;

[0066] Figure 2 A flowchart of a first embodiment of a fatigue driving warning method provided in this application;

[0067] Figure 3 A flowchart of a second embodiment of a fatigue driving warning method provided in this application;

[0068] Figure 4 A flowchart of a third embodiment of a fatigue driving warning method provided in this application;

[0069] Figure 5 A flowchart of a fourth embodiment of a fatigue driving warning method provided in this application;

[0070] Figure 6 A flowchart of a fifth embodiment of a fatigue driving warning method provided in this application;

[0071] Figure 7 A flowchart of a sixth embodiment of a fatigue driving warning method provided in this application;

[0072] Figure 8 A schematic diagram of the structure of a fatigue driving warning device provided in this application;

[0073] Fig. 9 A schematic diagram of the structure of the electronic device provided in this application.

[0074] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0075] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0076] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of the relevant data comply with the relevant laws, regulations and standards of the relevant countries and regions, take necessary confidentiality measures, do not violate public order and good morals, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0077] In the prior art, fatigue driving warning is mainly carried out in a single way, such as reminding the driver through voice broadcast. However, a single warning method may cause the driver to become numb, and only voice broadcast may cause the driver to ignore this information, which ultimately leads to poor fatigue warning effect and great safety hazards of fatigue driving.

[0078] Based on this, the inventive concept of this application is to provide a fatigue driving warning method, which can provide different warning methods to avoid the driver's numbness, and by identifying the driver's fatigue in advance, take a fatigue warning plan for the driver as early as possible, and further improve the effect of fatigue warning. Therefore, according to the vehicle status data and the driver status data, the target fatigue level is determined, and then when the target fatigue level of the same level appears continuously, by upgrading the fatigue level, before the driver reaches a deep fatigue state, a more effective warning plan is taken to warn the driver, so as to further improve driving safety.

[0079] Figure 1 A scenario diagram of a fatigue driving warning method provided in this application, such as Figure 1 As shown, the vehicle's camera monitors the driver's pupil occlusion and sends it to the vehicle's intelligent control system. The vehicle's intelligent control system then determines the fatigue level based on the monitored vehicle status data and driver status data. The intelligent control system then sends the fatigue level to the vehicle's on-board system, which then executes the corresponding early warning plan based on the fatigue level.

[0080] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0081] Figure 2 A flowchart of a first embodiment of a fatigue driving warning method provided in this application is shown in FIG. Figure 1 As shown, the method comprises the following steps:

[0082] S201: Determine a first target fatigue level from preset fatigue information according to vehicle state data and driver state data.

[0083] In an embodiment of the present application, a first target fatigue level is determined from preset fatigue information based on vehicle status data and driver status data, and the first target fatigue level is the highest preset fatigue level when both the vehicle status data and the driver status data are greater than or equal to their respective corresponding preset thresholds. In order to increase the accuracy of fatigue driving judgment, the fatigue level is determined by comprehensively analyzing the vehicle status data and the driver status data. The preset fatigue information includes: preset thresholds corresponding to one or more preset fatigue levels. The multiple preset thresholds corresponding to the preset fatigue levels include: a steering wheel turn count threshold, a lane deviation degree threshold, a lane deviation duration threshold, and a time ratio threshold.

[0084] The vehicle status data includes: the number of steering wheel turns, lane deviation degree and lane deviation duration. When the driver's fatigue level increases, the number of steering wheel turns will increase, the lane deviation degree will increase, and the lane deviation duration will increase. The driver status data includes: the proportion of time the driver's pupil is blocked. For example, the real-time monitoring video of the driver is obtained through the camera, the driver's eye video image is obtained based on the monitoring video, and then the percentage of the driver's eye closure time per unit time is calculated based on the facial behavior detection fatigue model (the percentage of eyelid closure rate over time, PERCLOS). Among them, PERCLOS has three metrics: EM, which means that when more than 50% of the pupil area is covered by the eyelid, the eyes are considered to be in a closed state; P70, which means that when more than 70% of the pupil area is covered by the eyelid, the eyes are considered to be in a closed state; P80, which means that when more than 80% of the pupil area is covered by the eyelid, the eyes are considered to be in a closed state. One of the three metric standards of PERCLOS can be used alone as the standard for the preset fatigue level. In order to improve the accuracy of the judgment of the preset fatigue level, the three metric standards of PERCLOS are used to determine the preset fatigue level, that is, EM is used as the judgment standard for the first level fatigue, P70 is used as the judgment standard for the second level fatigue, and P80 is used as the judgment standard for the third level fatigue.

[0085] For example, the preset fatigue level is three levels, namely, level 1 fatigue, level 2 fatigue and level 3 fatigue. Level 1 fatigue corresponds to mild fatigue, level 2 fatigue corresponds to moderate fatigue, and level 3 fatigue corresponds to severe fatigue. Level 1 fatigue is: the number of steering wheel turns is , the lane deviation degree is , the lane deviation duration is , the lane deviation time ratio is , and the driver's status data meets the EM judgment standard; Level 2 fatigue is: the number of steering wheel turns is , the lane deviation degree is , the lane deviation duration is , the lane deviation time ratio is , while the driver status data reaches the p70 judgment criteria; Level 3 fatigue is: steering wheel turns times , the lane deviation degree is , the lane deviation duration is , the lane deviation time ratio is , and the driver status data reaches the p80 judgment criteria. , , , .

[0086] S202: Obtain a target upgrade threshold of a first target fatigue level and an upgrade strategy for the target upgrade threshold.

[0087] In the embodiment of the present application, the target upgrade thresholds for different fatigue levels are different, and there may be multiple upgrade thresholds, where each upgrade threshold corresponds to an upgrade strategy. Obtain the target upgrade threshold for the first target fatigue level and the upgrade strategy for the target upgrade threshold,

[0088] For example, when the upgrade threshold of level one fatigue is 2, its upgrade strategy is to upgrade to level two fatigue; when the upgrade threshold of level one fatigue is 4, its upgrade strategy is to upgrade to level three fatigue; when the upgrade threshold of level two fatigue is 2, its upgrade strategy is to upgrade to level three fatigue.

[0089] S203: When the cumulative number of occurrences of the first target fatigue level is greater than or equal to the target upgrade threshold, the first target fatigue level is upgraded according to the upgrade strategy to obtain the second target fatigue level, and when the second target fatigue level reaches the highest preset fatigue level, the cumulative number of occurrences of the first target fatigue level is reset.

[0090] In an embodiment of the present application, when the cumulative number of occurrences of the first target fatigue level is greater than or equal to its corresponding target upgrade threshold, the first target fatigue level is upgraded according to the upgrade strategy corresponding to the target upgrade threshold to obtain the second target fatigue level. After the first target fatigue level is upgraded to the second target fatigue level, the cumulative number of occurrences of the first target fatigue level is reset.

[0091] For example, when the first target fatigue level is level 1 fatigue, if the level 1 fatigue occurs more than or equal to 2 times, it will be upgraded to level 2 fatigue according to the upgrade strategy corresponding to the upgrade threshold of level 1 fatigue. If the level 1 fatigue occurs more than or equal to 4 times, it will be upgraded to level 3 fatigue.

[0092] S204: When the cumulative number of occurrences of the first target fatigue level is less than the target upgrade threshold, the first target fatigue level is used as the second target fatigue level, and the cumulative number of occurrences of the first target fatigue level is updated.

[0093] In the embodiment of the present application, when the cumulative number of occurrences of the first target fatigue level is less than the target upgrade threshold, the first target fatigue level is used as the second target fatigue level, and the cumulative number of occurrences of the first target fatigue level is updated.

[0094] For example, when the first target fatigue level is level 2 fatigue, if the level 2 fatigue occurs twice, the level 2 fatigue is also used as the second target fatigue level, and the cumulative number of occurrences of the level 2 fatigue level is updated to 3 times.

[0095] S205: Execute a corresponding target warning plan according to the second target fatigue level.

[0096] In an embodiment of the present application, a corresponding target warning scheme is executed according to the second target fatigue level to provide a fatigue warning to the driver.

[0097] In the embodiment of the present application, according to the vehicle state data and the driver state data, the first target fatigue level is determined from the preset fatigue information, and then the target upgrade threshold and the upgrade strategy of the target upgrade threshold of the first target fatigue level are obtained. When the cumulative number of occurrences of the first target fatigue level is greater than or equal to the target upgrade threshold, the first target fatigue level is upgraded according to the upgrade strategy to obtain the second target fatigue level, and the cumulative number of occurrences of the first target fatigue level is reset. When the cumulative number of occurrences of the first target fatigue level is less than the target upgrade threshold, the first target fatigue level is used as the second target fatigue level, and the cumulative number of occurrences of the first target fatigue level is updated. Finally, the corresponding target warning scheme is executed according to the second target fatigue level. Compared with the prior art, in which fatigue warning is only performed on the driver through a single warning method, the present application determines the target fatigue level according to the vehicle state data and the driver state data, and different target fatigue levels correspond to different fatigue warnings, so that the driver will not be numb to the fatigue warning and then ignore the fatigue warning information. At the same time, when the target fatigue level of the same level appears continuously, by upgrading the fatigue level, a more effective warning scheme is adopted to warn the driver before the driver reaches a deep fatigue state, thereby further improving the driving safety.

[0098] Figure 3 A flowchart of a second embodiment of a fatigue driving warning method provided in this application is shown in FIG. Figure 3 As shown in the above Figure 2 Based on the illustrated embodiment, a specific implementation of step S205 is as follows:

[0099] S301: Determine a target warning method from preset warning methods according to a second target fatigue level.

[0100] In the embodiment of the present application, the target warning mode is determined from the preset warning modes according to the second target fatigue level, wherein the warning mode includes at least one of the following: voice warning, window warning, horn warning, double flash warning, vehicle control authority, speed control, contact warning, or light warning.

[0101] S302: Determine target warning parameters of the target warning method according to the second target fatigue level.

[0102] In an embodiment of the present application, the target warning parameters of the target warning method are determined according to the second target fatigue level. Among them, the target warning parameters include at least one of the following: the target voice type of the voice warning, the audio volume of the voice warning, the target window height of the window warning, the target number of honking warnings, the target honking duration of the honking warning, the double flash duration of the vehicle control authority, the number of controllable functions of the vehicle control authority, the target speed of the speed control, the contact information corresponding to the contact warning, or the light flashing strategy of the light warning, at least one of the target number of honking, the target honking duration, or the double flash duration is positively correlated with the second target fatigue level, and at least one of the target window height, the number of controllable functions, or the target speed is negatively correlated with the second target fatigue level.

[0103] S303: Execute the target warning plan composed of the target warning method and target warning parameters.

[0104] In the embodiment of the present application, a target warning scheme is formed according to the target warning method and target warning parameters corresponding to the second target fatigue level, and finally the target warning scheme corresponding to the second target fatigue level is executed.

[0105] For example, when the second target fatigue level is level one fatigue, the corresponding warning method is: the vehicle system controls the multimedia to give a voice warning, such as "You are already in level one fatigue driving state, and the level one warning plan will be started for you", where the target voice type of the voice warning can be downloaded in the cloud for users to choose. After the voice warning ends, a window warning is given, and the target window height of the window warning is controlled to be two-thirds of the original window height. Then a horn warning is given. After the window height drops to two-thirds of the original window height, the vehicle honks twice, each time for two seconds. A double flash warning is given at the same time as the horn warning. After the horn warning ends, the double flash warning ends at the same time to provide a warning to passing vehicles. After the horn ends, audio is automatically played, such as radio, local music or online music, and the audio volume is automatically adjusted to 50% of the total volume. The driver can control the volume and audio playback by himself. The driver can preset emergency contacts in the vehicle system when driving fatigued, such as parents, wife or husband, children, etc. The vehicle system will generate a notification text message based on the time, vehicle location, speed and fatigue level and send it to the preset contact's mobile phone. After receiving the text message notification, the preset contact can contact the driver in time to provide feedback on the warning information.

[0106] When the second target fatigue level is level 2 fatigue, the corresponding warning method is: the vehicle system controls the multimedia to give a voice warning, such as "You are in level 2 fatigue driving state, and the level 2 warning plan will be activated for you." After the voice warning, the window warning is given, and the target window height of the window warning is controlled to be two-thirds of the original window height. Then the horn warning is given. After the window height drops to two-thirds of the original window height, the vehicle honks three times, each time for two seconds. At the same time, the double flash warning is given, and the vehicle double flash is turned on for six seconds to provide a warning to passing vehicles. During this period, the driver has no operation authority, that is, he cannot end the horn and turn off the double flash. After the horn is finished, the double flash is turned off, and then the vehicle speed is controlled to gradually decrease by a certain percentage. The audio is automatically played, such as the radio, local music or online music, and a reminder is broadcasted that "you only have the authority to adjust the volume in the previous minute." The audio volume is automatically adjusted to 70%. During the playback, the driver does not have the authority to stop the playback operation in the previous minute, and can only adjust the volume. The minimum volume must not be lower than 60%, otherwise the operation will not respond. After one minute, the driver has full operation authority and can operate on his own. Finally, a notification SMS is sent to the preset contact, and then the preset contact phone is dialed to ensure that the preset contact receives the notification. The preset contact can contact the driver to remind the driver to take a rest and drive safely in time.

[0107] When the second target fatigue level is level 3 fatigue, the corresponding warning mode is: the vehicle system controls the central control screen to display a pop-up window "You are in level 3 fatigue driving state, please select driving mode: warning mode; assisted driving mode". Then the warning is issued according to the warning mode selected by the driver. Among them, the reminder mode and assisted driving mode will be described in detail in the following embodiments.

[0108] In the embodiment of the present application, the target warning method is first determined from the preset warning methods according to the second target fatigue level, and then the target warning parameters of the target warning method are determined according to the second target fatigue level. Finally, the target warning scheme composed of the target warning method and the target warning parameters is executed. Through accurate fatigue level judgment and personalized warning scheme, the driver can be reminded of the risk of fatigue driving in a timely and effective manner, thereby reducing the incidence of traffic accidents. In addition, the personalized adjustment of the warning method and parameters makes the warning scheme more in line with the driver's preferences and habits, reducing unnecessary panic and discomfort.

[0109] Figure 4 A flowchart of a third embodiment of a fatigue driving warning method provided in this application is shown in FIG. Figure 4 As shown in the above Figure 3 Based on the illustrated embodiment, a specific implementation of step S302 is as follows:

[0110] S401: Acquire a warning parameter constraint relationship between each target warning mode, where the warning parameter constraint relationship is used to indicate a constraint relationship between one or more warning parameters of one or more target warning modes.

[0111] In an embodiment of the present application, a warning parameter constraint relationship between each target warning mode is obtained, and the warning parameter constraint relationship refers to the mutual restriction or dependency relationship between warning parameters in one or more target warning modes.

[0112] For example, the real-time vehicle speed and wiper status will be used as constraints on the target window height of the window warning; the road type will be used as a constraint on the target speed of the speed control. The window will only open when the vehicle speed is not greater than the preset speed, and will not open when the vehicle speed is greater than the preset speed, where the preset speed can be 70km / h. If it rains, the intelligent control system will determine whether to open the window by the wiper status during the warning process. If the wiper is turned on, the window will not open, and if the wiper is turned off, the window will open. If it is detected that the vehicle is traveling on a highway, the intelligent control system will control the reduced speed to not be lower than the minimum speed required by the highway. If it is detected that the vehicle is traveling on an ordinary road, the speed reduction ratio of the warning scheme corresponding to the second fatigue level can be 20% of the original speed, and the speed reduction ratio of the warning scheme corresponding to the third fatigue level can be 40% of the original speed. In addition, it can also include: if the vehicle's windows have been lowered before the warning scheme is implemented, the window lifting height will no longer change during the window warning; if the audio is turned on during the warning process, the car system only controls the volume of the audio.

[0113] S402: Determine target warning parameters of the target warning method according to the warning parameter constraint relationship and the second target fatigue level.

[0114] In the embodiment of the present application, the target warning parameters of the target warning method are determined according to the warning parameter constraint relationship and the second target fatigue level.

[0115] For example, when the second target fatigue level is detected as the first level fatigue, the target warning mode and target warning parameters are obtained, the warning parameter constraint relationship between each target warning mode is obtained, and the target warning parameters of the target warning scheme are determined. By detecting whether the real-time vehicle speed is greater than 70km / h, if the real-time vehicle speed is greater than 70km / h at this time, the window height will not be lowered during the window warning. And it is detected in real time whether the window wiper is turned on. If the window wiper is turned on at this time, the window height will not be lowered during the window warning.

[0116] For another example, when the second target fatigue level is detected as the second fatigue level, the target warning mode and target warning parameter are obtained, the warning parameter constraint relationship between each target warning mode is obtained, and the target warning parameter of the target warning scheme is determined. By detecting whether the real-time vehicle speed is greater than 70km / h, if the real-time vehicle speed of the vehicle is greater than 70km / h at this time, the window height will not be lowered when the window warning is performed. And it is detected in real time whether the window wiper is turned on. If the window wiper is turned on at this time, the window height will not be lowered during the window warning. And the type of road the vehicle is traveling on at this time is detected. If the vehicle is traveling on an ordinary road, the speed reduction ratio is controlled to be 20% of the original speed. If it is detected that the vehicle is traveling on a highway, it is determined whether the speed is higher than the minimum speed required by the highway after the speed is reduced by 20% of the original speed. If it is lower than the minimum speed required by the highway, it is driven at the minimum speed required by the highway. If it is higher than the minimum speed required by the highway, it is driven at a speed reduced by 20%.

[0117] In the embodiment of the present application, by obtaining the warning parameter constraint relationship between each target warning mode, the warning parameter constraint relationship is used to indicate the constraint relationship between one or more warning parameters of one or more target warning modes, and according to the warning parameter constraint relationship and the second target fatigue level, the target warning parameter of the target warning mode is determined, for example, by detecting the real-time vehicle speed, and deciding whether to allow the window to be opened according to the preset vehicle speed, so as to prevent the noise and airflow generated by the window opening when driving at high speed from interfering with the driver's attention and increasing the driving risk. On rainy days, when the window warning is performed, the window will not be opened to prevent rain from entering the car and interfering with the driver's attention. In addition, the road type is detected in real time, and the vehicle speed is automatically adjusted according to the driver's fatigue level, so that after controlling the vehicle speed, the vehicle will not violate traffic regulations to ensure the driving safety of the vehicle.

[0118] Figure 5 A flowchart of a fourth embodiment of a fatigue driving warning method provided in this application is shown in FIG. Figure 5 As shown in the above Figures 2 to 4 Based on the embodiment shown, it also includes:

[0119] S501: When the second target fatigue level is a level requiring assisted driving, a prompt message is displayed, where the prompt message is used to prompt the driver to enter an assisted driving mode or a warning mode.

[0120] In an embodiment of the present application, when the second target fatigue level belongs to the assisted driving level, a prompt message is displayed to prompt the driver to enter the assisted driving mode or the early warning mode.

[0121] For example, when the second target fatigue level is level three fatigue, the second target fatigue level belongs to the assisted driving level. At this time, the vehicle system controls the central control screen to pop up a prompt message: "You are in level three fatigue driving state, please select a driving mode: warning mode; assisted driving mode".

[0122] S502: When the driver selects the warning mode, the step of executing a corresponding target warning plan according to the second target fatigue level is entered.

[0123] In the embodiment of the present application, when the driver selects the warning mode, the step of executing the corresponding target warning scheme according to the second target fatigue level is entered, that is, the corresponding warning scheme is executed according to the third level of fatigue. In addition, if the driver does not make a selection within the set time, the system defaults to the warning mode.

[0124] Specifically, the vehicle system controls the multimedia to issue a voice warning, such as "The reminder mode will be turned on for you soon." After the voice warning ends, the vehicle speed is controlled to gradually decrease by a certain percentage, and the window warning is issued. The target window height of the window warning is controlled to be two-thirds of the original window height. Then a horn warning is issued. After the window height drops to two-thirds of the original window height, the vehicle horns three times, each time for four seconds. At the same time, a double flash warning is issued, and the vehicle double flash is turned on. During the horn warning period, the driver has no right to operate the vehicle horn and double flash. After the horn warning ends, the double flash warning will not be automatically turned off, but the driver has the right to operate the double flash at this time. At the same time, the lighting is controlled to flash at a certain frequency to issue a light warning. The light warning time is twelve seconds, which is synchronized with the horn warning time. The audio automatically plays and broadcasts a reminder "You only have the right to adjust the volume in the previous minute." The audio volume is automatically adjusted to 90% of the total volume. During the playback, the driver does not have the right to stop the playback operation in the previous minute, and can only adjust the volume. The minimum volume must not be lower than 70%, otherwise the operation will not respond. After one minute, the driver has full control rights and can operate the vehicle on his own. The vehicle system sends a notification SMS to the preset contact, and then calls the preset contact to ensure that the preset contact receives the notification, so as to remind the driver to stop and rest in time and drive safely.

[0125] S503: When the driver selects the assisted driving mode, the vehicle is controlled through the assisted driving mode.

[0126] In the embodiment of the present application, if the driver selects the assisted driving mode, the vehicle is controlled through the assisted driving mode. In addition, after entering the assisted driving mode, the vehicle system will call the preset contact phone to inform the driver of the status, and the contact can contact the driver to remind him.

[0127] In an embodiment of the present application, when the second target fatigue level belongs to the level requiring assisted driving, a prompt message is displayed, and the prompt message is used to prompt the driver to enter the assisted driving mode or the warning mode. When the driver selects the warning mode, the step of executing the corresponding target warning scheme according to the second target fatigue level is entered. When the driver selects the assisted driving mode, the vehicle is controlled through the assisted driving mode. When the driver is in a fatigued state, his reaction speed, judgment and operating ability may be affected, thereby increasing the risk of traffic accidents. By adding an assisted driving mode, by monitoring the driver's fatigue level in real time, and providing warnings or taking over part of the driving tasks when necessary, the risk of traffic accidents can be effectively reduced.

[0128] Figure 6 A flowchart of a fifth embodiment of a fatigue driving warning method provided in this application is shown in FIG. Figure 6 As shown in the above Figure 5 Based on the illustrated embodiment, a specific implementation method of controlling the vehicle through the assisted driving mode in step S503 is:

[0129] S601: Determine the current road type of the vehicle.

[0130] In an embodiment of the present application, when the driver selects the assisted driving mode, when controlling the vehicle through the assisted driving mode, the current road type of the vehicle is first determined.

[0131] S602: When the current road type is a highway, navigate to the service area closest to the current location.

[0132] In an embodiment of the present application, when it is detected that the current road type is a highway, the vehicle automatically navigates to the service area closest to the current position of the vehicle, so that the driver can stop and rest in time.

[0133] S603: When the current road type is not a highway, display preset rest places, and navigate to a target rest place selected by the user from the preset rest places, where the target rest place is a preset rest place within a preset distance range.

[0134] In an embodiment of the present application, when it is detected that the current road type is not a highway, a voice inquiry is made about the resting place, "Please set your resting place, no more than fifty kilometers". The navigation will display the places for the driver to choose according to the distance order of the available resting places. The driver can also set the place by himself, and then navigate to the target resting place selected by the user from the preset resting places. The target resting place is a preset resting place within a preset distance range. Optionally, the preset distance range is 50KM. If the navigation distance is less than 20KM, the navigation state is directly entered after the setting is completed; if the navigation distance is greater than 20KM and less than 50KM, the navigation distance will be announced by voice and the driver will be asked whether he is sure to navigate to the set place. The driver needs to confirm the address before entering the navigation state.

[0135] S604: When the target resting place selected by the user is not within the preset distance range or the navigation ends, exit the assisted driving mode.

[0136] In the embodiment of the present application, when the target resting place selected by the user is not within the preset distance range, that is, when the navigation distance to the target resting place is greater than 50KM, the voice reminds the driver that the vehicle cannot perform the assisted driving function in the warning mode due to the long distance, and exits the assisted driving mode. Or after the navigation is completed, the system automatically exits the assisted driving mode. In addition, after entering the navigation, the car system will control the multimedia to play three minutes of audio, the volume is 60% of the total volume, and the driver can perform any operation during this period.

[0137] In the embodiment of the present application, the current road type of the vehicle is determined. When the current road type is a highway, the vehicle is navigated to the service area closest to the current location, which helps the driver to stop and rest in time and avoid safety hazards caused by fatigue driving. When the current road type is not a highway, the preset resting place is displayed, and the user is navigated to the target resting place selected from the preset resting places. On ordinary roads, the system can automatically select the most suitable resting place according to the current road type and navigate for the user, so that the user can easily find a suitable resting place without manual search or asking others, which greatly improves the convenience and efficiency of driving. At the same time, when the target resting place selected by the user is not within the preset distance range or when the navigation ends, the system automatically exits the assisted driving mode, avoiding unnecessary interference and further improving driving safety.

[0138] Figure 7 A flowchart of a sixth embodiment of a fatigue driving warning method provided in this application is shown in FIG. Figure 7 As shown in the above Figures 2 to 4 Based on the embodiment shown, it also includes:

[0139] S701: Obtain the last warning time and the last fatigue level corresponding to the last warning.

[0140] In an embodiment of the present application, the last warning time and the last fatigue level corresponding to the last warning are obtained.

[0141] S702: Determine a time interval between two adjacent warnings according to the previous fatigue level and the second target fatigue level, where the time interval is positively correlated with the previous fatigue level and negatively correlated with the second target fatigue level.

[0142] In the embodiment of the present application, the time interval between two adjacent warnings is determined based on the last fatigue level and the second target fatigue level. The time interval is positively correlated with the last fatigue level. The higher the last fatigue level, the longer the time interval for the next warning, giving the driver a certain recovery time to avoid excessively frequent warnings causing interference to the driver; the time interval is negatively correlated with the second target fatigue level. The higher the second target fatigue level, the shorter the time interval for the next warning. The higher the second fatigue level, the higher the safety risk. By shortening the next warning time, safety risks caused by long-term excessive fatigue can be prevented.

[0143] S703: When the time difference between the last warning time and the current time is greater than or equal to the time interval, enter the step of executing the corresponding target warning plan according to the second target fatigue level.

[0144] In the embodiment of the present application, when the time difference between the last warning time and the current time is greater than or equal to the time interval, the corresponding warning scheme is executed according to the second target fatigue level to avoid fatigue driving. In addition, when the vehicle is just started, it will not actively enter the step of executing the corresponding target warning scheme according to the second target fatigue level, and it will automatically enter after driving for more than a preset time, for example, the preset time can be two hours later. The driver can also independently choose whether to enter the step of executing the corresponding target warning scheme according to the second target fatigue level when the vehicle is just started through the vehicle system.

[0145] In an embodiment of the present application, the last warning time and the last fatigue level corresponding to the last warning are obtained, and the time interval between two adjacent warnings is determined based on the last fatigue level and the second target fatigue level. The time interval is positively correlated with the last fatigue level and negatively correlated with the second target fatigue level. When the time difference between the last warning time and the current time is greater than or equal to the time interval, the step of executing the corresponding target warning plan according to the second target fatigue level is entered: by dynamically adjusting the triggering conditions of the warning, timely measures can be taken before the driver reaches an excessively high level of fatigue, thereby effectively preventing the occurrence of excessive fatigue.

[0146] Figure 8 A schematic diagram of the structure of a fatigue driving warning device provided in this application, such as Figure 8As shown, the fatigue driving warning device 80 provided in this embodiment includes:

[0147] The processing module 801 is used to determine the first target fatigue level from the preset fatigue information according to the vehicle state data and the driver state data, the vehicle state data includes: the number of steering wheel turns, the lane deviation degree and the lane deviation duration, the driver state data includes the time ratio of the driver's pupil being blocked, the preset fatigue information includes one or more preset thresholds corresponding to the preset fatigue levels, and the multiple preset thresholds corresponding to each preset fatigue level include: the number of steering wheel turns threshold, the lane deviation degree threshold, the lane deviation duration threshold and the time ratio threshold, and the first target fatigue level is the highest preset fatigue level when the vehicle state data and the driver state data are both greater than or equal to the respective corresponding preset thresholds. The acquisition module 802 is used to obtain the target upgrade threshold of the first target fatigue level and the upgrade strategy of the target upgrade threshold. The processing module 801 is also used to upgrade the first target fatigue level according to the upgrade strategy to obtain the second target fatigue level when the cumulative number of occurrences of the first target fatigue level is greater than or equal to the target upgrade threshold, and reset the cumulative number of occurrences of the first target fatigue level when the second target fatigue level reaches the highest preset fatigue level. The processing module 801 is further configured to use the first target fatigue level as the second target fatigue level and update the cumulative number of occurrences of the first target fatigue level when the cumulative number of occurrences of the first target fatigue level is less than or equal to the target upgrade threshold. The processing module 801 is further configured to execute a corresponding target early warning plan according to the second target fatigue level.

[0148] The fatigue driving warning device provided in this embodiment can execute the method provided in the above method embodiment, and its implementation principle and technical effect are similar, so this embodiment will not be described in detail here.

[0149] Fig. 9 This is a schematic diagram of the structure of the electronic device provided in this application. Fig. 9 As shown, the electronic device 90 provided in this embodiment includes: at least one processor 901 and a memory 902. Optionally, the device 90 further includes a communication component 903. The processor 901, the memory 902 and the communication component 903 are connected via a bus 904.

[0150] In a specific implementation process, at least one processor 901 executes the computer execution instructions stored in the memory 902, so that at least one processor 901 executes the above method.

[0151] The specific implementation process of the processor 901 can be found in the above method embodiment, and its implementation principle and technical effect are similar, so this embodiment will not be repeated here.

[0152] In the above embodiments, it should be understood that the processor can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in the invention can be directly implemented as a hardware processor, or can be implemented by a combination of hardware and software modules in the processor.

[0153] The memory may include a high-speed memory (Random Access Memory, RAM), and may also include a non-volatile memory (NVM), such as at least one disk storage.

[0154] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of this application is not limited to only one bus or one type of bus.

[0155] The present application also provides a computer program product, including a computer program, which implements the above method when executed by a processor.

[0156] The present application also provides a computer-readable storage medium, in which computer-executable instructions are stored. When a processor executes the computer-executable instructions, the above method is implemented.

[0157] The above-mentioned readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The readable storage medium can be any available medium that can be accessed by a general or special-purpose computer.

[0158] An exemplary readable storage medium is coupled to a processor so that the processor can read information from the readable storage medium and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can be located in an application specific integrated circuit (Application Specific Integrated Circuits, referred to as: ASIC). Of course, the processor and the readable storage medium can also exist in the device as discrete components.

[0159] The division of units is only a logical function division, and there may be other divisions in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interface, device or unit, which can be electrical, mechanical or other forms.

[0160] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0161] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

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

[0163] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.

[0164] Finally, it should be noted that those skilled in the art will readily conceive of other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. The present invention is intended to cover any variations, uses or adaptations of the present invention, which follow the general principles of the present invention and include common knowledge or customary technical means in the art not disclosed by the present invention, are not limited to the precise structure described above and shown in the drawings, and may be modified and changed in various ways without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.

Claims

1. A fatigue driving warning method, characterized in that: include: Determining a first target fatigue level from preset fatigue information according to vehicle state data and driver state data, the vehicle state data including: the number of steering wheel turns, the lane deviation degree and the lane deviation duration, the driver state data including the time ratio of the driver's pupil being blocked, the preset fatigue information including preset thresholds corresponding to one or more preset fatigue levels, each of the multiple preset thresholds corresponding to the preset fatigue level including: a steering wheel turn number threshold, a lane deviation degree threshold, a lane deviation duration threshold and a time ratio threshold, the first target fatigue level is the highest preset fatigue level for which both the vehicle state data and the driver state data are greater than or equal to their respective corresponding preset thresholds; Acquire a target upgrade threshold of the first target fatigue level and an upgrade strategy of the target upgrade threshold; When the cumulative number of occurrences of the first target fatigue level is greater than or equal to the target upgrade threshold, the first target fatigue level is upgraded according to the upgrade strategy to obtain a second target fatigue level, and when the second target fatigue level reaches the maximum preset fatigue level, the cumulative number of occurrences of the first target fatigue level is reset; When the cumulative number of occurrences of the first target fatigue level is less than the target upgrade threshold, taking the first target fatigue level as the second target fatigue level, and updating the cumulative number of occurrences of the first target fatigue level; Execute a corresponding target warning plan according to the second target fatigue level.

2. The method according to claim 1, characterized in that The executing a corresponding target warning plan according to the second target fatigue level includes: Determining a target warning mode from preset warning modes according to the second target fatigue level, wherein the preset warning modes include at least one of the following: voice warning, window warning, horn warning, double flash warning, vehicle control authority, speed control, contact person warning, or light warning; Determining target warning parameters of the target warning method according to the second target fatigue level, the target warning parameters including at least one of the following: a target voice type of the voice warning, an audio volume of the voice warning, a target window height of the window warning, a target number of honking times of the horn warning, a target honking duration of the horn warning, a double flash duration of the vehicle control authority, a number of controllable functions of the vehicle control authority, a target vehicle speed of the vehicle speed control, a contact method corresponding to the contact warning, or a light flashing strategy of the light warning, at least one of the target number of honking times, the target honking duration, or the double flash duration is positively correlated with the second target fatigue level, and at least one of the target window height, the number of controllable functions, or the target vehicle speed is negatively correlated with the second target fatigue level; Execute the target warning plan composed of the target warning method and the target warning parameters.

3. The method according to claim 2, characterized in that The step of determining the target warning parameter of the target warning method according to the second target fatigue level includes: Acquire a warning parameter constraint relationship between each of the target warning modes, wherein the warning parameter constraint relationship is used to indicate a constraint relationship between one or more warning parameters of one or more target warning modes; According to the warning parameter constraint relationship and the second target fatigue level, target warning parameters of the target warning method are determined.

4. The method according to any one of claims 1 to 3, characterized in that Also includes: When the second target fatigue level is a level requiring assisted driving, displaying prompt information, the prompt information is used to prompt the driver to enter an assisted driving mode or a warning mode; When the driver selects the warning mode, entering the step of executing a corresponding target warning plan according to the second target fatigue level; When the driver selects the assisted driving mode, the vehicle is controlled through the assisted driving mode.

5. The method according to claim 4, characterized in that The controlling the vehicle through the assisted driving mode includes: determining a current road type for the vehicle; When the current road type is a highway, navigating to a service area closest to the current location; When the current road type is not the expressway, displaying preset rest spots, and navigating to a target rest spot selected by a user from the preset rest spots, wherein the target rest spot is a preset rest spot within a preset distance range; When the target resting place selected by the user is not within the preset distance range or the navigation ends, the assisted driving mode is exited.

6. The method according to any one of claims 1 to 3, characterized in that The method further comprises: Get the last warning time and the last fatigue level corresponding to the last warning; Determining a time interval between two adjacent warnings according to the previous fatigue level and the second target fatigue level, wherein the time interval is positively correlated with the previous fatigue level and negatively correlated with the second target fatigue level; When the time difference between the last warning time and the current time is greater than or equal to the time interval, the step of executing the corresponding target warning plan according to the second target fatigue level is entered.

7. A fatigue driving warning device, characterized in that: include: a processing module, configured to determine a first target fatigue level from preset fatigue information according to vehicle state data and driver state data, wherein the vehicle state data includes: a number of steering wheel turns, a lane deviation degree, and a lane deviation duration; the driver state data includes a time ratio of the driver's pupil being blocked; the preset fatigue information includes preset thresholds corresponding to one or more preset fatigue levels, wherein the plurality of preset thresholds corresponding to each preset fatigue level includes: a steering wheel turn number threshold, a lane deviation degree threshold, a lane deviation duration threshold, and a time ratio threshold; and the first target fatigue level is a highest preset fatigue level for which both the vehicle state data and the driver state data are greater than or equal to their respective corresponding preset thresholds; An acquisition module, configured to acquire a target upgrade threshold of the first target fatigue level and an upgrade strategy of the target upgrade threshold; The processing module is further configured to upgrade the first target fatigue level to obtain a second target fatigue level according to the upgrade strategy when the cumulative number of occurrences of the first target fatigue level is greater than or equal to the target upgrade threshold, and reset the cumulative number of occurrences of the first target fatigue level when the second target fatigue level reaches the maximum preset fatigue level; The processing module is further configured to, when the cumulative number of occurrences of the first target fatigue level is less than or equal to the target upgrade threshold, use the first target fatigue level as the second target fatigue level and update the cumulative number of occurrences of the first target fatigue level; The processing module is further used to execute a corresponding target warning plan according to the second target fatigue level.

8. An electronic device, characterized in that: include: Memory, processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory, so that the processor performs the method according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 6 when executed by a processor.

10. A computer program product, characterized in that The invention comprises a computer program, which implements the method according to any one of claims 1 to 6 when being executed by a processor.

Citation Information

Patent Citations

  • Fatigue driving estimation and early-warning method and device of multi-sensor information fusion

    CN102509418A

  • Vehicle control method, device and system and computer readable storage medium

    CN110682791A

  • Fatigue driving early warning method and system of vehicle, vehicle and readable storage medium

    CN113936427A

  • Fatigue driving early warning method and device, terminal and fatigue driving early warning system

    CN114821966A