Fatigue driving detection method and device, computer equipment, readable storage medium and program product

By comprehensively analyzing the driver's driving time, accelerator pedal opening, brake pedal opening, voice interaction frequency and steering wheel torque change curve, the problem of low detection accuracy and limited applicable scenarios in the existing technology is solved, and a better Accurate fatigue driving detection and effective reminders.

CN118529068APending Publication Date: 2024-08-23NINGBO LOTUS ROBOTICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410827829.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-25
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

Existing fatigue driving detection methods rely on the driver's facial features and physiological signals. The detection accuracy is not high and the applicable scenarios are limited. They are easily affected by the external environment, and the driver may be uncomfortable wearing the sensor and resist it.

Method used

By obtaining the driver's driving time during the ignition cycle, the number of passengers, the accelerator pedal opening change curve, the brake pedal opening change curve, the frequency of voice interaction and the steering wheel torque change curve, the driver's fatigue level is comprehensively judged and the vehicle sensors are used Make a comprehensive judgment and generate corresponding reminder information.

Benefits of technology

It improves the accuracy and reliability of fatigue driving detection, avoids the influence of external environment, does not increase the cost of additional vehicle sensors, and effectively reminds the driver of fatigue driving.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118529068A
    Figure CN118529068A
Patent Text Reader

Abstract

The invention relates to a fatigue driving detection method and device, computer equipment, a readable storage medium and a program product. The method comprises the steps that the driving duration of a driver in an ignition period is obtained; under the condition that the driving duration is not larger than the duration threshold value, the number of passengers is obtained, and an accelerator pedal opening change curve, a brake pedal opening change curve, voice interaction frequency and a steering wheel torque change curve in the ignition period are obtained; according to the number of passengers, the accelerator pedal opening change curve, the brake pedal opening change curve, the voice interaction frequency and the steering wheel torque change curve, the fatigue degree of the driver is judged, and a fatigue driving detection result is obtained. By adopting the method, comprehensive judgment can be carried out by utilizing the existing vehicle sensor and information, the fatigue driving degree of the user can be more accurately judged, the detection precision is ensured, the method is not limited by use scenes, and a driver is more effectively reminded of fatigue driving on the basis of not increasing the cost of an additional vehicle sensor.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of intelligent driving technology, and in particular to a fatigue driving detection method, device, computer equipment, computer-readable storage medium and computer program product. Background Art

[0002] With the rapid development of the transportation industry, the number of road traffic accidents is also on the rise. Fatigue driving has become a major hidden danger of traffic accidents. The research on driver fatigue detection technology is of great significance for preventing traffic accidents. Many fatigue driving detection devices have also appeared for fatigue driving. Fatigue driving detection is mainly based on the physiological parameter characteristics or visual characteristics of the driver, combined with the behavioral characteristics of the driver when fatigued, to detect the driver's fatigue indicators in real time, so as to detect whether fatigue occurs. In the prior art, non-contact fatigue detection technology is mainly used. The driver's fatigue state is inferred by the driver's facial features, eye signals, head movement, etc. based on visual recognition. The advantage of this method is that it is easy to use and does not require any additional operation by the driver. However, this vision-based detection is more susceptible to external environmental influences such as light and weather, and the driver cannot wear sunglasses, masks and other shielding objects. At the same time, the camera directly facing the driver will cause privacy issues. Another type of contact fatigue detection requires the driver to wear sensors that touch the body to collect physiological signals such as electroencephalogram, electrocardiogram, breathing, and skin conduction to extract the driver's fatigue index. The physiological signals obtained in this way come directly from the human body and can detect information more accurately and reliably, but there will also be measurement noise caused by the driver's body movements. At the same time, the driver may feel uncomfortable after wearing these sensors, which may cause resistance and is rarely used.

[0003] The current method of detecting fatigue driving only relies on the driver's facial features and physiological signals, which has limited application scenarios and low detection accuracy. Summary of the invention

[0004] Based on this, it is necessary to provide a fatigue driving detection method, device, computer equipment, computer-readable storage medium and computer program product that can improve detection accuracy and is not limited to usage scenarios in response to the above technical problems.

[0005] In a first aspect, the present application provides a method for detecting fatigue driving, comprising:

[0006] Obtain the driving time of the driver in the ignition cycle;

[0007] When the driving time is not greater than the time threshold, the number of passengers is obtained, as well as the accelerator pedal opening change curve, brake pedal opening change curve, voice interaction frequency and steering wheel torque change curve within the ignition cycle;

[0008] The driver's fatigue degree is judged according to the number of passengers, the accelerator pedal opening change curve, the brake pedal opening change curve, the voice interaction frequency and the steering wheel torque change curve, and the fatigue driving detection result is obtained.

[0009] In one embodiment, the driver's fatigue level is judged according to the number of passengers, the accelerator pedal opening change curve, the brake pedal opening change curve, the voice interaction frequency and the steering wheel torque change curve, and the fatigue driving detection result is obtained, including:

[0010] Determine the score of each dimension based on the number of passengers, accelerator pedal opening change curve, brake pedal opening change curve, voice interaction frequency and steering wheel torque change curve;

[0011] The fatigue level score is obtained according to the weighted sum of the scores of each dimension; the fatigue level score is used to characterize the driver's fatigue level;

[0012] The fatigue driving detection result is obtained according to the fatigue level score.

[0013] In one embodiment, the scores of each dimension are determined according to the number of passengers, the accelerator pedal opening change curve, the brake pedal opening change curve, the voice interaction frequency and the steering wheel torque change curve, including:

[0014] When the number of passengers is 0, the score of the first dimension is 0, and when the number of passengers is not 0, the score of the first dimension is 1;

[0015] Obtain the first frequency of the peak of the accelerator pedal opening change curve within the first duration. When the first frequency is not greater than 1, the score of the second dimension is 0. When the first frequency is greater than 1 and not greater than the first number threshold, the score of the second dimension is calculated based on the first frequency and the first number threshold. When the first frequency is greater than the first number threshold, the score of the second dimension is 1.

[0016] The second frequency of the peak of the brake pedal opening change curve within the second duration is obtained. When the second frequency is not greater than 1, the score of the third dimension is 0. When the second frequency is greater than 1 and not greater than the second number threshold, the score of the third dimension is calculated according to the second frequency and the second number threshold. When the second frequency is greater than the second number threshold, the score of the third dimension is 1.

