Fatigue driving prompting method and device based on vehicle-mounted voice, equipment and medium
By obtaining weather information, current time and user driving information, combined with detection strategies, real-time monitoring and reminding drivers of fatigue status, the problem of insufficient accuracy of the on-board voice system in fatigue driving detection is solved and the risk of traffic accidents is reduced.
Patent Information
- Application Number
- CN202510366883.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-26
- Publication Date
- 2025-07-04
AI Technical Summary
The existing vehicle voice system has insufficient accuracy in fatigue driving detection, resulting in an increased risk of traffic accidents.
By obtaining weather information, current time and user driving information, combined with corresponding detection strategies, the driver's fatigue status is monitored in real time, and selecting a voice prompt strategy based on the fatigue level for reminders.
Improve the accuracy of fatigue driving detection, reduce false alarms and missed reports, promptly remind drivers, and reduce the risk of traffic accidents.
Smart Images

Figure CN120260220A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of assisted driving, and in particular, to a fatigue driving reminder method, device, equipment and medium based on in-vehicle voice. Background Art
[0002] Driver fatigue driving is one of the main causes of traffic accidents. Fatigue driving will affect various aspects of the driver's attention, thinking, judgment and movement, etc., and it is easy to cause the driver to be inattentive, the judgment ability to decline, and even unsafe factors such as mental trance, thus leading to traffic accidents.
[0003] With the increasing popularity of vehicles, they have entered thousands of households, and at the same time, in-vehicle voice is becoming more and more popular; although in-vehicle voice provides more convenience and entertainment options for drivers, its role is still insufficient in improving driving safety, especially for the fatal hidden danger of fatigue driving. Therefore, there is an urgent need for a fatigue driving reminder method based on in-vehicle voice. Summary of the Invention
[0004] In order to realize the reminder of the user's fatigue driving through in-vehicle voice, this application provides a fatigue driving reminder method, device, equipment and medium based on in-vehicle voice.
[0005] In the first aspect, this application provides a fatigue driving reminder method based on in-vehicle voice, adopting the following technical solution:
[0006] A fatigue driving reminder method based on in-vehicle voice includes:
[0007] Obtain fatigue detection factors, where the fatigue detection factors include weather information, current time and the user's driving information;
[0008] Obtain the fatigue detection strategy corresponding to each fatigue detection factor;
[0009] Detect the user's fatigue driving behavior based on each fatigue detection factor and the corresponding fatigue detection strategy;
[0010] In the case that the user has a fatigue driving behavior, determine the fatigue degree of the fatigue driving behavior;
[0011] Obtain the voice reminder strategy corresponding to the fatigue degree, where each fatigue degree corresponds to a voice reminder strategy;
[0012] Remind the user based on the voice reminder strategy.
[0013] By adopting the above technical solutions, fatigue driving is detected jointly based on weather information, the current time, and the user's driving information, making the detection more accurate; corresponding fatigue detection strategies can be matched according to weather information, the current time, and driving information, so as to more accurately identify the fatigue status of the driver in different situations, effectively reducing false alarms and missed detections. When a fatigue driving behavior is detected, a corresponding voice prompt strategy is selected according to the fatigue level, which can effectively wake up the driver's attention and avoid potential dangers.
[0014] Optionally, the fatigue detection strategy corresponding to the current time includes fatigue time detection. Detecting the user's fatigue driving behavior based on each of the fatigue detection factors and the corresponding fatigue detection strategy includes:
[0015] Judging whether the current time is within a first preset time period;
[0016] If so, it is determined that the user has a fatigue driving behavior.
[0017] By adopting the above technical solutions, by judging whether the current time is within the first preset time period, it can be preliminarily determined that the user may have a fatigue driving behavior. Voice prompts can help the driver take measures in advance, thus effectively preventing traffic accidents caused by fatigue driving.
[0018] Optionally, the fatigue detection strategy corresponding to the current time further includes fatigue driving duration detection. Detecting the user's fatigue driving behavior based on each of the fatigue detection factors and the corresponding fatigue detection strategy includes:
[0019] Obtaining the user's start driving time;
[0020] Calculating the driving duration based on the start driving time and the current time;
[0021] Judging whether the driving duration is greater than a preset driving duration;
[0022] If so, it is determined that the user has a fatigue driving behavior.
[0023] By adopting the above technical solutions, by recording the user's start driving time and calculating the driving duration in real time, it is determined whether the user has exceeded the preset safe driving duration. When the driving duration exceeds the preset driving duration, it is determined that the user has a fatigue driving behavior and a voice prompt message is issued for warning, which helps the driver take measures in time, thus effectively preventing traffic accidents caused by fatigue driving.
[0024] Optionally, the fatigue driving detection strategy corresponding to the weather information includes weather factor fatigue detection. Detecting the user's fatigue driving behavior based on each of the fatigue detection factors and the corresponding fatigue detection strategy includes:
[0025] Determine whether the weather information is preset weather information;
[0026] If not, it is determined that there is a fatigue driving behavior.
[0027] By adopting the above technical solution, by determining whether the weather information is the preset weather condition that is likely to cause fatigue, the influence of the driving environment on the driver's fatigue state can be evaluated more comprehensively, so as to more accurately identify potential fatigue driving risks, and then remind the driver of the fatigue driving risk through voice prompts, thereby effectively reducing the occurrence of traffic accidents.
[0028] Optionally, the fatigue driving detection strategy corresponding to the driving information includes driving process fatigue detection. Detecting the user's fatigue driving behavior based on each of the fatigue detection factors and the corresponding fatigue detection strategy includes:
[0029] Obtain the driving road information, where the driving road includes curves and non-curves;
[0030] When the driving road is a non-curve, calculate the vehicle speed difference and the steering angle difference within a second preset time;
[0031] When the vehicle speed difference is greater than the preset speed range and / or the steering angle difference is greater than the preset angle range, it is determined that the user has a fatigue driving behavior; or,
[0032] When driving based on the current vehicle speed and the current steering angle, if the vehicle exceeds the driving lane, it is determined that there is a fatigue driving behavior;
[0033] When the driving road is a curve, determine whether the steering requirement is met based on the turning vehicle speed, the turning steering, and the current position of the vehicle;
[0034] If the steering requirement is not met, it is determined that there is a fatigue driving behavior.
[0035] By adopting the above technical solution, by real-time monitoring the vehicle speed and the steering angle, and combining the driving road conditions, the subtle changes of the driver during the driving process are determined, so as to judge whether the driver is in a fatigue state and issue a voice prompt in a timely manner; when driving on a non-curve, by calculating the vehicle speed difference and the steering angle difference within a second preset time and comparing them with the corresponding preset speed range and preset steering angle, the abnormalities of the driver in speed control and direction keeping are identified, so as to issue a voice prompt in a timely manner, further improving the driving safety.
[0036] Optionally, determining the degree of fatigue of the fatigue driving behavior includes:
[0037] Obtaining the current fatigue driving value corresponding to the current fatigue driving behavior in real time, where each fatigue driving behavior corresponds to a fatigue driving value;
[0038] Obtaining the first to-be-processed fatigue driving value within a third preset time period;
[0039] Adding the first to-be-processed fatigue driving value and the current fatigue driving value to obtain a second to-be-processed fatigue driving value;
[0040] When the second to-be-processed fatigue driving value meets the requirements of the preset fatigue level, obtaining the current trigger count of the preset fatigue level;
[0041] Obtaining the current fatigue level;
[0042] Determining whether to trigger the upgrade condition of the current fatigue level based on the current trigger count;
[0043] If so, upgrading the current fatigue degree level;
[0044] Wherein, the degree of fatigue includes multiple fatigue levels, and each fatigue level corresponds to a corresponding trigger condition.
[0045] Optionally, determining whether to trigger the upgrade condition of the current fatigue level based on the current trigger count includes:
[0046] Judging whether the cumulative trigger count corresponding to the current fatigue degree level has changed based on the current trigger count;
[0047] If it has changed, judging whether the changed cumulative trigger count meets the preset upgrade count;
[0048] If it meets, determining that the upgrade condition of the current fatigue level is triggered;
[0049] Wherein, when the cumulative trigger count of the current fatigue degree level reaches the preset upgrade count, the current fatigue level is upgraded to a fatigue level one level higher than the current fatigue level.
[0050] By adopting the above technical solutions, the fatigue degree levels are stacked, and the fatigue driving behavior is judged in advance through the stacking of the fatigue degree levels, so as to know the current driver's fatigue degree in advance, and then make a reaction in advance to avoid driving risks.
[0051] In a second aspect, the present application provides a fatigue driving reminder device based on in-vehicle voice, adopting the following technical solutions:
[0052] A fatigue driving reminder device based on in-vehicle voice, comprising:
[0053] A first acquisition module, configured to acquire fatigue detection factors, where the fatigue detection factors include weather information, current time, and the user's driving information;
[0054] A second acquisition module, configured to acquire a fatigue detection strategy corresponding to each of the fatigue detection factors;
[0055] A detection module, configured to detect the user's fatigue driving behavior based on each of the fatigue detection factors and the corresponding fatigue detection strategy;
[0056] A determination module, configured to determine the degree of fatigue of the fatigue driving behavior in the case where the user has a fatigue driving behavior;
[0057] A third acquisition module, configured to acquire a voice prompt strategy corresponding to the degree of fatigue, where each degree of fatigue corresponds to a voice prompt strategy;
[0058] A prompt module, configured to remind the user based on the voice prompt strategy.
[0059] In a third aspect, the present application provides an electronic device, adopting the following technical solution:
[0060] An electronic device, comprising a processor and a memory, where the processor is coupled to the memory;
[0061] The processor is configured to execute a computer program stored in the memory, so that the electronic device executes the method according to any one of the first aspect.
[0062] In a fourth aspect, the present application provides a computer-readable storage medium, adopting the following technical solution:
[0063] A computer-readable storage medium, comprising a computer program or instruction, when the computer program or instruction runs on a computer, enabling the computer to execute the method according to any one of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0064] Figure 1 is a schematic flowchart showing a method for reminding fatigue driving based on in-vehicle voice in an embodiment of the present application.
[0065] Figure 2 is a structural block diagram showing a device for reminding fatigue driving based on in-vehicle voice in an embodiment of the present application.
[0066] Figure 3 is a structural block diagram showing an electronic device in an embodiment of the present application. Detailed implementation manners
[0067] The following further elaborates on this application in conjunction with the accompanying drawings.
[0068] This specific embodiment is merely an interpretation of this application and does not limit this application. After reading this specification, those skilled in the art can make modifications to this embodiment without creative contributions as needed, but as long as it is within the scope of the claims of this application, it is protected by the patent law.
[0069] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of this application. Obviously, the described embodiments are some, but not all, of the embodiments of this application. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without making creative efforts fall within the scope of protection of this application.
[0070] In addition, the term "and / or" in this article is merely a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the character " / " in this article generally represents an "or" relationship between the associated objects before and after, unless otherwise specified.
[0071] The following further elaborates on the embodiments of this application in conjunction with the drawings of the specification.
[0072] The embodiments of this application provide a fatigue driving reminder method based on in-vehicle voice. This fatigue driving reminder method based on in-vehicle voice can be executed by an electronic device, and the electronic device can be a server or a terminal device. Among them, the server can be an independent physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server providing cloud computing services. The terminal device can be a smart phone, a tablet computer, a desktop computer, etc., but is not limited thereto.
[0073] As Figure 1 shown, a fatigue driving reminder method based on in-vehicle voice, the main process of the method is described as follows (Steps S101 to S105):
[0074] Step S101, obtain fatigue detection factors, where the fatigue detection factors include weather information, the current time, and the user's driving information;
[0075] In this embodiment, when the user starts driving the vehicle, the electronic device obtains factors related to fatigue driving, where the factors related to fatigue driving include weather information, the current time, and the user's driving information. Among them, the driving information includes the driving speed and the steering direction. The driving speed is obtained by a speed sensor, and the steering direction is obtained by a steering angle sensor.
[0076] In this embodiment, the electronic device is a device with a navigation function on the vehicle.
[0077] Step S102, obtain the fatigue detection strategy corresponding to each fatigue detection factor;
[0078] Step S103, detect the user's fatigue driving behavior based on each fatigue detection factor and the corresponding fatigue detection strategy;
[0079] Among them, the fatigue detection strategy includes fatigue time detection, fatigue driving duration detection, weather factor fatigue detection, and driving process fatigue detection. Among them, the fatigue detection strategy corresponding to the current time includes fatigue time detection and fatigue driving duration detection. The fatigue detection strategy corresponding to the weather information includes weather factor fatigue detection. The fatigue detection strategy corresponding to the driving information includes driving process fatigue detection. The fatigue time detection, fatigue driving duration detection, weather factor fatigue detection, and driving process fatigue detection will be described below respectively.
[0080] (I) Fatigue time detection
[0081] Specifically, determine whether the current time is within the first preset time period; if so, determine that the user has a fatigue driving behavior.
[0082] In this embodiment, the electronic device obtains the current time in real time and compares the current time with the first preset time period. If the current time is within the first preset time period, it is determined that the user has a fatigue driving behavior, and the first fatigue driving value corresponding to the fatigue time detection is obtained.
[0083] Among them, the first preset time period is set as needed. In this embodiment, early morning is usually considered the time period when people are most likely to feel sleepy and fatigued. Therefore, the early morning time period is used as the first preset time period, such as 3:00 - 5:00. The value of the first fatigue driving value of the fatigue driving behavior corresponding to the fatigue time is 1.
[0084] (II) Fatigue driving duration detection
[0085] Specifically, obtain the user's start driving time; calculate the driving duration based on the start driving time and the current time; determine whether the driving duration is greater than the preset driving duration; if so, determine that the user has a fatigue driving behavior.
[0086] In this embodiment, long - term driving can cause physical and mental fatigue in the driver. Physical fatigue is mainly manifested as muscle fatigue, eye fatigue, etc., while mental fatigue is manifested as distracted attention, slow reaction, judgment errors, etc. These fatigue states will seriously affect the driver's driving ability, making it difficult for the driver to cope with emergencies, thus increasing the risk of traffic accidents. Therefore, the electronic device obtains the current time in real - time, calculates the time difference between the current time and the start - driving time, takes the time difference as the driving time, and when the driving duration exceeds the preset driving duration, it determines that the user has a fatigue - driving behavior. At this time, it obtains the second fatigue - driving value corresponding to the driving duration.
[0087] Among them, the preset driving duration can be set as needed. In this embodiment, the preset driving duration is 3 hours, and the value of the second fatigue - driving value is 1.
[0088] (III) Fatigue Detection Based on Weather Factors
[0089] Specifically, it judges whether the weather information is the preset weather information; if not, it determines that there is a fatigue - driving behavior.
[0090] In this embodiment, since bad weather aggravates the degree of fatigue - driving, the preset weather information is sunny. The electronic device obtains the weather information in real - time and compares the weather information with the preset weather information. When the obtained weather information does not belong to sunny, it determines that the user has a driving behavior. At this time, it obtains the third fatigue - driving value corresponding to the fatigue - driving behavior due to weather factors.
[0091] In this embodiment, the value of the third fatigue - driving value is 1.
[0092] (IV) Fatigue Detection During Driving
[0093] In this embodiment, there are curved - road driving and non - curved - road driving during driving. The fatigue detection for curved - road driving and non - curved - road driving will be described separately below.
[0094] (1) Non - curved road
[0095] Specifically, when the driving road is a non - curved road, it calculates the vehicle - speed difference and the steering - angle difference within the second preset time; when the vehicle - speed difference is greater than the preset speed range and / or the steering - angle difference is greater than the preset angle range, it determines that the user has a fatigue - driving behavior; or when driving based on the current vehicle speed and the current steering angle, if the vehicle exceeds the driving lane, it determines that there is a fatigue - driving behavior;
[0096] In this embodiment, the status information of the driving road of the user is obtained through navigation information. Among them, the status information includes non-curved roads and curved roads. The state of fatigue driving is that the mental concentration is not concentrated. Therefore, the resulting driving state is sudden acceleration, sudden deceleration, or slow reaction. For non-curved roads, if the vehicle speed changes too fast or too slow within a short period of time, it proves that there is a fatigue driving behavior. Therefore, the vehicle speed difference and the steering angle difference are calculated every second time period.
[0097] In this embodiment, the second preset time period can be every 5s or every 10s time period, and no specific limitation is made in this regard. The calculation method of the vehicle speed difference and the steering difference can be: the difference between the vehicle speed and the steering at the beginning and end times within the second preset time period. The preset speed interval and the preset angle interval are set as needed. For example, the steering direction of the vehicle is greater than a certain threshold, such as 30%.
[0098] In this embodiment, after the electronic device obtains the vehicle speed difference and the steering difference, the vehicle speed difference is compared with the corresponding preset speed interval, and the steering difference is compared with the corresponding preset angle interval. When any one factor is not within the corresponding interval, it is determined that there is an abnormal driving behavior. At this time, the fourth fatigue driving value corresponding to the driving behavior during non-curved road driving is obtained. In this embodiment, the fourth fatigue driving value is 1.
[0099] Based on the current vehicle speed and the current steering angle, it is judged whether the vehicle exceeds the driving lane, that is, whether it drives out of both sides of the navigation road. In this embodiment, the real-time position of the vehicle is matched with the road data in the navigation map, and it is determined whether the vehicle exceeds the driving lane by judging whether the vehicle deviates from the lane information in the navigation map. When the vehicle exceeds the driving lane, the fifth fatigue driving value corresponding to the fatigue driving behavior is obtained. In this embodiment, the value of the fifth fatigue driving value is 2.
[0100] (2) Curved road
[0101] Specifically, in the case where the driving road is a curved road, it is determined whether the steering requirements are met based on the turning vehicle speed, the turning steering, and the current position of the vehicle; if the steering requirements are not met, it is determined that there is a fatigue driving behavior.
[0102] In this embodiment, the current position of the vehicle is obtained by using GPS, the current position of the vehicle is matched with the navigation map to determine the curved road position where the vehicle is currently located, the curvature, radius and other parameters of the curved road are obtained through the navigation map, and the current position of the vehicle is matched with the curved road parameters. When the vehicle cannot pass through the curved road based on the turning vehicle speed and the turning steering, it proves that the steering requirements are not met. At this time, it is determined that there is a fatigue driving behavior, and the sixth fatigue driving value corresponding to the fatigue driving behavior during curved road driving is obtained. In this embodiment, the value of the sixth fatigue driving value is 2.
[0103] Step S104, when the user has a fatigue driving behavior, determine the fatigue level of the fatigue driving behavior;
[0104] Specifically, determining the fatigue level of the fatigue driving behavior includes: obtaining the current fatigue driving value corresponding to the current fatigue driving behavior in real time, where each fatigue driving behavior corresponds to a fatigue driving value; obtaining the first fatigue driving value to be processed within the third preset time period; summing the first fatigue driving value to be processed and the current fatigue driving value to obtain the second fatigue driving value to be processed; when the second fatigue driving value to be processed meets the preset fatigue level requirement, obtaining the current trigger count of the preset fatigue level; obtaining the current fatigue level; determining whether to trigger the upgrade condition of the current fatigue level based on the current trigger count; if so, upgrade the current fatigue level; where the fatigue level includes multiple fatigue levels, and each fatigue level corresponds to a corresponding trigger condition.
[0105] Among them, determining whether to trigger the upgrade condition of the current fatigue level based on the current trigger count includes: judging whether the cumulative trigger count corresponding to the current fatigue level has changed based on the current trigger count; if it has changed, judging whether the changed cumulative trigger count meets the preset upgrade times; if it meets, it is determined that the upgrade condition of the current fatigue level is triggered; where when the cumulative trigger count of the current fatigue level reaches the preset upgrade times, the current fatigue level is upgraded to a fatigue level one level higher than the current fatigue level.
[0106] In this embodiment, the electronic device obtains the current fatigue driving behavior and the fatigue driving value corresponding to the current fatigue driving behavior in real time. Among them, the first fatigue driving value to be processed is the sum of all fatigue driving values within the third preset time period. In this embodiment, the current fatigue driving value is summed with the first fatigue driving value to be processed to obtain the second fatigue driving value to be processed. The second fatigue driving value is compared with the preset fatigue value of the preset fatigue level. When the second fatigue driving value is equal to the preset fatigue value, it is determined that the second fatigue driving value to be processed meets the preset fatigue level requirement. At this time, the trigger count of the preset fatigue level is incremented by one to obtain the current trigger count, and the first fatigue driving value to be processed of the preset fatigue level is reset to zero.
[0107] The electronic device compares the current trigger count with the preset trigger count. When the current trigger count is equal to the preset trigger count, the trigger count of the next lower level of the preset fatigue level is incremented by 1, and so on, to determine the trigger count of the current fatigue level. When the trigger count of the current fatigue level is equal to the preset trigger count of the current fatigue level, it is determined that the upgrade condition of the current fatigue level is triggered.
[0108] It should be noted that the third preset time period is the time period from when the first fatigue driving value to be processed is reset to zero to when the second fatigue driving value is equal to the preset fatigue value. The preset fatigue level is the lowest fatigue level, for example, the preset fatigue value of the preset fatigue level is 5.
[0109] Among them, each fatigue level corresponds to a preset number of trigger times. When the number of trigger times of a certain fatigue level reaches the preset number of trigger times, the number of trigger times of that fatigue level is incremented by 1.
[0110] In this embodiment, the trigger conditions are as follows:
[0111] The fatigue level D is triggered 5 times and is upgraded to the fatigue level C.
[0112] The fatigue level C is triggered 3 times and is upgraded to the fatigue level B.
[0113] The fatigue level B is triggered 3 times and is upgraded to the fatigue level A.
[0114] The fatigue level A is triggered 2 times and is upgraded to the fatigue level S.
[0115] For example, if the current number of trigger times of the current fatigue level C is 2, and if the current number of trigger times of the fatigue level D is 5 times, then the current number of trigger times of the fatigue level C is 3, and the current fatigue level is upgraded to B; if the current number of trigger times of the fatigue level D is 4 times, then the current number of trigger times of the fatigue level C is 2, and the current fatigue level remains C.
[0116] It should be noted that the preset fatigue level is the fatigue level D, the fatigue level D has the lowest level, and the fatigue level S has the highest level.
[0117] In this embodiment, the fatigue levels are adopted in a superimposed manner. By superimposing the fatigue levels, the fatigue driving behavior is judged in advance, and the current driver's fatigue level can be known even a few seconds or even earlier in the future, so as to make a reaction in advance and avoid driving risks.
[0118] Step S105, obtain the voice prompt strategy corresponding to the fatigue level;
[0119] In this embodiment, different fatigue levels correspond to different voice prompt strategies. In this embodiment, the voice prompt strategies are as follows.
[0120] S -> Play a harsh warning sound + a flashing warning light on the dashboard.
[0121] A -> Play a harsh warning sound.
[0122] B -> Actively play content at intervals and recommend going to the service area to rest.
[0123] C -> Broadcast heavy music.
[0124] It should be especially noted that as the number of trigger times for each level increases, the time interval of the voice prompt strategy gradually shortens.
[0125] Step S106, remind the user based on the voice prompt strategy.
[0126] In this embodiment, the electronic device obtains the current fatigue level in real time, and obtains the voice prompt strategy corresponding to the current fatigue level. The electronic device plays the corresponding voice prompt strategy to remind the user, thereby reducing the risk of the user's fatigue driving.
[0127] Figure 2 It is a structural block diagram of a fatigue driving reminder device 200 based on in-vehicle voice provided by the present application. As Figure 2 shown, the fatigue driving reminder device 200 based on in-vehicle voice mainly includes:
[0128] The first acquisition module 201 is used to acquire fatigue detection factors, and the fatigue detection factors include weather information, the current time, and the user's driving information;
[0129] The second acquisition module 202 is used to acquire the fatigue detection strategy corresponding to each fatigue detection factor;
[0130] The detection module 203 is used to detect the user's fatigue driving behavior based on each fatigue detection factor and the corresponding fatigue detection strategy;
[0131] The determination module 204 is used to determine the fatigue level of the fatigue driving behavior when the user has a fatigue driving behavior;
[0132] The third acquisition module 205 is used to acquire the voice prompt strategy corresponding to the fatigue level;
[0133] The prompt module 206 is used to remind the user based on the voice prompt strategy.
[0134] As an optional implementation manner of this embodiment, the second acquisition module 202 includes:
[0135] The first judgment module is used to judge whether the current time is within the first preset time period; if so, it is determined that the user has a fatigue driving behavior.
[0136] As an optional implementation manner of this embodiment, the second acquisition module 202 further includes:
[0137] The time acquisition module is used to acquire the user's start driving time;
[0138] A driving duration calculation module, configured to calculate the driving duration based on the start driving time and the current time;
[0139] A second judgment module, configured to judge whether the driving duration is greater than a preset driving duration; if so, it is determined that the user has a fatigue driving behavior.
[0140] As an alternative implementation manner of this embodiment, the second acquisition module 202 further includes:
[0141] A third judgment module, configured to judge whether the weather information is preset weather information; if not, it is determined that there is a fatigue driving behavior.
[0142] As an alternative implementation manner of this embodiment, the second acquisition module 202 further includes:
[0143] A road acquisition module, configured to acquire driving road information, where the driving road includes curves and non-curves;
[0144] A difference calculation module, configured to calculate the vehicle speed difference and the steering angle difference within a second preset time when the driving road is a non-curve;
[0145] A first determination module, configured to determine that the user has a fatigue driving behavior when the vehicle speed difference is greater than a preset speed range and / or the steering angle difference is greater than a preset angle range;
[0146] A second determination module, configured to determine that there is a fatigue driving behavior when the vehicle exceeds the driving lane when driving based on the current vehicle speed and the current steering angle;
[0147] A third determination module, configured to determine whether the steering requirement is met based on the turning vehicle speed, the turning steering, and the current vehicle position when the driving road is a curve; if the steering requirement is not met, it is determined that there is a fatigue driving behavior.
[0148] As an alternative implementation manner of this embodiment, the determination module 204
[0149] A first driving value acquisition module, configured to acquire the current fatigue driving value corresponding to the current fatigue driving behavior in real time, where each fatigue driving behavior corresponds to a fatigue driving value;
[0150] A second driving value acquisition module, configured to acquire the first to-be-processed fatigue driving value within a third preset time period;
[0151] A third driving value acquisition module, configured to sum the first to-be-processed fatigue driving value and the current fatigue driving value to obtain a second to-be-processed fatigue driving value;
[0152] When the second fatigue driving value to be processed reaches the preset fatigue level requirement, obtain the current trigger count of the preset fatigue level;
[0153] A level acquisition module, configured to acquire the current fatigue level;
[0154] A condition judgment module, configured to determine whether to trigger the upgrade condition of the current fatigue level based on the current trigger count; if so, upgrade the current fatigue level; wherein, the fatigue level includes multiple fatigue levels, and each fatigue level corresponds to a corresponding trigger condition
[0155] In this optional embodiment, the condition judgment module is specifically configured to:
[0156] Determine whether to trigger the upgrade condition of the current fatigue level based on the current trigger count, including:
[0157] Judge whether the cumulative trigger count corresponding to the current fatigue level has changed based on the current trigger count; if it has changed, judge whether the changed cumulative trigger count meets the preset upgrade count; if it meets, determine that the upgrade condition of the current fatigue level is triggered; wherein, when the cumulative trigger count of the current fatigue level reaches the preset upgrade count, upgrade the current fatigue level to a fatigue level one level higher than the current fatigue level.
[0158] Each functional module in the embodiments of the present application may be integrated together to form an independent part, or each module may exist alone, or two or more modules may be integrated to form an independent part. If the function is implemented in the form of a software functional module and sold or used as an independent product, it may be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or a part of this technical solution, may be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing an electronic device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of a method for prompting fatigue driving based on in-vehicle voice according to various embodiments of the present application.
[0159] Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working processes of the above-described systems, devices, and modules can refer to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0160] Figure 3 This is a structural block diagram of an electronic device 300 provided in an embodiment of the present application. As Figure 3As shown, the electronic device 300 includes a memory 301, a processor 302, and a communication bus 303; the memory 301 and the processor 302 are connected through the communication bus 303. Stored on the memory 301 is a method for prompting fatigue driving based on in-vehicle voice that can be loaded and executed by the processor 302 as provided in the above embodiments.
[0161] The memory 301 can be used to store instructions, programs, codes, code sets, or instruction sets. The memory 301 may include a program storage area and a data storage area. Among them, the program storage area can store instructions for implementing the operating system, instructions for at least one function, and instructions for implementing a method for prompting fatigue driving based on in-vehicle voice provided in the above embodiments, etc.; the data storage area can store data involved in a method for prompting fatigue driving based on in-vehicle voice provided in the above embodiments, etc.
[0162] The processor 302 may include one or more processing cores. By running or executing instructions, programs, code sets, or instruction sets stored in the memory 301, the processor 302 calls the data stored in the memory 301 and executes various functions of this application and processes data. The processor 302 can be at least one of an application specific integrated circuit (ASIC), a digital signal processor (DSP), a digital signal processing device (DSPD), a programmable logic device (PLD), a field programmable gate array (FPGA), a central processing unit (CPU), a controller, a microcontroller, and a microprocessor. It can be understood that for different devices, the electronic devices for implementing the functions of the above processor 302 may also be others, and the embodiments of this application do not make specific limitations.
[0163] The communication bus 303 may include a path for transmitting information between the above components. The communication bus 303 can be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. The communication bus 303 can be divided into an address bus, a data bus, a control bus, etc. For the sake of convenience of representation, Figure 3 only a double arrow is used herein, but it does not mean that there is only one bus or one type of bus.
[0164] An embodiment of the present application provides a computer-readable storage medium storing a computer program that can be loaded and executed by a processor to implement a fatigue driving reminder method based on in-vehicle voice as provided in the above embodiment.
[0165] In this embodiment, the computer-readable storage medium may be a tangible device that holds and stores instructions used by an instruction execution device. The computer-readable storage medium may be, but is not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any combination of the above. Specifically, the computer-readable storage medium may be a portable computer disk, a hard disk, a USB flash drive, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disc (DVD), a memory stick, a floppy disk, an optical disc, a magnetic disc, a mechanical encoding device, and any combination of the above.
[0166] The term "comprising", "including" or any other variation thereof is intended to cover a non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article or device.
[0167] The above description is only a preferred embodiment of the present application and an explanation of the applied technical principle. Those skilled in the art should understand that the scope of the application involved in the present application is not limited to the technical solution formed by the specific combination of the above technical features, but also covers other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the foregoing application concept. For example, a technical solution formed by mutually replacing the above features with (but not limited to) technical features having similar functions in the present application.
Claims
1. A fatigue driving reminder method based on in-vehicle voice, characterized in that, Including: Obtaining fatigue detection factors, where the fatigue detection factors include weather information, current time, and the user's driving information; Obtaining a fatigue detection strategy corresponding to each of the fatigue detection factors; Detecting the user's fatigue driving behavior based on each of the fatigue detection factors and the corresponding fatigue detection strategy; Determining the fatigue level of the fatigue driving behavior when the user has a fatigue driving behavior; Obtaining a voice prompt strategy corresponding to the fatigue level, where each fatigue level corresponds to a voice prompt strategy; Reminding the user based on the voice prompt strategy.
2. The method according to claim 1, wherein The fatigue detection strategy corresponding to the current time includes fatigue time detection, and detecting the user's fatigue driving behavior based on each of the fatigue detection factors and the corresponding fatigue detection strategy includes: Judging whether the current time is within a first preset time period; If so, determining that the user has a fatigue driving behavior.
3. The method according to claim 1 or 2, characterized in that, The fatigue detection strategy corresponding to the current time further includes fatigue driving duration detection, and detecting the user's fatigue driving behavior based on each of the fatigue detection factors and the corresponding fatigue detection strategy includes: Obtaining the user's start driving time; Calculating the driving duration based on the start driving time and the current time; Judging whether the driving duration is greater than a preset driving duration; If so, determining that the user has a fatigue driving behavior.
4. The method according to claim 1, wherein The fatigue driving detection strategy corresponding to the weather information includes weather factor fatigue detection, and detecting the user's fatigue driving behavior based on each of the fatigue detection factors and the corresponding fatigue detection strategy includes: Judging whether the weather information is preset weather information; If not, determining that there is a fatigue driving behavior.
5. The method according to claim 1, characterized in that The fatigue driving detection strategy corresponding to the driving information includes fatigue detection during driving, and detecting the user's fatigue driving behavior based on each of the fatigue detection factors and the corresponding fatigue detection strategy includes: Obtaining driving road information, where the driving road includes curves and non-curves; Calculating the vehicle speed difference and steering angle difference within a second preset time when the driving road is a non-curve; When the vehicle speed difference is greater than a preset speed range and / or the steering angle difference is greater than the preset angle range, determining that the user has a fatigue driving behavior; or, When driving based on the current vehicle speed and current steering angle, if the vehicle exceeds the driving lane, determining that there is a fatigue driving behavior; When the driving road is a curve, determining whether the steering requirement is met based on the turning vehicle speed, turning steering, and the current vehicle position; If the steering requirement is not met, determining that there is a fatigue driving behavior.
6. The method according to claim 1, wherein Determining the fatigue level of the fatigue driving behavior includes: Obtaining the current fatigue driving value corresponding to the current fatigue driving behavior in real time, where each fatigue driving behavior corresponds to a fatigue driving value; Obtaining the first fatigue driving value to be processed within a third preset time period; Summing the first fatigue driving value to be processed and the current fatigue driving value to obtain a second fatigue driving value to be processed; When the second fatigue driving value to be processed reaches the requirements of the preset fatigue level, obtain the current trigger count of the preset fatigue level; Obtain the current fatigue level; Determine whether to trigger the upgrade condition of the current fatigue level based on the current trigger count; If so, upgrade the current fatigue level; Wherein, the fatigue level includes multiple fatigue levels, and each fatigue level corresponds to a corresponding trigger condition.
7. The method according to claim 6, characterized in that, The determining whether to trigger the upgrade condition of the current fatigue level based on the current trigger count includes: Judge whether the cumulative trigger count corresponding to the current fatigue level has changed based on the current trigger count; If it has changed, judge whether the changed cumulative trigger count meets the preset upgrade count; If it meets, determine that the upgrade condition of the current fatigue level is triggered; Wherein, when the cumulative trigger count of the current fatigue level reaches the preset upgrade count, the current fatigue level is upgraded to a fatigue level one level higher than the current fatigue level.
8. A fatigue driving reminder device, characterized in that, Includes: A first acquisition module for acquiring fatigue detection factors, where the fatigue detection factors include weather information, current time, and the user's driving information; A second acquisition module for acquiring the fatigue detection strategy corresponding to each fatigue detection factor; A detection module for detecting the user's fatigue driving behavior based on each fatigue detection factor and the corresponding fatigue detection strategy; A determination module for determining the fatigue level of the fatigue driving behavior when the user has a fatigue driving behavior; A third acquisition module for acquiring the voice prompt strategy corresponding to the fatigue level, wherein each fatigue level corresponds to a voice prompt strategy; A prompt module for prompting the user based on the voice prompt strategy.
9. An electronic device, characterized in that, Includes a processor and a memory, and the processor is coupled to the memory; The processor is configured to execute the computer program stored in the memory, so that the electronic device executes the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, Includes a computer program or instruction, when the computer program or instruction runs on a computer, the computer is caused to execute the method according to any one of claims 1 to 7.