Mobile phone management and control method and control system in driving process
By calculating multiple indicators of vehicle operating status and mobile phone sensing data, dynamically assessing driving risks, and controlling mobile phone functions accordingly, the risk of drivers being distracted by removing mobile phone driving mode in the existing technology is solved, and a safer driving environment is achieved.
Patent Information
- Application Number
- CN202510327453.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-19
- Publication Date
- 2025-04-18
- Estimated Expiration
- 2045-03-19
AI Technical Summary
In the prior art, when controlling mobile phones during driving, it usually requires manual removal of driving mode, which causes drivers to be distracted and increases the risk of dangerous driving.
By obtaining vehicle operating status data and mobile phone multimodal sensing data, calculate the degree of motion coupling, operation synchronization rate and spatial constraint deviation values, dynamically evaluate driving risks, and control the mobile phone based on the risk assessment value, including limiting or removing mobile phone functions.
It realizes dynamic management of mobile phone functions while ensuring driving safety, accurately identify distracted driving behaviors, and reduces the risk of traffic accidents caused by mobile phone use.
Smart Images

Figure CN119854407A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of driving technology, and in particular to a method and a control system for controlling a mobile phone during driving. Background Art
[0002] With the popularity of smartphones, it is becoming more and more common for drivers to use their phones while driving. According to statistics, about 68% of traffic accidents are directly related to drivers' distracted use of their phones, which has become one of the important factors causing traffic accidents.
[0003] In Chinese patent CN207837007U, there is a driver's mobile phone safety control device, including a control box, a single-chip microcomputer, an electric lock, a pressure sensor, a GPS positioning device and an audio output device; the control box includes a box cover and a box body with an opening on the top, the box cover covers the top opening of the box body, the electric lock is arranged on the box cover, the pressure sensor and the GPS positioning device are arranged at the bottom of the box body, and the audio output device is arranged on the outer surface of the box body; the single-chip microcomputer is respectively connected to the electric lock, the pressure sensor, the GPS positioning device and the audio output device. The beneficial effects of adopting the above scheme are: monitoring the status of the mobile phone during driving to prevent the driver from operating the mobile phone while driving, safely controlling the mobile phone, preventing the driver from being distracted by operating the mobile phone while driving, and improving road safety;
[0004] A driving control system and method in Chinese patent CN201410314270.X, the system includes: a smart phone placed on a car to have the same motion state as the car, the smart phone having a built-in acceleration sensor for measuring acceleration; a diagnostic service platform connected to the smart phone for communication, receiving and processing direction data and acceleration data sent by the smart phone, comparing the processing results with preset conditions and sending corresponding prompt information to the smart phone;
[0005] When controlling existing mobile phones, the driving mode is usually used to restrict the mobile phone. If the driving mode needs to be released to use the mobile phone, the mobile phone needs to be manually controlled. This will cause the driver to be distracted and cause dangerous driving problems. Therefore, a mobile phone control method and control system during driving are needed to solve the above problems. Summary of the invention
[0006] The purpose of the present invention is to provide a method and a control system for controlling a mobile phone during driving, so as to solve the technical problems raised in the above-mentioned background technology.
[0007] To achieve the above object, the present invention provides the following technical solutions:
[0008] A method for controlling a mobile phone during driving, comprising:
[0009] Acquire vehicle operation status data and mobile terminal multimodal sensor data;
[0010] Acquiring vehicle CAN bus data information according to the vehicle running status data;
[0011] Acquiring a motion coupling degree value and an operation synchronization rate according to the vehicle CAN bus data information and the mobile terminal multimodal sensing data;
[0012] Acquire the driver's driving position coordinate offset, and acquire the space constraint deviation value according to the multimodal sensing data of the mobile terminal and the driving position coordinate offset;
[0013] A risk assessment value is calculated according to the motion coupling degree value, the operation synchronization rate and the constraint deviation value, and the mobile phone is controlled during driving according to the risk assessment value.
[0014] Preferably, the step of acquiring the motion coupling degree value and the operation synchronization rate according to the vehicle CAN bus data information and the mobile terminal multimodal sensing data comprises:
[0015] Acquire the acceleration of the accelerometer built into the mobile phone according to the multimodal sensing data of the mobile terminal, and acquire the first vehicle speed and the steering wheel angle based on the vehicle CAN bus data information;
[0016] Correcting the first vehicle speed based on the GPS signal and the inertial navigation system to obtain a corrected vehicle speed;
[0017] The vehicle wheelbase, the total vehicle mass, the front wheel cornering stiffness and the rear wheel cornering stiffness are obtained, and the stability coefficient is obtained according to the vehicle wheelbase, the total vehicle mass, the front wheel cornering stiffness and the rear wheel cornering stiffness, wherein the calculation formula is:
[0018] ;
[0019] in, represents the stability coefficient, represents the total vehicle mass, Indicates wheelbase, represents the front wheel cornering stiffness, Indicates the rear wheel cornering stiffness;
[0020] The lateral acceleration is obtained according to the corrected vehicle speed, vehicle wheelbase, steering wheel angle and stability coefficient, wherein the calculation formula is:
[0021] ;
[0022] in, represents the lateral acceleration, Indicates vehicle speed. Indicates wheelbase, Indicates the steering wheel angle, represents the stability coefficient;
[0023] Acquire an acceleration deviation ratio according to the lateral acceleration and the acceleration;
[0024] The driver's attention time of looking forward within a preset time is obtained, and the driving distraction correction factor is calculated according to the attention time and the preset driving operation time. The calculation formula is:
[0025] ;
[0026] in, represents the distracted driving correction factor, Indicates the length of time you focus on something. Indicates the preset driving operation time. represents a natural constant;
[0027] A corrected acceleration deviation ratio is obtained according to the driving distraction correction factor and the acceleration deviation ratio, and the corrected acceleration deviation ratio is used as a motion coupling degree value.
[0028] Preferably, the step of obtaining the motion coupling degree value and the operation synchronization rate from the vehicle CAN bus data information and the mobile terminal multimodal sensor data further includes:
[0029] Acquiring throttle opening information according to the vehicle CAN bus data information;
[0030] Acquiring response information of a gyroscope built into the mobile phone according to the multimodal sensing data of the mobile terminal;
[0031] Acquire a plurality of throttle opening values within a preset time according to the throttle opening information, and acquire a throttle opening curve according to the plurality of throttle opening values and the preset time;
[0032] Acquire a plurality of gyroscope response speeds within a preset time according to the gyroscope response information, and acquire a gyroscope response speed curve according to the plurality of gyroscope response speeds and the preset time;
[0033] Comparing the throttle opening curve and the gyroscope response speed curve in sequence based on a preset timestamp to obtain a plurality of operation reaction times of throttle opening-gyroscope response speed;
[0034] Acquire a plurality of operation reaction deviation times according to the plurality of operation reaction times and preset operation reaction times;
[0035] An operation reaction deviation achievement rate is acquired according to the plurality of operation reaction deviation times and a preset standard deviation time, and the operation reaction deviation achievement rate is used as an operation synchronization rate.
[0036] Preferably, the step of obtaining the space constraint deviation value according to the multimodal sensing data of the mobile terminal and the driving position coordinate offset comprises:
[0037] Acquiring the azimuth of a magnetometer built into the mobile phone according to the multimodal sensing data of the mobile terminal;
[0038] Acquiring a current front-to-rear adjustment amount and a current left-to-right adjustment amount of the driver's driving position relative to a standard driving position based on a displacement sensor on a seat rail;
[0039] The driving position coordinate offset is calculated according to the current front-to-back adjustment amount and the current left-to-right adjustment amount, and the calculation formula is:
[0040] ;
[0041] in, Indicates the driving position coordinate offset, Indicates the current front and rear adjustment amount. Indicates the current left and right adjustment amount;
[0042] Calculating the driving position coordinate deviation according to the driving position coordinate deviation and a preset standard threshold;
[0043] The driver's head posture information is obtained based on the in-car camera, and the driver's head posture information is extracted based on the OpenPose algorithm to obtain the coordinates of the nose tip;
[0044] Obtaining the center coordinates of the driver's driving seat, wherein the center coordinates are the plane center coordinates of the driver's seat cushion, and the center coordinates are used as the coordinate origin;
[0045] The coordinate origin is vertically extended toward the front of the vehicle to the edge of the driver's seat to obtain edge coordinates, and a vehicle front direction vector is obtained according to the edge coordinates and the coordinate origin;
[0046] Acquire the coordinate system of the center coordinate, and project the nose tip coordinate into the coordinate system to obtain a first nose tip coordinate;
[0047] The nose tip projection vector is obtained according to the first nose tip coordinate and the coordinate origin, and the angle between the nose tip and the front of the vehicle is calculated according to the nose tip projection vector and the front direction vector of the vehicle. The calculation formula is:
[0048] ;
[0049] in, Indicates the angle between the nose tip and the front of the vehicle. represents the nose tip projection vector, Represents the vehicle head direction vector;
[0050] Taking the angle between the nose tip and the front of the vehicle as the nose tip-vehicle front azimuth, and obtaining the deviation azimuth according to the magnetometer azimuth and the nose tip-vehicle front azimuth;
[0051] The deviation azimuth and the driving position coordinate offset are weightedly calculated to obtain a comprehensive deviation value, and the comprehensive deviation value is used as a space constraint deviation value.
[0052] Preferably, the step of calculating the risk assessment value according to the motion coupling degree value, the operation synchronization rate and the constraint deviation value comprises:
[0053] Normalizing the motion coupling degree value to obtain a motion coupling degree normalized value;
[0054] Normalizing the operation synchronization rate to obtain a normalized value of the operation synchronization rate;
[0055] Normalizing the constraint deviation value to obtain a constraint deviation normalized value;
[0056] The risk assessment value is calculated according to the normalized value of the motion coupling degree, the normalized value of the operation synchronization rate and the normalized value of the constraint deviation, wherein the calculation formula is:
[0057] ;
[0058] in, represents the risk assessment value, represents the normalized value of motion coupling degree, represents the weight factor of the normalized value of the degree of motion coupling, Indicates the normalized value of the operation synchronization rate. Represents the weight factor of the normalized value of the operation synchronization rate, Represents the normalized value of the constraint deviation.
[0059] Preferably, the step of controlling the mobile phone during driving according to the risk assessment value comprises:
[0060] Calculating a risk assessment difference based on the risk assessment value and a preset standard risk assessment value;
[0061] Determine whether the risk assessment difference meets a preset threshold interval range;
[0062] When the risk assessment difference does not meet the preset threshold interval range and is less than the minimum value of the preset threshold interval range, the driving process is determined to be a low-risk interval, and a first risk instruction is generated. According to the first risk instruction, the first control of the mobile phone is released, wherein the first risk refers to sending the first risk instruction to the mobile phone based on the acquisition terminal, and after the mobile phone receives the first risk instruction, it modifies the cgroup configuration of the Linux kernel to obtain an independent cgroup configuration, allocates independent permission resources to the voice / navigation process based on the independent cgroup configuration, obtains voice / navigation application permissions, and allows the mobile phone to perform voice interaction and navigation operations based on the voice / navigation application permissions;
[0063] When the risk assessment difference satisfies the preset threshold interval range, the driving process is determined to be a medium risk interval, and a second risk instruction is generated. According to the risk instruction, the second control of the mobile phone control is released, wherein the second risk refers to sending the second risk instruction to the mobile phone based on the collection terminal, and the mobile phone modifies the Telephony service whitelist verification logic after receiving the second risk instruction, and the whitelist verification logic releases the whitelist restriction based on the second risk instruction, when the whitelist restriction is released, and a touch screen operation inhibition instruction is generated, the touch screen inhibition driver is started based on the touch screen operation inhibition instruction, and the touch screen operation is suppressed based on the touch screen inhibition driver;
[0064] When the risk assessment difference does not meet the preset threshold interval range and is greater than the maximum value of the preset threshold interval range, the driving process is determined to be a high-risk interval, and a third risk instruction is generated. The third control of the mobile phone is released according to the risk instruction, wherein the third risk refers to sending the third risk instruction to the mobile phone based on the acquisition terminal, and after the mobile phone receives the third risk instruction, starting the preset RF front-end dynamic switch based on the third risk instruction, wherein the preset RF front-end dynamic switch executes to open the emergency frequency band RF channel and close other RF channels, and makes the mobile phone only release the SOS emergency call function hardware lock, and the communication module remains disabled.
[0065] The present application also provides a mobile phone control system during driving, including:
[0066] A first acquisition module, used to acquire vehicle operation status data and mobile terminal multimodal sensing data;
[0067] A second acquisition module is used to acquire vehicle CAN bus data information according to the vehicle running status data;
[0068] A third acquisition module is used to acquire a motion coupling degree value and an operation synchronization rate according to the vehicle CAN bus data information and the mobile terminal multimodal sensing data;
[0069] A fourth acquisition module is used to acquire a driver's driving position coordinate offset, and acquire a spatial constraint deviation value according to the multimodal sensing data of the mobile terminal and the driving position coordinate offset;
[0070] The first calculation module is used to calculate a risk assessment value according to the motion coupling degree value, the operation synchronization rate and the constraint deviation value, and to control the mobile phone during driving according to the risk assessment value.
[0071] Preferably, the third acquisition module comprises:
[0072] A first acquisition unit, configured to acquire the acceleration of an accelerometer built into the mobile phone according to the multimodal sensing data of the mobile terminal, and acquire a first vehicle speed and a steering wheel angle based on vehicle CAN bus data information;
[0073] A first correction unit, configured to correct the first vehicle speed based on a GPS signal and an inertial navigation system to obtain a corrected vehicle speed;
[0074] a second acquisition unit, configured to acquire a vehicle wheelbase, a vehicle gross mass, a front wheel cornering stiffness, and a rear wheel cornering stiffness, and acquire a stability coefficient according to the vehicle wheelbase, the vehicle gross mass, the front wheel cornering stiffness, and the rear wheel cornering stiffness;
[0075] A third acquisition unit, used for acquiring a lateral acceleration according to the corrected vehicle speed, the vehicle wheelbase, the steering wheel angle and the stability coefficient;
[0076] a fourth acquisition unit, configured to acquire an acceleration deviation ratio according to the lateral acceleration and the acceleration;
[0077] a fifth acquisition unit, for acquiring a driver's concentration time of looking forward within a preset time, and calculating a driving distraction correction factor according to the concentration time and a preset driving operation time, and acquiring a corrected acceleration deviation ratio according to the driving distraction correction factor and the acceleration deviation ratio, and using the corrected acceleration deviation ratio as a motion coupling degree value.
[0078] The present application also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above method when executing the computer program.
[0079] The present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the above method are implemented.
[0080] The beneficial effects of the present application are as follows: the present invention obtains vehicle operation status data (such as speed, acceleration) and mobile phone multimodal sensor data, combines vehicle CAN bus information (steering wheel angle, throttle opening) with mobile phone sensor data (accelerometer, gyroscope), and uses GPS and inertial navigation system to correct vehicle speed data. The motion coupling degree value is calculated based on the deviation between the steering wheel angle and the mobile phone acceleration to quantify the correlation between the vehicle and computer states; the operation synchronization rate is analyzed by throttle operation and gyroscope response to evaluate the coordination of hand movements; the spatial constraint deviation value is calculated by combining the magnetometer orientation and the driver's position coordinate offset to monitor the driver's abnormal posture. The three indicators are integrated to generate a risk assessment value, and the mobile phone functions are dynamically controlled: basic functions such as voice interaction are opened when the risk is low, touch operation is restricted when the risk is medium, and non-core functions are completely disabled when the risk is high. Through multi-source data fusion and hierarchical control strategies, the system balances emergency communication needs on the premise of ensuring driving safety, accurately identifies distracted driving behavior, and solves driving safety hazards caused by mobile phone use. BRIEF DESCRIPTION OF THE DRAWINGS
[0081] Figure 1 The figure is a schematic diagram of a method flow of an embodiment of the present application.
[0082] Figure 2 A schematic diagram of the system structure of an embodiment of the present application.
[0083] Figure 3 A schematic diagram of the internal structure of a computer device according to an embodiment of the present application.
[0084] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0085] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0086] like Figure 1-3 As shown, the present application provides a method for controlling a mobile phone during driving, comprising:
[0087] S1. Acquire vehicle operation status data and mobile terminal multimodal sensing data;
[0088] S2, acquiring vehicle CAN bus data information according to the vehicle running status data;
[0089] S3, acquiring a motion coupling degree value and an operation synchronization rate according to the vehicle CAN bus data information and the multimodal sensing data of the mobile terminal;
[0090] S4, obtaining a driving position coordinate offset of the driver, and obtaining a spatial constraint deviation value according to the multimodal sensing data of the mobile terminal and the driving position coordinate offset;
[0091] S5. Calculate a risk assessment value according to the motion coupling degree value, the operation synchronization rate and the constraint deviation value, and control the mobile phone during driving according to the risk assessment value.
[0092] As described in the above steps S1-S5, since the existing mobile phones usually use driving mode to restrict the mobile phones during management and control, and the mobile phone needs to be manually controlled to release the driving mode, which will cause the driver to be distracted and cause dangerous driving problems. Therefore, the present invention first obtains the vehicle's operating status data and the mobile terminal's multimodal sensor data, so as to provide basic data for subsequent analysis and management and control. The vehicle operation status data reflects the driving conditions of the vehicle, such as speed, acceleration, etc., while the built-in sensor information of the mobile phone can reflect the dynamic changes of the mobile phone. The acquisition of this data is the premise for a comprehensive assessment of driving risks. At the same time, it detects whether the vehicle is in a state of driving, accelerating, turning, etc., and whether the mobile phone is moving, rotating, etc., which is helpful to discover potential distracted driving behaviors. Then, the vehicle CAN bus data information is obtained according to the vehicle operation status data. In this way, the mobile phone sensor information (accelerometer, gyroscope, magnetometer data) and vehicle CAN bus data (the source of key information such as steering wheel angle and throttle opening) closely related to mobile phone control are further screened and extracted through the vehicle operation status data, making the data more targeted. At the same time, it can also more accurately associate the vehicle driving status with the mobile phone status. For example, when the vehicle turns, the steering wheel angle information and the mobile phone sensor information are combined to determine whether the driver's driving operation is affected by operating the mobile phone, and then the first vehicle speed is corrected based on the GPS signal and the inertial navigation system to obtain the corrected vehicle speed. Then, the vehicle speed is corrected through two different positioning and navigation technologies, which can improve the accuracy of the vehicle speed. The speed obtained by the vehicle CAN bus may have certain errors, while the GPS signal and inertial navigation system can correct the speed from different angles, so that the final corrected speed is closer to the actual driving speed of the vehicle. This helps to make the subsequent calculation and analysis based on the accurate speed more reliable, so as to more accurately evaluate the relationship between the vehicle's motion state and the use of mobile phones. At the same time, in order to ensure the accuracy and reliability of the entire risk assessment process, as accurate speed data as possible is required. Since the speed obtained by a single data source may have deviations, the use of GPS signals and inertial navigation systems for correction can make up for possible errors and provide a more reliable data basis for subsequent steps. This is an important link to improve the accuracy and reliability of the system. Then, the motion coupling degree value and operation synchronization rate are obtained based on the vehicle CAN bus data information and the multimodal sensor data of the mobile terminal. The steering wheel angle and throttle opening are important indicators that reflect the driver's driving operation intention and the dynamic response of the vehicle.Obtaining the motion coupling degree value can quantify the degree of correlation between the vehicle motion and the mobile phone status. For example, when the vehicle is turning, if the acceleration change of the mobile phone has a large deviation from the lateral acceleration of the vehicle caused by the steering wheel turning, it means that the driver may be operating the mobile phone, which increases the driving risk. At the same time, starting from the key vehicle control data, a motion coupling index related to the mobile phone status is constructed to provide a key quantitative basis for risk assessment. In this way, the potential interference relationship between the driver's operation of the vehicle and the use of the mobile phone can be deeply analyzed. Next, the operation synchronization rate is obtained according to the throttle opening information and the gyroscope response information, so that the operation synchronization rate can be It reflects the synchronization between the driver's hand movement when operating the accelerator and the mobile phone operation (the dynamic changes of the mobile phone are reflected through the gyroscope response). If the operation synchronization rate is low, it means that the driver may be distracted by the mobile phone during driving, affecting the normal control of the accelerator, thereby endangering driving safety. At the same time, by comparing the accelerator operation and the dynamic changes of the mobile phone, the driving risk is evaluated from the perspective of operation coordination, further enriching the dimension of risk assessment, and more comprehensively detecting whether the driver has distracted driving behavior. Secondly, the driver's driving position coordinate offset is obtained, and the spatial constraint is obtained according to the multimodal sensing data of the mobile terminal and the driving position coordinate offset. Deviation value, through the driving position coordinate offset, reflects the position change of the driver in the driver's seat. The spatial constraint deviation value calculated by combining the magnetometer azimuth and head posture information can determine whether the driver's body posture is normal, whether there is abnormal body deviation or head rotation due to focusing on the mobile phone. For example, if the driver's body is excessively offset to one side and the head is facing the mobile phone, it may mean that he is operating the mobile phone and distracting the driving attention. At the same time, starting from the driver's body posture, considering the impact of spatial position factors on driving risks, combined with the previous vehicle and mobile phone operation data, a more comprehensive risk assessment system is formed to improve the reliability of distracted driving behavior detection. Finally, the risk assessment value is calculated according to the motion coupling degree value, operation synchronization rate and constraint deviation value, and the mobile phone is controlled during driving according to the risk assessment value. In this way, a comprehensive risk assessment value is obtained by combining multiple key indicators calculated in the previous steps, which can accurately measure the risk level in the driving process. The risk level can be obtained in advance. Under the premise of ensuring driving safety, the mobile phone control is reasonably released and the driver is allowed to use the functions restricted by the mobile phone. This not only balances the needs of safety and emergency communication, but also solves the problem of drivers being distracted by using mobile phones and causing dangerous driving.
[0093] In one embodiment, the step S3 of acquiring the motion coupling degree value and the operation synchronization rate according to the vehicle CAN bus data information and the mobile terminal multimodal sensing data includes:
[0094] S301, acquiring the acceleration of the accelerometer built into the mobile phone according to the multimodal sensing data of the mobile terminal, and acquiring the first vehicle speed and the steering wheel angle based on the vehicle CAN bus data information;
[0095] S302, correcting the first vehicle speed based on the GPS signal and the inertial navigation system to obtain a corrected vehicle speed;
[0096] S303, obtaining a vehicle wheelbase, a vehicle gross mass, a front wheel cornering stiffness, and a rear wheel cornering stiffness, and obtaining a stability coefficient according to the vehicle wheelbase, the vehicle gross mass, the front wheel cornering stiffness, and the rear wheel cornering stiffness, wherein the calculation formula is:
[0097] ;
[0098] in, represents the stability coefficient, represents the total mass of the vehicle, Indicates wheelbase, represents the front wheel cornering stiffness, Indicates the rear wheel cornering stiffness;
[0099] S304, obtaining lateral acceleration according to the corrected vehicle speed, vehicle wheelbase, steering wheel angle and stability coefficient, wherein the calculation formula is:
[0100] ;
[0101] in, represents the lateral acceleration, Indicates vehicle speed. Indicates wheelbase, Indicates the steering wheel angle, represents the stability coefficient;
[0102] S305, obtaining an acceleration deviation ratio according to the lateral acceleration and the acceleration;
[0103] S306, obtaining the driver's attention time of looking forward within a preset time, and calculating the driving distraction correction factor according to the attention time and the preset driving operation time, the calculation formula is:
[0104] ;
[0105] in, represents the distracted driving correction factor, Indicates the length of time you focus on something. Indicates the preset driving operation time. represents a natural constant;
[0106] S307: Obtain a corrected acceleration deviation ratio according to the driving distraction correction factor and the acceleration deviation ratio, and use the corrected acceleration deviation ratio as a motion coupling degree value.
[0107] As described in the above steps S301-S307, since the vehicle speed is one of the key parameters of the vehicle driving state, the present invention first obtains the acceleration of the accelerometer built into the mobile phone according to the multimodal sensing data of the mobile terminal, and obtains the first vehicle speed and steering wheel angle based on the vehicle CAN bus data information, wherein the definition of the vehicle CAN (Controller Area Network) bus data information involves multiple aspects, including but not limited to data frame structure, signal analysis, standard definition of physical layer and data link layer, and selection of application layer protocol, and the vehicle speed can directly affect the vehicle's handling performance and driving stability, and the vehicle has different response characteristics to the driver's operation at different speeds. For example, when driving at high speed, the steering and acceleration of the vehicle require more cautious operation, and a small mistake may lead to serious consequences. At the same time, it can also provide the necessary data basis for the subsequent calculation of indicators such as lateral acceleration, and because the calculation of lateral acceleration is closely related to the vehicle speed, the accurate acquisition of the vehicle speed can ensure the accuracy of the lateral acceleration calculation, thereby more accurately evaluating the relationship between the vehicle's motion state and the use of the mobile phone, and secondly, the vehicle speed is in a core position in the entire vehicle motion analysis and is an important link to associate other motion parameters. In building a system based on vehicle dynamics and mobile phone control, first obtaining the vehicle speed is the logical starting point for a series of subsequent precise calculations and risk assessments. Without vehicle speed data, the accuracy of subsequent steps cannot be guaranteed. Then the vehicle wheelbase, vehicle gross mass, front wheel cornering stiffness and rear wheel cornering stiffness are obtained, and the stability coefficient is obtained based on the vehicle's wheelbase, vehicle gross mass, front wheel cornering stiffness and rear wheel cornering stiffness. These vehicle parameters (wheelbase, gross mass, front and rear wheel cornering stiffness) jointly determine the vehicle's handling stability. The wheelbase affects the turning radius and driving trajectory of the vehicle, the total mass determines the inertia of the vehicle, and the front and rear wheel cornering stiffness reflects the deformation characteristics of the tire under the action of lateral force, which in turn affects the cornering behavior of the vehicle. The stability coefficient calculated by the formula can quantify the stability of the vehicle under different driving conditions. The formula is derived from the vehicle's two-degree-of-freedom model (Bicycle Model) and is derived through moment balance. The difference in lateral force between the front and rear wheels will produce a yaw moment, which affects the steering characteristics of the vehicle. At the same time, the formula quantifies the steering stability characteristics of the vehicle from a dynamic perspective through the vehicle mass, wheelbase and tire cornering stiffness. The core logic is that the balance of the lateral forces of the front and rear wheels determines the steering characteristics and the mass and wheelbase affect the inertia distribution and torque relationship. This calculation method is the theoretical basis of vehicle stability control (such as ESP) and is also a key tool for optimizing handling safety in automotive engineering.Then the stability coefficient plays a key correction and adjustment role in the subsequent calculation of lateral acceleration, so that the calculation result of lateral acceleration is more consistent with the actual handling performance and stability of the vehicle, and the accuracy of the vehicle motion state assessment is improved. Then the lateral acceleration is obtained according to the corrected vehicle speed, vehicle wheelbase, steering wheel angle and stability coefficient, wherein the lateral acceleration is an important indicator to measure the deviation of the vehicle from straight driving under the action of turning or lateral force. It intuitively reflects the dynamic changes of the vehicle in the lateral direction. By comparing with the acceleration of the mobile phone, it can be judged whether the driver has an abnormal deviation between the acceleration of the mobile phone and the actual movement of the vehicle due to operating the mobile phone when the vehicle generates lateral acceleration (such as turning), thereby detecting possible distracted driving behavior. For example, if the vehicle generates a certain lateral acceleration when turning, but the mobile phone also has a large and unrelated acceleration change, it may mean that the driver is operating the mobile phone instead of focusing on driving. At the same time, the lateral acceleration is a key intermediate variable connecting vehicle control and mobile phone state analysis. The lateral acceleration is calculated by combining the previously obtained information such as vehicle speed, vehicle structural parameters and steering wheel angle, which provides a directly comparable data basis for further quantifying the degree of coupling between vehicle and mobile phone motion, and is a key step in realizing the detection from vehicle motion to distracted driving. Finally, the acceleration deviation ratio is obtained based on the lateral acceleration and acceleration, so that the acceleration deviation ratio quantitatively represents the degree of correlation between vehicle motion (reflected by lateral acceleration) and mobile phone motion (reflected by acceleration). If the ratio is large, it means that there is a large deviation between vehicle motion and mobile phone motion, and the driver may operate the mobile phone during driving, which increases the driving risk. This ratio provides an important dimension for subsequent comprehensive risk assessment, enabling risk assessment to comprehensively consider the dynamic relationship between the vehicle and the mobile phone, and more comprehensively and accurately judge the safety status during driving. At the same time, when analyzing the relationship between vehicle and mobile phone motion, a method is needed to quantify the acceleration relationship between the two so as to incorporate it into the overall risk assessment system. Calculating the acceleration deviation ratio and defining it as part of the motion coupling degree value can express this relationship concisely and clearly, providing standardized and comparable data indicators for subsequent risk assessment based on multiple factors, making the entire control method more logically complete and rigorous, and then obtaining the driver's focus time looking forward within the preset time, and calculating the driving distraction correction factor based on the focus time and the preset driving operation time, so that the driver's focus time is an important factor in assessing the degree of driving distraction. The driving distraction correction factor is calculated by comparing with the preset driving operation time, where the definition of the formula is: the focus time is a variable that directly reflects the driver's concentration level. The longer the focus time, the more focused the driver is on driving and the less likely he is to be distracted; conversely, the shorter the focus time, the greater the possibility of distraction.In the formula, the concentration time is involved in the calculation, which will have a direct impact on the result of the driving distraction correction factor. The preset driving operation time provides a time reference standard for the calculation. In different driving scenarios, the preset driving operation time can be set according to the actual situation. For example, the driving operation time requirements under different road conditions such as urban roads and highways are different. By comparing the calculation with the concentration time, the driver's concentration during this preset time can be measured. The natural constant is a mathematical constant that plays a role in exponential calculations. It makes the formula present a nonlinear change relationship, which is more in line with the complex relationship between the driver's concentration and distraction risk in actual driving scenarios, rather than a simple linear correlation, and the formula is a deformation of the S-type function (logistic function). With the concentration time. The increase in the exponential part of the formula The result will change, the entire denominator will increase, resulting in a gradual decrease in the value of the driving distraction correction factor. This means that the longer the concentration time, the smaller the driving distraction correction factor, that is, the smaller the correction effect on the motion coupling degree value, because the possibility of driver distraction is small at this time, and the original motion coupling degree value can better reflect the actual situation; conversely, the shorter the concentration time, the larger the driving distraction correction factor, and the greater the correction effect on the motion coupling degree value, because the possibility of driver distraction is large at this time, and the original motion coupling degree value needs to be adjusted more to more accurately assess the driving risk, and the impact of the driver's concentration on the motion coupling degree during driving can be considered. If the driver's concentration time is short, he may be more easily distracted by operating the mobile phone. At this time, the correction factor will adjust the acceleration deviation ratio so that the motion coupling degree value can more accurately reflect the actual driving risk. Finally, the corrected acceleration deviation ratio is obtained according to the driving distraction correction factor and the acceleration deviation ratio, and the corrected acceleration deviation ratio is used as the motion coupling degree value. In this way, the final motion coupling degree value comprehensively considers multiple factors such as vehicle motion parameters, mobile phone acceleration, and driver concentration time. It comprehensively reflects the degree of correlation between vehicle motion and mobile phone use with a quantitative value, providing key basic data for subsequent comprehensive risk assessment. A larger motion coupling value indicates a high possibility of abnormal correlation between vehicle and mobile phone motion during driving, that is, there is a higher risk of distracted driving.
[0108] In one embodiment, the step S3 of acquiring the motion coupling degree value and the operation synchronization rate from the vehicle CAN bus data information and the mobile terminal multimodal sensing data further includes:
[0109] S308, obtaining throttle opening information according to the vehicle CAN bus data information;
[0110] S309, acquiring response information of a gyroscope built into the mobile phone according to the multimodal sensing data of the mobile terminal;
[0111] S3010, acquiring a plurality of throttle opening values within a preset time according to the throttle opening information, and acquiring a throttle opening curve according to the plurality of throttle opening values and the preset time;
[0112] S3011, acquiring a plurality of gyroscope response speeds within a preset time according to the gyroscope response information, and acquiring a gyroscope response speed curve according to the plurality of gyroscope response speeds and the preset time;
[0113] S3012, comparing the throttle opening curve and the gyroscope response speed curve in sequence based on a preset timestamp to obtain a plurality of operation reaction times of throttle opening-gyroscope response speed;
[0114] S3013, obtaining a plurality of operation reaction deviation times according to the plurality of operation reaction times and preset operation reaction times;
[0115] S3014: Acquire an operation reaction deviation achievement rate according to the multiple operation reaction deviation times and the preset standard deviation time, and use the operation reaction deviation achievement rate as the operation synchronization rate.
[0116] As described in the above steps S308-S3014, since the change in throttle opening reflects the driver's control intention and operation frequency of the vehicle power output, the present invention first obtains the throttle opening information according to the vehicle CAN bus data information, and then obtains the gyroscope response information built into the mobile phone according to the mobile terminal multimodal sensing data, wherein the mobile terminal multimodal sensing data is mainly obtained based on the sensor in the mobile phone, and then obtains multiple throttle opening values within a preset time according to the throttle opening information, and obtains a throttle opening curve according to the multiple throttle opening values and the preset time. In this way, by obtaining multiple opening values within the preset time and drawing a curve, the dynamic process of throttle operation can be clearly presented, such as whether there are frequent fluctuations or abnormal opening changes. At the same time, it also provides a throttle operation data basis in a time series for subsequent comparison with the gyroscope response information, which is helpful for analyzing whether the driver is distracted by operating the mobile phone at different throttle operation stages. When studying the correlation between driving operation and mobile phone use, throttle operation is one of the key elements. Displaying its changes over time in the form of a curve can intuitively capture the detailed features of the operation, which is an important pre-step for subsequent precise analysis and judgment, and provides necessary data visualization support for comprehensive evaluation of driving behavior. Then, multiple gyroscope response speeds within a preset time are obtained according to the gyroscope response information, and a gyroscope response speed curve is obtained according to the multiple gyroscope response speeds and the preset time. In this way, the gyroscope response speed can reflect the dynamic changes of the mobile phone in space, including rotation, tilt and other motion states. Obtaining its curve can show the trend of the movement trajectory of the mobile phone during driving, and combined with the throttle opening curve, the driver's operation synchronization can be analyzed from different angles (vehicle power control and mobile phone dynamics). If there is an obvious incoordination between the two curves, it may indicate that the driver is distracted by operating the mobile phone, and the motion state of the mobile phone is an important basis for judging whether the driver is distracted. By constructing the gyroscope response speed curve, the dynamic behavior of the mobile phone can be quantified and correlated with the vehicle operation data for analysis, making the detection of distracted driving more scientific and comprehensive, and enriching the data source of risk assessment. Next, the throttle opening curve and the gyroscope response speed curve are sequentially compared based on the preset timestamp to obtain multiple operation reaction times of the throttle opening-gyroscope response speed, so as to determine the time interval between the throttle operation and the mobile phone movement change at different time points, that is, the operation reaction time. These time data can reflect whether the driver is distracted by operating the mobile phone while operating the vehicle components, and the delayed effect of distracted operation on the vehicle operation response. For example, if the mobile phone also has abnormal movement when the throttle opening changes significantly, and the operation reaction time is too short or too long, it may indicate that the driver's attention is distracted and the driving behavior is risky. At the same time, this step realizes the accurate comparison of vehicle operation and mobile phone dynamics in the time dimension, which is a key link in quantifying the correlation between the two.By obtaining the operation reaction time, a direct data basis is provided for further evaluation of the operation synchronization, which helps to accurately judge the driver's driving concentration. Secondly, multiple operation reaction deviation times are obtained according to multiple operation reaction times and preset operation reaction times, so as to calculate the deviation between the actual operation reaction time and the preset standard operation reaction time, and further highlight the difference between the driver's operation behavior and normal driving expectations. A larger deviation time indicates that the driver's operation synchronization is poor, and there may be a situation of distracted operation of the mobile phone. These deviation time data can more carefully describe the abnormal degree of driving behavior, provide more distinguishing indicators for risk assessment, and enhance the accuracy of driving risk judgment. At the same time, in order to more accurately evaluate the rationality of the driver's operation, it is necessary to compare and analyze the actual operation reaction time with the standard value. By calculating the deviation time, the evaluation of operation synchronization can be upgraded from a simple time record to a level of comparison with a standard reference, making the risk assessment more scientific and standardized. Finally, the operation reaction deviation achievement rate is obtained according to multiple operation reaction deviation times and preset standard deviation times, and the operation reaction deviation achievement rate is used as the operation synchronization rate. In this way, the operation reaction deviation achievement rate (operation synchronization rate) comprehensively reflects the driver's synchronization performance between throttle operation and mobile phone operation in the form of percentage. A synchronization rate close to 100% indicates highly coordinated operations, while a lower synchronization rate strongly suggests that the driver may be distracted by using a mobile phone during driving, which leads to asynchronous operations and increases the risk of accidents. This indicator provides a key quantitative dimension for overall risk assessment, making the risk assessment of different driving scenarios and driver behaviors comparable and consistent, and facilitating the formulation of a unified management and control strategy. Aggregating multiple operation reaction deviation times into a comprehensive operation synchronization rate can simplify and standardize the evaluation results of driver operation coordination. In the entire management and control method system, the operation synchronization rate is an important intermediate variable, which is convenient for comprehensive calculation with other risk assessment indicators (such as motion coupling degree value, spatial constraint deviation value, etc.), so as to obtain a comprehensive and accurate driving risk assessment value and achieve effective control of mobile phone use during driving.
[0117] In one embodiment, the step S4 of obtaining the driver's driving position coordinate offset and obtaining the spatial constraint deviation value according to the multimodal sensing data of the mobile terminal and the driving position coordinate offset includes:
[0118] S401, acquiring the azimuth of a magnetometer built into the mobile phone according to the multimodal sensing data of the mobile terminal;
[0119] S402, obtaining a current front-to-rear adjustment amount and a current left-to-right adjustment amount of the driver's driving position relative to a standard driving position based on a displacement sensor on a seat rail;
[0120] S403, calculating the driving position coordinate offset according to the current front-to-back adjustment amount and the current left-to-right adjustment amount, and the calculation formula is:
[0121] ;
[0122] in, Indicates the driving position coordinate offset, Indicates the current front and rear adjustment amount. Indicates the current left and right adjustment amount;
[0123] S404, calculating the driving position coordinate deviation according to the driving position coordinate deviation and a preset standard threshold;
[0124] S405, obtaining the driver's head posture information based on the in-vehicle camera, and extracting the driver's head posture information based on the OpenPose algorithm to obtain the nose tip coordinates;
[0125] S406, obtaining the center coordinates of the driver's driving seat, wherein the center coordinates are the plane center coordinates of the driver's seat cushion, and the center coordinates are used as the coordinate origin;
[0126] S407, vertically extending the coordinate origin toward the front direction of the vehicle to the edge of the driver's seat to obtain edge coordinates, and obtaining a vehicle front direction vector according to the edge coordinates and the coordinate origin;
[0127] S408, acquiring a coordinate system of the center coordinates, and projecting the nose tip coordinates into the coordinate system to obtain first nose tip coordinates;
[0128] S409, obtaining a nose tip projection vector according to the first nose tip coordinate and the coordinate origin, and calculating an angle between the nose tip and the front of the vehicle according to the nose tip projection vector and the front direction vector of the vehicle, the calculation formula is:
[0129] ;
[0130] in, Indicates the angle between the nose tip and the front of the vehicle. represents the nose tip projection vector, Represents the vehicle head direction vector;
[0131] S4010, taking the angle between the nose tip and the front of the vehicle as the nose tip-vehicle front azimuth, and obtaining a deviation azimuth according to the magnetometer azimuth and the nose tip-vehicle front azimuth;
[0132] S4011. Perform weighted calculation on the deviation azimuth and the driving position coordinate offset to obtain a comprehensive deviation value, and use the comprehensive deviation value as a space constraint deviation value.
[0133] As described in the above steps S401-S4011, the present invention first obtains the azimuth of the magnetometer built into the mobile phone based on the multimodal sensing data of the mobile terminal, and then obtains the current front and rear adjustment amount and the current left and right adjustment amount of the driver's driving position relative to the standard driving position based on the displacement sensor on the seat rail, so that the adjustment amount of the driving position can reflect the change of the driver's position in the car. In normal driving, the driver usually maintains a relatively stable sitting posture, but if there is a large front and rear or left and right adjustment, it may indicate that the driver's body posture is unstable or there is abnormal behavior, such as changing posture to operate the mobile phone. At the same time, these adjustment amount data provide basic information for the subsequent evaluation of the driver's seat coordinate offset, which helps to determine whether the driver is in a normal driving operation state, and it is necessary to obtain the adjustment amount of the driver's seat as the starting point for analyzing the driver's body posture. It is the direct data source for the subsequent calculation of the driver's position coordinate offset. By monitoring this data, the abnormal change of the driver's position can be preliminarily discovered, so as to further explore its impact on driving safety. It is the basic link for building a complete risk assessment system. Then, the driver's position coordinate offset is calculated according to the current front-to-back adjustment amount and the current left-to-right adjustment amount. The driver's position coordinate offset integrates the front-to-back and left-to-right adjustment amounts into a quantitative index through mathematical calculation, which more intuitively indicates the degree of deviation of the driver's position from the standard position. A larger coordinate offset may mean that the driver's body deviates from the optimal driving posture, increasing the difficulty and risk of misoperation of the vehicle control components. It may also be associated with behaviors such as distracted operation of mobile phones. At the same time, the adjustment amounts in the two directions are integrated into a single offset index, which is convenient for unified analysis and comparison with other indicators in subsequent risk assessment. It simplifies the data processing process, so that the abnormal situation of the driver's position can be presented in a concise and clear way, providing an important quantitative basis for judging driving risks. Then, the driver's position coordinate offset is calculated according to the driver's position coordinate offset and the preset standard threshold. By comparing with the preset standard threshold, it can be clear whether the current driver's position coordinate offset exceeds the normal range. If it exceeds the threshold, it means that there is a large abnormality in the driver's body position and the cause needs to be further analyzed. It is likely related to distracted driving behavior. At the same time, it realizes the standardized judgment of the driving position deviation, so that the risk assessment has clear boundaries and reference standards, and improves the accuracy and reliability of the assessment. Next, the driver's head posture information is obtained based on the in-vehicle camera, and the driver's head posture information is extracted based on the OpenPose algorithm to obtain the nose tip coordinates. The driver's head posture is an important clue to reflect the direction of his attention concentration.By obtaining head posture information and extracting nose tip coordinates, the position and orientation changes of the head can be accurately tracked. For example, if the head turns frequently or deviates from the normal driving line of sight for a long time, and the nose tip coordinates show that the head is facing the position of the mobile phone, then it is likely that the driver is paying attention to the mobile phone rather than the road conditions, increasing the risk of accidents. Among them, head posture plays a key role in distracted driving detection. Using advanced algorithms to extract nose tip coordinates can more accurately locate the head position. Compared with directly observing the head posture, it provides more accurate quantitative data, laying the foundation for subsequent steps such as calculating the angle between the nose tip and the front of the vehicle, and enhancing the scientific nature of the judgment of the driver's attention direction. Then the center coordinates of the driver's driving seat are obtained, where the center coordinates are the plane center coordinates of the driver's seat cushion, and the center coordinates are used as the coordinate origin. Determining the coordinate origin provides a unified reference frame for subsequent calculations of vectors and angles. Taking the center of the driver's seat as the origin, it is convenient to describe the relative relationship of the driver's head, nose tip and other positions relative to the driver's seat, making the calculation more standardized and accurate. At the same time, it is also helpful to analyze the relationship between the position changes of various parts of the driver's body and the direction of the vehicle in the same coordinate system, providing a geometric basis for the comprehensive assessment of driving risks, and establishing a reasonable coordinate system is the prerequisite for spatial position analysis. Selecting the center of the driver's seat cushion as the origin is in line with the concept of the geometric center of the human body in the driver's seat, which is convenient for subsequent calculations based on vectors and angles, making the entire analysis process more rigorous in mathematics and clearer in logic, ensuring the consistency of analysis under different vehicles and driving scenarios. Secondly, the coordinate origin is vertically extended to the edge of the driver's seat in the direction of the vehicle's front to obtain the edge coordinates, and the vehicle's front direction vector is obtained based on the edge coordinates and the coordinate origin. The vehicle's front direction vector clarifies the vehicle's front direction and provides a reference direction for the subsequent calculation of the angle between the nose tip and the vehicle's front. By determining this vector, the degree of deviation of the driver's head relative to the vehicle's driving direction can be quantified, and combined with the nose tip coordinates, it can be determined whether the driver's head has deviated from the normal driving field of vision, and further evaluated whether there is distracted driving behavior. Then, the coordinate system of the central coordinates is obtained, and the nose tip coordinates are projected into the coordinate system to obtain the first nose tip coordinates. The projection operation then converts the nose tip coordinates into a coordinate system with the center of the driving position as the origin, making the relative relationship between the nose tip position and the vehicle and the driving position more intuitive and easy to calculate, and facilitating the subsequent calculation of the nose tip projection vector and the angle with the vehicle's head direction vector, ensuring that all position information is processed within a unified mathematical framework, thereby improving the accuracy and reliability of the analysis. At the same time, in the presence of multiple coordinate systems, in order to perform effective position and angle analysis, the nose tip coordinates need to be unified into the driver's seat center coordinate system.The projection operation realizes this conversion, which enables data from different sources to work together under the same mathematical model. It is a key step in accurate geometric analysis and ensures the rationality and effectiveness of subsequent calculations. Next, the nose tip projection vector is obtained according to the first nose tip coordinate and the coordinate origin, and the angle between the nose tip and the front of the vehicle is calculated according to the nose tip projection vector and the vehicle front direction vector. The angle between the nose tip and the front of the vehicle accurately quantifies the deviation angle between the driver's head direction and the vehicle's driving direction. A larger angle indicates that the driver's head has deviated from the normal driving line of sight and may be paying attention to other things in the car, such as a mobile phone, thereby increasing the driving risk. Secondly, the angle between the nose tip and the front of the vehicle is used as the nose tip-vehicle front azimuth, and the deviation azimuth is obtained according to the magnetometer azimuth and the nose tip-vehicle front azimuth. In this way, the magnetometer azimuth (reflecting the orientation information of the mobile phone) and the nose tip-vehicle front azimuth can be combined to further analyze the relationship between the mobile phone orientation and the driver's head orientation. The deviation azimuth can highlight the inconsistency between the two. If the deviation is large, it means that the driver may be operating a mobile phone and his head is facing the direction of the mobile phone, which increases the driving risk. At the same time, when judging distracted driving, it is necessary not only to consider the individual orientations of the head and the mobile phone, but also to analyze the relative relationship between them. By calculating the deviation azimuth, it is possible to more accurately capture the abnormal head and body posture changes that may be caused by the driver's mobile phone operation, further improve the detection mechanism of distracted driving behavior, and improve the accuracy and reliability of risk assessment. Finally, the deviation azimuth and the driving position coordinate offset are weighted to obtain a comprehensive deviation value, wherein the sum of the weights of the deviation azimuth and the driving position coordinate offset is equal to 1, and the comprehensive deviation value is used as the spatial constraint deviation value. In this way, the spatial constraint deviation value comprehensively considers the deviation of the driver's body position and the deviation of the head and the mobile phone orientation, and quantifies the overall spatial abnormality of the driver during driving with a unified indicator. Then, this value can more comprehensively reflect the driver's distracted driving degree, and provide an important comprehensive indicator for subsequent risk assessment, so that risk assessment can more accurately reflect the actual safety status during driving.
[0134] In one embodiment, the step S5 of calculating the risk assessment value according to the motion coupling degree value, the operation synchronization rate and the constraint deviation value comprises:
[0135] S501, normalizing the motion coupling degree value to obtain a motion coupling degree normalized value;
[0136] S502, normalizing the operation synchronization rate to obtain a normalized value of the operation synchronization rate;
[0137] S503, normalizing the constraint deviation value to obtain a constraint deviation normalized value;
[0138] S504: Calculate a risk assessment value according to the normalized value of the motion coupling degree, the normalized value of the operation synchronization rate, and the normalized value of the constraint deviation, wherein the calculation formula is:
[0139] ;
[0140] in, represents the risk assessment value, represents the normalized value of motion coupling degree, represents the weight factor of the normalized value of the degree of motion coupling, Indicates the normalized value of the operation synchronization rate. Represents the weight factor of the normalized value of the operation synchronization rate, Represents the normalized value of the constraint deviation.
[0141] As described in the above steps S501-S504, the present invention first normalizes the motion coupling degree value to obtain the motion coupling degree normalization value, and converts the motion coupling degree value into a unified standard range (usually between 0 and 1) through normalization. The advantage of this is that the motion coupling degree values obtained in different vehicles and different driving scenarios are comparable. For example, in a small car and a large truck, due to the different characteristics of the vehicles themselves, the original motion coupling degree values may be very different, but after normalization, they can be evaluated on the same scale, and can facilitate subsequent comprehensive calculations with other normalized indicators (such as the operation synchronization rate normalization value and the constraint deviation normalization value), ensuring that each indicator has the same weight benchmark in the risk assessment calculation, avoiding the excessive or insufficient influence of a certain indicator in the calculation due to the difference in numerical magnitude, and then the operation synchronization rate is normalized to obtain the operation synchronization rate normalization value, which is similar to the normalization of the motion coupling degree value. After the operation synchronization rate is normalized, it can have a consistent measurement standard under different driving conditions and driver behavior patterns. Regardless of the differences in the vehicle's power system and driving habits, the normalized operation synchronization rate can reflect the synchronization of throttle operation and mobile phone operation in the same way, and is convenient for linear combination or weighted calculation with other indicators in comprehensive risk assessment, ensuring that the operation synchronization rate can accurately reflect its impact on driving safety in the overall risk assessment, avoiding assessment bias due to the particularity of the original data. At the same time, in multi-indicator risk assessment, the operation synchronization rate is an important dimension, but since the data generation environment and value range may vary due to various factors, normalization is necessary. Through this step, the operation synchronization rate can be converted into a universal form that can work with other indicators, providing a standardized data basis for accurately calculating the risk assessment value, and then the constraint deviation value is normalized to obtain the constraint deviation normalized value, which reflects the deviation of spatial constraints such as the driver's body position and head posture. After normalization, it can be comprehensively considered with other normalized indicators at the same level and standard. For example, due to differences in the spatial layout of driving seats and driving habits of different models, the original constraint deviation values may be very different. Normalization makes them have universal comparative significance, and the spatial constraint factors can be involved in the calculation with appropriate weights in the risk assessment, accurately reflecting the degree of influence of the driver's abnormal body posture on driving safety during driving, and together with other factors, forming a comprehensive risk assessment system. Finally, the risk assessment value is calculated according to the normalized value of the motion coupling degree, the normalized value of the operation synchronization rate and the normalized value of the constraint deviation. In this way, the three normalized key indicators are combined through a specific calculation formula to obtain an assessment value that comprehensively reflects the risk of mobile phone use during driving.This value can comprehensively consider the relationship between vehicle movement and mobile phone, the synchronization of driver operation and the spatial constraints of body posture, and accurately assess driving risks from multiple angles. For example, if the risk assessment value is high, it means that the driver is more likely to be distracted during driving, and corresponding control measures need to be taken (such as limiting mobile phone functions or issuing warnings). A lower risk assessment value indicates that driving behavior is relatively safe and mobile phone use has no obvious impact on driving.
[0142] In one embodiment, the step S5 of controlling the mobile phone during driving according to the risk assessment value includes:
[0143] S505, calculating a risk assessment difference according to the risk assessment value and a preset standard risk assessment value;
[0144] S506: Determine whether the risk assessment difference satisfies a preset threshold range;
[0145] When the risk assessment difference does not meet the preset threshold interval range and is less than the minimum value of the preset threshold interval range, the driving process is determined to be a low-risk interval, and a first risk instruction is generated. According to the first risk instruction, the first control of the mobile phone is released, wherein the first risk refers to sending the first risk instruction to the mobile phone based on the acquisition terminal, and after the mobile phone receives the first risk instruction, it modifies the cgroup configuration of the Linux kernel to obtain an independent cgroup configuration, allocates independent permission resources to the voice / navigation process based on the independent cgroup configuration, obtains voice / navigation application permissions, and allows the mobile phone to perform voice interaction and navigation operations based on the voice / navigation application permissions;
[0146] When the risk assessment difference satisfies the preset threshold interval range, the driving process is determined to be a medium risk interval, and a second risk instruction is generated. According to the risk instruction, the second control of the mobile phone control is released, wherein the second risk refers to sending the second risk instruction to the mobile phone based on the collection terminal, and the mobile phone modifies the Telephony service whitelist verification logic after receiving the second risk instruction, and the whitelist verification logic releases the whitelist restriction based on the second risk instruction, when the whitelist restriction is released, and a touch screen operation inhibition instruction is generated, the touch screen inhibition driver is started based on the touch screen operation inhibition instruction, and the touch screen operation is suppressed based on the touch screen inhibition driver;
[0147] When the risk assessment difference does not meet the preset threshold interval range and is greater than the maximum value of the preset threshold interval range, the driving process is determined to be a high-risk interval, and a third risk instruction is generated. The third control of the mobile phone is released according to the risk instruction, wherein the third risk refers to sending the third risk instruction to the mobile phone based on the acquisition terminal, and after the mobile phone receives the third risk instruction, starting the preset RF front-end dynamic switch based on the third risk instruction, wherein the preset RF front-end dynamic switch executes to open the emergency frequency band RF channel and close other RF channels, and makes the mobile phone only release the SOS emergency call function hardware lock, and the communication module remains disabled.
[0148] As described in the above steps S605-S606, the present invention first calculates the risk assessment difference based on the risk assessment value and the preset standard risk assessment value, so that the calculated risk assessment difference can intuitively reflect the degree of deviation between the current driving condition and the preset safety standard. By quantifying this difference, the risk condition during driving can be judged more accurately. For example, if the risk assessment difference is positive and the value is large, it indicates that the actual risk assessment value far exceeds the preset standard, which means that there is a high risk of distracted driving due to mobile phone use during driving, and this difference provides a clear quantitative basis for subsequent risk judgment, so that risk judgment is no longer a vague qualitative analysis, but is based on the comparison of specific values, which improves the accuracy and objectivity of risk assessment. At the same time, in the risk assessment system, in order to accurately determine whether control measures need to be taken, it is necessary to compare the actual risk assessment value with the preset threshold range.Calculating the difference is an effective way to achieve this comparison. It simplifies the complex risk assessment results into a directly comparable value. It is an important prerequisite for the subsequent decision-making steps, ensuring the scientificity and rigor of the risk judgment. Then, it is determined whether the risk assessment difference meets the preset threshold interval range. When the risk assessment difference does not meet the preset threshold interval range and is less than the minimum value of the preset threshold interval range, the driving process is determined to be a low-risk interval, and a first risk instruction is generated. According to the first risk instruction, the mobile phone control is first released. The first risk refers to sending the first risk instruction to the mobile phone based on the acquisition terminal. After the mobile phone receives the first risk instruction, it modifies the cgroup configuration of the Linux kernel to obtain an independent cgroup configuration. Based on the independent cgroup configuration, independent permission resources are allocated to the voice / navigation process to obtain voice / navigation application permissions. Based on the voice / navigation application permissions, the mobile phone is allowed to perform voice interaction and navigation operations. When the risk assessment difference meets the preset threshold interval range, the driving process is determined to be a medium-risk interval, and a second risk instruction is generated. According to the risk instruction, the mobile phone control is secondly released. The second risk refers to sending the first risk instruction to the mobile phone based on the acquisition terminal. After receiving the first risk instruction, the mobile phone modifies the cgroup configuration of the Linux kernel to obtain an independent cgroup configuration. Based on the independent cgroup configuration, independent permission resources are allocated to the voice / navigation process to obtain voice / navigation application permissions. Based on the voice / navigation application permissions, the mobile phone is allowed to perform voice interaction and navigation operations. The second risk instruction is sent to the mobile phone at the collection terminal. After the mobile phone receives the second risk instruction, the whitelist verification logic of the Telephony service is modified. The whitelist verification logic is based on the second risk instruction to release the whitelist restriction. When the whitelist restriction is released, a touch screen operation inhibition instruction is generated. The touch screen inhibition drive is started based on the touch screen operation inhibition instruction. The touch screen operation is suppressed based on the touch screen inhibition drive. When the risk assessment difference does not meet the preset threshold interval range and is greater than the maximum value of the preset threshold interval range, the driving process is determined to be a high-risk interval, and a third risk instruction is generated. The third control of the mobile phone is released according to the risk instruction. The third risk refers to sending the third risk instruction to the mobile phone based on the collection terminal. After the mobile phone receives the third risk instruction, the preset RF front-end dynamic switch is started based on the third risk instruction. The preset RF front-end dynamic switch executes to open the emergency frequency band RF channel and close other RF channels, and only releases the SOS emergency call function hardware lock of the mobile phone, and the communication module remains disabled. In this way, by calculating the risk assessment difference, the gap between the risk level in the current driving state and the preset threshold interval range can be intuitively reflected. This difference can quantify the risk deviation caused by factors such as mobile phone use during driving. For example, if the difference is positive and the value is large, it means that the actual risk is higher than the standard risk, and there is a high risk of distracted driving caused by mobile phone use during driving; if the difference is negative or the value is small, it means that the actual risk is relatively low and close to or meets the safety standard.This provides a clear data basis for accurately judging the driving risk status in the future and then taking corresponding control measures, thereby reducing the possibility of accidents caused by drivers distracted by mobile phone operation, and avoiding excessive or insufficient control. In this way, multiple key indicators calculated in the previous steps are combined to obtain a comprehensive risk assessment value. At the same time, corresponding mobile phone control strategies can be formulated based on the risk assessment value, which reasonably allows drivers to use mobile phone functions in emergency situations, balances the needs of safety and emergency communication, and can also solve the problem of drivers being distracted by using mobile phones and causing dangerous driving, achieving a balance between driving safety and user convenience in using mobile phones. At the same time, it can also ensure that the driver's possible emergency communication needs are taken into account while ensuring driving safety, thus achieving a balance between safety and practicality.
[0149] The present application also provides a mobile phone control system during driving, including:
[0150] The first acquisition module 1 is used to acquire the running status data of the vehicle and the multimodal sensing data of the mobile terminal;
[0151] A second acquisition module 2, used for acquiring vehicle CAN bus data information according to the vehicle running status data;
[0152] A third acquisition module 3, used for acquiring a motion coupling degree value and an operation synchronization rate according to the vehicle CAN bus data information and the mobile terminal multimodal sensing data;
[0153] A fourth acquisition module 4 is used to acquire a driver's driving position coordinate offset, and acquire a spatial constraint deviation value according to the multimodal sensing data of the mobile terminal and the driving position coordinate offset;
[0154] The first calculation module 5 is used to calculate a risk assessment value according to the motion coupling degree value, the operation synchronization rate and the constraint deviation value, and to control the mobile phone during driving according to the risk assessment value.
[0155] In one embodiment, the third acquisition module includes:
[0156] A first acquisition unit, configured to acquire the acceleration of an accelerometer built into the mobile phone according to the multimodal sensing data of the mobile terminal, and acquire a first vehicle speed and a steering wheel angle based on vehicle CAN bus data information;
[0157] A first correction unit, configured to correct the first vehicle speed based on a GPS signal and an inertial navigation system to obtain a corrected vehicle speed;
[0158] a second acquisition unit, configured to acquire a vehicle wheelbase, a vehicle gross mass, a front wheel cornering stiffness, and a rear wheel cornering stiffness, and acquire a stability coefficient according to the vehicle wheelbase, the vehicle gross mass, the front wheel cornering stiffness, and the rear wheel cornering stiffness;
[0159] A third acquisition unit, used for acquiring a lateral acceleration according to the corrected vehicle speed, the vehicle wheelbase, the steering wheel angle and the stability coefficient;
[0160] a fourth acquisition unit, configured to acquire an acceleration deviation ratio according to the lateral acceleration and the acceleration;
[0161] a fifth acquisition unit, for acquiring a driver's concentration time of looking forward within a preset time, and calculating a driving distraction correction factor according to the concentration time and a preset driving operation time, and acquiring a corrected acceleration deviation ratio according to the driving distraction correction factor and the acceleration deviation ratio, and using the corrected acceleration deviation ratio as a motion coupling degree value.
[0162] The present application also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above-mentioned method for controlling a mobile phone during driving when executing the computer program.
[0163] The present invention also provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the above-mentioned method for controlling a mobile phone during driving are implemented.
[0164] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods 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 memory, storage, database or other media provided in this application and used in the embodiments may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (SSRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0165] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, device, article or method including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, device, article or method. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the presence of other identical elements in the process, device, article or method including the element.
[0166] The above description is only a preferred embodiment of the present invention, and does not limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made by using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A method for controlling mobile phones during driving, characterized in that: include: Acquire vehicle operation status data and mobile terminal multimodal sensor data; Acquiring vehicle CAN bus data information according to the vehicle running status data; Acquiring a motion coupling degree value and an operation synchronization rate according to the vehicle CAN bus data information and the mobile terminal multimodal sensing data; Acquire the driver's driving position coordinate offset, and acquire the space constraint deviation value according to the multimodal sensing data of the mobile terminal and the driving position coordinate offset; A risk assessment value is calculated according to the motion coupling degree value, the operation synchronization rate and the constraint deviation value, and the mobile phone is controlled during driving according to the risk assessment value.
2. The method for controlling mobile phones during driving according to claim 1, characterized in that: The step of acquiring the motion coupling degree value and the operation synchronization rate according to the vehicle CAN bus data information and the mobile terminal multimodal sensing data includes: Acquire the acceleration of the accelerometer built into the mobile phone according to the multimodal sensing data of the mobile terminal, and acquire the first vehicle speed and the steering wheel angle based on the vehicle CAN bus data information; Correcting the first vehicle speed based on the GPS signal and the inertial navigation system to obtain a corrected vehicle speed; Obtaining a vehicle wheelbase, a vehicle gross mass, a front wheel cornering stiffness, and a rear wheel cornering stiffness, and obtaining a stability coefficient according to the vehicle wheelbase, the vehicle gross mass, the front wheel cornering stiffness, and the rear wheel cornering stiffness; Obtaining lateral acceleration according to the corrected vehicle speed, vehicle wheelbase, steering wheel angle and stability factor; Acquire an acceleration deviation ratio according to the lateral acceleration and the acceleration; The concentration time of the driver looking forward within a preset time is obtained, and a driving distraction correction factor is calculated according to the concentration time and the preset driving operation time, a corrected acceleration deviation ratio is obtained according to the driving distraction correction factor and the acceleration deviation ratio, and the corrected acceleration deviation ratio is used as a motion coupling degree value.
3. The method for controlling mobile phones during driving according to claim 1, characterized in that: The step of obtaining the motion coupling degree value and the operation synchronization rate from the vehicle CAN bus data information and the mobile terminal multimodal sensing data also includes: Acquiring throttle opening information according to the vehicle CAN bus data information; Acquiring response information of a gyroscope built into the mobile phone according to the multimodal sensing data of the mobile terminal; Acquire a plurality of throttle opening values within a preset time according to the throttle opening information, and acquire a throttle opening curve according to the plurality of throttle opening values and the preset time; Acquire a plurality of gyroscope response speeds within a preset time according to the gyroscope response information, and acquire a gyroscope response speed curve according to the plurality of gyroscope response speeds and the preset time; Comparing the throttle opening curve and the gyroscope response speed curve in sequence based on a preset timestamp to obtain a plurality of operation reaction times of throttle opening-gyroscope response speed; Acquire a plurality of operation reaction deviation times according to the plurality of operation reaction times and preset operation reaction times; An operation reaction deviation achievement rate is acquired according to the plurality of operation reaction deviation times and a preset standard deviation time, and the operation reaction deviation achievement rate is used as an operation synchronization rate.
4. The method for controlling mobile phones during driving according to claim 1, characterized in that: The step of obtaining the driver's driving position coordinate offset and obtaining the spatial constraint deviation value according to the multimodal sensing data of the mobile terminal and the driving position coordinate offset includes: Acquiring the azimuth of a magnetometer built into the mobile phone according to the multimodal sensing data of the mobile terminal; Acquiring a current front-to-rear adjustment amount and a current left-to-right adjustment amount of the driver's driving position relative to a standard driving position based on a displacement sensor on a seat rail; Calculating the driver's seat coordinate offset according to the current front-to-back adjustment amount and the current left-to-right adjustment amount; Calculating the driving position coordinate deviation according to the driving position coordinate deviation and a preset standard threshold; The driver's head posture information is obtained based on the in-car camera, and the driver's head posture information is extracted based on the OpenPose algorithm to obtain the coordinates of the nose tip; Obtaining the center coordinates of the driver's driving seat, wherein the center coordinates are the plane center coordinates of the driver's seat cushion, and the center coordinates are used as the coordinate origin; The coordinate origin is vertically extended toward the front of the vehicle to the edge of the driver's seat to obtain edge coordinates, and a vehicle front direction vector is obtained according to the edge coordinates and the coordinate origin; Acquire the coordinate system of the center coordinate, and project the nose tip coordinate into the coordinate system to obtain a first nose tip coordinate; Acquire a nose tip projection vector according to the first nose tip coordinate and the coordinate origin, and calculate an angle between the nose tip and the front of the vehicle according to the nose tip projection vector and the front direction vector of the vehicle; Taking the angle between the nose tip and the front of the vehicle as the nose tip-vehicle front azimuth, and obtaining the deviation azimuth according to the magnetometer azimuth and the nose tip-vehicle front azimuth; The deviation azimuth and the driving position coordinate offset are weightedly calculated to obtain a comprehensive deviation value, and the comprehensive deviation value is used as a space constraint deviation value.
5. The method for controlling mobile phones during driving according to claim 1, characterized in that: The step of calculating the risk assessment value according to the motion coupling degree value, the operation synchronization rate and the constraint deviation value comprises: Normalizing the motion coupling degree value to obtain a motion coupling degree normalized value; Normalizing the operation synchronization rate to obtain a normalized value of the operation synchronization rate; Normalizing the constraint deviation value to obtain a constraint deviation normalized value; The risk assessment value is calculated according to the normalized value of the motion coupling degree, the normalized value of the operation synchronization rate and the normalized value of the constraint deviation.
6. The method for controlling mobile phones during driving according to claim 1, characterized in that: The step of controlling the mobile phone during driving according to the risk assessment value includes: Calculating a risk assessment difference based on the risk assessment value and a preset standard risk assessment value; Determine whether the risk assessment difference meets a preset threshold interval range; When the risk assessment difference does not meet the preset threshold interval range and is less than the minimum value of the preset threshold interval range, the driving process is determined to be a low-risk interval, and a first risk instruction is generated. According to the first risk instruction, the first control of the mobile phone is released, wherein the first risk refers to sending the first risk instruction to the mobile phone based on the acquisition terminal, and after the mobile phone receives the first risk instruction, it modifies the cgroup configuration of the Linux kernel to obtain an independent cgroup configuration, allocates independent permission resources to the voice / navigation process based on the independent cgroup configuration, obtains voice / navigation application permissions, and allows the mobile phone to perform voice interaction and navigation operations based on the voice / navigation application permissions; When the risk assessment difference satisfies the preset threshold interval range, the driving process is determined to be a medium risk interval, and a second risk instruction is generated. According to the risk instruction, the second control of the mobile phone control is released, wherein the second risk refers to sending the second risk instruction to the mobile phone based on the collection terminal, and the mobile phone modifies the Telephony service whitelist verification logic after receiving the second risk instruction, and the whitelist verification logic releases the whitelist restriction based on the second risk instruction, when the whitelist restriction is released, and a touch screen operation inhibition instruction is generated, the touch screen inhibition driver is started based on the touch screen operation inhibition instruction, and the touch screen operation is suppressed based on the touch screen inhibition driver; When the risk assessment difference does not meet the preset threshold interval range and is greater than the maximum value of the preset threshold interval range, the driving process is determined to be a high-risk interval, and a third risk instruction is generated. The third control of the mobile phone is released according to the risk instruction, wherein the third risk refers to sending the third risk instruction to the mobile phone based on the acquisition terminal, and after the mobile phone receives the third risk instruction, starting the preset RF front-end dynamic switch based on the third risk instruction, wherein the preset RF front-end dynamic switch executes to open the emergency frequency band RF channel and close other RF channels, and makes the mobile phone only release the SOS emergency call function hardware lock, and the communication module remains disabled.
7. A mobile phone control system during driving, characterized in that: include: A first acquisition module, used to acquire vehicle operation status data and mobile terminal multimodal sensing data; A second acquisition module is used to acquire vehicle CAN bus data information according to the vehicle running status data; A third acquisition module is used to acquire a motion coupling degree value and an operation synchronization rate according to the vehicle CAN bus data information and the mobile terminal multimodal sensing data; A fourth acquisition module is used to acquire a driver's driving position coordinate offset, and acquire a spatial constraint deviation value according to the multimodal sensing data of the mobile terminal and the driving position coordinate offset; The first calculation module is used to calculate a risk assessment value according to the motion coupling degree value, the operation synchronization rate and the constraint deviation value, and to control the mobile phone during driving according to the risk assessment value.
8. The mobile phone control system during driving according to claim 7, characterized in that: The third acquisition module includes: A first acquisition unit, configured to acquire the acceleration of an accelerometer built into the mobile phone according to the multimodal sensing data of the mobile terminal, and acquire a first vehicle speed and a steering wheel angle based on vehicle CAN bus data information; A first correction unit, configured to correct the first vehicle speed based on a GPS signal and an inertial navigation system to obtain a corrected vehicle speed; a second acquisition unit, configured to acquire a vehicle wheelbase, a vehicle gross mass, a front wheel cornering stiffness, and a rear wheel cornering stiffness, and acquire a stability coefficient according to the vehicle wheelbase, the vehicle gross mass, the front wheel cornering stiffness, and the rear wheel cornering stiffness; A third acquisition unit, used for acquiring a lateral acceleration according to the corrected vehicle speed, the vehicle wheelbase, the steering wheel angle and the stability coefficient; a fourth acquisition unit, configured to acquire an acceleration deviation ratio according to the lateral acceleration and the acceleration; a fifth acquisition unit, for acquiring a driver's concentration time of looking forward within a preset time, and calculating a driving distraction correction factor according to the concentration time and a preset driving operation time, and acquiring a corrected acceleration deviation ratio according to the driving distraction correction factor and the acceleration deviation ratio, and using the corrected acceleration deviation ratio as a motion coupling degree value.
9. 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.
10. 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.
Citation Information
Patent Citations
Driving control system and control method
CN105313900B
Driver handset security management and control device
CN207837007U
Method for detecting use of mobile phone by driver and computer readable medium
CN113762123A
Fatigue driving detection method based on deep learning and entropy combination
CN114220144A
Traffic safety monitoring method and device based on real-time data flow and medium
CN118968815A
Cited By
Communication system and method based on vehicle-mounted electronic equipment, and storage medium
CN120455548A
Automatic driving takeover method and system based on cognition-execution double-layer decision
CN120735798A
Incoming call connection control method and system for smart watch
CN121547532A
Method and system for controlling incoming calls in smartwatches
CN121547532B
Method and system for detecting risky driving behavior patterns through temporal analysis
ES3080632A1