[0017] The third frequency of voice interaction within the third duration is obtained. When the third frequency is not greater than 1, the score of the fourth dimension is 0. When the third frequency is greater than 1 and less than the third number threshold, the score of the fourth dimension is calculated according to the third frequency and the third number threshold. When the third frequency is greater than the third number threshold, the score of the fourth dimension is 1.

[0018] The fourth frequency of steering wheel torque reduction in the steering wheel torque change curve within the fourth duration is obtained; when the fourth frequency is less than the fourth times threshold, the score of the fifth dimension is calculated based on the inverse of the fourth times threshold; when the fourth frequency is not less than the fourth times threshold, the score of the fifth dimension is 1.

[0019] In one embodiment, the fatigue driving detection result is obtained according to the fatigue level score, including:

[0020] When the fatigue level score is less than the first score threshold, the fatigue driving detection result is determined to be the first level of fatigue driving; the first level of fatigue driving is used to indicate that the driver is in the lowest level of fatigue driving state;

[0021] When the fatigue level score is not less than the first score threshold and less than the second score threshold, the fatigue driving detection result is determined to be the second level fatigue driving; and the second score threshold is greater than the first score threshold;

[0022] When the fatigue level score is not less than the second score threshold, the fatigue driving detection result is determined to be the third level of fatigue driving; the third level of fatigue driving is used to characterize that the driver is in the highest degree of fatigue driving state.

[0023] In one embodiment, the method further comprises:

[0024] When the driving time is greater than the time threshold, the fatigue driving detection result is determined to be the third level of fatigue driving.

[0025] In one embodiment, the driver's fatigue level is judged according to the number of passengers, the accelerator pedal opening change curve, the brake pedal opening change curve, the voice interaction frequency and the steering wheel torque change curve. After the fatigue driving detection result is obtained, the following is further included:

[0026] When the fatigue driving detection result is the first level of fatigue driving, generating a first voice prompt message of a first preset volume and a corresponding text prompt message;

[0027] When the fatigue driving detection result is the second level of fatigue driving, a second voice prompt message of a second preset volume and a corresponding text prompt message are generated; the second preset volume is greater than the first preset volume;

[0028] When the fatigue driving detection result is the third level of fatigue driving, the driving mode of the vehicle is identified, and when the vehicle is not in the intelligent driving mode, the in-vehicle warning light is turned on, and a third voice prompt message of a second preset volume and corresponding text prompt messages are generated; when the vehicle is in the intelligent driving mode, the in-vehicle warning light is turned on, and a third voice prompt message of a second preset volume and corresponding text prompt messages are generated, and the vehicle is controlled to slow down and stop in the target area; the target area refers to the parking area closest to the vehicle.

[0029] In a second aspect, the present application also provides a fatigue driving detection device, comprising:

[0030] An acquisition module, used for acquiring the driving time of the driver in the ignition cycle;

[0031] A determination module, used to obtain the number of passengers, and obtain the accelerator pedal opening change curve, brake pedal opening change curve, voice interaction frequency and steering wheel torque change curve within the ignition cycle when the driving time is not greater than the time threshold;

[0032] The processing module is used to determine the driver's fatigue level and obtain fatigue driving detection results based on the number of passengers, the accelerator pedal opening change curve, the brake pedal opening change curve, the voice interaction frequency and the steering wheel torque change curve.

[0033] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0034] Obtain the driving time of the driver in the ignition cycle;

[0035] When the driving time is not greater than the time threshold, the number of passengers is obtained, as well as the accelerator pedal opening change curve, brake pedal opening change curve, voice interaction frequency and steering wheel torque change curve within the ignition cycle;

[0036] The driver's fatigue degree is judged according to the number of passengers, the accelerator pedal opening change curve, the brake pedal opening change curve, the voice interaction frequency and the steering wheel torque change curve, and the fatigue driving detection result is obtained.

[0037] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:

[0038] Obtain the driving time of the driver in the ignition cycle;

[0039] When the driving time is not greater than the time threshold, the number of passengers is obtained, as well as the accelerator pedal opening change curve, brake pedal opening change curve, voice interaction frequency and steering wheel torque change curve within the ignition cycle;

[0040] The driver's fatigue degree is judged according to the number of passengers, the accelerator pedal opening change curve, the brake pedal opening change curve, the voice interaction frequency and the steering wheel torque change curve, and the fatigue driving detection result is obtained.

[0041] In a fifth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:

[0042] Obtain the driving time of the driver in the ignition cycle;

[0043] When the driving time is not greater than the time threshold, the number of passengers is obtained, as well as the accelerator pedal opening change curve, brake pedal opening change curve, voice interaction frequency and steering wheel torque change curve within the ignition cycle;

[0044] The driver's fatigue degree is judged according to the number of passengers, the accelerator pedal opening change curve, the brake pedal opening change curve, the voice interaction frequency and the steering wheel torque change curve, and the fatigue driving detection result is obtained.

[0045] The above fatigue driving detection method, device, computer equipment, computer readable storage medium and computer program product obtain the driving time of the driver in the ignition cycle; when the driving time is not greater than the time threshold, obtain the number of passengers, as well as the accelerator pedal opening change curve, brake pedal opening change curve, voice interaction frequency and steering wheel torque change curve in the ignition cycle; judge the driver's fatigue level according to the number of passengers, accelerator pedal opening change curve, brake pedal opening change curve, voice interaction frequency and steering wheel torque change curve, and obtain the fatigue driving detection result. It can use the existing vehicle sensors and information for comprehensive judgment, more accurately judge the degree of user's fatigue driving, ensure the detection accuracy and not be limited to the use scenario, and more effectively remind the driver of fatigue driving without increasing the cost of additional vehicle sensors. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0047] Figure 1A diagram showing an application environment of a fatigue driving detection method in an embodiment;

[0048] Figure 2 A schematic diagram of a process of a fatigue driving detection method in one embodiment;

[0049] Figure 3 is a logic flow chart of a fatigue driving detection method in one embodiment;

[0050] Figure 4 is a structural block diagram of a fatigue driving detection device in one embodiment;

[0051] Figure 5 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0052] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0053] The fatigue driving detection method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. Among them, the terminal 102 can be, but is not limited to, various personal computers, laptops, smart phones, tablets, Internet of Things devices and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car devices, projection devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The head-mounted device can be a virtual reality (VR) device, an augmented reality (AR) device, smart glasses, etc. The server 104 can be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides cloud computing services.

