Driver identification method, device, electronic device and readable storage medium
By identifying the driving behavior characteristic data in the vehicle's driving status information for identification, the problem of information leakage caused by biometric verification is solved, and the privacy protection of driver identification and differentiated smart car services are realized.
Patent Information
- Application Number
- CN202010607021.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-06-29
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2040-06-29
AI Technical Summary
In the existing technology, driver identity verification through biometrics can easily lead to information leakage and affect user privacy protection.
By obtaining the driving status information of the vehicle, different categories of driving behaviors are identified, the characteristic data of the driving behaviors are determined, and input into the identity recognition model for identification, avoiding the collection and recording of biometric privacy information.
Without affecting the driving experience, it protects the driver's privacy and provides differentiated driving mode services for smart cars, improving the car's active safety and user experience.
Smart Images

Figure CN113935392B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent automobile technology, and in particular to a driver identification method, device, electronic equipment and readable storage medium. Background Art
[0002] With the development of intelligent cars, people's demand for a good car experience makes people hope that cars can understand them better and customize corresponding service content and assisted driving according to their status and needs. The premise of providing corresponding services and assistance to different drivers is to be able to identify the identity of the driver, and then provide the expected functions based on the driver's identity and driving habits.
[0003] In the prior art, when identifying the driver's identity, the driver's biometrics are often collected and recorded, and the driver's identity is verified based on the comparison of the biometrics, such as collecting the driver's head image information and fingerprint information for verification. However, when the identity is authenticated through biometrics, it is easy to cause the driver's biometric information to be leaked, which is not conducive to the protection of user privacy. Summary of the invention
[0004] The embodiments of the present invention provide a driver identification method, device, electronic device and readable storage medium to solve the problem in the prior art that when the driver's identity is authenticated through biometric features, information leakage is easily caused, which is not conducive to user privacy protection.
[0005] In a first aspect, an embodiment of the present invention provides a driver identification method, comprising:
[0006] Acquiring the vehicle's driving status information while the driver is operating the vehicle;
[0007] Identifying different types of driving behaviors based on the driving state information, and determining characteristic data of at least one type of driving behavior;
[0008] The determined characteristic data is input into an identity recognition model to perform identity recognition on the current driver.
[0009] Optionally, the obtaining of the driving status information of the vehicle includes:
[0010] Collect vehicle controller area network CAN data;
[0011] The CAN data is parsed to obtain the driving status information of the vehicle.
[0012] Optionally, the identifying different types of driving behaviors based on the driving state information and determining characteristic data of at least one type of driving behavior includes:
[0013] identifying, according to the driving state information, a driving behavior of a straight-ahead category, at least three types of driving behaviors of a turning category, and a driving behavior of an acceleration category, wherein the turning angles corresponding to the at least three types of driving behaviors of the turning category are respectively within different angle intervals, and the acceleration corresponding to the driving behavior of the acceleration category is greater than a first acceleration threshold;
[0014] For at least one type of driving behavior, extract at least one target signal from the driving state information, and obtain at least one characteristic value of the target signal within a driving period of the current driving behavior;
[0015] The characteristic data includes at least one target signal and at least one characteristic value corresponding to the target signal.
[0016] Optionally, the identifying, according to the driving state information, a driving behavior of a straight-ahead category, at least three types of driving behaviors of a turning category, and a driving behavior of an acceleration category, comprises:
[0017] A threshold-based classification algorithm is used to classify driving behavior into a straight-ahead category, at least three turning categories, and an acceleration category according to the steering wheel rotation angle, the depth and change rate of the accelerator pedal, and the vehicle speed in the driving state information.
[0018] Optionally, for at least one type of driving behavior, extracting at least one target signal from the driving state information, and obtaining at least one characteristic value of the target signal within a driving period of the current driving behavior, includes:
[0019] For at least one type of driving behavior, at least one of the following target signals is extracted from the driving state information: steering wheel angle, steering wheel angular velocity, longitudinal acceleration, accelerator pedal depth, vehicle lateral acceleration, vehicle torque, brake pedal depth, motor speed and motor speed change rate;
[0020] For each target signal extracted for each type of driving behavior, obtain at least one of the following characteristic values within the driving period of the current driving behavior: the maximum value, minimum value, average value, standard deviation, kurtosis, skewness, peak factor, waveform factor, margin factor and pulse factor of the amplitude in the frequency domain corresponding to the target signal.
[0021] Optionally, after determining the characteristic data of at least one type of driving behavior, the method further includes:
[0022] Arrange and store characteristic data of at least one type of driving behavior according to a preset time period to generate a characteristic data set in a matrix form;
[0023] The step of inputting the determined characteristic data into an identity recognition model to identify the current driver includes:
[0024] The feature data set is input into the identity recognition model to identify the identity of the current driver.
[0025] Optionally, inputting the determined characteristic data into an identity recognition model to identify the current driver includes:
[0026] Inputting the determined feature data into the identity recognition model, and outputting probability values corresponding to each identity tag in the identity recognition model, wherein the identity tag represents the identity information of the driver;
[0027] The identity tag with the largest probability value is determined as the target identity tag matching the current driver, and the identity information of the current driver is determined according to the target identity tag.
[0028] Optionally, the method further includes:
[0029] The identity recognition model is generated according to the characteristic data of various driving behaviors corresponding to the multiple drivers when they control the vehicle and the identity information of the multiple drivers.
[0030] Optionally, generating the identity recognition model according to the characteristic data of various driving behaviors corresponding to the multiple drivers when they control the vehicle and the identity information of the multiple drivers includes:
[0031] Setting a network architecture of a long short-term memory recurrent neural network, wherein the network architecture includes at least the number of network layers, the number of hidden node units, the propagation direction, the batch size, the gradient threshold, the node feature length, and the data size;
[0032] According to the identity information of the multiple drivers, an identity tag corresponding to each driver is set respectively;
[0033] Performing multiple rounds of model training according to the characteristic data of various driving behaviors corresponding to the multiple drivers, the identity tags corresponding to the multiple drivers, and the network architecture, and determining that the model converges when it is detected during the model training process that the objective function value meets the preset conditions, and determining to generate the identity recognition model;
[0034] The characteristic data of each type of driving behavior includes a plurality of target signals and a plurality of characteristic values of each of the target signals within the driving period of the current driving behavior.
[0035] In a second aspect, an embodiment of the present invention provides a driver identification device, comprising:
[0036] An acquisition module is used to acquire the driving state information of the vehicle while the driver is operating the vehicle;
[0037] A processing module, configured to identify different types of driving behaviors based on the driving state information and determine characteristic data of at least one type of driving behavior;
[0038] The identification module is used to input the determined characteristic data into the identity recognition model to identify the current driver.
[0039] Optionally, the acquisition module is further used for:
[0040] Collect vehicle controller area network CAN data;
[0041] The CAN data is parsed to obtain the driving status information of the vehicle.
[0042] Optionally, the processing module includes:
[0043] an identification submodule, configured to identify, according to the driving state information, a driving behavior of a straight-ahead type, at least three types of driving behaviors of a turning type, and a driving behavior of an acceleration type, wherein the turning angles corresponding to the at least three types of driving behaviors of the turning type are respectively within different angle intervals, and the acceleration corresponding to the driving behavior of the acceleration type is greater than a first acceleration threshold;
[0044] a processing submodule, for extracting at least one target signal from the driving state information for at least one type of driving behavior, and obtaining at least one characteristic value of the target signal within a driving period of the current driving behavior;
[0045] The characteristic data includes at least one target signal and at least one characteristic value corresponding to the target signal.
[0046] Optionally, the identification submodule is further used for:
[0047] A threshold-based classification algorithm is used to classify driving behavior into a straight-ahead category, at least three turning categories, and an acceleration category according to the steering wheel rotation angle, the depth and change rate of the accelerator pedal, and the vehicle speed in the driving state information.
[0048] Optionally, the processing submodule includes:
[0049] an extraction unit, for extracting at least one of the following target signals from the driving state information for at least one type of driving behavior: steering wheel angle, steering wheel angular velocity, longitudinal acceleration, accelerator pedal depth, vehicle lateral acceleration, vehicle torque, brake pedal depth, motor speed, and motor speed change rate;
[0050] An acquisition unit is used to acquire, for each target signal extracted for each type of driving behavior, at least one of the following characteristic values within a driving period of the current driving behavior: the maximum value, minimum value, average value, standard deviation, kurtosis, skewness, peak factor, waveform factor, margin factor and pulse factor of the amplitude in the frequency domain corresponding to the target signal.
[0051] Optionally, the device further comprises:
[0052] A first generating module, configured to, after the processing module determines the characteristic data of at least one type of driving behavior, arrange and store the characteristic data of at least one type of driving behavior according to a preset time period to generate a characteristic data set in a matrix form;
[0053] The identification module is further used for:
[0054] The feature data set is input into the identity recognition model to identify the identity of the current driver.
[0055] Optionally, the identification module includes:
[0056] An output submodule, used for inputting the determined feature data into the identity recognition model, and outputting the probability value corresponding to each identity tag in the identity recognition model, wherein the identity tag represents the identity information of the driver;
[0057] The determination submodule is used to determine that the identity tag with the largest probability value is the target identity tag matching the current driver, and determine the identity information of the current driver according to the target identity tag.
[0058] Optionally, the device further comprises:
[0059] The second generating module is used to generate the identity recognition model according to the characteristic data of various driving behaviors corresponding to the multiple drivers when they control the vehicle and the identity information of the multiple drivers.
[0060] Optionally, the second generating module includes:
[0061] A first setting submodule is used to set the network architecture of the long short-term memory recurrent neural network, wherein the network architecture at least includes the number of network layers, the number of hidden node units, the propagation direction, the batch size, the gradient threshold, the node feature length, and the data size;
[0062] A second setting submodule is used to set an identity tag corresponding to each driver according to the identity information of the multiple drivers;
[0063] A training submodule, for performing multiple rounds of model training according to the characteristic data of various driving behaviors respectively corresponding to the multiple drivers, the identity tags respectively corresponding to the multiple drivers and the network architecture, and determining that the model converges when it is detected during the model training process that the objective function value meets the preset conditions, and determining to generate the identity recognition model;
[0064] The characteristic data of each type of driving behavior includes a plurality of target signals and a plurality of characteristic values of each of the target signals within the driving period of the current driving behavior.
[0065] In a third aspect, an embodiment of the present invention provides an electronic device, comprising: a processor, a communication interface, a memory, and a communication bus; wherein the processor, the communication interface, and the memory communicate with each other via the communication bus;
[0066] Memory, used to store computer programs;
[0067] The processor is used to implement the steps of the driver identification method described in the first aspect when executing the program stored in the memory.
[0068] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps in the driver identification method described in the first aspect above.
[0069] Compared with the prior art, the present invention has the following advantages:
[0070] In an embodiment of the present invention, by obtaining the driving state information of the vehicle when the driver is operating the vehicle, different types of driving behaviors are identified based on the driving state information, characteristic data of at least one type of driving behavior is determined, and the determined characteristic data is input into an identity recognition model to identify the current driver. The driver's identity can be identified by relying solely on the driving state information of the vehicle when the driver is driving the vehicle without bringing cumbersome operating burdens to the driver and without collecting and recording the driver's biometric privacy information. This ensures the driver's driving experience while protecting the driver's privacy. It also enables the smart car to provide differentiated driving mode services for different drivers to enhance the active safety of the car and provide a good user experience.
[0071] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0072] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for describing the embodiments are briefly introduced below.
[0073] Figure 1 A schematic diagram of a driver identification method provided by an embodiment of the present invention;
[0074] Figure 2 A flowchart for implementing driver identification provided by an embodiment of the present invention;
[0075] Figure 3 A flowchart for implementing the generation of an identity recognition model and identity recognition through the identity recognition model provided in an embodiment of the present invention;
[0076] Figure 4 A schematic diagram of a driver identification device provided by an embodiment of the present invention;
[0077] Figure 5 A block diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0078] The exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can also be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present invention and to enable the scope of the present invention to be fully communicated to those skilled in the art.
[0079] Figure 1 A driver identification method provided by an embodiment of the present invention includes:
[0080] Step 101: Acquire vehicle driving status information while the driver is operating the vehicle.
[0081] The driver identification method provided in the embodiment of the present invention is applied to an identification system, and the identification system can be set on a vehicle. When the driver enters the cab, starts and begins to operate the vehicle, the identification system can automatically activate the identification function, and after activating the identification function, the vehicle's driving state information can be obtained. The vehicle's driving state information may include driving information and state information of related components on the vehicle during driving. After obtaining the vehicle's driving state information, step 102 can be performed based on the vehicle's driving state information.
[0082] Step 102: Identify different types of driving behaviors based on the driving state information, and determine characteristic data of at least one type of driving behavior.
[0083] After the driving state information is acquired, different types of driving behaviors can be identified based on the driving state information, and corresponding characteristic data can be determined in the driving state information for at least one type of driving behavior. When identifying different types of driving behaviors, the driver's driving behaviors such as acceleration, deceleration, turning, straight driving, and lane change can be identified based on the driving state information. After determining the characteristic data of at least one type of driving behavior, step 103 can be performed based on the characteristic data of at least one type of driving behavior.
[0084] Step 103: input the determined feature data into an identity recognition model to perform identity recognition on the current driver.
[0085] After determining the characteristic data of at least one type of driving behavior, the characteristic data of at least one type of driving behavior can be input into an identity recognition model, wherein the identity recognition model is generated through model training using a specific neural network based on driving state information when multiple drivers operate vehicles and identity information of the drivers. After inputting the characteristic data of at least one type of driving behavior into the identity recognition model, the identity of the current driver can be effectively recognized.
[0086] Among them, after identifying different types of driving behaviors, feature data of two or more types of driving behaviors can be determined. The feature data of at least two types of driving behaviors can ensure the effectiveness and accuracy of identity recognition, and avoid the situation where the same type of driving behaviors of two drivers are slightly different and cannot be accurately identified based on feature data of only one type of driving behavior. And the more types of driving behaviors there are, the higher the accuracy of identity recognition based on feature data of different types of driving behaviors.
[0087] It should be noted that the above-mentioned identity recognition requires that the driving state information of the driver when operating the vehicle has participated in the training process of the identity recognition model, and only then can the identity recognition system output the driver's identity recognition result. The identity recognition model can be located in the identity recognition system and generated by the identity recognition system through model training.
[0088] The above implementation process can identify the driver's identity by simply relying on the vehicle's driving status information when the driver is driving the vehicle, without bringing cumbersome operational burdens to the driver and without collecting and recording the driver's biometric privacy information. This ensures the driver's driving experience while protecting the driver's privacy. It can also enable smart cars to provide differentiated driving mode services for different drivers to improve the car's active safety and provide a good user experience.
[0089] Optionally, in an embodiment of the present invention, the obtaining of the driving state information of the vehicle includes:
[0090] Collect vehicle controller area network CAN data;
[0091] The CAN data is parsed to obtain the driving status information of the vehicle.
[0092] When obtaining the driving status information of the vehicle, the CAN data generated by the vehicle's own CAN bus can be collected, and then the original CAN data can be parsed into usable driving status information of the vehicle according to the protocol.
[0093] By using the CAN bus to obtain CAN data and parsing the CAN data to obtain the vehicle's driving status information, data acquisition can be performed without adding additional sensors, saving hardware costs.
[0094] Optionally, in an embodiment of the present invention, the identifying different types of driving behaviors based on the driving state information and determining characteristic data of at least one type of driving behavior includes:
[0095] identifying, according to the driving state information, a driving behavior of a straight-ahead category, at least three types of driving behaviors of a turning category, and a driving behavior of an acceleration category, wherein the turning angles corresponding to the at least three types of driving behaviors of the turning category are respectively within different angle intervals, and the acceleration corresponding to the driving behavior of the acceleration category is greater than a first acceleration threshold;
[0096] For at least one type of driving behavior, extract at least one target signal from the driving state information, and obtain at least one characteristic value of the target signal within a driving period of the current driving behavior;
[0097] The characteristic data includes at least one target signal and at least one characteristic value corresponding to the target signal.
[0098] When different types of driving behaviors are identified based on driving state information, driving behaviors of the straight driving category, at least three types of driving behaviors of the turning category, and driving behaviors of the acceleration category can be identified based on the driving state information. For the three types of driving behaviors of the turning category, the corresponding turning angles are respectively in different angle intervals, that is, the turning angle corresponding to the first type of turning category is in the first angle interval, the turning angle corresponding to the second type of turning category is in the second angle interval, and the turning angle corresponding to the third type of turning category is in the third angle interval, and the first angle interval, the second angle interval, and the third angle interval do not overlap with each other. For example, according to the driving state information of changing from the current lane to the adjacent lane, the driving behavior is classified into the first type of turning category; according to the driving state information of changing from the current lane to the interval lane, the driving behavior is classified into the second type of turning category; according to the driving state information of turning left or right at the intersection, the driving behavior is classified into the third type of turning category.
[0099] Among them, since the sudden acceleration behavior can more obviously reflect the driving differences between different drivers, for the acceleration category, the corresponding acceleration needs to be greater than the first acceleration threshold to ensure that the driver's acceleration behavior is sudden acceleration.
[0100] After identifying different types of driving behaviors, corresponding feature data may be determined for at least one type of driving behavior. The feature data includes at least one target signal and at least one feature value corresponding to the target signal. When determining the feature data of at least one type of driving behavior, it is necessary to extract at least one target signal from the driving state information for at least one type of driving behavior, and it is also necessary to obtain at least one feature value in the driving period corresponding to the current driving behavior for each target signal.
[0101] The above process can identify different types of driving behaviors based on driving status information, and determine the characteristic data of at least one type of driving behavior, thereby providing a guarantee for subsequent driver identification based on the characteristic data of at least one type of driving behavior. By determining the characteristic data of at least one type of driving behavior, effective data can be extracted from the driving status information for identity identification.
[0102] Optionally, in an embodiment of the present invention, the identifying, according to the driving state information, a driving behavior of a straight-ahead category, at least three types of driving behaviors of a turning category, and a driving behavior of an acceleration category, comprises:
[0103] A threshold-based classification algorithm is used to classify driving behavior into a straight-ahead category, at least three turning categories, and an acceleration category according to the steering wheel rotation angle, the depth and change rate of the accelerator pedal, and the vehicle speed in the driving state information.
[0104] When identifying different categories of driving behaviors based on driving status information, the steering wheel rotation angle, the depth and change rate of the accelerator pedal, and the vehicle speed can be extracted from the driving status information. Based on the extracted information, a threshold-based classification algorithm is used to classify the driving behaviors into a straight-ahead category, at least three turning categories, and an acceleration category.
[0105] For example, the steering wheel rotation angle and vehicle speed can be used to identify whether the driving behavior is straight driving or turning. The depth and change rate of the accelerator pedal and the vehicle speed can be used to identify whether the driving behavior is acceleration.
[0106] The above process adopts a threshold-based classification algorithm and divides driving behaviors according to the steering wheel rotation angle, the depth and change rate of the accelerator pedal, and the vehicle speed, so as to obtain different categories of driving behaviors, thereby facilitating the extraction of characteristic data of at least one category of driving behaviors from the characteristic data of different categories of driving behaviors, and identifying the driver based on the characteristic data of at least one category of driving behaviors.
[0107] Optionally, in an embodiment of the present invention, for at least one type of driving behavior, extracting at least one target signal from the driving state information, and obtaining at least one characteristic value of the target signal in a driving period of the current driving behavior, includes:
[0108] For at least one type of driving behavior, at least one of the following target signals is extracted from the driving state information: steering wheel angle, steering wheel angular velocity, longitudinal acceleration, accelerator pedal depth, vehicle lateral acceleration, vehicle torque, brake pedal depth, motor speed and motor speed change rate;
[0109] For each target signal extracted for each type of driving behavior, obtain at least one of the following characteristic values within the driving period of the current driving behavior: the maximum value, minimum value, average value, standard deviation, kurtosis, skewness, peak factor, waveform factor, margin factor and pulse factor of the amplitude in the frequency domain corresponding to the target signal.
[0110] When extracting target signals from driving state information for at least one type of driving behavior, it is necessary to obtain the driving information of the vehicle and the state information of related components on the whole vehicle during driving according to the driving state information, wherein the driving information may include longitudinal acceleration and vehicle lateral acceleration, and the state information of related components may include: steering wheel angle, steering wheel angular velocity, accelerator pedal depth, vehicle torque, brake pedal depth, motor speed and motor speed change rate. Then, based on the driving information and the state information of related components, at least one of the steering wheel angle, steering wheel angular velocity, longitudinal acceleration, accelerator pedal depth, vehicle lateral acceleration, vehicle torque, brake pedal depth, motor speed and motor speed change rate is extracted.
[0111] When obtaining at least one characteristic value in the driving period of the current driving behavior for each target signal extracted from each type of driving behavior, at least one of the maximum value, minimum value, average value, standard deviation, kurtosis, skewness, peak factor, waveform factor, margin factor and pulse factor of the amplitude of the target signal in the corresponding frequency domain can be obtained. The frequency domain here corresponds to the time domain of the current driving behavior, and the time domain and frequency domain can be converted by Fourier transform or other methods.
[0112] Among them, kurtosis is a numerical statistic that reflects the distribution characteristics of random variables; skewness is a digital characteristic of the degree of asymmetry of the statistical data distribution; waveform factor is the ratio of the root mean square value and the average value of the signal; peak factor is the ratio of the signal peak value to the effective value (RMS), and RMS (Root Mean Square) can represent the true effective value; pulse factor is the ratio of the signal peak value to the rectified average value (average of the absolute value); margin factor is the ratio of the signal peak value to the root mean square amplitude.
[0113] The above process can be specifically as follows: for at least one type of driving behavior among straight driving, each type of turning and acceleration, the corresponding steering wheel angle, steering wheel angular velocity, longitudinal acceleration, accelerator pedal depth, vehicle lateral acceleration, vehicle torque, brake pedal depth, motor speed and its motor speed change rate can be obtained, and at the same time, for each target signal extracted from each type of driving behavior, the corresponding maximum value, minimum value, average value, standard deviation, kurtosis, skewness, peak factor, waveform factor, margin factor, and pulse factor of the amplitude in the frequency domain can be obtained. Among them, when 9 target signals are obtained for each type of driving behavior and 10 characteristic values are obtained for each target signal, 90-dimensional characteristic data can be obtained for each type of driving behavior.
[0114] The above process can obtain at least one target signal and at least one characteristic value of the target signal for at least one type of driving behavior, thereby obtaining characteristic data of at least one type of driving behavior, and facilitating subsequent identification of the driver based on the characteristic data of at least one type of driving behavior.
[0115] Optionally, in an embodiment of the present invention, after determining the characteristic data of at least one type of driving behavior, the method further includes: arranging and storing the characteristic data of at least one type of driving behavior according to a preset time period to generate a characteristic data set in a matrix form;
[0116] The step of inputting the determined feature data into an identity recognition model to identify the identity of the current driver includes: inputting the feature data set into the identity recognition model to identify the identity of the current driver.
[0117] After determining the characteristic data of at least one type of driving behavior, the characteristic data of at least one type of driving behavior can be arranged and stored according to a preset time period to generate a characteristic data set corresponding to the driving state information of the current driver. When performing the sorting and storage, a time period of equal length can be determined for each type of driving behavior, and the characteristic data of the driving behavior corresponding to each time period can be arranged in sequence in the row direction of the matrix to generate a characteristic data set in a matrix form.
[0118] After the feature data set is generated, the feature data set can be input into the identity recognition model to identify the identity of the current driver. Since the feature data set includes feature data of at least one type of driving behavior, by performing identity recognition based on the feature data set, it can be ensured that the feature data of at least one type of driving behavior is input into the identity recognition model at one time, avoiding the tediousness caused by multiple data inputs.
[0119] The above process can generate a feature data set based on feature data corresponding to at least one type of driving behavior, realize one-time input of feature data into the identity recognition model, and facilitate the use of feature data sets to identify the driver.
[0120] Optionally, in an embodiment of the present invention, inputting the determined characteristic data into an identity recognition model to perform identity recognition on the current driver includes:
[0121] Inputting the determined feature data into the identity recognition model, and outputting probability values corresponding to each identity tag in the identity recognition model, wherein the identity tag represents the identity information of the driver;
[0122] The identity tag with the largest probability value is determined as the target identity tag matching the current driver, and the identity information of the current driver is determined according to the target identity tag.
[0123] When identifying the driver, the determined feature data can be input into the identification model, and the identification model outputs the probability values corresponding to each identity tag, where each identity tag indicates the identity information of a driver, such as identity tag 1 represents the identity information of driver A, identity tag 2 represents the identity information of driver B, and identity tag 3 represents the identity information of driver C. After the identity recognition model outputs the probability values corresponding to each identity tag, the target identity tag with the largest probability value is determined, and the identity information of the current driver is determined based on the target identity tag. For example, if the identity recognition model outputs a probability value of 5% corresponding to identity tag 1, a probability value of 7% corresponding to identity tag 2, and a probability value of 95% corresponding to identity tag 3, then identity tag 3 can be determined as the target identity tag. Since identity tag 3 represents the identity information of driver C, it can be determined that the current driver is driver C.
[0124] Among them, the identity recognition model is an LSTM (Long Short-Term Memory, long short-term memory recurrent neural network) classification model. LSTM is a machine learning method for classifying sequence data. After determining the identity information of the current driver, the corresponding driving mode service can be provided for the current driver, further improving the active safety of the car and providing a good user experience.
[0125] The following is a specific implementation process to illustrate the process of driver identification in an embodiment of the present invention. Figure 2 As shown, including:
[0126] Step 201: The driver enters the cab, starts and starts driving the vehicle. When the vehicle is in driving state, the identity recognition function is automatically activated to collect CAN data generated by the vehicle's own CAN bus when the driver is driving the vehicle.
[0127] Step 202: parse the original CAN data into usable driving status information according to the protocol.
[0128] Step 203: Identify different types of driving behaviors based on the driving status information.
[0129] Step 204: Determine characteristic data of at least one type of driving behavior.
[0130] Step 205: Input the determined feature data into an identity recognition model to determine the identity information of the current driver.
[0131] The above process can identify the driver's identity by relying solely on the vehicle's driving status information when the driver is driving the vehicle, without adding additional sensors, without bringing cumbersome operational burdens to the driver, and without collecting and recording the driver's biometric privacy information. This saves hardware costs, ensures the driver's driving experience, and protects the driver's privacy. It can also enable smart cars to provide differentiated driving mode services for different drivers, thereby improving the car's active safety and providing a good user experience.
[0132] In the above embodiment, when the driver controls the vehicle to generate driving CAN data, the identity recognition function is automatically activated, but it is required that the driver's corresponding driving status information has participated in the training of the identity recognition model before the identity recognition system can output the driver's identity recognition result. If the driver uses the identity recognition system for the first time, the system needs to generate an identity tag for it and perform model training before performing identity recognition. For details, please refer to the following embodiments.
[0133] Optionally, in one embodiment of the present invention, the method further includes:
[0134] The identity recognition model is generated according to the characteristic data of various driving behaviors corresponding to the multiple drivers when they control the vehicle and the identity information of the multiple drivers.
[0135] The embodiment of the present invention first needs to generate an identity recognition model. When generating the identity recognition model, it is necessary to obtain the characteristic data of various types of driving behaviors corresponding to the operation of the vehicle by multiple drivers, and obtain the identity information of each driver. The identity recognition model is generated based on the characteristic data of various types of driving behaviors and the identity information of multiple drivers. When obtaining the characteristic data of various types of driving behaviors corresponding to the operation of the vehicle by multiple drivers, it is necessary to first obtain the driving state information of the vehicle during the operation of the vehicle by each driver, identify different types of driving behaviors based on the driving state information, and determine the characteristic data of various types of driving behaviors.
[0136] The generating of the identity recognition model according to the characteristic data of various driving behaviors respectively corresponding to the multiple drivers when they control the vehicle and the identity information of the multiple drivers includes:
[0137] Setting a network architecture of a long short-term memory recurrent neural network, wherein the network architecture includes at least the number of network layers, the number of hidden node units, the propagation direction, the batch size, the gradient threshold, the node feature length, and the data size;
[0138] According to the identity information of the multiple drivers, an identity tag corresponding to each driver is set respectively;
[0139] Performing multiple rounds of model training according to the characteristic data of various driving behaviors corresponding to the multiple drivers, the identity tags corresponding to the multiple drivers, and the network architecture, and determining that the model converges when it is detected during the model training process that the objective function value meets the preset conditions, and determining to generate the identity recognition model;
[0140] The characteristic data of each type of driving behavior includes a plurality of target signals and a plurality of characteristic values of each of the target signals within the driving period of the current driving behavior.
[0141] The identity recognition model is an LSTM classification model. When generating the identity recognition model, it is necessary to design the network structure of the long short-term memory recurrent neural network, including the number of network layers, the number of hidden node units, the propagation direction, the batch size, the gradient threshold, the node feature length, the data size, etc. It is also necessary to set the identity label corresponding to each driver according to the identity information of multiple drivers. Then, multiple rounds of model training are performed based on the characteristic data of various driving behaviors corresponding to multiple drivers, the identity labels corresponding to multiple drivers, and the network architecture. During the model training process, it is possible to monitor whether the objective function value (i.e., the LOSS value) meets the preset conditions. When the objective function value meets the preset conditions, it can be determined that the model has converged, and the training can be stopped to determine the generation of the identity recognition model.
[0142] After the identity recognition model is generated, the identity of the drivers who have participated in the identity recognition model training can be identified based on the identity recognition model, and then differentiated driving mode services can be provided according to the driver's identity information, thereby improving the active safety of the car and providing a good user experience.
[0143] The following is an example of the process of generating an identity recognition model and performing identity recognition through the identity recognition model. Figure 3 As shown, including:
[0144] Step 301: When the driver controls the vehicle to be in driving state, the identity recognition function is automatically activated, the CAN data generated by the vehicle's own CAN bus is collected, and the driving state information of the vehicle is obtained.
[0145] Step 302: Identify different types of driving behaviors based on the driving state information and determine characteristic data of each type of driving behavior.
[0146] Step 303: Check whether the driver has participated in the identity recognition model training. If yes, execute step 305; otherwise, execute step 304.
[0147] Step 304: Acquire feature data of various driving behaviors corresponding to other multiple drivers, set identity tags for other multiple drivers and the current driver respectively, and train the identity recognition model according to the feature data of various driving behaviors corresponding to other multiple drivers and the current driver, identity tags, and the network architecture of the long short-term memory recurrent neural network. Then return to step 301 to reacquire the driving state information of the vehicle corresponding to the current driver operating the vehicle, and execute steps 302, 303, and 305.
[0148] Step 305: Input the determined characteristic data of various types of driving behaviors into the identity recognition model to identify the driver's identity information.
[0149] The above process can obtain the characteristic data of various driving behaviors according to the corresponding driving status information when the driver controls the vehicle, train the identity recognition model based on the characteristic data and identity labels corresponding to multiple drivers, and identify the driver according to the identity recognition model, so as to provide corresponding driving mode services for different drivers.
[0150] The driver identification method provided by the embodiment of the present invention obtains the driving state information of the vehicle when the driver is operating the vehicle, identifies different types of driving behaviors based on the driving state information, determines feature data of at least one type of driving behavior, inputs the determined feature data into the identity identification model, and identifies the current driver. The method can identify the driver's identity by relying solely on the driving state information of the vehicle when the driver is driving the vehicle without adding additional sensors, without bringing cumbersome operating burdens to the driver, and without collecting and recording the driver's biometric privacy information, thereby saving hardware costs, ensuring the driver's driving experience, and protecting the driver's privacy. It can also enable smart cars to provide differentiated driving mode services for different drivers, thereby improving the active safety of the car and providing a good user experience.
[0151] Figure 4 is a schematic diagram of a driver identification device provided by an embodiment of the present invention, comprising:
[0152] The acquisition module 401 is used to acquire the driving state information of the vehicle while the driver is operating the vehicle;
[0153] A processing module 402, configured to identify different types of driving behaviors based on the driving state information and determine characteristic data of at least one type of driving behavior;
[0154] The identification module 403 is used to input the determined feature data into the identity recognition model to perform identity recognition on the current driver.
[0155] Optionally, the acquisition module is further used for:
[0156] Collect vehicle controller area network CAN data;
[0157] The CAN data is parsed to obtain the driving status information of the vehicle.
[0158] Optionally, the processing module includes:
[0159] an identification submodule, configured to identify, according to the driving state information, a driving behavior of a straight-ahead type, at least three types of driving behaviors of a turning type, and a driving behavior of an acceleration type, wherein the turning angles corresponding to the at least three types of driving behaviors of the turning type are respectively within different angle intervals, and the acceleration corresponding to the driving behavior of the acceleration type is greater than a first acceleration threshold;
[0160] a processing submodule, for extracting at least one target signal from the driving state information for at least one type of driving behavior, and obtaining at least one characteristic value of the target signal within a driving period of the current driving behavior;
[0161] The characteristic data includes at least one target signal and at least one characteristic value corresponding to the target signal.
[0162] Optionally, the identification submodule is further used for:
[0163] A threshold-based classification algorithm is used to classify driving behavior into a straight-ahead category, at least three turning categories, and an acceleration category according to the steering wheel rotation angle, the depth and change rate of the accelerator pedal, and the vehicle speed in the driving state information.
[0164] Optionally, the processing submodule includes:
[0165] an extraction unit, for extracting at least one of the following target signals from the driving state information for at least one type of driving behavior: steering wheel angle, steering wheel angular velocity, longitudinal acceleration, accelerator pedal depth, vehicle lateral acceleration, vehicle torque, brake pedal depth, motor speed, and motor speed change rate;
[0166] An acquisition unit is used to acquire, for each target signal extracted for each type of driving behavior, at least one of the following characteristic values within a driving period of the current driving behavior: the maximum value, minimum value, average value, standard deviation, kurtosis, skewness, peak factor, waveform factor, margin factor and pulse factor of the amplitude in the frequency domain corresponding to the target signal.
[0167] Optionally, the device further comprises:
[0168] A first generating module, configured to, after the processing module determines the characteristic data of at least one type of driving behavior, arrange and store the characteristic data of at least one type of driving behavior according to a preset time period to generate a characteristic data set in a matrix form;
[0169] The identification module is further used for:
[0170] The feature data set is input into the identity recognition model to identify the identity of the current driver.
[0171] Optionally, the identification module includes:
[0172] An output submodule, used for inputting the determined feature data into the identity recognition model, and outputting the probability value corresponding to each identity tag in the identity recognition model, wherein the identity tag represents the identity information of the driver;
[0173] The determination submodule is used to determine that the identity tag with the largest probability value is the target identity tag matching the current driver, and determine the identity information of the current driver according to the target identity tag.
[0174] Optionally, the device further comprises:
[0175] The second generating module is used to generate the identity recognition model according to the characteristic data of various driving behaviors corresponding to the multiple drivers when they control the vehicle and the identity information of the multiple drivers.
[0176] Optionally, the second generating module includes:
[0177] A first setting submodule is used to set the network architecture of the long short-term memory recurrent neural network, wherein the network architecture at least includes the number of network layers, the number of hidden node units, the propagation direction, the batch size, the gradient threshold, the node feature length, and the data size;
[0178] A second setting submodule is used to set an identity tag corresponding to each driver according to the identity information of the multiple drivers;
[0179] A training submodule, for performing multiple rounds of model training according to the characteristic data of various driving behaviors respectively corresponding to the multiple drivers, the identity tags respectively corresponding to the multiple drivers and the network architecture, and determining that the model converges when it is detected during the model training process that the objective function value meets the preset conditions, and determining to generate the identity recognition model;
[0180] The characteristic data of each type of driving behavior includes a plurality of target signals and a plurality of characteristic values of each of the target signals within the driving period of the current driving behavior.
[0181] As for the above-mentioned device embodiment, since it is basically similar to the driver identification method embodiment, the relevant parts may refer to the partial description of the method embodiment.
[0182] The driver identification device provided by the embodiment of the present invention obtains the driving state information of the vehicle when the driver is operating the vehicle, identifies different types of driving behaviors based on the driving state information, determines feature data of at least one type of driving behavior, inputs the determined feature data into the identification model, and identifies the current driver. The device can identify the driver's identity by relying solely on the driving state information of the vehicle when the driver is driving the vehicle without adding additional sensors, bringing cumbersome operating burdens to the driver, and collecting and recording the driver's biometric privacy information, thereby saving hardware costs, ensuring the driver's driving experience, and protecting the driver's privacy. It can also enable the smart car to provide differentiated driving mode services for different drivers, thereby improving the active safety of the car and providing a good user experience.
[0183] The embodiment of the present invention further provides an electronic device, such as Figure 5 As shown, it includes a processor 501 , a communication interface 502 , a memory 503 and a communication bus 504 , wherein the processor 501 , the communication interface 502 , and the memory 503 communicate with each other via the communication bus 504 .
[0184] The memory 503 is used to store computer programs.
[0185] When the processor 501 is used to execute the program stored in the memory 503, the following steps are implemented: when the driver is operating the vehicle, the driving state information of the vehicle is obtained; based on the driving state information, different types of driving behaviors are identified, and characteristic data of at least one type of driving behavior is determined; the determined characteristic data is input into the identity recognition model to identify the current driver.
[0186] Among them, the processor 501 can also implement other steps in the above-mentioned driver identification method, which will not be repeated here.
[0187] The communication bus mentioned in the above electronic device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
[0188] The communication interface is used for communication between the above electronic device and other devices.
[0189] The memory may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.
[0190] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0191] In another embodiment provided by the present invention, a computer-readable storage medium is also provided, in which instructions are stored. When the computer-readable storage medium is run on a computer, the computer executes the driver identification method described in the above embodiment.
[0192] In another embodiment of the present invention, a computer program product including instructions is provided, which, when executed on a computer, enables the computer to execute the driver identification method described in the above embodiment.
[0193] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk Solid State Disk (SSD)), etc.
[0194] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0195] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. For the embodiments of the device, electronic device, computer-readable storage medium and computer program products containing instructions, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.
[0196] The above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.
Claims
1. A driver identification method, characterized in that: include: Acquire the vehicle's driving state information while the driver is operating the vehicle; wherein the driving state information includes: steering wheel angle, steering wheel angular velocity, longitudinal acceleration, accelerator pedal depth, vehicle lateral acceleration, vehicle torque, brake pedal depth, motor speed, and motor speed change rate; Identifying different types of driving behaviors based on the driving state information, and determining characteristic data of at least one type of driving behavior; Inputting the determined characteristic data into an identity recognition model to identify the current driver; The identifying different types of driving behaviors based on the driving state information and determining characteristic data of at least one type of driving behavior includes: identifying, according to the driving state information, a driving behavior of a straight-ahead category, at least three types of driving behaviors of a turning category, and a driving behavior of an acceleration category, wherein the turning angles corresponding to the at least three types of driving behaviors of the turning category are respectively within different angle intervals, and the acceleration corresponding to the driving behavior of the acceleration category is greater than a first acceleration threshold; For at least one type of driving behavior, extract at least one target signal from the driving state information, and obtain at least one characteristic value of the target signal within a driving period of the current driving behavior; The characteristic data includes at least one target signal and at least one characteristic value corresponding to the target signal.
2. The driver identification method according to claim 1, characterized in that: The obtaining of the driving status information of the vehicle includes: Collect vehicle controller area network CAN data; The CAN data is parsed to obtain the driving status information of the vehicle.
3. The driver identification method according to claim 1, characterized in that: The identifying, according to the driving state information, a driving behavior of a straight-ahead category, at least three types of driving behaviors of a turning category, and a driving behavior of an acceleration category, comprises: A threshold-based classification algorithm is used to classify driving behavior into a straight-ahead category, at least three turning categories, and an acceleration category according to the steering wheel rotation angle, the depth and change rate of the accelerator pedal, and the vehicle speed in the driving state information.
4. The driver identification method according to claim 1, characterized in that: The step of extracting at least one target signal from the driving state information for at least one type of driving behavior, and obtaining at least one characteristic value of the target signal within a driving period of the current driving behavior, comprises: For at least one type of driving behavior, at least one of the following target signals is extracted from the driving state information: steering wheel angle, steering wheel angular velocity, longitudinal acceleration, accelerator pedal depth, vehicle lateral acceleration, vehicle torque, brake pedal depth, motor speed and motor speed change rate; For each target signal extracted for each type of driving behavior, obtain at least one of the following characteristic values within the driving period of the current driving behavior: the maximum value, minimum value, average value, standard deviation, kurtosis, skewness, peak factor, waveform factor, margin factor and pulse factor of the amplitude in the frequency domain corresponding to the target signal.
5. The driver identification method according to claim 1, characterized in that: After determining the characteristic data of at least one type of driving behavior, it also includes: Arrange and store characteristic data of at least one type of driving behavior according to a preset time period to generate a characteristic data set in a matrix form; The step of inputting the determined characteristic data into an identity recognition model to identify the current driver includes: The feature data set is input into the identity recognition model to identify the identity of the current driver.
6. The driver identification method according to claim 1, characterized in that: The step of inputting the determined characteristic data into an identity recognition model to identify the current driver includes: Inputting the determined feature data into the identity recognition model, and outputting probability values corresponding to each identity tag in the identity recognition model, wherein the identity tag represents the identity information of the driver; The identity tag with the largest probability value is determined as the target identity tag matching the current driver, and the identity information of the current driver is determined according to the target identity tag.
7. The driver identification method according to claim 1, characterized in that: Also includes: The identity recognition model is generated according to the characteristic data of various driving behaviors corresponding to the multiple drivers when they control the vehicle and the identity information of the multiple drivers.
8. The driver identification method according to claim 7, characterized in that: The generating of the identity recognition model according to the characteristic data of various driving behaviors respectively corresponding to the multiple drivers when controlling the vehicle and the identity information of the multiple drivers includes: Setting a network architecture of a long short-term memory recurrent neural network, wherein the network architecture includes at least the number of network layers, the number of hidden node units, the propagation direction, the batch size, the gradient threshold, the node feature length, and the data size; According to the identity information of the multiple drivers, an identity tag corresponding to each driver is set respectively; Performing multiple rounds of model training according to the characteristic data of various driving behaviors corresponding to the multiple drivers, the identity tags corresponding to the multiple drivers, and the network architecture, and determining that the model converges when it is detected during the model training process that the objective function value meets the preset conditions, and determining to generate the identity recognition model; The characteristic data of each type of driving behavior includes a plurality of target signals and a plurality of characteristic values of each of the target signals within the driving period of the current driving behavior.
9. A driver identification device, characterized in that: include: An acquisition module is used to acquire the driving state information of the vehicle while the driver is operating the vehicle; wherein the driving state information includes: steering wheel angle, steering wheel angular velocity, longitudinal acceleration, accelerator pedal depth, vehicle lateral acceleration, vehicle torque, brake pedal depth, motor speed and motor speed change rate; A processing module, configured to identify different types of driving behaviors based on the driving state information and determine characteristic data of at least one type of driving behavior; An identification module, used for inputting the determined characteristic data into an identity recognition model to identify the current driver; The processing module comprises: an identification submodule, configured to identify, according to the driving state information, a driving behavior of a straight-ahead type, at least three types of driving behaviors of a turning type, and a driving behavior of an acceleration type, wherein the turning angles corresponding to the at least three types of driving behaviors of the turning type are respectively within different angle intervals, and the acceleration corresponding to the driving behavior of the acceleration type is greater than a first acceleration threshold; a processing submodule, for extracting at least one target signal from the driving state information for at least one type of driving behavior, and obtaining at least one characteristic value of the target signal within a driving period of the current driving behavior; The characteristic data includes at least one target signal and at least one characteristic value corresponding to the target signal.
10. An electronic device, characterized in that: include: A processor, a communication interface, a memory and a communication bus; wherein the processor, the communication interface and the memory communicate with each other via the communication bus; Memory, used to store computer programs; The processor is used to implement the steps of the driver identification method as described in any one of claims 1 to 8 when executing the program stored in the memory.
11. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the driver identification method as described in any one of claims 1 to 8 are implemented.