[0054] In an exemplary embodiment, Figure 2 As shown, a fatigue driving detection method is provided, and the method is applied to Figure 1 The terminal 102 in the example is used as an example to illustrate, including the following steps 202 to 206. Among them:

[0055] Step 202, obtaining the driving time of the driver in the ignition cycle.

[0056] Among them, driving time refers to driving mileage time.

[0057] Optionally, the driving time of the driver in the same ignition cycle is collected through a mileage timer, and a judgment is made based on the current driving mileage time. If the driving time exceeds a time threshold of T hours, the driver is directly judged to be fatigued driving; otherwise, further judgment is required according to subsequent steps.

[0058] Step 204, when the driving time is not greater than the time threshold, obtain the number of passengers, as well as the accelerator pedal opening change curve, brake pedal opening change curve, voice interaction frequency and steering wheel torque change curve within the ignition cycle.

[0059] The duration threshold may be set to T hours, for example, T = 2. It should be noted that the setting of T hours is variable, and may be set at 3 / 4 of the average long-distance driving mileage based on the user's long-distance driving mileage data.

[0060] Optionally, if the driving time is not more than T hours, the number and distribution of occupants in the cockpit are collected through seat sensors, the accelerator pedal opening change curve of the driver's accelerator pedal is collected through the accelerator pedal sensor, the brake pedal opening change curve of the driver is collected through the brake pedal sensor, the sound of the driver and the occupants / animals, or the frequency or duration of conversations are collected through the sound detector, and the torque curve applied by the driver to the steering wheel and the steering torque curve are collected through the capacitive steering wheel.

[0061] Step 206, judging the driver's fatigue level according to the number of passengers, the accelerator pedal opening change curve, the brake pedal opening change curve, the voice interaction frequency and the steering wheel torque change curve, and obtaining a fatigue driving detection result.

[0062] Optionally, the scores of each dimension are determined according to the number of occupants, the accelerator pedal opening change curve, the brake pedal opening change curve, the voice interaction frequency and the steering wheel torque change curve; the fatigue level score is obtained according to the weighted sum of the scores of each dimension; the fatigue level score is used to characterize the driver's fatigue level; and the fatigue driving detection result is obtained according to the fatigue level score.

[0063] In the above fatigue driving detection method, the driving time of the driver in the ignition cycle is obtained; when the driving time is not greater than the time threshold, the number of passengers is obtained, as well as the accelerator pedal opening change curve, brake pedal opening change curve, voice interaction frequency and steering wheel torque change curve in the ignition cycle; according to the number of passengers, accelerator pedal opening change curve, brake pedal opening change curve, voice interaction frequency and steering wheel torque change curve, the driver's fatigue level is judged to obtain the fatigue driving detection result. It can make comprehensive judgments using existing vehicle sensors and information, more accurately judge the degree of user's fatigue driving, ensure detection accuracy and not be limited to the use scenario, and more effectively remind the driver of fatigue driving without increasing the cost of additional vehicle sensors.

[0064] In one embodiment, the driver's fatigue degree is judged according to the number of passengers, the accelerator pedal opening change curve, the brake pedal opening change curve, the voice interaction frequency and the steering wheel torque change curve, and the fatigue driving detection result is obtained, including:

[0065] When the number of passengers is 0, the score of the first dimension is 0, and when the number of passengers is not 0, the score of the first dimension is 1.

[0066] The first frequency of the peak of the throttle pedal opening change curve within the first duration is obtained. When the first frequency is not greater than 1, the score of the second dimension is 0. When the first frequency is greater than 1 and not greater than the first number threshold, the score of the second dimension is calculated based on the first frequency and the first number threshold. When the first frequency is greater than the first number threshold, the score of the second dimension is 1.

[0067] The second frequency of the peak of the brake pedal opening change curve within the second duration is obtained. When the second frequency is not greater than 1, the score of the third dimension is 0. When the second frequency is greater than 1 and not greater than the second number threshold, the score of the third dimension is calculated based on the second frequency and the second number threshold. When the second frequency is greater than the second number threshold, the score of the third dimension is 1.

[0068] The third frequency of voice interaction within the third duration is obtained. When the third frequency is not greater than 1, the score of the fourth dimension is 0. When the third frequency is greater than 1 and less than the third numerical threshold, the score of the fourth dimension is calculated based on the third frequency and the third numerical threshold. When the third frequency is greater than the third numerical threshold, the score of the fourth dimension is 1.

[0069] The fourth frequency of steering wheel torque reduction in the steering wheel torque change curve within the fourth duration is obtained; when the fourth frequency is less than the fourth times threshold, the score of the fifth dimension is calculated based on the inverse of the fourth times threshold; when the fourth frequency is not less than the fourth times threshold, the score of the fifth dimension is 1.

[0070] The fatigue level score is obtained based on the weighted sum of the scores of each dimension; the fatigue level score is used to characterize the driver's fatigue level.

[0071] When the fatigue level score is less than the first score threshold, the fatigue driving detection result is determined to be the first level of fatigue driving; the first level of fatigue driving is used to characterize that the driver is in the lowest level of fatigue driving state.

[0072] When the fatigue level score is not less than the first score threshold and less than the second score threshold, the fatigue driving detection result is determined to be second-level fatigue driving; and the second score threshold is greater than the first score threshold.

[0073] When the fatigue level score is not less than the second score threshold, the fatigue driving detection result is determined to be the third level of fatigue driving; the third level of fatigue driving is used to characterize that the driver is in the highest degree of fatigue driving state.

[0074] Optionally, the score for the first dimension is calculated based on the number of occupants in the cockpit:

[0075] Generally, if a person is not driving alone, the degree of driving fatigue will be much lower, mainly because there are more people in the car, who can communicate with the driver better, reducing driving fatigue caused by boredom during long-distance driving. At the same time, if the driver shows signs of fatigue, the passengers can remind him in time, so the degree of driving fatigue can be reduced when the number of passengers is not 0. The impact of the number of animals or passengers on driving fatigue is not considered here.

[0076]

[0077] Calculate the score of the second dimension based on the change of the accelerator pedal opening curve:

[0078] Usually, when a driver is tired or slightly asleep, the body, especially the feet, is already in an unconscious stage, and the driver may unconsciously step on the pedals, based on which the driver's fatigue level is determined.

[0079]

[0080] Here, 𝛼 is the frequency of the peak of the accelerator pedal opening curve, which can generally be set to 3 times. T1 is the timing of the peak of the accelerator pedal opening curve within the specified time, which can generally be set to 1200s.

[0081] The score of the third dimension is calculated based on the change of the brake pedal opening curve:

[0082] Usually, when a driver is tired or slightly asleep, the body, especially the feet, is already in an unconscious stage, and the driver may unconsciously step on the pedals, based on which the driver's fatigue level is determined.

[0083]

[0084] Here, 𝛽 is the frequency of the trough of the brake pedal opening curve, which can generally be set to 3 times. T2 is the timing of the peak of the accelerator pedal opening curve within the specified time, which can generally be set to 1200s.

[0085] Calculate the score of the fourth dimension based on the number of voice interactions:

[0086] Generally, if the driver has voice interaction or instructions, it can be considered that the driver is driving in a loop at this time, and the driver's fatigue level can be determined based on this.

[0087]

[0088] Here, 𝛿 is the frequency of the driver’s voice interaction or command, which can generally be set to 5 times. T3 is the timing of the driver’s voice interaction or command within the specified time, which can generally be set to 1800s.

[0089] Calculate the score of the fifth dimension based on the change of the steering wheel torque curve:

[0090] Generally, when a driver is tired, the torque on the steering wheel will decrease, and the driver may even let go. The driver's fatigue level can be determined based on this.

[0091]

[0092] Here, 𝜀 is the frequency of the driver's hand-gripping steering wheel torque reduction, which can generally be set to 2 times. T4 is the timing of the driver's hand-gripping steering wheel torque reduction within the specified time, which can generally be set to 1200s.

[0093] Finally, the driver's fatigue driving is calculated comprehensively by weighted summation:

[0094] Combining the scores of the above dimensions, the fatigue level score can be obtained based on relevant weighted calculations:

[0095]

[0096] Among them, parameters k1, k2, k3, k4, k5 are weighted values, which can be allocated and defined according to the relative importance of each parameter, and the total sum is 1. In addition, the proportion of the total value can also be adaptively allocated according to the user's driving habits.

[0097] The first scoring threshold can be set to 0.3, and the second scoring threshold can be set to 0.7. For example:

[0098] , the fatigue driving test result is the first level of fatigue driving;

[0099] , the fatigue driving test result is the second level of fatigue driving;

[0100] Or the driving time exceeds T hours, and the fatigue driving detection result is the third level of fatigue driving.

[0101] In this embodiment, the existing vehicle sensors and information are used for comprehensive judgment to more accurately determine the degree of fatigue driving of the user, ensure the detection accuracy and not be limited by the usage scenario, and more effectively remind the driver of fatigue driving without increasing the cost of additional vehicle sensors.

[0102] In one embodiment, the method further includes: when the driving time is greater than a time threshold, determining that the fatigue driving detection result is third level fatigue driving.

[0103] Optionally, if the driving time is greater than a time threshold of T hours, the fatigue driving detection result is directly determined to be the third level of fatigue driving, without the need to execute the steps of obtaining the number of passengers, and obtaining the accelerator pedal opening change curve, brake pedal opening change curve, voice interaction frequency and steering wheel torque change curve during the ignition cycle.

[0104] In this embodiment, the driver's driving time is used to make the highest priority fatigue driving judgment. If the driving time does not exceed the time threshold, the existing vehicle sensors and information are used to make a comprehensive judgment to more accurately judge the user's fatigue driving degree, ensure the detection accuracy and not be limited by the usage scenario, and more effectively remind the driver of fatigue driving without increasing the cost of additional vehicle sensors.

[0105] In one embodiment, the driver's fatigue degree is judged according to the number of passengers, the accelerator pedal opening change curve, the brake pedal opening change curve, the voice interaction frequency and the steering wheel torque change curve. After the fatigue driving detection result is obtained, it also includes: when the fatigue driving detection result is the first level of fatigue driving, generating a first voice prompt information of a first preset volume and corresponding text prompt information; when the fatigue driving detection result is the second level of fatigue driving, generating a second voice prompt information of a second preset volume and corresponding text prompt information; the second preset volume is greater than the first preset volume; when the fatigue driving detection result is the third level of fatigue driving, identifying the driving mode of the vehicle, when the vehicle is not in the intelligent driving mode, lighting the interior prompt light, generating a third voice prompt information of a second preset volume and corresponding text prompt information, when the vehicle is in the intelligent driving mode, lighting the interior prompt light, generating a third voice prompt information of a second preset volume and corresponding text prompt information, and controlling the vehicle to slow down and drive to the target area to stop; the target area refers to the parking area closest to the vehicle.

[0106] Optionally, fatigue driving alarm is divided into three levels:

[0107] The first level mainly consists of text information + weak sound prompts;

[0108] The second level mainly consists of text information + strong voice prompts;

[0109] The third level mainly includes text information + strong sound prompt + hazard light warning; Or the driving time exceeds T hours.

[0110] In this embodiment, the existing vehicle sensors and information are used to make a comprehensive judgment, and graded reminders are given according to the judgment results, which can more effectively remind the driver of fatigue driving without adding the cost of additional vehicle sensors.

[0111] In an exemplary embodiment, Figure 3 As shown, a fatigue driving detection method includes:

[0112] Get the driving time of the driver in the ignition cycle.

[0113] When the driving time is greater than the time threshold, the fatigue driving detection result is determined to be the third level of fatigue driving.

[0114] When the driving time is not greater than the time threshold, the number of passengers is obtained, as well as the accelerator pedal opening change curve, brake pedal opening change curve, voice interaction frequency and steering wheel torque change curve during the ignition cycle.

[0115] When the number of passengers is 0, the score of the first dimension is 0, and when the number of passengers is not 0, the score of the first dimension is 1.

[0116] The first frequency of the peak of the throttle pedal opening change curve within the first duration is obtained. When the first frequency is not greater than 1, the score of the second dimension is 0. When the first frequency is greater than 1 and not greater than the first number threshold, the score of the second dimension is calculated based on the first frequency and the first number threshold. When the first frequency is greater than the first number threshold, the score of the second dimension is 1.

[0117] The second frequency of the peak of the brake pedal opening change curve within the second duration is obtained. When the second frequency is not greater than 1, the score of the third dimension is 0. When the second frequency is greater than 1 and not greater than the second number threshold, the score of the third dimension is calculated based on the second frequency and the second number threshold. When the second frequency is greater than the second number threshold, the score of the third dimension is 1.

[0118] The third frequency of voice interaction within the third duration is obtained. When the third frequency is not greater than 1, the score of the fourth dimension is 0. When the third frequency is greater than 1 and less than the third numerical threshold, the score of the fourth dimension is calculated based on the third frequency and the third numerical threshold. When the third frequency is greater than the third numerical threshold, the score of the fourth dimension is 1.

[0119] The fourth frequency of steering wheel torque reduction in the steering wheel torque change curve within the fourth duration is obtained; when the fourth frequency is less than the fourth times threshold, the score of the fifth dimension is calculated based on the inverse of the fourth times threshold; when the fourth frequency is not less than the fourth times threshold, the score of the fifth dimension is 1.

[0120] The fatigue level score is obtained based on the weighted sum of the scores of each dimension; the fatigue level score is used to characterize the driver's fatigue level.

[0121] When the fatigue level score is less than the first score threshold, the fatigue driving detection result is determined to be the first level of fatigue driving; the first level of fatigue driving is used to characterize that the driver is in the lowest level of fatigue driving state.

[0122] When the fatigue level score is not less than the first score threshold and less than the second score threshold, the fatigue driving detection result is determined to be second-level fatigue driving; and the second score threshold is greater than the first score threshold.

[0123] When the fatigue level score is not less than the second score threshold, the fatigue driving detection result is determined to be the third level of fatigue driving; the third level of fatigue driving is used to characterize that the driver is in the highest degree of fatigue driving state.

[0124] When the fatigue driving detection result is the first level of fatigue driving, a first voice prompt message of a first preset volume and corresponding text prompt message are generated.

[0125] When the fatigue driving detection result is the second level of fatigue driving, a second voice prompt information with a second preset volume and a corresponding text prompt information are generated; the second preset volume is greater than the first preset volume.

[0126] When the fatigue driving detection result is the third level of fatigue driving, the driving mode of the vehicle is identified, and when the vehicle is not in the intelligent driving mode, the in-vehicle warning light is turned on, and a third voice prompt message of a second preset volume and corresponding text prompt messages are generated; when the vehicle is in the intelligent driving mode, the in-vehicle warning light is turned on, and a third voice prompt message of a second preset volume and corresponding text prompt messages are generated, and the vehicle is controlled to slow down and stop in the target area; the target area refers to the parking area closest to the vehicle.

[0127] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0128] Based on the same inventive concept, the embodiment of the present application also provides a fatigue driving detection device for implementing the fatigue driving detection method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more fatigue driving detection device embodiments provided below can refer to the limitations of the fatigue driving detection method above, and will not be repeated here.

[0129] In an exemplary embodiment, Figure 4 As shown, a fatigue driving detection device 400 is provided, comprising: an acquisition module 401, a determination module 402 and a processing module 403, wherein:

[0130] The acquisition module 401 is used to acquire the driving time of the driver in the ignition cycle.

[0131] The determination module 402 is used to obtain the number of passengers and the accelerator pedal opening change curve, brake pedal opening change curve, voice interaction frequency and steering wheel torque change curve within the ignition cycle when the driving time is not greater than the time threshold.

[0132] The processing module 403 is used to determine the driver's fatigue level and obtain a fatigue driving detection result based on the number of passengers, the accelerator pedal opening change curve, the brake pedal opening change curve, the voice interaction frequency and the steering wheel torque change curve.

[0133] In one embodiment, the processing module 403 is also used to determine the scores of each dimension based on the number of passengers, the accelerator pedal opening change curve, the brake pedal opening change curve, the voice interaction frequency and the steering wheel torque change curve; obtain the fatigue level score according to the weighted sum of the scores of each dimension; the fatigue level score is used to characterize the driver's fatigue level; and obtain the fatigue driving detection result according to the fatigue level score.

[0134] In one embodiment, the processing module 403 is further used for, when the number of passengers is 0, the score of the first dimension is 0, and when the number of passengers is not 0, the score of the first dimension is 1; obtaining the first frequency of the accelerator pedal opening change curve appearing a peak within the first duration, when the first frequency is not greater than 1, the score of the second dimension is 0, when the first frequency is greater than 1 and not greater than the first number threshold, the score of the second dimension is calculated according to the first frequency and the first number threshold, when the first frequency is greater than the first number threshold, the score of the second dimension is 1; obtaining the second frequency of the brake pedal opening change curve appearing a peak within the second duration, when the second frequency is not greater than 1, the score of the third dimension is 0, when the second frequency is greater than 1 and not greater than the second number threshold, the score of the third dimension is The score is calculated based on the second frequency and the second number threshold. When the second frequency is greater than the second number threshold, the score of the third dimension is 1; the third frequency of voice interaction within the third duration is obtained. When the third frequency is not greater than 1, the score of the fourth dimension is 0. When the third frequency is greater than 1 and not greater than the third number threshold, the score of the fourth dimension is calculated based on the third frequency and the third number threshold. When the third frequency is greater than the third number threshold, the score of the fourth dimension is 1; the fourth frequency of steering wheel torque reduction in the steering wheel torque change curve within the fourth duration is obtained. When the fourth frequency is less than the fourth number threshold, the score of the fifth dimension is calculated based on the inverse of the fourth number threshold. When the fourth frequency is not less than the fourth number threshold, the score of the fifth dimension is 1.

[0135] In one embodiment, the processing module 403 is also used to determine that the fatigue driving detection result is the first level of fatigue driving when the fatigue level score is less than the first scoring threshold; the first level of fatigue driving is used to characterize that the driver is in the lowest level of fatigue driving state; when the fatigue level score is not less than the first scoring threshold and less than the second scoring threshold, the fatigue driving detection result is determined to be the second level of fatigue driving; the second scoring threshold is greater than the first scoring threshold; when the fatigue level score is not less than the second scoring threshold, the fatigue driving detection result is determined to be the third level of fatigue driving; the third level of fatigue driving is used to characterize that the driver is in the highest level of fatigue driving state.

[0136] In one embodiment, the processing module 403 is further configured to determine that the fatigue driving detection result is the third level of fatigue driving when the driving time is greater than a time threshold.

[0137] In one embodiment, the apparatus further comprises:

[0138] The prompt module 404 is used to generate a first voice prompt information of a first preset volume and corresponding text prompt information when the fatigue driving detection result is the first level of fatigue driving; generate a second voice prompt information of a second preset volume and corresponding text prompt information when the fatigue driving detection result is the second level of fatigue driving; the second preset volume is greater than the first preset volume; when the fatigue driving detection result is the third level of fatigue driving, identify the driving mode of the vehicle, turn on the in-vehicle prompt light when the vehicle is not in the intelligent driving mode, generate a third voice prompt information of a second preset volume and corresponding text prompt information, turn on the in-vehicle prompt light when the vehicle is in the intelligent driving mode, generate a third voice prompt information of a second preset volume and corresponding text prompt information, and control the vehicle to slow down and stop at the target area; the target area refers to the parking area closest to the vehicle.

[0139] Each module in the above fatigue driving detection device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.

[0140] In an exemplary embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. Figure 5As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store driving data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a fatigue driving detection method is implemented.

[0141] Those skilled in the art will understand that Figure 5 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0142] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the following steps when executing the computer program: obtaining the driving time of the driver in an ignition cycle; when the driving time is not greater than a time threshold, obtaining the number of passengers, and obtaining the accelerator pedal opening change curve, brake pedal opening change curve, voice interaction frequency and steering wheel torque change curve in the ignition cycle; judging the driver's fatigue level based on the number of passengers, the accelerator pedal opening change curve, the brake pedal opening change curve, the voice interaction frequency and the steering wheel torque change curve, and obtaining a fatigue driving detection result.

[0143] In one embodiment, when the processor executes the computer program, the following steps are also implemented: according to the number of passengers, the accelerator pedal opening change curve, the brake pedal opening change curve, the voice interaction frequency and the steering wheel torque change curve, the score of each dimension is determined; according to the weighted sum of the scores of each dimension, a fatigue level score is obtained; the fatigue level score is used to characterize the driver's fatigue level; and the fatigue driving detection result is obtained according to the fatigue level score.

[0144] In one embodiment, the processor further implements the following steps when executing the computer program: when the number of passengers is 0, the score of the first dimension is 0, and when the number of passengers is not 0, the score of the first dimension is 1; obtaining the first frequency of the peak of the accelerator pedal opening change curve within the first duration, when the first frequency is not greater than 1, the score of the second dimension is 0, when the first frequency is greater than 1 and not greater than the first number threshold, the score of the second dimension is calculated based on the first frequency and the first number threshold, and when the first frequency is greater than the first number threshold, the score of the second dimension is 1; obtaining the second frequency of the peak of the brake pedal opening change curve within the second duration, when the second frequency is not greater than 1, the score of the third dimension is 0, and when the second frequency is greater than 1 and not greater than the second number threshold , the score of the third dimension is calculated based on the second frequency and the second number threshold. When the second frequency is greater than the second number threshold, the score of the third dimension is 1; the third frequency of voice interaction within the third duration is obtained. When the third frequency is not greater than 1, the score of the fourth dimension is 0. When the third frequency is greater than 1 and not greater than the third number threshold, the score of the fourth dimension is calculated based on the third frequency and the third number threshold. When the third frequency is greater than the third number threshold, the score of the fourth dimension is 1; the fourth frequency of steering wheel torque reduction in the steering wheel torque change curve within the fourth duration is obtained. When the fourth frequency is less than the fourth number threshold, the score of the fifth dimension is calculated based on the inverse of the fourth number threshold. When the fourth frequency is not less than the fourth number threshold, the score of the fifth dimension is 1.

[0145] In one embodiment, the processor further implements the following steps when executing the computer program: when the fatigue level score is less than a first scoring threshold, determining the fatigue driving detection result as first level fatigue driving; first level fatigue driving is used to characterize that the driver is in the lowest level of fatigue driving state; when the fatigue level score is not less than the first scoring threshold and less than the second scoring threshold, determining the fatigue driving detection result as second level fatigue driving; the second scoring threshold is greater than the first scoring threshold; when the fatigue level score is not less than the second scoring threshold, determining the fatigue driving detection result as third level fatigue driving; third level fatigue driving is used to characterize that the driver is in the highest level of fatigue driving state.

[0146] In one embodiment, when the processor executes the computer program, the following steps are also implemented: when the driving time is greater than the time threshold, determining that the fatigue driving detection result is the third level of fatigue driving.

[0147] In one embodiment, the processor also implements the following steps when executing the computer program: when the fatigue driving detection result is the first level of fatigue driving, a first voice prompt information of a first preset volume and corresponding text prompt information are generated; when the fatigue driving detection result is the second level of fatigue driving, a second voice prompt information of a second preset volume and corresponding text prompt information are generated; the second preset volume is greater than the first preset volume; when the fatigue driving detection result is the third level of fatigue driving, the driving mode of the vehicle is identified, and when the vehicle is not in the intelligent driving mode, the interior warning light is turned on, and a third voice prompt information of a second preset volume and corresponding text prompt information are generated; when the vehicle is in the intelligent driving mode, the interior warning light is turned on, and a third voice prompt information of a second preset volume and corresponding text prompt information are generated, and the vehicle is controlled to slow down and stop at the target area; the target area refers to the parking area closest to the vehicle.

[0148] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented: obtaining the driving time of the driver within the ignition cycle; when the driving time is not greater than a time threshold, obtaining the number of passengers, and obtaining the accelerator pedal opening change curve, brake pedal opening change curve, voice interaction frequency and steering wheel torque change curve within the ignition cycle; judging the driver's fatigue level based on the number of passengers, the accelerator pedal opening change curve, the brake pedal opening change curve, the voice interaction frequency and the steering wheel torque change curve, and obtaining a fatigue driving detection result.

[0149] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: determining the scores of each dimension based on the number of passengers, the accelerator pedal opening change curve, the brake pedal opening change curve, the voice interaction frequency and the steering wheel torque change curve; obtaining a fatigue level score based on the weighted sum of the scores of each dimension; the fatigue level score is used to characterize the driver's fatigue level; and obtaining a fatigue driving detection result based on the fatigue level score.

[0150] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: when the number of passengers is 0, the score of the first dimension is 0, and when the number of passengers is not 0, the score of the first dimension is 1; the first frequency of the accelerator pedal opening change curve appearing a peak within the first duration is obtained, and when the first frequency is not greater than 1, the score of the second dimension is 0, and when the first frequency is greater than 1 and not greater than the first number threshold, the score of the second dimension is calculated based on the first frequency and the first number threshold, and when the first frequency is greater than the first number threshold, the score of the second dimension is 1; the second frequency of the brake pedal opening change curve appearing a peak within the second duration is obtained, and when the second frequency is not greater than 1, the score of the third dimension is 0, and when the second frequency is greater than 1 and not greater than the second number threshold. , the score of the third dimension is calculated based on the second frequency and the second number threshold. When the second frequency is greater than the second number threshold, the score of the third dimension is 1; the third frequency of voice interaction within the third duration is obtained. When the third frequency is not greater than 1, the score of the fourth dimension is 0. When the third frequency is greater than 1 and not greater than the third number threshold, the score of the fourth dimension is calculated based on the third frequency and the third number threshold. When the third frequency is greater than the third number threshold, the score of the fourth dimension is 1; the fourth frequency of steering wheel torque reduction in the steering wheel torque change curve within the fourth duration is obtained. When the fourth frequency is less than the fourth number threshold, the score of the fifth dimension is calculated based on the inverse of the fourth number threshold. When the fourth frequency is not less than the fourth number threshold, the score of the fifth dimension is 1.

[0151] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: when the fatigue level score is less than a first scoring threshold, the fatigue driving detection result is determined to be first level fatigue driving; the first level fatigue driving is used to characterize that the driver is in the lowest level of fatigue driving state; when the fatigue level score is not less than the first scoring threshold and is less than the second scoring threshold, the fatigue driving detection result is determined to be second level fatigue driving; the second scoring threshold is greater than the first scoring threshold; when the fatigue level score is not less than the second scoring threshold, the fatigue driving detection result is determined to be third level fatigue driving; the third level fatigue driving is used to characterize that the driver is in the highest level of fatigue driving state.

[0152] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: when the driving time is greater than a time threshold, determining that the fatigue driving detection result is the third level of fatigue driving.

[0153] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: when the fatigue driving detection result is the first level of fatigue driving, a first voice prompt information of a first preset volume and corresponding text prompt information are generated; when the fatigue driving detection result is the second level of fatigue driving, a second voice prompt information of a second preset volume and corresponding text prompt information are generated; the second preset volume is greater than the first preset volume; when the fatigue driving detection result is the third level of fatigue driving, the driving mode of the vehicle is identified, and when the vehicle is not in the intelligent driving mode, the interior warning light is turned on, and a third voice prompt information of a second preset volume and corresponding text prompt information are generated; when the vehicle is in the intelligent driving mode, the interior warning light is turned on, and a third voice prompt information of a second preset volume and corresponding text prompt information are generated, and the vehicle is controlled to slow down and stop at the target area; the target area refers to the parking area closest to the vehicle.

[0154] In one embodiment, a computer program product is provided, including a computer program, which, when executed by a processor, implements the following steps: obtaining the driving time of a driver within an ignition cycle; when the driving time is not greater than a time threshold, obtaining the number of passengers, and obtaining an accelerator pedal opening change curve, a brake pedal opening change curve, a voice interaction frequency, and a steering wheel torque change curve within the ignition cycle; judging the driver's fatigue level based on the number of passengers, the accelerator pedal opening change curve, the brake pedal opening change curve, the voice interaction frequency, and the steering wheel torque change curve, and obtaining a fatigue driving detection result.

[0155] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: determining the scores of each dimension based on the number of passengers, the accelerator pedal opening change curve, the brake pedal opening change curve, the voice interaction frequency and the steering wheel torque change curve; obtaining a fatigue level score based on the weighted sum of the scores of each dimension; the fatigue level score is used to characterize the driver's fatigue level; and obtaining a fatigue driving detection result based on the fatigue level score.

[0156] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: when the number of passengers is 0, the score of the first dimension is 0, and when the number of passengers is not 0, the score of the first dimension is 1; the first frequency of the accelerator pedal opening change curve appearing a peak within the first duration is obtained, and when the first frequency is not greater than 1, the score of the second dimension is 0, and when the first frequency is greater than 1 and not greater than the first number threshold, the score of the second dimension is calculated based on the first frequency and the first number threshold, and when the first frequency is greater than the first number threshold, the score of the second dimension is 1; the second frequency of the brake pedal opening change curve appearing a peak within the second duration is obtained, and when the second frequency is not greater than 1, the score of the third dimension is 0, and when the second frequency is greater than 1 and not greater than the second number threshold. , the score of the third dimension is calculated based on the second frequency and the second number threshold. When the second frequency is greater than the second number threshold, the score of the third dimension is 1; the third frequency of voice interaction within the third duration is obtained. When the third frequency is not greater than 1, the score of the fourth dimension is 0. When the third frequency is greater than 1 and not greater than the third number threshold, the score of the fourth dimension is calculated based on the third frequency and the third number threshold. When the third frequency is greater than the third number threshold, the score of the fourth dimension is 1; the fourth frequency of steering wheel torque reduction in the steering wheel torque change curve within the fourth duration is obtained. When the fourth frequency is less than the fourth number threshold, the score of the fifth dimension is calculated based on the inverse of the fourth number threshold. When the fourth frequency is not less than the fourth number threshold, the score of the fifth dimension is 1.

[0157] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: when the fatigue level score is less than a first scoring threshold, the fatigue driving detection result is determined to be first level fatigue driving; the first level fatigue driving is used to characterize that the driver is in the lowest level of fatigue driving state; when the fatigue level score is not less than the first scoring threshold and is less than the second scoring threshold, the fatigue driving detection result is determined to be second level fatigue driving; the second scoring threshold is greater than the first scoring threshold; when the fatigue level score is not less than the second scoring threshold, the fatigue driving detection result is determined to be third level fatigue driving; the third level fatigue driving is used to characterize that the driver is in the highest level of fatigue driving state.

[0158] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: when the driving time is greater than a time threshold, determining that the fatigue driving detection result is the third level of fatigue driving.

[0159] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: when the fatigue driving detection result is the first level of fatigue driving, a first voice prompt information of a first preset volume and corresponding text prompt information are generated; when the fatigue driving detection result is the second level of fatigue driving, a second voice prompt information of a second preset volume and corresponding text prompt information are generated; the second preset volume is greater than the first preset volume; when the fatigue driving detection result is the third level of fatigue driving, the driving mode of the vehicle is identified, and when the vehicle is not in the intelligent driving mode, the interior warning light is turned on, and a third voice prompt information of a second preset volume and corresponding text prompt information are generated; when the vehicle is in the intelligent driving mode, the interior warning light is turned on, and a third voice prompt information of a second preset volume and corresponding text prompt information are generated, and the vehicle is controlled to slow down and stop at the target area; the target area refers to the parking area closest to the vehicle.

[0160] 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, use and processing of relevant data must comply with relevant regulations.

[0161] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.

[0162] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0163] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A method for detecting fatigue driving, characterized in that: The method comprises: Obtain the driving time of the driver in the ignition cycle; When the driving time is not greater than the time threshold, the number of passengers is obtained, and the accelerator pedal opening change curve, the brake pedal opening change curve, the voice interaction frequency and the steering wheel torque change curve within the ignition cycle are obtained; The driver's fatigue degree is judged according to the number of passengers, the accelerator pedal opening change curve, the brake pedal opening change curve, the voice interaction frequency and the steering wheel torque change curve to obtain a fatigue driving detection result.

2. The method according to claim 1, characterized in that The step of determining the driver's fatigue level according to the number of passengers, the accelerator pedal opening change curve, the brake pedal opening change curve, the voice interaction frequency, and the steering wheel torque change curve to obtain a fatigue driving detection result includes: Determining the score of each dimension according to the number of passengers, the accelerator pedal opening change curve, the brake pedal opening change curve, the voice interaction frequency and the steering wheel torque change curve; Obtaining a fatigue level score according to the weighted sum of the scores of each dimension; the fatigue level score is used to characterize the fatigue level of the driver; The fatigue driving detection result is obtained according to the fatigue degree score.

3. The method according to claim 2, characterized in that The step of determining the score of each dimension according to the number of passengers, the accelerator pedal opening change curve, the brake pedal opening change curve, the voice interaction frequency and the steering wheel torque change curve includes: When the number of passengers is 0, the score of the first dimension is 0, and when the number of passengers is not 0, the score of the first dimension is 1; Obtaining a first frequency of a peak appearing in the accelerator pedal opening variation curve within a first duration, when the first frequency is not greater than 1, the score of the second dimension is 0, when the first frequency is greater than 1 and not greater than a first number threshold, the score of the second dimension is calculated according to the first frequency and the first number threshold, and when the first frequency is greater than the first number threshold, the score of the second dimension is 1; Obtaining a second frequency of a peak appearing in the brake pedal opening variation curve within a second duration, when the second frequency is not greater than 1, the score of the third dimension is 0, when the second frequency is greater than 1 and not greater than a second number threshold, the score of the third dimension is calculated according to the second frequency and the second number threshold, and when the second frequency is greater than the second number threshold, the score of the third dimension is 1; Obtaining a third frequency of voice interaction within a third duration; when the third frequency is not greater than 1, the score of the fourth dimension is 0; when the third frequency is greater than 1 and less than a third frequency threshold, the score of the fourth dimension is calculated according to the third frequency and the third frequency threshold; when the third frequency is greater than the third frequency threshold, the score of the fourth dimension is 1; Obtain the fourth frequency of steering wheel torque reduction in the steering wheel torque change curve within the fourth duration. When the fourth frequency is less than the fourth number threshold, the score of the fifth dimension is calculated based on the inverse of the fourth number threshold. When the fourth frequency is not less than the fourth number threshold, the score of the fifth dimension is 1.

4. The method according to claim 2, characterized in that: The step of obtaining the fatigue driving detection result according to the fatigue degree score includes: When the fatigue level score is less than a first score threshold, determining that the fatigue driving detection result is a first level of fatigue driving; the first level of fatigue driving is used to indicate that the driver is in a state of minimum fatigue driving; When the fatigue level score is not less than a first score threshold and less than a second score threshold, determining that the fatigue driving detection result is second-level fatigue driving; and the second score threshold is greater than the first score threshold; When the fatigue level score is not less than a second score threshold, the fatigue driving detection result is determined to be third level fatigue driving; the third level fatigue driving is used to characterize that the driver is in the highest degree of fatigue driving state.

5. The method according to claim 4, characterized in that The method further comprises: When the driving duration is greater than the duration threshold, the fatigue driving detection result is determined to be the third level fatigue driving.

6. The method according to claim 4, characterized in that After determining the driver's fatigue degree according to the number of passengers, the accelerator pedal opening change curve, the brake pedal opening change curve, the voice interaction frequency and the steering wheel torque change curve, and obtaining the fatigue driving detection result, the method further includes: When the fatigue driving detection result is the first level of fatigue driving, generating a first voice prompt message with a first preset volume and a corresponding text prompt message; When the fatigue driving detection result is the second level of fatigue driving, generating a second voice prompt message with a second preset volume and a corresponding text prompt message; the second preset volume is greater than the first preset volume; When the fatigue driving detection result is the third level of fatigue driving, the driving mode of the vehicle is identified; when the vehicle is not in the intelligent driving mode, the in-vehicle warning light is turned on, and a third voice prompt information of a second preset volume and corresponding text prompt information are generated; when the vehicle is in the intelligent driving mode, the in-vehicle warning light is turned on, and a third voice prompt information of a second preset volume and corresponding text prompt information are generated, and the vehicle is controlled to slow down and stop in a target area; the target area refers to a parking area closest to the vehicle.

7. A fatigue driving detection device, characterized in that: The device comprises: An acquisition module, used for acquiring the driving time of the driver in the ignition cycle; a determination module, configured to obtain the number of passengers, and obtain an accelerator pedal opening change curve, a brake pedal opening change curve, a voice interaction frequency, and a steering wheel torque change curve within the ignition cycle when the driving time is not greater than a time threshold; The processing module is used to determine the driver's fatigue level according to the number of passengers, the accelerator pedal opening change curve, the brake pedal opening change curve, the voice interaction frequency and the steering wheel torque change curve, and obtain a fatigue driving detection result.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.